Struct aws_sdk_datasync::operation::create_task::CreateTaskInput
source · #[non_exhaustive]pub struct CreateTaskInput {
pub source_location_arn: Option<String>,
pub destination_location_arn: Option<String>,
pub cloud_watch_log_group_arn: Option<String>,
pub name: Option<String>,
pub options: Option<Options>,
pub excludes: Option<Vec<FilterRule>>,
pub schedule: Option<TaskSchedule>,
pub tags: Option<Vec<TagListEntry>>,
pub includes: Option<Vec<FilterRule>>,
pub task_report_config: Option<TaskReportConfig>,
}
Expand description
CreateTaskRequest
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.source_location_arn: Option<String>
The Amazon Resource Name (ARN) of the source location for the task.
destination_location_arn: Option<String>
The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's location.
cloud_watch_log_group_arn: Option<String>
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log events in the task.
name: Option<String>
The name of a task. This value is a text reference that is used to identify the task in the console.
options: 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.
excludes: Option<Vec<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.
schedule: 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.
includes: Option<Vec<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.
task_report_config: Option<TaskReportConfig>
Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
Implementations§
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.
sourcepub fn task_report_config(&self) -> Option<&TaskReportConfig>
pub fn task_report_config(&self) -> Option<&TaskReportConfig>
Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
source§impl CreateTaskInput
impl CreateTaskInput
sourcepub fn builder() -> CreateTaskInputBuilder
pub fn builder() -> CreateTaskInputBuilder
Creates a new builder-style object to manufacture CreateTaskInput
.
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 for CreateTaskInput
impl PartialEq 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 ==
.