libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer
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.CostExplorer.Types.Coverage

Description

 
Synopsis

Documentation

data Coverage Source #

The amount of instance usage that a reservation covered.

See: newCoverage smart constructor.

Constructors

Coverage' 

Fields

Instances

Instances details
Eq Coverage Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Coverage

Read Coverage Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Coverage

Show Coverage Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Coverage

Generic Coverage Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Coverage

Associated Types

type Rep Coverage :: Type -> Type #

Methods

from :: Coverage -> Rep Coverage x #

to :: Rep Coverage x -> Coverage #

NFData Coverage Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Coverage

Methods

rnf :: Coverage -> () #

Hashable Coverage Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Coverage

Methods

hashWithSalt :: Int -> Coverage -> Int #

hash :: Coverage -> Int #

FromJSON Coverage Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Coverage

type Rep Coverage Source # 
Instance details

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.