class Aws::IoT::Types::CreateJobRequest


@return [Array<Types::Tag>]
Metadata which can be used to manage the job.
@!attribute [rw] tags
@return [Types::TimeoutConfig]
automatically set to ‘TIMED_OUT`.
another terminal state before the time expires, it will be
set to `IN_PROGRESS`. If the job execution status is not set to
of the job. The timer is started when the job execution status is
Specifies the amount of time each device has to finish its execution
@!attribute [rw] timeout_config
@return [Types::AbortConfig]
Allows you to create criteria to abort a job.
@!attribute [rw] abort_config
@return [Types::JobExecutionsRolloutConfig]
Allows you to create a staged rollout of the job.
@!attribute [rw] job_executions_rollout_config
@return [String]
after the job was completed by all things originally in the group.
will run on a thing when the thing is added to a target group, even
on a thing when a change is detected in a target. For example, a job
completed the job (SNAPSHOT). If continuous, the job may also be run
be complete after all those things specified as targets have
Specifies whether the job will continue to run (CONTINUOUS), or will
@!attribute [rw] target_selection
@return [Types::PresignedUrlConfig]
Configuration information for pre-signed S3 URLs.
@!attribute [rw] presigned_url_config
@return [String]
A short text description of the job.
@!attribute [rw] description
@return [String]
</note>
bucket to which you are linking.
where bucket is your bucket name and key is the object in the
`${aws:iot:s3-presigned-url:s3.amazonaws.com/bucket/key}`
The placeholder link is of the following form:
placeholder link when specifying the document.
<note markdown=“1”> If the job document resides in an S3 bucket, you must use a
The job document.
@!attribute [rw] document
@return [String]
An S3 link to the job document.
@!attribute [rw] document_source
@return [Array<String>]
A list of things and thing groups to which the job should be sent.
@!attribute [rw] targets
@return [String]
are valid for use here.
recommend using a UUID. Alpha-numeric characters, “-” and “_”
A job identifier which must be unique for your AWS account. We
@!attribute [rw] job_id
}
],
},
value: “TagValue”,
key: “TagKey”,
{
tags: [
},
in_progress_timeout_in_minutes: 1,
timeout_config: {
},
],
},
min_number_of_executed_things: 1, # required
threshold_percentage: 1.0, # required
action: “CANCEL”, # required, accepts CANCEL
failure_type: “FAILED”, # required, accepts FAILED, REJECTED, TIMED_OUT, ALL
{
criteria_list: [ # required
abort_config: {
},
},
},
number_of_succeeded_things: 1,
number_of_notified_things: 1,
rate_increase_criteria: { # required
increment_factor: 1.0, # required
base_rate_per_minute: 1, # required
exponential_rate: {
maximum_per_minute: 1,
job_executions_rollout_config: {
target_selection: “CONTINUOUS”, # accepts CONTINUOUS, SNAPSHOT
},
expires_in_sec: 1,
role_arn: “RoleArn”,
presigned_url_config: {
description: “JobDescription”,
document: “JobDocument”,
document_source: “JobDocumentSource”,
targets: [“TargetArn”], # required
job_id: “JobId”, # required
{
data as a hash:
@note When making an API call, you may pass CreateJobRequest