@aws-sdk/client-lex-models-v2 3.267.0 → 3.268.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/commands/TagResourceCommand.js +2 -1
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +22 -18
- package/dist-cjs/models/models_1.js +13 -1
- package/dist-cjs/protocols/Aws_restJson1.js +91 -0
- package/dist-es/commands/TagResourceCommand.js +2 -1
- package/dist-es/commands/UntagResourceCommand.js +1 -1
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +14 -9
- package/dist-es/models/models_1.js +9 -0
- package/dist-es/protocols/Aws_restJson1.js +91 -0
- package/dist-types/LexModelsV2.d.ts +13 -13
- package/dist-types/commands/BatchCreateCustomVocabularyItemCommand.d.ts +2 -2
- package/dist-types/commands/BatchDeleteCustomVocabularyItemCommand.d.ts +2 -2
- package/dist-types/commands/BatchUpdateCustomVocabularyItemCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBotVersionCommand.d.ts +2 -2
- package/dist-types/commands/DeleteUtterancesCommand.d.ts +1 -1
- package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +1 -1
- package/dist-types/commands/ListCustomVocabularyItemsCommand.d.ts +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateExportCommand.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +215 -131
- package/dist-types/models/models_1.d.ts +47 -2
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +34 -15
- package/dist-types/ts3.4/models/models_1.d.ts +21 -0
- package/package.json +1 -1
|
@@ -233,7 +233,7 @@ export interface S3BucketLogDestination {
|
|
|
233
233
|
export interface AudioLogDestination {
|
|
234
234
|
/**
|
|
235
235
|
* <p>The Amazon S3 bucket where the audio log files are stored. The IAM
|
|
236
|
-
* role specified in the <code>roleArn</code> parameter of the <a href="https://docs.aws.amazon.com/lexv2/latest/
|
|
236
|
+
* role specified in the <code>roleArn</code> parameter of the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html">CreateBot</a> operation must have permission to write to this
|
|
237
237
|
* bucket.</p>
|
|
238
238
|
*/
|
|
239
239
|
s3Bucket: S3BucketLogDestination | undefined;
|
|
@@ -277,23 +277,23 @@ export interface NewCustomVocabularyItem {
|
|
|
277
277
|
}
|
|
278
278
|
export interface BatchCreateCustomVocabularyItemRequest {
|
|
279
279
|
/**
|
|
280
|
-
* <p>The
|
|
281
|
-
* vocabulary item for.</p>
|
|
280
|
+
* <p>The identifier of the bot associated with this custom vocabulary.</p>
|
|
282
281
|
*/
|
|
283
282
|
botId: string | undefined;
|
|
284
283
|
/**
|
|
285
|
-
* <p>The
|
|
286
|
-
* vocabulary
|
|
284
|
+
* <p>The identifier of the version of the bot associated with this
|
|
285
|
+
* custom vocabulary.</p>
|
|
287
286
|
*/
|
|
288
287
|
botVersion: string | undefined;
|
|
289
288
|
/**
|
|
290
|
-
* <p>The
|
|
291
|
-
*
|
|
289
|
+
* <p>The identifier of the language and locale where this custom vocabulary
|
|
290
|
+
* is used. The string must match one of the supported locales. For more
|
|
291
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html"> Supported Languages </a>.</p>
|
|
292
292
|
*/
|
|
293
293
|
localeId: string | undefined;
|
|
294
294
|
/**
|
|
295
|
-
* <p>
|
|
296
|
-
*
|
|
295
|
+
* <p>A list of new custom vocabulary items. Each entry must contain a phrase and
|
|
296
|
+
* can optionally contain a displayAs and/or a weight.</p>
|
|
297
297
|
*/
|
|
298
298
|
customVocabularyItemList: NewCustomVocabularyItem[] | undefined;
|
|
299
299
|
}
|
|
@@ -345,35 +345,35 @@ export interface CustomVocabularyItem {
|
|
|
345
345
|
*/
|
|
346
346
|
weight?: number;
|
|
347
347
|
/**
|
|
348
|
-
* <p>The
|
|
348
|
+
* <p>The DisplayAs value for the custom vocabulary item
|
|
349
349
|
* from the custom vocabulary list.</p>
|
|
350
350
|
*/
|
|
351
351
|
displayAs?: string;
|
|
352
352
|
}
|
|
353
353
|
export interface BatchCreateCustomVocabularyItemResponse {
|
|
354
354
|
/**
|
|
355
|
-
* <p>The
|
|
356
|
-
* vocabulary item.</p>
|
|
355
|
+
* <p>The identifier of the bot associated with this custom vocabulary.</p>
|
|
357
356
|
*/
|
|
358
357
|
botId?: string;
|
|
359
358
|
/**
|
|
360
|
-
* <p>The
|
|
361
|
-
* vocabulary
|
|
359
|
+
* <p>The identifier of the version of the bot associated with this
|
|
360
|
+
* custom vocabulary.</p>
|
|
362
361
|
*/
|
|
363
362
|
botVersion?: string;
|
|
364
363
|
/**
|
|
365
|
-
* <p>The
|
|
366
|
-
*
|
|
364
|
+
* <p>The identifier of the language and locale where this custom vocabulary is used.
|
|
365
|
+
* The string must match one of the supported locales.
|
|
366
|
+
* For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html"> Supported Languages </a>.</p>
|
|
367
367
|
*/
|
|
368
368
|
localeId?: string;
|
|
369
369
|
/**
|
|
370
|
-
* <p>
|
|
371
|
-
*
|
|
370
|
+
* <p>A list of custom vocabulary items that failed to create during the operation.
|
|
371
|
+
* The reason for the error is contained within each error object.</p>
|
|
372
372
|
*/
|
|
373
373
|
errors?: FailedCustomVocabularyItem[];
|
|
374
374
|
/**
|
|
375
|
-
* <p>
|
|
376
|
-
*
|
|
375
|
+
* <p>A list of custom vocabulary items that were
|
|
376
|
+
* successfully created during the operation.</p>
|
|
377
377
|
*/
|
|
378
378
|
resources?: CustomVocabularyItem[];
|
|
379
379
|
}
|
|
@@ -419,6 +419,9 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
419
419
|
export declare class ThrottlingException extends __BaseException {
|
|
420
420
|
readonly name: "ThrottlingException";
|
|
421
421
|
readonly $fault: "client";
|
|
422
|
+
/**
|
|
423
|
+
* <p>The number of seconds after which the user can invoke the API again.</p>
|
|
424
|
+
*/
|
|
422
425
|
retryAfterSeconds?: number;
|
|
423
426
|
/**
|
|
424
427
|
* @internal
|
|
@@ -450,99 +453,100 @@ export interface CustomVocabularyEntryId {
|
|
|
450
453
|
}
|
|
451
454
|
export interface BatchDeleteCustomVocabularyItemRequest {
|
|
452
455
|
/**
|
|
453
|
-
* <p>The
|
|
454
|
-
* vocabulary item.</p>
|
|
456
|
+
* <p>The identifier of the bot associated with this custom vocabulary.</p>
|
|
455
457
|
*/
|
|
456
458
|
botId: string | undefined;
|
|
457
459
|
/**
|
|
458
|
-
* <p>The
|
|
459
|
-
* vocabulary
|
|
460
|
+
* <p>The identifier of the version of the bot associated with this custom
|
|
461
|
+
* vocabulary.</p>
|
|
460
462
|
*/
|
|
461
463
|
botVersion: string | undefined;
|
|
462
464
|
/**
|
|
463
|
-
* <p>The
|
|
464
|
-
*
|
|
465
|
+
* <p>The identifier of the language and locale where this custom vocabulary is
|
|
466
|
+
* used. The string must match one of the supported locales.
|
|
467
|
+
* For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html"> Supported Languages </a>.</p>
|
|
465
468
|
*/
|
|
466
469
|
localeId: string | undefined;
|
|
467
470
|
/**
|
|
468
|
-
* <p>
|
|
469
|
-
* vocabulary
|
|
471
|
+
* <p>A list of custom vocabulary items requested to be deleted.
|
|
472
|
+
* Each entry must contain the unique custom vocabulary entry identifier.</p>
|
|
470
473
|
*/
|
|
471
474
|
customVocabularyItemList: CustomVocabularyEntryId[] | undefined;
|
|
472
475
|
}
|
|
473
476
|
export interface BatchDeleteCustomVocabularyItemResponse {
|
|
474
477
|
/**
|
|
475
|
-
* <p>The
|
|
476
|
-
* vocabulary item.</p>
|
|
478
|
+
* <p>The identifier of the bot associated with this custom vocabulary.</p>
|
|
477
479
|
*/
|
|
478
480
|
botId?: string;
|
|
479
481
|
/**
|
|
480
|
-
* <p>The
|
|
481
|
-
* vocabulary
|
|
482
|
+
* <p>The identifier of the version of the bot associated with this custom
|
|
483
|
+
* vocabulary.</p>
|
|
482
484
|
*/
|
|
483
485
|
botVersion?: string;
|
|
484
486
|
/**
|
|
485
|
-
* <p>The
|
|
486
|
-
*
|
|
487
|
+
* <p>The identifier of the language and locale where this custom vocabulary is
|
|
488
|
+
* used. The string must match one of the supported locales.
|
|
489
|
+
* For more information, see Supported
|
|
490
|
+
* languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).</p>
|
|
487
491
|
*/
|
|
488
492
|
localeId?: string;
|
|
489
493
|
/**
|
|
490
|
-
* <p>
|
|
491
|
-
*
|
|
494
|
+
* <p>A list of custom vocabulary items that failed to delete during the operation.
|
|
495
|
+
* The reason for the error is contained within each error object.</p>
|
|
492
496
|
*/
|
|
493
497
|
errors?: FailedCustomVocabularyItem[];
|
|
494
498
|
/**
|
|
495
|
-
* <p>
|
|
496
|
-
*
|
|
499
|
+
* <p>A list of custom vocabulary items that were
|
|
500
|
+
* successfully deleted during the operation.</p>
|
|
497
501
|
*/
|
|
498
502
|
resources?: CustomVocabularyItem[];
|
|
499
503
|
}
|
|
500
504
|
export interface BatchUpdateCustomVocabularyItemRequest {
|
|
501
505
|
/**
|
|
502
|
-
* <p>The
|
|
503
|
-
* vocabulary item.</p>
|
|
506
|
+
* <p>The identifier of the bot associated with this custom vocabulary</p>
|
|
504
507
|
*/
|
|
505
508
|
botId: string | undefined;
|
|
506
509
|
/**
|
|
507
|
-
* <p>The
|
|
508
|
-
* vocabulary
|
|
510
|
+
* <p>The identifier of the version of the bot associated with this custom
|
|
511
|
+
* vocabulary.</p>
|
|
509
512
|
*/
|
|
510
513
|
botVersion: string | undefined;
|
|
511
514
|
/**
|
|
512
|
-
* <p>The
|
|
513
|
-
*
|
|
515
|
+
* <p>The identifier of the language and locale where this custom vocabulary
|
|
516
|
+
* is used. The string must match one of the supported locales. For more
|
|
517
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html"> Supported Languages </a>.</p>
|
|
514
518
|
*/
|
|
515
519
|
localeId: string | undefined;
|
|
516
520
|
/**
|
|
517
|
-
* <p>
|
|
518
|
-
*
|
|
521
|
+
* <p>A list of custom vocabulary items with updated fields. Each entry must contain a phrase
|
|
522
|
+
* and can optionally contain a displayAs and/or a weight.</p>
|
|
519
523
|
*/
|
|
520
524
|
customVocabularyItemList: CustomVocabularyItem[] | undefined;
|
|
521
525
|
}
|
|
522
526
|
export interface BatchUpdateCustomVocabularyItemResponse {
|
|
523
527
|
/**
|
|
524
|
-
* <p>The
|
|
525
|
-
* vocabulary item.</p>
|
|
528
|
+
* <p>The identifier of the bot associated with this custom vocabulary.</p>
|
|
526
529
|
*/
|
|
527
530
|
botId?: string;
|
|
528
531
|
/**
|
|
529
|
-
* <p>The
|
|
530
|
-
* vocabulary
|
|
532
|
+
* <p>The identifier of the version of the bot associated with this custom
|
|
533
|
+
* vocabulary.</p>
|
|
531
534
|
*/
|
|
532
535
|
botVersion?: string;
|
|
533
536
|
/**
|
|
534
|
-
* <p>The
|
|
535
|
-
*
|
|
537
|
+
* <p>The identifier of the language and locale where this custom vocabulary
|
|
538
|
+
* is used. The string must match one of the supported locales. For more
|
|
539
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html"> Supported Languages </a>.</p>
|
|
536
540
|
*/
|
|
537
541
|
localeId?: string;
|
|
538
542
|
/**
|
|
539
|
-
* <p>
|
|
540
|
-
*
|
|
543
|
+
* <p>A list of custom vocabulary items that failed to update during the operation.
|
|
544
|
+
* The reason for the error is contained within each error object.</p>
|
|
541
545
|
*/
|
|
542
546
|
errors?: FailedCustomVocabularyItem[];
|
|
543
547
|
/**
|
|
544
|
-
* <p>
|
|
545
|
-
*
|
|
548
|
+
* <p>A list of custom vocabulary items that were
|
|
549
|
+
* successfully updated during the operation.</p>
|
|
546
550
|
*/
|
|
547
551
|
resources?: CustomVocabularyItem[];
|
|
548
552
|
}
|
|
@@ -613,12 +617,12 @@ export declare enum BotAliasStatus {
|
|
|
613
617
|
Failed = "Failed"
|
|
614
618
|
}
|
|
615
619
|
/**
|
|
616
|
-
* <p>Summary information about bot aliases returned from the <a href="https://docs.aws.amazon.com/lexv2/latest/
|
|
620
|
+
* <p>Summary information about bot aliases returned from the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBotAliases.html">ListBotAliases</a> operation.</p>
|
|
617
621
|
*/
|
|
618
622
|
export interface BotAliasSummary {
|
|
619
623
|
/**
|
|
620
624
|
* <p>The unique identifier assigned to the bot alias. You can use this ID
|
|
621
|
-
* to get detailed information about the alias using the <a href="https://docs.aws.amazon.com/lexv2/latest/
|
|
625
|
+
* to get detailed information about the alias using the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeBotAlias.html">DescribeBotAlias</a> operation.</p>
|
|
622
626
|
*/
|
|
623
627
|
botAliasId?: string;
|
|
624
628
|
/**
|
|
@@ -664,11 +668,13 @@ export interface BotExportSpecification {
|
|
|
664
668
|
botVersion: string | undefined;
|
|
665
669
|
}
|
|
666
670
|
export declare enum BotFilterName {
|
|
667
|
-
BotName = "BotName"
|
|
671
|
+
BotName = "BotName",
|
|
672
|
+
BotType = "BotType"
|
|
668
673
|
}
|
|
669
674
|
export declare enum BotFilterOperator {
|
|
670
675
|
Contains = "CO",
|
|
671
|
-
Equals = "EQ"
|
|
676
|
+
Equals = "EQ",
|
|
677
|
+
NotEquals = "NE"
|
|
672
678
|
}
|
|
673
679
|
/**
|
|
674
680
|
* <p>Filters the responses returned by the <code>ListBots</code>
|
|
@@ -953,7 +959,7 @@ export declare enum BotLocaleStatus {
|
|
|
953
959
|
ReadyExpressTesting = "ReadyExpressTesting"
|
|
954
960
|
}
|
|
955
961
|
/**
|
|
956
|
-
* <p>Summary information about bot locales returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/
|
|
962
|
+
* <p>Summary information about bot locales returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBotLocales.html">ListBotLocales</a> operation.</p>
|
|
957
963
|
*/
|
|
958
964
|
export interface BotLocaleSummary {
|
|
959
965
|
/**
|
|
@@ -984,6 +990,31 @@ export interface BotLocaleSummary {
|
|
|
984
990
|
*/
|
|
985
991
|
lastBuildSubmittedDateTime?: Date;
|
|
986
992
|
}
|
|
993
|
+
/**
|
|
994
|
+
* <p>A bot that is a member of a network of bots.</p>
|
|
995
|
+
*/
|
|
996
|
+
export interface BotMember {
|
|
997
|
+
/**
|
|
998
|
+
* <p>The unique ID of a bot that is a member of this network of bots.</p>
|
|
999
|
+
*/
|
|
1000
|
+
botMemberId: string | undefined;
|
|
1001
|
+
/**
|
|
1002
|
+
* <p>The unique name of a bot that is a member of this network of bots.</p>
|
|
1003
|
+
*/
|
|
1004
|
+
botMemberName: string | undefined;
|
|
1005
|
+
/**
|
|
1006
|
+
* <p>The alias ID of a bot that is a member of this network of bots.</p>
|
|
1007
|
+
*/
|
|
1008
|
+
botMemberAliasId: string | undefined;
|
|
1009
|
+
/**
|
|
1010
|
+
* <p>The alias name of a bot that is a member of this network of bots.</p>
|
|
1011
|
+
*/
|
|
1012
|
+
botMemberAliasName: string | undefined;
|
|
1013
|
+
/**
|
|
1014
|
+
* <p>The version of a bot that is a member of this network of bots.</p>
|
|
1015
|
+
*/
|
|
1016
|
+
botMemberVersion: string | undefined;
|
|
1017
|
+
}
|
|
987
1018
|
/**
|
|
988
1019
|
* <p>The object that contains the statistical summary of recommended
|
|
989
1020
|
* intents associated with the bot recommendation.</p>
|
|
@@ -1101,15 +1132,20 @@ export declare enum BotStatus {
|
|
|
1101
1132
|
Failed = "Failed",
|
|
1102
1133
|
Importing = "Importing",
|
|
1103
1134
|
Inactive = "Inactive",
|
|
1135
|
+
Updating = "Updating",
|
|
1104
1136
|
Versioning = "Versioning"
|
|
1105
1137
|
}
|
|
1138
|
+
export declare enum BotType {
|
|
1139
|
+
Bot = "Bot",
|
|
1140
|
+
BotNetwork = "BotNetwork"
|
|
1141
|
+
}
|
|
1106
1142
|
/**
|
|
1107
|
-
* <p>Summary information about a bot returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/
|
|
1143
|
+
* <p>Summary information about a bot returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBots.html">ListBots</a> operation.</p>
|
|
1108
1144
|
*/
|
|
1109
1145
|
export interface BotSummary {
|
|
1110
1146
|
/**
|
|
1111
1147
|
* <p>The unique identifier assigned to the bot. Use this ID to get
|
|
1112
|
-
* detailed information about the bot with the <a href="https://docs.aws.amazon.com/lexv2/latest/
|
|
1148
|
+
* detailed information about the bot with the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeBot.html">DescribeBot</a> operation.</p>
|
|
1113
1149
|
*/
|
|
1114
1150
|
botId?: string;
|
|
1115
1151
|
/**
|
|
@@ -1133,6 +1169,10 @@ export interface BotSummary {
|
|
|
1133
1169
|
* <p>The date and time that the bot was last updated.</p>
|
|
1134
1170
|
*/
|
|
1135
1171
|
lastUpdatedDateTime?: Date;
|
|
1172
|
+
/**
|
|
1173
|
+
* <p>The type of the bot.</p>
|
|
1174
|
+
*/
|
|
1175
|
+
botType?: BotType | string;
|
|
1136
1176
|
}
|
|
1137
1177
|
/**
|
|
1138
1178
|
* <p>The version of a bot used for a bot locale.</p>
|
|
@@ -1161,7 +1201,7 @@ export interface BotVersionSortBy {
|
|
|
1161
1201
|
order: SortOrder | string | undefined;
|
|
1162
1202
|
}
|
|
1163
1203
|
/**
|
|
1164
|
-
* <p>Summary information about a bot version returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/
|
|
1204
|
+
* <p>Summary information about a bot version returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBotVersions.html">ListBotVersions</a> operation.</p>
|
|
1165
1205
|
*/
|
|
1166
1206
|
export interface BotVersionSummary {
|
|
1167
1207
|
/**
|
|
@@ -1191,7 +1231,7 @@ export interface BotVersionSummary {
|
|
|
1191
1231
|
export interface BuildBotLocaleRequest {
|
|
1192
1232
|
/**
|
|
1193
1233
|
* <p>The identifier of the bot to build. The identifier is returned in
|
|
1194
|
-
* the response from the <a href="https://docs.aws.amazon.com/lexv2/latest/
|
|
1234
|
+
* the response from the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html">CreateBot</a> operation.</p>
|
|
1195
1235
|
*/
|
|
1196
1236
|
botId: string | undefined;
|
|
1197
1237
|
/**
|
|
@@ -1280,7 +1320,7 @@ export interface BuiltInIntentSortBy {
|
|
|
1280
1320
|
order: SortOrder | string | undefined;
|
|
1281
1321
|
}
|
|
1282
1322
|
/**
|
|
1283
|
-
* <p>Provides summary information about a built-in intent for the <a href="https://docs.aws.amazon.com/lexv2/latest/
|
|
1323
|
+
* <p>Provides summary information about a built-in intent for the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBuiltInIntents.html"> ListBuiltInIntents </a> operation.</p>
|
|
1284
1324
|
*/
|
|
1285
1325
|
export interface BuiltInIntentSummary {
|
|
1286
1326
|
/**
|
|
@@ -1313,7 +1353,7 @@ export interface BuiltInSlotTypeSortBy {
|
|
|
1313
1353
|
}
|
|
1314
1354
|
/**
|
|
1315
1355
|
* <p>Provides summary information about a built-in slot type for the
|
|
1316
|
-
* <a href="https://docs.aws.amazon.com/lexv2/latest/
|
|
1356
|
+
* <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBuiltInSlotTypes.html"> ListBuiltInSlotTypes </a>
|
|
1317
1357
|
* operation.</p>
|
|
1318
1358
|
*/
|
|
1319
1359
|
export interface BuiltInSlotTypeSummary {
|
|
@@ -1638,6 +1678,14 @@ export interface CreateBotRequest {
|
|
|
1638
1678
|
* <code>TagResource</code> operation.</p>
|
|
1639
1679
|
*/
|
|
1640
1680
|
testBotAliasTags?: Record<string, string>;
|
|
1681
|
+
/**
|
|
1682
|
+
* <p>The type of a bot to create.</p>
|
|
1683
|
+
*/
|
|
1684
|
+
botType?: BotType | string;
|
|
1685
|
+
/**
|
|
1686
|
+
* <p>The list of bot members in a network to be created.</p>
|
|
1687
|
+
*/
|
|
1688
|
+
botMembers?: BotMember[];
|
|
1641
1689
|
}
|
|
1642
1690
|
export interface CreateBotResponse {
|
|
1643
1691
|
/**
|
|
@@ -1669,7 +1717,7 @@ export interface CreateBotResponse {
|
|
|
1669
1717
|
* <p>Shows the current status of the bot. The bot is first in the
|
|
1670
1718
|
* <code>Creating</code> status. Once the bot is read for use, it
|
|
1671
1719
|
* changes to the <code>Available</code> status. After the bot is created,
|
|
1672
|
-
* you can use the <code>
|
|
1720
|
+
* you can use the <code>DRAFT</code> version of the bot.</p>
|
|
1673
1721
|
*/
|
|
1674
1722
|
botStatus?: BotStatus | string;
|
|
1675
1723
|
/**
|
|
@@ -1685,6 +1733,14 @@ export interface CreateBotResponse {
|
|
|
1685
1733
|
* <p>A list of tags associated with the test alias for the bot.</p>
|
|
1686
1734
|
*/
|
|
1687
1735
|
testBotAliasTags?: Record<string, string>;
|
|
1736
|
+
/**
|
|
1737
|
+
* <p>The type of a bot that was created.</p>
|
|
1738
|
+
*/
|
|
1739
|
+
botType?: BotType | string;
|
|
1740
|
+
/**
|
|
1741
|
+
* <p>The list of bots in a network that was created.</p>
|
|
1742
|
+
*/
|
|
1743
|
+
botMembers?: BotMember[];
|
|
1688
1744
|
}
|
|
1689
1745
|
/**
|
|
1690
1746
|
* <p>Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of
|
|
@@ -1709,7 +1765,7 @@ export interface CreateBotAliasRequest {
|
|
|
1709
1765
|
description?: string;
|
|
1710
1766
|
/**
|
|
1711
1767
|
* <p>The version of the bot that this alias points to. You can use the
|
|
1712
|
-
* <a href="https://docs.aws.amazon.com/lexv2/latest/
|
|
1768
|
+
* <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_UpdateBotAlias.html">UpdateBotAlias</a> operation to change the
|
|
1713
1769
|
* bot version associated with the alias.</p>
|
|
1714
1770
|
*/
|
|
1715
1771
|
botVersion?: string;
|
|
@@ -2031,7 +2087,7 @@ export interface CreateExportResponse {
|
|
|
2031
2087
|
fileFormat?: ImportExportFileFormat | string;
|
|
2032
2088
|
/**
|
|
2033
2089
|
* <p>The status of the export. When the status is <code>Completed</code>,
|
|
2034
|
-
* you can use the <a href="https://docs.aws.amazon.com/lexv2/latest/
|
|
2090
|
+
* you can use the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html">DescribeExport</a> operation to get the
|
|
2035
2091
|
* pre-signed S3 URL link to your exported bot or bot locale.</p>
|
|
2036
2092
|
*/
|
|
2037
2093
|
exportStatus?: ExportStatus | string;
|
|
@@ -2677,7 +2733,6 @@ export interface SlotValueSelectionSetting {
|
|
|
2677
2733
|
* <p>Determines the slot resolution strategy that Amazon Lex uses to
|
|
2678
2734
|
* return slot type values. The field can be set to one of the following
|
|
2679
2735
|
* values:</p>
|
|
2680
|
-
*
|
|
2681
2736
|
* <ul>
|
|
2682
2737
|
* <li>
|
|
2683
2738
|
* <p>OriginalValue - Returns the value entered by the user, if the
|
|
@@ -2689,7 +2744,6 @@ export interface SlotValueSelectionSetting {
|
|
|
2689
2744
|
* value. If there is no resolution list, null is returned.</p>
|
|
2690
2745
|
* </li>
|
|
2691
2746
|
* </ul>
|
|
2692
|
-
*
|
|
2693
2747
|
* <p>If you don't specify the valueSelectionStrategy, the default is
|
|
2694
2748
|
* OriginalValue. </p>
|
|
2695
2749
|
*/
|
|
@@ -2837,7 +2891,7 @@ export interface CreateUploadUrlRequest {
|
|
|
2837
2891
|
export interface CreateUploadUrlResponse {
|
|
2838
2892
|
/**
|
|
2839
2893
|
* <p>An identifier for a unique import job. Use it when you call the
|
|
2840
|
-
* <a href="https://docs.aws.amazon.com/lexv2/latest/
|
|
2894
|
+
* <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_StartImport.html">StartImport</a> operation.</p>
|
|
2841
2895
|
*/
|
|
2842
2896
|
importId?: string;
|
|
2843
2897
|
/**
|
|
@@ -2893,9 +2947,12 @@ export interface DeleteBotRequest {
|
|
|
2893
2947
|
*/
|
|
2894
2948
|
botId: string | undefined;
|
|
2895
2949
|
/**
|
|
2896
|
-
* <p>
|
|
2897
|
-
*
|
|
2898
|
-
*
|
|
2950
|
+
* <p>By default, Amazon Lex checks if any other resource, such as an alias or
|
|
2951
|
+
* bot network, is using the bot version before it is deleted and throws a
|
|
2952
|
+
* <code>ResourceInUseException</code> exception if the bot is
|
|
2953
|
+
* being used by another resource. Set this parameter to <code>true</code>
|
|
2954
|
+
* to skip this check and remove the bot even if it is being used by
|
|
2955
|
+
* another resource.</p>
|
|
2899
2956
|
*/
|
|
2900
2957
|
skipResourceInUseCheck?: boolean;
|
|
2901
2958
|
}
|
|
@@ -2921,8 +2978,12 @@ export interface DeleteBotAliasRequest {
|
|
|
2921
2978
|
*/
|
|
2922
2979
|
botId: string | undefined;
|
|
2923
2980
|
/**
|
|
2924
|
-
* <p>
|
|
2925
|
-
*
|
|
2981
|
+
* <p>By default, Amazon Lex checks if any other resource, such as a bot network,
|
|
2982
|
+
* is using the bot alias before it is deleted and throws a
|
|
2983
|
+
* <code>ResourceInUseException</code> exception if the alias is
|
|
2984
|
+
* being used by another resource. Set this parameter to <code>true</code>
|
|
2985
|
+
* to skip this check and remove the alias even if it is being used by
|
|
2986
|
+
* another resource.</p>
|
|
2926
2987
|
*/
|
|
2927
2988
|
skipResourceInUseCheck?: boolean;
|
|
2928
2989
|
}
|
|
@@ -2990,12 +3051,12 @@ export interface DeleteBotVersionRequest {
|
|
|
2990
3051
|
*/
|
|
2991
3052
|
botVersion: string | undefined;
|
|
2992
3053
|
/**
|
|
2993
|
-
* <p>By default,
|
|
2994
|
-
*
|
|
2995
|
-
*
|
|
2996
|
-
*
|
|
2997
|
-
* to skip this check and remove the version even if
|
|
2998
|
-
*
|
|
3054
|
+
* <p>By default, Amazon Lex checks if any other resource, such as an alias or bot network,
|
|
3055
|
+
* is using the bot version before it is deleted and throws a
|
|
3056
|
+
* <code>ResourceInUseException</code> exception if the version is
|
|
3057
|
+
* being used by another resource. Set this parameter to <code>true</code>
|
|
3058
|
+
* to skip this check and remove the version even if it is being used by
|
|
3059
|
+
* another resource.</p>
|
|
2999
3060
|
*/
|
|
3000
3061
|
skipResourceInUseCheck?: boolean;
|
|
3001
3062
|
}
|
|
@@ -3064,7 +3125,7 @@ export interface DeleteExportResponse {
|
|
|
3064
3125
|
exportId?: string;
|
|
3065
3126
|
/**
|
|
3066
3127
|
* <p>The current status of the deletion. When the deletion is complete,
|
|
3067
|
-
* the export will no longer be returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/
|
|
3128
|
+
* the export will no longer be returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListExports.html">ListExports</a> operation and calls to the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html">
|
|
3068
3129
|
* DescribeExport</a> operation with the export identifier will
|
|
3069
3130
|
* fail.</p>
|
|
3070
3131
|
*/
|
|
@@ -3089,7 +3150,7 @@ export interface DeleteImportResponse {
|
|
|
3089
3150
|
importId?: string;
|
|
3090
3151
|
/**
|
|
3091
3152
|
* <p>The current status of the deletion. When the deletion is complete,
|
|
3092
|
-
* the import will no longer be returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/
|
|
3153
|
+
* the import will no longer be returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListImports.html">ListImports</a> operation and calls to the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeImport.html">DescribeImport</a> operation with the import identifier will
|
|
3093
3154
|
* fail.</p>
|
|
3094
3155
|
*/
|
|
3095
3156
|
importStatus?: ImportStatus | string;
|
|
@@ -3242,7 +3303,7 @@ export interface DeleteUtterancesRequest {
|
|
|
3242
3303
|
localeId?: string;
|
|
3243
3304
|
/**
|
|
3244
3305
|
* <p>The unique identifier of the session with the user. The ID is
|
|
3245
|
-
* returned in the response from the <a href="https://docs.aws.amazon.com/lexv2/latest/
|
|
3306
|
+
* returned in the response from the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_RecognizeText.html">RecognizeText</a> and <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_RecognizeUtterance.html">RecognizeUtterance</a> operations.</p>
|
|
3246
3307
|
*/
|
|
3247
3308
|
sessionId?: string;
|
|
3248
3309
|
}
|
|
@@ -3297,6 +3358,19 @@ export interface DescribeBotResponse {
|
|
|
3297
3358
|
* updated.</p>
|
|
3298
3359
|
*/
|
|
3299
3360
|
lastUpdatedDateTime?: Date;
|
|
3361
|
+
/**
|
|
3362
|
+
* <p>The type of the bot that was described.</p>
|
|
3363
|
+
*/
|
|
3364
|
+
botType?: BotType | string;
|
|
3365
|
+
/**
|
|
3366
|
+
* <p>The list of bots in the network that was described.</p>
|
|
3367
|
+
*/
|
|
3368
|
+
botMembers?: BotMember[];
|
|
3369
|
+
/**
|
|
3370
|
+
* <p>If the <code>botStatus</code> is <code>Failed</code>, this contains
|
|
3371
|
+
* a list of reasons that the bot couldn't be built.</p>
|
|
3372
|
+
*/
|
|
3373
|
+
failureReasons?: string[];
|
|
3300
3374
|
}
|
|
3301
3375
|
export interface DescribeBotAliasRequest {
|
|
3302
3376
|
/**
|
|
@@ -3309,6 +3383,19 @@ export interface DescribeBotAliasRequest {
|
|
|
3309
3383
|
*/
|
|
3310
3384
|
botId: string | undefined;
|
|
3311
3385
|
}
|
|
3386
|
+
/**
|
|
3387
|
+
* <p>A network of bots.</p>
|
|
3388
|
+
*/
|
|
3389
|
+
export interface ParentBotNetwork {
|
|
3390
|
+
/**
|
|
3391
|
+
* <p>The identifier of the network of bots assigned by Amazon Lex.</p>
|
|
3392
|
+
*/
|
|
3393
|
+
botId: string | undefined;
|
|
3394
|
+
/**
|
|
3395
|
+
* <p>The version of the network of bots.</p>
|
|
3396
|
+
*/
|
|
3397
|
+
botVersion: string | undefined;
|
|
3398
|
+
}
|
|
3312
3399
|
export interface DescribeBotAliasResponse {
|
|
3313
3400
|
/**
|
|
3314
3401
|
* <p>The identifier of the bot alias.</p>
|
|
@@ -3364,6 +3451,10 @@ export interface DescribeBotAliasResponse {
|
|
|
3364
3451
|
* updated.</p>
|
|
3365
3452
|
*/
|
|
3366
3453
|
lastUpdatedDateTime?: Date;
|
|
3454
|
+
/**
|
|
3455
|
+
* <p>A list of the networks to which the bot alias you described belongs.</p>
|
|
3456
|
+
*/
|
|
3457
|
+
parentBotNetworks?: ParentBotNetwork[];
|
|
3367
3458
|
}
|
|
3368
3459
|
export interface DescribeBotLocaleRequest {
|
|
3369
3460
|
/**
|
|
@@ -3667,7 +3758,7 @@ export interface DescribeBotVersionResponse {
|
|
|
3667
3758
|
*/
|
|
3668
3759
|
botName?: string;
|
|
3669
3760
|
/**
|
|
3670
|
-
* <p>The version of the bot
|
|
3761
|
+
* <p>The version of the bot that was described.</p>
|
|
3671
3762
|
*/
|
|
3672
3763
|
botVersion?: string;
|
|
3673
3764
|
/**
|
|
@@ -3703,6 +3794,18 @@ export interface DescribeBotVersionResponse {
|
|
|
3703
3794
|
* created.</p>
|
|
3704
3795
|
*/
|
|
3705
3796
|
creationDateTime?: Date;
|
|
3797
|
+
/**
|
|
3798
|
+
* <p>A list of the networks to which the bot version you described belongs.</p>
|
|
3799
|
+
*/
|
|
3800
|
+
parentBotNetworks?: ParentBotNetwork[];
|
|
3801
|
+
/**
|
|
3802
|
+
* <p>The type of the bot in the version that was described.</p>
|
|
3803
|
+
*/
|
|
3804
|
+
botType?: BotType | string;
|
|
3805
|
+
/**
|
|
3806
|
+
* <p>The members of bot network in the version that was described.</p>
|
|
3807
|
+
*/
|
|
3808
|
+
botMembers?: BotMember[];
|
|
3706
3809
|
}
|
|
3707
3810
|
export interface DescribeCustomVocabularyMetadataRequest {
|
|
3708
3811
|
/**
|
|
@@ -4040,7 +4143,7 @@ export declare enum ExportFilterOperator {
|
|
|
4040
4143
|
Equals = "EQ"
|
|
4041
4144
|
}
|
|
4042
4145
|
/**
|
|
4043
|
-
* <p>Filters the response form the <a href="https://docs.aws.amazon.com/lexv2/latest/
|
|
4146
|
+
* <p>Filters the response form the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListExports.html">ListExports</a> operation</p>
|
|
4044
4147
|
*/
|
|
4045
4148
|
export interface ExportFilter {
|
|
4046
4149
|
/**
|
|
@@ -4117,7 +4220,7 @@ export declare enum ImportFilterOperator {
|
|
|
4117
4220
|
Equals = "EQ"
|
|
4118
4221
|
}
|
|
4119
4222
|
/**
|
|
4120
|
-
* <p>Filters the response from the <a href="https://docs.aws.amazon.com/lexv2/latest/
|
|
4223
|
+
* <p>Filters the response from the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListImports.html">ListImports</a> operation.</p>
|
|
4121
4224
|
*/
|
|
4122
4225
|
export interface ImportFilter {
|
|
4123
4226
|
/**
|
|
@@ -4858,8 +4961,8 @@ export interface ListBuiltInSlotTypesResponse {
|
|
|
4858
4961
|
}
|
|
4859
4962
|
export interface ListCustomVocabularyItemsRequest {
|
|
4860
4963
|
/**
|
|
4861
|
-
* <p>The
|
|
4862
|
-
*
|
|
4964
|
+
* <p>The identifier of the version of the bot associated with this custom
|
|
4965
|
+
* vocabulary.</p>
|
|
4863
4966
|
*/
|
|
4864
4967
|
botId: string | undefined;
|
|
4865
4968
|
/**
|
|
@@ -4868,13 +4971,14 @@ export interface ListCustomVocabularyItemsRequest {
|
|
|
4868
4971
|
*/
|
|
4869
4972
|
botVersion: string | undefined;
|
|
4870
4973
|
/**
|
|
4871
|
-
* <p>The
|
|
4872
|
-
*
|
|
4974
|
+
* <p>The identifier of the language and locale where this custom vocabulary
|
|
4975
|
+
* is used. The string must match one of the supported locales. For more
|
|
4976
|
+
* information, see Supported
|
|
4977
|
+
* languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).</p>
|
|
4873
4978
|
*/
|
|
4874
4979
|
localeId: string | undefined;
|
|
4875
4980
|
/**
|
|
4876
|
-
* <p>The maximum
|
|
4877
|
-
* request.</p>
|
|
4981
|
+
* <p>The maximum number of items returned by the list operation.</p>
|
|
4878
4982
|
*/
|
|
4879
4983
|
maxResults?: number;
|
|
4880
4984
|
/**
|
|
@@ -4885,18 +4989,18 @@ export interface ListCustomVocabularyItemsRequest {
|
|
|
4885
4989
|
}
|
|
4886
4990
|
export interface ListCustomVocabularyItemsResponse {
|
|
4887
4991
|
/**
|
|
4888
|
-
* <p>The
|
|
4889
|
-
* response.</p>
|
|
4992
|
+
* <p>The identifier of the bot associated with this custom vocabulary.</p>
|
|
4890
4993
|
*/
|
|
4891
4994
|
botId?: string;
|
|
4892
4995
|
/**
|
|
4893
|
-
* <p>The
|
|
4894
|
-
*
|
|
4996
|
+
* <p>The identifier of the version of the bot associated with this custom
|
|
4997
|
+
* vocabulary.</p>
|
|
4895
4998
|
*/
|
|
4896
4999
|
botVersion?: string;
|
|
4897
5000
|
/**
|
|
4898
|
-
* <p>The
|
|
4899
|
-
*
|
|
5001
|
+
* <p>The identifier of the language and locale where this custom vocabulary
|
|
5002
|
+
* is used. The string must match one of the supported locales. For more
|
|
5003
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html"> Supported Languages </a>.</p>
|
|
4900
5004
|
*/
|
|
4901
5005
|
localeId?: string;
|
|
4902
5006
|
/**
|
|
@@ -5754,7 +5858,7 @@ export interface StartBotRecommendationResponse {
|
|
|
5754
5858
|
export interface StartImportRequest {
|
|
5755
5859
|
/**
|
|
5756
5860
|
* <p>The unique identifier for the import. It is included in the response
|
|
5757
|
-
* from the <a href="https://docs.aws.amazon.com/lexv2/latest/
|
|
5861
|
+
* from the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateUploadUrl.html">CreateUploadUrl</a> operation.</p>
|
|
5758
5862
|
*/
|
|
5759
5863
|
importId: string | undefined;
|
|
5760
5864
|
/**
|
|
@@ -5867,22 +5971,6 @@ export interface TagResourceRequest {
|
|
|
5867
5971
|
*/
|
|
5868
5972
|
tags: Record<string, string> | undefined;
|
|
5869
5973
|
}
|
|
5870
|
-
export interface TagResourceResponse {
|
|
5871
|
-
}
|
|
5872
|
-
export interface UntagResourceRequest {
|
|
5873
|
-
/**
|
|
5874
|
-
* <p>The Amazon Resource Name (ARN) of the resource to remove the tags
|
|
5875
|
-
* from.</p>
|
|
5876
|
-
*/
|
|
5877
|
-
resourceARN: string | undefined;
|
|
5878
|
-
/**
|
|
5879
|
-
* <p>A list of tag keys to remove from the resource. If a tag key does
|
|
5880
|
-
* not exist on the resource, it is ignored.</p>
|
|
5881
|
-
*/
|
|
5882
|
-
tagKeys: string[] | undefined;
|
|
5883
|
-
}
|
|
5884
|
-
export interface UntagResourceResponse {
|
|
5885
|
-
}
|
|
5886
5974
|
/**
|
|
5887
5975
|
* @internal
|
|
5888
5976
|
*/
|
|
@@ -6039,6 +6127,10 @@ export declare const BotLocaleSortByFilterSensitiveLog: (obj: BotLocaleSortBy) =
|
|
|
6039
6127
|
* @internal
|
|
6040
6128
|
*/
|
|
6041
6129
|
export declare const BotLocaleSummaryFilterSensitiveLog: (obj: BotLocaleSummary) => any;
|
|
6130
|
+
/**
|
|
6131
|
+
* @internal
|
|
6132
|
+
*/
|
|
6133
|
+
export declare const BotMemberFilterSensitiveLog: (obj: BotMember) => any;
|
|
6042
6134
|
/**
|
|
6043
6135
|
* @internal
|
|
6044
6136
|
*/
|
|
@@ -6483,6 +6575,10 @@ export declare const DescribeBotResponseFilterSensitiveLog: (obj: DescribeBotRes
|
|
|
6483
6575
|
* @internal
|
|
6484
6576
|
*/
|
|
6485
6577
|
export declare const DescribeBotAliasRequestFilterSensitiveLog: (obj: DescribeBotAliasRequest) => any;
|
|
6578
|
+
/**
|
|
6579
|
+
* @internal
|
|
6580
|
+
*/
|
|
6581
|
+
export declare const ParentBotNetworkFilterSensitiveLog: (obj: ParentBotNetwork) => any;
|
|
6486
6582
|
/**
|
|
6487
6583
|
* @internal
|
|
6488
6584
|
*/
|
|
@@ -6827,15 +6923,3 @@ export declare const StopBotRecommendationResponseFilterSensitiveLog: (obj: Stop
|
|
|
6827
6923
|
* @internal
|
|
6828
6924
|
*/
|
|
6829
6925
|
export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
6830
|
-
/**
|
|
6831
|
-
* @internal
|
|
6832
|
-
*/
|
|
6833
|
-
export declare const TagResourceResponseFilterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
6834
|
-
/**
|
|
6835
|
-
* @internal
|
|
6836
|
-
*/
|
|
6837
|
-
export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
6838
|
-
/**
|
|
6839
|
-
* @internal
|
|
6840
|
-
*/
|
|
6841
|
-
export declare const UntagResourceResponseFilterSensitiveLog: (obj: UntagResourceResponse) => any;
|