Viewing table bucket tags
You can view or list tags applied to Amazon S3 table buckets. For more information about tagging table buckets, see Using tags with S3 table buckets.
Permissions
To view tags applied to a table bucket, you must have the following permission:
s3tables:ListTagsForResource
Troubleshooting errors
If you encounter an error when attempting to list or view the tags of a table bucket, you can do the following:
Verify that you have the required Permissions to view the tags of the table bucket.
Steps
You can view tags applied to table buckets by using the Amazon S3 Console, the AWS Command Line Interface (AWS CLI), the Amazon S3 REST API, and the AWS SDKs.
To view tags applied to a table bucket using the Amazon S3 console:
Sign in to the Amazon S3 console at https://console.aws.amazon.com/s3/
. In the left navigation pane, choose Table buckets.
Choose the table bucket name.
Choose the Properties tab.
Scroll to the Tags section to view all of the tags applied to the table bucket.
The Tags section shows the User-defined tags by default. You can select the AWS-generated tags tab to view tags applied to your table bucket by AWS services.
For information about the Amazon S3 REST API support for viewing the tags applied to a table bucket, see the following section in the Amazon Simple Storage Service API Reference:
To install the AWS CLI, see Installing the AWS CLI in the AWS Command Line Interface User Guide.
The following CLI example shows you how to view tags applied to a table bucket. To use the command replace the user input placeholders with your own information.
Request:
aws --regionus-west-2\ s3tables list-tags-for-resource \ --resource-arn arn:aws::s3tables:us-west-2:111122223333:bucket/amzn-s3-demo-table-bucket/table/example_table
Response - tags present:
{ "tags": { "project": "Trinity", "code": "123456" } }
Response - no tags present:
{ "Tags": [] }