awswrangler.timestream.delete_table¶
- awswrangler.timestream.delete_table(database: str, table: str, boto3_session: Session | None = None) None ¶
Delete a given Timestream table.
This is an irreversible operation.
After a Timestream database table is deleted, the time series data stored in the table cannot be recovered.
Due to the nature of distributed retries, the operation can return either success or a ResourceNotFoundException. Clients should consider them equivalent.
- Parameters:
database (
str
) – Database name.table (
str
) – Table name.boto3_session (
Session
|None
) – The default boto3 session will be used if boto3_session isNone
.
- Return type:
None
Examples
Deleting a table
>>> import awswrangler as wr >>> arn = wr.timestream.delete_table("MyDatabase", "MyTable")