List Access Grants Locations
s3control_list_access_grants_locations | R Documentation |
Returns a list of the locations registered in your S3 Access Grants instance¶
Description¶
Returns a list of the locations registered in your S3 Access Grants instance.
Permissions¶
You must have the s3:ListAccessGrantsLocations
permission to use this
operation.
Usage¶
Arguments¶
AccountId
[required] The ID of the Amazon Web Services account that is making this request.
NextToken
A pagination token to request the next page of results. Pass this value into a subsequent
List Access Grants Locations
request in order to retrieve the next page of results.MaxResults
The maximum number of access grants that you would like returned in the
List Access Grants
response. If the results include the pagination tokenNextToken
, make another call using theNextToken
to determine if there are more results.LocationScope
The S3 path to the location that you are registering. The location scope can be the default S3 location
s3://
, the S3 path to a buckets3://<bucket>
, or the S3 path to a bucket and prefixs3://<bucket>/<prefix>
. A prefix in S3 is a string of characters at the beginning of an object key name used to organize the objects that you store in your S3 buckets. For example, object key names that start with theengineering/
prefix or object key names that start with themarketing/campaigns/
prefix.
Value¶
A list with the following syntax:
list(
NextToken = "string",
AccessGrantsLocationsList = list(
list(
CreatedAt = as.POSIXct(
"2015-01-01"
),
AccessGrantsLocationId = "string",
AccessGrantsLocationArn = "string",
LocationScope = "string",
IAMRoleArn = "string"
)
)
)