| 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.Types.Database
Description
Synopsis
- data Database = Database' {
- arn :: Maybe Text
- creationTime :: Maybe POSIX
- databaseName :: Maybe Text
- kmsKeyId :: Maybe Text
- lastUpdatedTime :: Maybe POSIX
- tableCount :: Maybe Integer
- newDatabase :: Database
- database_arn :: Lens' Database (Maybe Text)
- database_creationTime :: Lens' Database (Maybe UTCTime)
- database_databaseName :: Lens' Database (Maybe Text)
- database_kmsKeyId :: Lens' Database (Maybe Text)
- database_lastUpdatedTime :: Lens' Database (Maybe UTCTime)
- database_tableCount :: Lens' Database (Maybe Integer)
Documentation
A top level container for a table. Databases and tables are the fundamental management concepts in Amazon Timestream. All tables in a database are encrypted with the same KMS key.
See: newDatabase smart constructor.
Constructors
| Database' | |
Fields
| |
Instances
newDatabase :: Database Source #
Create a value of Database 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:
$sel:arn:Database', database_arn - The Amazon Resource Name that uniquely identifies this database.
$sel:creationTime:Database', database_creationTime - The time when the database was created, calculated from the Unix epoch
time.
$sel:databaseName:Database', database_databaseName - The name of the Timestream database.
$sel:kmsKeyId:Database', database_kmsKeyId - The identifier of the KMS key used to encrypt the data stored in the
database.
$sel:lastUpdatedTime:Database', database_lastUpdatedTime - The last time that this database was updated.
$sel:tableCount:Database', database_tableCount - The total number of tables found within a Timestream database.
database_arn :: Lens' Database (Maybe Text) Source #
The Amazon Resource Name that uniquely identifies this database.
database_creationTime :: Lens' Database (Maybe UTCTime) Source #
The time when the database was created, calculated from the Unix epoch time.
database_kmsKeyId :: Lens' Database (Maybe Text) Source #
The identifier of the KMS key used to encrypt the data stored in the database.