aws-sdk-datasync 1.94.0 → 1.96.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 832364c5fe9a0bd0b1094381d6f164612da39a394b866871ed1fc7290fc94b88
4
- data.tar.gz: 2da3850e292ba56d4d4aa861916421c956068d44ba668247086d48a77f6b37a9
3
+ metadata.gz: 5806487ddbadbd917579c19f67a0ed2ecf212b6234fc5f3eee96c90fc00ff6e2
4
+ data.tar.gz: 6e0b77655522e8424e9686a078fb6f82bae3116865cb747171a2f09b3df9e269
5
5
  SHA512:
6
- metadata.gz: 6495355629e83b7ec6311ed8143831c9e64ab0fcd7ee91e0e3fae999c766945c5b44ea2f13d7b73aca4ef4bb1670f02de374f4f73c305b4964a8ff130aa95cac
7
- data.tar.gz: 514017c50d76ece0e9645120ed3d23b704d74fd2f12acabf55f299609ae57dfda1740479e7c03905f0e251a0c9bd6036db931032931bf4591272a0e257b8db19
6
+ metadata.gz: 3c24f3c09646e4c15d98dc5100d8974eb5472d31208f9cf01348e31cfb64afe714ea42cb71e9d04bb588245179511c9b6ba800c3ff0979413a204712632a79d5
7
+ data.tar.gz: 99d8c44f84b9f688038f7854ecb9ef17c418299cf6756ff94ad56c54d27ae02f015b8dca0440876221ed2a5c20d161c6b8b164c165b3ceca8d3a22b416f39091
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.96.0 (2025-01-28)
5
+ ------------------
6
+
7
+ * Feature - AWS DataSync now supports the Kerberos authentication protocol for SMB locations.
8
+
9
+ 1.95.0 (2025-01-15)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.94.0 (2024-12-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.94.0
1
+ 1.96.0
@@ -257,11 +257,34 @@ module Aws::DataSync
257
257
  # Used when loading credentials from the shared credentials file
258
258
  # at HOME/.aws/credentials. When not specified, 'default' is used.
259
259
  #
260
+ # @option options [String] :request_checksum_calculation ("when_supported")
261
+ # Determines when a checksum will be calculated for request payloads. Values are:
262
+ #
263
+ # * `when_supported` - (default) When set, a checksum will be
264
+ # calculated for all request payloads of operations modeled with the
265
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
266
+ # `requestAlgorithmMember` is modeled.
267
+ # * `when_required` - When set, a checksum will only be calculated for
268
+ # request payloads of operations modeled with the `httpChecksum` trait where
269
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
270
+ # is modeled and supplied.
271
+ #
260
272
  # @option options [Integer] :request_min_compression_size_bytes (10240)
261
273
  # The minimum size in bytes that triggers compression for request
262
274
  # bodies. The value must be non-negative integer value between 0
263
275
  # and 10485780 bytes inclusive.
264
276
  #
277
+ # @option options [String] :response_checksum_validation ("when_supported")
278
+ # Determines when checksum validation will be performed on response payloads. Values are:
279
+ #
280
+ # * `when_supported` - (default) When set, checksum validation is performed on all
281
+ # response payloads of operations modeled with the `httpChecksum` trait where
282
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
283
+ # are supported.
284
+ # * `when_required` - When set, checksum validation is not performed on
285
+ # response payloads of operations unless the checksum algorithm is supported and
286
+ # the `requestValidationModeMember` member is set to `ENABLED`.
287
+ #
265
288
  # @option options [Proc] :retry_backoff
266
289
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
267
290
  # This option is only used in the `legacy` retry mode.
@@ -1702,12 +1725,13 @@ module Aws::DataSync
1702
1725
  # server. DataSync can use this location as a source or destination for
1703
1726
  # transferring data.
1704
1727
  #
1705
- # Before you begin, make sure that you understand how DataSync [accesses
1706
- # SMB file servers][1].
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].
1707
1731
  #
1708
1732
  #
1709
1733
  #
1710
- # [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
1711
1735
  #
1712
1736
  # @option params [required, String] :subdirectory
1713
1737
  # Specifies the name of the share exported by your SMB file server where
@@ -1717,49 +1741,49 @@ module Aws::DataSync
1717
1741
  #
