List Access Grants
s3control_list_access_grants | R Documentation |
Returns the list of access grants in your S3 Access Grants instance¶
Description¶
Returns the list of access grants in your S3 Access Grants instance.
Permissions¶
You must have the s3:ListAccessGrants
permission to use this
operation.
Usage¶
s3control_list_access_grants(AccountId, NextToken, MaxResults,
GranteeType, GranteeIdentifier, Permission, GrantScope, ApplicationArn)
Arguments¶
AccountId |
[required] The Amazon Web Services account ID of the S3 Access Grants instance. |
NextToken |
A pagination token to request the next page of results. Pass this
value into a subsequent |
MaxResults |
The maximum number of access grants that you would like returned
in the |
GranteeType |
The type of the grantee to which access has been granted. It can be one of the following values:
|
GranteeIdentifier |
The unique identifer of the |
Permission |
The type of permission granted to your S3 data, which can be set to one of the following values:
|
GrantScope |
The S3 path of the data to which you are granting access. It is
the result of appending the |
ApplicationArn |
The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your Identity Center instance. If the grant includes an application ARN, the grantee can only access the S3 data through this application. |
Value¶
A list with the following syntax:
list(
NextToken = "string",
AccessGrantsList = list(
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"
)
)
)
Request syntax¶
svc$list_access_grants(
AccountId = "string",
NextToken = "string",
MaxResults = 123,
GranteeType = "DIRECTORY_USER"|"DIRECTORY_GROUP"|"IAM",
GranteeIdentifier = "string",
Permission = "READ"|"WRITE"|"READWRITE",
GrantScope = "string",
ApplicationArn = "string"
)