TimestreamWrite.Client.delete_database(**kwargs)¶Deletes a given Timestream database. This is an irreversible operation. After a database is deleted, the time-series data from its tables cannot be recovered.
Note
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.
See code sample for details.
See also: AWS API Documentation
Request Syntax
response = client.delete_database(
DatabaseName='string'
)
[REQUIRED]
The name of the Timestream database to be deleted.
Exceptions
TimestreamWrite.Client.exceptions.InternalServerExceptionTimestreamWrite.Client.exceptions.ThrottlingExceptionTimestreamWrite.Client.exceptions.ResourceNotFoundExceptionTimestreamWrite.Client.exceptions.ValidationExceptionTimestreamWrite.Client.exceptions.AccessDeniedExceptionTimestreamWrite.Client.exceptions.InvalidEndpointException