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
Documentation
data MetricData Source #
The name, value, and date and time of a metric that was emitted to Amazon CloudWatch.
See: newMetricData
smart constructor.
Instances
newMetricData :: MetricData Source #
Create a value of MetricData
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:metricName:MetricData'
, metricData_metricName
- The name of the metric.
$sel:value:MetricData'
, metricData_value
- The value of the metric.
$sel:timestamp:MetricData'
, metricData_timestamp
- The date and time that the algorithm emitted the metric.
metricData_metricName :: Lens' MetricData (Maybe Text) Source #
The name of the metric.
metricData_value :: Lens' MetricData (Maybe Double) Source #
The value of the metric.
metricData_timestamp :: Lens' MetricData (Maybe UTCTime) Source #
The date and time that the algorithm emitted the metric.