aws-sdk-datasync 1.48.0 → 1.50.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd6bbd2b4bc78fc6d4b88d163675f6e951060df52a590a11f3078f8405834930
4
- data.tar.gz: 5c416587f63dc2314e812f6620a8f5e61b96ec0f066bf2941d0b944432be91d9
3
+ metadata.gz: de98f67944d2f42d6f628d7a2382dfa14de614e403a227d99166201fa7c8846d
4
+ data.tar.gz: 1ba4385bf18d52321ee75346b0a307e1f86da888576cfe05a00a2caa0afe03c9
5
5
  SHA512:
6
- metadata.gz: 1d161dfc927a944b5264cb5bc5c2d0bd92417356f7083dfde598cb9a49241631d69e0f6e8d04da4b40b9f69b1fd240792e505fca023a0609f93382fc866eeb39
7
- data.tar.gz: 64c165aa7e495ec1b8892a6302116674d279658b358109dc5a16122b10eb5e45a7fd0dc182d0d2c1358d628d3ab2bec729baca75c5b7a5802b734443bf3e6e99
6
+ metadata.gz: bc657c9af1255c068800b3deeb49c9fdba7bfc1eef0eec9cb45a52729a68849ce580c7d4393431aae3965dd86fbeaa6892518ceffa1306060a72f8ccf3eeede9
7
+ data.tar.gz: 4fb0b061314a00049bf9c02516f266635cfd13d7eacdca44db9d61d7e948a6a12348d43f63ad5ca2af7e8448d26c81ba91e59800b65a7f1a30c8febbb4347c12
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.50.0 (2022-10-24)
5
+ ------------------
6
+
7
+ * Feature - Added support for self-signed certificates when using object storage locations; added BytesCompressed to the TaskExecution response.
8
+
9
+ 1.49.0 (2022-07-15)
10
+ ------------------
11
+
12
+ * Feature - Documentation updates for AWS DataSync regarding configuring Amazon FSx for ONTAP location security groups and SMB user permissions.
13
+
4
14
  1.48.0 (2022-06-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.48.0
1
+ 1.50.0
@@ -361,20 +361,20 @@ module Aws::DataSync
361
361
 
362
362
  # @!group API Operations
363
363
 
364
- # Cancels execution of a task.
365
- #
366
- # When you cancel a task execution, the transfer of some files is
367
- # abruptly interrupted. The contents of files that are transferred to
368
- # the destination might be incomplete or inconsistent with the source
369
- # files. However, if you start a new task execution on the same task and
370
- # you allow the task execution to complete, file content on the
371
- # destination is complete and consistent. This applies to other
372
- # unexpected failures that interrupt a task execution. In all of these
373
- # cases, DataSync successfully complete the transfer when you start the
374
- # next task execution.
364
+ # Stops an DataSync task execution that's in progress. The transfer of
365
+ # some files are abruptly interrupted. File contents that're
366
+ # transferred to the destination might be incomplete or inconsistent
367
+ # with the source files.
368
+ #
369
+ # However, if you start a new task execution using the same task and
370
+ # allow it to finish, file content on the destination will be complete
371
+ # and consistent. This applies to other unexpected failures that
372
+ # interrupt a task execution. In all of these cases, DataSync
373
+ # successfully completes the transfer when you start the next task
374
+ # execution.
375
375
  #
376
376
  # @option params [required, String] :task_execution_arn
377
- # The Amazon Resource Name (ARN) of the task execution to cancel.
377
+ # The Amazon Resource Name (ARN) of the task execution to stop.
378
378
  #
379
379
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
380
380
  #
@@ -393,13 +393,13 @@ module Aws::DataSync
393
393
  req.send_request(options)
394
394
  end
395
395
 
396
- # Activates an DataSync agent that you have deployed on your host. The
397
- # activation process associates your agent with your account. In the
398
- # activation process, you specify information such as the Amazon Web
399
- # Services Region that you want to activate the agent in. You activate
400
- # the agent in the Amazon Web Services Region where your target
401
- # locations (in Amazon S3 or Amazon EFS) reside. Your tasks are created
402
- # in this Amazon Web Services Region.
396
+ # Activates an DataSync agent that you have deployed in your storage
397
+ # environment. The activation process associates your agent with your
398
+ # account. In the activation process, you specify information such as
399
+ # the Amazon Web Services Region that you want to activate the agent in.
400
+ # You activate the agent in the Amazon Web Services Region where your
401
+ # target locations (in Amazon S3 or Amazon EFS) reside. Your tasks are
402
+ # created in this Amazon Web Services Region.
403
403
  #
404
404
  # You can activate the agent in a VPC (virtual private cloud) or provide
405
405
  # the agent access to a VPC endpoint so you can run tasks without going
@@ -658,17 +658,18 @@ module Aws::DataSync
658
658
  # Amazon FSx file system.
659
659
  #
660
660
  # @option params [required, Array<String>] :security_group_arns
661
- # Specifies the security groups that DataSync can use to access your FSx
662
- # for ONTAP file system. You must configure the security groups to allow
663
- # outbound traffic on the following ports (depending on the protocol
664
- # that you're using):
661
+ # Specifies the Amazon EC2 security groups that provide access to your
662
+ # file system's preferred subnet.
665
663
  #
666
- # * **Network File System (NFS)**\: TCP port 2049
664
+ # The security groups must allow outbound traffic on the following ports
665
+ # (depending on the protocol you use):
666
+ #
667
+ # * **Network File System (NFS)**\: TCP ports 111, 635, and 2049
667
668
  #
668
669
  # * **Server Message Block (SMB)**\: TCP port 445
669
670
  #
670
671
  # Your file system's security groups must also allow inbound traffic on
671
- # the same port.
672
+ # the same ports.
672
673
  #
673
674
  # @option params [required, String] :storage_virtual_machine_arn
674
675
  # Specifies the ARN of the storage virtual machine (SVM) on your file
@@ -739,7 +740,18 @@ module Aws::DataSync
739
740
  req.send_request(options)
740
741
  end
741
742
 
742
- # Creates an endpoint for an Amazon FSx for OpenZFS file system.
743
+ # Creates an endpoint for an Amazon FSx for OpenZFS file system that
744
+ # DataSync can access for a transfer. For more information, see
745
+ # [Creating a location for FSx for OpenZFS][1].
746
+ #
747
+ # <note markdown="1"> Request parameters related to `SMB` aren't supported with the
748
+ # `CreateLocationFsxOpenZfs` operation.
749
+ #
750
+ # </note>
751
+ #
752
+ #
753
+ #
754
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-openzfs-location.html
743
755
  #
744
756
  # @option params [required, String] :fsx_filesystem_arn
745
757
  # The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.
@@ -812,40 +824,49 @@ module Aws::DataSync
812
824
  # system.
813
825
  #
814
826
  # @option params [String] :subdirectory
815
- # A subdirectory in the location's path. This subdirectory in the
816
- # Amazon FSx for Windows File Server file system is used to read data
817
- # from the Amazon FSx for Windows File Server source location or write
818
- # data to the FSx for Windows File Server destination.
827
+ # Specifies a mount path for your file system using forward slashes.
828
+ # This is where DataSync reads or writes data (depending on if this is a
829
+ # source or destination location).
819
830
  #
820
831
  # @option params [required, String] :fsx_filesystem_arn
821
- # The Amazon Resource Name (ARN) for the FSx for Windows File Server
822
- # file system.
832
+ # Specifies the Amazon Resource Name (ARN) for the FSx for Windows File
833
+ # Server file system.
823
834
  #
824
835
  # @option params [required, Array<String>] :security_group_arns
825
- # The ARNs of the security groups that are used to configure the FSx for
826
- # Windows File Server file system.
836
+ # Specifies the ARNs of the security groups that provide access to your
837
+ # file system's preferred subnet.
838
+ #
839
+ # <note markdown="1"> If you choose a security group that doesn't allow connections from
840
+ # within itself, do one of the following:
841
+ #
842
+ # * Configure the security group to allow it to communicate within
843
+ # itself.
844
+ #
845
+ # * Choose a different security group that can communicate with the
846
+ # mount target's security group.
847
+ #
848
+ # </note>
827
849
  #
828
850
  # @option params [Array<Types::TagListEntry>] :tags
829
- # The key-value pair that represents a tag that you want to add to the
830
- # resource. The value can be an empty string. This value helps you
831
- # manage, filter, and search for your resources. We recommend that you
832
- # create a name tag for your location.
851
+ # Specifies labels that help you categorize, filter, and search for your
852
+ # Amazon Web Services resources. We recommend creating at least a name
853
+ # tag for your location.
833
854
  #
834
855
  # @option params [required, String] :user
835
- # The user who has the permissions to access files and folders in the
836
- # FSx for Windows File Server file system.
856
+ # Specifies the user who has the permissions to access files and folders
857
+ # in the file system.
837
858
  #
838
859
  # For information about choosing a user name that ensures sufficient
839
860
  # permissions to files, folders, and metadata, see
840
861
  # [user](create-fsx-location.html#FSxWuser).
841
862
  #
842
863
  # @option params [String] :domain
843
- # The name of the Windows domain that the FSx for Windows File Server
844
- # belongs to.
864
+ # Specifies the name of the Windows domain that the FSx for Windows File
865
+ # Server belongs to.
845
866
  #
846
867
  # @option params [required, String] :password
847
- # The password of the user who has the permissions to access files and
848
- # folders in the FSx for Windows File Server file system.
868
+ # Specifies the password of the user who has the permissions to access
869
+ # files and folders in the file system.
849
870
  #
850
871
  # @return [Types::CreateLocationFsxWindowsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
851
872
  #
@@ -1171,6 +1192,15 @@ module Aws::DataSync
1171
1192
  # add to the resource. Tags can help you manage, filter, and search for
1172
1193
  # your resources. We recommend creating a name tag for your location.
1173
1194
  #
1195
+ # @option params [String, StringIO, File] :server_certificate
1196
+ # Specifies a certificate to authenticate with an object storage system
1197
+ # that uses a private or self-signed certificate authority (CA). You
1198
+ # must specify a Base64-encoded `.pem` file (for example,
1199
+ # `file:///home/user/.ssh/storage_sys_certificate.pem`). The certificate
1200
+ # can be up to 32768 bytes (before Base64 encoding).
1201
+ #
1202
+ # To use this parameter, configure `ServerProtocol` to `HTTPS`.
1203
+ #
1174
1204
  # @return [Types::CreateLocationObjectStorageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1175
1205
  #
1176
1206
  # * {Types::CreateLocationObjectStorageResponse#location_arn #location_arn} => String
@@ -1192,6 +1222,7 @@ module Aws::DataSync
1192
1222
  # value: "TagValue",
1193
1223
  # },
1194
1224
  # ],
1225
+ # server_certificate: "data",
1195
1226
  # })
1196
1227
  #
1197
1228
  # @example Response structure
@@ -1207,7 +1238,8 @@ module Aws::DataSync
1207
1238
  req.send_request(options)
1208
1239
  end
1209
1240
 
1210
- # Creates an endpoint for an Amazon S3 bucket.
1241
+ # Creates an endpoint for an Amazon S3 bucket that DataSync can access
1242
+ # for a transfer.
1211
1243
  #
1212
1244
  # For more information, see [Create an Amazon S3 location][1] in the
1213
1245
  # *DataSync User Guide*.
@@ -1399,33 +1431,27 @@ module Aws::DataSync
1399
1431
  req.send_request(options)
1400
1432
  end
1401
1433
 
1402
- # Creates a task.
1434
+ # Configures a task, which defines where and how DataSync transfers your
1435
+ # data.
1403
1436
  #
1404
- # A task includes a source location and a destination location, and a
1405
- # configuration that specifies how data is transferred. A task always
1406
- # transfers data from the source location to the destination location.
1407
- # The configuration specifies options such as task scheduling, bandwidth
1408
- # limits, etc. A task is the complete definition of a data transfer.
1437
+ # A task includes a source location, a destination location, and the
1438
+ # preferences for how and when you want to transfer your data (such as
1439
+ # bandwidth limits, scheduling, among other options).
1409
1440
  #
1410
1441
  # When you create a task that transfers data between Amazon Web Services
1411
- # services in different Amazon Web Services Regions, one of the two
1412
- # locations that you specify must reside in the Region where DataSync is
1413
- # being used. The other location must be specified in a different
1414
- # Region.
1442
+ # services in different Amazon Web Services Regions, one of your
1443
+ # locations must reside in the Region where you're using DataSync.
1444
+ #
1445
+ # For more information, see the following topics:
1415
1446
  #
1416
- # You can transfer data between commercial Amazon Web Services Regions
1417
- # except for China, or between Amazon Web Services GovCloud (US)
1418
- # Regions.
1447
+ # * [Working with DataSync locations][1]
1419
1448
  #
1420
- # When you use DataSync to copy files or objects between Amazon Web
1421
- # Services Regions, you pay for data transfer between Regions. This is
1422
- # billed as data transfer OUT from your source Region to your
1423
- # destination Region. For more information, see [Data Transfer
1424
- # pricing][1].
1449
+ # * [Configure DataSync task settings][2]
1425
1450
  #
1426
1451
  #
1427
1452
  #
1428
- # [1]: http://aws.amazon.com/ec2/pricing/on-demand/#Data_Transfer
1453
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html
1454
+ # [2]: https://docs.aws.amazon.com/datasync/latest/userguide/create-task.html
1429
1455
  #
1430
1456
  # @option params [required, String] :source_location_arn
1431
1457
  # The Amazon Resource Name (ARN) of the source location for the task.
@@ -1710,8 +1736,8 @@ module Aws::DataSync
1710
1736
  req.send_request(options)
1711
1737
  end
1712
1738
 
1713
- # Returns metadata about an Amazon FSx for Lustre location, such as
1714
- # information about its path.
1739
+ # Provides details about how an DataSync location for an Amazon FSx for
1740
+ # Lustre file system is configured.
1715
1741
  #
1716
1742
  # @option params [required, String] :location_arn
1717
1743
  # The Amazon Resource Name (ARN) of the FSx for Lustre location to
@@ -1750,6 +1776,11 @@ module Aws::DataSync
1750
1776
  # Provides details about how an DataSync location for an Amazon FSx for
1751
1777
  # NetApp ONTAP file system is configured.
1752
1778
  #
1779
+ # <note markdown="1"> If your location uses SMB, the `DescribeLocationFsxOntap` operation
1780
+ # doesn't actually return a `Password`.
1781
+ #
1782
+ # </note>
1783
+ #
1753
1784
  # @option params [required, String] :location_arn
1754
1785
  # Specifies the Amazon Resource Name (ARN) of the FSx for ONTAP file
1755
1786
  # system location that you want information about.
@@ -1794,8 +1825,13 @@ module Aws::DataSync
1794
1825
  req.send_request(options)
1795
1826
  end
1796
1827
 
1797
- # Returns metadata about an Amazon FSx for OpenZFS location, such as
1798
- # information about its path.
1828
+ # Provides details about how an DataSync location for an Amazon FSx for
1829
+ # OpenZFS file system is configured.
1830
+ #
1831
+ # <note markdown="1"> Response elements related to `SMB` aren't supported with the
1832
+ # `DescribeLocationFsxOpenZfs` operation.
1833
+ #
1834
+ # </note>
1799
1835
  #
1800
1836
  # @option params [required, String] :location_arn
1801
1837
  # The Amazon Resource Name (ARN) of the FSx for OpenZFS location to
@@ -1987,6 +2023,7 @@ module Aws::DataSync
1987
2023
  # * {Types::DescribeLocationObjectStorageResponse#server_protocol #server_protocol} => String
1988
2024
  # * {Types::DescribeLocationObjectStorageResponse#agent_arns #agent_arns} => Array&lt;String&gt;
1989
2025
  # * {Types::DescribeLocationObjectStorageResponse#creation_time #creation_time} => Time
2026
+ # * {Types::DescribeLocationObjectStorageResponse#server_certificate #server_certificate} => String
1990
2027
  #
1991
2028
  # @example Request syntax with placeholder values
1992
2029
  #
@@ -2004,6 +2041,7 @@ module Aws::DataSync
2004
2041
  # resp.agent_arns #=> Array
2005
2042
  # resp.agent_arns[0] #=> String
2006
2043
  # resp.creation_time #=> Time
2044
+ # resp.server_certificate #=> String
2007
2045
  #
2008
2046
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationObjectStorage AWS API Documentation
2009
2047
  #
@@ -2194,6 +2232,7 @@ module Aws::DataSync
2194
2232
  # * {Types::DescribeTaskExecutionResponse#bytes_written #bytes_written} => Integer
2195
2233
  # * {Types::DescribeTaskExecutionResponse#bytes_transferred #bytes_transferred} => Integer
2196
2234
  # * {Types::DescribeTaskExecutionResponse#result #result} => Types::TaskExecutionResultDetail
2235
+ # * {Types::DescribeTaskExecutionResponse#bytes_compressed #bytes_compressed} => Integer
2197
2236
  #
2198
2237
  # @example Request syntax with placeholder values
2199
2238
  #
@@ -2241,6 +2280,7 @@ module Aws::DataSync
2241
2280
  # resp.result.verify_status #=> String, one of "PENDING", "SUCCESS", "ERROR"
2242
2281
  # resp.result.error_code #=> String
2243
2282
  # resp.result.error_detail #=> String
2283
+ # resp.bytes_compressed #=> Integer
2244
2284
  #
2245
2285
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeTaskExecution AWS API Documentation
2246
2286
  #
@@ -2446,7 +2486,7 @@ module Aws::DataSync
2446
2486
  req.send_request(options)
2447
2487
  end
2448
2488
 
2449
- # Returns a list of all the tasks.
2489
+ # Returns a list of the DataSync tasks you created.
2450
2490
  #
2451
2491
  # @option params [Integer] :max_results
2452
2492
  # The maximum number of tasks to return.
@@ -2844,48 +2884,56 @@ module Aws::DataSync
2844
2884
  req.send_request(options)
2845
2885
  end
2846
2886
 
2847
- # Updates some of the parameters of a previously created location for
2848
- # self-managed object storage server access. For information about
2849
- # creating a self-managed object storage location, see [Creating a
2850
- # location for object storage][1].
2887
+ # Updates some parameters of an existing object storage location that
2888
+ # DataSync accesses for a transfer. For information about creating a
2889
+ # self-managed object storage location, see [Creating a location for
2890
+ # object storage][1].
2851
2891
  #
2852
2892
  #
2853
2893
  #
2854
2894
  # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html
2855
2895
  #
2856
2896
  # @option params [required, String] :location_arn
2857
- # The Amazon Resource Name (ARN) of the self-managed object storage
2858
- # server location to be updated.
2897
+ # Specifies the ARN of the object storage system location that you're
2898
+ # updating.
2859
2899
  #
2860
2900
  # @option params [Integer] :server_port
2861
- # The port that your self-managed object storage server accepts inbound
2862
- # network traffic on. The server port is set by default to TCP 80 (HTTP)
2863
- # or TCP 443 (HTTPS). You can specify a custom port if your self-managed
2864
- # object storage server requires one.
2901
+ # Specifies the port that your object storage server accepts inbound
2902
+ # network traffic on (for example, port 443).
2865
2903
  #
2866
2904
  # @option params [String] :server_protocol
2867
- # The protocol that the object storage server uses to communicate. Valid
2868
- # values are `HTTP` or `HTTPS`.
2905
+ # Specifies the protocol that your object storage server uses to
2906
+ # communicate.
2869
2907
  #
2870
2908
  # @option params [String] :subdirectory
2871
- # The subdirectory in the self-managed object storage server that is
2872
- # used to read data from.
2909
+ # Specifies the object prefix for your object storage server. If this is
2910
+ # a source location, DataSync only copies objects with this prefix. If
2911
+ # this is a destination location, DataSync writes all objects with this
2912
+ # prefix.
2873
2913
  #
2874
2914
  # @option params [String] :access_key
2875
- # Optional. The access key is used if credentials are required to access
2876
- # the self-managed object storage server. If your object storage
2877
- # requires a user name and password to authenticate, use `AccessKey` and
2878
- # `SecretKey` to provide the user name and password, respectively.
2915
+ # Specifies the access key (for example, a user name) if credentials are
2916
+ # required to authenticate with the object storage server.
2879
2917
  #
2880
2918
  # @option params [String] :secret_key
2881
- # Optional. The secret key is used if credentials are required to access
2882
- # the self-managed object storage server. If your object storage
2883
- # requires a user name and password to authenticate, use `AccessKey` and
2884
- # `SecretKey` to provide the user name and password, respectively.
2919
+ # Specifies the secret key (for example, a password) if credentials are
2920
+ # required to authenticate with the object storage server.
2885
2921
  #
2886
2922
  # @option params [Array<String>] :agent_arns
2887
- # The Amazon Resource Name (ARN) of the agents associated with the
2888
- # self-managed object storage server location.
2923
+ # Specifies the Amazon Resource Names (ARNs) of the DataSync agents that
2924
+ # can securely connect with your location.
2925
+ #
2926
+ # @option params [String, StringIO, File] :server_certificate
2927
+ # Specifies a certificate to authenticate with an object storage system
2928
+ # that uses a private or self-signed certificate authority (CA). You
2929
+ # must specify a Base64-encoded `.pem` file (for example,
2930
+ # `file:///home/user/.ssh/storage_sys_certificate.pem`). The certificate
2931
+ # can be up to 32768 bytes (before Base64 encoding).
2932
+ #
2933
+ # To use this parameter, configure `ServerProtocol` to `HTTPS`.
2934
+ #
2935
+ # Updating the certificate doesn't interfere with tasks that you have
2936
+ # in progress.
2889
2937
  #
2890
2938
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2891
2939
  #
@@ -2899,6 +2947,7 @@ module Aws::DataSync
2899
2947
  # access_key: "ObjectStorageAccessKey",
2900
2948
  # secret_key: "ObjectStorageSecretKey",
2901
2949
  # agent_arns: ["AgentArn"],
2950
+ # server_certificate: "data",
2902
2951
  # })
2903
2952
  #
2904
2953
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationObjectStorage AWS API Documentation
@@ -3177,7 +3226,7 @@ module Aws::DataSync
3177
3226
  params: params,
3178
3227
  config: config)
3179
3228
  context[:gem_name] = 'aws-sdk-datasync'
3180
- context[:gem_version] = '1.48.0'
3229
+ context[:gem_version] = '1.50.0'
3181
3230
  Seahorse::Client::Request.new(handlers, context)
3182
3231
  end
3183
3232
 
@@ -153,6 +153,7 @@ module Aws::DataSync
153
153
  NfsVersion = Shapes::StringShape.new(name: 'NfsVersion')
154
154
  ObjectStorageAccessKey = Shapes::StringShape.new(name: 'ObjectStorageAccessKey')
155
155
  ObjectStorageBucketName = Shapes::StringShape.new(name: 'ObjectStorageBucketName')
156
+ ObjectStorageCertificate = Shapes::BlobShape.new(name: 'ObjectStorageCertificate')
156
157
  ObjectStorageSecretKey = Shapes::StringShape.new(name: 'ObjectStorageSecretKey')
157
158
  ObjectStorageServerPort = Shapes::IntegerShape.new(name: 'ObjectStorageServerPort')
158
159
  ObjectStorageServerProtocol = Shapes::StringShape.new(name: 'ObjectStorageServerProtocol')
@@ -347,6 +348,7 @@ module Aws::DataSync
347
348
  CreateLocationObjectStorageRequest.add_member(:secret_key, Shapes::ShapeRef.new(shape: ObjectStorageSecretKey, location_name: "SecretKey"))
