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 |
Documentation
Contains usage information about the cost of Amazon Inspector operation.
See: newUsage
smart constructor.
Instances
FromJSON Usage Source # | |
Generic Usage Source # | |
Read Usage Source # | |
Show Usage Source # | |
NFData Usage Source # | |
Defined in Amazonka.Inspector2.Types.Usage | |
Eq Usage Source # | |
Hashable Usage Source # | |
Defined in Amazonka.Inspector2.Types.Usage | |
type Rep Usage Source # | |
Defined in Amazonka.Inspector2.Types.Usage type Rep Usage = D1 ('MetaData "Usage" "Amazonka.Inspector2.Types.Usage" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "Usage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "currency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Currency)) :*: S1 ('MetaSel ('Just "estimatedMonthlyCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "total") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UsageType))))) |
Create a value of Usage
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:currency:Usage'
, usage_currency
- The currency type used when calculating usage data.
$sel:estimatedMonthlyCost:Usage'
, usage_estimatedMonthlyCost
- The estimated monthly cost of Amazon Inspector.
$sel:total:Usage'
, usage_total
- The total of usage.
$sel:type':Usage'
, usage_type
- The type scan.
usage_currency :: Lens' Usage (Maybe Currency) Source #
The currency type used when calculating usage data.