Skip to content

MixedMeasureMapping

Source code in docs_src/capo_timestream_query/types/mixed_measure_mapping.py
class MixedMeasureMapping(TypedDict, closed=True):
    measure_name: NotRequired["capo_timestream_query.types.schema_name.SchemaName"]
    """<p>Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is provided.</p>"""
    source_column: NotRequired["capo_timestream_query.types.schema_name.SchemaName"]
    """<p>This field refers to the source column from which measure-value is to be read for result materialization.</p>"""
    target_measure_name: NotRequired[
        "capo_timestream_query.types.schema_name.SchemaName"
    ]
    """<p>Target measure name to be used. If not provided, the target measure name by default would be measure-name if provided, or sourceColumn otherwise. </p>"""
    measure_value_type: (
        "capo_timestream_query.types.measure_value_type.MeasureValueType"
    )
    """<p>Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.</p>"""
    multi_measure_attribute_mappings: NotRequired[
        "capo_timestream_query.types.multi_measure_attribute_mapping_list.MultiMeasureAttributeMappingList"
    ]
    """<p>Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.</p>"""

measure_name instance-attribute

measure_name: NotRequired[SchemaName]

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

measure_value_type instance-attribute

measure_value_type: MeasureValueType

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

multi_measure_attribute_mappings instance-attribute

multi_measure_attribute_mappings: NotRequired[MultiMeasureAttributeMappingList]

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

source_column instance-attribute

source_column: NotRequired[SchemaName]

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

target_measure_name instance-attribute

target_measure_name: NotRequired[SchemaName]

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