348
349
  CreateLocationObjectStorageRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, required: true, location_name: "AgentArns"))
349
350
  CreateLocationObjectStorageRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
351
+ CreateLocationObjectStorageRequest.add_member(:server_certificate, Shapes::ShapeRef.new(shape: ObjectStorageCertificate, location_name: "ServerCertificate"))
350
352
  CreateLocationObjectStorageRequest.struct_class = Types::CreateLocationObjectStorageRequest
351
353
 
352
354
  CreateLocationObjectStorageResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
@@ -508,6 +510,7 @@ module Aws::DataSync
508
510
  DescribeLocationObjectStorageResponse.add_member(:server_protocol, Shapes::ShapeRef.new(shape: ObjectStorageServerProtocol, location_name: "ServerProtocol"))
509
511
  DescribeLocationObjectStorageResponse.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
510
512
  DescribeLocationObjectStorageResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
513
+ DescribeLocationObjectStorageResponse.add_member(:server_certificate, Shapes::ShapeRef.new(shape: ObjectStorageCertificate, location_name: "ServerCertificate"))
511
514
  DescribeLocationObjectStorageResponse.struct_class = Types::DescribeLocationObjectStorageResponse
512
515
 
513
516
  DescribeLocationS3Request.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
@@ -548,6 +551,7 @@ module Aws::DataSync
548
551
  DescribeTaskExecutionResponse.add_member(:bytes_written, Shapes::ShapeRef.new(shape: long, location_name: "BytesWritten"))
549
552
  DescribeTaskExecutionResponse.add_member(:bytes_transferred, Shapes::ShapeRef.new(shape: long, location_name: "BytesTransferred"))
550
553
  DescribeTaskExecutionResponse.add_member(:result, Shapes::ShapeRef.new(shape: TaskExecutionResultDetail, location_name: "Result"))
554
+ DescribeTaskExecutionResponse.add_member(:bytes_compressed, Shapes::ShapeRef.new(shape: long, location_name: "BytesCompressed"))
551
555
  DescribeTaskExecutionResponse.struct_class = Types::DescribeTaskExecutionResponse
552
556
 
553
557
  DescribeTaskRequest.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, required: true, location_name: "TaskArn"))
@@ -820,6 +824,7 @@ module Aws::DataSync
820
824
  UpdateLocationObjectStorageRequest.add_member(:access_key, Shapes::ShapeRef.new(shape: ObjectStorageAccessKey, location_name: "AccessKey"))
821
825
  UpdateLocationObjectStorageRequest.add_member(:secret_key, Shapes::ShapeRef.new(shape: ObjectStorageSecretKey, location_name: "SecretKey"))
822
826
  UpdateLocationObjectStorageRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
827
+ UpdateLocationObjectStorageRequest.add_member(:server_certificate, Shapes::ShapeRef.new(shape: ObjectStorageCertificate, location_name: "ServerCertificate"))
823
828
  UpdateLocationObjectStorageRequest.struct_class = Types::UpdateLocationObjectStorageRequest
