@aws-sdk/client-lex-models-v2 3.344.0 → 3.347.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 +112 -0
- package/dist-cjs/LexModelsV2.js +28 -0
- package/dist-cjs/commands/CreateTestSetDiscrepancyReportCommand.js +46 -0
- package/dist-cjs/commands/DeleteTestSetCommand.js +46 -0
- package/dist-cjs/commands/DescribeTestExecutionCommand.js +46 -0
- package/dist-cjs/commands/DescribeTestSetCommand.js +46 -0
- package/dist-cjs/commands/DescribeTestSetDiscrepancyReportCommand.js +46 -0
- package/dist-cjs/commands/DescribeTestSetGenerationCommand.js +46 -0
- package/dist-cjs/commands/GetTestExecutionArtifactsUrlCommand.js +46 -0
- package/dist-cjs/commands/ListTestExecutionResultItemsCommand.js +46 -0
- package/dist-cjs/commands/ListTestExecutionsCommand.js +46 -0
- package/dist-cjs/commands/ListTestSetRecordsCommand.js +46 -0
- package/dist-cjs/commands/ListTestSetsCommand.js +46 -0
- package/dist-cjs/commands/StartBotRecommendationCommand.js +3 -3
- package/dist-cjs/commands/StartImportCommand.js +2 -2
- package/dist-cjs/commands/StartTestExecutionCommand.js +46 -0
- package/dist-cjs/commands/StartTestSetGenerationCommand.js +46 -0
- package/dist-cjs/commands/UpdateTestSetCommand.js +46 -0
- package/dist-cjs/commands/index.js +14 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +52 -50
- package/dist-cjs/models/models_1.js +64 -1
- package/dist-cjs/pagination/ListTestExecutionResultItemsPaginator.js +29 -0
- package/dist-cjs/pagination/ListTestExecutionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListTestSetRecordsPaginator.js +29 -0
- package/dist-cjs/pagination/ListTestSetsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1395 -146
- package/dist-es/LexModelsV2.js +28 -0
- package/dist-es/commands/CreateTestSetDiscrepancyReportCommand.js +42 -0
- package/dist-es/commands/DeleteTestSetCommand.js +42 -0
- package/dist-es/commands/DescribeTestExecutionCommand.js +42 -0
- package/dist-es/commands/DescribeTestSetCommand.js +42 -0
- package/dist-es/commands/DescribeTestSetDiscrepancyReportCommand.js +42 -0
- package/dist-es/commands/DescribeTestSetGenerationCommand.js +42 -0
- package/dist-es/commands/GetTestExecutionArtifactsUrlCommand.js +42 -0
- package/dist-es/commands/ListTestExecutionResultItemsCommand.js +42 -0
- package/dist-es/commands/ListTestExecutionsCommand.js +42 -0
- package/dist-es/commands/ListTestSetRecordsCommand.js +42 -0
- package/dist-es/commands/ListTestSetsCommand.js +42 -0
- package/dist-es/commands/StartBotRecommendationCommand.js +1 -1
- package/dist-es/commands/StartImportCommand.js +1 -1
- package/dist-es/commands/StartTestExecutionCommand.js +42 -0
- package/dist-es/commands/StartTestSetGenerationCommand.js +42 -0
- package/dist-es/commands/UpdateTestSetCommand.js +42 -0
- package/dist-es/commands/index.js +14 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +50 -45
- package/dist-es/models/models_1.js +60 -0
- package/dist-es/pagination/ListTestExecutionResultItemsPaginator.js +25 -0
- package/dist-es/pagination/ListTestExecutionsPaginator.js +25 -0
- package/dist-es/pagination/ListTestSetRecordsPaginator.js +25 -0
- package/dist-es/pagination/ListTestSetsPaginator.js +25 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1360 -140
- package/dist-types/LexModelsV2.d.ts +98 -0
- package/dist-types/LexModelsV2Client.d.ts +16 -2
- package/dist-types/commands/CreateExportCommand.d.ts +8 -2
- package/dist-types/commands/CreateTestSetDiscrepancyReportCommand.d.ts +113 -0
- package/dist-types/commands/DeleteTestSetCommand.d.ts +96 -0
- package/dist-types/commands/DescribeExportCommand.d.ts +4 -1
- package/dist-types/commands/DescribeImportCommand.d.ts +18 -0
- package/dist-types/commands/DescribeTestExecutionCommand.d.ts +109 -0
- package/dist-types/commands/DescribeTestSetCommand.d.ts +105 -0
- package/dist-types/commands/DescribeTestSetDiscrepancyReportCommand.d.ts +122 -0
- package/dist-types/commands/DescribeTestSetGenerationCommand.d.ts +119 -0
- package/dist-types/commands/GetTestExecutionArtifactsUrlCommand.d.ts +93 -0
- package/dist-types/commands/ListBotAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListBotLocalesCommand.d.ts +1 -1
- package/dist-types/commands/ListBotRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ListBotVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListBotsCommand.d.ts +1 -1
- package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +1 -1
- package/dist-types/commands/ListBuiltInSlotTypesCommand.d.ts +1 -1
- package/dist-types/commands/ListCustomVocabularyItemsCommand.d.ts +1 -1
- package/dist-types/commands/ListExportsCommand.d.ts +5 -2
- package/dist-types/commands/ListImportsCommand.d.ts +2 -2
- package/dist-types/commands/ListIntentsCommand.d.ts +1 -1
- package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +1 -1
- package/dist-types/commands/ListSlotTypesCommand.d.ts +1 -1
- package/dist-types/commands/ListSlotsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTestExecutionResultItemsCommand.d.ts +291 -0
- package/dist-types/commands/ListTestExecutionsCommand.d.ts +112 -0
- package/dist-types/commands/ListTestSetRecordsCommand.d.ts +180 -0
- package/dist-types/commands/ListTestSetsCommand.d.ts +111 -0
- package/dist-types/commands/SearchAssociatedTranscriptsCommand.d.ts +1 -1
- package/dist-types/commands/StartBotRecommendationCommand.d.ts +1 -1
- package/dist-types/commands/StartImportCommand.d.ts +37 -1
- package/dist-types/commands/StartTestExecutionCommand.d.ts +117 -0
- package/dist-types/commands/StartTestSetGenerationCommand.d.ts +144 -0
- package/dist-types/commands/StopBotRecommendationCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -2
- package/dist-types/commands/UpdateExportCommand.d.ts +4 -1
- package/dist-types/commands/UpdateTestSetCommand.d.ts +113 -0
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1054 -1714
- package/dist-types/models/models_1.d.ts +2465 -18
- package/dist-types/pagination/ListTestExecutionResultItemsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTestExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTestSetRecordsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTestSetsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
- package/dist-types/ts3.4/LexModelsV2.d.ts +238 -0
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +86 -2
- package/dist-types/ts3.4/commands/CreateTestSetDiscrepancyReportCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteTestSetCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DescribeTestExecutionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeTestSetCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeTestSetDiscrepancyReportCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeTestSetGenerationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetTestExecutionArtifactsUrlCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListBotAliasesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListBotLocalesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListBotRecommendationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListBotVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListBuiltInIntentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListBuiltInSlotTypesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCustomVocabularyItemsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListIntentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListRecommendedIntentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSlotTypesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSlotsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTestExecutionResultItemsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTestExecutionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTestSetRecordsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTestSetsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/SearchAssociatedTranscriptsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartBotRecommendationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartImportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartTestExecutionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartTestSetGenerationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopBotRecommendationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/UpdateTestSetCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +293 -362
- package/dist-types/ts3.4/models/models_1.d.ts +646 -0
- package/dist-types/ts3.4/pagination/ListTestExecutionResultItemsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTestExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTestSetRecordsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTestSetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
- package/package.json +29 -29
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
-
import { ListImportsRequest, ListImportsResponse } from "../models/
|
|
5
|
+
import { ListImportsRequest, ListImportsResponse } from "../models/models_1";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -65,7 +65,7 @@ export interface ListImportsCommandOutput extends ListImportsResponse, __Metadat
|
|
|
65
65
|
* // mergeStrategy: "Overwrite" || "FailOnConflict" || "Append",
|
|
66
66
|
* // creationDateTime: new Date("TIMESTAMP"),
|
|
67
67
|
* // lastUpdatedDateTime: new Date("TIMESTAMP"),
|
|
68
|
-
* // importedResourceType: "Bot" || "BotLocale" || "CustomVocabulary",
|
|
68
|
+
* // importedResourceType: "Bot" || "BotLocale" || "CustomVocabulary" || "TestSet",
|
|
69
69
|
* // },
|
|
70
70
|
* // ],
|
|
71
71
|
* // nextToken: "STRING_VALUE",
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
-
import { ListIntentsRequest, ListIntentsResponse } from "../models/
|
|
5
|
+
import { ListIntentsRequest, ListIntentsResponse } from "../models/models_1";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
-
import { ListRecommendedIntentsRequest, ListRecommendedIntentsResponse } from "../models/
|
|
5
|
+
import { ListRecommendedIntentsRequest, ListRecommendedIntentsResponse } from "../models/models_1";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
-
import { ListSlotTypesRequest, ListSlotTypesResponse } from "../models/
|
|
5
|
+
import { ListSlotTypesRequest, ListSlotTypesResponse } from "../models/models_1";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
-
import { ListSlotsRequest, ListSlotsResponse } from "../models/
|
|
5
|
+
import { ListSlotsRequest, ListSlotsResponse } from "../models/models_1";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/
|
|
5
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_1";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
+
import { ListTestExecutionResultItemsRequest, ListTestExecutionResultItemsResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListTestExecutionResultItemsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTestExecutionResultItemsCommandInput extends ListTestExecutionResultItemsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTestExecutionResultItemsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTestExecutionResultItemsCommandOutput extends ListTestExecutionResultItemsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Gets a list of test execution result items.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { LexModelsV2Client, ListTestExecutionResultItemsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
31
|
+
* // const { LexModelsV2Client, ListTestExecutionResultItemsCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
32
|
+
* const client = new LexModelsV2Client(config);
|
|
33
|
+
* const input = { // ListTestExecutionResultItemsRequest
|
|
34
|
+
* testExecutionId: "STRING_VALUE", // required
|
|
35
|
+
* resultFilterBy: { // TestExecutionResultFilterBy
|
|
36
|
+
* resultTypeFilter: "OverallTestResults" || "ConversationLevelTestResults" || "IntentClassificationTestResults" || "SlotResolutionTestResults" || "UtteranceLevelResults", // required
|
|
37
|
+
* conversationLevelTestResultsFilterBy: { // ConversationLevelTestResultsFilterBy
|
|
38
|
+
* endToEndResult: "Matched" || "Mismatched" || "ExecutionError",
|
|
39
|
+
* },
|
|
40
|
+
* },
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* nextToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListTestExecutionResultItemsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListTestExecutionResultItemsResponse
|
|
47
|
+
* // testExecutionResults: { // TestExecutionResultItems
|
|
48
|
+
* // overallTestResults: { // OverallTestResults
|
|
49
|
+
* // items: [ // OverallTestResultItemList // required
|
|
50
|
+
* // { // OverallTestResultItem
|
|
51
|
+
* // multiTurnConversation: true || false, // required
|
|
52
|
+
* // totalResultCount: Number("int"), // required
|
|
53
|
+
* // speechTranscriptionResultCounts: { // TestResultMatchStatusCountMap
|
|
54
|
+
* // "<keys>": Number("int"),
|
|
55
|
+
* // },
|
|
56
|
+
* // endToEndResultCounts: { // required
|
|
57
|
+
* // "<keys>": Number("int"),
|
|
58
|
+
* // },
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // },
|
|
62
|
+
* // conversationLevelTestResults: { // ConversationLevelTestResults
|
|
63
|
+
* // items: [ // ConversationLevelTestResultItemList // required
|
|
64
|
+
* // { // ConversationLevelTestResultItem
|
|
65
|
+
* // conversationId: "STRING_VALUE", // required
|
|
66
|
+
* // endToEndResult: "Matched" || "Mismatched" || "ExecutionError", // required
|
|
67
|
+
* // speechTranscriptionResult: "Matched" || "Mismatched" || "ExecutionError",
|
|
68
|
+
* // intentClassificationResults: [ // ConversationLevelIntentClassificationResults // required
|
|
69
|
+
* // { // ConversationLevelIntentClassificationResultItem
|
|
70
|
+
* // intentName: "STRING_VALUE", // required
|
|
71
|
+
* // matchResult: "Matched" || "Mismatched" || "ExecutionError", // required
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // slotResolutionResults: [ // ConversationLevelSlotResolutionResults // required
|
|
75
|
+
* // { // ConversationLevelSlotResolutionResultItem
|
|
76
|
+
* // intentName: "STRING_VALUE", // required
|
|
77
|
+
* // slotName: "STRING_VALUE", // required
|
|
78
|
+
* // matchResult: "Matched" || "Mismatched" || "ExecutionError", // required
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // },
|
|
84
|
+
* // intentClassificationTestResults: { // IntentClassificationTestResults
|
|
85
|
+
* // items: [ // IntentClassificationTestResultItemList // required
|
|
86
|
+
* // { // IntentClassificationTestResultItem
|
|
87
|
+
* // intentName: "STRING_VALUE", // required
|
|
88
|
+
* // multiTurnConversation: true || false, // required
|
|
89
|
+
* // resultCounts: { // IntentClassificationTestResultItemCounts
|
|
90
|
+
* // totalResultCount: Number("int"), // required
|
|
91
|
+
* // speechTranscriptionResultCounts: {
|
|
92
|
+
* // "<keys>": Number("int"),
|
|
93
|
+
* // },
|
|
94
|
+
* // intentMatchResultCounts: { // required
|
|
95
|
+
* // "<keys>": Number("int"),
|
|
96
|
+
* // },
|
|
97
|
+
* // },
|
|
98
|
+
* // },
|
|
99
|
+
* // ],
|
|
100
|
+
* // },
|
|
101
|
+
* // intentLevelSlotResolutionTestResults: { // IntentLevelSlotResolutionTestResults
|
|
102
|
+
* // items: [ // IntentLevelSlotResolutionTestResultItemList // required
|
|
103
|
+
* // { // IntentLevelSlotResolutionTestResultItem
|
|
104
|
+
* // intentName: "STRING_VALUE", // required
|
|
105
|
+
* // multiTurnConversation: true || false, // required
|
|
106
|
+
* // slotResolutionResults: [ // SlotResolutionTestResultItems // required
|
|
107
|
+
* // { // SlotResolutionTestResultItem
|
|
108
|
+
* // slotName: "STRING_VALUE", // required
|
|
109
|
+
* // resultCounts: { // SlotResolutionTestResultItemCounts
|
|
110
|
+
* // totalResultCount: Number("int"), // required
|
|
111
|
+
* // speechTranscriptionResultCounts: "<TestResultMatchStatusCountMap>",
|
|
112
|
+
* // slotMatchResultCounts: "<TestResultMatchStatusCountMap>", // required
|
|
113
|
+
* // },
|
|
114
|
+
* // },
|
|
115
|
+
* // ],
|
|
116
|
+
* // },
|
|
117
|
+
* // ],
|
|
118
|
+
* // },
|
|
119
|
+
* // utteranceLevelTestResults: { // UtteranceLevelTestResults
|
|
120
|
+
* // items: [ // UtteranceLevelTestResultItemList // required
|
|
121
|
+
* // { // UtteranceLevelTestResultItem
|
|
122
|
+
* // recordNumber: Number("long"), // required
|
|
123
|
+
* // conversationId: "STRING_VALUE",
|
|
124
|
+
* // turnResult: { // TestSetTurnResult
|
|
125
|
+
* // agent: { // AgentTurnResult
|
|
126
|
+
* // expectedAgentPrompt: "STRING_VALUE", // required
|
|
127
|
+
* // actualAgentPrompt: "STRING_VALUE",
|
|
128
|
+
* // errorDetails: { // ExecutionErrorDetails
|
|
129
|
+
* // errorCode: "STRING_VALUE", // required
|
|
130
|
+
* // errorMessage: "STRING_VALUE", // required
|
|
131
|
+
* // },
|
|
132
|
+
* // actualElicitedSlot: "STRING_VALUE",
|
|
133
|
+
* // actualIntent: "STRING_VALUE",
|
|
134
|
+
* // },
|
|
135
|
+
* // user: { // UserTurnResult
|
|
136
|
+
* // input: { // UserTurnInputSpecification
|
|
137
|
+
* // utteranceInput: { // UtteranceInputSpecification
|
|
138
|
+
* // textInput: "STRING_VALUE",
|
|
139
|
+
* // audioInput: { // UtteranceAudioInputSpecification
|
|
140
|
+
* // audioFileS3Location: "STRING_VALUE", // required
|
|
141
|
+
* // },
|
|
142
|
+
* // },
|
|
143
|
+
* // requestAttributes: { // StringMap
|
|
144
|
+
* // "<keys>": "STRING_VALUE",
|
|
145
|
+
* // },
|
|
146
|
+
* // sessionState: { // InputSessionStateSpecification
|
|
147
|
+
* // sessionAttributes: {
|
|
148
|
+
* // "<keys>": "STRING_VALUE",
|
|
149
|
+
* // },
|
|
150
|
+
* // activeContexts: [ // ActiveContextList
|
|
151
|
+
* // { // ActiveContext
|
|
152
|
+
* // name: "STRING_VALUE", // required
|
|
153
|
+
* // },
|
|
154
|
+
* // ],
|
|
155
|
+
* // runtimeHints: { // RuntimeHints
|
|
156
|
+
* // slotHints: { // SlotHintsIntentMap
|
|
157
|
+
* // "<keys>": { // SlotHintsSlotMap
|
|
158
|
+
* // "<keys>": { // RuntimeHintDetails
|
|
159
|
+
* // runtimeHintValues: [ // RuntimeHintValuesList
|
|
160
|
+
* // { // RuntimeHintValue
|
|
161
|
+
* // phrase: "STRING_VALUE", // required
|
|
162
|
+
* // },
|
|
163
|
+
* // ],
|
|
164
|
+
* // subSlotHints: {
|
|
165
|
+
* // "<keys>": {
|
|
166
|
+
* // runtimeHintValues: [
|
|
167
|
+
* // {
|
|
168
|
+
* // phrase: "STRING_VALUE", // required
|
|
169
|
+
* // },
|
|
170
|
+
* // ],
|
|
171
|
+
* // subSlotHints: "<SlotHintsSlotMap>",
|
|
172
|
+
* // },
|
|
173
|
+
* // },
|
|
174
|
+
* // },
|
|
175
|
+
* // },
|
|
176
|
+
* // },
|
|
177
|
+
* // },
|
|
178
|
+
* // },
|
|
179
|
+
* // },
|
|
180
|
+
* // expectedOutput: { // UserTurnOutputSpecification
|
|
181
|
+
* // intent: { // UserTurnIntentOutput
|
|
182
|
+
* // name: "STRING_VALUE", // required
|
|
183
|
+
* // slots: { // UserTurnSlotOutputMap
|
|
184
|
+
* // "<keys>": { // UserTurnSlotOutput
|
|
185
|
+
* // value: "STRING_VALUE",
|
|
186
|
+
* // values: [ // UserTurnSlotOutputList
|
|
187
|
+
* // {
|
|
188
|
+
* // value: "STRING_VALUE",
|
|
189
|
+
* // values: [
|
|
190
|
+
* // "<UserTurnSlotOutput>",
|
|
191
|
+
* // ],
|
|
192
|
+
* // subSlots: {
|
|
193
|
+
* // "<keys>": "<UserTurnSlotOutput>",
|
|
194
|
+
* // },
|
|
195
|
+
* // },
|
|
196
|
+
* // ],
|
|
197
|
+
* // subSlots: "<UserTurnSlotOutputMap>",
|
|
198
|
+
* // },
|
|
199
|
+
* // },
|
|
200
|
+
* // },
|
|
201
|
+
* // activeContexts: [
|
|
202
|
+
* // {
|
|
203
|
+
* // name: "STRING_VALUE", // required
|
|
204
|
+
* // },
|
|
205
|
+
* // ],
|
|
206
|
+
* // transcript: "STRING_VALUE",
|
|
207
|
+
* // },
|
|
208
|
+
* // actualOutput: {
|
|
209
|
+
* // intent: {
|
|
210
|
+
* // name: "STRING_VALUE", // required
|
|
211
|
+
* // slots: "<UserTurnSlotOutputMap>",
|
|
212
|
+
* // },
|
|
213
|
+
* // activeContexts: [
|
|
214
|
+
* // {
|
|
215
|
+
* // name: "STRING_VALUE", // required
|
|
216
|
+
* // },
|
|
217
|
+
* // ],
|
|
218
|
+
* // transcript: "STRING_VALUE",
|
|
219
|
+
* // },
|
|
220
|
+
* // errorDetails: {
|
|
221
|
+
* // errorCode: "STRING_VALUE", // required
|
|
222
|
+
* // errorMessage: "STRING_VALUE", // required
|
|
223
|
+
* // },
|
|
224
|
+
* // endToEndResult: "Matched" || "Mismatched" || "ExecutionError",
|
|
225
|
+
* // intentMatchResult: "Matched" || "Mismatched" || "ExecutionError",
|
|
226
|
+
* // slotMatchResult: "Matched" || "Mismatched" || "ExecutionError",
|
|
227
|
+
* // speechTranscriptionResult: "Matched" || "Mismatched" || "ExecutionError",
|
|
228
|
+
* // conversationLevelResult: { // ConversationLevelResultDetail
|
|
229
|
+
* // endToEndResult: "Matched" || "Mismatched" || "ExecutionError", // required
|
|
230
|
+
* // speechTranscriptionResult: "Matched" || "Mismatched" || "ExecutionError",
|
|
231
|
+
* // },
|
|
232
|
+
* // },
|
|
233
|
+
* // },
|
|
234
|
+
* // },
|
|
235
|
+
* // ],
|
|
236
|
+
* // },
|
|
237
|
+
* // },
|
|
238
|
+
* // nextToken: "STRING_VALUE",
|
|
239
|
+
* // };
|
|
240
|
+
*
|
|
241
|
+
* ```
|
|
242
|
+
*
|
|
243
|
+
* @param ListTestExecutionResultItemsCommandInput - {@link ListTestExecutionResultItemsCommandInput}
|
|
244
|
+
* @returns {@link ListTestExecutionResultItemsCommandOutput}
|
|
245
|
+
* @see {@link ListTestExecutionResultItemsCommandInput} for command's `input` shape.
|
|
246
|
+
* @see {@link ListTestExecutionResultItemsCommandOutput} for command's `response` shape.
|
|
247
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
248
|
+
*
|
|
249
|
+
* @throws {@link InternalServerException} (server fault)
|
|
250
|
+
* <p>The service encountered an unexpected condition. Try your request
|
|
251
|
+
* again.</p>
|
|
252
|
+
*
|
|
253
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
254
|
+
* <p>You asked to describe a resource that doesn't exist. Check the
|
|
255
|
+
* resource that you are requesting and try again.</p>
|
|
256
|
+
*
|
|
257
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
258
|
+
* <p>You have reached a quota for your bot. </p>
|
|
259
|
+
*
|
|
260
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
261
|
+
* <p>Your request rate is too high. Reduce the frequency of
|
|
262
|
+
* requests.</p>
|
|
263
|
+
*
|
|
264
|
+
* @throws {@link ValidationException} (client fault)
|
|
265
|
+
* <p>One of the input parameters in your request isn't valid. Check the
|
|
266
|
+
* parameters and try your request again.</p>
|
|
267
|
+
*
|
|
268
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
269
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
270
|
+
*
|
|
271
|
+
*/
|
|
272
|
+
export declare class ListTestExecutionResultItemsCommand extends $Command<ListTestExecutionResultItemsCommandInput, ListTestExecutionResultItemsCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
273
|
+
readonly input: ListTestExecutionResultItemsCommandInput;
|
|
274
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
275
|
+
/**
|
|
276
|
+
* @public
|
|
277
|
+
*/
|
|
278
|
+
constructor(input: ListTestExecutionResultItemsCommandInput);
|
|
279
|
+
/**
|
|
280
|
+
* @internal
|
|
281
|
+
*/
|
|
282
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTestExecutionResultItemsCommandInput, ListTestExecutionResultItemsCommandOutput>;
|
|
283
|
+
/**
|
|
284
|
+
* @internal
|
|
285
|
+
*/
|
|
286
|
+
private serialize;
|
|
287
|
+
/**
|
|
288
|
+
* @internal
|
|
289
|
+
*/
|
|
290
|
+
private deserialize;
|
|
291
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
+
import { ListTestExecutionsRequest, ListTestExecutionsResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListTestExecutionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTestExecutionsCommandInput extends ListTestExecutionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTestExecutionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTestExecutionsCommandOutput extends ListTestExecutionsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>The list of test set executions.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { LexModelsV2Client, ListTestExecutionsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
31
|
+
* // const { LexModelsV2Client, ListTestExecutionsCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
32
|
+
* const client = new LexModelsV2Client(config);
|
|
33
|
+
* const input = { // ListTestExecutionsRequest
|
|
34
|
+
* sortBy: { // TestExecutionSortBy
|
|
35
|
+
* attribute: "TestSetName" || "CreationDateTime", // required
|
|
36
|
+
* order: "Ascending" || "Descending", // required
|
|
37
|
+
* },
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListTestExecutionsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListTestExecutionsResponse
|
|
44
|
+
* // testExecutions: [ // TestExecutionSummaryList
|
|
45
|
+
* // { // TestExecutionSummary
|
|
46
|
+
* // testExecutionId: "STRING_VALUE",
|
|
47
|
+
* // creationDateTime: new Date("TIMESTAMP"),
|
|
48
|
+
* // lastUpdatedDateTime: new Date("TIMESTAMP"),
|
|
49
|
+
* // testExecutionStatus: "Pending" || "Waiting" || "InProgress" || "Completed" || "Failed" || "Stopping" || "Stopped",
|
|
50
|
+
* // testSetId: "STRING_VALUE",
|
|
51
|
+
* // testSetName: "STRING_VALUE",
|
|
52
|
+
* // target: { // TestExecutionTarget
|
|
53
|
+
* // botAliasTarget: { // BotAliasTestExecutionTarget
|
|
54
|
+
* // botId: "STRING_VALUE", // required
|
|
55
|
+
* // botAliasId: "STRING_VALUE", // required
|
|
56
|
+
* // localeId: "STRING_VALUE", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
59
|
+
* // apiMode: "Streaming" || "NonStreaming",
|
|
60
|
+
* // testExecutionModality: "Text" || "Audio",
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // nextToken: "STRING_VALUE",
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param ListTestExecutionsCommandInput - {@link ListTestExecutionsCommandInput}
|
|
69
|
+
* @returns {@link ListTestExecutionsCommandOutput}
|
|
70
|
+
* @see {@link ListTestExecutionsCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link ListTestExecutionsCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>The service encountered an unexpected condition. Try your request
|
|
76
|
+
* again.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
79
|
+
* <p>You have reached a quota for your bot. </p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <p>Your request rate is too high. Reduce the frequency of
|
|
83
|
+
* requests.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ValidationException} (client fault)
|
|
86
|
+
* <p>One of the input parameters in your request isn't valid. Check the
|
|
87
|
+
* parameters and try your request again.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
91
|
+
*
|
|
92
|
+
*/
|
|
93
|
+
export declare class ListTestExecutionsCommand extends $Command<ListTestExecutionsCommandInput, ListTestExecutionsCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
94
|
+
readonly input: ListTestExecutionsCommandInput;
|
|
95
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
constructor(input: ListTestExecutionsCommandInput);
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTestExecutionsCommandInput, ListTestExecutionsCommandOutput>;
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
107
|
+
private serialize;
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
private deserialize;
|
|
112
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
+
import { ListTestSetRecordsRequest, ListTestSetRecordsResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListTestSetRecordsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTestSetRecordsCommandInput extends ListTestSetRecordsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTestSetRecordsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTestSetRecordsCommandOutput extends ListTestSetRecordsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>The list of test set records.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { LexModelsV2Client, ListTestSetRecordsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
31
|
+
* // const { LexModelsV2Client, ListTestSetRecordsCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
32
|
+
* const client = new LexModelsV2Client(config);
|
|
33
|
+
* const input = { // ListTestSetRecordsRequest
|
|
34
|
+
* testSetId: "STRING_VALUE", // required
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* nextToken: "STRING_VALUE",
|
|
37
|
+
* };
|
|
38
|
+
* const command = new ListTestSetRecordsCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // ListTestSetRecordsResponse
|
|
41
|
+
* // testSetRecords: [ // TestSetTurnRecordList
|
|
42
|
+
* // { // TestSetTurnRecord
|
|
43
|
+
* // recordNumber: Number("long"), // required
|
|
44
|
+
* // conversationId: "STRING_VALUE",
|
|
45
|
+
* // turnNumber: Number("int"),
|
|
46
|
+
* // turnSpecification: { // TurnSpecification
|
|
47
|
+
* // agentTurn: { // AgentTurnSpecification
|
|
48
|
+
* // agentPrompt: "STRING_VALUE", // required
|
|
49
|
+
* // },
|
|
50
|
+
* // userTurn: { // UserTurnSpecification
|
|
51
|
+
* // input: { // UserTurnInputSpecification
|
|
52
|
+
* // utteranceInput: { // UtteranceInputSpecification
|
|
53
|
+
* // textInput: "STRING_VALUE",
|
|
54
|
+
* // audioInput: { // UtteranceAudioInputSpecification
|
|
55
|
+
* // audioFileS3Location: "STRING_VALUE", // required
|
|
56
|
+
* // },
|
|
57
|
+
* // },
|
|
58
|
+
* // requestAttributes: { // StringMap
|
|
59
|
+
* // "<keys>": "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // sessionState: { // InputSessionStateSpecification
|
|
62
|
+
* // sessionAttributes: {
|
|
63
|
+
* // "<keys>": "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // activeContexts: [ // ActiveContextList
|
|
66
|
+
* // { // ActiveContext
|
|
67
|
+
* // name: "STRING_VALUE", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // runtimeHints: { // RuntimeHints
|
|
71
|
+
* // slotHints: { // SlotHintsIntentMap
|
|
72
|
+
* // "<keys>": { // SlotHintsSlotMap
|
|
73
|
+
* // "<keys>": { // RuntimeHintDetails
|
|
74
|
+
* // runtimeHintValues: [ // RuntimeHintValuesList
|
|
75
|
+
* // { // RuntimeHintValue
|
|
76
|
+
* // phrase: "STRING_VALUE", // required
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // subSlotHints: {
|
|
80
|
+
* // "<keys>": {
|
|
81
|
+
* // runtimeHintValues: [
|
|
82
|
+
* // {
|
|
83
|
+
* // phrase: "STRING_VALUE", // required
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // subSlotHints: "<SlotHintsSlotMap>",
|
|
87
|
+
* // },
|
|
88
|
+
* // },
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // },
|
|
92
|
+
* // },
|
|
93
|
+
* // },
|
|
94
|
+
* // },
|
|
95
|
+
* // expected: { // UserTurnOutputSpecification
|
|
96
|
+
* // intent: { // UserTurnIntentOutput
|
|
97
|
+
* // name: "STRING_VALUE", // required
|
|
98
|
+
* // slots: { // UserTurnSlotOutputMap
|
|
99
|
+
* // "<keys>": { // UserTurnSlotOutput
|
|
100
|
+
* // value: "STRING_VALUE",
|
|
101
|
+
* // values: [ // UserTurnSlotOutputList
|
|
102
|
+
* // {
|
|
103
|
+
* // value: "STRING_VALUE",
|
|
104
|
+
* // values: [
|
|
105
|
+
* // "<UserTurnSlotOutput>",
|
|
106
|
+
* // ],
|
|
107
|
+
* // subSlots: {
|
|
108
|
+
* // "<keys>": "<UserTurnSlotOutput>",
|
|
109
|
+
* // },
|
|
110
|
+
* // },
|
|
111
|
+
* // ],
|
|
112
|
+
* // subSlots: "<UserTurnSlotOutputMap>",
|
|
113
|
+
* // },
|
|
114
|
+
* // },
|
|
115
|
+
* // },
|
|
116
|
+
* // activeContexts: [
|
|
117
|
+
* // {
|
|
118
|
+
* // name: "STRING_VALUE", // required
|
|
119
|
+
* // },
|
|
120
|
+
* // ],
|
|
121
|
+
* // transcript: "STRING_VALUE",
|
|
122
|
+
* // },
|
|
123
|
+
* // },
|
|
124
|
+
* // },
|
|
125
|
+
* // },
|
|
126
|
+
* // ],
|
|
127
|
+
* // nextToken: "STRING_VALUE",
|
|
128
|
+
* // };
|
|
129
|
+
*
|
|
130
|
+
* ```
|
|
131
|
+
*
|
|
132
|
+
* @param ListTestSetRecordsCommandInput - {@link ListTestSetRecordsCommandInput}
|
|
133
|
+
* @returns {@link ListTestSetRecordsCommandOutput}
|
|
134
|
+
* @see {@link ListTestSetRecordsCommandInput} for command's `input` shape.
|
|
135
|
+
* @see {@link ListTestSetRecordsCommandOutput} for command's `response` shape.
|
|
136
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link InternalServerException} (server fault)
|
|
139
|
+
* <p>The service encountered an unexpected condition. Try your request
|
|
140
|
+
* again.</p>
|
|
141
|
+
*
|
|
142
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
143
|
+
* <p>You asked to describe a resource that doesn't exist. Check the
|
|
144
|
+
* resource that you are requesting and try again.</p>
|
|
145
|
+
*
|
|
146
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
147
|
+
* <p>You have reached a quota for your bot. </p>
|
|
148
|
+
*
|
|
149
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
150
|
+
* <p>Your request rate is too high. Reduce the frequency of
|
|
151
|
+
* requests.</p>
|
|
152
|
+
*
|
|
153
|
+
* @throws {@link ValidationException} (client fault)
|
|
154
|
+
* <p>One of the input parameters in your request isn't valid. Check the
|
|
155
|
+
* parameters and try your request again.</p>
|
|
156
|
+
*
|
|
157
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
158
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
159
|
+
*
|
|
160
|
+
*/
|
|
161
|
+
export declare class ListTestSetRecordsCommand extends $Command<ListTestSetRecordsCommandInput, ListTestSetRecordsCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
162
|
+
readonly input: ListTestSetRecordsCommandInput;
|
|
163
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
164
|
+
/**
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
constructor(input: ListTestSetRecordsCommandInput);
|
|
168
|
+
/**
|
|
169
|
+
* @internal
|
|
170
|
+
*/
|
|
171
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTestSetRecordsCommandInput, ListTestSetRecordsCommandOutput>;
|
|
172
|
+
/**
|
|
173
|
+
* @internal
|
|
174
|
+
*/
|
|
175
|
+
private serialize;
|
|
176
|
+
/**
|
|
177
|
+
* @internal
|
|
178
|
+
*/
|
|
179
|
+
private deserialize;
|
|
180
|
+
}
|