@aws-sdk/client-lex-models-v2 3.41.0 → 3.45.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 +41 -0
- package/dist-cjs/LexModelsV2.js +90 -0
- package/dist-cjs/commands/DescribeBotRecommendationCommand.js +36 -0
- package/dist-cjs/commands/ListBotRecommendationsCommand.js +36 -0
- package/dist-cjs/commands/ListRecommendedIntentsCommand.js +36 -0
- package/dist-cjs/commands/SearchAssociatedTranscriptsCommand.js +36 -0
- package/dist-cjs/commands/StartBotRecommendationCommand.js +36 -0
- package/dist-cjs/commands/UpdateBotRecommendationCommand.js +36 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +231 -5
- package/dist-cjs/pagination/ListBotRecommendationsPaginator.js +35 -0
- package/dist-cjs/pagination/ListRecommendedIntentsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1531 -186
- package/dist-es/LexModelsV2.js +90 -0
- package/dist-es/commands/DescribeBotRecommendationCommand.js +39 -0
- package/dist-es/commands/ListBotRecommendationsCommand.js +39 -0
- package/dist-es/commands/ListRecommendedIntentsCommand.js +39 -0
- package/dist-es/commands/SearchAssociatedTranscriptsCommand.js +39 -0
- package/dist-es/commands/StartBotRecommendationCommand.js +39 -0
- package/dist-es/commands/UpdateBotRecommendationCommand.js +39 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +158 -0
- package/dist-es/pagination/ListBotRecommendationsPaginator.js +74 -0
- package/dist-es/pagination/ListRecommendedIntentsPaginator.js +74 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1543 -135
- package/dist-types/LexModelsV2.d.ts +56 -6
- package/dist-types/LexModelsV2Client.d.ts +8 -2
- package/dist-types/commands/DeleteBotVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUtterancesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +39 -0
- package/dist-types/commands/ListBotRecommendationsCommand.d.ts +36 -0
- package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +1 -1
- package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +36 -0
- package/dist-types/commands/SearchAssociatedTranscriptsCommand.d.ts +36 -0
- package/dist-types/commands/StartBotRecommendationCommand.d.ts +36 -0
- package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +35 -0
- package/dist-types/commands/UpdateExportCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +1117 -91
- package/dist-types/pagination/ListBotRecommendationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListRecommendedIntentsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/LexModelsV2.d.ts +30 -0
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +8 -2
- package/dist-types/ts3.4/commands/DescribeBotRecommendationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBotRecommendationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRecommendedIntentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SearchAssociatedTranscriptsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartBotRecommendationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateBotRecommendationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +480 -2
- package/dist-types/ts3.4/pagination/ListBotRecommendationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListRecommendedIntentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +18 -0
- package/package.json +5 -5
|
@@ -26,6 +26,7 @@ import { DeleteUtterancesCommandInput, DeleteUtterancesCommandOutput } from "./c
|
|
|
26
26
|
import { DescribeBotAliasCommandInput, DescribeBotAliasCommandOutput } from "./commands/DescribeBotAliasCommand";
|
|
27
27
|
import { DescribeBotCommandInput, DescribeBotCommandOutput } from "./commands/DescribeBotCommand";
|
|
28
28
|
import { DescribeBotLocaleCommandInput, DescribeBotLocaleCommandOutput } from "./commands/DescribeBotLocaleCommand";
|
|
29
|
+
import { DescribeBotRecommendationCommandInput, DescribeBotRecommendationCommandOutput } from "./commands/DescribeBotRecommendationCommand";
|
|
29
30
|
import { DescribeBotVersionCommandInput, DescribeBotVersionCommandOutput } from "./commands/DescribeBotVersionCommand";
|
|
30
31
|
import { DescribeExportCommandInput, DescribeExportCommandOutput } from "./commands/DescribeExportCommand";
|
|
31
32
|
import { DescribeImportCommandInput, DescribeImportCommandOutput } from "./commands/DescribeImportCommand";
|
|
@@ -36,6 +37,7 @@ import { DescribeSlotTypeCommandInput, DescribeSlotTypeCommandOutput } from "./c
|
|
|
36
37
|
import { ListAggregatedUtterancesCommandInput, ListAggregatedUtterancesCommandOutput } from "./commands/ListAggregatedUtterancesCommand";
|
|
37
38
|
import { ListBotAliasesCommandInput, ListBotAliasesCommandOutput } from "./commands/ListBotAliasesCommand";
|
|
38
39
|
import { ListBotLocalesCommandInput, ListBotLocalesCommandOutput } from "./commands/ListBotLocalesCommand";
|
|
40
|
+
import { ListBotRecommendationsCommandInput, ListBotRecommendationsCommandOutput } from "./commands/ListBotRecommendationsCommand";
|
|
39
41
|
import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
|
|
40
42
|
import { ListBotVersionsCommandInput, ListBotVersionsCommandOutput } from "./commands/ListBotVersionsCommand";
|
|
41
43
|
import { ListBuiltInIntentsCommandInput, ListBuiltInIntentsCommandOutput } from "./commands/ListBuiltInIntentsCommand";
|
|
@@ -43,15 +45,19 @@ import { ListBuiltInSlotTypesCommandInput, ListBuiltInSlotTypesCommandOutput } f
|
|
|
43
45
|
import { ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand";
|
|
44
46
|
import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/ListImportsCommand";
|
|
45
47
|
import { ListIntentsCommandInput, ListIntentsCommandOutput } from "./commands/ListIntentsCommand";
|
|
48
|
+
import { ListRecommendedIntentsCommandInput, ListRecommendedIntentsCommandOutput } from "./commands/ListRecommendedIntentsCommand";
|
|
46
49
|
import { ListSlotsCommandInput, ListSlotsCommandOutput } from "./commands/ListSlotsCommand";
|
|
47
50
|
import { ListSlotTypesCommandInput, ListSlotTypesCommandOutput } from "./commands/ListSlotTypesCommand";
|
|
48
51
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
52
|
+
import { SearchAssociatedTranscriptsCommandInput, SearchAssociatedTranscriptsCommandOutput } from "./commands/SearchAssociatedTranscriptsCommand";
|
|
53
|
+
import { StartBotRecommendationCommandInput, StartBotRecommendationCommandOutput } from "./commands/StartBotRecommendationCommand";
|
|
49
54
|
import { StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand";
|
|
50
55
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
51
56
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
52
57
|
import { UpdateBotAliasCommandInput, UpdateBotAliasCommandOutput } from "./commands/UpdateBotAliasCommand";
|
|
53
58
|
import { UpdateBotCommandInput, UpdateBotCommandOutput } from "./commands/UpdateBotCommand";
|
|
54
59
|
import { UpdateBotLocaleCommandInput, UpdateBotLocaleCommandOutput } from "./commands/UpdateBotLocaleCommand";
|
|
60
|
+
import { UpdateBotRecommendationCommandInput, UpdateBotRecommendationCommandOutput } from "./commands/UpdateBotRecommendationCommand";
|
|
55
61
|
import { UpdateExportCommandInput, UpdateExportCommandOutput } from "./commands/UpdateExportCommand";
|
|
56
62
|
import { UpdateIntentCommandInput, UpdateIntentCommandOutput } from "./commands/UpdateIntentCommand";
|
|
57
63
|
import { UpdateResourcePolicyCommandInput, UpdateResourcePolicyCommandOutput } from "./commands/UpdateResourcePolicyCommand";
|
|
@@ -238,7 +244,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
238
244
|
deleteBotLocale(args: DeleteBotLocaleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBotLocaleCommandOutput) => void): void;
|
|
239
245
|
/**
|
|
240
246
|
* <p>Deletes a specific version of a bot. To delete all version of a bot,
|
|
241
|
-
* use the <a>DeleteBot</a> operation.</p>
|
|
247
|
+
* use the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteBot.html">DeleteBot</a> operation.</p>
|
|
242
248
|
*/
|
|
243
249
|
deleteBotVersion(args: DeleteBotVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBotVersionCommandOutput>;
|
|
244
250
|
deleteBotVersion(args: DeleteBotVersionCommandInput, cb: (err: any, data?: DeleteBotVersionCommandOutput) => void): void;
|
|
@@ -301,9 +307,9 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
301
307
|
/**
|
|
302
308
|
* <p>Deletes stored utterances.</p>
|
|
303
309
|
* <p>Amazon Lex stores the utterances that users send to your bot. Utterances
|
|
304
|
-
* are stored for 15 days for use with the
|
|
305
|
-
* indefinitely for use in improving the ability of your bot
|
|
306
|
-
* user input..</p>
|
|
310
|
+
* are stored for 15 days for use with the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListAggregatedUtterances.html">ListAggregatedUtterances</a> operation, and
|
|
311
|
+
* then stored indefinitely for use in improving the ability of your bot
|
|
312
|
+
* to respond to user input..</p>
|
|
307
313
|
* <p>Use the <code>DeleteUtterances</code> operation to manually delete
|
|
308
314
|
* utterances for a specific session. When you use the
|
|
309
315
|
* <code>DeleteUtterances</code> operation, utterances stored for
|
|
@@ -333,6 +339,16 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
333
339
|
describeBotLocale(args: DescribeBotLocaleCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBotLocaleCommandOutput>;
|
|
334
340
|
describeBotLocale(args: DescribeBotLocaleCommandInput, cb: (err: any, data?: DescribeBotLocaleCommandOutput) => void): void;
|
|
335
341
|
describeBotLocale(args: DescribeBotLocaleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBotLocaleCommandOutput) => void): void;
|
|
342
|
+
/**
|
|
343
|
+
* <p>Provides metadata information about a bot recommendation. This
|
|
344
|
+
* information will enable you to get a description on the request inputs,
|
|
345
|
+
* to download associated transcripts after processing is complete, and to
|
|
346
|
+
* download intents and slot-types generated by the bot
|
|
347
|
+
* recommendation.</p>
|
|
348
|
+
*/
|
|
349
|
+
describeBotRecommendation(args: DescribeBotRecommendationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBotRecommendationCommandOutput>;
|
|
350
|
+
describeBotRecommendation(args: DescribeBotRecommendationCommandInput, cb: (err: any, data?: DescribeBotRecommendationCommandOutput) => void): void;
|
|
351
|
+
describeBotRecommendation(args: DescribeBotRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBotRecommendationCommandOutput) => void): void;
|
|
336
352
|
/**
|
|
337
353
|
* <p>Provides metadata about a version of a bot.</p>
|
|
338
354
|
*/
|
|
@@ -418,6 +434,13 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
418
434
|
listBotLocales(args: ListBotLocalesCommandInput, options?: __HttpHandlerOptions): Promise<ListBotLocalesCommandOutput>;
|
|
419
435
|
listBotLocales(args: ListBotLocalesCommandInput, cb: (err: any, data?: ListBotLocalesCommandOutput) => void): void;
|
|
420
436
|
listBotLocales(args: ListBotLocalesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBotLocalesCommandOutput) => void): void;
|
|
437
|
+
/**
|
|
438
|
+
* <p>Get a list of bot recommendations that meet the specified
|
|
439
|
+
* criteria.</p>
|
|
440
|
+
*/
|
|
441
|
+
listBotRecommendations(args: ListBotRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ListBotRecommendationsCommandOutput>;
|
|
442
|
+
listBotRecommendations(args: ListBotRecommendationsCommandInput, cb: (err: any, data?: ListBotRecommendationsCommandOutput) => void): void;
|
|
443
|
+
listBotRecommendations(args: ListBotRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBotRecommendationsCommandOutput) => void): void;
|
|
421
444
|
/**
|
|
422
445
|
* <p>Gets a list of available bots.</p>
|
|
423
446
|
*/
|
|
@@ -443,7 +466,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
443
466
|
* <p>To use a built-in intent as a the base for your own intent, include
|
|
444
467
|
* the built-in intent signature in the <code>parentIntentSignature</code>
|
|
445
468
|
* parameter when you call the <code>CreateIntent</code> operation. For
|
|
446
|
-
* more information, see <a>CreateIntent</a>.</p>
|
|
469
|
+
* more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateIntent.html">CreateIntent</a>.</p>
|
|
447
470
|
*/
|
|
448
471
|
listBuiltInIntents(args: ListBuiltInIntentsCommandInput, options?: __HttpHandlerOptions): Promise<ListBuiltInIntentsCommandOutput>;
|
|
449
472
|
listBuiltInIntents(args: ListBuiltInIntentsCommandInput, cb: (err: any, data?: ListBuiltInIntentsCommandOutput) => void): void;
|
|
@@ -475,6 +498,13 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
475
498
|
listIntents(args: ListIntentsCommandInput, options?: __HttpHandlerOptions): Promise<ListIntentsCommandOutput>;
|
|
476
499
|
listIntents(args: ListIntentsCommandInput, cb: (err: any, data?: ListIntentsCommandOutput) => void): void;
|
|
477
500
|
listIntents(args: ListIntentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIntentsCommandOutput) => void): void;
|
|
501
|
+
/**
|
|
502
|
+
* <p>Gets a list of recommended intents provided by the bot
|
|
503
|
+
* recommendation that you can use in your bot.</p>
|
|
504
|
+
*/
|
|
505
|
+
listRecommendedIntents(args: ListRecommendedIntentsCommandInput, options?: __HttpHandlerOptions): Promise<ListRecommendedIntentsCommandOutput>;
|
|
506
|
+
listRecommendedIntents(args: ListRecommendedIntentsCommandInput, cb: (err: any, data?: ListRecommendedIntentsCommandOutput) => void): void;
|
|
507
|
+
listRecommendedIntents(args: ListRecommendedIntentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRecommendedIntentsCommandOutput) => void): void;
|
|
478
508
|
/**
|
|
479
509
|
* <p>Gets a list of slots that match the specified criteria.</p>
|
|
480
510
|
*/
|
|
@@ -494,6 +524,20 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
494
524
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
495
525
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
496
526
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
527
|
+
/**
|
|
528
|
+
* <p>Search for associated transcripts that meet the specified
|
|
529
|
+
* criteria.</p>
|
|
530
|
+
*/
|
|
531
|
+
searchAssociatedTranscripts(args: SearchAssociatedTranscriptsCommandInput, options?: __HttpHandlerOptions): Promise<SearchAssociatedTranscriptsCommandOutput>;
|
|
532
|
+
searchAssociatedTranscripts(args: SearchAssociatedTranscriptsCommandInput, cb: (err: any, data?: SearchAssociatedTranscriptsCommandOutput) => void): void;
|
|
533
|
+
searchAssociatedTranscripts(args: SearchAssociatedTranscriptsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchAssociatedTranscriptsCommandOutput) => void): void;
|
|
534
|
+
/**
|
|
535
|
+
* <p>Use this to provide your transcript data, and to start the bot
|
|
536
|
+
* recommendation process.</p>
|
|
537
|
+
*/
|
|
538
|
+
startBotRecommendation(args: StartBotRecommendationCommandInput, options?: __HttpHandlerOptions): Promise<StartBotRecommendationCommandOutput>;
|
|
539
|
+
startBotRecommendation(args: StartBotRecommendationCommandInput, cb: (err: any, data?: StartBotRecommendationCommandOutput) => void): void;
|
|
540
|
+
startBotRecommendation(args: StartBotRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartBotRecommendationCommandOutput) => void): void;
|
|
497
541
|
/**
|
|
498
542
|
* <p>Starts importing a bot or bot locale from a zip archive that you
|
|
499
543
|
* uploaded to an S3 bucket.</p>
|
|
@@ -533,12 +577,18 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
533
577
|
updateBotLocale(args: UpdateBotLocaleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBotLocaleCommandOutput>;
|
|
534
578
|
updateBotLocale(args: UpdateBotLocaleCommandInput, cb: (err: any, data?: UpdateBotLocaleCommandOutput) => void): void;
|
|
535
579
|
updateBotLocale(args: UpdateBotLocaleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBotLocaleCommandOutput) => void): void;
|
|
580
|
+
/**
|
|
581
|
+
* <p>Updates an existing bot recommendation request.</p>
|
|
582
|
+
*/
|
|
583
|
+
updateBotRecommendation(args: UpdateBotRecommendationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBotRecommendationCommandOutput>;
|
|
584
|
+
updateBotRecommendation(args: UpdateBotRecommendationCommandInput, cb: (err: any, data?: UpdateBotRecommendationCommandOutput) => void): void;
|
|
585
|
+
updateBotRecommendation(args: UpdateBotRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBotRecommendationCommandOutput) => void): void;
|
|
536
586
|
/**
|
|
537
587
|
* <p>Updates the password used to protect an export zip archive.</p>
|
|
538
588
|
* <p>The password is not required. If you don't supply a password, Amazon Lex
|
|
539
589
|
* generates a zip file that is not protected by a password. This is the
|
|
540
590
|
* archive that is available at the pre-signed S3 URL provided by the
|
|
541
|
-
*
|
|
591
|
+
* <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html">DescribeExport</a> operation.</p>
|
|
542
592
|
*/
|
|
543
593
|
updateExport(args: UpdateExportCommandInput, options?: __HttpHandlerOptions): Promise<UpdateExportCommandOutput>;
|
|
544
594
|
updateExport(args: UpdateExportCommandInput, cb: (err: any, data?: UpdateExportCommandOutput) => void): void;
|
|
@@ -33,6 +33,7 @@ import { DeleteUtterancesCommandInput, DeleteUtterancesCommandOutput } from "./c
|
|
|
33
33
|
import { DescribeBotAliasCommandInput, DescribeBotAliasCommandOutput } from "./commands/DescribeBotAliasCommand";
|
|
34
34
|
import { DescribeBotCommandInput, DescribeBotCommandOutput } from "./commands/DescribeBotCommand";
|
|
35
35
|
import { DescribeBotLocaleCommandInput, DescribeBotLocaleCommandOutput } from "./commands/DescribeBotLocaleCommand";
|
|
36
|
+
import { DescribeBotRecommendationCommandInput, DescribeBotRecommendationCommandOutput } from "./commands/DescribeBotRecommendationCommand";
|
|
36
37
|
import { DescribeBotVersionCommandInput, DescribeBotVersionCommandOutput } from "./commands/DescribeBotVersionCommand";
|
|
37
38
|
import { DescribeExportCommandInput, DescribeExportCommandOutput } from "./commands/DescribeExportCommand";
|
|
38
39
|
import { DescribeImportCommandInput, DescribeImportCommandOutput } from "./commands/DescribeImportCommand";
|
|
@@ -43,6 +44,7 @@ import { DescribeSlotTypeCommandInput, DescribeSlotTypeCommandOutput } from "./c
|
|
|
43
44
|
import { ListAggregatedUtterancesCommandInput, ListAggregatedUtterancesCommandOutput } from "./commands/ListAggregatedUtterancesCommand";
|
|
44
45
|
import { ListBotAliasesCommandInput, ListBotAliasesCommandOutput } from "./commands/ListBotAliasesCommand";
|
|
45
46
|
import { ListBotLocalesCommandInput, ListBotLocalesCommandOutput } from "./commands/ListBotLocalesCommand";
|
|
47
|
+
import { ListBotRecommendationsCommandInput, ListBotRecommendationsCommandOutput } from "./commands/ListBotRecommendationsCommand";
|
|
46
48
|
import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
|
|
47
49
|
import { ListBotVersionsCommandInput, ListBotVersionsCommandOutput } from "./commands/ListBotVersionsCommand";
|
|
48
50
|
import { ListBuiltInIntentsCommandInput, ListBuiltInIntentsCommandOutput } from "./commands/ListBuiltInIntentsCommand";
|
|
@@ -50,22 +52,26 @@ import { ListBuiltInSlotTypesCommandInput, ListBuiltInSlotTypesCommandOutput } f
|
|
|
50
52
|
import { ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand";
|
|
51
53
|
import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/ListImportsCommand";
|
|
52
54
|
import { ListIntentsCommandInput, ListIntentsCommandOutput } from "./commands/ListIntentsCommand";
|
|
55
|
+
import { ListRecommendedIntentsCommandInput, ListRecommendedIntentsCommandOutput } from "./commands/ListRecommendedIntentsCommand";
|
|
53
56
|
import { ListSlotsCommandInput, ListSlotsCommandOutput } from "./commands/ListSlotsCommand";
|
|
54
57
|
import { ListSlotTypesCommandInput, ListSlotTypesCommandOutput } from "./commands/ListSlotTypesCommand";
|
|
55
58
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
59
|
+
import { SearchAssociatedTranscriptsCommandInput, SearchAssociatedTranscriptsCommandOutput } from "./commands/SearchAssociatedTranscriptsCommand";
|
|
60
|
+
import { StartBotRecommendationCommandInput, StartBotRecommendationCommandOutput } from "./commands/StartBotRecommendationCommand";
|
|
56
61
|
import { StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand";
|
|
57
62
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
58
63
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
59
64
|
import { UpdateBotAliasCommandInput, UpdateBotAliasCommandOutput } from "./commands/UpdateBotAliasCommand";
|
|
60
65
|
import { UpdateBotCommandInput, UpdateBotCommandOutput } from "./commands/UpdateBotCommand";
|
|
61
66
|
import { UpdateBotLocaleCommandInput, UpdateBotLocaleCommandOutput } from "./commands/UpdateBotLocaleCommand";
|
|
67
|
+
import { UpdateBotRecommendationCommandInput, UpdateBotRecommendationCommandOutput } from "./commands/UpdateBotRecommendationCommand";
|
|
62
68
|
import { UpdateExportCommandInput, UpdateExportCommandOutput } from "./commands/UpdateExportCommand";
|
|
63
69
|
import { UpdateIntentCommandInput, UpdateIntentCommandOutput } from "./commands/UpdateIntentCommand";
|
|
64
70
|
import { UpdateResourcePolicyCommandInput, UpdateResourcePolicyCommandOutput } from "./commands/UpdateResourcePolicyCommand";
|
|
65
71
|
import { UpdateSlotCommandInput, UpdateSlotCommandOutput } from "./commands/UpdateSlotCommand";
|
|
66
72
|
import { UpdateSlotTypeCommandInput, UpdateSlotTypeCommandOutput } from "./commands/UpdateSlotTypeCommand";
|
|
67
|
-
export declare type ServiceInputTypes = BuildBotLocaleCommandInput | CreateBotAliasCommandInput | CreateBotCommandInput | CreateBotLocaleCommandInput | CreateBotVersionCommandInput | CreateExportCommandInput | CreateIntentCommandInput | CreateResourcePolicyCommandInput | CreateResourcePolicyStatementCommandInput | CreateSlotCommandInput | CreateSlotTypeCommandInput | CreateUploadUrlCommandInput | DeleteBotAliasCommandInput | DeleteBotCommandInput | DeleteBotLocaleCommandInput | DeleteBotVersionCommandInput | DeleteExportCommandInput | DeleteImportCommandInput | DeleteIntentCommandInput | DeleteResourcePolicyCommandInput | DeleteResourcePolicyStatementCommandInput | DeleteSlotCommandInput | DeleteSlotTypeCommandInput | DeleteUtterancesCommandInput | DescribeBotAliasCommandInput | DescribeBotCommandInput | DescribeBotLocaleCommandInput | DescribeBotVersionCommandInput | DescribeExportCommandInput | DescribeImportCommandInput | DescribeIntentCommandInput | DescribeResourcePolicyCommandInput | DescribeSlotCommandInput | DescribeSlotTypeCommandInput | ListAggregatedUtterancesCommandInput | ListBotAliasesCommandInput | ListBotLocalesCommandInput | ListBotVersionsCommandInput | ListBotsCommandInput | ListBuiltInIntentsCommandInput | ListBuiltInSlotTypesCommandInput | ListExportsCommandInput | ListImportsCommandInput | ListIntentsCommandInput | ListSlotTypesCommandInput | ListSlotsCommandInput | ListTagsForResourceCommandInput | StartImportCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBotAliasCommandInput | UpdateBotCommandInput | UpdateBotLocaleCommandInput | UpdateExportCommandInput | UpdateIntentCommandInput | UpdateResourcePolicyCommandInput | UpdateSlotCommandInput | UpdateSlotTypeCommandInput;
|
|
68
|
-
export declare type ServiceOutputTypes = BuildBotLocaleCommandOutput | CreateBotAliasCommandOutput | CreateBotCommandOutput | CreateBotLocaleCommandOutput | CreateBotVersionCommandOutput | CreateExportCommandOutput | CreateIntentCommandOutput | CreateResourcePolicyCommandOutput | CreateResourcePolicyStatementCommandOutput | CreateSlotCommandOutput | CreateSlotTypeCommandOutput | CreateUploadUrlCommandOutput | DeleteBotAliasCommandOutput | DeleteBotCommandOutput | DeleteBotLocaleCommandOutput | DeleteBotVersionCommandOutput | DeleteExportCommandOutput | DeleteImportCommandOutput | DeleteIntentCommandOutput | DeleteResourcePolicyCommandOutput | DeleteResourcePolicyStatementCommandOutput | DeleteSlotCommandOutput | DeleteSlotTypeCommandOutput | DeleteUtterancesCommandOutput | DescribeBotAliasCommandOutput | DescribeBotCommandOutput | DescribeBotLocaleCommandOutput | DescribeBotVersionCommandOutput | DescribeExportCommandOutput | DescribeImportCommandOutput | DescribeIntentCommandOutput | DescribeResourcePolicyCommandOutput | DescribeSlotCommandOutput | DescribeSlotTypeCommandOutput | ListAggregatedUtterancesCommandOutput | ListBotAliasesCommandOutput | ListBotLocalesCommandOutput | ListBotVersionsCommandOutput | ListBotsCommandOutput | ListBuiltInIntentsCommandOutput | ListBuiltInSlotTypesCommandOutput | ListExportsCommandOutput | ListImportsCommandOutput | ListIntentsCommandOutput | ListSlotTypesCommandOutput | ListSlotsCommandOutput | ListTagsForResourceCommandOutput | StartImportCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBotAliasCommandOutput | UpdateBotCommandOutput | UpdateBotLocaleCommandOutput | UpdateExportCommandOutput | UpdateIntentCommandOutput | UpdateResourcePolicyCommandOutput | UpdateSlotCommandOutput | UpdateSlotTypeCommandOutput;
|
|
73
|
+
export declare type ServiceInputTypes = BuildBotLocaleCommandInput | CreateBotAliasCommandInput | CreateBotCommandInput | CreateBotLocaleCommandInput | CreateBotVersionCommandInput | CreateExportCommandInput | CreateIntentCommandInput | CreateResourcePolicyCommandInput | CreateResourcePolicyStatementCommandInput | CreateSlotCommandInput | CreateSlotTypeCommandInput | CreateUploadUrlCommandInput | DeleteBotAliasCommandInput | DeleteBotCommandInput | DeleteBotLocaleCommandInput | DeleteBotVersionCommandInput | DeleteExportCommandInput | DeleteImportCommandInput | DeleteIntentCommandInput | DeleteResourcePolicyCommandInput | DeleteResourcePolicyStatementCommandInput | DeleteSlotCommandInput | DeleteSlotTypeCommandInput | DeleteUtterancesCommandInput | DescribeBotAliasCommandInput | DescribeBotCommandInput | DescribeBotLocaleCommandInput | DescribeBotRecommendationCommandInput | DescribeBotVersionCommandInput | DescribeExportCommandInput | DescribeImportCommandInput | DescribeIntentCommandInput | DescribeResourcePolicyCommandInput | DescribeSlotCommandInput | DescribeSlotTypeCommandInput | ListAggregatedUtterancesCommandInput | ListBotAliasesCommandInput | ListBotLocalesCommandInput | ListBotRecommendationsCommandInput | ListBotVersionsCommandInput | ListBotsCommandInput | ListBuiltInIntentsCommandInput | ListBuiltInSlotTypesCommandInput | ListExportsCommandInput | ListImportsCommandInput | ListIntentsCommandInput | ListRecommendedIntentsCommandInput | ListSlotTypesCommandInput | ListSlotsCommandInput | ListTagsForResourceCommandInput | SearchAssociatedTranscriptsCommandInput | StartBotRecommendationCommandInput | StartImportCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBotAliasCommandInput | UpdateBotCommandInput | UpdateBotLocaleCommandInput | UpdateBotRecommendationCommandInput | UpdateExportCommandInput | UpdateIntentCommandInput | UpdateResourcePolicyCommandInput | UpdateSlotCommandInput | UpdateSlotTypeCommandInput;
|
|
74
|
+
export declare type ServiceOutputTypes = BuildBotLocaleCommandOutput | CreateBotAliasCommandOutput | CreateBotCommandOutput | CreateBotLocaleCommandOutput | CreateBotVersionCommandOutput | CreateExportCommandOutput | CreateIntentCommandOutput | CreateResourcePolicyCommandOutput | CreateResourcePolicyStatementCommandOutput | CreateSlotCommandOutput | CreateSlotTypeCommandOutput | CreateUploadUrlCommandOutput | DeleteBotAliasCommandOutput | DeleteBotCommandOutput | DeleteBotLocaleCommandOutput | DeleteBotVersionCommandOutput | DeleteExportCommandOutput | DeleteImportCommandOutput | DeleteIntentCommandOutput | DeleteResourcePolicyCommandOutput | DeleteResourcePolicyStatementCommandOutput | DeleteSlotCommandOutput | DeleteSlotTypeCommandOutput | DeleteUtterancesCommandOutput | DescribeBotAliasCommandOutput | DescribeBotCommandOutput | DescribeBotLocaleCommandOutput | DescribeBotRecommendationCommandOutput | DescribeBotVersionCommandOutput | DescribeExportCommandOutput | DescribeImportCommandOutput | DescribeIntentCommandOutput | DescribeResourcePolicyCommandOutput | DescribeSlotCommandOutput | DescribeSlotTypeCommandOutput | ListAggregatedUtterancesCommandOutput | ListBotAliasesCommandOutput | ListBotLocalesCommandOutput | ListBotRecommendationsCommandOutput | ListBotVersionsCommandOutput | ListBotsCommandOutput | ListBuiltInIntentsCommandOutput | ListBuiltInSlotTypesCommandOutput | ListExportsCommandOutput | ListImportsCommandOutput | ListIntentsCommandOutput | ListRecommendedIntentsCommandOutput | ListSlotTypesCommandOutput | ListSlotsCommandOutput | ListTagsForResourceCommandOutput | SearchAssociatedTranscriptsCommandOutput | StartBotRecommendationCommandOutput | StartImportCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBotAliasCommandOutput | UpdateBotCommandOutput | UpdateBotLocaleCommandOutput | UpdateBotRecommendationCommandOutput | UpdateExportCommandOutput | UpdateIntentCommandOutput | UpdateResourcePolicyCommandOutput | UpdateSlotCommandOutput | UpdateSlotTypeCommandOutput;
|
|
69
75
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
70
76
|
/**
|
|
71
77
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -8,7 +8,7 @@ export interface DeleteBotVersionCommandOutput extends DeleteBotVersionResponse,
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Deletes a specific version of a bot. To delete all version of a bot,
|
|
11
|
-
* use the <a>DeleteBot</a> operation.</p>
|
|
11
|
+
* use the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteBot.html">DeleteBot</a> operation.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```javascript
|
|
@@ -9,9 +9,9 @@ export interface DeleteUtterancesCommandOutput extends DeleteUtterancesResponse,
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Deletes stored utterances.</p>
|
|
11
11
|
* <p>Amazon Lex stores the utterances that users send to your bot. Utterances
|
|
12
|
-
* are stored for 15 days for use with the
|
|
13
|
-
* indefinitely for use in improving the ability of your bot
|
|
14
|
-
* user input..</p>
|
|
12
|
+
* are stored for 15 days for use with the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListAggregatedUtterances.html">ListAggregatedUtterances</a> operation, and
|
|
13
|
+
* then stored indefinitely for use in improving the ability of your bot
|
|
14
|
+
* to respond to user input..</p>
|
|
15
15
|
* <p>Use the <code>DeleteUtterances</code> operation to manually delete
|
|
16
16
|
* utterances for a specific session. When you use the
|
|
17
17
|
* <code>DeleteUtterances</code> operation, utterances stored for
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
4
|
+
import { DescribeBotRecommendationRequest, DescribeBotRecommendationResponse } from "../models/models_0";
|
|
5
|
+
export interface DescribeBotRecommendationCommandInput extends DescribeBotRecommendationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeBotRecommendationCommandOutput extends DescribeBotRecommendationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Provides metadata information about a bot recommendation. This
|
|
11
|
+
* information will enable you to get a description on the request inputs,
|
|
12
|
+
* to download associated transcripts after processing is complete, and to
|
|
13
|
+
* download intents and slot-types generated by the bot
|
|
14
|
+
* recommendation.</p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { LexModelsV2Client, DescribeBotRecommendationCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
19
|
+
* // const { LexModelsV2Client, DescribeBotRecommendationCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
20
|
+
* const client = new LexModelsV2Client(config);
|
|
21
|
+
* const command = new DescribeBotRecommendationCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link DescribeBotRecommendationCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link DescribeBotRecommendationCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class DescribeBotRecommendationCommand extends $Command<DescribeBotRecommendationCommandInput, DescribeBotRecommendationCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
31
|
+
readonly input: DescribeBotRecommendationCommandInput;
|
|
32
|
+
constructor(input: DescribeBotRecommendationCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeBotRecommendationCommandInput, DescribeBotRecommendationCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
4
|
+
import { ListBotRecommendationsRequest, ListBotRecommendationsResponse } from "../models/models_0";
|
|
5
|
+
export interface ListBotRecommendationsCommandInput extends ListBotRecommendationsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListBotRecommendationsCommandOutput extends ListBotRecommendationsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Get a list of bot recommendations that meet the specified
|
|
11
|
+
* criteria.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { LexModelsV2Client, ListBotRecommendationsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
16
|
+
* // const { LexModelsV2Client, ListBotRecommendationsCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
17
|
+
* const client = new LexModelsV2Client(config);
|
|
18
|
+
* const command = new ListBotRecommendationsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListBotRecommendationsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListBotRecommendationsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListBotRecommendationsCommand extends $Command<ListBotRecommendationsCommandInput, ListBotRecommendationsCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
28
|
+
readonly input: ListBotRecommendationsCommandInput;
|
|
29
|
+
constructor(input: ListBotRecommendationsCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListBotRecommendationsCommandInput, ListBotRecommendationsCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -12,7 +12,7 @@ export interface ListBuiltInIntentsCommandOutput extends ListBuiltInIntentsRespo
|
|
|
12
12
|
* <p>To use a built-in intent as a the base for your own intent, include
|
|
13
13
|
* the built-in intent signature in the <code>parentIntentSignature</code>
|
|
14
14
|
* parameter when you call the <code>CreateIntent</code> operation. For
|
|
15
|
-
* more information, see <a>CreateIntent</a>.</p>
|
|
15
|
+
* more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateIntent.html">CreateIntent</a>.</p>
|
|
16
16
|
* @example
|
|
17
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
18
18
|
* ```javascript
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
4
|
+
import { ListRecommendedIntentsRequest, ListRecommendedIntentsResponse } from "../models/models_0";
|
|
5
|
+
export interface ListRecommendedIntentsCommandInput extends ListRecommendedIntentsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListRecommendedIntentsCommandOutput extends ListRecommendedIntentsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets a list of recommended intents provided by the bot
|
|
11
|
+
* recommendation that you can use in your bot.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { LexModelsV2Client, ListRecommendedIntentsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
16
|
+
* // const { LexModelsV2Client, ListRecommendedIntentsCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
17
|
+
* const client = new LexModelsV2Client(config);
|
|
18
|
+
* const command = new ListRecommendedIntentsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListRecommendedIntentsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListRecommendedIntentsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListRecommendedIntentsCommand extends $Command<ListRecommendedIntentsCommandInput, ListRecommendedIntentsCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
28
|
+
readonly input: ListRecommendedIntentsCommandInput;
|
|
29
|
+
constructor(input: ListRecommendedIntentsCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRecommendedIntentsCommandInput, ListRecommendedIntentsCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
4
|
+
import { SearchAssociatedTranscriptsRequest, SearchAssociatedTranscriptsResponse } from "../models/models_0";
|
|
5
|
+
export interface SearchAssociatedTranscriptsCommandInput extends SearchAssociatedTranscriptsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface SearchAssociatedTranscriptsCommandOutput extends SearchAssociatedTranscriptsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Search for associated transcripts that meet the specified
|
|
11
|
+
* criteria.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { LexModelsV2Client, SearchAssociatedTranscriptsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
16
|
+
* // const { LexModelsV2Client, SearchAssociatedTranscriptsCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
17
|
+
* const client = new LexModelsV2Client(config);
|
|
18
|
+
* const command = new SearchAssociatedTranscriptsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link SearchAssociatedTranscriptsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link SearchAssociatedTranscriptsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class SearchAssociatedTranscriptsCommand extends $Command<SearchAssociatedTranscriptsCommandInput, SearchAssociatedTranscriptsCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
28
|
+
readonly input: SearchAssociatedTranscriptsCommandInput;
|
|
29
|
+
constructor(input: SearchAssociatedTranscriptsCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchAssociatedTranscriptsCommandInput, SearchAssociatedTranscriptsCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
4
|
+
import { StartBotRecommendationRequest, StartBotRecommendationResponse } from "../models/models_0";
|
|
5
|
+
export interface StartBotRecommendationCommandInput extends StartBotRecommendationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface StartBotRecommendationCommandOutput extends StartBotRecommendationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Use this to provide your transcript data, and to start the bot
|
|
11
|
+
* recommendation process.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { LexModelsV2Client, StartBotRecommendationCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
16
|
+
* // const { LexModelsV2Client, StartBotRecommendationCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
17
|
+
* const client = new LexModelsV2Client(config);
|
|
18
|
+
* const command = new StartBotRecommendationCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link StartBotRecommendationCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link StartBotRecommendationCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class StartBotRecommendationCommand extends $Command<StartBotRecommendationCommandInput, StartBotRecommendationCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
28
|
+
readonly input: StartBotRecommendationCommandInput;
|
|
29
|
+
constructor(input: StartBotRecommendationCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartBotRecommendationCommandInput, StartBotRecommendationCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
4
|
+
import { UpdateBotRecommendationRequest, UpdateBotRecommendationResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateBotRecommendationCommandInput extends UpdateBotRecommendationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateBotRecommendationCommandOutput extends UpdateBotRecommendationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates an existing bot recommendation request.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { LexModelsV2Client, UpdateBotRecommendationCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
15
|
+
* // const { LexModelsV2Client, UpdateBotRecommendationCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
16
|
+
* const client = new LexModelsV2Client(config);
|
|
17
|
+
* const command = new UpdateBotRecommendationCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UpdateBotRecommendationCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UpdateBotRecommendationCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UpdateBotRecommendationCommand extends $Command<UpdateBotRecommendationCommandInput, UpdateBotRecommendationCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
27
|
+
readonly input: UpdateBotRecommendationCommandInput;
|
|
28
|
+
constructor(input: UpdateBotRecommendationCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateBotRecommendationCommandInput, UpdateBotRecommendationCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -11,7 +11,7 @@ export interface UpdateExportCommandOutput extends UpdateExportResponse, __Metad
|
|
|
11
11
|
* <p>The password is not required. If you don't supply a password, Amazon Lex
|
|
12
12
|
* generates a zip file that is not protected by a password. This is the
|
|
13
13
|
* archive that is available at the pre-signed S3 URL provided by the
|
|
14
|
-
*
|
|
14
|
+
* <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html">DescribeExport</a> operation.</p>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
17
|
* ```javascript
|
|
@@ -25,6 +25,7 @@ export * from "./DeleteUtterancesCommand";
|
|
|
25
25
|
export * from "./DescribeBotAliasCommand";
|
|
26
26
|
export * from "./DescribeBotCommand";
|
|
27
27
|
export * from "./DescribeBotLocaleCommand";
|
|
28
|
+
export * from "./DescribeBotRecommendationCommand";
|
|
28
29
|
export * from "./DescribeBotVersionCommand";
|
|
29
30
|
export * from "./DescribeExportCommand";
|
|
30
31
|
export * from "./DescribeImportCommand";
|
|
@@ -35,6 +36,7 @@ export * from "./DescribeSlotTypeCommand";
|
|
|
35
36
|
export * from "./ListAggregatedUtterancesCommand";
|
|
36
37
|
export * from "./ListBotAliasesCommand";
|
|
37
38
|
export * from "./ListBotLocalesCommand";
|
|
39
|
+
export * from "./ListBotRecommendationsCommand";
|
|
38
40
|
export * from "./ListBotVersionsCommand";
|
|
39
41
|
export * from "./ListBotsCommand";
|
|
40
42
|
export * from "./ListBuiltInIntentsCommand";
|
|
@@ -42,15 +44,19 @@ export * from "./ListBuiltInSlotTypesCommand";
|
|
|
42
44
|
export * from "./ListExportsCommand";
|
|
43
45
|
export * from "./ListImportsCommand";
|
|
44
46
|
export * from "./ListIntentsCommand";
|
|
47
|
+
export * from "./ListRecommendedIntentsCommand";
|
|
45
48
|
export * from "./ListSlotTypesCommand";
|
|
46
49
|
export * from "./ListSlotsCommand";
|
|
47
50
|
export * from "./ListTagsForResourceCommand";
|
|
51
|
+
export * from "./SearchAssociatedTranscriptsCommand";
|
|
52
|
+
export * from "./StartBotRecommendationCommand";
|
|
48
53
|
export * from "./StartImportCommand";
|
|
49
54
|
export * from "./TagResourceCommand";
|
|
50
55
|
export * from "./UntagResourceCommand";
|
|
51
56
|
export * from "./UpdateBotAliasCommand";
|
|
52
57
|
export * from "./UpdateBotCommand";
|
|
53
58
|
export * from "./UpdateBotLocaleCommand";
|
|
59
|
+
export * from "./UpdateBotRecommendationCommand";
|
|
54
60
|
export * from "./UpdateExportCommand";
|
|
55
61
|
export * from "./UpdateIntentCommand";
|
|
56
62
|
export * from "./UpdateResourcePolicyCommand";
|