aws-sdk-core 3.125.2 → 3.125.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-core/errors.rb +1 -1
- data/lib/aws-sdk-core/plugins/retries/error_inspector.rb +4 -2
- data/lib/aws-sdk-core/rest/request/headers.rb +8 -8
- data/lib/aws-sdk-sso/client.rb +1 -1
- data/lib/aws-sdk-sso.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: 7697e88b23e150cf35d43ec085b450e20b156027735bfc96d0ae247d7c39f0f5
|
4
|
+
data.tar.gz: e2b958820fd48609f9a1533538ab105fb9513d15c68eecbc3c4314b2e5d3d986
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4b344c92e66c33a08007014096ced99a8994068663f00a1b46b38826e1c801b48ec503198f290866bcabdc53791cc146097a26110b51b74f032130402c70cba
|
7
|
+
data.tar.gz: 1399f142cfc9a1e9632b0d8b70b305d40cb7ef0cb57cbd763ad1d7dacba66ca7f77b1f28e6a61b8165657ea6c6ace1088b02d81ec595f00e9c9bffc89e7b8b9d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,27 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
3.125.6 (2022-02-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Issue - Ensure default message for ServiceError is a string (#2643).
|
8
|
+
|
9
|
+
3.125.5 (2022-01-19)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Issue - Correctly serialize empty header lists.
|
13
|
+
|
14
|
+
3.125.4 (2022-01-18)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Issue - Add `InternalError` to `ErrorInspector` for S3 errors.
|
18
|
+
|
19
|
+
|
20
|
+
3.125.3 (2022-01-12)
|
21
|
+
------------------
|
22
|
+
|
23
|
+
* Issue - Add `ExpiredTokenException` to `ErrorInspector` for Kinesis errors.
|
24
|
+
|
4
25
|
3.125.2 (2022-01-10)
|
5
26
|
------------------
|
6
27
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.125.
|
1
|
+
3.125.6
|
data/lib/aws-sdk-core/errors.rb
CHANGED
@@ -13,7 +13,8 @@ module Aws
|
|
13
13
|
'InvalidAccessKeyId', # s3
|
14
14
|
'AuthFailure', # ec2
|
15
15
|
'InvalidIdentityToken', # sts
|
16
|
-
'ExpiredToken'
|
16
|
+
'ExpiredToken', # route53
|
17
|
+
'ExpiredTokenException' # kinesis
|
17
18
|
]
|
18
19
|
)
|
19
20
|
|
@@ -45,6 +46,7 @@ module Aws
|
|
45
46
|
NETWORKING_ERRORS = Set.new(
|
46
47
|
[
|
47
48
|
'RequestTimeout', # s3
|
49
|
+
'InternalError', # s3
|
48
50
|
'RequestTimeoutException', # glacier
|
49
51
|
'IDPCommunicationError' # sts
|
50
52
|
]
|
@@ -141,4 +143,4 @@ module Aws
|
|
141
143
|
end
|
142
144
|
end
|
143
145
|
end
|
144
|
-
end
|
146
|
+
end
|
@@ -32,12 +32,11 @@ module Aws
|
|
32
32
|
|
33
33
|
def apply_header_value(headers, ref, value)
|
34
34
|
value = apply_json_trait(value) if ref['jsonvalue']
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
end
|
35
|
+
case ref.shape
|
36
|
+
when TimestampShape then headers[ref.location_name] = timestamp(ref, value)
|
37
|
+
when ListShape then list(headers, ref, value)
|
38
|
+
else headers[ref.location_name] = value.to_s
|
39
|
+
end
|
41
40
|
end
|
42
41
|
|
43
42
|
def timestamp(ref, value)
|
@@ -50,8 +49,9 @@ module Aws
|
|
50
49
|
end
|
51
50
|
end
|
52
51
|
|
53
|
-
def list(
|
54
|
-
value
|
52
|
+
def list(headers, ref, value)
|
53
|
+
return if !value || value.empty?
|
54
|
+
headers[ref.location_name] = value
|
55
55
|
.compact
|
56
56
|
.map { |s| escape_header_list_string(s.to_s) }
|
57
57
|
.join(",")
|
data/lib/aws-sdk-sso/client.rb
CHANGED
data/lib/aws-sdk-sso.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED
@@ -2284,7 +2284,7 @@ module Aws::STS
|
|
2284
2284
|
params: params,
|
2285
2285
|
config: config)
|
2286
2286
|
context[:gem_name] = 'aws-sdk-core'
|
2287
|
-
context[:gem_version] = '3.125.
|
2287
|
+
context[:gem_version] = '3.125.6'
|
2288
2288
|
Seahorse::Client::Request.new(handlers, context)
|
2289
2289
|
end
|
2290
2290
|
|
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.125.
|
4
|
+
version: 3.125.6
|
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-
|
11
|
+
date: 2022-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|