Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data LedgerSummary = LedgerSummary' {
- state :: Maybe LedgerState
- name :: Maybe Text
- creationDateTime :: Maybe POSIX
- newLedgerSummary :: LedgerSummary
- ledgerSummary_state :: Lens' LedgerSummary (Maybe LedgerState)
- ledgerSummary_name :: Lens' LedgerSummary (Maybe Text)
- ledgerSummary_creationDateTime :: Lens' LedgerSummary (Maybe UTCTime)
Documentation
data LedgerSummary Source #
Information about a ledger, including its name, state, and when it was created.
See: newLedgerSummary
smart constructor.
LedgerSummary' | |
|
Instances
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_name :: Lens' LedgerSummary (Maybe Text) Source #
The name 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.)