Class: Aws::DataSync::Types::StartTaskExecutionRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-datasync/types.rb

Overview

StartTaskExecutionRequest

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#excludesArray<Types::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”`.

Returns:



5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
# File 'lib/aws-sdk-datasync/types.rb', line 5380

class StartTaskExecutionRequest < Struct.new(
  :task_arn,
  :override_options,
  :includes,
  :excludes,
  :manifest_config,
  :task_report_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#includesArray<Types::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”`.

Returns:



5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
# File 'lib/aws-sdk-datasync/types.rb', line 5380

class StartTaskExecutionRequest < Struct.new(
  :task_arn,
  :override_options,
  :includes,
  :excludes,
  :manifest_config,
  :task_report_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#manifest_configTypes::ManifestConfig

Configures a manifest, which is a list of files or objects that you want DataSync to transfer. For more information and configuration examples, see [Specifying what DataSync transfers by using a manifest].

When using this parameter, your caller identity (the role that you’re using DataSync with) must have the ‘iam:PassRole` permission. The [AWSDataSyncFullAccess] policy includes this permission.

To remove a manifest configuration, specify this parameter with an empty value.

[1]: docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html [2]: docs.aws.amazon.com/datasync/latest/userguide/security-iam-awsmanpol.html#security-iam-awsmanpol-awsdatasyncfullaccess



5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
# File 'lib/aws-sdk-datasync/types.rb', line 5380

class StartTaskExecutionRequest < Struct.new(
  :task_arn,
  :override_options,
  :includes,
  :excludes,
  :manifest_config,
  :task_report_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#override_optionsTypes::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 option before calling [StartTaskExecution].

You also can override your task options for each task execution. For example, you might want to adjust the ‘LogLevel` for an individual execution.

[1]: docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html

Returns:



5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
# File 'lib/aws-sdk-datasync/types.rb', line 5380

class StartTaskExecutionRequest < Struct.new(
  :task_arn,
  :override_options,
  :includes,
  :excludes,
  :manifest_config,
  :task_report_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::TagListEntry>

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.

Returns:



5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
# File 'lib/aws-sdk-datasync/types.rb', line 5380

class StartTaskExecutionRequest < Struct.new(
  :task_arn,
  :override_options,
  :includes,
  :excludes,
  :manifest_config,
  :task_report_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#task_arnString

Specifies the Amazon Resource Name (ARN) of the task that you want to start.

Returns:

  • (String)


5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
# File 'lib/aws-sdk-datasync/types.rb', line 5380

class StartTaskExecutionRequest < Struct.new(
  :task_arn,
  :override_options,
  :includes,
  :excludes,
  :manifest_config,
  :task_report_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#task_report_configTypes::TaskReportConfig

Specifies how you want to configure a task report, which provides detailed information about your DataSync transfer. For more information, see [Monitoring your DataSync transfers with task reports].

When using this parameter, your caller identity (the role that you’re using DataSync with) must have the ‘iam:PassRole` permission. The [AWSDataSyncFullAccess] policy includes this permission.

To remove a task report configuration, specify this parameter as empty.

[1]: docs.aws.amazon.com/datasync/latest/userguide/task-reports.html [2]: docs.aws.amazon.com/datasync/latest/userguide/security-iam-awsmanpol.html#security-iam-awsmanpol-awsdatasyncfullaccess



5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
# File 'lib/aws-sdk-datasync/types.rb', line 5380

class StartTaskExecutionRequest < Struct.new(
  :task_arn,
  :override_options,
  :includes,
  :excludes,
  :manifest_config,
  :task_report_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end