| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CostExplorer.Types.MetricValue
Description
Synopsis
- data MetricValue = MetricValue' {}
- newMetricValue :: MetricValue
- metricValue_amount :: Lens' MetricValue (Maybe Text)
- metricValue_unit :: Lens' MetricValue (Maybe Text)
Documentation
data MetricValue Source #
The aggregated value for a metric.
See: newMetricValue smart constructor.
Constructors
| MetricValue' | |
Instances
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.