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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 791ca642ece40bb3d3a537f44f10f89ca55c20d06c8fd012ffe639bd9617a456
4
- data.tar.gz: efc419f84bd91328ede19583192088940a8c4959a0400d2e5d3eda571ebb54bf
3
+ metadata.gz: 7697e88b23e150cf35d43ec085b450e20b156027735bfc96d0ae247d7c39f0f5
4
+ data.tar.gz: e2b958820fd48609f9a1533538ab105fb9513d15c68eecbc3c4314b2e5d3d986
5
5
  SHA512:
6
- metadata.gz: 38887c1541cddfc4e46a5ae3b9d479b2e01f0e11330eb9e3906ff6453a6101beaa8e6e52522587442ac2f4027801a0cf70168795452f9df9c25613e4f58cb1fb
7
- data.tar.gz: 413d43ed9aebfe37631fab895d174865c5cf95a7977405f754c660deb073f6105787bc236c0db80af4f2ba7e4a1123319b8eb2d272bf0962b32c7c85a38ac7f6
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.2
1
+ 3.125.6
@@ -18,7 +18,7 @@ module Aws
18
18
  @code = self.class.code
19
19
  @context = context
20
20
  @data = data
21
- @message = message && !message.empty? ? message : self.class
21
+ @message = message && !message.empty? ? message : self.class.to_s
22
22
  super(@message)
23
23
  end
24
24
 
@@ -13,7 +13,8 @@ module Aws
13
13
  'InvalidAccessKeyId', # s3
14
14
  'AuthFailure', # ec2
15
15
  'InvalidIdentityToken', # sts
16
- 'ExpiredToken' # route53
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
- headers[ref.location_name] =
36
- case ref.shape
37
- when TimestampShape then timestamp(ref, value)
38
- when ListShape then list(ref, value)
39
- else value.to_s
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(_ref, value)
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(",")
@@ -541,7 +541,7 @@ module Aws::SSO
541
541
  params: params,
542
542
  config: config)
543
543
  context[:gem_name] = 'aws-sdk-core'
544
- context[:gem_version] = '3.125.2'
544
+ context[:gem_version] = '3.125.6'
545
545
  Seahorse::Client::Request.new(handlers, context)
546
546
  end
547
547
 
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.125.2'
53
+ GEM_VERSION = '3.125.6'
54
54
 
55
55
  end
@@ -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.2'
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
@@ -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.125.2'
53
+ GEM_VERSION = '3.125.6'
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.125.2
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-01-10 00:00:00.000000000 Z
11
+ date: 2022-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath