Module Values_0.IotAnalyticsActionSource

Sends message data to an IoT Analytics channel.

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

    (deprecated) The ARN of the IoT Analytics channel to which message data will be sent.

    *)
  2. channelName : ChannelName.t option;
    (*

    The name of the IoT Analytics channel to which message data will be sent.

    *)
  3. batchMode : BatchMode.t option;
    (*

    Whether to process the action as a batch. The default value is false. When batchMode is true and the rule SQL statement evaluates to an Array, each Array element is delivered as a separate message when passed by BatchPutMessage to the IoT Analytics channel. The resulting array can't have more than 100 messages.

    *)
  4. roleArn : AwsArn.t option;
    (*

    The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).

    *)
}
Sourceval make : ?channelArn:??? -> ?channelName:??? -> ?batchMode:??? -> ?roleArn:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of BatchMode.t | `String of AwsArn.t ]) 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