Struct aws_sdk_datasync::input::UpdateTaskInput
source · [−]#[non_exhaustive]pub struct UpdateTaskInput { /* private fields */ }
Expand description
UpdateTaskResponse
Implementations
sourceimpl UpdateTaskInput
impl UpdateTaskInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateTask, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateTask, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateTask
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateTaskInput
.
sourceimpl UpdateTaskInput
impl UpdateTaskInput
sourcepub fn task_arn(&self) -> Option<&str>
pub fn task_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the resource name of the task to update.
sourcepub fn options(&self) -> Option<&Options>
pub fn options(&self) -> Option<&Options>
Represents the options that are available to control the behavior of a StartTaskExecution operation. Behavior includes preserving metadata such as user ID (UID), group ID (GID), and file permissions, and also overwriting files in the destination, data integrity verification, and so on.
A task has a set of default options associated with it. If you don't specify an option in StartTaskExecution, the default value is used. You can override the defaults options on each task execution by specifying an overriding Options
value to StartTaskExecution.
sourcepub fn excludes(&self) -> Option<&[FilterRule]>
pub fn excludes(&self) -> Option<&[FilterRule]>
A list of filter rules that determines which files to exclude from a task. The list should contain a single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2"
.
sourcepub fn schedule(&self) -> Option<&TaskSchedule>
pub fn schedule(&self) -> Option<&TaskSchedule>
Specifies a schedule used to periodically transfer files from a source to a destination location. You can configure your task to execute hourly, daily, weekly or on specific days of the week. You control when in the day or hour you want the task to execute. The time you specify is UTC time. For more information, see Scheduling your task.
sourcepub fn cloud_watch_log_group_arn(&self) -> Option<&str>
pub fn cloud_watch_log_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch log group.
sourcepub fn includes(&self) -> Option<&[FilterRule]>
pub fn includes(&self) -> Option<&[FilterRule]>
A list of filter rules that determines which files to include when running a task. The pattern contains a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2"
.
Trait Implementations
sourceimpl Clone for UpdateTaskInput
impl Clone for UpdateTaskInput
sourcefn clone(&self) -> UpdateTaskInput
fn clone(&self) -> UpdateTaskInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UpdateTaskInput
impl Debug for UpdateTaskInput
sourceimpl PartialEq<UpdateTaskInput> for UpdateTaskInput
impl PartialEq<UpdateTaskInput> for UpdateTaskInput
sourcefn eq(&self, other: &UpdateTaskInput) -> bool
fn eq(&self, other: &UpdateTaskInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateTaskInput) -> bool
fn ne(&self, other: &UpdateTaskInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateTaskInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateTaskInput
impl Send for UpdateTaskInput
impl Sync for UpdateTaskInput
impl Unpin for UpdateTaskInput
impl UnwindSafe for UpdateTaskInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more