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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-core/waiters/poller.rb +9 -4
- data/lib/aws-sdk-sso/client.rb +1 -1
- data/lib/aws-sdk-sso.rb +1 -1
- data/lib/aws-sdk-ssooidc/client.rb +1 -1
- data/lib/aws-sdk-ssooidc.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +1 -1
- data/lib/aws-sdk-sts.rb +1 -1
- data/lib/seahorse/client/net_http/handler.rb +3 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e114f7e269286ff054997427329271c6f51b4d23d011c9a0d34cde25f08b61a5
|
4
|
+
data.tar.gz: a0003a356ff156c5acf340efa112f7fde68318bb46176229e59ecbb70ec2f0d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9367fbd29f4425462427f495f5b1e2534c06c41b659b39fbcf12f0d05912abacaeea0551d1efcdbde1cb4f879d1dd975987e6386f7ab993dd594fc70bb30d79
|
7
|
+
data.tar.gz: d8ff400f9f2232fbc4e99ce77658725ec496a74a42935b169885ed3ccf44b2ab11c6c759ac6abfa1188afd9af0c2324811204a4b698946f0310298eb2d60f03b
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.201.
|
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
|
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
|
-
|
100
|
-
|
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
|
115
|
+
values.is_a?(Array) && values.count > 0 ? yield(values) : false
|
111
116
|
else
|
112
117
|
false
|
113
118
|
end
|
data/lib/aws-sdk-sso/client.rb
CHANGED
data/lib/aws-sdk-sso.rb
CHANGED
data/lib/aws-sdk-ssooidc.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED
@@ -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.
|
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
@@ -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::
|
28
|
-
|
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.
|
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-
|
11
|
+
date: 2024-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|