aws-sdk-lexruntimev2 1.6.0 → 1.10.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: ec293777604f27f6453a739006fdaa3803230f6795d2011368ba12c1349368e4
4
- data.tar.gz: '096de2e3ce78e2663a605de9a4755ed20f3175d966d90b4deade23824b8689f7'
3
+ metadata.gz: 1a4622081b32c296f9ffa89ca12c2dd1a5c1dfb3fa8c3c518c5ae6bcb26c451d
4
+ data.tar.gz: 860d4645a9db8771529581791bb4a28bae7ab94e65845b25d736614da60fd681
5
5
  SHA512:
6
- metadata.gz: 9a382a7ebd1c2665825395c27340399942b473fd32e02f1040fa14c458406cd3599fcbe70fbea845594524fe15fdf21be9a079db01c992f5110fd9920cd27f40
7
- data.tar.gz: 3f730bea85be5b1f91d42d353333608326e1daa513206b97a0d27c3211264ddabb6bf3585b9336ada4e277e3bd617dfa2db0488912991a49aef033b7cc4f7205
6
+ metadata.gz: 5b43e440748c3c627c8c08b32a0e1415ba95f4ed097f7cbf681aee96ff15331fef8a4a7611e00d27ceac9697ac54ebcc59773aca1c456b6271424bae6edc9f7b
7
+ data.tar.gz: 3d050d057b84c15de88e25b6168968cce5df2e7aa8233ec9bd85646e934b941042cc891ae103f749279af80c49138353d696363fadf02f5a0c395739a6325b09
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.10.0 (2021-11-19)
5
+ ------------------
6
+
7
+ * Feature - Now supports styled slots in Lex V2 runtime. Customers can provide inputs like "a as in apple b for beta" which will be resolved to "ab" as slot value.
8
+
9
+ 1.9.0 (2021-11-04)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.8.0 (2021-10-18)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.7.0 (2021-10-08)
20
+ ------------------
21
+
22
+ * 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
23
+
4
24
  1.6.0 (2021-09-01)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
1
+ 1.10.0
@@ -220,6 +220,15 @@ module Aws::LexRuntimeV2
220
220
  # ** Please note ** When response stubbing is enabled, no HTTP
221
221
  # requests are made, and retries are disabled.
222
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
+ #
223
232
  # @option options [Boolean] :validate_params (true)
224
233
  # When `true`, request parameters are validated before
225
234
  # sending the request.
@@ -243,20 +252,49 @@ module Aws::LexRuntimeV2
243
252
  # sample-rate=8000 sample-size-bits=16 channel-count=1;
244
253
  # is-big-endian=false`.
245
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
+ #
246
281
  # The `StartConversation` operation is supported only in the following
247
282
  # SDKs:
248
283
  #
249
- # * [AWS SDK for C++][1]
284
+ # * [AWS SDK for C++][4]
250
285
  #
251
- # * [AWS SDK for Java V2][2]
286
+ # * [AWS SDK for Java V2][5]
252
287
  #
253
- # * [AWS SDK for Ruby V3][3]
288
+ # * [AWS SDK for Ruby V3][6]
254
289
  #
255
290
  #
256
291
  #
257
- # [1]: https://docs.aws.amazon.com/goto/SdkForCpp/runtime.lex.v2-2020-08-07/StartConversation
258
- # [2]: https://docs.aws.amazon.com/goto/SdkForJavaV2/runtime.lex.v2-2020-08-07/StartConversation
259
- # [3]: https://docs.aws.amazon.com/goto/SdkForRubyV3/runtime.lex.v2-2020-08-07/StartConversation
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
260
298
  #
261
299
  # @option params [required, String] :bot_id
262
300
  # The identifier of the bot to process the request.
@@ -472,10 +510,11 @@ module Aws::LexRuntimeV2
472
510
  # event.interpretations[0].intent.slots["NonEmptyString"].shape #=> String, one of "Scalar", "List"
