@aws-sdk/client-lex-models-v2 3.298.0 → 3.300.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 (72) hide show
  1. package/dist-types/commands/BatchCreateCustomVocabularyItemCommand.d.ts +12 -0
  2. package/dist-types/commands/BatchDeleteCustomVocabularyItemCommand.d.ts +10 -0
  3. package/dist-types/commands/BatchUpdateCustomVocabularyItemCommand.d.ts +13 -0
  4. package/dist-types/commands/BuildBotLocaleCommand.d.ts +5 -0
  5. package/dist-types/commands/CreateBotAliasCommand.d.ts +48 -0
  6. package/dist-types/commands/CreateBotCommand.d.ts +25 -0
  7. package/dist-types/commands/CreateBotLocaleCommand.d.ts +11 -0
  8. package/dist-types/commands/CreateBotVersionCommand.d.ts +9 -0
  9. package/dist-types/commands/CreateExportCommand.d.ts +20 -0
  10. package/dist-types/commands/CreateIntentCommand.d.ts +708 -0
  11. package/dist-types/commands/CreateResourcePolicyCommand.d.ts +4 -0
  12. package/dist-types/commands/CreateResourcePolicyStatementCommand.d.ts +20 -0
  13. package/dist-types/commands/CreateSlotCommand.d.ts +546 -0
  14. package/dist-types/commands/CreateSlotTypeCommand.d.ts +46 -0
  15. package/dist-types/commands/CreateUploadUrlCommand.d.ts +1 -0
  16. package/dist-types/commands/DeleteBotAliasCommand.d.ts +5 -0
  17. package/dist-types/commands/DeleteBotCommand.d.ts +4 -0
  18. package/dist-types/commands/DeleteBotLocaleCommand.d.ts +5 -0
  19. package/dist-types/commands/DeleteBotVersionCommand.d.ts +5 -0
  20. package/dist-types/commands/DeleteCustomVocabularyCommand.d.ts +5 -0
  21. package/dist-types/commands/DeleteExportCommand.d.ts +3 -0
  22. package/dist-types/commands/DeleteImportCommand.d.ts +3 -0
  23. package/dist-types/commands/DeleteIntentCommand.d.ts +6 -0
  24. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
  25. package/dist-types/commands/DeleteResourcePolicyStatementCommand.d.ts +5 -0
  26. package/dist-types/commands/DeleteSlotCommand.d.ts +7 -0
  27. package/dist-types/commands/DeleteSlotTypeCommand.d.ts +7 -0
  28. package/dist-types/commands/DeleteUtterancesCommand.d.ts +5 -0
  29. package/dist-types/commands/DescribeBotAliasCommand.d.ts +4 -0
  30. package/dist-types/commands/DescribeBotCommand.d.ts +3 -0
  31. package/dist-types/commands/DescribeBotLocaleCommand.d.ts +5 -0
  32. package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +6 -0
  33. package/dist-types/commands/DescribeBotVersionCommand.d.ts +4 -0
  34. package/dist-types/commands/DescribeCustomVocabularyMetadataCommand.d.ts +5 -0
  35. package/dist-types/commands/DescribeExportCommand.d.ts +3 -0
  36. package/dist-types/commands/DescribeImportCommand.d.ts +3 -0
  37. package/dist-types/commands/DescribeIntentCommand.d.ts +6 -0
  38. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +3 -0
  39. package/dist-types/commands/DescribeSlotCommand.d.ts +7 -0
  40. package/dist-types/commands/DescribeSlotTypeCommand.d.ts +6 -0
  41. package/dist-types/commands/ListAggregatedUtterancesCommand.d.ts +27 -0
  42. package/dist-types/commands/ListBotAliasesCommand.d.ts +5 -0
  43. package/dist-types/commands/ListBotLocalesCommand.d.ts +19 -0
  44. package/dist-types/commands/ListBotRecommendationsCommand.d.ts +7 -0
  45. package/dist-types/commands/ListBotVersionsCommand.d.ts +9 -0
  46. package/dist-types/commands/ListBotsCommand.d.ts +17 -0
  47. package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +9 -0
  48. package/dist-types/commands/ListBuiltInSlotTypesCommand.d.ts +9 -0
  49. package/dist-types/commands/ListCustomVocabularyItemsCommand.d.ts +7 -0
  50. package/dist-types/commands/ListExportsCommand.d.ts +20 -0
  51. package/dist-types/commands/ListImportsCommand.d.ts +20 -0
  52. package/dist-types/commands/ListIntentsCommand.d.ts +20 -0
  53. package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +8 -0
  54. package/dist-types/commands/ListSlotTypesCommand.d.ts +20 -0
  55. package/dist-types/commands/ListSlotsCommand.d.ts +21 -0
  56. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  57. package/dist-types/commands/SearchAssociatedTranscriptsCommand.d.ts +17 -0
  58. package/dist-types/commands/StartBotRecommendationCommand.d.ts +30 -0
  59. package/dist-types/commands/StartImportCommand.d.ts +36 -0
  60. package/dist-types/commands/StopBotRecommendationCommand.d.ts +6 -0
  61. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  62. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  63. package/dist-types/commands/UpdateBotAliasCommand.d.ts +46 -0
  64. package/dist-types/commands/UpdateBotCommand.d.ts +20 -0
  65. package/dist-types/commands/UpdateBotLocaleCommand.d.ts +11 -0
  66. package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +11 -0
  67. package/dist-types/commands/UpdateExportCommand.d.ts +4 -0
  68. package/dist-types/commands/UpdateIntentCommand.d.ts +715 -0
  69. package/dist-types/commands/UpdateResourcePolicyCommand.d.ts +5 -0
  70. package/dist-types/commands/UpdateSlotCommand.d.ts +547 -0
  71. package/dist-types/commands/UpdateSlotTypeCommand.d.ts +47 -0
  72. package/package.json +12 -12
@@ -63,6 +63,714 @@ export interface CreateIntentCommandOutput extends CreateIntentResponse, __Metad
63
63
  * import { LexModelsV2Client, CreateIntentCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
64
64
  * // const { LexModelsV2Client, CreateIntentCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
65
65
  * const client = new LexModelsV2Client(config);
66
+ * const input = {
67
+ * intentName: "STRING_VALUE", // required
68
+ * description: "STRING_VALUE",
69
+ * parentIntentSignature: "STRING_VALUE",
70
+ * sampleUtterances: [
71
+ * {
72
+ * utterance: "STRING_VALUE", // required
73
+ * },
74
+ * ],
75
+ * dialogCodeHook: {
76
+ * enabled: true || false, // required
77
+ * },
78
+ * fulfillmentCodeHook: {
79
+ * enabled: true || false, // required
80
+ * postFulfillmentStatusSpecification: {
81
+ * successResponse: {
82
+ * messageGroups: [ // required
83
+ * {
84
+ * message: {
85
+ * plainTextMessage: {
86
+ * value: "STRING_VALUE", // required
87
+ * },
88
+ * customPayload: {
89
+ * value: "STRING_VALUE", // required
90
+ * },
91
+ * ssmlMessage: {
92
+ * value: "STRING_VALUE", // required
93
+ * },
94
+ * imageResponseCard: {
95
+ * title: "STRING_VALUE", // required
96
+ * subtitle: "STRING_VALUE",
97
+ * imageUrl: "STRING_VALUE",
98
+ * buttons: [
99
+ * {
100
+ * text: "STRING_VALUE", // required
101
+ * value: "STRING_VALUE", // required
102
+ * },
103
+ * ],
104
+ * },
105
+ * },
106
+ * variations: [
107
+ * {
108
+ * plainTextMessage: {
109
+ * value: "STRING_VALUE", // required
110
+ * },
111
+ * customPayload: {
112
+ * value: "STRING_VALUE", // required
113
+ * },
114
+ * ssmlMessage: {
115
+ * value: "STRING_VALUE", // required
116
+ * },
117
+ * imageResponseCard: {
118
+ * title: "STRING_VALUE", // required
119
+ * subtitle: "STRING_VALUE",
120
+ * imageUrl: "STRING_VALUE",
121
+ * buttons: [
122
+ * {
123
+ * text: "STRING_VALUE", // required
124
+ * value: "STRING_VALUE", // required
125
+ * },
126
+ * ],
127
+ * },
128
+ * },
129
+ * ],
130
+ * },
131
+ * ],
132
+ * allowInterrupt: true || false,
133
+ * },
134
+ * failureResponse: {
135
+ * messageGroups: [ // required
136
+ * {
137
+ * message: {
138
+ * plainTextMessage: {
139
+ * value: "STRING_VALUE", // required
140
+ * },
141
+ * customPayload: {
142
+ * value: "STRING_VALUE", // required
143
+ * },
144
+ * ssmlMessage: {
145
+ * value: "STRING_VALUE", // required
146
+ * },
147
+ * imageResponseCard: {
148
+ * title: "STRING_VALUE", // required
149
+ * subtitle: "STRING_VALUE",
150
+ * imageUrl: "STRING_VALUE",
151
+ * buttons: [
152
+ * {
153
+ * text: "STRING_VALUE", // required
154
+ * value: "STRING_VALUE", // required
155
+ * },
156
+ * ],
157
+ * },
158
+ * },
159
+ * variations: [
160
+ * {
161
+ * plainTextMessage: {
162
+ * value: "STRING_VALUE", // required
163
+ * },
164
+ * customPayload: {
165
+ * value: "STRING_VALUE", // required
166
+ * },
167
+ * ssmlMessage: {
168
+ * value: "STRING_VALUE", // required
169
+ * },
170
+ * imageResponseCard: {
171
+ * title: "STRING_VALUE", // required
172
+ * subtitle: "STRING_VALUE",
173
+ * imageUrl: "STRING_VALUE",
174
+ * buttons: [
175
+ * {
176
+ * text: "STRING_VALUE", // required
177
+ * value: "STRING_VALUE", // required
178
+ * },
179
+ * ],
180
+ * },
181
+ * },
182
+ * ],
183
+ * },
184
+ * ],
185
+ * allowInterrupt: true || false,
186
+ * },
187
+ * timeoutResponse: {
188
+ * messageGroups: [ // required
189
+ * {
190
+ * message: {
191
+ * plainTextMessage: {
192
+ * value: "STRING_VALUE", // required
193
+ * },
194
+ * customPayload: {
195
+ * value: "STRING_VALUE", // required
196
+ * },
197
+ * ssmlMessage: {
198
+ * value: "STRING_VALUE", // required
199
+ * },
200
+ * imageResponseCard: {
201
+ * title: "STRING_VALUE", // required
202
+ * subtitle: "STRING_VALUE",
203
+ * imageUrl: "STRING_VALUE",
204
+ * buttons: [
205
+ * {
206
+ * text: "STRING_VALUE", // required
207
+ * value: "STRING_VALUE", // required
208
+ * },
209
+ * ],
210
+ * },
211
+ * },
212
+ * variations: [
213
+ * {
214
+ * plainTextMessage: {
215
+ * value: "STRING_VALUE", // required
216
+ * },
217
+ * customPayload: {
218
+ * value: "STRING_VALUE", // required
219
+ * },
220
+ * ssmlMessage: {
221
+ * value: "STRING_VALUE", // required
222
+ * },
223
+ * imageResponseCard: {
224
+ * title: "STRING_VALUE", // required
225
+ * subtitle: "STRING_VALUE",
226
+ * imageUrl: "STRING_VALUE",
227
+ * buttons: [
228
+ * {
229
+ * text: "STRING_VALUE", // required
230
+ * value: "STRING_VALUE", // required
231
+ * },
232
+ * ],
233
+ * },
234
+ * },
235
+ * ],
236
+ * },
237
+ * ],
238
+ * allowInterrupt: true || false,
239
+ * },
240
+ * successNextStep: {
241
+ * dialogAction: {
242
+ * type: "ElicitIntent" || "StartIntent" || "ElicitSlot" || "EvaluateConditional" || "InvokeDialogCodeHook" || "ConfirmIntent" || "FulfillIntent" || "CloseIntent" || "EndConversation", // required
243
+ * slotToElicit: "STRING_VALUE",
244
+ * suppressNextMessage: true || false,
245
+ * },
246
+ * intent: {
247
+ * name: "STRING_VALUE",
248
+ * slots: {
249
+ * "<keys>": {
250
+ * shape: "Scalar" || "List",
251
+ * value: {
252
+ * interpretedValue: "STRING_VALUE",
253
+ * },
254
+ * values: [
255
+ * {
256
+ * shape: "Scalar" || "List",
257
+ * value: {
258
+ * interpretedValue: "STRING_VALUE",
259
+ * },
260
+ * values: [
261
+ * {
262
+ * shape: "<SlotValueOverride>",
263
+ * value: "<SlotValueOverride>",
264
+ * values: "<SlotValueOverride>",
265
+ * },
266
+ * ],
267
+ * },
268
+ * ],
269
+ * },
270
+ * },
271
+ * },
272
+ * sessionAttributes: {
273
+ * "<keys>": "STRING_VALUE",
274
+ * },
275
+ * },
276
+ * successConditional: {
277
+ * active: true || false, // required
278
+ * conditionalBranches: [ // required
279
+ * {
280
+ * name: "STRING_VALUE", // required
281
+ * condition: {
282
+ * expressionString: "STRING_VALUE", // required
283
+ * },
284
+ * nextStep: {
285
+ * dialogAction: {
286
+ * type: "ElicitIntent" || "StartIntent" || "ElicitSlot" || "EvaluateConditional" || "InvokeDialogCodeHook" || "ConfirmIntent" || "FulfillIntent" || "CloseIntent" || "EndConversation", // required
287
+ * slotToElicit: "STRING_VALUE",
288
+ * suppressNextMessage: true || false,
289
+ * },
290
+ * intent: {
291
+ * name: "STRING_VALUE",
292
+ * slots: {
293
+ * "<keys>": {
294
+ * shape: "<SlotValueOverride>",
295
+ * value: "<SlotValueOverride>",
296
+ * values: "<SlotValueOverride>",
297
+ * },
298
+ * },
299
+ * },
300
+ * sessionAttributes: {
301
+ * "<keys>": "STRING_VALUE",
302
+ * },
303
+ * },
304
+ * response: {
305
+ * messageGroups: [ // required
306
+ * {
307
+ * message: {
308
+ * plainTextMessage: "<Message>",
309
+ * customPayload: "<Message>",
310
+ * ssmlMessage: "<Message>",
311
+ * imageResponseCard: "<Message>",
312
+ * },
313
+ * variations: [
314
+ * {
315
+ * plainTextMessage: "<Message>",
316
+ * customPayload: "<Message>",
317
+ * ssmlMessage: "<Message>",
318
+ * imageResponseCard: "<Message>",
319
+ * },
320
+ * ],
321
+ * },
322
+ * ],
323
+ * allowInterrupt: true || false,
324
+ * },
325
+ * },
326
+ * ],
327
+ * defaultBranch: {
328
+ * nextStep: {
329
+ * dialogAction: "<DialogState>",
330
+ * intent: "<DialogState>",
331
+ * sessionAttributes: "<DialogState>",
332
+ * },
333
+ * response: {
334
+ * messageGroups: "<ResponseSpecification>",
335
+ * allowInterrupt: "<ResponseSpecification>",
336
+ * },
337
+ * },
338
+ * },
339
+ * failureNextStep: {
340
+ * dialogAction: "<DialogState>",
341
+ * intent: "<DialogState>",
342
+ * sessionAttributes: "<DialogState>",
343
+ * },
344
+ * failureConditional: {
345
+ * active: true || false, // required
346
+ * conditionalBranches: [ // required
347
+ * {
348
+ * name: "STRING_VALUE", // required
349
+ * condition: {
350
+ * expressionString: "STRING_VALUE", // required
351
+ * },
352
+ * nextStep: {
353
+ * dialogAction: "<DialogState>",
354
+ * intent: "<DialogState>",
355
+ * sessionAttributes: "<DialogState>",
356
+ * },
357
+ * response: {
358
+ * messageGroups: "<ResponseSpecification>",
359
+ * allowInterrupt: "<ResponseSpecification>",
360
+ * },
361
+ * },
362
+ * ],
363
+ * defaultBranch: {
364
+ * nextStep: {
365
+ * dialogAction: "<DialogState>",
366
+ * intent: "<DialogState>",
367
+ * sessionAttributes: "<DialogState>",
368
+ * },
369
+ * response: {
370
+ * messageGroups: "<ResponseSpecification>",
371
+ * allowInterrupt: "<ResponseSpecification>",
372
+ * },
373
+ * },
374
+ * },
375
+ * timeoutNextStep: {
376
+ * dialogAction: "<DialogState>",
377
+ * intent: "<DialogState>",
378
+ * sessionAttributes: "<DialogState>",
379
+ * },
380
+ * timeoutConditional: {
381
+ * active: true || false, // required
382
+ * conditionalBranches: [ // required
383
+ * {
384
+ * name: "STRING_VALUE", // required
385
+ * condition: {
386
+ * expressionString: "STRING_VALUE", // required
387
+ * },
388
+ * nextStep: {
389
+ * dialogAction: "<DialogState>",
390
+ * intent: "<DialogState>",
391
+ * sessionAttributes: "<DialogState>",
392
+ * },
393
+ * response: {
394
+ * messageGroups: "<ResponseSpecification>",
395
+ * allowInterrupt: "<ResponseSpecification>",
396
+ * },
397
+ * },
398
+ * ],
399
+ * defaultBranch: {
400
+ * nextStep: {
401
+ * dialogAction: "<DialogState>",
402
+ * intent: "<DialogState>",
403
+ * sessionAttributes: "<DialogState>",
404
+ * },
405
+ * response: {
406
+ * messageGroups: "<ResponseSpecification>",
407
+ * allowInterrupt: "<ResponseSpecification>",
408
+ * },
409
+ * },
410
+ * },
411
+ * },
412
+ * fulfillmentUpdatesSpecification: {
413
+ * active: true || false, // required
414
+ * startResponse: {
415
+ * delayInSeconds: Number("int"), // required
416
+ * messageGroups: [ // required
417
+ * {
418
+ * message: {
419
+ * plainTextMessage: "<Message>",
420
+ * customPayload: "<Message>",
421
+ * ssmlMessage: "<Message>",
422
+ * imageResponseCard: "<Message>",
423
+ * },
424
+ * variations: [
425
+ * {
426
+ * plainTextMessage: "<Message>",
427
+ * customPayload: "<Message>",
428
+ * ssmlMessage: "<Message>",
429
+ * imageResponseCard: "<Message>",
430
+ * },
431
+ * ],
432
+ * },
433
+ * ],
434
+ * allowInterrupt: true || false,
435
+ * },
436
+ * updateResponse: {
437
+ * frequencyInSeconds: Number("int"), // required
438
+ * messageGroups: [ // required
439
+ * {
440
+ * message: {
441
+ * plainTextMessage: "<Message>",
442
+ * customPayload: "<Message>",
443
+ * ssmlMessage: "<Message>",
444
+ * imageResponseCard: "<Message>",
445
+ * },
446
+ * variations: [
447
+ * {
448
+ * plainTextMessage: "<Message>",
449
+ * customPayload: "<Message>",
450
+ * ssmlMessage: "<Message>",
451
+ * imageResponseCard: "<Message>",
452
+ * },
453
+ * ],
454
+ * },
455
+ * ],
456
+ * allowInterrupt: true || false,
457
+ * },
458
+ * timeoutInSeconds: Number("int"),
459
+ * },
460
+ * active: true || false,
461
+ * },
462
+ * intentConfirmationSetting: {
463
+ * promptSpecification: {
464
+ * messageGroups: [ // required
465
+ * "<MessageGroupsList>",
466
+ * ],
467
+ * maxRetries: Number("int"), // required
468
+ * allowInterrupt: true || false,
469
+ * messageSelectionStrategy: "Random" || "Ordered",
470
+ * promptAttemptsSpecification: {
471
+ * "<keys>": {
472
+ * allowInterrupt: true || false,
473
+ * allowedInputTypes: {
474
+ * allowAudioInput: true || false, // required
475
+ * allowDTMFInput: true || false, // required
476
+ * },
477
+ * audioAndDTMFInputSpecification: {
478
+ * startTimeoutMs: Number("int"), // required
479
+ * audioSpecification: {
480
+ * maxLengthMs: Number("int"), // required
481
+ * endTimeoutMs: Number("int"), // required
482
+ * },
483
+ * dtmfSpecification: {
484
+ * maxLength: Number("int"), // required
485
+ * endTimeoutMs: Number("int"), // required
486
+ * deletionCharacter: "STRING_VALUE", // required
487
+ * endCharacter: "STRING_VALUE", // required
488
+ * },
489
+ * },
490
+ * textInputSpecification: {
491
+ * startTimeoutMs: Number("int"), // required
492
+ * },
493
+ * },
494
+ * },
495
+ * },
496
+ * declinationResponse: {
497
+ * messageGroups: "<ResponseSpecification>",
498
+ * allowInterrupt: "<ResponseSpecification>",
499
+ * },
500
+ * active: true || false,
501
+ * confirmationResponse: {
502
+ * messageGroups: "<ResponseSpecification>",
503
+ * allowInterrupt: "<ResponseSpecification>",
504
+ * },
505
+ * confirmationNextStep: {
506
+ * dialogAction: "<DialogState>",
507
+ * intent: "<DialogState>",
508
+ * sessionAttributes: "<DialogState>",
509
+ * },
510
+ * confirmationConditional: {
511
+ * active: true || false, // required
512
+ * conditionalBranches: [ // required
513
+ * {
514
+ * name: "STRING_VALUE", // required
515
+ * condition: {
516
+ * expressionString: "STRING_VALUE", // required
517
+ * },
518
+ * nextStep: {
519
+ * dialogAction: "<DialogState>",
520
+ * intent: "<DialogState>",
521
+ * sessionAttributes: "<DialogState>",
522
+ * },
523
+ * response: {
524
+ * messageGroups: "<ResponseSpecification>",
525
+ * allowInterrupt: "<ResponseSpecification>",
526
+ * },
527
+ * },
528
+ * ],
529
+ * defaultBranch: {
530
+ * nextStep: {
531
+ * dialogAction: "<DialogState>",
532
+ * intent: "<DialogState>",
533
+ * sessionAttributes: "<DialogState>",
534
+ * },
535
+ * response: {
536
+ * messageGroups: "<ResponseSpecification>",
537
+ * allowInterrupt: "<ResponseSpecification>",
538
+ * },
539
+ * },
540
+ * },
541
+ * declinationNextStep: {
542
+ * dialogAction: "<DialogState>",
543
+ * intent: "<DialogState>",
544
+ * sessionAttributes: "<DialogState>",
545
+ * },
546
+ * declinationConditional: {
547
+ * active: true || false, // required
548
+ * conditionalBranches: [ // required
549
+ * {
550
+ * name: "STRING_VALUE", // required
551
+ * condition: {
552
+ * expressionString: "STRING_VALUE", // required
553
+ * },
554
+ * nextStep: {
555
+ * dialogAction: "<DialogState>",
556
+ * intent: "<DialogState>",
557
+ * sessionAttributes: "<DialogState>",
558
+ * },
559
+ * response: {
560
+ * messageGroups: "<ResponseSpecification>",
561
+ * allowInterrupt: "<ResponseSpecification>",
562
+ * },
563
+ * },
564
+ * ],
565
+ * defaultBranch: {
566
+ * nextStep: {
567
+ * dialogAction: "<DialogState>",
568
+ * intent: "<DialogState>",
569
+ * sessionAttributes: "<DialogState>",
570
+ * },
571
+ * response: {
572
+ * messageGroups: "<ResponseSpecification>",
573
+ * allowInterrupt: "<ResponseSpecification>",
574
+ * },
575
+ * },
576
+ * },
577
+ * failureResponse: {
578
+ * messageGroups: "<ResponseSpecification>",
579
+ * allowInterrupt: "<ResponseSpecification>",
580
+ * },
581
+ * failureNextStep: {
582
+ * dialogAction: "<DialogState>",
583
+ * intent: "<DialogState>",
584
+ * sessionAttributes: "<DialogState>",
585
+ * },
586
+ * failureConditional: {
587
+ * active: true || false, // required
588
+ * conditionalBranches: [ // required
589
+ * {
590
+ * name: "STRING_VALUE", // required
591
+ * condition: {
592
+ * expressionString: "STRING_VALUE", // required
593
+ * },
594
+ * nextStep: {
595
+ * dialogAction: "<DialogState>",
596
+ * intent: "<DialogState>",
597
+ * sessionAttributes: "<DialogState>",
598
+ * },
599
+ * response: {
600
+ * messageGroups: "<ResponseSpecification>",
601
+ * allowInterrupt: "<ResponseSpecification>",
602
+ * },
603
+ * },
604
+ * ],
605
+ * defaultBranch: {
606
+ * nextStep: {
607
+ * dialogAction: "<DialogState>",
608
+ * intent: "<DialogState>",
609
+ * sessionAttributes: "<DialogState>",
610
+ * },
611
+ * response: {
612
+ * messageGroups: "<ResponseSpecification>",
613
+ * allowInterrupt: "<ResponseSpecification>",
614
+ * },
615
+ * },
616
+ * },
617
+ * codeHook: {
618
+ * enableCodeHookInvocation: true || false, // required
619
+ * active: true || false, // required
620
+ * invocationLabel: "STRING_VALUE",
621
+ * postCodeHookSpecification: {
622
+ * successResponse: {
623
+ * messageGroups: "<ResponseSpecification>",
624
+ * allowInterrupt: "<ResponseSpecification>",
625
+ * },
626
+ * successNextStep: {
627
+ * dialogAction: "<DialogState>",
628
+ * intent: "<DialogState>",
629
+ * sessionAttributes: "<DialogState>",
630
+ * },
631
+ * successConditional: {
632
+ * active: "<ConditionalSpecification>",
633
+ * conditionalBranches: "<ConditionalSpecification>",
634
+ * defaultBranch: "<ConditionalSpecification>",
635
+ * },
636
+ * failureResponse: {
637
+ * messageGroups: "<ResponseSpecification>",
638
+ * allowInterrupt: "<ResponseSpecification>",
639
+ * },
640
+ * failureNextStep: {
641
+ * dialogAction: "<DialogState>",
642
+ * intent: "<DialogState>",
643
+ * sessionAttributes: "<DialogState>",
644
+ * },
645
+ * failureConditional: {
646
+ * active: "<ConditionalSpecification>",
647
+ * conditionalBranches: "<ConditionalSpecification>",
648
+ * defaultBranch: "<ConditionalSpecification>",
649
+ * },
650
+ * timeoutResponse: {
651
+ * messageGroups: "<ResponseSpecification>",
652
+ * allowInterrupt: "<ResponseSpecification>",
653
+ * },
654
+ * timeoutNextStep: {
655
+ * dialogAction: "<DialogState>",
656
+ * intent: "<DialogState>",
657
+ * sessionAttributes: "<DialogState>",
658
+ * },
659
+ * timeoutConditional: {
660
+ * active: "<ConditionalSpecification>",
661
+ * conditionalBranches: "<ConditionalSpecification>",
662
+ * defaultBranch: "<ConditionalSpecification>",
663
+ * },
664
+ * },
665
+ * },
666
+ * elicitationCodeHook: {
667
+ * enableCodeHookInvocation: true || false, // required
668
+ * invocationLabel: "STRING_VALUE",
669
+ * },
670
+ * },
671
+ * intentClosingSetting: {
672
+ * closingResponse: {
673
+ * messageGroups: "<ResponseSpecification>",
674
+ * allowInterrupt: "<ResponseSpecification>",
675
+ * },
676
+ * active: true || false,
677
+ * nextStep: {
678
+ * dialogAction: "<DialogState>",
679
+ * intent: "<DialogState>",
680
+ * sessionAttributes: "<DialogState>",
681
+ * },
682
+ * conditional: {
683
+ * active: "<ConditionalSpecification>",
684
+ * conditionalBranches: "<ConditionalSpecification>",
685
+ * defaultBranch: "<ConditionalSpecification>",
686
+ * },
687
+ * },
688
+ * inputContexts: [
689
+ * {
690
+ * name: "STRING_VALUE", // required
691
+ * },
692
+ * ],
693
+ * outputContexts: [
694
+ * {
695
+ * name: "STRING_VALUE", // required
696
+ * timeToLiveInSeconds: Number("int"), // required
697
+ * turnsToLive: Number("int"), // required
698
+ * },
699
+ * ],
700
+ * kendraConfiguration: {
701
+ * kendraIndex: "STRING_VALUE", // required
702
+ * queryFilterStringEnabled: true || false,
703
+ * queryFilterString: "STRING_VALUE",
704
+ * },
705
+ * botId: "STRING_VALUE", // required
706
+ * botVersion: "STRING_VALUE", // required
707
+ * localeId: "STRING_VALUE", // required
708
+ * initialResponseSetting: {
709
+ * initialResponse: {
710
+ * messageGroups: "<ResponseSpecification>",
711
+ * allowInterrupt: "<ResponseSpecification>",
712
+ * },
713
+ * nextStep: {
714
+ * dialogAction: "<DialogState>",
715
+ * intent: "<DialogState>",
716
+ * sessionAttributes: "<DialogState>",
717
+ * },
718
+ * conditional: {
719
+ * active: "<ConditionalSpecification>",
720
+ * conditionalBranches: "<ConditionalSpecification>",
721
+ * defaultBranch: "<ConditionalSpecification>",
722
+ * },
723
+ * codeHook: {
724
+ * enableCodeHookInvocation: true || false, // required
725
+ * active: true || false, // required
726
+ * invocationLabel: "STRING_VALUE",
727
+ * postCodeHookSpecification: {
728
+ * successResponse: {
729
+ * messageGroups: "<ResponseSpecification>",
730
+ * allowInterrupt: "<ResponseSpecification>",
731
+ * },
732
+ * successNextStep: {
733
+ * dialogAction: "<DialogState>",
734
+ * intent: "<DialogState>",
735
+ * sessionAttributes: "<DialogState>",
736
+ * },
737
+ * successConditional: {
738
+ * active: "<ConditionalSpecification>",
739
+ * conditionalBranches: "<ConditionalSpecification>",
740
+ * defaultBranch: "<ConditionalSpecification>",
741
+ * },
742
+ * failureResponse: {
743
+ * messageGroups: "<ResponseSpecification>",
744
+ * allowInterrupt: "<ResponseSpecification>",
745
+ * },
746
+ * failureNextStep: {
747
+ * dialogAction: "<DialogState>",
748
+ * intent: "<DialogState>",
749
+ * sessionAttributes: "<DialogState>",
750
+ * },
751
+ * failureConditional: {
752
+ * active: "<ConditionalSpecification>",
753
+ * conditionalBranches: "<ConditionalSpecification>",
754
+ * defaultBranch: "<ConditionalSpecification>",
755
+ * },
756
+ * timeoutResponse: {
757
+ * messageGroups: "<ResponseSpecification>",
758
+ * allowInterrupt: "<ResponseSpecification>",
759
+ * },
760
+ * timeoutNextStep: {
761
+ * dialogAction: "<DialogState>",
762
+ * intent: "<DialogState>",
763
+ * sessionAttributes: "<DialogState>",
764
+ * },
765
+ * timeoutConditional: {
766
+ * active: "<ConditionalSpecification>",
767
+ * conditionalBranches: "<ConditionalSpecification>",
768
+ * defaultBranch: "<ConditionalSpecification>",
769
+ * },
770
+ * },
771
+ * },
772
+ * },
773
+ * };
66
774
  * const command = new CreateIntentCommand(input);
67
775
  * const response = await client.send(command);
68
776
  * ```