aws-sdk-core 3.121.1 → 3.174.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +491 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-defaults/default_configuration.rb +153 -0
  5. data/lib/aws-defaults/defaults_mode_config_resolver.rb +107 -0
  6. data/lib/aws-defaults.rb +3 -0
  7. data/lib/aws-sdk-core/arn.rb +13 -0
  8. data/lib/aws-sdk-core/assume_role_credentials.rb +21 -7
  9. data/lib/aws-sdk-core/assume_role_web_identity_credentials.rb +14 -10
  10. data/lib/aws-sdk-core/binary/encode_handler.rb +12 -1
  11. data/lib/aws-sdk-core/client_stubs.rb +5 -1
  12. data/lib/aws-sdk-core/credential_provider_chain.rb +8 -5
  13. data/lib/aws-sdk-core/ec2_metadata.rb +3 -2
  14. data/lib/aws-sdk-core/ecs_credentials.rb +121 -53
  15. data/lib/aws-sdk-core/endpoints/condition.rb +41 -0
  16. data/lib/aws-sdk-core/endpoints/endpoint.rb +17 -0
  17. data/lib/aws-sdk-core/endpoints/endpoint_rule.rb +75 -0
  18. data/lib/aws-sdk-core/endpoints/error_rule.rb +42 -0
  19. data/lib/aws-sdk-core/endpoints/function.rb +80 -0
  20. data/lib/aws-sdk-core/endpoints/matchers.rb +127 -0
  21. data/lib/aws-sdk-core/endpoints/reference.rb +31 -0
  22. data/lib/aws-sdk-core/endpoints/rule.rb +25 -0
  23. data/lib/aws-sdk-core/endpoints/rule_set.rb +52 -0
  24. data/lib/aws-sdk-core/endpoints/rules_provider.rb +37 -0
  25. data/lib/aws-sdk-core/endpoints/templater.rb +58 -0
  26. data/lib/aws-sdk-core/endpoints/tree_rule.rb +45 -0
  27. data/lib/aws-sdk-core/endpoints/url.rb +60 -0
  28. data/lib/aws-sdk-core/endpoints.rb +74 -0
  29. data/lib/aws-sdk-core/errors.rb +14 -1
  30. data/lib/aws-sdk-core/instance_profile_credentials.rb +85 -14
  31. data/lib/aws-sdk-core/json/error_handler.rb +20 -1
  32. data/lib/aws-sdk-core/log/formatter.rb +6 -0
  33. data/lib/aws-sdk-core/pageable_response.rb +81 -32
  34. data/lib/aws-sdk-core/plugins/bearer_authorization.rb +67 -0
  35. data/lib/aws-sdk-core/plugins/checksum_algorithm.rb +340 -0
  36. data/lib/aws-sdk-core/plugins/credentials_configuration.rb +27 -1
  37. data/lib/aws-sdk-core/plugins/defaults_mode.rb +40 -0
  38. data/lib/aws-sdk-core/plugins/endpoint_discovery.rb +6 -2
  39. data/lib/aws-sdk-core/plugins/http_checksum.rb +8 -1
  40. data/lib/aws-sdk-core/plugins/jsonvalue_converter.rb +34 -6
  41. data/lib/aws-sdk-core/plugins/protocols/api_gateway.rb +17 -0
  42. data/lib/aws-sdk-core/plugins/protocols/rest_json.rb +16 -1
  43. data/lib/aws-sdk-core/plugins/recursion_detection.rb +38 -0
  44. data/lib/aws-sdk-core/plugins/regional_endpoint.rb +52 -1
  45. data/lib/aws-sdk-core/plugins/response_paging.rb +1 -1
  46. data/lib/aws-sdk-core/plugins/retries/error_inspector.rb +7 -4
  47. data/lib/aws-sdk-core/plugins/retry_errors.rb +21 -5
  48. data/lib/aws-sdk-core/plugins/sign.rb +200 -0
  49. data/lib/aws-sdk-core/plugins/signature_v2.rb +1 -0
  50. data/lib/aws-sdk-core/plugins/signature_v4.rb +28 -31
  51. data/lib/aws-sdk-core/plugins/stub_responses.rb +5 -1
  52. data/lib/aws-sdk-core/plugins/user_agent.rb +117 -14
  53. data/lib/aws-sdk-core/process_credentials.rb +9 -11
  54. data/lib/aws-sdk-core/refreshing_credentials.rb +42 -11
  55. data/lib/aws-sdk-core/refreshing_token.rb +71 -0
  56. data/lib/aws-sdk-core/rest/handler.rb +1 -1
  57. data/lib/aws-sdk-core/rest/request/body.rb +19 -1
  58. data/lib/aws-sdk-core/rest/request/headers.rb +14 -6
  59. data/lib/aws-sdk-core/rest/response/headers.rb +3 -1
  60. data/lib/aws-sdk-core/shared_config.rb +82 -12
  61. data/lib/aws-sdk-core/sso_credentials.rb +91 -50
  62. data/lib/aws-sdk-core/sso_token_provider.rb +135 -0
  63. data/lib/aws-sdk-core/static_token_provider.rb +14 -0
  64. data/lib/aws-sdk-core/structure.rb +6 -4
  65. data/lib/aws-sdk-core/token.rb +31 -0
  66. data/lib/aws-sdk-core/token_provider.rb +15 -0
  67. data/lib/aws-sdk-core/token_provider_chain.rb +51 -0
  68. data/lib/aws-sdk-core/waiters/poller.rb +3 -1
  69. data/lib/aws-sdk-core/xml/error_handler.rb +7 -0
  70. data/lib/aws-sdk-core/xml/parser/engines/oga.rb +2 -0
  71. data/lib/aws-sdk-core/xml/parser/engines/ox.rb +1 -1
  72. data/lib/aws-sdk-core.rb +20 -0
  73. data/lib/aws-sdk-sso/client.rb +82 -15
  74. data/lib/aws-sdk-sso/endpoint_parameters.rb +66 -0
  75. data/lib/aws-sdk-sso/endpoint_provider.rb +51 -0
  76. data/lib/aws-sdk-sso/endpoints.rb +71 -0
  77. data/lib/aws-sdk-sso/plugins/endpoints.rb +76 -0
  78. data/lib/aws-sdk-sso/types.rb +8 -43
  79. data/lib/aws-sdk-sso.rb +5 -1
  80. data/lib/aws-sdk-ssooidc/client.rb +611 -0
  81. data/lib/aws-sdk-ssooidc/client_api.rb +216 -0
  82. data/lib/aws-sdk-ssooidc/customizations.rb +1 -0
  83. data/lib/aws-sdk-ssooidc/endpoint_parameters.rb +66 -0
  84. data/lib/aws-sdk-ssooidc/endpoint_provider.rb +51 -0
  85. data/lib/aws-sdk-ssooidc/endpoints.rb +57 -0
  86. data/lib/aws-sdk-ssooidc/errors.rb +290 -0
  87. data/lib/aws-sdk-ssooidc/plugins/endpoints.rb +74 -0
  88. data/lib/aws-sdk-ssooidc/resource.rb +26 -0
  89. data/lib/aws-sdk-ssooidc/types.rb +502 -0
  90. data/lib/aws-sdk-ssooidc.rb +59 -0
  91. data/lib/aws-sdk-sts/client.rb +377 -361
  92. data/lib/aws-sdk-sts/endpoint_parameters.rb +78 -0
  93. data/lib/aws-sdk-sts/endpoint_provider.rb +112 -0
  94. data/lib/aws-sdk-sts/endpoints.rb +135 -0
  95. data/lib/aws-sdk-sts/plugins/endpoints.rb +84 -0
  96. data/lib/aws-sdk-sts/plugins/sts_regional_endpoints.rb +5 -1
  97. data/lib/aws-sdk-sts/presigner.rb +13 -9
  98. data/lib/aws-sdk-sts/types.rb +127 -225
  99. data/lib/aws-sdk-sts.rb +5 -1
  100. data/lib/seahorse/client/async_base.rb +0 -1
  101. data/lib/seahorse/client/configuration.rb +6 -2
  102. data/lib/seahorse/client/h2/connection.rb +12 -11
  103. data/lib/seahorse/client/net_http/connection_pool.rb +7 -0
  104. data/lib/seahorse/client/net_http/handler.rb +15 -7
  105. data/lib/seahorse/client/net_http/patches.rb +16 -0
  106. data/lib/seahorse/client/plugins/content_length.rb +11 -5
  107. data/lib/seahorse/client/plugins/net_http.rb +33 -2
  108. data/lib/seahorse/client/plugins/request_callback.rb +9 -9
  109. data/lib/seahorse/model/operation.rb +3 -0
  110. data/lib/seahorse/util.rb +4 -0
  111. metadata +61 -9
  112. data/lib/aws-sdk-sso/plugins/content_type.rb +0 -25
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6045e01344ede12d88ef25ca9815ce3b267a0b08335e9f97753e5fd357f05a83
4
- data.tar.gz: f0e783887c602e49acfa7837f0434a39936b786325846553e5db075f4c48b416
3
+ metadata.gz: d4ecec9eaf3fee0d30bdd88558775c3553537df9dfd3fe4f62b694cba78b7991
4
+ data.tar.gz: f99bff124648f74105f216af8de264e71151357a4ec645531d5c59dcfc696ef9
5
5
  SHA512:
