aws-sdk-core 3.191.3 → 3.191.4

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: 68260c12e4207d03dda05d8306dbb424fa24bdfbfc14ab6b600bb47984386036
4
- data.tar.gz: d56d5a0add66ca2823be22c455f3a89840a34d0edae6df6c4a259d2c939910fd
3
+ metadata.gz: f39d4d6ade88a52d0ca4c55a40984f95036af905e64e45778472ead21d1a402e
4
+ data.tar.gz: 6c745864d7c7f1460bb8260d6dc53c60a10f2e25628e32e44995058bdaf385d8
5
5
  SHA512:
6
- metadata.gz: 93e110a874071692f40a785ff11d38121754af40df5114fa3ee97ba058fbc9021941d0d344a5ebfbbd2e918568c00b16bd50fccb316bd57d777c8599dc8b604f
7
- data.tar.gz: 65eb10ba5712795ca76c57d6148bed81942a13951ae4af3767ea1e54ac4ce855badf80397e9101debcdc5301d02060205961f6d413b4257f1c2388b12ddf9c2e
6
+ metadata.gz: 535ea293420d7e1dbf96b649f453144322314d2f8468b11da6e488c6ce89fbd0e1b6a1b26df35fb6051cbae6edaf2b5bd0f8bcf8b18f1088dddf9dbf90c42800
7
+ data.tar.gz: 74476af33b195746b0f3e0c5f0be00a7e6ee9811344c1e96eb391b11f9fcf3a6efffe1d3df20b1cb57b22dbe346923c4cbeb5772070025052aed45d26d8533ae
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 3.191.4 (2024-03-15)
5
+ ------------------
6
+
7
+ * Issue - Ensure output unions work correctly with stub_responses.
8
+
4
9
  3.191.3 (2024-02-20)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.191.3
1
+ 3.191.4
@@ -71,9 +71,10 @@ module Aws
71
71
  end
72
72
 
73
73
  if @validate_required && shape.union
74
- if values.length > 1
74
+ set_values = @input ? values.length : values.to_h.length
75
+ if set_values > 1
75
76
  errors << "multiple values provided to union at #{context} - must contain exactly one of the supported types: #{shape.member_names.join(', ')}"
76
- elsif values.length == 0
77
+ elsif set_values == 0
77
78
  errors << "No values provided to union at #{context} - must contain exactly one of the supported types: #{shape.member_names.join(', ')}"
78
79
  end
79
80
  end
@@ -605,7 +605,7 @@ module Aws::SSO
605
605
  params: params,
606
606
  config: config)
607
607
  context[:gem_name] = 'aws-sdk-core'
608
- context[:gem_version] = '3.191.3'
608
+ context[:gem_version] = '3.191.4'
609
609
  Seahorse::Client::Request.new(handlers, context)
610
610
  end
611
611
 
data/lib/aws-sdk-sso.rb CHANGED
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-sso/customizations'
54
54
  # @!group service
55
55
  module Aws::SSO
56
56
 
57
- GEM_VERSION = '3.191.3'
57
+ GEM_VERSION = '3.191.4'
58
58
 
59
59
  end
@@ -910,7 +910,7 @@ module Aws::SSOOIDC
910
910
  params: params,
911
911
  config: config)
912
912
  context[:gem_name] = 'aws-sdk-core'
913
- context[:gem_version] = '3.191.3'
913
+ context[:gem_version] = '3.191.4'
914
914
  Seahorse::Client::Request.new(handlers, context)
915
915
  end
916
916
 
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-ssooidc/customizations'
54
54
  # @!group service
55
55
  module Aws::SSOOIDC
56
56
 
57
- GEM_VERSION = '3.191.3'
57
+ GEM_VERSION = '3.191.4'
58
58
 
59
59
  end
@@ -2352,7 +2352,7 @@ module Aws::STS
2352
2352
  params: params,
2353
2353
  config: config)
2354
2354
  context[:gem_name] = 'aws-sdk-core'
2355
- context[:gem_version] = '3.191.3'
2355
+ context[:gem_version] = '3.191.4'
2356
2356
  Seahorse::Client::Request.new(handlers, context)
2357
2357
  end
2358
2358
 
data/lib/aws-sdk-sts.rb CHANGED
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-sts/customizations'
54
54
  # @!group service
55
55
  module Aws::STS
56
56
 
57
- GEM_VERSION = '3.191.3'
57
+ GEM_VERSION = '3.191.4'
58
58
 
59
59
  end
@@ -86,7 +86,7 @@ module Seahorse
86
86
  def [](key)
87
87
  if @metadata.key?(key.to_s)
88
88
  @metadata[key.to_s]
89
- else
89
+ elsif @shape
90
90
  @shape[key.to_s]
91
91
  end
92
92
  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.191.3
4
+ version: 3.191.4
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: 2024-02-20 00:00:00.000000000 Z
11
+ date: 2024-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath