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 |
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.
DeleteDatabase' | |
|
Instances
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.
Instances
Generic DeleteDatabaseResponse Source # | |
Defined in Amazonka.TimeStreamWrite.DeleteDatabase type Rep DeleteDatabaseResponse :: Type -> Type # | |
Read DeleteDatabaseResponse Source # | |
Show DeleteDatabaseResponse Source # | |
Defined in Amazonka.TimeStreamWrite.DeleteDatabase showsPrec :: Int -> DeleteDatabaseResponse -> ShowS # show :: DeleteDatabaseResponse -> String # showList :: [DeleteDatabaseResponse] -> ShowS # | |
NFData DeleteDatabaseResponse Source # | |
Defined in Amazonka.TimeStreamWrite.DeleteDatabase rnf :: DeleteDatabaseResponse -> () # | |
Eq DeleteDatabaseResponse Source # | |
Defined in Amazonka.TimeStreamWrite.DeleteDatabase | |
type Rep DeleteDatabaseResponse Source # | |
Defined in Amazonka.TimeStreamWrite.DeleteDatabase |
newDeleteDatabaseResponse :: DeleteDatabaseResponse Source #
Create a value of DeleteDatabaseResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.