Struct aws_sdk_s3control::client::fluent_builders::UpdateJobStatus [−][src]
pub struct UpdateJobStatus<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateJobStatus
.
Updates the status for the specified job. Use this action to confirm that you want to run a job or to cancel an existing job. For more information, see S3 Batch Operations in the Amazon S3 User Guide.
Related actions include:
Implementations
impl<C, M, R> UpdateJobStatus<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateJobStatus<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateJobStatusOutput, SdkError<UpdateJobStatusError>> where
R::Policy: SmithyRetryPolicy<UpdateJobStatusInputOperationOutputAlias, UpdateJobStatusOutput, UpdateJobStatusError, UpdateJobStatusInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateJobStatusOutput, SdkError<UpdateJobStatusError>> where
R::Policy: SmithyRetryPolicy<UpdateJobStatusInputOperationOutputAlias, UpdateJobStatusOutput, UpdateJobStatusError, UpdateJobStatusInputOperationRetryAlias>,
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 Amazon Web Services account ID associated with the S3 Batch Operations job.
The Amazon Web Services account ID associated with the S3 Batch Operations job.
The ID of the job whose status you want to update.
The ID of the job whose status you want to update.
The status that you want to move the specified job to.
The status that you want to move the specified job to.
A description of the reason why you want to change the specified job's status. This field can be any string up to the maximum length.
A description of the reason why you want to change the specified job's status. This field can be any string up to the maximum length.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateJobStatus<C, M, R>
impl<C, M, R> Send for UpdateJobStatus<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateJobStatus<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateJobStatus<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateJobStatus<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