aws-sdk-kinesis 1.54.0 → 1.56.0

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: 5cd2a8a4ad4cac1a6d3dac96a2e85fb862bb8aded35e3a3a00feafeeca1cface
4
- data.tar.gz: 66e74f7a806b0f5a1623c938d5c4107fa5c0b4e27fb7004bf54a8d71ad43b9c5
3
+ metadata.gz: 9353635ff4c6d3e353a3d143e4d30b86c36fe8995b6a3aa4888a85827a413494
4
+ data.tar.gz: ad92577d2ab3b83bd419eb829859bf0fafbf69178b163d7cc81664c4ef4a6d25
5
5
  SHA512:
6
- metadata.gz: 8e35b266db7f7e81ff4556fd724dc987c19ccf306c4fad8518a443a8e713ea91f0ce069f6cd5a1668c152aed9b77afe0ad88a114832e9d7e21d1689df8f27148
7
- data.tar.gz: 49710f9c522623e317b34d430e9e0143fcd47ba2a81ea497fd1cc41b8e1717defd22b8ebcbaac54860ffa28f0136b27d429eea6974efbd484c022128ce92f8dc
6
+ metadata.gz: 79c0b6c3e7d141e2524e4f3fbb215af9e1cabbfe95db565f5f032a30bf8aa69f293ca8cd853448ffb9afdca5b74adf7d0f22ea42acb9ccb89de10b56c4c5a99c
7
+ data.tar.gz: cfa21b3f57ea74a3face4dc88f73ef3aec5e9dadd18b5e1ffa5e3a417103b93027e8dccb74fc96d896a7b516971c52c342e74716fa4dde355633aa5a08d3cc15
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.56.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.55.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.54.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.54.0
1
+ 1.56.0
@@ -21,13 +21,13 @@ require 'aws-sdk-core/plugins/global_configuration.rb'
21
21
  require 'aws-sdk-core/plugins/regional_endpoint.rb'
22
22
  require 'aws-sdk-core/plugins/stub_responses.rb'
23
23
  require 'aws-sdk-core/plugins/idempotency_token.rb'
24
+ require 'aws-sdk-core/plugins/invocation_id.rb'
24
25
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
25
26
  require 'aws-sdk-core/plugins/http_checksum.rb'
26
27
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
27
28
  require 'aws-sdk-core/plugins/request_compression.rb'
28
29
  require 'aws-sdk-core/plugins/defaults_mode.rb'
29
30
  require 'aws-sdk-core/plugins/recursion_detection.rb'
30
- require 'aws-sdk-core/plugins/invocation_id.rb'
31
31
  require 'aws-sdk-core/plugins/sign.rb'
32
32
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
33
33
  require 'aws-sdk-core/plugins/event_stream_configuration.rb'
@@ -54,13 +54,13 @@ module Aws::Kinesis
54
54
  add_plugin(Aws::Plugins::RegionalEndpoint)
55
55
  add_plugin(Aws::Plugins::StubResponses)
56
56
  add_plugin(Aws::Plugins::IdempotencyToken)
57
+ add_plugin(Aws::Plugins::InvocationId)
57
58
  add_plugin(Aws::Plugins::JsonvalueConverter)
58
59
  add_plugin(Aws::Plugins::HttpChecksum)
59
60
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
60
61
  add_plugin(Aws::Plugins::RequestCompression)
61
62
  add_plugin(Aws::Plugins::DefaultsMode)
62
63
  add_plugin(Aws::Plugins::RecursionDetection)
63
- add_plugin(Aws::Plugins::InvocationId)
64
64
  add_plugin(Aws::Plugins::Sign)
65
65
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
66
66
  add_plugin(Aws::Plugins::EventStreamConfiguration)
@@ -147,10 +147,17 @@ module Aws::Kinesis
147
147
  # When set to 'true' the request body will not be compressed
148
148
  # for supported operations.
149
149
  #
150
- # @option options [String] :endpoint
151
- # The client endpoint is normally constructed from the `:region`
152
- # option. You should only configure an `:endpoint` when connecting
153
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
150
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
151
+ # Normally you should not configure the `:endpoint` option
152
+ # directly. This is normally constructed from the `:region`
153
+ # option. Configuring `:endpoint` is normally reserved for
154
+ # connecting to test or custom endpoints. The endpoint should
155
+ # be a URI formatted like:
156
+ #
157
+ # 'http://example.com'
158
+ # 'https://example.com'
159
+ # 'http://example.com:123'
160
+ #
154
161
  #
155
162
  # @option options [Proc] :event_stream_handler
