amazonka-timestream-query-2.0: Amazon Timestream Query 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.TimeStreamQuery.Types.MixedMeasureMapping

Description

 
Synopsis

Documentation

data MixedMeasureMapping Source #

MixedMeasureMappings are mappings that can be used to ingest data into a mixture of narrow and multi measures in the derived table.

See: newMixedMeasureMapping smart constructor.

Constructors

MixedMeasureMapping' 

Fields

Instances

Instances details
FromJSON MixedMeasureMapping Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.MixedMeasureMapping

ToJSON MixedMeasureMapping Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.MixedMeasureMapping

Generic MixedMeasureMapping Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.MixedMeasureMapping

Associated Types

type Rep MixedMeasureMapping :: Type -> Type #

Read MixedMeasureMapping Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.MixedMeasureMapping

Show MixedMeasureMapping Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.MixedMeasureMapping

NFData MixedMeasureMapping Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.MixedMeasureMapping

Methods

rnf :: MixedMeasureMapping -> () #

Eq MixedMeasureMapping Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.MixedMeasureMapping

Hashable MixedMeasureMapping Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.MixedMeasureMapping

type Rep MixedMeasureMapping Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.MixedMeasureMapping

type Rep MixedMeasureMapping = D1 ('MetaData "MixedMeasureMapping" "Amazonka.TimeStreamQuery.Types.MixedMeasureMapping" "amazonka-timestream-query-2.0-HD7xx47Lw3eG6c52GyReXL" 'False) (C1 ('MetaCons "MixedMeasureMapping'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "measureName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "multiMeasureAttributeMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty MultiMeasureAttributeMapping)))) :*: (S1 ('MetaSel ('Just "sourceColumn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "targetMeasureName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "measureValueType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MeasureValueType)))))

newMixedMeasureMapping Source #

Create a value of MixedMeasureMapping 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:measureName:MixedMeasureMapping', mixedMeasureMapping_measureName - Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is provided.

$sel:multiMeasureAttributeMappings:MixedMeasureMapping', mixedMeasureMapping_multiMeasureAttributeMappings - Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.

MixedMeasureMapping, mixedMeasureMapping_sourceColumn - This field refers to the source column from which measure-value is to be read for result materialization.

$sel:targetMeasureName:MixedMeasureMapping', mixedMeasureMapping_targetMeasureName - Target measure name to be used. If not provided, the target measure name by default would be measure-name if provided, or sourceColumn otherwise.

MixedMeasureMapping, mixedMeasureMapping_measureValueType - Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.

mixedMeasureMapping_measureName :: Lens' MixedMeasureMapping (Maybe Text) Source #

Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is provided.

mixedMeasureMapping_multiMeasureAttributeMappings :: Lens' MixedMeasureMapping (Maybe (NonEmpty MultiMeasureAttributeMapping)) Source #

Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.

mixedMeasureMapping_sourceColumn :: Lens' MixedMeasureMapping (Maybe Text) Source #

This field refers to the source column from which measure-value is to be read for result materialization.

mixedMeasureMapping_targetMeasureName :: Lens' MixedMeasureMapping (Maybe Text) Source #

Target measure name to be used. If not provided, the target measure name by default would be measure-name if provided, or sourceColumn otherwise.

mixedMeasureMapping_measureValueType :: Lens' MixedMeasureMapping MeasureValueType Source #

Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.