aws-sdk-core 3.160.0 → 3.162.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 +13 -2
- data/VERSION +1 -1
- data/lib/aws-sdk-core/json/error_handler.rb +10 -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
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fda760dcdb06c32732cd92f6a5ded7340847d216daca72df8cc6fcd7fad9b0d3
|
|
4
|
+
data.tar.gz: ed03ffe5a849491e5a32cc3f57c781383cbeabf2e53fc987cca3453593c3b698
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c767cc2bb335e81d359b495fda8d3622a0d9605dcbc32a9a85032052ba4a02e105619a68cecd59b40ca5c2960402730c5156afb575f8582177fbccdfe38035ed
|
|
7
|
+
data.tar.gz: '0486ef65173a1f0cfba915c21749d163087ba26a0c0a56ae385e9335a1784c6fc8e142233c92dbdc388b874d43dac150b676ea89c70686263f756514e8c53e71'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
3.162.0 (2022-10-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
|
8
|
+
|
|
9
|
+
3.161.0 (2022-10-18)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Support AwsQueryCompatible trait to read error code from x-amzn-query-error header.
|
|
13
|
+
|
|
4
14
|
3.160.0 (2022-10-13)
|
|
5
15
|
------------------
|
|
6
16
|
|
|
@@ -14,7 +24,7 @@ Unreleased Changes
|
|
|
14
24
|
3.158.1 (2022-10-06)
|
|
15
25
|
------------------
|
|
16
26
|
|
|
17
|
-
* Issue - Ensure that the ReadCallbackIO is always unwrapped (#2761).
|
|
27
|
+
* Issue - Ensure that the ReadCallbackIO is always unwrapped (#2761).
|
|
18
28
|
|
|
19
29
|
3.158.0 (2022-09-30)
|
|
20
30
|
------------------
|
|
@@ -144,12 +154,13 @@ Unreleased Changes
|
|
|
144
154
|
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
|
145
155
|
|
|
146
156
|
* Feature - Add support for Bearer Token Authentication and TokenProviders.
|
|
157
|
+
|
|
147
158
|
* Issue - Validate that `_X_AMZN_TRACE_ID` ENV value contains only valid, non-control characters.
|
|
148
159
|
|
|
149
160
|
3.133.0 (2022-08-22)
|
|
150
161
|
------------------
|
|
151
162
|
|
|
152
|
-
* Feature - Moved functionality from `aws-sdk-
|
|
163
|
+
* Feature - Moved functionality from `aws-sdk-ssooidc` into core.
|
|
153
164
|
|
|
154
165
|
3.132.0 (2022-08-08)
|
|
155
166
|
------------------
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.162.0
|
|
@@ -26,7 +26,11 @@ module Aws
|
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
def error_code(json, context)
|
|
29
|
-
code =
|
|
29
|
+
code = if aws_query_error?(context)
|
|
30
|
+
context.http_response.headers['x-amzn-query-error'].split(';')[0]
|
|
31
|
+
else
|
|
32
|
+
json['__type']
|
|
33
|
+
end
|
|
30
34
|
code ||= json['code']
|
|
31
35
|
code ||= context.http_response.headers['x-amzn-errortype']
|
|
32
36
|
if code
|
|
@@ -36,6 +40,11 @@ module Aws
|
|
|
36
40
|
end
|
|
37
41
|
end
|
|
38
42
|
|
|
43
|
+
def aws_query_error?(context)
|
|
44
|
+
context.config.api.metadata['awsQueryCompatible'] &&
|
|
45
|
+
context.http_response.headers['x-amzn-query-error']
|
|
46
|
+
end
|
|
47
|
+
|
|
39
48
|
def error_message(code, json)
|
|
40
49
|
if code == 'RequestEntityTooLarge'
|
|
41
50
|
'Request body must be less than 1 MB'
|
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
|
@@ -2299,7 +2299,7 @@ module Aws::STS
|
|
|
2299
2299
|
params: params,
|
|
2300
2300
|
config: config)
|
|
2301
2301
|
context[:gem_name] = 'aws-sdk-core'
|
|
2302
|
-
context[:gem_version] = '3.
|
|
2302
|
+
context[:gem_version] = '3.162.0'
|
|
2303
2303
|
Seahorse::Client::Request.new(handlers, context)
|
|
2304
2304
|
end
|
|
2305
2305
|
|
data/lib/aws-sdk-sts.rb
CHANGED
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.162.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: 2022-10-
|
|
11
|
+
date: 2022-10-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jmespath
|