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 MetricDatapoint = MetricDatapoint' {}
- newMetricDatapoint :: MetricDatapoint
- metricDatapoint_sampleCount :: Lens' MetricDatapoint (Maybe Double)
- metricDatapoint_maximum :: Lens' MetricDatapoint (Maybe Double)
- metricDatapoint_average :: Lens' MetricDatapoint (Maybe Double)
- metricDatapoint_minimum :: Lens' MetricDatapoint (Maybe Double)
- metricDatapoint_sum :: Lens' MetricDatapoint (Maybe Double)
- metricDatapoint_timestamp :: Lens' MetricDatapoint (Maybe UTCTime)
- metricDatapoint_unit :: Lens' MetricDatapoint (Maybe MetricUnit)
Documentation
data MetricDatapoint Source #
Describes the metric data point.
See: newMetricDatapoint
smart constructor.
Instances
newMetricDatapoint :: MetricDatapoint Source #
Create a value of MetricDatapoint
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:sampleCount:MetricDatapoint'
, metricDatapoint_sampleCount
- The sample count.
$sel:maximum:MetricDatapoint'
, metricDatapoint_maximum
- The maximum.
$sel:average:MetricDatapoint'
, metricDatapoint_average
- The average.
$sel:minimum:MetricDatapoint'
, metricDatapoint_minimum
- The minimum.
$sel:sum:MetricDatapoint'
, metricDatapoint_sum
- The sum.
$sel:timestamp:MetricDatapoint'
, metricDatapoint_timestamp
- The timestamp (e.g., 1479816991.349
).
$sel:unit:MetricDatapoint'
, metricDatapoint_unit
- The unit.
metricDatapoint_sampleCount :: Lens' MetricDatapoint (Maybe Double) Source #
The sample count.
metricDatapoint_maximum :: Lens' MetricDatapoint (Maybe Double) Source #
The maximum.
metricDatapoint_average :: Lens' MetricDatapoint (Maybe Double) Source #
The average.
metricDatapoint_minimum :: Lens' MetricDatapoint (Maybe Double) Source #
The minimum.
metricDatapoint_sum :: Lens' MetricDatapoint (Maybe Double) Source #
The sum.
metricDatapoint_timestamp :: Lens' MetricDatapoint (Maybe UTCTime) Source #
The timestamp (e.g., 1479816991.349
).
metricDatapoint_unit :: Lens' MetricDatapoint (Maybe MetricUnit) Source #
The unit.