Deleting metadata table configurations
Note
The S3 Metadata feature is in preview release for Amazon S3 and is subject to change.
If you want to stop updating the metadata table configuration for an Amazon S3 general purpose bucket, you can delete the metadata table configuration that's attached to your bucket. Deleting a metadata table configuration only deletes the configuration. The table bucket and your metadata table still exist, even if you delete the metadata table configuration. However, the metadata table will no longer be updated.
To delete your metadata table, see Delete a metadata table. To delete your table bucket, see Deleting table buckets and DeleteTableBucket in the Amazon S3 API Reference.
You can delete a metadata table configuration by using the Amazon S3 console, the AWS Command Line Interface (AWS CLI), the AWS SDKs, or the Amazon S3 REST API.
Delete a metadata table configuration
To delete a metadata table configuration
Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/
. -
In the left navigation pane, choose General purpose buckets.
-
Choose the general purpose bucket that you want to remove a metadata table configuration from.
-
On the buckets' details page, choose the Metadata tab.
-
On the Metadata tab, choose Delete.
-
In the Delete metadata configuration dialog box, enter
confirm
to confirm that you want to delete the configuration. Then choose Delete.
To run the following commands, you must have the AWS CLI installed and configured. If you don’t have the AWS CLI installed, see Install or update to the latest version of the AWS CLI in the AWS Command Line Interface User Guide.
Alternatively, you can run AWS CLI commands from the console by using AWS CloudShell. AWS CloudShell is a browser-based, pre-authenticated shell that you can launch directly from the AWS Management Console. For more information, see What is CloudShell? and Getting started with AWS CloudShell in the AWS CloudShell User Guide.
To delete a metadata table configuration by using the AWS CLI
To use the following example commands, replace the
with your own information. user input
placeholders
-
Use the following command to delete the metadata table configuration from your general purpose bucket (for example,
):amzn-s3-demo-source-bucket
aws s3api delete-bucket-metadata-table-configuration \ --bucket
amzn-s3-demo-source-bucket
\ --regionus-east-2
-
To verify that the configuration was deleted, use the following command:
aws s3api get-bucket-metadata-table-configuration \ --bucket
amzn-s3-demo-source-bucket
\ --regionus-east-2
You can send REST requests to delete a metadata table configuration. For more information, see DeleteBucketMetadataTableConfiguration.
You can use the AWS SDKs to delete a metadata table configuration in Amazon S3. For information, see the list of supported SDKs.