aws-sdk-datasync 1.42.0 → 1.45.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5cfe421338b70b1f5d74caf55bb85772730b9bbf2d64907f8c4fd7252857800
4
- data.tar.gz: 8ca46bcfd91fc149db30cb769527492fdb9a762b0363f2e28559df327fe9a772
3
+ metadata.gz: 7acccea83463135ef5ee0044fd7c280beaac806798d5e74dd1a5d09a80e58ef9
4
+ data.tar.gz: 7d043f22538b6a14b7484e17051111f551f2498d888af19e1c86eaf78eb3d406
5
5
  SHA512:
6
- metadata.gz: 4658ac567a0104673d7baa827ce3bdfcf4a774cbb97af499832e8adf9d93741370cbe7e38640eda0675e670f5805f0b0226b21d2cb8b6fff26e45037f97d7b9f
7
- data.tar.gz: 97400e53ab9a9f00b11e14c29e919bd44756da324270b6a3cc387a3ee9f909516d0daab533e1ab3222a1093a7e0dddd02a3665ebf91c8edf55549893a3d4a39e
6
+ metadata.gz: 2068192d8ad1aab4dd7bccb59129e9d988c3695cd9b1111bc2c1b1f6643fd6d28cdb9f8fd62755aa31668d4685965a3bea0d95e3b5598d6ae26ecbe9d16cd3cc
7
+ data.tar.gz: 379502eb985ef99bbbaa8403af28c1a997c41bc44c6c2668df96985e71fbd76786445b684295371c410bca6b85fc0ed38ef6c29fc6ed1ec24d034c8ef478ab3a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.45.0 (2022-04-05)
5
+ ------------------
6
+
7
+ * Feature - AWS DataSync now supports Amazon FSx for OpenZFS locations.
8
+
9
+ 1.44.0 (2022-02-24)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.43.0 (2022-02-03)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
4
19
  1.42.0 (2021-12-21)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.42.0
1
+ 1.45.0
@@ -27,7 +27,9 @@ 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'
32
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
31
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
32
34
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
33
35
 
@@ -74,7 +76,9 @@ module Aws::DataSync
74
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
75
77
  add_plugin(Aws::Plugins::TransferEncoding)
76
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
77
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
+ add_plugin(Aws::Plugins::RecursionDetection)
78
82
  add_plugin(Aws::Plugins::SignatureV4)
79
83
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
80
84
 
@@ -634,6 +638,67 @@ module Aws::DataSync
634
638
  req.send_request(options)
635
639
  end
636
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
+
637
702
  # Creates an endpoint for an Amazon FSx for Windows File Server file
638
703
  # system.
639
704
  #
@@ -648,8 +713,8 @@ module Aws::DataSync
648
713
  # file system.
649
714
  #
650
715
  # @option params [required, Array<String>] :security_group_arns
651
- # The Amazon Resource Names (ARNs) of the security groups that are used
652
- # to configure the FSx for Windows File Server file system.
716
+ # The ARNs of the security groups that are used to configure the FSx for
717
+ # Windows File Server file system.
653
718
  #
654
719
  # @option params [Array<Types::TagListEntry>] :tags
655
720
  # The key-value pair that represents a tag that you want to add to the
@@ -880,7 +945,7 @@ module Aws::DataSync
880
945
  # @option params [required, String] :server_hostname
881
946
  # The name of the NFS server. This value is the IP address or Domain
882
947
  # Name Service (DNS) name of the NFS server. An agent that is installed
883
- # on-premises uses this host name to mount the NFS server in a network.
948
+ # on-premises uses this hostname to mount the NFS server in a network.
884
949
  #
885
950
  # If you are copying data to or from your Snowcone device, see [NFS
886
951
  # Server on Snowcone][1] for more information.
@@ -960,8 +1025,8 @@ module Aws::DataSync
960
1025
  # @option params [required, String] :server_hostname
961
1026
  # The name of the self-managed object storage server. This value is the
