aws-sdk-core 3.262.0 → 3.263.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 +4 -4
- data/CHANGELOG.md +7 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-core/pageable_response.rb +8 -1
- data/lib/aws-sdk-core/plugins/stub_responses.rb +1 -1
- data/lib/aws-sdk-core/response.rb +23 -0
- data/lib/aws-sdk-core.rb +1 -0
- data/lib/aws-sdk-signin/client.rb +1 -1
- data/lib/aws-sdk-signin.rb +1 -1
- data/lib/aws-sdk-sso/client.rb +1 -1
- data/lib/aws-sdk-sso.rb +1 -1
- data/lib/aws-sdk-ssooidc/client.rb +1 -1
- data/lib/aws-sdk-ssooidc.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +1 -1
- data/lib/aws-sdk-sts.rb +1 -1
- data/lib/seahorse/client/h2/connection.rb +9 -1
- data/lib/seahorse/client/net_http/handler.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2e12759793414117f403e7057cb739735502fdb49b051ff038d55c745852b593
|
|
4
|
+
data.tar.gz: d39be33db7594287f3eba7dab5dee03a0cbd0742189a7808d70b496703754c0c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50573d7d9dd51663613b353a63fd648f8e481d43ea6c04d8831fa79830e8372aca0f26f69dd62f129a5e7acb6e64aae747a62a844c3be85b649754cd70e9c053
|
|
7
|
+
data.tar.gz: 4ff98b02a41384117b0c6beb0d231e6b5151a3c54c01dda97482e79d26d4ab1ce4322519b4b64e4ee9522ebf9ce424a661ae7d944da1f9da67fd24e1540047ec
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
3.263.0 (2026-10-29)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Reduce object allocation overhead for SDK responses. SDK clients now return `Aws::Response`, a subclass of `Seahorse::Client::Response`.
|
|
8
|
+
|
|
9
|
+
* Issue - Verify the server certificate hostname for `AsyncClient` HTTP/2 connections when `ssl_verify_peer` is enabled. Connections now fail if the server certificate does not match the endpoint hostname.
|
|
10
|
+
|
|
4
11
|
3.262.0 (2026-10-28)
|
|
5
12
|
------------------
|
|
6
13
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.263.0
|
|
@@ -46,10 +46,16 @@ module Aws
|
|
|
46
46
|
# puts response.contents.map(&:key)
|
|
47
47
|
# end
|
|
48
48
|
#
|
|
49
|
+
# Every client response supports these methods. A response from an
|
|
50
|
+
# operation that does not paginate has a single page, so `last_page?`
|
|
51
|
+
# returns `true` and `each` yields only that response.
|
|
52
|
+
#
|
|
49
53
|
module PageableResponse
|
|
50
54
|
|
|
55
|
+
# Adds paging methods when needed and resets cached paging state.
|
|
56
|
+
# An {Aws::Response} already has the methods through its class.
|
|
51
57
|
def self.apply(base)
|
|
52
|
-
base.extend Extension
|
|
58
|
+
base.extend Extension unless Extension === base
|
|
53
59
|
base.instance_variable_set(:@last_page, nil)
|
|
54
60
|
base.instance_variable_set(:@more_results, nil)
|
|
55
61
|
base
|
|
@@ -217,5 +223,6 @@ module Aws
|
|
|
217
223
|
end
|
|
218
224
|
|
|
219
225
|
end
|
|
226
|
+
|
|
220
227
|
end
|
|
221
228
|
end
|
|
@@ -83,7 +83,7 @@ requests are made, and retries are disabled.
|
|
|
83
83
|
private
|
|
84
84
|
|
|
85
85
|
def stub_responses(context)
|
|
86
|
-
resp =
|
|
86
|
+
resp = Aws::Response.new(context: context)
|
|
87
87
|
async_mode = context.client.is_a? Seahorse::Client::AsyncBase
|
|
88
88
|
stub = context.client.next_stub(context)
|
|
89
89
|
stub[:mutex].synchronize { apply_stub(stub, resp, async_mode) }
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Aws
|
|
4
|
+
# Represents the response from an AWS service operation.
|
|
5
|
+
# Provides the Seahorse response interface and paging convenience methods.
|
|
6
|
+
#
|
|
7
|
+
# SDK clients return responses with paging ready to use. When constructing
|
|
8
|
+
# a response directly or inspecting it before paging setup in a custom handler,
|
|
9
|
+
# use {#data} to access or enumerate its fields. {#first} returns the response
|
|
10
|
+
# itself; page-state checks and complete page enumeration require a pager.
|
|
11
|
+
#
|
|
12
|
+
# @see PageableResponse
|
|
13
|
+
class Response < Seahorse::Client::Response
|
|
14
|
+
include PageableResponse::Extension
|
|
15
|
+
|
|
16
|
+
def initialize(options = {})
|
|
17
|
+
super
|
|
18
|
+
@pager = nil
|
|
19
|
+
@last_page = nil
|
|
20
|
+
@more_results = nil
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
data/lib/aws-sdk-core.rb
CHANGED
|
@@ -45,6 +45,7 @@ module Aws
|
|
|
45
45
|
autoload :Pager, 'aws-sdk-core/pager'
|
|
46
46
|
autoload :ParamConverter, 'aws-sdk-core/param_converter'
|
|
47
47
|
autoload :ParamValidator, 'aws-sdk-core/param_validator'
|
|
48
|
+
autoload :Response, 'aws-sdk-core/response'
|
|
48
49
|
autoload :SharedConfig, 'aws-sdk-core/shared_config'
|
|
49
50
|
autoload :Structure, 'aws-sdk-core/structure'
|
|
50
51
|
autoload :EmptyStructure, 'aws-sdk-core/structure'
|
data/lib/aws-sdk-signin.rb
CHANGED
data/lib/aws-sdk-sso/client.rb
CHANGED
data/lib/aws-sdk-sso.rb
CHANGED
data/lib/aws-sdk-ssooidc.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED
data/lib/aws-sdk-sts.rb
CHANGED
|
@@ -79,7 +79,14 @@ module Seahorse
|
|
|
79
79
|
@socket.hostname = endpoint.host
|
|
80
80
|
|
|
81
81
|
debug_output("starting TLS for #{endpoint.host}:#{endpoint.port} ...")
|
|
82
|
-
|
|
82
|
+
begin
|
|
83
|
+
@socket.connect
|
|
84
|
+
@socket.post_connection_check(endpoint.host) if @ssl_verify_peer
|
|
85
|
+
rescue StandardError
|
|
86
|
+
@socket.close rescue nil
|
|
87
|
+
@socket = nil
|
|
88
|
+
raise
|
|
89
|
+
end
|
|
83
90
|
debug_output('TLS established')
|
|
84
91
|
else
|
|
85
92
|
@socket = tcp
|
|
@@ -215,6 +222,7 @@ module Seahorse
|
|
|
215
222
|
ssl_ctx = OpenSSL::SSL::SSLContext.new(:TLSv1_2)
|
|
216
223
|
if @ssl_verify_peer
|
|
217
224
|
ssl_ctx.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
|
225
|
+
ssl_ctx.verify_hostname = true
|
|
218
226
|
ssl_ctx.ca_file = @ssl_ca_bundle || _default_ca_bundle
|
|
219
227
|
ssl_ctx.ca_path = @ssl_ca_directory || _default_ca_directory
|
|
220
228
|
ssl_ctx.cert_store = @ssl_ca_store if @ssl_ca_store
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.263.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -281,6 +281,7 @@ files:
|
|
|
281
281
|
- lib/aws-sdk-core/refreshing_token.rb
|
|
282
282
|
- lib/aws-sdk-core/resources.rb
|
|
283
283
|
- lib/aws-sdk-core/resources/collection.rb
|
|
284
|
+
- lib/aws-sdk-core/response.rb
|
|
284
285
|
- lib/aws-sdk-core/rest.rb
|
|
285
286
|
- lib/aws-sdk-core/rest/content_type_handler.rb
|
|
286
287
|
- lib/aws-sdk-core/rest/handler.rb
|