@aws-sdk/client-lex-models-v2 3.1005.0 → 3.1007.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/README.md +35 -0
- package/dist-cjs/index.js +96 -0
- package/dist-cjs/schemas/schemas_0.js +138 -23
- package/dist-es/LexModelsV2.js +14 -0
- package/dist-es/commands/DeleteBotAnalyzerRecommendationCommand.js +16 -0
- package/dist-es/commands/DescribeBotAnalyzerRecommendationCommand.js +16 -0
- package/dist-es/commands/ListBotAnalyzerHistoryCommand.js +16 -0
- package/dist-es/commands/StartBotAnalyzerCommand.js +16 -0
- package/dist-es/commands/StopBotAnalyzerCommand.js +16 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +15 -0
- package/dist-es/pagination/DescribeBotAnalyzerRecommendationPaginator.js +4 -0
- package/dist-es/pagination/ListBotAnalyzerHistoryPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +127 -12
- package/dist-types/LexModelsV2.d.ts +49 -0
- package/dist-types/LexModelsV2Client.d.ts +7 -2
- package/dist-types/commands/DeleteBotAnalyzerRecommendationCommand.d.ts +90 -0
- package/dist-types/commands/DescribeBotAnalyzerRecommendationCommand.d.ts +111 -0
- package/dist-types/commands/ListBotAnalyzerHistoryCommand.d.ts +105 -0
- package/dist-types/commands/StartBotAnalyzerCommand.d.ts +104 -0
- package/dist-types/commands/StopBotAnalyzerCommand.d.ts +95 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +39 -0
- package/dist-types/models/models_0.d.ts +160 -164
- package/dist-types/models/models_1.d.ts +336 -2
- package/dist-types/pagination/DescribeBotAnalyzerRecommendationPaginator.d.ts +7 -0
- package/dist-types/pagination/ListBotAnalyzerHistoryPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +18 -0
- package/dist-types/ts3.4/LexModelsV2.d.ts +105 -0
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteBotAnalyzerRecommendationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeBotAnalyzerRecommendationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListBotAnalyzerHistoryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartBotAnalyzerCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/StopBotAnalyzerCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +19 -0
- package/dist-types/ts3.4/models/models_0.d.ts +38 -47
- package/dist-types/ts3.4/models/models_1.d.ts +89 -5
- package/dist-types/ts3.4/pagination/DescribeBotAnalyzerRecommendationPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListBotAnalyzerHistoryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -0
- package/package.json +2 -2
|
@@ -25,6 +25,7 @@ import { CreateSlotTypeCommandInput, CreateSlotTypeCommandOutput } from "./comma
|
|
|
25
25
|
import { CreateTestSetDiscrepancyReportCommandInput, CreateTestSetDiscrepancyReportCommandOutput } from "./commands/CreateTestSetDiscrepancyReportCommand";
|
|
26
26
|
import { CreateUploadUrlCommandInput, CreateUploadUrlCommandOutput } from "./commands/CreateUploadUrlCommand";
|
|
27
27
|
import { DeleteBotAliasCommandInput, DeleteBotAliasCommandOutput } from "./commands/DeleteBotAliasCommand";
|
|
28
|
+
import { DeleteBotAnalyzerRecommendationCommandInput, DeleteBotAnalyzerRecommendationCommandOutput } from "./commands/DeleteBotAnalyzerRecommendationCommand";
|
|
28
29
|
import { DeleteBotCommandInput, DeleteBotCommandOutput } from "./commands/DeleteBotCommand";
|
|
29
30
|
import { DeleteBotLocaleCommandInput, DeleteBotLocaleCommandOutput } from "./commands/DeleteBotLocaleCommand";
|
|
30
31
|
import { DeleteBotReplicaCommandInput, DeleteBotReplicaCommandOutput } from "./commands/DeleteBotReplicaCommand";
|
|
@@ -40,6 +41,7 @@ import { DeleteSlotTypeCommandInput, DeleteSlotTypeCommandOutput } from "./comma
|
|
|
40
41
|
import { DeleteTestSetCommandInput, DeleteTestSetCommandOutput } from "./commands/DeleteTestSetCommand";
|
|
41
42
|
import { DeleteUtterancesCommandInput, DeleteUtterancesCommandOutput } from "./commands/DeleteUtterancesCommand";
|
|
42
43
|
import { DescribeBotAliasCommandInput, DescribeBotAliasCommandOutput } from "./commands/DescribeBotAliasCommand";
|
|
44
|
+
import { DescribeBotAnalyzerRecommendationCommandInput, DescribeBotAnalyzerRecommendationCommandOutput } from "./commands/DescribeBotAnalyzerRecommendationCommand";
|
|
43
45
|
import { DescribeBotCommandInput, DescribeBotCommandOutput } from "./commands/DescribeBotCommand";
|
|
44
46
|
import { DescribeBotLocaleCommandInput, DescribeBotLocaleCommandOutput } from "./commands/DescribeBotLocaleCommand";
|
|
45
47
|
import { DescribeBotRecommendationCommandInput, DescribeBotRecommendationCommandOutput } from "./commands/DescribeBotRecommendationCommand";
|
|
@@ -62,6 +64,7 @@ import { GetTestExecutionArtifactsUrlCommandInput, GetTestExecutionArtifactsUrlC
|
|
|
62
64
|
import { ListAggregatedUtterancesCommandInput, ListAggregatedUtterancesCommandOutput } from "./commands/ListAggregatedUtterancesCommand";
|
|
63
65
|
import { ListBotAliasesCommandInput, ListBotAliasesCommandOutput } from "./commands/ListBotAliasesCommand";
|
|
64
66
|
import { ListBotAliasReplicasCommandInput, ListBotAliasReplicasCommandOutput } from "./commands/ListBotAliasReplicasCommand";
|
|
67
|
+
import { ListBotAnalyzerHistoryCommandInput, ListBotAnalyzerHistoryCommandOutput } from "./commands/ListBotAnalyzerHistoryCommand";
|
|
65
68
|
import { ListBotLocalesCommandInput, ListBotLocalesCommandOutput } from "./commands/ListBotLocalesCommand";
|
|
66
69
|
import { ListBotRecommendationsCommandInput, ListBotRecommendationsCommandOutput } from "./commands/ListBotRecommendationsCommand";
|
|
67
70
|
import { ListBotReplicasCommandInput, ListBotReplicasCommandOutput } from "./commands/ListBotReplicasCommand";
|
|
@@ -91,11 +94,13 @@ import { ListTestSetsCommandInput, ListTestSetsCommandOutput } from "./commands/
|
|
|
91
94
|
import { ListUtteranceAnalyticsDataCommandInput, ListUtteranceAnalyticsDataCommandOutput } from "./commands/ListUtteranceAnalyticsDataCommand";
|
|
92
95
|
import { ListUtteranceMetricsCommandInput, ListUtteranceMetricsCommandOutput } from "./commands/ListUtteranceMetricsCommand";
|
|
93
96
|
import { SearchAssociatedTranscriptsCommandInput, SearchAssociatedTranscriptsCommandOutput } from "./commands/SearchAssociatedTranscriptsCommand";
|
|
97
|
+
import { StartBotAnalyzerCommandInput, StartBotAnalyzerCommandOutput } from "./commands/StartBotAnalyzerCommand";
|
|
94
98
|
import { StartBotRecommendationCommandInput, StartBotRecommendationCommandOutput } from "./commands/StartBotRecommendationCommand";
|
|
95
99
|
import { StartBotResourceGenerationCommandInput, StartBotResourceGenerationCommandOutput } from "./commands/StartBotResourceGenerationCommand";
|
|
96
100
|
import { StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand";
|
|
97
101
|
import { StartTestExecutionCommandInput, StartTestExecutionCommandOutput } from "./commands/StartTestExecutionCommand";
|
|
98
102
|
import { StartTestSetGenerationCommandInput, StartTestSetGenerationCommandOutput } from "./commands/StartTestSetGenerationCommand";
|
|
103
|
+
import { StopBotAnalyzerCommandInput, StopBotAnalyzerCommandOutput } from "./commands/StopBotAnalyzerCommand";
|
|
99
104
|
import { StopBotRecommendationCommandInput, StopBotRecommendationCommandOutput } from "./commands/StopBotRecommendationCommand";
|
|
100
105
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
101
106
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -115,11 +120,11 @@ export { __Client };
|
|
|
115
120
|
/**
|
|
116
121
|
* @public
|
|
117
122
|
*/
|
|
118
|
-
export type ServiceInputTypes = BatchCreateCustomVocabularyItemCommandInput | BatchDeleteCustomVocabularyItemCommandInput | BatchUpdateCustomVocabularyItemCommandInput | BuildBotLocaleCommandInput | CreateBotAliasCommandInput | CreateBotCommandInput | CreateBotLocaleCommandInput | CreateBotReplicaCommandInput | CreateBotVersionCommandInput | CreateExportCommandInput | CreateIntentCommandInput | CreateResourcePolicyCommandInput | CreateResourcePolicyStatementCommandInput | CreateSlotCommandInput | CreateSlotTypeCommandInput | CreateTestSetDiscrepancyReportCommandInput | CreateUploadUrlCommandInput | DeleteBotAliasCommandInput | DeleteBotCommandInput | DeleteBotLocaleCommandInput | DeleteBotReplicaCommandInput | DeleteBotVersionCommandInput | DeleteCustomVocabularyCommandInput | DeleteExportCommandInput | DeleteImportCommandInput | DeleteIntentCommandInput | DeleteResourcePolicyCommandInput | DeleteResourcePolicyStatementCommandInput | DeleteSlotCommandInput | DeleteSlotTypeCommandInput | DeleteTestSetCommandInput | DeleteUtterancesCommandInput | DescribeBotAliasCommandInput | DescribeBotCommandInput | DescribeBotLocaleCommandInput | DescribeBotRecommendationCommandInput | DescribeBotReplicaCommandInput | DescribeBotResourceGenerationCommandInput | DescribeBotVersionCommandInput | DescribeCustomVocabularyMetadataCommandInput | DescribeExportCommandInput | DescribeImportCommandInput | DescribeIntentCommandInput | DescribeResourcePolicyCommandInput | DescribeSlotCommandInput | DescribeSlotTypeCommandInput | DescribeTestExecutionCommandInput | DescribeTestSetCommandInput | DescribeTestSetDiscrepancyReportCommandInput | DescribeTestSetGenerationCommandInput | GenerateBotElementCommandInput | GetTestExecutionArtifactsUrlCommandInput | ListAggregatedUtterancesCommandInput | ListBotAliasReplicasCommandInput | ListBotAliasesCommandInput | ListBotLocalesCommandInput | ListBotRecommendationsCommandInput | ListBotReplicasCommandInput | ListBotResourceGenerationsCommandInput | ListBotVersionReplicasCommandInput | ListBotVersionsCommandInput | ListBotsCommandInput | ListBuiltInIntentsCommandInput | ListBuiltInSlotTypesCommandInput | ListCustomVocabularyItemsCommandInput | ListExportsCommandInput | ListImportsCommandInput | ListIntentMetricsCommandInput | ListIntentPathsCommandInput | ListIntentStageMetricsCommandInput | ListIntentsCommandInput | ListRecommendedIntentsCommandInput | ListSessionAnalyticsDataCommandInput | ListSessionMetricsCommandInput | ListSlotTypesCommandInput | ListSlotsCommandInput | ListTagsForResourceCommandInput | ListTestExecutionResultItemsCommandInput | ListTestExecutionsCommandInput | ListTestSetRecordsCommandInput | ListTestSetsCommandInput | ListUtteranceAnalyticsDataCommandInput | ListUtteranceMetricsCommandInput | SearchAssociatedTranscriptsCommandInput | StartBotRecommendationCommandInput | StartBotResourceGenerationCommandInput | StartImportCommandInput | StartTestExecutionCommandInput | StartTestSetGenerationCommandInput | StopBotRecommendationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBotAliasCommandInput | UpdateBotCommandInput | UpdateBotLocaleCommandInput | UpdateBotRecommendationCommandInput | UpdateExportCommandInput | UpdateIntentCommandInput | UpdateResourcePolicyCommandInput | UpdateSlotCommandInput | UpdateSlotTypeCommandInput | UpdateTestSetCommandInput;
|
|
123
|
+
export type ServiceInputTypes = BatchCreateCustomVocabularyItemCommandInput | BatchDeleteCustomVocabularyItemCommandInput | BatchUpdateCustomVocabularyItemCommandInput | BuildBotLocaleCommandInput | CreateBotAliasCommandInput | CreateBotCommandInput | CreateBotLocaleCommandInput | CreateBotReplicaCommandInput | CreateBotVersionCommandInput | CreateExportCommandInput | CreateIntentCommandInput | CreateResourcePolicyCommandInput | CreateResourcePolicyStatementCommandInput | CreateSlotCommandInput | CreateSlotTypeCommandInput | CreateTestSetDiscrepancyReportCommandInput | CreateUploadUrlCommandInput | DeleteBotAliasCommandInput | DeleteBotAnalyzerRecommendationCommandInput | DeleteBotCommandInput | DeleteBotLocaleCommandInput | DeleteBotReplicaCommandInput | DeleteBotVersionCommandInput | DeleteCustomVocabularyCommandInput | DeleteExportCommandInput | DeleteImportCommandInput | DeleteIntentCommandInput | DeleteResourcePolicyCommandInput | DeleteResourcePolicyStatementCommandInput | DeleteSlotCommandInput | DeleteSlotTypeCommandInput | DeleteTestSetCommandInput | DeleteUtterancesCommandInput | DescribeBotAliasCommandInput | DescribeBotAnalyzerRecommendationCommandInput | DescribeBotCommandInput | DescribeBotLocaleCommandInput | DescribeBotRecommendationCommandInput | DescribeBotReplicaCommandInput | DescribeBotResourceGenerationCommandInput | DescribeBotVersionCommandInput | DescribeCustomVocabularyMetadataCommandInput | DescribeExportCommandInput | DescribeImportCommandInput | DescribeIntentCommandInput | DescribeResourcePolicyCommandInput | DescribeSlotCommandInput | DescribeSlotTypeCommandInput | DescribeTestExecutionCommandInput | DescribeTestSetCommandInput | DescribeTestSetDiscrepancyReportCommandInput | DescribeTestSetGenerationCommandInput | GenerateBotElementCommandInput | GetTestExecutionArtifactsUrlCommandInput | ListAggregatedUtterancesCommandInput | ListBotAliasReplicasCommandInput | ListBotAliasesCommandInput | ListBotAnalyzerHistoryCommandInput | ListBotLocalesCommandInput | ListBotRecommendationsCommandInput | ListBotReplicasCommandInput | ListBotResourceGenerationsCommandInput | ListBotVersionReplicasCommandInput | ListBotVersionsCommandInput | ListBotsCommandInput | ListBuiltInIntentsCommandInput | ListBuiltInSlotTypesCommandInput | ListCustomVocabularyItemsCommandInput | ListExportsCommandInput | ListImportsCommandInput | ListIntentMetricsCommandInput | ListIntentPathsCommandInput | ListIntentStageMetricsCommandInput | ListIntentsCommandInput | ListRecommendedIntentsCommandInput | ListSessionAnalyticsDataCommandInput | ListSessionMetricsCommandInput | ListSlotTypesCommandInput | ListSlotsCommandInput | ListTagsForResourceCommandInput | ListTestExecutionResultItemsCommandInput | ListTestExecutionsCommandInput | ListTestSetRecordsCommandInput | ListTestSetsCommandInput | ListUtteranceAnalyticsDataCommandInput | ListUtteranceMetricsCommandInput | SearchAssociatedTranscriptsCommandInput | StartBotAnalyzerCommandInput | StartBotRecommendationCommandInput | StartBotResourceGenerationCommandInput | StartImportCommandInput | StartTestExecutionCommandInput | StartTestSetGenerationCommandInput | StopBotAnalyzerCommandInput | StopBotRecommendationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBotAliasCommandInput | UpdateBotCommandInput | UpdateBotLocaleCommandInput | UpdateBotRecommendationCommandInput | UpdateExportCommandInput | UpdateIntentCommandInput | UpdateResourcePolicyCommandInput | UpdateSlotCommandInput | UpdateSlotTypeCommandInput | UpdateTestSetCommandInput;
|
|
119
124
|
/**
|
|
120
125
|
* @public
|
|
121
126
|
*/
|
|
122
|
-
export type ServiceOutputTypes = BatchCreateCustomVocabularyItemCommandOutput | BatchDeleteCustomVocabularyItemCommandOutput | BatchUpdateCustomVocabularyItemCommandOutput | BuildBotLocaleCommandOutput | CreateBotAliasCommandOutput | CreateBotCommandOutput | CreateBotLocaleCommandOutput | CreateBotReplicaCommandOutput | CreateBotVersionCommandOutput | CreateExportCommandOutput | CreateIntentCommandOutput | CreateResourcePolicyCommandOutput | CreateResourcePolicyStatementCommandOutput | CreateSlotCommandOutput | CreateSlotTypeCommandOutput | CreateTestSetDiscrepancyReportCommandOutput | CreateUploadUrlCommandOutput | DeleteBotAliasCommandOutput | DeleteBotCommandOutput | DeleteBotLocaleCommandOutput | DeleteBotReplicaCommandOutput | DeleteBotVersionCommandOutput | DeleteCustomVocabularyCommandOutput | DeleteExportCommandOutput | DeleteImportCommandOutput | DeleteIntentCommandOutput | DeleteResourcePolicyCommandOutput | DeleteResourcePolicyStatementCommandOutput | DeleteSlotCommandOutput | DeleteSlotTypeCommandOutput | DeleteTestSetCommandOutput | DeleteUtterancesCommandOutput | DescribeBotAliasCommandOutput | DescribeBotCommandOutput | DescribeBotLocaleCommandOutput | DescribeBotRecommendationCommandOutput | DescribeBotReplicaCommandOutput | DescribeBotResourceGenerationCommandOutput | DescribeBotVersionCommandOutput | DescribeCustomVocabularyMetadataCommandOutput | DescribeExportCommandOutput | DescribeImportCommandOutput | DescribeIntentCommandOutput | DescribeResourcePolicyCommandOutput | DescribeSlotCommandOutput | DescribeSlotTypeCommandOutput | DescribeTestExecutionCommandOutput | DescribeTestSetCommandOutput | DescribeTestSetDiscrepancyReportCommandOutput | DescribeTestSetGenerationCommandOutput | GenerateBotElementCommandOutput | GetTestExecutionArtifactsUrlCommandOutput | ListAggregatedUtterancesCommandOutput | ListBotAliasReplicasCommandOutput | ListBotAliasesCommandOutput | ListBotLocalesCommandOutput | ListBotRecommendationsCommandOutput | ListBotReplicasCommandOutput | ListBotResourceGenerationsCommandOutput | ListBotVersionReplicasCommandOutput | ListBotVersionsCommandOutput | ListBotsCommandOutput | ListBuiltInIntentsCommandOutput | ListBuiltInSlotTypesCommandOutput | ListCustomVocabularyItemsCommandOutput | ListExportsCommandOutput | ListImportsCommandOutput | ListIntentMetricsCommandOutput | ListIntentPathsCommandOutput | ListIntentStageMetricsCommandOutput | ListIntentsCommandOutput | ListRecommendedIntentsCommandOutput | ListSessionAnalyticsDataCommandOutput | ListSessionMetricsCommandOutput | ListSlotTypesCommandOutput | ListSlotsCommandOutput | ListTagsForResourceCommandOutput | ListTestExecutionResultItemsCommandOutput | ListTestExecutionsCommandOutput | ListTestSetRecordsCommandOutput | ListTestSetsCommandOutput | ListUtteranceAnalyticsDataCommandOutput | ListUtteranceMetricsCommandOutput | SearchAssociatedTranscriptsCommandOutput | StartBotRecommendationCommandOutput | StartBotResourceGenerationCommandOutput | StartImportCommandOutput | StartTestExecutionCommandOutput | StartTestSetGenerationCommandOutput | StopBotRecommendationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBotAliasCommandOutput | UpdateBotCommandOutput | UpdateBotLocaleCommandOutput | UpdateBotRecommendationCommandOutput | UpdateExportCommandOutput | UpdateIntentCommandOutput | UpdateResourcePolicyCommandOutput | UpdateSlotCommandOutput | UpdateSlotTypeCommandOutput | UpdateTestSetCommandOutput;
|
|
127
|
+
export type ServiceOutputTypes = BatchCreateCustomVocabularyItemCommandOutput | BatchDeleteCustomVocabularyItemCommandOutput | BatchUpdateCustomVocabularyItemCommandOutput | BuildBotLocaleCommandOutput | CreateBotAliasCommandOutput | CreateBotCommandOutput | CreateBotLocaleCommandOutput | CreateBotReplicaCommandOutput | CreateBotVersionCommandOutput | CreateExportCommandOutput | CreateIntentCommandOutput | CreateResourcePolicyCommandOutput | CreateResourcePolicyStatementCommandOutput | CreateSlotCommandOutput | CreateSlotTypeCommandOutput | CreateTestSetDiscrepancyReportCommandOutput | CreateUploadUrlCommandOutput | DeleteBotAliasCommandOutput | DeleteBotAnalyzerRecommendationCommandOutput | DeleteBotCommandOutput | DeleteBotLocaleCommandOutput | DeleteBotReplicaCommandOutput | DeleteBotVersionCommandOutput | DeleteCustomVocabularyCommandOutput | DeleteExportCommandOutput | DeleteImportCommandOutput | DeleteIntentCommandOutput | DeleteResourcePolicyCommandOutput | DeleteResourcePolicyStatementCommandOutput | DeleteSlotCommandOutput | DeleteSlotTypeCommandOutput | DeleteTestSetCommandOutput | DeleteUtterancesCommandOutput | DescribeBotAliasCommandOutput | DescribeBotAnalyzerRecommendationCommandOutput | DescribeBotCommandOutput | DescribeBotLocaleCommandOutput | DescribeBotRecommendationCommandOutput | DescribeBotReplicaCommandOutput | DescribeBotResourceGenerationCommandOutput | DescribeBotVersionCommandOutput | DescribeCustomVocabularyMetadataCommandOutput | DescribeExportCommandOutput | DescribeImportCommandOutput | DescribeIntentCommandOutput | DescribeResourcePolicyCommandOutput | DescribeSlotCommandOutput | DescribeSlotTypeCommandOutput | DescribeTestExecutionCommandOutput | DescribeTestSetCommandOutput | DescribeTestSetDiscrepancyReportCommandOutput | DescribeTestSetGenerationCommandOutput | GenerateBotElementCommandOutput | GetTestExecutionArtifactsUrlCommandOutput | ListAggregatedUtterancesCommandOutput | ListBotAliasReplicasCommandOutput | ListBotAliasesCommandOutput | ListBotAnalyzerHistoryCommandOutput | ListBotLocalesCommandOutput | ListBotRecommendationsCommandOutput | ListBotReplicasCommandOutput | ListBotResourceGenerationsCommandOutput | ListBotVersionReplicasCommandOutput | ListBotVersionsCommandOutput | ListBotsCommandOutput | ListBuiltInIntentsCommandOutput | ListBuiltInSlotTypesCommandOutput | ListCustomVocabularyItemsCommandOutput | ListExportsCommandOutput | ListImportsCommandOutput | ListIntentMetricsCommandOutput | ListIntentPathsCommandOutput | ListIntentStageMetricsCommandOutput | ListIntentsCommandOutput | ListRecommendedIntentsCommandOutput | ListSessionAnalyticsDataCommandOutput | ListSessionMetricsCommandOutput | ListSlotTypesCommandOutput | ListSlotsCommandOutput | ListTagsForResourceCommandOutput | ListTestExecutionResultItemsCommandOutput | ListTestExecutionsCommandOutput | ListTestSetRecordsCommandOutput | ListTestSetsCommandOutput | ListUtteranceAnalyticsDataCommandOutput | ListUtteranceMetricsCommandOutput | SearchAssociatedTranscriptsCommandOutput | StartBotAnalyzerCommandOutput | StartBotRecommendationCommandOutput | StartBotResourceGenerationCommandOutput | StartImportCommandOutput | StartTestExecutionCommandOutput | StartTestSetGenerationCommandOutput | StopBotAnalyzerCommandOutput | StopBotRecommendationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBotAliasCommandOutput | UpdateBotCommandOutput | UpdateBotLocaleCommandOutput | UpdateBotRecommendationCommandOutput | UpdateExportCommandOutput | UpdateIntentCommandOutput | UpdateResourcePolicyCommandOutput | UpdateSlotCommandOutput | UpdateSlotTypeCommandOutput | UpdateTestSetCommandOutput;
|
|
123
128
|
/**
|
|
124
129
|
* @public
|
|
125
130
|
*/
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
4
|
+
import type { DeleteBotAnalyzerRecommendationRequest, DeleteBotAnalyzerRecommendationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteBotAnalyzerRecommendationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteBotAnalyzerRecommendationCommandInput extends DeleteBotAnalyzerRecommendationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteBotAnalyzerRecommendationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteBotAnalyzerRecommendationCommandOutput extends DeleteBotAnalyzerRecommendationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteBotAnalyzerRecommendationCommand_base: {
|
|
25
|
+
new (input: DeleteBotAnalyzerRecommendationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBotAnalyzerRecommendationCommandInput, DeleteBotAnalyzerRecommendationCommandOutput, LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteBotAnalyzerRecommendationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBotAnalyzerRecommendationCommandInput, DeleteBotAnalyzerRecommendationCommandOutput, LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Permanently deletes the recommendations and analysis results for a specific bot analysis request. This operation is provided for GDPR compliance and cannot be undone.</p>
|
|
31
|
+
* <p>After deletion, the analysis results cannot be retrieved. The analysis request ID will still appear in the history list, but attempting to describe the recommendations will return a <code>ResourceNotFoundException</code>.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { LexModelsV2Client, DeleteBotAnalyzerRecommendationCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
36
|
+
* // const { LexModelsV2Client, DeleteBotAnalyzerRecommendationCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
37
|
+
* // import type { LexModelsV2ClientConfig } from "@aws-sdk/client-lex-models-v2";
|
|
38
|
+
* const config = {}; // type is LexModelsV2ClientConfig
|
|
39
|
+
* const client = new LexModelsV2Client(config);
|
|
40
|
+
* const input = { // DeleteBotAnalyzerRecommendationRequest
|
|
41
|
+
* botId: "STRING_VALUE", // required
|
|
42
|
+
* botAnalyzerRequestId: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DeleteBotAnalyzerRecommendationCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // {};
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param DeleteBotAnalyzerRecommendationCommandInput - {@link DeleteBotAnalyzerRecommendationCommandInput}
|
|
51
|
+
* @returns {@link DeleteBotAnalyzerRecommendationCommandOutput}
|
|
52
|
+
* @see {@link DeleteBotAnalyzerRecommendationCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link DeleteBotAnalyzerRecommendationCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InternalServerException} (server fault)
|
|
57
|
+
* <p>The service encountered an unexpected condition. Try your request
|
|
58
|
+
* again.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>You asked to describe a resource that doesn't exist. Check the
|
|
62
|
+
* resource that you are requesting and try again.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* <p>Your request rate is too high. Reduce the frequency of
|
|
66
|
+
* requests.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>One of the input parameters in your request isn't valid. Check the
|
|
70
|
+
* parameters and try your request again.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class DeleteBotAnalyzerRecommendationCommand extends DeleteBotAnalyzerRecommendationCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: DeleteBotAnalyzerRecommendationRequest;
|
|
83
|
+
output: {};
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: DeleteBotAnalyzerRecommendationCommandInput;
|
|
87
|
+
output: DeleteBotAnalyzerRecommendationCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
4
|
+
import type { DescribeBotAnalyzerRecommendationRequest, DescribeBotAnalyzerRecommendationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeBotAnalyzerRecommendationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeBotAnalyzerRecommendationCommandInput extends DescribeBotAnalyzerRecommendationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeBotAnalyzerRecommendationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeBotAnalyzerRecommendationCommandOutput extends DescribeBotAnalyzerRecommendationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeBotAnalyzerRecommendationCommand_base: {
|
|
25
|
+
new (input: DescribeBotAnalyzerRecommendationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeBotAnalyzerRecommendationCommandInput, DescribeBotAnalyzerRecommendationCommandOutput, LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DescribeBotAnalyzerRecommendationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeBotAnalyzerRecommendationCommandInput, DescribeBotAnalyzerRecommendationCommandOutput, LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the analysis results and recommendations for bot optimization. The analysis must be in <code>Available</code> status before recommendations can be retrieved.</p>
|
|
31
|
+
* <p>Recommendations are returned with pagination support. Each recommendation includes the issue location, priority level, detailed description, and proposed fix.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { LexModelsV2Client, DescribeBotAnalyzerRecommendationCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
36
|
+
* // const { LexModelsV2Client, DescribeBotAnalyzerRecommendationCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
37
|
+
* // import type { LexModelsV2ClientConfig } from "@aws-sdk/client-lex-models-v2";
|
|
38
|
+
* const config = {}; // type is LexModelsV2ClientConfig
|
|
39
|
+
* const client = new LexModelsV2Client(config);
|
|
40
|
+
* const input = { // DescribeBotAnalyzerRecommendationRequest
|
|
41
|
+
* botId: "STRING_VALUE", // required
|
|
42
|
+
* botAnalyzerRequestId: "STRING_VALUE", // required
|
|
43
|
+
* nextToken: "STRING_VALUE",
|
|
44
|
+
* maxResults: Number("int"),
|
|
45
|
+
* };
|
|
46
|
+
* const command = new DescribeBotAnalyzerRecommendationCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // DescribeBotAnalyzerRecommendationResponse
|
|
49
|
+
* // botId: "STRING_VALUE",
|
|
50
|
+
* // botVersion: "STRING_VALUE",
|
|
51
|
+
* // localeId: "STRING_VALUE",
|
|
52
|
+
* // botAnalyzerStatus: "Processing" || "Available" || "Failed" || "Stopping" || "Stopped",
|
|
53
|
+
* // creationDateTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // botAnalyzerRecommendationList: [ // BotAnalyzerRecommendationList
|
|
55
|
+
* // { // BotAnalyzerRecommendation
|
|
56
|
+
* // issueLocation: { // IssueLocation
|
|
57
|
+
* // botLocale: "STRING_VALUE",
|
|
58
|
+
* // intentId: "STRING_VALUE",
|
|
59
|
+
* // slotId: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // priority: "High" || "Medium" || "Low", // required
|
|
62
|
+
* // issueDescription: "STRING_VALUE", // required
|
|
63
|
+
* // proposedFix: "STRING_VALUE", // required
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // nextToken: "STRING_VALUE",
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param DescribeBotAnalyzerRecommendationCommandInput - {@link DescribeBotAnalyzerRecommendationCommandInput}
|
|
72
|
+
* @returns {@link DescribeBotAnalyzerRecommendationCommandOutput}
|
|
73
|
+
* @see {@link DescribeBotAnalyzerRecommendationCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link DescribeBotAnalyzerRecommendationCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* <p>The service encountered an unexpected condition. Try your request
|
|
79
|
+
* again.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* <p>You asked to describe a resource that doesn't exist. Check the
|
|
83
|
+
* resource that you are requesting and try again.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* <p>Your request rate is too high. Reduce the frequency of
|
|
87
|
+
* requests.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ValidationException} (client fault)
|
|
90
|
+
* <p>One of the input parameters in your request isn't valid. Check the
|
|
91
|
+
* parameters and try your request again.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
95
|
+
*
|
|
96
|
+
*
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export declare class DescribeBotAnalyzerRecommendationCommand extends DescribeBotAnalyzerRecommendationCommand_base {
|
|
100
|
+
/** @internal type navigation helper, not in runtime. */
|
|
101
|
+
protected static __types: {
|
|
102
|
+
api: {
|
|
103
|
+
input: DescribeBotAnalyzerRecommendationRequest;
|
|
104
|
+
output: DescribeBotAnalyzerRecommendationResponse;
|
|
105
|
+
};
|
|
106
|
+
sdk: {
|
|
107
|
+
input: DescribeBotAnalyzerRecommendationCommandInput;
|
|
108
|
+
output: DescribeBotAnalyzerRecommendationCommandOutput;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
4
|
+
import type { ListBotAnalyzerHistoryRequest, ListBotAnalyzerHistoryResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListBotAnalyzerHistoryCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListBotAnalyzerHistoryCommandInput extends ListBotAnalyzerHistoryRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListBotAnalyzerHistoryCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListBotAnalyzerHistoryCommandOutput extends ListBotAnalyzerHistoryResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListBotAnalyzerHistoryCommand_base: {
|
|
25
|
+
new (input: ListBotAnalyzerHistoryCommandInput): import("@smithy/smithy-client").CommandImpl<ListBotAnalyzerHistoryCommandInput, ListBotAnalyzerHistoryCommandOutput, LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListBotAnalyzerHistoryCommandInput): import("@smithy/smithy-client").CommandImpl<ListBotAnalyzerHistoryCommandInput, ListBotAnalyzerHistoryCommandOutput, LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves a list of historical bot analysis executions for a specific bot. You can filter the results by locale and bot version.</p>
|
|
31
|
+
* <p>The history includes all analysis executions regardless of their status, allowing you to track past analyses and their outcomes.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { LexModelsV2Client, ListBotAnalyzerHistoryCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
36
|
+
* // const { LexModelsV2Client, ListBotAnalyzerHistoryCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
37
|
+
* // import type { LexModelsV2ClientConfig } from "@aws-sdk/client-lex-models-v2";
|
|
38
|
+
* const config = {}; // type is LexModelsV2ClientConfig
|
|
39
|
+
* const client = new LexModelsV2Client(config);
|
|
40
|
+
* const input = { // ListBotAnalyzerHistoryRequest
|
|
41
|
+
* botId: "STRING_VALUE", // required
|
|
42
|
+
* localeId: "STRING_VALUE",
|
|
43
|
+
* botVersion: "STRING_VALUE",
|
|
44
|
+
* nextToken: "STRING_VALUE",
|
|
45
|
+
* maxResults: Number("int"),
|
|
46
|
+
* };
|
|
47
|
+
* const command = new ListBotAnalyzerHistoryCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // ListBotAnalyzerHistoryResponse
|
|
50
|
+
* // botId: "STRING_VALUE",
|
|
51
|
+
* // localeId: "STRING_VALUE",
|
|
52
|
+
* // botVersion: "STRING_VALUE",
|
|
53
|
+
* // botAnalyzerHistoryList: [ // BotAnalyzerHistoryList
|
|
54
|
+
* // { // BotAnalyzerHistorySummary
|
|
55
|
+
* // botAnalyzerStatus: "Processing" || "Available" || "Failed" || "Stopping" || "Stopped", // required
|
|
56
|
+
* // creationDateTime: new Date("TIMESTAMP"),
|
|
57
|
+
* // botAnalyzerRequestId: "STRING_VALUE", // required
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // nextToken: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ListBotAnalyzerHistoryCommandInput - {@link ListBotAnalyzerHistoryCommandInput}
|
|
66
|
+
* @returns {@link ListBotAnalyzerHistoryCommandOutput}
|
|
67
|
+
* @see {@link ListBotAnalyzerHistoryCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ListBotAnalyzerHistoryCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* <p>The service encountered an unexpected condition. Try your request
|
|
73
|
+
* again.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>You asked to describe a resource that doesn't exist. Check the
|
|
77
|
+
* resource that you are requesting and try again.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* <p>Your request rate is too high. Reduce the frequency of
|
|
81
|
+
* requests.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
* <p>One of the input parameters in your request isn't valid. Check the
|
|
85
|
+
* parameters and try your request again.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class ListBotAnalyzerHistoryCommand extends ListBotAnalyzerHistoryCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: ListBotAnalyzerHistoryRequest;
|
|
98
|
+
output: ListBotAnalyzerHistoryResponse;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: ListBotAnalyzerHistoryCommandInput;
|
|
102
|
+
output: ListBotAnalyzerHistoryCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
4
|
+
import type { StartBotAnalyzerRequest, StartBotAnalyzerResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartBotAnalyzerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartBotAnalyzerCommandInput extends StartBotAnalyzerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartBotAnalyzerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartBotAnalyzerCommandOutput extends StartBotAnalyzerResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartBotAnalyzerCommand_base: {
|
|
25
|
+
new (input: StartBotAnalyzerCommandInput): import("@smithy/smithy-client").CommandImpl<StartBotAnalyzerCommandInput, StartBotAnalyzerCommandOutput, LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StartBotAnalyzerCommandInput): import("@smithy/smithy-client").CommandImpl<StartBotAnalyzerCommandInput, StartBotAnalyzerCommandOutput, LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Initiates an asynchronous analysis of your bot configuration using AI-powered analysis to identify potential issues and recommend improvements based on AWS best practices.</p>
|
|
31
|
+
* <p>The analysis examines your bot's configuration, including intents, utterances, slots, and conversation flows, to provide actionable recommendations for optimization.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { LexModelsV2Client, StartBotAnalyzerCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
36
|
+
* // const { LexModelsV2Client, StartBotAnalyzerCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
37
|
+
* // import type { LexModelsV2ClientConfig } from "@aws-sdk/client-lex-models-v2";
|
|
38
|
+
* const config = {}; // type is LexModelsV2ClientConfig
|
|
39
|
+
* const client = new LexModelsV2Client(config);
|
|
40
|
+
* const input = { // StartBotAnalyzerRequest
|
|
41
|
+
* botId: "STRING_VALUE", // required
|
|
42
|
+
* analysisScope: "BotLocale", // required
|
|
43
|
+
* localeId: "STRING_VALUE",
|
|
44
|
+
* botVersion: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new StartBotAnalyzerCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // StartBotAnalyzerResponse
|
|
49
|
+
* // botId: "STRING_VALUE",
|
|
50
|
+
* // botVersion: "STRING_VALUE",
|
|
51
|
+
* // localeId: "STRING_VALUE",
|
|
52
|
+
* // botAnalyzerStatus: "Processing" || "Available" || "Failed" || "Stopping" || "Stopped",
|
|
53
|
+
* // botAnalyzerRequestId: "STRING_VALUE",
|
|
54
|
+
* // creationDateTime: new Date("TIMESTAMP"),
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param StartBotAnalyzerCommandInput - {@link StartBotAnalyzerCommandInput}
|
|
60
|
+
* @returns {@link StartBotAnalyzerCommandOutput}
|
|
61
|
+
* @see {@link StartBotAnalyzerCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link StartBotAnalyzerCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ConflictException} (client fault)
|
|
66
|
+
* <p>The action that you tried to perform couldn't be completed because
|
|
67
|
+
* the resource is in a conflicting state. For example, deleting a bot
|
|
68
|
+
* that is in the CREATING state. Try your request again. </p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>The service encountered an unexpected condition. Try your request
|
|
72
|
+
* again.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
+
* <p>You asked to describe a resource that doesn't exist. Check the
|
|
76
|
+
* resource that you are requesting and try again.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
+
* <p>Your request rate is too high. Reduce the frequency of
|
|
80
|
+
* requests.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* <p>One of the input parameters in your request isn't valid. Check the
|
|
84
|
+
* parameters and try your request again.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class StartBotAnalyzerCommand extends StartBotAnalyzerCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: StartBotAnalyzerRequest;
|
|
97
|
+
output: StartBotAnalyzerResponse;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: StartBotAnalyzerCommandInput;
|
|
101
|
+
output: StartBotAnalyzerCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
4
|
+
import type { StopBotAnalyzerRequest, StopBotAnalyzerResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StopBotAnalyzerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StopBotAnalyzerCommandInput extends StopBotAnalyzerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StopBotAnalyzerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StopBotAnalyzerCommandOutput extends StopBotAnalyzerResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StopBotAnalyzerCommand_base: {
|
|
25
|
+
new (input: StopBotAnalyzerCommandInput): import("@smithy/smithy-client").CommandImpl<StopBotAnalyzerCommandInput, StopBotAnalyzerCommandOutput, LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StopBotAnalyzerCommandInput): import("@smithy/smithy-client").CommandImpl<StopBotAnalyzerCommandInput, StopBotAnalyzerCommandOutput, LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Cancels an ongoing bot analysis execution. Once stopped, the analysis cannot be resumed and no recommendations will be generated.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LexModelsV2Client, StopBotAnalyzerCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
35
|
+
* // const { LexModelsV2Client, StopBotAnalyzerCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
36
|
+
* // import type { LexModelsV2ClientConfig } from "@aws-sdk/client-lex-models-v2";
|
|
37
|
+
* const config = {}; // type is LexModelsV2ClientConfig
|
|
38
|
+
* const client = new LexModelsV2Client(config);
|
|
39
|
+
* const input = { // StopBotAnalyzerRequest
|
|
40
|
+
* botId: "STRING_VALUE", // required
|
|
41
|
+
* botAnalyzerRequestId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new StopBotAnalyzerCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // StopBotAnalyzerResponse
|
|
46
|
+
* // botId: "STRING_VALUE",
|
|
47
|
+
* // botVersion: "STRING_VALUE",
|
|
48
|
+
* // localeId: "STRING_VALUE",
|
|
49
|
+
* // botAnalyzerStatus: "Processing" || "Available" || "Failed" || "Stopping" || "Stopped",
|
|
50
|
+
* // botAnalyzerRequestId: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param StopBotAnalyzerCommandInput - {@link StopBotAnalyzerCommandInput}
|
|
56
|
+
* @returns {@link StopBotAnalyzerCommandOutput}
|
|
57
|
+
* @see {@link StopBotAnalyzerCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link StopBotAnalyzerCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerException} (server fault)
|
|
62
|
+
* <p>The service encountered an unexpected condition. Try your request
|
|
63
|
+
* again.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>You asked to describe a resource that doesn't exist. Check the
|
|
67
|
+
* resource that you are requesting and try again.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>Your request rate is too high. Reduce the frequency of
|
|
71
|
+
* requests.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>One of the input parameters in your request isn't valid. Check the
|
|
75
|
+
* parameters and try your request again.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class StopBotAnalyzerCommand extends StopBotAnalyzerCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: StopBotAnalyzerRequest;
|
|
88
|
+
output: StopBotAnalyzerResponse;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: StopBotAnalyzerCommandInput;
|
|
92
|
+
output: StopBotAnalyzerCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -16,6 +16,7 @@ export * from "./CreateSlotTypeCommand";
|
|
|
16
16
|
export * from "./CreateTestSetDiscrepancyReportCommand";
|
|
17
17
|
export * from "./CreateUploadUrlCommand";
|
|
18
18
|
export * from "./DeleteBotAliasCommand";
|
|
19
|
+
export * from "./DeleteBotAnalyzerRecommendationCommand";
|
|
19
20
|
export * from "./DeleteBotCommand";
|
|
20
21
|
export * from "./DeleteBotLocaleCommand";
|
|
21
22
|
export * from "./DeleteBotReplicaCommand";
|
|
@@ -31,6 +32,7 @@ export * from "./DeleteSlotTypeCommand";
|
|
|
31
32
|
export * from "./DeleteTestSetCommand";
|
|
32
33
|
export * from "./DeleteUtterancesCommand";
|
|
33
34
|
export * from "./DescribeBotAliasCommand";
|
|
35
|
+
export * from "./DescribeBotAnalyzerRecommendationCommand";
|
|
34
36
|
export * from "./DescribeBotCommand";
|
|
35
37
|
export * from "./DescribeBotLocaleCommand";
|
|
36
38
|
export * from "./DescribeBotRecommendationCommand";
|
|
@@ -53,6 +55,7 @@ export * from "./GetTestExecutionArtifactsUrlCommand";
|
|
|
53
55
|
export * from "./ListAggregatedUtterancesCommand";
|
|
54
56
|
export * from "./ListBotAliasReplicasCommand";
|
|
55
57
|
export * from "./ListBotAliasesCommand";
|
|
58
|
+
export * from "./ListBotAnalyzerHistoryCommand";
|
|
56
59
|
export * from "./ListBotLocalesCommand";
|
|
57
60
|
export * from "./ListBotRecommendationsCommand";
|
|
58
61
|
export * from "./ListBotReplicasCommand";
|
|
@@ -82,11 +85,13 @@ export * from "./ListTestSetsCommand";
|
|
|
82
85
|
export * from "./ListUtteranceAnalyticsDataCommand";
|
|
83
86
|
export * from "./ListUtteranceMetricsCommand";
|
|
84
87
|
export * from "./SearchAssociatedTranscriptsCommand";
|
|
88
|
+
export * from "./StartBotAnalyzerCommand";
|
|
85
89
|
export * from "./StartBotRecommendationCommand";
|
|
86
90
|
export * from "./StartBotResourceGenerationCommand";
|
|
87
91
|
export * from "./StartImportCommand";
|
|
88
92
|
export * from "./StartTestExecutionCommand";
|
|
89
93
|
export * from "./StartTestSetGenerationCommand";
|
|
94
|
+
export * from "./StopBotAnalyzerCommand";
|
|
90
95
|
export * from "./StopBotRecommendationCommand";
|
|
91
96
|
export * from "./TagResourceCommand";
|
|
92
97
|
export * from "./UntagResourceCommand";
|