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.
Always check the NextToken response parameter for a null value when
calling a paginated operation. These operations can occasionally return
an empty set of results even when there are more results available. The
NextToken response parameter value is null only when there are no
more results to display.
Usage¶
ram_list_permission_associations(permissionArn, permissionVersion,
associationStatus, resourceType, featureSet, defaultVersion, nextToken,
maxResults)
Arguments¶
permissionArn |
Specifies the Amazon Resource Name (ARN) of the managed permission. |
permissionVersion |
Specifies 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. |
associationStatus |
Specifies that you want to list only those associations with resource shares that match this status. |
resourceType |
Specifies that you want to list only those associations with resource shares that include at least one resource of this resource type. |
featureSet |
Specifies that you want to list only those associations with
resource shares that have a |
defaultVersion |
When When |
nextToken |
Specifies that you want to receive the next page of results.
Valid only if you received a |
maxResults |
Specifies 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 |
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"|"SUSPENDED"|"SUSPENDING"|"RESTORING",
resourceType = "string",
featureSet = "CREATED_FROM_POLICY"|"PROMOTING_TO_STANDARD"|"STANDARD",
defaultVersion = TRUE|FALSE,
nextToken = "string",
maxResults = 123
)