aws-sdk-datasync 1.93.0 → 1.94.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-datasync/client.rb +476 -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 +100 -0
- data/sig/types.rbs +78 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 832364c5fe9a0bd0b1094381d6f164612da39a394b866871ed1fc7290fc94b88
|
4
|
+
data.tar.gz: 2da3850e292ba56d4d4aa861916421c956068d44ba668247086d48a77f6b37a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6495355629e83b7ec6311ed8143831c9e64ab0fcd7ee91e0e3fae999c766945c5b44ea2f13d7b73aca4ef4bb1670f02de374f4f73c305b4964a8ff130aa95cac
|
7
|
+
data.tar.gz: 514017c50d76ece0e9645120ed3d23b704d74fd2f12acabf55f299609ae57dfda1740479e7c03905f0e251a0c9bd6036db931032931bf4591272a0e257b8db19
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.94.0
|
@@ -771,8 +771,8 @@ module Aws::DataSync
|
|
771
771
|
#
|
772
772
|
# @option params [String] :subdirectory
|
773
773
|
# Specifies a mount path for your Amazon EFS file system. This is where
|
774
|
-
# DataSync reads or writes data
|
775
|
-
#
|
774
|
+
# DataSync reads or writes data on your file system (depending on if
|
775
|
+
# this is a source or destination location).
|
776
776
|
#
|
777
777
|
# By default, DataSync uses the root directory (or [access point][1] if
|
778
778
|
# you provide one by using `AccessPointArn`). You can also include
|
@@ -878,22 +878,35 @@ module Aws::DataSync
|
|
878
878
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-lustre-location.html#create-lustre-location-access
|
879
879
|
#
|
880
880
|
# @option params [required, String] :fsx_filesystem_arn
|
881
|
-
#
|
881
|
+
# Specifies the Amazon Resource Name (ARN) of the FSx for Lustre file
|
882
|
+
# system.
|
882
883
|
#
|
883
884
|
# @option params [required, Array<String>] :security_group_arns
|
884
|
-
#
|
885
|
-
# to
|
885
|
+
# Specifies the Amazon Resource Names (ARNs) of up to five security
|
886
|
+
# groups that provide access to your FSx for Lustre file system.
|
887
|
+
#
|
888
|
+
# The security groups must be able to access the file system's ports.
|
889
|
+
# The file system must also allow access from the security groups. For
|
890
|
+
# information about file system access, see the [ *Amazon FSx for Lustre
|
891
|
+
# User Guide* ][1].
|
892
|
+
#
|
893
|
+
#
|
894
|
+
#
|
895
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/limit-access-security-groups.html
|
886
896
|
#
|
887
897
|
# @option params [String] :subdirectory
|
888
|
-
#
|
889
|
-
#
|
890
|
-
#
|
898
|
+
# Specifies a mount path for your FSx for Lustre file system. The path
|
899
|
+
# can include subdirectories.
|
900
|
+
#
|
901
|
+
# When the location is used as a source, DataSync reads data from the
|
902
|
+
# mount path. When the location is used as a destination, DataSync
|
903
|
+
# writes data to the mount path. If you don't include this parameter,
|
904
|
+
# DataSync uses the file system's root directory (`/`).
|
891
905
|
#
|
892
906
|
# @option params [Array<Types::TagListEntry>] :tags
|
893
|
-
#
|
894
|
-
#
|
895
|
-
#
|
896
|
-
# create a name tag for your location.
|
907
|
+
# Specifies labels that help you categorize, filter, and search for your
|
908
|
+
# Amazon Web Services resources. We recommend creating at least a name
|
909
|
+
# tag for your location.
|
897
910
|
#
|
898
911
|
# @return [Types::CreateLocationFsxLustreResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
899
912
|
#
|
@@ -960,8 +973,8 @@ module Aws::DataSync
|
|
960
973
|
# system where you want to copy data to or from.
|
961
974
|
#
|
962
975
|
# @option params [String] :subdirectory
|
963
|
-
# Specifies a path to the file share in the SVM where you
|
964
|
-
# data.
|
976
|
+
# Specifies a path to the file share in the SVM where you want to
|
977
|
+
# transfer data to or from.
|
965
978
|
#
|
966
979
|
# You can specify a junction path (also known as a mount point), qtree
|
967
980
|
# path (for NFS file shares), or share name (for SMB file shares). For
|
@@ -1175,8 +1188,8 @@ module Aws::DataSync
|
|
1175
1188
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html#create-fsx-windows-location-permissions
|
1176
1189
|
#
|
1177
1190
|
# @option params [String] :domain
|
1178
|
-
# Specifies the name of the
|
1179
|
-
#
|
1191
|
+
# Specifies the name of the Windows domain that the FSx for Windows File
|
1192
|
+
# Server file system belongs to.
|
1180
1193
|
#
|
1181
1194
|
# If you have multiple Active Directory domains in your environment,
|
1182
1195
|
# configuring this parameter makes sure that DataSync connects to the
|
@@ -1372,16 +1385,9 @@ module Aws::DataSync
|
|
1372
1385
|
# Before you begin, make sure that you understand how DataSync [accesses
|
1373
1386
|
# NFS file servers][1].
|
1374
1387
|
#
|
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
1388
|
#
|
1382
1389
|
#
|
1383
1390
|
# [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
1391
|
#
|
1386
1392
|
# @option params [required, String] :subdirectory
|
1387
1393
|
# Specifies the export path in your NFS file server that you want
|
@@ -1635,7 +1641,8 @@ module Aws::DataSync
|
|
1635
1641
|
# Specifies the Amazon Resource Name (ARN) of the Identity and Access
|
1636
1642
|
# Management (IAM) role that DataSync uses to access your S3 bucket.
|
1637
1643
|
#
|
1638
|
-
# For more information, see [
|
1644
|
+
# For more information, see [Providing DataSync access to S3
|
1645
|
+
# buckets][1].
|
1639
1646
|
#
|
1640
1647
|
#
|
1641
1648
|
#
|
@@ -4040,8 +4047,15 @@ module Aws::DataSync
|
|
4040
4047
|
req.send_request(options)
|
4041
4048
|
end
|
4042
4049
|
|
4043
|
-
# Modifies
|
4044
|
-
# transfer location that you're using with DataSync.
|
4050
|
+
# Modifies the following configurations of the Microsoft Azure Blob
|
4051
|
+
# Storage transfer location that you're using with DataSync.
|
4052
|
+
#
|
4053
|
+
# For more information, see [Configuring DataSync transfers with Azure
|
4054
|
+
# Blob Storage][1].
|
4055
|
+
#
|
4056
|
+
#
|
4057
|
+
#
|
4058
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html
|
4045
4059
|
#
|
4046
4060
|
# @option params [required, String] :location_arn
|
4047
4061
|
# Specifies the ARN of the Azure Blob Storage transfer location that
|
@@ -4116,8 +4130,335 @@ module Aws::DataSync
|
|
4116
4130
|
req.send_request(options)
|
4117
4131
|
end
|
4118
4132
|
|
4119
|
-
#
|
4120
|
-
#
|
4133
|
+
# Modifies the following configuration parameters of the Amazon EFS
|
4134
|
+
# transfer location that you're using with DataSync.
|
4135
|
+
#
|
4136
|
+
# For more information, see [Configuring DataSync transfers with Amazon
|
4137
|
+
# EFS][1].
|
4138
|
+
#
|
4139
|
+
#
|
4140
|
+
#
|
4141
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html
|
4142
|
+
#
|
4143
|
+
# @option params [required, String] :location_arn
|
4144
|
+
# Specifies the Amazon Resource Name (ARN) of the Amazon EFS transfer
|
4145
|
+
# location that you're updating.
|
4146
|
+
#
|
4147
|
+
# @option params [String] :subdirectory
|
4148
|
+
# Specifies a mount path for your Amazon EFS file system. This is where
|
4149
|
+
# DataSync reads or writes data on your file system (depending on if
|
4150
|
+
# this is a source or destination location).
|
4151
|
+
#
|
4152
|
+
# By default, DataSync uses the root directory (or [access point][1] if
|
4153
|
+
# you provide one by using `AccessPointArn`). You can also include
|
4154
|
+
# subdirectories using forward slashes (for example, `/path/to/folder`).
|
4155
|
+
#
|
4156
|
+
#
|
4157
|
+
#
|
4158
|
+
# [1]: https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html
|
4159
|
+
#
|
4160
|
+
# @option params [String] :access_point_arn
|
4161
|
+
# Specifies the Amazon Resource Name (ARN) of the access point that
|
4162
|
+
# DataSync uses to mount your Amazon EFS file system.
|
4163
|
+
#
|
4164
|
+
# For more information, see [Accessing restricted Amazon EFS file
|
4165
|
+
# systems][1].
|
4166
|
+
#
|
4167
|
+
#
|
4168
|
+
#
|
4169
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html#create-efs-location-iam
|
4170
|
+
#
|
4171
|
+
# @option params [String] :file_system_access_role_arn
|
4172
|
+
# Specifies an Identity and Access Management (IAM) role that allows
|
4173
|
+
# DataSync to access your Amazon EFS file system.
|
4174
|
+
#
|
4175
|
+
# For information on creating this role, see [Creating a DataSync IAM
|
4176
|
+
# role for Amazon EFS file system access][1].
|
4177
|
+
#
|
4178
|
+
#
|
4179
|
+
#
|
4180
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html#create-efs-location-iam-role
|
4181
|
+
#
|
4182
|
+
# @option params [String] :in_transit_encryption
|
4183
|
+
# Specifies whether you want DataSync to use Transport Layer Security
|
4184
|
+
# (TLS) 1.2 encryption when it transfers data to or from your Amazon EFS
|
4185
|
+
# file system.
|
4186
|
+
#
|
4187
|
+
# If you specify an access point using `AccessPointArn` or an IAM role
|
4188
|
+
# using `FileSystemAccessRoleArn`, you must set this parameter to
|
4189
|
+
# `TLS1_2`.
|
4190
|
+
#
|
4191
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4192
|
+
#
|
4193
|
+
# @example Request syntax with placeholder values
|
4194
|
+
#
|
4195
|
+
# resp = client.update_location_efs({
|
4196
|
+
# location_arn: "LocationArn", # required
|
4197
|
+
# subdirectory: "EfsSubdirectory",
|
4198
|
+
# access_point_arn: "UpdatedEfsAccessPointArn",
|
4199
|
+
# file_system_access_role_arn: "UpdatedEfsIamRoleArn",
|
4200
|
+
# in_transit_encryption: "NONE", # accepts NONE, TLS1_2
|
4201
|
+
# })
|
4202
|
+
#
|
4203
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationEfs AWS API Documentation
|
4204
|
+
#
|
4205
|
+
# @overload update_location_efs(params = {})
|
4206
|
+
# @param [Hash] params ({})
|
4207
|
+
def update_location_efs(params = {}, options = {})
|
4208
|
+
req = build_request(:update_location_efs, params)
|
4209
|
+
req.send_request(options)
|
4210
|
+
end
|
4211
|
+
|
4212
|
+
# Modifies the following configuration parameters of the Amazon FSx for
|
4213
|
+
# Lustre transfer location that you're using with DataSync.
|
4214
|
+
#
|
4215
|
+
# For more information, see [Configuring DataSync transfers with FSx for
|
4216
|
+
# Lustre][1].
|
4217
|
+
#
|
4218
|
+
#
|
4219
|
+
#
|
4220
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-lustre-location.html
|
4221
|
+
#
|
4222
|
+
# @option params [required, String] :location_arn
|
4223
|
+
# Specifies the Amazon Resource Name (ARN) of the FSx for Lustre
|
4224
|
+
# transfer location that you're updating.
|
4225
|
+
#
|
4226
|
+
# @option params [String] :subdirectory
|
4227
|
+
# Specifies a mount path for your FSx for Lustre file system. The path
|
4228
|
+
# can include subdirectories.
|
4229
|
+
#
|
4230
|
+
# When the location is used as a source, DataSync reads data from the
|
4231
|
+
# mount path. When the location is used as a destination, DataSync
|
4232
|
+
# writes data to the mount path. If you don't include this parameter,
|
4233
|
+
# DataSync uses the file system's root directory (`/`).
|
4234
|
+
#
|
4235
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4236
|
+
#
|
4237
|
+
# @example Request syntax with placeholder values
|
4238
|
+
#
|
4239
|
+
# resp = client.update_location_fsx_lustre({
|
4240
|
+
# location_arn: "LocationArn", # required
|
4241
|
+
# subdirectory: "SmbSubdirectory",
|
4242
|
+
# })
|
4243
|
+
#
|
4244
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationFsxLustre AWS API Documentation
|
4245
|
+
#
|
4246
|
+
# @overload update_location_fsx_lustre(params = {})
|
4247
|
+
# @param [Hash] params ({})
|
4248
|
+
def update_location_fsx_lustre(params = {}, options = {})
|
4249
|
+
req = build_request(:update_location_fsx_lustre, params)
|
4250
|
+
req.send_request(options)
|
4251
|
+
end
|
4252
|
+
|
4253
|
+
# Modifies the following configuration parameters of the Amazon FSx for
|
4254
|
+
# NetApp ONTAP transfer location that you're using with DataSync.
|
4255
|
+
#
|
4256
|
+
# For more information, see [Configuring DataSync transfers with FSx for
|
4257
|
+
# ONTAP][1].
|
4258
|
+
#
|
4259
|
+
#
|
4260
|
+
#
|
4261
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-ontap-location.html
|
4262
|
+
#
|
4263
|
+
# @option params [required, String] :location_arn
|
4264
|
+
# Specifies the Amazon Resource Name (ARN) of the FSx for ONTAP transfer
|
4265
|
+
# location that you're updating.
|
4266
|
+
#
|
4267
|
+
# @option params [Types::FsxUpdateProtocol] :protocol
|
4268
|
+
# Specifies the data transfer protocol that DataSync uses to access your
|
4269
|
+
# Amazon FSx file system.
|
4270
|
+
#
|
4271
|
+
# @option params [String] :subdirectory
|
4272
|
+
# Specifies a path to the file share in the storage virtual machine
|
4273
|
+
# (SVM) where you want to transfer data to or from.
|
4274
|
+
#
|
4275
|
+
# You can specify a junction path (also known as a mount point), qtree
|
4276
|
+
# path (for NFS file shares), or share name (for SMB file shares). For
|
4277
|
+
# example, your mount path might be `/vol1`, `/vol1/tree1`, or
|
4278
|
+
# `/share1`.
|
4279
|
+
#
|
4280
|
+
# <note markdown="1"> Don't specify a junction path in the SVM's root volume. For more
|
4281
|
+
# information, see [Managing FSx for ONTAP storage virtual machines][1]
|
4282
|
+
# in the *Amazon FSx for NetApp ONTAP User Guide*.
|
4283
|
+
#
|
4284
|
+
# </note>
|
4285
|
+
#
|
4286
|
+
#
|
4287
|
+
#
|
4288
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-svms.html
|
4289
|
+
#
|
4290
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4291
|
+
#
|
4292
|
+
# @example Request syntax with placeholder values
|
4293
|
+
#
|
4294
|
+
# resp = client.update_location_fsx_ontap({
|
4295
|
+
# location_arn: "LocationArn", # required
|
4296
|
+
# protocol: {
|
4297
|
+
# nfs: {
|
4298
|
+
# mount_options: {
|
4299
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
|
4300
|
+
# },
|
4301
|
+
# },
|
4302
|
+
# smb: {
|
4303
|
+
# domain: "FsxUpdateSmbDomain",
|
4304
|
+
# mount_options: {
|
4305
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3, SMB1, SMB2_0
|
4306
|
+
# },
|
4307
|
+
# password: "SmbPassword",
|
4308
|
+
# user: "SmbUser",
|
4309
|
+
# },
|
4310
|
+
# },
|
4311
|
+
# subdirectory: "FsxOntapSubdirectory",
|
4312
|
+
# })
|
4313
|
+
#
|
4314
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationFsxOntap AWS API Documentation
|
4315
|
+
#
|
4316
|
+
# @overload update_location_fsx_ontap(params = {})
|
4317
|
+
# @param [Hash] params ({})
|
4318
|
+
def update_location_fsx_ontap(params = {}, options = {})
|
4319
|
+
req = build_request(:update_location_fsx_ontap, params)
|
4320
|
+
req.send_request(options)
|
4321
|
+
end
|
4322
|
+
|
4323
|
+
# Modifies the following configuration parameters of the Amazon FSx for
|
4324
|
+
# OpenZFS transfer location that you're using with DataSync.
|
4325
|
+
#
|
4326
|
+
# For more information, see [Configuring DataSync transfers with FSx for
|
4327
|
+
# OpenZFS][1].
|
4328
|
+
#
|
4329
|
+
# <note markdown="1"> Request parameters related to `SMB` aren't supported with the
|
4330
|
+
# `UpdateLocationFsxOpenZfs` operation.
|
4331
|
+
#
|
4332
|
+
# </note>
|
4333
|
+
#
|
4334
|
+
#
|
4335
|
+
#
|
4336
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-openzfs-location.html
|
4337
|
+
#
|
4338
|
+
# @option params [required, String] :location_arn
|
4339
|
+
# Specifies the Amazon Resource Name (ARN) of the FSx for OpenZFS
|
4340
|
+
# transfer location that you're updating.
|
4341
|
+
#
|
4342
|
+
# @option params [Types::FsxProtocol] :protocol
|
4343
|
+
# Specifies the data transfer protocol that DataSync uses to access your
|
4344
|
+
# Amazon FSx file system.
|
4345
|
+
#
|
4346
|
+
# @option params [String] :subdirectory
|
4347
|
+
# Specifies a subdirectory in the location's path that must begin with
|
4348
|
+
# `/fsx`. DataSync uses this subdirectory to read or write data
|
4349
|
+
# (depending on whether the file system is a source or destination
|
4350
|
+
# location).
|
4351
|
+
#
|
4352
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4353
|
+
#
|
4354
|
+
# @example Request syntax with placeholder values
|
4355
|
+
#
|
4356
|
+
# resp = client.update_location_fsx_open_zfs({
|
4357
|
+
# location_arn: "LocationArn", # required
|
4358
|
+
# protocol: {
|
4359
|
+
# nfs: {
|
4360
|
+
# mount_options: {
|
4361
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
|
4362
|
+
# },
|
4363
|
+
# },
|
4364
|
+
# smb: {
|
4365
|
+
# domain: "SmbDomain",
|
4366
|
+
# mount_options: {
|
4367
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3, SMB1, SMB2_0
|
4368
|
+
# },
|
4369
|
+
# password: "SmbPassword", # required
|
4370
|
+
# user: "SmbUser", # required
|
4371
|
+
# },
|
4372
|
+
# },
|
4373
|
+
# subdirectory: "SmbSubdirectory",
|
4374
|
+
# })
|
4375
|
+
#
|
4376
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationFsxOpenZfs AWS API Documentation
|
4377
|
+
#
|
4378
|
+
# @overload update_location_fsx_open_zfs(params = {})
|
4379
|
+
# @param [Hash] params ({})
|
4380
|
+
def update_location_fsx_open_zfs(params = {}, options = {})
|
4381
|
+
req = build_request(:update_location_fsx_open_zfs, params)
|
4382
|
+
req.send_request(options)
|
4383
|
+
end
|
4384
|
+
|
4385
|
+
# Modifies the following configuration parameters of the Amazon FSx for
|
4386
|
+
# Windows File Server transfer location that you're using with
|
4387
|
+
# DataSync.
|
4388
|
+
#
|
4389
|
+
# For more information, see [Configuring DataSync transfers with FSx for
|
4390
|
+
# Windows File Server][1].
|
4391
|
+
#
|
4392
|
+
#
|
4393
|
+
#
|
4394
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html
|
4395
|
+
#
|
4396
|
+
# @option params [required, String] :location_arn
|
4397
|
+
# Specifies the ARN of the FSx for Windows File Server transfer location
|
4398
|
+
# that you're updating.
|
4399
|
+
#
|
4400
|
+
# @option params [String] :subdirectory
|
4401
|
+
# Specifies a mount path for your file system using forward slashes.
|
4402
|
+
# DataSync uses this subdirectory to read or write data (depending on
|
4403
|
+
# whether the file system is a source or destination location).
|
4404
|
+
#
|
4405
|
+
# @option params [String] :domain
|
4406
|
+
# Specifies the name of the Windows domain that your FSx for Windows
|
4407
|
+
# File Server file system belongs to.
|
4408
|
+
#
|
4409
|
+
# If you have multiple Active Directory domains in your environment,
|
4410
|
+
# configuring this parameter makes sure that DataSync connects to the
|
4411
|
+
# right file system.
|
4412
|
+
#
|
4413
|
+
# @option params [String] :user
|
4414
|
+
# Specifies the user with the permissions to mount and access the files,
|
4415
|
+
# folders, and file metadata in your FSx for Windows File Server file
|
4416
|
+
# system.
|
4417
|
+
#
|
4418
|
+
# For information about choosing a user with the right level of access
|
4419
|
+
# for your transfer, see [required permissions][1] for FSx for Windows
|
4420
|
+
# File Server locations.
|
4421
|
+
#
|
4422
|
+
#
|
4423
|
+
#
|
4424
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html#create-fsx-windows-location-permissions
|
4425
|
+
#
|
4426
|
+
# @option params [String] :password
|
4427
|
+
# Specifies the password of the user with the permissions to mount and
|
4428
|
+
# access the files, folders, and file metadata in your FSx for Windows
|
4429
|
+
# File Server file system.
|
4430
|
+
#
|
4431
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4432
|
+
#
|
4433
|
+
# @example Request syntax with placeholder values
|
4434
|
+
#
|
4435
|
+
# resp = client.update_location_fsx_windows({
|
4436
|
+
# location_arn: "LocationArn", # required
|
4437
|
+
# subdirectory: "FsxWindowsSubdirectory",
|
4438
|
+
# domain: "FsxUpdateSmbDomain",
|
4439
|
+
# user: "SmbUser",
|
4440
|
+
# password: "SmbPassword",
|
4441
|
+
# })
|
4442
|
+
#
|
4443
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationFsxWindows AWS API Documentation
|
4444
|
+
#
|
4445
|
+
# @overload update_location_fsx_windows(params = {})
|
4446
|
+
# @param [Hash] params ({})
|
4447
|
+
def update_location_fsx_windows(params = {}, options = {})
|
4448
|
+
req = build_request(:update_location_fsx_windows, params)
|
4449
|
+
req.send_request(options)
|
4450
|
+
end
|
4451
|
+
|
4452
|
+
# Modifies the following configuration parameters of the Hadoop
|
4453
|
+
# Distributed File System (HDFS) transfer location that you're using
|
4454
|
+
# with DataSync.
|
4455
|
+
#
|
4456
|
+
# For more information, see [Configuring DataSync transfers with an HDFS
|
4457
|
+
# cluster][1].
|
4458
|
+
#
|
4459
|
+
#
|
4460
|
+
#
|
4461
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-hdfs-location.html
|
4121
4462
|
#
|
4122
4463
|
# @option params [required, String] :location_arn
|
4123
4464
|
# The Amazon Resource Name (ARN) of the source HDFS cluster location.
|
@@ -4212,11 +4553,11 @@ module Aws::DataSync
|
|
4212
4553
|
req.send_request(options)
|
4213
4554
|
end
|
4214
4555
|
|
4215
|
-
# Modifies
|
4216
|
-
# location that you're using with DataSync.
|
4556
|
+
# Modifies the following configuration parameters of the Network File
|
4557
|
+
# System (NFS) transfer location that you're using with DataSync.
|
4217
4558
|
#
|
4218
|
-
# For more information, see [Configuring transfers
|
4219
|
-
#
|
4559
|
+
# For more information, see [Configuring transfers with an NFS file
|
4560
|
+
# server][1].
|
4220
4561
|
#
|
4221
4562
|
#
|
4222
4563
|
#
|
@@ -4269,8 +4610,15 @@ module Aws::DataSync
|
|
4269
4610
|
req.send_request(options)
|
4270
4611
|
end
|
4271
4612
|
|
4272
|
-
#
|
4273
|
-
#
|
4613
|
+
# Modifies the following configuration parameters of the object storage
|
4614
|
+
# transfer location that you're using with DataSync.
|
4615
|
+
#
|
4616
|
+
# For more information, see [Configuring DataSync transfers with an
|
4617
|
+
# object storage system][1].
|
4618
|
+
#
|
4619
|
+
#
|
4620
|
+
#
|
4621
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html
|
4274
4622
|
#
|
4275
4623
|
# @option params [required, String] :location_arn
|
4276
4624
|
# Specifies the ARN of the object storage system location that you're
|
@@ -4354,8 +4702,99 @@ module Aws::DataSync
|
|
4354
4702
|
req.send_request(options)
|
4355
4703
|
end
|
4356
4704
|
|
4357
|
-
#
|
4358
|
-
#
|
4705
|
+
# Modifies the following configuration parameters of the Amazon S3
|
4706
|
+
# transfer location that you're using with DataSync.
|
4707
|
+
#
|
4708
|
+
# Before you begin, make sure that you read the following topics:
|
4709
|
+
#
|
4710
|
+
# * [Storage class considerations with Amazon S3 locations][1]
|
4711
|
+
#
|
4712
|
+
# * [Evaluating S3 request costs when using DataSync][2]
|
4713
|
+
#
|
4714
|
+
#
|
4715
|
+
#
|
4716
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes
|
4717
|
+
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3-location-s3-requests
|
4718
|
+
#
|
4719
|
+
# @option params [required, String] :location_arn
|
4720
|
+
# Specifies the Amazon Resource Name (ARN) of the Amazon S3 transfer
|
4721
|
+
# location that you're updating.
|
4722
|
+
#
|
4723
|
+
# @option params [String] :subdirectory
|
4724
|
+
# Specifies a prefix in the S3 bucket that DataSync reads from or writes
|
4725
|
+
# to (depending on whether the bucket is a source or destination
|
4726
|
+
# location).
|
4727
|
+
#
|
4728
|
+
# <note markdown="1"> DataSync can't transfer objects with a prefix that begins with a
|
4729
|
+
# slash (`/`) or includes `//`, `/./`, or `/../` patterns. For example:
|
4730
|
+
#
|
4731
|
+
# * `/photos`
|
4732
|
+
#
|
4733
|
+
# * `photos//2006/January`
|
4734
|
+
#
|
4735
|
+
# * `photos/./2006/February`
|
4736
|
+
#
|
4737
|
+
# * `photos/../2006/March`
|
4738
|
+
#
|
4739
|
+
# </note>
|
4740
|
+
#
|
4741
|
+
# @option params [String] :s3_storage_class
|
4742
|
+
# Specifies the storage class that you want your objects to use when
|
4743
|
+
# Amazon S3 is a transfer destination.
|
4744
|
+
#
|
4745
|
+
# For buckets in Amazon Web Services Regions, the storage class defaults
|
4746
|
+
# to `STANDARD`. For buckets on Outposts, the storage class defaults to
|
4747
|
+
# `OUTPOSTS`.
|
4748
|
+
#
|
4749
|
+
# For more information, see [Storage class considerations with Amazon S3
|
4750
|
+
# transfers][1].
|
4751
|
+
#
|
4752
|
+
#
|
4753
|
+
#
|
4754
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes
|
4755
|
+
#
|
4756
|
+
# @option params [Types::S3Config] :s3_config
|
4757
|
+
# Specifies the Amazon Resource Name (ARN) of the Identity and Access
|
4758
|
+
# Management (IAM) role that DataSync uses to access your S3 bucket.
|
4759
|
+
#
|
4760
|
+
# For more information, see [Providing DataSync access to S3
|
4761
|
+
# buckets][1].
|
4762
|
+
#
|
4763
|
+
#
|
4764
|
+
#
|
4765
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3-location-access
|
4766
|
+
#
|
4767
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4768
|
+
#
|
4769
|
+
# @example Request syntax with placeholder values
|
4770
|
+
#
|
4771
|
+
# resp = client.update_location_s3({
|
4772
|
+
# location_arn: "LocationArn", # required
|
4773
|
+
# subdirectory: "S3Subdirectory",
|
4774
|
+
# s3_storage_class: "STANDARD", # accepts STANDARD, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_INSTANT_RETRIEVAL
|
4775
|
+
# s3_config: {
|
4776
|
+
# bucket_access_role_arn: "IamRoleArn", # required
|
4777
|
+
# },
|
4778
|
+
# })
|
4779
|
+
#
|
4780
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationS3 AWS API Documentation
|
4781
|
+
#
|
4782
|
+
# @overload update_location_s3(params = {})
|
4783
|
+
# @param [Hash] params ({})
|
4784
|
+
def update_location_s3(params = {}, options = {})
|
4785
|
+
req = build_request(:update_location_s3, params)
|
4786
|
+
req.send_request(options)
|
4787
|
+
end
|
4788
|
+
|
4789
|
+
# Modifies the following configuration parameters of the Server Message
|
4790
|
+
# Block (SMB) transfer location that you're using with DataSync.
|
4791
|
+
#
|
4792
|
+
# For more information, see [Configuring DataSync transfers with an SMB
|
4793
|
+
# file server][1].
|
4794
|
+
#
|
4795
|
+
#
|
4796
|
+
#
|
4797
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html
|
4359
4798
|
#
|
4360
4799
|
# @option params [required, String] :location_arn
|
4361
4800
|
# Specifies the ARN of the SMB location that you want to update.
|
@@ -4774,7 +5213,7 @@ module Aws::DataSync
|
|
4774
5213
|
tracer: tracer
|
4775
5214
|
)
|
4776
5215
|
context[:gem_name] = 'aws-sdk-datasync'
|
4777
|
-
context[:gem_version] = '1.
|
5216
|
+
context[:gem_version] = '1.94.0'
|
4778
5217
|
Seahorse::Client::Request.new(handlers, context)
|
4779
5218
|
end
|
4780
5219
|
|