aws-sdk-elasticsearchservice 1.78.0 → 1.80.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-elasticsearchservice/client.rb +9 -9
- data/lib/aws-sdk-elasticsearchservice/endpoint_provider.rb +10 -1
- data/lib/aws-sdk-elasticsearchservice/plugins/endpoints.rb +3 -2
- data/lib/aws-sdk-elasticsearchservice/types.rb +7 -4
- data/lib/aws-sdk-elasticsearchservice.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: 23f473e178f846ea802cb9ec77efc5e582bc8559d61684887001682e15fe4777
|
4
|
+
data.tar.gz: 9e182615963346716355900adeb0df20546fecc625e50286322ab2506ea4869d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ff8b51e41dcb29988e09fa68f7e38dfded774697692b181218e6e7b8ab12a2004ff875ac4221f72faed912cca6243240ea0f818309695bd0ca44c798becc111
|
7
|
+
data.tar.gz: 20acfc7d41d551a82c4e3b058600afd714805b81109ad36bc6f137d43a34706bd11c7ea264cdbd988c10ea5b1def59d402b6cdc4efd52d8eb563ce2de094bb6f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.80.0 (2024-01-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for new or existing Amazon OpenSearch domains to enable TLS 1.3 or TLS 1.2 with perfect forward secrecy cipher suites for domain endpoints.
|
8
|
+
|
9
|
+
1.79.0 (2023-11-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.78.0 (2023-11-22)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.80.0
|
@@ -723,7 +723,7 @@ module Aws::ElasticsearchService
|
|
723
723
|
# },
|
724
724
|
# domain_endpoint_options: {
|
725
725
|
# enforce_https: false,
|
726
|
-
# tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
|
726
|
+
# tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07, Policy-Min-TLS-1-2-PFS-2023-10
|
727
727
|
# custom_endpoint_enabled: false,
|
728
728
|
# custom_endpoint: "DomainNameFqdn",
|
729
729
|
# custom_endpoint_certificate_arn: "ARN",
|
@@ -830,7 +830,7 @@ module Aws::ElasticsearchService
|
|
830
830
|
# resp.domain_status.service_software_options.automated_update_date #=> Time
|
831
831
|
# resp.domain_status.service_software_options.optional_deployment #=> Boolean
|
832
832
|
# resp.domain_status.domain_endpoint_options.enforce_https #=> Boolean
|
833
|
-
# resp.domain_status.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
|
833
|
+
# resp.domain_status.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07", "Policy-Min-TLS-1-2-PFS-2023-10"
|
834
834
|
# resp.domain_status.domain_endpoint_options.custom_endpoint_enabled #=> Boolean
|
835
835
|
# resp.domain_status.domain_endpoint_options.custom_endpoint #=> String
|
836
836
|
# resp.domain_status.domain_endpoint_options.custom_endpoint_certificate_arn #=> String
|
@@ -1089,7 +1089,7 @@ module Aws::ElasticsearchService
|
|
1089
1089
|
# resp.domain_status.service_software_options.automated_update_date #=> Time
|
1090
1090
|
# resp.domain_status.service_software_options.optional_deployment #=> Boolean
|
1091
1091
|
# resp.domain_status.domain_endpoint_options.enforce_https #=> Boolean
|
1092
|
-
# resp.domain_status.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
|
1092
|
+
# resp.domain_status.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07", "Policy-Min-TLS-1-2-PFS-2023-10"
|
1093
1093
|
# resp.domain_status.domain_endpoint_options.custom_endpoint_enabled #=> Boolean
|
1094
1094
|
# resp.domain_status.domain_endpoint_options.custom_endpoint #=> String
|
1095
1095
|
# resp.domain_status.domain_endpoint_options.custom_endpoint_certificate_arn #=> String
|
@@ -1439,7 +1439,7 @@ module Aws::ElasticsearchService
|
|
1439
1439
|
# resp.domain_status.service_software_options.automated_update_date #=> Time
|
1440
1440
|
# resp.domain_status.service_software_options.optional_deployment #=> Boolean
|
1441
1441
|
# resp.domain_status.domain_endpoint_options.enforce_https #=> Boolean
|
1442
|
-
# resp.domain_status.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
|
1442
|
+
# resp.domain_status.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07", "Policy-Min-TLS-1-2-PFS-2023-10"
|
1443
1443
|
# resp.domain_status.domain_endpoint_options.custom_endpoint_enabled #=> Boolean
|
1444
1444
|
# resp.domain_status.domain_endpoint_options.custom_endpoint #=> String
|
1445
1445
|
# resp.domain_status.domain_endpoint_options.custom_endpoint_certificate_arn #=> String
|
@@ -1578,7 +1578,7 @@ module Aws::ElasticsearchService
|
|
1578
1578
|
# resp.domain_config.log_publishing_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
|
1579
1579
|
# resp.domain_config.log_publishing_options.status.pending_deletion #=> Boolean
|
1580
1580
|
# resp.domain_config.domain_endpoint_options.options.enforce_https #=> Boolean
|
1581
|
-
# resp.domain_config.domain_endpoint_options.options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
|
1581
|
+
# resp.domain_config.domain_endpoint_options.options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07", "Policy-Min-TLS-1-2-PFS-2023-10"
|
1582
1582
|
# resp.domain_config.domain_endpoint_options.options.custom_endpoint_enabled #=> Boolean
|
1583
1583
|
# resp.domain_config.domain_endpoint_options.options.custom_endpoint #=> String
|
1584
1584
|
# resp.domain_config.domain_endpoint_options.options.custom_endpoint_certificate_arn #=> String
|
@@ -1702,7 +1702,7 @@ module Aws::ElasticsearchService
|
|
1702
1702
|
# resp.domain_status_list[0].service_software_options.automated_update_date #=> Time
|
1703
1703
|
# resp.domain_status_list[0].service_software_options.optional_deployment #=> Boolean
|
1704
1704
|
# resp.domain_status_list[0].domain_endpoint_options.enforce_https #=> Boolean
|
1705
|
-
# resp.domain_status_list[0].domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
|
1705
|
+
# resp.domain_status_list[0].domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07", "Policy-Min-TLS-1-2-PFS-2023-10"
|
1706
1706
|
# resp.domain_status_list[0].domain_endpoint_options.custom_endpoint_enabled #=> Boolean
|
1707
1707
|
# resp.domain_status_list[0].domain_endpoint_options.custom_endpoint #=> String
|
1708
1708
|
# resp.domain_status_list[0].domain_endpoint_options.custom_endpoint_certificate_arn #=> String
|
@@ -2965,7 +2965,7 @@ module Aws::ElasticsearchService
|
|
2965
2965
|
# },
|
2966
2966
|
# domain_endpoint_options: {
|
2967
2967
|
# enforce_https: false,
|
2968
|
-
# tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
|
2968
|
+
# tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07, Policy-Min-TLS-1-2-PFS-2023-10
|
2969
2969
|
# custom_endpoint_enabled: false,
|
2970
2970
|
# custom_endpoint: "DomainNameFqdn",
|
2971
2971
|
# custom_endpoint_certificate_arn: "ARN",
|
@@ -3112,7 +3112,7 @@ module Aws::ElasticsearchService
|
|
3112
3112
|
# resp.domain_config.log_publishing_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
|
3113
3113
|
# resp.domain_config.log_publishing_options.status.pending_deletion #=> Boolean
|
3114
3114
|
# resp.domain_config.domain_endpoint_options.options.enforce_https #=> Boolean
|
3115
|
-
# resp.domain_config.domain_endpoint_options.options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
|
3115
|
+
# resp.domain_config.domain_endpoint_options.options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07", "Policy-Min-TLS-1-2-PFS-2023-10"
|
3116
3116
|
# resp.domain_config.domain_endpoint_options.options.custom_endpoint_enabled #=> Boolean
|
3117
3117
|
# resp.domain_config.domain_endpoint_options.options.custom_endpoint #=> String
|
3118
3118
|
# resp.domain_config.domain_endpoint_options.options.custom_endpoint_certificate_arn #=> String
|
@@ -3317,7 +3317,7 @@ module Aws::ElasticsearchService
|
|
3317
3317
|
params: params,
|
3318
3318
|
config: config)
|
3319
3319
|
context[:gem_name] = 'aws-sdk-elasticsearchservice'
|
3320
|
-
context[:gem_version] = '1.
|
3320
|
+
context[:gem_version] = '1.80.0'
|
3321
3321
|
Seahorse::Client::Request.new(handlers, context)
|
3322
3322
|
end
|
3323
3323
|
|
@@ -32,13 +32,22 @@ module Aws::ElasticsearchService
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://es-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
39
|
end
|
40
40
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
41
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
43
|
+
return Aws::Endpoints::Endpoint.new(url: "https://aos.#{region}.api.aws", headers: {}, properties: {})
|
44
|
+
end
|
45
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-cn", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://aos.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
|
47
|
+
end
|
48
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://aos.#{region}.api.aws", headers: {}, properties: {})
|
50
|
+
end
|
42
51
|
return Aws::Endpoints::Endpoint.new(url: "https://es.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
52
|
end
|
44
53
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
@@ -25,16 +25,17 @@ module Aws::ElasticsearchService
|
|
25
25
|
# @api private
|
26
26
|
class Handler < Seahorse::Client::Handler
|
27
27
|
def call(context)
|
28
|
-
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
28
|
unless context[:discovered_endpoint]
|
30
29
|
params = parameters_for_operation(context)
|
31
30
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
31
|
|
33
32
|
context.http_request.endpoint = endpoint.url
|
34
33
|
apply_endpoint_headers(context, endpoint.headers)
|
34
|
+
|
35
|
+
context[:endpoint_params] = params
|
36
|
+
context[:endpoint_properties] = endpoint.properties
|
35
37
|
end
|
36
38
|
|
37
|
-
context[:endpoint_params] = params
|
38
39
|
context[:auth_scheme] =
|
39
40
|
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
41
|
|
@@ -1708,10 +1708,13 @@ module Aws::ElasticsearchService
|
|
1708
1708
|
# Specify the TLS security policy that needs to be applied to the
|
1709
1709
|
# HTTPS endpoint of Elasticsearch domain.
|
1710
1710
|
# It can be one of the following values: *
|
1711
|
-
# <b>Policy-Min-TLS-1-0-2019-07: </b> TLS security policy
|
1712
|
-
# supports
|
1713
|
-
# * <b>Policy-Min-TLS-1-2-2019-07: </b> TLS security policy
|
1714
|
-
# supports only
|
1711
|
+
# <b>Policy-Min-TLS-1-0-2019-07: </b> TLS security policy that
|
1712
|
+
# supports TLS version 1.0 to TLS version 1.2
|
1713
|
+
# * <b>Policy-Min-TLS-1-2-2019-07: </b> TLS security policy that
|
1714
|
+
# supports only TLS version 1.2
|
1715
|
+
# * <b>Policy-Min-TLS-1-2-PFS-2023-10: </b> TLS security policy that
|
1716
|
+
# supports TLS version 1.2 to TLS version 1.3 with perfect forward
|
1717
|
+
# secrecy cipher suites
|
1715
1718
|
# @return [String]
|
1716
1719
|
#
|
1717
1720
|
# @!attribute [rw] custom_endpoint_enabled
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-elasticsearchservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.80.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:
|
11
|
+
date: 2024-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|