Module Values_1.GetCommandResponseSource

Gets information about the specified command.

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

    The unique identifier of 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>

    *)
  3. namespace : Values_0.CommandNamespace.t option;
    (*

    The namespace of the command.

    *)
  4. displayName : Values_0.DisplayName.t option;
    (*

    The user-friendly name in the console for the command.

    *)
  5. description : Values_0.CommandDescription.t option;
    (*

    A short text description of the command.

    *)
  6. mandatoryParameters : Values_0.CommandParameterList.t option;
    (*

    A list of parameters for the command created.

    *)
  7. payload : Values_0.CommandPayload.t option;
    (*

    The payload object that you provided for the command.

    *)
  8. payloadTemplate : Values_0.CommandPayloadTemplateString.t option;
    (*

    The payload template for the dynamic command.

    *)
  9. preprocessor : Values_0.CommandPreprocessor.t option;
    (*

    Configuration that determines how payloadTemplate is processed to generate command execution payload.

    *)
  10. roleArn : Values_0.RoleArn.t option;
    (*

    The IAM role that you provided when creating the command with AWS-IoT-FleetWise as the namespace.

    *)
  11. createdAt : Values_0.DateType.t option;
    (*

    The timestamp, when the command was created.

    *)
  12. lastUpdatedAt : Values_0.DateType.t option;
    (*

    The timestamp, when the command was last updated.

    *)
  13. deprecated : Values_0.DeprecationFlag.t option;
    (*

    Indicates whether the command has been deprecated.

    *)
  14. pendingDeletion : Values_0.BooleanWrapperObject.t option;
    (*

    Indicates whether the command is being deleted.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServerException of Values_0.InternalServerException.t
  2. | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
  3. | `ThrottlingException of Values_0.ThrottlingException.t
  4. | `ValidationException of Values_0.ValidationException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?commandId:??? -> ?commandArn:??? -> ?namespace:??? -> ?displayName:??? -> ?description:??? -> ?mandatoryParameters:??? -> ?payload:??? -> ?payloadTemplate:??? -> ?preprocessor:??? -> ?roleArn:??? -> ?createdAt:??? -> ?lastUpdatedAt:??? -> ?deprecated:??? -> ?pendingDeletion:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServerException of Values_0.InternalServerException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.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 -> [> `InternalServerException of Values_0.InternalServerException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.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 * [> `Boolean of Values_0.DeprecationFlag.t | `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `List of [> `String of string ] list | `String of string | `Structure of (string * [> `String of string ]) list ]) list ]) list ] list | `String of string | `Structure of (string * [> `Blob of string | `Boolean of bool | `Double of float | `Integer of int | `Long of Awso.Import.Int64.t | `String of string ]) list ]) list ] list | `String of Values_0.CommandId.t | `Structure of (string * [> `Blob of string | `String of string | `Structure of (string * [> `Enum of string ]) list ]) list | `Timestamp of Values_0.DateType.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