aws-sdk-lexruntimev2 1.30.0 → 1.32.0

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