@aws-sdk/client-lex-models-v2 3.202.0 → 3.205.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/CHANGELOG.md +22 -0
- package/README.md +7 -7
- package/dist-cjs/LexModelsV2.js +60 -0
- package/dist-cjs/commands/BatchCreateCustomVocabularyItemCommand.js +46 -0
- package/dist-cjs/commands/BatchDeleteCustomVocabularyItemCommand.js +46 -0
- package/dist-cjs/commands/BatchUpdateCustomVocabularyItemCommand.js +46 -0
- package/dist-cjs/commands/ListCustomVocabularyItemsCommand.js +46 -0
- package/dist-cjs/commands/UpdateBotAliasCommand.js +3 -3
- package/dist-cjs/commands/UpdateBotCommand.js +3 -3
- package/dist-cjs/commands/UpdateBotLocaleCommand.js +3 -3
- package/dist-cjs/commands/UpdateBotRecommendationCommand.js +3 -3
- package/dist-cjs/commands/UpdateExportCommand.js +3 -3
- package/dist-cjs/commands/UpdateResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/UpdateSlotTypeCommand.js +1 -2
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +127 -127
- package/dist-cjs/models/models_1.js +58 -1
- package/dist-cjs/pagination/ListCustomVocabularyItemsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +420 -3
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/LexModelsV2.js +60 -0
- package/dist-es/commands/BatchCreateCustomVocabularyItemCommand.js +42 -0
- package/dist-es/commands/BatchDeleteCustomVocabularyItemCommand.js +42 -0
- package/dist-es/commands/BatchUpdateCustomVocabularyItemCommand.js +42 -0
- package/dist-es/commands/ListCustomVocabularyItemsCommand.js +42 -0
- package/dist-es/commands/UpdateBotAliasCommand.js +1 -1
- package/dist-es/commands/UpdateBotCommand.js +1 -1
- package/dist-es/commands/UpdateBotLocaleCommand.js +1 -1
- package/dist-es/commands/UpdateBotRecommendationCommand.js +1 -1
- package/dist-es/commands/UpdateExportCommand.js +1 -1
- package/dist-es/commands/UpdateResourcePolicyCommand.js +1 -1
- package/dist-es/commands/UpdateSlotTypeCommand.js +1 -2
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +104 -103
- package/dist-es/models/models_1.js +44 -0
- package/dist-es/pagination/ListCustomVocabularyItemsPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +409 -0
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/LexModelsV2.d.ts +34 -1
- package/dist-types/LexModelsV2Client.d.ts +6 -2
- package/dist-types/commands/BatchCreateCustomVocabularyItemCommand.d.ts +38 -0
- package/dist-types/commands/BatchDeleteCustomVocabularyItemCommand.d.ts +38 -0
- package/dist-types/commands/BatchUpdateCustomVocabularyItemCommand.d.ts +38 -0
- package/dist-types/commands/ListCustomVocabularyItemsCommand.d.ts +38 -0
- package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +2 -1
- package/dist-types/commands/UpdateBotAliasCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBotCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBotLocaleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateExportCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSlotTypeCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +409 -599
- package/dist-types/models/models_1.d.ts +525 -1
- package/dist-types/pagination/ListCustomVocabularyItemsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/LexModelsV2.d.ts +68 -0
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +24 -0
- package/dist-types/ts3.4/commands/BatchCreateCustomVocabularyItemCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/BatchDeleteCustomVocabularyItemCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/BatchUpdateCustomVocabularyItemCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListCustomVocabularyItemsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateBotAliasCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateBotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateBotLocaleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateBotRecommendationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateExportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateResourcePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSlotTypeCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +150 -191
- package/dist-types/ts3.4/models/models_1.d.ts +169 -0
- package/dist-types/ts3.4/pagination/ListCustomVocabularyItemsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +5 -4
|
@@ -254,6 +254,298 @@ export interface AudioLogSetting {
|
|
|
254
254
|
*/
|
|
255
255
|
destination: AudioLogDestination | undefined;
|
|
256
256
|
}
|
|
257
|
+
/**
|
|
258
|
+
* <p>The new custom vocabulary item from the custom
|
|
259
|
+
* vocabulary list.</p>
|
|
260
|
+
*/
|
|
261
|
+
export interface NewCustomVocabularyItem {
|
|
262
|
+
/**
|
|
263
|
+
* <p>The unique phrase for the new custom vocabulary item from the custom
|
|
264
|
+
* vocabulary list.</p>
|
|
265
|
+
*/
|
|
266
|
+
phrase: string | undefined;
|
|
267
|
+
/**
|
|
268
|
+
* <p>The weight assigned to the new custom vocabulary item from the custom
|
|
269
|
+
* vocabulary list.</p>
|
|
270
|
+
*/
|
|
271
|
+
weight?: number;
|
|
272
|
+
/**
|
|
273
|
+
* <p>The display as value assigned to the new custom vocabulary item from the custom
|
|
274
|
+
* vocabulary list.</p>
|
|
275
|
+
*/
|
|
276
|
+
displayAs?: string;
|
|
277
|
+
}
|
|
278
|
+
export interface BatchCreateCustomVocabularyItemRequest {
|
|
279
|
+
/**
|
|
280
|
+
* <p>The unique identifier of the bot to batch create the custom
|
|
281
|
+
* vocabulary item for.</p>
|
|
282
|
+
*/
|
|
283
|
+
botId: string | undefined;
|
|
284
|
+
/**
|
|
285
|
+
* <p>The bot version of the bot to batch create the custom
|
|
286
|
+
* vocabulary item for.</p>
|
|
287
|
+
*/
|
|
288
|
+
botVersion: string | undefined;
|
|
289
|
+
/**
|
|
290
|
+
* <p>The unique locale identifier of the bot to batch create the custom
|
|
291
|
+
* vocabulary item for.</p>
|
|
292
|
+
*/
|
|
293
|
+
localeId: string | undefined;
|
|
294
|
+
/**
|
|
295
|
+
* <p>The custom vocabulary item list of the bot to batch create the custom
|
|
296
|
+
* vocabulary item for.</p>
|
|
297
|
+
*/
|
|
298
|
+
customVocabularyItemList: NewCustomVocabularyItem[] | undefined;
|
|
299
|
+
}
|
|
300
|
+
export declare enum ErrorCode {
|
|
301
|
+
DUPLICATE_INPUT = "DUPLICATE_INPUT",
|
|
302
|
+
INTERNAL_SERVER_FAILURE = "INTERNAL_SERVER_FAILURE",
|
|
303
|
+
RESOURCE_ALREADY_EXISTS = "RESOURCE_ALREADY_EXISTS",
|
|
304
|
+
RESOURCE_DOES_NOT_EXIST = "RESOURCE_DOES_NOT_EXIST"
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* <p>The unique failed custom vocabulary item from the custom
|
|
308
|
+
* vocabulary list.</p>
|
|
309
|
+
*/
|
|
310
|
+
export interface FailedCustomVocabularyItem {
|
|
311
|
+
/**
|
|
312
|
+
* <p>The unique item identifer for the failed custom vocabulary item
|
|
313
|
+
* from the custom vocabulary list.</p>
|
|
314
|
+
*/
|
|
315
|
+
itemId?: string;
|
|
316
|
+
/**
|
|
317
|
+
* <p>The error message for the failed custom vocabulary item
|
|
318
|
+
* from the custom vocabulary list.</p>
|
|
319
|
+
*/
|
|
320
|
+
errorMessage?: string;
|
|
321
|
+
/**
|
|
322
|
+
* <p>The unique error code for the failed custom vocabulary item
|
|
323
|
+
* from the custom vocabulary list.</p>
|
|
324
|
+
*/
|
|
325
|
+
errorCode?: ErrorCode | string;
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* <p>The unique custom vocabulary item from the custom
|
|
329
|
+
* vocabulary list.</p>
|
|
330
|
+
*/
|
|
331
|
+
export interface CustomVocabularyItem {
|
|
332
|
+
/**
|
|
333
|
+
* <p>The unique item identifer for the custom vocabulary item
|
|
334
|
+
* from the custom vocabulary list.</p>
|
|
335
|
+
*/
|
|
336
|
+
itemId: string | undefined;
|
|
337
|
+
/**
|
|
338
|
+
* <p>The unique phrase for the custom vocabulary item
|
|
339
|
+
* from the custom vocabulary list.</p>
|
|
340
|
+
*/
|
|
341
|
+
phrase: string | undefined;
|
|
342
|
+
/**
|
|
343
|
+
* <p>The weight assigned for the custom vocabulary item
|
|
344
|
+
* from the custom vocabulary list.</p>
|
|
345
|
+
*/
|
|
346
|
+
weight?: number;
|
|
347
|
+
/**
|
|
348
|
+
* <p>The display as value for the custom vocabulary item
|
|
349
|
+
* from the custom vocabulary list.</p>
|
|
350
|
+
*/
|
|
351
|
+
displayAs?: string;
|
|
352
|
+
}
|
|
353
|
+
export interface BatchCreateCustomVocabularyItemResponse {
|
|
354
|
+
/**
|
|
355
|
+
* <p>The unique identifier of the bot to batch create response for the custom
|
|
356
|
+
* vocabulary item.</p>
|
|
357
|
+
*/
|
|
358
|
+
botId?: string;
|
|
359
|
+
/**
|
|
360
|
+
* <p>The bot version of the bot to batch create the custom
|
|
361
|
+
* vocabulary item response for.</p>
|
|
362
|
+
*/
|
|
363
|
+
botVersion?: string;
|
|
364
|
+
/**
|
|
365
|
+
* <p>The unique locale identifier of the bot to batch create the custom
|
|
366
|
+
* vocabulary item response for.</p>
|
|
367
|
+
*/
|
|
368
|
+
localeId?: string;
|
|
369
|
+
/**
|
|
370
|
+
* <p>The errors of the action to batch create the custom
|
|
371
|
+
* vocabulary item response for a bot.</p>
|
|
372
|
+
*/
|
|
373
|
+
errors?: FailedCustomVocabularyItem[];
|
|
374
|
+
/**
|
|
375
|
+
* <p>The resources of the action to batch create the custom
|
|
376
|
+
* vocabulary item response for a bot.</p>
|
|
377
|
+
*/
|
|
378
|
+
resources?: CustomVocabularyItem[];
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* <p>The service encountered an unexpected condition. Try your request
|
|
382
|
+
* again.</p>
|
|
383
|
+
*/
|
|
384
|
+
export declare class InternalServerException extends __BaseException {
|
|
385
|
+
readonly name: "InternalServerException";
|
|
386
|
+
readonly $fault: "server";
|
|
387
|
+
/**
|
|
388
|
+
* @internal
|
|
389
|
+
*/
|
|
390
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* <p>You asked to describe a resource that doesn't exist. Check the
|
|
394
|
+
* resource that you are requesting and try again.</p>
|
|
395
|
+
*/
|
|
396
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
397
|
+
readonly name: "ResourceNotFoundException";
|
|
398
|
+
readonly $fault: "client";
|
|
399
|
+
/**
|
|
400
|
+
* @internal
|
|
401
|
+
*/
|
|
402
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* <p>You have reached a quota for your bot. </p>
|
|
406
|
+
*/
|
|
407
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
408
|
+
readonly name: "ServiceQuotaExceededException";
|
|
409
|
+
readonly $fault: "client";
|
|
410
|
+
/**
|
|
411
|
+
* @internal
|
|
412
|
+
*/
|
|
413
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* <p>Your request rate is too high. Reduce the frequency of
|
|
417
|
+
* requests.</p>
|
|
418
|
+
*/
|
|
419
|
+
export declare class ThrottlingException extends __BaseException {
|
|
420
|
+
readonly name: "ThrottlingException";
|
|
421
|
+
readonly $fault: "client";
|
|
422
|
+
retryAfterSeconds?: number;
|
|
423
|
+
/**
|
|
424
|
+
* @internal
|
|
425
|
+
*/
|
|
426
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
427
|
+
}
|
|
428
|
+
/**
|
|
429
|
+
* <p>One of the input parameters in your request isn't valid. Check the
|
|
430
|
+
* parameters and try your request again.</p>
|
|
431
|
+
*/
|
|
432
|
+
export declare class ValidationException extends __BaseException {
|
|
433
|
+
readonly name: "ValidationException";
|
|
434
|
+
readonly $fault: "client";
|
|
435
|
+
/**
|
|
436
|
+
* @internal
|
|
437
|
+
*/
|
|
438
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* <p>The unique entry identifier for the custom vocabulary
|
|
442
|
+
* items.</p>
|
|
443
|
+
*/
|
|
444
|
+
export interface CustomVocabularyEntryId {
|
|
445
|
+
/**
|
|
446
|
+
* <p>The unique item identifier for the custom vocabulary
|
|
447
|
+
* items.</p>
|
|
448
|
+
*/
|
|
449
|
+
itemId: string | undefined;
|
|
450
|
+
}
|
|
451
|
+
export interface BatchDeleteCustomVocabularyItemRequest {
|
|
452
|
+
/**
|
|
453
|
+
* <p>The unique identifier of the bot to batch delete request for the custom
|
|
454
|
+
* vocabulary item.</p>
|
|
455
|
+
*/
|
|
456
|
+
botId: string | undefined;
|
|
457
|
+
/**
|
|
458
|
+
* <p>The version of the bot to batch delete request for the custom
|
|
459
|
+
* vocabulary item.</p>
|
|
460
|
+
*/
|
|
461
|
+
botVersion: string | undefined;
|
|
462
|
+
/**
|
|
463
|
+
* <p>The locale identifier of the bot to batch delete request for the custom
|
|
464
|
+
* vocabulary item.</p>
|
|
465
|
+
*/
|
|
466
|
+
localeId: string | undefined;
|
|
467
|
+
/**
|
|
468
|
+
* <p>The custom vocabulary list to batch delete request for the custom
|
|
469
|
+
* vocabulary item.</p>
|
|
470
|
+
*/
|
|
471
|
+
customVocabularyItemList: CustomVocabularyEntryId[] | undefined;
|
|
472
|
+
}
|
|
473
|
+
export interface BatchDeleteCustomVocabularyItemResponse {
|
|
474
|
+
/**
|
|
475
|
+
* <p>The unique identifier of the bot to batch delete response for the custom
|
|
476
|
+
* vocabulary item.</p>
|
|
477
|
+
*/
|
|
478
|
+
botId?: string;
|
|
479
|
+
/**
|
|
480
|
+
* <p>The version of the bot to batch delete response for the custom
|
|
481
|
+
* vocabulary item.</p>
|
|
482
|
+
*/
|
|
483
|
+
botVersion?: string;
|
|
484
|
+
/**
|
|
485
|
+
* <p>The locale identifier of the bot to batch delete response for the custom
|
|
486
|
+
* vocabulary item.</p>
|
|
487
|
+
*/
|
|
488
|
+
localeId?: string;
|
|
489
|
+
/**
|
|
490
|
+
* <p>The errors of the action to batch delete response for the custom
|
|
491
|
+
* vocabulary item.</p>
|
|
492
|
+
*/
|
|
493
|
+
errors?: FailedCustomVocabularyItem[];
|
|
494
|
+
/**
|
|
495
|
+
* <p>The resources of the action to batch delete response for the custom
|
|
496
|
+
* vocabulary item.</p>
|
|
497
|
+
*/
|
|
498
|
+
resources?: CustomVocabularyItem[];
|
|
499
|
+
}
|
|
500
|
+
export interface BatchUpdateCustomVocabularyItemRequest {
|
|
501
|
+
/**
|
|
502
|
+
* <p>The unique identifier of the bot to the batch update request for the custom
|
|
503
|
+
* vocabulary item.</p>
|
|
504
|
+
*/
|
|
505
|
+
botId: string | undefined;
|
|
506
|
+
/**
|
|
507
|
+
* <p>The bot version of the bot to the batch update request for the custom
|
|
508
|
+
* vocabulary item.</p>
|
|
509
|
+
*/
|
|
510
|
+
botVersion: string | undefined;
|
|
511
|
+
/**
|
|
512
|
+
* <p>The locale identifier of the bot to the batch update request for the custom
|
|
513
|
+
* vocabulary item.</p>
|
|
514
|
+
*/
|
|
515
|
+
localeId: string | undefined;
|
|
516
|
+
/**
|
|
517
|
+
* <p>The custom vocabulary item list of the bot to the batch update request for the custom
|
|
518
|
+
* vocabulary item.</p>
|
|
519
|
+
*/
|
|
520
|
+
customVocabularyItemList: CustomVocabularyItem[] | undefined;
|
|
521
|
+
}
|
|
522
|
+
export interface BatchUpdateCustomVocabularyItemResponse {
|
|
523
|
+
/**
|
|
524
|
+
* <p>The unique identifier of the bot to the batch update response for the custom
|
|
525
|
+
* vocabulary item.</p>
|
|
526
|
+
*/
|
|
527
|
+
botId?: string;
|
|
528
|
+
/**
|
|
529
|
+
* <p>The bot version of the bot to the batch update response for the custom
|
|
530
|
+
* vocabulary item.</p>
|
|
531
|
+
*/
|
|
532
|
+
botVersion?: string;
|
|
533
|
+
/**
|
|
534
|
+
* <p>The locale identifier of the bot to the batch update response for the custom
|
|
535
|
+
* vocabulary item.</p>
|
|
536
|
+
*/
|
|
537
|
+
localeId?: string;
|
|
538
|
+
/**
|
|
539
|
+
* <p>The errors of the action to batch update response for the custom
|
|
540
|
+
* vocabulary item.</p>
|
|
541
|
+
*/
|
|
542
|
+
errors?: FailedCustomVocabularyItem[];
|
|
543
|
+
/**
|
|
544
|
+
* <p>The resources of the action to batch update response for the custom
|
|
545
|
+
* vocabulary item.</p>
|
|
546
|
+
*/
|
|
547
|
+
resources?: CustomVocabularyItem[];
|
|
548
|
+
}
|
|
257
549
|
/**
|
|
258
550
|
* <p>Provides a record of an event that affects a bot alias. For example,
|
|
259
551
|
* when the version of a bot that the alias points to changes.</p>
|
|
@@ -957,18 +1249,6 @@ export declare class ConflictException extends __BaseException {
|
|
|
957
1249
|
*/
|
|
958
1250
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
959
1251
|
}
|
|
960
|
-
/**
|
|
961
|
-
* <p>The service encountered an unexpected condition. Try your request
|
|
962
|
-
* again.</p>
|
|
963
|
-
*/
|
|
964
|
-
export declare class InternalServerException extends __BaseException {
|
|
965
|
-
readonly name: "InternalServerException";
|
|
966
|
-
readonly $fault: "server";
|
|
967
|
-
/**
|
|
968
|
-
* @internal
|
|
969
|
-
*/
|
|
970
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
971
|
-
}
|
|
972
1252
|
/**
|
|
973
1253
|
* <p>Your request couldn't be completed because one or more request
|
|
974
1254
|
* fields aren't valid. Check the fields in your request and try
|
|
@@ -982,42 +1262,6 @@ export declare class PreconditionFailedException extends __BaseException {
|
|
|
982
1262
|
*/
|
|
983
1263
|
constructor(opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>);
|
|
984
1264
|
}
|
|
985
|
-
/**
|
|
986
|
-
* <p>You have reached a quota for your bot. </p>
|
|
987
|
-
*/
|
|
988
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
989
|
-
readonly name: "ServiceQuotaExceededException";
|
|
990
|
-
readonly $fault: "client";
|
|
991
|
-
/**
|
|
992
|
-
* @internal
|
|
993
|
-
*/
|
|
994
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
995
|
-
}
|
|
996
|
-
/**
|
|
997
|
-
* <p>Your request rate is too high. Reduce the frequency of
|
|
998
|
-
* requests.</p>
|
|
999
|
-
*/
|
|
1000
|
-
export declare class ThrottlingException extends __BaseException {
|
|
1001
|
-
readonly name: "ThrottlingException";
|
|
1002
|
-
readonly $fault: "client";
|
|
1003
|
-
retryAfterSeconds?: number;
|
|
1004
|
-
/**
|
|
1005
|
-
* @internal
|
|
1006
|
-
*/
|
|
1007
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
1008
|
-
}
|
|
1009
|
-
/**
|
|
1010
|
-
* <p>One of the input parameters in your request isn't valid. Check the
|
|
1011
|
-
* parameters and try your request again.</p>
|
|
1012
|
-
*/
|
|
1013
|
-
export declare class ValidationException extends __BaseException {
|
|
1014
|
-
readonly name: "ValidationException";
|
|
1015
|
-
readonly $fault: "client";
|
|
1016
|
-
/**
|
|
1017
|
-
* @internal
|
|
1018
|
-
*/
|
|
1019
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
1020
|
-
}
|
|
1021
1265
|
export declare enum BuiltInIntentSortAttribute {
|
|
1022
1266
|
IntentSignature = "IntentSignature"
|
|
1023
1267
|
}
|
|
@@ -1797,18 +2041,6 @@ export interface CreateExportResponse {
|
|
|
1797
2041
|
*/
|
|
1798
2042
|
creationDateTime?: Date;
|
|
1799
2043
|
}
|
|
1800
|
-
/**
|
|
1801
|
-
* <p>You asked to describe a resource that doesn't exist. Check the
|
|
1802
|
-
* resource that you are requesting and try again.</p>
|
|
1803
|
-
*/
|
|
1804
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
1805
|
-
readonly name: "ResourceNotFoundException";
|
|
1806
|
-
readonly $fault: "client";
|
|
1807
|
-
/**
|
|
1808
|
-
* @internal
|
|
1809
|
-
*/
|
|
1810
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
1811
|
-
}
|
|
1812
2044
|
/**
|
|
1813
2045
|
* <p>Settings that determine the Lambda function that Amazon Lex uses for
|
|
1814
2046
|
* processing user responses.</p>
|
|
@@ -4624,30 +4856,84 @@ export interface ListBuiltInSlotTypesResponse {
|
|
|
4624
4856
|
*/
|
|
4625
4857
|
localeId?: string;
|
|
4626
4858
|
}
|
|
4627
|
-
export interface
|
|
4859
|
+
export interface ListCustomVocabularyItemsRequest {
|
|
4628
4860
|
/**
|
|
4629
|
-
* <p>The unique identifier
|
|
4861
|
+
* <p>The unique identifier of the bot to the list custom vocabulary
|
|
4862
|
+
* request.</p>
|
|
4630
4863
|
*/
|
|
4631
|
-
botId
|
|
4864
|
+
botId: string | undefined;
|
|
4632
4865
|
/**
|
|
4633
|
-
* <p>The version of the bot to list
|
|
4866
|
+
* <p>The bot version of the bot to the list custom vocabulary
|
|
4867
|
+
* request.</p>
|
|
4634
4868
|
*/
|
|
4635
|
-
botVersion
|
|
4869
|
+
botVersion: string | undefined;
|
|
4636
4870
|
/**
|
|
4637
|
-
* <p>
|
|
4638
|
-
*
|
|
4639
|
-
* descending order.</p>
|
|
4871
|
+
* <p>The locale identifier of the bot to the list custom vocabulary
|
|
4872
|
+
* request.</p>
|
|
4640
4873
|
*/
|
|
4641
|
-
|
|
4874
|
+
localeId: string | undefined;
|
|
4642
4875
|
/**
|
|
4643
|
-
* <p>
|
|
4644
|
-
*
|
|
4645
|
-
* only specify one filter and one string to filter on.</p>
|
|
4876
|
+
* <p>The maximum results to the list custom vocabulary
|
|
4877
|
+
* request.</p>
|
|
4646
4878
|
*/
|
|
4647
|
-
|
|
4879
|
+
maxResults?: number;
|
|
4648
4880
|
/**
|
|
4649
|
-
* <p>The
|
|
4650
|
-
*
|
|
4881
|
+
* <p>The nextToken identifier to the list custom vocabulary
|
|
4882
|
+
* request.</p>
|
|
4883
|
+
*/
|
|
4884
|
+
nextToken?: string;
|
|
4885
|
+
}
|
|
4886
|
+
export interface ListCustomVocabularyItemsResponse {
|
|
4887
|
+
/**
|
|
4888
|
+
* <p>The unique identifier of the bot to the list custom vocabulary
|
|
4889
|
+
* response.</p>
|
|
4890
|
+
*/
|
|
4891
|
+
botId?: string;
|
|
4892
|
+
/**
|
|
4893
|
+
* <p>The bot version of the bot to the list custom vocabulary
|
|
4894
|
+
* response.</p>
|
|
4895
|
+
*/
|
|
4896
|
+
botVersion?: string;
|
|
4897
|
+
/**
|
|
4898
|
+
* <p>The locale identifier of the bot to the list custom vocabulary
|
|
4899
|
+
* response.</p>
|
|
4900
|
+
*/
|
|
4901
|
+
localeId?: string;
|
|
4902
|
+
/**
|
|
4903
|
+
* <p>The custom vocabulary items from the list custom vocabulary
|
|
4904
|
+
* response.</p>
|
|
4905
|
+
*/
|
|
4906
|
+
customVocabularyItems?: CustomVocabularyItem[];
|
|
4907
|
+
/**
|
|
4908
|
+
* <p>The nextToken identifier to the list custom vocabulary
|
|
4909
|
+
* response.</p>
|
|
4910
|
+
*/
|
|
4911
|
+
nextToken?: string;
|
|
4912
|
+
}
|
|
4913
|
+
export interface ListExportsRequest {
|
|
4914
|
+
/**
|
|
4915
|
+
* <p>The unique identifier that Amazon Lex assigned to the bot.</p>
|
|
4916
|
+
*/
|
|
4917
|
+
botId?: string;
|
|
4918
|
+
/**
|
|
4919
|
+
* <p>The version of the bot to list exports for. </p>
|
|
4920
|
+
*/
|
|
4921
|
+
botVersion?: string;
|
|
4922
|
+
/**
|
|
4923
|
+
* <p>Determines the field that the list of exports is sorted by. You can
|
|
4924
|
+
* sort by the <code>LastUpdatedDateTime</code> field in ascending or
|
|
4925
|
+
* descending order.</p>
|
|
4926
|
+
*/
|
|
4927
|
+
sortBy?: ExportSortBy;
|
|
4928
|
+
/**
|
|
4929
|
+
* <p>Provides the specification of a filter used to limit the exports in
|
|
4930
|
+
* the response to only those that match the filter specification. You can
|
|
4931
|
+
* only specify one filter and one string to filter on.</p>
|
|
4932
|
+
*/
|
|
4933
|
+
filters?: ExportFilter[];
|
|
4934
|
+
/**
|
|
4935
|
+
* <p>The maximum number of exports to return in each page of results. If
|
|
4936
|
+
* there are fewer results than the max page size, only the actual number
|
|
4651
4937
|
* of results are returned.</p>
|
|
4652
4938
|
*/
|
|
4653
4939
|
maxResults?: number;
|
|
@@ -5597,478 +5883,6 @@ export interface UntagResourceRequest {
|
|
|
5597
5883
|
}
|
|
5598
5884
|
export interface UntagResourceResponse {
|
|
5599
5885
|
}
|
|
5600
|
-
export interface UpdateBotRequest {
|
|
5601
|
-
/**
|
|
5602
|
-
* <p>The unique identifier of the bot to update. This identifier is
|
|
5603
|
-
* returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html">CreateBot</a> operation.</p>
|
|
5604
|
-
*/
|
|
5605
|
-
botId: string | undefined;
|
|
5606
|
-
/**
|
|
5607
|
-
* <p>The new name of the bot. The name must be unique in the account that
|
|
5608
|
-
* creates the bot.</p>
|
|
5609
|
-
*/
|
|
5610
|
-
botName: string | undefined;
|
|
5611
|
-
/**
|
|
5612
|
-
* <p>A description of the bot.</p>
|
|
5613
|
-
*/
|
|
5614
|
-
description?: string;
|
|
5615
|
-
/**
|
|
5616
|
-
* <p>The Amazon Resource Name (ARN) of an IAM role that has permissions
|
|
5617
|
-
* to access the bot.</p>
|
|
5618
|
-
*/
|
|
5619
|
-
roleArn: string | undefined;
|
|
5620
|
-
/**
|
|
5621
|
-
* <p>Provides information on additional privacy protections Amazon Lex should
|
|
5622
|
-
* use with the bot's data.</p>
|
|
5623
|
-
*/
|
|
5624
|
-
dataPrivacy: DataPrivacy | undefined;
|
|
5625
|
-
/**
|
|
5626
|
-
* <p>The time, in seconds, that Amazon Lex should keep information about a
|
|
5627
|
-
* user's conversation with the bot.</p>
|
|
5628
|
-
* <p>A user interaction remains active for the amount of time specified.
|
|
5629
|
-
* If no conversation occurs during this time, the session expires and
|
|
5630
|
-
* Amazon Lex deletes any data provided before the timeout.</p>
|
|
5631
|
-
* <p>You can specify between 60 (1 minute) and 86,400 (24 hours)
|
|
5632
|
-
* seconds.</p>
|
|
5633
|
-
*/
|
|
5634
|
-
idleSessionTTLInSeconds: number | undefined;
|
|
5635
|
-
}
|
|
5636
|
-
export interface UpdateBotResponse {
|
|
5637
|
-
/**
|
|
5638
|
-
* <p>The unique identifier of the bot that was updated.</p>
|
|
5639
|
-
*/
|
|
5640
|
-
botId?: string;
|
|
5641
|
-
/**
|
|
5642
|
-
* <p>The name of the bot after the update.</p>
|
|
5643
|
-
*/
|
|
5644
|
-
botName?: string;
|
|
5645
|
-
/**
|
|
5646
|
-
* <p>The description of the bot after the update.</p>
|
|
5647
|
-
*/
|
|
5648
|
-
description?: string;
|
|
5649
|
-
/**
|
|
5650
|
-
* <p>The Amazon Resource Name (ARN) of the IAM role used by the bot after
|
|
5651
|
-
* the update.</p>
|
|
5652
|
-
*/
|
|
5653
|
-
roleArn?: string;
|
|
5654
|
-
/**
|
|
5655
|
-
* <p>The data privacy settings for the bot after the update.</p>
|
|
5656
|
-
*/
|
|
5657
|
-
dataPrivacy?: DataPrivacy;
|
|
5658
|
-
/**
|
|
5659
|
-
* <p>The session timeout, in seconds, for the bot after the
|
|
5660
|
-
* update.</p>
|
|
5661
|
-
*/
|
|
5662
|
-
idleSessionTTLInSeconds?: number;
|
|
5663
|
-
/**
|
|
5664
|
-
* <p>Shows the current status of the bot. The bot is first in the
|
|
5665
|
-
* <code>Creating</code> status. Once the bot is read for use, it
|
|
5666
|
-
* changes to the <code>Available</code> status. After the bot is created,
|
|
5667
|
-
* you can use the <code>DRAFT</code> version of the bot.</p>
|
|
5668
|
-
*/
|
|
5669
|
-
botStatus?: BotStatus | string;
|
|
5670
|
-
/**
|
|
5671
|
-
* <p>A timestamp of the date and time that the bot was created.</p>
|
|
5672
|
-
*/
|
|
5673
|
-
creationDateTime?: Date;
|
|
5674
|
-
/**
|
|
5675
|
-
* <p>A timestamp of the date and time that the bot was last
|
|
5676
|
-
* updated.</p>
|
|
5677
|
-
*/
|
|
5678
|
-
lastUpdatedDateTime?: Date;
|
|
5679
|
-
}
|
|
5680
|
-
export interface UpdateBotAliasRequest {
|
|
5681
|
-
/**
|
|
5682
|
-
* <p>The unique identifier of the bot alias.</p>
|
|
5683
|
-
*/
|
|
5684
|
-
botAliasId: string | undefined;
|
|
5685
|
-
/**
|
|
5686
|
-
* <p>The new name to assign to the bot alias.</p>
|
|
5687
|
-
*/
|
|
5688
|
-
botAliasName: string | undefined;
|
|
5689
|
-
/**
|
|
5690
|
-
* <p>The new description to assign to the bot alias.</p>
|
|
5691
|
-
*/
|
|
5692
|
-
description?: string;
|
|
5693
|
-
/**
|
|
5694
|
-
* <p>The new bot version to assign to the bot alias.</p>
|
|
5695
|
-
*/
|
|
5696
|
-
botVersion?: string;
|
|
5697
|
-
/**
|
|
5698
|
-
* <p>The new Lambda functions to use in each locale for the bot
|
|
5699
|
-
* alias.</p>
|
|
5700
|
-
*/
|
|
5701
|
-
botAliasLocaleSettings?: Record<string, BotAliasLocaleSettings>;
|
|
5702
|
-
/**
|
|
5703
|
-
* <p>The new settings for storing conversation logs in Amazon CloudWatch Logs and
|
|
5704
|
-
* Amazon S3 buckets.</p>
|
|
5705
|
-
*/
|
|
5706
|
-
conversationLogSettings?: ConversationLogSettings;
|
|
5707
|
-
/**
|
|
5708
|
-
* <p>Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of
|
|
5709
|
-
* user utterances.</p>
|
|
5710
|
-
*/
|
|
5711
|
-
sentimentAnalysisSettings?: SentimentAnalysisSettings;
|
|
5712
|
-
/**
|
|
5713
|
-
* <p>The identifier of the bot with the updated alias.</p>
|
|
5714
|
-
*/
|
|
5715
|
-
botId: string | undefined;
|
|
5716
|
-
}
|
|
5717
|
-
export interface UpdateBotAliasResponse {
|
|
5718
|
-
/**
|
|
5719
|
-
* <p>The identifier of the updated bot alias.</p>
|
|
5720
|
-
*/
|
|
5721
|
-
botAliasId?: string;
|
|
5722
|
-
/**
|
|
5723
|
-
* <p>The updated name of the bot alias.</p>
|
|
5724
|
-
*/
|
|
5725
|
-
botAliasName?: string;
|
|
5726
|
-
/**
|
|
5727
|
-
* <p>The updated description of the bot alias.</p>
|
|
5728
|
-
*/
|
|
5729
|
-
description?: string;
|
|
5730
|
-
/**
|
|
5731
|
-
* <p>The updated version of the bot that the alias points to.</p>
|
|
5732
|
-
*/
|
|
5733
|
-
botVersion?: string;
|
|
5734
|
-
/**
|
|
5735
|
-
* <p>The updated Lambda functions to use in each locale for the bot
|
|
5736
|
-
* alias.</p>
|
|
5737
|
-
*/
|
|
5738
|
-
botAliasLocaleSettings?: Record<string, BotAliasLocaleSettings>;
|
|
5739
|
-
/**
|
|
5740
|
-
* <p>The updated settings for storing conversation logs in Amazon CloudWatch Logs and
|
|
5741
|
-
* Amazon S3 buckets.</p>
|
|
5742
|
-
*/
|
|
5743
|
-
conversationLogSettings?: ConversationLogSettings;
|
|
5744
|
-
/**
|
|
5745
|
-
* <p>Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of
|
|
5746
|
-
* user utterances.</p>
|
|
5747
|
-
*/
|
|
5748
|
-
sentimentAnalysisSettings?: SentimentAnalysisSettings;
|
|
5749
|
-
/**
|
|
5750
|
-
* <p>The current status of the bot alias. When the status is
|
|
5751
|
-
* <code>Available</code> the alias is ready for use.</p>
|
|
5752
|
-
*/
|
|
5753
|
-
botAliasStatus?: BotAliasStatus | string;
|
|
5754
|
-
/**
|
|
5755
|
-
* <p>The identifier of the bot with the updated alias.</p>
|
|
5756
|
-
*/
|
|
5757
|
-
botId?: string;
|
|
5758
|
-
/**
|
|
5759
|
-
* <p>A timestamp of the date and time that the bot was created.</p>
|
|
5760
|
-
*/
|
|
5761
|
-
creationDateTime?: Date;
|
|
5762
|
-
/**
|
|
5763
|
-
* <p>A timestamp of the date and time that the bot was last
|
|
5764
|
-
* updated.</p>
|
|
5765
|
-
*/
|
|
5766
|
-
lastUpdatedDateTime?: Date;
|
|
5767
|
-
}
|
|
5768
|
-
export interface UpdateBotLocaleRequest {
|
|
5769
|
-
/**
|
|
5770
|
-
* <p>The unique identifier of the bot that contains the locale.</p>
|
|
5771
|
-
*/
|
|
5772
|
-
botId: string | undefined;
|
|
5773
|
-
/**
|
|
5774
|
-
* <p>The version of the bot that contains the locale to be updated. The
|
|
5775
|
-
* version can only be the <code>DRAFT</code> version.</p>
|
|
5776
|
-
*/
|
|
5777
|
-
botVersion: string | undefined;
|
|
5778
|
-
/**
|
|
5779
|
-
* <p>The identifier of the language and locale to update. The string must
|
|
5780
|
-
* match one of the supported locales. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
5781
|
-
*/
|
|
5782
|
-
localeId: string | undefined;
|
|
5783
|
-
/**
|
|
5784
|
-
* <p>The new description of the locale.</p>
|
|
5785
|
-
*/
|
|
5786
|
-
description?: string;
|
|
5787
|
-
/**
|
|
5788
|
-
* <p>The new confidence threshold where Amazon Lex inserts the
|
|
5789
|
-
* <code>AMAZON.FallbackIntent</code> and
|
|
5790
|
-
* <code>AMAZON.KendraSearchIntent</code> intents in the list of
|
|
5791
|
-
* possible intents for an utterance.</p>
|
|
5792
|
-
*/
|
|
5793
|
-
nluIntentConfidenceThreshold: number | undefined;
|
|
5794
|
-
/**
|
|
5795
|
-
* <p>The new Amazon Polly voice Amazon Lex should use for voice interaction with the
|
|
5796
|
-
* user.</p>
|
|
5797
|
-
*/
|
|
5798
|
-
voiceSettings?: VoiceSettings;
|
|
5799
|
-
}
|
|
5800
|
-
export interface UpdateBotLocaleResponse {
|
|
5801
|
-
/**
|
|
5802
|
-
* <p>The identifier of the bot that contains the updated locale.</p>
|
|
5803
|
-
*/
|
|
5804
|
-
botId?: string;
|
|
5805
|
-
/**
|
|
5806
|
-
* <p>The version of the bot that contains the updated locale.</p>
|
|
5807
|
-
*/
|
|
5808
|
-
botVersion?: string;
|
|
5809
|
-
/**
|
|
5810
|
-
* <p>The language and locale of the updated bot locale.</p>
|
|
5811
|
-
*/
|
|
5812
|
-
localeId?: string;
|
|
5813
|
-
/**
|
|
5814
|
-
* <p>The updated locale name for the locale.</p>
|
|
5815
|
-
*/
|
|
5816
|
-
localeName?: string;
|
|
5817
|
-
/**
|
|
5818
|
-
* <p>The updated description of the locale.</p>
|
|
5819
|
-
*/
|
|
5820
|
-
description?: string;
|
|
5821
|
-
/**
|
|
5822
|
-
* <p>The updated confidence threshold for inserting the
|
|
5823
|
-
* <code>AMAZON.FallbackIntent</code> and
|
|
5824
|
-
* <code>AMAZON.KendraSearchIntent</code> intents in the list of
|
|
5825
|
-
* possible intents for an utterance.</p>
|
|
5826
|
-
*/
|
|
5827
|
-
nluIntentConfidenceThreshold?: number;
|
|
5828
|
-
/**
|
|
5829
|
-
* <p>The updated Amazon Polly voice to use for voice interaction with the
|
|
5830
|
-
* user.</p>
|
|
5831
|
-
*/
|
|
5832
|
-
voiceSettings?: VoiceSettings;
|
|
5833
|
-
/**
|
|
5834
|
-
* <p>The current status of the locale. When the bot status is
|
|
5835
|
-
* <code>Built</code> the locale is ready for use.</p>
|
|
5836
|
-
*/
|
|
5837
|
-
botLocaleStatus?: BotLocaleStatus | string;
|
|
5838
|
-
/**
|
|
5839
|
-
* <p>If the <code>botLocaleStatus</code> is <code>Failed</code>, the
|
|
5840
|
-
* <code>failureReasons</code> field lists the errors that occurred
|
|
5841
|
-
* while building the bot.</p>
|
|
5842
|
-
*/
|
|
5843
|
-
failureReasons?: string[];
|
|
5844
|
-
/**
|
|
5845
|
-
* <p>A timestamp of the date and time that the locale was created.</p>
|
|
5846
|
-
*/
|
|
5847
|
-
creationDateTime?: Date;
|
|
5848
|
-
/**
|
|
5849
|
-
* <p>A timestamp of the date and time that the locale was last
|
|
5850
|
-
* updated.</p>
|
|
5851
|
-
*/
|
|
5852
|
-
lastUpdatedDateTime?: Date;
|
|
5853
|
-
/**
|
|
5854
|
-
* <p>Recommended actions to take to resolve an error in the
|
|
5855
|
-
* <code>failureReasons</code> field.</p>
|
|
5856
|
-
*/
|
|
5857
|
-
recommendedActions?: string[];
|
|
5858
|
-
}
|
|
5859
|
-
export interface UpdateBotRecommendationRequest {
|
|
5860
|
-
/**
|
|
5861
|
-
* <p>The unique identifier of the bot containing the bot recommendation
|
|
5862
|
-
* to be updated.</p>
|
|
5863
|
-
*/
|
|
5864
|
-
botId: string | undefined;
|
|
5865
|
-
/**
|
|
5866
|
-
* <p>The version of the bot containing the bot recommendation to be
|
|
5867
|
-
* updated.</p>
|
|
5868
|
-
*/
|
|
5869
|
-
botVersion: string | undefined;
|
|
5870
|
-
/**
|
|
5871
|
-
* <p>The identifier of the language and locale of the bot recommendation
|
|
5872
|
-
* to update. The string must match one of the supported locales. For more
|
|
5873
|
-
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
|
|
5874
|
-
* </p>
|
|
5875
|
-
*/
|
|
5876
|
-
localeId: string | undefined;
|
|
5877
|
-
/**
|
|
5878
|
-
* <p>The unique identifier of the bot recommendation to be
|
|
5879
|
-
* updated.</p>
|
|
5880
|
-
*/
|
|
5881
|
-
botRecommendationId: string | undefined;
|
|
5882
|
-
/**
|
|
5883
|
-
* <p>The object representing the passwords that will be used to encrypt
|
|
5884
|
-
* the data related to the bot recommendation results, as well as the KMS
|
|
5885
|
-
* key ARN used to encrypt the associated metadata.</p>
|
|
5886
|
-
*/
|
|
5887
|
-
encryptionSetting: EncryptionSetting | undefined;
|
|
5888
|
-
}
|
|
5889
|
-
export interface UpdateBotRecommendationResponse {
|
|
5890
|
-
/**
|
|
5891
|
-
* <p>The unique identifier of the bot containing the bot recommendation
|
|
5892
|
-
* that has been updated.</p>
|
|
5893
|
-
*/
|
|
5894
|
-
botId?: string;
|
|
5895
|
-
/**
|
|
5896
|
-
* <p>The version of the bot containing the bot recommendation that has
|
|
5897
|
-
* been updated.</p>
|
|
5898
|
-
*/
|
|
5899
|
-
botVersion?: string;
|
|
5900
|
-
/**
|
|
5901
|
-
* <p>The identifier of the language and locale of the bot recommendation
|
|
5902
|
-
* to update. The string must match one of the supported locales. For more
|
|
5903
|
-
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
|
|
5904
|
-
* </p>
|
|
5905
|
-
*/
|
|
5906
|
-
localeId?: string;
|
|
5907
|
-
/**
|
|
5908
|
-
* <p>The status of the bot recommendation.</p>
|
|
5909
|
-
* <p>If the status is Failed, then the reasons for the failure are listed
|
|
5910
|
-
* in the failureReasons field. </p>
|
|
5911
|
-
*/
|
|
5912
|
-
botRecommendationStatus?: BotRecommendationStatus | string;
|
|
5913
|
-
/**
|
|
5914
|
-
* <p>The unique identifier of the bot recommendation to be
|
|
5915
|
-
* updated.</p>
|
|
5916
|
-
*/
|
|
5917
|
-
botRecommendationId?: string;
|
|
5918
|
-
/**
|
|
5919
|
-
* <p>A timestamp of the date and time that the bot recommendation was
|
|
5920
|
-
* created.</p>
|
|
5921
|
-
*/
|
|
5922
|
-
creationDateTime?: Date;
|
|
5923
|
-
/**
|
|
5924
|
-
* <p>A timestamp of the date and time that the bot recommendation was
|
|
5925
|
-
* last updated.</p>
|
|
5926
|
-
*/
|
|
5927
|
-
lastUpdatedDateTime?: Date;
|
|
5928
|
-
/**
|
|
5929
|
-
* <p>The object representing the Amazon S3 bucket containing the transcript,
|
|
5930
|
-
* as well as the associated metadata.</p>
|
|
5931
|
-
*/
|
|
5932
|
-
transcriptSourceSetting?: TranscriptSourceSetting;
|
|
5933
|
-
/**
|
|
5934
|
-
* <p>The object representing the passwords that were used to encrypt the
|
|
5935
|
-
* data related to the bot recommendation results, as well as the KMS key
|
|
5936
|
-
* ARN used to encrypt the associated metadata.</p>
|
|
5937
|
-
*/
|
|
5938
|
-
encryptionSetting?: EncryptionSetting;
|
|
5939
|
-
}
|
|
5940
|
-
export interface UpdateExportRequest {
|
|
5941
|
-
/**
|
|
5942
|
-
* <p>The unique identifier Amazon Lex assigned to the export.</p>
|
|
5943
|
-
*/
|
|
5944
|
-
exportId: string | undefined;
|
|
5945
|
-
/**
|
|
5946
|
-
* <p>The new password to use to encrypt the export zip archive.</p>
|
|
5947
|
-
*/
|
|
5948
|
-
filePassword?: string;
|
|
5949
|
-
}
|
|
5950
|
-
export interface UpdateExportResponse {
|
|
5951
|
-
/**
|
|
5952
|
-
* <p>The unique identifier Amazon Lex assigned to the export.</p>
|
|
5953
|
-
*/
|
|
5954
|
-
exportId?: string;
|
|
5955
|
-
/**
|
|
5956
|
-
* <p>A description of the type of resource that was exported, either a
|
|
5957
|
-
* bot or a bot locale.</p>
|
|
5958
|
-
*/
|
|
5959
|
-
resourceSpecification?: ExportResourceSpecification;
|
|
5960
|
-
/**
|
|
5961
|
-
* <p>The file format used for the files that define the resource. The
|
|
5962
|
-
* <code>TSV</code> format is required to export a custom vocabulary
|
|
5963
|
-
* only; otherwise use <code>LexJson</code> format.</p>
|
|
5964
|
-
*/
|
|
5965
|
-
fileFormat?: ImportExportFileFormat | string;
|
|
5966
|
-
/**
|
|
5967
|
-
* <p>The status of the export. When the status is <code>Completed</code>
|
|
5968
|
-
* the export archive is available for download.</p>
|
|
5969
|
-
*/
|
|
5970
|
-
exportStatus?: ExportStatus | string;
|
|
5971
|
-
/**
|
|
5972
|
-
* <p>The date and time that the export was created.</p>
|
|
5973
|
-
*/
|
|
5974
|
-
creationDateTime?: Date;
|
|
5975
|
-
/**
|
|
5976
|
-
* <p>The date and time that the export was last updated.</p>
|
|
5977
|
-
*/
|
|
5978
|
-
lastUpdatedDateTime?: Date;
|
|
5979
|
-
}
|
|
5980
|
-
export interface UpdateResourcePolicyRequest {
|
|
5981
|
-
/**
|
|
5982
|
-
* <p>The Amazon Resource Name (ARN) of the bot or bot alias that the
|
|
5983
|
-
* resource policy is attached to.</p>
|
|
5984
|
-
*/
|
|
5985
|
-
resourceArn: string | undefined;
|
|
5986
|
-
/**
|
|
5987
|
-
* <p>A resource policy to add to the resource. The policy is a JSON
|
|
5988
|
-
* structure that contains one or more statements that define the policy.
|
|
5989
|
-
* The policy must follow the IAM syntax. For more information about the
|
|
5990
|
-
* contents of a JSON policy document, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html"> IAM JSON policy
|
|
5991
|
-
* reference </a>. </p>
|
|
5992
|
-
* <p>If the policy isn't valid, Amazon Lex returns a validation
|
|
5993
|
-
* exception.</p>
|
|
5994
|
-
*/
|
|
5995
|
-
policy: string | undefined;
|
|
5996
|
-
/**
|
|
5997
|
-
* <p>The identifier of the revision of the policy to update. If this
|
|
5998
|
-
* revision ID doesn't match the current revision ID, Amazon Lex throws an
|
|
5999
|
-
* exception.</p>
|
|
6000
|
-
* <p>If you don't specify a revision, Amazon Lex overwrites the contents of
|
|
6001
|
-
* the policy with the new values.</p>
|
|
6002
|
-
*/
|
|
6003
|
-
expectedRevisionId?: string;
|
|
6004
|
-
}
|
|
6005
|
-
export interface UpdateResourcePolicyResponse {
|
|
6006
|
-
/**
|
|
6007
|
-
* <p>The Amazon Resource Name (ARN) of the bot or bot alias that the
|
|
6008
|
-
* resource policy is attached to.</p>
|
|
6009
|
-
*/
|
|
6010
|
-
resourceArn?: string;
|
|
6011
|
-
/**
|
|
6012
|
-
* <p>The current revision of the resource policy. Use the revision ID to
|
|
6013
|
-
* make sure that you are updating the most current version of a resource
|
|
6014
|
-
* policy when you add a policy statement to a resource, delete a
|
|
6015
|
-
* resource, or update a resource.</p>
|
|
6016
|
-
*/
|
|
6017
|
-
revisionId?: string;
|
|
6018
|
-
}
|
|
6019
|
-
export interface UpdateSlotTypeRequest {
|
|
6020
|
-
/**
|
|
6021
|
-
* <p>The unique identifier of the slot type to update.</p>
|
|
6022
|
-
*/
|
|
6023
|
-
slotTypeId: string | undefined;
|
|
6024
|
-
/**
|
|
6025
|
-
* <p>The new name of the slot type.</p>
|
|
6026
|
-
*/
|
|
6027
|
-
slotTypeName: string | undefined;
|
|
6028
|
-
/**
|
|
6029
|
-
* <p>The new description of the slot type.</p>
|
|
6030
|
-
*/
|
|
6031
|
-
description?: string;
|
|
6032
|
-
/**
|
|
6033
|
-
* <p>A new list of values and their optional synonyms that define the
|
|
6034
|
-
* values that the slot type can take.</p>
|
|
6035
|
-
*/
|
|
6036
|
-
slotTypeValues?: SlotTypeValue[];
|
|
6037
|
-
/**
|
|
6038
|
-
* <p>The strategy that Amazon Lex should use when deciding on a value from the
|
|
6039
|
-
* list of slot type values.</p>
|
|
6040
|
-
*/
|
|
6041
|
-
valueSelectionSetting?: SlotValueSelectionSetting;
|
|
6042
|
-
/**
|
|
6043
|
-
* <p>The new built-in slot type that should be used as the parent of this
|
|
6044
|
-
* slot type.</p>
|
|
6045
|
-
*/
|
|
6046
|
-
parentSlotTypeSignature?: string;
|
|
6047
|
-
/**
|
|
6048
|
-
* <p>The identifier of the bot that contains the slot type.</p>
|
|
6049
|
-
*/
|
|
6050
|
-
botId: string | undefined;
|
|
6051
|
-
/**
|
|
6052
|
-
* <p>The version of the bot that contains the slot type. Must be
|
|
6053
|
-
* <code>DRAFT</code>.</p>
|
|
6054
|
-
*/
|
|
6055
|
-
botVersion: string | undefined;
|
|
6056
|
-
/**
|
|
6057
|
-
* <p>The identifier of the language and locale that contains the slot
|
|
6058
|
-
* type. The string must match one of the supported locales. For more
|
|
6059
|
-
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
6060
|
-
*/
|
|
6061
|
-
localeId: string | undefined;
|
|
6062
|
-
/**
|
|
6063
|
-
* <p>Provides information about the external source of the slot type's
|
|
6064
|
-
* definition.</p>
|
|
6065
|
-
*/
|
|
6066
|
-
externalSourceSetting?: ExternalSourceSetting;
|
|
6067
|
-
/**
|
|
6068
|
-
* <p>Specifications for a composite slot type.</p>
|
|
6069
|
-
*/
|
|
6070
|
-
compositeSlotTypeSetting?: CompositeSlotTypeSetting;
|
|
6071
|
-
}
|
|
6072
5886
|
/**
|
|
6073
5887
|
* @internal
|
|
6074
5888
|
*/
|
|
@@ -6121,6 +5935,46 @@ export declare const AudioLogDestinationFilterSensitiveLog: (obj: AudioLogDestin
|
|
|
6121
5935
|
* @internal
|
|
6122
5936
|
*/
|
|
6123
5937
|
export declare const AudioLogSettingFilterSensitiveLog: (obj: AudioLogSetting) => any;
|
|
5938
|
+
/**
|
|
5939
|
+
* @internal
|
|
5940
|
+
*/
|
|
5941
|
+
export declare const NewCustomVocabularyItemFilterSensitiveLog: (obj: NewCustomVocabularyItem) => any;
|
|
5942
|
+
/**
|
|
5943
|
+
* @internal
|
|
5944
|
+
*/
|
|
5945
|
+
export declare const BatchCreateCustomVocabularyItemRequestFilterSensitiveLog: (obj: BatchCreateCustomVocabularyItemRequest) => any;
|
|
5946
|
+
/**
|
|
5947
|
+
* @internal
|
|
5948
|
+
*/
|
|
5949
|
+
export declare const FailedCustomVocabularyItemFilterSensitiveLog: (obj: FailedCustomVocabularyItem) => any;
|
|
5950
|
+
/**
|
|
5951
|
+
* @internal
|
|
5952
|
+
*/
|
|
5953
|
+
export declare const CustomVocabularyItemFilterSensitiveLog: (obj: CustomVocabularyItem) => any;
|
|
5954
|
+
/**
|
|
5955
|
+
* @internal
|
|
5956
|
+
*/
|
|
5957
|
+
export declare const BatchCreateCustomVocabularyItemResponseFilterSensitiveLog: (obj: BatchCreateCustomVocabularyItemResponse) => any;
|
|
5958
|
+
/**
|
|
5959
|
+
* @internal
|
|
5960
|
+
*/
|
|
5961
|
+
export declare const CustomVocabularyEntryIdFilterSensitiveLog: (obj: CustomVocabularyEntryId) => any;
|
|
5962
|
+
/**
|
|
5963
|
+
* @internal
|
|
5964
|
+
*/
|
|
5965
|
+
export declare const BatchDeleteCustomVocabularyItemRequestFilterSensitiveLog: (obj: BatchDeleteCustomVocabularyItemRequest) => any;
|
|
5966
|
+
/**
|
|
5967
|
+
* @internal
|
|
5968
|
+
*/
|
|
5969
|
+
export declare const BatchDeleteCustomVocabularyItemResponseFilterSensitiveLog: (obj: BatchDeleteCustomVocabularyItemResponse) => any;
|
|
5970
|
+
/**
|
|
5971
|
+
* @internal
|
|
5972
|
+
*/
|
|
5973
|
+
export declare const BatchUpdateCustomVocabularyItemRequestFilterSensitiveLog: (obj: BatchUpdateCustomVocabularyItemRequest) => any;
|
|
5974
|
+
/**
|
|
5975
|
+
* @internal
|
|
5976
|
+
*/
|
|
5977
|
+
export declare const BatchUpdateCustomVocabularyItemResponseFilterSensitiveLog: (obj: BatchUpdateCustomVocabularyItemResponse) => any;
|
|
6124
5978
|
/**
|
|
6125
5979
|
* @internal
|
|
6126
5980
|
*/
|
|
@@ -6845,6 +6699,14 @@ export declare const ListBuiltInSlotTypesRequestFilterSensitiveLog: (obj: ListBu
|
|
|
6845
6699
|
* @internal
|
|
6846
6700
|
*/
|
|
6847
6701
|
export declare const ListBuiltInSlotTypesResponseFilterSensitiveLog: (obj: ListBuiltInSlotTypesResponse) => any;
|
|
6702
|
+
/**
|
|
6703
|
+
* @internal
|
|
6704
|
+
*/
|
|
6705
|
+
export declare const ListCustomVocabularyItemsRequestFilterSensitiveLog: (obj: ListCustomVocabularyItemsRequest) => any;
|
|
6706
|
+
/**
|
|
6707
|
+
* @internal
|
|
6708
|
+
*/
|
|
6709
|
+
export declare const ListCustomVocabularyItemsResponseFilterSensitiveLog: (obj: ListCustomVocabularyItemsResponse) => any;
|
|
6848
6710
|
/**
|
|
6849
6711
|
* @internal
|
|
6850
6712
|
*/
|
|
@@ -6977,55 +6839,3 @@ export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResource
|
|
|
6977
6839
|
* @internal
|
|
6978
6840
|
*/
|
|
6979
6841
|
export declare const UntagResourceResponseFilterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
6980
|
-
/**
|
|
6981
|
-
* @internal
|
|
6982
|
-
*/
|
|
6983
|
-
export declare const UpdateBotRequestFilterSensitiveLog: (obj: UpdateBotRequest) => any;
|
|
6984
|
-
/**
|
|
6985
|
-
* @internal
|
|
6986
|
-
*/
|
|
6987
|
-
export declare const UpdateBotResponseFilterSensitiveLog: (obj: UpdateBotResponse) => any;
|
|
6988
|
-
/**
|
|
6989
|
-
* @internal
|
|
6990
|
-
*/
|
|
6991
|
-
export declare const UpdateBotAliasRequestFilterSensitiveLog: (obj: UpdateBotAliasRequest) => any;
|
|
6992
|
-
/**
|
|
6993
|
-
* @internal
|
|
6994
|
-
*/
|
|
6995
|
-
export declare const UpdateBotAliasResponseFilterSensitiveLog: (obj: UpdateBotAliasResponse) => any;
|
|
6996
|
-
/**
|
|
6997
|
-
* @internal
|
|
6998
|
-
*/
|
|
6999
|
-
export declare const UpdateBotLocaleRequestFilterSensitiveLog: (obj: UpdateBotLocaleRequest) => any;
|
|
7000
|
-
/**
|
|
7001
|
-
* @internal
|
|
7002
|
-
*/
|
|
7003
|
-
export declare const UpdateBotLocaleResponseFilterSensitiveLog: (obj: UpdateBotLocaleResponse) => any;
|
|
7004
|
-
/**
|
|
7005
|
-
* @internal
|
|
7006
|
-
*/
|
|
7007
|
-
export declare const UpdateBotRecommendationRequestFilterSensitiveLog: (obj: UpdateBotRecommendationRequest) => any;
|
|
7008
|
-
/**
|
|
7009
|
-
* @internal
|
|
7010
|
-
*/
|
|
7011
|
-
export declare const UpdateBotRecommendationResponseFilterSensitiveLog: (obj: UpdateBotRecommendationResponse) => any;
|
|
7012
|
-
/**
|
|
7013
|
-
* @internal
|
|
7014
|
-
*/
|
|
7015
|
-
export declare const UpdateExportRequestFilterSensitiveLog: (obj: UpdateExportRequest) => any;
|
|
7016
|
-
/**
|
|
7017
|
-
* @internal
|
|
7018
|
-
*/
|
|
7019
|
-
export declare const UpdateExportResponseFilterSensitiveLog: (obj: UpdateExportResponse) => any;
|
|
7020
|
-
/**
|
|
7021
|
-
* @internal
|
|
7022
|
-
*/
|
|
7023
|
-
export declare const UpdateResourcePolicyRequestFilterSensitiveLog: (obj: UpdateResourcePolicyRequest) => any;
|
|
7024
|
-
/**
|
|
7025
|
-
* @internal
|
|
7026
|
-
*/
|
|
7027
|
-
export declare const UpdateResourcePolicyResponseFilterSensitiveLog: (obj: UpdateResourcePolicyResponse) => any;
|
|
7028
|
-
/**
|
|
7029
|
-
* @internal
|
|
7030
|
-
*/
|
|
7031
|
-
export declare const UpdateSlotTypeRequestFilterSensitiveLog: (obj: UpdateSlotTypeRequest) => any;
|