awswrangler.s3.delete_table¶
- awswrangler.s3.delete_table(table_bucket_arn: str, namespace: str, table_name: str, version_token: str | None = None, boto3_session: Session | None = None) None¶
Delete a table from an S3 Table Bucket namespace.
- Parameters:
table_bucket_arn (str) – The ARN of the table bucket.
namespace (str) – The namespace of the table.
table_name (str) – The name of the table to delete.
version_token (str, optional) – The version token of the table. If not provided, the current version is deleted.
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_table( ... table_bucket_arn="arn:aws:s3tables:us-east-1:123456789012:bucket/my-bucket", ... namespace="my_namespace", ... table_name="my_table", ... )