| 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.CloudWatch.Types.Datapoint
Description
Synopsis
- data Datapoint = Datapoint' {}
- newDatapoint :: Datapoint
- datapoint_average :: Lens' Datapoint (Maybe Double)
- datapoint_extendedStatistics :: Lens' Datapoint (Maybe (HashMap Text Double))
- datapoint_maximum :: Lens' Datapoint (Maybe Double)
- datapoint_minimum :: Lens' Datapoint (Maybe Double)
- datapoint_sampleCount :: Lens' Datapoint (Maybe Double)
- datapoint_sum :: Lens' Datapoint (Maybe Double)
- datapoint_timestamp :: Lens' Datapoint (Maybe UTCTime)
- datapoint_unit :: Lens' Datapoint (Maybe StandardUnit)
Documentation
Encapsulates the statistical data that CloudWatch computes from metric data.
See: newDatapoint smart constructor.
Constructors
| Datapoint' | |
Fields
| |
Instances
newDatapoint :: Datapoint Source #
Create a value of Datapoint 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:average:Datapoint', datapoint_average - The average of the metric values that correspond to the data point.
$sel:extendedStatistics:Datapoint', datapoint_extendedStatistics - The percentile statistic for the data point.
$sel:maximum:Datapoint', datapoint_maximum - The maximum metric value for the data point.
$sel:minimum:Datapoint', datapoint_minimum - The minimum metric value for the data point.
$sel:sampleCount:Datapoint', datapoint_sampleCount - The number of metric values that contributed to the aggregate value of
this data point.
$sel:sum:Datapoint', datapoint_sum - The sum of the metric values for the data point.
$sel:timestamp:Datapoint', datapoint_timestamp - The time stamp used for the data point.
$sel:unit:Datapoint', datapoint_unit - The standard unit for the data point.
datapoint_average :: Lens' Datapoint (Maybe Double) Source #
The average of the metric values that correspond to the data point.
datapoint_extendedStatistics :: Lens' Datapoint (Maybe (HashMap Text Double)) Source #
The percentile statistic for the data point.
datapoint_maximum :: Lens' Datapoint (Maybe Double) Source #
The maximum metric value for the data point.
datapoint_minimum :: Lens' Datapoint (Maybe Double) Source #
The minimum metric value for the data point.
datapoint_sampleCount :: Lens' Datapoint (Maybe Double) Source #
The number of metric values that contributed to the aggregate value of this data point.
datapoint_sum :: Lens' Datapoint (Maybe Double) Source #
The sum of the metric values for the data point.
datapoint_timestamp :: Lens' Datapoint (Maybe UTCTime) Source #
The time stamp used for the data point.
datapoint_unit :: Lens' Datapoint (Maybe StandardUnit) Source #
The standard unit for the data point.