amazonka-timestream-write-2.0: Amazon Timestream Write SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.TimeStreamWrite.Types.MeasureValue

Description

 
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.

Constructors

MeasureValue' 

Fields

Instances

Instances details
ToJSON MeasureValue Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValue

Generic MeasureValue Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValue

Associated Types

type Rep MeasureValue :: Type -> Type #

Read MeasureValue Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValue

Show MeasureValue Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValue

NFData MeasureValue Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValue

Methods

rnf :: MeasureValue -> () #

Eq MeasureValue Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValue

Hashable MeasureValue Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValue

type Rep MeasureValue Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValue

type Rep MeasureValue = D1 ('MetaData "MeasureValue" "Amazonka.TimeStreamWrite.Types.MeasureValue" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'False) (C1 ('MetaCons "MeasureValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MeasureValueType))))

newMeasureValue Source #

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.