aws-sdk-datasync 1.46.0 → 1.49.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 +278 -119
- data/lib/aws-sdk-datasync/client_api.rb +64 -0
- data/lib/aws-sdk-datasync/types.rb +539 -236
- data/lib/aws-sdk-datasync.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b982cb9b2c148223fc8280b38de78c603c532efab22fe1364f05edd5f06fac6e
|
4
|
+
data.tar.gz: 3b9bd532bb4675bd78e528a514a6e521fbc7ebaa3faa7c2f948ef5f430dafcfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20246f3af604dd27eb182fc450d54b47daa43568a43fbcbe78c685d2fa43ff1735af4043028cba5d56b0483b65c353dbcb1f0223e1d6709c489ea11edc96927f
|
7
|
+
data.tar.gz: 5d0e1a59e970026acdc89bc6ea7bc3175a7c6475f88041f4f3f27c315a919918f719e821f681f4e349dae78cf02f004f3716da582d291e3892cf5134bf5435a5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.49.0 (2022-07-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for AWS DataSync regarding configuring Amazon FSx for ONTAP location security groups and SMB user permissions.
|
8
|
+
|
9
|
+
1.48.0 (2022-06-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS DataSync now supports Amazon FSx for NetApp ONTAP locations.
|
13
|
+
|
14
|
+
1.47.0 (2022-05-27)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - AWS DataSync now supports TLS encryption in transit, file system policies and access points for EFS locations.
|
18
|
+
|
4
19
|
1.46.0 (2022-05-05)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.49.0
|
@@ -508,50 +508,54 @@ module Aws::DataSync
|
|
508
508
|
req.send_request(options)
|
509
509
|
end
|
510
510
|
|
511
|
-
# Creates an endpoint for an Amazon EFS file system
|
511
|
+
# Creates an endpoint for an Amazon EFS file system that DataSync can
|
512
|
+
# access for a transfer. For more information, see [Creating a location
|
513
|
+
# for Amazon EFS][1].
|
514
|
+
#
|
515
|
+
#
|
516
|
+
#
|
517
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html
|
512
518
|
#
|
513
519
|
# @option params [String] :subdirectory
|
514
|
-
#
|
515
|
-
#
|
516
|
-
#
|
517
|
-
#
|
520
|
+
# Specifies a mount path for your Amazon EFS file system. This is where
|
521
|
+
# DataSync reads or writes data (depending on if this is a source or
|
522
|
+
# destination location). By default, DataSync uses the root directory,
|
523
|
+
# but you can also include subdirectories.
|
518
524
|
#
|
519
|
-
# <note markdown="1">
|
520
|
-
# `/path/to/folder
|
525
|
+
# <note markdown="1"> You must specify a value with forward slashes (for example,
|
526
|
+
# `/path/to/folder`).
|
521
527
|
#
|
522
528
|
# </note>
|
523
529
|
#
|
524
530
|
# @option params [required, String] :efs_filesystem_arn
|
525
|
-
#
|
531
|
+
# Specifies the ARN for the Amazon EFS file system.
|
526
532
|
#
|
527
533
|
# @option params [required, Types::Ec2Config] :ec2_config
|
528
|
-
#
|
529
|
-
#
|
530
|
-
# with the security group on the mount target in the subnet specified.
|
531
|
-
#
|
532
|
-
# The exact relationship between security group M (of the mount target)
|
533
|
-
# and security group S (which you provide for DataSync to use at this
|
534
|
-
# stage) is as follows:
|
535
|
-
#
|
536
|
-
# * Security group M (which you associate with the mount target) must
|
537
|
-
# allow inbound access for the Transmission Control Protocol (TCP) on
|
538
|
-
# the NFS port (2049) from security group S. You can enable inbound
|
539
|
-
# connections either by IP address (CIDR range) or security group.
|
540
|
-
#
|
541
|
-
# * Security group S (provided to DataSync to access EFS) should have a
|
542
|
-
# rule that enables outbound connections to the NFS port on one of the
|
543
|
-
# file system’s mount targets. You can enable outbound connections
|
544
|
-
# either by IP address (CIDR range) or security group.
|
545
|
-
#
|
546
|
-
# For information about security groups and mount targets, see
|
547
|
-
# Security Groups for Amazon EC2 Instances and Mount Targets in the
|
548
|
-
# *Amazon EFS User Guide.*
|
534
|
+
# Specifies the subnet and security groups DataSync uses to access your
|
535
|
+
# Amazon EFS file system.
|
549
536
|
#
|
550
537
|
# @option params [Array<Types::TagListEntry>] :tags
|
551
|
-
#
|
552
|
-
# resource. The value can be an empty string. This value
|
553
|
-
# manage, filter, and search for your resources. We recommend
|
554
|
-
# create a name tag for your location.
|
538
|
+
# Specifies the key-value pair that represents a tag that you want to
|
539
|
+
# add to the resource. The value can be an empty string. This value
|
540
|
+
# helps you manage, filter, and search for your resources. We recommend
|
541
|
+
# that you create a name tag for your location.
|
542
|
+
#
|
543
|
+
# @option params [String] :access_point_arn
|
544
|
+
# Specifies the Amazon Resource Name (ARN) of the access point that
|
545
|
+
# DataSync uses to access the Amazon EFS file system.
|
546
|
+
#
|
547
|
+
# @option params [String] :file_system_access_role_arn
|
548
|
+
# Specifies an Identity and Access Management (IAM) role that DataSync
|
549
|
+
# assumes when mounting the Amazon EFS file system.
|
550
|
+
#
|
551
|
+
# @option params [String] :in_transit_encryption
|
552
|
+
# Specifies whether you want DataSync to use Transport Layer Security
|
553
|
+
# (TLS) 1.2 encryption when it copies data to or from the Amazon EFS
|
554
|
+
# file system.
|
555
|
+
#
|
556
|
+
# If you specify an access point using `AccessPointArn` or an IAM role
|
557
|
+
# using `FileSystemAccessRoleArn`, you must set this parameter to
|
558
|
+
# `TLS1_2`.
|
555
559
|
#
|
556
560
|
# @return [Types::CreateLocationEfsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
557
561
|
#
|
@@ -572,6 +576,9 @@ module Aws::DataSync
|
|
572
576
|
# value: "TagValue",
|
573
577
|
# },
|
574
578
|
# ],
|
579
|
+
# access_point_arn: "EfsAccessPointArn",
|
580
|
+
# file_system_access_role_arn: "IamRoleArn",
|
581
|
+
# in_transit_encryption: "NONE", # accepts NONE, TLS1_2
|
575
582
|
# })
|
576
583
|
#
|
577
584
|
# @example Response structure
|
@@ -638,6 +645,101 @@ module Aws::DataSync
|
|
638
645
|
req.send_request(options)
|
639
646
|
end
|
640
647
|
|
648
|
+
# Creates an endpoint for an Amazon FSx for NetApp ONTAP file system
|
649
|
+
# that DataSync can access for a transfer. For more information, see
|
650
|
+
# [Creating a location for FSx for ONTAP][1].
|
651
|
+
#
|
652
|
+
#
|
653
|
+
#
|
654
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-ontap-location.html
|
655
|
+
#
|
656
|
+
# @option params [required, Types::FsxProtocol] :protocol
|
657
|
+
# Specifies the data transfer protocol that DataSync uses to access your
|
658
|
+
# Amazon FSx file system.
|
659
|
+
#
|
660
|
+
# @option params [required, Array<String>] :security_group_arns
|
661
|
+
# Specifies the Amazon EC2 security groups that provide access to your
|
662
|
+
# file system's preferred subnet.
|
663
|
+
#
|
664
|
+
# The security groups must allow outbound traffic on the following ports
|
665
|
+
# (depending on the protocol you use):
|
666
|
+
#
|
667
|
+
# * **Network File System (NFS)**\: TCP ports 111, 635, and 2049
|
668
|
+
#
|
669
|
+
# * **Server Message Block (SMB)**\: TCP port 445
|
670
|
+
#
|
671
|
+
# Your file system's security groups must also allow inbound traffic on
|
672
|
+
# the same ports.
|
673
|
+
#
|
674
|
+
# @option params [required, String] :storage_virtual_machine_arn
|
675
|
+
# Specifies the ARN of the storage virtual machine (SVM) on your file
|
676
|
+
# system where you're copying data to or from.
|
677
|
+
#
|
678
|
+
# @option params [String] :subdirectory
|
679
|
+
# Specifies the junction path (also known as a mount point) in the SVM
|
680
|
+
# volume where you're copying data to or from (for example, `/vol1`).
|
681
|
+
#
|
682
|
+
# <note markdown="1"> Don't specify a junction path in the SVM's root volume. For more
|
683
|
+
# information, see [Managing FSx for ONTAP storage virtual machines][1]
|
684
|
+
# in the *Amazon FSx for NetApp ONTAP User Guide*.
|
685
|
+
#
|
686
|
+
# </note>
|
687
|
+
#
|
688
|
+
#
|
689
|
+
#
|
690
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-svms.html
|
691
|
+
#
|
692
|
+
# @option params [Array<Types::TagListEntry>] :tags
|
693
|
+
# Specifies labels that help you categorize, filter, and search for your
|
694
|
+
# Amazon Web Services resources. We recommend creating at least a name
|
695
|
+
# tag for your location.
|
696
|
+
#
|
697
|
+
# @return [Types::CreateLocationFsxOntapResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
698
|
+
#
|
699
|
+
# * {Types::CreateLocationFsxOntapResponse#location_arn #location_arn} => String
|
700
|
+
#
|
701
|
+
# @example Request syntax with placeholder values
|
702
|
+
#
|
703
|
+
# resp = client.create_location_fsx_ontap({
|
704
|
+
# protocol: { # required
|
705
|
+
# nfs: {
|
706
|
+
# mount_options: {
|
707
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
|
708
|
+
# },
|
709
|
+
# },
|
710
|
+
# smb: {
|
711
|
+
# domain: "SmbDomain",
|
712
|
+
# mount_options: {
|
713
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3
|
714
|
+
# },
|
715
|
+
# password: "SmbPassword", # required
|
716
|
+
# user: "SmbUser", # required
|
717
|
+
# },
|
718
|
+
# },
|
719
|
+
# security_group_arns: ["Ec2SecurityGroupArn"], # required
|
720
|
+
# storage_virtual_machine_arn: "StorageVirtualMachineArn", # required
|
721
|
+
# subdirectory: "FsxOntapSubdirectory",
|
722
|
+
# tags: [
|
723
|
+
# {
|
724
|
+
# key: "TagKey", # required
|
725
|
+
# value: "TagValue",
|
726
|
+
# },
|
727
|
+
# ],
|
728
|
+
# })
|
729
|
+
#
|
730
|
+
# @example Response structure
|
731
|
+
#
|
732
|
+
# resp.location_arn #=> String
|
733
|
+
#
|
734
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxOntap AWS API Documentation
|
735
|
+
#
|
736
|
+
# @overload create_location_fsx_ontap(params = {})
|
737
|
+
# @param [Hash] params ({})
|
738
|
+
def create_location_fsx_ontap(params = {}, options = {})
|
739
|
+
req = build_request(:create_location_fsx_ontap, params)
|
740
|
+
req.send_request(options)
|
741
|
+
end
|
742
|
+
|
641
743
|
# Creates an endpoint for an Amazon FSx for OpenZFS file system.
|
642
744
|
#
|
643
745
|
# @option params [required, String] :fsx_filesystem_arn
|
@@ -675,6 +777,14 @@ module Aws::DataSync
|
|
675
777
|
# version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
|
676
778
|
# },
|
677
779
|
# },
|
780
|
+
# smb: {
|
781
|
+
# domain: "SmbDomain",
|
782
|
+
# mount_options: {
|
783
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3
|
784
|
+
# },
|
785
|
+
# password: "SmbPassword", # required
|
786
|
+
# user: "SmbUser", # required
|
787
|
+
# },
|
678
788
|
# },
|
679
789
|
# security_group_arns: ["Ec2SecurityGroupArn"], # required
|
680
790
|
# subdirectory: "FsxOpenZfsSubdirectory",
|
@@ -703,40 +813,49 @@ module Aws::DataSync
|
|
703
813
|
# system.
|
704
814
|
#
|
705
815
|
# @option params [String] :subdirectory
|
706
|
-
#
|
707
|
-
#
|
708
|
-
#
|
709
|
-
# data to the FSx for Windows File Server destination.
|
816
|
+
# Specifies a mount path for your file system using forward slashes.
|
817
|
+
# This is where DataSync reads or writes data (depending on if this is a
|
818
|
+
# source or destination location).
|
710
819
|
#
|
711
820
|
# @option params [required, String] :fsx_filesystem_arn
|
712
|
-
#
|
713
|
-
# file system.
|
821
|
+
# Specifies the Amazon Resource Name (ARN) for the FSx for Windows File
|
822
|
+
# Server file system.
|
714
823
|
#
|
715
824
|
# @option params [required, Array<String>] :security_group_arns
|
716
|
-
#
|
717
|
-
#
|
825
|
+
# Specifies the ARNs of the security groups that provide access to your
|
826
|
+
# file system's preferred subnet.
|
827
|
+
#
|
828
|
+
# <note markdown="1"> If you choose a security group that doesn't allow connections from
|
829
|
+
# within itself, do one of the following:
|
830
|
+
#
|
831
|
+
# * Configure the security group to allow it to communicate within
|
832
|
+
# itself.
|
833
|
+
#
|
834
|
+
# * Choose a different security group that can communicate with the
|
835
|
+
# mount target's security group.
|
836
|
+
#
|
837
|
+
# </note>
|
718
838
|
#
|
719
839
|
# @option params [Array<Types::TagListEntry>] :tags
|
720
|
-
#
|
721
|
-
#
|
722
|
-
#
|
723
|
-
# create a name tag for your location.
|
840
|
+
# Specifies labels that help you categorize, filter, and search for your
|
841
|
+
# Amazon Web Services resources. We recommend creating at least a name
|
842
|
+
# tag for your location.
|
724
843
|
#
|
725
844
|
# @option params [required, String] :user
|
726
|
-
#
|
727
|
-
#
|
845
|
+
# Specifies the user who has the permissions to access files and folders
|
846
|
+
# in the file system.
|
728
847
|
#
|
729
848
|
# For information about choosing a user name that ensures sufficient
|
730
849
|
# permissions to files, folders, and metadata, see
|
731
850
|
# [user](create-fsx-location.html#FSxWuser).
|
732
851
|
#
|
733
852
|
# @option params [String] :domain
|
734
|
-
#
|
735
|
-
# belongs to.
|
853
|
+
# Specifies the name of the Windows domain that the FSx for Windows File
|
854
|
+
# Server belongs to.
|
736
855
|
#
|
737
856
|
# @option params [required, String] :password
|
738
|
-
#
|
739
|
-
# folders in the
|
857
|
+
# Specifies the password of the user who has the permissions to access
|
858
|
+
# files and folders in the file system.
|
740
859
|
#
|
741
860
|
# @return [Types::CreateLocationFsxWindowsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
742
861
|
#
|
@@ -1014,58 +1133,53 @@ module Aws::DataSync
|
|
1014
1133
|
req.send_request(options)
|
1015
1134
|
end
|
1016
1135
|
|
1017
|
-
# Creates an endpoint for
|
1018
|
-
#
|
1019
|
-
#
|
1136
|
+
# Creates an endpoint for an object storage system that DataSync can
|
1137
|
+
# access for a transfer. For more information, see [Creating a location
|
1138
|
+
# for object storage][1].
|
1020
1139
|
#
|
1021
1140
|
#
|
1022
1141
|
#
|
1023
1142
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html
|
1024
1143
|
#
|
1025
1144
|
# @option params [required, String] :server_hostname
|
1026
|
-
#
|
1027
|
-
#
|
1028
|
-
# server. An agent uses this hostname to mount the object storage server
|
1145
|
+
# Specifies the domain name or IP address of the object storage server.
|
1146
|
+
# A DataSync agent uses this hostname to mount the object storage server
|
1029
1147
|
# in a network.
|
1030
1148
|
#
|
1031
1149
|
# @option params [Integer] :server_port
|
1032
|
-
#
|
1033
|
-
# network traffic on
|
1034
|
-
# or TCP 443 (HTTPS). You can specify a custom port if your self-managed
|
1035
|
-
# object storage server requires one.
|
1150
|
+
# Specifies the port that your object storage server accepts inbound
|
1151
|
+
# network traffic on (for example, port 443).
|
1036
1152
|
#
|
1037
1153
|
# @option params [String] :server_protocol
|
1038
|
-
#
|
1039
|
-
#
|
1154
|
+
# Specifies the protocol that your object storage server uses to
|
1155
|
+
# communicate.
|
1040
1156
|
#
|
1041
1157
|
# @option params [String] :subdirectory
|
1042
|
-
#
|
1043
|
-
#
|
1158
|
+
# Specifies the object prefix for your object storage server. If this is
|
1159
|
+
# a source location, DataSync only copies objects with this prefix. If
|
1160
|
+
# this is a destination location, DataSync writes all objects with this
|
1161
|
+
# prefix.
|
1044
1162
|
#
|
1045
1163
|
# @option params [required, String] :bucket_name
|
1046
|
-
#
|
1047
|
-
#
|
1164
|
+
# Specifies the name of the object storage bucket involved in the
|
1165
|
+
# transfer.
|
1048
1166
|
#
|
1049
1167
|
# @option params [String] :access_key
|
1050
|
-
#
|
1051
|
-
# the
|
1052
|
-
# requires a user name and password to authenticate, use `AccessKey` and
|
1053
|
-
# `SecretKey` to provide the user name and password, respectively.
|
1168
|
+
# Specifies the access key (for example, a user name) if credentials are
|
1169
|
+
# required to authenticate with the object storage server.
|
1054
1170
|
#
|
1055
1171
|
# @option params [String] :secret_key
|
1056
|
-
#
|
1057
|
-
# the
|
1058
|
-
# requires a user name and password to authenticate, use `AccessKey` and
|
1059
|
-
# `SecretKey` to provide the user name and password, respectively.
|
1172
|
+
# Specifies the secret key (for example, a password) if credentials are
|
1173
|
+
# required to authenticate with the object storage server.
|
1060
1174
|
#
|
1061
1175
|
# @option params [required, Array<String>] :agent_arns
|
1062
|
-
#
|
1063
|
-
#
|
1176
|
+
# Specifies the Amazon Resource Names (ARNs) of the DataSync agents that
|
1177
|
+
# can securely connect with your location.
|
1064
1178
|
#
|
1065
1179
|
# @option params [Array<Types::TagListEntry>] :tags
|
1066
|
-
#
|
1067
|
-
#
|
1068
|
-
# name your
|
1180
|
+
# Specifies the key-value pair that represents a tag that you want to
|
1181
|
+
# add to the resource. Tags can help you manage, filter, and search for
|
1182
|
+
# your resources. We recommend creating a name tag for your location.
|
1069
1183
|
#
|
1070
1184
|
# @return [Types::CreateLocationObjectStorageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1071
1185
|
#
|
@@ -1236,8 +1350,8 @@ module Aws::DataSync
|
|
1236
1350
|
# and folders in the SMB share.
|
1237
1351
|
#
|
1238
1352
|
# For information about choosing a user name that ensures sufficient
|
1239
|
-
# permissions to files, folders, and metadata, see
|
1240
|
-
#
|
1353
|
+
# permissions to files, folders, and metadata, see the [User
|
1354
|
+
# setting](create-smb-location.html#SMBuser) for SMB locations.
|
1241
1355
|
#
|
1242
1356
|
# @option params [String] :domain
|
1243
1357
|
# The name of the Windows domain that the SMB server belongs to.
|
@@ -1295,33 +1409,27 @@ module Aws::DataSync
|
|
1295
1409
|
req.send_request(options)
|
1296
1410
|
end
|
1297
1411
|
|
1298
|
-
#
|
1412
|
+
# Configures a task, which defines where and how DataSync transfers your
|
1413
|
+
# data.
|
1299
1414
|
#
|
1300
|
-
# A task includes a source location
|
1301
|
-
#
|
1302
|
-
#
|
1303
|
-
# The configuration specifies options such as task scheduling, bandwidth
|
1304
|
-
# limits, etc. A task is the complete definition of a data transfer.
|
1415
|
+
# A task includes a source location, a destination location, and the
|
1416
|
+
# preferences for how and when you want to transfer your data (such as
|
1417
|
+
# bandwidth limits, scheduling, among other options).
|
1305
1418
|
#
|
1306
1419
|
# When you create a task that transfers data between Amazon Web Services
|
1307
|
-
# services in different Amazon Web Services Regions, one of
|
1308
|
-
# locations
|
1309
|
-
#
|
1310
|
-
#
|
1420
|
+
# services in different Amazon Web Services Regions, one of your
|
1421
|
+
# locations must reside in the Region where you're using DataSync.
|
1422
|
+
#
|
1423
|
+
# For more information, see the following topics:
|
1311
1424
|
#
|
1312
|
-
#
|
1313
|
-
# except for China, or between Amazon Web Services GovCloud (US)
|
1314
|
-
# Regions.
|
1425
|
+
# * [Working with DataSync locations][1]
|
1315
1426
|
#
|
1316
|
-
#
|
1317
|
-
# Services Regions, you pay for data transfer between Regions. This is
|
1318
|
-
# billed as data transfer OUT from your source Region to your
|
1319
|
-
# destination Region. For more information, see [Data Transfer
|
1320
|
-
# pricing][1].
|
1427
|
+
# * [Configure DataSync task settings][2]
|
1321
1428
|
#
|
1322
1429
|
#
|
1323
1430
|
#
|
1324
|
-
# [1]:
|
1431
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html
|
1432
|
+
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/create-task.html
|
1325
1433
|
#
|
1326
1434
|
# @option params [required, String] :source_location_arn
|
1327
1435
|
# The Amazon Resource Name (ARN) of the source location for the task.
|
@@ -1562,11 +1670,12 @@ module Aws::DataSync
|
|
1562
1670
|
req.send_request(options)
|
1563
1671
|
end
|
1564
1672
|
|
1565
|
-
# Returns metadata
|
1566
|
-
#
|
1673
|
+
# Returns metadata about your DataSync location for an Amazon EFS file
|
1674
|
+
# system.
|
1567
1675
|
#
|
1568
1676
|
# @option params [required, String] :location_arn
|
1569
|
-
# The Amazon Resource Name (ARN) of the EFS
|
1677
|
+
# The Amazon Resource Name (ARN) of the Amazon EFS file system location
|
1678
|
+
# that you want information about.
|
1570
1679
|
#
|
1571
1680
|
# @return [Types::DescribeLocationEfsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1572
1681
|
#
|
@@ -1574,6 +1683,9 @@ module Aws::DataSync
|
|
1574
1683
|
# * {Types::DescribeLocationEfsResponse#location_uri #location_uri} => String
|
1575
1684
|
# * {Types::DescribeLocationEfsResponse#ec2_config #ec2_config} => Types::Ec2Config
|
1576
1685
|
# * {Types::DescribeLocationEfsResponse#creation_time #creation_time} => Time
|
1686
|
+
# * {Types::DescribeLocationEfsResponse#access_point_arn #access_point_arn} => String
|
1687
|
+
# * {Types::DescribeLocationEfsResponse#file_system_access_role_arn #file_system_access_role_arn} => String
|
1688
|
+
# * {Types::DescribeLocationEfsResponse#in_transit_encryption #in_transit_encryption} => String
|
1577
1689
|
#
|
1578
1690
|
# @example Request syntax with placeholder values
|
1579
1691
|
#
|
@@ -1589,6 +1701,9 @@ module Aws::DataSync
|
|
1589
1701
|
# resp.ec2_config.security_group_arns #=> Array
|
1590
1702
|
# resp.ec2_config.security_group_arns[0] #=> String
|
1591
1703
|
# resp.creation_time #=> Time
|
1704
|
+
# resp.access_point_arn #=> String
|
1705
|
+
# resp.file_system_access_role_arn #=> String
|
1706
|
+
# resp.in_transit_encryption #=> String, one of "NONE", "TLS1_2"
|
1592
1707
|
#
|
1593
1708
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationEfs AWS API Documentation
|
1594
1709
|
#
|
@@ -1636,6 +1751,53 @@ module Aws::DataSync
|
|
1636
1751
|
req.send_request(options)
|
1637
1752
|
end
|
1638
1753
|
|
1754
|
+
# Provides details about how an DataSync location for an Amazon FSx for
|
1755
|
+
# NetApp ONTAP file system is configured.
|
1756
|
+
#
|
1757
|
+
# @option params [required, String] :location_arn
|
1758
|
+
# Specifies the Amazon Resource Name (ARN) of the FSx for ONTAP file
|
1759
|
+
# system location that you want information about.
|
1760
|
+
#
|
1761
|
+
# @return [Types::DescribeLocationFsxOntapResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1762
|
+
#
|
1763
|
+
# * {Types::DescribeLocationFsxOntapResponse#creation_time #creation_time} => Time
|
1764
|
+
# * {Types::DescribeLocationFsxOntapResponse#location_arn #location_arn} => String
|
1765
|
+
# * {Types::DescribeLocationFsxOntapResponse#location_uri #location_uri} => String
|
1766
|
+
# * {Types::DescribeLocationFsxOntapResponse#protocol #protocol} => Types::FsxProtocol
|
1767
|
+
# * {Types::DescribeLocationFsxOntapResponse#security_group_arns #security_group_arns} => Array<String>
|
1768
|
+
# * {Types::DescribeLocationFsxOntapResponse#storage_virtual_machine_arn #storage_virtual_machine_arn} => String
|
1769
|
+
# * {Types::DescribeLocationFsxOntapResponse#fsx_filesystem_arn #fsx_filesystem_arn} => String
|
1770
|
+
#
|
1771
|
+
# @example Request syntax with placeholder values
|
1772
|
+
#
|
1773
|
+
# resp = client.describe_location_fsx_ontap({
|
1774
|
+
# location_arn: "LocationArn", # required
|
1775
|
+
# })
|
1776
|
+
#
|
1777
|
+
# @example Response structure
|
1778
|
+
#
|
1779
|
+
# resp.creation_time #=> Time
|
1780
|
+
# resp.location_arn #=> String
|
1781
|
+
# resp.location_uri #=> String
|
1782
|
+
# resp.protocol.nfs.mount_options.version #=> String, one of "AUTOMATIC", "NFS3", "NFS4_0", "NFS4_1"
|
1783
|
+
# resp.protocol.smb.domain #=> String
|
1784
|
+
# resp.protocol.smb.mount_options.version #=> String, one of "AUTOMATIC", "SMB2", "SMB3"
|
1785
|
+
# resp.protocol.smb.password #=> String
|
1786
|
+
# resp.protocol.smb.user #=> String
|
1787
|
+
# resp.security_group_arns #=> Array
|
1788
|
+
# resp.security_group_arns[0] #=> String
|
1789
|
+
# resp.storage_virtual_machine_arn #=> String
|
1790
|
+
# resp.fsx_filesystem_arn #=> String
|
1791
|
+
#
|
1792
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxOntap AWS API Documentation
|
1793
|
+
#
|
1794
|
+
# @overload describe_location_fsx_ontap(params = {})
|
1795
|
+
# @param [Hash] params ({})
|
1796
|
+
def describe_location_fsx_ontap(params = {}, options = {})
|
1797
|
+
req = build_request(:describe_location_fsx_ontap, params)
|
1798
|
+
req.send_request(options)
|
1799
|
+
end
|
1800
|
+
|
1639
1801
|
# Returns metadata about an Amazon FSx for OpenZFS location, such as
|
1640
1802
|
# information about its path.
|
1641
1803
|
#
|
@@ -1664,6 +1826,10 @@ module Aws::DataSync
|
|
1664
1826
|
# resp.security_group_arns #=> Array
|
1665
1827
|
# resp.security_group_arns[0] #=> String
|
1666
1828
|
# resp.protocol.nfs.mount_options.version #=> String, one of "AUTOMATIC", "NFS3", "NFS4_0", "NFS4_1"
|
1829
|
+
# resp.protocol.smb.domain #=> String
|
1830
|
+
# resp.protocol.smb.mount_options.version #=> String, one of "AUTOMATIC", "SMB2", "SMB3"
|
1831
|
+
# resp.protocol.smb.password #=> String
|
1832
|
+
# resp.protocol.smb.user #=> String
|
1667
1833
|
# resp.creation_time #=> Time
|
1668
1834
|
#
|
1669
1835
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxOpenZfs AWS API Documentation
|
@@ -1809,17 +1975,12 @@ module Aws::DataSync
|
|
1809
1975
|
req.send_request(options)
|
1810
1976
|
end
|
1811
1977
|
|
1812
|
-
# Returns metadata about
|
1813
|
-
#
|
1814
|
-
# [Creating a location for object storage][1].
|
1815
|
-
#
|
1816
|
-
#
|
1817
|
-
#
|
1818
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html
|
1978
|
+
# Returns metadata about your DataSync location for an object storage
|
1979
|
+
# system.
|
1819
1980
|
#
|
1820
1981
|
# @option params [required, String] :location_arn
|
1821
|
-
# The Amazon Resource Name (ARN) of the
|
1822
|
-
#
|
1982
|
+
# The Amazon Resource Name (ARN) of the object storage system location
|
1983
|
+
# that you want information about.
|
1823
1984
|
#
|
1824
1985
|
# @return [Types::DescribeLocationObjectStorageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1825
1986
|
#
|
@@ -2289,7 +2450,7 @@ module Aws::DataSync
|
|
2289
2450
|
req.send_request(options)
|
2290
2451
|
end
|
2291
2452
|
|
2292
|
-
# Returns a list of
|
2453
|
+
# Returns a list of the DataSync tasks you created.
|
2293
2454
|
#
|
2294
2455
|
# @option params [Integer] :max_results
|
2295
2456
|
# The maximum number of tasks to return.
|
@@ -2661,8 +2822,7 @@ module Aws::DataSync
|
|
2661
2822
|
# File System (NFS) location.
|
2662
2823
|
#
|
2663
2824
|
# @option params [Types::NfsMountOptions] :mount_options
|
2664
|
-
#
|
2665
|
-
# an NFS location.
|
2825
|
+
# Specifies how DataSync can access a location using the NFS protocol.
|
2666
2826
|
#
|
2667
2827
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2668
2828
|
#
|
@@ -2808,8 +2968,7 @@ module Aws::DataSync
|
|
2808
2968
|
# Block (SMB) location.
|
2809
2969
|
#
|
2810
2970
|
# @option params [Types::SmbMountOptions] :mount_options
|
2811
|
-
#
|
2812
|
-
# an SMB location.
|
2971
|
+
# Specifies how DataSync can access a location using the SMB protocol.
|
2813
2972
|
#
|
2814
2973
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2815
2974
|
#
|
@@ -3022,7 +3181,7 @@ module Aws::DataSync
|
|
3022
3181
|
params: params,
|
3023
3182
|
config: config)
|
3024
3183
|
context[:gem_name] = 'aws-sdk-datasync'
|
3025
|
-
context[:gem_version] = '1.
|
3184
|
+
context[:gem_version] = '1.49.0'
|
3026
3185
|
Seahorse::Client::Request.new(handlers, context)
|
3027
3186
|
end
|
3028
3187
|
|