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

Description

 
Synopsis

Documentation

data ResultByTime Source #

The result that's associated with a time period.

See: newResultByTime smart constructor.

Constructors

ResultByTime' 

Fields

Instances

Instances details
Eq ResultByTime Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ResultByTime

Read ResultByTime Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ResultByTime

Show ResultByTime Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ResultByTime

Generic ResultByTime Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ResultByTime

Associated Types

type Rep ResultByTime :: Type -> Type #

NFData ResultByTime Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ResultByTime

Methods

rnf :: ResultByTime -> () #

Hashable ResultByTime Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ResultByTime

FromJSON ResultByTime Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ResultByTime

type Rep ResultByTime Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ResultByTime

type Rep ResultByTime = D1 ('MetaData "ResultByTime" "Amazonka.CostExplorer.Types.ResultByTime" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "ResultByTime'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "groups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Group])) :*: S1 ('MetaSel ('Just "timePeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DateInterval))) :*: (S1 ('MetaSel ('Just "total") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text MetricValue))) :*: S1 ('MetaSel ('Just "estimated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newResultByTime :: ResultByTime Source #

Create a value of ResultByTime 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:ResultByTime', resultByTime_groups - The groups that this time period includes.

$sel:timePeriod:ResultByTime', resultByTime_timePeriod - The time period that the result covers.

$sel:total:ResultByTime', resultByTime_total - The total amount of cost or usage accrued during the time period.

$sel:estimated:ResultByTime', resultByTime_estimated - Determines whether the result is estimated.

resultByTime_groups :: Lens' ResultByTime (Maybe [Group]) Source #

The groups that this time period includes.

resultByTime_timePeriod :: Lens' ResultByTime (Maybe DateInterval) Source #

The time period that the result covers.

resultByTime_total :: Lens' ResultByTime (Maybe (HashMap Text MetricValue)) Source #

The total amount of cost or usage accrued during the time period.

resultByTime_estimated :: Lens' ResultByTime (Maybe Bool) Source #

Determines whether the result is estimated.