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 |
Synopsis
Documentation
data MeasureValue Source #
MeasureValue represents the data attribute of the time series. For example, the CPU utilization of an EC2 instance or the RPM of a wind turbine are measures. MeasureValue has both name and value.
MeasureValue is only allowed for type MULTI
. Using MULTI
type, you
can pass multiple data attributes associated with the same time series
in a single record
See: newMeasureValue
smart constructor.
MeasureValue' | |
|
Instances
:: Text | |
-> Text | |
-> MeasureValueType | |
-> MeasureValue |
Create a value of MeasureValue
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:name:MeasureValue'
, measureValue_name
- Name of the MeasureValue.
For constraints on MeasureValue names, refer to Naming Constraints in the Timestream developer guide.
$sel:value:MeasureValue'
, measureValue_value
- Value for the MeasureValue.
$sel:type':MeasureValue'
, measureValue_type
- Contains the data type of the MeasureValue for the time series data
point.
measureValue_name :: Lens' MeasureValue Text Source #
Name of the MeasureValue.
For constraints on MeasureValue names, refer to Naming Constraints in the Timestream developer guide.
measureValue_value :: Lens' MeasureValue Text Source #
Value for the MeasureValue.
measureValue_type :: Lens' MeasureValue MeasureValueType Source #
Contains the data type of the MeasureValue for the time series data point.