aws.s3control.get_access_grants_location
Example SQL Queries
SELECT * FROMaws.s3control.get_access_grants_locationWHERE"account_id" = 'VALUE'AND "access_grants_location_id" = 'VALUE';Description
Retrieves the details of a particular location registered in your S3 Access Grants instance.
- Permissions
You must have the s3:GetAccessGrantsLocation permission to use this operation.
Table Definition
| Column Name | Column Data Type |
|---|---|
| access_grants_location_id Required Input Column The ID of the registered location to which you are granting access. S3 Access Grants assigns this ID when you register the location. S3 Access Grants assigns the ID default to the default location s3:// and assigns an auto-generated ID to other locations that you register. | VARCHAR |
| account_id Required Input Column The ID of the Amazon Web Services account that is making this request. | 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_location_arn The Amazon Resource Name (ARN) of the registered location. | VARCHAR |
| created_at The date and time when you registered the location. | TIMESTAMP_S |
| iam_role_arn The Amazon Resource Name (ARN) of the IAM role for the registered location. S3 Access Grants assumes this role to manage access to the registered location. | VARCHAR |
| location_scope The S3 URI path to the registered location. The location scope can be the default S3 location s3://, the S3 path to a bucket, or the S3 path to a bucket and 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 |