aws-sdk-core 3.201.1 → 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 +16 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-core/endpoints.rb +7 -0
- data/lib/aws-sdk-core/log/param_filter.rb +2 -2
- data/lib/aws-sdk-core/param_validator.rb +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
@@ -1,6 +1,22 @@
|
|
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
|
+
|
14
|
+
3.201.2 (2024-07-18)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Issue - Allow modeled types to be used for Union inputs.
|
18
|
+
* Issue - Ensure that nested sensitive members and sensitive members of lists and maps are filtered.
|
19
|
+
|
4
20
|
3.201.1 (2024-07-05)
|
5
21
|
------------------
|
6
22
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.201.
|
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'] =
|
@@ -55,14 +55,14 @@ module Aws
|
|
55
55
|
filtered[key] = if @enabled && filters.include?(key)
|
56
56
|
'[FILTERED]'
|
57
57
|
else
|
58
|
-
filter(value,
|
58
|
+
filter(value, value.class)
|
59
59
|
end
|
60
60
|
end
|
61
61
|
filtered
|
62
62
|
end
|
63
63
|
|
64
64
|
def filter_array(values, type)
|
65
|
-
values.map { |value| filter(value,
|
65
|
+
values.map { |value| filter(value, value.class) }
|
66
66
|
end
|
67
67
|
|
68
68
|
end
|
@@ -71,7 +71,7 @@ module Aws
|
|
71
71
|
end
|
72
72
|
|
73
73
|
if @validate_required && shape.union
|
74
|
-
set_values =
|
74
|
+
set_values = values.to_h.length
|
75
75
|
if set_values > 1
|
76
76
|
errors << "multiple values provided to union at #{context} - must contain exactly one of the supported types: #{shape.member_names.join(', ')}"
|
77
77
|
elsif set_values == 0
|
@@ -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
|