473
511
  # event.interpretations[0].intent.slots["NonEmptyString"].values #=> Array
474
512
  # event.interpretations[0].intent.slots["NonEmptyString"].values[0] #=> Types::Slot
475
- # 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"
476
514
  # event.interpretations[0].intent.confirmation_state #=> String, one of "Confirmed", "Denied", "None"
477
- # 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"
478
516
  # event.session_state.dialog_action.slot_to_elicit #=> String
517
+ # event.session_state.dialog_action.slot_elicitation_style #=> String, one of "Default", "SpellByLetter", "SpellByWord"
479
518
  # event.session_state.intent.name #=> String
480
519
  # event.session_state.intent.slots #=> Hash
481
520
  # event.session_state.intent.slots["NonEmptyString"].value.original_value #=> String
@@ -485,7 +524,7 @@ module Aws::LexRuntimeV2
485
524
  # event.session_state.intent.slots["NonEmptyString"].shape #=> String, one of "Scalar", "List"
486
525
  # event.session_state.intent.slots["NonEmptyString"].values #=> Array
487
526
  # event.session_state.intent.slots["NonEmptyString"].values[0] #=> Types::Slot
488
- # event.session_state.intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting"
527
+ # event.session_state.intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting", "FulfillmentInProgress"
489
528
  # event.session_state.intent.confirmation_state #=> String, one of "Confirmed", "Denied", "None"
490
529
  # event.session_state.active_contexts #=> Array
491
530
  # event.session_state.active_contexts[0].name #=> String
@@ -588,7 +627,7 @@ module Aws::LexRuntimeV2
588
627
  http_response: Seahorse::Client::Http::AsyncResponse.new,
589
628
  config: config)
590
629
  context[:gem_name] = 'aws-sdk-lexruntimev2'
591
- context[:gem_version] = '1.6.0'
630
+ context[:gem_version] = '1.10.0'
592
631
  Seahorse::Client::Request.new(handlers, context)
593
632
  end
594
633
 
@@ -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,10 +475,11 @@ 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
482
+ # resp.session_state.dialog_action.slot_elicitation_style #=> String, one of "Default", "SpellByLetter", "SpellByWord"
473
483
  # resp.session_state.intent.name #=> String
474
484
  # resp.session_state.intent.slots #=> Hash
475
485
  # resp.session_state.intent.slots["NonEmptyString"].value.original_value #=> String
@@ -479,7 +489,7 @@ module Aws::LexRuntimeV2
479
489
  # resp.session_state.intent.slots["NonEmptyString"].shape #=> String, one of "Scalar", "List"
480
490
  # resp.session_state.intent.slots["NonEmptyString"].values #=> Array
481
491
  # resp.session_state.intent.slots["NonEmptyString"].values[0] #=> Types::Slot
482
- # resp.session_state.intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting"
492
+ # resp.session_state.intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting", "FulfillmentInProgress"
483
493
  # resp.session_state.intent.confirmation_state #=> String, one of "Confirmed", "Denied", "None"
484
494
  # resp.session_state.active_contexts #=> Array
485
495
  # resp.session_state.active_contexts[0].name #=> String
@@ -577,8 +587,9 @@ module Aws::LexRuntimeV2
577
587
  # ],
578
588
  # session_state: { # required
579
589
  # dialog_action: {
580
- # type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot
590
+ # type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
581
591
  # slot_to_elicit: "NonEmptyString",
592
+ # slot_elicitation_style: "Default", # accepts Default, SpellByLetter, SpellByWord
582
593
  # },
583
594
  # intent: {
584
595
  # name: "NonEmptyString", # required
@@ -597,7 +608,7 @@ module Aws::LexRuntimeV2
597
608
  # ],
598
609
  # },
599
610
  # },
600
- # state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting
611
+ # state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting, FulfillmentInProgress
601
612
  # confirmation_state: "Confirmed", # accepts Confirmed, Denied, None
602
613
  # },
603
614
  # active_contexts: [
@@ -649,6 +660,30 @@ module Aws::LexRuntimeV2
649
660
  # In response, Amazon Lex V2 returns the next message to convey to the
650
661
  # user and an optional response card to display.
651
662
  #
663
+ # If the optional post-fulfillment response is specified, the messages
664
+ # are returned as follows. For more information, see
665
+ # [PostFulfillmentStatusSpecification][1].
666
+ #
667
+ # * **Success message** - Returned if the Lambda function completes
668
+ # successfully and the intent state is fulfilled or ready fulfillment
669
+ # if the message is present.
670
+ #
671
+ # * **Failed message** - The failed message is returned if the Lambda
672
+ # function throws an exception or if the Lambda function returns a
673
+ # failed intent state without a message.
674
+ #
675
+ # * **Timeout message** - If you don't configure a timeout message and
676
+ # a timeout, and the Lambda function doesn't return within 30
677
+ # seconds, the timeout message is returned. If you configure a
678
+ # timeout, the timeout message is returned when the period times out.
679
+ #
680
+ # For more information, see [Completion message][2].
681
+ #
682
+ #
683
+ #
684
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_PostFulfillmentStatusSpecification.html
685
+ # [2]: https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete.html
686
+ #
652
687
  # @option params [required, String] :bot_id
653
688
  # The identifier of the bot that processes the request.
654
689
  #
@@ -692,8 +727,9 @@ module Aws::LexRuntimeV2
692
727
  # text: "Text", # required
693
728
  # session_state: {
694
729
  # dialog_action: {
695
- # type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot
730
+ # type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
696
731
  # slot_to_elicit: "NonEmptyString",
732
+ # slot_elicitation_style: "Default", # accepts Default, SpellByLetter, SpellByWord
697
733
  # },
698
734
  # intent: {
699
735
  # name: "NonEmptyString", # required
@@ -712,7 +748,7 @@ module Aws::LexRuntimeV2
712
748
  # ],
713
749
  # },
714
750
  # },
715
- # state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting
751
+ # state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting, FulfillmentInProgress
716
752
  # confirmation_state: "Confirmed", # accepts Confirmed, Denied, None
717
753
  # },
718
754
  # active_contexts: [
@@ -748,8 +784,9 @@ module Aws::LexRuntimeV2
748
784
  # resp.messages[0].image_response_card.buttons #=> Array
749
785
  # resp.messages[0].image_response_card.buttons[0].text #=> String
750
786
  # 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"
787
+ # resp.session_state.dialog_action.type #=> String, one of "Close", "ConfirmIntent", "Delegate", "ElicitIntent", "ElicitSlot", "None"
752
788
  # resp.session_state.dialog_action.slot_to_elicit #=> String
789
+ # resp.session_state.dialog_action.slot_elicitation_style #=> String, one of "Default", "SpellByLetter", "SpellByWord"
753
790
  # resp.session_state.intent.name #=> String
754
791
  # resp.session_state.intent.slots #=> Hash
755
792
  # resp.session_state.intent.slots["NonEmptyString"].value.original_value #=> String
@@ -759,7 +796,7 @@ module Aws::LexRuntimeV2
759
796
  # resp.session_state.intent.slots["NonEmptyString"].shape #=> String, one of "Scalar", "List"
760
797
  # resp.session_state.intent.slots["NonEmptyString"].values #=> Array
761
798
  # resp.session_state.intent.slots["NonEmptyString"].values[0] #=> Types::Slot
762
- # resp.session_state.intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting"
799
+ # resp.session_state.intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting", "FulfillmentInProgress"
763
800
  # resp.session_state.intent.confirmation_state #=> String, one of "Confirmed", "Denied", "None"
764
801
  # resp.session_state.active_contexts #=> Array
765
802
  # resp.session_state.active_contexts[0].name #=> String
