aws-sdk-datasync 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -55,8 +55,13 @@ module Aws::DataSync
55
55
  Ec2SecurityGroupArnList = Shapes::ListShape.new(name: 'Ec2SecurityGroupArnList')
56
56
  Ec2SubnetArn = Shapes::StringShape.new(name: 'Ec2SubnetArn')
57
57
  EfsFilesystemArn = Shapes::StringShape.new(name: 'EfsFilesystemArn')
58
+ FilterList = Shapes::ListShape.new(name: 'FilterList')
59
+ FilterRule = Shapes::StructureShape.new(name: 'FilterRule')
60
+ FilterType = Shapes::StringShape.new(name: 'FilterType')
61
+ FilterValue = Shapes::StringShape.new(name: 'FilterValue')
58
62
  Gid = Shapes::StringShape.new(name: 'Gid')
59
63
  IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
64
+ InternalException = Shapes::StructureShape.new(name: 'InternalException')
60
65
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
61
66
  ListAgentsRequest = Shapes::StructureShape.new(name: 'ListAgentsRequest')
62
67
  ListAgentsResponse = Shapes::StructureShape.new(name: 'ListAgentsResponse')
@@ -76,6 +81,9 @@ module Aws::DataSync
76
81
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
77
82
  Mtime = Shapes::StringShape.new(name: 'Mtime')
78
83
  NextToken = Shapes::StringShape.new(name: 'NextToken')
84
+ NfsMountOptions = Shapes::StructureShape.new(name: 'NfsMountOptions')
85
+ NfsVersion = Shapes::StringShape.new(name: 'NfsVersion')
86
+ NonEmptySubdirectory = Shapes::StringShape.new(name: 'NonEmptySubdirectory')
79
87
  OnPremConfig = Shapes::StructureShape.new(name: 'OnPremConfig')
80
88
  Options = Shapes::StructureShape.new(name: 'Options')
81
89
  PhaseStatus = Shapes::StringShape.new(name: 'PhaseStatus')
@@ -139,7 +147,7 @@ module Aws::DataSync
139
147
  CreateAgentResponse.add_member(:agent_arn, Shapes::ShapeRef.new(shape: AgentArn, location_name: "AgentArn"))
140
148
  CreateAgentResponse.struct_class = Types::CreateAgentResponse
141
149
 
142
- CreateLocationEfsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: Subdirectory, required: true, location_name: "Subdirectory"))
150
+ CreateLocationEfsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: Subdirectory, location_name: "Subdirectory"))
143
151
  CreateLocationEfsRequest.add_member(:efs_filesystem_arn, Shapes::ShapeRef.new(shape: EfsFilesystemArn, required: true, location_name: "EfsFilesystemArn"))
144
152
  CreateLocationEfsRequest.add_member(:ec2_config, Shapes::ShapeRef.new(shape: Ec2Config, required: true, location_name: "Ec2Config"))
145
153
  CreateLocationEfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
@@ -148,16 +156,17 @@ module Aws::DataSync
148
156
  CreateLocationEfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
149
157
  CreateLocationEfsResponse.struct_class = Types::CreateLocationEfsResponse
150
158
 
151
- CreateLocationNfsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: Subdirectory, required: true, location_name: "Subdirectory"))
159
+ CreateLocationNfsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: NonEmptySubdirectory, required: true, location_name: "Subdirectory"))
152
160
  CreateLocationNfsRequest.add_member(:server_hostname, Shapes::ShapeRef.new(shape: ServerHostname, required: true, location_name: "ServerHostname"))
153
161
  CreateLocationNfsRequest.add_member(:on_prem_config, Shapes::ShapeRef.new(shape: OnPremConfig, required: true, location_name: "OnPremConfig"))
162
+ CreateLocationNfsRequest.add_member(:mount_options, Shapes::ShapeRef.new(shape: NfsMountOptions, location_name: "MountOptions"))
154
163
  CreateLocationNfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
155
164
  CreateLocationNfsRequest.struct_class = Types::CreateLocationNfsRequest
156
165
 
157
166
  CreateLocationNfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
158
167
  CreateLocationNfsResponse.struct_class = Types::CreateLocationNfsResponse
159
168
 
160
- CreateLocationS3Request.add_member(:subdirectory, Shapes::ShapeRef.new(shape: Subdirectory, required: true, location_name: "Subdirectory"))
169
+ CreateLocationS3Request.add_member(:subdirectory, Shapes::ShapeRef.new(shape: Subdirectory, location_name: "Subdirectory"))
161
170
  CreateLocationS3Request.add_member(:s3_bucket_arn, Shapes::ShapeRef.new(shape: S3BucketArn, required: true, location_name: "S3BucketArn"))
162
171
  CreateLocationS3Request.add_member(:s3_config, Shapes::ShapeRef.new(shape: S3Config, required: true, location_name: "S3Config"))
163
172
  CreateLocationS3Request.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
@@ -171,6 +180,7 @@ module Aws::DataSync
171
180
  CreateTaskRequest.add_member(:cloud_watch_log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, location_name: "CloudWatchLogGroupArn"))
172
181
  CreateTaskRequest.add_member(:name, Shapes::ShapeRef.new(shape: TagValue, location_name: "Name"))
173
182
  CreateTaskRequest.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "Options"))
183
+ CreateTaskRequest.add_member(:excludes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Excludes"))
174
184
  CreateTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
175
185
  CreateTaskRequest.struct_class = Types::CreateTaskRequest
176
186
 
@@ -217,6 +227,7 @@ module Aws::DataSync
217
227
  DescribeLocationNfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
218
228
  DescribeLocationNfsResponse.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri"))
219
229
  DescribeLocationNfsResponse.add_member(:on_prem_config, Shapes::ShapeRef.new(shape: OnPremConfig, location_name: "OnPremConfig"))
230
+ DescribeLocationNfsResponse.add_member(:mount_options, Shapes::ShapeRef.new(shape: NfsMountOptions, location_name: "MountOptions"))
220
231
  DescribeLocationNfsResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
221
232
  DescribeLocationNfsResponse.struct_class = Types::DescribeLocationNfsResponse
222
233
 
@@ -235,6 +246,8 @@ module Aws::DataSync
235
246
  DescribeTaskExecutionResponse.add_member(:task_execution_arn, Shapes::ShapeRef.new(shape: TaskExecutionArn, location_name: "TaskExecutionArn"))
236
247
  DescribeTaskExecutionResponse.add_member(:status, Shapes::ShapeRef.new(shape: TaskExecutionStatus, location_name: "Status"))
237
248
  DescribeTaskExecutionResponse.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "Options"))
