Struct rusoto_iot::JobExecution [−][src]
pub struct JobExecution { pub approximate_seconds_before_timed_out: Option<i64>, pub execution_number: Option<i64>, pub force_canceled: Option<bool>, pub job_id: Option<String>, pub last_updated_at: Option<f64>, pub queued_at: Option<f64>, pub started_at: Option<f64>, pub status: Option<String>, pub status_details: Option<JobExecutionStatusDetails>, pub thing_arn: Option<String>, pub version_number: Option<i64>, }
Expand description
The job execution object represents the execution of a job on a particular device.
Fields
approximate_seconds_before_timed_out: Option<i64>
The estimated number of seconds that remain before the job execution status will be changed to TIMED_OUT
. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The actual job execution timeout can occur up to 60 seconds later than the estimated duration. This value will not be included if the job execution has reached a terminal status.
execution_number: Option<i64>
A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used in commands which return or update job execution information.
force_canceled: Option<bool>
Will be true
if the job execution was canceled with the optional force
parameter set to true
.
job_id: Option<String>
The unique identifier you assigned to the job when it was created.
last_updated_at: Option<f64>
The time, in seconds since the epoch, when the job execution was last updated.
queued_at: Option<f64>
The time, in seconds since the epoch, when the job execution was queued.
started_at: Option<f64>
The time, in seconds since the epoch, when the job execution started.
status: Option<String>
The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCEEDED, TIMED_OUT, CANCELED, or REJECTED).
status_details: Option<JobExecutionStatusDetails>
A collection of name/value pairs that describe the status of the job execution.
thing_arn: Option<String>
The ARN of the thing on which the job execution is running.
version_number: Option<i64>
The version of the job execution. Job execution versions are incremented each time they are updated by a device.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for JobExecution
impl Send for JobExecution
impl Sync for JobExecution
impl Unpin for JobExecution
impl UnwindSafe for JobExecution
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self