962
1027
  # IP address or Domain Name Service (DNS) name of the object storage
963
- # server. An agent uses this host name to mount the object storage
964
- # server in a network.
1028
+ # server. An agent uses this hostname to mount the object storage server
1029
+ # in a network.
965
1030
  #
966
1031
  # @option params [Integer] :server_port
967
1032
  # The port that your self-managed object storage server accepts inbound
@@ -1075,13 +1140,13 @@ module Aws::DataSync
1075
1140
  #
1076
1141
  # @option params [required, Types::S3Config] :s3_config
1077
1142
  # The Amazon Resource Name (ARN) of the Identity and Access Management
1078
- # (IAM) role that is used to access an Amazon S3 bucket.
1143
+ # (IAM) role used to access an Amazon S3 bucket.
1079
1144
  #
1080
1145
  # For detailed information about using such a role, see Creating a
1081
1146
  # Location for Amazon S3 in the *DataSync User Guide*.
1082
1147
  #
1083
1148
  # @option params [Array<String>] :agent_arns
1084
- # If you are using DataSync on an Amazon Web Services Outpost, specify
1149
+ # If you're using DataSync on an Amazon Web Services Outpost, specify
1085
1150
  # the Amazon Resource Names (ARNs) of the DataSync agents deployed on
1086
1151
  # your Outpost. For more information about launching a DataSync agent on
1087
1152
  # an Amazon Web Services Outpost, see [Deploy your DataSync agent on
@@ -1533,8 +1598,8 @@ module Aws::DataSync
1533
1598
  req.send_request(options)
1534
1599
  end
1535
1600
 
1536
- # Returns metadata, such as the path information about an Amazon FSx for
1537
- # Lustre location.
1601
+ # Returns metadata about an Amazon FSx for Lustre location, such as
1602
+ # information about its path.
1538
1603
  #
1539
1604
  # @option params [required, String] :location_arn
1540
1605
  # The Amazon Resource Name (ARN) of the FSx for Lustre location to
@@ -1570,8 +1635,47 @@ module Aws::DataSync
1570
1635
  req.send_request(options)
1571
1636
  end
1572
1637
 
1573
- # Returns metadata, such as the path information about an Amazon FSx for
1574
- # Windows File Server location.
1638
+ # Returns metadata about an Amazon FSx for OpenZFS location, such as
1639
+ # information about its path.
1640
+ #
1641
+ # @option params [required, String] :location_arn
1642
+ # The Amazon Resource Name (ARN) of the FSx for OpenZFS location to
1643
+ # describe.
1644
+ #
1645
+ # @return [Types::DescribeLocationFsxOpenZfsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1646
+ #
1647
+ # * {Types::DescribeLocationFsxOpenZfsResponse#location_arn #location_arn} => String
1648
+ # * {Types::DescribeLocationFsxOpenZfsResponse#location_uri #location_uri} => String
1649
+ # * {Types::DescribeLocationFsxOpenZfsResponse#security_group_arns #security_group_arns} => Array&lt;String&gt;
1650
+ # * {Types::DescribeLocationFsxOpenZfsResponse#protocol #protocol} => Types::FsxProtocol
1651
+ # * {Types::DescribeLocationFsxOpenZfsResponse#creation_time #creation_time} => Time
1652
+ #
1653
+ # @example Request syntax with placeholder values
1654
+ #
1655
+ # resp = client.describe_location_fsx_open_zfs({
1656
+ # location_arn: "LocationArn", # required
1657
+ # })
1658
+ #
1659
+ # @example Response structure
1660
+ #
1661
+ # resp.location_arn #=> String
1662
+ # resp.location_uri #=> String
1663
+ # resp.security_group_arns #=> Array
1664
+ # resp.security_group_arns[0] #=> String
1665
+ # resp.protocol.nfs.mount_options.version #=> String, one of "AUTOMATIC", "NFS3", "NFS4_0", "NFS4_1"
1666
+ # resp.creation_time #=> Time
1667
+ #
1668
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxOpenZfs AWS API Documentation
1669
+ #
1670
+ # @overload describe_location_fsx_open_zfs(params = {})
1671
+ # @param [Hash] params ({})
1672
+ def describe_location_fsx_open_zfs(params = {}, options = {})
1673
+ req = build_request(:describe_location_fsx_open_zfs, params)
1674
+ req.send_request(options)
1675
+ end
1676
+
1677
+ # Returns metadata about an Amazon FSx for Windows File Server location,
1678
+ # such as information about its path.
1575
1679
  #
