删除命名空间 - Amazon Simple Storage Service
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

删除命名空间

在从 Amazon S3 表存储桶中删除表命名空间之前,必须删除该命名空间中的所有表,或者将它们移到另一个命名空间下。可以使用 Amazon S3 REST API、Amazon SDK、Amazon Command Line Interface(Amazon CLI)或集成查询引擎来删除命名空间。

有关删除命名空间所需的权限的信息,请参阅《Amazon Simple Storage Service API Reference》中的 DeleteNamespace

此示例说明如何使用 Amazon CLI 删除表命名空间。要使用此示例,请将 user input placeholders 替换为您自己的信息。

aws s3tables delete-namespace \ --table-bucket-arn arn:aws:s3tables:us-east-1:111122223333:bucket/amzn-s3-demo-bucket1 \ --namespace example_namespace