824
829
 
825
830
  UpdateLocationObjectStorageResponse.struct_class = Types::UpdateLocationObjectStorageResponse
@@ -50,7 +50,7 @@ module Aws::DataSync
50
50
  # }
51
51
  #
52
52
  # @!attribute [rw] task_execution_arn
53
- # The Amazon Resource Name (ARN) of the task execution to cancel.
53
+ # The Amazon Resource Name (ARN) of the task execution to stop.
54
54
  # @return [String]
55
55
  #
56
56
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CancelTaskExecutionRequest AWS API Documentation
@@ -378,17 +378,18 @@ module Aws::DataSync
378
378
  # @return [Types::FsxProtocol]
379
379
  #
380
380
  # @!attribute [rw] security_group_arns
381
- # Specifies the security groups that DataSync can use to access your
382
- # FSx for ONTAP file system. You must configure the security groups to
383
- # allow outbound traffic on the following ports (depending on the
384
- # protocol that you're using):
381
+ # Specifies the Amazon EC2 security groups that provide access to your
382
+ # file system's preferred subnet.
385
383
  #
386
- # * **Network File System (NFS)**\: TCP port 2049
384
+ # The security groups must allow outbound traffic on the following
385
+ # ports (depending on the protocol you use):
386
+ #
387
+ # * **Network File System (NFS)**\: TCP ports 111, 635, and 2049
387
388
  #
388
389
  # * **Server Message Block (SMB)**\: TCP port 445
389
390
  #
390
391
  # Your file system's security groups must also allow inbound traffic