1576
1680
  # @option params [required, String] :location_arn
1577
1681
  # The Amazon Resource Name (ARN) of the FSx for Windows File Server
@@ -2456,13 +2560,13 @@ module Aws::DataSync
2456
2560
  # The Kerberos key table (keytab) that contains mappings between the
2457
2561
  # defined Kerberos principal and the encrypted keys. You can load the
2458
2562
  # keytab from a file by providing the file's address. If you use the
2459
- # AWS CLI, it performs base64 encoding for you. Otherwise, provide the
2563
+ # CLI, it performs base64 encoding for you. Otherwise, provide the
2460
2564
  # base64-encoded text.
2461
2565
  #
2462
2566
  # @option params [String, StringIO, File] :kerberos_krb_5_conf
2463
2567
  # The `krb5.conf` file that contains the Kerberos configuration
2464
2568
  # information. You can load the `krb5.conf` file by providing the
2465
- # file's address. If you're using the AWS CLI, it performs the base64
2569
+ # file's address. If you're using the CLI, it performs the base64
2466
2570
  # encoding for you. Otherwise, provide the base64-encoded text.
2467
2571
  #
2468
2572
  # @option params [Array<String>] :agent_arns
@@ -2912,7 +3016,7 @@ module Aws::DataSync
2912
3016
  params: params,
2913
3017
  config: config)
2914
3018
  context[:gem_name] = 'aws-sdk-datasync'
2915
- context[:gem_version] = '1.42.0'
3019
+ context[:gem_version] = '1.45.0'
2916
3020
  Seahorse::Client::Request.new(handlers, context)
2917
3021
  end
2918
3022
 
@@ -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')
@@ -258,6 +265,16 @@ module Aws::DataSync
258
265
  CreateLocationFsxLustreResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
259
266
  CreateLocationFsxLustreResponse.struct_class = Types::CreateLocationFsxLustreResponse
260
267
 
268
+ CreateLocationFsxOpenZfsRequest.add_member(:fsx_filesystem_arn, Shapes::ShapeRef.new(shape: FsxFilesystemArn, required: true, location_name: "FsxFilesystemArn"))
269
+ CreateLocationFsxOpenZfsRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: FsxProtocol, required: true, location_name: "Protocol"))
270
+ CreateLocationFsxOpenZfsRequest.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: Ec2SecurityGroupArnList, required: true, location_name: "SecurityGroupArns"))
271
+ CreateLocationFsxOpenZfsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: FsxOpenZfsSubdirectory, location_name: "Subdirectory"))
272
+ CreateLocationFsxOpenZfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
273
+ CreateLocationFsxOpenZfsRequest.struct_class = Types::CreateLocationFsxOpenZfsRequest
274
+
275
+ CreateLocationFsxOpenZfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
276
+ CreateLocationFsxOpenZfsResponse.struct_class = Types::CreateLocationFsxOpenZfsResponse
277
+
261
278
  CreateLocationFsxWindowsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: FsxWindowsSubdirectory, location_name: "Subdirectory"))
262
279
  CreateLocationFsxWindowsRequest.add_member(:fsx_filesystem_arn, Shapes::ShapeRef.new(shape: FsxFilesystemArn, required: true, location_name: "FsxFilesystemArn"))
263
280
  CreateLocationFsxWindowsRequest.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: Ec2SecurityGroupArnList, required: true, location_name: "SecurityGroupArns"))
@@ -395,6 +412,16 @@ module Aws::DataSync
395
412
  DescribeLocationFsxLustreResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
396
413
  DescribeLocationFsxLustreResponse.struct_class = Types::DescribeLocationFsxLustreResponse
397
414
 
415
+ DescribeLocationFsxOpenZfsRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
416
+ DescribeLocationFsxOpenZfsRequest.struct_class = Types::DescribeLocationFsxOpenZfsRequest
417
+
418
+ DescribeLocationFsxOpenZfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
419
+ DescribeLocationFsxOpenZfsResponse.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri"))
420
+ DescribeLocationFsxOpenZfsResponse.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: Ec2SecurityGroupArnList, location_name: "SecurityGroupArns"))
421
+ DescribeLocationFsxOpenZfsResponse.add_member(:protocol, Shapes::ShapeRef.new(shape: FsxProtocol, location_name: "Protocol"))
422
+ DescribeLocationFsxOpenZfsResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
423
+ DescribeLocationFsxOpenZfsResponse.struct_class = Types::DescribeLocationFsxOpenZfsResponse
424
+
398
425
  DescribeLocationFsxWindowsRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
399
426
  DescribeLocationFsxWindowsRequest.struct_class = Types::DescribeLocationFsxWindowsRequest
400
427
 
@@ -522,6 +549,12 @@ module Aws::DataSync
522
549
 
523
550
  FilterValues.member = Shapes::ShapeRef.new(shape: FilterAttributeValue)
524
551
 
552
+ FsxProtocol.add_member(:nfs, Shapes::ShapeRef.new(shape: FsxProtocolNfs, location_name: "NFS"))
553
+ FsxProtocol.struct_class = Types::FsxProtocol
554
+
555
+ FsxProtocolNfs.add_member(:mount_options, Shapes::ShapeRef.new(shape: NfsMountOptions, location_name: "MountOptions"))
556
+ FsxProtocolNfs.struct_class = Types::FsxProtocolNfs
557
+
525
558
  HdfsNameNode.add_member(:hostname, Shapes::ShapeRef.new(shape: HdfsServerHostname, required: true, location_name: "Hostname"))
526
559
  HdfsNameNode.add_member(:port, Shapes::ShapeRef.new(shape: HdfsServerPort, required: true, location_name: "Port"))
527
560
  HdfsNameNode.struct_class = Types::HdfsNameNode
@@ -832,6 +865,16 @@ module Aws::DataSync
832
865
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
833
866
  end)
834
867
 
868
+ api.add_operation(:create_location_fsx_open_zfs, Seahorse::Model::Operation.new.tap do |o|
869
+ o.name = "CreateLocationFsxOpenZfs"
870
+ o.http_method = "POST"
871
+ o.http_request_uri = "/"
872
+ o.input = Shapes::ShapeRef.new(shape: CreateLocationFsxOpenZfsRequest)
873
+ o.output = Shapes::ShapeRef.new(shape: CreateLocationFsxOpenZfsResponse)
874
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
875
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
876
+ end)
877
+
835
878
  api.add_operation(:create_location_fsx_windows, Seahorse::Model::Operation.new.tap do |o|
836
879
  o.name = "CreateLocationFsxWindows"
837
880
  o.http_method = "POST"
@@ -962,6 +1005,16 @@ module Aws::DataSync
962
1005
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
963
1006
  end)
964
1007
 
1008
+ api.add_operation(:describe_location_fsx_open_zfs, Seahorse::Model::Operation.new.tap do |o|
1009
+ o.name = "DescribeLocationFsxOpenZfs"
1010
+ o.http_method = "POST"
1011
+ o.http_request_uri = "/"
1012
+ o.input = Shapes::ShapeRef.new(shape: DescribeLocationFsxOpenZfsRequest)
1013
+ o.output = Shapes::ShapeRef.new(shape: DescribeLocationFsxOpenZfsResponse)
1014
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1015
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1016
+ end)
1017
+
965
1018
  api.add_operation(:describe_location_fsx_windows, Seahorse::Model::Operation.new.tap do |o|
966
1019
  o.name = "DescribeLocationFsxWindows"
967
1020
  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 Amazon Resource Names (ARNs) of the security groups that are
371
- # used to configure the FSx for Windows File Server file system.
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 that is created.
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 host name to mount the NFS server in
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 host name to mount the object
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 that is used to access an Amazon S3 bucket.
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 are using DataSync on an Amazon Web Services Outpost, specify
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
@@ -1373,11 +1446,10 @@ module Aws::DataSync
1373
1446
  # @return [String]
1374
1447
  #
1375
1448
  # @!attribute [rw] ec2_config
1376
- # The subnet and the security group that DataSync uses to access
1377
- # target EFS file system. The subnet must have at least one mount
1378
- # target for that file system. The security group that you provide
1379
- # needs to be able to communicate with the security group on the mount
1380
- # target in the subnet specified.
1449
+ # The subnet that DataSync uses to access target EFS file system. The
1450
+ # subnet must have at least one mount target for that file system. The
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.
1381
1453
  # @return [Types::Ec2Config]
1382
1454
  #
1383
1455
  # @!attribute [rw] creation_time
@@ -1444,6 +1516,62 @@ module Aws::DataSync
1444
1516
  include Aws::Structure
1445
1517
  end
1446
1518
 
1519
+ # @note When making an API call, you may pass DescribeLocationFsxOpenZfsRequest
1520
+ # data as a hash:
1521
+ #
1522
+ # {
1523
+ # location_arn: "LocationArn", # required
1524
+ # }
1525
+ #
1526
+ # @!attribute [rw] location_arn
1527
+ # The Amazon Resource Name (ARN) of the FSx for OpenZFS location to
1528
+ # describe.
1529
+ # @return [String]
1530
+ #
1531
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxOpenZfsRequest AWS API Documentation
1532
+ #
1533
+ class DescribeLocationFsxOpenZfsRequest < Struct.new(
1534
+ :location_arn)
1535
+ SENSITIVE = []
1536
+ include Aws::Structure
1537
+ end
1538
+
1539
+ # @!attribute [rw] location_arn
1540
+ # The ARN of the FSx for OpenZFS location that was described.
1541
+ # @return [String]
1542
+ #
1543
+ # @!attribute [rw] location_uri
1544
+ # The uniform resource identifier (URI) of the FSx for OpenZFS
1545
+ # location that was described.
1546
+ #
1547
+ # Example: `fsxz://us-west-2.fs-1234567890abcdef02/fsx/folderA/folder`
1548
+ # @return [String]
1549
+ #
1550
+ # @!attribute [rw] security_group_arns
1551
+ # The ARNs of the security groups that are configured for the FSx for
1552
+ # OpenZFS file system.
1553
+ # @return [Array<String>]
1554
+ #
1555
+ # @!attribute [rw] protocol
1556
+ # The type of protocol that DataSync uses to access your file system.
1557
+ # @return [Types::FsxProtocol]
1558
+ #
1559
+ # @!attribute [rw] creation_time
1560
+ # The time that the FSx for OpenZFS location was created.
1561
+ # @return [Time]
1562
+ #
1563
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxOpenZfsResponse AWS API Documentation
1564
+ #
1565
+ class DescribeLocationFsxOpenZfsResponse < Struct.new(
1566
+ :location_arn,
1567
+ :location_uri,
1568
+ :security_group_arns,
1569
+ :protocol,
1570
+ :creation_time)
1571
+ SENSITIVE = []
1572
+ include Aws::Structure
1573
+ end
1574
+
1447
1575
  # @note When making an API call, you may pass DescribeLocationFsxWindowsRequest
1448
1576
  # data as a hash:
1449
1577
  #
@@ -1784,7 +1912,7 @@ module Aws::DataSync
1784
1912
  #
1785
1913
  # @!attribute [rw] s3_config
1786
1914
  # The Amazon Resource Name (ARN) of the Identity and Access Management
1787
- # (IAM) role that is used to access an Amazon S3 bucket.
1915
+ # (IAM) role used to access an Amazon S3 bucket.
1788
1916
  #
1789
1917
  # For detailed information about using such a role, see Creating a
1790
1918
  # Location for Amazon S3 in the *DataSync User Guide*.
@@ -2169,11 +2297,10 @@ module Aws::DataSync
2169
2297
  include Aws::Structure
2170
2298
  end
2171
2299
 
2172
- # The subnet and the security group that DataSync uses to access target
2173
- # EFS file system. The subnet must have at least one mount target for
2174
- # that file system. The security group that you provide needs to be able
2175
- # to communicate with the security group on the mount target in the
2176
- # subnet specified.
2300
+ # The subnet that DataSync uses to access target EFS file system. The
2301
+ # subnet must have at least one mount target for that file system. The
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.
2177
2304
  #
2178
2305
  # @note When making an API call, you may pass Ec2Config
2179
2306
  # data as a hash:
@@ -2184,8 +2311,8 @@ module Aws::DataSync
2184
2311
  # }
2185
2312
  #
2186
2313
  # @!attribute [rw] subnet_arn
2187
- # The ARN of the subnet and the security group that DataSync uses to
2188
- # access the target EFS file system.
2314
+ # The ARN of the subnet that DataSync uses to access the target EFS
2315
+ # file system.
2189
2316
  # @return [String]
2190
2317
  #
2191
2318
  # @!attribute [rw] security_group_arns
@@ -2233,6 +2360,58 @@ module Aws::DataSync
2233
2360
  include Aws::Structure
2234
2361
  end
2235
2362
 
2363
+ # Represents the protocol that DataSync uses to access your Amazon FSx
2364
+ # for OpenZFS file system.
2365
+ #
2366
+ # @note When making an API call, you may pass FsxProtocol
2367
+ # data as a hash:
2368
+ #
2369
+ # {
2370
+ # nfs: {
2371
+ # mount_options: {
2372
+ # version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
2373
+ # },
2374
+ # },
2375
+ # }
2376
+ #
2377
+ # @!attribute [rw] nfs
2378
+ # Represents the Network File System (NFS) protocol that DataSync uses
2379
+ # to access your FSx for OpenZFS file system.
2380
+ # @return [Types::FsxProtocolNfs]
2381
+ #
2382
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/FsxProtocol AWS API Documentation
2383
+ #
2384
+ class FsxProtocol < Struct.new(
2385
+ :nfs)
2386
+ SENSITIVE = []
2387
+ include Aws::Structure
2388
+ end
2389
+
2390
+ # Represents the Network File System (NFS) protocol that DataSync uses
2391
+ # to access your Amazon FSx for OpenZFS file system.
2392
+ #
2393
+ # @note When making an API call, you may pass FsxProtocolNfs
2394
+ # data as a hash:
2395
+ #
2396
+ # {
2397
+ # mount_options: {
2398
+ # version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
2399
+ # },
2400
+ # }
2401
+ #
2402
+ # @!attribute [rw] mount_options
2403
+ # Represents the mount options that are available for DataSync to
2404
+ # access an NFS location.
2405
+ # @return [Types::NfsMountOptions]
2406
+ #
2407
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/FsxProtocolNfs AWS API Documentation
2408
+ #
2409
+ class FsxProtocolNfs < Struct.new(
2410
+ :mount_options)
2411
+ SENSITIVE = []
2412
+ include Aws::Structure
2413
+ end
2414
+
2236
2415
  # The NameNode of the Hadoop Distributed File System (HDFS). The
2237
2416
  # NameNode manages the file system's namespace. The NameNode performs
2238
2417
  # operations such as opening, closing, and renaming files and
@@ -2651,14 +2830,13 @@ module Aws::DataSync
2651
2830
  #
2652
2831
  # Format: `TYPE://GLOBAL_ID/SUBDIR`.
2653
2832
  #
2654
- # TYPE designates the type of location. Valid values: NFS \| EFS \|
2655
- # S3.
2833
+ # TYPE designates the type of location (for example, `nfs` or `s3`).
2656
2834
  #
2657
2835
  # GLOBAL\_ID is the globally unique identifier of the resource that
2658
2836
  # backs the location. An example for EFS is `us-east-2.fs-abcd1234`.
2659
2837
  # An example for Amazon S3 is the bucket name, such as `myBucket`. An
2660
- # example for NFS is a valid IPv4 address or a host name compliant
2661
- # with Domain Name Service (DNS).
2838
+ # example for NFS is a valid IPv4 address or a hostname that is
2839
+ # compliant with Domain Name Service (DNS).
2662
2840
  #
2663
2841
  # SUBDIR is a valid file system path, delimited by forward slashes as
2664
2842
  # is the *nix convention. For NFS and Amazon EFS, it's the export
@@ -3161,7 +3339,7 @@ module Aws::DataSync
3161
3339
  end
3162
3340
 
3163
3341
  # The Amazon Resource Name (ARN) of the Identity and Access Management
3164
- # (IAM) role that is used to access an Amazon S3 bucket.
3342
+ # (IAM) role used to access an Amazon S3 bucket.
3165
3343
  #
3166
3344
  # For detailed information about using such a role, see Creating a
3167
3345
  # Location for Amazon S3 in the *DataSync User Guide*.
@@ -3174,12 +3352,7 @@ module Aws::DataSync
3174
3352
  # }
3175
3353
  #
3176
3354
  # @!attribute [rw] bucket_access_role_arn
3177
- # The Amazon S3 bucket to access. This bucket is used as a parameter
3178
- # in the [CreateLocationS3][1] operation.
3179
- #
3180
- #
3181
- #
3182
- # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationS3.html
3355
+ # The ARN of the IAM role for accessing the S3 bucket.
3183
3356
  # @return [String]
3184
3357
  #
3185
3358
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/S3Config AWS API Documentation
@@ -3720,15 +3893,15 @@ module Aws::DataSync
3720
3893
  # The Kerberos key table (keytab) that contains mappings between the
3721
3894
  # defined Kerberos principal and the encrypted keys. You can load the
3722
3895
  # keytab from a file by providing the file's address. If you use the
3723
- # AWS CLI, it performs base64 encoding for you. Otherwise, provide the
3896
+ # CLI, it performs base64 encoding for you. Otherwise, provide the
3724
3897
  # base64-encoded text.
3725
3898
  # @return [String]
3726
3899
  #
3727
3900
  # @!attribute [rw] kerberos_krb_5_conf
3728
3901
  # The `krb5.conf` file that contains the Kerberos configuration
3729
3902
  # information. You can load the `krb5.conf` file by providing the
3730
- # file's address. If you're using the AWS CLI, it performs the
3731
- # base64 encoding for you. Otherwise, provide the base64-encoded text.
3903
+ # file's address. If you're using the CLI, it performs the base64
3904
+ # encoding for you. Otherwise, provide the base64-encoded text.
3732
3905
  # @return [String]
3733
3906
  #
3734
3907
  # @!attribute [rw] agent_arns
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-datasync/customizations'
48
48
  # @!group service
49
49
  module Aws::DataSync
50
50
 
51
- GEM_VERSION = '1.42.0'
51
+ GEM_VERSION = '1.45.0'
52
52
 
53
53
  end
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.42.0
4
+ version: 1.45.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: 2021-12-21 00:00:00.000000000 Z
11
+ date: 2022-04-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.125.0
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.125.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement