Class: Aws::DataSync::Types::UpdateTaskRequest

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

Overview

UpdateTaskResponse

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_watch_log_group_arnString

Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.

Returns:

  • (String)


6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 6277

class UpdateTaskRequest < Struct.new(
  :task_arn,
  :options,
  :excludes,
  :schedule,
  :name,
  :cloud_watch_log_group_arn,
  :includes,
  :manifest_config,
  :task_report_config)
  SENSITIVE = []
  include Aws::Structure
end

#excludesArray<Types::FilterRule>

Specifies exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.

Returns:



6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 6277

class UpdateTaskRequest < Struct.new(
  :task_arn,
  :options,
  :excludes,
  :schedule,
  :name,
  :cloud_watch_log_group_arn,
  :includes,
  :manifest_config,
  :task_report_config)
  SENSITIVE = []
  include Aws::Structure
end

#includesArray<Types::FilterRule>

Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.

Returns:



6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 6277

class UpdateTaskRequest < Struct.new(
  :task_arn,
  :options,
  :excludes,
  :schedule,
  :name,
  :cloud_watch_log_group_arn,
  :includes,
  :manifest_config,
  :task_report_config)
  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 IAM 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 as empty.



6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 6277

class UpdateTaskRequest < Struct.new(
  :task_arn,
  :options,
  :excludes,
  :schedule,
  :name,
  :cloud_watch_log_group_arn,
  :includes,
  :manifest_config,
  :task_report_config)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

Specifies the name of your task.

Returns:

  • (String)


6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 6277

class UpdateTaskRequest < Struct.new(
  :task_arn,
  :options,
  :excludes,
  :schedule,
  :name,
  :cloud_watch_log_group_arn,
  :includes,
  :manifest_config,
  :task_report_config)
  SENSITIVE = []
  include Aws::Structure
end

#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.

Returns:



6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 6277

class UpdateTaskRequest < Struct.new(
  :task_arn,
  :options,
  :excludes,
  :schedule,
  :name,
  :cloud_watch_log_group_arn,
  :includes,
  :manifest_config,
  :task_report_config)
  SENSITIVE = []
  include Aws::Structure
end

#scheduleTypes::TaskSchedule

Specifies a schedule for when you want your task to run. For more information, see Scheduling your task.

Returns:



6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 6277

class UpdateTaskRequest < Struct.new(
  :task_arn,
  :options,
  :excludes,
  :schedule,
  :name,
  :cloud_watch_log_group_arn,
  :includes,
  :manifest_config,
  :task_report_config)
  SENSITIVE = []
  include Aws::Structure
end

#task_arnString

Specifies the ARN of the task that you want to update.

Returns:

  • (String)


6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 6277

class UpdateTaskRequest < Struct.new(
  :task_arn,
  :options,
  :excludes,
  :schedule,
  :name,
  :cloud_watch_log_group_arn,
  :includes,
  :manifest_config,
  :task_report_config)
  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 IAM 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.



6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 6277

class UpdateTaskRequest < Struct.new(
  :task_arn,
  :options,
  :excludes,
  :schedule,
  :name,
  :cloud_watch_log_group_arn,
  :includes,
  :manifest_config,
  :task_report_config)
  SENSITIVE = []
  include Aws::Structure
end