391
- # on the same port.
392
+ # on the same ports.
392
393
  # @return [Array<String>]
393
394
  #
394
395
  # @!attribute [rw] storage_virtual_machine_arn
@@ -542,32 +543,41 @@ module Aws::DataSync
542
543
  # }
543
544
  #
544
545
  # @!attribute [rw] subdirectory
545
- # A subdirectory in the location's path. This subdirectory in the
546
- # Amazon FSx for Windows File Server file system is used to read data
547
- # from the Amazon FSx for Windows File Server source location or write
548
- # data to the FSx for Windows File Server destination.
546
+ # Specifies a mount path for your file system using forward slashes.
547
+ # This is where DataSync reads or writes data (depending on if this is
548
+ # a source or destination location).
549
549
  # @return [String]
550
550
  #
551
551
  # @!attribute [rw] fsx_filesystem_arn
552
- # The Amazon Resource Name (ARN) for the FSx for Windows File Server
553
- # file system.
552
+ # Specifies the Amazon Resource Name (ARN) for the FSx for Windows
553
+ # File Server file system.
554
554
  # @return [String]
555
555
  #
556
556
  # @!attribute [rw] security_group_arns
557
- # The ARNs of the security groups that are used to configure the FSx
558
- # for Windows File Server file system.
557
+ # Specifies the ARNs of the security groups that provide access to
558
+ # your file system's preferred subnet.
559
+ #
560
+ # <note markdown="1"> If you choose a security group that doesn't allow connections from
561
+ # within itself, do one of the following:
562
+ #
563
+ # * Configure the security group to allow it to communicate within
564
+ # itself.
565
+ #
566
+ # * Choose a different security group that can communicate with the
567
+ # mount target's security group.
568
+ #
569
+ # </note>
559
570
  # @return [Array<String>]
560
571
  #
561
572
  # @!attribute [rw] tags
562
- # The key-value pair that represents a tag that you want to add to the
563
- # resource. The value can be an empty string. This value helps you
564
- # manage, filter, and search for your resources. We recommend that you
565
- # create a name tag for your location.
573
+ # Specifies labels that help you categorize, filter, and search for
574
+ # your Amazon Web Services resources. We recommend creating at least a
575
+ # name tag for your location.
566
576
  # @return [Array<Types::TagListEntry>]
567
577
  #
568
578
  # @!attribute [rw] user
569
- # The user who has the permissions to access files and folders in the
570
- # FSx for Windows File Server file system.
579
+ # Specifies the user who has the permissions to access files and
580
+ # folders in the file system.
571
581
  #
572
582
  # For information about choosing a user name that ensures sufficient
573
583
  # permissions to files, folders, and metadata, see
@@ -575,13 +585,13 @@ module Aws::DataSync
575
585
  # @return [String]
576
586
  #
577
587
  # @!attribute [rw] domain
578
- # The name of the Windows domain that the FSx for Windows File Server
579
- # belongs to.
588
+ # Specifies the name of the Windows domain that the FSx for Windows
589
+ # File Server belongs to.
580
590
  # @return [String]
581
591
  #
582
592
  # @!attribute [rw] password
583
- # The password of the user who has the permissions to access files and
584
- # folders in the FSx for Windows File Server file system.
593
+ # Specifies the password of the user who has the permissions to access
594
+ # files and folders in the file system.
585
595
  # @return [String]
586
596
  #
587
597
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxWindowsRequest AWS API Documentation
@@ -599,8 +609,8 @@ module Aws::DataSync
599
609
  end
600
610
 
601
611
  # @!attribute [rw] location_arn
602
- # The Amazon Resource Name (ARN) of the FSx for Windows File Server
603
- # file system location you created.
612
+ # The ARN of the FSx for Windows File Server file system location you
613
+ # created.
604
614
  # @return [String]
605
615
  #
606
616
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxWindowsResponse AWS API Documentation
@@ -917,6 +927,7 @@ module Aws::DataSync
917
927
  # value: "TagValue",
918
928
  # },
919
929
  # ],
930
+ # server_certificate: "data",
920
931
  # }
921
932
  #
922
933
  # @!attribute [rw] server_hostname
@@ -969,6 +980,16 @@ module Aws::DataSync
969
980
  # location.
970
981
  # @return [Array<Types::TagListEntry>]
971
982
  #
983
+ # @!attribute [rw] server_certificate
984
+ # Specifies a certificate to authenticate with an object storage
985
+ # system that uses a private or self-signed certificate authority
986
+ # (CA). You must specify a Base64-encoded `.pem` file (for example,
987
+ # `file:///home/user/.ssh/storage_sys_certificate.pem`). The
988
+ # certificate can be up to 32768 bytes (before Base64 encoding).
989
+ #
990
+ # To use this parameter, configure `ServerProtocol` to `HTTPS`.
991
+ # @return [String]
992
+ #
972
993
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationObjectStorageRequest AWS API Documentation
973
994
  #
974
995
  class CreateLocationObjectStorageRequest < Struct.new(
@@ -980,7 +1001,8 @@ module Aws::DataSync
980
1001
  :access_key,
981
1002
  :secret_key,
982
1003
  :agent_arns,
983
- :tags)
1004
+ :tags,
1005
+ :server_certificate)
984
1006
  SENSITIVE = [:secret_key]
985
1007
  include Aws::Structure
986
1008
  end
@@ -2011,7 +2033,7 @@ module Aws::DataSync
2011
2033
  #
2012
2034
  # @!attribute [rw] access_key
2013
2035
  # The access key (for example, a user name) required to authenticate
2014
- # with the object storage server.
2036
+ # with the object storage system.
2015
2037
  # @return [String]
2016
2038
  #
2017
2039
  # @!attribute [rw] server_port
@@ -2020,7 +2042,7 @@ module Aws::DataSync
2020
2042
  # @return [Integer]
2021
2043
  #
2022
2044
  # @!attribute [rw] server_protocol
2023
- # The protocol that your object storage server uses to communicate.
2045
+ # The protocol that your object storage system uses to communicate.
2024
2046
  # @return [String]
2025
2047
  #
2026
2048
  # @!attribute [rw] agent_arns
@@ -2032,6 +2054,11 @@ module Aws::DataSync
2032
2054
  # The time that the location was created.
2033
2055
  # @return [Time]
2034
2056
  #
2057
+ # @!attribute [rw] server_certificate
2058
+ # The self-signed certificate that DataSync uses to securely
2059
+ # authenticate with your object storage system.
2060
+ # @return [String]
2061
+ #
2035
2062
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationObjectStorageResponse AWS API Documentation
2036
2063
  #
2037
2064
  class DescribeLocationObjectStorageResponse < Struct.new(
@@ -2041,7 +2068,8 @@ module Aws::DataSync
2041
2068
  :server_port,
2042
2069
  :server_protocol,
2043
2070
  :agent_arns,
2044
- :creation_time)
2071
+ :creation_time,
2072
+ :server_certificate)
2045
2073
  SENSITIVE = []
2046
2074
  include Aws::Structure
2047
2075
  end
@@ -2317,6 +2345,12 @@ module Aws::DataSync
2317
2345
  # The result of the task execution.
2318
2346
  # @return [Types::TaskExecutionResultDetail]
2319
2347
  #
2348
+ # @!attribute [rw] bytes_compressed
2349
+ # The physical number of bytes transferred over the network after
2350
+ # compression was applied. In most cases, this number is less than
2351
+ # `BytesTransferred`.
2352
+ # @return [Integer]
2353
+ #
2320
2354
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeTaskExecutionResponse AWS API Documentation
2321
2355
  #
2322
2356
  class DescribeTaskExecutionResponse < Struct.new(
@@ -2331,7 +2365,8 @@ module Aws::DataSync
2331
2365
  :files_transferred,
2332
2366
  :bytes_written,
2333
2367
  :bytes_transferred,
2334
- :result)
2368
+ :result,
2369
+ :bytes_compressed)
2335
2370
  SENSITIVE = []
2336
2371
  include Aws::Structure
2337
2372
  end
@@ -2660,7 +2695,37 @@ module Aws::DataSync
2660
2695
  # @return [String]
2661
2696
  #
2662
2697
  # @!attribute [rw] user
2663
- # Specifies a user who has permission to access your SVM.
2698
+ # Specifies a user name that can mount the location and access the
2699
+ # files, folders, and metadata that you need in the SVM.
2700
+ #
2701
+ # If you provide a user in your Active Directory, note the following:
2702
+ #
2703
+ # * If you're using Directory Service for Microsoft Active Directory,
2704
+ # the user must be a member of the Amazon Web Services Delegated FSx
2705
+ # Administrators group.
2706
+ #
2707
+ # * If you're using a self-managed Active Directory, the user must be
2708
+ # a member of either the Domain Admins group or a custom group that
2709
+ # you specified for file system administration when you created your
2710
+ # file system.
2711
+ #
2712
+ # Make sure that the user has the permissions it needs to copy the
2713
+ # data you want:
2714
+ #
2715
+ # * `SE_TCB_NAME`\: Required to set object ownership and file
2716
+ # metadata. With this privilege, you also can copy NTFS
2717
+ # discretionary access lists (DACLs).
2718
+ #
2719
+ # * `SE_SECURITY_NAME`\: May be needed to copy NTFS system access
2720
+ # control lists (SACLs). This operation specifically requires the
2721
+ # Windows privilege, which is granted to members of the Domain
2722
+ # Admins group. If you configure your task to copy SACLs, make sure
2723
+ # that the user has the required privileges. For information about
2724
+ # copying SACLs, see [Ownership and permissions-related options][1].
2725
+ #
2726
+ #
2727
+ #
2728
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-task.html#configure-ownership-and-permissions
2664
2729
  # @return [String]
2665
2730
  #
2666
2731
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/FsxProtocolSmb AWS API Documentation
@@ -3029,10 +3094,16 @@ module Aws::DataSync
3029
3094
  include Aws::Structure
3030
3095
  end
3031
3096
 
3032
- # You can use API filters to narrow down the list of resources returned
3033
- # by `ListLocations`. For example, to retrieve all your Amazon S3
3034
- # locations, you can use `ListLocations` with filter name `LocationType
3035
- # S3` and `Operator Equals`.
3097
+ # Narrow down the list of resources returned by `ListLocations`. For
3098
+ # example, to see all your Amazon S3 locations, create a filter using
3099
+ # `"Name": "LocationType"`, `"Operator": "Equals"`, and `"Values":
3100
+ # "S3"`.
3101
+ #
3102
+ # For more information, see [filtering resources][1].
3103
+ #
3104
+ #
3105
+ #
3106
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/query-resources.html
3036
3107
  #
3037
3108
  # @note When making an API call, you may pass LocationFilter
3038
3109
  # data as a hash:
@@ -3056,12 +3127,7 @@ module Aws::DataSync
3056
3127
  #
3057
3128
  # @!attribute [rw] operator
3058
3129
  # The operator that is used to compare filter values (for example,
3059
- # `Equals` or `Contains`). For more about API filtering operators, see
3060
- # [API filters for ListTasks and ListLocations][1].
3061
- #
3062
- #
3063
- #
3064
- # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/query-resources.html
3130
+ # `Equals` or `Contains`).
3065
3131
  # @return [String]
3066
3132
  #
3067
3133
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/LocationFilter AWS API Documentation
@@ -3929,6 +3995,12 @@ module Aws::DataSync
3929
3995
  # location, you can use `ListTasks` with filter name `LocationId` and
3930
3996
  # `Operator Equals` with the ARN for the location.
3931
3997
  #
3998
+ # For more information, see [filtering DataSync resources][1].
3999
+ #
4000
+ #
4001
+ #
4002
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/query-resources.html
4003
+ #
3932
4004
  # @note When making an API call, you may pass TaskFilter
3933
4005
  # data as a hash:
3934
4006
  #
@@ -3951,12 +4023,7 @@ module Aws::DataSync
3951
4023
  #
3952
4024
  # @!attribute [rw] operator
3953
4025
  # The operator that is used to compare filter values (for example,
3954
- # `Equals` or `Contains`). For more about API filtering operators, see
3955
- # [API filters for ListTasks and ListLocations][1].
3956
- #
3957
- #
3958
- #
3959
- # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/query-resources.html
4026
+ # `Equals` or `Contains`).
3960
4027
  # @return [String]
3961
4028
  #
3962
4029
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/TaskFilter AWS API Documentation
@@ -4297,51 +4364,59 @@ module Aws::DataSync
4297
4364
  # access_key: "ObjectStorageAccessKey",
4298
4365
  # secret_key: "ObjectStorageSecretKey",
4299
4366
  # agent_arns: ["AgentArn"],
4367
+ # server_certificate: "data",
4300
4368
  # }
4301
4369
  #
4302
4370
  # @!attribute [rw] location_arn
4303
- # The Amazon Resource Name (ARN) of the self-managed object storage
4304
- # server location to be updated.
4371
+ # Specifies the ARN of the object storage system location that you're
4372
+ # updating.
4305
4373
  # @return [String]
4306
4374
  #
4307
4375
  # @!attribute [rw] server_port
4308
- # The port that your self-managed object storage server accepts
4309
- # inbound network traffic on. The server port is set by default to TCP
4310
- # 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your
4311
- # self-managed object storage server requires one.
4376
+ # Specifies the port that your object storage server accepts inbound
4377
+ # network traffic on (for example, port 443).
4312
4378
  # @return [Integer]
4313
4379
  #
4314
4380
  # @!attribute [rw] server_protocol
4315
- # The protocol that the object storage server uses to communicate.
4316
- # Valid values are `HTTP` or `HTTPS`.
4381
+ # Specifies the protocol that your object storage server uses to
4382
+ # communicate.
4317
4383
  # @return [String]
4318
4384
  #
4319
4385
  # @!attribute [rw] subdirectory
4320
- # The subdirectory in the self-managed object storage server that is
4321
- # used to read data from.
4386
+ # Specifies the object prefix for your object storage server. If this
4387
+ # is a source location, DataSync only copies objects with this prefix.
4388
+ # If this is a destination location, DataSync writes all objects with
4389
+ # this prefix.
4322
4390
  # @return [String]
4323
4391
  #
4324
4392
  # @!attribute [rw] access_key
4325
- # Optional. The access key is used if credentials are required to
4326
- # access the self-managed object storage server. If your object
4327
- # storage requires a user name and password to authenticate, use
4328
- # `AccessKey` and `SecretKey` to provide the user name and password,
4329
- # respectively.
4393
+ # Specifies the access key (for example, a user name) if credentials
4394
+ # are required to authenticate with the object storage server.
4330
4395
  # @return [String]
4331
4396
  #
4332
4397
  # @!attribute [rw] secret_key
4333
- # Optional. The secret key is used if credentials are required to
4334
- # access the self-managed object storage server. If your object
4335
- # storage requires a user name and password to authenticate, use
4336
- # `AccessKey` and `SecretKey` to provide the user name and password,
4337
- # respectively.
4398
+ # Specifies the secret key (for example, a password) if credentials
4399
+ # are required to authenticate with the object storage server.
4338
4400
  # @return [String]
4339
4401
  #
4340
4402
  # @!attribute [rw] agent_arns
4341
- # The Amazon Resource Name (ARN) of the agents associated with the
4342
- # self-managed object storage server location.
4403
+ # Specifies the Amazon Resource Names (ARNs) of the DataSync agents
4404
+ # that can securely connect with your location.
4343
4405
  # @return [Array<String>]
4344
4406
  #
4407
+ # @!attribute [rw] server_certificate
4408
+ # Specifies a certificate to authenticate with an object storage
4409
+ # system that uses a private or self-signed certificate authority
4410
+ # (CA). You must specify a Base64-encoded `.pem` file (for example,
4411
+ # `file:///home/user/.ssh/storage_sys_certificate.pem`). The
4412
+ # certificate can be up to 32768 bytes (before Base64 encoding).
4413
+ #
4414
+ # To use this parameter, configure `ServerProtocol` to `HTTPS`.
4415
+ #
4416
+ # Updating the certificate doesn't interfere with tasks that you have
4417
+ # in progress.
4418
+ # @return [String]
4419
+ #
4345
4420
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationObjectStorageRequest AWS API Documentation
4346
4421
  #
4347
4422
  class UpdateLocationObjectStorageRequest < Struct.new(
@@ -4351,7 +4426,8 @@ module Aws::DataSync
4351
4426
  :subdirectory,
4352
4427
  :access_key,
4353
4428
  :secret_key,
4354
- :agent_arns)
4429
+ :agent_arns,
4430
+ :server_certificate)
4355
4431
  SENSITIVE = [:secret_key]
4356
4432
  include Aws::Structure
4357
4433
  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.48.0'
51
+ GEM_VERSION = '1.50.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.48.0
4
+ version: 1.50.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: 2022-06-28 00:00:00.000000000 Z
11
+ date: 2022-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core