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
The amount of instance usage that a reservation covered.
See: newCoverage
smart constructor.
Coverage' | |
|
Instances
Eq Coverage Source # | |
Read Coverage Source # | |
Show Coverage Source # | |
Generic Coverage Source # | |
NFData Coverage Source # | |
Defined in Amazonka.CostExplorer.Types.Coverage | |
Hashable Coverage Source # | |
Defined in Amazonka.CostExplorer.Types.Coverage | |
FromJSON Coverage Source # | |
type Rep Coverage Source # | |
Defined in Amazonka.CostExplorer.Types.Coverage type Rep Coverage = D1 ('MetaData "Coverage" "Amazonka.CostExplorer.Types.Coverage" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "Coverage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "coverageNormalizedUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CoverageNormalizedUnits)) :*: (S1 ('MetaSel ('Just "coverageHours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CoverageHours)) :*: S1 ('MetaSel ('Just "coverageCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CoverageCost))))) |
newCoverage :: Coverage Source #
Create a value of Coverage
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:coverageNormalizedUnits:Coverage'
, coverage_coverageNormalizedUnits
- The amount of instance usage that the reservation covered, in normalized
units.
$sel:coverageHours:Coverage'
, coverage_coverageHours
- The amount of instance usage that the reservation covered, in hours.
$sel:coverageCost:Coverage'
, coverage_coverageCost
- The amount of cost that the reservation covered.
coverage_coverageNormalizedUnits :: Lens' Coverage (Maybe CoverageNormalizedUnits) Source #
The amount of instance usage that the reservation covered, in normalized units.
coverage_coverageHours :: Lens' Coverage (Maybe CoverageHours) Source #
The amount of instance usage that the reservation covered, in hours.
coverage_coverageCost :: Lens' Coverage (Maybe CoverageCost) Source #
The amount of cost that the reservation covered.