Record
¶
Used by
-
AsyncTimestreamWriteClient Operationswrite_records -
TimestreamWriteClient Operationswrite_records
Source code in docs_src/capo_timestream_write/types/record.py
dimensions
instance-attribute
¶
dimensions: NotRequired[Dimensions]
Contains the list of dimensions for time-series data points.
measure_name
instance-attribute
¶
measure_name: NotRequired[SchemaName]
Measure represents the data attribute of the time series. For example, the CPU utilization of an EC2 instance or the RPM of a wind turbine are measures.
measure_value
instance-attribute
¶
measure_value: NotRequired[StringValue2048]
Contains the measure value for the time-series data point.
measure_value_type
instance-attribute
¶
measure_value_type: NotRequired[MeasureValueType]
Contains the data type of the measure value for the time-series data point. Default type is DOUBLE. For more information, see Data types.
measure_values
instance-attribute
¶
measure_values: NotRequired[MeasureValues]
Contains the list of MeasureValue for time-series data points.
This is only allowed for type MULTI. For scalar values, use MeasureValue attribute of the record directly.
time
instance-attribute
¶
time: NotRequired[StringValue256]
Contains the time at which the measure value for the data point was collected. The time value plus the unit provides the time elapsed since the epoch. For example, if the time value is 12345 and the unit is ms, then 12345 ms have elapsed since the epoch.
time_unit
instance-attribute
¶
time_unit: NotRequired[TimeUnit]
The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds, nanoseconds, or other supported values. Default is MILLISECONDS.
version
instance-attribute
¶
version: NotRequired[RecordVersion]
64-bit attribute used for record updates. Write requests for duplicate data with a higher version number will update the existing measure value and version. In cases where the measure value is the same, Version will still be updated. Default value is 1.
Version must be 1 or greater, or you will receive a ValidationException error.