aws-sdk-core 3.197.2 → 3.225.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +355 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-defaults/default_configuration.rb +1 -2
  5. data/lib/aws-defaults.rb +4 -1
  6. data/lib/aws-sdk-core/arn.rb +1 -3
  7. data/lib/aws-sdk-core/assume_role_credentials.rb +13 -5
  8. data/lib/aws-sdk-core/assume_role_web_identity_credentials.rb +14 -7
  9. data/lib/aws-sdk-core/binary/decode_handler.rb +3 -4
  10. data/lib/aws-sdk-core/binary/encode_handler.rb +1 -1
  11. data/lib/aws-sdk-core/binary/event_stream_decoder.rb +1 -0
  12. data/lib/aws-sdk-core/binary/event_stream_encoder.rb +4 -3
  13. data/lib/aws-sdk-core/cbor/decoder.rb +308 -0
  14. data/lib/aws-sdk-core/cbor/encoder.rb +243 -0
  15. data/lib/aws-sdk-core/cbor.rb +53 -0
  16. data/lib/aws-sdk-core/client_side_monitoring.rb +9 -0
  17. data/lib/aws-sdk-core/client_stubs.rb +30 -55
  18. data/lib/aws-sdk-core/credential_provider.rb +4 -0
  19. data/lib/aws-sdk-core/credential_provider_chain.rb +37 -10
  20. data/lib/aws-sdk-core/credentials.rb +19 -6
  21. data/lib/aws-sdk-core/ecs_credentials.rb +1 -0
  22. data/lib/aws-sdk-core/endpoints/endpoint.rb +3 -1
  23. data/lib/aws-sdk-core/endpoints/matchers.rb +1 -8
  24. data/lib/aws-sdk-core/endpoints.rb +74 -18
  25. data/lib/aws-sdk-core/error_handler.rb +41 -0
  26. data/lib/aws-sdk-core/errors.rb +11 -2
  27. data/lib/aws-sdk-core/instance_profile_credentials.rb +1 -0
  28. data/lib/aws-sdk-core/json/error_handler.rb +8 -9
  29. data/lib/aws-sdk-core/json/handler.rb +6 -6
  30. data/lib/aws-sdk-core/json/json_engine.rb +3 -1
  31. data/lib/aws-sdk-core/json/oj_engine.rb +7 -1
  32. data/lib/aws-sdk-core/json/parser.rb +2 -0
  33. data/lib/aws-sdk-core/json.rb +43 -14
  34. data/lib/aws-sdk-core/log/param_filter.rb +2 -2
  35. data/lib/aws-sdk-core/log/param_formatter.rb +7 -3
  36. data/lib/aws-sdk-core/log.rb +10 -0
  37. data/lib/aws-sdk-core/param_validator.rb +1 -1
  38. data/lib/aws-sdk-core/plugins/bearer_authorization.rb +2 -0
  39. data/lib/aws-sdk-core/plugins/checksum_algorithm.rb +332 -169
  40. data/lib/aws-sdk-core/plugins/client_metrics_plugin.rb +0 -1
  41. data/lib/aws-sdk-core/plugins/credentials_configuration.rb +7 -3
  42. data/lib/aws-sdk-core/plugins/endpoint_pattern.rb +40 -32
  43. data/lib/aws-sdk-core/plugins/global_configuration.rb +8 -9
  44. data/lib/aws-sdk-core/plugins/http_checksum.rb +2 -8
  45. data/lib/aws-sdk-core/plugins/protocols/api_gateway.rb +3 -1
  46. data/lib/aws-sdk-core/plugins/protocols/ec2.rb +2 -24
  47. data/lib/aws-sdk-core/plugins/protocols/json_rpc.rb +6 -8
  48. data/lib/aws-sdk-core/plugins/protocols/query.rb +4 -2
  49. data/lib/aws-sdk-core/plugins/protocols/rest_json.rb +4 -3
  50. data/lib/aws-sdk-core/plugins/protocols/rest_xml.rb +5 -1
  51. data/lib/aws-sdk-core/plugins/protocols/rpc_v2.rb +17 -0
  52. data/lib/aws-sdk-core/plugins/regional_endpoint.rb +74 -25
  53. data/lib/aws-sdk-core/plugins/retry_errors.rb +0 -1
  54. data/lib/aws-sdk-core/plugins/sign.rb +28 -12
  55. data/lib/aws-sdk-core/plugins/signature_v2.rb +2 -1
  56. data/lib/aws-sdk-core/plugins/signature_v4.rb +2 -1
  57. data/lib/aws-sdk-core/plugins/stub_responses.rb +52 -9
  58. data/lib/aws-sdk-core/plugins/telemetry.rb +75 -0
  59. data/lib/aws-sdk-core/plugins/transfer_encoding.rb +16 -9
  60. data/lib/aws-sdk-core/plugins/user_agent.rb +48 -9
  61. data/lib/aws-sdk-core/plugins.rb +39 -0
  62. data/lib/aws-sdk-core/process_credentials.rb +3 -2
  63. data/lib/aws-sdk-core/query/ec2_handler.rb +27 -0
  64. data/lib/aws-sdk-core/query/handler.rb +4 -4
  65. data/lib/aws-sdk-core/query.rb +2 -1
  66. data/lib/aws-sdk-core/resources.rb +8 -0
  67. data/lib/aws-sdk-core/rest/{request/content_type.rb → content_type_handler.rb} +1 -1
  68. data/lib/aws-sdk-core/rest/handler.rb +3 -4
  69. data/lib/aws-sdk-core/rest/request/headers.rb +3 -3
  70. data/lib/aws-sdk-core/rest.rb +1 -1
  71. data/lib/aws-sdk-core/rpc_v2/builder.rb +62 -0
  72. data/lib/aws-sdk-core/rpc_v2/cbor_engine.rb +18 -0
  73. data/lib/aws-sdk-core/rpc_v2/content_type_handler.rb +47 -0
  74. data/lib/aws-sdk-core/rpc_v2/error_handler.rb +85 -0
  75. data/lib/aws-sdk-core/rpc_v2/handler.rb +79 -0
  76. data/lib/aws-sdk-core/rpc_v2/parser.rb +98 -0
  77. data/lib/aws-sdk-core/rpc_v2.rb +69 -0
  78. data/lib/aws-sdk-core/shared_config.rb +78 -22
  79. data/lib/aws-sdk-core/shared_credentials.rb +1 -7
  80. data/lib/aws-sdk-core/sso_credentials.rb +4 -1
  81. data/lib/aws-sdk-core/stubbing/protocols/ec2.rb +12 -11
  82. data/lib/aws-sdk-core/stubbing/protocols/json.rb +11 -10
  83. data/lib/aws-sdk-core/stubbing/protocols/query.rb +7 -6
  84. data/lib/aws-sdk-core/stubbing/protocols/rest.rb +2 -1
  85. data/lib/aws-sdk-core/stubbing/protocols/rest_json.rb +9 -8
  86. data/lib/aws-sdk-core/stubbing/protocols/rest_xml.rb +6 -5
  87. data/lib/aws-sdk-core/stubbing/protocols/rpc_v2.rb +39 -0
  88. data/lib/aws-sdk-core/stubbing.rb +22 -0
  89. data/lib/aws-sdk-core/telemetry/base.rb +177 -0
  90. data/lib/aws-sdk-core/telemetry/no_op.rb +70 -0
  91. data/lib/aws-sdk-core/telemetry/otel.rb +235 -0
  92. data/lib/aws-sdk-core/telemetry/span_kind.rb +22 -0
  93. data/lib/aws-sdk-core/telemetry/span_status.rb +59 -0
  94. data/lib/aws-sdk-core/telemetry.rb +78 -0
  95. data/lib/aws-sdk-core/waiters/poller.rb +9 -4
  96. data/lib/aws-sdk-core/xml/error_handler.rb +11 -37
  97. data/lib/aws-sdk-core/xml/parser.rb +2 -6
  98. data/lib/aws-sdk-core.rb +82 -108
  99. data/lib/aws-sdk-sso/client.rb +100 -39
  100. data/lib/aws-sdk-sso/client_api.rb +7 -0
  101. data/lib/aws-sdk-sso/endpoint_parameters.rb +9 -6
  102. data/lib/aws-sdk-sso/endpoint_provider.rb +14 -18
  103. data/lib/aws-sdk-sso/endpoints.rb +2 -54
  104. data/lib/aws-sdk-sso/plugins/endpoints.rb +19 -20
  105. data/lib/aws-sdk-sso/types.rb +1 -0
  106. data/lib/aws-sdk-sso.rb +15 -11
  107. data/lib/aws-sdk-ssooidc/client.rb +137 -59
  108. data/lib/aws-sdk-ssooidc/client_api.rb +11 -0
  109. data/lib/aws-sdk-ssooidc/endpoint_parameters.rb +9 -6
  110. data/lib/aws-sdk-ssooidc/endpoint_provider.rb +14 -18
  111. data/lib/aws-sdk-ssooidc/endpoints.rb +2 -54
  112. data/lib/aws-sdk-ssooidc/plugins/endpoints.rb +19 -20
  113. data/lib/aws-sdk-ssooidc/types.rb +49 -16
  114. data/lib/aws-sdk-ssooidc.rb +15 -11
  115. data/lib/aws-sdk-sts/client.rb +308 -91
  116. data/lib/aws-sdk-sts/client_api.rb +36 -10
  117. data/lib/aws-sdk-sts/customizations.rb +5 -1
  118. data/lib/aws-sdk-sts/endpoint_parameters.rb +10 -9
  119. data/lib/aws-sdk-sts/endpoint_provider.rb +50 -55
  120. data/lib/aws-sdk-sts/endpoints.rb +2 -118
  121. data/lib/aws-sdk-sts/errors.rb +16 -0
  122. data/lib/aws-sdk-sts/plugins/endpoints.rb +19 -28
  123. data/lib/aws-sdk-sts/types.rb +171 -28
  124. data/lib/aws-sdk-sts.rb +15 -11
  125. data/lib/seahorse/client/async_base.rb +4 -5
  126. data/lib/seahorse/client/base.rb +17 -21
  127. data/lib/seahorse/client/h2/connection.rb +18 -28
  128. data/lib/seahorse/client/h2/handler.rb +13 -3
  129. data/lib/seahorse/client/handler.rb +1 -1
  130. data/lib/seahorse/client/http/response.rb +1 -1
  131. data/lib/seahorse/client/net_http/connection_pool.rb +10 -2
  132. data/lib/seahorse/client/net_http/handler.rb +21 -9
  133. data/lib/seahorse/client/networking_error.rb +1 -1
  134. data/lib/seahorse/client/plugins/endpoint.rb +0 -1
  135. data/lib/seahorse/client/plugins/h2.rb +4 -4
  136. data/lib/seahorse/client/plugins/net_http.rb +9 -0
  137. data/lib/seahorse/client/request_context.rb +8 -1
  138. data/lib/seahorse/client/response.rb +2 -0
  139. data/sig/aws-sdk-core/async_client_stubs.rbs +21 -0
  140. data/sig/aws-sdk-core/telemetry/base.rbs +46 -0
  141. data/sig/aws-sdk-core/telemetry/otel.rbs +22 -0
  142. data/sig/aws-sdk-core/telemetry/span_kind.rbs +15 -0
  143. data/sig/aws-sdk-core/telemetry/span_status.rbs +24 -0
  144. data/sig/seahorse/client/async_base.rbs +18 -0
  145. metadata +80 -24
  146. /data/lib/aws-sdk-core/xml/parser/{engines/libxml.rb → libxml_engine.rb} +0 -0
  147. /data/lib/aws-sdk-core/xml/parser/{engines/nokogiri.rb → nokogiri_engine.rb} +0 -0
  148. /data/lib/aws-sdk-core/xml/parser/{engines/oga.rb → oga_engine.rb} +0 -0
  149. /data/lib/aws-sdk-core/xml/parser/{engines/ox.rb → ox_engine.rb} +0 -0
  150. /data/lib/aws-sdk-core/xml/parser/{engines/rexml.rb → rexml_engine.rb} +0 -0
