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 MetricDatum = MetricDatum' {
- value :: Maybe Double
- dimensions :: Maybe [Dimension]
- unit :: Maybe Unit
- statisticValues :: Maybe StatisticSet
- metricName :: Text
- timestamp :: POSIX
- newMetricDatum :: Text -> UTCTime -> MetricDatum
- metricDatum_value :: Lens' MetricDatum (Maybe Double)
- metricDatum_dimensions :: Lens' MetricDatum (Maybe [Dimension])
- metricDatum_unit :: Lens' MetricDatum (Maybe Unit)
- metricDatum_statisticValues :: Lens' MetricDatum (Maybe StatisticSet)
- metricDatum_metricName :: Lens' MetricDatum Text
- metricDatum_timestamp :: Lens' MetricDatum UTCTime
Documentation
data MetricDatum Source #
Internal only API.
See: newMetricDatum
smart constructor.
MetricDatum' | |
|
Instances
Create a value of MetricDatum
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:value:MetricDatum'
, metricDatum_value
- Internal only API.
$sel:dimensions:MetricDatum'
, metricDatum_dimensions
- Internal only API.
$sel:unit:MetricDatum'
, metricDatum_unit
- Undocumented member.
$sel:statisticValues:MetricDatum'
, metricDatum_statisticValues
- Internal only API.
$sel:metricName:MetricDatum'
, metricDatum_metricName
- Internal only API.
$sel:timestamp:MetricDatum'
, metricDatum_timestamp
- Internal only API.
metricDatum_value :: Lens' MetricDatum (Maybe Double) Source #
Internal only API.
metricDatum_dimensions :: Lens' MetricDatum (Maybe [Dimension]) Source #
Internal only API.
metricDatum_unit :: Lens' MetricDatum (Maybe Unit) Source #
Undocumented member.
metricDatum_statisticValues :: Lens' MetricDatum (Maybe StatisticSet) Source #
Internal only API.
metricDatum_metricName :: Lens' MetricDatum Text Source #
Internal only API.
metricDatum_timestamp :: Lens' MetricDatum UTCTime Source #
Internal only API.