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 EdgeMetric Source #
Information required for edge device metrics.
See: newEdgeMetric
smart constructor.
Instances
newEdgeMetric :: EdgeMetric Source #
Create a value of EdgeMetric
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:dimension:EdgeMetric'
, edgeMetric_dimension
- The dimension of metrics published.
$sel:metricName:EdgeMetric'
, edgeMetric_metricName
- Returns the name of the metric.
$sel:value:EdgeMetric'
, edgeMetric_value
- Returns the value of the metric.
$sel:timestamp:EdgeMetric'
, edgeMetric_timestamp
- Timestamp of when the metric was requested.
edgeMetric_dimension :: Lens' EdgeMetric (Maybe Text) Source #
The dimension of metrics published.
edgeMetric_metricName :: Lens' EdgeMetric (Maybe Text) Source #
Returns the name of the metric.
edgeMetric_value :: Lens' EdgeMetric (Maybe Double) Source #
Returns the value of the metric.
edgeMetric_timestamp :: Lens' EdgeMetric (Maybe UTCTime) Source #
Timestamp of when the metric was requested.