@@ -66,8 +66,8 @@ module Seahorse
66
66
  # @param [string] chunk
67
67
  def signal_data(chunk)
68
68
  unless chunk == ''
69
- @body.write(chunk)
70
69
  emit(:data, chunk)
70
+ @body.write(chunk)
71
71
  end
72
72
  end
73
73
 
@@ -34,7 +34,9 @@ module Seahorse
34
34
  ssl_ca_bundle: nil,
35
35
  ssl_ca_directory: nil,
36
36
  ssl_ca_store: nil,
37
- ssl_timeout: nil
37
+ ssl_timeout: nil,
38
+ ssl_cert: nil,
39
+ ssl_key: nil
38
40
  }
39
41
 
40
42
  # @api private
@@ -246,7 +248,9 @@ module Seahorse
246
248
  :ssl_ca_bundle => options[:ssl_ca_bundle],
247
249
  :ssl_ca_directory => options[:ssl_ca_directory],
248
250
  :ssl_ca_store => options[:ssl_ca_store],
249
- :ssl_timeout => options[:ssl_timeout]
251
+ :ssl_timeout => options[:ssl_timeout],
252
+ :ssl_cert => options[:ssl_cert],
253
+ :ssl_key => options[:ssl_key]
250
254
  }
251
255
  end
252
256
 
@@ -291,6 +295,8 @@ module Seahorse
291
295
  http.ca_file = ssl_ca_bundle if ssl_ca_bundle
292
296
  http.ca_path = ssl_ca_directory if ssl_ca_directory
293
297
  http.cert_store = ssl_ca_store if ssl_ca_store
298
+ http.cert = ssl_cert if ssl_cert
299
+ http.key = ssl_key if ssl_key
294
300
  else
295
301
  http.verify_mode = OpenSSL::SSL::VERIFY_NONE
296
302
  end
@@ -330,6 +336,8 @@ module Seahorse
330
336
  attr_reader :last_used
331
337
 
332
338
  def __getobj__
339
+ return yield if block_given? && !defined?(@http)
340
+
333
341
  @http
334
342
  end
335
343
 
@@ -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
@@ -47,7 +42,13 @@ module Seahorse
47
42
  # @param [RequestContext] context
48
43
  # @return [Response]
49
44
  def call(context)
50
- transmit(context.config, context.http_request, context.http_response)
45
+ span_wrapper(context) do
46
+ transmit(
47
+ context.config,
48
+ context.http_request,
49
+ context.http_response
50
+ )
51
+ end
51
52
  Response.new(context: context)
52
53
  end
53
54
 
@@ -197,6 +198,17 @@ module Seahorse
197
198
  end
198
199
  end
199
200
 
201
+ def span_wrapper(context, &block)
202
+ context.tracer.in_span(
203
+ 'Handler.NetHttp',
204
+ attributes: Aws::Telemetry.http_request_attrs(context)
205
+ ) do |span|
206
+ block.call
207
+ span.add_attributes(
208
+ Aws::Telemetry.http_response_attrs(context)
209
+ )
210
+ end
211
+ end
200
212
  end
201
213
  end
202
214
  end
@@ -39,7 +39,7 @@ module Seahorse
39
39
 
40
40
  end
41
41
 
42
- # Rasied when trying to use an closed connection
42
+ # Raised when trying to use an closed connection
43
43
  class Http2ConnectionClosedError < StandardError; end
44
44
  end
45
45
  end
@@ -17,7 +17,6 @@ be a URI formatted like:
17
17
  'http://example.com'
18
18
  'https://example.com'
19
19
  'http://example.com:123'
20
-
21
20
  DOCS
22
21
 
23
22
  def add_handlers(handlers, config)
@@ -53,10 +53,10 @@ When `true`, SSL peer certificates are verified when establishing a connection.
53
53
  When `true`, HTTP2 debug output will be sent to the `:logger`.
54
54
  DOCS
55
55
 
56
- option(:enable_alpn, default: false, doc_type: 'Boolean', docstring: <<-DOCS)
57
- Set to `true` to enable ALPN in HTTP2 over TLS. Requires Openssl version >= 1.0.2.
58
- Defaults to false. Note: not all service HTTP2 operations supports ALPN on server
59
- side, please refer to service documentation.
56
+ option(:enable_alpn, default: true, doc_type: 'Boolean', docstring: <<-DOCS)
57
+ Set to `false` to disable ALPN in HTTP2 over TLS. ALPN requires Openssl version >= 1.0.2.
58
+ Note: RFC7540 requires HTTP2 to use ALPN over TLS but some
59
+ services may not fully support ALPN and require setting this to `false`.
60
60
  DOCS
61
61
 
62
62
  option(:logger)
@@ -70,6 +70,15 @@ Sets the X509::Store to verify peer certificate.
70
70
  resolve_ssl_timeout(cfg)
71
71
  end
72
72
 
73
+ option(:ssl_cert, default: nil, doc_type: OpenSSL::X509::Certificate, docstring: <<-DOCS)
74
+ Sets a client certificate when creating http connections.
75
+ DOCS
76
+
77
+
78
+ option(:ssl_key, default: nil, doc_type: OpenSSL::PKey, docstring: <<-DOCS)
79
+ Sets a client key when creating http connections.
80
+ DOCS
81
+
73
82
  option(:logger) # for backwards compat
74
83
 
75
84
  handler(Client::NetHttp::Handler, step: :send)
@@ -9,11 +9,14 @@ module Seahorse
9
9
  # @option options [required,Symbol] :operation_name (nil)
10
10
  # @option options [required,Model::Operation] :operation (nil)
11
11
  # @option options [Model::Authorizer] :authorizer (nil)
12
+ # @option options [Client] :client (nil)
12
13
  # @option options [Hash] :params ({})
13
14
  # @option options [Configuration] :config (nil)
14
15
  # @option options [Http::Request] :http_request (Http::Request.new)
15
16
  # @option options [Http::Response] :http_response (Http::Response.new)
16
- # and #rewind.
17
+ # @option options [Integer] :retries (0)
18
+ # @option options [Aws::Telemetry::TracerBase] :tracer (Aws::Telemetry::NoOpTracer.new)
19
+ # @options options [Hash] :metadata ({})
17
20
  def initialize(options = {})
18
21
  @operation_name = options[:operation_name]
19
22
  @operation = options[:operation]
@@ -24,6 +27,7 @@ module Seahorse
24
27
  @http_request = options[:http_request] || Http::Request.new
25
28
  @http_response = options[:http_response] || Http::Response.new
26
29
  @retries = 0
30
+ @tracer = options[:tracer] || Aws::Telemetry::NoOpTracer.new
27
31
  @metadata = {}
28
32
  end
29
33
 
@@ -54,6 +58,9 @@ module Seahorse
54
58
  # @return [Integer]
55
59
  attr_accessor :retries
56
60
 
61
+ # @return [Tracer]
62
+ attr_accessor :tracer
63
+
57
64
  # @return [Hash]
58
65
  attr_reader :metadata
59
66
 
@@ -75,6 +75,8 @@ module Seahorse
75
75
  # Necessary to define as a subclass of Delegator
76
76
  # @api private
77
77
  def __getobj__
78
+ return yield if block_given? && !defined?(@data)
79
+
78
80
  @data
79
81
  end
80
82
 
@@ -0,0 +1,21 @@
1
+ module Aws
2
+ module AsyncClientStubs
3
+ include ClientStubs
4
+
5
+ def send_events: () -> untyped
6
+
7
+ class StubsStream
8
+ def initialize: () -> void
9
+
10
+ attr_accessor send_events: untyped
11
+
12
+ attr_reader state: Symbol
13
+
14
+ def data: (untyped bytes, ?::Hash[untyped, untyped] options) -> untyped
15
+
16
+ def closed?: () -> bool
17
+
18
+ def close: () -> void
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,46 @@
1
+ module Aws
2
+ module Telemetry
3
+ class TelemetryProviderBase
4
+ def initialize: (?tracer_provider: TracerProviderBase, ?context_manager: ContextManagerBase) -> void
5
+ attr_reader tracer_provider: TracerProviderBase
6
+
7
+ attr_reader context_manager: ContextManagerBase
8
+ end
9
+
10
+ class TracerProviderBase
11
+ def tracer: (?String name) -> TracerBase
12
+ end
13
+
14
+ class TracerBase
15
+ def start_span: (String name, ?untyped with_parent, ?Hash[String, untyped] attributes, ?SpanKind kind) -> SpanBase
16
+
17
+ def in_span: (String name, ?Hash[String, untyped] attributes, ?SpanKind kind) -> SpanBase
18
+
19
+ def current_span: () -> SpanBase
20
+ end
21
+
22
+ class SpanBase
23
+ def set_attribute: (String key, untyped value) -> self
24
+ alias []= set_attribute
25
+
26
+ def add_attributes: (Hash[String, untyped] attributes) -> self
27
+
28
+ def add_event: (String name, ?Hash[String, untyped] attributes) -> self
29
+
30
+ def status=: (SpanStatus status) -> void
31
+
32
+ def finish: (?Time end_timestamp) -> self
33
+
34
+ def record_exception: (untyped exception, ?Hash[String, untyped] attributes) -> void
35
+ end
36
+
37
+ class ContextManagerBase
38
+ def current: () -> untyped
39
+
40
+ def attach: (untyped context) -> untyped
41
+
42
+ def detach: (untyped token) -> bool
43
+ end
44
+
45
+ end
46
+ end
@@ -0,0 +1,22 @@
1
+ module Aws
2
+ module Telemetry
3
+ class OTelProvider < TelemetryProviderBase
4
+ def initialize: () -> void
5
+ end
6
+
7
+ class OTelTracerProvider < TracerProviderBase
8
+ def initialize: () -> void
9
+ end
10
+
11
+ class OTelTracer < TracerBase
12
+ def initialize: (untyped tracer) -> void
13
+ end
14
+
15
+ class OTelSpan < SpanBase
16
+ def initialize: (untyped span) -> void
17
+ end
18
+
19
+ class OTelContextManager < ContextManagerBase
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,15 @@
1
+ module Aws
2
+ module Telemetry
3
+ module SpanKind
4
+ INTERNAL: :internal
5
+
6
+ SERVER: :server
7
+
8
+ CLIENT: :client
9
+
10
+ CONSUMER: :consumer
11
+
12
+ PRODUCER: :producer
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,24 @@
1
+ module Aws
2
+ module Telemetry
3
+ class SpanStatus
4
+
5
+ def self.unset: (?::String description) -> SpanStatus
6
+
7
+ def self.ok: (?::String description) -> SpanStatus
8
+
9
+ def self.error: (?::String description) -> SpanStatus
10
+
11
+ def initialize: (Integer code, ?description: ::String) -> void
12
+
13
+ attr_reader code: Integer
14
+
15
+ attr_reader description: String
16
+
17
+ OK: 0
18
+
19
+ UNSET: 1
20
+
21
+ ERROR: 2
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,18 @@
1
+ module Seahorse
2
+ module Client
3
+ class AsyncBase < Base
4
+
5
+ def self.new: (?untyped options) -> instance
6
+
7
+ attr_reader connection: untyped
8
+
9
+ def operation_names: () -> Array[Symbol]
10
+
11
+ def close_connection: () -> Symbol
12
+
13
+ def new_connection: () -> untyped
14
+
15
+ def connection_errors: () -> Array[untyped]
16
+ end
17
+ end
18
+ end
metadata CHANGED
@@ -1,17 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.197.2
4
+ version: 3.225.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-06-20 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
- name: jmespath
13
+ name: aws-eventstream
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
16
  - - "~>"
@@ -19,7 +18,7 @@ dependencies:
19
18
  version: '1'
20
19
  - - ">="
21
20
  - !ruby/object:Gem::Version
22
- version: 1.6.1
21
+ version: 1.3.0
23
22
  type: :runtime
24
23
  prerelease: false
25
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +28,7 @@ dependencies:
29
28
  version: '1'
30
29
  - - ">="
31
30
  - !ruby/object:Gem::Version
32
- version: 1.6.1
31
+ version: 1.3.0
33
32
  - !ruby/object:Gem::Dependency
34
33
  name: aws-partitions
35
34
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +38,7 @@ dependencies:
39
38
  version: '1'
40
39
  - - ">="
41
40
  - !ruby/object:Gem::Version
42
- version: 1.651.0
41
+ version: 1.992.0
43
42
  type: :runtime
44
43
  prerelease: false
45
44
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,23 +48,37 @@ dependencies:
49
48
  version: '1'
50
49
  - - ">="
51
50
  - !ruby/object:Gem::Version
52
- version: 1.651.0
51
+ version: 1.992.0
53
52
  - !ruby/object:Gem::Dependency
54
53
  name: aws-sigv4
55
54
  requirement: !ruby/object:Gem::Requirement
56
55
  requirements:
57
56
  - - "~>"
58
57
  - !ruby/object:Gem::Version
59
- version: '1.8'
58
+ version: '1.9'
60
59
  type: :runtime
61
60
  prerelease: false
62
61
  version_requirements: !ruby/object:Gem::Requirement
63
62
  requirements:
64
63
  - - "~>"
65
64
  - !ruby/object:Gem::Version
66
- version: '1.8'
65
+ version: '1.9'
67
66
  - !ruby/object:Gem::Dependency
68
- name: aws-eventstream
67
+ name: base64
68
+ requirement: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: '0'
73
+ type: :runtime
74
+ prerelease: false
75
+ version_requirements: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
80
+ - !ruby/object:Gem::Dependency
81
+ name: jmespath
69
82
  requirement: !ruby/object:Gem::Requirement
70
83
  requirements:
71
84
  - - "~>"
@@ -73,7 +86,7 @@ dependencies:
73
86
  version: '1'
74
87
  - - ">="
75
88
  - !ruby/object:Gem::Version
76
- version: 1.3.0
89
+ version: 1.6.1
77
90
  type: :runtime
78
91
  prerelease: false
79
92
  version_requirements: !ruby/object:Gem::Requirement
@@ -83,10 +96,23 @@ dependencies:
83
96
  version: '1'
84
97
  - - ">="
85
98
  - !ruby/object:Gem::Version
86
- version: 1.3.0
99
+ version: 1.6.1
100
+ - !ruby/object:Gem::Dependency
101
+ name: logger
102
+ requirement: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: '0'
107
+ type: :runtime
108
+ prerelease: false
109
+ version_requirements: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: '0'
87
114
  description: Provides API clients for AWS. This gem is part of the official AWS SDK
88
115
  for Ruby.
89
- email:
90
116
  executables: []
91
117
  extensions: []
92
118
  extra_rdoc_files: []
@@ -111,6 +137,10 @@ files:
111
137
  - lib/aws-sdk-core/binary/event_parser.rb
112
138
  - lib/aws-sdk-core/binary/event_stream_decoder.rb
113
139
  - lib/aws-sdk-core/binary/event_stream_encoder.rb
140
+ - lib/aws-sdk-core/cbor.rb
141
+ - lib/aws-sdk-core/cbor/decoder.rb
142
+ - lib/aws-sdk-core/cbor/encoder.rb
143
+ - lib/aws-sdk-core/client_side_monitoring.rb
114
144
  - lib/aws-sdk-core/client_side_monitoring/publisher.rb
115
145
  - lib/aws-sdk-core/client_side_monitoring/request_metrics.rb
116
146
  - lib/aws-sdk-core/client_stubs.rb
@@ -136,6 +166,7 @@ files:
136
166
  - lib/aws-sdk-core/endpoints/templater.rb
137
167
  - lib/aws-sdk-core/endpoints/tree_rule.rb
138
168
  - lib/aws-sdk-core/endpoints/url.rb
169
+ - lib/aws-sdk-core/error_handler.rb
139
170
  - lib/aws-sdk-core/errors.rb
140
171
  - lib/aws-sdk-core/event_emitter.rb
141
172
  - lib/aws-sdk-core/ini_parser.rb
@@ -147,6 +178,7 @@ files:
147
178
  - lib/aws-sdk-core/json/json_engine.rb
148
179
  - lib/aws-sdk-core/json/oj_engine.rb
149
180
  - lib/aws-sdk-core/json/parser.rb
181
+ - lib/aws-sdk-core/log.rb
150
182
  - lib/aws-sdk-core/log/formatter.rb
151
183
  - lib/aws-sdk-core/log/handler.rb
152
184
  - lib/aws-sdk-core/log/param_filter.rb
@@ -156,6 +188,7 @@ files:
156
188
  - lib/aws-sdk-core/pager.rb
157
189
  - lib/aws-sdk-core/param_converter.rb
158
190
  - lib/aws-sdk-core/param_validator.rb
191
+ - lib/aws-sdk-core/plugins.rb
159
192
  - lib/aws-sdk-core/plugins/api_key.rb
160
193
  - lib/aws-sdk-core/plugins/apig_authorizer_token.rb
161
194
  - lib/aws-sdk-core/plugins/apig_credentials_configuration.rb
@@ -184,6 +217,7 @@ files:
184
217
  - lib/aws-sdk-core/plugins/protocols/query.rb
185
218
  - lib/aws-sdk-core/plugins/protocols/rest_json.rb
186
219
  - lib/aws-sdk-core/plugins/protocols/rest_xml.rb
220
+ - lib/aws-sdk-core/plugins/protocols/rpc_v2.rb
187
221
  - lib/aws-sdk-core/plugins/recursion_detection.rb
188
222
  - lib/aws-sdk-core/plugins/regional_endpoint.rb
189
223
  - lib/aws-sdk-core/plugins/request_compression.rb
@@ -197,10 +231,12 @@ files:
197
231
  - lib/aws-sdk-core/plugins/signature_v2.rb
198
232
  - lib/aws-sdk-core/plugins/signature_v4.rb
199
233
  - lib/aws-sdk-core/plugins/stub_responses.rb
234
+ - lib/aws-sdk-core/plugins/telemetry.rb
200
235
  - lib/aws-sdk-core/plugins/transfer_encoding.rb
201
236
  - lib/aws-sdk-core/plugins/user_agent.rb
202
237
  - lib/aws-sdk-core/process_credentials.rb
203
238
  - lib/aws-sdk-core/query.rb
239
+ - lib/aws-sdk-core/query/ec2_handler.rb
204
240
  - lib/aws-sdk-core/query/ec2_param_builder.rb
205
241
  - lib/aws-sdk-core/query/handler.rb
206
242
  - lib/aws-sdk-core/query/param.rb
@@ -208,12 +244,13 @@ files:
208
244
  - lib/aws-sdk-core/query/param_list.rb
209
245
  - lib/aws-sdk-core/refreshing_credentials.rb
210
246
  - lib/aws-sdk-core/refreshing_token.rb
247
+ - lib/aws-sdk-core/resources.rb
211
248
  - lib/aws-sdk-core/resources/collection.rb
212
249
  - lib/aws-sdk-core/rest.rb
250
+ - lib/aws-sdk-core/rest/content_type_handler.rb
213
251
  - lib/aws-sdk-core/rest/handler.rb
214
252
  - lib/aws-sdk-core/rest/request/body.rb
215
253
  - lib/aws-sdk-core/rest/request/builder.rb
216
- - lib/aws-sdk-core/rest/request/content_type.rb
217
254
  - lib/aws-sdk-core/rest/request/endpoint.rb
218
255
  - lib/aws-sdk-core/rest/request/headers.rb
219
256
  - lib/aws-sdk-core/rest/request/querystring_builder.rb
@@ -222,12 +259,20 @@ files:
222
259
  - lib/aws-sdk-core/rest/response/headers.rb
223
260
  - lib/aws-sdk-core/rest/response/parser.rb
224
261
  - lib/aws-sdk-core/rest/response/status_code.rb
262
+ - lib/aws-sdk-core/rpc_v2.rb
263
+ - lib/aws-sdk-core/rpc_v2/builder.rb
264
+ - lib/aws-sdk-core/rpc_v2/cbor_engine.rb
265
+ - lib/aws-sdk-core/rpc_v2/content_type_handler.rb
266
+ - lib/aws-sdk-core/rpc_v2/error_handler.rb
267
+ - lib/aws-sdk-core/rpc_v2/handler.rb
268
+ - lib/aws-sdk-core/rpc_v2/parser.rb
225
269
  - lib/aws-sdk-core/shared_config.rb
226
270
  - lib/aws-sdk-core/shared_credentials.rb
227
271
  - lib/aws-sdk-core/sso_credentials.rb
228
272
  - lib/aws-sdk-core/sso_token_provider.rb
229
273
  - lib/aws-sdk-core/static_token_provider.rb
230
274
  - lib/aws-sdk-core/structure.rb
275
+ - lib/aws-sdk-core/stubbing.rb
231
276
  - lib/aws-sdk-core/stubbing/data_applicator.rb
