Class UpdateCommandExecutionRequest
- java.lang.Object
-
- software.amazon.awssdk.iot.iotcommands.model.UpdateCommandExecutionRequest
-
public class UpdateCommandExecutionRequest extends Object
Data needed to make an UpdateCommandExecution request.
-
-
Field Summary
Fields Modifier and Type Field Description StringdeviceIdDepending on device type value, this field is either an IoT Thing name or a client ID.DeviceTypedeviceTypeThe type of a target device.StringexecutionIdID of the command execution that needs to be updated.HashMap<String,CommandExecutionResult>resultThe result value for the current state of the command execution.CommandExecutionStatusstatusThe status of the command execution.StatusReasonstatusReasonA reason for the updated status.
-
Constructor Summary
Constructors Constructor Description UpdateCommandExecutionRequest()
-
-
-
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.
-
status
public CommandExecutionStatus status
The status of the command execution.
-
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.
-
-