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.TimestreamConfiguration

Description

 
Synopsis

Documentation

data TimestreamConfiguration Source #

Configuration to write data into Timestream database and table. This configuration allows the user to map the query result select columns into the destination table columns.

See: newTimestreamConfiguration smart constructor.

Constructors

TimestreamConfiguration' 

Fields

Instances

Instances details
FromJSON TimestreamConfiguration Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.TimestreamConfiguration

ToJSON TimestreamConfiguration Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.TimestreamConfiguration

Generic TimestreamConfiguration Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.TimestreamConfiguration

Associated Types

type Rep TimestreamConfiguration :: Type -> Type #

Read TimestreamConfiguration Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.TimestreamConfiguration

Show TimestreamConfiguration Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.TimestreamConfiguration

NFData TimestreamConfiguration Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.TimestreamConfiguration

Methods

rnf :: TimestreamConfiguration -> () #

Eq TimestreamConfiguration Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.TimestreamConfiguration

Hashable TimestreamConfiguration Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.TimestreamConfiguration

type Rep TimestreamConfiguration Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.TimestreamConfiguration

type Rep TimestreamConfiguration = D1 ('MetaData "TimestreamConfiguration" "Amazonka.TimeStreamQuery.Types.TimestreamConfiguration" "amazonka-timestream-query-2.0-HD7xx47Lw3eG6c52GyReXL" 'False) (C1 ('MetaCons "TimestreamConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "measureNameColumn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "mixedMeasureMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty MixedMeasureMapping))) :*: S1 ('MetaSel ('Just "multiMeasureMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MultiMeasureMappings)))) :*: ((S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "timeColumn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "dimensionMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [DimensionMapping])))))

newTimestreamConfiguration Source #

Create a value of TimestreamConfiguration 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:measureNameColumn:TimestreamConfiguration', timestreamConfiguration_measureNameColumn - Name of the measure column.

$sel:mixedMeasureMappings:TimestreamConfiguration', timestreamConfiguration_mixedMeasureMappings - Specifies how to map measures to multi-measure records.

$sel:multiMeasureMappings:TimestreamConfiguration', timestreamConfiguration_multiMeasureMappings - Multi-measure mappings.

$sel:databaseName:TimestreamConfiguration', timestreamConfiguration_databaseName - Name of Timestream database to which the query result will be written.

$sel:tableName:TimestreamConfiguration', timestreamConfiguration_tableName - Name of Timestream table that the query result will be written to. The table should be within the same database that is provided in Timestream configuration.

$sel:timeColumn:TimestreamConfiguration', timestreamConfiguration_timeColumn - Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.

$sel:dimensionMappings:TimestreamConfiguration', timestreamConfiguration_dimensionMappings - This is to allow mapping column(s) from the query result to the dimension in the destination table.

timestreamConfiguration_databaseName :: Lens' TimestreamConfiguration Text Source #

Name of Timestream database to which the query result will be written.

timestreamConfiguration_tableName :: Lens' TimestreamConfiguration Text Source #

Name of Timestream table that the query result will be written to. The table should be within the same database that is provided in Timestream configuration.

timestreamConfiguration_timeColumn :: Lens' TimestreamConfiguration Text Source #

Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.

timestreamConfiguration_dimensionMappings :: Lens' TimestreamConfiguration [DimensionMapping] Source #

This is to allow mapping column(s) from the query result to the dimension in the destination table.