aws-sdk-lexmodelsv2 1.27.0 → 1.29.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +290 -3
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +43 -0
- data/lib/aws-sdk-lexmodelsv2/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-lexmodelsv2/endpoint_provider.rb +112 -0
- data/lib/aws-sdk-lexmodelsv2/endpoints.rb +953 -0
- data/lib/aws-sdk-lexmodelsv2/plugins/endpoints.rb +202 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +526 -1
- data/lib/aws-sdk-lexmodelsv2.rb +5 -1
- metadata +8 -4
@@ -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
@@ -13,10 +13,14 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-lexmodelsv2/types'
|
15
15
|
require_relative 'aws-sdk-lexmodelsv2/client_api'
|
16
|
+
require_relative 'aws-sdk-lexmodelsv2/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-lexmodelsv2/client'
|
17
18
|
require_relative 'aws-sdk-lexmodelsv2/errors'
|
18
19
|
require_relative 'aws-sdk-lexmodelsv2/waiters'
|
19
20
|
require_relative 'aws-sdk-lexmodelsv2/resource'
|
21
|
+
require_relative 'aws-sdk-lexmodelsv2/endpoint_parameters'
|
22
|
+
require_relative 'aws-sdk-lexmodelsv2/endpoint_provider'
|
23
|
+
require_relative 'aws-sdk-lexmodelsv2/endpoints'
|
20
24
|
require_relative 'aws-sdk-lexmodelsv2/customizations'
|
21
25
|
|
22
26
|
# This module provides support for Amazon Lex Model Building V2. This module is available in the
|
@@ -49,6 +53,6 @@ require_relative 'aws-sdk-lexmodelsv2/customizations'
|
|
49
53
|
# @!group service
|
50
54
|
module Aws::LexModelsV2
|
51
55
|
|
52
|
-
GEM_VERSION = '1.
|
56
|
+
GEM_VERSION = '1.29.0'
|
53
57
|
|
54
58
|
end
|