aws-sdk-datasync 1.33.0 → 1.37.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 631efe005fbb05a361ccd455e7b9ad66b777d726eae0e9996e2adcddb42ea371
4
- data.tar.gz: 030a47cedc8c93dd4f608a4b4b46f64137e5f79ec5c5431b01b295d15d45365c
3
+ metadata.gz: 37157815b2abccc0c8f064fb766152e608469c1efb3c84455a09b25f411c44a6
4
+ data.tar.gz: 303ea94eb62e43adaee3fa6052f6ebdb4cd0fc5ee2bd1dce536efd8fc8d3401d
5
5
  SHA512:
6
- metadata.gz: bebb44d119fbce2b222c4b7dede1e74aaf2733d9106c089d4a2aa275788e57dbd5d13fa394f4f155b9fe2647ae0463d861127482d069aba5e0e3216fff1d3713
7
- data.tar.gz: c4bf91cf7cfae5d157b1aef4f6236b4c86bc1ca0fbf6810468f7066b802464aead136ed6f2f86695988d00f293ee95799e9805a5cda337a5c541e1e5552fe232
6
+ metadata.gz: 8bcafa13e1c50f2ffc300cc14c1492488e1b30b3a2c1f82bd1a7ab79d0d5776f7a80251718cc1af230116b7ee63975e86df940e6199ac0dd6de6051584af4826
7
+ data.tar.gz: 5cb5d65aeee6fdf84f90075a1659a4e79139fc5f8c422e3a3e4b2e945cc2722befb43b8c9548a579df605e8aeb0876d016a2c78d306a6153a60cb28a1f5de51a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.37.0 (2021-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.36.0 (2021-09-01)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.35.0 (2021-08-25)
15
+ ------------------
16
+
17
+ * Feature - Added include filters to CreateTask and UpdateTask, and added exclude filters to StartTaskExecution, giving customers more granular control over how DataSync transfers files, folders, and objects.
18
+
19
+ 1.34.0 (2021-07-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.33.0 (2021-07-28)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.33.0
1
+ 1.37.0
@@ -346,8 +346,8 @@ module Aws::DataSync
346
346
  # you allow the task execution to complete, file content on the
347
347
  # destination is complete and consistent. This applies to other
348
348
  # unexpected failures that interrupt a task execution. In all of these
349
- # cases, AWS DataSync successfully complete the transfer when you start
350
- # the next task execution.
349
+ # cases, DataSync successfully complete the transfer when you start the
350
+ # next task execution.
351
351
  #
352
352
  # @option params [required, String] :task_execution_arn
353
353
  # The Amazon Resource Name (ARN) of the task execution to cancel.
@@ -369,12 +369,13 @@ module Aws::DataSync
369
369
  req.send_request(options)
370
370
  end
371
371
 
372
- # Activates an AWS DataSync agent that you have deployed on your host.
373
- # The activation process associates your agent with your account. In the
374
- # activation process, you specify information such as the AWS Region
375
- # that you want to activate the agent in. You activate the agent in the
376
- # AWS Region where your target locations (in Amazon S3 or Amazon EFS)
377
- # reside. Your tasks are created in this AWS Region.
372
+ # Activates an DataSync agent that you have deployed on your host. The
373
+ # activation process associates your agent with your account. In the
374
+ # activation process, you specify information such as the Amazon Web
375
+ # Services Region that you want to activate the agent in. You activate
376
+ # the agent in the Amazon Web Services Region where your target
377
+ # locations (in Amazon S3 or Amazon EFS) reside. Your tasks are created
378
+ # in this Amazon Web Services Region.
378
379
  #
379
380
  # You can activate the agent in a VPC (virtual private cloud) or provide
380
381
  # the agent access to a VPC endpoint so you can run tasks without going
@@ -385,13 +386,14 @@ module Aws::DataSync
385
386
  # task to run. If you use multiple agents for a source location, the
386
387
  # status of all the agents must be AVAILABLE for the task to run.
387
388
  #
388
- # Agents are automatically updated by AWS on a regular basis, using a
389
- # mechanism that ensures minimal interruption to your tasks.
389
+ # Agents are automatically updated by Amazon Web Services on a regular
390
+ # basis, using a mechanism that ensures minimal interruption to your
391
+ # tasks.
390
392
  #
391
393
  # @option params [required, String] :activation_key
392
394
  # Your agent activation key. You can get the activation key either by
393
395
  # sending an HTTP GET request with redirects that enable you to get the
394
- # agent IP address (port 80). Alternatively, you can get it from the AWS
396
+ # agent IP address (port 80). Alternatively, you can get it from the
395
397
  # DataSync console.
396
398
  #
397
399
  # The redirect URL returned in the response provides you the activation
@@ -400,8 +402,8 @@ module Aws::DataSync
400
402
  # are merely defaults. The arguments you pass to this API call determine
401
403
  # the actual configuration of your agent.
402
404
  #
403
- # For more information, see Activating an Agent in the *AWS DataSync
404
- # User Guide.*
405
+ # For more information, see Activating an Agent in the *DataSync User
406
+ # Guide.*
405
407
  #
406
408
  # @option params [String] :agent_name
407
409
  # The name you configured for your agent. This value is a text reference
@@ -487,7 +489,7 @@ module Aws::DataSync
487
489
  # @option params [String] :subdirectory
488
490
  # A subdirectory in the location’s path. This subdirectory in the EFS
489
491
  # file system is used to read data from the EFS source location or write
490
- # data to the EFS destination. By default, AWS DataSync uses the root
492
+ # data to the EFS destination. By default, DataSync uses the root
491
493
  # directory.
492
494
  #
493
495
  # <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
@@ -658,8 +660,8 @@ module Aws::DataSync
658
660
  # files. For the agent to access directories, you must additionally
659
661
  # enable all execute access.
660
662
  #
661
- # If you are copying data to or from your AWS Snowcone device, see [NFS
662
- # Server on AWS Snowcone][1] for more information.
663
+ # If you are copying data to or from your Snowcone device, see [NFS
664
+ # Server on Snowcone][1] for more information.
663
665
  #
664
666
  # For information about NFS export configuration, see 18.7. The
665
667
  # /etc/exports Configuration File in the Red Hat Enterprise Linux
@@ -674,8 +676,8 @@ module Aws::DataSync
674
676
  # Name Service (DNS) name of the NFS server. An agent that is installed
675
677
  # on-premises uses this host name to mount the NFS server in a network.
676
678
  #
677
- # If you are copying data to or from your AWS Snowcone device, see [NFS
678
- # Server on AWS Snowcone][1] for more information.
679
+ # If you are copying data to or from your Snowcone device, see [NFS
680
+ # Server on Snowcone][1] for more information.
679
681
  #
680
682
  # <note markdown="1"> This name must either be DNS-compliant or must be an IP version 4
681
683
  # (IPv4) address.
@@ -690,8 +692,8 @@ module Aws::DataSync
690
692
  # Contains a list of Amazon Resource Names (ARNs) of agents that are
691
693
  # used to connect to an NFS server.
692
694
  #
693
- # If you are copying data to or from your AWS Snowcone device, see [NFS
694
- # Server on AWS Snowcone][1] for more information.
695
+ # If you are copying data to or from your Snowcone device, see [NFS
696
+ # Server on Snowcone][1] for more information.
695
697
  #
696
698
  #
697
699
  #
@@ -832,9 +834,12 @@ module Aws::DataSync
832
834
 
833
835
  # Creates an endpoint for an Amazon S3 bucket.
834
836
  #
835
- # For more information, see
836
- # https://docs.aws.amazon.com/datasync/latest/userguide/create-locations-cli.html#create-location-s3-cli
837
- # in the *AWS DataSync User Guide*.
837
+ # For more information, see [Create an Amazon S3 location][1] in the
838
+ # *DataSync User Guide*.
839
+ #
840
+ #
841
+ #
842
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-locations-cli.html#create-location-s3-cli
838
843
  #
839
844
  # @option params [String] :subdirectory
840
845
  # A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3
@@ -842,14 +847,15 @@ module Aws::DataSync
842
847
  # S3 destination.
843
848
  #
844
849
  # @option params [required, String] :s3_bucket_arn
845
- # The ARN of the Amazon S3 bucket. If the bucket is on an AWS Outpost,
846
- # this must be an access point ARN.
850
+ # The ARN of the Amazon S3 bucket. If the bucket is on an Amazon Web
851
+ # Services Outpost, this must be an access point ARN.
847
852
  #
848
853
  # @option params [String] :s3_storage_class
849
854
  # The Amazon S3 storage class that you want to store your files in when
850
- # this location is used as a task destination. For buckets in AWS
851
- # Regions, the storage class defaults to Standard. For buckets on AWS
852
- # Outposts, the storage class defaults to AWS S3 Outposts.
855
+ # this location is used as a task destination. For buckets in Amazon Web
856
+ # Services Regions, the storage class defaults to Standard. For buckets
857
+ # on Outposts, the storage class defaults to Amazon Web Services S3
858
+ # Outposts.
853
859
  #
854
860
  # For more information about S3 storage classes, see [Amazon S3 Storage
855
861
  # Classes][1]. Some storage classes have behaviors that can affect your
@@ -862,17 +868,18 @@ module Aws::DataSync
862
868
  # [2]: https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes
863
869
  #
864
870
  # @option params [required, Types::S3Config] :s3_config
865
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
866
- # Management (IAM) role that is used to access an Amazon S3 bucket.
871
+ # The Amazon Resource Name (ARN) of the Identity and Access Management
872
+ # (IAM) role that is used to access an Amazon S3 bucket.
867
873
  #
868
874
  # For detailed information about using such a role, see Creating a
869
- # Location for Amazon S3 in the *AWS DataSync User Guide*.
875
+ # Location for Amazon S3 in the *DataSync User Guide*.
870
876
  #
871
877
  # @option params [Array<String>] :agent_arns
872
- # If you are using DataSync on an AWS Outpost, specify the Amazon
873
- # Resource Names (ARNs) of the DataSync agents deployed on your Outpost.
874
- # For more information about launching a DataSync agent on an AWS
875
- # Outpost, see [Deploy your DataSync agent on AWS Outposts][1].
878
+ # If you are using DataSync on an Amazon Web Services Outpost, specify
879
+ # the Amazon Resource Names (ARNs) of the DataSync agents deployed on
880
+ # your Outpost. For more information about launching a DataSync agent on
881
+ # an Amazon Web Services Outpost, see [Deploy your DataSync agent on
882
+ # Outposts][1].
876
883
  #
877
884
  #
878
885
  #
@@ -1025,18 +1032,21 @@ module Aws::DataSync
1025
1032
  # The configuration specifies options such as task scheduling, bandwidth
1026
1033
  # limits, etc. A task is the complete definition of a data transfer.
1027
1034
  #
1028
- # When you create a task that transfers data between AWS services in
1029
- # different AWS Regions, one of the two locations that you specify must
1030
- # reside in the Region where DataSync is being used. The other location
1031
- # must be specified in a different Region.
1035
+ # When you create a task that transfers data between Amazon Web Services
1036
+ # services in different Amazon Web Services Regions, one of the two
1037
+ # locations that you specify must reside in the Region where DataSync is
1038
+ # being used. The other location must be specified in a different
1039
+ # Region.
1032
1040
  #
1033
- # You can transfer data between commercial AWS Regions except for China,
1034
- # or between AWS GovCloud (US-East and US-West) Regions.
1041
+ # You can transfer data between commercial Amazon Web Services Regions
1042
+ # except for China, or between Amazon Web Services GovCloud (US)
1043
+ # Regions.
1035
1044
  #
1036
- # When you use DataSync to copy files or objects between AWS Regions,
1037
- # you pay for data transfer between Regions. This is billed as data
1038
- # transfer OUT from your source Region to your destination Region. For
1039
- # more information, see [Data Transfer pricing][1].
1045
+ # When you use DataSync to copy files or objects between Amazon Web
1046
+ # Services Regions, you pay for data transfer between Regions. This is
1047
+ # billed as data transfer OUT from your source Region to your
1048
+ # destination Region. For more information, see [Data Transfer
1049
+ # pricing][1].
1040
1050
  #
1041
1051
  #
1042
1052
  #
@@ -1046,7 +1056,8 @@ module Aws::DataSync
1046
1056
  # The Amazon Resource Name (ARN) of the source location for the task.
1047
1057
  #
1048
1058
  # @option params [required, String] :destination_location_arn
1049
- # The Amazon Resource Name (ARN) of an AWS storage resource's location.
1059
+ # The Amazon Resource Name (ARN) of an Amazon Web Services storage
1060
+ # resource's location.
1050
1061
  #
1051
1062
  # @option params [String] :cloud_watch_log_group_arn
1052
1063
  # The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that
@@ -1090,6 +1101,12 @@ module Aws::DataSync
1090
1101
  # The key-value pair that represents the tag that you want to add to the
1091
1102
  # resource. The value can be an empty string.
1092
1103
  #
1104
+ # @option params [Array<Types::FilterRule>] :includes
1105
+ # A list of filter rules that determines which files to include when
1106
+ # running a task. The pattern should contain a single filter string that
1107
+ # consists of the patterns to include. The patterns are delimited by
1108
+ # "\|" (that is, a pipe). For example: `"/folder1|/folder2`"
1109
+ #
1093
1110
  # @return [Types::CreateTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1094
1111
  #
1095
1112
  # * {Types::CreateTaskResponse#task_arn #task_arn} => String
@@ -1132,6 +1149,12 @@ module Aws::DataSync
1132
1149
  # value: "TagValue",
1133
1150
  # },
1134
1151
  # ],
1152
+ # includes: [
1153
+ # {
1154
+ # filter_type: "SIMPLE_PATTERN", # accepts SIMPLE_PATTERN
1155
+ # value: "FilterValue",
1156
+ # },
1157
+ # ],
1135
1158
  # })
1136
1159
  #
1137
1160
  # @example Response structure
@@ -1149,14 +1172,14 @@ module Aws::DataSync
1149
1172
 
1150
1173
  # Deletes an agent. To specify which agent to delete, use the Amazon
1151
1174
  # Resource Name (ARN) of the agent in your request. The operation
1152
- # disassociates the agent from your AWS account. However, it doesn't
1153
- # delete the agent virtual machine (VM) from your on-premises
1154
- # environment.
1175
+ # disassociates the agent from your Amazon Web Services account.
1176
+ # However, it doesn't delete the agent virtual machine (VM) from your
1177
+ # on-premises environment.
1155
1178
  #
1156
1179
  # @option params [required, String] :agent_arn
1157
1180
  # The Amazon Resource Name (ARN) of the agent to delete. Use the
1158
1181
  # `ListAgents` operation to return a list of agents for your account and
1159
- # AWS Region.
1182
+ # Amazon Web Services Region.
1160
1183
  #
1161
1184
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1162
1185
  #
@@ -1175,7 +1198,7 @@ module Aws::DataSync
1175
1198
  req.send_request(options)
1176
1199
  end
1177
1200
 
1178
- # Deletes the configuration of a location used by AWS DataSync.
1201
+ # Deletes the configuration of a location used by DataSync.
1179
1202
  #
1180
1203
  # @option params [required, String] :location_arn
1181
1204
  # The Amazon Resource Name (ARN) of the location to delete.
@@ -1535,6 +1558,7 @@ module Aws::DataSync
1535
1558
  # * {Types::DescribeTaskResponse#error_code #error_code} => String
1536
1559
  # * {Types::DescribeTaskResponse#error_detail #error_detail} => String
1537
1560
  # * {Types::DescribeTaskResponse#creation_time #creation_time} => Time
1561
+ # * {Types::DescribeTaskResponse#includes #includes} => Array&lt;Types::FilterRule&gt;
1538
1562
  #
1539
1563
  # @example Request syntax with placeholder values
1540
1564
  #
@@ -1576,6 +1600,9 @@ module Aws::DataSync
1576
1600
  # resp.error_code #=> String
1577
1601
  # resp.error_detail #=> String
1578
1602
  # resp.creation_time #=> Time
1603
+ # resp.includes #=> Array
1604
+ # resp.includes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
1605
+ # resp.includes[0].value #=> String
1579
1606
  #
1580
1607
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeTask AWS API Documentation
1581
1608
  #
@@ -1661,9 +1688,9 @@ module Aws::DataSync
1661
1688
  req.send_request(options)
1662
1689
  end
1663
1690
 
1664
- # Returns a list of agents owned by an AWS account in the AWS Region
1665
- # specified in the request. The returned list is ordered by agent Amazon
1666
- # Resource Name (ARN).
1691
+ # Returns a list of agents owned by an Amazon Web Services account in
1692
+ # the Amazon Web Services Region specified in the request. The returned
1693
+ # list is ordered by agent Amazon Resource Name (ARN).
1667
1694
  #
1668
1695
  # By default, this operation returns a maximum of 100 agents. This
1669
1696
  # operation supports pagination that enables you to optionally reduce
@@ -1917,7 +1944,7 @@ module Aws::DataSync
1917
1944
  # PREPARING \| TRANSFERRING \| VERIFYING \| SUCCESS/FAILURE.
1918
1945
  #
1919
1946
  # For detailed information, see the Task Execution section in the
1920
- # Components and Terminology topic in the *AWS DataSync User Guide*.
1947
+ # Components and Terminology topic in the *DataSync User Guide*.
1921
1948
  #
1922
1949
  # @option params [required, String] :task_arn
1923
1950
  # The Amazon Resource Name (ARN) of the task to start.
@@ -1944,6 +1971,12 @@ module Aws::DataSync
1944
1971
  # consists of the patterns to include. The patterns are delimited by
1945
1972
  # "\|" (that is, a pipe). For example: `"/folder1|/folder2"`
1946
1973
  #
1974
+ # @option params [Array<Types::FilterRule>] :excludes
1975
+ # A list of filter rules that determines which files to exclude from a
1976
+ # task. The list should contain a single filter string that consists of
1977
+ # the patterns to exclude. The patterns are delimited by "\|" (that
1978
+ # is, a pipe), for example, `"/folder1|/folder2"`.
1979
+ #
1947
1980
  # @return [Types::StartTaskExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1948
1981
  #
1949
1982
  # * {Types::StartTaskExecutionResponse#task_execution_arn #task_execution_arn} => String
@@ -1974,6 +2007,12 @@ module Aws::DataSync
1974
2007
  # value: "FilterValue",
1975
2008
  # },
1976
2009
  # ],
2010
+ # excludes: [
2011
+ # {
2012
+ # filter_type: "SIMPLE_PATTERN", # accepts SIMPLE_PATTERN
2013
+ # value: "FilterValue",
2014
+ # },
2015
+ # ],
1977
2016
  # })
1978
2017
  #
1979
2018
  # @example Response structure
@@ -1989,7 +2028,7 @@ module Aws::DataSync
1989
2028
  req.send_request(options)
1990
2029
  end
1991
2030
 
1992
- # Applies a key-value pair to an AWS resource.
2031
+ # Applies a key-value pair to an Amazon Web Services resource.
1993
2032
  #
1994
2033
  # @option params [required, String] :resource_arn
1995
2034
  # The Amazon Resource Name (ARN) of the resource to apply the tag to.
@@ -2020,7 +2059,7 @@ module Aws::DataSync
2020
2059
  req.send_request(options)
2021
2060
  end
2022
2061
 
2023
- # Removes a tag from an AWS resource.
2062
+ # Removes a tag from an Amazon Web Services resource.
2024
2063
  #
2025
2064
  # @option params [required, String] :resource_arn
2026
2065
  # The Amazon Resource Name (ARN) of the resource to remove the tag from.
@@ -2104,8 +2143,8 @@ module Aws::DataSync
2104
2143
  # the files. For the agent to access directories, you must additionally
2105
2144
  # enable all execute access.
2106
2145
  #
2107
- # If you are copying data to or from your AWS Snowcone device, see [NFS
2108
- # Server on AWS Snowcone][1] for more information.
2146
+ # If you are copying data to or from your Snowcone device, see [NFS
2147
+ # Server on Snowcone][1] for more information.
2109
2148
  #
2110
2149
  # For information about NFS export configuration, see 18.7. The
2111
2150
  # /etc/exports Configuration File in the Red Hat Enterprise Linux
@@ -2342,6 +2381,12 @@ module Aws::DataSync
2342
2381
  # The Amazon Resource Name (ARN) of the resource name of the CloudWatch
2343
2382
  # LogGroup.
2344
2383
  #
2384
+ # @option params [Array<Types::FilterRule>] :includes
2385
+ # A list of filter rules that determines which files to include when
2386
+ # running a task. The pattern should contain a single filter string that
2387
+ # consists of the patterns to include. The patterns are delimited by
2388
+ # "\|" (that is, a pipe). For example: `"/folder1|/folder2`"
2389
+ #
2345
2390
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2346
2391
  #
2347
2392
  # @example Request syntax with placeholder values
@@ -2375,6 +2420,12 @@ module Aws::DataSync
2375
2420
  # },
2376
2421
  # name: "TagValue",
2377
2422
  # cloud_watch_log_group_arn: "LogGroupArn",
2423
+ # includes: [
2424
+ # {
2425
+ # filter_type: "SIMPLE_PATTERN", # accepts SIMPLE_PATTERN
2426
+ # value: "FilterValue",
2427
+ # },
2428
+ # ],
2378
2429
  # })
2379
2430
  #
2380
2431
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateTask AWS API Documentation
@@ -2467,7 +2518,7 @@ module Aws::DataSync
2467
2518
  params: params,
2468
2519
  config: config)
2469
2520
  context[:gem_name] = 'aws-sdk-datasync'
2470
- context[:gem_version] = '1.33.0'
2521
+ context[:gem_version] = '1.37.0'
2471
2522
  Seahorse::Client::Request.new(handlers, context)
2472
2523
  end
2473
2524
 
@@ -290,6 +290,7 @@ module Aws::DataSync
290
290
  CreateTaskRequest.add_member(:excludes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Excludes"))
291
291
  CreateTaskRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: TaskSchedule, location_name: "Schedule"))
