Struct aws_sdk_datasync::input::CreateTaskInput
source · #[non_exhaustive]pub struct CreateTaskInput { /* private fields */ }
Expand description
CreateTaskRequest
Implementations§
source§impl CreateTaskInput
impl CreateTaskInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateTask, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateTask, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateTask
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateTaskInput
.
source§impl CreateTaskInput
impl CreateTaskInput
sourcepub fn source_location_arn(&self) -> Option<&str>
pub fn source_location_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the source location for the task.
sourcepub fn destination_location_arn(&self) -> Option<&str>
pub fn destination_location_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's location.
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 Amazon CloudWatch log group that is used to monitor and log events in the task.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of a task. This value is a text reference that is used to identify the task in the console.
sourcepub fn options(&self) -> Option<&Options>
pub fn options(&self) -> Option<&Options>
Specifies the configuration options for a task. Some options include preserving file or object metadata and verifying data integrity.
You can also override these options before starting an individual run of a task (also known as a task execution). For more information, see StartTaskExecution.
sourcepub fn excludes(&self) -> Option<&[FilterRule]>
pub fn excludes(&self) -> Option<&[FilterRule]>
Specifies a list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
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. The schedule should be specified in UTC time. For more information, see Scheduling your task.
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
sourcepub fn includes(&self) -> Option<&[FilterRule]>
pub fn includes(&self) -> Option<&[FilterRule]>
Specifies a list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
Trait Implementations§
source§impl Clone for CreateTaskInput
impl Clone for CreateTaskInput
source§fn clone(&self) -> CreateTaskInput
fn clone(&self) -> CreateTaskInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateTaskInput
impl Debug for CreateTaskInput
source§impl PartialEq<CreateTaskInput> for CreateTaskInput
impl PartialEq<CreateTaskInput> for CreateTaskInput
source§fn eq(&self, other: &CreateTaskInput) -> bool
fn eq(&self, other: &CreateTaskInput) -> bool
self
and other
values to be equal, and is used
by ==
.