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
- data TimestreamConfiguration = TimestreamConfiguration' {}
- newTimestreamConfiguration :: Text -> Text -> Text -> TimestreamConfiguration
- timestreamConfiguration_measureNameColumn :: Lens' TimestreamConfiguration (Maybe Text)
- timestreamConfiguration_mixedMeasureMappings :: Lens' TimestreamConfiguration (Maybe (NonEmpty MixedMeasureMapping))
- timestreamConfiguration_multiMeasureMappings :: Lens' TimestreamConfiguration (Maybe MultiMeasureMappings)
- timestreamConfiguration_databaseName :: Lens' TimestreamConfiguration Text
- timestreamConfiguration_tableName :: Lens' TimestreamConfiguration Text
- timestreamConfiguration_timeColumn :: Lens' TimestreamConfiguration Text
- timestreamConfiguration_dimensionMappings :: Lens' TimestreamConfiguration [DimensionMapping]
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.
TimestreamConfiguration' | |
|
Instances
newTimestreamConfiguration Source #
:: Text | |
-> Text | |
-> Text | |
-> TimestreamConfiguration |
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_measureNameColumn :: Lens' TimestreamConfiguration (Maybe Text) Source #
Name of the measure column.
timestreamConfiguration_mixedMeasureMappings :: Lens' TimestreamConfiguration (Maybe (NonEmpty MixedMeasureMapping)) Source #
Specifies how to map measures to multi-measure records.
timestreamConfiguration_multiMeasureMappings :: Lens' TimestreamConfiguration (Maybe MultiMeasureMappings) Source #
Multi-measure mappings.
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.