Skip to content

/AWS1/CL_TSW=>DELETEDATABASE()

About DeleteDatabase

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.

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.

Method Signature

IMPORTING

Required arguments:

IV_DATABASENAME TYPE /AWS1/TSWRESOURCENAME /AWS1/TSWRESOURCENAME

The name of the Timestream database to be deleted.