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


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:


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

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Default for CreateJobRequest[src]

impl Debug for CreateJobRequest[src]

impl Serialize for CreateJobRequest[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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> Erased for T

impl<T> Same for T

type Output = T

Should always be Self