Get Permission
| ram_get_permission | R Documentation |
Retrieves the contents of a managed permission in JSON format¶
Description¶
Retrieves the contents of a managed permission in JSON format.
Usage¶
Arguments¶
permissionArn[required] Specifies the Amazon Resource Name (ARN) of the permission whose contents you want to retrieve. To find the ARN for a permission, use either the
list_permissionsoperation or go to the Permissions library page in the RAM console and then choose the name of the permission. The ARN is displayed on the detail page.permissionVersionSpecifies the version number of the RAM permission to retrieve. If you don't specify this parameter, the operation retrieves the default version.
To see the list of available versions, use
list_permission_versions.
Value¶
A list with the following syntax:
list(
permission = list(
arn = "string",
version = "string",
defaultVersion = TRUE|FALSE,
name = "string",
resourceType = "string",
permission = "string",
creationTime = as.POSIXct(
"2015-01-01"
),
lastUpdatedTime = as.POSIXct(
"2015-01-01"
),
isResourceTypeDefault = TRUE|FALSE,
permissionType = "CUSTOMER_MANAGED"|"AWS_MANAGED",
featureSet = "CREATED_FROM_POLICY"|"PROMOTING_TO_STANDARD"|"STANDARD",
status = "ATTACHABLE"|"UNATTACHABLE"|"DELETING"|"DELETED",
tags = list(
list(
key = "string",
value = "string"
)
)
)
)