ScheduledQueryTimestreamConfiguration

data class ScheduledQueryTimestreamConfiguration(val databaseName: String, val dimensionMappings: List<ScheduledQueryDimensionMapping>, val measureNameColumn: String? = null, val mixedMeasureMappings: List<ScheduledQueryMixedMeasureMapping>? = null, val multiMeasureMappings: ScheduledQueryMultiMeasureMappings? = null, val tableName: String, val timeColumn: String)

Configuration needed to write data into the Timestream database and table.

Constructors

Link copied to clipboard
constructor(databaseName: String, dimensionMappings: List<ScheduledQueryDimensionMapping>, measureNameColumn: String? = null, mixedMeasureMappings: List<ScheduledQueryMixedMeasureMapping>? = null, multiMeasureMappings: ScheduledQueryMultiMeasureMappings? = null, tableName: String, timeColumn: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Name of the measure column. Also see MultiMeasureMappings and MixedMeasureMappings for how measure name properties on those relate to MeasureNameColumn .

Link copied to clipboard

Specifies how to map measures to multi-measure records.

Link copied to clipboard

Multi-measure mappings.

Link copied to clipboard

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.

Link copied to clipboard

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