249
+ DescribeTaskExecutionResponse.add_member(:excludes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Excludes"))
250
+ DescribeTaskExecutionResponse.add_member(:includes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Includes"))
238
251
  DescribeTaskExecutionResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: Time, location_name: "StartTime"))
239
252
  DescribeTaskExecutionResponse.add_member(:estimated_files_to_transfer, Shapes::ShapeRef.new(shape: long, location_name: "EstimatedFilesToTransfer"))
240
253
  DescribeTaskExecutionResponse.add_member(:estimated_bytes_to_transfer, Shapes::ShapeRef.new(shape: long, location_name: "EstimatedBytesToTransfer"))
@@ -255,6 +268,7 @@ module Aws::DataSync
255
268
  DescribeTaskResponse.add_member(:destination_location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "DestinationLocationArn"))
256
269
  DescribeTaskResponse.add_member(:cloud_watch_log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, location_name: "CloudWatchLogGroupArn"))
257
270
  DescribeTaskResponse.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "Options"))
271
+ DescribeTaskResponse.add_member(:excludes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Excludes"))
258
272
  DescribeTaskResponse.add_member(:error_code, Shapes::ShapeRef.new(shape: string, location_name: "ErrorCode"))
259
273
  DescribeTaskResponse.add_member(:error_detail, Shapes::ShapeRef.new(shape: string, location_name: "ErrorDetail"))
260
274
  DescribeTaskResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
@@ -266,6 +280,12 @@ module Aws::DataSync
266
280
 
267
281
  Ec2SecurityGroupArnList.member = Shapes::ShapeRef.new(shape: Ec2SecurityGroupArn)
268
282
 
283
+ FilterList.member = Shapes::ShapeRef.new(shape: FilterRule)
284
+
285
+ FilterRule.add_member(:filter_type, Shapes::ShapeRef.new(shape: FilterType, location_name: "FilterType"))
286
+ FilterRule.add_member(:value, Shapes::ShapeRef.new(shape: FilterValue, location_name: "Value"))
287
+ FilterRule.struct_class = Types::FilterRule
288
+
269
289
  ListAgentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
270
290
  ListAgentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
271
291
  ListAgentsRequest.struct_class = Types::ListAgentsRequest
@@ -314,6 +334,9 @@ module Aws::DataSync
314
334
  LocationListEntry.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri"))
315
335
  LocationListEntry.struct_class = Types::LocationListEntry
316
336
 
337
+ NfsMountOptions.add_member(:version, Shapes::ShapeRef.new(shape: NfsVersion, location_name: "Version"))
338
+ NfsMountOptions.struct_class = Types::NfsMountOptions
339
+
317
340
  OnPremConfig.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, required: true, location_name: "AgentArns"))
318
341
  OnPremConfig.struct_class = Types::OnPremConfig
319
342
 
@@ -333,6 +356,7 @@ module Aws::DataSync
333
356
 
334
357
  StartTaskExecutionRequest.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, required: true, location_name: "TaskArn"))
335
358
  StartTaskExecutionRequest.add_member(:override_options, Shapes::ShapeRef.new(shape: Options, location_name: "OverrideOptions"))
359
+ StartTaskExecutionRequest.add_member(:includes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Includes"))
336
360
  StartTaskExecutionRequest.struct_class = Types::StartTaskExecutionRequest
337
361
 
338
362
  StartTaskExecutionResponse.add_member(:task_execution_arn, Shapes::ShapeRef.new(shape: TaskExecutionArn, location_name: "TaskExecutionArn"))
@@ -342,7 +366,7 @@ module Aws::DataSync
342
366
 
343
367
  TagList.member = Shapes::ShapeRef.new(shape: TagListEntry)
344
368
 
345
- TagListEntry.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
369
+ TagListEntry.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
346
370
  TagListEntry.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
347
371
  TagListEntry.struct_class = Types::TagListEntry
348
372
 
@@ -389,7 +413,9 @@ module Aws::DataSync
389
413
 
390
414
  UpdateTaskRequest.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, required: true, location_name: "TaskArn"))
391
415
  UpdateTaskRequest.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "Options"))
416
+ UpdateTaskRequest.add_member(:excludes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Excludes"))
392
417
  UpdateTaskRequest.add_member(:name, Shapes::ShapeRef.new(shape: TagValue, location_name: "Name"))
418
+ UpdateTaskRequest.add_member(:cloud_watch_log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, location_name: "CloudWatchLogGroupArn"))
393
419
  UpdateTaskRequest.struct_class = Types::UpdateTaskRequest
394
420
 
395
421
  UpdateTaskResponse.struct_class = Types::UpdateTaskResponse
@@ -421,6 +447,7 @@ module Aws::DataSync
421
447
  o.input = Shapes::ShapeRef.new(shape: CancelTaskExecutionRequest)
422
448
  o.output = Shapes::ShapeRef.new(shape: CancelTaskExecutionResponse)
423
449
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
450
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
424
451
  end)
425
452
 
426
453
  api.add_operation(:create_agent, Seahorse::Model::Operation.new.tap do |o|
@@ -430,6 +457,7 @@ module Aws::DataSync
430
457
  o.input = Shapes::ShapeRef.new(shape: CreateAgentRequest)
431
458
  o.output = Shapes::ShapeRef.new(shape: CreateAgentResponse)
432
459
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
460
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
433
461
  end)
434
462
 
435
463
  api.add_operation(:create_location_efs, Seahorse::Model::Operation.new.tap do |o|
@@ -439,6 +467,7 @@ module Aws::DataSync
439
467
  o.input = Shapes::ShapeRef.new(shape: CreateLocationEfsRequest)
440
468
  o.output = Shapes::ShapeRef.new(shape: CreateLocationEfsResponse)
441
469
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
470
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
442
471
  end)
443
472
 
444
473
  api.add_operation(:create_location_nfs, Seahorse::Model::Operation.new.tap do |o|
@@ -448,6 +477,7 @@ module Aws::DataSync
448
477
  o.input = Shapes::ShapeRef.new(shape: CreateLocationNfsRequest)
449
478
  o.output = Shapes::ShapeRef.new(shape: CreateLocationNfsResponse)
450
479
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
480
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
451
481
  end)
