aws-sdk-lexruntimev2 1.30.0 → 1.31.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: 44cb9c2212a040afa4bcbc09f09bbe4f371a5907ce1d178df4220aecdb65820e
4
- data.tar.gz: 7d4b83a040c3d2a085460f70c52c6098214bfc14c563d7cda4cc75dba4a93f37
3
+ metadata.gz: bfe86f1d719d762f4fcf5cc897564a6305aac13c8ff573a7cbf7eb76eb2d14ad
4
+ data.tar.gz: ac1fa3089b077173ab4d5cf794932f9c8552100678ddba4f43e695d35c198b4d
5
5
  SHA512:
6
- metadata.gz: 880a5cebedb83454f7002179302b6c6b1385375b6c96f4c4b8beb529453d83f3e801a01347dfe44d6483adf0940cb3fcd1b58a4a2f89906fff8becaf907cbb38
7
- data.tar.gz: 5fc51375eb770bae01b697e9b85a0ee2082c882a5c52f95a0fa917804f006c987c0d30a32e599471cc7a0068b31c6847b0d961e2545e77b38b580debb507790c
6
+ metadata.gz: 335a3300e81c9c78458f9d64aa210c5dc2fa280dba1df5dccaf0367cb64fcd62aa81699d85aa7add78b3bc1a46591f1d3e18a1e83ad0c8c245150858c79cce6c
7
+ data.tar.gz: '0790139937b5c0d712f4f9b944188c1db2ac2870612a705fc1e7addbb5c18c57750e1a2fd81981c4e6ecac715a6d6b04f6a2681d9d6428c3fc4bb4d62bd9b86b'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.31.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.30.0 (2024-01-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.30.0
1
+ 1.31.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/rest_json.rb'
33
33
  require 'aws-sdk-core/plugins/event_stream_configuration.rb'
@@ -54,13 +54,13 @@ module Aws::LexRuntimeV2
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::RestJson)
66
66
  add_plugin(Aws::Plugins::EventStreamConfiguration)
@@ -147,10 +147,17 @@ module Aws::LexRuntimeV2
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.
@@ -282,6 +289,44 @@ module Aws::LexRuntimeV2
282
289
  # @option options [Aws::LexRuntimeV2::EndpointProvider] :endpoint_provider
