JobExecution
¶
Source code in docs_src/capo_iot_jobs_data_plane/types/job_execution.py
approximate_seconds_before_timed_out
instance-attribute
¶
approximate_seconds_before_timed_out: NotRequired[ApproximateSecondsBeforeTimedOut]
The estimated number of seconds that remain before the job execution status will be changed to TIMED_OUT. The actual job execution timeout can occur up to 60 seconds later than the estimated duration.
execution_number
instance-attribute
¶
execution_number: NotRequired[ExecutionNumber]
A number that identifies a particular job execution on a particular device. It can be used later in commands that return or update job execution information.
job_document
instance-attribute
¶
job_document: NotRequired[JobDocument]
The content of the job document.
job_id
instance-attribute
¶
job_id: NotRequired[JobId]
The unique identifier you assigned to this job when it was created.
last_updated_at
instance-attribute
¶
last_updated_at: LastUpdatedAt
The time, in seconds since the epoch, when the job execution was last updated.
queued_at
instance-attribute
¶
queued_at: QueuedAt
The time, in seconds since the epoch, when the job execution was enqueued.
started_at
instance-attribute
¶
started_at: NotRequired[StartedAt]
The time, in seconds since the epoch, when the job execution was started.
status
instance-attribute
¶
status: NotRequired[JobExecutionStatus]
The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "TIMED_OUT", "REJECTED", or "REMOVED".
status_details
instance-attribute
¶
status_details: NotRequired[DetailsMap]
A collection of name/value pairs that describe the status of the job execution.
The maximum length of the value in the name/value pair is 1,024 characters.
thing_name
instance-attribute
¶
thing_name: NotRequired[ThingName]
The name of the thing that is executing the job.
version_number
instance-attribute
¶
version_number: VersionNumber
The version of the job execution. Job execution versions are incremented each time they are updated by a device.