292
292
  CreateTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
293
+ CreateTaskRequest.add_member(:includes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Includes"))
293
294
  CreateTaskRequest.struct_class = Types::CreateTaskRequest
294
295
 
295
296
  CreateTaskResponse.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, location_name: "TaskArn"))
@@ -422,6 +423,7 @@ module Aws::DataSync
422
423
  DescribeTaskResponse.add_member(:error_code, Shapes::ShapeRef.new(shape: string, location_name: "ErrorCode"))
423
424
  DescribeTaskResponse.add_member(:error_detail, Shapes::ShapeRef.new(shape: string, location_name: "ErrorDetail"))
424
425
  DescribeTaskResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
426
+ DescribeTaskResponse.add_member(:includes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Includes"))
425
427
  DescribeTaskResponse.struct_class = Types::DescribeTaskResponse
426
428
 
427
429
  DestinationNetworkInterfaceArns.member = Shapes::ShapeRef.new(shape: NetworkInterfaceArn)
@@ -552,6 +554,7 @@ module Aws::DataSync
552
554
  StartTaskExecutionRequest.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, required: true, location_name: "TaskArn"))
553
555
  StartTaskExecutionRequest.add_member(:override_options, Shapes::ShapeRef.new(shape: Options, location_name: "OverrideOptions"))
554
556
  StartTaskExecutionRequest.add_member(:includes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Includes"))
557
+ StartTaskExecutionRequest.add_member(:excludes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Excludes"))
555
558
  StartTaskExecutionRequest.struct_class = Types::StartTaskExecutionRequest
556
559
 
557
560
  StartTaskExecutionResponse.add_member(:task_execution_arn, Shapes::ShapeRef.new(shape: TaskExecutionArn, location_name: "TaskExecutionArn"))
@@ -657,6 +660,7 @@ module Aws::DataSync
657
660
  UpdateTaskRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: TaskSchedule, location_name: "Schedule"))
658
661
  UpdateTaskRequest.add_member(:name, Shapes::ShapeRef.new(shape: TagValue, location_name: "Name"))
659
662
  UpdateTaskRequest.add_member(:cloud_watch_log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, location_name: "CloudWatchLogGroupArn"))
663
+ UpdateTaskRequest.add_member(:includes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Includes"))
660
664
  UpdateTaskRequest.struct_class = Types::UpdateTaskRequest
661
665
 
662
666
  UpdateTaskResponse.struct_class = Types::UpdateTaskResponse
@@ -88,7 +88,7 @@ module Aws::DataSync
88
88
  # Your agent activation key. You can get the activation key either by
89
89
  # sending an HTTP GET request with redirects that enable you to get
90
90
  # the agent IP address (port 80). Alternatively, you can get it from
91
- # the AWS DataSync console.
91
+ # the DataSync console.
92
92
  #
93
93
  # The redirect URL returned in the response provides you the
94
94
  # activation key for your agent in the query string parameter
@@ -97,8 +97,8 @@ module Aws::DataSync
97
97
  # pass to this API call determine the actual configuration of your
98
98
  # agent.
99
99
  #
100
- # For more information, see Activating an Agent in the *AWS DataSync
101
- # User Guide.*
100
+ # For more information, see Activating an Agent in the *DataSync User
101
+ # Guide.*
102
102
  # @return [String]
103
103
  #
104
104
  # @!attribute [rw] agent_name
@@ -169,8 +169,8 @@ module Aws::DataSync
169
169
  #
170
170
  # @!attribute [rw] agent_arn
171
171
  # The Amazon Resource Name (ARN) of the agent. Use the `ListAgents`
172
- # operation to return a list of agents for your account and AWS
173
- # Region.
172
+ # operation to return a list of agents for your account and Amazon Web
173
+ # Services Region.
174
174
  # @return [String]
175
175
  #
176
176
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateAgentResponse AWS API Documentation
@@ -204,7 +204,7 @@ module Aws::DataSync
204
204
  # @!attribute [rw] subdirectory
205
205
  # A subdirectory in the location’s path. This subdirectory in the EFS
206
206
  # file system is used to read data from the EFS source location or
207
- # write data to the EFS destination. By default, AWS DataSync uses the
207
+ # write data to the EFS destination. By default, DataSync uses the
208
208
  # root directory.
209
209
  #
210
210
  # <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
@@ -406,8 +406,8 @@ module Aws::DataSync
406
406
  # files. For the agent to access directories, you must additionally
407
407
  # enable all execute access.
408
408
  #
409
- # If you are copying data to or from your AWS Snowcone device, see
410
- # [NFS Server on AWS Snowcone][1] for more information.
409
+ # If you are copying data to or from your Snowcone device, see [NFS
410
+ # Server on Snowcone][1] for more information.
411
411
  #
412
412
  # For information about NFS export configuration, see 18.7. The
413
413
  # /etc/exports Configuration File in the Red Hat Enterprise Linux
@@ -424,8 +424,8 @@ module Aws::DataSync
424
424
  # installed on-premises uses this host name to mount the NFS server in
425
425
  # a network.
426
426
  #
427
- # If you are copying data to or from your AWS Snowcone device, see
428
- # [NFS Server on AWS Snowcone][1] for more information.
427
+ # If you are copying data to or from your Snowcone device, see [NFS
428
+ # Server on Snowcone][1] for more information.
429
429
  #
430
430
  # <note markdown="1"> This name must either be DNS-compliant or must be an IP version 4
431
431
  # (IPv4) address.
@@ -441,8 +441,8 @@ module Aws::DataSync
441
441
  # Contains a list of Amazon Resource Names (ARNs) of agents that are
442
442
  # used to connect to an NFS server.
443
443
  #
444
- # If you are copying data to or from your AWS Snowcone device, see
445
- # [NFS Server on AWS Snowcone][1] for more information.
444
+ # If you are copying data to or from your Snowcone device, see [NFS
445
+ # Server on Snowcone][1] for more information.
446
446
  #
447
447
  #
448
448
  #
@@ -623,15 +623,16 @@ module Aws::DataSync
623
623
  # @return [String]
624
624
  #
625
625
  # @!attribute [rw] s3_bucket_arn
626
- # The ARN of the Amazon S3 bucket. If the bucket is on an AWS Outpost,
627
- # this must be an access point ARN.
626
+ # The ARN of the Amazon S3 bucket. If the bucket is on an Amazon Web
627
+ # Services Outpost, this must be an access point ARN.
628
628
  # @return [String]
629
629
  #
630
630
  # @!attribute [rw] s3_storage_class
631
631
  # The Amazon S3 storage class that you want to store your files in
632
- # when this location is used as a task destination. For buckets in AWS
633
- # Regions, the storage class defaults to Standard. For buckets on AWS
634
- # Outposts, the storage class defaults to AWS S3 Outposts.
632
+ # when this location is used as a task destination. For buckets in
633
+ # Amazon Web Services Regions, the storage class defaults to Standard.
634
+ # For buckets on Outposts, the storage class defaults to Amazon Web
635
+ # Services S3 Outposts.
635
636
  #
636
637
  # For more information about S3 storage classes, see [Amazon S3
637
638
  # Storage Classes][1]. Some storage classes have behaviors that can
@@ -646,18 +647,19 @@ module Aws::DataSync
646
647
  # @return [String]
647
648
  #
648
649
  # @!attribute [rw] s3_config
649
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
650
- # Management (IAM) role that is used to access an Amazon S3 bucket.
650
+ # The Amazon Resource Name (ARN) of the Identity and Access Management
651
+ # (IAM) role that is used to access an Amazon S3 bucket.
651
652
  #
652
653
  # For detailed information about using such a role, see Creating a
653
- # Location for Amazon S3 in the *AWS DataSync User Guide*.
654
+ # Location for Amazon S3 in the *DataSync User Guide*.
654
655
  # @return [Types::S3Config]
655
656
  #
656
657
  # @!attribute [rw] agent_arns
657
- # If you are using DataSync on an AWS Outpost, specify the Amazon
658
- # Resource Names (ARNs) of the DataSync agents deployed on your
659
- # Outpost. For more information about launching a DataSync agent on an
660
- # AWS Outpost, see [Deploy your DataSync agent on AWS Outposts][1].
658
+ # If you are using DataSync on an Amazon Web Services Outpost, specify
659
+ # the Amazon Resource Names (ARNs) of the DataSync agents deployed on
660
+ # your Outpost. For more information about launching a DataSync agent
661
+ # on an Amazon Web Services Outpost, see [Deploy your DataSync agent
662
+ # on Outposts][1].
661
663
  #
662
664
  #
663
665
  #
@@ -860,6 +862,12 @@ module Aws::DataSync
860
862
  # value: "TagValue",
861
863
  # },
862
864
  # ],
865
+ # includes: [
866
+ # {
867
+ # filter_type: "SIMPLE_PATTERN", # accepts SIMPLE_PATTERN
868
+ # value: "FilterValue",
869
+ # },
870
+ # ],
863
871
  # }
864
872
  #
865
873
  # @!attribute [rw] source_location_arn
@@ -867,8 +875,8 @@ module Aws::DataSync
867
875
  # @return [String]
868
876
  #
869
877
  # @!attribute [rw] destination_location_arn
870
- # The Amazon Resource Name (ARN) of an AWS storage resource's
871
- # location.
878
+ # The Amazon Resource Name (ARN) of an Amazon Web Services storage
879
+ # resource's location.
872
880
  # @return [String]
873
881
  #
874
882
  # @!attribute [rw] cloud_watch_log_group_arn
@@ -920,6 +928,13 @@ module Aws::DataSync
920
928
  # the resource. The value can be an empty string.
921
929
  # @return [Array<Types::TagListEntry>]
922
930
  #
931
+ # @!attribute [rw] includes
932
+ # A list of filter rules that determines which files to include when
933
+ # running a task. The pattern should contain a single filter string
934
+ # that consists of the patterns to include. The patterns are delimited
935
+ # by "\|" (that is, a pipe). For example: `"/folder1|/folder2`"
936
+ # @return [Array<Types::FilterRule>]
937
+ #
923
938
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateTaskRequest AWS API Documentation
924
939
  #
925
940
  class CreateTaskRequest < Struct.new(
@@ -930,7 +945,8 @@ module Aws::DataSync
930
945
  :options,
931
946
  :excludes,
932
947
  :schedule,
933
- :tags)
948
+ :tags,
949
+ :includes)
934
950
  SENSITIVE = []
935
951
  include Aws::Structure
936
952
  end
@@ -961,7 +977,7 @@ module Aws::DataSync
961
977
  # @!attribute [rw] agent_arn
962
978
  # The Amazon Resource Name (ARN) of the agent to delete. Use the
963
979
  # `ListAgents` operation to return a list of agents for your account
964
- # and AWS Region.
980
+ # and Amazon Web Services Region.
965
981
  # @return [String]
966
982
  #
967
983
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DeleteAgentRequest AWS API Documentation
@@ -1399,18 +1415,19 @@ module Aws::DataSync
1399
1415
  # @return [String]
1400
1416
  #
1401
1417
  # @!attribute [rw] s3_config
1402
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
1403
- # Management (IAM) role that is used to access an Amazon S3 bucket.
1418
+ # The Amazon Resource Name (ARN) of the Identity and Access Management
1419
+ # (IAM) role that is used to access an Amazon S3 bucket.
1404
1420
  #
1405
1421
  # For detailed information about using such a role, see Creating a
1406
- # Location for Amazon S3 in the *AWS DataSync User Guide*.
1422
+ # Location for Amazon S3 in the *DataSync User Guide*.
1407
1423
  # @return [Types::S3Config]
1408
1424
  #
1409
1425
  # @!attribute [rw] agent_arns
