Module Values_1.CreateCommandResponseSource

Creates a command. A command contains reusable configurations that can be applied before they are sent to the devices.

Sourcetype nonrec t = {
  1. commandId : Values_0.CommandId.t option;
    (*

    The unique identifier for the command.

    *)
  2. commandArn : Values_0.CommandArn.t option;
    (*

    The Amazon Resource Number (ARN) of the command. For example, arn:aws:iot:<region>:<accountid>:command/<commandId>

    *)
}
Sourcetype nonrec error = [
  1. | `ConflictException of Values_0.ConflictException.t
  2. | `InternalServerException of Values_0.InternalServerException.t
  3. | `ServiceQuotaExceededException of Values_0.ServiceQuotaExceededException.t
  4. | `ThrottlingException of Values_0.ThrottlingException.t
  5. | `ValidationException of Values_0.ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?commandId:??? -> ?commandArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConflictException of Values_0.ConflictException.t | `InternalServerException of Values_0.InternalServerException.t | `ServiceQuotaExceededException of Values_0.ServiceQuotaExceededException.t | `ThrottlingException of Values_0.ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of Values_0.ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConflictException of Values_0.ConflictException.t | `InternalServerException of Values_0.InternalServerException.t | `ServiceQuotaExceededException of Values_0.ServiceQuotaExceededException.t | `ThrottlingException of Values_0.ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of Values_0.ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Values_0.CommandId.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