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