GetCommandExecutionResponse
¶
Source code in docs_src/capo_iot/types/get_command_execution_response.py
command_arn
instance-attribute
¶
command_arn: NotRequired[CommandArn]
The Amazon Resource Number (ARN) of the command. For example, arn:aws:iot:
completed_at
instance-attribute
¶
completed_at: NotRequired[DateType]
The timestamp, when the command execution was completed.
created_at
instance-attribute
¶
created_at: NotRequired[DateType]
The timestamp, when the command execution was created.
execution_id
instance-attribute
¶
execution_id: NotRequired[CommandExecutionId]
The unique identifier of the command execution.
execution_timeout_seconds
instance-attribute
¶
execution_timeout_seconds: NotRequired[CommandExecutionTimeoutInSeconds]
Specifies the amount of time in seconds that the device can take to finish a command execution. A timer starts when the command execution is created. If the command execution status is not set to another terminal state before the timer expires, it will automatically update to TIMED_OUT.
last_updated_at
instance-attribute
¶
last_updated_at: NotRequired[DateType]
The timestamp, when the command execution was last updated.
parameters
instance-attribute
¶
parameters: NotRequired[CommandExecutionParameterMap]
The list of parameters that the StartCommandExecution API used when performing the command on the device.
result
instance-attribute
¶
result: NotRequired[CommandExecutionResultMap]
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.
If you use the AWS-IoT-FleetWise namespace, then this field is not applicable in the API response.
started_at
instance-attribute
¶
started_at: NotRequired[DateType]
The timestamp, when the command execution was started.
status
instance-attribute
¶
status: NotRequired[CommandExecutionStatus]
The status of the command execution. After your devices receive the command and start performing the operations specified in the command, it can use the UpdateCommandExecution MQTT API to update the status information.
status_reason
instance-attribute
¶
status_reason: NotRequired[StatusReason]
Your devices can use this parameter to provide additional context about the status of a command execution using a reason code and description.