aws-sdk-datasync 1.93.0 → 1.95.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-datasync/client.rb +499 -37
- data/lib/aws-sdk-datasync/client_api.rb +133 -0
- data/lib/aws-sdk-datasync/types.rb +425 -26
- data/lib/aws-sdk-datasync.rb +1 -1
- data/sig/client.rbs +102 -0
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +78 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34756d3a9dd4e123fe8b82d13858f9d3d50502e1f36d4f789743889ee85ae24f
|
4
|
+
data.tar.gz: 19eb33096ed8e1b6762591e39c70f584f12cc5a683e86e87efada8f072cc1a2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8eae4041af7b37dba720b37fc9210276622ba7ee2a6bd26e406a540ba8182b4c94b4a35924baaadc7f836f9f243b1dae73087f1eb372137de86e6e88e7d241f
|
7
|
+
data.tar.gz: 22523e5ba16fa5657bb9eb76c2ef68d1aa86c2de0ad82525830def992cfa75c5454f80ff536b0fed94dac1e27a4121f0d8e02baefc03cf3a785fe8ea7fb5e18f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.95.0 (2025-01-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.94.0 (2024-12-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS DataSync introduces the ability to update attributes for in-cloud locations.
|
13
|
+
|
4
14
|
1.93.0 (2024-11-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.95.0
|
@@ -257,11 +257,34 @@ module Aws::DataSync
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -771,8 +794,8 @@ module Aws::DataSync
|
|
771
794
|
#
|
772
795
|
# @option params [String] :subdirectory
|
773
796
|
# Specifies a mount path for your Amazon EFS file system. This is where
|
774
|
-
# DataSync reads or writes data
|
775
|
-
#
|
797
|
+
# DataSync reads or writes data on your file system (depending on if
|
798
|
+
# this is a source or destination location).
|
776
799
|
#
|
777
800
|
# By default, DataSync uses the root directory (or [access point][1] if
|
778
801
|
# you provide one by using `AccessPointArn`). You can also include
|
@@ -878,22 +901,35 @@ module Aws::DataSync
|
|
878
901
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-lustre-location.html#create-lustre-location-access
|
879
902
|
#
|
880
903
|
# @option params [required, String] :fsx_filesystem_arn
|
881
|
-
#
|
904
|
+
# Specifies the Amazon Resource Name (ARN) of the FSx for Lustre file
|
905
|
+
# system.
|
882
906
|
#
|
883
907
|
# @option params [required, Array<String>] :security_group_arns
|
884
|
-
#
|
885
|
-
# to
|
908
|
+
# Specifies the Amazon Resource Names (ARNs) of up to five security
|
909
|
+
# groups that provide access to your FSx for Lustre file system.
|
910
|
+
#
|
911
|
+
# The security groups must be able to access the file system's ports.
|
912
|
+
# The file system must also allow access from the security groups. For
|
913
|
+
# information about file system access, see the [ *Amazon FSx for Lustre
|
914
|
+
# User Guide* ][1].
|
915
|
+
#
|
916
|
+
#
|
917
|
+
#
|
918
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/limit-access-security-groups.html
|
886
919
|
#
|
887
920
|
# @option params [String] :subdirectory
|
888
|
-
#
|
889
|
-
#
|
890
|
-
#
|
921
|
+
# Specifies a mount path for your FSx for Lustre file system. The path
|
922
|
+
# can include subdirectories.
|
923
|
+
#
|
924
|
+
# When the location is used as a source, DataSync reads data from the
|
925
|
+
# mount path. When the location is used as a destination, DataSync
|
926
|
+
# writes data to the mount path. If you don't include this parameter,
|
927
|
+
# DataSync uses the file system's root directory (`/`).
|
891
928
|
#
|
892
929
|
# @option params [Array<Types::TagListEntry>] :tags
|
893
|
-
#
|
894
|
-
#
|
895
|
-
#
|
896
|
-
# create a name tag for your location.
|
930
|
+
# Specifies labels that help you categorize, filter, and search for your
|
931
|
+
# Amazon Web Services resources. We recommend creating at least a name
|
932
|
+
# tag for your location.
|
897
933
|
#
|
898
934
|
# @return [Types::CreateLocationFsxLustreResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
899
935
|
#
|
@@ -960,8 +996,8 @@ module Aws::DataSync
|
|
960
996
|
# system where you want to copy data to or from.
|
961
997
|
#
|
962
998
|
# @option params [String] :subdirectory
|
963
|
-
# Specifies a path to the file share in the SVM where you
|
964
|
-
# data.
|
999
|
+
# Specifies a path to the file share in the SVM where you want to
|
1000
|
+
# transfer data to or from.
|
965
1001
|
#
|
966
1002
|
# You can specify a junction path (also known as a mount point), qtree
|
967
1003
|
# path (for NFS file shares), or share name (for SMB file shares). For
|
@@ -1175,8 +1211,8 @@ module Aws::DataSync
|
|
1175
1211
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html#create-fsx-windows-location-permissions
|
1176
1212
|
#
|
1177
1213
|
# @option params [String] :domain
|
1178
|
-
# Specifies the name of the
|
1179
|
-
#
|
1214
|
+
# Specifies the name of the Windows domain that the FSx for Windows File
|
1215
|
+
# Server file system belongs to.
|
1180
1216
|
#
|
1181
1217
|
# If you have multiple Active Directory domains in your environment,
|
1182
1218
|
# configuring this parameter makes sure that DataSync connects to the
|
@@ -1372,16 +1408,9 @@ module Aws::DataSync
|
|
1372
1408
|
# Before you begin, make sure that you understand how DataSync [accesses
|
1373
1409
|
# NFS file servers][1].
|
1374
1410
|
#
|
1375
|
-
# <note markdown="1"> If you're copying data to or from an Snowcone device, you can also
|
1376
|
-
# use `CreateLocationNfs` to create your transfer location. For more
|
1377
|
-
# information, see [Configuring transfers with Snowcone][2].
|
1378
|
-
#
|
1379
|
-
# </note>
|
1380
|
-
#
|
1381
1411
|
#
|
1382
1412
|
#
|
1383
1413
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#accessing-nfs
|
1384
|
-
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/nfs-on-snowcone.html
|
1385
1414
|
#
|
1386
1415
|
# @option params [required, String] :subdirectory
|
1387
1416
|
# Specifies the export path in your NFS file server that you want
|
@@ -1635,7 +1664,8 @@ module Aws::DataSync
|
|
1635
1664
|
# Specifies the Amazon Resource Name (ARN) of the Identity and Access
|
1636
1665
|
# Management (IAM) role that DataSync uses to access your S3 bucket.
|
1637
1666
|
#
|
1638
|
-
# For more information, see [
|
1667
|
+
# For more information, see [Providing DataSync access to S3
|
1668
|
+
# buckets][1].
|
1639
1669
|
#
|
1640
1670
|
#
|
1641
1671
|
#
|
@@ -4040,8 +4070,15 @@ module Aws::DataSync
|
|
4040
4070
|
req.send_request(options)
|
4041
4071
|
end
|
4042
4072
|
|
4043
|
-
# Modifies
|
4044
|
-
# transfer location that you're using with DataSync.
|
4073
|
+
# Modifies the following configurations of the Microsoft Azure Blob
|
4074
|
+
# Storage transfer location that you're using with DataSync.
|
4075
|
+
#
|
4076
|
+
# For more information, see [Configuring DataSync transfers with Azure
|
4077
|
+
# Blob Storage][1].
|
4078
|
+
#
|
4079
|
+
#
|
4080
|
+
#
|
4081
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html
|
4045
4082
|
#
|
4046
4083
|
# @option params [required, String] :location_arn
|
4047
4084
|
# Specifies the ARN of the Azure Blob Storage transfer location that
|
@@ -4116,8 +4153,335 @@ module Aws::DataSync
|
|
4116
4153
|
req.send_request(options)
|
4117
4154
|
end
|
4118
4155
|
|
4119
|
-
#
|
4120
|
-
#
|
4156
|
+
# Modifies the following configuration parameters of the Amazon EFS
|
4157
|
+
# transfer location that you're using with DataSync.
|
4158
|
+
#
|
4159
|
+
# For more information, see [Configuring DataSync transfers with Amazon
|
4160
|
+
# EFS][1].
|
4161
|
+
#
|
4162
|
+
#
|
4163
|
+
#
|
4164
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html
|
4165
|
+
#
|
4166
|
+
# @option params [required, String] :location_arn
|
4167
|
+
# Specifies the Amazon Resource Name (ARN) of the Amazon EFS transfer
|
4168
|
+
# location that you're updating.
|
4169
|
+
#
|
4170
|
+
# @option params [String] :subdirectory
|
4171
|
+
# Specifies a mount path for your Amazon EFS file system. This is where
|
4172
|
+
# DataSync reads or writes data on your file system (depending on if
|
4173
|
+
# this is a source or destination location).
|
4174
|
+
#
|
4175
|
+
# By default, DataSync uses the root directory (or [access point][1] if
|
4176
|
+
# you provide one by using `AccessPointArn`). You can also include
|
4177
|
+
# subdirectories using forward slashes (for example, `/path/to/folder`).
|
4178
|
+
#
|
4179
|
+
#
|
4180
|
+
#
|
4181
|
+
# [1]: https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html
|
4182
|
+
#
|
4183
|
+
# @option params [String] :access_point_arn
|
4184
|
+
# Specifies the Amazon Resource Name (ARN) of the access point that
|
4185
|
+
# DataSync uses to mount your Amazon EFS file system.
|
4186
|
+
#
|
4187
|
+
# For more information, see [Accessing restricted Amazon EFS file
|
4188
|
+
# systems][1].
|
4189
|
+
#
|
4190
|
+
#
|
4191
|
+
#
|
4192
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html#create-efs-location-iam
|
4193
|
+
#
|
4194
|
+
# @option params [String] :file_system_access_role_arn
|
4195
|
+
# Specifies an Identity and Access Management (IAM) role that allows
|
4196
|
+
# DataSync to access your Amazon EFS file system.
|
4197
|
+
#
|
4198
|
+
# For information on creating this role, see [Creating a DataSync IAM
|
4199
|
+
# role for Amazon EFS file system access][1].
|
4200
|
+
#
|
4201
|
+
#
|
4202
|
+
#
|
4203
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html#create-efs-location-iam-role
|
4204
|
+
#
|
4205
|
+
# @option params [String] :in_transit_encryption
|
4206
|
+
# Specifies whether you want DataSync to use Transport Layer Security
|
4207
|
+
# (TLS) 1.2 encryption when it transfers data to or from your Amazon EFS
|
4208
|
+
# file system.
|
4209
|
+
#
|
4210
|
+
# If you specify an access point using `AccessPointArn` or an IAM role
|
4211
|
+
# using `FileSystemAccessRoleArn`, you must set this parameter to
|
4212
|
+
# `TLS1_2`.
|
4213
|
+
#
|
4214
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4215
|
+
#
|
4216
|
+
# @example Request syntax with placeholder values
|
4217
|
+
#
|
4218
|
+
# resp = client.update_location_efs({
|
4219
|
+
# location_arn: "LocationArn", # required
|
4220
|
+
# subdirectory: "EfsSubdirectory",
|
4221
|
+
# access_point_arn: "UpdatedEfsAccessPointArn",
|
4222
|
+
# file_system_access_role_arn: "UpdatedEfsIamRoleArn",
|
4223
|
+
# in_transit_encryption: "NONE", # accepts NONE, TLS1_2
|
4224
|
+
# })
|
4225
|
+
#
|
4226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationEfs AWS API Documentation
|
4227
|
+
#
|
4228
|
+
# @overload update_location_efs(params = {})
|
4229
|
+
# @param [Hash] params ({})
|
4230
|
+
def update_location_efs(params = {}, options = {})
|
4231
|
+
req = build_request(:update_location_efs, params)
|
4232
|
+
req.send_request(options)
|
4233
|
+
end
|
4234
|
+
|
4235
|
+
# Modifies the following configuration parameters of the Amazon FSx for
|
4236
|
+
# Lustre transfer location that you're using with DataSync.
|
4237
|
+
#
|
4238
|
+
# For more information, see [Configuring DataSync transfers with FSx for
|
4239
|
+
# Lustre][1].
|
4240
|
+
#
|
4241
|
+
#
|
4242
|
+
#
|
4243
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-lustre-location.html
|
4244
|
+
#
|
4245
|
+
# @option params [required, String] :location_arn
|
4246
|
+
# Specifies the Amazon Resource Name (ARN) of the FSx for Lustre
|
4247
|
+
# transfer location that you're updating.
|
4248
|
+
#
|
4249
|
+
# @option params [String] :subdirectory
|
4250
|
+
# Specifies a mount path for your FSx for Lustre file system. The path
|
4251
|
+
# can include subdirectories.
|
4252
|
+
#
|
4253
|
+
# When the location is used as a source, DataSync reads data from the
|
4254
|
+
# mount path. When the location is used as a destination, DataSync
|
4255
|
+
# writes data to the mount path. If you don't include this parameter,
|
4256
|
+
# DataSync uses the file system's root directory (`/`).
|
4257
|
+
#
|
4258
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4259
|
+
#
|
4260
|
+
# @example Request syntax with placeholder values
|
4261
|
+
#
|
4262
|
+
# resp = client.update_location_fsx_lustre({
|
4263
|
+
# location_arn: "LocationArn", # required
|
4264
|
+
# subdirectory: "SmbSubdirectory",
|
4265
|
+
# })
|
4266
|
+
#
|
4267
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationFsxLustre AWS API Documentation
|
4268
|
+
#
|
4269
|
+
# @overload update_location_fsx_lustre(params = {})
|
4270
|
+
# @param [Hash] params ({})
|
4271
|
+
def update_location_fsx_lustre(params = {}, options = {})
|
4272
|
+
req = build_request(:update_location_fsx_lustre, params)
|
4273
|
+
req.send_request(options)
|
4274
|
+
end
|
4275
|
+
|
4276
|
+
# Modifies the following configuration parameters of the Amazon FSx for
|
4277
|
+
# NetApp ONTAP transfer location that you're using with DataSync.
|
4278
|
+
#
|
4279
|
+
# For more information, see [Configuring DataSync transfers with FSx for
|
4280
|
+
# ONTAP][1].
|
4281
|
+
#
|
4282
|
+
#
|
4283
|
+
#
|
4284
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-ontap-location.html
|
4285
|
+
#
|
4286
|
+
# @option params [required, String] :location_arn
|
4287
|
+
# Specifies the Amazon Resource Name (ARN) of the FSx for ONTAP transfer
|
4288
|
+
# location that you're updating.
|
4289
|
+
#
|
4290
|
+
# @option params [Types::FsxUpdateProtocol] :protocol
|
4291
|
+
# Specifies the data transfer protocol that DataSync uses to access your
|
4292
|
+
# Amazon FSx file system.
|
4293
|
+
#
|
4294
|
+
# @option params [String] :subdirectory
|
4295
|
+
# Specifies a path to the file share in the storage virtual machine
|
4296
|
+
# (SVM) where you want to transfer data to or from.
|
4297
|
+
#
|
4298
|
+
# You can specify a junction path (also known as a mount point), qtree
|
4299
|
+
# path (for NFS file shares), or share name (for SMB file shares). For
|
4300
|
+
# example, your mount path might be `/vol1`, `/vol1/tree1`, or
|
4301
|
+
# `/share1`.
|
4302
|
+
#
|
4303
|
+
# <note markdown="1"> Don't specify a junction path in the SVM's root volume. For more
|
4304
|
+
# information, see [Managing FSx for ONTAP storage virtual machines][1]
|
4305
|
+
# in the *Amazon FSx for NetApp ONTAP User Guide*.
|
4306
|
+
#
|
4307
|
+
# </note>
|
4308
|
+
#
|
4309
|
+
#
|
4310
|
+
#
|
4311
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-svms.html
|
4312
|
+
#
|
4313
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4314
|
+
#
|
4315
|
+
# @example Request syntax with placeholder values
|
4316
|
+
#
|
4317
|
+
# resp = client.update_location_fsx_ontap({
|
4318
|
+
# location_arn: "LocationArn", # required
|
4319
|
+
# protocol: {
|
4320
|
+
# nfs: {
|
4321
|
+
# mount_options: {
|
4322
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
|
4323
|
+
# },
|
4324
|
+
# },
|
4325
|
+
# smb: {
|
4326
|
+
# domain: "FsxUpdateSmbDomain",
|
4327
|
+
# mount_options: {
|
4328
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3, SMB1, SMB2_0
|
4329
|
+
# },
|
4330
|
+
# password: "SmbPassword",
|
4331
|
+
# user: "SmbUser",
|
4332
|
+
# },
|
4333
|
+
# },
|
4334
|
+
# subdirectory: "FsxOntapSubdirectory",
|
4335
|
+
# })
|
4336
|
+
#
|
4337
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationFsxOntap AWS API Documentation
|
4338
|
+
#
|
4339
|
+
# @overload update_location_fsx_ontap(params = {})
|
4340
|
+
# @param [Hash] params ({})
|
4341
|
+
def update_location_fsx_ontap(params = {}, options = {})
|
4342
|
+
req = build_request(:update_location_fsx_ontap, params)
|
4343
|
+
req.send_request(options)
|
4344
|
+
end
|
4345
|
+
|
4346
|
+
# Modifies the following configuration parameters of the Amazon FSx for
|
4347
|
+
# OpenZFS transfer location that you're using with DataSync.
|
4348
|
+
#
|
4349
|
+
# For more information, see [Configuring DataSync transfers with FSx for
|
4350
|
+
# OpenZFS][1].
|
4351
|
+
#
|
4352
|
+
# <note markdown="1"> Request parameters related to `SMB` aren't supported with the
|
4353
|
+
# `UpdateLocationFsxOpenZfs` operation.
|
4354
|
+
#
|
4355
|
+
# </note>
|
4356
|
+
#
|
4357
|
+
#
|
4358
|
+
#
|
4359
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-openzfs-location.html
|
4360
|
+
#
|
4361
|
+
# @option params [required, String] :location_arn
|
4362
|
+
# Specifies the Amazon Resource Name (ARN) of the FSx for OpenZFS
|
4363
|
+
# transfer location that you're updating.
|
4364
|
+
#
|
4365
|
+
# @option params [Types::FsxProtocol] :protocol
|
4366
|
+
# Specifies the data transfer protocol that DataSync uses to access your
|
4367
|
+
# Amazon FSx file system.
|
4368
|
+
#
|
4369
|
+
# @option params [String] :subdirectory
|
4370
|
+
# Specifies a subdirectory in the location's path that must begin with
|
4371
|
+
# `/fsx`. DataSync uses this subdirectory to read or write data
|
4372
|
+
# (depending on whether the file system is a source or destination
|
4373
|
+
# location).
|
4374
|
+
#
|
4375
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4376
|
+
#
|
4377
|
+
# @example Request syntax with placeholder values
|
4378
|
+
#
|
4379
|
+
# resp = client.update_location_fsx_open_zfs({
|
4380
|
+
# location_arn: "LocationArn", # required
|
4381
|
+
# protocol: {
|
4382
|
+
# nfs: {
|
4383
|
+
# mount_options: {
|
4384
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
|
4385
|
+
# },
|
4386
|
+
# },
|
4387
|
+
# smb: {
|
4388
|
+
# domain: "SmbDomain",
|
4389
|
+
# mount_options: {
|
4390
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3, SMB1, SMB2_0
|
4391
|
+
# },
|
4392
|
+
# password: "SmbPassword", # required
|
4393
|
+
# user: "SmbUser", # required
|
4394
|
+
# },
|
4395
|
+
# },
|
4396
|
+
# subdirectory: "SmbSubdirectory",
|
4397
|
+
# })
|
4398
|
+
#
|
4399
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationFsxOpenZfs AWS API Documentation
|
4400
|
+
#
|
4401
|
+
# @overload update_location_fsx_open_zfs(params = {})
|
4402
|
+
# @param [Hash] params ({})
|
4403
|
+
def update_location_fsx_open_zfs(params = {}, options = {})
|
4404
|
+
req = build_request(:update_location_fsx_open_zfs, params)
|
4405
|
+
req.send_request(options)
|
4406
|
+
end
|
4407
|
+
|
4408
|
+
# Modifies the following configuration parameters of the Amazon FSx for
|
4409
|
+
# Windows File Server transfer location that you're using with
|
4410
|
+
# DataSync.
|
4411
|
+
#
|
4412
|
+
# For more information, see [Configuring DataSync transfers with FSx for
|
4413
|
+
# Windows File Server][1].
|
4414
|
+
#
|
4415
|
+
#
|
4416
|
+
#
|
4417
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html
|
4418
|
+
#
|
4419
|
+
# @option params [required, String] :location_arn
|
4420
|
+
# Specifies the ARN of the FSx for Windows File Server transfer location
|
4421
|
+
# that you're updating.
|
4422
|
+
#
|
4423
|
+
# @option params [String] :subdirectory
|
4424
|
+
# Specifies a mount path for your file system using forward slashes.
|
4425
|
+
# DataSync uses this subdirectory to read or write data (depending on
|
4426
|
+
# whether the file system is a source or destination location).
|
4427
|
+
#
|
4428
|
+
# @option params [String] :domain
|
4429
|
+
# Specifies the name of the Windows domain that your FSx for Windows
|
4430
|
+
# File Server file system belongs to.
|
4431
|
+
#
|
4432
|
+
# If you have multiple Active Directory domains in your environment,
|
4433
|
+
# configuring this parameter makes sure that DataSync connects to the
|
4434
|
+
# right file system.
|
4435
|
+
#
|
4436
|
+
# @option params [String] :user
|
4437
|
+
# Specifies the user with the permissions to mount and access the files,
|
4438
|
+
# folders, and file metadata in your FSx for Windows File Server file
|
4439
|
+
# system.
|
4440
|
+
#
|
4441
|
+
# For information about choosing a user with the right level of access
|
4442
|
+
# for your transfer, see [required permissions][1] for FSx for Windows
|
4443
|
+
# File Server locations.
|
4444
|
+
#
|
4445
|
+
#
|
4446
|
+
#
|
4447
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html#create-fsx-windows-location-permissions
|
4448
|
+
#
|
4449
|
+
# @option params [String] :password
|
4450
|
+
# Specifies the password of the user with the permissions to mount and
|
4451
|
+
# access the files, folders, and file metadata in your FSx for Windows
|
4452
|
+
# File Server file system.
|
4453
|
+
#
|
4454
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4455
|
+
#
|
4456
|
+
# @example Request syntax with placeholder values
|
4457
|
+
#
|
4458
|
+
# resp = client.update_location_fsx_windows({
|
4459
|
+
# location_arn: "LocationArn", # required
|
4460
|
+
# subdirectory: "FsxWindowsSubdirectory",
|
4461
|
+
# domain: "FsxUpdateSmbDomain",
|
4462
|
+
# user: "SmbUser",
|
4463
|
+
# password: "SmbPassword",
|
4464
|
+
# })
|
4465
|
+
#
|
4466
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationFsxWindows AWS API Documentation
|
4467
|
+
#
|
4468
|
+
# @overload update_location_fsx_windows(params = {})
|
4469
|
+
# @param [Hash] params ({})
|
4470
|
+
def update_location_fsx_windows(params = {}, options = {})
|
4471
|
+
req = build_request(:update_location_fsx_windows, params)
|
4472
|
+
req.send_request(options)
|
4473
|
+
end
|
4474
|
+
|
4475
|
+
# Modifies the following configuration parameters of the Hadoop
|
4476
|
+
# Distributed File System (HDFS) transfer location that you're using
|
4477
|
+
# with DataSync.
|
4478
|
+
#
|
4479
|
+
# For more information, see [Configuring DataSync transfers with an HDFS
|
4480
|
+
# cluster][1].
|
4481
|
+
#
|
4482
|
+
#
|
4483
|
+
#
|
4484
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-hdfs-location.html
|
4121
4485
|
#
|
4122
4486
|
# @option params [required, String] :location_arn
|
4123
4487
|
# The Amazon Resource Name (ARN) of the source HDFS cluster location.
|
@@ -4212,11 +4576,11 @@ module Aws::DataSync
|
|
4212
4576
|
req.send_request(options)
|
4213
4577
|
end
|
4214
4578
|
|
4215
|
-
# Modifies
|
4216
|
-
# location that you're using with DataSync.
|
4579
|
+
# Modifies the following configuration parameters of the Network File
|
4580
|
+
# System (NFS) transfer location that you're using with DataSync.
|
4217
4581
|
#
|
4218
|
-
# For more information, see [Configuring transfers
|
4219
|
-
#
|
4582
|
+
# For more information, see [Configuring transfers with an NFS file
|
4583
|
+
# server][1].
|
4220
4584
|
#
|
4221
4585
|
#
|
4222
4586
|
#
|
@@ -4269,8 +4633,15 @@ module Aws::DataSync
|
|
4269
4633
|
req.send_request(options)
|
4270
4634
|
end
|
4271
4635
|
|
4272
|
-
#
|
4273
|
-
#
|
4636
|
+
# Modifies the following configuration parameters of the object storage
|
4637
|
+
# transfer location that you're using with DataSync.
|
4638
|
+
#
|
4639
|
+
# For more information, see [Configuring DataSync transfers with an
|
4640
|
+
# object storage system][1].
|
4641
|
+
#
|
4642
|
+
#
|
4643
|
+
#
|
4644
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html
|
4274
4645
|
#
|
4275
4646
|
# @option params [required, String] :location_arn
|
4276
4647
|
# Specifies the ARN of the object storage system location that you're
|
@@ -4354,8 +4725,99 @@ module Aws::DataSync
|
|
4354
4725
|
req.send_request(options)
|
4355
4726
|
end
|
4356
4727
|
|
4357
|
-
#
|
4358
|
-
#
|
4728
|
+
# Modifies the following configuration parameters of the Amazon S3
|
4729
|
+
# transfer location that you're using with DataSync.
|
4730
|
+
#
|
4731
|
+
# Before you begin, make sure that you read the following topics:
|
4732
|
+
#
|
4733
|
+
# * [Storage class considerations with Amazon S3 locations][1]
|
4734
|
+
#
|
4735
|
+
# * [Evaluating S3 request costs when using DataSync][2]
|
4736
|
+
#
|
4737
|
+
#
|
4738
|
+
#
|
4739
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes
|
4740
|
+
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3-location-s3-requests
|
4741
|
+
#
|
4742
|
+
# @option params [required, String] :location_arn
|
4743
|
+
# Specifies the Amazon Resource Name (ARN) of the Amazon S3 transfer
|
4744
|
+
# location that you're updating.
|
4745
|
+
#
|
4746
|
+
# @option params [String] :subdirectory
|
4747
|
+
# Specifies a prefix in the S3 bucket that DataSync reads from or writes
|
4748
|
+
# to (depending on whether the bucket is a source or destination
|
4749
|
+
# location).
|
4750
|
+
#
|
4751
|
+
# <note markdown="1"> DataSync can't transfer objects with a prefix that begins with a
|
4752
|
+
# slash (`/`) or includes `//`, `/./`, or `/../` patterns. For example:
|
4753
|
+
#
|
4754
|
+
# * `/photos`
|
4755
|
+
#
|
4756
|
+
# * `photos//2006/January`
|
4757
|
+
#
|
4758
|
+
# * `photos/./2006/February`
|
4759
|
+
#
|
4760
|
+
# * `photos/../2006/March`
|
4761
|
+
#
|
4762
|
+
# </note>
|
4763
|
+
#
|
4764
|
+
# @option params [String] :s3_storage_class
|
4765
|
+
# Specifies the storage class that you want your objects to use when
|
4766
|
+
# Amazon S3 is a transfer destination.
|
4767
|
+
#
|
4768
|
+
# For buckets in Amazon Web Services Regions, the storage class defaults
|
4769
|
+
# to `STANDARD`. For buckets on Outposts, the storage class defaults to
|
4770
|
+
# `OUTPOSTS`.
|
4771
|
+
#
|
4772
|
+
# For more information, see [Storage class considerations with Amazon S3
|
4773
|
+
# transfers][1].
|
4774
|
+
#
|
4775
|
+
#
|
4776
|
+
#
|
4777
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes
|
4778
|
+
#
|
4779
|
+
# @option params [Types::S3Config] :s3_config
|
4780
|
+
# Specifies the Amazon Resource Name (ARN) of the Identity and Access
|
4781
|
+
# Management (IAM) role that DataSync uses to access your S3 bucket.
|
4782
|
+
#
|
4783
|
+
# For more information, see [Providing DataSync access to S3
|
4784
|
+
# buckets][1].
|
4785
|
+
#
|
4786
|
+
#
|
4787
|
+
#
|
4788
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3-location-access
|
4789
|
+
#
|
4790
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4791
|
+
#
|
4792
|
+
# @example Request syntax with placeholder values
|
4793
|
+
#
|
4794
|
+
# resp = client.update_location_s3({
|
4795
|
+
# location_arn: "LocationArn", # required
|
4796
|
+
# subdirectory: "S3Subdirectory",
|
4797
|
+
# s3_storage_class: "STANDARD", # accepts STANDARD, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_INSTANT_RETRIEVAL
|
4798
|
+
# s3_config: {
|
4799
|
+
# bucket_access_role_arn: "IamRoleArn", # required
|
4800
|
+
# },
|
4801
|
+
# })
|
4802
|
+
#
|
4803
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationS3 AWS API Documentation
|
4804
|
+
#
|
4805
|
+
# @overload update_location_s3(params = {})
|
4806
|
+
# @param [Hash] params ({})
|
4807
|
+
def update_location_s3(params = {}, options = {})
|
4808
|
+
req = build_request(:update_location_s3, params)
|
4809
|
+
req.send_request(options)
|
4810
|
+
end
|
4811
|
+
|
4812
|
+
# Modifies the following configuration parameters of the Server Message
|
4813
|
+
# Block (SMB) transfer location that you're using with DataSync.
|
4814
|
+
#
|
4815
|
+
# For more information, see [Configuring DataSync transfers with an SMB
|
4816
|
+
# file server][1].
|
4817
|
+
#
|
4818
|
+
#
|
4819
|
+
#
|
4820
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html
|
4359
4821
|
#
|
4360
4822
|
# @option params [required, String] :location_arn
|
4361
4823
|
# Specifies the ARN of the SMB location that you want to update.
|
@@ -4774,7 +5236,7 @@ module Aws::DataSync
|
|
4774
5236
|
tracer: tracer
|
4775
5237
|
)
|
4776
5238
|
context[:gem_name] = 'aws-sdk-datasync'
|
4777
|
-
context[:gem_version] = '1.
|
5239
|
+
context[:gem_version] = '1.95.0'
|
4778
5240
|
Seahorse::Client::Request.new(handlers, context)
|
4779
5241
|
end
|
4780
5242
|
|