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

impl Default for CreateJobRequest[src]

impl PartialEq<CreateJobRequest> for CreateJobRequest[src]

impl Debug for CreateJobRequest[src]

impl Serialize for CreateJobRequest[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self