aws-sdk-kinesis 1.55.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: c6a6a66e22e880f9210239ccf1de31a12942a463b03438cc48f282fe4d8217d5
4
- data.tar.gz: 1edeea5a75697c7474ce4844893fbb9a2c30537f6f156393f1150cdb6ad0356c
3
+ metadata.gz: 9353635ff4c6d3e353a3d143e4d30b86c36fe8995b6a3aa4888a85827a413494
4
+ data.tar.gz: ad92577d2ab3b83bd419eb829859bf0fafbf69178b163d7cc81664c4ef4a6d25
5
5
  SHA512:
6
- metadata.gz: 1b1e5e7c7407170f69f6665f63e3787e48bad0fa0fd661820fdb64ef4a2d321633b044f8e52c7013abd903d04f26079a54cbbfd8abd7019abf0fdd472c1a55c1
7
- data.tar.gz: e76796b323dda39afd81686b1d32f3a909b59d6c8245e59206df5687cc223ef72c0666a75a228116f56f826af856aa6dd4c7f6481476538a4a5fe060c959e03d
6
+ metadata.gz: 79c0b6c3e7d141e2524e4f3fbb215af9e1cabbfe95db565f5f032a30bf8aa69f293ca8cd853448ffb9afdca5b74adf7d0f22ea42acb9ccb89de10b56c4c5a99c
7
+ data.tar.gz: cfa21b3f57ea74a3face4dc88f73ef3aec5e9dadd18b5e1ffa5e3a417103b93027e8dccb74fc96d896a7b516971c52c342e74716fa4dde355633aa5a08d3cc15
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.55.0 (2024-01-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.55.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.55.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.55.0'
2804
+ context[:gem_version] = '1.56.0'
2781
2805
  Seahorse::Client::Request.new(handlers, context)
2782
2806
  end
2783
2807
 
@@ -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.55.0'
58
+ GEM_VERSION = '1.56.0'
59
59
 
60
60
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-kinesis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.55.0
4
+ version: 1.56.0
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-01-26 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.191.0
22
+ version: 3.193.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement