Get Access Grant
s3control_get_access_grant | R Documentation |
Get the details of an access grant from your S3 Access Grants instance¶
Description¶
Get the details of an access grant from your S3 Access Grants instance.
Permissions¶
You must have the s3:GetAccessGrant
permission to use this operation.
Usage¶
Arguments¶
AccountId
[required] The Amazon Web Services account ID of the S3 Access Grants instance.
AccessGrantId
[required] The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.
Value¶
A list with the following syntax:
list(
CreatedAt = as.POSIXct(
"2015-01-01"
),
AccessGrantId = "string",
AccessGrantArn = "string",
Grantee = list(
GranteeType = "DIRECTORY_USER"|"DIRECTORY_GROUP"|"IAM",
GranteeIdentifier = "string"
),
Permission = "READ"|"WRITE"|"READWRITE",
AccessGrantsLocationId = "string",
AccessGrantsLocationConfiguration = list(
S3SubPrefix = "string"
),
GrantScope = "string",
ApplicationArn = "string"
)