@aws-sdk/client-lex-models-v2 3.142.0 → 3.152.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.
Files changed (40) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/commands/CreateIntentCommand.js +3 -3
  3. package/dist-cjs/commands/CreateSlotCommand.js +3 -3
  4. package/dist-cjs/commands/DescribeIntentCommand.js +2 -1
  5. package/dist-cjs/commands/DescribeSlotCommand.js +2 -1
  6. package/dist-cjs/commands/UpdateIntentCommand.js +3 -3
  7. package/dist-cjs/commands/UpdateSlotCommand.js +3 -3
  8. package/dist-cjs/models/index.js +1 -0
  9. package/dist-cjs/models/models_0.js +117 -92
  10. package/dist-cjs/models/models_1.js +51 -0
  11. package/dist-cjs/protocols/Aws_restJson1.js +497 -0
  12. package/dist-es/commands/CreateIntentCommand.js +1 -1
  13. package/dist-es/commands/CreateSlotCommand.js +1 -1
  14. package/dist-es/commands/DescribeIntentCommand.js +2 -1
  15. package/dist-es/commands/DescribeSlotCommand.js +2 -1
  16. package/dist-es/commands/UpdateIntentCommand.js +1 -1
  17. package/dist-es/commands/UpdateSlotCommand.js +1 -1
  18. package/dist-es/models/index.js +1 -0
  19. package/dist-es/models/models_0.js +41 -22
  20. package/dist-es/models/models_1.js +13 -0
  21. package/dist-es/protocols/Aws_restJson1.js +416 -8
  22. package/dist-types/commands/CreateIntentCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateSlotCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeIntentCommand.d.ts +2 -1
  25. package/dist-types/commands/DescribeSlotCommand.d.ts +2 -1
  26. package/dist-types/commands/UpdateIntentCommand.d.ts +1 -1
  27. package/dist-types/commands/UpdateSlotCommand.d.ts +1 -1
  28. package/dist-types/models/index.d.ts +1 -0
  29. package/dist-types/models/models_0.d.ts +631 -1004
  30. package/dist-types/models/models_1.d.ts +912 -0
  31. package/dist-types/ts3.4/commands/CreateIntentCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/CreateSlotCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/DescribeIntentCommand.d.ts +2 -1
  34. package/dist-types/ts3.4/commands/DescribeSlotCommand.d.ts +2 -1
  35. package/dist-types/ts3.4/commands/UpdateIntentCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/UpdateSlotCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/models/index.d.ts +1 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +261 -408
  39. package/dist-types/ts3.4/models/models_1.d.ts +381 -0
  40. package/package.json +8 -3
@@ -0,0 +1,912 @@
1
+ import { ConditionalSpecification, DialogCodeHookInvocationSetting, DialogCodeHookSettings, DialogState, ElicitationCodeHookInvocationSetting, FulfillmentCodeHookSettings, InitialResponseSetting, InputContext, IntentClosingSetting, KendraConfiguration, MultipleValuesSetting, ObfuscationSetting, OutputContext, PromptSpecification, ResponseSpecification, SampleUtterance, SlotCaptureSetting, SlotConstraint, SlotDefaultValueSpecification, SlotPriority, WaitAndContinueSpecification } from "./models_0";
2
+ /**
3
+ * <p>Settings that you can use for eliciting a slot value.</p>
4
+ */
5
+ export interface SlotValueElicitationSetting {
6
+ /**
7
+ * <p>A list of default values for a slot. Default values are used when
8
+ * Amazon Lex hasn't determined a value for a slot. You can specify default
9
+ * values from context variables, session attributes, and defined
10
+ * values.</p>
11
+ */
12
+ defaultValueSpecification?: SlotDefaultValueSpecification;
13
+ /**
14
+ * <p>Specifies whether the slot is required or optional.</p>
15
+ */
16
+ slotConstraint: SlotConstraint | string | undefined;
17
+ /**
18
+ * <p>The prompt that Amazon Lex uses to elicit the slot value from the
19
+ * user.</p>
20
+ */
21
+ promptSpecification?: PromptSpecification;
22
+ /**
23
+ * <p>If you know a specific pattern that users might respond to an Amazon Lex
24
+ * request for a slot value, you can provide those utterances to improve
25
+ * accuracy. This is optional. In most cases, Amazon Lex is capable of
26
+ * understanding user utterances.</p>
27
+ */
28
+ sampleUtterances?: SampleUtterance[];
29
+ /**
30
+ * <p>Specifies the prompts that Amazon Lex uses while a bot is waiting for
31
+ * customer input. </p>
32
+ */
33
+ waitAndContinueSpecification?: WaitAndContinueSpecification;
34
+ /**
35
+ * <p>Specifies the settings that Amazon Lex uses when a slot
36
+ * value is successfully entered by a user.</p>
37
+ */
38
+ slotCaptureSetting?: SlotCaptureSetting;
39
+ }
40
+ /**
41
+ * <p>Provides a prompt for making sure that the user is ready for the
42
+ * intent to be fulfilled.</p>
43
+ */
44
+ export interface IntentConfirmationSetting {
45
+ /**
46
+ * <p>Prompts the user to confirm the intent. This question should have a
47
+ * yes or no answer.</p>
48
+ * <p>Amazon Lex uses this prompt to ensure that the user acknowledges that the
49
+ * intent is ready for fulfillment. For example, with the
50
+ * <code>OrderPizza</code> intent, you might want to confirm that the
51
+ * order is correct before placing it. For other intents, such as intents
52
+ * that simply respond to user questions, you might not need to ask the
53
+ * user for confirmation before providing the information. </p>
54
+ */
55
+ promptSpecification: PromptSpecification | undefined;
56
+ /**
57
+ * <p>When the user answers "no" to the question defined in
58
+ * <code>promptSpecification</code>, Amazon Lex responds with this response
59
+ * to acknowledge that the intent was canceled. </p>
60
+ */
61
+ declinationResponse?: ResponseSpecification;
62
+ /**
63
+ * <p>Specifies whether the intent's confirmation is sent to the user.
64
+ * When this field is false, confirmation and declination responses aren't
65
+ * sent. If the <code>active</code> field isn't specified, the default is
66
+ * true.</p>
67
+ */
68
+ active?: boolean;
69
+ /**
70
+ * <p>Specifies a list of message groups that Amazon Lex uses to respond the
71
+ * user input.</p>
72
+ */
73
+ confirmationResponse?: ResponseSpecification;
74
+ /**
75
+ * <p>Specifies the next step that the bot executes when the customer
76
+ * confirms the intent.</p>
77
+ */
78
+ confirmationNextStep?: DialogState;
79
+ /**
80
+ * <p>A list of conditional branches to evaluate after the intent is
81
+ * closed.</p>
82
+ */
83
+ confirmationConditional?: ConditionalSpecification;
84
+ /**
85
+ * <p>Specifies the next step that the bot executes when the customer
86
+ * declines the intent.</p>
87
+ */
88
+ declinationNextStep?: DialogState;
89
+ /**
90
+ * <p>A list of conditional branches to evaluate after the intent is
91
+ * declined.</p>
92
+ */
93
+ declinationConditional?: ConditionalSpecification;
94
+ /**
95
+ * <p>Specifies a list of message groups that Amazon Lex uses to respond the
96
+ * user input.</p>
97
+ */
98
+ failureResponse?: ResponseSpecification;
99
+ /**
100
+ * <p>The next step to take in the conversation if the confirmation step
101
+ * fails.</p>
102
+ */
103
+ failureNextStep?: DialogState;
104
+ /**
105
+ * <p>Provides a list of conditional branches. Branches are evaluated in
106
+ * the order that they are entered in the list. The first branch with a
107
+ * condition that evaluates to true is executed. The last branch in the
108
+ * list is the default branch. The default branch should not have any condition
109
+ * expression. The default branch is executed if no other branch has a
110
+ * matching condition.</p>
111
+ */
112
+ failureConditional?: ConditionalSpecification;
113
+ /**
114
+ * <p>The <code>DialogCodeHookInvocationSetting</code> object associated
115
+ * with intent's confirmation step. The dialog code hook is triggered
116
+ * based on these invocation settings when the confirmation next step or
117
+ * declination next step or failure next step is
118
+ * <code>InvokeDialogCodeHook</code>. </p>
119
+ */
120
+ codeHook?: DialogCodeHookInvocationSetting;
121
+ /**
122
+ * <p>The <code>DialogCodeHookInvocationSetting</code> used when the code
123
+ * hook is invoked during confirmation prompt retries.</p>
124
+ */
125
+ elicitationCodeHook?: ElicitationCodeHookInvocationSetting;
126
+ }
127
+ export interface CreateSlotRequest {
128
+ /**
129
+ * <p>The name of the slot. Slot names must be unique within the bot that
130
+ * contains the slot.</p>
131
+ */
132
+ slotName: string | undefined;
133
+ /**
134
+ * <p>A description of the slot. Use this to help identify the slot in
135
+ * lists.</p>
136
+ */
137
+ description?: string;
138
+ /**
139
+ * <p>The unique identifier for the slot type associated with this slot.
140
+ * The slot type determines the values that can be entered into the
141
+ * slot.</p>
142
+ */
143
+ slotTypeId?: string;
144
+ /**
145
+ * <p>Specifies prompts that Amazon Lex sends to the user to elicit a response
146
+ * that provides the value for the slot. </p>
147
+ */
148
+ valueElicitationSetting: SlotValueElicitationSetting | undefined;
149
+ /**
150
+ * <p>Determines how slot values are used in Amazon CloudWatch logs. If the value of
151
+ * the <code>obfuscationSetting</code> parameter is
152
+ * <code>DefaultObfuscation</code>, slot values are obfuscated in the
153
+ * log output. If the value is <code>None</code>, the actual value is
154
+ * present in the log output.</p>
155
+ * <p>The default is to obfuscate values in the CloudWatch logs.</p>
156
+ */
157
+ obfuscationSetting?: ObfuscationSetting;
158
+ /**
159
+ * <p>The identifier of the bot associated with the slot.</p>
160
+ */
161
+ botId: string | undefined;
162
+ /**
163
+ * <p>The version of the bot associated with the slot.</p>
164
+ */
165
+ botVersion: string | undefined;
166
+ /**
167
+ * <p>The identifier of the language and locale that the slot will be used
168
+ * in. The string must match one of the supported locales. All of the
169
+ * bots, intents, slot types used by the slot must have the same locale.
170
+ * For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
171
+ */
172
+ localeId: string | undefined;
173
+ /**
174
+ * <p>The identifier of the intent that contains the slot.</p>
175
+ */
176
+ intentId: string | undefined;
177
+ /**
178
+ * <p>Indicates whether the slot returns multiple values in one response.
179
+ * Multi-value slots are only available in the en-US locale. If you set
180
+ * this value to <code>true</code> in any other locale, Amazon Lex throws a
181
+ * <code>ValidationException</code>. </p>
182
+ * <p>If the <code>multipleValuesSetting</code> is not set, the default
183
+ * value is <code>false</code>.</p>
184
+ */
185
+ multipleValuesSetting?: MultipleValuesSetting;
186
+ }
187
+ export interface CreateSlotResponse {
188
+ /**
189
+ * <p>The unique identifier associated with the slot. Use this to identify
190
+ * the slot when you update or delete it.</p>
191
+ */
192
+ slotId?: string;
193
+ /**
194
+ * <p>The name specified for the slot.</p>
195
+ */
196
+ slotName?: string;
197
+ /**
198
+ * <p>The description associated with the slot.</p>
199
+ */
200
+ description?: string;
201
+ /**
202
+ * <p>The unique identifier of the slot type associated with this
203
+ * slot.</p>
204
+ */
205
+ slotTypeId?: string;
206
+ /**
207
+ * <p>The value elicitation settings specified for the slot.</p>
208
+ */
209
+ valueElicitationSetting?: SlotValueElicitationSetting;
210
+ /**
211
+ * <p>Indicates whether the slot is configured to obfuscate values in Amazon CloudWatch
212
+ * logs.</p>
213
+ */
214
+ obfuscationSetting?: ObfuscationSetting;
215
+ /**
216
+ * <p>The unique identifier of the bot associated with the slot.</p>
217
+ */
218
+ botId?: string;
219
+ /**
220
+ * <p>The version of the bot associated with the slot.</p>
221
+ */
222
+ botVersion?: string;
223
+ /**
224
+ * <p>The language and local specified for the slot.</p>
225
+ */
226
+ localeId?: string;
227
+ /**
228
+ * <p>The unique identifier of the intent associated with the slot.</p>
229
+ */
230
+ intentId?: string;
231
+ /**
232
+ * <p>The timestamp of the date and time that the slot was created.</p>
233
+ */
234
+ creationDateTime?: Date;
235
+ /**
236
+ * <p>Indicates whether the slot returns multiple values in one
237
+ * response.</p>
238
+ */
239
+ multipleValuesSetting?: MultipleValuesSetting;
240
+ }
241
+ export interface DescribeSlotResponse {
242
+ /**
243
+ * <p>The unique identifier generated for the slot.</p>
244
+ */
245
+ slotId?: string;
246
+ /**
247
+ * <p>The name specified for the slot.</p>
248
+ */
249
+ slotName?: string;
250
+ /**
251
+ * <p>The description specified for the slot.</p>
252
+ */
253
+ description?: string;
254
+ /**
255
+ * <p>The identifier of the slot type that determines the values entered
256
+ * into the slot.</p>
257
+ */
258
+ slotTypeId?: string;
259
+ /**
260
+ * <p>Prompts that Amazon Lex uses to elicit a value for the slot.</p>
261
+ */
262
+ valueElicitationSetting?: SlotValueElicitationSetting;
263
+ /**
264
+ * <p>Whether slot values are shown in Amazon CloudWatch logs. If the value is
265
+ * <code>None</code>, the actual value of the slot is shown in
266
+ * logs.</p>
267
+ */
268
+ obfuscationSetting?: ObfuscationSetting;
269
+ /**
270
+ * <p>The identifier of the bot associated with the slot.</p>
271
+ */
272
+ botId?: string;
273
+ /**
274
+ * <p>The version of the bot associated with the slot.</p>
275
+ */
276
+ botVersion?: string;
277
+ /**
278
+ * <p>The language and locale specified for the slot.</p>
279
+ */
280
+ localeId?: string;
281
+ /**
282
+ * <p>The identifier of the intent associated with the slot.</p>
283
+ */
284
+ intentId?: string;
285
+ /**
286
+ * <p>A timestamp of the date and time that the slot was created.</p>
287
+ */
288
+ creationDateTime?: Date;
289
+ /**
290
+ * <p>A timestamp of the date and time that the slot was last
291
+ * updated.</p>
292
+ */
293
+ lastUpdatedDateTime?: Date;
294
+ /**
295
+ * <p>Indicates whether the slot accepts multiple values in a single
296
+ * utterance.</p>
297
+ * <p>If the <code>multipleValuesSetting</code> is not set, the default
298
+ * value is <code>false</code>.</p>
299
+ */
300
+ multipleValuesSetting?: MultipleValuesSetting;
301
+ }
302
+ export interface UpdateSlotRequest {
303
+ /**
304
+ * <p>The unique identifier for the slot to update.</p>
305
+ */
306
+ slotId: string | undefined;
307
+ /**
308
+ * <p>The new name for the slot.</p>
309
+ */
310
+ slotName: string | undefined;
311
+ /**
312
+ * <p>The new description for the slot.</p>
313
+ */
314
+ description?: string;
315
+ /**
316
+ * <p>The unique identifier of the new slot type to associate with this
317
+ * slot. </p>
318
+ */
319
+ slotTypeId?: string;
320
+ /**
321
+ * <p>A new set of prompts that Amazon Lex sends to the user to elicit a
322
+ * response the provides a value for the slot.</p>
323
+ */
324
+ valueElicitationSetting: SlotValueElicitationSetting | undefined;
325
+ /**
326
+ * <p>New settings that determine how slot values are formatted in Amazon CloudWatch
327
+ * logs. </p>
328
+ */
329
+ obfuscationSetting?: ObfuscationSetting;
330
+ /**
331
+ * <p>The unique identifier of the bot that contains the slot.</p>
332
+ */
333
+ botId: string | undefined;
334
+ /**
335
+ * <p>The version of the bot that contains the slot. Must always be
336
+ * <code>DRAFT</code>.</p>
337
+ */
338
+ botVersion: string | undefined;
339
+ /**
340
+ * <p>The identifier of the language and locale that contains the slot.
341
+ * The string must match one of the supported locales. For more
342
+ * information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
343
+ */
344
+ localeId: string | undefined;
345
+ /**
346
+ * <p>The identifier of the intent that contains the slot.</p>
347
+ */
348
+ intentId: string | undefined;
349
+ /**
350
+ * <p>Determines whether the slot accepts multiple values in one response.
351
+ * Multiple value slots are only available in the en-US locale. If you set
352
+ * this value to <code>true</code> in any other locale, Amazon Lex throws a
353
+ * <code>ValidationException</code>.</p>
354
+ * <p>If the <code>multipleValuesSetting</code> is not set, the default
355
+ * value is <code>false</code>.</p>
356
+ */
357
+ multipleValuesSetting?: MultipleValuesSetting;
358
+ }
359
+ export interface UpdateSlotResponse {
360
+ /**
361
+ * <p>The unique identifier of the slot that was updated.</p>
362
+ */
363
+ slotId?: string;
364
+ /**
365
+ * <p>The updated name of the slot.</p>
366
+ */
367
+ slotName?: string;
368
+ /**
369
+ * <p>The updated description of the bot.</p>
370
+ */
371
+ description?: string;
372
+ /**
373
+ * <p>The updated identifier of the slot type that provides values for the
374
+ * slot.</p>
375
+ */
376
+ slotTypeId?: string;
377
+ /**
378
+ * <p>The updated prompts that Amazon Lex sends to the user to elicit a
379
+ * response that provides a value for the slot.</p>
380
+ */
381
+ valueElicitationSetting?: SlotValueElicitationSetting;
382
+ /**
383
+ * <p>The updated setting that determines whether the slot value is
384
+ * obfuscated in the Amazon CloudWatch logs.</p>
385
+ */
386
+ obfuscationSetting?: ObfuscationSetting;
387
+ /**
388
+ * <p>The identifier of the bot that contains the slot.</p>
389
+ */
390
+ botId?: string;
391
+ /**
392
+ * <p>The identifier of the slot version that contains the slot. Will
393
+ * always be <code>DRAFT</code>.</p>
394
+ */
395
+ botVersion?: string;
396
+ /**
397
+ * <p>The locale that contains the slot.</p>
398
+ */
399
+ localeId?: string;
400
+ /**
401
+ * <p>The intent that contains the slot.</p>
402
+ */
403
+ intentId?: string;
404
+ /**
405
+ * <p>The timestamp of the date and time that the slot was created.</p>
406
+ */
407
+ creationDateTime?: Date;
408
+ /**
409
+ * <p>The timestamp of the date and time that the slot was last
410
+ * updated.</p>
411
+ */
412
+ lastUpdatedDateTime?: Date;
413
+ /**
414
+ * <p>Indicates whether the slot accepts multiple values in one
415
+ * response.</p>
416
+ */
417
+ multipleValuesSetting?: MultipleValuesSetting;
418
+ }
419
+ export interface CreateIntentRequest {
420
+ /**
421
+ * <p>The name of the intent. Intent names must be unique in the locale
422
+ * that contains the intent and cannot match the name of any built-in
423
+ * intent.</p>
424
+ */
425
+ intentName: string | undefined;
426
+ /**
427
+ * <p>A description of the intent. Use the description to help identify
428
+ * the intent in lists.</p>
429
+ */
430
+ description?: string;
431
+ /**
432
+ * <p>A unique identifier for the built-in intent to base this intent
433
+ * on.</p>
434
+ */
435
+ parentIntentSignature?: string;
436
+ /**
437
+ * <p>An array of strings that a user might say to signal the intent. For
438
+ * example, "I want a pizza", or "I want a {PizzaSize} pizza". </p>
439
+ * <p>In an utterance, slot names are enclosed in curly braces ("{", "}")
440
+ * to indicate where they should be displayed in the utterance shown to
441
+ * the user.. </p>
442
+ */
443
+ sampleUtterances?: SampleUtterance[];
444
+ /**
445
+ * <p>Specifies that Amazon Lex invokes the alias Lambda function for each user
446
+ * input. You can invoke this Lambda function to personalize user
447
+ * interaction.</p>
448
+ * <p>For example, suppose that your bot determines that the user's name
449
+ * is John. You Lambda function might retrieve John's information from a
450
+ * backend database and prepopulate some of the values. For example, if
451
+ * you find that John is gluten intolerant, you might set the
452
+ * corresponding intent slot, <code>glutenIntolerant</code> to
453
+ * <code>true</code>. You might find John's phone number and set the
454
+ * corresponding session attribute.</p>
455
+ */
456
+ dialogCodeHook?: DialogCodeHookSettings;
457
+ /**
458
+ * <p>Specifies that Amazon Lex invokes the alias Lambda function when the
459
+ * intent is ready for fulfillment. You can invoke this function to
460
+ * complete the bot's transaction with the user.</p>
461
+ * <p>For example, in a pizza ordering bot, the Lambda function can look up
462
+ * the closest pizza restaurant to the customer's location and then place
463
+ * an order on the customer's behalf.</p>
464
+ */
465
+ fulfillmentCodeHook?: FulfillmentCodeHookSettings;
466
+ /**
467
+ * <p>Provides prompts that Amazon Lex sends to the user to confirm the
468
+ * completion of an intent. If the user answers "no," the settings contain
469
+ * a statement that is sent to the user to end the intent.</p>
470
+ */
471
+ intentConfirmationSetting?: IntentConfirmationSetting;
472
+ /**
473
+ * <p>Sets the response that Amazon Lex sends to the user when the intent is
474
+ * closed.</p>
475
+ */
476
+ intentClosingSetting?: IntentClosingSetting;
477
+ /**
478
+ * <p>A list of contexts that must be active for this intent to be
479
+ * considered by Amazon Lex.</p>
480
+ * <p>When an intent has an input context list, Amazon Lex only considers using
481
+ * the intent in an interaction with the user when the specified contexts
482
+ * are included in the active context list for the session. If the
483
+ * contexts are not active, then Amazon Lex will not use the intent.</p>
484
+ * <p>A context can be automatically activated using the
485
+ * <code>outputContexts</code> property or it can be set at
486
+ * runtime.</p>
487
+ * <p> For example, if there are two intents with different input contexts
488
+ * that respond to the same utterances, only the intent with the active
489
+ * context will respond.</p>
490
+ * <p>An intent may have up to 5 input contexts. If an intent has multiple
491
+ * input contexts, all of the contexts must be active to consider the
492
+ * intent.</p>
493
+ */
494
+ inputContexts?: InputContext[];
495
+ /**
496
+ * <p>A lists of contexts that the intent activates when it is
497
+ * fulfilled.</p>
498
+ * <p>You can use an output context to indicate the intents that Amazon Lex
499
+ * should consider for the next turn of the conversation with a customer. </p>
500
+ * <p>When you use the <code>outputContextsList</code> property, all of
501
+ * the contexts specified in the list are activated when the intent is
502
+ * fulfilled. You can set up to 10 output contexts. You can also set the
503
+ * number of conversation turns that the context should be active, or the
504
+ * length of time that the context should be active.</p>
505
+ */
506
+ outputContexts?: OutputContext[];
507
+ /**
508
+ * <p>Configuration information required to use the
509
+ * <code>AMAZON.KendraSearchIntent</code> intent to connect to an Amazon Kendra
510
+ * index. The <code>AMAZON.KendraSearchIntent</code> intent is called when
511
+ * Amazon Lex can't determine another intent to invoke.</p>
512
+ */
513
+ kendraConfiguration?: KendraConfiguration;
514
+ /**
515
+ * <p>The identifier of the bot associated with this intent.</p>
516
+ */
517
+ botId: string | undefined;
518
+ /**
519
+ * <p>The identifier of the version of the bot associated with this
520
+ * intent.</p>
521
+ */
522
+ botVersion: string | undefined;
523
+ /**
524
+ * <p>The identifier of the language and locale where this intent is used.
525
+ * All of the bots, slot types, and slots used by the intent must have the
526
+ * same locale. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
527
+ */
528
+ localeId: string | undefined;
529
+ /**
530
+ * <p>Configuration settings for the response that is sent to the user at
531
+ * the beginning of a conversation, before eliciting slot values.</p>
532
+ */
533
+ initialResponseSetting?: InitialResponseSetting;
534
+ }
535
+ export interface CreateIntentResponse {
536
+ /**
537
+ * <p>A unique identifier for the intent.</p>
538
+ */
539
+ intentId?: string;
540
+ /**
541
+ * <p>The name specified for the intent.</p>
542
+ */
543
+ intentName?: string;
544
+ /**
545
+ * <p>The description specified for the intent.</p>
546
+ */
547
+ description?: string;
548
+ /**
549
+ * <p>The signature of the parent intent specified for the intent.</p>
550
+ */
551
+ parentIntentSignature?: string;
552
+ /**
553
+ * <p>The sample utterances specified for the intent.</p>
554
+ */
555
+ sampleUtterances?: SampleUtterance[];
556
+ /**
557
+ * <p>The dialog Lambda function specified for the intent.</p>
558
+ */
559
+ dialogCodeHook?: DialogCodeHookSettings;
560
+ /**
561
+ * <p>The fulfillment Lambda function specified for the intent.</p>
562
+ */
563
+ fulfillmentCodeHook?: FulfillmentCodeHookSettings;
564
+ /**
565
+ * <p>The confirmation setting specified for the intent.</p>
566
+ */
567
+ intentConfirmationSetting?: IntentConfirmationSetting;
568
+ /**
569
+ * <p>The closing setting specified for the intent.</p>
570
+ */
571
+ intentClosingSetting?: IntentClosingSetting;
572
+ /**
573
+ * <p>The list of input contexts specified for the intent.</p>
574
+ */
575
+ inputContexts?: InputContext[];
576
+ /**
577
+ * <p>The list of output contexts specified for the intent.</p>
578
+ */
579
+ outputContexts?: OutputContext[];
580
+ /**
581
+ * <p>Configuration for searching a Amazon Kendra index specified for the
582
+ * intent.</p>
583
+ */
584
+ kendraConfiguration?: KendraConfiguration;
585
+ /**
586
+ * <p>The identifier of the bot associated with the intent.</p>
587
+ */
588
+ botId?: string;
589
+ /**
590
+ * <p>The identifier of the version of the bot associated with the
591
+ * intent.</p>
592
+ */
593
+ botVersion?: string;
594
+ /**
595
+ * <p>The locale that the intent is specified to use.</p>
596
+ */
597
+ localeId?: string;
598
+ /**
599
+ * <p>A timestamp of the date and time that the intent was created.</p>
600
+ */
601
+ creationDateTime?: Date;
602
+ /**
603
+ * <p>Configuration settings for the response that is sent to the user at
604
+ * the beginning of a conversation, before eliciting slot values.</p>
605
+ */
606
+ initialResponseSetting?: InitialResponseSetting;
607
+ }
608
+ export interface DescribeIntentResponse {
609
+ /**
610
+ * <p>The unique identifier assigned to the intent when it was
611
+ * created.</p>
612
+ */
613
+ intentId?: string;
614
+ /**
615
+ * <p>The name specified for the intent.</p>
616
+ */
617
+ intentName?: string;
618
+ /**
619
+ * <p>The description of the intent.</p>
620
+ */
621
+ description?: string;
622
+ /**
623
+ * <p>The identifier of the built-in intent that this intent is derived
624
+ * from, if any.</p>
625
+ */
626
+ parentIntentSignature?: string;
627
+ /**
628
+ * <p>User utterances that trigger this intent.</p>
629
+ */
630
+ sampleUtterances?: SampleUtterance[];
631
+ /**
632
+ * <p>The Lambda function called during each turn of a conversation with
633
+ * the intent.</p>
634
+ */
635
+ dialogCodeHook?: DialogCodeHookSettings;
636
+ /**
637
+ * <p>The Lambda function called when the intent is complete and ready for
638
+ * fulfillment.</p>
639
+ */
640
+ fulfillmentCodeHook?: FulfillmentCodeHookSettings;
641
+ /**
642
+ * <p>The list that determines the priority that slots should be elicited
643
+ * from the user.</p>
644
+ */
645
+ slotPriorities?: SlotPriority[];
646
+ /**
647
+ * <p>Prompts that Amazon Lex sends to the user to confirm completion of an
648
+ * intent.</p>
649
+ */
650
+ intentConfirmationSetting?: IntentConfirmationSetting;
651
+ /**
652
+ * <p>The response that Amazon Lex sends to when the intent is closed.</p>
653
+ */
654
+ intentClosingSetting?: IntentClosingSetting;
655
+ /**
656
+ * <p>A list of contexts that must be active for the intent to be
657
+ * considered for sending to the user.</p>
658
+ */
659
+ inputContexts?: InputContext[];
660
+ /**
661
+ * <p>A list of contexts that are activated when the intent is
662
+ * fulfilled.</p>
663
+ */
664
+ outputContexts?: OutputContext[];
665
+ /**
666
+ * <p>Configuration information required to use the
667
+ * <code>AMAZON.KendraSearchIntent</code> intent.</p>
668
+ */
669
+ kendraConfiguration?: KendraConfiguration;
670
+ /**
671
+ * <p>The identifier of the bot associated with the intent.</p>
672
+ */
673
+ botId?: string;
674
+ /**
675
+ * <p>The version of the bot associated with the intent.</p>
676
+ */
677
+ botVersion?: string;
678
+ /**
679
+ * <p>The language and locale specified for the intent.</p>
680
+ */
681
+ localeId?: string;
682
+ /**
683
+ * <p>A timestamp of the date and time that the intent was created.</p>
684
+ */
685
+ creationDateTime?: Date;
686
+ /**
687
+ * <p>A timestamp of the date and time that the intent was last
688
+ * updated.</p>
689
+ */
690
+ lastUpdatedDateTime?: Date;
691
+ /**
692
+ * <p></p>
693
+ */
694
+ initialResponseSetting?: InitialResponseSetting;
695
+ }
696
+ export interface UpdateIntentRequest {
697
+ /**
698
+ * <p>The unique identifier of the intent to update.</p>
699
+ */
700
+ intentId: string | undefined;
701
+ /**
702
+ * <p>The new name for the intent.</p>
703
+ */
704
+ intentName: string | undefined;
705
+ /**
706
+ * <p>The new description of the intent.</p>
707
+ */
708
+ description?: string;
709
+ /**
710
+ * <p>The signature of the new built-in intent to use as the parent of
711
+ * this intent.</p>
712
+ */
713
+ parentIntentSignature?: string;
714
+ /**
715
+ * <p>New utterances used to invoke the intent.</p>
716
+ */
717
+ sampleUtterances?: SampleUtterance[];
718
+ /**
719
+ * <p>The new Lambda function to use between each turn of the conversation
720
+ * with the bot.</p>
721
+ */
722
+ dialogCodeHook?: DialogCodeHookSettings;
723
+ /**
724
+ * <p>The new Lambda function to call when all of the intents required
725
+ * slots are provided and the intent is ready for fulfillment.</p>
726
+ */
727
+ fulfillmentCodeHook?: FulfillmentCodeHookSettings;
728
+ /**
729
+ * <p>A new list of slots and their priorities that are contained by the
730
+ * intent.</p>
731
+ */
732
+ slotPriorities?: SlotPriority[];
733
+ /**
734
+ * <p>New prompts that Amazon Lex sends to the user to confirm the completion
735
+ * of an intent.</p>
736
+ */
737
+ intentConfirmationSetting?: IntentConfirmationSetting;
738
+ /**
739
+ * <p>The new response that Amazon Lex sends the user when the intent is
740
+ * closed.</p>
741
+ */
742
+ intentClosingSetting?: IntentClosingSetting;
743
+ /**
744
+ * <p>A new list of contexts that must be active in order for Amazon Lex to
745
+ * consider the intent.</p>
746
+ */
747
+ inputContexts?: InputContext[];
748
+ /**
749
+ * <p>A new list of contexts that Amazon Lex activates when the intent is
750
+ * fulfilled.</p>
751
+ */
752
+ outputContexts?: OutputContext[];
753
+ /**
754
+ * <p>New configuration settings for connecting to an Amazon Kendra index.</p>
755
+ */
756
+ kendraConfiguration?: KendraConfiguration;
757
+ /**
758
+ * <p>The identifier of the bot that contains the intent.</p>
759
+ */
760
+ botId: string | undefined;
761
+ /**
762
+ * <p>The version of the bot that contains the intent. Must be
763
+ * <code>DRAFT</code>.</p>
764
+ */
765
+ botVersion: string | undefined;
766
+ /**
767
+ * <p>The identifier of the language and locale where this intent is used.
768
+ * The string must match one of the supported locales. For more
769
+ * information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
770
+ */
771
+ localeId: string | undefined;
772
+ /**
773
+ * <p></p>
774
+ */
775
+ initialResponseSetting?: InitialResponseSetting;
776
+ }
777
+ export interface UpdateIntentResponse {
778
+ /**
779
+ * <p>The identifier of the intent that was updated.</p>
780
+ */
781
+ intentId?: string;
782
+ /**
783
+ * <p>The updated name of the intent.</p>
784
+ */
785
+ intentName?: string;
786
+ /**
787
+ * <p>The updated description of the intent.</p>
788
+ */
789
+ description?: string;
790
+ /**
791
+ * <p>The updated built-in intent that is the parent of this
792
+ * intent.</p>
793
+ */
794
+ parentIntentSignature?: string;
795
+ /**
796
+ * <p>The updated list of sample utterances for the intent.</p>
797
+ */
798
+ sampleUtterances?: SampleUtterance[];
799
+ /**
800
+ * <p>The updated Lambda function called during each turn of the
801
+ * conversation with the user.</p>
802
+ */
803
+ dialogCodeHook?: DialogCodeHookSettings;
804
+ /**
805
+ * <p>The updated Lambda function called when the intent is ready for
806
+ * fulfillment.</p>
807
+ */
808
+ fulfillmentCodeHook?: FulfillmentCodeHookSettings;
809
+ /**
810
+ * <p>The updated list of slots and their priorities that are elicited
811
+ * from the user for the intent.</p>
812
+ */
813
+ slotPriorities?: SlotPriority[];
814
+ /**
815
+ * <p>The updated prompts that Amazon Lex sends to the user to confirm the
816
+ * completion of an intent.</p>
817
+ */
818
+ intentConfirmationSetting?: IntentConfirmationSetting;
819
+ /**
820
+ * <p>The updated response that Amazon Lex sends the user when the intent is
821
+ * closed.</p>
822
+ */
823
+ intentClosingSetting?: IntentClosingSetting;
824
+ /**
825
+ * <p>The updated list of contexts that must be active for the intent to
826
+ * be considered by Amazon Lex.</p>
827
+ */
828
+ inputContexts?: InputContext[];
829
+ /**
830
+ * <p>The updated list of contexts that Amazon Lex activates when the intent is
831
+ * fulfilled.</p>
832
+ */
833
+ outputContexts?: OutputContext[];
834
+ /**
835
+ * <p>The updated configuration for connecting to an Amazon Kendra index with the
836
+ * <code>AMAZON.KendraSearchIntent</code> intent.</p>
837
+ */
838
+ kendraConfiguration?: KendraConfiguration;
839
+ /**
840
+ * <p>The identifier of the bot that contains the intent.</p>
841
+ */
842
+ botId?: string;
843
+ /**
844
+ * <p>The version of the bot that contains the intent. Will always be
845
+ * <code>DRAFT</code>.</p>
846
+ */
847
+ botVersion?: string;
848
+ /**
849
+ * <p>The updated language and locale of the intent.</p>
850
+ */
851
+ localeId?: string;
852
+ /**
853
+ * <p>A timestamp of when the intent was created.</p>
854
+ */
855
+ creationDateTime?: Date;
856
+ /**
857
+ * <p>A timestamp of the last time that the intent was modified.</p>
858
+ */
859
+ lastUpdatedDateTime?: Date;
860
+ /**
861
+ * <p></p>
862
+ */
863
+ initialResponseSetting?: InitialResponseSetting;
864
+ }
865
+ /**
866
+ * @internal
867
+ */
868
+ export declare const SlotValueElicitationSettingFilterSensitiveLog: (obj: SlotValueElicitationSetting) => any;
869
+ /**
870
+ * @internal
871
+ */
872
+ export declare const IntentConfirmationSettingFilterSensitiveLog: (obj: IntentConfirmationSetting) => any;
873
+ /**
874
+ * @internal
875
+ */
876
+ export declare const CreateSlotRequestFilterSensitiveLog: (obj: CreateSlotRequest) => any;
877
+ /**
878
+ * @internal
879
+ */
880
+ export declare const CreateSlotResponseFilterSensitiveLog: (obj: CreateSlotResponse) => any;
881
+ /**
882
+ * @internal
883
+ */
884
+ export declare const DescribeSlotResponseFilterSensitiveLog: (obj: DescribeSlotResponse) => any;
885
+ /**
886
+ * @internal
887
+ */
888
+ export declare const UpdateSlotRequestFilterSensitiveLog: (obj: UpdateSlotRequest) => any;
889
+ /**
890
+ * @internal
891
+ */
892
+ export declare const UpdateSlotResponseFilterSensitiveLog: (obj: UpdateSlotResponse) => any;
893
+ /**
894
+ * @internal
895
+ */
896
+ export declare const CreateIntentRequestFilterSensitiveLog: (obj: CreateIntentRequest) => any;
897
+ /**
898
+ * @internal
899
+ */
900
+ export declare const CreateIntentResponseFilterSensitiveLog: (obj: CreateIntentResponse) => any;
901
+ /**
902
+ * @internal
903
+ */
904
+ export declare const DescribeIntentResponseFilterSensitiveLog: (obj: DescribeIntentResponse) => any;
905
+ /**
906
+ * @internal
907
+ */
908
+ export declare const UpdateIntentRequestFilterSensitiveLog: (obj: UpdateIntentRequest) => any;
909
+ /**
910
+ * @internal
911
+ */
912
+ export declare const UpdateIntentResponseFilterSensitiveLog: (obj: UpdateIntentResponse) => any;