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

Description

 
Synopsis

Documentation

data MetricValue Source #

The aggregated value for a metric.

See: newMetricValue smart constructor.

Constructors

MetricValue' 

Fields

Instances

Instances details
Eq MetricValue Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.MetricValue

Read MetricValue Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.MetricValue

Show MetricValue Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.MetricValue

Generic MetricValue Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.MetricValue

Associated Types

type Rep MetricValue :: Type -> Type #

NFData MetricValue Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.MetricValue

Methods

rnf :: MetricValue -> () #

Hashable MetricValue Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.MetricValue

FromJSON MetricValue Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.MetricValue

type Rep MetricValue Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.MetricValue

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

newMetricValue :: MetricValue Source #

Create a value of MetricValue 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:amount:MetricValue', metricValue_amount - The actual number that represents the metric.

$sel:unit:MetricValue', metricValue_unit - The unit that the metric is given in.

metricValue_amount :: Lens' MetricValue (Maybe Text) Source #

The actual number that represents the metric.

metricValue_unit :: Lens' MetricValue (Maybe Text) Source #

The unit that the metric is given in.