@@ -786,7 +823,7 @@ module Aws::LexRuntimeV2
786
823
  # resp.interpretations[0].intent.slots["NonEmptyString"].shape #=> String, one of "Scalar", "List"
787
824
  # resp.interpretations[0].intent.slots["NonEmptyString"].values #=> Array
788
825
  # resp.interpretations[0].intent.slots["NonEmptyString"].values[0] #=> Types::Slot
789
- # resp.interpretations[0].intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting"
826
+ # resp.interpretations[0].intent.state #=> String, one of "Failed", "Fulfilled", "InProgress", "ReadyForFulfillment", "Waiting", "FulfillmentInProgress"
790
827
  # resp.interpretations[0].intent.confirmation_state #=> String, one of "Confirmed", "Denied", "None"
791
828
  # resp.request_attributes #=> Hash
792
829
  # resp.request_attributes["NonEmptyString"] #=> String
@@ -831,6 +868,30 @@ module Aws::LexRuntimeV2
831
868
  # Java object to send to Amazon Lex V2, and a second that decodes and
832
869
  # decompresses a response from Amazon Lex V2.
833
870
  #
871
+ # If the optional post-fulfillment response is specified, the messages
872
+ # are returned as follows. For more information, see
873
+ # [PostFulfillmentStatusSpecification][1].
874
+ #
875
+ # * **Success message** - Returned if the Lambda function completes
876
+ # successfully and the intent state is fulfilled or ready fulfillment
877
+ # if the message is present.
878
+ #
879
+ # * **Failed message** - The failed message is returned if the Lambda
880
+ # function throws an exception or if the Lambda function returns a
881
+ # failed intent state without a message.
882
+ #
883
+ # * **Timeout message** - If you don't configure a timeout message and
884
+ # a timeout, and the Lambda function doesn't return within 30
885
+ # seconds, the timeout message is returned. If you configure a
886
+ # timeout, the timeout message is returned when the period times out.
887
+ #
888
+ # For more information, see [Completion message][2].
889
+ #
890
+ #
891
+ #
892
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_PostFulfillmentStatusSpecification.html
893
+ # [2]: https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete.html
894
+ #
834
895
  # @option params [required, String] :bot_id
835
896
  # The identifier of the bot that should receive the request.
836
897
  #
@@ -981,7 +1042,7 @@ module Aws::LexRuntimeV2
981
1042
  params: params,
982
1043
  config: config)
983
1044
  context[:gem_name] = 'aws-sdk-lexruntimev2'
984
- context[:gem_version] = '1.6.0'
1045
+ context[:gem_version] = '1.10.0'
985
1046
  Seahorse::Client::Request.new(handlers, context)
986
1047
  end
987
1048
 
@@ -94,6 +94,7 @@ module Aws::LexRuntimeV2
94
94
  String = Shapes::StringShape.new(name: 'String')
95
95
  StringList = Shapes::ListShape.new(name: 'StringList')
96
96
  StringMap = Shapes::MapShape.new(name: 'StringMap')
97
+ StyleType = Shapes::StringShape.new(name: 'StyleType')
97
98
  Text = Shapes::StringShape.new(name: 'Text')
98
99
  TextInputEvent = Shapes::StructureShape.new(name: 'TextInputEvent')
99
100
  TextResponseEvent = Shapes::StructureShape.new(name: 'TextResponseEvent')
@@ -177,6 +178,7 @@ module Aws::LexRuntimeV2
177
178
 
178
179
  DialogAction.add_member(:type, Shapes::ShapeRef.new(shape: DialogActionType, required: true, location_name: "type"))
179
180
  DialogAction.add_member(:slot_to_elicit, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "slotToElicit"))
181
+ DialogAction.add_member(:slot_elicitation_style, Shapes::ShapeRef.new(shape: StyleType, location_name: "slotElicitationStyle"))
180
182
  DialogAction.struct_class = Types::DialogAction
