amazonka-timestream-write-2.0: Amazon Timestream Write SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.TimeStreamWrite.Types.Database

Description

 
Synopsis

Documentation

data Database Source #

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

Instances details
FromJSON Database Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Database

Generic Database Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Database

Associated Types

type Rep Database :: Type -> Type #

Methods

from :: Database -> Rep Database x #

to :: Rep Database x -> Database #

Read Database Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Database

Show Database Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Database

NFData Database Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Database

Methods

rnf :: Database -> () #

Eq Database Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Database

Hashable Database Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Database

Methods

hashWithSalt :: Int -> Database -> Int #

hash :: Database -> Int #

type Rep Database Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Database

type Rep Database = D1 ('MetaData "Database" "Amazonka.TimeStreamWrite.Types.Database" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'False) (C1 ('MetaCons "Database'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "tableCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))))

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_databaseName :: Lens' Database (Maybe Text) Source #

The name of the Timestream database.

database_kmsKeyId :: Lens' Database (Maybe Text) Source #

The identifier of the KMS key used to encrypt the data stored in the database.

database_lastUpdatedTime :: Lens' Database (Maybe UTCTime) Source #

The last time that this database was updated.

database_tableCount :: Lens' Database (Maybe Integer) Source #

The total number of tables found within a Timestream database.