aws-sdk-datasync 1.95.0 → 1.97.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-datasync/client.rb +141 -45
- data/lib/aws-sdk-datasync/client_api.rb +23 -5
- data/lib/aws-sdk-datasync/types.rb +167 -46
- data/lib/aws-sdk-datasync.rb +1 -1
- data/sig/client.rbs +17 -4
- data/sig/types.rbs +13 -0
- 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: b08b0eeab7644910d6a21205b7e5f312257815f3f88509923c93bad624e33b3b
|
4
|
+
data.tar.gz: f5d9c5e8d4702293b50e9ff9b8bcde9fabf518cf20c614f1b8c3f6be43d5905d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36f1aa83e3b7632d131f024e3aecad6829583ea17bc90f8a80b00a00e63039bbd0888d50058655a5a6c17d80b41858ca94b3059a3e50a2675f46960edc619add
|
7
|
+
data.tar.gz: 841c34ad685af5fb00022043ba1f620d93ae1685e2a1736f59571d716c69c3687c5076f74a42f528c00c215d7154b91c1a9e312e2441cff4e3953d26f562c2fc
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.97.0 (2025-02-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Doc-only update to provide more information on using Kerberos authentication with SMB locations.
|
8
|
+
|
9
|
+
1.96.0 (2025-01-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS DataSync now supports the Kerberos authentication protocol for SMB locations.
|
13
|
+
|
4
14
|
1.95.0 (2025-01-15)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.97.0
|
@@ -1725,12 +1725,13 @@ module Aws::DataSync
|
|
1725
1725
|
# server. DataSync can use this location as a source or destination for
|
1726
1726
|
# transferring data.
|
1727
1727
|
#
|
1728
|
-
# Before you begin, make sure that you understand how DataSync
|
1729
|
-
# SMB file servers
|
1728
|
+
# Before you begin, make sure that you understand how DataSync accesses
|
1729
|
+
# SMB file servers. For more information, see [Providing DataSync access
|
1730
|
+
# to SMB file servers][1].
|
1730
1731
|
#
|
1731
1732
|
#
|
1732
1733
|
#
|
1733
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb
|
1734
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
|
1734
1735
|
#
|
1735
1736
|
# @option params [required, String] :subdirectory
|
1736
1737
|
# Specifies the name of the share exported by your SMB file server where
|
@@ -1740,49 +1741,49 @@ module Aws::DataSync
|
|
1740
1741
|
#
|
1741
1742
|
# To copy all data in the subdirectory, DataSync must be able to mount
|
1742
1743
|
# the SMB share and access all of its data. For more information, see
|
1743
|
-
# [
|
1744
|
+
# [Providing DataSync access to SMB file servers][1].
|
1744
1745
|
#
|
1745
1746
|
#
|
1746
1747
|
#
|
1747
1748
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
|
1748
1749
|
#
|
1749
1750
|
# @option params [required, String] :server_hostname
|
1750
|
-
# Specifies the
|
1751
|
-
#
|
1751
|
+
# Specifies the domain name or IP address of the SMB file server that
|
1752
|
+
# your DataSync agent will mount.
|
1752
1753
|
#
|
1753
|
-
#
|
1754
|
+
# Remember the following when configuring this parameter:
|
1754
1755
|
#
|
1755
|
-
#
|
1756
|
+
# * You can't specify an IP version 6 (IPv6) address.
|
1756
1757
|
#
|
1757
|
-
#
|
1758
|
+
# * If you're using Kerberos authentication, you must specify a domain
|
1759
|
+
# name.
|
1760
|
+
#
|
1761
|
+
# @option params [String] :user
|
1758
1762
|
# Specifies the user that can mount and access the files, folders, and
|
1759
|
-
# file metadata in your SMB file server.
|
1763
|
+
# file metadata in your SMB file server. This parameter applies only if
|
1764
|
+
# `AuthenticationType` is set to `NTLM`.
|
1760
1765
|
#
|
1761
1766
|
# For information about choosing a user with the right level of access
|
1762
|
-
# for your transfer, see [
|
1767
|
+
# for your transfer, see [Providing DataSync access to SMB file
|
1768
|
+
# servers][1].
|
1763
1769
|
#
|
1764
1770
|
#
|
1765
1771
|
#
|
1766
1772
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
|
1767
1773
|
#
|
1768
1774
|
# @option params [String] :domain
|
1769
|
-
# Specifies the
|
1770
|
-
#
|
1775
|
+
# Specifies the Windows domain name that your SMB file server belongs
|
1776
|
+
# to. This parameter applies only if `AuthenticationType` is set to
|
1777
|
+
# `NTLM`.
|
1771
1778
|
#
|
1772
|
-
# If you have multiple
|
1773
|
-
#
|
1774
|
-
# right file server.
|
1779
|
+
# If you have multiple domains in your environment, configuring this
|
1780
|
+
# parameter makes sure that DataSync connects to the right file server.
|
1775
1781
|
#
|
1776
|
-
# @option params [
|
1782
|
+
# @option params [String] :password
|
1777
1783
|
# Specifies the password of the user who can mount your SMB file server
|
1778
1784
|
# and has permission to access the files and folders involved in your
|
1779
|
-
# transfer.
|
1780
|
-
#
|
1781
|
-
# For more information, see [required permissions][1] for SMB locations.
|
1782
|
-
#
|
1783
|
-
#
|
1784
|
-
#
|
1785
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
|
1785
|
+
# transfer. This parameter applies only if `AuthenticationType` is set
|
1786
|
+
# to `NTLM`.
|
1786
1787
|
#
|
1787
1788
|
# @option params [required, Array<String>] :agent_arns
|
1788
1789
|
# Specifies the DataSync agent (or agents) that can connect to your SMB
|
@@ -1798,6 +1799,49 @@ module Aws::DataSync
|
|
1798
1799
|
# Amazon Web Services resources. We recommend creating at least a name
|
1799
1800
|
# tag for your location.
|
1800
1801
|
#
|
1802
|
+
# @option params [String] :authentication_type
|
1803
|
+
# Specifies the authentication protocol that DataSync uses to connect to
|
1804
|
+
# your SMB file server. DataSync supports `NTLM` (default) and
|
1805
|
+
# `KERBEROS` authentication.
|
1806
|
+
#
|
1807
|
+
# @option params [Array<String>] :dns_ip_addresses
|
1808
|
+
# Specifies the IPv4 addresses for the DNS servers that your SMB file
|
1809
|
+
# server belongs to. This parameter applies only if `AuthenticationType`
|
1810
|
+
# is set to `KERBEROS`.
|
1811
|
+
#
|
1812
|
+
# If you have multiple domains in your environment, configuring this
|
1813
|
+
# parameter makes sure that DataSync connects to the right SMB file
|
1814
|
+
# server.
|
1815
|
+
#
|
1816
|
+
# @option params [String] :kerberos_principal
|
1817
|
+
# Specifies a Kerberos prinicpal, which is an identity in your Kerberos
|
1818
|
+
# realm that has permission to access the files, folders, and file
|
1819
|
+
# metadata in your SMB file server.
|
1820
|
+
#
|
1821
|
+
# A Kerberos principal might look like `HOST/kerberosuser@EXAMPLE.COM`.
|
1822
|
+
#
|
1823
|
+
# Principal names are case sensitive. Your DataSync task execution will
|
1824
|
+
# fail if the principal that you specify for this parameter doesn’t
|
1825
|
+
# exactly match the principal that you use to create the keytab file.
|
1826
|
+
#
|
1827
|
+
# @option params [String, StringIO, File] :kerberos_keytab
|
1828
|
+
# Specifies your Kerberos key table (keytab) file, which includes
|
1829
|
+
# mappings between your Kerberos principal and encryption keys.
|
1830
|
+
#
|
1831
|
+
# The file must be base64 encoded. If you're using the CLI, the
|
1832
|
+
# encoding is done for you.
|
1833
|
+
#
|
1834
|
+
# To avoid task execution errors, make sure that the Kerberos principal
|
1835
|
+
# that you use to create the keytab file matches exactly what you
|
1836
|
+
# specify for `KerberosPrincipal`.
|
1837
|
+
#
|
1838
|
+
# @option params [String, StringIO, File] :kerberos_krb_5_conf
|
1839
|
+
# Specifies a Kerberos configuration file (`krb5.conf`) that defines
|
1840
|
+
# your Kerberos realm configuration.
|
1841
|
+
#
|
1842
|
+
# The file must be base64 encoded. If you're using the CLI, the
|
1843
|
+
# encoding is done for you.
|
1844
|
+
#
|
1801
1845
|
# @return [Types::CreateLocationSmbResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1802
1846
|
#
|
1803
1847
|
# * {Types::CreateLocationSmbResponse#location_arn #location_arn} => String
|
@@ -1807,9 +1851,9 @@ module Aws::DataSync
|
|
1807
1851
|
# resp = client.create_location_smb({
|
1808
1852
|
# subdirectory: "SmbSubdirectory", # required
|
1809
1853
|
# server_hostname: "ServerHostname", # required
|
1810
|
-
# user: "SmbUser",
|
1854
|
+
# user: "SmbUser",
|
1811
1855
|
# domain: "SmbDomain",
|
1812
|
-
# password: "SmbPassword",
|
1856
|
+
# password: "SmbPassword",
|
1813
1857
|
# agent_arns: ["AgentArn"], # required
|
1814
1858
|
# mount_options: {
|
1815
1859
|
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3, SMB1, SMB2_0
|
@@ -1820,6 +1864,11 @@ module Aws::DataSync
|
|
1820
1864
|
# value: "TagValue",
|
1821
1865
|
# },
|
1822
1866
|
# ],
|
1867
|
+
# authentication_type: "NTLM", # accepts NTLM, KERBEROS
|
1868
|
+
# dns_ip_addresses: ["ServerIpAddress"],
|
1869
|
+
# kerberos_principal: "KerberosPrincipal",
|
1870
|
+
# kerberos_keytab: "data",
|
1871
|
+
# kerberos_krb_5_conf: "data",
|
1823
1872
|
# })
|
1824
1873
|
#
|
1825
1874
|
# @example Response structure
|
@@ -2696,6 +2745,9 @@ module Aws::DataSync
|
|
2696
2745
|
# * {Types::DescribeLocationSmbResponse#domain #domain} => String
|
2697
2746
|
# * {Types::DescribeLocationSmbResponse#mount_options #mount_options} => Types::SmbMountOptions
|
2698
2747
|
# * {Types::DescribeLocationSmbResponse#creation_time #creation_time} => Time
|
2748
|
+
# * {Types::DescribeLocationSmbResponse#dns_ip_addresses #dns_ip_addresses} => Array<String>
|
2749
|
+
# * {Types::DescribeLocationSmbResponse#kerberos_principal #kerberos_principal} => String
|
2750
|
+
# * {Types::DescribeLocationSmbResponse#authentication_type #authentication_type} => String
|
2699
2751
|
#
|
2700
2752
|
# @example Request syntax with placeholder values
|
2701
2753
|
#
|
@@ -2713,6 +2765,10 @@ module Aws::DataSync
|
|
2713
2765
|
# resp.domain #=> String
|
2714
2766
|
# resp.mount_options.version #=> String, one of "AUTOMATIC", "SMB2", "SMB3", "SMB1", "SMB2_0"
|
2715
2767
|
# resp.creation_time #=> Time
|
2768
|
+
# resp.dns_ip_addresses #=> Array
|
2769
|
+
# resp.dns_ip_addresses[0] #=> String
|
2770
|
+
# resp.kerberos_principal #=> String
|
2771
|
+
# resp.authentication_type #=> String, one of "NTLM", "KERBEROS"
|
2716
2772
|
#
|
2717
2773
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationSmb AWS API Documentation
|
2718
2774
|
#
|
@@ -4323,7 +4379,7 @@ module Aws::DataSync
|
|
4323
4379
|
# },
|
4324
4380
|
# },
|
4325
4381
|
# smb: {
|
4326
|
-
# domain: "
|
4382
|
+
# domain: "UpdateSmbDomain",
|
4327
4383
|
# mount_options: {
|
4328
4384
|
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3, SMB1, SMB2_0
|
4329
4385
|
# },
|
@@ -4458,7 +4514,7 @@ module Aws::DataSync
|
|
4458
4514
|
# resp = client.update_location_fsx_windows({
|
4459
4515
|
# location_arn: "LocationArn", # required
|
4460
4516
|
# subdirectory: "FsxWindowsSubdirectory",
|
4461
|
-
# domain: "
|
4517
|
+
# domain: "UpdateSmbDomain",
|
4462
4518
|
# user: "SmbUser",
|
4463
4519
|
# password: "SmbPassword",
|
4464
4520
|
# })
|
@@ -4830,7 +4886,7 @@ module Aws::DataSync
|
|
4830
4886
|
#
|
4831
4887
|
# To copy all data in the specified subdirectory, DataSync must be able
|
4832
4888
|
# to mount the SMB share and access all of its data. For more
|
4833
|
-
# information, see [
|
4889
|
+
# information, see [Providing DataSync access to SMB file servers][1].
|
4834
4890
|
#
|
4835
4891
|
#
|
4836
4892
|
#
|
@@ -4839,9 +4895,11 @@ module Aws::DataSync
|
|
4839
4895
|
# @option params [String] :user
|
4840
4896
|
# Specifies the user name that can mount your SMB file server and has
|
4841
4897
|
# permission to access the files and folders involved in your transfer.
|
4898
|
+
# This parameter applies only if `AuthenticationType` is set to `NTLM`.
|
4842
4899
|
#
|
4843
4900
|
# For information about choosing a user with the right level of access
|
4844
|
-
# for your transfer, see [
|
4901
|
+
# for your transfer, see [Providing DataSync access to SMB file
|
4902
|
+
# servers][1].
|
4845
4903
|
#
|
4846
4904
|
#
|
4847
4905
|
#
|
@@ -4849,27 +4907,17 @@ module Aws::DataSync
|
|
4849
4907
|
#
|
4850
4908
|
# @option params [String] :domain
|
4851
4909
|
# Specifies the Windows domain name that your SMB file server belongs
|
4852
|
-
# to.
|
4910
|
+
# to. This parameter applies only if `AuthenticationType` is set to
|
4911
|
+
# `NTLM`.
|
4853
4912
|
#
|
4854
4913
|
# If you have multiple domains in your environment, configuring this
|
4855
4914
|
# parameter makes sure that DataSync connects to the right file server.
|
4856
4915
|
#
|
4857
|
-
# For more information, see [required permissions][1] for SMB locations.
|
4858
|
-
#
|
4859
|
-
#
|
4860
|
-
#
|
4861
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
|
4862
|
-
#
|
4863
4916
|
# @option params [String] :password
|
4864
4917
|
# Specifies the password of the user who can mount your SMB file server
|
4865
4918
|
# and has permission to access the files and folders involved in your
|
4866
|
-
# transfer.
|
4867
|
-
#
|
4868
|
-
# For more information, see [required permissions][1] for SMB locations.
|
4869
|
-
#
|
4870
|
-
#
|
4871
|
-
#
|
4872
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
|
4919
|
+
# transfer. This parameter applies only if `AuthenticationType` is set
|
4920
|
+
# to `NTLM`.
|
4873
4921
|
#
|
4874
4922
|
# @option params [Array<String>] :agent_arns
|
4875
4923
|
# Specifies the DataSync agent (or agents) that can connect to your SMB
|
@@ -4880,6 +4928,49 @@ module Aws::DataSync
|
|
4880
4928
|
# Specifies the version of the Server Message Block (SMB) protocol that
|
4881
4929
|
# DataSync uses to access an SMB file server.
|
4882
4930
|
#
|
4931
|
+
# @option params [String] :authentication_type
|
4932
|
+
# Specifies the authentication protocol that DataSync uses to connect to
|
4933
|
+
# your SMB file server. DataSync supports `NTLM` (default) and
|
4934
|
+
# `KERBEROS` authentication.
|
4935
|
+
#
|
4936
|
+
# @option params [Array<String>] :dns_ip_addresses
|
4937
|
+
# Specifies the IPv4 addresses for the DNS servers that your SMB file
|
4938
|
+
# server belongs to. This parameter applies only if `AuthenticationType`
|
4939
|
+
# is set to `KERBEROS`.
|
4940
|
+
#
|
4941
|
+
# If you have multiple domains in your environment, configuring this
|
4942
|
+
# parameter makes sure that DataSync connects to the right SMB file
|
4943
|
+
# server.
|
4944
|
+
#
|
4945
|
+
# @option params [String] :kerberos_principal
|
4946
|
+
# Specifies a Kerberos prinicpal, which is an identity in your Kerberos
|
4947
|
+
# realm that has permission to access the files, folders, and file
|
4948
|
+
# metadata in your SMB file server.
|
4949
|
+
#
|
4950
|
+
# A Kerberos principal might look like `HOST/kerberosuser@EXAMPLE.COM`.
|
4951
|
+
#
|
4952
|
+
# Principal names are case sensitive. Your DataSync task execution will
|
4953
|
+
# fail if the principal that you specify for this parameter doesn’t
|
4954
|
+
# exactly match the principal that you use to create the keytab file.
|
4955
|
+
#
|
4956
|
+
# @option params [String, StringIO, File] :kerberos_keytab
|
4957
|
+
# Specifies your Kerberos key table (keytab) file, which includes
|
4958
|
+
# mappings between your Kerberos principal and encryption keys.
|
4959
|
+
#
|
4960
|
+
# The file must be base64 encoded. If you're using the CLI, the
|
4961
|
+
# encoding is done for you.
|
4962
|
+
#
|
4963
|
+
# To avoid task execution errors, make sure that the Kerberos principal
|
4964
|
+
# that you use to create the keytab file matches exactly what you
|
4965
|
+
# specify for `KerberosPrincipal`.
|
4966
|
+
#
|
4967
|
+
# @option params [String, StringIO, File] :kerberos_krb_5_conf
|
4968
|
+
# Specifies a Kerberos configuration file (`krb5.conf`) that defines
|
4969
|
+
# your Kerberos realm configuration.
|
4970
|
+
#
|
4971
|
+
# The file must be base64 encoded. If you're using the CLI, the
|
4972
|
+
# encoding is done for you.
|
4973
|
+
#
|
4883
4974
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4884
4975
|
#
|
4885
4976
|
# @example Request syntax with placeholder values
|
@@ -4894,6 +4985,11 @@ module Aws::DataSync
|
|
4894
4985
|
# mount_options: {
|
4895
4986
|
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3, SMB1, SMB2_0
|
4896
4987
|
# },
|
4988
|
+
# authentication_type: "NTLM", # accepts NTLM, KERBEROS
|
4989
|
+
# dns_ip_addresses: ["ServerIpAddress"],
|
4990
|
+
# kerberos_principal: "KerberosPrincipal",
|
4991
|
+
# kerberos_keytab: "data",
|
4992
|
+
# kerberos_krb_5_conf: "data",
|
4897
4993
|
# })
|
4898
4994
|
#
|
4899
4995
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationSmb AWS API Documentation
|
@@ -5236,7 +5332,7 @@ module Aws::DataSync
|
|
5236
5332
|
tracer: tracer
|
5237
5333
|
)
|
5238
5334
|
context[:gem_name] = 'aws-sdk-datasync'
|
5239
|
-
context[:gem_version] = '1.
|
5335
|
+
context[:gem_version] = '1.97.0'
|
5240
5336
|
Seahorse::Client::Request.new(handlers, context)
|
5241
5337
|
end
|
5242
5338
|
|
@@ -120,6 +120,7 @@ module Aws::DataSync
|
|
120
120
|
DiscoveryServerPort = Shapes::IntegerShape.new(name: 'DiscoveryServerPort')
|
121
121
|
DiscoverySystemType = Shapes::StringShape.new(name: 'DiscoverySystemType')
|
122
122
|
DiscoveryTime = Shapes::TimestampShape.new(name: 'DiscoveryTime')
|
123
|
+
DnsIpList = Shapes::ListShape.new(name: 'DnsIpList')
|
123
124
|
Duration = Shapes::IntegerShape.new(name: 'Duration')
|
124
125
|
Ec2Config = Shapes::StructureShape.new(name: 'Ec2Config')
|
125
126
|
Ec2SecurityGroupArn = Shapes::StringShape.new(name: 'Ec2SecurityGroupArn')
|
@@ -149,7 +150,6 @@ module Aws::DataSync
|
|
149
150
|
FsxProtocolSmb = Shapes::StructureShape.new(name: 'FsxProtocolSmb')
|
150
151
|
FsxUpdateProtocol = Shapes::StructureShape.new(name: 'FsxUpdateProtocol')
|
151
152
|
FsxUpdateProtocolSmb = Shapes::StructureShape.new(name: 'FsxUpdateProtocolSmb')
|
152
|
-
FsxUpdateSmbDomain = Shapes::StringShape.new(name: 'FsxUpdateSmbDomain')
|
153
153
|
FsxWindowsSubdirectory = Shapes::StringShape.new(name: 'FsxWindowsSubdirectory')
|
154
154
|
GenerateRecommendationsRequest = Shapes::StructureShape.new(name: 'GenerateRecommendationsRequest')
|
155
155
|
GenerateRecommendationsResponse = Shapes::StructureShape.new(name: 'GenerateRecommendationsResponse')
|
@@ -277,6 +277,8 @@ module Aws::DataSync
|
|
277
277
|
ScheduleStatus = Shapes::StringShape.new(name: 'ScheduleStatus')
|
278
278
|
SecretsManagerArn = Shapes::StringShape.new(name: 'SecretsManagerArn')
|
279
279
|
ServerHostname = Shapes::StringShape.new(name: 'ServerHostname')
|
280
|
+
ServerIpAddress = Shapes::StringShape.new(name: 'ServerIpAddress')
|
281
|
+
SmbAuthenticationType = Shapes::StringShape.new(name: 'SmbAuthenticationType')
|
280
282
|
SmbDomain = Shapes::StringShape.new(name: 'SmbDomain')
|
281
283
|
SmbMountOptions = Shapes::StructureShape.new(name: 'SmbMountOptions')
|
282
284
|
SmbPassword = Shapes::StringShape.new(name: 'SmbPassword')
|
@@ -356,6 +358,7 @@ module Aws::DataSync
|
|
356
358
|
UpdateLocationS3Response = Shapes::StructureShape.new(name: 'UpdateLocationS3Response')
|
357
359
|
UpdateLocationSmbRequest = Shapes::StructureShape.new(name: 'UpdateLocationSmbRequest')
|
358
360
|
UpdateLocationSmbResponse = Shapes::StructureShape.new(name: 'UpdateLocationSmbResponse')
|
361
|
+
UpdateSmbDomain = Shapes::StringShape.new(name: 'UpdateSmbDomain')
|
359
362
|
UpdateStorageSystemRequest = Shapes::StructureShape.new(name: 'UpdateStorageSystemRequest')
|
360
363
|
UpdateStorageSystemResponse = Shapes::StructureShape.new(name: 'UpdateStorageSystemResponse')
|
361
364
|
UpdateTaskExecutionRequest = Shapes::StructureShape.new(name: 'UpdateTaskExecutionRequest')
|
@@ -539,12 +542,17 @@ module Aws::DataSync
|
|
539
542
|
|
540
543
|
CreateLocationSmbRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: SmbSubdirectory, required: true, location_name: "Subdirectory"))
|
541
544
|
CreateLocationSmbRequest.add_member(:server_hostname, Shapes::ShapeRef.new(shape: ServerHostname, required: true, location_name: "ServerHostname"))
|
542
|
-
CreateLocationSmbRequest.add_member(:user, Shapes::ShapeRef.new(shape: SmbUser,
|
545
|
+
CreateLocationSmbRequest.add_member(:user, Shapes::ShapeRef.new(shape: SmbUser, location_name: "User"))
|
543
546
|
CreateLocationSmbRequest.add_member(:domain, Shapes::ShapeRef.new(shape: SmbDomain, location_name: "Domain"))
|
544
|
-
CreateLocationSmbRequest.add_member(:password, Shapes::ShapeRef.new(shape: SmbPassword,
|
547
|
+
CreateLocationSmbRequest.add_member(:password, Shapes::ShapeRef.new(shape: SmbPassword, location_name: "Password"))
|
545
548
|
CreateLocationSmbRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, required: true, location_name: "AgentArns"))
|
546
549
|
CreateLocationSmbRequest.add_member(:mount_options, Shapes::ShapeRef.new(shape: SmbMountOptions, location_name: "MountOptions"))
|
547
550
|
CreateLocationSmbRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
551
|
+
CreateLocationSmbRequest.add_member(:authentication_type, Shapes::ShapeRef.new(shape: SmbAuthenticationType, location_name: "AuthenticationType"))
|
552
|
+
CreateLocationSmbRequest.add_member(:dns_ip_addresses, Shapes::ShapeRef.new(shape: DnsIpList, location_name: "DnsIpAddresses"))
|
553
|
+
CreateLocationSmbRequest.add_member(:kerberos_principal, Shapes::ShapeRef.new(shape: KerberosPrincipal, location_name: "KerberosPrincipal"))
|
554
|
+
CreateLocationSmbRequest.add_member(:kerberos_keytab, Shapes::ShapeRef.new(shape: KerberosKeytabFile, location_name: "KerberosKeytab"))
|
555
|
+
CreateLocationSmbRequest.add_member(:kerberos_krb_5_conf, Shapes::ShapeRef.new(shape: KerberosKrb5ConfFile, location_name: "KerberosKrb5Conf"))
|
548
556
|
CreateLocationSmbRequest.struct_class = Types::CreateLocationSmbRequest
|
549
557
|
|
550
558
|
CreateLocationSmbResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
@@ -737,6 +745,9 @@ module Aws::DataSync
|
|
737
745
|
DescribeLocationSmbResponse.add_member(:domain, Shapes::ShapeRef.new(shape: SmbDomain, location_name: "Domain"))
|
738
746
|
DescribeLocationSmbResponse.add_member(:mount_options, Shapes::ShapeRef.new(shape: SmbMountOptions, location_name: "MountOptions"))
|
739
747
|
DescribeLocationSmbResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
748
|
+
DescribeLocationSmbResponse.add_member(:dns_ip_addresses, Shapes::ShapeRef.new(shape: DnsIpList, location_name: "DnsIpAddresses"))
|
749
|
+
DescribeLocationSmbResponse.add_member(:kerberos_principal, Shapes::ShapeRef.new(shape: KerberosPrincipal, location_name: "KerberosPrincipal"))
|
750
|
+
DescribeLocationSmbResponse.add_member(:authentication_type, Shapes::ShapeRef.new(shape: SmbAuthenticationType, location_name: "AuthenticationType"))
|
740
751
|
DescribeLocationSmbResponse.struct_class = Types::DescribeLocationSmbResponse
|
741
752
|
|
742
753
|
DescribeStorageSystemRequest.add_member(:storage_system_arn, Shapes::ShapeRef.new(shape: StorageSystemArn, required: true, location_name: "StorageSystemArn"))
|
@@ -847,6 +858,8 @@ module Aws::DataSync
|
|
847
858
|
DiscoveryServerConfiguration.add_member(:server_port, Shapes::ShapeRef.new(shape: DiscoveryServerPort, location_name: "ServerPort"))
|
848
859
|
DiscoveryServerConfiguration.struct_class = Types::DiscoveryServerConfiguration
|
849
860
|
|
861
|
+
DnsIpList.member = Shapes::ShapeRef.new(shape: ServerIpAddress)
|
862
|
+
|
850
863
|
Ec2Config.add_member(:subnet_arn, Shapes::ShapeRef.new(shape: Ec2SubnetArn, required: true, location_name: "SubnetArn"))
|
851
864
|
Ec2Config.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: Ec2SecurityGroupArnList, required: true, location_name: "SecurityGroupArns"))
|
852
865
|
Ec2Config.struct_class = Types::Ec2Config
|
@@ -882,7 +895,7 @@ module Aws::DataSync
|
|
882
895
|
FsxUpdateProtocol.add_member(:smb, Shapes::ShapeRef.new(shape: FsxUpdateProtocolSmb, location_name: "SMB"))
|
883
896
|
FsxUpdateProtocol.struct_class = Types::FsxUpdateProtocol
|
884
897
|
|
885
|
-
FsxUpdateProtocolSmb.add_member(:domain, Shapes::ShapeRef.new(shape:
|
898
|
+
FsxUpdateProtocolSmb.add_member(:domain, Shapes::ShapeRef.new(shape: UpdateSmbDomain, location_name: "Domain"))
|
886
899
|
FsxUpdateProtocolSmb.add_member(:mount_options, Shapes::ShapeRef.new(shape: SmbMountOptions, location_name: "MountOptions"))
|
887
900
|
FsxUpdateProtocolSmb.add_member(:password, Shapes::ShapeRef.new(shape: SmbPassword, location_name: "Password"))
|
888
901
|
FsxUpdateProtocolSmb.add_member(:user, Shapes::ShapeRef.new(shape: SmbUser, location_name: "User"))
|
@@ -1357,7 +1370,7 @@ module Aws::DataSync
|
|
1357
1370
|
|
1358
1371
|
UpdateLocationFsxWindowsRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
1359
1372
|
UpdateLocationFsxWindowsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: FsxWindowsSubdirectory, location_name: "Subdirectory"))
|
1360
|
-
UpdateLocationFsxWindowsRequest.add_member(:domain, Shapes::ShapeRef.new(shape:
|
1373
|
+
UpdateLocationFsxWindowsRequest.add_member(:domain, Shapes::ShapeRef.new(shape: UpdateSmbDomain, location_name: "Domain"))
|
1361
1374
|
UpdateLocationFsxWindowsRequest.add_member(:user, Shapes::ShapeRef.new(shape: SmbUser, location_name: "User"))
|
1362
1375
|
UpdateLocationFsxWindowsRequest.add_member(:password, Shapes::ShapeRef.new(shape: SmbPassword, location_name: "Password"))
|
1363
1376
|
UpdateLocationFsxWindowsRequest.struct_class = Types::UpdateLocationFsxWindowsRequest
|
@@ -1416,6 +1429,11 @@ module Aws::DataSync
|
|
1416
1429
|
UpdateLocationSmbRequest.add_member(:password, Shapes::ShapeRef.new(shape: SmbPassword, location_name: "Password"))
|
1417
1430
|
UpdateLocationSmbRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
|
1418
1431
|
UpdateLocationSmbRequest.add_member(:mount_options, Shapes::ShapeRef.new(shape: SmbMountOptions, location_name: "MountOptions"))
|
1432
|
+
UpdateLocationSmbRequest.add_member(:authentication_type, Shapes::ShapeRef.new(shape: SmbAuthenticationType, location_name: "AuthenticationType"))
|
1433
|
+
UpdateLocationSmbRequest.add_member(:dns_ip_addresses, Shapes::ShapeRef.new(shape: DnsIpList, location_name: "DnsIpAddresses"))
|
1434
|
+
UpdateLocationSmbRequest.add_member(:kerberos_principal, Shapes::ShapeRef.new(shape: KerberosPrincipal, location_name: "KerberosPrincipal"))
|
1435
|
+
UpdateLocationSmbRequest.add_member(:kerberos_keytab, Shapes::ShapeRef.new(shape: KerberosKeytabFile, location_name: "KerberosKeytab"))
|
1436
|
+
UpdateLocationSmbRequest.add_member(:kerberos_krb_5_conf, Shapes::ShapeRef.new(shape: KerberosKrb5ConfFile, location_name: "KerberosKrb5Conf"))
|
1419
1437
|
UpdateLocationSmbRequest.struct_class = Types::UpdateLocationSmbRequest
|
1420
1438
|
|
1421
1439
|
UpdateLocationSmbResponse.struct_class = Types::UpdateLocationSmbResponse
|
@@ -1196,7 +1196,7 @@ module Aws::DataSync
|
|
1196
1196
|
#
|
1197
1197
|
# To copy all data in the subdirectory, DataSync must be able to mount
|
1198
1198
|
# the SMB share and access all of its data. For more information, see
|
1199
|
-
# [
|
1199
|
+
# [Providing DataSync access to SMB file servers][1].
|
1200
1200
|
#
|
1201
1201
|
#
|
1202
1202
|
#
|
@@ -1204,20 +1204,25 @@ module Aws::DataSync
|
|
1204
1204
|
# @return [String]
|
1205
1205
|
#
|
1206
1206
|
# @!attribute [rw] server_hostname
|
1207
|
-
# Specifies the
|
1208
|
-
#
|
1207
|
+
# Specifies the domain name or IP address of the SMB file server that
|
1208
|
+
# your DataSync agent will mount.
|
1209
1209
|
#
|
1210
|
-
#
|
1210
|
+
# Remember the following when configuring this parameter:
|
1211
1211
|
#
|
1212
|
-
#
|
1212
|
+
# * You can't specify an IP version 6 (IPv6) address.
|
1213
|
+
#
|
1214
|
+
# * If you're using Kerberos authentication, you must specify a
|
1215
|
+
# domain name.
|
1213
1216
|
# @return [String]
|
1214
1217
|
#
|
1215
1218
|
# @!attribute [rw] user
|
1216
1219
|
# Specifies the user that can mount and access the files, folders, and
|
1217
|
-
# file metadata in your SMB file server.
|
1220
|
+
# file metadata in your SMB file server. This parameter applies only
|
1221
|
+
# if `AuthenticationType` is set to `NTLM`.
|
1218
1222
|
#
|
1219
1223
|
# For information about choosing a user with the right level of access
|
1220
|
-
# for your transfer, see [
|
1224
|
+
# for your transfer, see [Providing DataSync access to SMB file
|
1225
|
+
# servers][1].
|
1221
1226
|
#
|
1222
1227
|
#
|
1223
1228
|
#
|
@@ -1225,25 +1230,20 @@ module Aws::DataSync
|
|
1225
1230
|
# @return [String]
|
1226
1231
|
#
|
1227
1232
|
# @!attribute [rw] domain
|
1228
|
-
# Specifies the
|
1229
|
-
#
|
1233
|
+
# Specifies the Windows domain name that your SMB file server belongs
|
1234
|
+
# to. This parameter applies only if `AuthenticationType` is set to
|
1235
|
+
# `NTLM`.
|
1230
1236
|
#
|
1231
|
-
# If you have multiple
|
1232
|
-
#
|
1233
|
-
#
|
1237
|
+
# If you have multiple domains in your environment, configuring this
|
1238
|
+
# parameter makes sure that DataSync connects to the right file
|
1239
|
+
# server.
|
1234
1240
|
# @return [String]
|
1235
1241
|
#
|
1236
1242
|
# @!attribute [rw] password
|
1237
1243
|
# Specifies the password of the user who can mount your SMB file
|
1238
1244
|
# server and has permission to access the files and folders involved
|
1239
|
-
# in your transfer.
|
1240
|
-
#
|
1241
|
-
# For more information, see [required permissions][1] for SMB
|
1242
|
-
# locations.
|
1243
|
-
#
|
1244
|
-
#
|
1245
|
-
#
|
1246
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
|
1245
|
+
# in your transfer. This parameter applies only if
|
1246
|
+
# `AuthenticationType` is set to `NTLM`.
|
1247
1247
|
# @return [String]
|
1248
1248
|
#
|
1249
1249
|
# @!attribute [rw] agent_arns
|
@@ -1263,6 +1263,56 @@ module Aws::DataSync
|
|
1263
1263
|
# name tag for your location.
|
1264
1264
|
# @return [Array<Types::TagListEntry>]
|
1265
1265
|
#
|
1266
|
+
# @!attribute [rw] authentication_type
|
1267
|
+
# Specifies the authentication protocol that DataSync uses to connect
|
1268
|
+
# to your SMB file server. DataSync supports `NTLM` (default) and
|
1269
|
+
# `KERBEROS` authentication.
|
1270
|
+
# @return [String]
|
1271
|
+
#
|
1272
|
+
# @!attribute [rw] dns_ip_addresses
|
1273
|
+
# Specifies the IPv4 addresses for the DNS servers that your SMB file
|
1274
|
+
# server belongs to. This parameter applies only if
|
1275
|
+
# `AuthenticationType` is set to `KERBEROS`.
|
1276
|
+
#
|
1277
|
+
# If you have multiple domains in your environment, configuring this
|
1278
|
+
# parameter makes sure that DataSync connects to the right SMB file
|
1279
|
+
# server.
|
1280
|
+
# @return [Array<String>]
|
1281
|
+
#
|
1282
|
+
# @!attribute [rw] kerberos_principal
|
1283
|
+
# Specifies a Kerberos prinicpal, which is an identity in your
|
1284
|
+
# Kerberos realm that has permission to access the files, folders, and
|
1285
|
+
# file metadata in your SMB file server.
|
1286
|
+
#
|
1287
|
+
# A Kerberos principal might look like
|
1288
|
+
# `HOST/kerberosuser@EXAMPLE.COM`.
|
1289
|
+
#
|
1290
|
+
# Principal names are case sensitive. Your DataSync task execution
|
1291
|
+
# will fail if the principal that you specify for this parameter
|
1292
|
+
# doesn’t exactly match the principal that you use to create the
|
1293
|
+
# keytab file.
|
1294
|
+
# @return [String]
|
1295
|
+
#
|
1296
|
+
# @!attribute [rw] kerberos_keytab
|
1297
|
+
# Specifies your Kerberos key table (keytab) file, which includes
|
1298
|
+
# mappings between your Kerberos principal and encryption keys.
|
1299
|
+
#
|
1300
|
+
# The file must be base64 encoded. If you're using the CLI, the
|
1301
|
+
# encoding is done for you.
|
1302
|
+
#
|
1303
|
+
# To avoid task execution errors, make sure that the Kerberos
|
1304
|
+
# principal that you use to create the keytab file matches exactly
|
1305
|
+
# what you specify for `KerberosPrincipal`.
|
1306
|
+
# @return [String]
|
1307
|
+
#
|
1308
|
+
# @!attribute [rw] kerberos_krb_5_conf
|
1309
|
+
# Specifies a Kerberos configuration file (`krb5.conf`) that defines
|
1310
|
+
# your Kerberos realm configuration.
|
1311
|
+
#
|
1312
|
+
# The file must be base64 encoded. If you're using the CLI, the
|
1313
|
+
# encoding is done for you.
|
1314
|
+
# @return [String]
|
1315
|
+
#
|
1266
1316
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationSmbRequest AWS API Documentation
|
1267
1317
|
#
|
1268
1318
|
class CreateLocationSmbRequest < Struct.new(
|
@@ -1273,7 +1323,12 @@ module Aws::DataSync
|
|
1273
1323
|
:password,
|
1274
1324
|
:agent_arns,
|
1275
1325
|
:mount_options,
|
1276
|
-
:tags
|
1326
|
+
:tags,
|
1327
|
+
:authentication_type,
|
1328
|
+
:dns_ip_addresses,
|
1329
|
+
:kerberos_principal,
|
1330
|
+
:kerberos_keytab,
|
1331
|
+
:kerberos_krb_5_conf)
|
1277
1332
|
SENSITIVE = [:password]
|
1278
1333
|
include Aws::Structure
|
1279
1334
|
end
|
@@ -2373,22 +2428,40 @@ module Aws::DataSync
|
|
2373
2428
|
#
|
2374
2429
|
# @!attribute [rw] user
|
2375
2430
|
# The user that can mount and access the files, folders, and file
|
2376
|
-
# metadata in your SMB file server.
|
2431
|
+
# metadata in your SMB file server. This element applies only if
|
2432
|
+
# `AuthenticationType` is set to `NTLM`.
|
2377
2433
|
# @return [String]
|
2378
2434
|
#
|
2379
2435
|
# @!attribute [rw] domain
|
2380
|
-
# The name of the
|
2381
|
-
#
|
2436
|
+
# The name of the Windows domain that the SMB file server belongs to.
|
2437
|
+
# This element applies only if `AuthenticationType` is set to `NTLM`.
|
2382
2438
|
# @return [String]
|
2383
2439
|
#
|
2384
2440
|
# @!attribute [rw] mount_options
|
2385
|
-
# The protocol that DataSync
|
2441
|
+
# The SMB protocol version that DataSync uses to access your SMB file
|
2442
|
+
# server.
|
2386
2443
|
# @return [Types::SmbMountOptions]
|
2387
2444
|
#
|
2388
2445
|
# @!attribute [rw] creation_time
|
2389
2446
|
# The time that the SMB location was created.
|
2390
2447
|
# @return [Time]
|
2391
2448
|
#
|
2449
|
+
# @!attribute [rw] dns_ip_addresses
|
2450
|
+
# The IPv4 addresses for the DNS servers that your SMB file server
|
2451
|
+
# belongs to. This element applies only if `AuthenticationType` is set
|
2452
|
+
# to `KERBEROS`.
|
2453
|
+
# @return [Array<String>]
|
2454
|
+
#
|
2455
|
+
# @!attribute [rw] kerberos_principal
|
2456
|
+
# The Kerberos principal that has permission to access the files,
|
2457
|
+
# folders, and file metadata in your SMB file server.
|
2458
|
+
# @return [String]
|
2459
|
+
#
|
2460
|
+
# @!attribute [rw] authentication_type
|
2461
|
+
# The authentication protocol that DataSync uses to connect to your
|
2462
|
+
# SMB file server.
|
2463
|
+
# @return [String]
|
2464
|
+
#
|
2392
2465
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationSmbResponse AWS API Documentation
|
2393
2466
|
#
|
2394
2467
|
class DescribeLocationSmbResponse < Struct.new(
|
@@ -2398,7 +2471,10 @@ module Aws::DataSync
|
|
2398
2471
|
:user,
|
2399
2472
|
:domain,
|
2400
2473
|
:mount_options,
|
2401
|
-
:creation_time
|
2474
|
+
:creation_time,
|
2475
|
+
:dns_ip_addresses,
|
2476
|
+
:kerberos_principal,
|
2477
|
+
:authentication_type)
|
2402
2478
|
SENSITIVE = []
|
2403
2479
|
include Aws::Structure
|
2404
2480
|
end
|
@@ -6793,7 +6869,7 @@ module Aws::DataSync
|
|
6793
6869
|
#
|
6794
6870
|
# To copy all data in the specified subdirectory, DataSync must be
|
6795
6871
|
# able to mount the SMB share and access all of its data. For more
|
6796
|
-
# information, see [
|
6872
|
+
# information, see [Providing DataSync access to SMB file servers][1].
|
6797
6873
|
#
|
6798
6874
|
#
|
6799
6875
|
#
|
@@ -6803,10 +6879,12 @@ module Aws::DataSync
|
|
6803
6879
|
# @!attribute [rw] user
|
6804
6880
|
# Specifies the user name that can mount your SMB file server and has
|
6805
6881
|
# permission to access the files and folders involved in your
|
6806
|
-
# transfer.
|
6882
|
+
# transfer. This parameter applies only if `AuthenticationType` is set
|
6883
|
+
# to `NTLM`.
|
6807
6884
|
#
|
6808
6885
|
# For information about choosing a user with the right level of access
|
6809
|
-
# for your transfer, see [
|
6886
|
+
# for your transfer, see [Providing DataSync access to SMB file
|
6887
|
+
# servers][1].
|
6810
6888
|
#
|
6811
6889
|
#
|
6812
6890
|
#
|
@@ -6815,31 +6893,19 @@ module Aws::DataSync
|
|
6815
6893
|
#
|
6816
6894
|
# @!attribute [rw] domain
|
6817
6895
|
# Specifies the Windows domain name that your SMB file server belongs
|
6818
|
-
# to.
|
6896
|
+
# to. This parameter applies only if `AuthenticationType` is set to
|
6897
|
+
# `NTLM`.
|
6819
6898
|
#
|
6820
6899
|
# If you have multiple domains in your environment, configuring this
|
6821
6900
|
# parameter makes sure that DataSync connects to the right file
|
6822
6901
|
# server.
|
6823
|
-
#
|
6824
|
-
# For more information, see [required permissions][1] for SMB
|
6825
|
-
# locations.
|
6826
|
-
#
|
6827
|
-
#
|
6828
|
-
#
|
6829
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
|
6830
6902
|
# @return [String]
|
6831
6903
|
#
|
6832
6904
|
# @!attribute [rw] password
|
6833
6905
|
# Specifies the password of the user who can mount your SMB file
|
6834
6906
|
# server and has permission to access the files and folders involved
|
6835
|
-
# in your transfer.
|
6836
|
-
#
|
6837
|
-
# For more information, see [required permissions][1] for SMB
|
6838
|
-
# locations.
|
6839
|
-
#
|
6840
|
-
#
|
6841
|
-
#
|
6842
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
|
6907
|
+
# in your transfer. This parameter applies only if
|
6908
|
+
# `AuthenticationType` is set to `NTLM`.
|
6843
6909
|
# @return [String]
|
6844
6910
|
#
|
6845
6911
|
# @!attribute [rw] agent_arns
|
@@ -6853,6 +6919,56 @@ module Aws::DataSync
|
|
6853
6919
|
# that DataSync uses to access an SMB file server.
|
6854
6920
|
# @return [Types::SmbMountOptions]
|
6855
6921
|
#
|
6922
|
+
# @!attribute [rw] authentication_type
|
6923
|
+
# Specifies the authentication protocol that DataSync uses to connect
|
6924
|
+
# to your SMB file server. DataSync supports `NTLM` (default) and
|
6925
|
+
# `KERBEROS` authentication.
|
6926
|
+
# @return [String]
|
6927
|
+
#
|
6928
|
+
# @!attribute [rw] dns_ip_addresses
|
6929
|
+
# Specifies the IPv4 addresses for the DNS servers that your SMB file
|
6930
|
+
# server belongs to. This parameter applies only if
|
6931
|
+
# `AuthenticationType` is set to `KERBEROS`.
|
6932
|
+
#
|
6933
|
+
# If you have multiple domains in your environment, configuring this
|
6934
|
+
# parameter makes sure that DataSync connects to the right SMB file
|
6935
|
+
# server.
|
6936
|
+
# @return [Array<String>]
|
6937
|
+
#
|
6938
|
+
# @!attribute [rw] kerberos_principal
|
6939
|
+
# Specifies a Kerberos prinicpal, which is an identity in your
|
6940
|
+
# Kerberos realm that has permission to access the files, folders, and
|
6941
|
+
# file metadata in your SMB file server.
|
6942
|
+
#
|
6943
|
+
# A Kerberos principal might look like
|
6944
|
+
# `HOST/kerberosuser@EXAMPLE.COM`.
|
6945
|
+
#
|
6946
|
+
# Principal names are case sensitive. Your DataSync task execution
|
6947
|
+
# will fail if the principal that you specify for this parameter
|
6948
|
+
# doesn’t exactly match the principal that you use to create the
|
6949
|
+
# keytab file.
|
6950
|
+
# @return [String]
|
6951
|
+
#
|
6952
|
+
# @!attribute [rw] kerberos_keytab
|
6953
|
+
# Specifies your Kerberos key table (keytab) file, which includes
|
6954
|
+
# mappings between your Kerberos principal and encryption keys.
|
6955
|
+
#
|
6956
|
+
# The file must be base64 encoded. If you're using the CLI, the
|
6957
|
+
# encoding is done for you.
|
6958
|
+
#
|
6959
|
+
# To avoid task execution errors, make sure that the Kerberos
|
6960
|
+
# principal that you use to create the keytab file matches exactly
|
6961
|
+
# what you specify for `KerberosPrincipal`.
|
6962
|
+
# @return [String]
|
6963
|
+
#
|
6964
|
+
# @!attribute [rw] kerberos_krb_5_conf
|
6965
|
+
# Specifies a Kerberos configuration file (`krb5.conf`) that defines
|
6966
|
+
# your Kerberos realm configuration.
|
6967
|
+
#
|
6968
|
+
# The file must be base64 encoded. If you're using the CLI, the
|
6969
|
+
# encoding is done for you.
|
6970
|
+
# @return [String]
|
6971
|
+
#
|
6856
6972
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationSmbRequest AWS API Documentation
|
6857
6973
|
#
|
6858
6974
|
class UpdateLocationSmbRequest < Struct.new(
|
@@ -6862,7 +6978,12 @@ module Aws::DataSync
|
|
6862
6978
|
:domain,
|
6863
6979
|
:password,
|
6864
6980
|
:agent_arns,
|
6865
|
-
:mount_options
|
6981
|
+
:mount_options,
|
6982
|
+
:authentication_type,
|
6983
|
+
:dns_ip_addresses,
|
6984
|
+
:kerberos_principal,
|
6985
|
+
:kerberos_keytab,
|
6986
|
+
:kerberos_krb_5_conf)
|
6866
6987
|
SENSITIVE = [:password]
|
6867
6988
|
include Aws::Structure
|
6868
6989
|
end
|
data/lib/aws-sdk-datasync.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -400,9 +400,9 @@ module Aws
|
|
400
400
|
def create_location_smb: (
|
401
401
|
subdirectory: ::String,
|
402
402
|
server_hostname: ::String,
|
403
|
-
user: ::String,
|
403
|
+
?user: ::String,
|
404
404
|
?domain: ::String,
|
405
|
-
password: ::String,
|
405
|
+
?password: ::String,
|
406
406
|
agent_arns: Array[::String],
|
407
407
|
?mount_options: {
|
408
408
|
version: ("AUTOMATIC" | "SMB2" | "SMB3" | "SMB1" | "SMB2_0")?
|
@@ -412,7 +412,12 @@ module Aws
|
|
412
412
|
key: ::String,
|
413
413
|
value: ::String?
|
414
414
|
},
|
415
|
-
]
|
415
|
+
],
|
416
|
+
?authentication_type: ("NTLM" | "KERBEROS"),
|
417
|
+
?dns_ip_addresses: Array[::String],
|
418
|
+
?kerberos_principal: ::String,
|
419
|
+
?kerberos_keytab: ::String,
|
420
|
+
?kerberos_krb_5_conf: ::String
|
416
421
|
) -> _CreateLocationSmbResponseSuccess
|
417
422
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLocationSmbResponseSuccess
|
418
423
|
|
@@ -732,6 +737,9 @@ module Aws
|
|
732
737
|
def domain: () -> ::String
|
733
738
|
def mount_options: () -> Types::SmbMountOptions
|
734
739
|
def creation_time: () -> ::Time
|
740
|
+
def dns_ip_addresses: () -> ::Array[::String]
|
741
|
+
def kerberos_principal: () -> ::String
|
742
|
+
def authentication_type: () -> ("NTLM" | "KERBEROS")
|
735
743
|
end
|
736
744
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_location_smb-instance_method
|
737
745
|
def describe_location_smb: (
|
@@ -1320,7 +1328,12 @@ module Aws
|
|
1320
1328
|
?agent_arns: Array[::String],
|
1321
1329
|
?mount_options: {
|
1322
1330
|
version: ("AUTOMATIC" | "SMB2" | "SMB3" | "SMB1" | "SMB2_0")?
|
1323
|
-
}
|
1331
|
+
},
|
1332
|
+
?authentication_type: ("NTLM" | "KERBEROS"),
|
1333
|
+
?dns_ip_addresses: Array[::String],
|
1334
|
+
?kerberos_principal: ::String,
|
1335
|
+
?kerberos_keytab: ::String,
|
1336
|
+
?kerberos_krb_5_conf: ::String
|
1324
1337
|
) -> _UpdateLocationSmbResponseSuccess
|
1325
1338
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationSmbResponseSuccess
|
1326
1339
|
|
data/sig/types.rbs
CHANGED
@@ -238,6 +238,11 @@ module Aws::DataSync
|
|
238
238
|
attr_accessor agent_arns: ::Array[::String]
|
239
239
|
attr_accessor mount_options: Types::SmbMountOptions
|
240
240
|
attr_accessor tags: ::Array[Types::TagListEntry]
|
241
|
+
attr_accessor authentication_type: ("NTLM" | "KERBEROS")
|
242
|
+
attr_accessor dns_ip_addresses: ::Array[::String]
|
243
|
+
attr_accessor kerberos_principal: ::String
|
244
|
+
attr_accessor kerberos_keytab: ::String
|
245
|
+
attr_accessor kerberos_krb_5_conf: ::String
|
241
246
|
SENSITIVE: [:password]
|
242
247
|
end
|
243
248
|
|
@@ -499,6 +504,9 @@ module Aws::DataSync
|
|
499
504
|
attr_accessor domain: ::String
|
500
505
|
attr_accessor mount_options: Types::SmbMountOptions
|
501
506
|
attr_accessor creation_time: ::Time
|
507
|
+
attr_accessor dns_ip_addresses: ::Array[::String]
|
508
|
+
attr_accessor kerberos_principal: ::String
|
509
|
+
attr_accessor authentication_type: ("NTLM" | "KERBEROS")
|
502
510
|
SENSITIVE: []
|
503
511
|
end
|
504
512
|
|
@@ -1331,6 +1339,11 @@ module Aws::DataSync
|
|
1331
1339
|
attr_accessor password: ::String
|
1332
1340
|
attr_accessor agent_arns: ::Array[::String]
|
1333
1341
|
attr_accessor mount_options: Types::SmbMountOptions
|
1342
|
+
attr_accessor authentication_type: ("NTLM" | "KERBEROS")
|
1343
|
+
attr_accessor dns_ip_addresses: ::Array[::String]
|
1344
|
+
attr_accessor kerberos_principal: ::String
|
1345
|
+
attr_accessor kerberos_keytab: ::String
|
1346
|
+
attr_accessor kerberos_krb_5_conf: ::String
|
1334
1347
|
SENSITIVE: [:password]
|
1335
1348
|
end
|
1336
1349
|
|
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.97.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: 2025-
|
11
|
+
date: 2025-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|