Module Values.SubscriptionSource

Information about a subscription.

Sourcetype nonrec t = {
  1. id : string;
    (*

    A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

    *)
  2. source : string;
    (*

    The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

    *)
  3. subject : string;
    (*

    The MQTT topic used to route the message.

    *)
  4. target : string;
    (*

    Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

    *)
}
Sourceval context_ : string
Sourceval make : id:string -> source:string -> subject:string -> target:string -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of string ]) 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