aws_sdk_datasync/client/
update_task_execution.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateTaskExecution`](crate::operation::update_task_execution::builders::UpdateTaskExecutionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`task_execution_arn(impl Into<String>)`](crate::operation::update_task_execution::builders::UpdateTaskExecutionFluentBuilder::task_execution_arn) / [`set_task_execution_arn(Option<String>)`](crate::operation::update_task_execution::builders::UpdateTaskExecutionFluentBuilder::set_task_execution_arn):<br>required: **true**<br><p>Specifies the Amazon Resource Name (ARN) of the task execution that you're updating.</p><br>
    ///   - [`options(Options)`](crate::operation::update_task_execution::builders::UpdateTaskExecutionFluentBuilder::options) / [`set_options(Option<Options>)`](crate::operation::update_task_execution::builders::UpdateTaskExecutionFluentBuilder::set_options):<br>required: **true**<br><p>Indicates how your transfer task is configured. These options include how DataSync handles files, objects, and their associated metadata during your transfer. You also can specify how to verify data integrity, set bandwidth limits for your task, among other options.</p> <p>Each option has a default value. Unless you need to, you don't have to configure any option before calling <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html">StartTaskExecution</a>.</p> <p>You also can override your task options for each task execution. For example, you might want to adjust the <code>LogLevel</code> for an individual execution.</p><br>
    /// - On success, responds with [`UpdateTaskExecutionOutput`](crate::operation::update_task_execution::UpdateTaskExecutionOutput)
    /// - On failure, responds with [`SdkError<UpdateTaskExecutionError>`](crate::operation::update_task_execution::UpdateTaskExecutionError)
    pub fn update_task_execution(&self) -> crate::operation::update_task_execution::builders::UpdateTaskExecutionFluentBuilder {
        crate::operation::update_task_execution::builders::UpdateTaskExecutionFluentBuilder::new(self.handle.clone())
    }
}