#[non_exhaustive]pub struct StartTaskExecutionInput {
pub task_arn: Option<String>,
pub override_options: Option<Options>,
pub includes: Option<Vec<FilterRule>>,
pub excludes: Option<Vec<FilterRule>>,
pub tags: Option<Vec<TagListEntry>>,
pub task_report_config: Option<TaskReportConfig>,
}
Expand description
StartTaskExecutionRequest
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.task_arn: Option<String>
Specifies the Amazon Resource Name (ARN) of the task that you want to start.
override_options: 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 of these options before starting your task.
includes: Option<Vec<FilterRule>>
Specifies a list of filter rules that determines which files to include when running a task. The pattern should contain a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2"
.
excludes: Option<Vec<FilterRule>>
Specifies a list of filter rules that determines which files to exclude from a task. The list contains a single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2"
.
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
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 StartTaskExecutionInput
impl StartTaskExecutionInput
sourcepub fn task_arn(&self) -> Option<&str>
pub fn task_arn(&self) -> Option<&str>
Specifies the Amazon Resource Name (ARN) of the task that you want to start.
sourcepub fn override_options(&self) -> Option<&Options>
pub fn override_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 of these options before starting your task.
sourcepub fn includes(&self) -> &[FilterRule]
pub fn includes(&self) -> &[FilterRule]
Specifies a list of filter rules that determines which files to include when running a task. The pattern should contain a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2"
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .includes.is_none()
.
sourcepub fn excludes(&self) -> &[FilterRule]
pub fn excludes(&self) -> &[FilterRule]
Specifies a list of filter rules that determines which files to exclude from a task. The list contains a single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2"
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .excludes.is_none()
.
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
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 StartTaskExecutionInput
impl StartTaskExecutionInput
sourcepub fn builder() -> StartTaskExecutionInputBuilder
pub fn builder() -> StartTaskExecutionInputBuilder
Creates a new builder-style object to manufacture StartTaskExecutionInput
.
Trait Implementations§
source§impl Clone for StartTaskExecutionInput
impl Clone for StartTaskExecutionInput
source§fn clone(&self) -> StartTaskExecutionInput
fn clone(&self) -> StartTaskExecutionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartTaskExecutionInput
impl Debug for StartTaskExecutionInput
source§impl PartialEq for StartTaskExecutionInput
impl PartialEq for StartTaskExecutionInput
source§fn eq(&self, other: &StartTaskExecutionInput) -> bool
fn eq(&self, other: &StartTaskExecutionInput) -> bool
self
and other
values to be equal, and is used
by ==
.