Module Values_0.RepublishActionSource

Describes an action to republish to another topic.

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

    The ARN of the IAM role that grants access.

    *)
  2. topic : TopicPattern.t;
    (*

    The name of the MQTT topic.

    *)
  3. qos : Qos.t option;
    (*

    The Quality of Service (QoS) level to use when republishing messages. The default value is 0.

    *)
  4. headers : MqttHeaders.t option;
    (*

    MQTT Version 5.0 headers information. For more information, see MQTT from the Amazon Web Services IoT Core Developer Guide.

    *)
}
Sourceval context_ : string
Sourceval make : ?qos:??? -> ?headers:??? -> roleArn:AwsArn.t -> topic:TopicPattern.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Qos.t | `String of AwsArn.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of UserPropertyKey.t ]) list ] list | `String of PayloadFormatIndicator.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