awswrangler.s3.delete_namespace

awswrangler.s3.delete_namespace(table_bucket_arn: str, namespace: str, boto3_session: Session | None = None) None

Delete a namespace from an S3 Table Bucket.

Parameters:
  • table_bucket_arn (str) – The ARN of the table bucket.

  • namespace (str) – The name of the namespace to delete.

  • boto3_session (boto3.Session, optional) – Boto3 Session. If None, the default boto3 session is used.

Return type:

None

Examples

>>> import awswrangler as wr
>>> wr.s3.delete_namespace(
...     table_bucket_arn="arn:aws:s3tables:us-east-1:123456789012:bucket/my-bucket",
...     namespace="my_namespace",
... )