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 (boto3.Session(), optional) – Boto3 Session. The default boto3 Session will be used if boto3_session receive None.
- Returns:
None.
- Return type:
None
Examples
Deleting a database
>>> import awswrangler as wr >>> arn = wr.timestream.delete_database("MyDatabase")