aws-sdk-datasync 1.96.0 → 1.98.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-datasync/client.rb +31 -47
- data/lib/aws-sdk-datasync/endpoint_provider.rb +13 -17
- data/lib/aws-sdk-datasync/types.rb +36 -49
- data/lib/aws-sdk-datasync.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49baec862490d201c3ef140bc8b9fa71cd8d0717a238d09944335f965766b5f5
|
4
|
+
data.tar.gz: 23c4df4bd6fa8af0a8553f158e3ffc1e281cd8f416e758b341e88ed26ecc2c36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b4f789e794274ee06d0d887542ac016049bdb494e3854f066fbf5f8da8fbf69ef7900e555d95580b23afde2ef879e9e69eeae12789f31f76bfa4f210625acd4
|
7
|
+
data.tar.gz: 2bc175b8b2baabaf6cde0b904e31e86f1ca93626361604fc2d9567015fcc27736ba4a529dc1af4f438b98a6dbc2c2235ef60d04cf82ccd733025353625050d23
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.98.0 (2025-02-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.97.0 (2025-02-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Doc-only update to provide more information on using Kerberos authentication with SMB locations.
|
13
|
+
|
4
14
|
1.96.0 (2025-01-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.98.0
|
@@ -1814,41 +1814,33 @@ module Aws::DataSync
|
|
1814
1814
|
# server.
|
1815
1815
|
#
|
1816
1816
|
# @option params [String] :kerberos_principal
|
1817
|
-
# Specifies a
|
1818
|
-
#
|
1819
|
-
#
|
1817
|
+
# Specifies a Kerberos prinicpal, which is an identity in your Kerberos
|
1818
|
+
# realm that has permission to access the files, folders, and file
|
1819
|
+
# metadata in your SMB file server.
|
1820
1820
|
#
|
1821
|
-
#
|
1822
|
-
# example, an SPN might look like `cifs/kerberosuser@EXAMPLE.COM`.
|
1821
|
+
# A Kerberos principal might look like `HOST/kerberosuser@EXAMPLE.COM`.
|
1823
1822
|
#
|
1824
|
-
#
|
1825
|
-
#
|
1826
|
-
#
|
1823
|
+
# Principal names are case sensitive. Your DataSync task execution will
|
1824
|
+
# fail if the principal that you specify for this parameter doesn’t
|
1825
|
+
# exactly match the principal that you use to create the keytab file.
|
1827
1826
|
#
|
1828
1827
|
# @option params [String, StringIO, File] :kerberos_keytab
|
1829
1828
|
# Specifies your Kerberos key table (keytab) file, which includes
|
1830
|
-
# mappings between your
|
1831
|
-
# keys.
|
1829
|
+
# mappings between your Kerberos principal and encryption keys.
|
1832
1830
|
#
|
1833
|
-
#
|
1834
|
-
#
|
1835
|
-
# you're using the CLI, the encoding is done for you.
|
1831
|
+
# The file must be base64 encoded. If you're using the CLI, the
|
1832
|
+
# encoding is done for you.
|
1836
1833
|
#
|
1837
|
-
# To avoid task execution errors, make sure that the
|
1838
|
-
# file matches exactly what you
|
1839
|
-
#
|
1834
|
+
# To avoid task execution errors, make sure that the Kerberos principal
|
1835
|
+
# that you use to create the keytab file matches exactly what you
|
1836
|
+
# specify for `KerberosPrincipal`.
|
1840
1837
|
#
|
1841
1838
|
# @option params [String, StringIO, File] :kerberos_krb_5_conf
|
1842
1839
|
# Specifies a Kerberos configuration file (`krb5.conf`) that defines
|
1843
1840
|
# your Kerberos realm configuration.
|
1844
1841
|
#
|
1845
|
-
#
|
1846
|
-
#
|
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.
|
1842
|
+
# The file must be base64 encoded. If you're using the CLI, the
|
1843
|
+
# encoding is done for you.
|
1852
1844
|
#
|
1853
1845
|
# @return [Types::CreateLocationSmbResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1854
1846
|
#
|
@@ -4951,41 +4943,33 @@ module Aws::DataSync
|
|
4951
4943
|
# server.
|
4952
4944
|
#
|
4953
4945
|
# @option params [String] :kerberos_principal
|
4954
|
-
# Specifies a
|
4955
|
-
#
|
4956
|
-
#
|
4946
|
+
# Specifies a Kerberos prinicpal, which is an identity in your Kerberos
|
4947
|
+
# realm that has permission to access the files, folders, and file
|
4948
|
+
# metadata in your SMB file server.
|
4957
4949
|
#
|
4958
|
-
#
|
4959
|
-
# example, an SPN might look like `cifs/kerberosuser@EXAMPLE.COM`.
|
4950
|
+
# A Kerberos principal might look like `HOST/kerberosuser@EXAMPLE.COM`.
|
4960
4951
|
#
|
4961
|
-
#
|
4962
|
-
#
|
4963
|
-
#
|
4952
|
+
# Principal names are case sensitive. Your DataSync task execution will
|
4953
|
+
# fail if the principal that you specify for this parameter doesn’t
|
4954
|
+
# exactly match the principal that you use to create the keytab file.
|
4964
4955
|
#
|
4965
4956
|
# @option params [String, StringIO, File] :kerberos_keytab
|
4966
4957
|
# Specifies your Kerberos key table (keytab) file, which includes
|
4967
|
-
# mappings between your
|
4968
|
-
# keys.
|
4958
|
+
# mappings between your Kerberos principal and encryption keys.
|
4969
4959
|
#
|
4970
|
-
#
|
4971
|
-
#
|
4972
|
-
# you're using the CLI, the encoding is done for you.
|
4960
|
+
# The file must be base64 encoded. If you're using the CLI, the
|
4961
|
+
# encoding is done for you.
|
4973
4962
|
#
|
4974
|
-
# To avoid task execution errors, make sure that the
|
4975
|
-
# file matches exactly what you
|
4976
|
-
#
|
4963
|
+
# To avoid task execution errors, make sure that the Kerberos principal
|
4964
|
+
# that you use to create the keytab file matches exactly what you
|
4965
|
+
# specify for `KerberosPrincipal`.
|
4977
4966
|
#
|
4978
4967
|
# @option params [String, StringIO, File] :kerberos_krb_5_conf
|
4979
4968
|
# Specifies a Kerberos configuration file (`krb5.conf`) that defines
|
4980
4969
|
# your Kerberos realm configuration.
|
4981
4970
|
#
|
4982
|
-
#
|
4983
|
-
#
|
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.
|
4971
|
+
# The file must be base64 encoded. If you're using the CLI, the
|
4972
|
+
# encoding is done for you.
|
4989
4973
|
#
|
4990
4974
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4991
4975
|
#
|
@@ -5348,7 +5332,7 @@ module Aws::DataSync
|
|
5348
5332
|
tracer: tracer
|
5349
5333
|
)
|
5350
5334
|
context[:gem_name] = 'aws-sdk-datasync'
|
5351
|
-
context[:gem_version] = '1.
|
5335
|
+
context[:gem_version] = '1.98.0'
|
5352
5336
|
Seahorse::Client::Request.new(handlers, context)
|
5353
5337
|
end
|
5354
5338
|
|
@@ -10,40 +10,36 @@
|
|
10
10
|
module Aws::DataSync
|
11
11
|
class EndpointProvider
|
12
12
|
def resolve_endpoint(parameters)
|
13
|
-
|
14
|
-
|
15
|
-
use_fips = parameters.use_fips
|
16
|
-
endpoint = parameters.endpoint
|
17
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
13
|
+
if Aws::Endpoints::Matchers.set?(parameters.endpoint)
|
14
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
19
15
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
16
|
end
|
21
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
17
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
22
18
|
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
19
|
end
|
24
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
20
|
+
return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
|
25
21
|
end
|
26
|
-
if Aws::Endpoints::Matchers.set?(region)
|
27
|
-
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
if Aws::Endpoints::Matchers.set?(parameters.region)
|
23
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
24
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
29
25
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
-
return Aws::Endpoints::Endpoint.new(url: "https://datasync-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
26
|
+
return Aws::Endpoints::Endpoint.new(url: "https://datasync-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
27
|
end
|
32
28
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
29
|
end
|
34
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
30
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
35
31
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
|
-
return Aws::Endpoints::Endpoint.new(url: "https://datasync-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
32
|
+
return Aws::Endpoints::Endpoint.new(url: "https://datasync-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
33
|
end
|
38
34
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
35
|
end
|
40
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
36
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
41
37
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
-
return Aws::Endpoints::Endpoint.new(url: "https://datasync.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
38
|
+
return Aws::Endpoints::Endpoint.new(url: "https://datasync.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
39
|
end
|
44
40
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
45
41
|
end
|
46
|
-
return Aws::Endpoints::Endpoint.new(url: "https://datasync.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://datasync.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
47
43
|
end
|
48
44
|
end
|
49
45
|
raise ArgumentError, "Invalid Configuration: Missing Region"
|
@@ -1280,43 +1280,37 @@ module Aws::DataSync
|
|
1280
1280
|
# @return [Array<String>]
|
1281
1281
|
#
|
1282
1282
|
# @!attribute [rw] kerberos_principal
|
1283
|
-
# Specifies a
|
1284
|
-
#
|
1285
|
-
#
|
1283
|
+
# Specifies a Kerberos prinicpal, which is an identity in your
|
1284
|
+
# Kerberos realm that has permission to access the files, folders, and
|
1285
|
+
# file metadata in your SMB file server.
|
1286
1286
|
#
|
1287
|
-
#
|
1288
|
-
#
|
1287
|
+
# A Kerberos principal might look like
|
1288
|
+
# `HOST/kerberosuser@EXAMPLE.COM`.
|
1289
1289
|
#
|
1290
|
-
#
|
1291
|
-
#
|
1292
|
-
#
|
1290
|
+
# Principal names are case sensitive. Your DataSync task execution
|
1291
|
+
# will fail if the principal that you specify for this parameter
|
1292
|
+
# doesn’t exactly match the principal that you use to create the
|
1293
|
+
# keytab file.
|
1293
1294
|
# @return [String]
|
1294
1295
|
#
|
1295
1296
|
# @!attribute [rw] kerberos_keytab
|
1296
1297
|
# Specifies your Kerberos key table (keytab) file, which includes
|
1297
|
-
# mappings between your
|
1298
|
-
# keys.
|
1298
|
+
# mappings between your Kerberos principal and encryption keys.
|
1299
1299
|
#
|
1300
|
-
#
|
1301
|
-
#
|
1302
|
-
# you're using the CLI, the encoding is done for you.
|
1300
|
+
# The file must be base64 encoded. If you're using the CLI, the
|
1301
|
+
# encoding is done for you.
|
1303
1302
|
#
|
1304
|
-
# To avoid task execution errors, make sure that the
|
1305
|
-
#
|
1306
|
-
#
|
1303
|
+
# To avoid task execution errors, make sure that the Kerberos
|
1304
|
+
# principal that you use to create the keytab file matches exactly
|
1305
|
+
# what you specify for `KerberosPrincipal`.
|
1307
1306
|
# @return [String]
|
1308
1307
|
#
|
1309
1308
|
# @!attribute [rw] kerberos_krb_5_conf
|
1310
1309
|
# Specifies a Kerberos configuration file (`krb5.conf`) that defines
|
1311
1310
|
# your Kerberos realm configuration.
|
1312
1311
|
#
|
1313
|
-
#
|
1314
|
-
#
|
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.
|
1312
|
+
# The file must be base64 encoded. If you're using the CLI, the
|
1313
|
+
# encoding is done for you.
|
1320
1314
|
# @return [String]
|
1321
1315
|
#
|
1322
1316
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationSmbRequest AWS API Documentation
|
@@ -2459,9 +2453,8 @@ module Aws::DataSync
|
|
2459
2453
|
# @return [Array<String>]
|
2460
2454
|
#
|
2461
2455
|
# @!attribute [rw] kerberos_principal
|
2462
|
-
# The Kerberos
|
2463
|
-
#
|
2464
|
-
# server.
|
2456
|
+
# The Kerberos principal that has permission to access the files,
|
2457
|
+
# folders, and file metadata in your SMB file server.
|
2465
2458
|
# @return [String]
|
2466
2459
|
#
|
2467
2460
|
# @!attribute [rw] authentication_type
|
@@ -6943,43 +6936,37 @@ module Aws::DataSync
|
|
6943
6936
|
# @return [Array<String>]
|
6944
6937
|
#
|
6945
6938
|
# @!attribute [rw] kerberos_principal
|
6946
|
-
# Specifies a
|
6947
|
-
#
|
6948
|
-
#
|
6939
|
+
# Specifies a Kerberos prinicpal, which is an identity in your
|
6940
|
+
# Kerberos realm that has permission to access the files, folders, and
|
6941
|
+
# file metadata in your SMB file server.
|
6949
6942
|
#
|
6950
|
-
#
|
6951
|
-
#
|
6943
|
+
# A Kerberos principal might look like
|
6944
|
+
# `HOST/kerberosuser@EXAMPLE.COM`.
|
6952
6945
|
#
|
6953
|
-
#
|
6954
|
-
#
|
6955
|
-
#
|
6946
|
+
# Principal names are case sensitive. Your DataSync task execution
|
6947
|
+
# will fail if the principal that you specify for this parameter
|
6948
|
+
# doesn’t exactly match the principal that you use to create the
|
6949
|
+
# keytab file.
|
6956
6950
|
# @return [String]
|
6957
6951
|
#
|
6958
6952
|
# @!attribute [rw] kerberos_keytab
|
6959
6953
|
# Specifies your Kerberos key table (keytab) file, which includes
|
6960
|
-
# mappings between your
|
6961
|
-
# keys.
|
6954
|
+
# mappings between your Kerberos principal and encryption keys.
|
6962
6955
|
#
|
6963
|
-
#
|
6964
|
-
#
|
6965
|
-
# you're using the CLI, the encoding is done for you.
|
6956
|
+
# The file must be base64 encoded. If you're using the CLI, the
|
6957
|
+
# encoding is done for you.
|
6966
6958
|
#
|
6967
|
-
# To avoid task execution errors, make sure that the
|
6968
|
-
#
|
6969
|
-
#
|
6959
|
+
# To avoid task execution errors, make sure that the Kerberos
|
6960
|
+
# principal that you use to create the keytab file matches exactly
|
6961
|
+
# what you specify for `KerberosPrincipal`.
|
6970
6962
|
# @return [String]
|
6971
6963
|
#
|
6972
6964
|
# @!attribute [rw] kerberos_krb_5_conf
|
6973
6965
|
# Specifies a Kerberos configuration file (`krb5.conf`) that defines
|
6974
6966
|
# your Kerberos realm configuration.
|
6975
6967
|
#
|
6976
|
-
#
|
6977
|
-
#
|
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.
|
6968
|
+
# The file must be base64 encoded. If you're using the CLI, the
|
6969
|
+
# encoding is done for you.
|
6983
6970
|
# @return [String]
|
6984
6971
|
#
|
6985
6972
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationSmbRequest AWS API Documentation
|
data/lib/aws-sdk-datasync.rb
CHANGED
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.98.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|