[][src]Struct rusoto_iot::Job

pub struct Job {
    pub abort_config: Option<AbortConfig>,
    pub comment: Option<String>,
    pub completed_at: Option<f64>,
    pub created_at: Option<f64>,
    pub description: Option<String>,
    pub force_canceled: Option<bool>,
    pub job_arn: Option<String>,
    pub job_executions_rollout_config: Option<JobExecutionsRolloutConfig>,
    pub job_id: Option<String>,
    pub job_process_details: Option<JobProcessDetails>,
    pub last_updated_at: Option<f64>,
    pub presigned_url_config: Option<PresignedUrlConfig>,
    pub reason_code: Option<String>,
    pub status: Option<String>,
    pub target_selection: Option<String>,
    pub targets: Option<Vec<String>>,
    pub timeout_config: Option<TimeoutConfig>,
}

The Job object contains details about a job.

Fields

abort_config: Option<AbortConfig>

Configuration for criteria to abort the job.

comment: Option<String>

If the job was updated, describes the reason for the update.

completed_at: Option<f64>

The time, in seconds since the epoch, when the job was completed.

created_at: Option<f64>

The time, in seconds since the epoch, when the job was created.

description: Option<String>

A short text description of the job.

force_canceled: Option<bool>

Will be true if the job was canceled with the optional force parameter set to true.

job_arn: Option<String>

An ARN identifying the job with format "arn:aws:iot:region:account:job/jobId".

job_executions_rollout_config: Option<JobExecutionsRolloutConfig>

Allows you to create a staged rollout of a job.

job_id: Option<String>

The unique identifier you assigned to this job when it was created.

job_process_details: Option<JobProcessDetails>

Details about the job process.

last_updated_at: Option<f64>

The time, in seconds since the epoch, when the job was last updated.

presigned_url_config: Option<PresignedUrlConfig>

Configuration for pre-signed S3 URLs.

reason_code: Option<String>

If the job was updated, provides the reason code for the update.

status: Option<String>

The status of the job, one of IN_PROGRESS, CANCELED, DELETION_IN_PROGRESS or COMPLETED.

target_selection: Option<String>

Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a device when the thing representing the device is added to a target group, even after the job was completed by all things originally in the group.

targets: Option<Vec<String>>

A list of IoT things and thing groups to which the job should be sent.

timeout_config: Option<TimeoutConfig>

Specifies the amount of time each device has to finish its execution of the job. A timer is started when the job execution status is set to IN_PROGRESS. If the job execution status is not set to another terminal state before the timer expires, it will be automatically set to TIMED_OUT.

Trait Implementations

impl PartialEq<Job> for Job[src]

impl Clone for Job[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Job[src]

impl Debug for Job[src]

impl<'de> Deserialize<'de> for Job[src]

Auto Trait Implementations

impl Send for Job

impl Sync for Job

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self