aws-sdk-core 3.201.3 → 3.201.4

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: 3242d42e3e0e5e2edc14b5952789ec1dcf2a1a815c2e3378b8c317279cfb4cde
4
- data.tar.gz: ccf76742ca38e548949a69a6d75ad7040e605247b378a597ec6d00336df816f2
3
+ metadata.gz: e114f7e269286ff054997427329271c6f51b4d23d011c9a0d34cde25f08b61a5
4
+ data.tar.gz: a0003a356ff156c5acf340efa112f7fde68318bb46176229e59ecbb70ec2f0d7
5
5
  SHA512:
6
- metadata.gz: 012726aaef8a0b88c05c1f2168096c9d0f69385f618a1eaba177d949fcf715488d8a7b3475f5eb157f7c0d1a81a7c936851d96f4b25af5a6c1ca329ff98c17ad
7
- data.tar.gz: ab95eaef0edc1d0f0a4c04ffa1a1c401b1caff844e56c000df70a8333af8953f82d89828ad52886a5915842c85528399909c895201f666df04a9f015ca8648e9
6
+ metadata.gz: e9367fbd29f4425462427f495f5b1e2534c06c41b659b39fbcf12f0d05912abacaeea0551d1efcdbde1cb4f879d1dd975987e6386f7ab993dd594fc70bb30d79
7
+ data.tar.gz: d8ff400f9f2232fbc4e99ce77658725ec496a74a42935b169885ed3ccf44b2ab11c6c759ac6abfa1188afd9af0c2324811204a4b698946f0310298eb2d60f03b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 3.201.4 (2024-08-08)
5
+ ------------------
6
+
7
+ * Issue - Update waiters to handle expected boolean values when matching errors.
8
+
4
9
  3.201.3 (2024-07-23)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.201.3
1
+ 3.201.4
@@ -29,7 +29,7 @@ module Aws
29
29
  # * `:retry` - The waiter may be retried.
30
30
  # * `:error` - The waiter encountered an un-expected error.
31
31
  #
32
- # @example A trival (bad) example of a waiter that polls indefinetly.
32
+ # @example A trivial (bad) example of a waiter that polls indefinetly.
33
33
  #
34
34
  # loop do
35
35
  #
@@ -96,8 +96,13 @@ module Aws
96
96
  end
97
97
 
98
98
  def matches_error?(acceptor, response)
99
- Aws::Errors::ServiceError === response.error &&
100
- response.error.code == acceptor['expected'].delete('.')
99
+ case acceptor['expected']
100
+ when 'false' then response.error.nil?
101
+ when 'true' then !response.error.nil?
102
+ else
103
+ response.error.is_a?(Aws::Errors::ServiceError) &&
104
+ response.error.code == acceptor['expected'].delete('.')
105
+ end
101
106
  end
102
107
 
103
108
  def path(acceptor)
@@ -107,7 +112,7 @@ module Aws
107
112
  def non_empty_array(acceptor, response, &block)
108
113
  if response.data
109
114
  values = JMESPath.search(path(acceptor), response.data)
110
- Array === values && values.count > 0 ? yield(values) : false
115
+ values.is_a?(Array) && values.count > 0 ? yield(values) : false
111
116
  else
112
117
  false
113
118
  end
@@ -642,7 +642,7 @@ module Aws::SSO
642
642
  params: params,
643
643
  config: config)
644
644
  context[:gem_name] = 'aws-sdk-core'
645
- context[:gem_version] = '3.201.3'
645
+ context[:gem_version] = '3.201.4'
646
646
  Seahorse::Client::Request.new(handlers, context)
647
647
  end
648
648
 
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.201.3'
57
+ GEM_VERSION = '3.201.4'
58
58
 
59
59
  end
@@ -995,7 +995,7 @@ module Aws::SSOOIDC
995
995
  params: params,
996
996
  config: config)
997
997
  context[:gem_name] = 'aws-sdk-core'
998
- context[:gem_version] = '3.201.3'
998
+ context[:gem_version] = '3.201.4'
999
999
  Seahorse::Client::Request.new(handlers, context)
1000
1000
  end
1001
1001
 
@@ -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.201.3'
57
+ GEM_VERSION = '3.201.4'
58
58
 
59
59
  end
@@ -2389,7 +2389,7 @@ module Aws::STS
2389
2389
  params: params,
2390
2390
  config: config)
2391
2391
  context[:gem_name] = 'aws-sdk-core'
2392
- context[:gem_version] = '3.201.3'
2392
+ context[:gem_version] = '3.201.4'
2393
2393
  Seahorse::Client::Request.new(handlers, context)
2394
2394
  end
2395
2395
 
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.201.3'
57
+ GEM_VERSION = '3.201.4'
58
58
 
59
59
  end
@@ -23,17 +23,12 @@ module Seahorse
23
23
 
24
24
  NETWORK_ERRORS = [
25
25
  SocketError, EOFError, IOError, Timeout::Error,
26
- Errno::ECONNABORTED, Errno::ECONNRESET, Errno::EPIPE,
27
- Errno::EINVAL, Errno::ETIMEDOUT, OpenSSL::SSL::SSLError,
28
- Errno::EHOSTUNREACH, Errno::ECONNREFUSED,
26
+ Errno::ECONNABORTED, Errno::ECONNRESET, Errno::EPIPE, Errno::EINVAL,
27
+ Errno::ETIMEDOUT, Errno::EHOSTUNREACH, Errno::ECONNREFUSED,
28
+ OpenSSL::SSL::SSLError, OpenSSL::SSL::SSLErrorWaitReadable,
29
29
  Net::HTTPFatalError # for proxy connection failures
30
30
  ]
31
31
 
32
- # does not exist in Ruby 1.9.3
33
- if OpenSSL::SSL.const_defined?(:SSLErrorWaitReadable)
34
- NETWORK_ERRORS << OpenSSL::SSL::SSLErrorWaitReadable
35
- end
36
-
37
32
  # @api private
38
33
  DNS_ERROR_MESSAGES = [
39
34
  'getaddrinfo: nodename nor servname provided, or not known', # MacOS
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.201.3
4
+ version: 3.201.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-07-23 00:00:00.000000000 Z
11
+ date: 2024-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath