Learn R Programming

paws.storage (version 0.7.0)

s3control_list_access_grants_locations: 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.

See https://www.paws-r-sdk.com/docs/s3control_list_access_grants_locations/ for full documentation.

Usage

s3control_list_access_grants_locations(
  AccountId,
  NextToken = NULL,
  MaxResults = NULL,
  LocationScope = NULL
)

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 token NextToken, make another call using the NextToken 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 bucket s3://<bucket>, or the S3 path to a bucket and prefix s3://<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 the engineering/ prefix or object key names that start with the marketing/campaigns/ prefix.