Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TimestreamAction

import type { TimestreamAction } from "https://aws-api.deno.dev/v0.3/services/iot.ts?docs=full";

The Timestream rule action writes attributes (measures) from an MQTT message into an Amazon Timestream table. For more information, see the Timestream topic rule action documentation.

interface TimestreamAction {
databaseName: string;
dimensions: TimestreamDimension[];
roleArn: string;
tableName: string;
timestamp?: TimestreamTimestamp | null;
}

§Properties

§
databaseName: string
[src]

The name of an Amazon Timestream database.

§

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

§
roleArn: string
[src]

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

§
tableName: string
[src]

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

§
timestamp?: TimestreamTimestamp | null
[src]

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.