aws-sdk-datasync 1.45.0 → 1.48.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-datasync/client.rb +242 -81
- data/lib/aws-sdk-datasync/client_api.rb +67 -0
- data/lib/aws-sdk-datasync/errors.rb +5 -0
- data/lib/aws-sdk-datasync/types.rb +484 -205
- data/lib/aws-sdk-datasync.rb +1 -1
- metadata +2 -2
@@ -199,63 +199,69 @@ module Aws::DataSync
|
|
199
199
|
# value: "TagValue",
|
200
200
|
# },
|
201
201
|
# ],
|
202
|
+
# access_point_arn: "EfsAccessPointArn",
|
203
|
+
# file_system_access_role_arn: "IamRoleArn",
|
204
|
+
# in_transit_encryption: "NONE", # accepts NONE, TLS1_2
|
202
205
|
# }
|
203
206
|
#
|
204
207
|
# @!attribute [rw] subdirectory
|
205
|
-
#
|
206
|
-
#
|
207
|
-
#
|
208
|
-
#
|
208
|
+
# Specifies a mount path for your Amazon EFS file system. This is
|
209
|
+
# where DataSync reads or writes data (depending on if this is a
|
210
|
+
# source or destination location). By default, DataSync uses the root
|
211
|
+
# directory, but you can also include subdirectories.
|
209
212
|
#
|
210
|
-
# <note markdown="1">
|
211
|
-
# `/path/to/folder
|
213
|
+
# <note markdown="1"> You must specify a value with forward slashes (for example,
|
214
|
+
# `/path/to/folder`).
|
212
215
|
#
|
213
216
|
# </note>
|
214
217
|
# @return [String]
|
215
218
|
#
|
216
219
|
# @!attribute [rw] efs_filesystem_arn
|
217
|
-
#
|
220
|
+
# Specifies the ARN for the Amazon EFS file system.
|
218
221
|
# @return [String]
|
219
222
|
#
|
220
223
|
# @!attribute [rw] ec2_config
|
221
|
-
#
|
222
|
-
#
|
223
|
-
# with the security group on the mount target in the subnet specified.
|
224
|
-
#
|
225
|
-
# The exact relationship between security group M (of the mount
|
226
|
-
# target) and security group S (which you provide for DataSync to use
|
227
|
-
# at this stage) is as follows:
|
228
|
-
#
|
229
|
-
# * Security group M (which you associate with the mount target) must
|
230
|
-
# allow inbound access for the Transmission Control Protocol (TCP)
|
231
|
-
# on the NFS port (2049) from security group S. You can enable
|
232
|
-
# inbound connections either by IP address (CIDR range) or security
|
233
|
-
# group.
|
234
|
-
#
|
235
|
-
# * Security group S (provided to DataSync to access EFS) should have
|
236
|
-
# a rule that enables outbound connections to the NFS port on one of
|
237
|
-
# the file system’s mount targets. You can enable outbound
|
238
|
-
# connections either by IP address (CIDR range) or security group.
|
239
|
-
#
|
240
|
-
# For information about security groups and mount targets, see
|
241
|
-
# Security Groups for Amazon EC2 Instances and Mount Targets in the
|
242
|
-
# *Amazon EFS User Guide.*
|
224
|
+
# Specifies the subnet and security groups DataSync uses to access
|
225
|
+
# your Amazon EFS file system.
|
243
226
|
# @return [Types::Ec2Config]
|
244
227
|
#
|
245
228
|
# @!attribute [rw] tags
|
246
|
-
#
|
247
|
-
# resource. The value can be an empty string. This value
|
248
|
-
# manage, filter, and search for your resources. We
|
249
|
-
# create a name tag for your location.
|
229
|
+
# Specifies the key-value pair that represents a tag that you want to
|
230
|
+
# add to the resource. The value can be an empty string. This value
|
231
|
+
# helps you manage, filter, and search for your resources. We
|
232
|
+
# recommend that you create a name tag for your location.
|
250
233
|
# @return [Array<Types::TagListEntry>]
|
251
234
|
#
|
235
|
+
# @!attribute [rw] access_point_arn
|
236
|
+
# Specifies the Amazon Resource Name (ARN) of the access point that
|
237
|
+
# DataSync uses to access the Amazon EFS file system.
|
238
|
+
# @return [String]
|
239
|
+
#
|
240
|
+
# @!attribute [rw] file_system_access_role_arn
|
241
|
+
# Specifies an Identity and Access Management (IAM) role that DataSync
|
242
|
+
# assumes when mounting the Amazon EFS file system.
|
243
|
+
# @return [String]
|
244
|
+
#
|
245
|
+
# @!attribute [rw] in_transit_encryption
|
246
|
+
# Specifies whether you want DataSync to use Transport Layer Security
|
247
|
+
# (TLS) 1.2 encryption when it copies data to or from the Amazon EFS
|
248
|
+
# file system.
|
249
|
+
#
|
250
|
+
# If you specify an access point using `AccessPointArn` or an IAM role
|
251
|
+
# using `FileSystemAccessRoleArn`, you must set this parameter to
|
252
|
+
# `TLS1_2`.
|
253
|
+
# @return [String]
|
254
|
+
#
|
252
255
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationEfsRequest AWS API Documentation
|
253
256
|
#
|
254
257
|
class CreateLocationEfsRequest < Struct.new(
|
255
258
|
:subdirectory,
|
256
259
|
:efs_filesystem_arn,
|
257
260
|
:ec2_config,
|
258
|
-
:tags
|
261
|
+
:tags,
|
262
|
+
:access_point_arn,
|
263
|
+
:file_system_access_role_arn,
|
264
|
+
:in_transit_encryption)
|
259
265
|
SENSITIVE = []
|
260
266
|
include Aws::Structure
|
261
267
|
end
|
@@ -264,7 +270,7 @@ module Aws::DataSync
|
|
264
270
|
#
|
265
271
|
# @!attribute [rw] location_arn
|
266
272
|
# The Amazon Resource Name (ARN) of the Amazon EFS file system
|
267
|
-
# location that
|
273
|
+
# location that you create.
|
268
274
|
# @return [String]
|
269
275
|
#
|
270
276
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationEfsResponse AWS API Documentation
|
@@ -336,6 +342,106 @@ module Aws::DataSync
|
|
336
342
|
include Aws::Structure
|
337
343
|
end
|
338
344
|
|
345
|
+
# @note When making an API call, you may pass CreateLocationFsxOntapRequest
|
346
|
+
# data as a hash:
|
347
|
+
#
|
348
|
+
# {
|
349
|
+
# protocol: { # required
|
350
|
+
# nfs: {
|
351
|
+
# mount_options: {
|
352
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
|
353
|
+
# },
|
354
|
+
# },
|
355
|
+
# smb: {
|
356
|
+
# domain: "SmbDomain",
|
357
|
+
# mount_options: {
|
358
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3
|
359
|
+
# },
|
360
|
+
# password: "SmbPassword", # required
|
361
|
+
# user: "SmbUser", # required
|
362
|
+
# },
|
363
|
+
# },
|
364
|
+
# security_group_arns: ["Ec2SecurityGroupArn"], # required
|
365
|
+
# storage_virtual_machine_arn: "StorageVirtualMachineArn", # required
|
366
|
+
# subdirectory: "FsxOntapSubdirectory",
|
367
|
+
# tags: [
|
368
|
+
# {
|
369
|
+
# key: "TagKey", # required
|
370
|
+
# value: "TagValue",
|
371
|
+
# },
|
372
|
+
# ],
|
373
|
+
# }
|
374
|
+
#
|
375
|
+
# @!attribute [rw] protocol
|
376
|
+
# Specifies the data transfer protocol that DataSync uses to access
|
377
|
+
# your Amazon FSx file system.
|
378
|
+
# @return [Types::FsxProtocol]
|
379
|
+
#
|
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):
|
385
|
+
#
|
386
|
+
# * **Network File System (NFS)**\: TCP port 2049
|
387
|
+
#
|
388
|
+
# * **Server Message Block (SMB)**\: TCP port 445
|
389
|
+
#
|
390
|
+
# Your file system's security groups must also allow inbound traffic
|
391
|
+
# on the same port.
|
392
|
+
# @return [Array<String>]
|
393
|
+
#
|
394
|
+
# @!attribute [rw] storage_virtual_machine_arn
|
395
|
+
# Specifies the ARN of the storage virtual machine (SVM) on your file
|
396
|
+
# system where you're copying data to or from.
|
397
|
+
# @return [String]
|
398
|
+
#
|
399
|
+
# @!attribute [rw] subdirectory
|
400
|
+
# Specifies the junction path (also known as a mount point) in the SVM
|
401
|
+
# volume where you're copying data to or from (for example, `/vol1`).
|
402
|
+
#
|
403
|
+
# <note markdown="1"> Don't specify a junction path in the SVM's root volume. For more
|
404
|
+
# information, see [Managing FSx for ONTAP storage virtual
|
405
|
+
# machines][1] in the *Amazon FSx for NetApp ONTAP User Guide*.
|
406
|
+
#
|
407
|
+
# </note>
|
408
|
+
#
|
409
|
+
#
|
410
|
+
#
|
411
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-svms.html
|
412
|
+
# @return [String]
|
413
|
+
#
|
414
|
+
# @!attribute [rw] tags
|
415
|
+
# Specifies labels that help you categorize, filter, and search for
|
416
|
+
# your Amazon Web Services resources. We recommend creating at least a
|
417
|
+
# name tag for your location.
|
418
|
+
# @return [Array<Types::TagListEntry>]
|
419
|
+
#
|
420
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxOntapRequest AWS API Documentation
|
421
|
+
#
|
422
|
+
class CreateLocationFsxOntapRequest < Struct.new(
|
423
|
+
:protocol,
|
424
|
+
:security_group_arns,
|
425
|
+
:storage_virtual_machine_arn,
|
426
|
+
:subdirectory,
|
427
|
+
:tags)
|
428
|
+
SENSITIVE = []
|
429
|
+
include Aws::Structure
|
430
|
+
end
|
431
|
+
|
432
|
+
# @!attribute [rw] location_arn
|
433
|
+
# Specifies the ARN of the FSx for ONTAP file system location that you
|
434
|
+
# create.
|
435
|
+
# @return [String]
|
436
|
+
#
|
437
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxOntapResponse AWS API Documentation
|
438
|
+
#
|
439
|
+
class CreateLocationFsxOntapResponse < Struct.new(
|
440
|
+
:location_arn)
|
441
|
+
SENSITIVE = []
|
442
|
+
include Aws::Structure
|
443
|
+
end
|
444
|
+
|
339
445
|
# @note When making an API call, you may pass CreateLocationFsxOpenZfsRequest
|
340
446
|
# data as a hash:
|
341
447
|
#
|
@@ -347,6 +453,14 @@ module Aws::DataSync
|
|
347
453
|
# version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
|
348
454
|
# },
|
349
455
|
# },
|
456
|
+
# smb: {
|
457
|
+
# domain: "SmbDomain",
|
458
|
+
# mount_options: {
|
459
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3
|
460
|
+
# },
|
461
|
+
# password: "SmbPassword", # required
|
462
|
+
# user: "SmbUser", # required
|
463
|
+
# },
|
350
464
|
# },
|
351
465
|
# security_group_arns: ["Ec2SecurityGroupArn"], # required
|
352
466
|
# subdirectory: "FsxOpenZfsSubdirectory",
|
@@ -806,59 +920,53 @@ module Aws::DataSync
|
|
806
920
|
# }
|
807
921
|
#
|
808
922
|
# @!attribute [rw] server_hostname
|
809
|
-
#
|
810
|
-
#
|
811
|
-
# storage server. An agent uses this hostname to mount the object
|
923
|
+
# Specifies the domain name or IP address of the object storage
|
924
|
+
# server. A DataSync agent uses this hostname to mount the object
|
812
925
|
# storage server in a network.
|
813
926
|
# @return [String]
|
814
927
|
#
|
815
928
|
# @!attribute [rw] server_port
|
816
|
-
#
|
817
|
-
#
|
818
|
-
# 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your
|
819
|
-
# self-managed object storage server requires one.
|
929
|
+
# Specifies the port that your object storage server accepts inbound
|
930
|
+
# network traffic on (for example, port 443).
|
820
931
|
# @return [Integer]
|
821
932
|
#
|
822
933
|
# @!attribute [rw] server_protocol
|
823
|
-
#
|
824
|
-
#
|
934
|
+
# Specifies the protocol that your object storage server uses to
|
935
|
+
# communicate.
|
825
936
|
# @return [String]
|
826
937
|
#
|
827
938
|
# @!attribute [rw] subdirectory
|
828
|
-
#
|
829
|
-
#
|
939
|
+
# Specifies the object prefix for your object storage server. If this
|
940
|
+
# is a source location, DataSync only copies objects with this prefix.
|
941
|
+
# If this is a destination location, DataSync writes all objects with
|
942
|
+
# this prefix.
|
830
943
|
# @return [String]
|
831
944
|
#
|
832
945
|
# @!attribute [rw] bucket_name
|
833
|
-
#
|
834
|
-
#
|
946
|
+
# Specifies the name of the object storage bucket involved in the
|
947
|
+
# transfer.
|
835
948
|
# @return [String]
|
836
949
|
#
|
837
950
|
# @!attribute [rw] access_key
|
838
|
-
#
|
839
|
-
#
|
840
|
-
# storage requires a user name and password to authenticate, use
|
841
|
-
# `AccessKey` and `SecretKey` to provide the user name and password,
|
842
|
-
# respectively.
|
951
|
+
# Specifies the access key (for example, a user name) if credentials
|
952
|
+
# are required to authenticate with the object storage server.
|
843
953
|
# @return [String]
|
844
954
|
#
|
845
955
|
# @!attribute [rw] secret_key
|
846
|
-
#
|
847
|
-
#
|
848
|
-
# storage requires a user name and password to authenticate, use
|
849
|
-
# `AccessKey` and `SecretKey` to provide the user name and password,
|
850
|
-
# respectively.
|
956
|
+
# Specifies the secret key (for example, a password) if credentials
|
957
|
+
# are required to authenticate with the object storage server.
|
851
958
|
# @return [String]
|
852
959
|
#
|
853
960
|
# @!attribute [rw] agent_arns
|
854
|
-
#
|
855
|
-
#
|
961
|
+
# Specifies the Amazon Resource Names (ARNs) of the DataSync agents
|
962
|
+
# that can securely connect with your location.
|
856
963
|
# @return [Array<String>]
|
857
964
|
#
|
858
965
|
# @!attribute [rw] tags
|
859
|
-
#
|
860
|
-
# the
|
861
|
-
#
|
966
|
+
# Specifies the key-value pair that represents a tag that you want to
|
967
|
+
# add to the resource. Tags can help you manage, filter, and search
|
968
|
+
# for your resources. We recommend creating a name tag for your
|
969
|
+
# location.
|
862
970
|
# @return [Array<Types::TagListEntry>]
|
863
971
|
#
|
864
972
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationObjectStorageRequest AWS API Documentation
|
@@ -880,8 +988,8 @@ module Aws::DataSync
|
|
880
988
|
# CreateLocationObjectStorageResponse
|
881
989
|
#
|
882
990
|
# @!attribute [rw] location_arn
|
883
|
-
#
|
884
|
-
#
|
991
|
+
# Specifies the ARN of the object storage system location that you
|
992
|
+
# create.
|
885
993
|
# @return [String]
|
886
994
|
#
|
887
995
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationObjectStorageResponse AWS API Documentation
|
@@ -1060,8 +1168,8 @@ module Aws::DataSync
|
|
1060
1168
|
# files and folders in the SMB share.
|
1061
1169
|
#
|
1062
1170
|
# For information about choosing a user name that ensures sufficient
|
1063
|
-
# permissions to files, folders, and metadata, see
|
1064
|
-
#
|
1171
|
+
# permissions to files, folders, and metadata, see the [User
|
1172
|
+
# setting](create-smb-location.html#SMBuser) for SMB locations.
|
1065
1173
|
# @return [String]
|
1066
1174
|
#
|
1067
1175
|
# @!attribute [rw] domain
|
@@ -1143,6 +1251,7 @@ module Aws::DataSync
|
|
1143
1251
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
1144
1252
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
1145
1253
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
1254
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
1146
1255
|
# },
|
1147
1256
|
# excludes: [
|
1148
1257
|
# {
|
@@ -1423,7 +1532,8 @@ module Aws::DataSync
|
|
1423
1532
|
# }
|
1424
1533
|
#
|
1425
1534
|
# @!attribute [rw] location_arn
|
1426
|
-
# The Amazon Resource Name (ARN) of the EFS
|
1535
|
+
# The Amazon Resource Name (ARN) of the Amazon EFS file system
|
1536
|
+
# location that you want information about.
|
1427
1537
|
# @return [String]
|
1428
1538
|
#
|
1429
1539
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationEfsRequest AWS API Documentation
|
@@ -1437,32 +1547,47 @@ module Aws::DataSync
|
|
1437
1547
|
# DescribeLocationEfsResponse
|
1438
1548
|
#
|
1439
1549
|
# @!attribute [rw] location_arn
|
1440
|
-
# The
|
1441
|
-
# described.
|
1550
|
+
# The ARN of the Amazon EFS file system location.
|
1442
1551
|
# @return [String]
|
1443
1552
|
#
|
1444
1553
|
# @!attribute [rw] location_uri
|
1445
|
-
# The URL of the EFS
|
1554
|
+
# The URL of the Amazon EFS file system location.
|
1446
1555
|
# @return [String]
|
1447
1556
|
#
|
1448
1557
|
# @!attribute [rw] ec2_config
|
1449
|
-
# The subnet that DataSync uses to access
|
1450
|
-
#
|
1451
|
-
# security group that you provide needs to be able to communicate with
|
1452
|
-
# the security group on the mount target in the subnet specified.
|
1558
|
+
# The subnet and security groups that DataSync uses to access your
|
1559
|
+
# Amazon EFS file system.
|
1453
1560
|
# @return [Types::Ec2Config]
|
1454
1561
|
#
|
1455
1562
|
# @!attribute [rw] creation_time
|
1456
|
-
# The time that the
|
1563
|
+
# The time that the location was created.
|
1457
1564
|
# @return [Time]
|
1458
1565
|
#
|
1566
|
+
# @!attribute [rw] access_point_arn
|
1567
|
+
# The ARN of the access point that DataSync uses to access the Amazon
|
1568
|
+
# EFS file system.
|
1569
|
+
# @return [String]
|
1570
|
+
#
|
1571
|
+
# @!attribute [rw] file_system_access_role_arn
|
1572
|
+
# The Identity and Access Management (IAM) role that DataSync assumes
|
1573
|
+
# when mounting the Amazon EFS file system.
|
1574
|
+
# @return [String]
|
1575
|
+
#
|
1576
|
+
# @!attribute [rw] in_transit_encryption
|
1577
|
+
# Describes whether DataSync uses Transport Layer Security (TLS)
|
1578
|
+
# encryption when copying data to or from the Amazon EFS file system.
|
1579
|
+
# @return [String]
|
1580
|
+
#
|
1459
1581
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationEfsResponse AWS API Documentation
|
1460
1582
|
#
|
1461
1583
|
class DescribeLocationEfsResponse < Struct.new(
|
1462
1584
|
:location_arn,
|
1463
1585
|
:location_uri,
|
1464
1586
|
:ec2_config,
|
1465
|
-
:creation_time
|
1587
|
+
:creation_time,
|
1588
|
+
:access_point_arn,
|
1589
|
+
:file_system_access_role_arn,
|
1590
|
+
:in_transit_encryption)
|
1466
1591
|
SENSITIVE = []
|
1467
1592
|
include Aws::Structure
|
1468
1593
|
end
|
@@ -1516,6 +1641,72 @@ module Aws::DataSync
|
|
1516
1641
|
include Aws::Structure
|
1517
1642
|
end
|
1518
1643
|
|
1644
|
+
# @note When making an API call, you may pass DescribeLocationFsxOntapRequest
|
1645
|
+
# data as a hash:
|
1646
|
+
#
|
1647
|
+
# {
|
1648
|
+
# location_arn: "LocationArn", # required
|
1649
|
+
# }
|
1650
|
+
#
|
1651
|
+
# @!attribute [rw] location_arn
|
1652
|
+
# Specifies the Amazon Resource Name (ARN) of the FSx for ONTAP file
|
1653
|
+
# system location that you want information about.
|
1654
|
+
# @return [String]
|
1655
|
+
#
|
1656
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxOntapRequest AWS API Documentation
|
1657
|
+
#
|
1658
|
+
class DescribeLocationFsxOntapRequest < Struct.new(
|
1659
|
+
:location_arn)
|
1660
|
+
SENSITIVE = []
|
1661
|
+
include Aws::Structure
|
1662
|
+
end
|
1663
|
+
|
1664
|
+
# @!attribute [rw] creation_time
|
1665
|
+
# The time that the location was created.
|
1666
|
+
# @return [Time]
|
1667
|
+
#
|
1668
|
+
# @!attribute [rw] location_arn
|
1669
|
+
# The ARN of the FSx for ONTAP file system location.
|
1670
|
+
# @return [String]
|
1671
|
+
#
|
1672
|
+
# @!attribute [rw] location_uri
|
1673
|
+
# The uniform resource identifier (URI) of the FSx for ONTAP file
|
1674
|
+
# system location.
|
1675
|
+
# @return [String]
|
1676
|
+
#
|
1677
|
+
# @!attribute [rw] protocol
|
1678
|
+
# Specifies the data transfer protocol that DataSync uses to access
|
1679
|
+
# your Amazon FSx file system.
|
1680
|
+
# @return [Types::FsxProtocol]
|
1681
|
+
#
|
1682
|
+
# @!attribute [rw] security_group_arns
|
1683
|
+
# The security groups that DataSync uses to access your FSx for ONTAP
|
1684
|
+
# file system.
|
1685
|
+
# @return [Array<String>]
|
1686
|
+
#
|
1687
|
+
# @!attribute [rw] storage_virtual_machine_arn
|
1688
|
+
# The ARN of the storage virtual machine (SVM) on your FSx for ONTAP
|
1689
|
+
# file system where you're copying data to or from.
|
1690
|
+
# @return [String]
|
1691
|
+
#
|
1692
|
+
# @!attribute [rw] fsx_filesystem_arn
|
1693
|
+
# The ARN of the FSx for ONTAP file system.
|
1694
|
+
# @return [String]
|
1695
|
+
#
|
1696
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxOntapResponse AWS API Documentation
|
1697
|
+
#
|
1698
|
+
class DescribeLocationFsxOntapResponse < Struct.new(
|
1699
|
+
:creation_time,
|
1700
|
+
:location_arn,
|
1701
|
+
:location_uri,
|
1702
|
+
:protocol,
|
1703
|
+
:security_group_arns,
|
1704
|
+
:storage_virtual_machine_arn,
|
1705
|
+
:fsx_filesystem_arn)
|
1706
|
+
SENSITIVE = []
|
1707
|
+
include Aws::Structure
|
1708
|
+
end
|
1709
|
+
|
1519
1710
|
# @note When making an API call, you may pass DescribeLocationFsxOpenZfsRequest
|
1520
1711
|
# data as a hash:
|
1521
1712
|
#
|
@@ -1796,8 +1987,8 @@ module Aws::DataSync
|
|
1796
1987
|
# }
|
1797
1988
|
#
|
1798
1989
|
# @!attribute [rw] location_arn
|
1799
|
-
# The Amazon Resource Name (ARN) of the
|
1800
|
-
#
|
1990
|
+
# The Amazon Resource Name (ARN) of the object storage system location
|
1991
|
+
# that you want information about.
|
1801
1992
|
# @return [String]
|
1802
1993
|
#
|
1803
1994
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationObjectStorageRequest AWS API Documentation
|
@@ -1811,42 +2002,34 @@ module Aws::DataSync
|
|
1811
2002
|
# DescribeLocationObjectStorageResponse
|
1812
2003
|
#
|
1813
2004
|
# @!attribute [rw] location_arn
|
1814
|
-
# The
|
1815
|
-
# server location to describe.
|
2005
|
+
# The ARN of the object storage system location.
|
1816
2006
|
# @return [String]
|
1817
2007
|
#
|
1818
2008
|
# @!attribute [rw] location_uri
|
1819
|
-
# The URL of the
|
1820
|
-
# that was described.
|
2009
|
+
# The URL of the object storage system location.
|
1821
2010
|
# @return [String]
|
1822
2011
|
#
|
1823
2012
|
# @!attribute [rw] access_key
|
1824
|
-
#
|
1825
|
-
#
|
1826
|
-
# storage requires a user name and password to authenticate, use
|
1827
|
-
# `AccessKey` and `SecretKey` to provide the user name and password,
|
1828
|
-
# respectively.
|
2013
|
+
# The access key (for example, a user name) required to authenticate
|
2014
|
+
# with the object storage server.
|
1829
2015
|
# @return [String]
|
1830
2016
|
#
|
1831
2017
|
# @!attribute [rw] server_port
|
1832
|
-
# The port that your
|
1833
|
-
#
|
1834
|
-
# 80 (HTTP) or TCP 443 (HTTPS).
|
2018
|
+
# The port that your object storage server accepts inbound network
|
2019
|
+
# traffic on (for example, port 443).
|
1835
2020
|
# @return [Integer]
|
1836
2021
|
#
|
1837
2022
|
# @!attribute [rw] server_protocol
|
1838
|
-
# The protocol that
|
1839
|
-
# Valid values are HTTP or HTTPS.
|
2023
|
+
# The protocol that your object storage server uses to communicate.
|
1840
2024
|
# @return [String]
|
1841
2025
|
#
|
1842
2026
|
# @!attribute [rw] agent_arns
|
1843
|
-
# The
|
1844
|
-
#
|
2027
|
+
# The ARNs of the DataSync agents that can securely connect with your
|
2028
|
+
# location.
|
1845
2029
|
# @return [Array<String>]
|
1846
2030
|
#
|
1847
2031
|
# @!attribute [rw] creation_time
|
1848
|
-
# The time that the
|
1849
|
-
# created.
|
2032
|
+
# The time that the location was created.
|
1850
2033
|
# @return [Time]
|
1851
2034
|
#
|
1852
2035
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationObjectStorageResponse AWS API Documentation
|
@@ -2297,10 +2480,8 @@ module Aws::DataSync
|
|
2297
2480
|
include Aws::Structure
|
2298
2481
|
end
|
2299
2482
|
|
2300
|
-
# The subnet that DataSync uses to access
|
2301
|
-
#
|
2302
|
-
# security group that you provide needs to be able to communicate with
|
2303
|
-
# the security group on the mount target in the subnet specified.
|
2483
|
+
# The subnet and security groups that DataSync uses to access your
|
2484
|
+
# Amazon EFS file system.
|
2304
2485
|
#
|
2305
2486
|
# @note When making an API call, you may pass Ec2Config
|
2306
2487
|
# data as a hash:
|
@@ -2311,13 +2492,30 @@ module Aws::DataSync
|
|
2311
2492
|
# }
|
2312
2493
|
#
|
2313
2494
|
# @!attribute [rw] subnet_arn
|
2314
|
-
#
|
2315
|
-
#
|
2495
|
+
# Specifies the ARN of a subnet where DataSync creates the [network
|
2496
|
+
# interfaces][1] for managing traffic during your transfer.
|
2497
|
+
#
|
2498
|
+
# The subnet must be located:
|
2499
|
+
#
|
2500
|
+
# * In the same virtual private cloud (VPC) as the Amazon EFS file
|
2501
|
+
# system.
|
2502
|
+
#
|
2503
|
+
# * In the same Availability Zone as at least one mount target for the
|
2504
|
+
# Amazon EFS file system.
|
2505
|
+
#
|
2506
|
+
# <note markdown="1"> You don't need to specify a subnet that includes a file system
|
2507
|
+
# mount target.
|
2508
|
+
#
|
2509
|
+
# </note>
|
2510
|
+
#
|
2511
|
+
#
|
2512
|
+
#
|
2513
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/datasync-network.html#required-network-interfaces
|
2316
2514
|
# @return [String]
|
2317
2515
|
#
|
2318
2516
|
# @!attribute [rw] security_group_arns
|
2319
|
-
#
|
2320
|
-
#
|
2517
|
+
# Specifies the Amazon Resource Names (ARNs) of the security groups
|
2518
|
+
# associated with an Amazon EFS file system's mount target.
|
2321
2519
|
# @return [Array<String>]
|
2322
2520
|
#
|
2323
2521
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/Ec2Config AWS API Documentation
|
@@ -2360,8 +2558,8 @@ module Aws::DataSync
|
|
2360
2558
|
include Aws::Structure
|
2361
2559
|
end
|
2362
2560
|
|
2363
|
-
#
|
2364
|
-
#
|
2561
|
+
# Specifies the data transfer protocol that DataSync uses to access your
|
2562
|
+
# Amazon FSx file system.
|
2365
2563
|
#
|
2366
2564
|
# @note When making an API call, you may pass FsxProtocol
|
2367
2565
|
# data as a hash:
|
@@ -2372,23 +2570,39 @@ module Aws::DataSync
|
|
2372
2570
|
# version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
|
2373
2571
|
# },
|
2374
2572
|
# },
|
2573
|
+
# smb: {
|
2574
|
+
# domain: "SmbDomain",
|
2575
|
+
# mount_options: {
|
2576
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3
|
2577
|
+
# },
|
2578
|
+
# password: "SmbPassword", # required
|
2579
|
+
# user: "SmbUser", # required
|
2580
|
+
# },
|
2375
2581
|
# }
|
2376
2582
|
#
|
2377
2583
|
# @!attribute [rw] nfs
|
2378
|
-
#
|
2379
|
-
# to access your FSx for OpenZFS file system
|
2584
|
+
# Specifies the Network File System (NFS) protocol configuration that
|
2585
|
+
# DataSync uses to access your FSx for OpenZFS file system or FSx for
|
2586
|
+
# ONTAP file system's storage virtual machine (SVM).
|
2380
2587
|
# @return [Types::FsxProtocolNfs]
|
2381
2588
|
#
|
2589
|
+
# @!attribute [rw] smb
|
2590
|
+
# Specifies the Server Message Block (SMB) protocol configuration that
|
2591
|
+
# DataSync uses to access your FSx for ONTAP file system's SVM.
|
2592
|
+
# @return [Types::FsxProtocolSmb]
|
2593
|
+
#
|
2382
2594
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/FsxProtocol AWS API Documentation
|
2383
2595
|
#
|
2384
2596
|
class FsxProtocol < Struct.new(
|
2385
|
-
:nfs
|
2597
|
+
:nfs,
|
2598
|
+
:smb)
|
2386
2599
|
SENSITIVE = []
|
2387
2600
|
include Aws::Structure
|
2388
2601
|
end
|
2389
2602
|
|
2390
|
-
#
|
2391
|
-
# to access your Amazon FSx for OpenZFS
|
2603
|
+
# Specifies the Network File System (NFS) protocol configuration that
|
2604
|
+
# DataSync uses to access your Amazon FSx for OpenZFS or Amazon FSx for
|
2605
|
+
# NetApp ONTAP file system.
|
2392
2606
|
#
|
2393
2607
|
# @note When making an API call, you may pass FsxProtocolNfs
|
2394
2608
|
# data as a hash:
|
@@ -2400,8 +2614,7 @@ module Aws::DataSync
|
|
2400
2614
|
# }
|
2401
2615
|
#
|
2402
2616
|
# @!attribute [rw] mount_options
|
2403
|
-
#
|
2404
|
-
# access an NFS location.
|
2617
|
+
# Specifies how DataSync can access a location using the NFS protocol.
|
2405
2618
|
# @return [Types::NfsMountOptions]
|
2406
2619
|
#
|
2407
2620
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/FsxProtocolNfs AWS API Documentation
|
@@ -2412,6 +2625,55 @@ module Aws::DataSync
|
|
2412
2625
|
include Aws::Structure
|
2413
2626
|
end
|
2414
2627
|
|
2628
|
+
# Specifies the Server Message Block (SMB) protocol configuration that
|
2629
|
+
# DataSync uses to access your Amazon FSx for NetApp ONTAP file system.
|
2630
|
+
# For more information, see [Accessing FSx for ONTAP file systems][1].
|
2631
|
+
#
|
2632
|
+
#
|
2633
|
+
#
|
2634
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-ontap-location.html#create-ontap-location-access
|
2635
|
+
#
|
2636
|
+
# @note When making an API call, you may pass FsxProtocolSmb
|
2637
|
+
# data as a hash:
|
2638
|
+
#
|
2639
|
+
# {
|
2640
|
+
# domain: "SmbDomain",
|
2641
|
+
# mount_options: {
|
2642
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3
|
2643
|
+
# },
|
2644
|
+
# password: "SmbPassword", # required
|
2645
|
+
# user: "SmbUser", # required
|
2646
|
+
# }
|
2647
|
+
#
|
2648
|
+
# @!attribute [rw] domain
|
2649
|
+
# Specifies the fully qualified domain name (FQDN) of the Microsoft
|
2650
|
+
# Active Directory that your storage virtual machine (SVM) belongs to.
|
2651
|
+
# @return [String]
|
2652
|
+
#
|
2653
|
+
# @!attribute [rw] mount_options
|
2654
|
+
# Specifies how DataSync can access a location using the SMB protocol.
|
2655
|
+
# @return [Types::SmbMountOptions]
|
2656
|
+
#
|
2657
|
+
# @!attribute [rw] password
|
2658
|
+
# Specifies the password of a user who has permission to access your
|
2659
|
+
# SVM.
|
2660
|
+
# @return [String]
|
2661
|
+
#
|
2662
|
+
# @!attribute [rw] user
|
2663
|
+
# Specifies a user who has permission to access your SVM.
|
2664
|
+
# @return [String]
|
2665
|
+
#
|
2666
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/FsxProtocolSmb AWS API Documentation
|
2667
|
+
#
|
2668
|
+
class FsxProtocolSmb < Struct.new(
|
2669
|
+
:domain,
|
2670
|
+
:mount_options,
|
2671
|
+
:password,
|
2672
|
+
:user)
|
2673
|
+
SENSITIVE = [:password]
|
2674
|
+
include Aws::Structure
|
2675
|
+
end
|
2676
|
+
|
2415
2677
|
# The NameNode of the Hadoop Distributed File System (HDFS). The
|
2416
2678
|
# NameNode manages the file system's namespace. The NameNode performs
|
2417
2679
|
# operations such as opening, closing, and renaming files and
|
@@ -2471,11 +2733,15 @@ module Aws::DataSync
|
|
2471
2733
|
# @!attribute [rw] error_code
|
2472
2734
|
# @return [String]
|
2473
2735
|
#
|
2736
|
+
# @!attribute [rw] datasync_error_code
|
2737
|
+
# @return [String]
|
2738
|
+
#
|
2474
2739
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/InvalidRequestException AWS API Documentation
|
2475
2740
|
#
|
2476
2741
|
class InvalidRequestException < Struct.new(
|
2477
2742
|
:message,
|
2478
|
-
:error_code
|
2743
|
+
:error_code,
|
2744
|
+
:datasync_error_code)
|
2479
2745
|
SENSITIVE = []
|
2480
2746
|
include Aws::Structure
|
2481
2747
|
end
|
@@ -2859,8 +3125,7 @@ module Aws::DataSync
|
|
2859
3125
|
include Aws::Structure
|
2860
3126
|
end
|
2861
3127
|
|
2862
|
-
#
|
2863
|
-
# an NFS location.
|
3128
|
+
# Specifies how DataSync can access a location using the NFS protocol.
|
2864
3129
|
#
|
2865
3130
|
# @note When making an API call, you may pass NfsMountOptions
|
2866
3131
|
# data as a hash:
|
@@ -2870,26 +3135,28 @@ module Aws::DataSync
|
|
2870
3135
|
# }
|
2871
3136
|
#
|
2872
3137
|
# @!attribute [rw] version
|
2873
|
-
#
|
2874
|
-
# NFS share. If the server refuses to use the version
|
2875
|
-
#
|
2876
|
-
# to `AUTOMATIC`. That is, DataSync automatically selects a version
|
2877
|
-
# based on negotiation with the NFS server.
|
3138
|
+
# Specifies the NFS version that you want DataSync to use when
|
3139
|
+
# mounting your NFS share. If the server refuses to use the version
|
3140
|
+
# specified, the task fails.
|
2878
3141
|
#
|
2879
|
-
# You can specify the following
|
3142
|
+
# You can specify the following options:
|
2880
3143
|
#
|
2881
|
-
# *
|
2882
|
-
# stateless protocol version that allows for asynchronous writes on
|
2883
|
-
# the server.
|
3144
|
+
# * `AUTOMATIC` (default): DataSync chooses NFS version 4.1.
|
2884
3145
|
#
|
2885
|
-
# *
|
2886
|
-
#
|
2887
|
-
# delegations and pseudo file systems.
|
3146
|
+
# * `NFS3`\: Stateless protocol version that allows for asynchronous
|
3147
|
+
# writes on the server.
|
2888
3148
|
#
|
2889
|
-
# *
|
2890
|
-
#
|
2891
|
-
#
|
2892
|
-
#
|
3149
|
+
# * `NFSv4_0`\: Stateful, firewall-friendly protocol version that
|
3150
|
+
# supports delegations and pseudo file systems.
|
3151
|
+
#
|
3152
|
+
# * `NFSv4_1`\: Stateful protocol version that supports sessions,
|
3153
|
+
# directory delegations, and parallel data processing. NFS version
|
3154
|
+
# 4.1 also includes all features available in version 4.0.
|
3155
|
+
#
|
3156
|
+
# <note markdown="1"> DataSync currently only supports NFS version 3 with Amazon FSx for
|
3157
|
+
# NetApp ONTAP locations.
|
3158
|
+
#
|
3159
|
+
# </note>
|
2893
3160
|
# @return [String]
|
2894
3161
|
#
|
2895
3162
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/NfsMountOptions AWS API Documentation
|
@@ -2955,6 +3222,7 @@ module Aws::DataSync
|
|
2955
3222
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2956
3223
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
2957
3224
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
3225
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
2958
3226
|
# }
|
2959
3227
|
#
|
2960
3228
|
# @!attribute [rw] verify_mode
|
@@ -2963,20 +3231,20 @@ module Aws::DataSync
|
|
2963
3231
|
# metadata have been transferred. For more information, see [Configure
|
2964
3232
|
# task settings][1].
|
2965
3233
|
#
|
2966
|
-
# Default value:
|
3234
|
+
# Default value: `POINT_IN_TIME_CONSISTENT`
|
2967
3235
|
#
|
2968
|
-
#
|
3236
|
+
# `ONLY_FILES_TRANSFERRED` (recommended): Perform verification only on
|
2969
3237
|
# files that were transferred.
|
2970
3238
|
#
|
2971
|
-
#
|
3239
|
+
# `POINT_IN_TIME_CONSISTENT`\: Scan the entire source and entire
|
2972
3240
|
# destination at the end of the transfer to verify that source and
|
2973
3241
|
# destination are fully synchronized. This option isn't supported
|
2974
|
-
# when transferring to S3 Glacier or S3 Glacier
|
2975
|
-
# classes.
|
3242
|
+
# when transferring to S3 Glacier Flexible Retrieval or S3 Glacier
|
3243
|
+
# Deep Archive storage classes.
|
2976
3244
|
#
|
2977
|
-
# NONE
|
2978
|
-
# but all data transmissions are integrity-checked with
|
2979
|
-
# verification during the transfer.
|
3245
|
+
# `NONE`\: No additional verification is done at the end of the
|
3246
|
+
# transfer, but all data transmissions are integrity-checked with
|
3247
|
+
# checksum verification during the transfer.
|
2980
3248
|
#
|
2981
3249
|
#
|
2982
3250
|
#
|
@@ -3004,58 +3272,59 @@ module Aws::DataSync
|
|
3004
3272
|
# @!attribute [rw] atime
|
3005
3273
|
# A file metadata value that shows the last time a file was accessed
|
3006
3274
|
# (that is, when the file was read or written to). If you set `Atime`
|
3007
|
-
# to
|
3275
|
+
# to `BEST_EFFORT`, DataSync attempts to preserve the original `Atime`
|
3008
3276
|
# attribute on all source files (that is, the version before the
|
3009
|
-
# PREPARING phase). However, `Atime`'s behavior is not fully
|
3010
|
-
# across platforms, so DataSync can only do this on a
|
3011
|
-
# basis.
|
3277
|
+
# `PREPARING` phase). However, `Atime`'s behavior is not fully
|
3278
|
+
# standard across platforms, so DataSync can only do this on a
|
3279
|
+
# best-effort basis.
|
3012
3280
|
#
|
3013
|
-
# Default value:
|
3281
|
+
# Default value: `BEST_EFFORT`
|
3014
3282
|
#
|
3015
|
-
#
|
3283
|
+
# `BEST_EFFORT`\: Attempt to preserve the per-file `Atime` value
|
3016
3284
|
# (recommended).
|
3017
3285
|
#
|
3018
|
-
# NONE
|
3286
|
+
# `NONE`\: Ignore `Atime`.
|
3019
3287
|
#
|
3020
|
-
# <note markdown="1"> If `Atime` is set to
|
3288
|
+
# <note markdown="1"> If `Atime` is set to `BEST_EFFORT`, `Mtime` must be set to
|
3289
|
+
# `PRESERVE`.
|
3021
3290
|
#
|
3022
|
-
# If `Atime` is set to NONE
|
3291
|
+
# If `Atime` is set to `NONE`, `Mtime` must also be `NONE`.
|
3023
3292
|
#
|
3024
3293
|
# </note>
|
3025
3294
|
# @return [String]
|
3026
3295
|
#
|
3027
3296
|
# @!attribute [rw] mtime
|
3028
3297
|
# A value that indicates the last time that a file was modified (that
|
3029
|
-
# is, a file was written to) before the PREPARING phase. This option
|
3298
|
+
# is, a file was written to) before the `PREPARING` phase. This option
|
3030
3299
|
# is required for cases when you need to run the same task more than
|
3031
3300
|
# one time.
|
3032
3301
|
#
|
3033
|
-
# Default
|
3302
|
+
# Default Value: `PRESERVE`
|
3034
3303
|
#
|
3035
|
-
# PRESERVE
|
3304
|
+
# `PRESERVE`\: Preserve original `Mtime` (recommended)
|
3036
3305
|
#
|
3037
|
-
# NONE
|
3306
|
+
# `NONE`\: Ignore `Mtime`.
|
3038
3307
|
#
|
3039
|
-
# <note markdown="1"> If `Mtime` is set to PRESERVE
|
3308
|
+
# <note markdown="1"> If `Mtime` is set to `PRESERVE`, `Atime` must be set to
|
3309
|
+
# `BEST_EFFORT`.
|
3040
3310
|
#
|
3041
|
-
# If `Mtime` is set to NONE
|
3311
|
+
# If `Mtime` is set to `NONE`, `Atime` must also be set to `NONE`.
|
3042
3312
|
#
|
3043
3313
|
# </note>
|
3044
3314
|
# @return [String]
|
3045
3315
|
#
|
3046
3316
|
# @!attribute [rw] uid
|
3047
|
-
# The POSIX user ID (UID) of the file's owner.
|
3048
|
-
# only be set for NFS, EFS, and S3 locations. To learn more about what
|
3049
|
-
# metadata is copied by DataSync, see [Metadata Copied by
|
3050
|
-
# DataSync][1].
|
3317
|
+
# The POSIX user ID (UID) of the file's owner.
|
3051
3318
|
#
|
3052
|
-
#
|
3319
|
+
# For more information, see [Metadata copied by DataSync][1].
|
3320
|
+
#
|
3321
|
+
# Default value: `INT_VALUE`. This preserves the integer value of the
|
3053
3322
|
# ID.
|
3054
3323
|
#
|
3055
|
-
#
|
3324
|
+
# `INT_VALUE`\: Preserve the integer value of UID and group ID (GID)
|
3056
3325
|
# (recommended).
|
3057
3326
|
#
|
3058
|
-
# NONE
|
3327
|
+
# `NONE`\: Ignore UID and GID.
|
3059
3328
|
#
|
3060
3329
|
#
|
3061
3330
|
#
|
@@ -3063,18 +3332,17 @@ module Aws::DataSync
|
|
3063
3332
|
# @return [String]
|
3064
3333
|
#
|
3065
3334
|
# @!attribute [rw] gid
|
3066
|
-
# The POSIX group ID (GID) of the file's owners.
|
3067
|
-
#
|
3068
|
-
#
|
3069
|
-
# DataSync][1].
|
3335
|
+
# The POSIX group ID (GID) of the file's owners.
|
3336
|
+
#
|
3337
|
+
# For more information, see [Metadata copied by DataSync][1].
|
3070
3338
|
#
|
3071
|
-
# Default value:
|
3339
|
+
# Default value: `INT_VALUE`. This preserves the integer value of the
|
3072
3340
|
# ID.
|
3073
3341
|
#
|
3074
|
-
#
|
3342
|
+
# `INT_VALUE`\: Preserve the integer value of user ID (UID) and GID
|
3075
3343
|
# (recommended).
|
3076
3344
|
#
|
3077
|
-
# NONE
|
3345
|
+
# `NONE`\: Ignore UID and GID.
|
3078
3346
|
#
|
3079
3347
|
#
|
3080
3348
|
#
|
@@ -3090,11 +3358,12 @@ module Aws::DataSync
|
|
3090
3358
|
# Amazon S3 storage classes in DataSync ][1] in the *DataSync User
|
3091
3359
|
# Guide*.
|
3092
3360
|
#
|
3093
|
-
# Default value: PRESERVE
|
3361
|
+
# Default value: `PRESERVE`
|
3094
3362
|
#
|
3095
|
-
# PRESERVE
|
3363
|
+
# `PRESERVE`\: Ignore such destination files (recommended).
|
3096
3364
|
#
|
3097
|
-
# REMOVE
|
3365
|
+
# `REMOVE`\: Delete destination files that aren’t present in the
|
3366
|
+
# source.
|
3098
3367
|
#
|
3099
3368
|
#
|
3100
3369
|
#
|
@@ -3113,26 +3382,26 @@ module Aws::DataSync
|
|
3113
3382
|
#
|
3114
3383
|
# </note>
|
3115
3384
|
#
|
3116
|
-
# Default value: NONE
|
3385
|
+
# Default value: `NONE`
|
3117
3386
|
#
|
3118
|
-
# NONE
|
3387
|
+
# `NONE`\: Ignore special devices (recommended).
|
3119
3388
|
#
|
3120
|
-
# PRESERVE
|
3121
|
-
# isn't currently supported for Amazon EFS.
|
3389
|
+
# `PRESERVE`\: Preserve character and block device metadata. This
|
3390
|
+
# option isn't currently supported for Amazon EFS.
|
3122
3391
|
# @return [String]
|
3123
3392
|
#
|
3124
3393
|
# @!attribute [rw] posix_permissions
|
3125
3394
|
# A value that determines which users or groups can access a file for
|
3126
3395
|
# a specific purpose such as reading, writing, or execution of the
|
3127
|
-
# file.
|
3128
|
-
# For more information about what metadata is copied by DataSync, see
|
3129
|
-
# [Metadata Copied by DataSync][1].
|
3396
|
+
# file.
|
3130
3397
|
#
|
3131
|
-
#
|
3398
|
+
# For more information, see [Metadata copied by DataSync][1].
|
3132
3399
|
#
|
3133
|
-
#
|
3400
|
+
# Default value: `PRESERVE`
|
3134
3401
|
#
|
3135
|
-
#
|
3402
|
+
# `PRESERVE`\: Preserve POSIX-style permissions (recommended).
|
3403
|
+
#
|
3404
|
+
# `NONE`\: Ignore permissions.
|
3136
3405
|
#
|
3137
3406
|
# <note markdown="1"> DataSync can preserve extant permissions of a source location.
|
3138
3407
|
#
|
@@ -3183,12 +3452,13 @@ module Aws::DataSync
|
|
3183
3452
|
# location, or whether DataSync transfers all the content from the
|
3184
3453
|
# source, without comparing to the destination location.
|
3185
3454
|
#
|
3186
|
-
# CHANGED
|
3455
|
+
# `CHANGED`\: DataSync copies only data or metadata that is new or
|
3187
3456
|
# different content from the source location to the destination
|
3188
3457
|
# location.
|
3189
3458
|
#
|
3190
|
-
# ALL
|
3191
|
-
# without comparing to existing content on the
|
3459
|
+
# `ALL`\: DataSync copies all source location content to the
|
3460
|
+
# destination, without comparing to existing content on the
|
3461
|
+
# destination.
|
3192
3462
|
# @return [String]
|
3193
3463
|
#
|
3194
3464
|
# @!attribute [rw] security_descriptor_copy_flags
|
@@ -3201,10 +3471,10 @@ module Aws::DataSync
|
|
3201
3471
|
# handles metadata, see [How DataSync Handles Metadata and Special
|
3202
3472
|
# Files][1].
|
3203
3473
|
#
|
3204
|
-
# Default value:
|
3474
|
+
# Default value: `OWNER_DACL`
|
3205
3475
|
#
|
3206
|
-
#
|
3207
|
-
#
|
3476
|
+
# `OWNER_DACL`\: For each copied object, DataSync copies the following
|
3477
|
+
# metadata:
|
3208
3478
|
#
|
3209
3479
|
# * Object owner.
|
3210
3480
|
#
|
@@ -3215,7 +3485,7 @@ module Aws::DataSync
|
|
3215
3485
|
# access control lists (SACLs), which are used by administrators to
|
3216
3486
|
# log attempts to access a secured object.
|
3217
3487
|
#
|
3218
|
-
#
|
3488
|
+
# `OWNER_DACL_SACL`\: For each copied object, DataSync copies the
|
3219
3489
|
# following metadata:
|
3220
3490
|
#
|
3221
3491
|
# * Object owner.
|
@@ -3232,16 +3502,24 @@ module Aws::DataSync
|
|
3232
3502
|
# permissions to files, folders, and metadata, see
|
3233
3503
|
# [user](create-smb-location.html#SMBuser).
|
3234
3504
|
#
|
3235
|
-
#
|
3236
|
-
#
|
3237
|
-
#
|
3238
|
-
#
|
3505
|
+
# `NONE`\: None of the SMB security descriptor components are copied.
|
3506
|
+
# Destination objects are owned by the user that was provided for
|
3507
|
+
# accessing the destination location. DACLs and SACLs are set based on
|
3508
|
+
# the destination server’s configuration.
|
3239
3509
|
#
|
3240
3510
|
#
|
3241
3511
|
#
|
3242
3512
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/special-files.html
|
3243
3513
|
# @return [String]
|
3244
3514
|
#
|
3515
|
+
# @!attribute [rw] object_tags
|
3516
|
+
# Specifies whether object tags are maintained when transferring
|
3517
|
+
# between object storage systems. If you want your DataSync task to
|
3518
|
+
# ignore object tags, specify the `NONE` value.
|
3519
|
+
#
|
3520
|
+
# Default Value: `PRESERVE`
|
3521
|
+
# @return [String]
|
3522
|
+
#
|
3245
3523
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/Options AWS API Documentation
|
3246
3524
|
#
|
3247
3525
|
class Options < Struct.new(
|
@@ -3258,7 +3536,8 @@ module Aws::DataSync
|
|
3258
3536
|
:task_queueing,
|
3259
3537
|
:log_level,
|
3260
3538
|
:transfer_mode,
|
3261
|
-
:security_descriptor_copy_flags
|
3539
|
+
:security_descriptor_copy_flags,
|
3540
|
+
:object_tags)
|
3262
3541
|
SENSITIVE = []
|
3263
3542
|
include Aws::Structure
|
3264
3543
|
end
|
@@ -3363,8 +3642,7 @@ module Aws::DataSync
|
|
3363
3642
|
include Aws::Structure
|
3364
3643
|
end
|
3365
3644
|
|
3366
|
-
#
|
3367
|
-
# an SMB location.
|
3645
|
+
# Specifies how DataSync can access a location using the SMB protocol.
|
3368
3646
|
#
|
3369
3647
|
# @note When making an API call, you may pass SmbMountOptions
|
3370
3648
|
# data as a hash:
|
@@ -3374,10 +3652,10 @@ module Aws::DataSync
|
|
3374
3652
|
# }
|
3375
3653
|
#
|
3376
3654
|
# @!attribute [rw] version
|
3377
|
-
#
|
3378
|
-
# SMB share. If you don't specify a version, DataSync
|
3379
|
-
# `AUTOMATIC
|
3380
|
-
#
|
3655
|
+
# Specifies the SMB version that you want DataSync to use when
|
3656
|
+
# mounting your SMB share. If you don't specify a version, DataSync
|
3657
|
+
# defaults to `AUTOMATIC` and chooses a version based on negotiation
|
3658
|
+
# with the SMB server.
|
3381
3659
|
# @return [String]
|
3382
3660
|
#
|
3383
3661
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/SmbMountOptions AWS API Documentation
|
@@ -3410,6 +3688,7 @@ module Aws::DataSync
|
|
3410
3688
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
3411
3689
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
3412
3690
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
3691
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
3413
3692
|
# },
|
3414
3693
|
# includes: [
|
3415
3694
|
# {
|
@@ -3989,8 +4268,7 @@ module Aws::DataSync
|
|
3989
4268
|
# @return [Types::OnPremConfig]
|
3990
4269
|
#
|
3991
4270
|
# @!attribute [rw] mount_options
|
3992
|
-
#
|
3993
|
-
# access an NFS location.
|
4271
|
+
# Specifies how DataSync can access a location using the NFS protocol.
|
3994
4272
|
# @return [Types::NfsMountOptions]
|
3995
4273
|
#
|
3996
4274
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationNfsRequest AWS API Documentation
|
@@ -4149,8 +4427,7 @@ module Aws::DataSync
|
|
4149
4427
|
# @return [Array<String>]
|
4150
4428
|
#
|
4151
4429
|
# @!attribute [rw] mount_options
|
4152
|
-
#
|
4153
|
-
# access an SMB location.
|
4430
|
+
# Specifies how DataSync can access a location using the SMB protocol.
|
4154
4431
|
# @return [Types::SmbMountOptions]
|
4155
4432
|
#
|
4156
4433
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationSmbRequest AWS API Documentation
|
@@ -4191,6 +4468,7 @@ module Aws::DataSync
|
|
4191
4468
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
4192
4469
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
4193
4470
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
4471
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
4194
4472
|
# },
|
4195
4473
|
# }
|
4196
4474
|
#
|
@@ -4252,6 +4530,7 @@ module Aws::DataSync
|
|
4252
4530
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
4253
4531
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
4254
4532
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
4533
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
4255
4534
|
# },
|
4256
4535
|
# excludes: [
|
4257
4536
|
# {
|