Struct aws_sdk_iot::client::fluent_builders::CreateJobTemplate [−][src]
pub struct CreateJobTemplate<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateJobTemplate
.
Creates a job template.
Requires permission to access the CreateJobTemplate action.
Implementations
impl<C, M, R> CreateJobTemplate<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateJobTemplate<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateJobTemplateOutput, SdkError<CreateJobTemplateError>> where
R::Policy: SmithyRetryPolicy<CreateJobTemplateInputOperationOutputAlias, CreateJobTemplateOutput, CreateJobTemplateError, CreateJobTemplateInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateJobTemplateOutput, SdkError<CreateJobTemplateError>> where
R::Policy: SmithyRetryPolicy<CreateJobTemplateInputOperationOutputAlias, CreateJobTemplateOutput, CreateJobTemplateError, CreateJobTemplateInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here.
A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here.
The ARN of the job to use as the basis for the job template.
The ARN of the job to use as the basis for the job template.
An S3 link to the job document to use in the template. Required if you don't specify a value for 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.
An S3 link to the job document to use in the template. Required if you don't specify a value for 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.
The job document. Required if you don't specify a value for documentSource
.
The job document. Required if you don't specify a value for documentSource
.
A description of the job document.
A description of the job document.
Configuration for pre-signed S3 URLs.
Configuration for pre-signed S3 URLs.
Allows you to create a staged rollout of a job.
pub fn set_job_executions_rollout_config(
self,
input: Option<JobExecutionsRolloutConfig>
) -> Self
pub fn set_job_executions_rollout_config(
self,
input: Option<JobExecutionsRolloutConfig>
) -> Self
Allows you to create a staged rollout of a job.
The criteria that determine when and how a job abort takes place.
The criteria that determine when and how a job abort takes place.
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
.
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
.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Metadata that can be used to manage the job template.
Metadata that can be used to manage the job template.
Allows you to create the criteria to retry a job.
Allows you to create the criteria to retry a job.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateJobTemplate<C, M, R>
impl<C, M, R> Send for CreateJobTemplate<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateJobTemplate<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateJobTemplate<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateJobTemplate<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more