Deleting metadata table configurations - Amazon Simple Storage Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Deleting metadata table configurations

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 Amazon Command Line Interface (Amazon CLI), the Amazon SDKs, or the Amazon S3 REST API.

Delete a metadata table configuration

To delete a metadata table configuration
  1. Sign in to the Amazon Web Services Management Console and open the Amazon S3 console at https://console.amazonaws.cn/s3/.

  2. In the left navigation pane, choose General purpose buckets.

  3. Choose the general purpose bucket that you want to remove a metadata table configuration from.

  4. On the buckets' details page, choose the Metadata tab.

  5. On the Metadata tab, choose Delete.

  6. 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 Amazon CLI installed and configured. If you don’t have the Amazon CLI installed, see Install or update to the latest version of the Amazon CLI in the Amazon Command Line Interface User Guide.

Alternatively, you can run Amazon CLI commands from the console by using Amazon CloudShell. Amazon CloudShell is a browser-based, pre-authenticated shell that you can launch directly from the Amazon Web Services Management Console. For more information, see What is CloudShell? and Getting started with Amazon CloudShell in the Amazon CloudShell User Guide.

To delete a metadata table configuration by using the Amazon CLI

To use the following example commands, replace the user input placeholders with your own information.

  1. 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 \ --region us-east-2
  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 \ --region us-east-2

You can send REST requests to delete a metadata table configuration. For more information, see DeleteBucketMetadataTableConfiguration.

You can use the Amazon SDKs to delete a metadata table configuration in Amazon S3. For information, see the list of supported SDKs.