aws-sdk-core 3.160.0 → 3.163.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f34212034338f257652b55b099b6685cfbea0e44646c3ef8339be579297fb418
4
- data.tar.gz: 582f8d577a8d2b2c271ab8144489b7322219671bbca2448eb69b21f18c19dd5e
3
+ metadata.gz: aa37e2c252c1011c01a94fe281610b25594b85376a291360b615a9fd9678a540
4
+ data.tar.gz: 263f98339bb11b3b21e54bc2d841a1d72c1bd20f6af589192b6277660a0e299e
5
5
  SHA512:
6
- metadata.gz: 987250246fffa11d7f54844a3d63378ea54c4686b8c414c1d4d47840375c0381f42469647139df124efcf5c022a8ba61302c0c580128e005e6469ce35dcca879
7
- data.tar.gz: f1a8337d8af92abb9a1b35011d058b3e5beabed32960cdd8d46e28a63cccb786ae1c8c7937262fb3b39654c0295e7603e4303e47708dcf5512c59a123555567c
6
+ metadata.gz: 7b112268cb6885f5e2a227c9dd16f4469b12511e5d618b7c1fc29c31099d347a9a9a665002246e062efaf618c21c7878b7398d771265818536aa92678a7fc249
7
+ data.tar.gz: d2ea944418f0174b811ade40f75bca442ed1827562f7b7f60ea551d2443140151ab90278decf039e851deaed7b05426d637f1e7f49ebff3e797132b685c4e668
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 3.163.0 (2022-10-20)
5
+ ------------------
6
+
7
+ * Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
8
+
9
+ 3.162.0 (2022-10-19)
10
+ ------------------
11
+
12
+ * Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
13
+
14
+ 3.161.0 (2022-10-18)
15
+ ------------------
16
+
17
+ * Feature - Support AwsQueryCompatible trait to read error code from x-amzn-query-error header.
18
+
4
19
  3.160.0 (2022-10-13)
5
20
  ------------------
6
21
 
@@ -14,7 +29,7 @@ Unreleased Changes
14
29
  3.158.1 (2022-10-06)
15
30
  ------------------
16
31
 
17
- * Issue - Ensure that the ReadCallbackIO is always unwrapped (#2761).
32
+ * Issue - Ensure that the ReadCallbackIO is always unwrapped (#2761).
18
33
 
19
34
  3.158.0 (2022-09-30)
20
35
  ------------------
@@ -144,12 +159,13 @@ Unreleased Changes
144
159
  * Feature - Updated Aws::SSO::Client with the latest API changes.
145
160
 
146
161
  * Feature - Add support for Bearer Token Authentication and TokenProviders.
162
+
147
163
  * Issue - Validate that `_X_AMZN_TRACE_ID` ENV value contains only valid, non-control characters.
148
164
 
149
165
  3.133.0 (2022-08-22)
150
166
  ------------------
151
167
 
152
- * Feature - Moved functionality from `aws-sdk-ssoidc` into core.
168
+ * Feature - Moved functionality from `aws-sdk-ssooidc` into core.
153
169
 
154
170
  3.132.0 (2022-08-08)
155
171
  ------------------
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.160.0
1
+ 3.163.0
@@ -26,7 +26,11 @@ module Aws
26
26
  end
27
27
 
28
28
  def error_code(json, context)
29
- code = json['__type']
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'
@@ -568,7 +568,7 @@ module Aws::SSO
568
568
  params: params,
569
569
  config: config)
570
570
  context[:gem_name] = 'aws-sdk-core'
571
- context[:gem_version] = '3.160.0'
571
+ context[:gem_version] = '3.163.0'
572
572
  Seahorse::Client::Request.new(handlers, context)
573
573
  end
574
574
 
data/lib/aws-sdk-sso.rb CHANGED
@@ -50,6 +50,6 @@ require_relative 'aws-sdk-sso/customizations'
50
50
  # @!group service
51
51
  module Aws::SSO
52
52
 
53
- GEM_VERSION = '3.160.0'
53
+ GEM_VERSION = '3.163.0'
54
54
 
55
55
  end
@@ -564,7 +564,7 @@ module Aws::SSOOIDC
564
564
  params: params,
565
565
  config: config)
566
566
  context[:gem_name] = 'aws-sdk-core'
567
- context[:gem_version] = '3.159.0'
567
+ context[:gem_version] = '3.162.0'
568
568
  Seahorse::Client::Request.new(handlers, context)
569
569
  end
570
570
 
@@ -50,6 +50,6 @@ require_relative 'aws-sdk-ssooidc/customizations'
50
50
  # @!group service
51
51
  module Aws::SSOOIDC
52
52
 
53
- GEM_VERSION = '3.159.0'
53
+ GEM_VERSION = '3.162.0'
54
54
 
55
55
  end
@@ -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.160.0'
2302
+ context[:gem_version] = '3.163.0'
2303
2303
  Seahorse::Client::Request.new(handlers, context)
2304
2304
  end
2305
2305
 
data/lib/aws-sdk-sts.rb CHANGED
@@ -50,6 +50,6 @@ require_relative 'aws-sdk-sts/customizations'
50
50
  # @!group service
51
51
  module Aws::STS
52
52
 
53
- GEM_VERSION = '3.160.0'
53
+ GEM_VERSION = '3.163.0'
54
54
 
55
55
  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.160.0
4
+ version: 3.163.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-13 00:00:00.000000000 Z
11
+ date: 2022-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath