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.CoverageHours

Description

 
Synopsis

Documentation

data CoverageHours Source #

How long a running instance either used a reservation or was On-Demand.

See: newCoverageHours smart constructor.

Constructors

CoverageHours' 

Fields

Instances

Instances details
Eq CoverageHours Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageHours

Read CoverageHours Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageHours

Show CoverageHours Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageHours

Generic CoverageHours Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageHours

Associated Types

type Rep CoverageHours :: Type -> Type #

NFData CoverageHours Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageHours

Methods

rnf :: CoverageHours -> () #

Hashable CoverageHours Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageHours

FromJSON CoverageHours Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageHours

type Rep CoverageHours Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageHours

type Rep CoverageHours = D1 ('MetaData "CoverageHours" "Amazonka.CostExplorer.Types.CoverageHours" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "CoverageHours'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "coverageHoursPercentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "onDemandHours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "totalRunningHours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "reservedHours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newCoverageHours :: CoverageHours Source #

Create a value of CoverageHours 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:coverageHoursPercentage:CoverageHours', coverageHours_coverageHoursPercentage - The percentage of instance hours that a reservation covered.

$sel:onDemandHours:CoverageHours', coverageHours_onDemandHours - The number of instance running hours that On-Demand Instances covered.

$sel:totalRunningHours:CoverageHours', coverageHours_totalRunningHours - The total instance usage, in hours.

$sel:reservedHours:CoverageHours', coverageHours_reservedHours - The number of instance running hours that reservations covered.

coverageHours_coverageHoursPercentage :: Lens' CoverageHours (Maybe Text) Source #

The percentage of instance hours that a reservation covered.

coverageHours_onDemandHours :: Lens' CoverageHours (Maybe Text) Source #

The number of instance running hours that On-Demand Instances covered.

coverageHours_totalRunningHours :: Lens' CoverageHours (Maybe Text) Source #

The total instance usage, in hours.

coverageHours_reservedHours :: Lens' CoverageHours (Maybe Text) Source #

The number of instance running hours that reservations covered.