181
183
 
182
184
  DisconnectionEvent.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, location_name: "eventId"))
@@ -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. When this parameter if `false`, the client
63
- # application needs to create responses for the user.
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 lis tof contexts active for the request. A context can be
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,8 +256,9 @@ 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
+ # slot_elicitation_style: "Default", # accepts Default, SpellByLetter, SpellByWord
261
262
  # },
262
263
  # intent: {
263
264
  # name: "NonEmptyString", # required
@@ -276,7 +277,7 @@ module Aws::LexRuntimeV2
276
277
  # ],
277
278
  # },
278
279
  # },
279
- # state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting
280
+ # state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting, FulfillmentInProgress
280
281
  # confirmation_state: "Confirmed", # accepts Confirmed, Denied, None
281
282
  # },
282
283
  # active_contexts: [
@@ -366,8 +367,13 @@ module Aws::LexRuntimeV2
366
367
  #
367
368
  # @!attribute [rw] disable_playback
368
369
  # Determines whether Amazon Lex V2 should send audio responses to the
369
- # client application. When this parameter if `false`, the client
370
- # application needs to create responses for the user.
370
+ # client application.
371
+ #
372
+ # Set this field to false when the client is operating in a playback
373
+ # mode where audio responses are played to the user. If the client
374
+ # isn't operating in playback mode, such as a text chat application,
375
+ # set this to true so that Amazon Lex V2 doesn't wait for the prompt
376
+ # to finish playing on the client.
371
377
  # @return [Boolean]
372
378
  #
373
379
  # @!attribute [rw] event_id
@@ -531,8 +537,9 @@ module Aws::LexRuntimeV2
531
537
  # data as a hash:
532
538
  #
533
539
  # {
534
- # type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot
540
+ # type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
535
541
  # slot_to_elicit: "NonEmptyString",
542
+ # slot_elicitation_style: "Default", # accepts Default, SpellByLetter, SpellByWord
536
543
  # }
537
544
  #
538
545
  # @!attribute [rw] type
@@ -557,11 +564,29 @@ module Aws::LexRuntimeV2
557
564
  # The name of the slot that should be elicited from the user.
558
565
  # @return [String]
559
566
  #
567
+ # @!attribute [rw] slot_elicitation_style
568
+ # Configures the slot to use spell-by-letter or spell-by-word style.
569
+ # When you use a style on a slot, users can spell out their input to
570
+ # make it clear to your bot.
571
+ #
572
+ # * Spell by letter - "b" "o" "b"
573
+ #
574
+ # * Spell by word - "b as in boy" "o as in oscar" "b as in boy"
575
+ #
576
+ # For more information, see [ Using spelling to enter slot values
577
+ # ][1].
578
+ #
579
+ #
580
+ #
581
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/using-spelling.html
582
+ # @return [String]
583
+ #
560
584
  # @see http://docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/DialogAction AWS API Documentation
561
585
  #
562
586
  class DialogAction < Struct.new(
563
587
  :type,
564
- :slot_to_elicit)
588
+ :slot_to_elicit,
589
+ :slot_elicitation_style)
565
590
  SENSITIVE = []
566
591
  include Aws::Structure
567
592
  end
@@ -770,7 +795,7 @@ module Aws::LexRuntimeV2
770
795
  # ],
771
796
  # },
772
797
  # },
773
- # state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting
798
+ # state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting, FulfillmentInProgress
774
799
  # confirmation_state: "Confirmed", # accepts Confirmed, Denied, None
775
800
  # }
776
801
  #
@@ -1040,8 +1065,9 @@ module Aws::LexRuntimeV2
1040
1065
  # ],
1041
1066
  # session_state: { # required
1042
1067
  # dialog_action: {
1043
- # type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot
1068
+ # type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
1044
1069
  # slot_to_elicit: "NonEmptyString",
