List Permission Associations
| ram_list_permission_associations | R Documentation |
Lists information about the managed permission and its associations to any resource shares that use this managed permission¶
Description¶
Lists information about the managed permission and its associations to any resource shares that use this managed permission. This lets you see which resource shares use which versions of the specified managed permission.
Usage¶
ram_list_permission_associations(permissionArn, permissionVersion,
associationStatus, resourceType, featureSet, defaultVersion, nextToken,
maxResults)
Arguments¶
permissionArnSpecifies the Amazon Resource Name (ARN) of the managed permission.
permissionVersionSpecifies that you want to list only those associations with resource shares that use this version of the managed permission. If you don't provide a value for this parameter, then the operation returns information about associations with resource shares that use any version of the managed permission.
associationStatusSpecifies that you want to list only those associations with resource shares that match this status.
resourceTypeSpecifies that you want to list only those associations with resource shares that include at least one resource of this resource type.
featureSetSpecifies that you want to list only those associations with resource shares that have a
featureSetwith this value.defaultVersionWhen
true, specifies that you want to list only those associations with resource shares that use the default version of the specified managed permission.When
false(the default value), lists associations with resource shares that use any version of the specified managed permission.nextTokenSpecifies that you want to receive the next page of results. Valid only if you received a
NextTokenresponse in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call'sNextTokenresponse to request the next page of results.maxResultsSpecifies the total number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the number you specify, the
NextTokenresponse element is returned with a value (not null). Include the specified value as theNextTokenrequest parameter in the next call to the operation to get the next part of the results. Note that the service might return fewer results than the maximum even when there are more results available. You should checkNextTokenafter every operation to ensure that you receive all of the results.
Value¶
A list with the following syntax:
list(
permissions = list(
list(
arn = "string",
permissionVersion = "string",
defaultVersion = TRUE|FALSE,
resourceType = "string",
status = "string",
featureSet = "CREATED_FROM_POLICY"|"PROMOTING_TO_STANDARD"|"STANDARD",
lastUpdatedTime = as.POSIXct(
"2015-01-01"
),
resourceShareArn = "string"
)
),
nextToken = "string"
)
Request syntax¶
svc$list_permission_associations(
permissionArn = "string",
permissionVersion = 123,
associationStatus = "ASSOCIATING"|"ASSOCIATED"|"FAILED"|"DISASSOCIATING"|"DISASSOCIATED",
resourceType = "string",
featureSet = "CREATED_FROM_POLICY"|"PROMOTING_TO_STANDARD"|"STANDARD",
defaultVersion = TRUE|FALSE,
nextToken = "string",
maxResults = 123
)