aws-sdk-core 3.191.0 → 3.194.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 +83 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-core/binary/decode_handler.rb +0 -5
- data/lib/aws-sdk-core/binary/event_builder.rb +34 -37
- data/lib/aws-sdk-core/credential_provider.rb +1 -1
- data/lib/aws-sdk-core/ec2_metadata.rb +1 -1
- data/lib/aws-sdk-core/ecs_credentials.rb +2 -1
- data/lib/aws-sdk-core/event_emitter.rb +0 -16
- data/lib/aws-sdk-core/instance_profile_credentials.rb +3 -2
- data/lib/aws-sdk-core/json/builder.rb +8 -1
- data/lib/aws-sdk-core/json/error_handler.rb +10 -3
- data/lib/aws-sdk-core/json/parser.rb +4 -1
- data/lib/aws-sdk-core/lru_cache.rb +75 -0
- data/lib/aws-sdk-core/param_validator.rb +7 -2
- data/lib/aws-sdk-core/plugins/invocation_id.rb +1 -11
- data/lib/aws-sdk-core/plugins/protocols/rest_json.rb +3 -16
- data/lib/aws-sdk-core/plugins/protocols/rest_xml.rb +1 -2
- data/lib/aws-sdk-core/plugins/request_compression.rb +1 -1
- data/lib/aws-sdk-core/plugins/sign.rb +8 -3
- data/lib/aws-sdk-core/query/param_builder.rb +2 -2
- data/lib/aws-sdk-core/rest/request/body.rb +32 -5
- data/lib/aws-sdk-core/rest/request/content_type.rb +60 -0
- data/lib/aws-sdk-core/rest/request/endpoint.rb +22 -4
- data/lib/aws-sdk-core/rest/request/headers.rb +15 -7
- data/lib/aws-sdk-core/rest/request/querystring_builder.rb +23 -11
- data/lib/aws-sdk-core/rest/response/body.rb +15 -1
- data/lib/aws-sdk-core/rest/response/header_list_parser.rb +79 -0
- data/lib/aws-sdk-core/rest/response/headers.rb +8 -3
- data/lib/aws-sdk-core/rest.rb +1 -0
- data/lib/aws-sdk-core/util.rb +39 -0
- data/lib/aws-sdk-core/xml/builder.rb +17 -9
- data/lib/aws-sdk-core/xml/error_handler.rb +24 -8
- data/lib/aws-sdk-core/xml/parser/frame.rb +4 -20
- data/lib/aws-sdk-core/xml/parser/stack.rb +2 -0
- data/lib/aws-sdk-core.rb +1 -0
- data/lib/aws-sdk-sso/client.rb +70 -46
- data/lib/aws-sdk-sso.rb +1 -1
- data/lib/aws-sdk-ssooidc/client.rb +70 -46
- data/lib/aws-sdk-ssooidc.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +70 -46
- data/lib/aws-sdk-sts/client_api.rb +8 -8
- data/lib/aws-sdk-sts.rb +1 -1
- data/lib/seahorse/client/async_base.rb +1 -1
- data/lib/seahorse/client/async_response.rb +19 -0
- data/lib/seahorse/client/base.rb +1 -0
- data/lib/seahorse/client/h2/handler.rb +1 -0
- data/lib/seahorse/client/plugin.rb +8 -0
- data/lib/seahorse/client/plugins/net_http.rb +48 -16
- data/lib/seahorse/model/shapes.rb +2 -2
- metadata +5 -2
|
@@ -7,34 +7,66 @@ module Seahorse
|
|
|
7
7
|
module Plugins
|
|
8
8
|
class NetHttp < Plugin
|
|
9
9
|
|
|
10
|
-
option(:http_proxy, default: nil, doc_type: String, docstring:
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
option(:http_proxy, default: nil, doc_type: "URI::HTTP,String", docstring: <<-DOCS)
|
|
11
|
+
A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
|
12
|
+
DOCS
|
|
13
|
+
|
|
14
|
+
option(:http_open_timeout, default: 15, doc_type: Float, docstring: <<-DOCS) do |cfg|
|
|
15
|
+
The default number of seconds to wait for response data.
|
|
16
|
+
This value can safely be set per-request on the session.
|
|
17
|
+
DOCS
|
|
13
18
|
resolve_http_open_timeout(cfg)
|
|
14
19
|
end
|
|
15
20
|
|
|
16
|
-
option(:http_read_timeout, default: 60, doc_type:
|
|
21
|
+
option(:http_read_timeout, default: 60, doc_type: Float, docstring: <<-DOCS) do |cfg|
|
|
22
|
+
The default number of seconds to wait for response data.
|
|
23
|
+
This value can safely be set per-request on the session.
|
|
24
|
+
DOCS
|
|
17
25
|
resolve_http_read_timeout(cfg)
|
|
18
26
|
end
|
|
19
27
|
|
|
20
|
-
option(:http_idle_timeout, default: 5, doc_type:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
option(:
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
option(:http_idle_timeout, default: 5, doc_type: Float, docstring: <<-DOCS)
|
|
29
|
+
The number of seconds a connection is allowed to sit idle before it
|
|
30
|
+
is considered stale. Stale connections are closed and removed from the
|
|
31
|
+
pool before making a request.
|
|
32
|
+
DOCS
|
|
33
|
+
|
|
34
|
+
option(:http_continue_timeout, default: 1, doc_type: Float, docstring: <<-DOCS)
|
|
35
|
+
The number of seconds to wait for a 100-continue response before sending the
|
|
36
|
+
request body. This option has no effect unless the request has "Expect"
|
|
37
|
+
header set to "100-continue". Defaults to `nil` which disables this
|
|
38
|
+
behaviour. This value can safely be set per request on the session.
|
|
39
|
+
DOCS
|
|
40
|
+
|
|
41
|
+
option(:http_wire_trace, default: false, doc_type: 'Boolean', docstring: <<-DOCS)
|
|
42
|
+
When `true`, HTTP debug output will be sent to the `:logger`.
|
|
43
|
+
DOCS
|
|
44
|
+
|
|
45
|
+
option(:ssl_verify_peer, default: true, doc_type: 'Boolean', docstring: <<-DOCS)
|
|
46
|
+
When `true`, SSL peer certificates are verified when establishing a connection.
|
|
47
|
+
DOCS
|
|
48
|
+
|
|
49
|
+
option(:ssl_ca_bundle, doc_type: String, docstring: <<-DOCS) do |cfg|
|
|
50
|
+
Full path to the SSL certificate authority bundle file that should be used when
|
|
51
|
+
verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
|
52
|
+
`:ssl_ca_directory` the the system default will be used if available.
|
|
53
|
+
DOCS
|
|
29
54
|
ENV['AWS_CA_BUNDLE'] ||
|
|
30
55
|
Aws.shared_config.ca_bundle(profile: cfg.profile) if cfg.respond_to?(:profile)
|
|
31
56
|
end
|
|
32
57
|
|
|
33
|
-
option(:ssl_ca_directory, default: nil, doc_type: String, docstring:
|
|
58
|
+
option(:ssl_ca_directory, default: nil, doc_type: String, docstring: <<-DOCS)
|
|
59
|
+
Full path of the directory that contains the unbundled SSL certificate
|
|
60
|
+
authority files for verifying peer certificates. If you do
|
|
61
|
+
not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
|
62
|
+
default will be used if available.
|
|
63
|
+
DOCS
|
|
34
64
|
|
|
35
|
-
option(:ssl_ca_store, default: nil, doc_type: String, docstring:
|
|
65
|
+
option(:ssl_ca_store, default: nil, doc_type: String, docstring: <<-DOCS)
|
|
66
|
+
Sets the X509::Store to verify peer certificate.
|
|
67
|
+
DOCS
|
|
36
68
|
|
|
37
|
-
option(:ssl_timeout, default: nil, doc_type: Float, docstring: '') do |cfg|
|
|
69
|
+
option(:ssl_timeout, default: nil, doc_type: Float, docstring: 'Sets the SSL timeout in seconds') do |cfg|
|
|
38
70
|
resolve_ssl_timeout(cfg)
|
|
39
71
|
end
|
|
40
72
|
|
|
@@ -75,7 +75,7 @@ module Seahorse
|
|
|
75
75
|
|
|
76
76
|
# @return [String, nil]
|
|
77
77
|
def location_name
|
|
78
|
-
@location_name || (shape && shape[
|
|
78
|
+
@location_name || (shape && shape['locationName'])
|
|
79
79
|
end
|
|
80
80
|
|
|
81
81
|
def location_name= location_name
|
|
@@ -86,7 +86,7 @@ module Seahorse
|
|
|
86
86
|
def [](key)
|
|
87
87
|
if @metadata.key?(key.to_s)
|
|
88
88
|
@metadata[key.to_s]
|
|
89
|
-
|
|
89
|
+
elsif @shape
|
|
90
90
|
@shape[key.to_s]
|
|
91
91
|
end
|
|
92
92
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.194.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-
|
|
11
|
+
date: 2024-04-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jmespath
|
|
@@ -151,6 +151,7 @@ files:
|
|
|
151
151
|
- lib/aws-sdk-core/log/handler.rb
|
|
152
152
|
- lib/aws-sdk-core/log/param_filter.rb
|
|
153
153
|
- lib/aws-sdk-core/log/param_formatter.rb
|
|
154
|
+
- lib/aws-sdk-core/lru_cache.rb
|
|
154
155
|
- lib/aws-sdk-core/pageable_response.rb
|
|
155
156
|
- lib/aws-sdk-core/pager.rb
|
|
156
157
|
- lib/aws-sdk-core/param_converter.rb
|
|
@@ -212,10 +213,12 @@ files:
|
|
|
212
213
|
- lib/aws-sdk-core/rest/handler.rb
|
|
213
214
|
- lib/aws-sdk-core/rest/request/body.rb
|
|
214
215
|
- lib/aws-sdk-core/rest/request/builder.rb
|
|
216
|
+
- lib/aws-sdk-core/rest/request/content_type.rb
|
|
215
217
|
- lib/aws-sdk-core/rest/request/endpoint.rb
|
|
216
218
|
- lib/aws-sdk-core/rest/request/headers.rb
|
|
217
219
|
- lib/aws-sdk-core/rest/request/querystring_builder.rb
|
|
218
220
|
- lib/aws-sdk-core/rest/response/body.rb
|
|
221
|
+
- lib/aws-sdk-core/rest/response/header_list_parser.rb
|
|
219
222
|
- lib/aws-sdk-core/rest/response/headers.rb
|
|
220
223
|
- lib/aws-sdk-core/rest/response/parser.rb
|
|
221
224
|
- lib/aws-sdk-core/rest/response/status_code.rb
|