aws-sdk-core 3.125.1 → 3.125.5
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/plugins/retries/error_inspector.rb +4 -2
- data/lib/aws-sdk-core/rest/request/headers.rb +15 -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: 6097fa7cc1661cdca09ad52fbf3f6ac5d0e2cb23f12c042afb83348fbb682167
|
4
|
+
data.tar.gz: 7674b35f80736d81b5f239bff160457ca5a377c576720f27aae4099298bb7dae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ec3ffb176c06f067369f3a58ce65fa3fe03fe017312d67a10bbeeae9dcaaaa95ddbbc295b0235fa7671037768ece22a0d6c5d2691fb93d11fd08235dcb80b15
|
7
|
+
data.tar.gz: 0da7d408ebe2173564167decedeb434dc941b786eca73e207c82d93663fc85d9dadaedca6e1a643cfa375332ebd40866f791fa815bb4356a4536c48604991235
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,27 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
3.125.5 (2022-01-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Issue - Correctly serialize empty header lists.
|
8
|
+
|
9
|
+
3.125.4 (2022-01-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Issue - Add `InternalError` to `ErrorInspector` for S3 errors.
|
13
|
+
|
14
|
+
|
15
|
+
3.125.3 (2022-01-12)
|
16
|
+
------------------
|
17
|
+
|
18
|
+
* Issue - Add `ExpiredTokenException` to `ErrorInspector` for Kinesis errors.
|
19
|
+
|
20
|
+
3.125.2 (2022-01-10)
|
21
|
+
------------------
|
22
|
+
|
23
|
+
* Issue - Correctly serialize lists of strings in headers with quotes and commas.
|
24
|
+
|
4
25
|
3.125.1 (2022-01-04)
|
5
26
|
------------------
|
6
27
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.125.
|
1
|
+
3.125.5
|
@@ -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,16 @@ 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
|
+
.compact
|
56
|
+
.map { |s| escape_header_list_string(s.to_s) }
|
57
|
+
.join(",")
|
58
|
+
end
|
59
|
+
|
60
|
+
def escape_header_list_string(s)
|
61
|
+
(s.include?('"') || s.include?(",")) ? "\"#{s.gsub('"', '\"')}\"" : s
|
55
62
|
end
|
56
63
|
|
57
64
|
def apply_header_map(headers, ref, values)
|
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.5'
|
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.5
|
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-01-
|
11
|
+
date: 2022-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|