[][src]Struct rusoto_iot::CreateJobRequest

pub struct CreateJobRequest {
    pub abort_config: Option<AbortConfig>,
    pub description: Option<String>,
    pub document: Option<String>,
    pub document_source: Option<String>,
    pub job_executions_rollout_config: Option<JobExecutionsRolloutConfig>,
    pub job_id: String,
    pub presigned_url_config: Option<PresignedUrlConfig>,
    pub tags: Option<Vec<Tag>>,
    pub target_selection: Option<String>,
    pub targets: Vec<String>,
    pub timeout_config: Option<TimeoutConfig>,
}

Fields

abort_config: Option<AbortConfig>

Allows you to create criteria to abort a job.

description: Option<String>

A short text description of the job.

document: Option<String>

The job document.

If the job document resides in an S3 bucket, you must use a placeholder link when specifying the document.

The placeholder link is of the following form:

${aws:iot:s3-presigned-url:https://s3.amazonaws.com/bucket/key}

where bucket is your bucket name and key is the object in the bucket to which you are linking.

document_source: Option<String>

An S3 link to the job document.

job_executions_rollout_config: Option<JobExecutionsRolloutConfig>

Allows you to create a staged rollout of the job.

job_id: String

A job identifier which must be unique for your AWS account. We recommend using a UUID. Alpha-numeric characters, "-" and "_" are valid for use here.

presigned_url_config: Option<PresignedUrlConfig>

Configuration information for pre-signed S3 URLs.

tags: Option<Vec<Tag>>

Metadata which can be used to manage the job.

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 thing when the thing is added to a target group, even after the job was completed by all things originally in the group.

targets: Vec<String>

A list of 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. The 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 time expires, it will be automatically set to TIMED_OUT.

Trait Implementations

impl PartialEq<CreateJobRequest> for CreateJobRequest[src]

impl Default for CreateJobRequest[src]

impl Clone for CreateJobRequest[src]

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

Performs copy-assignment from source. Read more

impl Debug for CreateJobRequest[src]

impl Serialize for CreateJobRequest[src]

Auto Trait Implementations

impl Send for CreateJobRequest

impl Sync for CreateJobRequest

Blanket Implementations

impl<T> From for T[src]

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, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self