aws-sdk-lexmodelsv2 1.91.0 → 1.92.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 +1 -1
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- data/sig/client.rbs +73 -10703
- data/sig/params.rbs +480 -0
- metadata +2 -1
data/sig/params.rbs
ADDED
|
@@ -0,0 +1,480 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module LexModelsV2
|
|
10
|
+
module Params
|
|
11
|
+
type bot_alias_locale_settings = {
|
|
12
|
+
enabled: bool,
|
|
13
|
+
code_hook_specification: {
|
|
14
|
+
lambda_code_hook: {
|
|
15
|
+
lambda_arn: ::String,
|
|
16
|
+
code_hook_interface_version: ::String
|
|
17
|
+
}
|
|
18
|
+
}?
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
type conversation_log_settings = {
|
|
22
|
+
text_log_settings: Array[
|
|
23
|
+
Params::text_log_setting
|
|
24
|
+
]?,
|
|
25
|
+
audio_log_settings: Array[
|
|
26
|
+
Params::audio_log_setting
|
|
27
|
+
]?
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
type text_log_setting = {
|
|
31
|
+
enabled: bool,
|
|
32
|
+
destination: {
|
|
33
|
+
cloud_watch: {
|
|
34
|
+
cloud_watch_log_group_arn: ::String,
|
|
35
|
+
log_prefix: ::String
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
selective_logging_enabled: bool?
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
type audio_log_setting = {
|
|
42
|
+
enabled: bool,
|
|
43
|
+
destination: {
|
|
44
|
+
s3_bucket: {
|
|
45
|
+
kms_key_arn: ::String?,
|
|
46
|
+
s3_bucket_arn: ::String,
|
|
47
|
+
log_prefix: ::String
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
selective_logging_enabled: bool?
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
type speech_recognition_settings = {
|
|
54
|
+
speech_model_preference: ("Standard" | "Neural" | "Deepgram")?,
|
|
55
|
+
speech_model_config: {
|
|
56
|
+
deepgram_config: {
|
|
57
|
+
api_token_secret_arn: ::String,
|
|
58
|
+
model_id: ::String?
|
|
59
|
+
}?
|
|
60
|
+
}?
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
type bedrock_model_specification = {
|
|
64
|
+
model_arn: ::String,
|
|
65
|
+
guardrail: {
|
|
66
|
+
identifier: ::String,
|
|
67
|
+
version: ::String
|
|
68
|
+
}?,
|
|
69
|
+
trace_status: ("ENABLED" | "DISABLED")?,
|
|
70
|
+
custom_prompt: ::String?
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
type slot_resolution_improvement_specification = {
|
|
74
|
+
enabled: bool,
|
|
75
|
+
bedrock_model_specification: Params::bedrock_model_specification?
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
type nlu_improvement_specification = {
|
|
79
|
+
enabled: bool,
|
|
80
|
+
assisted_nlu_mode: ("Primary" | "Fallback")?,
|
|
81
|
+
intent_disambiguation_settings: {
|
|
82
|
+
enabled: bool,
|
|
83
|
+
max_disambiguation_intents: ::Integer?,
|
|
84
|
+
custom_disambiguation_message: ::String?
|
|
85
|
+
}?
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
type runtime_settings = {
|
|
89
|
+
slot_resolution_improvement: Params::slot_resolution_improvement_specification?,
|
|
90
|
+
nlu_improvement: Params::nlu_improvement_specification?
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
type descriptive_bot_builder_specification = {
|
|
94
|
+
enabled: bool,
|
|
95
|
+
bedrock_model_specification: Params::bedrock_model_specification?
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
type sample_utterance_generation_specification = {
|
|
99
|
+
enabled: bool,
|
|
100
|
+
bedrock_model_specification: Params::bedrock_model_specification?
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
type buildtime_settings = {
|
|
104
|
+
descriptive_bot_builder: Params::descriptive_bot_builder_specification?,
|
|
105
|
+
sample_utterance_generation: Params::sample_utterance_generation_specification?
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
type generative_ai_settings = {
|
|
109
|
+
runtime_settings: Params::runtime_settings?,
|
|
110
|
+
buildtime_settings: Params::buildtime_settings?
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
type response_specification = {
|
|
114
|
+
message_groups: Array[
|
|
115
|
+
Params::message_group
|
|
116
|
+
],
|
|
117
|
+
allow_interrupt: bool?
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
type intent_override = {
|
|
121
|
+
name: ::String?,
|
|
122
|
+
slots: Hash[::String, Params::slot_value_override]?
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
type dialog_state = {
|
|
126
|
+
dialog_action: {
|
|
127
|
+
type: ("ElicitIntent" | "StartIntent" | "ElicitSlot" | "EvaluateConditional" | "InvokeDialogCodeHook" | "ConfirmIntent" | "FulfillIntent" | "CloseIntent" | "EndConversation"),
|
|
128
|
+
slot_to_elicit: ::String?,
|
|
129
|
+
suppress_next_message: bool?
|
|
130
|
+
}?,
|
|
131
|
+
intent: Params::intent_override?,
|
|
132
|
+
session_attributes: Hash[::String, ::String]?
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
type default_conditional_branch = {
|
|
136
|
+
next_step: Params::dialog_state?,
|
|
137
|
+
response: Params::response_specification?
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
type conditional_specification = {
|
|
141
|
+
active: bool,
|
|
142
|
+
conditional_branches: Array[
|
|
143
|
+
Params::conditional_branch
|
|
144
|
+
],
|
|
145
|
+
default_branch: Params::default_conditional_branch
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
type post_fulfillment_status_specification = {
|
|
149
|
+
success_response: Params::response_specification?,
|
|
150
|
+
failure_response: Params::response_specification?,
|
|
151
|
+
timeout_response: Params::response_specification?,
|
|
152
|
+
success_next_step: Params::dialog_state?,
|
|
153
|
+
success_conditional: Params::conditional_specification?,
|
|
154
|
+
failure_next_step: Params::dialog_state?,
|
|
155
|
+
failure_conditional: Params::conditional_specification?,
|
|
156
|
+
timeout_next_step: Params::dialog_state?,
|
|
157
|
+
timeout_conditional: Params::conditional_specification?
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
type fulfillment_start_response_specification = {
|
|
161
|
+
delay_in_seconds: ::Integer,
|
|
162
|
+
message_groups: Array[
|
|
163
|
+
Params::message_group
|
|
164
|
+
],
|
|
165
|
+
allow_interrupt: bool?
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
type fulfillment_update_response_specification = {
|
|
169
|
+
frequency_in_seconds: ::Integer,
|
|
170
|
+
message_groups: Array[
|
|
171
|
+
Params::message_group
|
|
172
|
+
],
|
|
173
|
+
allow_interrupt: bool?
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
type fulfillment_updates_specification = {
|
|
177
|
+
active: bool,
|
|
178
|
+
start_response: Params::fulfillment_start_response_specification?,
|
|
179
|
+
update_response: Params::fulfillment_update_response_specification?,
|
|
180
|
+
timeout_in_seconds: ::Integer?
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
type fulfillment_code_hook_settings = {
|
|
184
|
+
enabled: bool,
|
|
185
|
+
post_fulfillment_status_specification: Params::post_fulfillment_status_specification?,
|
|
186
|
+
fulfillment_updates_specification: Params::fulfillment_updates_specification?,
|
|
187
|
+
active: bool?
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
type image_response_card = {
|
|
191
|
+
title: ::String,
|
|
192
|
+
subtitle: ::String?,
|
|
193
|
+
image_url: ::String?,
|
|
194
|
+
buttons: Array[
|
|
195
|
+
{
|
|
196
|
+
text: ::String,
|
|
197
|
+
value: ::String
|
|
198
|
+
}
|
|
199
|
+
]?
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
type message = {
|
|
203
|
+
plain_text_message: {
|
|
204
|
+
value: ::String
|
|
205
|
+
}?,
|
|
206
|
+
custom_payload: {
|
|
207
|
+
value: ::String
|
|
208
|
+
}?,
|
|
209
|
+
ssml_message: {
|
|
210
|
+
value: ::String
|
|
211
|
+
}?,
|
|
212
|
+
image_response_card: Params::image_response_card?
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
type message_group = {
|
|
216
|
+
message: Params::message,
|
|
217
|
+
variations: Array[
|
|
218
|
+
Params::message
|
|
219
|
+
]?
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
type slot_value_override = {
|
|
223
|
+
shape: ("Scalar" | "List")?,
|
|
224
|
+
value: {
|
|
225
|
+
interpreted_value: ::String?
|
|
226
|
+
}?,
|
|
227
|
+
values: Array[
|
|
228
|
+
{
|
|
229
|
+
shape: ("Scalar" | "List")?,
|
|
230
|
+
value: {
|
|
231
|
+
interpreted_value: ::String?
|
|
232
|
+
}?,
|
|
233
|
+
values: untyped?
|
|
234
|
+
}
|
|
235
|
+
]?
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
type conditional_branch = {
|
|
239
|
+
name: ::String,
|
|
240
|
+
condition: {
|
|
241
|
+
expression_string: ::String
|
|
242
|
+
},
|
|
243
|
+
next_step: Params::dialog_state,
|
|
244
|
+
response: Params::response_specification?
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
type prompt_specification = {
|
|
248
|
+
message_groups: Array[
|
|
249
|
+
Params::message_group
|
|
250
|
+
],
|
|
251
|
+
max_retries: ::Integer,
|
|
252
|
+
allow_interrupt: bool?,
|
|
253
|
+
message_selection_strategy: ("Random" | "Ordered")?,
|
|
254
|
+
prompt_attempts_specification: Hash[("Initial" | "Retry1" | "Retry2" | "Retry3" | "Retry4" | "Retry5"), Params::prompt_attempt_specification]?
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
type post_dialog_code_hook_invocation_specification = {
|
|
258
|
+
success_response: Params::response_specification?,
|
|
259
|
+
success_next_step: Params::dialog_state?,
|
|
260
|
+
success_conditional: Params::conditional_specification?,
|
|
261
|
+
failure_response: Params::response_specification?,
|
|
262
|
+
failure_next_step: Params::dialog_state?,
|
|
263
|
+
failure_conditional: Params::conditional_specification?,
|
|
264
|
+
timeout_response: Params::response_specification?,
|
|
265
|
+
timeout_next_step: Params::dialog_state?,
|
|
266
|
+
timeout_conditional: Params::conditional_specification?
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
type dialog_code_hook_invocation_setting = {
|
|
270
|
+
enable_code_hook_invocation: bool,
|
|
271
|
+
active: bool,
|
|
272
|
+
invocation_label: ::String?,
|
|
273
|
+
post_code_hook_specification: Params::post_dialog_code_hook_invocation_specification
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
type intent_confirmation_setting = {
|
|
277
|
+
prompt_specification: Params::prompt_specification,
|
|
278
|
+
declination_response: Params::response_specification?,
|
|
279
|
+
active: bool?,
|
|
280
|
+
confirmation_response: Params::response_specification?,
|
|
281
|
+
confirmation_next_step: Params::dialog_state?,
|
|
282
|
+
confirmation_conditional: Params::conditional_specification?,
|
|
283
|
+
declination_next_step: Params::dialog_state?,
|
|
284
|
+
declination_conditional: Params::conditional_specification?,
|
|
285
|
+
failure_response: Params::response_specification?,
|
|
286
|
+
failure_next_step: Params::dialog_state?,
|
|
287
|
+
failure_conditional: Params::conditional_specification?,
|
|
288
|
+
code_hook: Params::dialog_code_hook_invocation_setting?,
|
|
289
|
+
elicitation_code_hook: {
|
|
290
|
+
enable_code_hook_invocation: bool,
|
|
291
|
+
invocation_label: ::String?
|
|
292
|
+
}?
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
type audio_and_dtmf_input_specification = {
|
|
296
|
+
start_timeout_ms: ::Integer,
|
|
297
|
+
audio_specification: {
|
|
298
|
+
max_length_ms: ::Integer,
|
|
299
|
+
end_timeout_ms: ::Integer
|
|
300
|
+
}?,
|
|
301
|
+
dtmf_specification: {
|
|
302
|
+
max_length: ::Integer,
|
|
303
|
+
end_timeout_ms: ::Integer,
|
|
304
|
+
deletion_character: ::String,
|
|
305
|
+
end_character: ::String
|
|
306
|
+
}?
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
type prompt_attempt_specification = {
|
|
310
|
+
allow_interrupt: bool?,
|
|
311
|
+
allowed_input_types: {
|
|
312
|
+
allow_audio_input: bool,
|
|
313
|
+
allow_dtmf_input: bool
|
|
314
|
+
},
|
|
315
|
+
audio_and_dtmf_input_specification: Params::audio_and_dtmf_input_specification?,
|
|
316
|
+
text_input_specification: {
|
|
317
|
+
start_timeout_ms: ::Integer
|
|
318
|
+
}?
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
type intent_closing_setting = {
|
|
322
|
+
closing_response: Params::response_specification?,
|
|
323
|
+
active: bool?,
|
|
324
|
+
next_step: Params::dialog_state?,
|
|
325
|
+
conditional: Params::conditional_specification?
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
type initial_response_setting = {
|
|
329
|
+
initial_response: Params::response_specification?,
|
|
330
|
+
next_step: Params::dialog_state?,
|
|
331
|
+
conditional: Params::conditional_specification?,
|
|
332
|
+
code_hook: Params::dialog_code_hook_invocation_setting?
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
type opensearch_configuration = {
|
|
336
|
+
domain_endpoint: ::String,
|
|
337
|
+
index_name: ::String,
|
|
338
|
+
exact_response: bool?,
|
|
339
|
+
exact_response_fields: {
|
|
340
|
+
question_field: ::String,
|
|
341
|
+
answer_field: ::String
|
|
342
|
+
}?,
|
|
343
|
+
include_fields: Array[::String]?
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
type data_source_configuration = {
|
|
347
|
+
opensearch_configuration: Params::opensearch_configuration?,
|
|
348
|
+
kendra_configuration: {
|
|
349
|
+
kendra_index: ::String,
|
|
350
|
+
query_filter_string_enabled: bool?,
|
|
351
|
+
query_filter_string: ::String?,
|
|
352
|
+
exact_response: bool?
|
|
353
|
+
}?,
|
|
354
|
+
bedrock_knowledge_store_configuration: {
|
|
355
|
+
bedrock_knowledge_base_arn: ::String,
|
|
356
|
+
exact_response: bool?,
|
|
357
|
+
exact_response_fields: {
|
|
358
|
+
answer_field: ::String?
|
|
359
|
+
}?
|
|
360
|
+
}?
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
type qn_a_intent_configuration = {
|
|
364
|
+
data_source_configuration: Params::data_source_configuration?,
|
|
365
|
+
bedrock_model_configuration: Params::bedrock_model_specification?
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
type still_waiting_response_specification = {
|
|
369
|
+
message_groups: Array[
|
|
370
|
+
Params::message_group
|
|
371
|
+
],
|
|
372
|
+
frequency_in_seconds: ::Integer,
|
|
373
|
+
timeout_in_seconds: ::Integer,
|
|
374
|
+
allow_interrupt: bool?
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
type wait_and_continue_specification = {
|
|
378
|
+
waiting_response: Params::response_specification,
|
|
379
|
+
continue_response: Params::response_specification,
|
|
380
|
+
still_waiting_response: Params::still_waiting_response_specification?,
|
|
381
|
+
active: bool?
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
type slot_capture_setting = {
|
|
385
|
+
capture_response: Params::response_specification?,
|
|
386
|
+
capture_next_step: Params::dialog_state?,
|
|
387
|
+
capture_conditional: Params::conditional_specification?,
|
|
388
|
+
failure_response: Params::response_specification?,
|
|
389
|
+
failure_next_step: Params::dialog_state?,
|
|
390
|
+
failure_conditional: Params::conditional_specification?,
|
|
391
|
+
code_hook: Params::dialog_code_hook_invocation_setting?,
|
|
392
|
+
elicitation_code_hook: {
|
|
393
|
+
enable_code_hook_invocation: bool,
|
|
394
|
+
invocation_label: ::String?
|
|
395
|
+
}?
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
type slot_value_elicitation_setting = {
|
|
399
|
+
default_value_specification: {
|
|
400
|
+
default_value_list: Array[
|
|
401
|
+
{
|
|
402
|
+
default_value: ::String
|
|
403
|
+
}
|
|
404
|
+
]
|
|
405
|
+
}?,
|
|
406
|
+
slot_constraint: ("Required" | "Optional"),
|
|
407
|
+
prompt_specification: Params::prompt_specification?,
|
|
408
|
+
sample_utterances: Array[
|
|
409
|
+
{
|
|
410
|
+
utterance: ::String
|
|
411
|
+
}
|
|
412
|
+
]?,
|
|
413
|
+
wait_and_continue_specification: Params::wait_and_continue_specification?,
|
|
414
|
+
slot_capture_setting: Params::slot_capture_setting?,
|
|
415
|
+
slot_resolution_setting: {
|
|
416
|
+
slot_resolution_strategy: ("EnhancedFallback" | "Default")
|
|
417
|
+
}?
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
type sub_slot_setting = {
|
|
421
|
+
expression: ::String?,
|
|
422
|
+
slot_specifications: Hash[::String, Params::specifications]?
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
type sub_slot_value_elicitation_setting = {
|
|
426
|
+
default_value_specification: {
|
|
427
|
+
default_value_list: Array[
|
|
428
|
+
{
|
|
429
|
+
default_value: ::String
|
|
430
|
+
}
|
|
431
|
+
]
|
|
432
|
+
}?,
|
|
433
|
+
prompt_specification: Params::prompt_specification,
|
|
434
|
+
sample_utterances: Array[
|
|
435
|
+
{
|
|
436
|
+
utterance: ::String
|
|
437
|
+
}
|
|
438
|
+
]?,
|
|
439
|
+
wait_and_continue_specification: Params::wait_and_continue_specification?
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
type specifications = {
|
|
443
|
+
slot_type_id: ::String,
|
|
444
|
+
value_elicitation_setting: Params::sub_slot_value_elicitation_setting
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
type slot_type_value = {
|
|
448
|
+
sample_value: {
|
|
449
|
+
value: ::String
|
|
450
|
+
}?,
|
|
451
|
+
synonyms: Array[
|
|
452
|
+
{
|
|
453
|
+
value: ::String
|
|
454
|
+
}
|
|
455
|
+
]?
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
type slot_value_selection_setting = {
|
|
459
|
+
resolution_strategy: ("OriginalValue" | "TopResolution" | "Concatenation"),
|
|
460
|
+
regex_filter: {
|
|
461
|
+
pattern: ::String
|
|
462
|
+
}?,
|
|
463
|
+
advanced_recognition_setting: {
|
|
464
|
+
audio_recognition_strategy: ("UseSlotValuesAsCustomVocabulary")?
|
|
465
|
+
}?
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
type external_source_setting = {
|
|
469
|
+
grammar_slot_type_setting: {
|
|
470
|
+
source: {
|
|
471
|
+
s3_bucket_name: ::String,
|
|
472
|
+
s3_object_key: ::String,
|
|
473
|
+
kms_key_arn: ::String?
|
|
474
|
+
}?
|
|
475
|
+
}?
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
end
|
|
479
|
+
end
|
|
480
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.92.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -68,6 +68,7 @@ files:
|
|
|
68
68
|
- lib/aws-sdk-lexmodelsv2/waiters.rb
|
|
69
69
|
- sig/client.rbs
|
|
70
70
|
- sig/errors.rbs
|
|
71
|
+
- sig/params.rbs
|
|
71
72
|
- sig/resource.rbs
|
|
72
73
|
- sig/types.rbs
|
|
73
74
|
- sig/waiters.rbs
|