1070
+ # slot_elicitation_style: "Default", # accepts Default, SpellByLetter, SpellByWord
1045
1071
  # },
1046
1072
  # intent: {
1047
1073
  # name: "NonEmptyString", # required
@@ -1060,7 +1086,7 @@ module Aws::LexRuntimeV2
1060
1086
  # ],
1061
1087
  # },
1062
1088
  # },
1063
- # state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting
1089
+ # state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting, FulfillmentInProgress
1064
1090
  # confirmation_state: "Confirmed", # accepts Confirmed, Denied, None
1065
1091
  # },
1066
1092
  # active_contexts: [
@@ -1205,8 +1231,9 @@ module Aws::LexRuntimeV2
1205
1231
  # text: "Text", # required
1206
1232
  # session_state: {
1207
1233
  # dialog_action: {
1208
- # type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot
1234
+ # type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
1209
1235
  # slot_to_elicit: "NonEmptyString",
1236
+ # slot_elicitation_style: "Default", # accepts Default, SpellByLetter, SpellByWord
1210
1237
  # },
1211
1238
  # intent: {
1212
1239
  # name: "NonEmptyString", # required
@@ -1225,7 +1252,7 @@ module Aws::LexRuntimeV2
1225
1252
  # ],
1226
1253
  # },
1227
1254
  # },
1228
- # state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting
1255
+ # state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting, FulfillmentInProgress
1229
1256
  # confirmation_state: "Confirmed", # accepts Confirmed, Denied, None
1230
1257
  # },
1231
1258
  # active_contexts: [
@@ -1657,8 +1684,9 @@ module Aws::LexRuntimeV2
1657
1684
  #
1658
1685
  # {
1659
1686
  # dialog_action: {
1660
- # type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot
1687
+ # type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
1661
1688
  # slot_to_elicit: "NonEmptyString",
1689
+ # slot_elicitation_style: "Default", # accepts Default, SpellByLetter, SpellByWord
1662
1690
  # },
1663
1691
  # intent: {
1664
1692
  # name: "NonEmptyString", # required
@@ -1677,7 +1705,7 @@ module Aws::LexRuntimeV2
1677
1705
  # ],
1678
1706
  # },
1679
1707
  # },
1680
- # state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting
1708
+ # state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting, FulfillmentInProgress
1681
1709
  # confirmation_state: "Confirmed", # accepts Confirmed, Denied, None
1682
1710
  # },
1683
1711
  # active_contexts: [
@@ -2017,8 +2045,9 @@ module Aws::LexRuntimeV2
2017
2045
  # response_content_type: "NonEmptyString", # required
2018
2046
  # session_state: {
2019
2047
  # dialog_action: {
2020
- # type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot
2048
+ # type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
2021
2049
  # slot_to_elicit: "NonEmptyString",
2050
+ # slot_elicitation_style: "Default", # accepts Default, SpellByLetter, SpellByWord
2022
2051
  # },
2023
2052
  # intent: {
2024
2053
  # name: "NonEmptyString", # required
@@ -2037,7 +2066,7 @@ module Aws::LexRuntimeV2
2037
2066
  # ],
2038
2067
  # },
2039
2068
  # },
2040
- # state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting
2069
+ # state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting, FulfillmentInProgress
2041
2070
  # confirmation_state: "Confirmed", # accepts Confirmed, Denied, None
2042
2071
  # },
2043
2072
  # active_contexts: [
@@ -50,6 +50,6 @@ require_relative 'aws-sdk-lexruntimev2/event_streams'
50
50
  # @!group service
51
51
  module Aws::LexRuntimeV2
52
52
 
53
- GEM_VERSION = '1.6.0'
53
+ GEM_VERSION = '1.10.0'
54
54
 
55
55
  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.6.0
4
+ version: 1.10.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-09-01 00:00:00.000000000 Z
11
+ date: 2021-11-19 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.120.0
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.120.0
32
+ version: 3.122.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement