aws-sdk-core 3.201.2 → 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: 0cced353e3a401bc05f3b8c5bc6175ecb5ea916a1d5c7bc4e172eec5c6021dd1
4
- data.tar.gz: eb40ea2b0a789f38ec9118a74416fdf0a13aec3c8fe1c6fbbce7c107893e2a5d
3
+ metadata.gz: e114f7e269286ff054997427329271c6f51b4d23d011c9a0d34cde25f08b61a5
4
+ data.tar.gz: a0003a356ff156c5acf340efa112f7fde68318bb46176229e59ecbb70ec2f0d7
5
5
  SHA512:
6
- metadata.gz: 7dba87fc96142f251dae476748deed876a944c935a7a925db33dd0400d8518823224e92ed5f785a6b098f06cb06a8fc45e41b2f608b82dacd687717787191f55
7
- data.tar.gz: 2e7da3ef2c1dc2c99f9fc002c673e909d6befe24c98061a76bbc0bec85c8274156b34da34e0832260c1b2d55e3db92f307206f80180162058f0896a91a2c7f8e
6
+ metadata.gz: e9367fbd29f4425462427f495f5b1e2534c06c41b659b39fbcf12f0d05912abacaeea0551d1efcdbde1cb4f879d1dd975987e6386f7ab993dd594fc70bb30d79
7
+ data.tar.gz: d8ff400f9f2232fbc4e99ce77658725ec496a74a42935b169885ed3ccf44b2ab11c6c759ac6abfa1188afd9af0c2324811204a4b698946f0310298eb2d60f03b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 3.201.3 (2024-07-23)
10
+ ------------------
11
+
12
+ * Issue - Add `disableNormalizePath` when resolving auth_scheme for S3.
13
+
4
14
  3.201.2 (2024-07-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.201.2
1
+ 3.201.4
@@ -42,6 +42,13 @@ module Aws
42
42
  def merge_signing_defaults(auth_scheme, config)
43
43
  if %w[sigv4 sigv4a sigv4-s3express].include?(auth_scheme['name'])
44
44
  auth_scheme['signingName'] ||= sigv4_name(config)
45
+
46
+ # back fill disableNormalizePath for S3 until it gets correctly set in the rules
47
+ if auth_scheme['signingName'] == 's3' &&
48
+ !auth_scheme.include?('disableNormalizePath') &&
49
+ auth_scheme.include?('disableDoubleEncoding')
50
+ auth_scheme['disableNormalizePath'] = auth_scheme['disableDoubleEncoding']
51
+ end
45
52
  if auth_scheme['name'] == 'sigv4a'
46
53
  # config option supersedes endpoint properties
47
54
  auth_scheme['signingRegionSet'] =
@@ -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.2'
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.2'
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.2'
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.2'
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.2'
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.2'
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.2
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-18 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