Struct aws_sdk_datasync::input::StartTaskExecutionInput [−][src]
#[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>>,
}
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>
The Amazon Resource Name (ARN) of the task to start.
override_options: 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.
includes: Option<Vec<FilterRule>>
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>>
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"
.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartTaskExecution, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartTaskExecution, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StartTaskExecution
>
Creates a new builder-style object to manufacture StartTaskExecutionInput
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.
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"
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StartTaskExecutionInput
impl Send for StartTaskExecutionInput
impl Sync for StartTaskExecutionInput
impl Unpin for StartTaskExecutionInput
impl UnwindSafe for StartTaskExecutionInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more