aws-sdk-datasync 1.43.0 → 1.46.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 +122 -14
- data/lib/aws-sdk-datasync/client_api.rb +56 -0
- data/lib/aws-sdk-datasync/errors.rb +5 -0
- data/lib/aws-sdk-datasync/types.rb +230 -39
- data/lib/aws-sdk-datasync.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a55193f2d81610b8a139fd4a3141f92836988303e8be894a6518f83fba89205b
|
4
|
+
data.tar.gz: 01e7df4e5ef7c720976b87ff1b6774b31cdcd739c363abf42df8b692222615a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ee5e6f414f53b6bf6ad322c411cbcc597bea3d4edb7b44dc31714b07cc9c569f4c8f8707e9b2475f20e9ea2c4499aa429330a0f9e735456bddcc8b08f572e88
|
7
|
+
data.tar.gz: 9017a3c21891d2e4fdf9589f6799baf47ecfd70eabe1503e4b8829215f0d072586a2db2e482154f28ea276e9dd8f00d91771f6512663b0f83b186887b4b1a666
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.46.0 (2022-05-05)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS DataSync now supports a new ObjectTags Task API option that can be used to control whether Object Tags are transferred.
|
8
|
+
|
9
|
+
1.45.0 (2022-04-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS DataSync now supports Amazon FSx for OpenZFS locations.
|
13
|
+
|
14
|
+
1.44.0 (2022-02-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.43.0 (2022-02-03)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.46.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
32
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
@@ -75,6 +76,7 @@ module Aws::DataSync
|
|
75
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
80
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
@@ -636,6 +638,67 @@ module Aws::DataSync
|
|
636
638
|
req.send_request(options)
|
637
639
|
end
|
638
640
|
|
641
|
+
# Creates an endpoint for an Amazon FSx for OpenZFS file system.
|
642
|
+
#
|
643
|
+
# @option params [required, String] :fsx_filesystem_arn
|
644
|
+
# The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.
|
645
|
+
#
|
646
|
+
# @option params [required, Types::FsxProtocol] :protocol
|
647
|
+
# The type of protocol that DataSync uses to access your file system.
|
648
|
+
#
|
649
|
+
# @option params [required, Array<String>] :security_group_arns
|
650
|
+
# The ARNs of the security groups that are used to configure the FSx for
|
651
|
+
# OpenZFS file system.
|
652
|
+
#
|
653
|
+
# @option params [String] :subdirectory
|
654
|
+
# A subdirectory in the location's path that must begin with `/fsx`.
|
655
|
+
# DataSync uses this subdirectory to read or write data (depending on
|
656
|
+
# whether the file system is a source or destination location).
|
657
|
+
#
|
658
|
+
# @option params [Array<Types::TagListEntry>] :tags
|
659
|
+
# The key-value pair that represents a tag that you want to add to the
|
660
|
+
# resource. The value can be an empty string. This value helps you
|
661
|
+
# manage, filter, and search for your resources. We recommend that you
|
662
|
+
# create a name tag for your location.
|
663
|
+
#
|
664
|
+
# @return [Types::CreateLocationFsxOpenZfsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
665
|
+
#
|
666
|
+
# * {Types::CreateLocationFsxOpenZfsResponse#location_arn #location_arn} => String
|
667
|
+
#
|
668
|
+
# @example Request syntax with placeholder values
|
669
|
+
#
|
670
|
+
# resp = client.create_location_fsx_open_zfs({
|
671
|
+
# fsx_filesystem_arn: "FsxFilesystemArn", # required
|
672
|
+
# protocol: { # required
|
673
|
+
# nfs: {
|
674
|
+
# mount_options: {
|
675
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
|
676
|
+
# },
|
677
|
+
# },
|
678
|
+
# },
|
679
|
+
# security_group_arns: ["Ec2SecurityGroupArn"], # required
|
680
|
+
# subdirectory: "FsxOpenZfsSubdirectory",
|
681
|
+
# tags: [
|
682
|
+
# {
|
683
|
+
# key: "TagKey", # required
|
684
|
+
# value: "TagValue",
|
685
|
+
# },
|
686
|
+
# ],
|
687
|
+
# })
|
688
|
+
#
|
689
|
+
# @example Response structure
|
690
|
+
#
|
691
|
+
# resp.location_arn #=> String
|
692
|
+
#
|
693
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxOpenZfs AWS API Documentation
|
694
|
+
#
|
695
|
+
# @overload create_location_fsx_open_zfs(params = {})
|
696
|
+
# @param [Hash] params ({})
|
697
|
+
def create_location_fsx_open_zfs(params = {}, options = {})
|
698
|
+
req = build_request(:create_location_fsx_open_zfs, params)
|
699
|
+
req.send_request(options)
|
700
|
+
end
|
701
|
+
|
639
702
|
# Creates an endpoint for an Amazon FSx for Windows File Server file
|
640
703
|
# system.
|
641
704
|
#
|
@@ -650,8 +713,8 @@ module Aws::DataSync
|
|
650
713
|
# file system.
|
651
714
|
#
|
652
715
|
# @option params [required, Array<String>] :security_group_arns
|
653
|
-
# The
|
654
|
-
#
|
716
|
+
# The ARNs of the security groups that are used to configure the FSx for
|
717
|
+
# Windows File Server file system.
|
655
718
|
#
|
656
719
|
# @option params [Array<Types::TagListEntry>] :tags
|
657
720
|
# The key-value pair that represents a tag that you want to add to the
|
@@ -882,7 +945,7 @@ module Aws::DataSync
|
|
882
945
|
# @option params [required, String] :server_hostname
|
883
946
|
# The name of the NFS server. This value is the IP address or Domain
|
884
947
|
# Name Service (DNS) name of the NFS server. An agent that is installed
|
885
|
-
# on-premises uses this
|
948
|
+
# on-premises uses this hostname to mount the NFS server in a network.
|
886
949
|
#
|
887
950
|
# If you are copying data to or from your Snowcone device, see [NFS
|
888
951
|
# Server on Snowcone][1] for more information.
|
@@ -962,8 +1025,8 @@ module Aws::DataSync
|
|
962
1025
|
# @option params [required, String] :server_hostname
|
963
1026
|
# The name of the self-managed object storage server. This value is the
|
964
1027
|
# IP address or Domain Name Service (DNS) name of the object storage
|
965
|
-
# server. An agent uses this
|
966
|
-
#
|
1028
|
+
# server. An agent uses this hostname to mount the object storage server
|
1029
|
+
# in a network.
|
967
1030
|
#
|
968
1031
|
# @option params [Integer] :server_port
|
969
1032
|
# The port that your self-managed object storage server accepts inbound
|
@@ -1077,13 +1140,13 @@ module Aws::DataSync
|
|
1077
1140
|
#
|
1078
1141
|
# @option params [required, Types::S3Config] :s3_config
|
1079
1142
|
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
1080
|
-
# (IAM) role
|
1143
|
+
# (IAM) role used to access an Amazon S3 bucket.
|
1081
1144
|
#
|
1082
1145
|
# For detailed information about using such a role, see Creating a
|
1083
1146
|
# Location for Amazon S3 in the *DataSync User Guide*.
|
1084
1147
|
#
|
1085
1148
|
# @option params [Array<String>] :agent_arns
|
1086
|
-
# If you
|
1149
|
+
# If you're using DataSync on an Amazon Web Services Outpost, specify
|
1087
1150
|
# the Amazon Resource Names (ARNs) of the DataSync agents deployed on
|
1088
1151
|
# your Outpost. For more information about launching a DataSync agent on
|
1089
1152
|
# an Amazon Web Services Outpost, see [Deploy your DataSync agent on
|
@@ -1341,6 +1404,7 @@ module Aws::DataSync
|
|
1341
1404
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
1342
1405
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
1343
1406
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
1407
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
1344
1408
|
# },
|
1345
1409
|
# excludes: [
|
1346
1410
|
# {
|
@@ -1535,8 +1599,8 @@ module Aws::DataSync
|
|
1535
1599
|
req.send_request(options)
|
1536
1600
|
end
|
1537
1601
|
|
1538
|
-
# Returns metadata
|
1539
|
-
#
|
1602
|
+
# Returns metadata about an Amazon FSx for Lustre location, such as
|
1603
|
+
# information about its path.
|
1540
1604
|
#
|
1541
1605
|
# @option params [required, String] :location_arn
|
1542
1606
|
# The Amazon Resource Name (ARN) of the FSx for Lustre location to
|
@@ -1572,8 +1636,47 @@ module Aws::DataSync
|
|
1572
1636
|
req.send_request(options)
|
1573
1637
|
end
|
1574
1638
|
|
1575
|
-
# Returns metadata
|
1576
|
-
#
|
1639
|
+
# Returns metadata about an Amazon FSx for OpenZFS location, such as
|
1640
|
+
# information about its path.
|
1641
|
+
#
|
1642
|
+
# @option params [required, String] :location_arn
|
1643
|
+
# The Amazon Resource Name (ARN) of the FSx for OpenZFS location to
|
1644
|
+
# describe.
|
1645
|
+
#
|
1646
|
+
# @return [Types::DescribeLocationFsxOpenZfsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1647
|
+
#
|
1648
|
+
# * {Types::DescribeLocationFsxOpenZfsResponse#location_arn #location_arn} => String
|
1649
|
+
# * {Types::DescribeLocationFsxOpenZfsResponse#location_uri #location_uri} => String
|
1650
|
+
# * {Types::DescribeLocationFsxOpenZfsResponse#security_group_arns #security_group_arns} => Array<String>
|
1651
|
+
# * {Types::DescribeLocationFsxOpenZfsResponse#protocol #protocol} => Types::FsxProtocol
|
1652
|
+
# * {Types::DescribeLocationFsxOpenZfsResponse#creation_time #creation_time} => Time
|
1653
|
+
#
|
1654
|
+
# @example Request syntax with placeholder values
|
1655
|
+
#
|
1656
|
+
# resp = client.describe_location_fsx_open_zfs({
|
1657
|
+
# location_arn: "LocationArn", # required
|
1658
|
+
# })
|
1659
|
+
#
|
1660
|
+
# @example Response structure
|
1661
|
+
#
|
1662
|
+
# resp.location_arn #=> String
|
1663
|
+
# resp.location_uri #=> String
|
1664
|
+
# resp.security_group_arns #=> Array
|
1665
|
+
# resp.security_group_arns[0] #=> String
|
1666
|
+
# resp.protocol.nfs.mount_options.version #=> String, one of "AUTOMATIC", "NFS3", "NFS4_0", "NFS4_1"
|
1667
|
+
# resp.creation_time #=> Time
|
1668
|
+
#
|
1669
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxOpenZfs AWS API Documentation
|
1670
|
+
#
|
1671
|
+
# @overload describe_location_fsx_open_zfs(params = {})
|
1672
|
+
# @param [Hash] params ({})
|
1673
|
+
def describe_location_fsx_open_zfs(params = {}, options = {})
|
1674
|
+
req = build_request(:describe_location_fsx_open_zfs, params)
|
1675
|
+
req.send_request(options)
|
1676
|
+
end
|
1677
|
+
|
1678
|
+
# Returns metadata about an Amazon FSx for Windows File Server location,
|
1679
|
+
# such as information about its path.
|
1577
1680
|
#
|
1578
1681
|
# @option params [required, String] :location_arn
|
1579
1682
|
# The Amazon Resource Name (ARN) of the FSx for Windows File Server
|
@@ -1894,6 +1997,7 @@ module Aws::DataSync
|
|
1894
1997
|
# resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
|
1895
1998
|
# resp.options.transfer_mode #=> String, one of "CHANGED", "ALL"
|
1896
1999
|
# resp.options.security_descriptor_copy_flags #=> String, one of "NONE", "OWNER_DACL", "OWNER_DACL_SACL"
|
2000
|
+
# resp.options.object_tags #=> String, one of "PRESERVE", "NONE"
|
1897
2001
|
# resp.excludes #=> Array
|
1898
2002
|
# resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
|
1899
2003
|
# resp.excludes[0].value #=> String
|
@@ -1958,6 +2062,7 @@ module Aws::DataSync
|
|
1958
2062
|
# resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
|
1959
2063
|
# resp.options.transfer_mode #=> String, one of "CHANGED", "ALL"
|
1960
2064
|
# resp.options.security_descriptor_copy_flags #=> String, one of "NONE", "OWNER_DACL", "OWNER_DACL_SACL"
|
2065
|
+
# resp.options.object_tags #=> String, one of "PRESERVE", "NONE"
|
1961
2066
|
# resp.excludes #=> Array
|
1962
2067
|
# resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
|
1963
2068
|
# resp.excludes[0].value #=> String
|
@@ -2301,6 +2406,7 @@ module Aws::DataSync
|
|
2301
2406
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2302
2407
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
2303
2408
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
2409
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
2304
2410
|
# },
|
2305
2411
|
# includes: [
|
2306
2412
|
# {
|
@@ -2458,13 +2564,13 @@ module Aws::DataSync
|
|
2458
2564
|
# The Kerberos key table (keytab) that contains mappings between the
|
2459
2565
|
# defined Kerberos principal and the encrypted keys. You can load the
|
2460
2566
|
# keytab from a file by providing the file's address. If you use the
|
2461
|
-
#
|
2567
|
+
# CLI, it performs base64 encoding for you. Otherwise, provide the
|
2462
2568
|
# base64-encoded text.
|
2463
2569
|
#
|
2464
2570
|
# @option params [String, StringIO, File] :kerberos_krb_5_conf
|
2465
2571
|
# The `krb5.conf` file that contains the Kerberos configuration
|
2466
2572
|
# information. You can load the `krb5.conf` file by providing the
|
2467
|
-
# file's address. If you're using the
|
2573
|
+
# file's address. If you're using the CLI, it performs the base64
|
2468
2574
|
# encoding for you. Otherwise, provide the base64-encoded text.
|
2469
2575
|
#
|
2470
2576
|
# @option params [Array<String>] :agent_arns
|
@@ -2804,6 +2910,7 @@ module Aws::DataSync
|
|
2804
2910
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2805
2911
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
2806
2912
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
2913
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
2807
2914
|
# },
|
2808
2915
|
# excludes: [
|
2809
2916
|
# {
|
@@ -2889,6 +2996,7 @@ module Aws::DataSync
|
|
2889
2996
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2890
2997
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
2891
2998
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
2999
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
2892
3000
|
# },
|
2893
3001
|
# })
|
2894
3002
|
#
|
@@ -2914,7 +3022,7 @@ module Aws::DataSync
|
|
2914
3022
|
params: params,
|
2915
3023
|
config: config)
|
2916
3024
|
context[:gem_name] = 'aws-sdk-datasync'
|
2917
|
-
context[:gem_version] = '1.
|
3025
|
+
context[:gem_version] = '1.46.0'
|
2918
3026
|
Seahorse::Client::Request.new(handlers, context)
|
2919
3027
|
end
|
2920
3028
|
|
@@ -29,6 +29,8 @@ module Aws::DataSync
|
|
29
29
|
CreateLocationEfsResponse = Shapes::StructureShape.new(name: 'CreateLocationEfsResponse')
|
30
30
|
CreateLocationFsxLustreRequest = Shapes::StructureShape.new(name: 'CreateLocationFsxLustreRequest')
|
31
31
|
CreateLocationFsxLustreResponse = Shapes::StructureShape.new(name: 'CreateLocationFsxLustreResponse')
|
32
|
+
CreateLocationFsxOpenZfsRequest = Shapes::StructureShape.new(name: 'CreateLocationFsxOpenZfsRequest')
|
33
|
+
CreateLocationFsxOpenZfsResponse = Shapes::StructureShape.new(name: 'CreateLocationFsxOpenZfsResponse')
|
32
34
|
CreateLocationFsxWindowsRequest = Shapes::StructureShape.new(name: 'CreateLocationFsxWindowsRequest')
|
33
35
|
CreateLocationFsxWindowsResponse = Shapes::StructureShape.new(name: 'CreateLocationFsxWindowsResponse')
|
34
36
|
CreateLocationHdfsRequest = Shapes::StructureShape.new(name: 'CreateLocationHdfsRequest')
|
@@ -55,6 +57,8 @@ module Aws::DataSync
|
|
55
57
|
DescribeLocationEfsResponse = Shapes::StructureShape.new(name: 'DescribeLocationEfsResponse')
|
56
58
|
DescribeLocationFsxLustreRequest = Shapes::StructureShape.new(name: 'DescribeLocationFsxLustreRequest')
|
57
59
|
DescribeLocationFsxLustreResponse = Shapes::StructureShape.new(name: 'DescribeLocationFsxLustreResponse')
|
60
|
+
DescribeLocationFsxOpenZfsRequest = Shapes::StructureShape.new(name: 'DescribeLocationFsxOpenZfsRequest')
|
61
|
+
DescribeLocationFsxOpenZfsResponse = Shapes::StructureShape.new(name: 'DescribeLocationFsxOpenZfsResponse')
|
58
62
|
DescribeLocationFsxWindowsRequest = Shapes::StructureShape.new(name: 'DescribeLocationFsxWindowsRequest')
|
59
63
|
DescribeLocationFsxWindowsResponse = Shapes::StructureShape.new(name: 'DescribeLocationFsxWindowsResponse')
|
60
64
|
DescribeLocationHdfsRequest = Shapes::StructureShape.new(name: 'DescribeLocationHdfsRequest')
|
@@ -89,6 +93,9 @@ module Aws::DataSync
|
|
89
93
|
FilterValues = Shapes::ListShape.new(name: 'FilterValues')
|
90
94
|
FsxFilesystemArn = Shapes::StringShape.new(name: 'FsxFilesystemArn')
|
91
95
|
FsxLustreSubdirectory = Shapes::StringShape.new(name: 'FsxLustreSubdirectory')
|
96
|
+
FsxOpenZfsSubdirectory = Shapes::StringShape.new(name: 'FsxOpenZfsSubdirectory')
|
97
|
+
FsxProtocol = Shapes::StructureShape.new(name: 'FsxProtocol')
|
98
|
+
FsxProtocolNfs = Shapes::StructureShape.new(name: 'FsxProtocolNfs')
|
92
99
|
FsxWindowsSubdirectory = Shapes::StringShape.new(name: 'FsxWindowsSubdirectory')
|
93
100
|
Gid = Shapes::StringShape.new(name: 'Gid')
|
94
101
|
HdfsAuthenticationType = Shapes::StringShape.new(name: 'HdfsAuthenticationType')
|
@@ -141,6 +148,7 @@ module Aws::DataSync
|
|
141
148
|
ObjectStorageSecretKey = Shapes::StringShape.new(name: 'ObjectStorageSecretKey')
|
142
149
|
ObjectStorageServerPort = Shapes::IntegerShape.new(name: 'ObjectStorageServerPort')
|
143
150
|
ObjectStorageServerProtocol = Shapes::StringShape.new(name: 'ObjectStorageServerProtocol')
|
151
|
+
ObjectTags = Shapes::StringShape.new(name: 'ObjectTags')
|
144
152
|
OnPremConfig = Shapes::StructureShape.new(name: 'OnPremConfig')
|
145
153
|
Operator = Shapes::StringShape.new(name: 'Operator')
|
146
154
|
Options = Shapes::StructureShape.new(name: 'Options')
|
@@ -258,6 +266,16 @@ module Aws::DataSync
|
|
258
266
|
CreateLocationFsxLustreResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
259
267
|
CreateLocationFsxLustreResponse.struct_class = Types::CreateLocationFsxLustreResponse
|
260
268
|
|
269
|
+
CreateLocationFsxOpenZfsRequest.add_member(:fsx_filesystem_arn, Shapes::ShapeRef.new(shape: FsxFilesystemArn, required: true, location_name: "FsxFilesystemArn"))
|
270
|
+
CreateLocationFsxOpenZfsRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: FsxProtocol, required: true, location_name: "Protocol"))
|
271
|
+
CreateLocationFsxOpenZfsRequest.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: Ec2SecurityGroupArnList, required: true, location_name: "SecurityGroupArns"))
|
272
|
+
CreateLocationFsxOpenZfsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: FsxOpenZfsSubdirectory, location_name: "Subdirectory"))
|
273
|
+
CreateLocationFsxOpenZfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
274
|
+
CreateLocationFsxOpenZfsRequest.struct_class = Types::CreateLocationFsxOpenZfsRequest
|
275
|
+
|
276
|
+
CreateLocationFsxOpenZfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
277
|
+
CreateLocationFsxOpenZfsResponse.struct_class = Types::CreateLocationFsxOpenZfsResponse
|
278
|
+
|
261
279
|
CreateLocationFsxWindowsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: FsxWindowsSubdirectory, location_name: "Subdirectory"))
|
262
280
|
CreateLocationFsxWindowsRequest.add_member(:fsx_filesystem_arn, Shapes::ShapeRef.new(shape: FsxFilesystemArn, required: true, location_name: "FsxFilesystemArn"))
|
263
281
|
CreateLocationFsxWindowsRequest.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: Ec2SecurityGroupArnList, required: true, location_name: "SecurityGroupArns"))
|
@@ -395,6 +413,16 @@ module Aws::DataSync
|
|
395
413
|
DescribeLocationFsxLustreResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
396
414
|
DescribeLocationFsxLustreResponse.struct_class = Types::DescribeLocationFsxLustreResponse
|
397
415
|
|
416
|
+
DescribeLocationFsxOpenZfsRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
417
|
+
DescribeLocationFsxOpenZfsRequest.struct_class = Types::DescribeLocationFsxOpenZfsRequest
|
418
|
+
|
419
|
+
DescribeLocationFsxOpenZfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
420
|
+
DescribeLocationFsxOpenZfsResponse.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri"))
|
421
|
+
DescribeLocationFsxOpenZfsResponse.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: Ec2SecurityGroupArnList, location_name: "SecurityGroupArns"))
|
422
|
+
DescribeLocationFsxOpenZfsResponse.add_member(:protocol, Shapes::ShapeRef.new(shape: FsxProtocol, location_name: "Protocol"))
|
423
|
+
DescribeLocationFsxOpenZfsResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
424
|
+
DescribeLocationFsxOpenZfsResponse.struct_class = Types::DescribeLocationFsxOpenZfsResponse
|
425
|
+
|
398
426
|
DescribeLocationFsxWindowsRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
399
427
|
DescribeLocationFsxWindowsRequest.struct_class = Types::DescribeLocationFsxWindowsRequest
|
400
428
|
|
@@ -522,6 +550,12 @@ module Aws::DataSync
|
|
522
550
|
|
523
551
|
FilterValues.member = Shapes::ShapeRef.new(shape: FilterAttributeValue)
|
524
552
|
|
553
|
+
FsxProtocol.add_member(:nfs, Shapes::ShapeRef.new(shape: FsxProtocolNfs, location_name: "NFS"))
|
554
|
+
FsxProtocol.struct_class = Types::FsxProtocol
|
555
|
+
|
556
|
+
FsxProtocolNfs.add_member(:mount_options, Shapes::ShapeRef.new(shape: NfsMountOptions, location_name: "MountOptions"))
|
557
|
+
FsxProtocolNfs.struct_class = Types::FsxProtocolNfs
|
558
|
+
|
525
559
|
HdfsNameNode.add_member(:hostname, Shapes::ShapeRef.new(shape: HdfsServerHostname, required: true, location_name: "Hostname"))
|
526
560
|
HdfsNameNode.add_member(:port, Shapes::ShapeRef.new(shape: HdfsServerPort, required: true, location_name: "Port"))
|
527
561
|
HdfsNameNode.struct_class = Types::HdfsNameNode
|
@@ -536,6 +570,7 @@ module Aws::DataSync
|
|
536
570
|
|
537
571
|
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
538
572
|
InvalidRequestException.add_member(:error_code, Shapes::ShapeRef.new(shape: string, location_name: "errorCode"))
|
573
|
+
InvalidRequestException.add_member(:datasync_error_code, Shapes::ShapeRef.new(shape: string, location_name: "datasyncErrorCode"))
|
539
574
|
InvalidRequestException.struct_class = Types::InvalidRequestException
|
540
575
|
|
541
576
|
ListAgentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
@@ -615,6 +650,7 @@ module Aws::DataSync
|
|
615
650
|
Options.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, location_name: "LogLevel"))
|
616
651
|
Options.add_member(:transfer_mode, Shapes::ShapeRef.new(shape: TransferMode, location_name: "TransferMode"))
|
617
652
|
Options.add_member(:security_descriptor_copy_flags, Shapes::ShapeRef.new(shape: SmbSecurityDescriptorCopyFlags, location_name: "SecurityDescriptorCopyFlags"))
|
653
|
+
Options.add_member(:object_tags, Shapes::ShapeRef.new(shape: ObjectTags, location_name: "ObjectTags"))
|
618
654
|
Options.struct_class = Types::Options
|
619
655
|
|
620
656
|
OutputTagList.member = Shapes::ShapeRef.new(shape: TagListEntry)
|
@@ -832,6 +868,16 @@ module Aws::DataSync
|
|
832
868
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
833
869
|
end)
|
834
870
|
|
871
|
+
api.add_operation(:create_location_fsx_open_zfs, Seahorse::Model::Operation.new.tap do |o|
|
872
|
+
o.name = "CreateLocationFsxOpenZfs"
|
873
|
+
o.http_method = "POST"
|
874
|
+
o.http_request_uri = "/"
|
875
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLocationFsxOpenZfsRequest)
|
876
|
+
o.output = Shapes::ShapeRef.new(shape: CreateLocationFsxOpenZfsResponse)
|
877
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
878
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
879
|
+
end)
|
880
|
+
|
835
881
|
api.add_operation(:create_location_fsx_windows, Seahorse::Model::Operation.new.tap do |o|
|
836
882
|
o.name = "CreateLocationFsxWindows"
|
837
883
|
o.http_method = "POST"
|
@@ -962,6 +1008,16 @@ module Aws::DataSync
|
|
962
1008
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
963
1009
|
end)
|
964
1010
|
|
1011
|
+
api.add_operation(:describe_location_fsx_open_zfs, Seahorse::Model::Operation.new.tap do |o|
|
1012
|
+
o.name = "DescribeLocationFsxOpenZfs"
|
1013
|
+
o.http_method = "POST"
|
1014
|
+
o.http_request_uri = "/"
|
1015
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeLocationFsxOpenZfsRequest)
|
1016
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeLocationFsxOpenZfsResponse)
|
1017
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1018
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1019
|
+
end)
|
1020
|
+
|
965
1021
|
api.add_operation(:describe_location_fsx_windows, Seahorse::Model::Operation.new.tap do |o|
|
966
1022
|
o.name = "DescribeLocationFsxWindows"
|
967
1023
|
o.http_method = "POST"
|
@@ -336,6 +336,79 @@ module Aws::DataSync
|
|
336
336
|
include Aws::Structure
|
337
337
|
end
|
338
338
|
|
339
|
+
# @note When making an API call, you may pass CreateLocationFsxOpenZfsRequest
|
340
|
+
# data as a hash:
|
341
|
+
#
|
342
|
+
# {
|
343
|
+
# fsx_filesystem_arn: "FsxFilesystemArn", # required
|
344
|
+
# protocol: { # required
|
345
|
+
# nfs: {
|
346
|
+
# mount_options: {
|
347
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
|
348
|
+
# },
|
349
|
+
# },
|
350
|
+
# },
|
351
|
+
# security_group_arns: ["Ec2SecurityGroupArn"], # required
|
352
|
+
# subdirectory: "FsxOpenZfsSubdirectory",
|
353
|
+
# tags: [
|
354
|
+
# {
|
355
|
+
# key: "TagKey", # required
|
356
|
+
# value: "TagValue",
|
357
|
+
# },
|
358
|
+
# ],
|
359
|
+
# }
|
360
|
+
#
|
361
|
+
# @!attribute [rw] fsx_filesystem_arn
|
362
|
+
# The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.
|
363
|
+
# @return [String]
|
364
|
+
#
|
365
|
+
# @!attribute [rw] protocol
|
366
|
+
# The type of protocol that DataSync uses to access your file system.
|
367
|
+
# @return [Types::FsxProtocol]
|
368
|
+
#
|
369
|
+
# @!attribute [rw] security_group_arns
|
370
|
+
# The ARNs of the security groups that are used to configure the FSx
|
371
|
+
# for OpenZFS file system.
|
372
|
+
# @return [Array<String>]
|
373
|
+
#
|
374
|
+
# @!attribute [rw] subdirectory
|
375
|
+
# A subdirectory in the location's path that must begin with `/fsx`.
|
376
|
+
# DataSync uses this subdirectory to read or write data (depending on
|
377
|
+
# whether the file system is a source or destination location).
|
378
|
+
# @return [String]
|
379
|
+
#
|
380
|
+
# @!attribute [rw] tags
|
381
|
+
# The key-value pair that represents a tag that you want to add to the
|
382
|
+
# resource. The value can be an empty string. This value helps you
|
383
|
+
# manage, filter, and search for your resources. We recommend that you
|
384
|
+
# create a name tag for your location.
|
385
|
+
# @return [Array<Types::TagListEntry>]
|
386
|
+
#
|
387
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxOpenZfsRequest AWS API Documentation
|
388
|
+
#
|
389
|
+
class CreateLocationFsxOpenZfsRequest < Struct.new(
|
390
|
+
:fsx_filesystem_arn,
|
391
|
+
:protocol,
|
392
|
+
:security_group_arns,
|
393
|
+
:subdirectory,
|
394
|
+
:tags)
|
395
|
+
SENSITIVE = []
|
396
|
+
include Aws::Structure
|
397
|
+
end
|
398
|
+
|
399
|
+
# @!attribute [rw] location_arn
|
400
|
+
# The ARN of the FSx for OpenZFS file system location that you
|
401
|
+
# created.
|
402
|
+
# @return [String]
|
403
|
+
#
|
404
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxOpenZfsResponse AWS API Documentation
|
405
|
+
#
|
406
|
+
class CreateLocationFsxOpenZfsResponse < Struct.new(
|
407
|
+
:location_arn)
|
408
|
+
SENSITIVE = []
|
409
|
+
include Aws::Structure
|
410
|
+
end
|
411
|
+
|
339
412
|
# @note When making an API call, you may pass CreateLocationFsxWindowsRequest
|
340
413
|
# data as a hash:
|
341
414
|
#
|
@@ -367,8 +440,8 @@ module Aws::DataSync
|
|
367
440
|
# @return [String]
|
368
441
|
#
|
369
442
|
# @!attribute [rw] security_group_arns
|
370
|
-
# The
|
371
|
-
#
|
443
|
+
# The ARNs of the security groups that are used to configure the FSx
|
444
|
+
# for Windows File Server file system.
|
372
445
|
# @return [Array<String>]
|
373
446
|
#
|
374
447
|
# @!attribute [rw] tags
|
@@ -413,7 +486,7 @@ module Aws::DataSync
|
|
413
486
|
|
414
487
|
# @!attribute [rw] location_arn
|
415
488
|
# The Amazon Resource Name (ARN) of the FSx for Windows File Server
|
416
|
-
# file system location
|
489
|
+
# file system location you created.
|
417
490
|
# @return [String]
|
418
491
|
#
|
419
492
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxWindowsResponse AWS API Documentation
|
@@ -645,7 +718,7 @@ module Aws::DataSync
|
|
645
718
|
# @!attribute [rw] server_hostname
|
646
719
|
# The name of the NFS server. This value is the IP address or Domain
|
647
720
|
# Name Service (DNS) name of the NFS server. An agent that is
|
648
|
-
# installed on-premises uses this
|
721
|
+
# installed on-premises uses this hostname to mount the NFS server in
|
649
722
|
# a network.
|
650
723
|
#
|
651
724
|
# If you are copying data to or from your Snowcone device, see [NFS
|
@@ -735,7 +808,7 @@ module Aws::DataSync
|
|
735
808
|
# @!attribute [rw] server_hostname
|
736
809
|
# The name of the self-managed object storage server. This value is
|
737
810
|
# the IP address or Domain Name Service (DNS) name of the object
|
738
|
-
# storage server. An agent uses this
|
811
|
+
# storage server. An agent uses this hostname to mount the object
|
739
812
|
# storage server in a network.
|
740
813
|
# @return [String]
|
741
814
|
#
|
@@ -872,14 +945,14 @@ module Aws::DataSync
|
|
872
945
|
#
|
873
946
|
# @!attribute [rw] s3_config
|
874
947
|
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
875
|
-
# (IAM) role
|
948
|
+
# (IAM) role used to access an Amazon S3 bucket.
|
876
949
|
#
|
877
950
|
# For detailed information about using such a role, see Creating a
|
878
951
|
# Location for Amazon S3 in the *DataSync User Guide*.
|
879
952
|
# @return [Types::S3Config]
|
880
953
|
#
|
881
954
|
# @!attribute [rw] agent_arns
|
882
|
-
# If you
|
955
|
+
# If you're using DataSync on an Amazon Web Services Outpost, specify
|
883
956
|
# the Amazon Resource Names (ARNs) of the DataSync agents deployed on
|
884
957
|
# your Outpost. For more information about launching a DataSync agent
|
885
958
|
# on an Amazon Web Services Outpost, see [Deploy your DataSync agent
|
@@ -1070,6 +1143,7 @@ module Aws::DataSync
|
|
1070
1143
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
1071
1144
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
1072
1145
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
1146
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
1073
1147
|
# },
|
1074
1148
|
# excludes: [
|
1075
1149
|
# {
|
@@ -1373,11 +1447,10 @@ module Aws::DataSync
|
|
1373
1447
|
# @return [String]
|
1374
1448
|
#
|
1375
1449
|
# @!attribute [rw] ec2_config
|
1376
|
-
# The subnet
|
1377
|
-
#
|
1378
|
-
#
|
1379
|
-
#
|
1380
|
-
# target in the subnet specified.
|
1450
|
+
# The subnet that DataSync uses to access target EFS file system. The
|
1451
|
+
# subnet must have at least one mount target for that file system. The
|
1452
|
+
# security group that you provide needs to be able to communicate with
|
1453
|
+
# the security group on the mount target in the subnet specified.
|
1381
1454
|
# @return [Types::Ec2Config]
|
1382
1455
|
#
|
1383
1456
|
# @!attribute [rw] creation_time
|
@@ -1444,6 +1517,62 @@ module Aws::DataSync
|
|
1444
1517
|
include Aws::Structure
|
1445
1518
|
end
|
1446
1519
|
|
1520
|
+
# @note When making an API call, you may pass DescribeLocationFsxOpenZfsRequest
|
1521
|
+
# data as a hash:
|
1522
|
+
#
|
1523
|
+
# {
|
1524
|
+
# location_arn: "LocationArn", # required
|
1525
|
+
# }
|
1526
|
+
#
|
1527
|
+
# @!attribute [rw] location_arn
|
1528
|
+
# The Amazon Resource Name (ARN) of the FSx for OpenZFS location to
|
1529
|
+
# describe.
|
1530
|
+
# @return [String]
|
1531
|
+
#
|
1532
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxOpenZfsRequest AWS API Documentation
|
1533
|
+
#
|
1534
|
+
class DescribeLocationFsxOpenZfsRequest < Struct.new(
|
1535
|
+
:location_arn)
|
1536
|
+
SENSITIVE = []
|
1537
|
+
include Aws::Structure
|
1538
|
+
end
|
1539
|
+
|
1540
|
+
# @!attribute [rw] location_arn
|
1541
|
+
# The ARN of the FSx for OpenZFS location that was described.
|
1542
|
+
# @return [String]
|
1543
|
+
#
|
1544
|
+
# @!attribute [rw] location_uri
|
1545
|
+
# The uniform resource identifier (URI) of the FSx for OpenZFS
|
1546
|
+
# location that was described.
|
1547
|
+
#
|
1548
|
+
# Example: `fsxz://us-west-2.fs-1234567890abcdef02/fsx/folderA/folder`
|
1549
|
+
# @return [String]
|
1550
|
+
#
|
1551
|
+
# @!attribute [rw] security_group_arns
|
1552
|
+
# The ARNs of the security groups that are configured for the FSx for
|
1553
|
+
# OpenZFS file system.
|
1554
|
+
# @return [Array<String>]
|
1555
|
+
#
|
1556
|
+
# @!attribute [rw] protocol
|
1557
|
+
# The type of protocol that DataSync uses to access your file system.
|
1558
|
+
# @return [Types::FsxProtocol]
|
1559
|
+
#
|
1560
|
+
# @!attribute [rw] creation_time
|
1561
|
+
# The time that the FSx for OpenZFS location was created.
|
1562
|
+
# @return [Time]
|
1563
|
+
#
|
1564
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxOpenZfsResponse AWS API Documentation
|
1565
|
+
#
|
1566
|
+
class DescribeLocationFsxOpenZfsResponse < Struct.new(
|
1567
|
+
:location_arn,
|
1568
|
+
:location_uri,
|
1569
|
+
:security_group_arns,
|
1570
|
+
:protocol,
|
1571
|
+
:creation_time)
|
1572
|
+
SENSITIVE = []
|
1573
|
+
include Aws::Structure
|
1574
|
+
end
|
1575
|
+
|
1447
1576
|
# @note When making an API call, you may pass DescribeLocationFsxWindowsRequest
|
1448
1577
|
# data as a hash:
|
1449
1578
|
#
|
@@ -1784,7 +1913,7 @@ module Aws::DataSync
|
|
1784
1913
|
#
|
1785
1914
|
# @!attribute [rw] s3_config
|
1786
1915
|
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
1787
|
-
# (IAM) role
|
1916
|
+
# (IAM) role used to access an Amazon S3 bucket.
|
1788
1917
|
#
|
1789
1918
|
# For detailed information about using such a role, see Creating a
|
1790
1919
|
# Location for Amazon S3 in the *DataSync User Guide*.
|
@@ -2169,11 +2298,10 @@ module Aws::DataSync
|
|
2169
2298
|
include Aws::Structure
|
2170
2299
|
end
|
2171
2300
|
|
2172
|
-
# The subnet
|
2173
|
-
#
|
2174
|
-
#
|
2175
|
-
#
|
2176
|
-
# subnet specified.
|
2301
|
+
# The subnet that DataSync uses to access target EFS file system. The
|
2302
|
+
# subnet must have at least one mount target for that file system. The
|
2303
|
+
# security group that you provide needs to be able to communicate with
|
2304
|
+
# the security group on the mount target in the subnet specified.
|
2177
2305
|
#
|
2178
2306
|
# @note When making an API call, you may pass Ec2Config
|
2179
2307
|
# data as a hash:
|
@@ -2184,8 +2312,8 @@ module Aws::DataSync
|
|
2184
2312
|
# }
|
2185
2313
|
#
|
2186
2314
|
# @!attribute [rw] subnet_arn
|
2187
|
-
# The ARN of the subnet
|
2188
|
-
#
|
2315
|
+
# The ARN of the subnet that DataSync uses to access the target EFS
|
2316
|
+
# file system.
|
2189
2317
|
# @return [String]
|
2190
2318
|
#
|
2191
2319
|
# @!attribute [rw] security_group_arns
|
@@ -2233,6 +2361,58 @@ module Aws::DataSync
|
|
2233
2361
|
include Aws::Structure
|
2234
2362
|
end
|
2235
2363
|
|
2364
|
+
# Represents the protocol that DataSync uses to access your Amazon FSx
|
2365
|
+
# for OpenZFS file system.
|
2366
|
+
#
|
2367
|
+
# @note When making an API call, you may pass FsxProtocol
|
2368
|
+
# data as a hash:
|
2369
|
+
#
|
2370
|
+
# {
|
2371
|
+
# nfs: {
|
2372
|
+
# mount_options: {
|
2373
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
|
2374
|
+
# },
|
2375
|
+
# },
|
2376
|
+
# }
|
2377
|
+
#
|
2378
|
+
# @!attribute [rw] nfs
|
2379
|
+
# Represents the Network File System (NFS) protocol that DataSync uses
|
2380
|
+
# to access your FSx for OpenZFS file system.
|
2381
|
+
# @return [Types::FsxProtocolNfs]
|
2382
|
+
#
|
2383
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/FsxProtocol AWS API Documentation
|
2384
|
+
#
|
2385
|
+
class FsxProtocol < Struct.new(
|
2386
|
+
:nfs)
|
2387
|
+
SENSITIVE = []
|
2388
|
+
include Aws::Structure
|
2389
|
+
end
|
2390
|
+
|
2391
|
+
# Represents the Network File System (NFS) protocol that DataSync uses
|
2392
|
+
# to access your Amazon FSx for OpenZFS file system.
|
2393
|
+
#
|
2394
|
+
# @note When making an API call, you may pass FsxProtocolNfs
|
2395
|
+
# data as a hash:
|
2396
|
+
#
|
2397
|
+
# {
|
2398
|
+
# mount_options: {
|
2399
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
|
2400
|
+
# },
|
2401
|
+
# }
|
2402
|
+
#
|
2403
|
+
# @!attribute [rw] mount_options
|
2404
|
+
# Represents the mount options that are available for DataSync to
|
2405
|
+
# access an NFS location.
|
2406
|
+
# @return [Types::NfsMountOptions]
|
2407
|
+
#
|
2408
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/FsxProtocolNfs AWS API Documentation
|
2409
|
+
#
|
2410
|
+
class FsxProtocolNfs < Struct.new(
|
2411
|
+
:mount_options)
|
2412
|
+
SENSITIVE = []
|
2413
|
+
include Aws::Structure
|
2414
|
+
end
|
2415
|
+
|
2236
2416
|
# The NameNode of the Hadoop Distributed File System (HDFS). The
|
2237
2417
|
# NameNode manages the file system's namespace. The NameNode performs
|
2238
2418
|
# operations such as opening, closing, and renaming files and
|
@@ -2292,11 +2472,15 @@ module Aws::DataSync
|
|
2292
2472
|
# @!attribute [rw] error_code
|
2293
2473
|
# @return [String]
|
2294
2474
|
#
|
2475
|
+
# @!attribute [rw] datasync_error_code
|
2476
|
+
# @return [String]
|
2477
|
+
#
|
2295
2478
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/InvalidRequestException AWS API Documentation
|
2296
2479
|
#
|
2297
2480
|
class InvalidRequestException < Struct.new(
|
2298
2481
|
:message,
|
2299
|
-
:error_code
|
2482
|
+
:error_code,
|
2483
|
+
:datasync_error_code)
|
2300
2484
|
SENSITIVE = []
|
2301
2485
|
include Aws::Structure
|
2302
2486
|
end
|
@@ -2651,14 +2835,13 @@ module Aws::DataSync
|
|
2651
2835
|
#
|
2652
2836
|
# Format: `TYPE://GLOBAL_ID/SUBDIR`.
|
2653
2837
|
#
|
2654
|
-
# TYPE designates the type of location
|
2655
|
-
# S3.
|
2838
|
+
# TYPE designates the type of location (for example, `nfs` or `s3`).
|
2656
2839
|
#
|
2657
2840
|
# GLOBAL\_ID is the globally unique identifier of the resource that
|
2658
2841
|
# backs the location. An example for EFS is `us-east-2.fs-abcd1234`.
|
2659
2842
|
# An example for Amazon S3 is the bucket name, such as `myBucket`. An
|
2660
|
-
# example for NFS is a valid IPv4 address or a
|
2661
|
-
# with Domain Name Service (DNS).
|
2843
|
+
# example for NFS is a valid IPv4 address or a hostname that is
|
2844
|
+
# compliant with Domain Name Service (DNS).
|
2662
2845
|
#
|
2663
2846
|
# SUBDIR is a valid file system path, delimited by forward slashes as
|
2664
2847
|
# is the *nix convention. For NFS and Amazon EFS, it's the export
|
@@ -2777,6 +2960,7 @@ module Aws::DataSync
|
|
2777
2960
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2778
2961
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
2779
2962
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
2963
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
2780
2964
|
# }
|
2781
2965
|
#
|
2782
2966
|
# @!attribute [rw] verify_mode
|
@@ -2793,8 +2977,8 @@ module Aws::DataSync
|
|
2793
2977
|
# POINT\_IN\_TIME\_CONSISTENT: Scan the entire source and entire
|
2794
2978
|
# destination at the end of the transfer to verify that source and
|
2795
2979
|
# destination are fully synchronized. This option isn't supported
|
2796
|
-
# when transferring to S3 Glacier or S3 Glacier
|
2797
|
-
# classes.
|
2980
|
+
# when transferring to S3 Glacier Flexible Retrieval or S3 Glacier
|
2981
|
+
# Deep Archive storage classes.
|
2798
2982
|
#
|
2799
2983
|
# NONE: No additional verification is done at the end of the transfer,
|
2800
2984
|
# but all data transmissions are integrity-checked with checksum
|
@@ -2852,7 +3036,7 @@ module Aws::DataSync
|
|
2852
3036
|
# is required for cases when you need to run the same task more than
|
2853
3037
|
# one time.
|
2854
3038
|
#
|
2855
|
-
# Default
|
3039
|
+
# Default Value: `PRESERVE`
|
2856
3040
|
#
|
2857
3041
|
# PRESERVE: Preserve original `Mtime` (recommended)
|
2858
3042
|
#
|
@@ -3064,6 +3248,14 @@ module Aws::DataSync
|
|
3064
3248
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/special-files.html
|
3065
3249
|
# @return [String]
|
3066
3250
|
#
|
3251
|
+
# @!attribute [rw] object_tags
|
3252
|
+
# Specifies whether object tags are maintained when transferring
|
3253
|
+
# between object storage systems. If you want your DataSync task to
|
3254
|
+
# ignore object tags, specify the `NONE` value.
|
3255
|
+
#
|
3256
|
+
# Default Value: `PRESERVE`
|
3257
|
+
# @return [String]
|
3258
|
+
#
|
3067
3259
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/Options AWS API Documentation
|
3068
3260
|
#
|
3069
3261
|
class Options < Struct.new(
|
@@ -3080,7 +3272,8 @@ module Aws::DataSync
|
|
3080
3272
|
:task_queueing,
|
3081
3273
|
:log_level,
|
3082
3274
|
:transfer_mode,
|
3083
|
-
:security_descriptor_copy_flags
|
3275
|
+
:security_descriptor_copy_flags,
|
3276
|
+
:object_tags)
|
3084
3277
|
SENSITIVE = []
|
3085
3278
|
include Aws::Structure
|
3086
3279
|
end
|
@@ -3161,7 +3354,7 @@ module Aws::DataSync
|
|
3161
3354
|
end
|
3162
3355
|
|
3163
3356
|
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
3164
|
-
# (IAM) role
|
3357
|
+
# (IAM) role used to access an Amazon S3 bucket.
|
3165
3358
|
#
|
3166
3359
|
# For detailed information about using such a role, see Creating a
|
3167
3360
|
# Location for Amazon S3 in the *DataSync User Guide*.
|
@@ -3174,12 +3367,7 @@ module Aws::DataSync
|
|
3174
3367
|
# }
|
3175
3368
|
#
|
3176
3369
|
# @!attribute [rw] bucket_access_role_arn
|
3177
|
-
# The
|
3178
|
-
# in the [CreateLocationS3][1] operation.
|
3179
|
-
#
|
3180
|
-
#
|
3181
|
-
#
|
3182
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationS3.html
|
3370
|
+
# The ARN of the IAM role for accessing the S3 bucket.
|
3183
3371
|
# @return [String]
|
3184
3372
|
#
|
3185
3373
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/S3Config AWS API Documentation
|
@@ -3237,6 +3425,7 @@ module Aws::DataSync
|
|
3237
3425
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
3238
3426
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
3239
3427
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
3428
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
3240
3429
|
# },
|
3241
3430
|
# includes: [
|
3242
3431
|
# {
|
@@ -3720,15 +3909,15 @@ module Aws::DataSync
|
|
3720
3909
|
# The Kerberos key table (keytab) that contains mappings between the
|
3721
3910
|
# defined Kerberos principal and the encrypted keys. You can load the
|
3722
3911
|
# keytab from a file by providing the file's address. If you use the
|
3723
|
-
#
|
3912
|
+
# CLI, it performs base64 encoding for you. Otherwise, provide the
|
3724
3913
|
# base64-encoded text.
|
3725
3914
|
# @return [String]
|
3726
3915
|
#
|
3727
3916
|
# @!attribute [rw] kerberos_krb_5_conf
|
3728
3917
|
# The `krb5.conf` file that contains the Kerberos configuration
|
3729
3918
|
# information. You can load the `krb5.conf` file by providing the
|
3730
|
-
# file's address. If you're using the
|
3731
|
-
#
|
3919
|
+
# file's address. If you're using the CLI, it performs the base64
|
3920
|
+
# encoding for you. Otherwise, provide the base64-encoded text.
|
3732
3921
|
# @return [String]
|
3733
3922
|
#
|
3734
3923
|
# @!attribute [rw] agent_arns
|
@@ -4018,6 +4207,7 @@ module Aws::DataSync
|
|
4018
4207
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
4019
4208
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
4020
4209
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
4210
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
4021
4211
|
# },
|
4022
4212
|
# }
|
4023
4213
|
#
|
@@ -4079,6 +4269,7 @@ module Aws::DataSync
|
|
4079
4269
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
4080
4270
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
4081
4271
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
4272
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
4082
4273
|
# },
|
4083
4274
|
# excludes: [
|
4084
4275
|
# {
|
data/lib/aws-sdk-datasync.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-datasync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.46.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|