Module Values_0.TimestreamActionSource

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.

Sourcetype nonrec t = {
  1. roleArn : AwsArn.t;
    (*

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

    *)
  2. databaseName : TimestreamDatabaseName.t;
    (*

    The name of an Amazon Timestream database.

    *)
  3. tableName : TimestreamTableName.t;
    (*

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

    *)
  4. dimensions : TimestreamDimensionList.t;
    (*

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

    *)
  5. 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.

    *)
}
Sourceval context_ : string
Sourceval make : ?timestamp:??? -> roleArn:AwsArn.t -> databaseName:TimestreamDatabaseName.t -> tableName:TimestreamTableName.t -> dimensions:TimestreamDimensionList.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t