Struct aws_sdk_iot::client::fluent_builders::UpdateJob [−][src]
pub struct UpdateJob<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateJob
.
Updates supported fields of the specified job.
Requires permission to access the UpdateJob action.
Implementations
impl<C, M, R> UpdateJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<UpdateJobOutput, SdkError<UpdateJobError>> where
R::Policy: SmithyRetryPolicy<UpdateJobInputOperationOutputAlias, UpdateJobOutput, UpdateJobError, UpdateJobInputOperationRetryAlias>,
pub async fn send(self) -> Result<UpdateJobOutput, SdkError<UpdateJobError>> where
R::Policy: SmithyRetryPolicy<UpdateJobInputOperationOutputAlias, UpdateJobOutput, UpdateJobError, UpdateJobInputOperationRetryAlias>,
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.
The ID of the job to be updated.
A short text description of the job.
A short text description of the job.
Configuration information for pre-signed S3 URLs.
Configuration information for pre-signed S3 URLs.
Allows you to create a staged rollout of the 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 the job.
Allows you to create criteria to abort a job.
Allows you to create criteria to abort a job.
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
.
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
.
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is in public preview.
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is in public preview.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateJob<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateJob<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