283
290
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::LexRuntimeV2::EndpointParameters`
284
291
  #
292
+ # @option options [Integer] :connection_read_timeout (60)
293
+ # Connection read timeout in seconds, defaults to 60 sec.
294
+ #
295
+ # @option options [Integer] :connection_timeout (60)
296
+ # Connection timeout in seconds, defaults to 60 sec.
297
+ #
298
+ # @option options [Boolean] :enable_alpn (false)
299
+ # Set to `true` to enable ALPN in HTTP2 over TLS. Requires Openssl version >= 1.0.2.
300
+ # Defaults to false. Note: not all service HTTP2 operations supports ALPN on server
301
+ # side, please refer to service documentation.
302
+ #
303
+ # @option options [Boolean] :http_wire_trace (false)
304
+ # When `true`, HTTP2 debug output will be sent to the `:logger`.
305
+ #
306
+ # @option options [Integer] :max_concurrent_streams (100)
307
+ # Maximum concurrent streams used in HTTP2 connection, defaults to 100. Note that server may send back
308
+ # :settings_max_concurrent_streams value which will take priority when initializing new streams.
309
+ #
310
+ # @option options [Boolean] :raise_response_errors (true)
311
+ # Defaults to `true`, raises errors if exist when #wait or #join! is called upon async response.
312
+ #
313
+ # @option options [Integer] :read_chunk_size (1024)
314
+ #
315
+ # @option options [String] :ssl_ca_bundle
316
+ # Full path to the SSL certificate authority bundle file that should be used when
317
+ # verifying peer certificates. If you do not pass `:ssl_ca_directory` or `:ssl_ca_bundle`
318
+ # the system default will be used if available.
319
+ #
320
+ # @option options [String] :ssl_ca_directory
321
+ # Full path of the directory that contains the unbundled SSL certificate authority
322
+ # files for verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
323
+ # `:ssl_ca_directory` the system default will be used if available.
324
+ #
325
+ # @option options [String] :ssl_ca_store
326
+ #
327
+ # @option options [Boolean] :ssl_verify_peer (true)
328
+ # When `true`, SSL peer certificates are verified when establishing a connection.
329
+ #
285
330
  def initialize(*args)
286
331
  unless Kernel.const_defined?("HTTP2")
287
332
  raise "Must include http/2 gem to use AsyncClient instances."
@@ -368,19 +413,20 @@ module Aws::LexRuntimeV2
368
413
  #
369
414
  # @example Bi-directional EventStream Operation Example
370
415
  #
371
- # You can signal input events after initial request is
372
- # established, events will be sent to stream
373
- # immediately (once stream connection is established successfully).
416
+ # You can signal input events after the initial request is established. Events
417
+ # will be sent to the stream immediately once the stream connection is
418
+ # established successfully.
374
419
  #
375
- # To signal events, you can call #signal methods from an Aws::LexRuntimeV2::EventStreams::StartConversationRequestEventStream object.
376
- # Make sure signal events before calling #wait or #join! at async response.
420
+ # To signal events, you can call the #signal methods from an Aws::LexRuntimeV2::EventStreams::StartConversationRequestEventStream
421
+ # object. You must signal events before calling #wait or #join! on the async response.
377
422
  #
378
423
  # input_stream = Aws::LexRuntimeV2::EventStreams::StartConversationRequestEventStream.new
379
424
  #
380
- # async_resp = client.start_conversation( # params input,
425
+ # async_resp = client.start_conversation(
426
+ # # params input
381
427
  # input_event_stream_handler: input_stream) do |out_stream|
382
428
  #
383
- # # register callbacks for events arrival
429
+ # # register callbacks for events
384
430
  # out_stream.on_playback_interruption_event_event do |event|
385
431
  # event # => Aws::LexRuntimeV2::Types::PlaybackInterruptionEvent
386
432
  # end
@@ -425,7 +471,7 @@ module Aws::LexRuntimeV2
425
471
  # end
426
472
  #
427
473
  # end
428
- # # => returns Aws::Seahorse::Client::AsyncResponse
474
+ # # => Aws::Seahorse::Client::AsyncResponse
429
475
  #
430
476
  # # signal events
431
477
  # input_stream.signal_configuration_event_event( ... )
@@ -435,19 +481,19 @@ module Aws::LexRuntimeV2
435
481
  # input_stream.signal_playback_completion_event_event( ... )
436
482
  # input_stream.signal_disconnection_event_event( ... )
437
483
  #
438
- # # make sure signaling :end_stream in the end
484
+ # # make sure to signal :end_stream at the end
439
485
  # input_stream.signal_end_stream
440
486
  #
441
- # # wait until stream is closed before finalizing sync response
487
+ # # wait until stream is closed before finalizing the sync response
442
488
  # resp = async_resp.wait
443
- # # Or close stream and finalizing sync response immediately
489
+ # # Or close the stream and finalize sync response immediately
444
490
  # # resp = async_resp.join!
445
491
  #
446
- # Inorder to streamingly processing events received, you can also provide an Aws::LexRuntimeV2::EventStreams::StartConversationResponseEventStream
447
- # object to register callbacks before initializing request instead of processing from request block
492
+ # You can also provide an Aws::LexRuntimeV2::EventStreams::StartConversationResponseEventStream object to register callbacks
493
+ # before initializing the request instead of processing from the request block.
448
494
  #
449
495
  # output_stream = Aws::LexRuntimeV2::EventStreams::StartConversationResponseEventStream.new
450
- # # register callbacks for events arrival
496
+ # # register callbacks for output events
451
497
  # output_stream.on_playback_interruption_event_event do |event|
452
498
  # event # => Aws::LexRuntimeV2::Types::PlaybackInterruptionEvent
453
499
  # end
@@ -499,15 +545,15 @@ module Aws::LexRuntimeV2
499
545
  # # event.error_message => String
500
546
  # end
501
547
  #
502
- # async_resp = client.start_conversation ( #params input,
548
+ # async_resp = client.start_conversation (
549
+ # # params input
503
550
  # input_event_stream_handler: input_stream
504
551
  # output_event_stream_handler: output_stream
505
552
  # )
506
553
  #
507
- # resp = async_resp.wait!
554
+ # resp = async_resp.join!
508
555
  #
509
- # Besides above usage patterns for process events when they arrive immediately, you can also
510
- # iterate through events after response complete.
556
+ # You can also iterate through events after the response is complete.
511
557
  #
512
558
  # Events are available at resp.response_event_stream # => Enumerator
513
559
  #
@@ -688,7 +734,7 @@ module Aws::LexRuntimeV2
688
734
  http_response: Seahorse::Client::Http::AsyncResponse.new,
689
735
  config: config)
690
736
  context[:gem_name] = 'aws-sdk-lexruntimev2'
691
- context[:gem_version] = '1.30.0'
737
+ context[:gem_version] = '1.31.0'
692
738
  Seahorse::Client::Request.new(handlers, context)
693
739
  end
694
740
 
@@ -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::LexRuntimeV2
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::LexRuntimeV2
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
@@ -348,50 +357,65 @@ module Aws::LexRuntimeV2
348
357
  # @option options [Aws::LexRuntimeV2::EndpointProvider] :endpoint_provider
349
358
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::LexRuntimeV2::EndpointParameters`
350
359
  #