1718
1742
  # To copy all data in the subdirectory, DataSync must be able to mount
1719
1743
  # the SMB share and access all of its data. For more information, see
1720
- # [required permissions][1] for SMB locations.
1744
+ # [Providing DataSync access to SMB file servers][1].
1721
1745
  #
1722
1746
  #
1723
1747
  #
1724
1748
  # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
1725
1749
  #
1726
1750
  # @option params [required, String] :server_hostname
1727
- # Specifies the Domain Name Service (DNS) name or IP address of the SMB
1728
- # file server that your DataSync agent will mount.
1751
+ # Specifies the domain name or IP address of the SMB file server that
1752
+ # your DataSync agent will mount.
1729
1753
  #
1730
- # <note markdown="1"> You can't specify an IP version 6 (IPv6) address.
1754
+ # Remember the following when configuring this parameter:
1731
1755
  #
1732
- # </note>
1756
+ # * You can't specify an IP version 6 (IPv6) address.
1733
1757
  #
1734
- # @option params [required, String] :user
1758
+ # * If you're using Kerberos authentication, you must specify a domain
1759
+ # name.
1760
+ #
1761
+ # @option params [String] :user
1735
1762
  # Specifies the user that can mount and access the files, folders, and
1736
- # 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`.
1737
1765
  #
1738
1766
  # For information about choosing a user with the right level of access
1739
- # for your transfer, see [required permissions][1] for SMB locations.
1767
+ # for your transfer, see [Providing DataSync access to SMB file
1768
+ # servers][1].
1740
1769
  #
1741
1770
  #
1742
1771
  #
1743
1772
  # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
1744
1773
  #
1745
1774
  # @option params [String] :domain
1746
- # Specifies the name of the Active Directory domain that your SMB file
1747
- # server belongs to.
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`.
1748
1778
  #
1749
- # If you have multiple Active Directory domains in your environment,
1750
- # configuring this parameter makes sure that DataSync connects to the
1751
- # 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.
1752
1781
  #
1753
- # @option params [required, String] :password
1782
+ # @option params [String] :password
1754
1783
  # Specifies the password of the user who can mount your SMB file server
1755
1784
  # and has permission to access the files and folders involved in your
1756
- # transfer.
1757
- #
1758
- # For more information, see [required permissions][1] for SMB locations.
1759
- #
1760
- #
1761
- #
1762
- # [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`.
1763
1787
  #
1764
1788
  # @option params [required, Array<String>] :agent_arns
1765
1789
  # Specifies the DataSync agent (or agents) that can connect to your SMB
@@ -1775,6 +1799,57 @@ module Aws::DataSync
1775
1799
  # Amazon Web Services resources. We recommend creating at least a name
1776
1800
  # tag for your location.
1777
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
+ #
1778
1853
  # @return [Types::CreateLocationSmbResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1779
1854
  #
1780
1855
  # * {Types::CreateLocationSmbResponse#location_arn #location_arn} => String
@@ -1784,9 +1859,9 @@ module Aws::DataSync
1784
1859
  # resp = client.create_location_smb({
1785
1860
  # subdirectory: "SmbSubdirectory", # required
1786
1861
  # server_hostname: "ServerHostname", # required
1787
- # user: "SmbUser", # required
1862
+ # user: "SmbUser",
1788
1863
  # domain: "SmbDomain",
1789
- # password: "SmbPassword", # required
1864
+ # password: "SmbPassword",
1790
1865
  # agent_arns: ["AgentArn"], # required
1791
1866
  # mount_options: {
1792
1867
  # version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3, SMB1, SMB2_0
@@ -1797,6 +1872,11 @@ module Aws::DataSync
1797
1872
  # value: "TagValue",
1798
1873
  # },
1799
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",
1800
1880
  # })
1801
1881
  #
1802
1882
  # @example Response structure
@@ -2673,6 +2753,9 @@ module Aws::DataSync
2673
2753
  # * {Types::DescribeLocationSmbResponse#domain #domain} => String
2674
2754
  # * {Types::DescribeLocationSmbResponse#mount_options #mount_options} => Types::SmbMountOptions
2675
2755
  # * {Types::DescribeLocationSmbResponse#creation_time #creation_time} => Time
2756
+ # * {Types::DescribeLocationSmbResponse#dns_ip_addresses #dns_ip_addresses} => Array&lt;String&gt;
2757
+ # * {Types::DescribeLocationSmbResponse#kerberos_principal #kerberos_principal} => String
2758
+ # * {Types::DescribeLocationSmbResponse#authentication_type #authentication_type} => String
2676
2759
  #
2677
2760
  # @example Request syntax with placeholder values
2678
2761
  #
@@ -2690,6 +2773,10 @@ module Aws::DataSync
2690
2773
  # resp.domain #=> String
2691
2774
  # resp.mount_options.version #=> String, one of "AUTOMATIC", "SMB2", "SMB3", "SMB1", "SMB2_0"
2692
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"
2693
2780
  #
2694
2781
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationSmb AWS API Documentation
2695
2782
  #
@@ -4300,7 +4387,7 @@ module Aws::DataSync
4300
4387
  # },
4301
4388
  # },
4302
4389
  # smb: {
4303
- # domain: "FsxUpdateSmbDomain",
4390
+ # domain: "UpdateSmbDomain",
4304
4391
  # mount_options: {
4305
4392
  # version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3, SMB1, SMB2_0
4306
4393
  # },
@@ -4435,7 +4522,7 @@ module Aws::DataSync
4435
4522
  # resp = client.update_location_fsx_windows({
4436
4523
  # location_arn: "LocationArn", # required
4437
4524
  # subdirectory: "FsxWindowsSubdirectory",
4438
- # domain: "FsxUpdateSmbDomain",
4525
+ # domain: "UpdateSmbDomain",
4439
4526
  # user: "SmbUser",
4440
4527
  # password: "SmbPassword",
4441
4528
  # })
@@ -4807,7 +4894,7 @@ module Aws::DataSync
4807
4894
  #
4808
4895
  # To copy all data in the specified subdirectory, DataSync must be able
4809
4896
  # to mount the SMB share and access all of its data. For more
4810
- # information, see [required permissions][1] for SMB locations.
4897
+ # information, see [Providing DataSync access to SMB file servers][1].
4811
4898
  #
4812
4899
  #
4813
4900
  #
@@ -4816,9 +4903,11 @@ module Aws::DataSync
4816
4903
  # @option params [String] :user
4817
4904
  # Specifies the user name that can mount your SMB file server and has
4818
4905
  # permission to access the files and folders involved in your transfer.
4906
+ # This parameter applies only if `AuthenticationType` is set to `NTLM`.
4819
4907
  #
4820
4908
  # For information about choosing a user with the right level of access
4821
- # for your transfer, see [required permissions][1] for SMB locations.
4909
+ # for your transfer, see [Providing DataSync access to SMB file
4910
+ # servers][1].
4822
4911
  #
4823
4912
  #
4824
4913
  #
@@ -4826,27 +4915,17 @@ module Aws::DataSync
4826
4915
  #
4827
4916
  # @option params [String] :domain
4828
4917
  # Specifies the Windows domain name that your SMB file server belongs
4829
- # to.
4918
+ # to. This parameter applies only if `AuthenticationType` is set to
4919
+ # `NTLM`.
4830
4920
  #
4831
4921
  # If you have multiple domains in your environment, configuring this
4832
4922
  # parameter makes sure that DataSync connects to the right file server.
4833
4923
  #
4834
- # For more information, see [required permissions][1] for SMB locations.
4835
- #
4836
- #
4837
- #
4838
- # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
4839
- #
4840
4924
  # @option params [String] :password
4841
4925
  # Specifies the password of the user who can mount your SMB file server
4842
4926
  # and has permission to access the files and folders involved in your
4843
- # transfer.
4844
- #
4845
- # For more information, see [required permissions][1] for SMB locations.
4846
- #
4847
- #
4848
- #
4849
- # [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`.
4850
4929
  #
4851
4930
  # @option params [Array<String>] :agent_arns
4852
4931
  # Specifies the DataSync agent (or agents) that can connect to your SMB
@@ -4857,6 +4936,57 @@ module Aws::DataSync
4857
4936
  # Specifies the version of the Server Message Block (SMB) protocol that
