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 |
Documentation
Contains the total usage with the corresponding currency unit for that value.
See: newTotal
smart constructor.
Instances
Eq Total Source # | |
Read Total Source # | |
Show Total Source # | |
Generic Total Source # | |
NFData Total Source # | |
Defined in Amazonka.GuardDuty.Types.Total | |
Hashable Total Source # | |
Defined in Amazonka.GuardDuty.Types.Total | |
FromJSON Total Source # | |
type Rep Total Source # | |
Defined in Amazonka.GuardDuty.Types.Total type Rep Total = D1 ('MetaData "Total" "Amazonka.GuardDuty.Types.Total" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "Total'" 'PrefixI 'True) (S1 ('MetaSel ('Just "amount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
Create a value of Total
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:amount:Total'
, total_amount
- The total usage.
$sel:unit:Total'
, total_unit
- The currency unit that the amount is given in.