aws-sdk-core 3.125.4 → 3.125.5

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: d956f5e6d85e97d7194140ebd6895c9d2aa15f7fbdf4df299fbfae5c446fd526
4
- data.tar.gz: be536bd215f2d82af6ba69e0b3305c6b429505df744f4b916e393e44f3788663
3
+ metadata.gz: 6097fa7cc1661cdca09ad52fbf3f6ac5d0e2cb23f12c042afb83348fbb682167
4
+ data.tar.gz: 7674b35f80736d81b5f239bff160457ca5a377c576720f27aae4099298bb7dae
5
5
  SHA512:
6
- metadata.gz: 7e33a55d282fd01460a9c13a63bfa20dcb170ecc8cefa4c46417a875226f2f0a1b5db928fbd685e10daf36e720741384afd632f97a246af3537354a3bb8d15e4
7
- data.tar.gz: d1f1e737259c6d95c3246e001e08b2f6abc1f447a264399afb0137e30d51f7c8881b204c29d047e8bf0bcc955c1e9f341f9b03bcd6bd318218cc14ea75c5eb21
6
+ metadata.gz: 8ec3ffb176c06f067369f3a58ce65fa3fe03fe017312d67a10bbeeae9dcaaaa95ddbbc295b0235fa7671037768ece22a0d6c5d2691fb93d11fd08235dcb80b15
7
+ data.tar.gz: 0da7d408ebe2173564167decedeb434dc941b786eca73e207c82d93663fc85d9dadaedca6e1a643cfa375332ebd40866f791fa815bb4356a4536c48604991235
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  3.125.4 (2022-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.125.4
1
+ 3.125.5
@@ -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.4'
544
+ context[:gem_version] = '3.125.5'
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.4'
53
+ GEM_VERSION = '3.125.5'
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.4'
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
@@ -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.4'
53
+ GEM_VERSION = '3.125.5'
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.4
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-18 00:00:00.000000000 Z
11
+ date: 2022-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath