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 |
Documentation
data MetricDataResult Source #
The result of a single metric data query.
See: newMetricDataResult
smart constructor.
Instances
newMetricDataResult :: MetricDataResult Source #
Create a value of MetricDataResult
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:id:MetricDataResult'
, metricDataResult_id
- The query identifier.
$sel:timestamps:MetricDataResult'
, metricDataResult_timestamps
- A list of timestamps for the metric data results.
$sel:values:MetricDataResult'
, metricDataResult_values
- A list of values (cumulative / sum) for the metric data results.
metricDataResult_id :: Lens' MetricDataResult (Maybe Text) Source #
The query identifier.
metricDataResult_timestamps :: Lens' MetricDataResult (Maybe [UTCTime]) Source #
A list of timestamps for the metric data results.
metricDataResult_values :: Lens' MetricDataResult (Maybe [Integer]) Source #
A list of values (cumulative / sum) for the metric data results.