6
- metadata.gz: 9ffa8d2716f3ecc99d5d52139811ef43d82250350be7b8db687bfa9cc25c8d046be6102f62dce196e9b85394c0b0c1db9df8356ff106c793ab232118e26682b2
7
- data.tar.gz: 3c14caf81ef5425d0d5ee7f1b1d3f1dab3df5dfdb5673cbbe023120cef954fde6cdbf26e52cfcf74a62ef3863d14cf5d3dad6105007fc15960f8e60ab5b2a1a9
6
+ metadata.gz: 2753ea337d9adde1dab3fbe9d72fbb3f31e9a8061e1a7be017f0eb48a1b56958edd03f8b84c2d634ff10254e4a7a565b40163739497420d5171affd6c880600f
7
+ data.tar.gz: 767e58ebbbf1f3e95e835f86cffda3bc4ed9ba99f5fdc663fcb65c0996f15df918f30a6f27b8cf70b2c888a4dc315c9338c717508bc98f5e75b3f3568ff7a00b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,497 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 3.174.0 (2023-05-31)
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 - Improve User-Agent metrics tracking.
14
+
15
+ 3.173.1 (2023-05-24)
16
+ ------------------
17
+
18
+ * Issue - Updated `checksum_algorithm` plugin to use IO.copy_stream for JRuby.
19
+
20
+ 3.173.0 (2023-05-18)
21
+ ------------------
22
+
23
+ * Feature - Updated Aws::STS::Client with the latest API changes.
24
+
25
+ 3.172.0 (2023-05-08)
26
+ ------------------
27
+
28
+ * Feature - Updated Aws::STS::Client with the latest API changes.
29
+
30
+ * Feature - Add :region option to `Aws::Log::Formatter`.
31
+
32
+ 3.171.1 (2023-05-04)
33
+ ------------------
34
+
35
+ * Issue - Fix error code parsing in AWS query compatible JSON services.
36
+
37
+ 3.171.0 (2023-03-22)
38
+ ------------------
39
+
40
+ * Feature - Add support for `AWS_CONTAINER_CREDENTIALS_FULL_URI` and `AWS_CONTAINER_AUTHORIZATION_TOKEN` environment variables to `ECSCredentials`.
41
+
42
+ 3.170.1 (2023-03-17)
43
+ ------------------
44
+
45
+ * Issue - Reduce memory usage in H2::Connection when `http_wire_log` is not set.
46
+
47
+ 3.170.0 (2023-01-25)
48
+ ------------------
49
+
50
+ * Feature - Updated Aws::STS::Client with the latest API changes.
51
+
52
+ 3.169.0 (2023-01-18)
53
+ ------------------
54
+
55
+ * Feature - Updated Aws::STS::Client with the latest API changes.
56
+
57
+ * Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
58
+
59
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
60
+
61
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code for STS, SSO, and SSOOIDC.
62
+
63
+ 3.168.4 (2022-12-08)
64
+ ------------------
65
+
66
+ * Issue - Fix Sign to not sign Sigv2 requests to S3.
67
+
68
+ 3.168.3 (2022-12-02)
69
+ ------------------
70
+
71
+ * Issue - Retry S3's `BadDigest` error
72
+
73
+ 3.168.2 (2022-11-29)
74
+ ------------------
75
+
76
+ * Issue - Allow region resolution in `AssumeRoleCredentials` from `CredentialProviderChain`.
77
+
78
+ 3.168.1 (2022-11-18)
79
+ ------------------
80
+
81
+ * Issue - Fix initialization of SSOTokenProvider when `AWS_PROFILE` is specified.
82
+
83
+ 3.168.0 (2022-11-17)
84
+ ------------------
85
+
86
+ * Feature - Updated Aws::STS::Client with the latest API changes.
87
+
88
+ 3.167.0 (2022-11-09)
89
+ ------------------
90
+
91
+ * Issue - Ensure the stream_thread is not killed before H2 connection status is updated (#2779).
92
+
93
+ * Feature - Add token refresh support to `SSOCredentialProvider`.
94
+
95
+ 3.166.0 (2022-10-26)
96
+ ------------------
97
+
98
+ * Feature - Updated Aws::STS::Client with the latest API changes.
99
+
100
+ * Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
101
+
102
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
103
+
104
+ 3.165.1 (2022-10-25)
105
+ ------------------
106
+
107
+ * Issue - Require the SignatureV4 plugin to fix compatability with older `aws-sdk-s3` versions (#2774).
108
+
109
+ 3.165.0 (2022-10-25)
110
+ ------------------
111
+
112
+ * Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
113
+
114
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
115
+
116
+ * Feature - Add support for service gems to dynamically determine their own endpoints via modeling. Service gems now generate a plugin called "Endpoints" that defines configuration for EndpointProvider, a new public type, and any client config related to endpoints. Endpoint providers will resolve values using another new public type, Endpoint Parameters, generated for each service. The plugin will use the endpoint provider to resolve an endpoint and then apply it to the request prior to serialization. Endpoint providers can be composed to change endpoint resolution logic, i.e. for testing. In addition to endpoints, the endpoint provider may also override the authentication scheme (auth scheme) which details how the request should be signed for the endpoint. A new "Sign" plugin in core replaces the SignatureV4 plugin that will generically sign any type of auth scheme that a service might have.
117
+
118
+ 3.164.0 (2022-10-21)
119
+ ------------------
120
+
121
+ * Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
122
+
123
+ 3.163.0 (2022-10-20)
124
+ ------------------
125
+
126
+ * Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
127
+
128
+ 3.162.0 (2022-10-19)
129
+ ------------------
130
+
131
+ * Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
132
+
133
+ 3.161.0 (2022-10-18)
134
+ ------------------
135
+
136
+ * Feature - Support AwsQueryCompatible trait to read error code from x-amzn-query-error header.
137
+
138
+ 3.160.0 (2022-10-13)
139
+ ------------------
140
+
141
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
142
+
143
+ 3.159.0 (2022-10-07)
144
+ ------------------
145
+
146
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
147
+
148
+ 3.158.1 (2022-10-06)
149
+ ------------------
150
+
151
+ * Issue - Ensure that the ReadCallbackIO is always unwrapped (#2761).
152
+
153
+ 3.158.0 (2022-09-30)
154
+ ------------------
155
+
156
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
157
+
158
+ 3.157.0 (2022-09-29)
159
+ ------------------
160
+
161
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
162
+
163
+ 3.156.0 (2022-09-27)
164
+ ------------------
165
+
166
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
167
+
168
+ 3.155.0 (2022-09-26)
169
+ ------------------
170
+
171
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
172
+
173
+ 3.154.0 (2022-09-23)
174
+ ------------------
175
+
176
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
177
+
178
+ 3.153.0 (2022-09-22)
179
+ ------------------
180
+
181
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
182
+
183
+ 3.152.0 (2022-09-21)
184
+ ------------------
185
+
186
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
187
+
188
+ 3.151.0 (2022-09-20)
189
+ ------------------
190
+
191
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
192
+
193
+ 3.150.0 (2022-09-19)
194
+ ------------------
195
+
196
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
197
+
198
+ 3.149.0 (2022-09-16)
199
+ ------------------
200
+
201
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
202
+
203
+ 3.148.0 (2022-09-15)
204
+ ------------------
205
+
206
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
207
+
208
+ 3.147.0 (2022-09-14)
209
+ ------------------
210
+
211
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
212
+
213
+ 3.146.0 (2022-09-13)
214
+ ------------------
215
+
216
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
217
+
218
+ 3.145.0 (2022-09-12)
219
+ ------------------
220
+
221
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
222
+
223
+ 3.144.0 (2022-09-09)
224
+ ------------------
225
+
226
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
227
+
228
+ 3.143.0 (2022-09-08)
229
+ ------------------
230
+
231
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
232
+
233
+ 3.142.0 (2022-09-07)
234
+ ------------------
235
+
236
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
237
+
238
+ 3.141.0 (2022-09-06)
239
+ ------------------
240
+
241
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
242
+
243
+ 3.140.0 (2022-09-02)
244
+ ------------------
245
+
246
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
247
+
248
+ 3.139.0 (2022-09-01)
249
+ ------------------
250
+
251
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
252
+
253
+ 3.138.0 (2022-08-31)
254
+ ------------------
255
+
256
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
257
+
258
+ 3.137.0 (2022-08-30)
259
+ ------------------
260
+
261
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
262
+
263
+ * Issue - Fix errors in recursion detection when `_X_AMZN_TRACE_ID` is unset (#2748).
264
+
265
+ 3.136.0 (2022-08-25)
266
+ ------------------
267
+
268
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
269
+
270
+ * Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
271
+
272
+ 3.135.0 (2022-08-24)
273
+ ------------------
274
+
275
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
276
+
277
+ 3.134.0 (2022-08-23)
278
+ ------------------
279
+
280
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
281
+
282
+ * Feature - Add support for Bearer Token Authentication and TokenProviders.
283
+
284
+ * Issue - Validate that `_X_AMZN_TRACE_ID` ENV value contains only valid, non-control characters.
285
+
286
+ 3.133.0 (2022-08-22)
287
+ ------------------
288
+
289
+ * Feature - Moved functionality from `aws-sdk-ssooidc` into core.
290
+
291
+ 3.132.0 (2022-08-08)
292
+ ------------------
293
+
294
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
295
+
296
+ 3.131.6 (2022-08-03)
297
+ ------------------
298
+
299
+ * Issue - Fix typo in `RecursionDetection`, change amz to amzn in header and env name.
300
+
301
+ 3.131.5 (2022-07-28)
302
+ ------------------
303
+
304
+ * Issue - Fix `to_json` usage in nested hashes by defining `as_json` (#2733).
305
+
306
+ 3.131.4 (2022-07-27)
307
+ ------------------
308
+
309
+ * Issue - Fix `to_json` usage on pageable responses when using Rails (#2733).
310
+ * Issue - Use `expand_path` on credential/config paths in SharedConfig (#2735).
311
+
312
+ 3.131.3 (2022-07-18)
313
+ ------------------
314
+
315
+ * Issue - Add support for serializing shapes on the body with `jsonvalue` members.
316
+
317
+ 3.131.2 (2022-06-20)
318
+ ------------------
319
+
320
+ * Issue - Populate context :request_id for XML error responses.
321
+
322
+ 3.131.1 (2022-05-20)
323
+ ------------------
324
+
325
+ * Issue - Bump the minimum version of `jmespath` dependency.
326
+
327
+ 3.131.0 (2022-05-16)
328
+ ------------------
329
+
330
+ * Feature - Updated Aws::STS::Client with the latest API changes.
331
+
332
+ 3.130.2 (2022-04-22)
333
+ ------------------
334
+
335
+ * Issue - Don't pass `:before_refresh` to Client constructors in RefreshingCredential implementations (#2690).
336
+
337
+ 3.130.1 (2022-04-12)
338
+ ------------------
339
+
340
+ * Issue - Don't call `refresh!` on non-refreshable `Credentials` when retrying errors (#2685).
341
+
342
+ 3.130.0 (2022-03-11)
343
+ ------------------
344
+
345
+ * Feature - Asynchronously refresh AWS credentials (#2641).
346
+
347
+ * Issue - Add x-amz-region-set to list of headers deleted for re-sign.
348
+
349
+ 3.129.1 (2022-03-10)
350
+ ------------------
351
+
352
+ * Issue - Make stubs thread safe by creating new responses for each operation call (#2675).
353
+
354
+ 3.129.0 (2022-03-08)
355
+ ------------------
356
+
357
+ * Feature - Add support for cases when `InstanceProfileCredentials` (IMDS) is unable to refresh credentials.
358
+
359
+ 3.128.1 (2022-03-07)
360
+ ------------------
361
+
362
+ * Issue - Fixed `Aws::PageableResponse` invalidating Ruby's global constant cache.
363
+
364
+ 3.128.0 (2022-03-04)
365
+ ------------------
366
+
367
+ * Feature - Updated Aws::STS::Client with the latest API changes.
368
+
369
+ 3.127.0 (2022-02-24)
370
+ ------------------
371
+
372
+ * Feature - Updated Aws::STS::Client with the latest API changes.
373
+
374
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
375
+
376
+ * Feature - Support `HttpChecksum` trait for requests and responses.
377
+
378
+ 3.126.2 (2022-02-16)
379
+ ------------------
380
+
381
+ * Issue - Add a before_refresh callback to AssumeRoleCredentials (#2529).
382
+ * Issue - Raise a `NoSuchProfileError` when config and credentials files don't exist.
383
+
384
+ 3.126.1 (2022-02-14)
385
+ ------------------
386
+
387
+ * Issue - Set `create_time` on IMDS tokens before fetch to reduce chance of using expired tokens and retry failures due to using expired tokens.
388
+
389
+ 3.126.0 (2022-02-03)
390
+ ------------------
391
+
392
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
393
+
394
+ * Feature - Add support for recursion detection.
395
+
396
+ 3.125.6 (2022-02-02)
397
+ ------------------
398
+
399
+ * Issue - Ensure default message for ServiceError is a string (#2643).
400
+
401
+ 3.125.5 (2022-01-19)
402
+ ------------------
403
+
404
+ * Issue - Correctly serialize empty header lists.
405
+
406
+ 3.125.4 (2022-01-18)
407
+ ------------------
408
+
409
+ * Issue - Add `InternalError` to `ErrorInspector` for S3 errors.
410
+
411
+
412
+ 3.125.3 (2022-01-12)
413
+ ------------------
414
+
415
+ * Issue - Add `ExpiredTokenException` to `ErrorInspector` for Kinesis errors.
416
+
417
+ 3.125.2 (2022-01-10)
418
+ ------------------
419
+
420
+ * Issue - Correctly serialize lists of strings in headers with quotes and commas.
421
+
422
+ 3.125.1 (2022-01-04)
423
+ ------------------
424
+
425
+ * Issue - Parse a response with consecutive spaces correctly when ox is used as the XML parser.
426
+
427
+ 3.125.0 (2021-12-21)
428
+ ------------------
429
+
430
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
431
+
432
+ * Feature - Add `:defaults_mode` configuration - that determines how certain default configuration options are resolved in the SDK.
433
+
434
+ 3.124.0 (2021-11-30)
435
+ ------------------
436
+
437
+ * Feature - Updated Aws::STS::Client with the latest API changes.
438
+
439
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
440
+
441
+ 3.123.0 (2021-11-23)
442
+ ------------------
443
+
444
+ * Feature - Updated Aws::STS::Client with the latest API changes.
445
+
446
+ 3.122.1 (2021-11-09)
447
+ ------------------
448
+
449
+ * Issue - Correctly serialize/deserialize header lists.
450
+
451
+ 3.122.0 (2021-11-04)
452
+ ------------------
453
+
454
+ * Feature - Updated Aws::STS::Client with the latest API changes.
455
+
456
+ * Feature - Updated Aws::SSO::Client with the latest API changes.
457
+
458
+ * Issue - Fix parsing of ISO8601 timestamps with millisecond precision in headers.
459
+
460
+ * Feature - Support modeled dualstack endpoints. It can be configured with shared configuration (`use_dualstack_endpoint`), an ENV variable (`AWS_USE_DUALSTACK_ENDPOINT`), and a constructor option (`:use_dualstack_endpoint`). Requests made to services without a dualstack endpoint will fail.
461
+
462
+ * Feature - Support modeled fips endpoints. It can be configured with shared configuration (`use_fips_endpoint`), an ENV variable (`AWS_USE_FIPS_ENDPOINT`), and a constructor option (`:use_fips_endpoint`). Requests made to services without a fips endpoint will fail.
463
+
464
+ 3.121.6 (2021-11-02)
465
+ ------------------
466
+
467
+ * Issue - Improve `SSOCredentials` error handling when profile file does not exist (#2605)
468
+
469
+ 3.121.5 (2021-10-29)
470
+ ------------------
471
+
472
+ * Issue - bump minimum version of `aws-partitions` (#2603).
473
+
474
+ 3.121.4 (2021-10-28)
475
+ ------------------
476
+
477
+ * Issue - This version has been yanked. (#2603).
478
+
479
+ * Issue - use the `EndpointProvider` to lookup signing region and name.
480
+
481
+ 3.121.3 (2021-10-20)
482
+ ------------------
483
+
484
+ * Issue - Use endpointPrefix when looking up the `signing_region` from the `EndpointProvider`.
485
+
486
+ 3.121.2 (2021-10-18)
487
+ ------------------
488
+
489
+ * Issue - Fix an issue where Rest JSON services do not have a `Content-Type` header.
490
+
491
+ * Issue - Remove blank `Content-Type` header from Net::HTTP handler, and prevent a default from being set.
492
+
493
+ * Issue - Set `Content-Length` only for HTTP methods that take a body.
494
+
4
495
  3.121.1 (2021-09-24)
5
496
  ------------------
6
497
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.121.1
1
+ 3.174.0
@@ -0,0 +1,153 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'defaults_mode_config_resolver'
4
+
5
+ module Aws
6
+
7
+ # A defaults mode determines how certain default configuration options are resolved in the SDK.
8
+ #
9
+ # *Note*: For any mode other than `'legacy'` the vended default values might change as best practices may
10
+ # evolve. As a result, it is encouraged to perform testing when upgrading the SDK if you are using a mode other than
11
+ # `'legacy'`. While the `'legacy'` defaults mode is specific to Ruby,
12
+ # other modes are standardized across all of the AWS SDKs.
13
+ #
14
+ # The defaults mode can be configured:
15
+ #
16
+ # * Directly on a client via `:defaults_mode`
17
+ #
18
+ # * On a configuration profile via the "defaults_mode" profile file property.
19
+ #
20
+ # * Globally via the "AWS_DEFAULTS_MODE" environment variable.
21
+ #
22
+ #
23
+ # @code_generation START - documentation
24
+ # The following `:default_mode` values are supported:
25
+ #
26
+ # * `'standard'` -
27
+ # The STANDARD mode provides the latest recommended default values
28
+ # that should be safe to run in most scenarios
29
+ #
30
+ # Note that the default values vended from this mode might change as
31
+ # best practices may evolve. As a result, it is encouraged to perform
32
+ # tests when upgrading the SDK
33
+ #
34
+ # * `'in-region'` -
35
+ # The IN\_REGION mode builds on the standard mode and includes
36
+ # optimization tailored for applications which call AWS services from
37
+ # within the same AWS region
38
+ #
39
+ # Note that the default values vended from this mode might change as
40
+ # best practices may evolve. As a result, it is encouraged to perform
41
+ # tests when upgrading the SDK
42
+ #
43
+ # * `'cross-region'` -
44
+ # The CROSS\_REGION mode builds on the standard mode and includes
45
+ # optimization tailored for applications which call AWS services in a
46
+ # different region
47
+ #
48
+ # Note that the default values vended from this mode might change as
49
+ # best practices may evolve. As a result, it is encouraged to perform
50
+ # tests when upgrading the SDK
51
+ #
52
+ # * `'mobile'` -
53
+ # The MOBILE mode builds on the standard mode and includes
54
+ # optimization tailored for mobile applications
55
+ #
56
+ # Note that the default values vended from this mode might change as
57
+ # best practices may evolve. As a result, it is encouraged to perform
58
+ # tests when upgrading the SDK
59
+ #
60
+ # * `'auto'` -
61
+ # The AUTO mode is an experimental mode that builds on the standard
62
+ # mode. The SDK will attempt to discover the execution environment to
63
+ # determine the appropriate settings automatically.
64
+ #
65
+ # Note that the auto detection is heuristics-based and does not
66
+ # guarantee 100% accuracy. STANDARD mode will be used if the execution
67
+ # environment cannot be determined. The auto detection might query
68
+ # [EC2 Instance Metadata service][1], which might introduce latency.
69
+ # Therefore we recommend choosing an explicit defaults\_mode instead
70
+ # if startup latency is critical to your application
71
+ #
72
+ # * `'legacy'` -
73
+ # The LEGACY mode provides default settings that vary per SDK and were
74
+ # used prior to establishment of defaults\_mode
75
+ #
76
+ # Based on the provided mode, the SDK will vend sensible default values
77
+ # tailored to the mode for the following settings:
78
+ #
79
+ # * `:retry_mode` -
80
+ # A retry mode specifies how the SDK attempts retries. See [Retry
81
+ # Mode][2]
82
+ #
83
+ # * `:sts_regional_endpoints` -
84
+ # Specifies how the SDK determines the AWS service endpoint that it
85
+ # uses to talk to the AWS Security Token Service (AWS STS). See
86
+ # [Setting STS Regional endpoints][3]
87
+ #
88
+ # * `:s3_us_east_1_regional_endpoint` -
89
+ # Specifies how the SDK determines the AWS service endpoint that it
90
+ # uses to talk to the Amazon S3 for the us-east-1 region
91
+ #
92
+ # * `:http_open_timeout` -
93
+ # The amount of time after making an initial connection attempt on a
94
+ # socket, where if the client does not receive a completion of the
95
+ # connect handshake, the client gives up and fails the operation
96
+ #
97
+ # * `:ssl_timeout` -
98
+ # The maximum amount of time that a TLS handshake is allowed to take
99
+ # from the time the CLIENT HELLO message is sent to ethe time the
100
+ # client and server have fully negotiated ciphers and exchanged keys
101
+ #
102
+ # All options above can be configured by users, and the overridden value will take precedence.
103
+ #
104
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
105
+ # [2]: https://docs.aws.amazon.com/sdkref/latest/guide/setting-global-retry_mode.html
106
+ # [3]: https://docs.aws.amazon.com/sdkref/latest/guide/setting-global-sts_regional_endpoints.html
107
+ #
108
+ # @code_generation END - documentation
109
+ module DefaultsModeConfiguration
110
+ # @api private
111
+ # @code_generation START - configuration
112
+ SDK_DEFAULT_CONFIGURATION =
113
+ {
114
+ "version" => 1,
115
+ "base" => {
116
+ "retryMode" => "standard",
117
+ "stsRegionalEndpoints" => "regional",
118
+ "s3UsEast1RegionalEndpoints" => "regional",
119
+ "connectTimeoutInMillis" => 1100,
120
+ "tlsNegotiationTimeoutInMillis" => 1100
121
+ },
122
+ "modes" => {
123
+ "standard" => {
124
+ "connectTimeoutInMillis" => {
125
+ "override" => 3100
126
+ },
127
+ "tlsNegotiationTimeoutInMillis" => {
128
+ "override" => 3100
129
+ }
130
+ },
131
+ "in-region" => {
132
+ },
133
+ "cross-region" => {
134
+ "connectTimeoutInMillis" => {
135
+ "override" => 3100
136
+ },
137
+ "tlsNegotiationTimeoutInMillis" => {
138
+ "override" => 3100
139
+ }
140
+ },
141
+ "mobile" => {
142
+ "connectTimeoutInMillis" => {
143
+ "override" => 30000
144
+ },
145
+ "tlsNegotiationTimeoutInMillis" => {
146
+ "override" => 30000
147
+ }
148
+ }
149
+ }
150
+ }
151
+ # @code_generation END - configuration
152
+ end
153
+ end