452
482
 
453
483
  api.add_operation(:create_location_s3, Seahorse::Model::Operation.new.tap do |o|
@@ -457,6 +487,7 @@ module Aws::DataSync
457
487
  o.input = Shapes::ShapeRef.new(shape: CreateLocationS3Request)
458
488
  o.output = Shapes::ShapeRef.new(shape: CreateLocationS3Response)
459
489
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
490
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
460
491
  end)
461
492
 
462
493
  api.add_operation(:create_task, Seahorse::Model::Operation.new.tap do |o|
@@ -466,6 +497,7 @@ module Aws::DataSync
466
497
  o.input = Shapes::ShapeRef.new(shape: CreateTaskRequest)
467
498
  o.output = Shapes::ShapeRef.new(shape: CreateTaskResponse)
468
499
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
500
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
469
501
  end)
470
502
 
471
503
  api.add_operation(:delete_agent, Seahorse::Model::Operation.new.tap do |o|
@@ -475,6 +507,7 @@ module Aws::DataSync
475
507
  o.input = Shapes::ShapeRef.new(shape: DeleteAgentRequest)
476
508
  o.output = Shapes::ShapeRef.new(shape: DeleteAgentResponse)
477
509
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
510
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
478
511
  end)
479
512
 
480
513
  api.add_operation(:delete_location, Seahorse::Model::Operation.new.tap do |o|
@@ -484,6 +517,7 @@ module Aws::DataSync
484
517
  o.input = Shapes::ShapeRef.new(shape: DeleteLocationRequest)
485
518
  o.output = Shapes::ShapeRef.new(shape: DeleteLocationResponse)
486
519
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
520
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
487
521
  end)
488
522
 
489
523
  api.add_operation(:delete_task, Seahorse::Model::Operation.new.tap do |o|
@@ -493,6 +527,7 @@ module Aws::DataSync
493
527
  o.input = Shapes::ShapeRef.new(shape: DeleteTaskRequest)
494
528
  o.output = Shapes::ShapeRef.new(shape: DeleteTaskResponse)
495
529
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
530
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
496
531
  end)
497
532
 
498
533
  api.add_operation(:describe_agent, Seahorse::Model::Operation.new.tap do |o|
@@ -502,6 +537,7 @@ module Aws::DataSync
502
537
  o.input = Shapes::ShapeRef.new(shape: DescribeAgentRequest)
503
538
  o.output = Shapes::ShapeRef.new(shape: DescribeAgentResponse)
504
539
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
540
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
505
541
  end)
506
542
 
507
543
  api.add_operation(:describe_location_efs, Seahorse::Model::Operation.new.tap do |o|
@@ -511,6 +547,7 @@ module Aws::DataSync
511
547
  o.input = Shapes::ShapeRef.new(shape: DescribeLocationEfsRequest)
512
548
  o.output = Shapes::ShapeRef.new(shape: DescribeLocationEfsResponse)
513
549
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
550
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
514
551
  end)
515
552
 
516
553
  api.add_operation(:describe_location_nfs, Seahorse::Model::Operation.new.tap do |o|
@@ -520,6 +557,7 @@ module Aws::DataSync
520
557
  o.input = Shapes::ShapeRef.new(shape: DescribeLocationNfsRequest)
521
558
  o.output = Shapes::ShapeRef.new(shape: DescribeLocationNfsResponse)
522
559
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
560
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
523
561
  end)
524
562
 
525
563
  api.add_operation(:describe_location_s3, Seahorse::Model::Operation.new.tap do |o|
@@ -529,6 +567,7 @@ module Aws::DataSync
529
567
  o.input = Shapes::ShapeRef.new(shape: DescribeLocationS3Request)
530
568
  o.output = Shapes::ShapeRef.new(shape: DescribeLocationS3Response)
531
569
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
570
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
532
571
  end)
533
572
 
534
573
  api.add_operation(:describe_task, Seahorse::Model::Operation.new.tap do |o|
@@ -538,6 +577,7 @@ module Aws::DataSync
538
577
  o.input = Shapes::ShapeRef.new(shape: DescribeTaskRequest)
539
578
  o.output = Shapes::ShapeRef.new(shape: DescribeTaskResponse)
540
579
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
580
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
541
581
  end)
542
582
 
543
583
  api.add_operation(:describe_task_execution, Seahorse::Model::Operation.new.tap do |o|
@@ -547,6 +587,7 @@ module Aws::DataSync
547
587
  o.input = Shapes::ShapeRef.new(shape: DescribeTaskExecutionRequest)
548
588
  o.output = Shapes::ShapeRef.new(shape: DescribeTaskExecutionResponse)
549
589
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
590
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
550
591
  end)
551
592
 
552
593
  api.add_operation(:list_agents, Seahorse::Model::Operation.new.tap do |o|
@@ -556,6 +597,7 @@ module Aws::DataSync
556
597
  o.input = Shapes::ShapeRef.new(shape: ListAgentsRequest)
557
598
  o.output = Shapes::ShapeRef.new(shape: ListAgentsResponse)
558
599
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
600
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
559
601
  o[:pager] = Aws::Pager.new(
560
602
  limit_key: "max_results",
561
603
  tokens: {
@@ -571,6 +613,7 @@ module Aws::DataSync
571
613
  o.input = Shapes::ShapeRef.new(shape: ListLocationsRequest)
572
614
  o.output = Shapes::ShapeRef.new(shape: ListLocationsResponse)
573
615
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
616
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
574
617
  o[:pager] = Aws::Pager.new(
575
618
  limit_key: "max_results",
576
619
  tokens: {
@@ -586,6 +629,7 @@ module Aws::DataSync
586
629
  o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
587
630
  o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
588
631
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
632
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
589
633
  o[:pager] = Aws::Pager.new(
590
634
  limit_key: "max_results",
591
635
  tokens: {
@@ -601,6 +645,7 @@ module Aws::DataSync
601
645
  o.input = Shapes::ShapeRef.new(shape: ListTaskExecutionsRequest)
602
646
  o.output = Shapes::ShapeRef.new(shape: ListTaskExecutionsResponse)
603
647
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
648
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
604
649
  o[:pager] = Aws::Pager.new(
605
650
  limit_key: "max_results",
606
651
  tokens: {
@@ -616,6 +661,7 @@ module Aws::DataSync
616
661
  o.input = Shapes::ShapeRef.new(shape: ListTasksRequest)
617
662
  o.output = Shapes::ShapeRef.new(shape: ListTasksResponse)
618
663
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
664
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
619
665
  o[:pager] = Aws::Pager.new(
620
666
  limit_key: "max_results",
621
667
  tokens: {
@@ -631,6 +677,7 @@ module Aws::DataSync
631
677
  o.input = Shapes::ShapeRef.new(shape: StartTaskExecutionRequest)
632
678
  o.output = Shapes::ShapeRef.new(shape: StartTaskExecutionResponse)
633
679
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
680
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
634
681
  end)
635
682
 
636
683
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -640,6 +687,7 @@ module Aws::DataSync
640
687
  o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
641
688
  o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
642
689
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
690
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
643
691
  end)
644
692
 
645
693
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -649,6 +697,7 @@ module Aws::DataSync
649
697
  o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
650
698
  o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
651
699
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
700
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
652
701
  end)
653
702
 
654
703
  api.add_operation(:update_agent, Seahorse::Model::Operation.new.tap do |o|
@@ -658,6 +707,7 @@ module Aws::DataSync
658
707
  o.input = Shapes::ShapeRef.new(shape: UpdateAgentRequest)
659
708
  o.output = Shapes::ShapeRef.new(shape: UpdateAgentResponse)
660
709
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
710
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
661
711
  end)
662
712
 
663
713
  api.add_operation(:update_task, Seahorse::Model::Operation.new.tap do |o|
@@ -667,6 +717,7 @@ module Aws::DataSync
667
717
  o.input = Shapes::ShapeRef.new(shape: UpdateTaskRequest)
668
718
  o.output = Shapes::ShapeRef.new(shape: UpdateTaskResponse)
669
719
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
720
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
670
721
  end)
671
722
  end
672
723
 
@@ -67,7 +67,7 @@ module Aws::DataSync
67
67
  # agent_name: "TagValue",
68
68
  # tags: [
69
69
  # {
70
- # key: "TagKey",
70
+ # key: "TagKey", # required
71
71
  # value: "TagValue",
72
72
  # },
73
73
  # ],
@@ -84,12 +84,11 @@ module Aws::DataSync
84
84
  # `activationKey`. It might also include other activation-related
85
85
  # parameters; however, these are merely defaults. The arguments you
86
86
  # pass to this API call determine the actual configuration of your
87
- # agent. For more information, see [Activating a Sync Agent][1] in the
88
- # *AWS DataSync User Guide.*
87
+ # agent.
89
88
  #
90
- #
91
- #
92
- # [1]: https://docs.aws.amazon.com/sync-service/latest/userguide/working-with-sync-agents.html#activating-sync-agent
89
+ # For more information, see
90
+ # "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-agents.html#activating-agent"
91
+ # (Activating a Agent) in the *AWS DataSync User Guide.*
93
92
  # @return [String]
94
93
  #
95
94
  # @!attribute [rw] agent_name
@@ -98,9 +97,9 @@ module Aws::DataSync
98
97
  # @return [String]
99
98
  #
100
99
  # @!attribute [rw] tags
101
- # The key-value pair that represents the tag you want to associate
102
- # with the agent. The value can be an empty string. This value helps
103
- # you manage, filter, and search for your agents.
100
+ # The key-value pair that represents the tag that you want to
101
+ # associate with the agent. The value can be an empty string. This
102
+ # value helps you manage, filter, and search for your agents.
104
103
  #
105
104
  # <note markdown="1"> Valid characters for key and value are letters, spaces, and numbers
106
105
  # representable in UTF-8 format, and the following special characters:
@@ -139,7 +138,7 @@ module Aws::DataSync
139
138
  # data as a hash:
140
139
  #
141
140
  # {
142
- # subdirectory: "Subdirectory", # required
141
+ # subdirectory: "Subdirectory",
143
142
  # efs_filesystem_arn: "EfsFilesystemArn", # required
144
143
  # ec2_config: { # required
145
144
  # subnet_arn: "Ec2SubnetArn", # required
@@ -147,7 +146,7 @@ module Aws::DataSync
147
146
  # },
148
147
  # tags: [
149
148
  # {
150
- # key: "TagKey",
149
+ # key: "TagKey", # required
151
150
  # value: "TagValue",
152
151
  # },
153
152
  # ],
@@ -166,6 +165,28 @@ module Aws::DataSync
166
165
  #
167
166
  # @!attribute [rw] ec2_config
168
167
  # The subnet and security group that the Amazon EFS file system uses.
168
+ # The security group that you provide needs to be able to communicate
169
+ # with the security group on the mount target in the subnet specified.
170
+ #
171
+ # The exact relationship between security group M (of the mount
172
+ # target) and security group S (which you provide for DataSync to use
173
+ # at this stage) is as follows:
174
+ #
175
+ # * Security group M (which you associate with the mount target) must
176
+ # allow inbound access for the Transmission Control Protocol (TCP)
177
+ # on the NFS port (2049) from security group S. You can enable
178
+ # inbound connections either by IP address (CIDR range) or security
179
+ # group.
180
+ #
181
+ # * Security group S (provided to DataSync to access EFS) should have
182
+ # a rule that enables outbound connections to the NFS port on one of
183
+ # the file system’s mount targets. You can enable outbound
184
+ # connections either by IP address (CIDR range) or security group.
185
+ #
186
+ # For information about security groups and mount targets, see
187
+ # "https://docs.aws.amazon.com/efs/latest/ug/security-considerations.html#network-access"
188
+ # (Security Groups for Amazon EC2 Instances and Mount Targets) in
189
+ # the *Amazon EFS User Guide*.
169
190
  # @return [Types::Ec2Config]
170
191
  #
171
192
  # @!attribute [rw] tags
@@ -205,14 +226,17 @@ module Aws::DataSync
205
226
  # data as a hash:
206
227
  #
207
228
  # {
208
- # subdirectory: "Subdirectory", # required
229
+ # subdirectory: "NonEmptySubdirectory", # required
209
230
  # server_hostname: "ServerHostname", # required
210
231
  # on_prem_config: { # required
211
232
  # agent_arns: ["AgentArn"], # required
212
233
  # },
234
+ # mount_options: {
235
+ # version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
236
+ # },
213
237
  # tags: [
214
238
  # {
215
- # key: "TagKey",
239
+ # key: "TagKey", # required
216
240
  # value: "TagValue",
217
241
  # },
218
242
  # ],
@@ -234,16 +258,14 @@ module Aws::DataSync
234
258
  # To transfer all the data in the folder you specified, DataSync needs
235
259
  # to have permissions to read all the data. To ensure this, either
236
260
  # configure the NFS export with `no_root_squash,` or ensure that the
237
- # permissions for all of the files that you want sync allow read
261
+ # permissions for all of the files that you want DataSync allow read
238
262
  # access for all users. Doing either enables the agent to read the
239
263
  # files. For the agent to access directories, you must additionally
240
- # enable all execute access. For information about NFS export
241
- # configuration, see [18.7. The /etc/exports Configuration File][1] in
242
- # the Centos documentation.
243
- #
244
- #
264
+ # enable all execute access.
245
265
  #
246
- # [1]: https://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-nfs-server-config-exports.html
266
+ # For information about NFS export configuration, see
267
+ # "http://web.mit.edu/rhel-doc/5/RHEL-5-manual/Deployment\_Guide-en-US/s1-nfs-server-config-exports.html"
268
+ # (18.7. The /etc/exports Configuration File).
247
269
  # @return [String]
248
270
  #
249
271
  # @!attribute [rw] server_hostname
@@ -263,6 +285,10 @@ module Aws::DataSync
263
285
  # used to connect to an NFS server.
264
286
  # @return [Types::OnPremConfig]
265
287
  #
288
+ # @!attribute [rw] mount_options
289
+ # The NFS mount options that DataSync can use to mount your NFS share.
290
+ # @return [Types::NfsMountOptions]
291
+ #
266
292
  # @!attribute [rw] tags
267
293
  # The key-value pair that represents the tag that you want to add to
268
294
  # the location. The value can be an empty string. We recommend using
@@ -275,6 +301,7 @@ module Aws::DataSync
275
301
  :subdirectory,
276
302
  :server_hostname,
277
303
  :on_prem_config,
304
+ :mount_options,
278
305
  :tags)
279
306
  include Aws::Structure
280
307
  end
@@ -299,14 +326,14 @@ module Aws::DataSync
299
326
  # data as a hash:
300
327
  #
301
328
  # {
302
- # subdirectory: "Subdirectory", # required
329
+ # subdirectory: "Subdirectory",
303
330
  # s3_bucket_arn: "S3BucketArn", # required
304
331
  # s3_config: { # required
305
332
  # bucket_access_role_arn: "IamRoleArn", # required
306
333
  # },
307
334
  # tags: [
308
335
  # {
309
- # key: "TagKey",
336
+ # key: "TagKey", # required
310
337
  # value: "TagValue",
311
338
  # },
312
339
  # ],
@@ -325,12 +352,11 @@ module Aws::DataSync
325
352
  # @!attribute [rw] s3_config
326
353
  # The Amazon Resource Name (ARN) of the AWS Identity and Access
327
354
  # Management (IAM) role that is used to access an Amazon S3 bucket.
328
- # For detailed information about using such a role, see [Components
329
- # and Terminology][1] in the *AWS DataSync User Guide*.
330
- #
331
355
  #
332
- #
333
- # [1]: https://alpha-aws-docs.aws.amazon.com/sync-service/latest/userguide/create-locations-cli.html#create-location-s3-cli
356
+ # For detailed information about using such a role, see
357
+ # "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html#create-s3-location"
358
+ # (Creating a Location for Amazon S3) in the *AWS DataSync User
359
+ # Guide*.
334
360
  # @return [Types::S3Config]
335
361
  #
336
362
  # @!attribute [rw] tags
@@ -384,9 +410,15 @@ module Aws::DataSync
384
410
  # posix_permissions: "NONE", # accepts NONE, BEST_EFFORT, PRESERVE
385
411
  # bytes_per_second: 1,
386
412
  # },
413
+ # excludes: [
414
+ # {
415
+ # filter_type: "SIMPLE_PATTERN", # accepts SIMPLE_PATTERN
416
+ # value: "FilterValue",
417
+ # },
418
+ # ],
387
419
  # tags: [
388
420
  # {
389
- # key: "TagKey",
421
+ # key: "TagKey", # required
390
422
  # value: "TagValue",
391
423
  # },
392
424
  # ],
@@ -403,17 +435,17 @@ module Aws::DataSync
403
435
  #
404
436
  # @!attribute [rw] cloud_watch_log_group_arn
405
437
  # The Amazon Resource Name (ARN) of the Amazon CloudWatch log group
406
- # that is used to monitor and log events in the task. For more
407
- # information on these groups, see [Working with Log Groups and Log
408
- # Streams][1] in the <i>Amazon CloudWatch User Guide. </i>
438
+ # that is used to monitor and log events in the task.
409
439
  #
410
- # For more information about how to useCloudWatchLogs with DataSync,
411
- # see [Monitoring Your Task][2].
440
+ # For more information on these groups, see
441
+ # "https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html"
442
+ # (Working with Log Groups and Log Streams) in the *Amazon CloudWatch
443
+ # User Guide*.
412
444
  #
413
- #
414
- #
415
- # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html
416
- # [2]: https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html
445
+ # For more information about how to useCloudWatchLogs with DataSync,
446
+ # see
447
+ # "https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html"
448
+ # (Monitoring Your Task)
417
449
  # @return [String]
418
450
  #
419
451
  # @!attribute [rw] name
@@ -433,6 +465,12 @@ module Aws::DataSync
433
465
  # execution. For more information, see the operation.
434
466
  # @return [Types::Options]
435
467
  #
468
+ # @!attribute [rw] excludes
469
+ # A filter that determines which files to exclude from a task based on
470
+ # the specified pattern. Transfers all files in the task’s
471
+ # subdirectory, except files that match the filter that is set.
472
+ # @return [Array<Types::FilterRule>]
473
+ #
436
474
  # @!attribute [rw] tags
437
475
  # The key-value pair that represents the tag that you want to add to
438
476
  # the resource. The value can be an empty string.
@@ -446,6 +484,7 @@ module Aws::DataSync
446
484
  :cloud_watch_log_group_arn,
447
485
  :name,
448
486
  :options,
487
+ :excludes,
449
488
  :tags)
450
489
  include Aws::Structure
451
490
  end
@@ -577,7 +616,7 @@ module Aws::DataSync
577
616
  # @return [String]
578
617
  #
579
618
  # @!attribute [rw] last_connection_time
580
- # The time that the agent was last connected.
619
+ # The time that the agent last connected to DataSyc.
581
620
  # @return [Time]
582
621
  #
583
622
  # @!attribute [rw] creation_time
@@ -628,33 +667,11 @@ module Aws::DataSync
628
667
  # @return [String]
629
668
  #
630
669
  # @!attribute [rw] ec2_config
631
- # The subnet and the security group that the target Amazon EFS file
632
- # system uses. The subnet must have at least one mount target for that
633
- # file system. The security group that you provide needs to be able to
634
- # communicate with the security group on the mount target in the
635
- # subnet specified.
636
- #
637
- # The exact relationship between security group M (of the mount
638
- # target) and security group S (which you provide for DataSync to use
639
- # at this stage) is as follows:
640
- #
641
- # * Security group M (which you associate with the mount target) must
642
- # allow inbound access for the Transmission Control Protocol (TCP)
643
- # on the NFS port (2049) from security group S. You can enable
644
- # inbound connections either by IP address (CIDR range) or security
645
- # group.
646
- #
647
- # * Security group S (provided to DataSync to access EFS) should have
648
- # a rule that enables outbound connections to the NFS port on one of
649
- # the file system’s mount targets. You can enable outbound
650
- # connections either by IP address (CIDR range) or security group.
651
- # For information about security groups and mount targets, see
652
- # [Security Groups for Amazon EC2 Instances and Mount Targets][1] in
653
- # the *Amazon EFS User Guide.*
654
- #
655
- #
656
- #
657
- # [1]: https://docs.aws.amazon.com/efs/latest/ug/security-considerations.html#network-access
670
+ # The subnet and the security group that DataSync uses to access
671
+ # target EFS file system. The subnet must have at least one mount
672
+ # target for that file system. The security group that you provide
673
+ # needs to be able to communicate with the security group on the mount
674
+ # target in the subnet specified.
658
675
  # @return [Types::Ec2Config]
659
676
  #
660
677
  # @!attribute [rw] creation_time
@@ -707,6 +724,10 @@ module Aws::DataSync
707
724
  # Network File System (NFS) location.
708
725
  # @return [Types::OnPremConfig]
709
726
  #
727
+ # @!attribute [rw] mount_options
728
+ # The NFS mount options that DataSync used to mount your NFS share.
729
+ # @return [Types::NfsMountOptions]
730
+ #
710
731
  # @!attribute [rw] creation_time
711
732
  # The time that the NFS location was created.
712
733
  # @return [Time]
@@ -717,6 +738,7 @@ module Aws::DataSync
717
738
  :location_arn,
718
739
  :location_uri,
719
740
  :on_prem_config,
741
+ :mount_options,
720
742
  :creation_time)
721
743
  include Aws::Structure
722
744
  end
@@ -755,12 +777,11 @@ module Aws::DataSync
755
777
  # @!attribute [rw] s3_config
756
778
  # The Amazon Resource Name (ARN) of the AWS Identity and Access
757
779
  # Management (IAM) role that is used to access an Amazon S3 bucket.
758
- # For detailed information about using such a role, see [Components
759
- # and Terminology][1] in the *AWS DataSync User Guide*.
760
- #
761
780
  #
762
- #
763
- # [1]: https://alpha-aws-docs.aws.amazon.com/sync-service/latest/userguide/create-locations-cli.html#create-location-s3-cli
781
+ # For detailed information about using such a role, see
782
+ # "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html#create-s3-location"
783
+ # (Creating a Location for Amazon S3) in the *AWS DataSync User
784
+ # Guide*.
764
785
  # @return [Types::S3Config]
765
786
  #
766
787
  # @!attribute [rw] creation_time
@@ -805,18 +826,17 @@ module Aws::DataSync
805
826
  # for the task that was executed.
806
827
  #
807
828
  # For example, a `TaskExecution` value with the ARN
808
- # `arn:aws:sync:us-east-1:209870788375:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b`
829
+ # `arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b`
809
830
  # executed the task with the ARN
810
- # `arn:aws:sync:us-east-1:209870788375:task/task-0208075f79cedf4a2`.
831
+ # `arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2`.
811
832
  # @return [String]
812
833
  #
813
834
  # @!attribute [rw] status
814
- # The status of the task. For detailed information about sync
815
- # statuses, see [Understanding Sync Task Statuses][1].
816
- #
817
- #
835
+ # The status of the task execution.
818
836
  #
819
- # [1]: https://docs.aws.amazon.com/sync-service/latest/userguide/understand-sync-task-statuses.html
837
+ # For detailed information about task execution statuses, see
838
+ # "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-tasks.html#understand-task-creation-statuses"
839
+ # (Understanding Task Statuses).
820
840
  # @return [String]
821
841
  #
822
842
  # @!attribute [rw] options
@@ -832,6 +852,19 @@ module Aws::DataSync
832
852
  # by specifying an overriding `Options` value to StartTaskExecution.
833
853
  # @return [Types::Options]
834
854
  #
855
+ # @!attribute [rw] excludes
856
+ # Specifies that the task execution excludes files from the transfer
857
+ # based on the specified pattern in the filter. Transfers all files in
858
+ # the task’s subdirectory, except files that match the filter that is
859
+ # set.
860
+ # @return [Array<Types::FilterRule>]
861
+ #
862
+ # @!attribute [rw] includes
863
+ # Specifies that the task execution excludes files in the transfer
864
+ # based on the specified pattern in the filter. When multiple include
865
+ # filters are set, they are interpreted as an OR.
866
+ # @return [Array<Types::FilterRule>]
867
+ #
835
868
  # @!attribute [rw] start_time
836
869
  # The time that the task execution was started.
837
870
  # @return [Time]
@@ -883,6 +916,8 @@ module Aws::DataSync
883
916
  :task_execution_arn,
884
917
  :status,
885
918
  :options,
919
+ :excludes,
920
+ :includes,
886
921
  :start_time,
887
922
  :estimated_files_to_transfer,
888
923
  :estimated_bytes_to_transfer,
@@ -920,12 +955,11 @@ module Aws::DataSync
920
955
  # @return [String]
921
956
  #
922
957
  # @!attribute [rw] status
923
- # The status of the task that was described. For detailed information
924
- # about sync statuses, see [Understanding Sync Task Statuses][1].
925
- #
926
- #
958
+ # The status of the task that was described.
927
959
  #
928
- # [1]: https://docs.aws.amazon.com/sync-service/latest/userguide/understand-sync-task-statuses.html
960
+ # For detailed information about task execution statuses, see
961
+ # "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-tasks.html#understand-task-creation-statuses"
962
+ # (Understanding Task Statuses).
929
963
  # @return [String]
930
964
  #
931
965
  # @!attribute [rw] name
@@ -949,13 +983,12 @@ module Aws::DataSync
949
983
  #
950
984
  # @!attribute [rw] cloud_watch_log_group_arn
951
985
  # The Amazon Resource Name (ARN) of the Amazon CloudWatch log group
952
- # that was used to monitor and log events in the task. For more
953
- # information on these groups, see [Working with Log Groups and Log
954
- # Streams][1] in the *Amazon CloudWatch User Guide.*
986
+ # that was used to monitor and log events in the task.
955
987
  #
956
- #
957
- #
958
- # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html
988
+ # For more information on these groups, see
989
+ # "https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html"
990
+ # (Working with Log Groups and Log Streams) in the *Amazon CloudWatch
991
+ # UserGuide*.
959
992
  # @return [String]
960
993
  #
961
994
  # @!attribute [rw] options
@@ -969,6 +1002,12 @@ module Aws::DataSync
969
1002
  # by specifying the overriding `OverrideOptions` value to operation.
970
1003
  # @return [Types::Options]
971
1004
  #
1005
+ # @!attribute [rw] excludes
1006
+ # Specifies that the task excludes files in the transfer based on the
1007
+ # specified pattern in the filter. Transfers all files in the task’s
1008
+ # subdirectory, except files that match the filter that is set.
1009
+ # @return [Array<Types::FilterRule>]
1010
+ #
972
1011
  # @!attribute [rw] error_code
973
1012
  # Errors that AWS DataSync encountered during execution of the task.
974
1013
  # You can use this error code to help troubleshoot issues.
@@ -995,38 +1034,18 @@ module Aws::DataSync
995
1034
  :destination_location_arn,
996
1035
  :cloud_watch_log_group_arn,
997
1036
  :options,
1037
+ :excludes,
998
1038
  :error_code,
999
1039
  :error_detail,
1000
1040
  :creation_time)
1001
1041
  include Aws::Structure
1002
1042
  end
1003
1043
 
1004
- # The subnet and the security group that the target Amazon EFS file
1005
- # system uses. The subnet must have at least one mount target for that
1006
- # file system. The security group that you provide needs to be able to
1007
- # communicate with the security group on the mount target in the subnet
1008
- # specified.
1009
- #
1010
- # The exact relationship between security group M (of the mount target)
1011
- # and security group S (which you provide for DataSync to use at this
1012
- # stage) is as follows:
1013
- #
1014
- # * Security group M (which you associate with the mount target) must
1015
- # allow inbound access for the Transmission Control Protocol (TCP) on
1016
- # the NFS port (2049) from security group S. You can enable inbound
1017
- # connections either by IP address (CIDR range) or security group.
1018
- #
1019
- # * Security group S (provided to DataSync to access EFS) should have a
1020
- # rule that enables outbound connections to the NFS port on one of the
1021
- # file system’s mount targets. You can enable outbound connections
1022
- # either by IP address (CIDR range) or security group. For information
1023
- # about security groups and mount targets, see [Security Groups for
1024
- # Amazon EC2 Instances and Mount Targets][1] in the *Amazon EFS User
1025
- # Guide.*
1026
- #
1027
- #
1028
- #
1029
- # [1]: https://docs.aws.amazon.com/efs/latest/ug/security-considerations.html#network-access
1044
+ # The subnet and the security group that DataSync uses to access target
1045
+ # EFS file system. The subnet must have at least one mount target for
1046
+ # that file system. The security group that you provide needs to be able
1047
+ # to communicate with the security group on the mount target in the
1048
+ # subnet specified.
1030
1049
  #
1031
1050
  # @note When making an API call, you may pass Ec2Config
1032
1051
  # data as a hash:
@@ -1037,7 +1056,8 @@ module Aws::DataSync
1037
1056
  # }
1038
1057
  #
1039
1058
  # @!attribute [rw] subnet_arn
1040
- # The ARN of the subnet that the Amazon EC2 resource belongs in.
1059
+ # The ARN of the subnet and the security group that DataSync uses to
1060
+ # access the target EFS file system.
1041
1061
  # @return [String]
1042
1062
  #
1043
1063
  # @!attribute [rw] security_group_arns
@@ -1053,6 +1073,35 @@ module Aws::DataSync
1053
1073
  include Aws::Structure
1054
1074
  end
1055
1075
 
1076
+ # A pattern that determines which files to include in the transfer or
1077
+ # which files to exclude.
1078
+ #
1079
+ # @note When making an API call, you may pass FilterRule
1080
+ # data as a hash:
1081
+ #
1082
+ # {
1083
+ # filter_type: "SIMPLE_PATTERN", # accepts SIMPLE_PATTERN
1084
+ # value: "FilterValue",
1085
+ # }
1086
+ #
1087
+ # @!attribute [rw] filter_type
1088
+ # Specifies the type of filter rule pattern to apply. DataSync only
1089
+ # supports the SIMPLE\_PATTERN rule type.
1090
+ # @return [String]
1091
+ #
1092
+ # @!attribute [rw] value
1093
+ # A pattern that defines the filter. The filter might include or
1094
+ # exclude files is a transfer.
1095
+ # @return [String]
1096
+ #
1097
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/FilterRule AWS API Documentation
1098
+ #
1099
+ class FilterRule < Struct.new(
1100
+ :filter_type,
1101
+ :value)
1102
+ include Aws::Structure
1103
+ end
1104
+
1056
1105
  # ListAgentsRequest
1057
1106
  #
1058
1107
  # @note When making an API call, you may pass ListAgentsRequest
@@ -1337,6 +1386,30 @@ module Aws::DataSync
1337
1386
  include Aws::Structure
1338
1387
  end
1339
1388
 
1389
+ # Represents the mount options that are available for DataSync to access
1390
+ # an NFS location.
1391
+ #
1392
+ # @note When making an API call, you may pass NfsMountOptions
1393
+ # data as a hash:
1394
+ #
1395
+ # {
1396
+ # version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
1397
+ # }
1398
+ #
1399
+ # @!attribute [rw] version
1400
+ # The specific NFS version that you want DataSync to use to mount your
1401
+ # NFS share. If you don't specify a version, DataSync defaults to
1402
+ # `AUTOMATIC`. That is, DataSync automatically selects a version based
1403
+ # on negotiation with the NFS server.
1404
+ # @return [String]
1405
+ #
1406
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/NfsMountOptions AWS API Documentation
1407
+ #
1408
+ class NfsMountOptions < Struct.new(
1409
+ :version)
1410
+ include Aws::Structure
1411
+ end
1412
+
1340
1413
  # A list of Amazon Resource Names (ARNs) of agents to use for a Network
1341
1414
  # File System (NFS) location.
1342
1415
  #
@@ -1529,13 +1602,11 @@ module Aws::DataSync
1529
1602
  end
1530
1603
 
1531
1604
  # The Amazon Resource Name (ARN) of the AWS Identity and Access
1532
- # Management (IAM) role that is used to access an Amazon S3 bucket. For
1533
- # detailed information about using such a role, see [Components and
1534
- # Terminology][1] in the *AWS DataSync User Guide*.
1535
- #
1536
- #
1605
+ # Management (IAM) role that is used to access an Amazon S3 bucket.
1537
1606
  #
1538
- # [1]: https://alpha-aws-docs.aws.amazon.com/sync-service/latest/userguide/create-locations-cli.html#create-location-s3-cli
1607
+ # For detailed information about using such a role, see
1608
+ # "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html#create-s3-location"
1609
+ # (Creating a Location for Amazon S3) in the *AWS DataSync User Guide*.
1539
1610
  #
1540
1611
  # @note When making an API call, you may pass S3Config
1541
1612
  # data as a hash:
@@ -1574,6 +1645,12 @@ module Aws::DataSync
1574
1645
  # posix_permissions: "NONE", # accepts NONE, BEST_EFFORT, PRESERVE
1575
1646
  # bytes_per_second: 1,
1576
1647
  # },
1648
+ # includes: [
1649
+ # {
1650
+ # filter_type: "SIMPLE_PATTERN", # accepts SIMPLE_PATTERN
1651
+ # value: "FilterValue",
1652
+ # },
1653
+ # ],
1577
1654
  # }
1578
1655
  #
1579
1656
  # @!attribute [rw] task_arn
@@ -1593,11 +1670,19 @@ module Aws::DataSync
1593
1670
  # by specifying an overriding `Options` value to StartTaskExecution.
1594
1671
  # @return [Types::Options]
1595
1672
  #
1673
+ # @!attribute [rw] includes
1674
+ # A filter that determines which files to include in the transfer
1675
+ # during a task execution based on the specified pattern in the
1676
+ # filter. When multiple include filters are set, they are interpreted
1677
+ # as an OR.
1678
+ # @return [Array<Types::FilterRule>]
1679
+ #
1596
1680
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/StartTaskExecutionRequest AWS API Documentation
1597
1681
  #
1598
1682
  class StartTaskExecutionRequest < Struct.new(
1599
1683
  :task_arn,
1600
- :override_options)
1684
+ :override_options,
1685
+ :includes)
1601
1686
  include Aws::Structure
1602
1687
  end
1603
1688
 
@@ -1623,7 +1708,7 @@ module Aws::DataSync
1623
1708
  # data as a hash:
1624
1709
  #
1625
1710
  # {
1626
- # key: "TagKey",
1711
+ # key: "TagKey", # required
1627
1712
  # value: "TagValue",
1628
1713
  # }
1629
1714
  #
@@ -1652,7 +1737,7 @@ module Aws::DataSync
1652
1737
  # resource_arn: "TaggableResourceArn", # required
1653
1738
  # tags: [ # required
1654
1739
  # {
1655
- # key: "TagKey",
1740
+ # key: "TagKey", # required
1656
1741
  # value: "TagValue",
1657
1742
  # },
1658
1743
  # ],
@@ -1860,7 +1945,14 @@ module Aws::DataSync
1860
1945
  # posix_permissions: "NONE", # accepts NONE, BEST_EFFORT, PRESERVE
1861
1946
  # bytes_per_second: 1,
1862
1947
  # },
1948
+ # excludes: [
1949
+ # {
1950
+ # filter_type: "SIMPLE_PATTERN", # accepts SIMPLE_PATTERN
1951
+ # value: "FilterValue",
1952
+ # },
1953
+ # ],
1863
1954
  # name: "TagValue",
1955
+ # cloud_watch_log_group_arn: "LogGroupArn",
1864
1956
  # }
1865
1957
  #
1866
1958
  # @!attribute [rw] task_arn
@@ -1881,16 +1973,29 @@ module Aws::DataSync
1881
1973
  # by specifying an overriding `Options` value to StartTaskExecution.
1882
1974
  # @return [Types::Options]
1883
1975
  #
1976
+ # @!attribute [rw] excludes
1977
+ # A filter that determines which files to exclude from a task based on
1978
+ # the specified pattern in the filter. Transfers all files in the
1979
+ # task’s subdirectory, except files that match the filter that is set.
1980
+ # @return [Array<Types::FilterRule>]
1981
+ #
1884
1982
  # @!attribute [rw] name
1885
1983
  # The name of the task to update.
1886
1984
  # @return [String]
1887
1985
  #
1986
+ # @!attribute [rw] cloud_watch_log_group_arn
1987
+ # The Amazon Resource Name (ARN) of the resource name of the
1988
+ # CloudWatch LogGroup.
1989
+ # @return [String]
1990
+ #
1888
1991
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateTaskRequest AWS API Documentation
1889
1992
  #
1890
1993
  class UpdateTaskRequest < Struct.new(
1891
1994
  :task_arn,
1892
1995
  :options,
1893
- :name)
1996
+ :excludes,
1997
+ :name,
1998
+ :cloud_watch_log_group_arn)
1894
1999
  include Aws::Structure
1895
2000
  end
1896
2001