aws-sdk-core 3.191.3 → 3.191.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: 68260c12e4207d03dda05d8306dbb424fa24bdfbfc14ab6b600bb47984386036
4
- data.tar.gz: d56d5a0add66ca2823be22c455f3a89840a34d0edae6df6c4a259d2c939910fd
3
+ metadata.gz: f31347ca054989788f8b9db038b0060f7fa573f39ba5eb998745cf0798a7eb51
4
+ data.tar.gz: 13a65ab239a98d78d1efdac6c1ec453582423b106cf12ecdc0fdeaff558802b0
5
5
  SHA512:
6
- metadata.gz: 93e110a874071692f40a785ff11d38121754af40df5114fa3ee97ba058fbc9021941d0d344a5ebfbbd2e918568c00b16bd50fccb316bd57d777c8599dc8b604f
7
- data.tar.gz: 65eb10ba5712795ca76c57d6148bed81942a13951ae4af3767ea1e54ac4ce855badf80397e9101debcdc5301d02060205961f6d413b4257f1c2388b12ddf9c2e
6
+ metadata.gz: a05ebb66eaf439c1699513967b6eb425cda973793fb3b201bd187e9037f83d61d620aa2751247877d879592f04cd58ba290d7a1210e3d8ff3d8a8052176319ae
7
+ data.tar.gz: 4f95ef37c87fb18e4a5a95c160c7399eb27490aa5bcfe6aaf665bb033ff624056bac8201c22f36c629397d9502cf135a71ae590591cb41cd8424e43c7d3fef16
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 3.191.5 (2024-03-26)
5
+ ------------------
6
+
7
+ * Issue - Fix `EC2Metadata` and `InstanceProfileCredentials` to respect the port from a configured endpoint from code, ENV, or shared config.
8
+
9
+ 3.191.4 (2024-03-15)
10
+ ------------------
11
+
12
+ * Issue - Ensure output unions work correctly with stub_responses.
13
+
4
14
  3.191.3 (2024-02-20)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.191.3
1
+ 3.191.5
@@ -183,7 +183,7 @@ module Aws
183
183
 
184
184
  def open_connection
185
185
  uri = URI.parse(@endpoint)
186
- http = Net::HTTP.new(uri.hostname || @endpoint, @port || uri.port)
186
+ http = Net::HTTP.new(uri.hostname || @endpoint, uri.port || @port)
187
187
  http.open_timeout = @http_open_timeout
188
188
  http.read_timeout = @http_read_timeout
189
189
  http.set_debug_output(@http_debug_output) if @http_debug_output
@@ -262,7 +262,7 @@ module Aws
262
262
 
263
263
  def open_connection
264
264
  uri = URI.parse(@endpoint)
265
- http = Net::HTTP.new(uri.hostname || @endpoint, @port || uri.port)
265
+ http = Net::HTTP.new(uri.hostname || @endpoint, uri.port || @port)
266
266
  http.open_timeout = @http_open_timeout
267
267
  http.read_timeout = @http_read_timeout
268
268
  http.set_debug_output(@http_debug_output) if @http_debug_output
@@ -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.5'
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.5'
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.5'
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.5'
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.5'
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.5'
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.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: 2024-02-20 00:00:00.000000000 Z
11
+ date: 2024-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath