Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
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.