awswrangler.timestream.delete_database¶
- awswrangler.timestream.delete_database(database: str, boto3_session: Session | None = None) None ¶
Delete a given Timestream database. This is an irreversible operation.
After a database is deleted, the time series data from its tables cannot be recovered.
All tables in the database must be deleted first, or a ValidationException error will be thrown.
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.boto3_session (
Session
|None
) – The default boto3 session will be used if boto3_session isNone
.
- Return type:
None
Examples
Deleting a database
>>> import awswrangler as wr >>> arn = wr.timestream.delete_database("MyDatabase")