aws-sdk-kinesis 1.55.0 → 1.57.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: 11ca436677cff6abe898f7673e7296cd66cc517ef404b134f83710306bae9d1a
4
+ data.tar.gz: c6f959c89b87ec08fbf24b7057ddc5f836ba9b5f6454555ca1b7c923b1b97e77
5
5
  SHA512:
6
- metadata.gz: 1b1e5e7c7407170f69f6665f63e3787e48bad0fa0fd661820fdb64ef4a2d321633b044f8e52c7013abd903d04f26079a54cbbfd8abd7019abf0fdd472c1a55c1
7
- data.tar.gz: e76796b323dda39afd81686b1d32f3a909b59d6c8245e59206df5687cc223ef72c0666a75a228116f56f826af856aa6dd4c7f6481476538a4a5fe060c959e03d
6
+ metadata.gz: ff167a788a46a4b7f80763be462aa58afa137e46765ea4be688f6555915c11d10171a0d97664897fd3978d4fec7b054e29738300a67162e9fae6ff60a158c603
7
+ data.tar.gz: 95692cf8da914d2f67e1412522955223333a403f2e78c7995da5dfcefa3393261ceb18c47fc55bc3b62dfacc4e80b554b48ddbe9068017d44e7a6b98e330d325
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.57.0 (2024-05-13)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.56.0 (2024-04-25)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.55.0 (2024-01-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.55.0
1
+ 1.57.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.
@@ -237,8 +244,9 @@ module Aws::Kinesis
237
244
  #
238
245
  # @option options [String] :sdk_ua_app_id
239
246
  # A unique and opaque application ID that is appended to the
240
- # User-Agent header as app/<sdk_ua_app_id>. It should have a
241
- # maximum length of 50.
247
+ # User-Agent header as app/sdk_ua_app_id. It should have a
248
+ # maximum length of 50. This variable is sourced from environment
249
+ # variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
242
250
  #
243
251
  # @option options [String] :secret_access_key
244
252
  #
@@ -292,6 +300,44 @@ module Aws::Kinesis
292
300
  # @option options [Aws::Kinesis::EndpointProvider] :endpoint_provider
293
301
  # 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
302
  #
303
+ # @option options [Integer] :connection_read_timeout (60)
304
+ # Connection read timeout in seconds, defaults to 60 sec.
305
+ #
306
+ # @option options [Integer] :connection_timeout (60)
307
+ # Connection timeout in seconds, defaults to 60 sec.
308
+ #
309
+ # @option options [Boolean] :enable_alpn (false)
310
+ # Set to `true` to enable ALPN in HTTP2 over TLS. Requires Openssl version >= 1.0.2.
311
+ # Defaults to false. Note: not all service HTTP2 operations supports ALPN on server
312
+ # side, please refer to service documentation.
313
+ #
314
+ # @option options [Boolean] :http_wire_trace (false)
315
+ # When `true`, HTTP2 debug output will be sent to the `:logger`.
316
+ #
317
+ # @option options [Integer] :max_concurrent_streams (100)
318
+ # Maximum concurrent streams used in HTTP2 connection, defaults to 100. Note that server may send back
319
+ # :settings_max_concurrent_streams value which will take priority when initializing new streams.
320
+ #
321
+ # @option options [Boolean] :raise_response_errors (true)
322
+ # Defaults to `true`, raises errors if exist when #wait or #join! is called upon async response.
323
+ #
324
+ # @option options [Integer] :read_chunk_size (1024)
325
+ #
326
+ # @option options [String] :ssl_ca_bundle
327
+ # Full path to the SSL certificate authority bundle file that should be used when
328
+ # verifying peer certificates. If you do not pass `:ssl_ca_directory` or `:ssl_ca_bundle`
329
+ # the system default will be used if available.
330
+ #
331
+ # @option options [String] :ssl_ca_directory
332
+ # Full path of the directory that contains the unbundled SSL certificate authority
333
+ # files for verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
334
+ # `:ssl_ca_directory` the system default will be used if available.
335
+ #
336
+ # @option options [String] :ssl_ca_store
337
+ #
338
+ # @option options [Boolean] :ssl_verify_peer (true)
339
+ # When `true`, SSL peer certificates are verified when establishing a connection.
340
+ #
295
341
  def initialize(*args)
296
342
  unless Kernel.const_defined?("HTTP2")
297
343
  raise "Must include http/2 gem to use AsyncClient instances."
@@ -351,22 +397,22 @@ module Aws::Kinesis
351
397
  #
352
398
  # @example EventStream Operation Example
353
399
  #
354
- # You can process event once it arrives immediately, or wait until
355
- # full response complete and iterate through eventstream enumerator.
400
+ # You can process the event once it arrives immediately, or wait until the
401
+ # full response is complete and iterate through the eventstream enumerator.
356
402
  #
357
403
  # 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.
404
+ # with callbacks. Callbacks can be registered for specific events or for all
405
+ # events, including error events.
360
406
  #
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.
407
+ # Callbacks can be passed into the `:event_stream_handler` option or within a
408
+ # block statement attached to the #subscribe_to_shard call directly. Hybrid
409
+ # pattern of both is also supported.
364
410
  #
365
- # `:event_stream_handler` option takes in either Proc object or
411
+ # `:event_stream_handler` option takes in either a Proc object or
366
412
  # Aws::Kinesis::EventStreams::SubscribeToShardEventStream object.
367
413
  #
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
414
+ # Usage pattern a): Callbacks with a block attached to #subscribe_to_shard
415
+ # Example for registering callbacks for all event types and an error event
370
416
  #
371
417
  # client.subscribe_to_shard( # params input# ) do |stream|
372
418
  # stream.on_error_event do |event|
@@ -386,9 +432,9 @@ module Aws::Kinesis
386
432
  #
387
433
  # end
388
434
  #
389
- # Usage pattern b): pass in `:event_stream_handler` for #subscribe_to_shard
435
+ # Usage pattern b): Pass in `:event_stream_handler` for #subscribe_to_shard
390
436
  #
391
- # 1) create a Aws::Kinesis::EventStreams::SubscribeToShardEventStream object
437
+ # 1) Create a Aws::Kinesis::EventStreams::SubscribeToShardEventStream object
392
438
  # Example for registering callbacks with specific events
393
439
  #
394
440
  # handler = Aws::Kinesis::EventStreams::SubscribeToShardEventStream.new
@@ -425,7 +471,7 @@ module Aws::Kinesis
425
471
  #
426
472
  # client.subscribe_to_shard( # params input #, event_stream_handler: handler)
427
473
  #
428
- # 2) use a Ruby Proc object
474
+ # 2) Use a Ruby Proc object
429
475
  # Example for registering callbacks with specific events
430
476
  #
431
477
  # handler = Proc.new do |stream|
@@ -463,7 +509,7 @@ module Aws::Kinesis
463
509
  #
464
510
  # client.subscribe_to_shard( # params input #, event_stream_handler: handler)
465
511
  #
466
- # Usage pattern c): hybird pattern of a) and b)
512
+ # Usage pattern c): Hybrid pattern of a) and b)
467
513
  #
468
514
  # handler = Aws::Kinesis::EventStreams::SubscribeToShardEventStream.new
469
515
  # handler.on_subscribe_to_shard_event_event do |event|
@@ -508,8 +554,7 @@ module Aws::Kinesis
508
554
  # end
509
555
  # end
510
556
  #
511
- # Besides above usage patterns for process events when they arrive immediately, you can also
512
- # iterate through events after response complete.
557
+ # You can also iterate through events after the response complete.
513
558
  #
514
559
  # Events are available at resp.event_stream # => Enumerator
515
560
  # For parameter input example, please refer to following request syntax
@@ -615,7 +660,7 @@ module Aws::Kinesis
615
660
  http_response: Seahorse::Client::Http::AsyncResponse.new,
616
661
  config: config)
