aws-sdk-lexruntimev2 1.5.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexruntimev2/async_client.rb +51 -15
- data/lib/aws-sdk-lexruntimev2/client.rb +68 -11
- data/lib/aws-sdk-lexruntimev2/event_streams.rb +7 -2
- data/lib/aws-sdk-lexruntimev2/types.rb +21 -16
- data/lib/aws-sdk-lexruntimev2.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0181a36bac72a7b6004757b08445c52fa33ba01ca62795e32794612403ff0637'
|
4
|
+
data.tar.gz: 466cf38b55176366a801b0e726ead59b9e04a203d56e3fc09a01e21a2bd808ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cac42cba5ca6677ccb4b8194e2d7beab5cd2827dae180f362e3edf722e336a67d56c9d99ac8013f39be2e246c12a92e3a1dbe2e568b5f24c3affba1c081d7e7f
|
7
|
+
data.tar.gz: e2fd30914391d91f4571fabf296f6abff7699181ac9fdaeae0e11a6774a41b86030eb933cc561fbddabce52a9b6d7f93a8ff3eac0089746dc5d03b0822562492
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.9.0 (2021-11-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.8.0 (2021-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.7.0 (2021-10-08)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Added configuration support for an Amazon Lex bot to provide fulfillment progress updates to users while their requests are being processed. See documentation for more details: https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html
|
18
|
+
|
19
|
+
1.6.0 (2021-09-01)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.5.0 (2021-07-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.9.0
|
@@ -7,11 +7,9 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
rescue LoadError; end
|
14
|
-
end
|
10
|
+
begin
|
11
|
+
require 'http/2'
|
12
|
+
rescue LoadError; end
|
15
13
|
require 'aws-sdk-core/plugins/credentials_configuration.rb'
|
16
14
|
require 'aws-sdk-core/plugins/logging.rb'
|
17
15
|
require 'aws-sdk-core/plugins/param_converter.rb'
|
@@ -222,6 +220,15 @@ module Aws::LexRuntimeV2
|
|
222
220
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
223
221
|
# requests are made, and retries are disabled.
|
224
222
|
#
|
223
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
224
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
225
|
+
# will be used if available.
|
226
|
+
#
|
227
|
+
# @option options [Boolean] :use_fips_endpoint
|
228
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
229
|
+
# When a `fips` region is used, the region is normalized and this config
|
230
|
+
# is set to `true`.
|
231
|
+
#
|
225
232
|
# @option options [Boolean] :validate_params (true)
|
226
233
|
# When `true`, request parameters are validated before
|
227
234
|
# sending the request.
|
@@ -245,20 +252,49 @@ module Aws::LexRuntimeV2
|
|
245
252
|
# sample-rate=8000 sample-size-bits=16 channel-count=1;
|
246
253
|
# is-big-endian=false`.
|
247
254
|
#
|
255
|
+
# If the optional post-fulfillment response is specified, the messages
|
256
|
+
# are returned as follows. For more information, see
|
257
|
+
# [PostFulfillmentStatusSpecification][1].
|
258
|
+
#
|
259
|
+
# * **Success message** - Returned if the Lambda function completes
|
260
|
+
# successfully and the intent state is fulfilled or ready fulfillment
|
261
|
+
# if the message is present.
|
262
|
+
#
|
263
|
+
# * **Failed message** - The failed message is returned if the Lambda
|
264
|
+
# function throws an exception or if the Lambda function returns a
|
265
|
+
# failed intent state without a message.
|
266
|
+
#
|
267
|
+
# * **Timeout message** - If you don't configure a timeout message and
|
268
|
+
# a timeout, and the Lambda function doesn't return within 30
|
269
|
+
# seconds, the timeout message is returned. If you configure a
|
270
|
+
# timeout, the timeout message is returned when the period times out.
|
271
|
+
#
|
272
|
+
# For more information, see [Completion message][2].
|
273
|
+
#
|
274
|
+
# If the optional update message is configured, it is played at the
|
275
|
+
# specified frequency while the Lambda function is running and the
|
276
|
+
# update message state is active. If the fulfillment update message is
|
277
|
+
# not active, the Lambda function runs with a 30 second timeout.
|
278
|
+
#
|
279
|
+
# For more information, see [Update message ][3]
|
280
|
+
#
|
248
281
|
# The `StartConversation` operation is supported only in the following
|
249
282
|
# SDKs:
|
250
283
|
#
|
251
|
-
# * [AWS SDK for C++][
|
284
|
+
# * [AWS SDK for C++][4]
|
252
285
|
#
|
253
|
-
# * [AWS SDK for Java V2][
|
286
|
+
# * [AWS SDK for Java V2][5]
|
254
287
|
#
|
255
|
-
# * [AWS SDK for Ruby V3][
|
288
|
+
# * [AWS SDK for Ruby V3][6]
|
256
289
|
#
|
257
290
|
#
|
258
291
|
#
|
259
|
-
# [1]: https://docs.aws.amazon.com/
|
260
|
-
# [2]: https://docs.aws.amazon.com/
|
261
|
-
# [3]: https://docs.aws.amazon.com/
|
292
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_PostFulfillmentStatusSpecification.html
|
293
|
+
# [2]: https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete.html
|
294
|
+
# [3]: https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-update.html
|
295
|
+
# [4]: https://docs.aws.amazon.com/goto/SdkForCpp/runtime.lex.v2-2020-08-07/StartConversation
|
296
|
+
# [5]: https://docs.aws.amazon.com/goto/SdkForJavaV2/runtime.lex.v2-2020-08-07/StartConversation
|
297
|
+
# [6]: https://docs.aws.amazon.com/goto/SdkForRubyV3/runtime.lex.v2-2020-08-07/StartConversation
|
262
298
|
#
|
263
299
|
# @option params [required, String] :bot_id
|
264
300
|
# The identifier of the bot to process the request.
|
@@ -474,9 +510,9 @@ module Aws::LexRuntimeV2
|
|
474
510
|
# event.interpretations[0].intent.slots["NonEmptyString"].shape #=> String, one of "Scalar", "List"
|
475
511
|
# event.interpretations[0].intent.slots["NonEmptyString"].values #=> Array
|
476
512
|
# event.interpretations[0].intent.slots["NonEmptyString"].values[0] #=> Types::Slot
|
477
|
-
# event.interpretations[0].intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting"
|
513
|
+
# event.interpretations[0].intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting", "FulfillmentInProgress"
|
478
514
|
# event.interpretations[0].intent.confirmation_state #=> String, one of "Confirmed", "Denied", "None"
|
479
|
-
# event.session_state.dialog_action.type #=> String, one of "Close", "ConfirmIntent", "Delegate", "ElicitIntent", "ElicitSlot"
|
515
|
+
# event.session_state.dialog_action.type #=> String, one of "Close", "ConfirmIntent", "Delegate", "ElicitIntent", "ElicitSlot", "None"
|
480
516
|
# event.session_state.dialog_action.slot_to_elicit #=> String
|
481
517
|
# event.session_state.intent.name #=> String
|
482
518
|
# event.session_state.intent.slots #=> Hash
|
@@ -487,7 +523,7 @@ module Aws::LexRuntimeV2
|
|
487
523
|
# event.session_state.intent.slots["NonEmptyString"].shape #=> String, one of "Scalar", "List"
|
488
524
|
# event.session_state.intent.slots["NonEmptyString"].values #=> Array
|
489
525
|
# event.session_state.intent.slots["NonEmptyString"].values[0] #=> Types::Slot
|
490
|
-
# event.session_state.intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting"
|
526
|
+
# event.session_state.intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting", "FulfillmentInProgress"
|
491
527
|
# event.session_state.intent.confirmation_state #=> String, one of "Confirmed", "Denied", "None"
|
492
528
|
# event.session_state.active_contexts #=> Array
|
493
529
|
# event.session_state.active_contexts[0].name #=> String
|
@@ -590,7 +626,7 @@ module Aws::LexRuntimeV2
|
|
590
626
|
http_response: Seahorse::Client::Http::AsyncResponse.new,
|
591
627
|
config: config)
|
592
628
|
context[:gem_name] = 'aws-sdk-lexruntimev2'
|
593
|
-
context[:gem_version] = '1.
|
629
|
+
context[:gem_version] = '1.9.0'
|
594
630
|
Seahorse::Client::Request.new(handlers, context)
|
595
631
|
end
|
596
632
|
|
@@ -286,6 +286,15 @@ module Aws::LexRuntimeV2
|
|
286
286
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
287
287
|
# requests are made, and retries are disabled.
|
288
288
|
#
|
289
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
290
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
291
|
+
# will be used if available.
|
292
|
+
#
|
293
|
+
# @option options [Boolean] :use_fips_endpoint
|
294
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
295
|
+
# When a `fips` region is used, the region is normalized and this config
|
296
|
+
# is set to `true`.
|
297
|
+
#
|
289
298
|
# @option options [Boolean] :validate_params (true)
|
290
299
|
# When `true`, request parameters are validated before
|
291
300
|
# sending the request.
|
@@ -466,9 +475,9 @@ module Aws::LexRuntimeV2
|
|
466
475
|
# resp.interpretations[0].intent.slots["NonEmptyString"].shape #=> String, one of "Scalar", "List"
|
467
476
|
# resp.interpretations[0].intent.slots["NonEmptyString"].values #=> Array
|
468
477
|
# resp.interpretations[0].intent.slots["NonEmptyString"].values[0] #=> Types::Slot
|
469
|
-
# resp.interpretations[0].intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting"
|
478
|
+
# resp.interpretations[0].intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting", "FulfillmentInProgress"
|
470
479
|
# resp.interpretations[0].intent.confirmation_state #=> String, one of "Confirmed", "Denied", "None"
|
471
|
-
# resp.session_state.dialog_action.type #=> String, one of "Close", "ConfirmIntent", "Delegate", "ElicitIntent", "ElicitSlot"
|
480
|
+
# resp.session_state.dialog_action.type #=> String, one of "Close", "ConfirmIntent", "Delegate", "ElicitIntent", "ElicitSlot", "None"
|
472
481
|
# resp.session_state.dialog_action.slot_to_elicit #=> String
|
473
482
|
# resp.session_state.intent.name #=> String
|
474
483
|
# resp.session_state.intent.slots #=> Hash
|
@@ -479,7 +488,7 @@ module Aws::LexRuntimeV2
|
|
479
488
|
# resp.session_state.intent.slots["NonEmptyString"].shape #=> String, one of "Scalar", "List"
|
480
489
|
# resp.session_state.intent.slots["NonEmptyString"].values #=> Array
|
481
490
|
# resp.session_state.intent.slots["NonEmptyString"].values[0] #=> Types::Slot
|
482
|
-
# resp.session_state.intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting"
|
491
|
+
# resp.session_state.intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting", "FulfillmentInProgress"
|
483
492
|
# resp.session_state.intent.confirmation_state #=> String, one of "Confirmed", "Denied", "None"
|
484
493
|
# resp.session_state.active_contexts #=> Array
|
485
494
|
# resp.session_state.active_contexts[0].name #=> String
|
@@ -577,7 +586,7 @@ module Aws::LexRuntimeV2
|
|
577
586
|
# ],
|
578
587
|
# session_state: { # required
|
579
588
|
# dialog_action: {
|
580
|
-
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot
|
589
|
+
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
|
581
590
|
# slot_to_elicit: "NonEmptyString",
|
582
591
|
# },
|
583
592
|
# intent: {
|
@@ -597,7 +606,7 @@ module Aws::LexRuntimeV2
|
|
597
606
|
# ],
|
598
607
|
# },
|
599
608
|
# },
|
600
|
-
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting
|
609
|
+
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting, FulfillmentInProgress
|
601
610
|
# confirmation_state: "Confirmed", # accepts Confirmed, Denied, None
|
602
611
|
# },
|
603
612
|
# active_contexts: [
|
@@ -649,6 +658,30 @@ module Aws::LexRuntimeV2
|
|
649
658
|
# In response, Amazon Lex V2 returns the next message to convey to the
|
650
659
|
# user and an optional response card to display.
|
651
660
|
#
|
661
|
+
# If the optional post-fulfillment response is specified, the messages
|
662
|
+
# are returned as follows. For more information, see
|
663
|
+
# [PostFulfillmentStatusSpecification][1].
|
664
|
+
#
|
665
|
+
# * **Success message** - Returned if the Lambda function completes
|
666
|
+
# successfully and the intent state is fulfilled or ready fulfillment
|
667
|
+
# if the message is present.
|
668
|
+
#
|
669
|
+
# * **Failed message** - The failed message is returned if the Lambda
|
670
|
+
# function throws an exception or if the Lambda function returns a
|
671
|
+
# failed intent state without a message.
|
672
|
+
#
|
673
|
+
# * **Timeout message** - If you don't configure a timeout message and
|
674
|
+
# a timeout, and the Lambda function doesn't return within 30
|
675
|
+
# seconds, the timeout message is returned. If you configure a
|
676
|
+
# timeout, the timeout message is returned when the period times out.
|
677
|
+
#
|
678
|
+
# For more information, see [Completion message][2].
|
679
|
+
#
|
680
|
+
#
|
681
|
+
#
|
682
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_PostFulfillmentStatusSpecification.html
|
683
|
+
# [2]: https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete.html
|
684
|
+
#
|
652
685
|
# @option params [required, String] :bot_id
|
653
686
|
# The identifier of the bot that processes the request.
|
654
687
|
#
|
@@ -692,7 +725,7 @@ module Aws::LexRuntimeV2
|
|
692
725
|
# text: "Text", # required
|
693
726
|
# session_state: {
|
694
727
|
# dialog_action: {
|
695
|
-
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot
|
728
|
+
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
|
696
729
|
# slot_to_elicit: "NonEmptyString",
|
697
730
|
# },
|
698
731
|
# intent: {
|
@@ -712,7 +745,7 @@ module Aws::LexRuntimeV2
|
|
712
745
|
# ],
|
713
746
|
# },
|
714
747
|
# },
|
715
|
-
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting
|
748
|
+
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting, FulfillmentInProgress
|
716
749
|
# confirmation_state: "Confirmed", # accepts Confirmed, Denied, None
|
717
750
|
# },
|
718
751
|
# active_contexts: [
|
@@ -748,7 +781,7 @@ module Aws::LexRuntimeV2
|
|
748
781
|
# resp.messages[0].image_response_card.buttons #=> Array
|
749
782
|
# resp.messages[0].image_response_card.buttons[0].text #=> String
|
750
783
|
# resp.messages[0].image_response_card.buttons[0].value #=> String
|
751
|
-
# resp.session_state.dialog_action.type #=> String, one of "Close", "ConfirmIntent", "Delegate", "ElicitIntent", "ElicitSlot"
|
784
|
+
# resp.session_state.dialog_action.type #=> String, one of "Close", "ConfirmIntent", "Delegate", "ElicitIntent", "ElicitSlot", "None"
|
752
785
|
# resp.session_state.dialog_action.slot_to_elicit #=> String
|
753
786
|
# resp.session_state.intent.name #=> String
|
754
787
|
# resp.session_state.intent.slots #=> Hash
|
@@ -759,7 +792,7 @@ module Aws::LexRuntimeV2
|
|
759
792
|
# resp.session_state.intent.slots["NonEmptyString"].shape #=> String, one of "Scalar", "List"
|
760
793
|
# resp.session_state.intent.slots["NonEmptyString"].values #=> Array
|
761
794
|
# resp.session_state.intent.slots["NonEmptyString"].values[0] #=> Types::Slot
|
762
|
-
# resp.session_state.intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting"
|
795
|
+
# resp.session_state.intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting", "FulfillmentInProgress"
|
763
796
|
# resp.session_state.intent.confirmation_state #=> String, one of "Confirmed", "Denied", "None"
|
764
797
|
# resp.session_state.active_contexts #=> Array
|
765
798
|
# resp.session_state.active_contexts[0].name #=> String
|
@@ -786,7 +819,7 @@ module Aws::LexRuntimeV2
|
|
786
819
|
# resp.interpretations[0].intent.slots["NonEmptyString"].shape #=> String, one of "Scalar", "List"
|
787
820
|
# resp.interpretations[0].intent.slots["NonEmptyString"].values #=> Array
|
788
821
|
# resp.interpretations[0].intent.slots["NonEmptyString"].values[0] #=> Types::Slot
|
789
|
-
# resp.interpretations[0].intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting"
|
822
|
+
# resp.interpretations[0].intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting", "FulfillmentInProgress"
|
790
823
|
# resp.interpretations[0].intent.confirmation_state #=> String, one of "Confirmed", "Denied", "None"
|
791
824
|
# resp.request_attributes #=> Hash
|
792
825
|
# resp.request_attributes["NonEmptyString"] #=> String
|
@@ -831,6 +864,30 @@ module Aws::LexRuntimeV2
|
|
831
864
|
# Java object to send to Amazon Lex V2, and a second that decodes and
|
832
865
|
# decompresses a response from Amazon Lex V2.
|
833
866
|
#
|
867
|
+
# If the optional post-fulfillment response is specified, the messages
|
868
|
+
# are returned as follows. For more information, see
|
869
|
+
# [PostFulfillmentStatusSpecification][1].
|
870
|
+
#
|
871
|
+
# * **Success message** - Returned if the Lambda function completes
|
872
|
+
# successfully and the intent state is fulfilled or ready fulfillment
|
873
|
+
# if the message is present.
|
874
|
+
#
|
875
|
+
# * **Failed message** - The failed message is returned if the Lambda
|
876
|
+
# function throws an exception or if the Lambda function returns a
|
877
|
+
# failed intent state without a message.
|
878
|
+
#
|
879
|
+
# * **Timeout message** - If you don't configure a timeout message and
|
880
|
+
# a timeout, and the Lambda function doesn't return within 30
|
881
|
+
# seconds, the timeout message is returned. If you configure a
|
882
|
+
# timeout, the timeout message is returned when the period times out.
|
883
|
+
#
|
884
|
+
# For more information, see [Completion message][2].
|
885
|
+
#
|
886
|
+
#
|
887
|
+
#
|
888
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_PostFulfillmentStatusSpecification.html
|
889
|
+
# [2]: https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete.html
|
890
|
+
#
|
834
891
|
# @option params [required, String] :bot_id
|
835
892
|
# The identifier of the bot that should receive the request.
|
836
893
|
#
|
@@ -981,7 +1038,7 @@ module Aws::LexRuntimeV2
|
|
981
1038
|
params: params,
|
982
1039
|
config: config)
|
983
1040
|
context[:gem_name] = 'aws-sdk-lexruntimev2'
|
984
|
-
context[:gem_version] = '1.
|
1041
|
+
context[:gem_version] = '1.9.0'
|
985
1042
|
Seahorse::Client::Request.new(handlers, context)
|
986
1043
|
end
|
987
1044
|
|
@@ -59,8 +59,13 @@ module Aws::LexRuntimeV2
|
|
59
59
|
#
|
60
60
|
# @option params [Boolean] :disable_playback
|
61
61
|
# Determines whether Amazon Lex V2 should send audio responses to the
|
62
|
-
# client application.
|
63
|
-
#
|
62
|
+
# client application.
|
63
|
+
#
|
64
|
+
# Set this field to false when the client is operating in a playback
|
65
|
+
# mode where audio responses are played to the user. If the client
|
66
|
+
# isn't operating in playback mode, such as a text chat application,
|
67
|
+
# set this to true so that Amazon Lex V2 doesn't wait for the prompt to
|
68
|
+
# finish playing on the client.
|
64
69
|
#
|
65
70
|
# @option params [String] :event_id
|
66
71
|
# A unique identifier that your application assigns to the event. You
|
@@ -57,11 +57,11 @@ module Aws::LexRuntimeV2
|
|
57
57
|
# @return [Types::ActiveContextTimeToLive]
|
58
58
|
#
|
59
59
|
# @!attribute [rw] context_attributes
|
60
|
-
# A
|
60
|
+
# A list of contexts active for the request. A context can be
|
61
61
|
# activated when a previous intent is fulfilled, or by including the
|
62
62
|
# context in the request.
|
63
63
|
#
|
64
|
-
# If you don't specify a list of contexts, Amazon Lex will use the
|
64
|
+
# If you don't specify a list of contexts, Amazon Lex V2 will use the
|
65
65
|
# current list of contexts for the session. If you specify an empty
|
66
66
|
# list, all contexts for the session are cleared.
|
67
67
|
# @return [Hash<String,String>]
|
@@ -256,7 +256,7 @@ module Aws::LexRuntimeV2
|
|
256
256
|
# response_content_type: "NonEmptyString", # required
|
257
257
|
# session_state: {
|
258
258
|
# dialog_action: {
|
259
|
-
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot
|
259
|
+
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
|
260
260
|
# slot_to_elicit: "NonEmptyString",
|
261
261
|
# },
|
262
262
|
# intent: {
|
@@ -276,7 +276,7 @@ module Aws::LexRuntimeV2
|
|
276
276
|
# ],
|
277
277
|
# },
|
278
278
|
# },
|
279
|
-
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting
|
279
|
+
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting, FulfillmentInProgress
|
280
280
|
# confirmation_state: "Confirmed", # accepts Confirmed, Denied, None
|
281
281
|
# },
|
282
282
|
# active_contexts: [
|
@@ -366,8 +366,13 @@ module Aws::LexRuntimeV2
|
|
366
366
|
#
|
367
367
|
# @!attribute [rw] disable_playback
|
368
368
|
# Determines whether Amazon Lex V2 should send audio responses to the
|
369
|
-
# client application.
|
370
|
-
#
|
369
|
+
# client application.
|
370
|
+
#
|
371
|
+
# Set this field to false when the client is operating in a playback
|
372
|
+
# mode where audio responses are played to the user. If the client
|
373
|
+
# isn't operating in playback mode, such as a text chat application,
|
374
|
+
# set this to true so that Amazon Lex V2 doesn't wait for the prompt
|
375
|
+
# to finish playing on the client.
|
371
376
|
# @return [Boolean]
|
372
377
|
#
|
373
378
|
# @!attribute [rw] event_id
|
@@ -531,7 +536,7 @@ module Aws::LexRuntimeV2
|
|
531
536
|
# data as a hash:
|
532
537
|
#
|
533
538
|
# {
|
534
|
-
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot
|
539
|
+
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
|
535
540
|
# slot_to_elicit: "NonEmptyString",
|
536
541
|
# }
|
537
542
|
#
|
@@ -770,7 +775,7 @@ module Aws::LexRuntimeV2
|
|
770
775
|
# ],
|
771
776
|
# },
|
772
777
|
# },
|
773
|
-
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting
|
778
|
+
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting, FulfillmentInProgress
|
774
779
|
# confirmation_state: "Confirmed", # accepts Confirmed, Denied, None
|
775
780
|
# }
|
776
781
|
#
|
@@ -1040,7 +1045,7 @@ module Aws::LexRuntimeV2
|
|
1040
1045
|
# ],
|
1041
1046
|
# session_state: { # required
|
1042
1047
|
# dialog_action: {
|
1043
|
-
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot
|
1048
|
+
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
|
1044
1049
|
# slot_to_elicit: "NonEmptyString",
|
1045
1050
|
# },
|
1046
1051
|
# intent: {
|
@@ -1060,7 +1065,7 @@ module Aws::LexRuntimeV2
|
|
1060
1065
|
# ],
|
1061
1066
|
# },
|
1062
1067
|
# },
|
1063
|
-
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting
|
1068
|
+
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting, FulfillmentInProgress
|
1064
1069
|
# confirmation_state: "Confirmed", # accepts Confirmed, Denied, None
|
1065
1070
|
# },
|
1066
1071
|
# active_contexts: [
|
@@ -1205,7 +1210,7 @@ module Aws::LexRuntimeV2
|
|
1205
1210
|
# text: "Text", # required
|
1206
1211
|
# session_state: {
|
1207
1212
|
# dialog_action: {
|
1208
|
-
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot
|
1213
|
+
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
|
1209
1214
|
# slot_to_elicit: "NonEmptyString",
|
1210
1215
|
# },
|
1211
1216
|
# intent: {
|
@@ -1225,7 +1230,7 @@ module Aws::LexRuntimeV2
|
|
1225
1230
|
# ],
|
1226
1231
|
# },
|
1227
1232
|
# },
|
1228
|
-
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting
|
1233
|
+
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting, FulfillmentInProgress
|
1229
1234
|
# confirmation_state: "Confirmed", # accepts Confirmed, Denied, None
|
1230
1235
|
# },
|
1231
1236
|
# active_contexts: [
|
@@ -1657,7 +1662,7 @@ module Aws::LexRuntimeV2
|
|
1657
1662
|
#
|
1658
1663
|
# {
|
1659
1664
|
# dialog_action: {
|
1660
|
-
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot
|
1665
|
+
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
|
1661
1666
|
# slot_to_elicit: "NonEmptyString",
|
1662
1667
|
# },
|
1663
1668
|
# intent: {
|
@@ -1677,7 +1682,7 @@ module Aws::LexRuntimeV2
|
|
1677
1682
|
# ],
|
1678
1683
|
# },
|
1679
1684
|
# },
|
1680
|
-
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting
|
1685
|
+
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting, FulfillmentInProgress
|
1681
1686
|
# confirmation_state: "Confirmed", # accepts Confirmed, Denied, None
|
1682
1687
|
# },
|
1683
1688
|
# active_contexts: [
|
@@ -2017,7 +2022,7 @@ module Aws::LexRuntimeV2
|
|
2017
2022
|
# response_content_type: "NonEmptyString", # required
|
2018
2023
|
# session_state: {
|
2019
2024
|
# dialog_action: {
|
2020
|
-
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot
|
2025
|
+
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
|
2021
2026
|
# slot_to_elicit: "NonEmptyString",
|
2022
2027
|
# },
|
2023
2028
|
# intent: {
|
@@ -2037,7 +2042,7 @@ module Aws::LexRuntimeV2
|
|
2037
2042
|
# ],
|
2038
2043
|
# },
|
2039
2044
|
# },
|
2040
|
-
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting
|
2045
|
+
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting, FulfillmentInProgress
|
2041
2046
|
# confirmation_state: "Confirmed", # accepts Confirmed, Denied, None
|
2042
2047
|
# },
|
2043
2048
|
# active_contexts: [
|
data/lib/aws-sdk-lexruntimev2.rb
CHANGED
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.
|
4
|
+
version: 1.9.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: 2021-
|
11
|
+
date: 2021-11-04 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.
|
22
|
+
version: 3.122.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.
|
32
|
+
version: 3.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -78,7 +78,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
78
78
|
requirements:
|
79
79
|
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
81
|
+
version: '2.3'
|
82
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
84
|
- - ">="
|