Skip to content

/AWS1/CL_S3C=>LISTACCESSGRANTSLOCATIONS()

About ListAccessGrantsLocations

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.

Method Signature

IMPORTING

Required arguments:

IV_ACCOUNTID TYPE /AWS1/S3CACCOUNTID /AWS1/S3CACCOUNTID

The ID of the Amazon Web Services account that is making this request.

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/S3CCONTINUATIONTOKEN /AWS1/S3CCONTINUATIONTOKEN

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.

IV_MAXRESULTS TYPE /AWS1/S3CMAXRESULTS /AWS1/S3CMAXRESULTS

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.

IV_LOCATIONSCOPE TYPE /AWS1/S3CS3PREFIX /AWS1/S3CS3PREFIX

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://, or the S3 path to a bucket and prefix s3:///. 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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_S3CLSTACCGRANTSLOCSRS /AWS1/CL_S3CLSTACCGRANTSLOCSRS