4858
4937
  # DataSync uses to access an SMB file server.
4859
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
+ #
4860
4990
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4861
4991
  #
4862
4992
  # @example Request syntax with placeholder values
@@ -4871,6 +5001,11 @@ module Aws::DataSync
4871
5001
  # mount_options: {
4872
5002
  # version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3, SMB1, SMB2_0
4873
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",
4874
5009
  # })
4875
5010
  #
4876
5011
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationSmb AWS API Documentation
@@ -5213,7 +5348,7 @@ module Aws::DataSync
5213
5348
  tracer: tracer
5214
5349
  )
5215
5350
  context[:gem_name] = 'aws-sdk-datasync'
5216
- context[:gem_version] = '1.94.0'
5351
+ context[:gem_version] = '1.96.0'
5217
5352
  Seahorse::Client::Request.new(handlers, context)
5218
5353
  end
5219
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, required: true, location_name: "User"))
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, required: true, location_name: "Password"))
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: FsxUpdateSmbDomain, location_name: "Domain"))
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: FsxUpdateSmbDomain, location_name: "Domain"))
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
- # [required permissions][1] for SMB locations.
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 Domain Name Service (DNS) name or IP address of the
1208
- # SMB file server that your DataSync agent will mount.
1207
+ # Specifies the domain name or IP address of the SMB file server that
1208
+ # your DataSync agent will mount.
1209
1209
  #
1210
- # <note markdown="1"> You can't specify an IP version 6 (IPv6) address.
1210
+ # Remember the following when configuring this parameter:
1211
1211
  #
1212
- # </note>
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 [required permissions][1] for SMB locations.
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 name of the Active Directory domain that your SMB file
1229
- # server belongs to.
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 Active Directory domains in your environment,
1232
- # configuring this parameter makes sure that DataSync connects to the
1233
- # right file server.
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 Microsoft Active Directory domain that the SMB file
2381
- # server belongs to.
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 use to access your SMB file.
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 [required permissions][1] for SMB locations.
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 [required permissions][1] for SMB locations.
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
@@ -54,7 +54,7 @@ module Aws::DataSync
54
54
  autoload :EndpointProvider, 'aws-sdk-datasync/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-datasync/endpoints'
56
56
 
57
- GEM_VERSION = '1.94.0'
57
+ GEM_VERSION = '1.96.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -398,9 +400,9 @@ module Aws
398
400
  def create_location_smb: (
399
401
  subdirectory: ::String,
400
402
  server_hostname: ::String,
401
- user: ::String,
403
+ ?user: ::String,
402
404
  ?domain: ::String,
403
- password: ::String,
405
+ ?password: ::String,
404
406
  agent_arns: Array[::String],
405
407
  ?mount_options: {
406
408
  version: ("AUTOMATIC" | "SMB2" | "SMB3" | "SMB1" | "SMB2_0")?
@@ -410,7 +412,12 @@ module Aws
410
412
  key: ::String,
411
413
  value: ::String?
412
414
  },
413
- ]
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
414
421
  ) -> _CreateLocationSmbResponseSuccess
415
422
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLocationSmbResponseSuccess
416
423
 
@@ -730,6 +737,9 @@ module Aws
730
737
  def domain: () -> ::String
731
738
  def mount_options: () -> Types::SmbMountOptions
732
739
  def creation_time: () -> ::Time
740
+ def dns_ip_addresses: () -> ::Array[::String]
741
+ def kerberos_principal: () -> ::String
742
+ def authentication_type: () -> ("NTLM" | "KERBEROS")
733
743
  end
734
744
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_location_smb-instance_method
735
745
  def describe_location_smb: (
@@ -1318,7 +1328,12 @@ module Aws
1318
1328
  ?agent_arns: Array[::String],
1319
1329
  ?mount_options: {
1320
1330
  version: ("AUTOMATIC" | "SMB2" | "SMB3" | "SMB1" | "SMB2_0")?
1321
- }
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
1322
1337
  ) -> _UpdateLocationSmbResponseSuccess
1323
1338
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationSmbResponseSuccess
1324
1339
 
data/sig/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
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.94.0
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: 2024-12-18 00:00:00.000000000 Z
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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.210.0
22
+ version: 3.216.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement