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

Description

 
Synopsis

Documentation

data CoverageByTime Source #

Reservation coverage for a specified period, in hours.

See: newCoverageByTime smart constructor.

Constructors

CoverageByTime' 

Fields

Instances

Instances details
Eq CoverageByTime Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageByTime

Read CoverageByTime Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageByTime

Show CoverageByTime Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageByTime

Generic CoverageByTime Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageByTime

Associated Types

type Rep CoverageByTime :: Type -> Type #

NFData CoverageByTime Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageByTime

Methods

rnf :: CoverageByTime -> () #

Hashable CoverageByTime Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageByTime

FromJSON CoverageByTime Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageByTime

type Rep CoverageByTime Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageByTime

type Rep CoverageByTime = D1 ('MetaData "CoverageByTime" "Amazonka.CostExplorer.Types.CoverageByTime" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "CoverageByTime'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReservationCoverageGroup])) :*: (S1 ('MetaSel ('Just "timePeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DateInterval)) :*: S1 ('MetaSel ('Just "total") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Coverage)))))

newCoverageByTime :: CoverageByTime Source #

Create a value of CoverageByTime 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:groups:CoverageByTime', coverageByTime_groups - The groups of instances that the reservation covered.

$sel:timePeriod:CoverageByTime', coverageByTime_timePeriod - The period that this coverage was used over.

$sel:total:CoverageByTime', coverageByTime_total - The total reservation coverage, in hours.

coverageByTime_groups :: Lens' CoverageByTime (Maybe [ReservationCoverageGroup]) Source #

The groups of instances that the reservation covered.

coverageByTime_timePeriod :: Lens' CoverageByTime (Maybe DateInterval) Source #

The period that this coverage was used over.

coverageByTime_total :: Lens' CoverageByTime (Maybe Coverage) Source #

The total reservation coverage, in hours.