351
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
352
- # requests through. Formatted like 'http://proxy.com:123'.
353
- #
354
- # @option options [Float] :http_open_timeout (15) The number of
355
- # seconds to wait when opening a HTTP session before raising a
356
- # `Timeout::Error`.
357
- #
358
- # @option options [Float] :http_read_timeout (60) The default
359
- # number of seconds to wait for response data. This value can
360
- # safely be set per-request on the session.
361
- #
362
- # @option options [Float] :http_idle_timeout (5) The number of
363
- # seconds a connection is allowed to sit idle before it is
364
- # considered stale. Stale connections are closed and removed
365
- # from the pool before making a request.
366
- #
367
- # @option options [Float] :http_continue_timeout (1) The number of
368
- # seconds to wait for a 100-continue response before sending the
369
- # request body. This option has no effect unless the request has
370
- # "Expect" header set to "100-continue". Defaults to `nil` which
371
- # disables this behaviour. This value can safely be set per
372
- # request on the session.
373
- #
374
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
375
- # in seconds.
360
+ # @option options [Float] :http_continue_timeout (1)
361
+ # The number of seconds to wait for a 100-continue response before sending the
362
+ # request body. This option has no effect unless the request has "Expect"
363
+ # header set to "100-continue". Defaults to `nil` which disables this
364
+ # behaviour. This value can safely be set per request on the session.
365
+ #
366
+ # @option options [Float] :http_idle_timeout (5)
367
+ # The number of seconds a connection is allowed to sit idle before it
368
+ # is considered stale. Stale connections are closed and removed from the
369
+ # pool before making a request.
370
+ #
371
+ # @option options [Float] :http_open_timeout (15)
372
+ # The default number of seconds to wait for response data.
373
+ # This value can safely be set per-request on the session.
374
+ #
375
+ # @option options [URI::HTTP,String] :http_proxy
376
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
377
+ #
378
+ # @option options [Float] :http_read_timeout (60)
379
+ # The default number of seconds to wait for response data.
380
+ # This value can safely be set per-request on the session.
381
+ #
382
+ # @option options [Boolean] :http_wire_trace (false)
383
+ # When `true`, HTTP debug output will be sent to the `:logger`.
384
+ #
385
+ # @option options [Proc] :on_chunk_received
386
+ # When a Proc object is provided, it will be used as callback when each chunk
387
+ # of the response body is received. It provides three arguments: the chunk,
388
+ # the number of bytes received, and the total number of
389
+ # bytes in the response (or nil if the server did not send a `content-length`).
390
+ #
391
+ # @option options [Proc] :on_chunk_sent
392
+ # When a Proc object is provided, it will be used as callback when each chunk
393
+ # of the request body is sent. It provides three arguments: the chunk,
394
+ # the number of bytes read from the body, and the total number of
395
+ # bytes in the body.
396
+ #
397
+ # @option options [Boolean] :raise_response_errors (true)
398
+ # When `true`, response errors are raised.
399
+ #
400
+ # @option options [String] :ssl_ca_bundle
401
+ # Full path to the SSL certificate authority bundle file that should be used when
402
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
403
+ # `:ssl_ca_directory` the the system default will be used if available.
404
+ #
405
+ # @option options [String] :ssl_ca_directory
406
+ # Full path of the directory that contains the unbundled SSL certificate
407
+ # authority files for verifying peer certificates. If you do
408
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
409
+ # default will be used if available.
376
410
  #
377
- # @option options [Boolean] :http_wire_trace (false) When `true`,
378
- # HTTP debug output will be sent to the `:logger`.
411
+ # @option options [String] :ssl_ca_store
412
+ # Sets the X509::Store to verify peer certificate.
379
413
  #
380
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
381
- # SSL peer certificates are verified when establishing a
382
- # connection.
414
+ # @option options [Float] :ssl_timeout
415
+ # Sets the SSL timeout in seconds
383
416
  #
384
- # @option options [String] :ssl_ca_bundle Full path to the SSL
385
- # certificate authority bundle file that should be used when
386
- # verifying peer certificates. If you do not pass
387
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
388
- # will be used if available.
389
- #
390
- # @option options [String] :ssl_ca_directory Full path of the
391
- # directory that contains the unbundled SSL certificate
392
- # authority files for verifying peer certificates. If you do
393
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
394
- # system default will be used if available.
417
+ # @option options [Boolean] :ssl_verify_peer (true)
418
+ # When `true`, SSL peer certificates are verified when establishing a connection.
395
419
  #
396
420
  def initialize(*args)
397
421
  super
@@ -1169,7 +1193,7 @@ module Aws::LexRuntimeV2
1169
1193
  params: params,
1170
1194
  config: config)
1171
1195
  context[:gem_name] = 'aws-sdk-lexruntimev2'
1172
- context[:gem_version] = '1.30.0'
1196
+ context[:gem_version] = '1.31.0'
1173
1197
  Seahorse::Client::Request.new(handlers, context)
1174
1198
  end
1175
1199
 
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-lexruntimev2/event_streams'
54
54
  # @!group service
55
55
  module Aws::LexRuntimeV2
56
56
 
57
- GEM_VERSION = '1.30.0'
57
+ GEM_VERSION = '1.31.0'
58
58
 
59
59
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lexruntimev2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.30.0
4
+ version: 1.31.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