Skip to content

PartitionKey

Source code in docs_src/capo_timestream_write/types/partition_key.py
class PartitionKey(TypedDict, closed=True):
    type: "capo_timestream_write.types.partition_key_type.PartitionKeyType"
    """<p> The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key). </p>"""
    name: NotRequired["capo_timestream_write.types.schema_name.SchemaName"]
    """<p> The name of the attribute used for a dimension key. </p>"""
    enforcement_in_record: NotRequired[
        "capo_timestream_write.types.partition_key_enforcement_level.PartitionKeyEnforcementLevel"
    ]
    """<p> The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified). </p>"""

enforcement_in_record instance-attribute

enforcement_in_record: NotRequired[PartitionKeyEnforcementLevel]

The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).

name instance-attribute

name: NotRequired[SchemaName]

The name of the attribute used for a dimension key.

type instance-attribute

The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).