[][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.


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>


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 Clone for Job[src]

impl Default for Job[src]

impl PartialEq<Job> 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

impl Unpin for Job

impl UnwindSafe for Job

impl RefUnwindSafe for Job

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self