class Aws::DataSync::Types::StartTaskExecutionRequest

StartTaskExecutionRequest

@note When making an API call, you may pass StartTaskExecutionRequest

data as a hash:

    {
      task_arn: "TaskArn", # required
      override_options: {
        verify_mode: "POINT_IN_TIME_CONSISTENT", # accepts POINT_IN_TIME_CONSISTENT, ONLY_FILES_TRANSFERRED, NONE
        overwrite_mode: "ALWAYS", # accepts ALWAYS, NEVER
        atime: "NONE", # accepts NONE, BEST_EFFORT
        mtime: "NONE", # accepts NONE, PRESERVE
        uid: "NONE", # accepts NONE, INT_VALUE, NAME, BOTH
        gid: "NONE", # accepts NONE, INT_VALUE, NAME, BOTH
        preserve_deleted_files: "PRESERVE", # accepts PRESERVE, REMOVE
        preserve_devices: "NONE", # accepts NONE, PRESERVE
        posix_permissions: "NONE", # accepts NONE, PRESERVE
        bytes_per_second: 1,
        task_queueing: "ENABLED", # accepts ENABLED, DISABLED
        log_level: "OFF", # accepts OFF, BASIC, TRANSFER
        transfer_mode: "CHANGED", # accepts CHANGED, ALL
        security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
      },
      includes: [
        {
          filter_type: "SIMPLE_PATTERN", # accepts SIMPLE_PATTERN
          value: "FilterValue",
        },
      ],
      excludes: [
        {
          filter_type: "SIMPLE_PATTERN", # accepts SIMPLE_PATTERN
          value: "FilterValue",
        },
      ],
    }

@!attribute [rw] task_arn

The Amazon Resource Name (ARN) of the task to start.
@return [String]

@!attribute [rw] override_options

Represents the options that are available to control the behavior of
a [StartTaskExecution][1] 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][1], the default
value is used. You can override the defaults options on each task
execution by specifying an overriding `Options` value to
[StartTaskExecution][1].

[1]: https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html
@return [Types::Options]

@!attribute [rw] includes

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"`
@return [Array<Types::FilterRule>]

@!attribute [rw] excludes

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"`.
@return [Array<Types::FilterRule>]

@see docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/StartTaskExecutionRequest AWS API Documentation

Constants

SENSITIVE