Class UpdateCommandExecutionRequest


  • public class UpdateCommandExecutionRequest
    extends Object
    Data needed to make an UpdateCommandExecution request.
    • Field Detail

      • deviceType

        public DeviceType deviceType
        The type of a target device. Determine if the device should subscribe for commands addressed to an IoT Thing or MQTT client.
      • deviceId

        public String deviceId
        Depending on device type value, this field is either an IoT Thing name or a client ID.
      • executionId

        public String executionId
        ID of the command execution that needs to be updated.
      • statusReason

        public StatusReason statusReason
        A reason for the updated status. Can provide additional information on failures. Should be used when status is one of the following: FAILED, REJECTED, TIMED_OUT.
      • result

        public HashMap<String,​CommandExecutionResult> result
        The result value for the current state of the command execution. The status provides information about the progress of the command execution. The device can use the result field to share additional details about the execution such as a return value of a remote function call.
    • Constructor Detail

      • UpdateCommandExecutionRequest

        public UpdateCommandExecutionRequest()