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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c629d6661bdb47f143fa7d3ed665382bfe70dbbdc7a81f13e3160a3fbb363436
4
- data.tar.gz: 7b44256ddc9ac136756cf7f69bb98e8053780dc77be4ccf30c0bf07e2ce8f20d
3
+ metadata.gz: e114f7e269286ff054997427329271c6f51b4d23d011c9a0d34cde25f08b61a5
4
+ data.tar.gz: a0003a356ff156c5acf340efa112f7fde68318bb46176229e59ecbb70ec2f0d7
5
5
  SHA512:
6
- metadata.gz: 1bc74fbcc83b9d8d04b8da4b55c822f08fbddfc2ef0b856f300056ee8b073f9c474839cd58ff1b4cfa02655c474dbe9a3dc41b692e4716f4db959ae0d3d84fcc
7
- data.tar.gz: 9b494a8c988caa82f286341be742c86a35238bdf9f6bca76623ed668e06f531396ea4fda0c3958bf47b2526f32fb2f64d0e4d2a9890d12f56828696812a1bbfc
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
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, type)
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, type) }
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 = @input ? values.length : values.to_h.length
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 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.1'
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.1'
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.1'
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.1'
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.1'
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.1'
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.1
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-05 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