aws-sdk-core 3.165.0 → 3.201.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 +462 -0
- data/VERSION +1 -1
- data/lib/aws-defaults/default_configuration.rb +4 -4
- data/lib/aws-sdk-core/binary/decode_handler.rb +3 -9
- data/lib/aws-sdk-core/binary/encode_handler.rb +1 -1
- data/lib/aws-sdk-core/binary/event_builder.rb +34 -37
- data/lib/aws-sdk-core/binary/event_stream_decoder.rb +1 -0
- data/lib/aws-sdk-core/binary/event_stream_encoder.rb +4 -3
- data/lib/aws-sdk-core/cbor/cbor_engine.rb +19 -0
- data/lib/aws-sdk-core/cbor/decoder.rb +310 -0
- data/lib/aws-sdk-core/cbor/encoder.rb +243 -0
- data/lib/aws-sdk-core/cbor.rb +106 -0
- data/lib/aws-sdk-core/client_stubs.rb +18 -14
- data/lib/aws-sdk-core/credential_provider.rb +4 -1
- data/lib/aws-sdk-core/credential_provider_chain.rb +8 -5
- data/lib/aws-sdk-core/ec2_metadata.rb +1 -1
- data/lib/aws-sdk-core/ecs_credentials.rb +178 -53
- data/lib/aws-sdk-core/endpoints/condition.rb +5 -0
- data/lib/aws-sdk-core/endpoints/endpoint_rule.rb +5 -1
- data/lib/aws-sdk-core/endpoints/error_rule.rb +5 -0
- data/lib/aws-sdk-core/endpoints/function.rb +5 -0
- data/lib/aws-sdk-core/endpoints/matchers.rb +18 -10
- data/lib/aws-sdk-core/endpoints/reference.rb +5 -0
- data/lib/aws-sdk-core/endpoints/rule.rb +5 -0
- data/lib/aws-sdk-core/endpoints/rule_set.rb +5 -0
- data/lib/aws-sdk-core/endpoints/rules_provider.rb +5 -0
- data/lib/aws-sdk-core/endpoints/templater.rb +6 -0
- data/lib/aws-sdk-core/endpoints/tree_rule.rb +5 -0
- data/lib/aws-sdk-core/endpoints/url.rb +1 -0
- data/lib/aws-sdk-core/endpoints.rb +69 -19
- data/lib/aws-sdk-core/error_handler.rb +41 -0
- data/lib/aws-sdk-core/errors.rb +12 -3
- data/lib/aws-sdk-core/event_emitter.rb +0 -16
- data/lib/aws-sdk-core/ini_parser.rb +7 -0
- data/lib/aws-sdk-core/instance_profile_credentials.rb +55 -32
- data/lib/aws-sdk-core/json/builder.rb +8 -1
- data/lib/aws-sdk-core/json/error_handler.rb +29 -14
- data/lib/aws-sdk-core/json/handler.rb +12 -6
- data/lib/aws-sdk-core/json/json_engine.rb +3 -1
- data/lib/aws-sdk-core/json/oj_engine.rb +7 -1
- data/lib/aws-sdk-core/json/parser.rb +33 -3
- data/lib/aws-sdk-core/json.rb +43 -14
- data/lib/aws-sdk-core/log/formatter.rb +6 -0
- data/lib/aws-sdk-core/lru_cache.rb +75 -0
- data/lib/aws-sdk-core/pageable_response.rb +3 -1
- data/lib/aws-sdk-core/param_validator.rb +9 -4
- data/lib/aws-sdk-core/plugins/bearer_authorization.rb +2 -0
- data/lib/aws-sdk-core/plugins/checksum_algorithm.rb +7 -4
- data/lib/aws-sdk-core/plugins/client_metrics_plugin.rb +1 -0
- data/lib/aws-sdk-core/plugins/client_metrics_send_plugin.rb +14 -2
- data/lib/aws-sdk-core/plugins/credentials_configuration.rb +2 -0
- data/lib/aws-sdk-core/plugins/global_configuration.rb +8 -9
- data/lib/aws-sdk-core/plugins/http_checksum.rb +2 -1
- data/lib/aws-sdk-core/plugins/invocation_id.rb +1 -11
- data/lib/aws-sdk-core/plugins/logging.rb +2 -0
- data/lib/aws-sdk-core/plugins/protocols/api_gateway.rb +3 -1
- data/lib/aws-sdk-core/plugins/protocols/ec2.rb +2 -24
- data/lib/aws-sdk-core/plugins/protocols/json_rpc.rb +6 -8
- data/lib/aws-sdk-core/plugins/protocols/query.rb +4 -2
- data/lib/aws-sdk-core/plugins/protocols/rest_json.rb +3 -15
- data/lib/aws-sdk-core/plugins/protocols/rest_xml.rb +3 -0
- data/lib/aws-sdk-core/plugins/protocols/rpc_v2.rb +17 -0
- data/lib/aws-sdk-core/plugins/regional_endpoint.rb +140 -35
- data/lib/aws-sdk-core/plugins/request_compression.rb +226 -0
- data/lib/aws-sdk-core/plugins/retries/error_inspector.rb +2 -1
- data/lib/aws-sdk-core/plugins/retry_errors.rb +12 -3
- data/lib/aws-sdk-core/plugins/sign.rb +43 -19
- data/lib/aws-sdk-core/plugins/signature_v2.rb +2 -1
- data/lib/aws-sdk-core/plugins/signature_v4.rb +2 -1
- data/lib/aws-sdk-core/plugins/stub_responses.rb +1 -0
- data/lib/aws-sdk-core/plugins/transfer_encoding.rb +16 -9
- data/lib/aws-sdk-core/plugins/user_agent.rb +152 -14
- data/lib/aws-sdk-core/process_credentials.rb +45 -27
- data/lib/aws-sdk-core/query/ec2_handler.rb +27 -0
- data/lib/aws-sdk-core/query/ec2_param_builder.rb +5 -7
- data/lib/aws-sdk-core/query/handler.rb +4 -4
- data/lib/aws-sdk-core/query/param_builder.rb +2 -2
- data/lib/aws-sdk-core/query.rb +2 -1
- data/lib/aws-sdk-core/refreshing_credentials.rb +12 -12
- data/lib/aws-sdk-core/rest/content_type_handler.rb +60 -0
- data/lib/aws-sdk-core/rest/handler.rb +3 -4
- data/lib/aws-sdk-core/rest/request/body.rb +32 -5
- data/lib/aws-sdk-core/rest/request/endpoint.rb +24 -4
- data/lib/aws-sdk-core/rest/request/headers.rb +15 -7
- data/lib/aws-sdk-core/rest/request/querystring_builder.rb +62 -36
- 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/rpc_v2/builder.rb +62 -0
- data/lib/aws-sdk-core/rpc_v2/content_type_handler.rb +45 -0
- data/lib/aws-sdk-core/rpc_v2/error_handler.rb +84 -0
- data/lib/aws-sdk-core/rpc_v2/handler.rb +74 -0
- data/lib/aws-sdk-core/rpc_v2/parser.rb +90 -0
- data/lib/aws-sdk-core/rpc_v2.rb +6 -0
- data/lib/aws-sdk-core/shared_config.rb +77 -18
- data/lib/aws-sdk-core/sso_credentials.rb +80 -45
- data/lib/aws-sdk-core/sso_token_provider.rb +3 -2
- data/lib/aws-sdk-core/stubbing/protocols/rpc_v2.rb +41 -0
- data/lib/aws-sdk-core/stubbing/stub_data.rb +11 -0
- data/lib/aws-sdk-core/util.rb +39 -0
- data/lib/aws-sdk-core/waiters/poller.rb +4 -2
- data/lib/aws-sdk-core/xml/builder.rb +17 -9
- data/lib/aws-sdk-core/xml/error_handler.rb +32 -42
- data/lib/aws-sdk-core/xml/parser/frame.rb +4 -20
- data/lib/aws-sdk-core/xml/parser/{engines/oga.rb → oga_engine.rb} +2 -0
- data/lib/aws-sdk-core/xml/parser/stack.rb +2 -0
- data/lib/aws-sdk-core/xml/parser.rb +2 -6
- data/lib/aws-sdk-core.rb +8 -2
- data/lib/aws-sdk-sso/client.rb +103 -46
- data/lib/aws-sdk-sso/client_api.rb +6 -0
- data/lib/aws-sdk-sso/endpoint_provider.rb +41 -96
- data/lib/aws-sdk-sso/endpoints.rb +1 -0
- data/lib/aws-sdk-sso/plugins/endpoints.rb +4 -2
- data/lib/aws-sdk-sso/types.rb +0 -35
- data/lib/aws-sdk-sso.rb +1 -1
- data/lib/aws-sdk-ssooidc/client.rb +488 -74
- data/lib/aws-sdk-ssooidc/client_api.rb +82 -1
- data/lib/aws-sdk-ssooidc/endpoint_provider.rb +41 -95
- data/lib/aws-sdk-ssooidc/endpoints.rb +15 -0
- data/lib/aws-sdk-ssooidc/errors.rb +52 -0
- data/lib/aws-sdk-ssooidc/plugins/endpoints.rb +6 -2
- data/lib/aws-sdk-ssooidc/types.rb +372 -83
- data/lib/aws-sdk-ssooidc.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +361 -288
- data/lib/aws-sdk-sts/client_api.rb +24 -11
- data/lib/aws-sdk-sts/endpoint_provider.rb +96 -213
- data/lib/aws-sdk-sts/endpoints.rb +1 -0
- data/lib/aws-sdk-sts/plugins/endpoints.rb +4 -2
- data/lib/aws-sdk-sts/presigner.rb +1 -1
- data/lib/aws-sdk-sts/types.rb +128 -197
- 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 +18 -7
- data/lib/seahorse/client/configuration.rb +0 -4
- data/lib/seahorse/client/h2/connection.rb +12 -11
- data/lib/seahorse/client/h2/handler.rb +1 -0
- data/lib/seahorse/client/handler.rb +1 -1
- data/lib/seahorse/client/net_http/connection_pool.rb +3 -9
- data/lib/seahorse/client/net_http/patches.rb +1 -4
- data/lib/seahorse/client/plugin.rb +9 -0
- data/lib/seahorse/client/plugins/endpoint.rb +0 -1
- data/lib/seahorse/client/plugins/h2.rb +3 -3
- data/lib/seahorse/client/plugins/net_http.rb +48 -16
- data/lib/seahorse/client/plugins/request_callback.rb +31 -0
- data/lib/seahorse/client/response.rb +6 -0
- data/lib/seahorse/model/operation.rb +3 -0
- data/lib/seahorse/model/shapes.rb +2 -2
- data/sig/aws-sdk-core/client_stubs.rbs +10 -0
- data/sig/aws-sdk-core/errors.rbs +22 -0
- data/sig/aws-sdk-core/resources/collection.rbs +21 -0
- data/sig/aws-sdk-core/structure.rbs +4 -0
- data/sig/aws-sdk-core/waiters/errors.rbs +20 -0
- data/sig/aws-sdk-core.rbs +7 -0
- data/sig/seahorse/client/base.rbs +25 -0
- data/sig/seahorse/client/handler_builder.rbs +16 -0
- data/sig/seahorse/client/response.rbs +61 -0
- metadata +44 -17
- /data/lib/aws-sdk-core/xml/parser/{engines/libxml.rb → libxml_engine.rb} +0 -0
- /data/lib/aws-sdk-core/xml/parser/{engines/nokogiri.rb → nokogiri_engine.rb} +0 -0
- /data/lib/aws-sdk-core/xml/parser/{engines/ox.rb → ox_engine.rb} +0 -0
- /data/lib/aws-sdk-core/xml/parser/{engines/rexml.rb → rexml_engine.rb} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66b895cbab1c128ae492f8b02d379edf6856cd38a6eadf985b97a798f4cf4252
|
4
|
+
data.tar.gz: dadbea139b8d5e9f72dc66492478f80e17d501c2b1a6f8acb482a0c8b036ace6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f60df6c8bc98191884bfd56ce021b337c2f08e4b87b235afb4a8ea39de9e15f6ff036a9a442cf6b4fb40635a5b03a0bbe082310e498474f251c7e5119cc3d28
|
7
|
+
data.tar.gz: 6ba5a5f1afb8f00cb676a5b61b59a7ca3ccc0922fa92f5548c126151d4d9446a745ea275a88d01ba275fa00583f0cde7fcd276847c513e4e72b26dbb15f2cfc0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,468 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
3.201.0 (2024-07-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
8
|
+
|
9
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
10
|
+
|
11
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
12
|
+
|
13
|
+
* Feature - Support `auth` trait to enable SigV4a based services.
|
14
|
+
|
15
|
+
* Feature - Support configuration for sigv4a signing regions using `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`, `sigv4a_signing_region_set` shared config, or the `sigv4a_signing_region_set` client option.
|
16
|
+
|
17
|
+
3.200.0 (2024-06-28)
|
18
|
+
------------------
|
19
|
+
|
20
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
21
|
+
|
22
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
23
|
+
|
24
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
25
|
+
|
26
|
+
3.199.0 (2024-06-25)
|
27
|
+
------------------
|
28
|
+
|
29
|
+
* Feature - Support RpcV2 protocol.
|
30
|
+
|
31
|
+
* Feature - Add CBOR encoder and decoder.
|
32
|
+
|
33
|
+
* Issue - Enhance, refactor, and rebase protocols to be consistent. Ensure protocol tests are run for each engine.
|
34
|
+
|
35
|
+
3.198.0 (2024-06-24)
|
36
|
+
------------------
|
37
|
+
|
38
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
39
|
+
|
40
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
41
|
+
|
42
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
43
|
+
|
44
|
+
* Feature - Support `:plugins` option on all Clients or using `Aws.config[:plugins]`.
|
45
|
+
|
46
|
+
3.197.2 (2024-06-20)
|
47
|
+
------------------
|
48
|
+
|
49
|
+
* Issue - fix issue in Endpoint `attr` matcher when path is only an array index.
|
50
|
+
|
51
|
+
* Issue - Fix trailing slash in endpoint URLs for rest-json and rest-xml services.
|
52
|
+
|
53
|
+
3.197.1 (2024-06-19)
|
54
|
+
------------------
|
55
|
+
|
56
|
+
* Issue - Support an array of string arguments for `Aws::ProcessCredentials` to be executed by `system`.
|
57
|
+
|
58
|
+
3.197.0 (2024-06-05)
|
59
|
+
------------------
|
60
|
+
|
61
|
+
* Issue - Ensure no UTC offset when deserializing `iso8601` timestamp format values.
|
62
|
+
|
63
|
+
* Feature - Bump User Agent to version 2.1 to track business metrics. This changes the User Agent plugin order to be just before sending.
|
64
|
+
|
65
|
+
3.196.1 (2024-05-14)
|
66
|
+
------------------
|
67
|
+
|
68
|
+
* Issue - Fix `ConnectionPool` for `.empty!` and `.clear!` since it prevented adding a new key from being added to the pool (#3020).
|
69
|
+
|
70
|
+
3.196.0 (2024-05-13)
|
71
|
+
------------------
|
72
|
+
|
73
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
74
|
+
|
75
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
76
|
+
|
77
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
78
|
+
|
79
|
+
3.195.0 (2024-05-10)
|
80
|
+
------------------
|
81
|
+
|
82
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
83
|
+
|
84
|
+
* Feature - Updated request parameters for PKCE support.
|
85
|
+
|
86
|
+
3.194.2 (2024-05-07)
|
87
|
+
------------------
|
88
|
+
|
89
|
+
* Issue - Fix issue where `ConnectionPool` size iteration would prevent a new key from being added to the pool.
|
90
|
+
|
91
|
+
3.194.1 (2024-05-03)
|
92
|
+
------------------
|
93
|
+
|
94
|
+
* Issue - Update EC2 protocol to not serialize empty lists.
|
95
|
+
|
96
|
+
3.194.0 (2024-04-30)
|
97
|
+
------------------
|
98
|
+
|
99
|
+
* Feature - Add an API private cache for S3 Express and Access Grants.
|
100
|
+
|
101
|
+
3.193.0 (2024-04-25)
|
102
|
+
------------------
|
103
|
+
|
104
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
105
|
+
|
106
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
107
|
+
|
108
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
109
|
+
|
110
|
+
* Issue - Update event stream documentation.
|
111
|
+
* Issue - Move `InvocationId` plugin to all clients.
|
112
|
+
* Issue - Handle event streaming content-sha256 header in the signer plugin.
|
113
|
+
* Issue - Add the event stream content type to initial requests.
|
114
|
+
* Issue - Fix `standard` and `adaptive` retry mode for event streams.
|
115
|
+
* Issue - Add `authority` to http2 headers.
|
116
|
+
* Issue - Do not treat single members in event stream structures as implicit payloads.
|
117
|
+
* Issue - Do not wait for initial response headers to start sending input events.
|
118
|
+
|
119
|
+
3.192.1 (2024-04-18)
|
120
|
+
------------------
|
121
|
+
|
122
|
+
* Issue - Drop key/value pair if value is `nil` when deserializing json maps.
|
123
|
+
|
124
|
+
3.192.0 (2024-04-16)
|
125
|
+
------------------
|
126
|
+
|
127
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
128
|
+
|
129
|
+
* Feature - Update serializing/deserializing for all protocols to align with Smithy protocol-tests.
|
130
|
+
* Issue - Allow `nil` values in lists and maps.
|
131
|
+
* Issue - Populate headers for XML and JSON error responses.
|
132
|
+
* Issue - Support fractional seconds when parsing `DateTime` timestamps.
|
133
|
+
* Issue - Correctly serialize flattened lists for Query protocol.
|
134
|
+
* Issue - Correctly serialize payload name in Rest-XML requests.
|
135
|
+
* Issue - Fix an issue where Rest-XML requests do not have a default `Content-Type` header applied.
|
136
|
+
* Issue - Apply appropriate `Content-Type` header for payloads in Rest services.
|
137
|
+
* Issue - Correctly serialize URI label bindings in Rest requests.
|
138
|
+
* Issue - Correctly serialize and parse header bindings in Rest services.
|
139
|
+
* Issue - Ensure that null and empty headers are not sent in Rest requests.
|
140
|
+
* Issue - Ensure keys in query maps do not override modeled keys in Rest requests.
|
141
|
+
* Issue - Ensure empty blob payloads are omitted in Rest requests.
|
142
|
+
* Issue - Support parsing of `NaN`, `Infinity` and `-Infinity` float values.
|
143
|
+
* Issue - Apply appropriate `xmlName` for flattened lists and maps in Rest-XML services.
|
144
|
+
* Issue - Handle serializing of different formats of `xmlNamespace` on shapes.
|
145
|
+
* Issue - Fix deserializing of an empty blob to produce an empty string.
|
146
|
+
* Issue - Fix deserializing an empty self-closed blob to produce an empty string.
|
147
|
+
* Issue - Support parsing of different formats of error data in Rest-XML services.
|
148
|
+
|
149
|
+
3.191.6 (2024-04-02)
|
150
|
+
------------------
|
151
|
+
* Issue - Performance optimization: ensure presence and order of instance variables in `PluginOptions` (#3002).
|
152
|
+
|
153
|
+
3.191.5 (2024-03-26)
|
154
|
+
------------------
|
155
|
+
|
156
|
+
* Issue - Fix `EC2Metadata` and `InstanceProfileCredentials` to respect the port from a configured endpoint from code, ENV, or shared config.
|
157
|
+
|
158
|
+
3.191.4 (2024-03-15)
|
159
|
+
------------------
|
160
|
+
|
161
|
+
* Issue - Ensure output unions work correctly with stub_responses.
|
162
|
+
|
163
|
+
3.191.3 (2024-02-20)
|
164
|
+
------------------
|
165
|
+
|
166
|
+
* Issue - Remove base64 as dependency.
|
167
|
+
|
168
|
+
3.191.2 (2024-02-14)
|
169
|
+
------------------
|
170
|
+
|
171
|
+
* Issue - Add base64 as dependency to prepare for Ruby 3.4 release (#2984).
|
172
|
+
|
173
|
+
3.191.1 (2024-02-07)
|
174
|
+
------------------
|
175
|
+
|
176
|
+
* Issue - Warn on previously silent credential failures (#2981).
|
177
|
+
|
178
|
+
3.191.0 (2024-01-26)
|
179
|
+
------------------
|
180
|
+
|
181
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
182
|
+
|
183
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
184
|
+
|
185
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
186
|
+
|
187
|
+
* Feature - Add RBS signature files to support static type checking
|
188
|
+
|
189
|
+
3.190.3 (2024-01-16)
|
190
|
+
------------------
|
191
|
+
|
192
|
+
* Issue - Add mutex around accessing stub api_requests.
|
193
|
+
|
194
|
+
3.190.2 (2024-01-09)
|
195
|
+
------------------
|
196
|
+
|
197
|
+
* Issue - Minor performance optimization.
|
198
|
+
|
199
|
+
3.190.1 (2023-12-20)
|
200
|
+
------------------
|
201
|
+
|
202
|
+
* Issue - Add mutex around stub api_requests.
|
203
|
+
|
204
|
+
3.190.0 (2023-11-29)
|
205
|
+
------------------
|
206
|
+
|
207
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
208
|
+
|
209
|
+
3.189.0 (2023-11-28)
|
210
|
+
------------------
|
211
|
+
|
212
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
213
|
+
|
214
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
215
|
+
|
216
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
217
|
+
|
218
|
+
* Feature - Support S3 Express authentication.
|
219
|
+
|
220
|
+
3.188.0 (2023-11-22)
|
221
|
+
------------------
|
222
|
+
|
223
|
+
* Feature - AWS SDK for Ruby no longer supports Ruby runtime versions 2.3 and 2.4.
|
224
|
+
|
225
|
+
* Feature - Support `AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE` in `ECSCredentials` and also allow for ECS and EKS link-local http addresses.
|
226
|
+
|
227
|
+
3.187.1 (2023-11-20)
|
228
|
+
------------------
|
229
|
+
|
230
|
+
* Issue - For `awsQueryCompatible` services, default an empty list or map for shapes that were previously flattened in the query protocol.
|
231
|
+
|
232
|
+
3.187.0 (2023-11-17)
|
233
|
+
------------------
|
234
|
+
|
235
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
236
|
+
|
237
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
238
|
+
|
239
|
+
3.186.0 (2023-11-02)
|
240
|
+
------------------
|
241
|
+
|
242
|
+
* Feature - Support disabling IMDSv1 in `InstanceProfileCredentials` using `ENV['AWS_EC2_METADATA_V1_DISABLED']`, `ec2_metadata_v1_disabled` shared config, or the `disable_imds_v1` credentials option.
|
243
|
+
|
244
|
+
3.185.2 (2023-10-31)
|
245
|
+
------------------
|
246
|
+
|
247
|
+
* Issue - Fix query string support to lists of booleans, floats, integers and timestamps per rest-json protocol.
|
248
|
+
|
249
|
+
3.185.1 (2023-10-05)
|
250
|
+
------------------
|
251
|
+
|
252
|
+
* Issue - Ignore `__type` when deserializing Unions.
|
253
|
+
|
254
|
+
3.185.0 (2023-10-02)
|
255
|
+
------------------
|
256
|
+
|
257
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
258
|
+
|
259
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
260
|
+
|
261
|
+
3.184.0 (2023-09-27)
|
262
|
+
------------------
|
263
|
+
|
264
|
+
* Feature - Change the `ServiceError` data member from read only to read/write.
|
265
|
+
|
266
|
+
3.183.1 (2023-09-25)
|
267
|
+
------------------
|
268
|
+
|
269
|
+
* Issue - Remove value inspection from param validation errors.
|
270
|
+
|
271
|
+
3.183.0 (2023-09-20)
|
272
|
+
------------------
|
273
|
+
|
274
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
275
|
+
|
276
|
+
3.182.0 (2023-09-19)
|
277
|
+
------------------
|
278
|
+
|
279
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
280
|
+
|
281
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
282
|
+
|
283
|
+
3.181.1 (2023-09-14)
|
284
|
+
------------------
|
285
|
+
|
286
|
+
* Issue - Fix host label validation in endpoint matchers.
|
287
|
+
|
288
|
+
3.181.0 (2023-08-22)
|
289
|
+
------------------
|
290
|
+
|
291
|
+
* Feature - Add support for `on_chunk_received` callback.
|
292
|
+
|
293
|
+
3.180.3 (2023-08-09)
|
294
|
+
------------------
|
295
|
+
|
296
|
+
* Issue - Add support for sso-session names with whitespace configured by the CLI `aws sso configure` command (#2895).
|
297
|
+
|
298
|
+
3.180.2 (2023-08-07)
|
299
|
+
------------------
|
300
|
+
|
301
|
+
* Issue - Fix parsing of ini files with mixes of blank properties and nested configurations.
|
302
|
+
|
303
|
+
3.180.1 (2023-07-31)
|
304
|
+
------------------
|
305
|
+
|
306
|
+
* Issue - Remove checksums from default stubs (#2888).
|
307
|
+
|
308
|
+
3.180.0 (2023-07-25)
|
309
|
+
------------------
|
310
|
+
|
311
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
312
|
+
|
313
|
+
3.179.0 (2023-07-24)
|
314
|
+
------------------
|
315
|
+
|
316
|
+
* Feature - Add `checksum_validated` method to response.
|
317
|
+
|
318
|
+
3.178.0 (2023-07-11)
|
319
|
+
------------------
|
320
|
+
|
321
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
322
|
+
|
323
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
324
|
+
|
325
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
326
|
+
|
327
|
+
* Feature - Add support for configuring the endpoint URL in the shared configuration file or via an environment variable for a specific AWS service or all AWS services.
|
328
|
+
|
329
|
+
3.177.0 (2023-07-06)
|
330
|
+
------------------
|
331
|
+
|
332
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
333
|
+
|
334
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
335
|
+
|
336
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
337
|
+
|
338
|
+
* Feature - Add support for Request Compression.
|
339
|
+
|
340
|
+
3.176.1 (2023-06-29)
|
341
|
+
------------------
|
342
|
+
|
343
|
+
* Issue - Fix signing for S3/S3 Control and `aws-crt` gem for certain object keys (#2849).
|
344
|
+
|
345
|
+
* Issue - Ensure `SSOCredentials` `#expiration` is a `Time` (#2874)
|
346
|
+
|
347
|
+
3.176.0 (2023-06-28)
|
348
|
+
------------------
|
349
|
+
|
350
|
+
* Feature - Add :expiration accessor to `CredentialProvider` and do not refresh credentials when checking expiration (#2872).
|
351
|
+
|
352
|
+
3.175.0 (2023-06-15)
|
353
|
+
------------------
|
354
|
+
|
355
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
356
|
+
|
357
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
358
|
+
|
359
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
360
|
+
|
361
|
+
3.174.0 (2023-05-31)
|
362
|
+
------------------
|
363
|
+
|
364
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
365
|
+
|
366
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
367
|
+
|
368
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
369
|
+
|
370
|
+
* Feature - Improve User-Agent metrics tracking.
|
371
|
+
|
372
|
+
3.173.1 (2023-05-24)
|
373
|
+
------------------
|
374
|
+
|
375
|
+
* Issue - Updated `checksum_algorithm` plugin to use IO.copy_stream for JRuby.
|
376
|
+
|
377
|
+
3.173.0 (2023-05-18)
|
378
|
+
------------------
|
379
|
+
|
380
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
381
|
+
|
382
|
+
3.172.0 (2023-05-08)
|
383
|
+
------------------
|
384
|
+
|
385
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
386
|
+
|
387
|
+
* Feature - Add :region option to `Aws::Log::Formatter`.
|
388
|
+
|
389
|
+
3.171.1 (2023-05-04)
|
390
|
+
------------------
|
391
|
+
|
392
|
+
* Issue - Fix error code parsing in AWS query compatible JSON services.
|
393
|
+
|
394
|
+
3.171.0 (2023-03-22)
|
395
|
+
------------------
|
396
|
+
|
397
|
+
* Feature - Add support for `AWS_CONTAINER_CREDENTIALS_FULL_URI` and `AWS_CONTAINER_AUTHORIZATION_TOKEN` environment variables to `ECSCredentials`.
|
398
|
+
|
399
|
+
3.170.1 (2023-03-17)
|
400
|
+
------------------
|
401
|
+
|
402
|
+
* Issue - Reduce memory usage in H2::Connection when `http_wire_log` is not set.
|
403
|
+
|
404
|
+
3.170.0 (2023-01-25)
|
405
|
+
------------------
|
406
|
+
|
407
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
408
|
+
|
409
|
+
3.169.0 (2023-01-18)
|
410
|
+
------------------
|
411
|
+
|
412
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
413
|
+
|
414
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
415
|
+
|
416
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
417
|
+
|
418
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code for STS, SSO, and SSOOIDC.
|
419
|
+
|
420
|
+
3.168.4 (2022-12-08)
|
421
|
+
------------------
|
422
|
+
|
423
|
+
* Issue - Fix Sign to not sign Sigv2 requests to S3.
|
424
|
+
|
425
|
+
3.168.3 (2022-12-02)
|
426
|
+
------------------
|
427
|
+
|
428
|
+
* Issue - Retry S3's `BadDigest` error
|
429
|
+
|
430
|
+
3.168.2 (2022-11-29)
|
431
|
+
------------------
|
432
|
+
|
433
|
+
* Issue - Allow region resolution in `AssumeRoleCredentials` from `CredentialProviderChain`.
|
434
|
+
|
435
|
+
3.168.1 (2022-11-18)
|
436
|
+
------------------
|
437
|
+
|
438
|
+
* Issue - Fix initialization of SSOTokenProvider when `AWS_PROFILE` is specified.
|
439
|
+
|
440
|
+
3.168.0 (2022-11-17)
|
441
|
+
------------------
|
442
|
+
|
443
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
444
|
+
|
445
|
+
3.167.0 (2022-11-09)
|
446
|
+
------------------
|
447
|
+
|
448
|
+
* Issue - Ensure the stream_thread is not killed before H2 connection status is updated (#2779).
|
449
|
+
|
450
|
+
* Feature - Add token refresh support to `SSOCredentialProvider`.
|
451
|
+
|
452
|
+
3.166.0 (2022-10-26)
|
453
|
+
------------------
|
454
|
+
|
455
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
456
|
+
|
457
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
458
|
+
|
459
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
460
|
+
|
461
|
+
3.165.1 (2022-10-25)
|
462
|
+
------------------
|
463
|
+
|
464
|
+
* Issue - Require the SignatureV4 plugin to fix compatability with older `aws-sdk-s3` versions (#2774).
|
465
|
+
|
4
466
|
3.165.0 (2022-10-25)
|
5
467
|
------------------
|
6
468
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.201.0
|
@@ -20,7 +20,7 @@ module Aws
|
|
20
20
|
# * Globally via the "AWS_DEFAULTS_MODE" environment variable.
|
21
21
|
#
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# #defaults START - documentation
|
24
24
|
# The following `:default_mode` values are supported:
|
25
25
|
#
|
26
26
|
# * `'standard'` -
|
@@ -105,10 +105,10 @@ module Aws
|
|
105
105
|
# [2]: https://docs.aws.amazon.com/sdkref/latest/guide/setting-global-retry_mode.html
|
106
106
|
# [3]: https://docs.aws.amazon.com/sdkref/latest/guide/setting-global-sts_regional_endpoints.html
|
107
107
|
#
|
108
|
-
#
|
108
|
+
# #defaults END - documentation
|
109
109
|
module DefaultsModeConfiguration
|
110
110
|
# @api private
|
111
|
-
#
|
111
|
+
# #defaults START - configuration
|
112
112
|
SDK_DEFAULT_CONFIGURATION =
|
113
113
|
{
|
114
114
|
"version" => 1,
|
@@ -148,6 +148,6 @@ module Aws
|
|
148
148
|
}
|
149
149
|
}
|
150
150
|
}
|
151
|
-
#
|
151
|
+
# #defaults END - configuration
|
152
152
|
end
|
153
153
|
end
|
@@ -22,22 +22,16 @@ module Aws
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def attach_eventstream_listeners(context, rules)
|
25
|
-
|
26
25
|
context.http_response.on_headers(200) do
|
27
|
-
|
28
|
-
|
26
|
+
output_handler = context[:output_event_stream_handler] ||
|
27
|
+
context[:event_stream_handler]
|
29
28
|
context.http_response.body = EventStreamDecoder.new(
|
30
|
-
protocol,
|
29
|
+
context.config.protocol,
|
31
30
|
rules,
|
32
31
|
context.operation.output,
|
33
32
|
context.operation.errors,
|
34
33
|
context.http_response.body,
|
35
34
|
output_handler)
|
36
|
-
if input_emitter = context[:input_event_emitter]
|
37
|
-
# #emit will be blocked until 200 success
|
38
|
-
# see Aws::EventEmitter#emit
|
39
|
-
input_emitter.signal_queue << "ready"
|
40
|
-
end
|
41
35
|
end
|
42
36
|
|
43
37
|
context.http_response.on_success(200) do
|
@@ -10,7 +10,7 @@ module Aws
|
|
10
10
|
if eventstream_member = eventstream_input?(context)
|
11
11
|
input_es_handler = context[:input_event_stream_handler]
|
12
12
|
input_es_handler.event_emitter.encoder = EventStreamEncoder.new(
|
13
|
-
context.config.
|
13
|
+
context.config.protocol,
|
14
14
|
eventstream_member,
|
15
15
|
context.operation.input,
|
16
16
|
signer_for(context)
|
@@ -42,41 +42,39 @@ module Aws
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
|
-
#
|
46
|
-
if !explicit_payload && !implicit_payload_members.empty?
|
47
|
-
if implicit_payload_members.size > 1
|
48
|
-
payload_shape = Shapes::StructureShape.new
|
49
|
-
implicit_payload_members.each do |m_name, m_ref|
|
50
|
-
payload_shape.add_member(m_name, m_ref)
|
51
|
-
end
|
52
|
-
payload_ref = Shapes::ShapeRef.new(shape: payload_shape)
|
53
|
-
|
54
|
-
payload = build_payload_members(payload_ref, params)
|
55
|
-
else
|
56
|
-
m_name, m_ref = implicit_payload_members.first
|
57
|
-
streaming, content_type = _content_type(m_ref.shape)
|
58
|
-
|
59
|
-
es_headers[":content-type"] = Aws::EventStream::HeaderValue.new(
|
60
|
-
type: "string", value: content_type)
|
61
|
-
payload = _build_payload(streaming, m_ref, params[m_name])
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
|
45
|
+
# handle header members for all cases
|
66
46
|
event_ref.shape.members.each do |member_name, member_ref|
|
67
47
|
if member_ref.eventheader && params[member_name]
|
68
48
|
header_value = params[member_name]
|
69
49
|
es_headers[member_ref.shape.name] = Aws::EventStream::HeaderValue.new(
|
70
|
-
type:
|
50
|
+
type: header_value_type(member_ref.shape, header_value),
|
71
51
|
value: header_value
|
72
52
|
)
|
73
|
-
|
74
|
-
|
75
|
-
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
# implict payload
|
57
|
+
if !explicit_payload && !implicit_payload_members.empty?
|
58
|
+
payload_shape = StructureShape.new
|
59
|
+
implicit_payload_members.each do |m_name, m_ref|
|
60
|
+
payload_shape.add_member(m_name, m_ref)
|
61
|
+
end
|
62
|
+
payload_ref = ShapeRef.new(shape: payload_shape)
|
76
63
|
|
77
|
-
|
78
|
-
|
79
|
-
|
64
|
+
payload = build_payload_members(payload_ref, params)
|
65
|
+
.force_encoding(Encoding::BINARY)
|
66
|
+
|
67
|
+
|
68
|
+
es_headers[":content-type"] = Aws::EventStream::HeaderValue.new(
|
69
|
+
type: "string", value: content_type(payload_ref.shape))
|
70
|
+
else
|
71
|
+
# explicit payload, serialize just the payload member
|
72
|
+
event_ref.shape.members.each do |member_name, member_ref|
|
73
|
+
if member_ref.eventpayload && params[member_name]
|
74
|
+
es_headers[":content-type"] = Aws::EventStream::HeaderValue.new(
|
75
|
+
type: "string", value: content_type(member_ref.shape))
|
76
|
+
payload = params[member_name]
|
77
|
+
end
|
80
78
|
end
|
81
79
|
end
|
82
80
|
|
@@ -86,15 +84,15 @@ module Aws
|
|
86
84
|
)
|
87
85
|
end
|
88
86
|
|
89
|
-
def
|
87
|
+
def content_type(shape)
|
90
88
|
case shape
|
91
|
-
when BlobShape then
|
92
|
-
when StringShape then
|
89
|
+
when BlobShape then "application/octet-stream"
|
90
|
+
when StringShape then "text/plain"
|
93
91
|
when StructureShape then
|
94
92
|
if @serializer_class.name.include?('Xml')
|
95
|
-
|
93
|
+
"text/xml"
|
96
94
|
elsif @serializer_class.name.include?('Json')
|
97
|
-
|
95
|
+
"application/json"
|
98
96
|
end
|
99
97
|
else
|
100
98
|
raise Aws::Errors::EventStreamBuilderError.new(
|
@@ -102,7 +100,7 @@ module Aws
|
|
102
100
|
end
|
103
101
|
end
|
104
102
|
|
105
|
-
def
|
103
|
+
def header_value_type(shape, value)
|
106
104
|
case shape
|
107
105
|
when StringShape then "string"
|
108
106
|
when IntegerShape then "integer"
|
@@ -115,10 +113,9 @@ module Aws
|
|
115
113
|
end
|
116
114
|
end
|
117
115
|
|
118
|
-
def
|
119
|
-
|
116
|
+
def build_payload_members(payload_ref, params)
|
117
|
+
@serializer_class.new(payload_ref).serialize(params)
|
120
118
|
end
|
121
|
-
|
122
119
|
end
|
123
120
|
end
|
124
121
|
end
|
@@ -47,6 +47,7 @@ module Aws
|
|
47
47
|
when 'rest-xml' then Aws::Xml::Parser
|
48
48
|
when 'rest-json' then Aws::Json::Parser
|
49
49
|
when 'json' then Aws::Json::Parser
|
50
|
+
when 'smithy-rpc-v2-cbor' then Aws::RpcV2::Parser
|
50
51
|
else raise "unsupported protocol #{protocol} for event stream"
|
51
52
|
end
|
52
53
|
end
|
@@ -43,9 +43,10 @@ module Aws
|
|
43
43
|
|
44
44
|
def serializer_class(protocol)
|
45
45
|
case protocol
|
46
|
-
when 'rest-xml' then Xml::Builder
|
47
|
-
when 'rest-json' then Json::Builder
|
48
|
-
when 'json' then Json::Builder
|
46
|
+
when 'rest-xml' then Aws::Xml::Builder
|
47
|
+
when 'rest-json' then Aws::Json::Builder
|
48
|
+
when 'json' then Aws::Json::Builder
|
49
|
+
when 'smithy-rpc-v2-cbor' then Aws::RpcV2::Builder
|
49
50
|
else raise "unsupported protocol #{protocol} for event stream"
|
50
51
|
end
|
51
52
|
end
|