CmdID / aws / aws s3control
aws s3control list-access-grants-locations
Returns a list of the locations registered in your S3 Access Grants instance. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--account-idThe Amazon Web Services account ID of the S3 Access Grants instance.--location-scopeThe S3 path to the location that you are registering.--max-resultsThe maximum number of access grants that you would like returned in the List Access Grants response.--next-tokenA pagination token to request the next page of results.