aws-sdk-lexmodelsv2 1.27.0 → 1.28.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +271 -1
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +43 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +526 -1
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9698369e1459f0e0a8e76c79759f990037cc13afb4072062f8d0b4c2b754a723
|
4
|
+
data.tar.gz: 3019600737967f3295678e5523c53a769cced9bcb1a0f92171f2ab4304d8820c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d24d720b0d78aaefadd216e94a14b90e7fc6f14169ea9cb90e40c2eecd3a24b3133d08f6ba28d716489792feb68059fa9cff7e96a864ef6aa55016b01fb4288
|
7
|
+
data.tar.gz: d5cbf3f3e9ad003fea9ecb9ad6e3470013e8404a7c5cf96885ef55665c3f93eff365d6d0138c0d44ca4c20349ba067b4d23a1fc7d3f076d34a84a12308c68b94
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.28.0 (2022-09-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces additional optional parameters promptAttemptsSpecification to PromptSpecification, which enables the users to configure interrupt setting and Audio, DTMF and Text input configuration for the initial and retry prompt played by the Bot
|
8
|
+
|
4
9
|
1.27.0 (2022-09-09)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.28.0
|
@@ -1988,6 +1988,31 @@ module Aws::LexModelsV2
|
|
1988
1988
|
# max_retries: 1, # required
|
1989
1989
|
# allow_interrupt: false,
|
1990
1990
|
# message_selection_strategy: "Random", # accepts Random, Ordered
|
1991
|
+
# prompt_attempts_specification: {
|
1992
|
+
# "Initial" => {
|
1993
|
+
# allow_interrupt: false,
|
1994
|
+
# allowed_input_types: { # required
|
1995
|
+
# allow_audio_input: false, # required
|
1996
|
+
# allow_dtmf_input: false, # required
|
1997
|
+
# },
|
1998
|
+
# audio_and_dtmf_input_specification: {
|
1999
|
+
# start_timeout_ms: 1, # required
|
2000
|
+
# audio_specification: {
|
2001
|
+
# max_length_ms: 1, # required
|
2002
|
+
# end_timeout_ms: 1, # required
|
2003
|
+
# },
|
2004
|
+
# dtmf_specification: {
|
2005
|
+
# max_length: 1, # required
|
2006
|
+
# end_timeout_ms: 1, # required
|
2007
|
+
# deletion_character: "DTMFCharacter", # required
|
2008
|
+
# end_character: "DTMFCharacter", # required
|
2009
|
+
# },
|
2010
|
+
# },
|
2011
|
+
# text_input_specification: {
|
2012
|
+
# start_timeout_ms: 1, # required
|
2013
|
+
# },
|
2014
|
+
# },
|
2015
|
+
# },
|
1991
2016
|
# },
|
1992
2017
|
# declination_response: {
|
1993
2018
|
# message_groups: [ # required
|
@@ -5166,6 +5191,18 @@ module Aws::LexModelsV2
|
|
5166
5191
|
# resp.intent_confirmation_setting.prompt_specification.max_retries #=> Integer
|
5167
5192
|
# resp.intent_confirmation_setting.prompt_specification.allow_interrupt #=> Boolean
|
5168
5193
|
# resp.intent_confirmation_setting.prompt_specification.message_selection_strategy #=> String, one of "Random", "Ordered"
|
5194
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification #=> Hash
|
5195
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allow_interrupt #=> Boolean
|
5196
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_audio_input #=> Boolean
|
5197
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_dtmf_input #=> Boolean
|
5198
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.start_timeout_ms #=> Integer
|
5199
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.max_length_ms #=> Integer
|
5200
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.end_timeout_ms #=> Integer
|
5201
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.max_length #=> Integer
|
5202
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_timeout_ms #=> Integer
|
5203
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.deletion_character #=> String
|
5204
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_character #=> String
|
5205
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].text_input_specification.start_timeout_ms #=> Integer
|
5169
5206
|
# resp.intent_confirmation_setting.declination_response.message_groups #=> Array
|
5170
5207
|
# resp.intent_confirmation_setting.declination_response.message_groups[0].message.plain_text_message.value #=> String
|
5171
5208
|
# resp.intent_confirmation_setting.declination_response.message_groups[0].message.custom_payload.value #=> String
|
@@ -6593,6 +6630,31 @@ module Aws::LexModelsV2
|
|
6593
6630
|
# max_retries: 1, # required
|
6594
6631
|
# allow_interrupt: false,
|
6595
6632
|
# message_selection_strategy: "Random", # accepts Random, Ordered
|
6633
|
+
# prompt_attempts_specification: {
|
6634
|
+
# "Initial" => {
|
6635
|
+
# allow_interrupt: false,
|
6636
|
+
# allowed_input_types: { # required
|
6637
|
+
# allow_audio_input: false, # required
|
6638
|
+
# allow_dtmf_input: false, # required
|
6639
|
+
# },
|
6640
|
+
# audio_and_dtmf_input_specification: {
|
6641
|
+
# start_timeout_ms: 1, # required
|
6642
|
+
# audio_specification: {
|
6643
|
+
# max_length_ms: 1, # required
|
6644
|
+
# end_timeout_ms: 1, # required
|
6645
|
+
# },
|
6646
|
+
# dtmf_specification: {
|
6647
|
+
# max_length: 1, # required
|
6648
|
+
# end_timeout_ms: 1, # required
|
6649
|
+
# deletion_character: "DTMFCharacter", # required
|
6650
|
+
# end_character: "DTMFCharacter", # required
|
6651
|
+
# },
|
6652
|
+
# },
|
6653
|
+
# text_input_specification: {
|
6654
|
+
# start_timeout_ms: 1, # required
|
6655
|
+
# },
|
6656
|
+
# },
|
6657
|
+
# },
|
6596
6658
|
# },
|
6597
6659
|
# sample_utterances: [
|
6598
6660
|
# {
|
@@ -8104,6 +8166,31 @@ module Aws::LexModelsV2
|
|
8104
8166
|
# max_retries: 1, # required
|
8105
8167
|
# allow_interrupt: false,
|
8106
8168
|
# message_selection_strategy: "Random", # accepts Random, Ordered
|
8169
|
+
# prompt_attempts_specification: {
|
8170
|
+
# "Initial" => {
|
8171
|
+
# allow_interrupt: false,
|
8172
|
+
# allowed_input_types: { # required
|
8173
|
+
# allow_audio_input: false, # required
|
8174
|
+
# allow_dtmf_input: false, # required
|
8175
|
+
# },
|
8176
|
+
# audio_and_dtmf_input_specification: {
|
8177
|
+
# start_timeout_ms: 1, # required
|
8178
|
+
# audio_specification: {
|
8179
|
+
# max_length_ms: 1, # required
|
8180
|
+
# end_timeout_ms: 1, # required
|
8181
|
+
# },
|
8182
|
+
# dtmf_specification: {
|
8183
|
+
# max_length: 1, # required
|
8184
|
+
# end_timeout_ms: 1, # required
|
8185
|
+
# deletion_character: "DTMFCharacter", # required
|
8186
|
+
# end_character: "DTMFCharacter", # required
|
8187
|
+
# },
|
8188
|
+
# },
|
8189
|
+
# text_input_specification: {
|
8190
|
+
# start_timeout_ms: 1, # required
|
8191
|
+
# },
|
8192
|
+
# },
|
8193
|
+
# },
|
8107
8194
|
# },
|
8108
8195
|
# sample_utterances: [
|
8109
8196
|
# {
|
@@ -8312,6 +8399,18 @@ module Aws::LexModelsV2
|
|
8312
8399
|
# resp.value_elicitation_setting.prompt_specification.max_retries #=> Integer
|
8313
8400
|
# resp.value_elicitation_setting.prompt_specification.allow_interrupt #=> Boolean
|
8314
8401
|
# resp.value_elicitation_setting.prompt_specification.message_selection_strategy #=> String, one of "Random", "Ordered"
|
8402
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification #=> Hash
|
8403
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allow_interrupt #=> Boolean
|
8404
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_audio_input #=> Boolean
|
8405
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_dtmf_input #=> Boolean
|
8406
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.start_timeout_ms #=> Integer
|
8407
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.max_length_ms #=> Integer
|
8408
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.end_timeout_ms #=> Integer
|
8409
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.max_length #=> Integer
|
8410
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_timeout_ms #=> Integer
|
8411
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.deletion_character #=> String
|
8412
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_character #=> String
|
8413
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].text_input_specification.start_timeout_ms #=> Integer
|
8315
8414
|
# resp.value_elicitation_setting.sample_utterances #=> Array
|
8316
8415
|
# resp.value_elicitation_setting.sample_utterances[0].utterance #=> String
|
8317
8416
|
# resp.value_elicitation_setting.wait_and_continue_specification.waiting_response.message_groups #=> Array
|
@@ -8920,6 +9019,18 @@ module Aws::LexModelsV2
|
|
8920
9019
|
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.max_retries #=> Integer
|
8921
9020
|
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.allow_interrupt #=> Boolean
|
8922
9021
|
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.message_selection_strategy #=> String, one of "Random", "Ordered"
|
9022
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification #=> Hash
|
9023
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allow_interrupt #=> Boolean
|
9024
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_audio_input #=> Boolean
|
9025
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_dtmf_input #=> Boolean
|
9026
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.start_timeout_ms #=> Integer
|
9027
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.max_length_ms #=> Integer
|
9028
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.end_timeout_ms #=> Integer
|
9029
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.max_length #=> Integer
|
9030
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_timeout_ms #=> Integer
|
9031
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.deletion_character #=> String
|
9032
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_character #=> String
|
9033
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].text_input_specification.start_timeout_ms #=> Integer
|
8923
9034
|
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.sample_utterances #=> Array
|
8924
9035
|
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.sample_utterances[0].utterance #=> String
|
8925
9036
|
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.wait_and_continue_specification.waiting_response.message_groups #=> Array
|
@@ -10704,6 +10815,18 @@ module Aws::LexModelsV2
|
|
10704
10815
|
# resp.intent_confirmation_setting.prompt_specification.max_retries #=> Integer
|
10705
10816
|
# resp.intent_confirmation_setting.prompt_specification.allow_interrupt #=> Boolean
|
10706
10817
|
# resp.intent_confirmation_setting.prompt_specification.message_selection_strategy #=> String, one of "Random", "Ordered"
|
10818
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification #=> Hash
|
10819
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allow_interrupt #=> Boolean
|
10820
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_audio_input #=> Boolean
|
10821
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_dtmf_input #=> Boolean
|
10822
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.start_timeout_ms #=> Integer
|
10823
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.max_length_ms #=> Integer
|
10824
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.end_timeout_ms #=> Integer
|
10825
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.max_length #=> Integer
|
10826
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_timeout_ms #=> Integer
|
10827
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.deletion_character #=> String
|
10828
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_character #=> String
|
10829
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].text_input_specification.start_timeout_ms #=> Integer
|
10707
10830
|
# resp.intent_confirmation_setting.declination_response.message_groups #=> Array
|
10708
10831
|
# resp.intent_confirmation_setting.declination_response.message_groups[0].message.plain_text_message.value #=> String
|
10709
10832
|
# resp.intent_confirmation_setting.declination_response.message_groups[0].message.custom_payload.value #=> String
|
@@ -11953,6 +12076,18 @@ module Aws::LexModelsV2
|
|
11953
12076
|
# resp.value_elicitation_setting.prompt_specification.max_retries #=> Integer
|
11954
12077
|
# resp.value_elicitation_setting.prompt_specification.allow_interrupt #=> Boolean
|
11955
12078
|
# resp.value_elicitation_setting.prompt_specification.message_selection_strategy #=> String, one of "Random", "Ordered"
|
12079
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification #=> Hash
|
12080
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allow_interrupt #=> Boolean
|
12081
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_audio_input #=> Boolean
|
12082
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_dtmf_input #=> Boolean
|
12083
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.start_timeout_ms #=> Integer
|
12084
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.max_length_ms #=> Integer
|
12085
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.end_timeout_ms #=> Integer
|
12086
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.max_length #=> Integer
|
12087
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_timeout_ms #=> Integer
|
12088
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.deletion_character #=> String
|
12089
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_character #=> String
|
12090
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].text_input_specification.start_timeout_ms #=> Integer
|
11956
12091
|
# resp.value_elicitation_setting.sample_utterances #=> Array
|
11957
12092
|
# resp.value_elicitation_setting.sample_utterances[0].utterance #=> String
|
11958
12093
|
# resp.value_elicitation_setting.wait_and_continue_specification.waiting_response.message_groups #=> Array
|
@@ -12562,6 +12697,18 @@ module Aws::LexModelsV2
|
|
12562
12697
|
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.max_retries #=> Integer
|
12563
12698
|
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.allow_interrupt #=> Boolean
|
12564
12699
|
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.message_selection_strategy #=> String, one of "Random", "Ordered"
|
12700
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification #=> Hash
|
12701
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allow_interrupt #=> Boolean
|
12702
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_audio_input #=> Boolean
|
12703
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_dtmf_input #=> Boolean
|
12704
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.start_timeout_ms #=> Integer
|
12705
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.max_length_ms #=> Integer
|
12706
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.end_timeout_ms #=> Integer
|
12707
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.max_length #=> Integer
|
12708
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_timeout_ms #=> Integer
|
12709
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.deletion_character #=> String
|
12710
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_character #=> String
|
12711
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].text_input_specification.start_timeout_ms #=> Integer
|
12565
12712
|
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.sample_utterances #=> Array
|
12566
12713
|
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.sample_utterances[0].utterance #=> String
|
12567
12714
|
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.wait_and_continue_specification.waiting_response.message_groups #=> Array
|
@@ -13903,6 +14050,18 @@ module Aws::LexModelsV2
|
|
13903
14050
|
# resp.slot_summaries[0].value_elicitation_prompt_specification.max_retries #=> Integer
|
13904
14051
|
# resp.slot_summaries[0].value_elicitation_prompt_specification.allow_interrupt #=> Boolean
|
13905
14052
|
# resp.slot_summaries[0].value_elicitation_prompt_specification.message_selection_strategy #=> String, one of "Random", "Ordered"
|
14053
|
+
# resp.slot_summaries[0].value_elicitation_prompt_specification.prompt_attempts_specification #=> Hash
|
14054
|
+
# resp.slot_summaries[0].value_elicitation_prompt_specification.prompt_attempts_specification["PromptAttempt"].allow_interrupt #=> Boolean
|
14055
|
+
# resp.slot_summaries[0].value_elicitation_prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_audio_input #=> Boolean
|
14056
|
+
# resp.slot_summaries[0].value_elicitation_prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_dtmf_input #=> Boolean
|
14057
|
+
# resp.slot_summaries[0].value_elicitation_prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.start_timeout_ms #=> Integer
|
14058
|
+
# resp.slot_summaries[0].value_elicitation_prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.max_length_ms #=> Integer
|
14059
|
+
# resp.slot_summaries[0].value_elicitation_prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.end_timeout_ms #=> Integer
|
14060
|
+
# resp.slot_summaries[0].value_elicitation_prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.max_length #=> Integer
|
14061
|
+
# resp.slot_summaries[0].value_elicitation_prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_timeout_ms #=> Integer
|
14062
|
+
# resp.slot_summaries[0].value_elicitation_prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.deletion_character #=> String
|
14063
|
+
# resp.slot_summaries[0].value_elicitation_prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_character #=> String
|
14064
|
+
# resp.slot_summaries[0].value_elicitation_prompt_specification.prompt_attempts_specification["PromptAttempt"].text_input_specification.start_timeout_ms #=> Integer
|
13906
14065
|
# resp.slot_summaries[0].last_updated_date_time #=> Time
|
13907
14066
|
# resp.next_token #=> String
|
13908
14067
|
#
|
@@ -15815,6 +15974,31 @@ module Aws::LexModelsV2
|
|
15815
15974
|
# max_retries: 1, # required
|
15816
15975
|
# allow_interrupt: false,
|
15817
15976
|
# message_selection_strategy: "Random", # accepts Random, Ordered
|
15977
|
+
# prompt_attempts_specification: {
|
15978
|
+
# "Initial" => {
|
15979
|
+
# allow_interrupt: false,
|
15980
|
+
# allowed_input_types: { # required
|
15981
|
+
# allow_audio_input: false, # required
|
15982
|
+
# allow_dtmf_input: false, # required
|
15983
|
+
# },
|
15984
|
+
# audio_and_dtmf_input_specification: {
|
15985
|
+
# start_timeout_ms: 1, # required
|
15986
|
+
# audio_specification: {
|
15987
|
+
# max_length_ms: 1, # required
|
15988
|
+
# end_timeout_ms: 1, # required
|
15989
|
+
# },
|
15990
|
+
# dtmf_specification: {
|
15991
|
+
# max_length: 1, # required
|
15992
|
+
# end_timeout_ms: 1, # required
|
15993
|
+
# deletion_character: "DTMFCharacter", # required
|
15994
|
+
# end_character: "DTMFCharacter", # required
|
15995
|
+
# },
|
15996
|
+
# },
|
15997
|
+
# text_input_specification: {
|
15998
|
+
# start_timeout_ms: 1, # required
|
15999
|
+
# },
|
16000
|
+
# },
|
16001
|
+
# },
|
15818
16002
|
# },
|
15819
16003
|
# declination_response: {
|
15820
16004
|
# message_groups: [ # required
|
@@ -18996,6 +19180,18 @@ module Aws::LexModelsV2
|
|
18996
19180
|
# resp.intent_confirmation_setting.prompt_specification.max_retries #=> Integer
|
18997
19181
|
# resp.intent_confirmation_setting.prompt_specification.allow_interrupt #=> Boolean
|
18998
19182
|
# resp.intent_confirmation_setting.prompt_specification.message_selection_strategy #=> String, one of "Random", "Ordered"
|
19183
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification #=> Hash
|
19184
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allow_interrupt #=> Boolean
|
19185
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_audio_input #=> Boolean
|
19186
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_dtmf_input #=> Boolean
|
19187
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.start_timeout_ms #=> Integer
|
19188
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.max_length_ms #=> Integer
|
19189
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.end_timeout_ms #=> Integer
|
19190
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.max_length #=> Integer
|
19191
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_timeout_ms #=> Integer
|
19192
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.deletion_character #=> String
|
19193
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_character #=> String
|
19194
|
+
# resp.intent_confirmation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].text_input_specification.start_timeout_ms #=> Integer
|
18999
19195
|
# resp.intent_confirmation_setting.declination_response.message_groups #=> Array
|
19000
19196
|
# resp.intent_confirmation_setting.declination_response.message_groups[0].message.plain_text_message.value #=> String
|
19001
19197
|
# resp.intent_confirmation_setting.declination_response.message_groups[0].message.custom_payload.value #=> String
|
@@ -20327,6 +20523,31 @@ module Aws::LexModelsV2
|
|
20327
20523
|
# max_retries: 1, # required
|
20328
20524
|
# allow_interrupt: false,
|
20329
20525
|
# message_selection_strategy: "Random", # accepts Random, Ordered
|
20526
|
+
# prompt_attempts_specification: {
|
20527
|
+
# "Initial" => {
|
20528
|
+
# allow_interrupt: false,
|
20529
|
+
# allowed_input_types: { # required
|
20530
|
+
# allow_audio_input: false, # required
|
20531
|
+
# allow_dtmf_input: false, # required
|
20532
|
+
# },
|
20533
|
+
# audio_and_dtmf_input_specification: {
|
20534
|
+
# start_timeout_ms: 1, # required
|
20535
|
+
# audio_specification: {
|
20536
|
+
# max_length_ms: 1, # required
|
20537
|
+
# end_timeout_ms: 1, # required
|
20538
|
+
# },
|
20539
|
+
# dtmf_specification: {
|
20540
|
+
# max_length: 1, # required
|
20541
|
+
# end_timeout_ms: 1, # required
|
20542
|
+
# deletion_character: "DTMFCharacter", # required
|
20543
|
+
# end_character: "DTMFCharacter", # required
|
20544
|
+
# },
|
20545
|
+
# },
|
20546
|
+
# text_input_specification: {
|
20547
|
+
# start_timeout_ms: 1, # required
|
20548
|
+
# },
|
20549
|
+
# },
|
20550
|
+
# },
|
20330
20551
|
# },
|
20331
20552
|
# sample_utterances: [
|
20332
20553
|
# {
|
@@ -21838,6 +22059,31 @@ module Aws::LexModelsV2
|
|
21838
22059
|
# max_retries: 1, # required
|
21839
22060
|
# allow_interrupt: false,
|
21840
22061
|
# message_selection_strategy: "Random", # accepts Random, Ordered
|
22062
|
+
# prompt_attempts_specification: {
|
22063
|
+
# "Initial" => {
|
22064
|
+
# allow_interrupt: false,
|
22065
|
+
# allowed_input_types: { # required
|
22066
|
+
# allow_audio_input: false, # required
|
22067
|
+
# allow_dtmf_input: false, # required
|
22068
|
+
# },
|
22069
|
+
# audio_and_dtmf_input_specification: {
|
22070
|
+
# start_timeout_ms: 1, # required
|
22071
|
+
# audio_specification: {
|
22072
|
+
# max_length_ms: 1, # required
|
22073
|
+
# end_timeout_ms: 1, # required
|
22074
|
+
# },
|
22075
|
+
# dtmf_specification: {
|
22076
|
+
# max_length: 1, # required
|
22077
|
+
# end_timeout_ms: 1, # required
|
22078
|
+
# deletion_character: "DTMFCharacter", # required
|
22079
|
+
# end_character: "DTMFCharacter", # required
|
22080
|
+
# },
|
22081
|
+
# },
|
22082
|
+
# text_input_specification: {
|
22083
|
+
# start_timeout_ms: 1, # required
|
22084
|
+
# },
|
22085
|
+
# },
|
22086
|
+
# },
|
21841
22087
|
# },
|
21842
22088
|
# sample_utterances: [
|
21843
22089
|
# {
|
@@ -22046,6 +22292,18 @@ module Aws::LexModelsV2
|
|
22046
22292
|
# resp.value_elicitation_setting.prompt_specification.max_retries #=> Integer
|
22047
22293
|
# resp.value_elicitation_setting.prompt_specification.allow_interrupt #=> Boolean
|
22048
22294
|
# resp.value_elicitation_setting.prompt_specification.message_selection_strategy #=> String, one of "Random", "Ordered"
|
22295
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification #=> Hash
|
22296
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allow_interrupt #=> Boolean
|
22297
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_audio_input #=> Boolean
|
22298
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_dtmf_input #=> Boolean
|
22299
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.start_timeout_ms #=> Integer
|
22300
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.max_length_ms #=> Integer
|
22301
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.end_timeout_ms #=> Integer
|
22302
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.max_length #=> Integer
|
22303
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_timeout_ms #=> Integer
|
22304
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.deletion_character #=> String
|
22305
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_character #=> String
|
22306
|
+
# resp.value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].text_input_specification.start_timeout_ms #=> Integer
|
22049
22307
|
# resp.value_elicitation_setting.sample_utterances #=> Array
|
22050
22308
|
# resp.value_elicitation_setting.sample_utterances[0].utterance #=> String
|
22051
22309
|
# resp.value_elicitation_setting.wait_and_continue_specification.waiting_response.message_groups #=> Array
|
@@ -22655,6 +22913,18 @@ module Aws::LexModelsV2
|
|
22655
22913
|
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.max_retries #=> Integer
|
22656
22914
|
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.allow_interrupt #=> Boolean
|
22657
22915
|
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.message_selection_strategy #=> String, one of "Random", "Ordered"
|
22916
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification #=> Hash
|
22917
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allow_interrupt #=> Boolean
|
22918
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_audio_input #=> Boolean
|
22919
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].allowed_input_types.allow_dtmf_input #=> Boolean
|
22920
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.start_timeout_ms #=> Integer
|
22921
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.max_length_ms #=> Integer
|
22922
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.audio_specification.end_timeout_ms #=> Integer
|
22923
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.max_length #=> Integer
|
22924
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_timeout_ms #=> Integer
|
22925
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.deletion_character #=> String
|
22926
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].audio_and_dtmf_input_specification.dtmf_specification.end_character #=> String
|
22927
|
+
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.prompt_specification.prompt_attempts_specification["PromptAttempt"].text_input_specification.start_timeout_ms #=> Integer
|
22658
22928
|
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.sample_utterances #=> Array
|
22659
22929
|
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.sample_utterances[0].utterance #=> String
|
22660
22930
|
# resp.sub_slot_setting.slot_specifications["Name"].value_elicitation_setting.wait_and_continue_specification.waiting_response.message_groups #=> Array
|
@@ -22891,7 +23161,7 @@ module Aws::LexModelsV2
|
|
22891
23161
|
params: params,
|
22892
23162
|
config: config)
|
22893
23163
|
context[:gem_name] = 'aws-sdk-lexmodelsv2'
|
22894
|
-
context[:gem_version] = '1.
|
23164
|
+
context[:gem_version] = '1.28.0'
|
22895
23165
|
Seahorse::Client::Request.new(handlers, context)
|
22896
23166
|
end
|
22897
23167
|
|
@@ -22,6 +22,7 @@ module Aws::LexModelsV2
|
|
22
22
|
AggregatedUtterancesSortBy = Shapes::StructureShape.new(name: 'AggregatedUtterancesSortBy')
|
23
23
|
AggregatedUtterancesSummary = Shapes::StructureShape.new(name: 'AggregatedUtterancesSummary')
|
24
24
|
AggregatedUtterancesSummaryList = Shapes::ListShape.new(name: 'AggregatedUtterancesSummaryList')
|
25
|
+
AllowedInputTypes = Shapes::StructureShape.new(name: 'AllowedInputTypes')
|
25
26
|
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
26
27
|
AssociatedTranscript = Shapes::StructureShape.new(name: 'AssociatedTranscript')
|
27
28
|
AssociatedTranscriptFilter = Shapes::StructureShape.new(name: 'AssociatedTranscriptFilter')
|
@@ -30,10 +31,12 @@ module Aws::LexModelsV2
|
|
30
31
|
AssociatedTranscriptList = Shapes::ListShape.new(name: 'AssociatedTranscriptList')
|
31
32
|
AttachmentTitle = Shapes::StringShape.new(name: 'AttachmentTitle')
|
32
33
|
AttachmentUrl = Shapes::StringShape.new(name: 'AttachmentUrl')
|
34
|
+
AudioAndDTMFInputSpecification = Shapes::StructureShape.new(name: 'AudioAndDTMFInputSpecification')
|
33
35
|
AudioLogDestination = Shapes::StructureShape.new(name: 'AudioLogDestination')
|
34
36
|
AudioLogSetting = Shapes::StructureShape.new(name: 'AudioLogSetting')
|
35
37
|
AudioLogSettingsList = Shapes::ListShape.new(name: 'AudioLogSettingsList')
|
36
38
|
AudioRecognitionStrategy = Shapes::StringShape.new(name: 'AudioRecognitionStrategy')
|
39
|
+
AudioSpecification = Shapes::StructureShape.new(name: 'AudioSpecification')
|
37
40
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
38
41
|
BotAliasHistoryEvent = Shapes::StructureShape.new(name: 'BotAliasHistoryEvent')
|
39
42
|
BotAliasHistoryEventsList = Shapes::ListShape.new(name: 'BotAliasHistoryEventsList')
|
@@ -146,6 +149,8 @@ module Aws::LexModelsV2
|
|
146
149
|
CustomVocabularyExportSpecification = Shapes::StructureShape.new(name: 'CustomVocabularyExportSpecification')
|
147
150
|
CustomVocabularyImportSpecification = Shapes::StructureShape.new(name: 'CustomVocabularyImportSpecification')
|
148
151
|
CustomVocabularyStatus = Shapes::StringShape.new(name: 'CustomVocabularyStatus')
|
152
|
+
DTMFCharacter = Shapes::StringShape.new(name: 'DTMFCharacter')
|
153
|
+
DTMFSpecification = Shapes::StructureShape.new(name: 'DTMFSpecification')
|
149
154
|
DataPrivacy = Shapes::StructureShape.new(name: 'DataPrivacy')
|
150
155
|
DateRangeFilter = Shapes::StructureShape.new(name: 'DateRangeFilter')
|
151
156
|
DefaultConditionalBranch = Shapes::StructureShape.new(name: 'DefaultConditionalBranch')
|
@@ -306,6 +311,7 @@ module Aws::LexModelsV2
|
|
306
311
|
LocaleName = Shapes::StringShape.new(name: 'LocaleName')
|
307
312
|
LogPrefix = Shapes::StringShape.new(name: 'LogPrefix')
|
308
313
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
314
|
+
MaxUtteranceDigits = Shapes::IntegerShape.new(name: 'MaxUtteranceDigits')
|
309
315
|
MergeStrategy = Shapes::StringShape.new(name: 'MergeStrategy')
|
310
316
|
Message = Shapes::StructureShape.new(name: 'Message')
|
311
317
|
MessageGroup = Shapes::StructureShape.new(name: 'MessageGroup')
|
@@ -339,6 +345,9 @@ module Aws::LexModelsV2
|
|
339
345
|
PrincipalArn = Shapes::StringShape.new(name: 'PrincipalArn')
|
340
346
|
PrincipalList = Shapes::ListShape.new(name: 'PrincipalList')
|
341
347
|
PriorityValue = Shapes::IntegerShape.new(name: 'PriorityValue')
|
348
|
+
PromptAttempt = Shapes::StringShape.new(name: 'PromptAttempt')
|
349
|
+
PromptAttemptSpecification = Shapes::StructureShape.new(name: 'PromptAttemptSpecification')
|
350
|
+
PromptAttemptsSpecificationMap = Shapes::MapShape.new(name: 'PromptAttemptsSpecificationMap')
|
342
351
|
PromptMaxRetries = Shapes::IntegerShape.new(name: 'PromptMaxRetries')
|
343
352
|
PromptSpecification = Shapes::StructureShape.new(name: 'PromptSpecification')
|
344
353
|
QueryFilterString = Shapes::StringShape.new(name: 'QueryFilterString')
|
@@ -438,11 +447,13 @@ module Aws::LexModelsV2
|
|
438
447
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
439
448
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
440
449
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
450
|
+
TextInputSpecification = Shapes::StructureShape.new(name: 'TextInputSpecification')
|
441
451
|
TextLogDestination = Shapes::StructureShape.new(name: 'TextLogDestination')
|
442
452
|
TextLogSetting = Shapes::StructureShape.new(name: 'TextLogSetting')
|
443
453
|
TextLogSettingsList = Shapes::ListShape.new(name: 'TextLogSettingsList')
|
444
454
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
445
455
|
TimeDimension = Shapes::StringShape.new(name: 'TimeDimension')
|
456
|
+
TimeInMilliSeconds = Shapes::IntegerShape.new(name: 'TimeInMilliSeconds')
|
446
457
|
TimeValue = Shapes::IntegerShape.new(name: 'TimeValue')
|
447
458
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
448
459
|
Transcript = Shapes::StringShape.new(name: 'Transcript')
|
@@ -502,6 +513,10 @@ module Aws::LexModelsV2
|
|
502
513
|
|
503
514
|
AggregatedUtterancesSummaryList.member = Shapes::ShapeRef.new(shape: AggregatedUtterancesSummary)
|
504
515
|
|
516
|
+
AllowedInputTypes.add_member(:allow_audio_input, Shapes::ShapeRef.new(shape: BoxedBoolean, required: true, location_name: "allowAudioInput"))
|
517
|
+
AllowedInputTypes.add_member(:allow_dtmf_input, Shapes::ShapeRef.new(shape: BoxedBoolean, required: true, location_name: "allowDTMFInput"))
|
518
|
+
AllowedInputTypes.struct_class = Types::AllowedInputTypes
|
519
|
+
|
505
520
|
AssociatedTranscript.add_member(:transcript, Shapes::ShapeRef.new(shape: Transcript, location_name: "transcript"))
|
506
521
|
AssociatedTranscript.struct_class = Types::AssociatedTranscript
|
507
522
|
|
@@ -513,6 +528,11 @@ module Aws::LexModelsV2
|
|
513
528
|
|
514
529
|
AssociatedTranscriptList.member = Shapes::ShapeRef.new(shape: AssociatedTranscript)
|
515
530
|
|
531
|
+
AudioAndDTMFInputSpecification.add_member(:start_timeout_ms, Shapes::ShapeRef.new(shape: TimeInMilliSeconds, required: true, location_name: "startTimeoutMs"))
|
532
|
+
AudioAndDTMFInputSpecification.add_member(:audio_specification, Shapes::ShapeRef.new(shape: AudioSpecification, location_name: "audioSpecification"))
|
533
|
+
AudioAndDTMFInputSpecification.add_member(:dtmf_specification, Shapes::ShapeRef.new(shape: DTMFSpecification, location_name: "dtmfSpecification"))
|
534
|
+
AudioAndDTMFInputSpecification.struct_class = Types::AudioAndDTMFInputSpecification
|
535
|
+
|
516
536
|
AudioLogDestination.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3BucketLogDestination, required: true, location_name: "s3Bucket"))
|
517
537
|
AudioLogDestination.struct_class = Types::AudioLogDestination
|
518
538
|
|
@@ -522,6 +542,10 @@ module Aws::LexModelsV2
|
|
522
542
|
|
523
543
|
AudioLogSettingsList.member = Shapes::ShapeRef.new(shape: AudioLogSetting)
|
524
544
|
|
545
|
+
AudioSpecification.add_member(:max_length_ms, Shapes::ShapeRef.new(shape: TimeInMilliSeconds, required: true, location_name: "maxLengthMs"))
|
546
|
+
AudioSpecification.add_member(:end_timeout_ms, Shapes::ShapeRef.new(shape: TimeInMilliSeconds, required: true, location_name: "endTimeoutMs"))
|
547
|
+
AudioSpecification.struct_class = Types::AudioSpecification
|
548
|
+
|
525
549
|
BotAliasHistoryEvent.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
|
526
550
|
BotAliasHistoryEvent.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startDate"))
|
527
551
|
BotAliasHistoryEvent.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endDate"))
|
@@ -950,6 +974,12 @@ module Aws::LexModelsV2
|
|
950
974
|
CustomVocabularyImportSpecification.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location_name: "localeId"))
|
951
975
|
CustomVocabularyImportSpecification.struct_class = Types::CustomVocabularyImportSpecification
|
952
976
|
|
977
|
+
DTMFSpecification.add_member(:max_length, Shapes::ShapeRef.new(shape: MaxUtteranceDigits, required: true, location_name: "maxLength"))
|
978
|
+
DTMFSpecification.add_member(:end_timeout_ms, Shapes::ShapeRef.new(shape: TimeInMilliSeconds, required: true, location_name: "endTimeoutMs"))
|
979
|
+
DTMFSpecification.add_member(:deletion_character, Shapes::ShapeRef.new(shape: DTMFCharacter, required: true, location_name: "deletionCharacter"))
|
980
|
+
DTMFSpecification.add_member(:end_character, Shapes::ShapeRef.new(shape: DTMFCharacter, required: true, location_name: "endCharacter"))
|
981
|
+
DTMFSpecification.struct_class = Types::DTMFSpecification
|
982
|
+
|
953
983
|
DataPrivacy.add_member(:child_directed, Shapes::ShapeRef.new(shape: ChildDirected, required: true, location_name: "childDirected"))
|
954
984
|
DataPrivacy.struct_class = Types::DataPrivacy
|
955
985
|
|
@@ -1755,10 +1785,20 @@ module Aws::LexModelsV2
|
|
1755
1785
|
|
1756
1786
|
PrincipalList.member = Shapes::ShapeRef.new(shape: Principal)
|
1757
1787
|
|
1788
|
+
PromptAttemptSpecification.add_member(:allow_interrupt, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "allowInterrupt"))
|
1789
|
+
PromptAttemptSpecification.add_member(:allowed_input_types, Shapes::ShapeRef.new(shape: AllowedInputTypes, required: true, location_name: "allowedInputTypes"))
|
1790
|
+
PromptAttemptSpecification.add_member(:audio_and_dtmf_input_specification, Shapes::ShapeRef.new(shape: AudioAndDTMFInputSpecification, location_name: "audioAndDTMFInputSpecification"))
|
1791
|
+
PromptAttemptSpecification.add_member(:text_input_specification, Shapes::ShapeRef.new(shape: TextInputSpecification, location_name: "textInputSpecification"))
|
1792
|
+
PromptAttemptSpecification.struct_class = Types::PromptAttemptSpecification
|
1793
|
+
|
1794
|
+
PromptAttemptsSpecificationMap.key = Shapes::ShapeRef.new(shape: PromptAttempt)
|
1795
|
+
PromptAttemptsSpecificationMap.value = Shapes::ShapeRef.new(shape: PromptAttemptSpecification)
|
1796
|
+
|
1758
1797
|
PromptSpecification.add_member(:message_groups, Shapes::ShapeRef.new(shape: MessageGroupsList, required: true, location_name: "messageGroups"))
|
1759
1798
|
PromptSpecification.add_member(:max_retries, Shapes::ShapeRef.new(shape: PromptMaxRetries, required: true, location_name: "maxRetries"))
|
1760
1799
|
PromptSpecification.add_member(:allow_interrupt, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "allowInterrupt"))
|
1761
1800
|
PromptSpecification.add_member(:message_selection_strategy, Shapes::ShapeRef.new(shape: MessageSelectionStrategy, location_name: "messageSelectionStrategy"))
|
1801
|
+
PromptSpecification.add_member(:prompt_attempts_specification, Shapes::ShapeRef.new(shape: PromptAttemptsSpecificationMap, location_name: "promptAttemptsSpecification"))
|
1762
1802
|
PromptSpecification.struct_class = Types::PromptSpecification
|
1763
1803
|
|
1764
1804
|
RecommendedActions.member = Shapes::ShapeRef.new(shape: RecommendedAction)
|
@@ -2022,6 +2062,9 @@ module Aws::LexModelsV2
|
|
2022
2062
|
|
2023
2063
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
2024
2064
|
|
2065
|
+
TextInputSpecification.add_member(:start_timeout_ms, Shapes::ShapeRef.new(shape: TimeInMilliSeconds, required: true, location_name: "startTimeoutMs"))
|
2066
|
+
TextInputSpecification.struct_class = Types::TextInputSpecification
|
2067
|
+
|
2025
2068
|
TextLogDestination.add_member(:cloud_watch, Shapes::ShapeRef.new(shape: CloudWatchLogGroupLogDestination, required: true, location_name: "cloudWatch"))
|
2026
2069
|
TextLogDestination.struct_class = Types::TextLogDestination
|
2027
2070
|
|
@@ -152,6 +152,33 @@ module Aws::LexModelsV2
|
|
152
152
|
include Aws::Structure
|
153
153
|
end
|
154
154
|
|
155
|
+
# Specifies the allowed input types.
|
156
|
+
#
|
157
|
+
# @note When making an API call, you may pass AllowedInputTypes
|
158
|
+
# data as a hash:
|
159
|
+
#
|
160
|
+
# {
|
161
|
+
# allow_audio_input: false, # required
|
162
|
+
# allow_dtmf_input: false, # required
|
163
|
+
# }
|
164
|
+
#
|
165
|
+
# @!attribute [rw] allow_audio_input
|
166
|
+
# Indicates whether audio input is allowed.
|
167
|
+
# @return [Boolean]
|
168
|
+
#
|
169
|
+
# @!attribute [rw] allow_dtmf_input
|
170
|
+
# Indicates whether DTMF input is allowed.
|
171
|
+
# @return [Boolean]
|
172
|
+
#
|
173
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AllowedInputTypes AWS API Documentation
|
174
|
+
#
|
175
|
+
class AllowedInputTypes < Struct.new(
|
176
|
+
:allow_audio_input,
|
177
|
+
:allow_dtmf_input)
|
178
|
+
SENSITIVE = []
|
179
|
+
include Aws::Structure
|
180
|
+
end
|
181
|
+
|
155
182
|
# The object containing information that associates the recommended
|
156
183
|
# intent/slot type with a conversation.
|
157
184
|
#
|
@@ -201,6 +228,49 @@ module Aws::LexModelsV2
|
|
201
228
|
include Aws::Structure
|
202
229
|
end
|
203
230
|
|
231
|
+
# Specifies the audio and DTMF input specification.
|
232
|
+
#
|
233
|
+
# @note When making an API call, you may pass AudioAndDTMFInputSpecification
|
234
|
+
# data as a hash:
|
235
|
+
#
|
236
|
+
# {
|
237
|
+
# start_timeout_ms: 1, # required
|
238
|
+
# audio_specification: {
|
239
|
+
# max_length_ms: 1, # required
|
240
|
+
# end_timeout_ms: 1, # required
|
241
|
+
# },
|
242
|
+
# dtmf_specification: {
|
243
|
+
# max_length: 1, # required
|
244
|
+
# end_timeout_ms: 1, # required
|
245
|
+
# deletion_character: "DTMFCharacter", # required
|
246
|
+
# end_character: "DTMFCharacter", # required
|
247
|
+
# },
|
248
|
+
# }
|
249
|
+
#
|
250
|
+
# @!attribute [rw] start_timeout_ms
|
251
|
+
# Time for which a bot waits before assuming that the customer isn't
|
252
|
+
# going to speak or press a key. This timeout is shared between Audio
|
253
|
+
# and DTMF inputs.
|
254
|
+
# @return [Integer]
|
255
|
+
#
|
256
|
+
# @!attribute [rw] audio_specification
|
257
|
+
# Specifies the settings on audio input.
|
258
|
+
# @return [Types::AudioSpecification]
|
259
|
+
#
|
260
|
+
# @!attribute [rw] dtmf_specification
|
261
|
+
# Specifies the settings on DTMF input.
|
262
|
+
# @return [Types::DTMFSpecification]
|
263
|
+
#
|
264
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AudioAndDTMFInputSpecification AWS API Documentation
|
265
|
+
#
|
266
|
+
class AudioAndDTMFInputSpecification < Struct.new(
|
267
|
+
:start_timeout_ms,
|
268
|
+
:audio_specification,
|
269
|
+
:dtmf_specification)
|
270
|
+
SENSITIVE = []
|
271
|
+
include Aws::Structure
|
272
|
+
end
|
273
|
+
|
204
274
|
# The location of audio log files collected when conversation logging is
|
205
275
|
# enabled for a bot.
|
206
276
|
#
|
@@ -269,6 +339,35 @@ module Aws::LexModelsV2
|
|
269
339
|
include Aws::Structure
|
270
340
|
end
|
271
341
|
|
342
|
+
# Specifies the audio input specifications.
|
343
|
+
#
|
344
|
+
# @note When making an API call, you may pass AudioSpecification
|
345
|
+
# data as a hash:
|
346
|
+
#
|
347
|
+
# {
|
348
|
+
# max_length_ms: 1, # required
|
349
|
+
# end_timeout_ms: 1, # required
|
350
|
+
# }
|
351
|
+
#
|
352
|
+
# @!attribute [rw] max_length_ms
|
353
|
+
# Time for how long Amazon Lex waits before speech input is truncated
|
354
|
+
# and the speech is returned to application.
|
355
|
+
# @return [Integer]
|
356
|
+
#
|
357
|
+
# @!attribute [rw] end_timeout_ms
|
358
|
+
# Time for which a bot waits after the customer stops speaking to
|
359
|
+
# assume the utterance is finished.
|
360
|
+
# @return [Integer]
|
361
|
+
#
|
362
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AudioSpecification AWS API Documentation
|
363
|
+
#
|
364
|
+
class AudioSpecification < Struct.new(
|
365
|
+
:max_length_ms,
|
366
|
+
:end_timeout_ms)
|
367
|
+
SENSITIVE = []
|
368
|
+
include Aws::Structure
|
369
|
+
end
|
370
|
+
|
272
371
|
# Provides a record of an event that affects a bot alias. For example,
|
273
372
|
# when the version of a bot that the alias points to changes.
|
274
373
|
#
|
@@ -3297,6 +3396,31 @@ module Aws::LexModelsV2
|
|
3297
3396
|
# max_retries: 1, # required
|
3298
3397
|
# allow_interrupt: false,
|
3299
3398
|
# message_selection_strategy: "Random", # accepts Random, Ordered
|
3399
|
+
# prompt_attempts_specification: {
|
3400
|
+
# "Initial" => {
|
3401
|
+
# allow_interrupt: false,
|
3402
|
+
# allowed_input_types: { # required
|
3403
|
+
# allow_audio_input: false, # required
|
3404
|
+
# allow_dtmf_input: false, # required
|
3405
|
+
# },
|
3406
|
+
# audio_and_dtmf_input_specification: {
|
3407
|
+
# start_timeout_ms: 1, # required
|
3408
|
+
# audio_specification: {
|
3409
|
+
# max_length_ms: 1, # required
|
3410
|
+
# end_timeout_ms: 1, # required
|
3411
|
+
# },
|
3412
|
+
# dtmf_specification: {
|
3413
|
+
# max_length: 1, # required
|
3414
|
+
# end_timeout_ms: 1, # required
|
3415
|
+
# deletion_character: "DTMFCharacter", # required
|
3416
|
+
# end_character: "DTMFCharacter", # required
|
3417
|
+
# },
|
3418
|
+
# },
|
3419
|
+
# text_input_specification: {
|
3420
|
+
# start_timeout_ms: 1, # required
|
3421
|
+
# },
|
3422
|
+
# },
|
3423
|
+
# },
|
3300
3424
|
# },
|
3301
3425
|
# declination_response: {
|
3302
3426
|
# message_groups: [ # required
|
@@ -6585,6 +6709,31 @@ module Aws::LexModelsV2
|
|
6585
6709
|
# max_retries: 1, # required
|
6586
6710
|
# allow_interrupt: false,
|
6587
6711
|
# message_selection_strategy: "Random", # accepts Random, Ordered
|
6712
|
+
# prompt_attempts_specification: {
|
6713
|
+
# "Initial" => {
|
6714
|
+
# allow_interrupt: false,
|
6715
|
+
# allowed_input_types: { # required
|
6716
|
+
# allow_audio_input: false, # required
|
6717
|
+
# allow_dtmf_input: false, # required
|
6718
|
+
# },
|
6719
|
+
# audio_and_dtmf_input_specification: {
|
6720
|
+
# start_timeout_ms: 1, # required
|
6721
|
+
# audio_specification: {
|
6722
|
+
# max_length_ms: 1, # required
|
6723
|
+
# end_timeout_ms: 1, # required
|
6724
|
+
# },
|
6725
|
+
# dtmf_specification: {
|
6726
|
+
# max_length: 1, # required
|
6727
|
+
# end_timeout_ms: 1, # required
|
6728
|
+
# deletion_character: "DTMFCharacter", # required
|
6729
|
+
# end_character: "DTMFCharacter", # required
|
6730
|
+
# },
|
6731
|
+
# },
|
6732
|
+
# text_input_specification: {
|
6733
|
+
# start_timeout_ms: 1, # required
|
6734
|
+
# },
|
6735
|
+
# },
|
6736
|
+
# },
|
6588
6737
|
# },
|
6589
6738
|
# sample_utterances: [
|
6590
6739
|
# {
|
@@ -8096,6 +8245,31 @@ module Aws::LexModelsV2
|
|
8096
8245
|
# max_retries: 1, # required
|
8097
8246
|
# allow_interrupt: false,
|
8098
8247
|
# message_selection_strategy: "Random", # accepts Random, Ordered
|
8248
|
+
# prompt_attempts_specification: {
|
8249
|
+
# "Initial" => {
|
8250
|
+
# allow_interrupt: false,
|
8251
|
+
# allowed_input_types: { # required
|
8252
|
+
# allow_audio_input: false, # required
|
8253
|
+
# allow_dtmf_input: false, # required
|
8254
|
+
# },
|
8255
|
+
# audio_and_dtmf_input_specification: {
|
8256
|
+
# start_timeout_ms: 1, # required
|
8257
|
+
# audio_specification: {
|
8258
|
+
# max_length_ms: 1, # required
|
8259
|
+
# end_timeout_ms: 1, # required
|
8260
|
+
# },
|
8261
|
+
# dtmf_specification: {
|
8262
|
+
# max_length: 1, # required
|
8263
|
+
# end_timeout_ms: 1, # required
|
8264
|
+
# deletion_character: "DTMFCharacter", # required
|
8265
|
+
# end_character: "DTMFCharacter", # required
|
8266
|
+
# },
|
8267
|
+
# },
|
8268
|
+
# text_input_specification: {
|
8269
|
+
# start_timeout_ms: 1, # required
|
8270
|
+
# },
|
8271
|
+
# },
|
8272
|
+
# },
|
8099
8273
|
# },
|
8100
8274
|
# sample_utterances: [
|
8101
8275
|
# {
|
@@ -8759,6 +8933,48 @@ module Aws::LexModelsV2
|
|
8759
8933
|
include Aws::Structure
|
8760
8934
|
end
|
8761
8935
|
|
8936
|
+
# Specifies the DTMF input specifications.
|
8937
|
+
#
|
8938
|
+
# @note When making an API call, you may pass DTMFSpecification
|
8939
|
+
# data as a hash:
|
8940
|
+
#
|
8941
|
+
# {
|
8942
|
+
# max_length: 1, # required
|
8943
|
+
# end_timeout_ms: 1, # required
|
8944
|
+
# deletion_character: "DTMFCharacter", # required
|
8945
|
+
# end_character: "DTMFCharacter", # required
|
8946
|
+
# }
|
8947
|
+
#
|
8948
|
+
# @!attribute [rw] max_length
|
8949
|
+
# The maximum number of DTMF digits allowed in an utterance.
|
8950
|
+
# @return [Integer]
|
8951
|
+
#
|
8952
|
+
# @!attribute [rw] end_timeout_ms
|
8953
|
+
# How long the bot should wait after the last DTMF character input
|
8954
|
+
# before assuming that the input has concluded.
|
8955
|
+
# @return [Integer]
|
8956
|
+
#
|
8957
|
+
# @!attribute [rw] deletion_character
|
8958
|
+
# The DTMF character that clears the accumulated DTMF digits and
|
8959
|
+
# immediately ends the input.
|
8960
|
+
# @return [String]
|
8961
|
+
#
|
8962
|
+
# @!attribute [rw] end_character
|
8963
|
+
# The DTMF character that immediately ends input. If the user does not
|
8964
|
+
# press this character, the input ends after the end timeout.
|
8965
|
+
# @return [String]
|
8966
|
+
#
|
8967
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DTMFSpecification AWS API Documentation
|
8968
|
+
#
|
8969
|
+
class DTMFSpecification < Struct.new(
|
8970
|
+
:max_length,
|
8971
|
+
:end_timeout_ms,
|
8972
|
+
:deletion_character,
|
8973
|
+
:end_character)
|
8974
|
+
SENSITIVE = []
|
8975
|
+
include Aws::Structure
|
8976
|
+
end
|
8977
|
+
|
8762
8978
|
# By default, data stored by Amazon Lex is encrypted. The `DataPrivacy`
|
8763
8979
|
# structure provides settings that determine how Amazon Lex handles
|
8764
8980
|
# special cases of securing the data for your bot.
|
@@ -14914,6 +15130,31 @@ module Aws::LexModelsV2
|
|
14914
15130
|
# max_retries: 1, # required
|
14915
15131
|
# allow_interrupt: false,
|
14916
15132
|
# message_selection_strategy: "Random", # accepts Random, Ordered
|
15133
|
+
# prompt_attempts_specification: {
|
15134
|
+
# "Initial" => {
|
15135
|
+
# allow_interrupt: false,
|
15136
|
+
# allowed_input_types: { # required
|
15137
|
+
# allow_audio_input: false, # required
|
15138
|
+
# allow_dtmf_input: false, # required
|
15139
|
+
# },
|
15140
|
+
# audio_and_dtmf_input_specification: {
|
15141
|
+
# start_timeout_ms: 1, # required
|
15142
|
+
# audio_specification: {
|
15143
|
+
# max_length_ms: 1, # required
|
15144
|
+
# end_timeout_ms: 1, # required
|
15145
|
+
# },
|
15146
|
+
# dtmf_specification: {
|
15147
|
+
# max_length: 1, # required
|
15148
|
+
# end_timeout_ms: 1, # required
|
15149
|
+
# deletion_character: "DTMFCharacter", # required
|
15150
|
+
# end_character: "DTMFCharacter", # required
|
15151
|
+
# },
|
15152
|
+
# },
|
15153
|
+
# text_input_specification: {
|
15154
|
+
# start_timeout_ms: 1, # required
|
15155
|
+
# },
|
15156
|
+
# },
|
15157
|
+
# },
|
14917
15158
|
# },
|
14918
15159
|
# declination_response: {
|
14919
15160
|
# message_groups: [ # required
|
@@ -20287,6 +20528,63 @@ module Aws::LexModelsV2
|
|
20287
20528
|
include Aws::Structure
|
20288
20529
|
end
|
20289
20530
|
|
20531
|
+
# Specifies the settings on a prompt attempt.
|
20532
|
+
#
|
20533
|
+
# @note When making an API call, you may pass PromptAttemptSpecification
|
20534
|
+
# data as a hash:
|
20535
|
+
#
|
20536
|
+
# {
|
20537
|
+
# allow_interrupt: false,
|
20538
|
+
# allowed_input_types: { # required
|
20539
|
+
# allow_audio_input: false, # required
|
20540
|
+
# allow_dtmf_input: false, # required
|
20541
|
+
# },
|
20542
|
+
# audio_and_dtmf_input_specification: {
|
20543
|
+
# start_timeout_ms: 1, # required
|
20544
|
+
# audio_specification: {
|
20545
|
+
# max_length_ms: 1, # required
|
20546
|
+
# end_timeout_ms: 1, # required
|
20547
|
+
# },
|
20548
|
+
# dtmf_specification: {
|
20549
|
+
# max_length: 1, # required
|
20550
|
+
# end_timeout_ms: 1, # required
|
20551
|
+
# deletion_character: "DTMFCharacter", # required
|
20552
|
+
# end_character: "DTMFCharacter", # required
|
20553
|
+
# },
|
20554
|
+
# },
|
20555
|
+
# text_input_specification: {
|
20556
|
+
# start_timeout_ms: 1, # required
|
20557
|
+
# },
|
20558
|
+
# }
|
20559
|
+
#
|
20560
|
+
# @!attribute [rw] allow_interrupt
|
20561
|
+
# Indicates whether the user can interrupt a speech prompt attempt
|
20562
|
+
# from the bot.
|
20563
|
+
# @return [Boolean]
|
20564
|
+
#
|
20565
|
+
# @!attribute [rw] allowed_input_types
|
20566
|
+
# Indicates the allowed input types of the prompt attempt.
|
20567
|
+
# @return [Types::AllowedInputTypes]
|
20568
|
+
#
|
20569
|
+
# @!attribute [rw] audio_and_dtmf_input_specification
|
20570
|
+
# Specifies the settings on audio and DTMF input.
|
20571
|
+
# @return [Types::AudioAndDTMFInputSpecification]
|
20572
|
+
#
|
20573
|
+
# @!attribute [rw] text_input_specification
|
20574
|
+
# Specifies the settings on text input.
|
20575
|
+
# @return [Types::TextInputSpecification]
|
20576
|
+
#
|
20577
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/PromptAttemptSpecification AWS API Documentation
|
20578
|
+
#
|
20579
|
+
class PromptAttemptSpecification < Struct.new(
|
20580
|
+
:allow_interrupt,
|
20581
|
+
:allowed_input_types,
|
20582
|
+
:audio_and_dtmf_input_specification,
|
20583
|
+
:text_input_specification)
|
20584
|
+
SENSITIVE = []
|
20585
|
+
include Aws::Structure
|
20586
|
+
end
|
20587
|
+
|
20290
20588
|
# Specifies a list of message groups that Amazon Lex sends to a user to
|
20291
20589
|
# elicit a response.
|
20292
20590
|
#
|
@@ -20347,6 +20645,31 @@ module Aws::LexModelsV2
|
|
20347
20645
|
# max_retries: 1, # required
|
20348
20646
|
# allow_interrupt: false,
|
20349
20647
|
# message_selection_strategy: "Random", # accepts Random, Ordered
|
20648
|
+
# prompt_attempts_specification: {
|
20649
|
+
# "Initial" => {
|
20650
|
+
# allow_interrupt: false,
|
20651
|
+
# allowed_input_types: { # required
|
20652
|
+
# allow_audio_input: false, # required
|
20653
|
+
# allow_dtmf_input: false, # required
|
20654
|
+
# },
|
20655
|
+
# audio_and_dtmf_input_specification: {
|
20656
|
+
# start_timeout_ms: 1, # required
|
20657
|
+
# audio_specification: {
|
20658
|
+
# max_length_ms: 1, # required
|
20659
|
+
# end_timeout_ms: 1, # required
|
20660
|
+
# },
|
20661
|
+
# dtmf_specification: {
|
20662
|
+
# max_length: 1, # required
|
20663
|
+
# end_timeout_ms: 1, # required
|
20664
|
+
# deletion_character: "DTMFCharacter", # required
|
20665
|
+
# end_character: "DTMFCharacter", # required
|
20666
|
+
# },
|
20667
|
+
# },
|
20668
|
+
# text_input_specification: {
|
20669
|
+
# start_timeout_ms: 1, # required
|
20670
|
+
# },
|
20671
|
+
# },
|
20672
|
+
# },
|
20350
20673
|
# }
|
20351
20674
|
#
|
20352
20675
|
# @!attribute [rw] message_groups
|
@@ -20369,13 +20692,18 @@ module Aws::LexModelsV2
|
|
20369
20692
|
# retries.
|
20370
20693
|
# @return [String]
|
20371
20694
|
#
|
20695
|
+
# @!attribute [rw] prompt_attempts_specification
|
20696
|
+
# Specifies the advanced settings on each attempt of the prompt.
|
20697
|
+
# @return [Hash<String,Types::PromptAttemptSpecification>]
|
20698
|
+
#
|
20372
20699
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/PromptSpecification AWS API Documentation
|
20373
20700
|
#
|
20374
20701
|
class PromptSpecification < Struct.new(
|
20375
20702
|
:message_groups,
|
20376
20703
|
:max_retries,
|
20377
20704
|
:allow_interrupt,
|
20378
|
-
:message_selection_strategy
|
20705
|
+
:message_selection_strategy,
|
20706
|
+
:prompt_attempts_specification)
|
20379
20707
|
SENSITIVE = []
|
20380
20708
|
include Aws::Structure
|
20381
20709
|
end
|
@@ -22666,6 +22994,31 @@ module Aws::LexModelsV2
|
|
22666
22994
|
# max_retries: 1, # required
|
22667
22995
|
# allow_interrupt: false,
|
22668
22996
|
# message_selection_strategy: "Random", # accepts Random, Ordered
|
22997
|
+
# prompt_attempts_specification: {
|
22998
|
+
# "Initial" => {
|
22999
|
+
# allow_interrupt: false,
|
23000
|
+
# allowed_input_types: { # required
|
23001
|
+
# allow_audio_input: false, # required
|
23002
|
+
# allow_dtmf_input: false, # required
|
23003
|
+
# },
|
23004
|
+
# audio_and_dtmf_input_specification: {
|
23005
|
+
# start_timeout_ms: 1, # required
|
23006
|
+
# audio_specification: {
|
23007
|
+
# max_length_ms: 1, # required
|
23008
|
+
# end_timeout_ms: 1, # required
|
23009
|
+
# },
|
23010
|
+
# dtmf_specification: {
|
23011
|
+
# max_length: 1, # required
|
23012
|
+
# end_timeout_ms: 1, # required
|
23013
|
+
# deletion_character: "DTMFCharacter", # required
|
23014
|
+
# end_character: "DTMFCharacter", # required
|
23015
|
+
# },
|
23016
|
+
# },
|
23017
|
+
# text_input_specification: {
|
23018
|
+
# start_timeout_ms: 1, # required
|
23019
|
+
# },
|
23020
|
+
# },
|
23021
|
+
# },
|
22669
23022
|
# },
|
22670
23023
|
# sample_utterances: [
|
22671
23024
|
# {
|
@@ -24355,6 +24708,31 @@ module Aws::LexModelsV2
|
|
24355
24708
|
# max_retries: 1, # required
|
24356
24709
|
# allow_interrupt: false,
|
24357
24710
|
# message_selection_strategy: "Random", # accepts Random, Ordered
|
24711
|
+
# prompt_attempts_specification: {
|
24712
|
+
# "Initial" => {
|
24713
|
+
# allow_interrupt: false,
|
24714
|
+
# allowed_input_types: { # required
|
24715
|
+
# allow_audio_input: false, # required
|
24716
|
+
# allow_dtmf_input: false, # required
|
24717
|
+
# },
|
24718
|
+
# audio_and_dtmf_input_specification: {
|
24719
|
+
# start_timeout_ms: 1, # required
|
24720
|
+
# audio_specification: {
|
24721
|
+
# max_length_ms: 1, # required
|
24722
|
+
# end_timeout_ms: 1, # required
|
24723
|
+
# },
|
24724
|
+
# dtmf_specification: {
|
24725
|
+
# max_length: 1, # required
|
24726
|
+
# end_timeout_ms: 1, # required
|
24727
|
+
# deletion_character: "DTMFCharacter", # required
|
24728
|
+
# end_character: "DTMFCharacter", # required
|
24729
|
+
# },
|
24730
|
+
# },
|
24731
|
+
# text_input_specification: {
|
24732
|
+
# start_timeout_ms: 1, # required
|
24733
|
+
# },
|
24734
|
+
# },
|
24735
|
+
# },
|
24358
24736
|
# },
|
24359
24737
|
# sample_utterances: [
|
24360
24738
|
# {
|
@@ -25044,6 +25422,31 @@ module Aws::LexModelsV2
|
|
25044
25422
|
# max_retries: 1, # required
|
25045
25423
|
# allow_interrupt: false,
|
25046
25424
|
# message_selection_strategy: "Random", # accepts Random, Ordered
|
25425
|
+
# prompt_attempts_specification: {
|
25426
|
+
# "Initial" => {
|
25427
|
+
# allow_interrupt: false,
|
25428
|
+
# allowed_input_types: { # required
|
25429
|
+
# allow_audio_input: false, # required
|
25430
|
+
# allow_dtmf_input: false, # required
|
25431
|
+
# },
|
25432
|
+
# audio_and_dtmf_input_specification: {
|
25433
|
+
# start_timeout_ms: 1, # required
|
25434
|
+
# audio_specification: {
|
25435
|
+
# max_length_ms: 1, # required
|
25436
|
+
# end_timeout_ms: 1, # required
|
25437
|
+
# },
|
25438
|
+
# dtmf_specification: {
|
25439
|
+
# max_length: 1, # required
|
25440
|
+
# end_timeout_ms: 1, # required
|
25441
|
+
# deletion_character: "DTMFCharacter", # required
|
25442
|
+
# end_character: "DTMFCharacter", # required
|
25443
|
+
# },
|
25444
|
+
# },
|
25445
|
+
# text_input_specification: {
|
25446
|
+
# start_timeout_ms: 1, # required
|
25447
|
+
# },
|
25448
|
+
# },
|
25449
|
+
# },
|
25047
25450
|
# },
|
25048
25451
|
# sample_utterances: [
|
25049
25452
|
# {
|
@@ -25342,6 +25745,31 @@ module Aws::LexModelsV2
|
|
25342
25745
|
# max_retries: 1, # required
|
25343
25746
|
# allow_interrupt: false,
|
25344
25747
|
# message_selection_strategy: "Random", # accepts Random, Ordered
|
25748
|
+
# prompt_attempts_specification: {
|
25749
|
+
# "Initial" => {
|
25750
|
+
# allow_interrupt: false,
|
25751
|
+
# allowed_input_types: { # required
|
25752
|
+
# allow_audio_input: false, # required
|
25753
|
+
# allow_dtmf_input: false, # required
|
25754
|
+
# },
|
25755
|
+
# audio_and_dtmf_input_specification: {
|
25756
|
+
# start_timeout_ms: 1, # required
|
25757
|
+
# audio_specification: {
|
25758
|
+
# max_length_ms: 1, # required
|
25759
|
+
# end_timeout_ms: 1, # required
|
25760
|
+
# },
|
25761
|
+
# dtmf_specification: {
|
25762
|
+
# max_length: 1, # required
|
25763
|
+
# end_timeout_ms: 1, # required
|
25764
|
+
# deletion_character: "DTMFCharacter", # required
|
25765
|
+
# end_character: "DTMFCharacter", # required
|
25766
|
+
# },
|
25767
|
+
# },
|
25768
|
+
# text_input_specification: {
|
25769
|
+
# start_timeout_ms: 1, # required
|
25770
|
+
# },
|
25771
|
+
# },
|
25772
|
+
# },
|
25345
25773
|
# },
|
25346
25774
|
# sample_utterances: [
|
25347
25775
|
# {
|
@@ -25581,6 +26009,28 @@ module Aws::LexModelsV2
|
|
25581
26009
|
#
|
25582
26010
|
class TagResourceResponse < Aws::EmptyStructure; end
|
25583
26011
|
|
26012
|
+
# Specifies the text input specifications.
|
26013
|
+
#
|
26014
|
+
# @note When making an API call, you may pass TextInputSpecification
|
26015
|
+
# data as a hash:
|
26016
|
+
#
|
26017
|
+
# {
|
26018
|
+
# start_timeout_ms: 1, # required
|
26019
|
+
# }
|
26020
|
+
#
|
26021
|
+
# @!attribute [rw] start_timeout_ms
|
26022
|
+
# Time for which a bot waits before re-prompting a customer for text
|
26023
|
+
# input.
|
26024
|
+
# @return [Integer]
|
26025
|
+
#
|
26026
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TextInputSpecification AWS API Documentation
|
26027
|
+
#
|
26028
|
+
class TextInputSpecification < Struct.new(
|
26029
|
+
:start_timeout_ms)
|
26030
|
+
SENSITIVE = []
|
26031
|
+
include Aws::Structure
|
26032
|
+
end
|
26033
|
+
|
25584
26034
|
# Defines the Amazon CloudWatch Logs destination log group for
|
25585
26035
|
# conversation text logs.
|
25586
26036
|
#
|
@@ -27312,6 +27762,31 @@ module Aws::LexModelsV2
|
|
27312
27762
|
# max_retries: 1, # required
|
27313
27763
|
# allow_interrupt: false,
|
27314
27764
|
# message_selection_strategy: "Random", # accepts Random, Ordered
|
27765
|
+
# prompt_attempts_specification: {
|
27766
|
+
# "Initial" => {
|
27767
|
+
# allow_interrupt: false,
|
27768
|
+
# allowed_input_types: { # required
|
27769
|
+
# allow_audio_input: false, # required
|
27770
|
+
# allow_dtmf_input: false, # required
|
27771
|
+
# },
|
27772
|
+
# audio_and_dtmf_input_specification: {
|
27773
|
+
# start_timeout_ms: 1, # required
|
27774
|
+
# audio_specification: {
|
27775
|
+
# max_length_ms: 1, # required
|
27776
|
+
# end_timeout_ms: 1, # required
|
27777
|
+
# },
|
27778
|
+
# dtmf_specification: {
|
27779
|
+
# max_length: 1, # required
|
27780
|
+
# end_timeout_ms: 1, # required
|
27781
|
+
# deletion_character: "DTMFCharacter", # required
|
27782
|
+
# end_character: "DTMFCharacter", # required
|
27783
|
+
# },
|
27784
|
+
# },
|
27785
|
+
# text_input_specification: {
|
27786
|
+
# start_timeout_ms: 1, # required
|
27787
|
+
# },
|
27788
|
+
# },
|
27789
|
+
# },
|
27315
27790
|
# },
|
27316
27791
|
# declination_response: {
|
27317
27792
|
# message_groups: [ # required
|
@@ -30465,6 +30940,31 @@ module Aws::LexModelsV2
|
|
30465
30940
|
# max_retries: 1, # required
|
30466
30941
|
# allow_interrupt: false,
|
30467
30942
|
# message_selection_strategy: "Random", # accepts Random, Ordered
|
30943
|
+
# prompt_attempts_specification: {
|
30944
|
+
# "Initial" => {
|
30945
|
+
# allow_interrupt: false,
|
30946
|
+
# allowed_input_types: { # required
|
30947
|
+
# allow_audio_input: false, # required
|
30948
|
+
# allow_dtmf_input: false, # required
|
30949
|
+
# },
|
30950
|
+
# audio_and_dtmf_input_specification: {
|
30951
|
+
# start_timeout_ms: 1, # required
|
30952
|
+
# audio_specification: {
|
30953
|
+
# max_length_ms: 1, # required
|
30954
|
+
# end_timeout_ms: 1, # required
|
30955
|
+
# },
|
30956
|
+
# dtmf_specification: {
|
30957
|
+
# max_length: 1, # required
|
30958
|
+
# end_timeout_ms: 1, # required
|
30959
|
+
# deletion_character: "DTMFCharacter", # required
|
30960
|
+
# end_character: "DTMFCharacter", # required
|
30961
|
+
# },
|
30962
|
+
# },
|
30963
|
+
# text_input_specification: {
|
30964
|
+
# start_timeout_ms: 1, # required
|
30965
|
+
# },
|
30966
|
+
# },
|
30967
|
+
# },
|
30468
30968
|
# },
|
30469
30969
|
# sample_utterances: [
|
30470
30970
|
# {
|
@@ -31976,6 +32476,31 @@ module Aws::LexModelsV2
|
|
31976
32476
|
# max_retries: 1, # required
|
31977
32477
|
# allow_interrupt: false,
|
31978
32478
|
# message_selection_strategy: "Random", # accepts Random, Ordered
|
32479
|
+
# prompt_attempts_specification: {
|
32480
|
+
# "Initial" => {
|
32481
|
+
# allow_interrupt: false,
|
32482
|
+
# allowed_input_types: { # required
|
32483
|
+
# allow_audio_input: false, # required
|
32484
|
+
# allow_dtmf_input: false, # required
|
32485
|
+
# },
|
32486
|
+
# audio_and_dtmf_input_specification: {
|
32487
|
+
# start_timeout_ms: 1, # required
|
32488
|
+
# audio_specification: {
|
32489
|
+
# max_length_ms: 1, # required
|
32490
|
+
# end_timeout_ms: 1, # required
|
32491
|
+
# },
|
32492
|
+
# dtmf_specification: {
|
32493
|
+
# max_length: 1, # required
|
32494
|
+
# end_timeout_ms: 1, # required
|
32495
|
+
# deletion_character: "DTMFCharacter", # required
|
32496
|
+
# end_character: "DTMFCharacter", # required
|
32497
|
+
# },
|
32498
|
+
# },
|
32499
|
+
# text_input_specification: {
|
32500
|
+
# start_timeout_ms: 1, # required
|
32501
|
+
# },
|
32502
|
+
# },
|
32503
|
+
# },
|
31979
32504
|
# },
|
31980
32505
|
# sample_utterances: [
|
31981
32506
|
# {
|
data/lib/aws-sdk-lexmodelsv2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lexmodelsv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.28.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: 2022-09-
|
11
|
+
date: 2022-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|