pub struct UpdateTaskExecution { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateTaskExecution
.
Updates execution of a task.
You can modify bandwidth throttling for a task execution that is running or queued. For more information, see Adjusting Bandwidth Throttling for a Task Execution.
The only Option
that can be modified by UpdateTaskExecution
is BytesPerSecond
.
Implementations§
source§impl UpdateTaskExecution
impl UpdateTaskExecution
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateTaskExecution, AwsResponseRetryClassifier>, SdkError<UpdateTaskExecutionError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateTaskExecution, AwsResponseRetryClassifier>, SdkError<UpdateTaskExecutionError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateTaskExecutionOutput, SdkError<UpdateTaskExecutionError>>
pub async fn send(
self
) -> Result<UpdateTaskExecutionOutput, SdkError<UpdateTaskExecutionError>>
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.
sourcepub fn task_execution_arn(self, input: impl Into<String>) -> Self
pub fn task_execution_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the specific task execution that is being updated.
sourcepub fn set_task_execution_arn(self, input: Option<String>) -> Self
pub fn set_task_execution_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the specific task execution that is being updated.
sourcepub fn options(self, input: Options) -> Self
pub fn options(self, input: Options) -> Self
Configures your DataSync task settings. These options include how DataSync handles files, objects, and their associated metadata. You also can specify how DataSync verifies data integrity, set bandwidth limits for your task, among other options.
Each task setting has a default value. Unless you need to, you don't have to configure any of these Options
before starting your task.
sourcepub fn set_options(self, input: Option<Options>) -> Self
pub fn set_options(self, input: Option<Options>) -> Self
Configures your DataSync task settings. These options include how DataSync handles files, objects, and their associated metadata. You also can specify how DataSync verifies data integrity, set bandwidth limits for your task, among other options.
Each task setting has a default value. Unless you need to, you don't have to configure any of these Options
before starting your task.
Trait Implementations§
source§impl Clone for UpdateTaskExecution
impl Clone for UpdateTaskExecution
source§fn clone(&self) -> UpdateTaskExecution
fn clone(&self) -> UpdateTaskExecution
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more