Values_0.TimestreamActionSourceThe 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.
type nonrec t = {roleArn : AwsArn.t;The ARN of the role that grants permission to write to the Amazon Timestream database table.
*)databaseName : TimestreamDatabaseName.t;The name of an Amazon Timestream database.
*)tableName : TimestreamTableName.t;The name of the database table into which to write the measure records.
*)dimensions : TimestreamDimensionList.t;Metadata attributes of the time series that are written in each measure record.
*)timestamp : TimestreamTimestamp.t option;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.
*)}val make :
?timestamp:??? ->
roleArn:AwsArn.t ->
databaseName:TimestreamDatabaseName.t ->
tableName:TimestreamTableName.t ->
dimensions:TimestreamDimensionList.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string * [> `String of TimestreamDimensionName.t ]) list ]
list
| `String of AwsArn.t
| `Structure of
(string * [> `String of TimestreamTimestampValue.t ]) list ])
list ]