Skip to content

TimestreamConfiguration

Source code in docs_src/capo_timestream_query/types/timestream_configuration.py
class TimestreamConfiguration(TypedDict, closed=True):
    database_name: "capo_timestream_query.types.resource_name.ResourceName"
    """<p>Name of Timestream database to which the query result will be written.</p>"""
    table_name: "capo_timestream_query.types.resource_name.ResourceName"
    """<p>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.</p>"""
    time_column: "capo_timestream_query.types.schema_name.SchemaName"
    """<p>Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.</p>"""
    dimension_mappings: (
        "capo_timestream_query.types.dimension_mapping_list.DimensionMappingList"
    )
    """<p> This is to allow mapping column(s) from the query result to the dimension in the destination table. </p>"""
    multi_measure_mappings: NotRequired[
        "capo_timestream_query.types.multi_measure_mappings.MultiMeasureMappings"
    ]
    """<p>Multi-measure mappings.</p>"""
    mixed_measure_mappings: NotRequired[
        "capo_timestream_query.types.mixed_measure_mapping_list.MixedMeasureMappingList"
    ]
    """<p>Specifies how to map measures to multi-measure records.</p>"""
    measure_name_column: NotRequired[
        "capo_timestream_query.types.schema_name.SchemaName"
    ]
    """<p>Name of the measure column.</p>"""

database_name instance-attribute

database_name: ResourceName

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

dimension_mappings instance-attribute

dimension_mappings: DimensionMappingList

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

measure_name_column instance-attribute

measure_name_column: NotRequired[SchemaName]

Name of the measure column.

mixed_measure_mappings instance-attribute

mixed_measure_mappings: NotRequired[MixedMeasureMappingList]

Specifies how to map measures to multi-measure records.

multi_measure_mappings instance-attribute

multi_measure_mappings: NotRequired[MultiMeasureMappings]

Multi-measure mappings.

table_name instance-attribute

table_name: ResourceName

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.

time_column instance-attribute

time_column: SchemaName

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