aws-sdk-lexruntimev2 1.4.0 → 1.8.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 +42 -15
- data/lib/aws-sdk-lexruntimev2/client.rb +59 -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: 63d3c72fc8aae38f352406c9ea96c43f6cd4682b1d03553301357c48697f7da5
|
4
|
+
data.tar.gz: 5c7a4764d80449c772bb278edad1561e427d2c5e9353648ac3847e5998b63a9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89c954898303bae42f57bf5b50191721c7bc926d98a2b1066f1f9c8ae20461642910e07ddbd3f9100660ca7d86f6985b0886651ffb9fd978e9a5e5e11145fb44
|
7
|
+
data.tar.gz: 4eb52e60c812ca6a511f0c30d806bb157d4d82843a8b3f2565c0e9aa44b0d698c26d1a2eef2c17586cb29252ad9813b3e9e3aad0de0101eee2f2fc89846021c4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.8.0 (2021-10-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.7.0 (2021-10-08)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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
|
13
|
+
|
14
|
+
1.6.0 (2021-09-01)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.5.0 (2021-07-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.4.0 (2021-07-28)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.8.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'
|
@@ -245,20 +243,49 @@ module Aws::LexRuntimeV2
|
|
245
243
|
# sample-rate=8000 sample-size-bits=16 channel-count=1;
|
246
244
|
# is-big-endian=false`.
|
247
245
|
#
|
246
|
+
# If the optional post-fulfillment response is specified, the messages
|
247
|
+
# are returned as follows. For more information, see
|
248
|
+
# [PostFulfillmentStatusSpecification][1].
|
249
|
+
#
|
250
|
+
# * **Success message** - Returned if the Lambda function completes
|
251
|
+
# successfully and the intent state is fulfilled or ready fulfillment
|
252
|
+
# if the message is present.
|
253
|
+
#
|
254
|
+
# * **Failed message** - The failed message is returned if the Lambda
|
255
|
+
# function throws an exception or if the Lambda function returns a
|
256
|
+
# failed intent state without a message.
|
257
|
+
#
|
258
|
+
# * **Timeout message** - If you don't configure a timeout message and
|
259
|
+
# a timeout, and the Lambda function doesn't return within 30
|
260
|
+
# seconds, the timeout message is returned. If you configure a
|
261
|
+
# timeout, the timeout message is returned when the period times out.
|
262
|
+
#
|
263
|
+
# For more information, see [Completion message][2].
|
264
|
+
#
|
265
|
+
# If the optional update message is configured, it is played at the
|
266
|
+
# specified frequency while the Lambda function is running and the
|
267
|
+
# update message state is active. If the fulfillment update message is
|
268
|
+
# not active, the Lambda function runs with a 30 second timeout.
|
269
|
+
#
|
270
|
+
# For more information, see [Update message ][3]
|
271
|
+
#
|
248
272
|
# The `StartConversation` operation is supported only in the following
|
249
273
|
# SDKs:
|
250
274
|
#
|
251
|
-
# * [AWS SDK for C++][
|
275
|
+
# * [AWS SDK for C++][4]
|
252
276
|
#
|
253
|
-
# * [AWS SDK for Java V2][
|
277
|
+
# * [AWS SDK for Java V2][5]
|
254
278
|
#
|
255
|
-
# * [AWS SDK for Ruby V3][
|
279
|
+
# * [AWS SDK for Ruby V3][6]
|
256
280
|
#
|
257
281
|
#
|
258
282
|
#
|
259
|
-
# [1]: https://docs.aws.amazon.com/
|
260
|
-
# [2]: https://docs.aws.amazon.com/
|
261
|
-
# [3]: https://docs.aws.amazon.com/
|
283
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_PostFulfillmentStatusSpecification.html
|
284
|
+
# [2]: https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete.html
|
285
|
+
# [3]: https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-update.html
|
286
|
+
# [4]: https://docs.aws.amazon.com/goto/SdkForCpp/runtime.lex.v2-2020-08-07/StartConversation
|
287
|
+
# [5]: https://docs.aws.amazon.com/goto/SdkForJavaV2/runtime.lex.v2-2020-08-07/StartConversation
|
288
|
+
# [6]: https://docs.aws.amazon.com/goto/SdkForRubyV3/runtime.lex.v2-2020-08-07/StartConversation
|
262
289
|
#
|
263
290
|
# @option params [required, String] :bot_id
|
264
291
|
# The identifier of the bot to process the request.
|
@@ -474,9 +501,9 @@ module Aws::LexRuntimeV2
|
|
474
501
|
# event.interpretations[0].intent.slots["NonEmptyString"].shape #=> String, one of "Scalar", "List"
|
475
502
|
# event.interpretations[0].intent.slots["NonEmptyString"].values #=> Array
|
476
503
|
# event.interpretations[0].intent.slots["NonEmptyString"].values[0] #=> Types::Slot
|
477
|
-
# event.interpretations[0].intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting"
|
504
|
+
# event.interpretations[0].intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting", "FulfillmentInProgress"
|
478
505
|
# 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"
|
506
|
+
# event.session_state.dialog_action.type #=> String, one of "Close", "ConfirmIntent", "Delegate", "ElicitIntent", "ElicitSlot", "None"
|
480
507
|
# event.session_state.dialog_action.slot_to_elicit #=> String
|
481
508
|
# event.session_state.intent.name #=> String
|
482
509
|
# event.session_state.intent.slots #=> Hash
|
@@ -487,7 +514,7 @@ module Aws::LexRuntimeV2
|
|
487
514
|
# event.session_state.intent.slots["NonEmptyString"].shape #=> String, one of "Scalar", "List"
|
488
515
|
# event.session_state.intent.slots["NonEmptyString"].values #=> Array
|
489
516
|
# event.session_state.intent.slots["NonEmptyString"].values[0] #=> Types::Slot
|
490
|
-
# event.session_state.intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting"
|
517
|
+
# event.session_state.intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting", "FulfillmentInProgress"
|
491
518
|
# event.session_state.intent.confirmation_state #=> String, one of "Confirmed", "Denied", "None"
|
492
519
|
# event.session_state.active_contexts #=> Array
|
493
520
|
# event.session_state.active_contexts[0].name #=> String
|
@@ -590,7 +617,7 @@ module Aws::LexRuntimeV2
|
|
590
617
|
http_response: Seahorse::Client::Http::AsyncResponse.new,
|
591
618
|
config: config)
|
592
619
|
context[:gem_name] = 'aws-sdk-lexruntimev2'
|
593
|
-
context[:gem_version] = '1.
|
620
|
+
context[:gem_version] = '1.8.0'
|
594
621
|
Seahorse::Client::Request.new(handlers, context)
|
595
622
|
end
|
596
623
|
|
@@ -466,9 +466,9 @@ module Aws::LexRuntimeV2
|
|
466
466
|
# resp.interpretations[0].intent.slots["NonEmptyString"].shape #=> String, one of "Scalar", "List"
|
467
467
|
# resp.interpretations[0].intent.slots["NonEmptyString"].values #=> Array
|
468
468
|
# resp.interpretations[0].intent.slots["NonEmptyString"].values[0] #=> Types::Slot
|
469
|
-
# resp.interpretations[0].intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting"
|
469
|
+
# resp.interpretations[0].intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting", "FulfillmentInProgress"
|
470
470
|
# 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"
|
471
|
+
# resp.session_state.dialog_action.type #=> String, one of "Close", "ConfirmIntent", "Delegate", "ElicitIntent", "ElicitSlot", "None"
|
472
472
|
# resp.session_state.dialog_action.slot_to_elicit #=> String
|
473
473
|
# resp.session_state.intent.name #=> String
|
474
474
|
# resp.session_state.intent.slots #=> Hash
|
@@ -479,7 +479,7 @@ module Aws::LexRuntimeV2
|
|
479
479
|
# resp.session_state.intent.slots["NonEmptyString"].shape #=> String, one of "Scalar", "List"
|
480
480
|
# resp.session_state.intent.slots["NonEmptyString"].values #=> Array
|
481
481
|
# resp.session_state.intent.slots["NonEmptyString"].values[0] #=> Types::Slot
|
482
|
-
# resp.session_state.intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting"
|
482
|
+
# resp.session_state.intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting", "FulfillmentInProgress"
|
483
483
|
# resp.session_state.intent.confirmation_state #=> String, one of "Confirmed", "Denied", "None"
|
484
484
|
# resp.session_state.active_contexts #=> Array
|
485
485
|
# resp.session_state.active_contexts[0].name #=> String
|
@@ -577,7 +577,7 @@ module Aws::LexRuntimeV2
|
|
577
577
|
# ],
|
578
578
|
# session_state: { # required
|
579
579
|
# dialog_action: {
|
580
|
-
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot
|
580
|
+
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
|
581
581
|
# slot_to_elicit: "NonEmptyString",
|
582
582
|
# },
|
583
583
|
# intent: {
|
@@ -597,7 +597,7 @@ module Aws::LexRuntimeV2
|
|
597
597
|
# ],
|
598
598
|
# },
|
599
599
|
# },
|
600
|
-
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting
|
600
|
+
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting, FulfillmentInProgress
|
601
601
|
# confirmation_state: "Confirmed", # accepts Confirmed, Denied, None
|
602
602
|
# },
|
603
603
|
# active_contexts: [
|
@@ -649,6 +649,30 @@ module Aws::LexRuntimeV2
|
|
649
649
|
# In response, Amazon Lex V2 returns the next message to convey to the
|
650
650
|
# user and an optional response card to display.
|
651
651
|
#
|
652
|
+
# If the optional post-fulfillment response is specified, the messages
|
653
|
+
# are returned as follows. For more information, see
|
654
|
+
# [PostFulfillmentStatusSpecification][1].
|
655
|
+
#
|
656
|
+
# * **Success message** - Returned if the Lambda function completes
|
657
|
+
# successfully and the intent state is fulfilled or ready fulfillment
|
658
|
+
# if the message is present.
|
659
|
+
#
|
660
|
+
# * **Failed message** - The failed message is returned if the Lambda
|
661
|
+
# function throws an exception or if the Lambda function returns a
|
662
|
+
# failed intent state without a message.
|
663
|
+
#
|
664
|
+
# * **Timeout message** - If you don't configure a timeout message and
|
665
|
+
# a timeout, and the Lambda function doesn't return within 30
|
666
|
+
# seconds, the timeout message is returned. If you configure a
|
667
|
+
# timeout, the timeout message is returned when the period times out.
|
668
|
+
#
|
669
|
+
# For more information, see [Completion message][2].
|
670
|
+
#
|
671
|
+
#
|
672
|
+
#
|
673
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_PostFulfillmentStatusSpecification.html
|
674
|
+
# [2]: https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete.html
|
675
|
+
#
|
652
676
|
# @option params [required, String] :bot_id
|
653
677
|
# The identifier of the bot that processes the request.
|
654
678
|
#
|
@@ -692,7 +716,7 @@ module Aws::LexRuntimeV2
|
|
692
716
|
# text: "Text", # required
|
693
717
|
# session_state: {
|
694
718
|
# dialog_action: {
|
695
|
-
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot
|
719
|
+
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
|
696
720
|
# slot_to_elicit: "NonEmptyString",
|
697
721
|
# },
|
698
722
|
# intent: {
|
@@ -712,7 +736,7 @@ module Aws::LexRuntimeV2
|
|
712
736
|
# ],
|
713
737
|
# },
|
714
738
|
# },
|
715
|
-
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting
|
739
|
+
# state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting, FulfillmentInProgress
|
716
740
|
# confirmation_state: "Confirmed", # accepts Confirmed, Denied, None
|
717
741
|
# },
|
718
742
|
# active_contexts: [
|
@@ -748,7 +772,7 @@ module Aws::LexRuntimeV2
|
|
748
772
|
# resp.messages[0].image_response_card.buttons #=> Array
|
749
773
|
# resp.messages[0].image_response_card.buttons[0].text #=> String
|
750
774
|
# 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"
|
775
|
+
# resp.session_state.dialog_action.type #=> String, one of "Close", "ConfirmIntent", "Delegate", "ElicitIntent", "ElicitSlot", "None"
|
752
776
|
# resp.session_state.dialog_action.slot_to_elicit #=> String
|
753
777
|
# resp.session_state.intent.name #=> String
|
754
778
|
# resp.session_state.intent.slots #=> Hash
|
@@ -759,7 +783,7 @@ module Aws::LexRuntimeV2
|
|
759
783
|
# resp.session_state.intent.slots["NonEmptyString"].shape #=> String, one of "Scalar", "List"
|
760
784
|
# resp.session_state.intent.slots["NonEmptyString"].values #=> Array
|
761
785
|
# resp.session_state.intent.slots["NonEmptyString"].values[0] #=> Types::Slot
|
762
|
-
# resp.session_state.intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting"
|
786
|
+
# resp.session_state.intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting", "FulfillmentInProgress"
|
763
787
|
# resp.session_state.intent.confirmation_state #=> String, one of "Confirmed", "Denied", "None"
|
764
788
|
# resp.session_state.active_contexts #=> Array
|
765
789
|
# resp.session_state.active_contexts[0].name #=> String
|
@@ -786,7 +810,7 @@ module Aws::LexRuntimeV2
|
|
786
810
|
# resp.interpretations[0].intent.slots["NonEmptyString"].shape #=> String, one of "Scalar", "List"
|
787
811
|
# resp.interpretations[0].intent.slots["NonEmptyString"].values #=> Array
|
788
812
|
# resp.interpretations[0].intent.slots["NonEmptyString"].values[0] #=> Types::Slot
|
789
|
-
# resp.interpretations[0].intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting"
|
813
|
+
# resp.interpretations[0].intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting", "FulfillmentInProgress"
|
790
814
|
# resp.interpretations[0].intent.confirmation_state #=> String, one of "Confirmed", "Denied", "None"
|
791
815
|
# resp.request_attributes #=> Hash
|
792
816
|
# resp.request_attributes["NonEmptyString"] #=> String
|
@@ -831,6 +855,30 @@ module Aws::LexRuntimeV2
|
|
831
855
|
# Java object to send to Amazon Lex V2, and a second that decodes and
|
832
856
|
# decompresses a response from Amazon Lex V2.
|
833
857
|
#
|
858
|
+
# If the optional post-fulfillment response is specified, the messages
|
859
|
+
# are returned as follows. For more information, see
|
860
|
+
# [PostFulfillmentStatusSpecification][1].
|
861
|
+
#
|
862
|
+
# * **Success message** - Returned if the Lambda function completes
|
863
|
+
# successfully and the intent state is fulfilled or ready fulfillment
|
864
|
+
# if the message is present.
|
865
|
+
#
|
866
|
+
# * **Failed message** - The failed message is returned if the Lambda
|
867
|
+
# function throws an exception or if the Lambda function returns a
|
868
|
+
# failed intent state without a message.
|
869
|
+
#
|
870
|
+
# * **Timeout message** - If you don't configure a timeout message and
|
871
|
+
# a timeout, and the Lambda function doesn't return within 30
|
872
|
+
# seconds, the timeout message is returned. If you configure a
|
873
|
+
# timeout, the timeout message is returned when the period times out.
|
874
|
+
#
|
875
|
+
# For more information, see [Completion message][2].
|
876
|
+
#
|
877
|
+
#
|
878
|
+
#
|
879
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_PostFulfillmentStatusSpecification.html
|
880
|
+
# [2]: https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete.html
|
881
|
+
#
|
834
882
|
# @option params [required, String] :bot_id
|
835
883
|
# The identifier of the bot that should receive the request.
|
836
884
|
#
|
@@ -981,7 +1029,7 @@ module Aws::LexRuntimeV2
|
|
981
1029
|
params: params,
|
982
1030
|
config: config)
|
983
1031
|
context[:gem_name] = 'aws-sdk-lexruntimev2'
|
984
|
-
context[:gem_version] = '1.
|
1032
|
+
context[:gem_version] = '1.8.0'
|
985
1033
|
Seahorse::Client::Request.new(handlers, context)
|
986
1034
|
end
|
987
1035
|
|
@@ -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.8.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-10-18 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.121.2
|
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.121.2
|
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
|
- - ">="
|