156
163
  # When an EventStream or Proc object is provided, it will be used as callback for each chunk of event stream response received along the way.
@@ -292,6 +299,44 @@ module Aws::Kinesis
292
299
  # @option options [Aws::Kinesis::EndpointProvider] :endpoint_provider
293
300
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Kinesis::EndpointParameters`
294
301
  #
302
+ # @option options [Integer] :connection_read_timeout (60)
303
+ # Connection read timeout in seconds, defaults to 60 sec.
304
+ #
305
+ # @option options [Integer] :connection_timeout (60)
306
+ # Connection timeout in seconds, defaults to 60 sec.
307
+ #
308
+ # @option options [Boolean] :enable_alpn (false)
309
+ # Set to `true` to enable ALPN in HTTP2 over TLS. Requires Openssl version >= 1.0.2.
310
+ # Defaults to false. Note: not all service HTTP2 operations supports ALPN on server
311
+ # side, please refer to service documentation.
312
+ #
313
+ # @option options [Boolean] :http_wire_trace (false)
314
+ # When `true`, HTTP2 debug output will be sent to the `:logger`.
315
+ #
316
+ # @option options [Integer] :max_concurrent_streams (100)
317
+ # Maximum concurrent streams used in HTTP2 connection, defaults to 100. Note that server may send back
318
+ # :settings_max_concurrent_streams value which will take priority when initializing new streams.
319
+ #
320
+ # @option options [Boolean] :raise_response_errors (true)
321
+ # Defaults to `true`, raises errors if exist when #wait or #join! is called upon async response.
322
+ #
323
+ # @option options [Integer] :read_chunk_size (1024)
324
+ #
325
+ # @option options [String] :ssl_ca_bundle
326
+ # Full path to the SSL certificate authority bundle file that should be used when
327
+ # verifying peer certificates. If you do not pass `:ssl_ca_directory` or `:ssl_ca_bundle`
328
+ # the system default will be used if available.
329
+ #
330
+ # @option options [String] :ssl_ca_directory
331
+ # Full path of the directory that contains the unbundled SSL certificate authority
332
+ # files for verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
333
+ # `:ssl_ca_directory` the system default will be used if available.
334
+ #
335
+ # @option options [String] :ssl_ca_store
336
+ #
337
+ # @option options [Boolean] :ssl_verify_peer (true)
338
+ # When `true`, SSL peer certificates are verified when establishing a connection.
339
+ #
295
340
  def initialize(*args)
296
341
  unless Kernel.const_defined?("HTTP2")
297
342
  raise "Must include http/2 gem to use AsyncClient instances."
@@ -351,22 +396,22 @@ module Aws::Kinesis
351
396
  #
352
397
  # @example EventStream Operation Example
353
398
  #
354
- # You can process event once it arrives immediately, or wait until
355
- # full response complete and iterate through eventstream enumerator.
399
+ # You can process the event once it arrives immediately, or wait until the
400
+ # full response is complete and iterate through the eventstream enumerator.
356
401
  #
357
402
  # To interact with event immediately, you need to register #subscribe_to_shard
358
- # with callbacks, callbacks can be register for specifc events or for all events,
359
- # callback for errors in the event stream is also available for register.
403
+ # with callbacks. Callbacks can be registered for specific events or for all
404
+ # events, including error events.
360
405
  #
361
- # Callbacks can be passed in by `:event_stream_handler` option or within block
362
- # statement attached to #subscribe_to_shard call directly. Hybrid pattern of both
363
- # is also supported.
406
+ # Callbacks can be passed into the `:event_stream_handler` option or within a
407
+ # block statement attached to the #subscribe_to_shard call directly. Hybrid
408
+ # pattern of both is also supported.
364
409
  #
365
- # `:event_stream_handler` option takes in either Proc object or
410
+ # `:event_stream_handler` option takes in either a Proc object or
366
411
  # Aws::Kinesis::EventStreams::SubscribeToShardEventStream object.
367
412
  #
368
- # Usage pattern a): callbacks with a block attached to #subscribe_to_shard
369
- # Example for registering callbacks for all event types and error event
413
+ # Usage pattern a): Callbacks with a block attached to #subscribe_to_shard
414
+ # Example for registering callbacks for all event types and an error event
370
415
  #
371
416
  # client.subscribe_to_shard( # params input# ) do |stream|
372
417
  # stream.on_error_event do |event|
@@ -386,9 +431,9 @@ module Aws::Kinesis
386
431
  #
387
432
  # end
388
433
  #
389
- # Usage pattern b): pass in `:event_stream_handler` for #subscribe_to_shard
434
+ # Usage pattern b): Pass in `:event_stream_handler` for #subscribe_to_shard
390
435
  #
391
- # 1) create a Aws::Kinesis::EventStreams::SubscribeToShardEventStream object
436
+ # 1) Create a Aws::Kinesis::EventStreams::SubscribeToShardEventStream object
392
437
  # Example for registering callbacks with specific events
393
438
  #
394
439
  # handler = Aws::Kinesis::EventStreams::SubscribeToShardEventStream.new
@@ -425,7 +470,7 @@ module Aws::Kinesis
425
470
  #
426
471
  # client.subscribe_to_shard( # params input #, event_stream_handler: handler)
427
472
  #
428
- # 2) use a Ruby Proc object
473
+ # 2) Use a Ruby Proc object
429
474
  # Example for registering callbacks with specific events
430
475
  #
431
476
  # handler = Proc.new do |stream|
@@ -463,7 +508,7 @@ module Aws::Kinesis
463
508
  #
464
509
  # client.subscribe_to_shard( # params input #, event_stream_handler: handler)
465
510
  #
466
- # Usage pattern c): hybird pattern of a) and b)
511
+ # Usage pattern c): Hybrid pattern of a) and b)
467
512
  #
468
513
  # handler = Aws::Kinesis::EventStreams::SubscribeToShardEventStream.new
469
514
  # handler.on_subscribe_to_shard_event_event do |event|
@@ -508,8 +553,7 @@ module Aws::Kinesis
508
553
  # end
509
554
  # end
510
555
  #
511
- # Besides above usage patterns for process events when they arrive immediately, you can also
512
- # iterate through events after response complete.
556
+ # You can also iterate through events after the response complete.
513
557
  #
514
558
  # Events are available at resp.event_stream # => Enumerator
515
559
  # For parameter input example, please refer to following request syntax
@@ -615,7 +659,7 @@ module Aws::Kinesis
615
659
  http_response: Seahorse::Client::Http::AsyncResponse.new,
616
660
  config: config)
617
661
  context[:gem_name] = 'aws-sdk-kinesis'
618
- context[:gem_version] = '1.54.0'
662
+ context[:gem_version] = '1.56.0'
619
663
  Seahorse::Client::Request.new(handlers, context)
620
664
  end
621
665
 
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -73,6 +74,7 @@ module Aws::Kinesis
73
74
  add_plugin(Aws::Plugins::ResponsePaging)
74
75
  add_plugin(Aws::Plugins::StubResponses)
75
76
  add_plugin(Aws::Plugins::IdempotencyToken)
77
+ add_plugin(Aws::Plugins::InvocationId)
76
78
  add_plugin(Aws::Plugins::JsonvalueConverter)
77
79
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
78
80
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -198,10 +200,17 @@ module Aws::Kinesis
198
200
  # When set to 'true' the request body will not be compressed
199
201
  # for supported operations.
200
202
  #
201
- # @option options [String] :endpoint
202
- # The client endpoint is normally constructed from the `:region`
203
- # option. You should only configure an `:endpoint` when connecting
204
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
203
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
204
+ # Normally you should not configure the `:endpoint` option
205
+ # directly. This is normally constructed from the `:region`
206
+ # option. Configuring `:endpoint` is normally reserved for
207
+ # connecting to test or custom endpoints. The endpoint should
208
+ # be a URI formatted like:
209
+ #
210
+ # 'http://example.com'
211
+ # 'https://example.com'
212
+ # 'http://example.com:123'
213
+ #
205
214
  #
206
215
  # @option options [Integer] :endpoint_cache_max_entries (1000)
207
216
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -358,50 +367,65 @@ module Aws::Kinesis
358
367
  # @option options [Aws::Kinesis::EndpointProvider] :endpoint_provider
359
368
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Kinesis::EndpointParameters`
360
369
  #
