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
@@ -385,8 +385,8 @@ module Aws::DataSync
|
|
385
385
|
#
|
386
386
|
# @!attribute [rw] subdirectory
|
387
387
|
# Specifies a mount path for your Amazon EFS file system. This is
|
388
|
-
# where DataSync reads or writes data
|
389
|
-
# source or destination location)
|
388
|
+
# where DataSync reads or writes data on your file system (depending
|
389
|
+
# on if this is a source or destination location).
|
390
390
|
#
|
391
391
|
# By default, DataSync uses the root directory (or [access point][1]
|
392
392
|
# if you provide one by using `AccessPointArn`). You can also include
|
@@ -481,25 +481,38 @@ module Aws::DataSync
|
|
481
481
|
end
|
482
482
|
|
483
483
|
# @!attribute [rw] fsx_filesystem_arn
|
484
|
-
#
|
484
|
+
# Specifies the Amazon Resource Name (ARN) of the FSx for Lustre file
|
485
|
+
# system.
|
485
486
|
# @return [String]
|
486
487
|
#
|
487
488
|
# @!attribute [rw] security_group_arns
|
488
|
-
#
|
489
|
-
#
|
489
|
+
# Specifies the Amazon Resource Names (ARNs) of up to five security
|
490
|
+
# groups that provide access to your FSx for Lustre file system.
|
491
|
+
#
|
492
|
+
# The security groups must be able to access the file system's ports.
|
493
|
+
# The file system must also allow access from the security groups. For
|
494
|
+
# information about file system access, see the [ *Amazon FSx for
|
495
|
+
# Lustre User Guide* ][1].
|
496
|
+
#
|
497
|
+
#
|
498
|
+
#
|
499
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/limit-access-security-groups.html
|
490
500
|
# @return [Array<String>]
|
491
501
|
#
|
492
502
|
# @!attribute [rw] subdirectory
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
503
|
+
# Specifies a mount path for your FSx for Lustre file system. The path
|
504
|
+
# can include subdirectories.
|
505
|
+
#
|
506
|
+
# When the location is used as a source, DataSync reads data from the
|
507
|
+
# mount path. When the location is used as a destination, DataSync
|
508
|
+
# writes data to the mount path. If you don't include this parameter,
|
509
|
+
# DataSync uses the file system's root directory (`/`).
|
496
510
|
# @return [String]
|
497
511
|
#
|
498
512
|
# @!attribute [rw] tags
|
499
|
-
#
|
500
|
-
#
|
501
|
-
#
|
502
|
-
# create a name tag for your location.
|
513
|
+
# Specifies labels that help you categorize, filter, and search for
|
514
|
+
# your Amazon Web Services resources. We recommend creating at least a
|
515
|
+
# name tag for your location.
|
503
516
|
# @return [Array<Types::TagListEntry>]
|
504
517
|
#
|
505
518
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxLustreRequest AWS API Documentation
|
@@ -515,7 +528,7 @@ module Aws::DataSync
|
|
515
528
|
|
516
529
|
# @!attribute [rw] location_arn
|
517
530
|
# The Amazon Resource Name (ARN) of the FSx for Lustre file system
|
518
|
-
# location that
|
531
|
+
# location that you created.
|
519
532
|
# @return [String]
|
520
533
|
#
|
521
534
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxLustreResponse AWS API Documentation
|
@@ -552,8 +565,8 @@ module Aws::DataSync
|
|
552
565
|
# @return [String]
|
553
566
|
#
|
554
567
|
# @!attribute [rw] subdirectory
|
555
|
-
# Specifies a path to the file share in the SVM where you
|
556
|
-
#
|
568
|
+
# Specifies a path to the file share in the SVM where you want to
|
569
|
+
# transfer data to or from.
|
557
570
|
#
|
558
571
|
# You can specify a junction path (also known as a mount point), qtree
|
559
572
|
# path (for NFS file shares), or share name (for SMB file shares). For
|
@@ -710,8 +723,8 @@ module Aws::DataSync
|
|
710
723
|
# @return [String]
|
711
724
|
#
|
712
725
|
# @!attribute [rw] domain
|
713
|
-
# Specifies the name of the
|
714
|
-
#
|
726
|
+
# Specifies the name of the Windows domain that the FSx for Windows
|
727
|
+
# File Server file system belongs to.
|
715
728
|
#
|
716
729
|
# If you have multiple Active Directory domains in your environment,
|
717
730
|
# configuring this parameter makes sure that DataSync connects to the
|
@@ -1119,7 +1132,8 @@ module Aws::DataSync
|
|
1119
1132
|
# Specifies the Amazon Resource Name (ARN) of the Identity and Access
|
1120
1133
|
# Management (IAM) role that DataSync uses to access your S3 bucket.
|
1121
1134
|
#
|
1122
|
-
# For more information, see [
|
1135
|
+
# For more information, see [Providing DataSync access to S3
|
1136
|
+
# buckets][1].
|
1123
1137
|
#
|
1124
1138
|
#
|
1125
1139
|
#
|
@@ -2290,7 +2304,8 @@ module Aws::DataSync
|
|
2290
2304
|
# Specifies the Amazon Resource Name (ARN) of the Identity and Access
|
2291
2305
|
# Management (IAM) role that DataSync uses to access your S3 bucket.
|
2292
2306
|
#
|
2293
|
-
# For more information, see [
|
2307
|
+
# For more information, see [Providing DataSync access to S3
|
2308
|
+
# buckets][1].
|
2294
2309
|
#
|
2295
2310
|
#
|
2296
2311
|
#
|
@@ -3270,8 +3285,8 @@ module Aws::DataSync
|
|
3270
3285
|
end
|
3271
3286
|
|
3272
3287
|
# Specifies the Network File System (NFS) protocol configuration that
|
3273
|
-
# DataSync uses to access your
|
3274
|
-
#
|
3288
|
+
# DataSync uses to access your FSx for OpenZFS file system or FSx for
|
3289
|
+
# ONTAP file system's storage virtual machine (SVM).
|
3275
3290
|
#
|
3276
3291
|
# @!attribute [rw] mount_options
|
3277
3292
|
# Specifies how DataSync can access a location using the NFS protocol.
|
@@ -3286,19 +3301,24 @@ module Aws::DataSync
|
|
3286
3301
|
end
|
3287
3302
|
|
3288
3303
|
# Specifies the Server Message Block (SMB) protocol configuration that
|
3289
|
-
# DataSync uses to access your Amazon FSx for NetApp ONTAP file
|
3290
|
-
# For more information, see
|
3304
|
+
# DataSync uses to access your Amazon FSx for NetApp ONTAP file
|
3305
|
+
# system's storage virtual machine (SVM). For more information, see
|
3306
|
+
# [Providing DataSync access to FSx for ONTAP file systems][1].
|
3291
3307
|
#
|
3292
3308
|
#
|
3293
3309
|
#
|
3294
3310
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-ontap-location.html#create-ontap-location-access
|
3295
3311
|
#
|
3296
3312
|
# @!attribute [rw] domain
|
3297
|
-
# Specifies the
|
3298
|
-
#
|
3313
|
+
# Specifies the name of the Windows domain that your storage virtual
|
3314
|
+
# machine (SVM) belongs to.
|
3299
3315
|
#
|
3300
3316
|
# If you have multiple domains in your environment, configuring this
|
3301
3317
|
# setting makes sure that DataSync connects to the right SVM.
|
3318
|
+
#
|
3319
|
+
# If you have multiple Active Directory domains in your environment,
|
3320
|
+
# configuring this parameter makes sure that DataSync connects to the
|
3321
|
+
# right SVM.
|
3302
3322
|
# @return [String]
|
3303
3323
|
#
|
3304
3324
|
# @!attribute [rw] mount_options
|
@@ -3334,6 +3354,87 @@ module Aws::DataSync
|
|
3334
3354
|
include Aws::Structure
|
3335
3355
|
end
|
3336
3356
|
|
3357
|
+
# Specifies the data transfer protocol that DataSync uses to access your
|
3358
|
+
# Amazon FSx file system.
|
3359
|
+
#
|
3360
|
+
# <note markdown="1"> You can't update the Network File System (NFS) protocol configuration
|
3361
|
+
# for FSx for ONTAP locations. DataSync currently only supports NFS
|
3362
|
+
# version 3 with this location type.
|
3363
|
+
#
|
3364
|
+
# </note>
|
3365
|
+
#
|
3366
|
+
# @!attribute [rw] nfs
|
3367
|
+
# Specifies the Network File System (NFS) protocol configuration that
|
3368
|
+
# DataSync uses to access your FSx for OpenZFS file system or FSx for
|
3369
|
+
# ONTAP file system's storage virtual machine (SVM).
|
3370
|
+
# @return [Types::FsxProtocolNfs]
|
3371
|
+
#
|
3372
|
+
# @!attribute [rw] smb
|
3373
|
+
# Specifies the Server Message Block (SMB) protocol configuration that
|
3374
|
+
# DataSync uses to access your FSx for ONTAP file system's storage
|
3375
|
+
# virtual machine (SVM).
|
3376
|
+
# @return [Types::FsxUpdateProtocolSmb]
|
3377
|
+
#
|
3378
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/FsxUpdateProtocol AWS API Documentation
|
3379
|
+
#
|
3380
|
+
class FsxUpdateProtocol < Struct.new(
|
3381
|
+
:nfs,
|
3382
|
+
:smb)
|
3383
|
+
SENSITIVE = []
|
3384
|
+
include Aws::Structure
|
3385
|
+
end
|
3386
|
+
|
3387
|
+
# Specifies the Server Message Block (SMB) protocol configuration that
|
3388
|
+
# DataSync uses to access your Amazon FSx for NetApp ONTAP file
|
3389
|
+
# system's storage virtual machine (SVM). For more information, see
|
3390
|
+
# [Providing DataSync access to FSx for ONTAP file systems][1].
|
3391
|
+
#
|
3392
|
+
#
|
3393
|
+
#
|
3394
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-ontap-location.html#create-ontap-location-access
|
3395
|
+
#
|
3396
|
+
# @!attribute [rw] domain
|
3397
|
+
# Specifies the name of the Windows domain that your storage virtual
|
3398
|
+
# machine (SVM) belongs to.
|
3399
|
+
#
|
3400
|
+
# If you have multiple Active Directory domains in your environment,
|
3401
|
+
# configuring this parameter makes sure that DataSync connects to the
|
3402
|
+
# right SVM.
|
3403
|
+
# @return [String]
|
3404
|
+
#
|
3405
|
+
# @!attribute [rw] mount_options
|
3406
|
+
# Specifies the version of the Server Message Block (SMB) protocol
|
3407
|
+
# that DataSync uses to access an SMB file server.
|
3408
|
+
# @return [Types::SmbMountOptions]
|
3409
|
+
#
|
3410
|
+
# @!attribute [rw] password
|
3411
|
+
# Specifies the password of a user who has permission to access your
|
3412
|
+
# SVM.
|
3413
|
+
# @return [String]
|
3414
|
+
#
|
3415
|
+
# @!attribute [rw] user
|
3416
|
+
# Specifies a user that can mount and access the files, folders, and
|
3417
|
+
# metadata in your SVM.
|
3418
|
+
#
|
3419
|
+
# For information about choosing a user with the right level of access
|
3420
|
+
# for your transfer, see [Using the SMB protocol][1].
|
3421
|
+
#
|
3422
|
+
#
|
3423
|
+
#
|
3424
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-ontap-location.html#create-ontap-location-smb
|
3425
|
+
# @return [String]
|
3426
|
+
#
|
3427
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/FsxUpdateProtocolSmb AWS API Documentation
|
3428
|
+
#
|
3429
|
+
class FsxUpdateProtocolSmb < Struct.new(
|
3430
|
+
:domain,
|
3431
|
+
:mount_options,
|
3432
|
+
:password,
|
3433
|
+
:user)
|
3434
|
+
SENSITIVE = [:password]
|
3435
|
+
include Aws::Structure
|
3436
|
+
end
|
3437
|
+
|
3337
3438
|
# @!attribute [rw] discovery_job_arn
|
3338
3439
|
# Specifies the Amazon Resource Name (ARN) of the discovery job that
|
3339
3440
|
# collects information about your on-premises storage system.
|
@@ -5099,7 +5200,8 @@ module Aws::DataSync
|
|
5099
5200
|
# Specifies the Amazon Resource Name (ARN) of the Identity and Access
|
5100
5201
|
# Management (IAM) role that DataSync uses to access your S3 bucket.
|
5101
5202
|
#
|
5102
|
-
# For more information, see [
|
5203
|
+
# For more information, see [Providing DataSync access to S3
|
5204
|
+
# buckets][1].
|
5103
5205
|
#
|
5104
5206
|
#
|
5105
5207
|
#
|
@@ -6160,6 +6262,235 @@ module Aws::DataSync
|
|
6160
6262
|
#
|
6161
6263
|
class UpdateLocationAzureBlobResponse < Aws::EmptyStructure; end
|
6162
6264
|
|
6265
|
+
# @!attribute [rw] location_arn
|
6266
|
+
# Specifies the Amazon Resource Name (ARN) of the Amazon EFS transfer
|
6267
|
+
# location that you're updating.
|
6268
|
+
# @return [String]
|
6269
|
+
#
|
6270
|
+
# @!attribute [rw] subdirectory
|
6271
|
+
# Specifies a mount path for your Amazon EFS file system. This is
|
6272
|
+
# where DataSync reads or writes data on your file system (depending
|
6273
|
+
# on if this is a source or destination location).
|
6274
|
+
#
|
6275
|
+
# By default, DataSync uses the root directory (or [access point][1]
|
6276
|
+
# if you provide one by using `AccessPointArn`). You can also include
|
6277
|
+
# subdirectories using forward slashes (for example,
|
6278
|
+
# `/path/to/folder`).
|
6279
|
+
#
|
6280
|
+
#
|
6281
|
+
#
|
6282
|
+
# [1]: https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html
|
6283
|
+
# @return [String]
|
6284
|
+
#
|
6285
|
+
# @!attribute [rw] access_point_arn
|
6286
|
+
# Specifies the Amazon Resource Name (ARN) of the access point that
|
6287
|
+
# DataSync uses to mount your Amazon EFS file system.
|
6288
|
+
#
|
6289
|
+
# For more information, see [Accessing restricted Amazon EFS file
|
6290
|
+
# systems][1].
|
6291
|
+
#
|
6292
|
+
#
|
6293
|
+
#
|
6294
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html#create-efs-location-iam
|
6295
|
+
# @return [String]
|
6296
|
+
#
|
6297
|
+
# @!attribute [rw] file_system_access_role_arn
|
6298
|
+
# Specifies an Identity and Access Management (IAM) role that allows
|
6299
|
+
# DataSync to access your Amazon EFS file system.
|
6300
|
+
#
|
6301
|
+
# For information on creating this role, see [Creating a DataSync IAM
|
6302
|
+
# role for Amazon EFS file system access][1].
|
6303
|
+
#
|
6304
|
+
#
|
6305
|
+
#
|
6306
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html#create-efs-location-iam-role
|
6307
|
+
# @return [String]
|
6308
|
+
#
|
6309
|
+
# @!attribute [rw] in_transit_encryption
|
6310
|
+
# Specifies whether you want DataSync to use Transport Layer Security
|
6311
|
+
# (TLS) 1.2 encryption when it transfers data to or from your Amazon
|
6312
|
+
# EFS file system.
|
6313
|
+
#
|
6314
|
+
# If you specify an access point using `AccessPointArn` or an IAM role
|
6315
|
+
# using `FileSystemAccessRoleArn`, you must set this parameter to
|
6316
|
+
# `TLS1_2`.
|
6317
|
+
# @return [String]
|
6318
|
+
#
|
6319
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationEfsRequest AWS API Documentation
|
6320
|
+
#
|
6321
|
+
class UpdateLocationEfsRequest < Struct.new(
|
6322
|
+
:location_arn,
|
6323
|
+
:subdirectory,
|
6324
|
+
:access_point_arn,
|
6325
|
+
:file_system_access_role_arn,
|
6326
|
+
:in_transit_encryption)
|
6327
|
+
SENSITIVE = []
|
6328
|
+
include Aws::Structure
|
6329
|
+
end
|
6330
|
+
|
6331
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationEfsResponse AWS API Documentation
|
6332
|
+
#
|
6333
|
+
class UpdateLocationEfsResponse < Aws::EmptyStructure; end
|
6334
|
+
|
6335
|
+
# @!attribute [rw] location_arn
|
6336
|
+
# Specifies the Amazon Resource Name (ARN) of the FSx for Lustre
|
6337
|
+
# transfer location that you're updating.
|
6338
|
+
# @return [String]
|
6339
|
+
#
|
6340
|
+
# @!attribute [rw] subdirectory
|
6341
|
+
# Specifies a mount path for your FSx for Lustre file system. The path
|
6342
|
+
# can include subdirectories.
|
6343
|
+
#
|
6344
|
+
# When the location is used as a source, DataSync reads data from the
|
6345
|
+
# mount path. When the location is used as a destination, DataSync
|
6346
|
+
# writes data to the mount path. If you don't include this parameter,
|
6347
|
+
# DataSync uses the file system's root directory (`/`).
|
6348
|
+
# @return [String]
|
6349
|
+
#
|
6350
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationFsxLustreRequest AWS API Documentation
|
6351
|
+
#
|
6352
|
+
class UpdateLocationFsxLustreRequest < Struct.new(
|
6353
|
+
:location_arn,
|
6354
|
+
:subdirectory)
|
6355
|
+
SENSITIVE = []
|
6356
|
+
include Aws::Structure
|
6357
|
+
end
|
6358
|
+
|
6359
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationFsxLustreResponse AWS API Documentation
|
6360
|
+
#
|
6361
|
+
class UpdateLocationFsxLustreResponse < Aws::EmptyStructure; end
|
6362
|
+
|
6363
|
+
# @!attribute [rw] location_arn
|
6364
|
+
# Specifies the Amazon Resource Name (ARN) of the FSx for ONTAP
|
6365
|
+
# transfer location that you're updating.
|
6366
|
+
# @return [String]
|
6367
|
+
#
|
6368
|
+
# @!attribute [rw] protocol
|
6369
|
+
# Specifies the data transfer protocol that DataSync uses to access
|
6370
|
+
# your Amazon FSx file system.
|
6371
|
+
# @return [Types::FsxUpdateProtocol]
|
6372
|
+
#
|
6373
|
+
# @!attribute [rw] subdirectory
|
6374
|
+
# Specifies a path to the file share in the storage virtual machine
|
6375
|
+
# (SVM) where you want to transfer data to or from.
|
6376
|
+
#
|
6377
|
+
# You can specify a junction path (also known as a mount point), qtree
|
6378
|
+
# path (for NFS file shares), or share name (for SMB file shares). For
|
6379
|
+
# example, your mount path might be `/vol1`, `/vol1/tree1`, or
|
6380
|
+
# `/share1`.
|
6381
|
+
#
|
6382
|
+
# <note markdown="1"> Don't specify a junction path in the SVM's root volume. For more
|
6383
|
+
# information, see [Managing FSx for ONTAP storage virtual
|
6384
|
+
# machines][1] in the *Amazon FSx for NetApp ONTAP User Guide*.
|
6385
|
+
#
|
6386
|
+
# </note>
|
6387
|
+
#
|
6388
|
+
#
|
6389
|
+
#
|
6390
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-svms.html
|
6391
|
+
# @return [String]
|
6392
|
+
#
|
6393
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationFsxOntapRequest AWS API Documentation
|
6394
|
+
#
|
6395
|
+
class UpdateLocationFsxOntapRequest < Struct.new(
|
6396
|
+
:location_arn,
|
6397
|
+
:protocol,
|
6398
|
+
:subdirectory)
|
6399
|
+
SENSITIVE = []
|
6400
|
+
include Aws::Structure
|
6401
|
+
end
|
6402
|
+
|
6403
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationFsxOntapResponse AWS API Documentation
|
6404
|
+
#
|
6405
|
+
class UpdateLocationFsxOntapResponse < Aws::EmptyStructure; end
|
6406
|
+
|
6407
|
+
# @!attribute [rw] location_arn
|
6408
|
+
# Specifies the Amazon Resource Name (ARN) of the FSx for OpenZFS
|
6409
|
+
# transfer location that you're updating.
|
6410
|
+
# @return [String]
|
6411
|
+
#
|
6412
|
+
# @!attribute [rw] protocol
|
6413
|
+
# Specifies the data transfer protocol that DataSync uses to access
|
6414
|
+
# your Amazon FSx file system.
|
6415
|
+
# @return [Types::FsxProtocol]
|
6416
|
+
#
|
6417
|
+
# @!attribute [rw] subdirectory
|
6418
|
+
# Specifies a subdirectory in the location's path that must begin
|
6419
|
+
# with `/fsx`. DataSync uses this subdirectory to read or write data
|
6420
|
+
# (depending on whether the file system is a source or destination
|
6421
|
+
# location).
|
6422
|
+
# @return [String]
|
6423
|
+
#
|
6424
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationFsxOpenZfsRequest AWS API Documentation
|
6425
|
+
#
|
6426
|
+
class UpdateLocationFsxOpenZfsRequest < Struct.new(
|
6427
|
+
:location_arn,
|
6428
|
+
:protocol,
|
6429
|
+
:subdirectory)
|
6430
|
+
SENSITIVE = []
|
6431
|
+
include Aws::Structure
|
6432
|
+
end
|
6433
|
+
|
6434
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationFsxOpenZfsResponse AWS API Documentation
|
6435
|
+
#
|
6436
|
+
class UpdateLocationFsxOpenZfsResponse < Aws::EmptyStructure; end
|
6437
|
+
|
6438
|
+
# @!attribute [rw] location_arn
|
6439
|
+
# Specifies the ARN of the FSx for Windows File Server transfer
|
6440
|
+
# location that you're updating.
|
6441
|
+
# @return [String]
|
6442
|
+
#
|
6443
|
+
# @!attribute [rw] subdirectory
|
6444
|
+
# Specifies a mount path for your file system using forward slashes.
|
6445
|
+
# DataSync uses this subdirectory to read or write data (depending on
|
6446
|
+
# whether the file system is a source or destination location).
|
6447
|
+
# @return [String]
|
6448
|
+
#
|
6449
|
+
# @!attribute [rw] domain
|
6450
|
+
# Specifies the name of the Windows domain that your FSx for Windows
|
6451
|
+
# File Server file system belongs to.
|
6452
|
+
#
|
6453
|
+
# If you have multiple Active Directory domains in your environment,
|
6454
|
+
# configuring this parameter makes sure that DataSync connects to the
|
6455
|
+
# right file system.
|
6456
|
+
# @return [String]
|
6457
|
+
#
|
6458
|
+
# @!attribute [rw] user
|
6459
|
+
# Specifies the user with the permissions to mount and access the
|
6460
|
+
# files, folders, and file metadata in your FSx for Windows File
|
6461
|
+
# Server file system.
|
6462
|
+
#
|
6463
|
+
# For information about choosing a user with the right level of access
|
6464
|
+
# for your transfer, see [required permissions][1] for FSx for Windows
|
6465
|
+
# File Server locations.
|
6466
|
+
#
|
6467
|
+
#
|
6468
|
+
#
|
6469
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html#create-fsx-windows-location-permissions
|
6470
|
+
# @return [String]
|
6471
|
+
#
|
6472
|
+
# @!attribute [rw] password
|
6473
|
+
# Specifies the password of the user with the permissions to mount and
|
6474
|
+
# access the files, folders, and file metadata in your FSx for Windows
|
6475
|
+
# File Server file system.
|
6476
|
+
# @return [String]
|
6477
|
+
#
|
6478
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationFsxWindowsRequest AWS API Documentation
|
6479
|
+
#
|
6480
|
+
class UpdateLocationFsxWindowsRequest < Struct.new(
|
6481
|
+
:location_arn,
|
6482
|
+
:subdirectory,
|
6483
|
+
:domain,
|
6484
|
+
:user,
|
6485
|
+
:password)
|
6486
|
+
SENSITIVE = [:password]
|
6487
|
+
include Aws::Structure
|
6488
|
+
end
|
6489
|
+
|
6490
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationFsxWindowsResponse AWS API Documentation
|
6491
|
+
#
|
6492
|
+
class UpdateLocationFsxWindowsResponse < Aws::EmptyStructure; end
|
6493
|
+
|
6163
6494
|
# @!attribute [rw] location_arn
|
6164
6495
|
# The Amazon Resource Name (ARN) of the source HDFS cluster location.
|
6165
6496
|
# @return [String]
|
@@ -6381,6 +6712,74 @@ module Aws::DataSync
|
|
6381
6712
|
#
|
6382
6713
|
class UpdateLocationObjectStorageResponse < Aws::EmptyStructure; end
|
6383
6714
|
|
6715
|
+
# @!attribute [rw] location_arn
|
6716
|
+
# Specifies the Amazon Resource Name (ARN) of the Amazon S3 transfer
|
6717
|
+
# location that you're updating.
|
6718
|
+
# @return [String]
|
6719
|
+
#
|
6720
|
+
# @!attribute [rw] subdirectory
|
6721
|
+
# Specifies a prefix in the S3 bucket that DataSync reads from or
|
6722
|
+
# writes to (depending on whether the bucket is a source or
|
6723
|
+
# destination location).
|
6724
|
+
#
|
6725
|
+
# <note markdown="1"> DataSync can't transfer objects with a prefix that begins with a
|
6726
|
+
# slash (`/`) or includes `//`, `/./`, or `/../` patterns. For
|
6727
|
+
# example:
|
6728
|
+
#
|
6729
|
+
# * `/photos`
|
6730
|
+
#
|
6731
|
+
# * `photos//2006/January`
|
6732
|
+
#
|
6733
|
+
# * `photos/./2006/February`
|
6734
|
+
#
|
6735
|
+
# * `photos/../2006/March`
|
6736
|
+
#
|
6737
|
+
# </note>
|
6738
|
+
# @return [String]
|
6739
|
+
#
|
6740
|
+
# @!attribute [rw] s3_storage_class
|
6741
|
+
# Specifies the storage class that you want your objects to use when
|
6742
|
+
# Amazon S3 is a transfer destination.
|
6743
|
+
#
|
6744
|
+
# For buckets in Amazon Web Services Regions, the storage class
|
6745
|
+
# defaults to `STANDARD`. For buckets on Outposts, the storage class
|
6746
|
+
# defaults to `OUTPOSTS`.
|
6747
|
+
#
|
6748
|
+
# For more information, see [Storage class considerations with Amazon
|
6749
|
+
# S3 transfers][1].
|
6750
|
+
#
|
6751
|
+
#
|
6752
|
+
#
|
6753
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes
|
6754
|
+
# @return [String]
|
6755
|
+
#
|
6756
|
+
# @!attribute [rw] s3_config
|
6757
|
+
# Specifies the Amazon Resource Name (ARN) of the Identity and Access
|
6758
|
+
# Management (IAM) role that DataSync uses to access your S3 bucket.
|
6759
|
+
#
|
6760
|
+
# For more information, see [Providing DataSync access to S3
|
6761
|
+
# buckets][1].
|
6762
|
+
#
|
6763
|
+
#
|
6764
|
+
#
|
6765
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3-location-access
|
6766
|
+
# @return [Types::S3Config]
|
6767
|
+
#
|
6768
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationS3Request AWS API Documentation
|
6769
|
+
#
|
6770
|
+
class UpdateLocationS3Request < Struct.new(
|
6771
|
+
:location_arn,
|
6772
|
+
:subdirectory,
|
6773
|
+
:s3_storage_class,
|
6774
|
+
:s3_config)
|
6775
|
+
SENSITIVE = []
|
6776
|
+
include Aws::Structure
|
6777
|
+
end
|
6778
|
+
|
6779
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationS3Response AWS API Documentation
|
6780
|
+
#
|
6781
|
+
class UpdateLocationS3Response < Aws::EmptyStructure; end
|
6782
|
+
|
6384
6783
|
# @!attribute [rw] location_arn
|
6385
6784
|
# Specifies the ARN of the SMB location that you want to update.
|
6386
6785
|
# @return [String]
|
data/lib/aws-sdk-datasync.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1144,6 +1144,92 @@ module Aws
|
|
1144
1144
|
) -> _UpdateLocationAzureBlobResponseSuccess
|
1145
1145
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationAzureBlobResponseSuccess
|
1146
1146
|
|
1147
|
+
interface _UpdateLocationEfsResponseSuccess
|
1148
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLocationEfsResponse]
|
1149
|
+
end
|
1150
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#update_location_efs-instance_method
|
1151
|
+
def update_location_efs: (
|
1152
|
+
location_arn: ::String,
|
1153
|
+
?subdirectory: ::String,
|
1154
|
+
?access_point_arn: ::String,
|
1155
|
+
?file_system_access_role_arn: ::String,
|
1156
|
+
?in_transit_encryption: ("NONE" | "TLS1_2")
|
1157
|
+
) -> _UpdateLocationEfsResponseSuccess
|
1158
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationEfsResponseSuccess
|
1159
|
+
|
1160
|
+
interface _UpdateLocationFsxLustreResponseSuccess
|
1161
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLocationFsxLustreResponse]
|
1162
|
+
end
|
1163
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#update_location_fsx_lustre-instance_method
|
1164
|
+
def update_location_fsx_lustre: (
|
1165
|
+
location_arn: ::String,
|
1166
|
+
?subdirectory: ::String
|
1167
|
+
) -> _UpdateLocationFsxLustreResponseSuccess
|
1168
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationFsxLustreResponseSuccess
|
1169
|
+
|
1170
|
+
interface _UpdateLocationFsxOntapResponseSuccess
|
1171
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLocationFsxOntapResponse]
|
1172
|
+
end
|
1173
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#update_location_fsx_ontap-instance_method
|
1174
|
+
def update_location_fsx_ontap: (
|
1175
|
+
location_arn: ::String,
|
1176
|
+
?protocol: {
|
1177
|
+
nfs: {
|
1178
|
+
mount_options: {
|
1179
|
+
version: ("AUTOMATIC" | "NFS3" | "NFS4_0" | "NFS4_1")?
|
1180
|
+
}?
|
1181
|
+
}?,
|
1182
|
+
smb: {
|
1183
|
+
domain: ::String?,
|
1184
|
+
mount_options: {
|
1185
|
+
version: ("AUTOMATIC" | "SMB2" | "SMB3" | "SMB1" | "SMB2_0")?
|
1186
|
+
}?,
|
1187
|
+
password: ::String?,
|
1188
|
+
user: ::String?
|
1189
|
+
}?
|
1190
|
+
},
|
1191
|
+
?subdirectory: ::String
|
1192
|
+
) -> _UpdateLocationFsxOntapResponseSuccess
|
1193
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationFsxOntapResponseSuccess
|
1194
|
+
|
1195
|
+
interface _UpdateLocationFsxOpenZfsResponseSuccess
|
1196
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLocationFsxOpenZfsResponse]
|
1197
|
+
end
|
1198
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#update_location_fsx_open_zfs-instance_method
|
1199
|
+
def update_location_fsx_open_zfs: (
|
1200
|
+
location_arn: ::String,
|
1201
|
+
?protocol: {
|
1202
|
+
nfs: {
|
1203
|
+
mount_options: {
|
1204
|
+
version: ("AUTOMATIC" | "NFS3" | "NFS4_0" | "NFS4_1")?
|
1205
|
+
}?
|
1206
|
+
}?,
|
1207
|
+
smb: {
|
1208
|
+
domain: ::String?,
|
1209
|
+
mount_options: {
|
1210
|
+
version: ("AUTOMATIC" | "SMB2" | "SMB3" | "SMB1" | "SMB2_0")?
|
1211
|
+
}?,
|
1212
|
+
password: ::String,
|
1213
|
+
user: ::String
|
1214
|
+
}?
|
1215
|
+
},
|
1216
|
+
?subdirectory: ::String
|
1217
|
+
) -> _UpdateLocationFsxOpenZfsResponseSuccess
|
1218
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationFsxOpenZfsResponseSuccess
|
1219
|
+
|
1220
|
+
interface _UpdateLocationFsxWindowsResponseSuccess
|
1221
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLocationFsxWindowsResponse]
|
1222
|
+
end
|
1223
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#update_location_fsx_windows-instance_method
|
1224
|
+
def update_location_fsx_windows: (
|
1225
|
+
location_arn: ::String,
|
1226
|
+
?subdirectory: ::String,
|
1227
|
+
?domain: ::String,
|
1228
|
+
?user: ::String,
|
1229
|
+
?password: ::String
|
1230
|
+
) -> _UpdateLocationFsxWindowsResponseSuccess
|
1231
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationFsxWindowsResponseSuccess
|
1232
|
+
|
1147
1233
|
interface _UpdateLocationHdfsResponseSuccess
|
1148
1234
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLocationHdfsResponse]
|
1149
1235
|
end
|
@@ -1205,6 +1291,20 @@ module Aws
|
|
1205
1291
|
) -> _UpdateLocationObjectStorageResponseSuccess
|
1206
1292
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationObjectStorageResponseSuccess
|
1207
1293
|
|
1294
|
+
interface _UpdateLocationS3ResponseSuccess
|
1295
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLocationS3Response]
|
1296
|
+
end
|
1297
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#update_location_s3-instance_method
|
1298
|
+
def update_location_s3: (
|
1299
|
+
location_arn: ::String,
|
1300
|
+
?subdirectory: ::String,
|
1301
|
+
?s3_storage_class: ("STANDARD" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_INSTANT_RETRIEVAL"),
|
1302
|
+
?s3_config: {
|
1303
|
+
bucket_access_role_arn: ::String
|
1304
|
+
}
|
1305
|
+
) -> _UpdateLocationS3ResponseSuccess
|
1306
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationS3ResponseSuccess
|
1307
|
+
|
1208
1308
|
interface _UpdateLocationSmbResponseSuccess
|
1209
1309
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLocationSmbResponse]
|
1210
1310
|
end
|