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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 511a3ac2c8f5f6283093ae99bf4bb720c85b0d9c604d8cffd2329e80d6d08fcf
4
- data.tar.gz: ed8c4e2728dcde73e8317e769e1cd1738bd2c61c16fc91cb1357074b22017cf7
3
+ metadata.gz: 23f473e178f846ea802cb9ec77efc5e582bc8559d61684887001682e15fe4777
4
+ data.tar.gz: 9e182615963346716355900adeb0df20546fecc625e50286322ab2506ea4869d
5
5
  SHA512:
6
- metadata.gz: 07217db6731497ca450715f2a2883411c67bc81a9071a1b2f76935296297a8aa7de1517e207c5c29e84fc5dd2b98fdeb2bcf241e1b3c01caefaf9408cf42c886
7
- data.tar.gz: 7621c95dec449cd7e256521a19268204ba44deed9d2f79931f488ccb2f87b4304fc7c003d889ab794dcf9849ba4a260c9a51b906d2fe5069a13f7d376f727bcb
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.78.0
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.78.0'
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?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
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 which
1712
- # supports TLSv1.0 and higher.
1713
- # * <b>Policy-Min-TLS-1-2-2019-07: </b> TLS security policy which
1714
- # supports only TLSv1.2
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-elasticsearchservice/customizations'
52
52
  # @!group service
53
53
  module Aws::ElasticsearchService
54
54
 
55
- GEM_VERSION = '1.78.0'
55
+ GEM_VERSION = '1.80.0'
56
56
 
57
57
  end
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.78.0
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: 2023-11-22 00:00:00.000000000 Z
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