aws-sdk-datasync 1.95.0 → 1.96.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-datasync/client.rb +157 -45
- data/lib/aws-sdk-datasync/client_api.rb +23 -5
- data/lib/aws-sdk-datasync/types.rb +180 -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: 5806487ddbadbd917579c19f67a0ed2ecf212b6234fc5f3eee96c90fc00ff6e2
|
4
|
+
data.tar.gz: 6e0b77655522e8424e9686a078fb6f82bae3116865cb747171a2f09b3df9e269
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c24f3c09646e4c15d98dc5100d8974eb5472d31208f9cf01348e31cfb64afe714ea42cb71e9d04bb588245179511c9b6ba800c3ff0979413a204712632a79d5
|
7
|
+
data.tar.gz: 99d8c44f84b9f688038f7854ecb9ef17c418299cf6756ff94ad56c54d27ae02f015b8dca0440876221ed2a5c20d161c6b8b164c165b3ceca8d3a22b416f39091
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.96.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,57 @@ 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 service principal name (SPN), which is an identity in your
|
1818
|
+
# Kerberos realm that has permission to access the files, folders, and
|
1819
|
+
# file metadata in your SMB file server.
|
1820
|
+
#
|
1821
|
+
# SPNs are case sensitive and must include a prepended `cifs/`. For
|
1822
|
+
# example, an SPN might look like `cifs/kerberosuser@EXAMPLE.COM`.
|
1823
|
+
#
|
1824
|
+
# Your task execution will fail if the SPN that you provide for this
|
1825
|
+
# parameter doesn’t match what’s exactly in your keytab or `krb5.conf`
|
1826
|
+
# files.
|
1827
|
+
#
|
1828
|
+
# @option params [String, StringIO, File] :kerberos_keytab
|
1829
|
+
# Specifies your Kerberos key table (keytab) file, which includes
|
1830
|
+
# mappings between your service principal name (SPN) and encryption
|
1831
|
+
# keys.
|
1832
|
+
#
|
1833
|
+
# You can specify the keytab using a file path (for example,
|
1834
|
+
# `file://path/to/file.keytab`). The file must be base64 encoded. If
|
1835
|
+
# you're using the CLI, the encoding is done for you.
|
1836
|
+
#
|
1837
|
+
# To avoid task execution errors, make sure that the SPN in the keytab
|
1838
|
+
# file matches exactly what you specify for `KerberosPrincipal` and in
|
1839
|
+
# your `krb5.conf` file.
|
1840
|
+
#
|
1841
|
+
# @option params [String, StringIO, File] :kerberos_krb_5_conf
|
1842
|
+
# Specifies a Kerberos configuration file (`krb5.conf`) that defines
|
1843
|
+
# your Kerberos realm configuration.
|
1844
|
+
#
|
1845
|
+
# You can specify the `krb5.conf` using a file path (for example,
|
1846
|
+
# `file://path/to/krb5.conf`). The file must be base64 encoded. If
|
1847
|
+
# you're using the CLI, the encoding is done for you.
|
1848
|
+
#
|
1849
|
+
# To avoid task execution errors, make sure that the service principal
|
1850
|
+
# name (SPN) in the `krb5.conf` file matches exactly what you specify
|
1851
|
+
# for `KerberosPrincipal` and in your keytab file.
|
1852
|
+
#
|
1801
1853
|
# @return [Types::CreateLocationSmbResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1802
1854
|
#
|
1803
1855
|
# * {Types::CreateLocationSmbResponse#location_arn #location_arn} => String
|
@@ -1807,9 +1859,9 @@ module Aws::DataSync
|
|
1807
1859
|
# resp = client.create_location_smb({
|
1808
1860
|
# subdirectory: "SmbSubdirectory", # required
|
1809
1861
|
# server_hostname: "ServerHostname", # required
|
1810
|
-
# user: "SmbUser",
|
1862
|
+
# user: "SmbUser",
|
1811
1863
|
# domain: "SmbDomain",
|
1812
|
-
# password: "SmbPassword",
|
1864
|
+
# password: "SmbPassword",
|
1813
1865
|
# agent_arns: ["AgentArn"], # required
|
1814
1866
|
# mount_options: {
|
1815
1867
|
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3, SMB1, SMB2_0
|
@@ -1820,6 +1872,11 @@ module Aws::DataSync
|
|
1820
1872
|
# value: "TagValue",
|
1821
1873
|
# },
|
1822
1874
|
# ],
|
1875
|
+
# authentication_type: "NTLM", # accepts NTLM, KERBEROS
|
1876
|
+
# dns_ip_addresses: ["ServerIpAddress"],
|
1877
|
+
# kerberos_principal: "KerberosPrincipal",
|
1878
|
+
# kerberos_keytab: "data",
|
1879
|
+
# kerberos_krb_5_conf: "data",
|
1823
1880
|
# })
|
1824
1881
|
#
|
1825
1882
|
# @example Response structure
|
@@ -2696,6 +2753,9 @@ module Aws::DataSync
|
|
2696
2753
|
# * {Types::DescribeLocationSmbResponse#domain #domain} => String
|
2697
2754
|
# * {Types::DescribeLocationSmbResponse#mount_options #mount_options} => Types::SmbMountOptions
|
2698
2755
|
# * {Types::DescribeLocationSmbResponse#creation_time #creation_time} => Time
|
2756
|
+
# * {Types::DescribeLocationSmbResponse#dns_ip_addresses #dns_ip_addresses} => Array<String>
|
2757
|
+
# * {Types::DescribeLocationSmbResponse#kerberos_principal #kerberos_principal} => String
|
2758
|
+
# * {Types::DescribeLocationSmbResponse#authentication_type #authentication_type} => String
|
2699
2759
|
#
|
2700
2760
|
# @example Request syntax with placeholder values
|
2701
2761
|
#
|
@@ -2713,6 +2773,10 @@ module Aws::DataSync
|
|
2713
2773
|
# resp.domain #=> String
|
2714
2774
|
# resp.mount_options.version #=> String, one of "AUTOMATIC", "SMB2", "SMB3", "SMB1", "SMB2_0"
|
2715
2775
|
# resp.creation_time #=> Time
|
2776
|
+
# resp.dns_ip_addresses #=> Array
|
2777
|
+
# resp.dns_ip_addresses[0] #=> String
|
2778
|
+
# resp.kerberos_principal #=> String
|
2779
|
+
# resp.authentication_type #=> String, one of "NTLM", "KERBEROS"
|
2716
2780
|
#
|
2717
2781
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationSmb AWS API Documentation
|
2718
2782
|
#
|
@@ -4323,7 +4387,7 @@ module Aws::DataSync
|
|
4323
4387
|
# },
|
4324
4388
|
# },
|
4325
4389
|
# smb: {
|
4326
|
-
# domain: "
|
4390
|
+
# domain: "UpdateSmbDomain",
|
4327
4391
|
# mount_options: {
|
4328
4392
|
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3, SMB1, SMB2_0
|
4329
4393
|
# },
|
@@ -4458,7 +4522,7 @@ module Aws::DataSync
|
|
4458
4522
|
# resp = client.update_location_fsx_windows({
|
4459
4523
|
# location_arn: "LocationArn", # required
|
4460
4524
|
# subdirectory: "FsxWindowsSubdirectory",
|
4461
|
-
# domain: "
|
4525
|
+
# domain: "UpdateSmbDomain",
|
4462
4526
|
# user: "SmbUser",
|
4463
4527
|
# password: "SmbPassword",
|
4464
4528
|
# })
|
@@ -4830,7 +4894,7 @@ module Aws::DataSync
|
|
4830
4894
|
#
|
4831
4895
|
# To copy all data in the specified subdirectory, DataSync must be able
|
4832
4896
|
# to mount the SMB share and access all of its data. For more
|
4833
|
-
# information, see [
|
4897
|
+
# information, see [Providing DataSync access to SMB file servers][1].
|
4834
4898
|
#
|
4835
4899
|
#
|
4836
4900
|
#
|
@@ -4839,9 +4903,11 @@ module Aws::DataSync
|
|
4839
4903
|
# @option params [String] :user
|
4840
4904
|
# Specifies the user name that can mount your SMB file server and has
|
4841
4905
|
# permission to access the files and folders involved in your transfer.
|
4906
|
+
# This parameter applies only if `AuthenticationType` is set to `NTLM`.
|
4842
4907
|
#
|
4843
4908
|
# For information about choosing a user with the right level of access
|
4844
|
-
# for your transfer, see [
|
4909
|
+
# for your transfer, see [Providing DataSync access to SMB file
|
4910
|
+
# servers][1].
|
4845
4911
|
#
|
4846
4912
|
#
|
4847
4913
|
#
|
@@ -4849,27 +4915,17 @@ module Aws::DataSync
|
|
4849
4915
|
#
|
4850
4916
|
# @option params [String] :domain
|
4851
4917
|
# Specifies the Windows domain name that your SMB file server belongs
|
4852
|
-
# to.
|
4918
|
+
# to. This parameter applies only if `AuthenticationType` is set to
|
4919
|
+
# `NTLM`.
|
4853
4920
|
#
|
4854
4921
|
# If you have multiple domains in your environment, configuring this
|
4855
4922
|
# parameter makes sure that DataSync connects to the right file server.
|
4856
4923
|
#
|
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
4924
|
# @option params [String] :password
|
4864
4925
|
# Specifies the password of the user who can mount your SMB file server
|
4865
4926
|
# 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
|
4927
|
+
# transfer. This parameter applies only if `AuthenticationType` is set
|
4928
|
+
# to `NTLM`.
|
4873
4929
|
#
|
4874
4930
|
# @option params [Array<String>] :agent_arns
|
4875
4931
|
# Specifies the DataSync agent (or agents) that can connect to your SMB
|
@@ -4880,6 +4936,57 @@ module Aws::DataSync
|
|
4880
4936
|
# Specifies the version of the Server Message Block (SMB) protocol that
|
4881
4937
|
# DataSync uses to access an SMB file server.
|
4882
4938
|
#
|
4939
|
+
# @option params [String] :authentication_type
|
4940
|
+
# Specifies the authentication protocol that DataSync uses to connect to
|
4941
|
+
# your SMB file server. DataSync supports `NTLM` (default) and
|
4942
|
+
# `KERBEROS` authentication.
|
4943
|
+
#
|
4944
|
+
# @option params [Array<String>] :dns_ip_addresses
|
4945
|
+
# Specifies the IPv4 addresses for the DNS servers that your SMB file
|
4946
|
+
# server belongs to. This parameter applies only if `AuthenticationType`
|
4947
|
+
# is set to `KERBEROS`.
|
4948
|
+
#
|
4949
|
+
# If you have multiple domains in your environment, configuring this
|
4950
|
+
# parameter makes sure that DataSync connects to the right SMB file
|
4951
|
+
# server.
|
4952
|
+
#
|
4953
|
+
# @option params [String] :kerberos_principal
|
4954
|
+
# Specifies a service principal name (SPN), which is an identity in your
|
4955
|
+
# Kerberos realm that has permission to access the files, folders, and
|
4956
|
+
# file metadata in your SMB file server.
|
4957
|
+
#
|
4958
|
+
# SPNs are case sensitive and must include a prepended `cifs/`. For
|
4959
|
+
# example, an SPN might look like `cifs/kerberosuser@EXAMPLE.COM`.
|
4960
|
+
#
|
4961
|
+
# Your task execution will fail if the SPN that you provide for this
|
4962
|
+
# parameter doesn’t match what’s exactly in your keytab or `krb5.conf`
|
4963
|
+
# files.
|
4964
|
+
#
|
4965
|
+
# @option params [String, StringIO, File] :kerberos_keytab
|
4966
|
+
# Specifies your Kerberos key table (keytab) file, which includes
|
4967
|
+
# mappings between your service principal name (SPN) and encryption
|
4968
|
+
# keys.
|
4969
|
+
#
|
4970
|
+
# You can specify the keytab using a file path (for example,
|
4971
|
+
# `file://path/to/file.keytab`). The file must be base64 encoded. If
|
4972
|
+
# you're using the CLI, the encoding is done for you.
|
4973
|
+
#
|
4974
|
+
# To avoid task execution errors, make sure that the SPN in the keytab
|
4975
|
+
# file matches exactly what you specify for `KerberosPrincipal` and in
|
4976
|
+
# your `krb5.conf` file.
|
4977
|
+
#
|
4978
|
+
# @option params [String, StringIO, File] :kerberos_krb_5_conf
|
4979
|
+
# Specifies a Kerberos configuration file (`krb5.conf`) that defines
|
4980
|
+
# your Kerberos realm configuration.
|
4981
|
+
#
|
4982
|
+
# You can specify the `krb5.conf` using a file path (for example,
|
4983
|
+
# `file://path/to/krb5.conf`). The file must be base64 encoded. If
|
4984
|
+
# you're using the CLI, the encoding is done for you.
|
4985
|
+
#
|
4986
|
+
# To avoid task execution errors, make sure that the service principal
|
4987
|
+
# name (SPN) in the `krb5.conf` file matches exactly what you specify
|
4988
|
+
# for `KerberosPrincipal` and in your keytab file.
|
4989
|
+
#
|
4883
4990
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4884
4991
|
#
|
4885
4992
|
# @example Request syntax with placeholder values
|
@@ -4894,6 +5001,11 @@ module Aws::DataSync
|
|
4894
5001
|
# mount_options: {
|
4895
5002
|
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3, SMB1, SMB2_0
|
4896
5003
|
# },
|
5004
|
+
# authentication_type: "NTLM", # accepts NTLM, KERBEROS
|
5005
|
+
# dns_ip_addresses: ["ServerIpAddress"],
|
5006
|
+
# kerberos_principal: "KerberosPrincipal",
|
5007
|
+
# kerberos_keytab: "data",
|
5008
|
+
# kerberos_krb_5_conf: "data",
|
4897
5009
|
# })
|
4898
5010
|
#
|
4899
5011
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationSmb AWS API Documentation
|
@@ -5236,7 +5348,7 @@ module Aws::DataSync
|
|
5236
5348
|
tracer: tracer
|
5237
5349
|
)
|
5238
5350
|
context[:gem_name] = 'aws-sdk-datasync'
|
5239
|
-
context[:gem_version] = '1.
|
5351
|
+
context[:gem_version] = '1.96.0'
|
5240
5352
|
Seahorse::Client::Request.new(handlers, context)
|
5241
5353
|
end
|
5242
5354
|
|
@@ -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,62 @@ 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 service principal name (SPN), which is an identity in
|
1284
|
+
# your Kerberos realm that has permission to access the files,
|
1285
|
+
# folders, and file metadata in your SMB file server.
|
1286
|
+
#
|
1287
|
+
# SPNs are case sensitive and must include a prepended `cifs/`. For
|
1288
|
+
# example, an SPN might look like `cifs/kerberosuser@EXAMPLE.COM`.
|
1289
|
+
#
|
1290
|
+
# Your task execution will fail if the SPN that you provide for this
|
1291
|
+
# parameter doesn’t match what’s exactly in your keytab or `krb5.conf`
|
1292
|
+
# files.
|
1293
|
+
# @return [String]
|
1294
|
+
#
|
1295
|
+
# @!attribute [rw] kerberos_keytab
|
1296
|
+
# Specifies your Kerberos key table (keytab) file, which includes
|
1297
|
+
# mappings between your service principal name (SPN) and encryption
|
1298
|
+
# keys.
|
1299
|
+
#
|
1300
|
+
# You can specify the keytab using a file path (for example,
|
1301
|
+
# `file://path/to/file.keytab`). The file must be base64 encoded. If
|
1302
|
+
# you're using the CLI, the encoding is done for you.
|
1303
|
+
#
|
1304
|
+
# To avoid task execution errors, make sure that the SPN in the keytab
|
1305
|
+
# file matches exactly what you specify for `KerberosPrincipal` and in
|
1306
|
+
# your `krb5.conf` file.
|
1307
|
+
# @return [String]
|
1308
|
+
#
|
1309
|
+
# @!attribute [rw] kerberos_krb_5_conf
|
1310
|
+
# Specifies a Kerberos configuration file (`krb5.conf`) that defines
|
1311
|
+
# your Kerberos realm configuration.
|
1312
|
+
#
|
1313
|
+
# You can specify the `krb5.conf` using a file path (for example,
|
1314
|
+
# `file://path/to/krb5.conf`). The file must be base64 encoded. If
|
1315
|
+
# you're using the CLI, the encoding is done for you.
|
1316
|
+
#
|
1317
|
+
# To avoid task execution errors, make sure that the service principal
|
1318
|
+
# name (SPN) in the `krb5.conf` file matches exactly what you specify
|
1319
|
+
# for `KerberosPrincipal` and in your keytab file.
|
1320
|
+
# @return [String]
|
1321
|
+
#
|
1266
1322
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationSmbRequest AWS API Documentation
|
1267
1323
|
#
|
1268
1324
|
class CreateLocationSmbRequest < Struct.new(
|
@@ -1273,7 +1329,12 @@ module Aws::DataSync
|
|
1273
1329
|
:password,
|
1274
1330
|
:agent_arns,
|
1275
1331
|
:mount_options,
|
1276
|
-
:tags
|
1332
|
+
:tags,
|
1333
|
+
:authentication_type,
|
1334
|
+
:dns_ip_addresses,
|
1335
|
+
:kerberos_principal,
|
1336
|
+
:kerberos_keytab,
|
1337
|
+
:kerberos_krb_5_conf)
|
1277
1338
|
SENSITIVE = [:password]
|
1278
1339
|
include Aws::Structure
|
1279
1340
|
end
|
@@ -2373,22 +2434,41 @@ module Aws::DataSync
|
|
2373
2434
|
#
|
2374
2435
|
# @!attribute [rw] user
|
2375
2436
|
# The user that can mount and access the files, folders, and file
|
2376
|
-
# metadata in your SMB file server.
|
2437
|
+
# metadata in your SMB file server. This element applies only if
|
2438
|
+
# `AuthenticationType` is set to `NTLM`.
|
2377
2439
|
# @return [String]
|
2378
2440
|
#
|
2379
2441
|
# @!attribute [rw] domain
|
2380
|
-
# The name of the
|
2381
|
-
#
|
2442
|
+
# The name of the Windows domain that the SMB file server belongs to.
|
2443
|
+
# This element applies only if `AuthenticationType` is set to `NTLM`.
|
2382
2444
|
# @return [String]
|
2383
2445
|
#
|
2384
2446
|
# @!attribute [rw] mount_options
|
2385
|
-
# The protocol that DataSync
|
2447
|
+
# The SMB protocol version that DataSync uses to access your SMB file
|
2448
|
+
# server.
|
2386
2449
|
# @return [Types::SmbMountOptions]
|
2387
2450
|
#
|
2388
2451
|
# @!attribute [rw] creation_time
|
2389
2452
|
# The time that the SMB location was created.
|
2390
2453
|
# @return [Time]
|
2391
2454
|
#
|
2455
|
+
# @!attribute [rw] dns_ip_addresses
|
2456
|
+
# The IPv4 addresses for the DNS servers that your SMB file server
|
2457
|
+
# belongs to. This element applies only if `AuthenticationType` is set
|
2458
|
+
# to `KERBEROS`.
|
2459
|
+
# @return [Array<String>]
|
2460
|
+
#
|
2461
|
+
# @!attribute [rw] kerberos_principal
|
2462
|
+
# The Kerberos service principal name (SPN) that has permission to
|
2463
|
+
# access the files, folders, and file metadata in your SMB file
|
2464
|
+
# server.
|
2465
|
+
# @return [String]
|
2466
|
+
#
|
2467
|
+
# @!attribute [rw] authentication_type
|
2468
|
+
# The authentication protocol that DataSync uses to connect to your
|
2469
|
+
# SMB file server.
|
2470
|
+
# @return [String]
|
2471
|
+
#
|
2392
2472
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationSmbResponse AWS API Documentation
|
2393
2473
|
#
|
2394
2474
|
class DescribeLocationSmbResponse < Struct.new(
|
@@ -2398,7 +2478,10 @@ module Aws::DataSync
|
|
2398
2478
|
:user,
|
2399
2479
|
:domain,
|
2400
2480
|
:mount_options,
|
2401
|
-
:creation_time
|
2481
|
+
:creation_time,
|
2482
|
+
:dns_ip_addresses,
|
2483
|
+
:kerberos_principal,
|
2484
|
+
:authentication_type)
|
2402
2485
|
SENSITIVE = []
|
2403
2486
|
include Aws::Structure
|
2404
2487
|
end
|
@@ -6793,7 +6876,7 @@ module Aws::DataSync
|
|
6793
6876
|
#
|
6794
6877
|
# To copy all data in the specified subdirectory, DataSync must be
|
6795
6878
|
# able to mount the SMB share and access all of its data. For more
|
6796
|
-
# information, see [
|
6879
|
+
# information, see [Providing DataSync access to SMB file servers][1].
|
6797
6880
|
#
|
6798
6881
|
#
|
6799
6882
|
#
|
@@ -6803,10 +6886,12 @@ module Aws::DataSync
|
|
6803
6886
|
# @!attribute [rw] user
|
6804
6887
|
# Specifies the user name that can mount your SMB file server and has
|
6805
6888
|
# permission to access the files and folders involved in your
|
6806
|
-
# transfer.
|
6889
|
+
# transfer. This parameter applies only if `AuthenticationType` is set
|
6890
|
+
# to `NTLM`.
|
6807
6891
|
#
|
6808
6892
|
# For information about choosing a user with the right level of access
|
6809
|
-
# for your transfer, see [
|
6893
|
+
# for your transfer, see [Providing DataSync access to SMB file
|
6894
|
+
# servers][1].
|
6810
6895
|
#
|
6811
6896
|
#
|
6812
6897
|
#
|
@@ -6815,31 +6900,19 @@ module Aws::DataSync
|
|
6815
6900
|
#
|
6816
6901
|
# @!attribute [rw] domain
|
6817
6902
|
# Specifies the Windows domain name that your SMB file server belongs
|
6818
|
-
# to.
|
6903
|
+
# to. This parameter applies only if `AuthenticationType` is set to
|
6904
|
+
# `NTLM`.
|
6819
6905
|
#
|
6820
6906
|
# If you have multiple domains in your environment, configuring this
|
6821
6907
|
# parameter makes sure that DataSync connects to the right file
|
6822
6908
|
# 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
6909
|
# @return [String]
|
6831
6910
|
#
|
6832
6911
|
# @!attribute [rw] password
|
6833
6912
|
# Specifies the password of the user who can mount your SMB file
|
6834
6913
|
# 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
|
6914
|
+
# in your transfer. This parameter applies only if
|
6915
|
+
# `AuthenticationType` is set to `NTLM`.
|
6843
6916
|
# @return [String]
|
6844
6917
|
#
|
6845
6918
|
# @!attribute [rw] agent_arns
|
@@ -6853,6 +6926,62 @@ module Aws::DataSync
|
|
6853
6926
|
# that DataSync uses to access an SMB file server.
|
6854
6927
|
# @return [Types::SmbMountOptions]
|
6855
6928
|
#
|
6929
|
+
# @!attribute [rw] authentication_type
|
6930
|
+
# Specifies the authentication protocol that DataSync uses to connect
|
6931
|
+
# to your SMB file server. DataSync supports `NTLM` (default) and
|
6932
|
+
# `KERBEROS` authentication.
|
6933
|
+
# @return [String]
|
6934
|
+
#
|
6935
|
+
# @!attribute [rw] dns_ip_addresses
|
6936
|
+
# Specifies the IPv4 addresses for the DNS servers that your SMB file
|
6937
|
+
# server belongs to. This parameter applies only if
|
6938
|
+
# `AuthenticationType` is set to `KERBEROS`.
|
6939
|
+
#
|
6940
|
+
# If you have multiple domains in your environment, configuring this
|
6941
|
+
# parameter makes sure that DataSync connects to the right SMB file
|
6942
|
+
# server.
|
6943
|
+
# @return [Array<String>]
|
6944
|
+
#
|
6945
|
+
# @!attribute [rw] kerberos_principal
|
6946
|
+
# Specifies a service principal name (SPN), which is an identity in
|
6947
|
+
# your Kerberos realm that has permission to access the files,
|
6948
|
+
# folders, and file metadata in your SMB file server.
|
6949
|
+
#
|
6950
|
+
# SPNs are case sensitive and must include a prepended `cifs/`. For
|
6951
|
+
# example, an SPN might look like `cifs/kerberosuser@EXAMPLE.COM`.
|
6952
|
+
#
|
6953
|
+
# Your task execution will fail if the SPN that you provide for this
|
6954
|
+
# parameter doesn’t match what’s exactly in your keytab or `krb5.conf`
|
6955
|
+
# files.
|
6956
|
+
# @return [String]
|
6957
|
+
#
|
6958
|
+
# @!attribute [rw] kerberos_keytab
|
6959
|
+
# Specifies your Kerberos key table (keytab) file, which includes
|
6960
|
+
# mappings between your service principal name (SPN) and encryption
|
6961
|
+
# keys.
|
6962
|
+
#
|
6963
|
+
# You can specify the keytab using a file path (for example,
|
6964
|
+
# `file://path/to/file.keytab`). The file must be base64 encoded. If
|
6965
|
+
# you're using the CLI, the encoding is done for you.
|
6966
|
+
#
|
6967
|
+
# To avoid task execution errors, make sure that the SPN in the keytab
|
6968
|
+
# file matches exactly what you specify for `KerberosPrincipal` and in
|
6969
|
+
# your `krb5.conf` file.
|
6970
|
+
# @return [String]
|
6971
|
+
#
|
6972
|
+
# @!attribute [rw] kerberos_krb_5_conf
|
6973
|
+
# Specifies a Kerberos configuration file (`krb5.conf`) that defines
|
6974
|
+
# your Kerberos realm configuration.
|
6975
|
+
#
|
6976
|
+
# You can specify the `krb5.conf` using a file path (for example,
|
6977
|
+
# `file://path/to/krb5.conf`). The file must be base64 encoded. If
|
6978
|
+
# you're using the CLI, the encoding is done for you.
|
6979
|
+
#
|
6980
|
+
# To avoid task execution errors, make sure that the service principal
|
6981
|
+
# name (SPN) in the `krb5.conf` file matches exactly what you specify
|
6982
|
+
# for `KerberosPrincipal` and in your keytab file.
|
6983
|
+
# @return [String]
|
6984
|
+
#
|
6856
6985
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationSmbRequest AWS API Documentation
|
6857
6986
|
#
|
6858
6987
|
class UpdateLocationSmbRequest < Struct.new(
|
@@ -6862,7 +6991,12 @@ module Aws::DataSync
|
|
6862
6991
|
:domain,
|
6863
6992
|
:password,
|
6864
6993
|
:agent_arns,
|
6865
|
-
:mount_options
|
6994
|
+
:mount_options,
|
6995
|
+
:authentication_type,
|
6996
|
+
:dns_ip_addresses,
|
6997
|
+
:kerberos_principal,
|
6998
|
+
:kerberos_keytab,
|
6999
|
+
:kerberos_krb_5_conf)
|
6866
7000
|
SENSITIVE = [:password]
|
6867
7001
|
include Aws::Structure
|
6868
7002
|
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.96.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-01-
|
11
|
+
date: 2025-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|