| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.TimeStreamWrite.DeleteDatabase
Description
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.
Creating a Request
data DeleteDatabase Source #
See: newDeleteDatabase smart constructor.
Constructors
| DeleteDatabase' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteDatabase |
Create a value of DeleteDatabase with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteDatabase, deleteDatabase_databaseName - The name of the Timestream database to be deleted.
Request Lenses
deleteDatabase_databaseName :: Lens' DeleteDatabase Text Source #
The name of the Timestream database to be deleted.
Destructuring the Response
data DeleteDatabaseResponse Source #
See: newDeleteDatabaseResponse smart constructor.
Constructors
| DeleteDatabaseResponse' | |
Instances
newDeleteDatabaseResponse :: DeleteDatabaseResponse Source #
Create a value of DeleteDatabaseResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.