aws.s3control.list_access_grants_locations
Example SQL Queries
SELECT * FROMaws.s3control.list_access_grants_locationsWHERE"account_id" = 'VALUE';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.
Table Definition
| Column Name | Column Data Type |
|---|---|
| account_id Required Input Column The ID of the Amazon Web Services account that is making this request. | VARCHAR |
| location_scope Input Column 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. | VARCHAR |
| max_results Input Column 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. | BIGINT |
| next_token Input Column 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. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| access_grants_locations_list A container for a list of registered locations in an S3 Access Grants instance. | STRUCT( |
Show child fields
| |