Struct aws_sdk_datasync::operation::update_task_execution::builders::UpdateTaskExecutionFluentBuilder
source · pub struct UpdateTaskExecutionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateTaskExecution
.
Updates the configuration of a running DataSync task execution.
Currently, the only Option
that you can modify with UpdateTaskExecution
is BytesPerSecond
, which throttles bandwidth for a running or queued task execution.
Implementations§
source§impl UpdateTaskExecutionFluentBuilder
impl UpdateTaskExecutionFluentBuilder
sourcepub fn as_input(&self) -> &UpdateTaskExecutionInputBuilder
pub fn as_input(&self) -> &UpdateTaskExecutionInputBuilder
Access the UpdateTaskExecution as a reference.
sourcepub async fn send(
self,
) -> Result<UpdateTaskExecutionOutput, SdkError<UpdateTaskExecutionError, HttpResponse>>
pub async fn send( self, ) -> Result<UpdateTaskExecutionOutput, SdkError<UpdateTaskExecutionError, HttpResponse>>
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 customize(
self,
) -> CustomizableOperation<UpdateTaskExecutionOutput, UpdateTaskExecutionError, Self>
pub fn customize( self, ) -> CustomizableOperation<UpdateTaskExecutionOutput, UpdateTaskExecutionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn task_execution_arn(self, input: impl Into<String>) -> Self
pub fn task_execution_arn(self, input: impl Into<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the task execution that you're updating.
sourcepub fn set_task_execution_arn(self, input: Option<String>) -> Self
pub fn set_task_execution_arn(self, input: Option<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the task execution that you're updating.
sourcepub fn get_task_execution_arn(&self) -> &Option<String>
pub fn get_task_execution_arn(&self) -> &Option<String>
Specifies the Amazon Resource Name (ARN) of the task execution that you're updating.
sourcepub fn options(self, input: Options) -> Self
pub fn options(self, input: Options) -> Self
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.
Each option has a default value. Unless you need to, you don't have to configure any option before calling StartTaskExecution.
You also can override your task options for each task execution. For example, you might want to adjust the LogLevel
for an individual execution.
sourcepub fn set_options(self, input: Option<Options>) -> Self
pub fn set_options(self, input: Option<Options>) -> Self
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.
Each option has a default value. Unless you need to, you don't have to configure any option before calling StartTaskExecution.
You also can override your task options for each task execution. For example, you might want to adjust the LogLevel
for an individual execution.
sourcepub fn get_options(&self) -> &Option<Options>
pub fn get_options(&self) -> &Option<Options>
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.
Each option has a default value. Unless you need to, you don't have to configure any option before calling StartTaskExecution.
You also can override your task options for each task execution. For example, you might want to adjust the LogLevel
for an individual execution.
Trait Implementations§
source§impl Clone for UpdateTaskExecutionFluentBuilder
impl Clone for UpdateTaskExecutionFluentBuilder
source§fn clone(&self) -> UpdateTaskExecutionFluentBuilder
fn clone(&self) -> UpdateTaskExecutionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateTaskExecutionFluentBuilder
impl !RefUnwindSafe for UpdateTaskExecutionFluentBuilder
impl Send for UpdateTaskExecutionFluentBuilder
impl Sync for UpdateTaskExecutionFluentBuilder
impl Unpin for UpdateTaskExecutionFluentBuilder
impl !UnwindSafe for UpdateTaskExecutionFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more