Module Values.CreateDestinationRequestSource

Creates a new destination that maps a device message to an AWS IoT rule.

Sourcetype nonrec t = {
  1. name : DestinationName.t;
    (*

    The name of the new resource.

    *)
  2. expressionType : ExpressionType.t;
    (*

    The type of value in Expression.

    *)
  3. expression : Expression.t;
    (*

    The rule name or topic rule to send messages to.

    *)
  4. description : Description.t option;
    (*

    The description of the new resource.

    *)
  5. roleArn : RoleArn.t;
    (*

    The ARN of the IAM Role that authorizes the destination.

    *)
  6. tags : TagList.t option;
    (*

    The tags to attach to the new destination. Tags are metadata that you can use to manage a resource.

    *)
  7. clientRequestToken : ClientRequestToken.t option;
    (*

    Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?tags:??? -> ?clientRequestToken:??? -> name:DestinationName.t -> expressionType:ExpressionType.t -> expression:Expression.t -> roleArn:RoleArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of DestinationName.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