361
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
362
- # requests through. Formatted like 'http://proxy.com:123'.
363
- #
364
- # @option options [Float] :http_open_timeout (15) The number of
365
- # seconds to wait when opening a HTTP session before raising a
366
- # `Timeout::Error`.
367
- #
368
- # @option options [Float] :http_read_timeout (60) The default
369
- # number of seconds to wait for response data. This value can
370
- # safely be set per-request on the session.
371
- #
372
- # @option options [Float] :http_idle_timeout (5) The number of
373
- # seconds a connection is allowed to sit idle before it is
374
- # considered stale. Stale connections are closed and removed
375
- # from the pool before making a request.
376
- #
377
- # @option options [Float] :http_continue_timeout (1) The number of
378
- # seconds to wait for a 100-continue response before sending the
379
- # request body. This option has no effect unless the request has
380
- # "Expect" header set to "100-continue". Defaults to `nil` which
381
- # disables this behaviour. This value can safely be set per
382
- # request on the session.
383
- #
384
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
385
- # in seconds.
370
+ # @option options [Float] :http_continue_timeout (1)
371
+ # The number of seconds to wait for a 100-continue response before sending the
372
+ # request body. This option has no effect unless the request has "Expect"
373
+ # header set to "100-continue". Defaults to `nil` which disables this
374
+ # behaviour. This value can safely be set per request on the session.
375
+ #
376
+ # @option options [Float] :http_idle_timeout (5)
377
+ # The number of seconds a connection is allowed to sit idle before it
378
+ # is considered stale. Stale connections are closed and removed from the
379
+ # pool before making a request.
380
+ #
381
+ # @option options [Float] :http_open_timeout (15)
382
+ # The default number of seconds to wait for response data.
383
+ # This value can safely be set per-request on the session.
384
+ #
385
+ # @option options [URI::HTTP,String] :http_proxy
386
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
387
+ #
388
+ # @option options [Float] :http_read_timeout (60)
389
+ # The default number of seconds to wait for response data.
390
+ # This value can safely be set per-request on the session.
391
+ #
392
+ # @option options [Boolean] :http_wire_trace (false)
393
+ # When `true`, HTTP debug output will be sent to the `:logger`.
394
+ #
395
+ # @option options [Proc] :on_chunk_received
396
+ # When a Proc object is provided, it will be used as callback when each chunk
397
+ # of the response body is received. It provides three arguments: the chunk,
398
+ # the number of bytes received, and the total number of
399
+ # bytes in the response (or nil if the server did not send a `content-length`).
400
+ #
401
+ # @option options [Proc] :on_chunk_sent
402
+ # When a Proc object is provided, it will be used as callback when each chunk
403
+ # of the request body is sent. It provides three arguments: the chunk,
404
+ # the number of bytes read from the body, and the total number of
405
+ # bytes in the body.
406
+ #
407
+ # @option options [Boolean] :raise_response_errors (true)
408
+ # When `true`, response errors are raised.
409
+ #
410
+ # @option options [String] :ssl_ca_bundle
411
+ # Full path to the SSL certificate authority bundle file that should be used when
412
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
413
+ # `:ssl_ca_directory` the the system default will be used if available.
414
+ #
415
+ # @option options [String] :ssl_ca_directory
416
+ # Full path of the directory that contains the unbundled SSL certificate
417
+ # authority files for verifying peer certificates. If you do
418
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
419
+ # default will be used if available.
386
420
  #