1410
- # If you are using DataSync on an AWS Outpost, the Amazon Resource
1411
- # Name (ARNs) of the EC2 agents deployed on your Outpost. For more
1412
- # information about launching a DataSync agent on an AWS Outpost, see
1413
- # [Deploy your DataSync agent on AWS Outposts][1].
1426
+ # If you are using DataSync on an Amazon Web Services Outpost, the
1427
+ # Amazon Resource Name (ARNs) of the EC2 agents deployed on your
1428
+ # Outpost. For more information about launching a DataSync agent on an
1429
+ # Amazon Web Services Outpost, see [Deploy your DataSync agent on
1430
+ # Outposts][1].
1414
1431
  #
1415
1432
  #
1416
1433
  #
@@ -1541,7 +1558,7 @@ module Aws::DataSync
1541
1558
  # The status of the task execution.
1542
1559
  #
1543
1560
  # For detailed information about task execution statuses, see
1544
- # Understanding Task Statuses in the *AWS DataSync User Guide.*
1561
+ # Understanding Task Statuses in the *DataSync User Guide.*
1545
1562
  # @return [String]
1546
1563
  #
1547
1564
  # @!attribute [rw] options
@@ -1609,8 +1626,8 @@ module Aws::DataSync
1609
1626
  # @return [Integer]
1610
1627
  #
1611
1628
  # @!attribute [rw] bytes_written
1612
- # The number of logical bytes written to the destination AWS storage
1613
- # resource.
1629
+ # The number of logical bytes written to the destination Amazon Web
1630
+ # Services storage resource.
1614
1631
  # @return [Integer]
1615
1632
  #
1616
1633
  # @!attribute [rw] bytes_transferred
@@ -1671,7 +1688,7 @@ module Aws::DataSync
1671
1688
  # The status of the task that was described.
1672
1689
  #
1673
1690
  # For detailed information about task execution statuses, see
1674
- # Understanding Task Statuses in the *AWS DataSync User Guide*.
1691
+ # Understanding Task Statuses in the *DataSync User Guide*.
1675
1692
  # @return [String]
1676
1693
  #
1677
1694
  # @!attribute [rw] name
@@ -1689,8 +1706,8 @@ module Aws::DataSync
1689
1706
  # @return [String]
1690
1707
  #
1691
1708
  # @!attribute [rw] destination_location_arn
1692
- # The Amazon Resource Name (ARN) of the AWS storage resource's
1693
- # location.
1709
+ # The Amazon Resource Name (ARN) of the Amazon Web Services storage
1710
+ # resource's location.
1694
1711
  # @return [String]
1695
1712
  #
1696
1713
  # @!attribute [rw] cloud_watch_log_group_arn
@@ -1740,8 +1757,8 @@ module Aws::DataSync
1740
1757
  # @return [Types::TaskSchedule]
1741
1758
  #
1742
1759
  # @!attribute [rw] error_code
1743
- # Errors that AWS DataSync encountered during execution of the task.
1744
- # You can use this error code to help troubleshoot issues.
1760
+ # Errors that DataSync encountered during execution of the task. You
1761
+ # can use this error code to help troubleshoot issues.
1745
1762
  # @return [String]
1746
1763
  #
1747
1764
  # @!attribute [rw] error_detail
@@ -1754,6 +1771,13 @@ module Aws::DataSync
1754
1771
  # The time that the task was created.
1755
1772
  # @return [Time]
1756
1773
  #
1774
+ # @!attribute [rw] includes
1775
+ # A list of filter rules that determines which files to include when
1776
+ # running a task. The pattern should contain a single filter string
1777
+ # that consists of the patterns to include. The patterns are delimited
1778
+ # by "\|" (that is, a pipe). For example: `"/folder1|/folder2`"
1779
+ # @return [Array<Types::FilterRule>]
1780
+ #
1757
1781
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeTaskResponse AWS API Documentation
1758
1782
  #
1759
1783
  class DescribeTaskResponse < Struct.new(
@@ -1771,7 +1795,8 @@ module Aws::DataSync
1771
1795
  :schedule,
1772
1796
  :error_code,
1773
1797
  :error_detail,
1774
- :creation_time)
1798
+ :creation_time,
1799
+ :includes)
1775
1800
  SENSITIVE = []
1776
1801
  include Aws::Structure
1777
1802
  end
@@ -1821,7 +1846,7 @@ module Aws::DataSync
1821
1846
  # }
1822
1847
  #
1823
1848
  # @!attribute [rw] filter_type
1824
- # The type of filter rule to apply. AWS DataSync only supports the
1849
+ # The type of filter rule to apply. DataSync only supports the
1825
1850
  # SIMPLE\_PATTERN rule type.
1826
1851
  # @return [String]
1827
1852
  #
@@ -1840,8 +1865,7 @@ module Aws::DataSync
1840
1865
  include Aws::Structure
1841
1866
  end
1842
1867
 
1843
- # This exception is thrown when an error occurs in the AWS DataSync
1844
- # service.
1868
+ # This exception is thrown when an error occurs in the DataSync service.
1845
1869
  #
1846
1870
  # @!attribute [rw] message
1847
1871
  # @return [String]
@@ -2389,8 +2413,8 @@ module Aws::DataSync
2389
2413
  #
2390
2414
  # Some storage classes have specific behaviors that can affect your S3
2391
2415
  # storage cost. For detailed information, see [Considerations when
2392
- # working with Amazon S3 storage classes in DataSync ][1] in the *AWS
2393
- # DataSync User Guide*.
2416
+ # working with Amazon S3 storage classes in DataSync ][1] in the
2417
+ # *DataSync User Guide*.
2394
2418
  #
2395
2419
  #
2396
2420
  #
@@ -2403,7 +2427,7 @@ module Aws::DataSync
2403
2427
  # to BEST\_EFFORT, DataSync attempts to preserve the original `Atime`
2404
2428
  # attribute on all source files (that is, the version before the
2405
2429
  # PREPARING phase). However, `Atime`'s behavior is not fully standard
2406
- # across platforms, so AWS DataSync can only do this on a best-effort
2430
+ # across platforms, so DataSync can only do this on a best-effort
2407
2431
  # basis.
2408
2432
  #
2409
2433
  # Default value: BEST\_EFFORT.
@@ -2483,7 +2507,7 @@ module Aws::DataSync
2483
2507
  # affect your storage cost. If your task deletes objects, you might
2484
2508
  # incur minimum storage duration charges for certain storage classes.
2485
2509
  # For detailed information, see [Considerations when working with
2486
- # Amazon S3 storage classes in DataSync ][1] in the *AWS DataSync User
2510
+ # Amazon S3 storage classes in DataSync ][1] in the *DataSync User
2487
2511
  # Guide*.
2488
2512
  #
2489
2513
  # Default value: PRESERVE.
@@ -2498,15 +2522,14 @@ module Aws::DataSync
2498
2522
  # @return [String]
2499
2523
  #
2500
2524
  # @!attribute [rw] preserve_devices
2501
- # A value that determines whether AWS DataSync should preserve the
2525
+ # A value that determines whether DataSync should preserve the
2502
2526
  # metadata of block and character devices in the source file system,
2503
2527
  # and re-create the files with that device name and metadata on the
2504
2528
  # destination. DataSync does not copy the contents of such devices,
2505
2529
  # only the name and metadata.
2506
2530
  #
2507
- # <note markdown="1"> AWS DataSync can't sync the actual contents of such devices,
2508
- # because they are nonterminal and don't return an end-of-file (EOF)
2509
- # marker.
2531
+ # <note markdown="1"> DataSync can't sync the actual contents of such devices, because
2532
+ # they are nonterminal and don't return an end-of-file (EOF) marker.
2510
2533
  #
2511
2534
  # </note>
2512
2535
  #
@@ -2531,7 +2554,7 @@ module Aws::DataSync
2531
2554
  #
2532
2555
  # NONE: Ignore permissions.
2533
2556
  #
2534
- # <note markdown="1"> AWS DataSync can preserve extant permissions of a source location.
2557
+ # <note markdown="1"> DataSync can preserve extant permissions of a source location.
2535
2558
  #
2536
2559
  # </note>
2537
2560
  #
@@ -2541,8 +2564,8 @@ module Aws::DataSync
2541
2564
  # @return [String]
2542
2565
  #
2543
2566
  # @!attribute [rw] bytes_per_second
2544
- # A value that limits the bandwidth used by AWS DataSync. For example,
2545
- # if you want AWS DataSync to use a maximum of 1 MB, set this value to
2567
+ # A value that limits the bandwidth used by DataSync. For example, if
2568
+ # you want DataSync to use a maximum of 1 MB, set this value to
2546
2569
  # `1048576` (`=1024*1024`).
2547
2570
  # @return [Integer]
2548
2571
  #
@@ -2702,11 +2725,11 @@ module Aws::DataSync
2702
2725
  include Aws::Structure
2703
2726
  end
2704
2727
 
2705
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
2706
- # Management (IAM) role that is used to access an Amazon S3 bucket.
2728
+ # The Amazon Resource Name (ARN) of the Identity and Access Management
2729
+ # (IAM) role that is used to access an Amazon S3 bucket.
2707
2730
  #
2708
2731
  # For detailed information about using such a role, see Creating a
2709
- # Location for Amazon S3 in the *AWS DataSync User Guide*.
2732
+ # Location for Amazon S3 in the *DataSync User Guide*.
2710
2733
  #
2711
2734
  # @note When making an API call, you may pass S3Config
2712
2735
  # data as a hash:
@@ -2786,6 +2809,12 @@ module Aws::DataSync
2786
2809
  # value: "FilterValue",
2787
2810
  # },
2788
2811
  # ],
2812
+ # excludes: [
2813
+ # {
2814
+ # filter_type: "SIMPLE_PATTERN", # accepts SIMPLE_PATTERN
2815
+ # value: "FilterValue",
2816
+ # },
2817
+ # ],
2789
2818
  # }
2790
2819
  #
2791
2820
  # @!attribute [rw] task_arn
@@ -2817,12 +2846,20 @@ module Aws::DataSync
2817
2846
  # by "\|" (that is, a pipe). For example: `"/folder1|/folder2"`
2818
2847
  # @return [Array<Types::FilterRule>]
2819
2848
  #
2849
+ # @!attribute [rw] excludes
2850
+ # A list of filter rules that determines which files to exclude from a
2851
+ # task. The list should contain a single filter string that consists
2852
+ # of the patterns to exclude. The patterns are delimited by "\|"
2853
+ # (that is, a pipe), for example, `"/folder1|/folder2"`.
2854
+ # @return [Array<Types::FilterRule>]
2855
+ #
2820
2856
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/StartTaskExecutionRequest AWS API Documentation
2821
2857
  #
2822
2858
  class StartTaskExecutionRequest < Struct.new(
2823
2859
  :task_arn,
2824
2860
  :override_options,
2825
- :includes)
2861
+ :includes,
2862
+ :excludes)
2826
2863
  SENSITIVE = []
2827
2864
  include Aws::Structure
2828
2865
  end
@@ -2859,11 +2896,11 @@ module Aws::DataSync
2859
2896
  # }
2860
2897
  #
2861
2898
  # @!attribute [rw] key
2862
- # The key for an AWS resource tag.
2899
+ # The key for an Amazon Web Services resource tag.
2863
2900
  # @return [String]
2864
2901
  #
2865
2902
  # @!attribute [rw] value
2866
- # The value for an AWS resource tag.
2903
+ # The value for an Amazon Web Services resource tag.
2867
2904
  # @return [String]
2868
2905
  #
2869
2906
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/TagListEntry AWS API Documentation
@@ -2942,8 +2979,8 @@ module Aws::DataSync
2942
2979
  # status of the task execution, and the errors encountered.
2943
2980
  #
2944
2981
  # @!attribute [rw] prepare_duration
2945
- # The total time in milliseconds that AWS DataSync spent in the
2946
- # PREPARING phase.
2982
+ # The total time in milliseconds that DataSync spent in the PREPARING
2983
+ # phase.
2947
2984
  # @return [Integer]
2948
2985
  #
2949
2986
  # @!attribute [rw] prepare_status
@@ -2951,12 +2988,12 @@ module Aws::DataSync
2951
2988
  # @return [String]
2952
2989
  #
2953
2990
  # @!attribute [rw] total_duration
2954
- # The total time in milliseconds that AWS DataSync took to transfer
2955
- # the file from the source to the destination location.
2991
+ # The total time in milliseconds that DataSync took to transfer the
2992
+ # file from the source to the destination location.
2956
2993
  # @return [Integer]
2957
2994
  #
2958
2995
  # @!attribute [rw] transfer_duration
2959
- # The total time in milliseconds that AWS DataSync spent in the
2996
+ # The total time in milliseconds that DataSync spent in the
2960
2997
  # TRANSFERRING phase.
2961
2998
  # @return [Integer]
2962
2999
  #
@@ -2965,8 +3002,8 @@ module Aws::DataSync
2965
3002
  # @return [String]
2966
3003
  #
2967
3004
  # @!attribute [rw] verify_duration
2968
- # The total time in milliseconds that AWS DataSync spent in the
2969
- # VERIFYING phase.
3005
+ # The total time in milliseconds that DataSync spent in the VERIFYING
3006
+ # phase.
2970
3007
  # @return [Integer]
2971
3008
  #
2972
3009
  # @!attribute [rw] verify_status
@@ -2974,8 +3011,8 @@ module Aws::DataSync
2974
3011
  # @return [String]
2975
3012
  #
2976
3013
  # @!attribute [rw] error_code
2977
- # Errors that AWS DataSync encountered during execution of the task.
2978
- # You can use this error code to help troubleshoot issues.
3014
+ # Errors that DataSync encountered during execution of the task. You
3015
+ # can use this error code to help troubleshoot issues.
2979
3016
  # @return [String]
2980
3017
  #
2981
3018
  # @!attribute [rw] error_detail
@@ -3092,8 +3129,8 @@ module Aws::DataSync
3092
3129
  # }
3093
3130
  #
3094
3131
  # @!attribute [rw] schedule_expression
3095
- # A cron expression that specifies when AWS DataSync initiates a
3096
- # scheduled transfer from a source to a destination location.
3132
+ # A cron expression that specifies when DataSync initiates a scheduled
3133
+ # transfer from a source to a destination location.
3097
3134
  # @return [String]
3098
3135
  #
3099
3136
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/TaskSchedule AWS API Documentation
@@ -3206,8 +3243,8 @@ module Aws::DataSync
3206
3243
  # the files. For the agent to access directories, you must
3207
3244
  # additionally enable all execute access.
3208
3245
  #
3209
- # If you are copying data to or from your AWS Snowcone device, see
3210
- # [NFS Server on AWS Snowcone][1] for more information.
3246
+ # If you are copying data to or from your Snowcone device, see [NFS
3247
+ # Server on Snowcone][1] for more information.
3211
3248
  #
3212
3249
  # For information about NFS export configuration, see 18.7. The
3213
3250
  # /etc/exports Configuration File in the Red Hat Enterprise Linux
@@ -3499,6 +3536,12 @@ module Aws::DataSync
3499
3536
  # },
3500
3537
  # name: "TagValue",
3501
3538
  # cloud_watch_log_group_arn: "LogGroupArn",
3539
+ # includes: [
3540
+ # {
3541
+ # filter_type: "SIMPLE_PATTERN", # accepts SIMPLE_PATTERN
3542
+ # value: "FilterValue",
3543
+ # },
3544
+ # ],
3502
3545
  # }
3503
3546
  #
3504
3547
  # @!attribute [rw] task_arn
@@ -3553,6 +3596,13 @@ module Aws::DataSync
3553
3596
  # CloudWatch LogGroup.
3554
3597
  # @return [String]
3555
3598
  #
3599
+ # @!attribute [rw] includes
3600
+ # A list of filter rules that determines which files to include when
3601
+ # running a task. The pattern should contain a single filter string
3602
+ # that consists of the patterns to include. The patterns are delimited
3603
+ # by "\|" (that is, a pipe). For example: `"/folder1|/folder2`"
3604
+ # @return [Array<Types::FilterRule>]
3605
+ #
3556
3606
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateTaskRequest AWS API Documentation
3557
3607
  #
3558
3608
  class UpdateTaskRequest < Struct.new(
@@ -3561,7 +3611,8 @@ module Aws::DataSync
3561
3611
  :excludes,
3562
3612
  :schedule,
3563
3613
  :name,
3564
- :cloud_watch_log_group_arn)
3614
+ :cloud_watch_log_group_arn,
3615
+ :includes)
3565
3616
  SENSITIVE = []
3566
3617
  include Aws::Structure
3567
3618
  end
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-datasync/customizations'
48
48
  # @!group service
49
49
  module Aws::DataSync
50
50
 
51
- GEM_VERSION = '1.33.0'
51
+ GEM_VERSION = '1.37.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-datasync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.33.0
4
+ version: 1.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-28 00:00:00.000000000 Z
11
+ date: 2021-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.118.0
22
+ version: 3.121.2
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.118.0
32
+ version: 3.121.2
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: '0'
79
+ version: '2.3'
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - ">="