Skip to content

TimestreamAction

Source code in docs_src/capo_iot/types/timestream_action.py
class TimestreamAction(TypedDict, closed=True):
    role_arn: "capo_iot.types.aws_arn.AwsArn"
    """<p>The ARN of the role that grants permission to write to the Amazon Timestream database table.</p>"""
    database_name: "capo_iot.types.timestream_database_name.TimestreamDatabaseName"
    """<p>The name of an Amazon Timestream database.</p>"""
    table_name: "capo_iot.types.timestream_table_name.TimestreamTableName"
    """<p>The name of the database table into which to write the measure records.</p>"""
    dimensions: "capo_iot.types.timestream_dimension_list.TimestreamDimensionList"
    """<p>Metadata attributes of the time series that are written in each measure record.</p>"""
    timestamp: NotRequired["capo_iot.types.timestream_timestamp.TimestreamTimestamp"]
    """<p>Specifies an application-defined value to replace the default value assigned to the Timestream record's timestamp in the <code>time</code> column.</p> <p>You can use this property to specify the value and the precision of the Timestream record's timestamp. You can specify a value from the message payload or a value computed by a substitution template.</p> <p>If omitted, the topic rule action assigns the timestamp, in milliseconds, at the time it processed the rule. </p>"""

database_name instance-attribute

database_name: TimestreamDatabaseName

The name of an Amazon Timestream database.

dimensions instance-attribute

Metadata attributes of the time series that are written in each measure record.

role_arn instance-attribute

role_arn: AwsArn

The ARN of the role that grants permission to write to the Amazon Timestream database table.

table_name instance-attribute

table_name: TimestreamTableName

The name of the database table into which to write the measure records.

timestamp instance-attribute

timestamp: NotRequired[TimestreamTimestamp]

Specifies an application-defined value to replace the default value assigned to the Timestream record's timestamp in the time column.

You can use this property to specify the value and the precision of the Timestream record's timestamp. You can specify a value from the message payload or a value computed by a substitution template.

If omitted, the topic rule action assigns the timestamp, in milliseconds, at the time it processed the rule.