617
662
  context[:gem_name] = 'aws-sdk-kinesis'
618
- context[:gem_version] = '1.55.0'
663
+ context[:gem_version] = '1.57.0'
619
664
  Seahorse::Client::Request.new(handlers, context)
620
665
  end
621
666
 
@@ -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
@@ -303,8 +312,9 @@ module Aws::Kinesis
303
312
  #
304
313
  # @option options [String] :sdk_ua_app_id
305
314
  # A unique and opaque application ID that is appended to the
306
- # User-Agent header as app/<sdk_ua_app_id>. It should have a
307
- # maximum length of 50.
315
+ # User-Agent header as app/sdk_ua_app_id. It should have a
316
+ # maximum length of 50. This variable is sourced from environment
317
+ # variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
308
318
  #
309
319
  # @option options [String] :secret_access_key
310
320
  #
@@ -358,50 +368,65 @@ module Aws::Kinesis
358
368
  # @option options [Aws::Kinesis::EndpointProvider] :endpoint_provider
359
369
  # 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
370
  #
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.
371
+ # @option options [Float] :http_continue_timeout (1)
372
+ # The number of seconds to wait for a 100-continue response before sending the
373
+ # request body. This option has no effect unless the request has "Expect"
374
+ # header set to "100-continue". Defaults to `nil` which disables this
375
+ # behaviour. This value can safely be set per request on the session.
376
+ #
377
+ # @option options [Float] :http_idle_timeout (5)
378
+ # The number of seconds a connection is allowed to sit idle before it
379
+ # is considered stale. Stale connections are closed and removed from the
380
+ # pool before making a request.
381
+ #
382
+ # @option options [Float] :http_open_timeout (15)
383
+ # The default number of seconds to wait for response data.
384
+ # This value can safely be set per-request on the session.
385
+ #
386
+ # @option options [URI::HTTP,String] :http_proxy
387
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
388
+ #
389
+ # @option options [Float] :http_read_timeout (60)
390
+ # The default number of seconds to wait for response data.
391
+ # This value can safely be set per-request on the session.
392
+ #
393
+ # @option options [Boolean] :http_wire_trace (false)
394
+ # When `true`, HTTP debug output will be sent to the `:logger`.
395
+ #
396
+ # @option options [Proc] :on_chunk_received
397
+ # When a Proc object is provided, it will be used as callback when each chunk
398
+ # of the response body is received. It provides three arguments: the chunk,
399
+ # the number of bytes received, and the total number of
400
+ # bytes in the response (or nil if the server did not send a `content-length`).
401
+ #
402
+ # @option options [Proc] :on_chunk_sent
403
+ # When a Proc object is provided, it will be used as callback when each chunk
404
+ # of the request body is sent. It provides three arguments: the chunk,
405
+ # the number of bytes read from the body, and the total number of
406
+ # bytes in the body.
407
+ #
408
+ # @option options [Boolean] :raise_response_errors (true)
409
+ # When `true`, response errors are raised.
410
+ #
411
+ # @option options [String] :ssl_ca_bundle
412
+ # Full path to the SSL certificate authority bundle file that should be used when
413
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
414
+ # `:ssl_ca_directory` the the system default will be used if available.
415
+ #
416
+ # @option options [String] :ssl_ca_directory
417
+ # Full path of the directory that contains the unbundled SSL certificate
418
+ # authority files for verifying peer certificates. If you do
419
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
420
+ # default will be used if available.
386
421
  #
387
- # @option options [Boolean] :http_wire_trace (false) When `true`,
388
- # HTTP debug output will be sent to the `:logger`.
422
+ # @option options [String] :ssl_ca_store
423
+ # Sets the X509::Store to verify peer certificate.
389
424
  #
390
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
391
- # SSL peer certificates are verified when establishing a
392
- # connection.
425
+ # @option options [Float] :ssl_timeout
426
+ # Sets the SSL timeout in seconds
393
427
  #
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.
428
+ # @option options [Boolean] :ssl_verify_peer (true)
429
+ # When `true`, SSL peer certificates are verified when establishing a connection.
405
430
  #
406
431
  def initialize(*args)
407
432
  super
@@ -2777,7 +2802,7 @@ module Aws::Kinesis
2777
2802
  params: params,
2778
2803
  config: config)
2779
2804
  context[:gem_name] = 'aws-sdk-kinesis'
2780
- context[:gem_version] = '1.55.0'
2805
+ context[:gem_version] = '1.57.0'
2781
2806
  Seahorse::Client::Request.new(handlers, context)
2782
2807
  end
2783
2808
 
@@ -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.57.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.57.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-05-13 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