PartitionKey
¶
Source code in docs_src/capo_timestream_write/types/partition_key.py
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
¶
type: PartitionKeyType
The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).