Module Values.IotTopicPublishActionSource

Information required to publish the MQTT message through the AWS IoT message broker.

Sourcetype nonrec t = {
  1. mqttTopic : MQTTTopic.t;
    (*

    The MQTT topic of the message. You can use a string expression that includes variables ($variable.<variable-name>) and input values ($input.<input-name>.<path-to-datum>) as the topic string.

    *)
  2. payload : Payload.t option;
    (*

    You can configure the action payload when you publish a message to an AWS IoT Core topic.

    *)
}
Sourceval context_ : string
Sourceval make : ?payload:??? -> mqttTopic:MQTTTopic.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of MQTTTopic.t | `Structure of (string * [> `Enum of string | `String of ContentExpression.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