387
- # @option options [Boolean] :http_wire_trace (false) When `true`,
388
- # HTTP debug output will be sent to the `:logger`.
421
+ # @option options [String] :ssl_ca_store
422
+ # Sets the X509::Store to verify peer certificate.
389
423
  #
390
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
391
- # SSL peer certificates are verified when establishing a
392
- # connection.
424
+ # @option options [Float] :ssl_timeout
425
+ # Sets the SSL timeout in seconds
393
426
  #
394
- # @option options [String] :ssl_ca_bundle Full path to the SSL
395
- # certificate authority bundle file that should be used when
396
- # verifying peer certificates. If you do not pass
397
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
398
- # will be used if available.
399
- #
400
- # @option options [String] :ssl_ca_directory Full path of the
401
- # directory that contains the unbundled SSL certificate
402
- # authority files for verifying peer certificates. If you do
403
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
404
- # system default will be used if available.
427
+ # @option options [Boolean] :ssl_verify_peer (true)
428
+ # When `true`, SSL peer certificates are verified when establishing a connection.
405
429
  #
406
430
  def initialize(*args)
407
431
  super
@@ -2777,7 +2801,7 @@ module Aws::Kinesis
2777
2801
  params: params,
2778
2802
  config: config)
2779
2803
  context[:gem_name] = 'aws-sdk-kinesis'
2780
- context[:gem_version] = '1.54.0'
2804
+ context[:gem_version] = '1.56.0'
2781
2805
  Seahorse::Client::Request.new(handlers, context)
2782
2806
  end
2783
2807
 
@@ -14,6 +14,7 @@ module Aws::Kinesis
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::Kinesis::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -55,6 +55,6 @@ require_relative 'aws-sdk-kinesis/event_streams'
55
55
  # @!group service
56
56
  module Aws::Kinesis
57
57
 
58
- GEM_VERSION = '1.54.0'
58
+ GEM_VERSION = '1.56.0'
59
59
 
60
60
  end