libZSservicesZSamazonka-qldbZSamazonka-qldb
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.QLDB.Types.LedgerSummary

Description

 
Synopsis

Documentation

data LedgerSummary Source #

Information about a ledger, including its name, state, and when it was created.

See: newLedgerSummary smart constructor.

Constructors

LedgerSummary' 

Fields

Instances

Instances details
Eq LedgerSummary Source # 
Instance details

Defined in Amazonka.QLDB.Types.LedgerSummary

Read LedgerSummary Source # 
Instance details

Defined in Amazonka.QLDB.Types.LedgerSummary

Show LedgerSummary Source # 
Instance details

Defined in Amazonka.QLDB.Types.LedgerSummary

Generic LedgerSummary Source # 
Instance details

Defined in Amazonka.QLDB.Types.LedgerSummary

Associated Types

type Rep LedgerSummary :: Type -> Type #

NFData LedgerSummary Source # 
Instance details

Defined in Amazonka.QLDB.Types.LedgerSummary

Methods

rnf :: LedgerSummary -> () #

Hashable LedgerSummary Source # 
Instance details

Defined in Amazonka.QLDB.Types.LedgerSummary

FromJSON LedgerSummary Source # 
Instance details

Defined in Amazonka.QLDB.Types.LedgerSummary

type Rep LedgerSummary Source # 
Instance details

Defined in Amazonka.QLDB.Types.LedgerSummary

type Rep LedgerSummary = D1 ('MetaData "LedgerSummary" "Amazonka.QLDB.Types.LedgerSummary" "libZSservicesZSamazonka-qldbZSamazonka-qldb" 'False) (C1 ('MetaCons "LedgerSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LedgerState)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

newLedgerSummary :: LedgerSummary Source #

Create a value of LedgerSummary 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:state:LedgerSummary', ledgerSummary_state - The current status of the ledger.

$sel:name:LedgerSummary', ledgerSummary_name - The name of the ledger.

$sel:creationDateTime:LedgerSummary', ledgerSummary_creationDateTime - The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)

ledgerSummary_state :: Lens' LedgerSummary (Maybe LedgerState) Source #

The current status of the ledger.

ledgerSummary_creationDateTime :: Lens' LedgerSummary (Maybe UTCTime) Source #

The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)