232
277
  - lib/aws-sdk-core/stubbing/empty_stub.rb
233
278
  - lib/aws-sdk-core/stubbing/protocols/api_gateway.rb
@@ -237,8 +282,15 @@ files:
237
282
  - lib/aws-sdk-core/stubbing/protocols/rest.rb
238
283
  - lib/aws-sdk-core/stubbing/protocols/rest_json.rb
239
284
  - lib/aws-sdk-core/stubbing/protocols/rest_xml.rb
285
+ - lib/aws-sdk-core/stubbing/protocols/rpc_v2.rb
240
286
  - lib/aws-sdk-core/stubbing/stub_data.rb
241
287
  - lib/aws-sdk-core/stubbing/xml_error.rb
288
+ - lib/aws-sdk-core/telemetry.rb
289
+ - lib/aws-sdk-core/telemetry/base.rb
290
+ - lib/aws-sdk-core/telemetry/no_op.rb
291
+ - lib/aws-sdk-core/telemetry/otel.rb
292
+ - lib/aws-sdk-core/telemetry/span_kind.rb
293
+ - lib/aws-sdk-core/telemetry/span_status.rb
242
294
  - lib/aws-sdk-core/token.rb
243
295
  - lib/aws-sdk-core/token_provider.rb
244
296
  - lib/aws-sdk-core/token_provider_chain.rb
@@ -255,13 +307,13 @@ files:
255
307
  - lib/aws-sdk-core/xml/doc_builder.rb
256
308
  - lib/aws-sdk-core/xml/error_handler.rb
257
309
  - lib/aws-sdk-core/xml/parser.rb
258
- - lib/aws-sdk-core/xml/parser/engines/libxml.rb
259
- - lib/aws-sdk-core/xml/parser/engines/nokogiri.rb
260
- - lib/aws-sdk-core/xml/parser/engines/oga.rb
261
- - lib/aws-sdk-core/xml/parser/engines/ox.rb
262
- - lib/aws-sdk-core/xml/parser/engines/rexml.rb
263
310
  - lib/aws-sdk-core/xml/parser/frame.rb
311
+ - lib/aws-sdk-core/xml/parser/libxml_engine.rb
312
+ - lib/aws-sdk-core/xml/parser/nokogiri_engine.rb
313
+ - lib/aws-sdk-core/xml/parser/oga_engine.rb
314
+ - lib/aws-sdk-core/xml/parser/ox_engine.rb
264
315
  - lib/aws-sdk-core/xml/parser/parsing_error.rb
316
+ - lib/aws-sdk-core/xml/parser/rexml_engine.rb
265
317
  - lib/aws-sdk-core/xml/parser/stack.rb
266
318
  - lib/aws-sdk-sso.rb
267
319
  - lib/aws-sdk-sso/client.rb
@@ -343,11 +395,17 @@ files:
343
395
  - lib/seahorse/util.rb
344
396
  - lib/seahorse/version.rb
345
397
  - sig/aws-sdk-core.rbs
398
+ - sig/aws-sdk-core/async_client_stubs.rbs
346
399
  - sig/aws-sdk-core/client_stubs.rbs
347
400
  - sig/aws-sdk-core/errors.rbs
348
401
  - sig/aws-sdk-core/resources/collection.rbs
349
402
  - sig/aws-sdk-core/structure.rbs
403
+ - sig/aws-sdk-core/telemetry/base.rbs
404
+ - sig/aws-sdk-core/telemetry/otel.rbs
405
+ - sig/aws-sdk-core/telemetry/span_kind.rbs
406
+ - sig/aws-sdk-core/telemetry/span_status.rbs
350
407
  - sig/aws-sdk-core/waiters/errors.rbs
408
+ - sig/seahorse/client/async_base.rbs
351
409
  - sig/seahorse/client/base.rbs
352
410
  - sig/seahorse/client/handler_builder.rbs
353
411
  - sig/seahorse/client/response.rbs
@@ -357,7 +415,6 @@ licenses:
357
415
  metadata:
358
416
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-core
359
417
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-core/CHANGELOG.md
360
- post_install_message:
361
418
  rdoc_options: []
362
419
  require_paths:
363
420
  - lib
@@ -365,15 +422,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
365
422
  requirements:
366
423
  - - ">="
367
424
  - !ruby/object:Gem::Version
368
- version: '2.5'
425
+ version: '2.7'
369
426
  required_rubygems_version: !ruby/object:Gem::Requirement
370
427
  requirements:
371
428
  - - ">="
372
429
  - !ruby/object:Gem::Version
373
430
  version: '0'
374
431
  requirements: []
375
- rubygems_version: 3.4.10
376
- signing_key:
432
+ rubygems_version: 3.6.7
377
433
  specification_version: 4
378
434
  summary: AWS SDK for Ruby - Core
379
435
  test_files: []