@aws-sdk/client-lex-models-v2 3.345.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
package/dist-es/LexModelsV2.js
CHANGED
|
@@ -13,6 +13,7 @@ import { CreateResourcePolicyCommand, } from "./commands/CreateResourcePolicyCom
|
|
|
13
13
|
import { CreateResourcePolicyStatementCommand, } from "./commands/CreateResourcePolicyStatementCommand";
|
|
14
14
|
import { CreateSlotCommand } from "./commands/CreateSlotCommand";
|
|
15
15
|
import { CreateSlotTypeCommand, } from "./commands/CreateSlotTypeCommand";
|
|
16
|
+
import { CreateTestSetDiscrepancyReportCommand, } from "./commands/CreateTestSetDiscrepancyReportCommand";
|
|
16
17
|
import { CreateUploadUrlCommand, } from "./commands/CreateUploadUrlCommand";
|
|
17
18
|
import { DeleteBotAliasCommand, } from "./commands/DeleteBotAliasCommand";
|
|
18
19
|
import { DeleteBotCommand } from "./commands/DeleteBotCommand";
|
|
@@ -26,6 +27,7 @@ import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCom
|
|
|
26
27
|
import { DeleteResourcePolicyStatementCommand, } from "./commands/DeleteResourcePolicyStatementCommand";
|
|
27
28
|
import { DeleteSlotCommand } from "./commands/DeleteSlotCommand";
|
|
28
29
|
import { DeleteSlotTypeCommand, } from "./commands/DeleteSlotTypeCommand";
|
|
30
|
+
import { DeleteTestSetCommand, } from "./commands/DeleteTestSetCommand";
|
|
29
31
|
import { DeleteUtterancesCommand, } from "./commands/DeleteUtterancesCommand";
|
|
30
32
|
import { DescribeBotAliasCommand, } from "./commands/DescribeBotAliasCommand";
|
|
31
33
|
import { DescribeBotCommand } from "./commands/DescribeBotCommand";
|
|
@@ -39,6 +41,11 @@ import { DescribeIntentCommand, } from "./commands/DescribeIntentCommand";
|
|
|
39
41
|
import { DescribeResourcePolicyCommand, } from "./commands/DescribeResourcePolicyCommand";
|
|
40
42
|
import { DescribeSlotCommand, } from "./commands/DescribeSlotCommand";
|
|
41
43
|
import { DescribeSlotTypeCommand, } from "./commands/DescribeSlotTypeCommand";
|
|
44
|
+
import { DescribeTestExecutionCommand, } from "./commands/DescribeTestExecutionCommand";
|
|
45
|
+
import { DescribeTestSetCommand, } from "./commands/DescribeTestSetCommand";
|
|
46
|
+
import { DescribeTestSetDiscrepancyReportCommand, } from "./commands/DescribeTestSetDiscrepancyReportCommand";
|
|
47
|
+
import { DescribeTestSetGenerationCommand, } from "./commands/DescribeTestSetGenerationCommand";
|
|
48
|
+
import { GetTestExecutionArtifactsUrlCommand, } from "./commands/GetTestExecutionArtifactsUrlCommand";
|
|
42
49
|
import { ListAggregatedUtterancesCommand, } from "./commands/ListAggregatedUtterancesCommand";
|
|
43
50
|
import { ListBotAliasesCommand, } from "./commands/ListBotAliasesCommand";
|
|
44
51
|
import { ListBotLocalesCommand, } from "./commands/ListBotLocalesCommand";
|
|
@@ -55,9 +62,15 @@ import { ListRecommendedIntentsCommand, } from "./commands/ListRecommendedIntent
|
|
|
55
62
|
import { ListSlotsCommand } from "./commands/ListSlotsCommand";
|
|
56
63
|
import { ListSlotTypesCommand, } from "./commands/ListSlotTypesCommand";
|
|
57
64
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
65
|
+
import { ListTestExecutionResultItemsCommand, } from "./commands/ListTestExecutionResultItemsCommand";
|
|
66
|
+
import { ListTestExecutionsCommand, } from "./commands/ListTestExecutionsCommand";
|
|
67
|
+
import { ListTestSetRecordsCommand, } from "./commands/ListTestSetRecordsCommand";
|
|
68
|
+
import { ListTestSetsCommand, } from "./commands/ListTestSetsCommand";
|
|
58
69
|
import { SearchAssociatedTranscriptsCommand, } from "./commands/SearchAssociatedTranscriptsCommand";
|
|
59
70
|
import { StartBotRecommendationCommand, } from "./commands/StartBotRecommendationCommand";
|
|
60
71
|
import { StartImportCommand } from "./commands/StartImportCommand";
|
|
72
|
+
import { StartTestExecutionCommand, } from "./commands/StartTestExecutionCommand";
|
|
73
|
+
import { StartTestSetGenerationCommand, } from "./commands/StartTestSetGenerationCommand";
|
|
61
74
|
import { StopBotRecommendationCommand, } from "./commands/StopBotRecommendationCommand";
|
|
62
75
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
63
76
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
@@ -70,6 +83,7 @@ import { UpdateIntentCommand, } from "./commands/UpdateIntentCommand";
|
|
|
70
83
|
import { UpdateResourcePolicyCommand, } from "./commands/UpdateResourcePolicyCommand";
|
|
71
84
|
import { UpdateSlotCommand } from "./commands/UpdateSlotCommand";
|
|
72
85
|
import { UpdateSlotTypeCommand, } from "./commands/UpdateSlotTypeCommand";
|
|
86
|
+
import { UpdateTestSetCommand, } from "./commands/UpdateTestSetCommand";
|
|
73
87
|
import { LexModelsV2Client } from "./LexModelsV2Client";
|
|
74
88
|
const commands = {
|
|
75
89
|
BatchCreateCustomVocabularyItemCommand,
|
|
@@ -86,6 +100,7 @@ const commands = {
|
|
|
86
100
|
CreateResourcePolicyStatementCommand,
|
|
87
101
|
CreateSlotCommand,
|
|
88
102
|
CreateSlotTypeCommand,
|
|
103
|
+
CreateTestSetDiscrepancyReportCommand,
|
|
89
104
|
CreateUploadUrlCommand,
|
|
90
105
|
DeleteBotCommand,
|
|
91
106
|
DeleteBotAliasCommand,
|
|
@@ -99,6 +114,7 @@ const commands = {
|
|
|
99
114
|
DeleteResourcePolicyStatementCommand,
|
|
100
115
|
DeleteSlotCommand,
|
|
101
116
|
DeleteSlotTypeCommand,
|
|
117
|
+
DeleteTestSetCommand,
|
|
102
118
|
DeleteUtterancesCommand,
|
|
103
119
|
DescribeBotCommand,
|
|
104
120
|
DescribeBotAliasCommand,
|
|
@@ -112,6 +128,11 @@ const commands = {
|
|
|
112
128
|
DescribeResourcePolicyCommand,
|
|
113
129
|
DescribeSlotCommand,
|
|
114
130
|
DescribeSlotTypeCommand,
|
|
131
|
+
DescribeTestExecutionCommand,
|
|
132
|
+
DescribeTestSetCommand,
|
|
133
|
+
DescribeTestSetDiscrepancyReportCommand,
|
|
134
|
+
DescribeTestSetGenerationCommand,
|
|
135
|
+
GetTestExecutionArtifactsUrlCommand,
|
|
115
136
|
ListAggregatedUtterancesCommand,
|
|
116
137
|
ListBotAliasesCommand,
|
|
117
138
|
ListBotLocalesCommand,
|
|
@@ -128,9 +149,15 @@ const commands = {
|
|
|
128
149
|
ListSlotsCommand,
|
|
129
150
|
ListSlotTypesCommand,
|
|
130
151
|
ListTagsForResourceCommand,
|
|
152
|
+
ListTestExecutionResultItemsCommand,
|
|
153
|
+
ListTestExecutionsCommand,
|
|
154
|
+
ListTestSetRecordsCommand,
|
|
155
|
+
ListTestSetsCommand,
|
|
131
156
|
SearchAssociatedTranscriptsCommand,
|
|
132
157
|
StartBotRecommendationCommand,
|
|
133
158
|
StartImportCommand,
|
|
159
|
+
StartTestExecutionCommand,
|
|
160
|
+
StartTestSetGenerationCommand,
|
|
134
161
|
StopBotRecommendationCommand,
|
|
135
162
|
TagResourceCommand,
|
|
136
163
|
UntagResourceCommand,
|
|
@@ -143,6 +170,7 @@ const commands = {
|
|
|
143
170
|
UpdateResourcePolicyCommand,
|
|
144
171
|
UpdateSlotCommand,
|
|
145
172
|
UpdateSlotTypeCommand,
|
|
173
|
+
UpdateTestSetCommand,
|
|
146
174
|
};
|
|
147
175
|
export class LexModelsV2 extends LexModelsV2Client {
|
|
148
176
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_CreateTestSetDiscrepancyReportCommand, se_CreateTestSetDiscrepancyReportCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateTestSetDiscrepancyReportCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateTestSetDiscrepancyReportCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LexModelsV2Client";
|
|
25
|
+
const commandName = "CreateTestSetDiscrepancyReportCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_CreateTestSetDiscrepancyReportCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_CreateTestSetDiscrepancyReportCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DeleteTestSetCommand, se_DeleteTestSetCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteTestSetCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteTestSetCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LexModelsV2Client";
|
|
25
|
+
const commandName = "DeleteTestSetCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DeleteTestSetCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DeleteTestSetCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DescribeTestExecutionCommand, se_DescribeTestExecutionCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeTestExecutionCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeTestExecutionCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LexModelsV2Client";
|
|
25
|
+
const commandName = "DescribeTestExecutionCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DescribeTestExecutionCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DescribeTestExecutionCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DescribeTestSetCommand, se_DescribeTestSetCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeTestSetCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeTestSetCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LexModelsV2Client";
|
|
25
|
+
const commandName = "DescribeTestSetCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DescribeTestSetCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DescribeTestSetCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DescribeTestSetDiscrepancyReportCommand, se_DescribeTestSetDiscrepancyReportCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeTestSetDiscrepancyReportCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeTestSetDiscrepancyReportCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LexModelsV2Client";
|
|
25
|
+
const commandName = "DescribeTestSetDiscrepancyReportCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DescribeTestSetDiscrepancyReportCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DescribeTestSetDiscrepancyReportCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DescribeTestSetGenerationCommand, se_DescribeTestSetGenerationCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeTestSetGenerationCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeTestSetGenerationCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LexModelsV2Client";
|
|
25
|
+
const commandName = "DescribeTestSetGenerationCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DescribeTestSetGenerationCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DescribeTestSetGenerationCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_GetTestExecutionArtifactsUrlCommand, se_GetTestExecutionArtifactsUrlCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetTestExecutionArtifactsUrlCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetTestExecutionArtifactsUrlCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LexModelsV2Client";
|
|
25
|
+
const commandName = "GetTestExecutionArtifactsUrlCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_GetTestExecutionArtifactsUrlCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_GetTestExecutionArtifactsUrlCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_ListTestExecutionResultItemsCommand, se_ListTestExecutionResultItemsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListTestExecutionResultItemsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListTestExecutionResultItemsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LexModelsV2Client";
|
|
25
|
+
const commandName = "ListTestExecutionResultItemsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListTestExecutionResultItemsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListTestExecutionResultItemsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_ListTestExecutionsCommand, se_ListTestExecutionsCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListTestExecutionsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListTestExecutionsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LexModelsV2Client";
|
|
25
|
+
const commandName = "ListTestExecutionsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListTestExecutionsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListTestExecutionsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_ListTestSetRecordsCommand, se_ListTestSetRecordsCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListTestSetRecordsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListTestSetRecordsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LexModelsV2Client";
|
|
25
|
+
const commandName = "ListTestSetRecordsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListTestSetRecordsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListTestSetRecordsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_ListTestSetsCommand, se_ListTestSetsCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListTestSetsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListTestSetsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LexModelsV2Client";
|
|
25
|
+
const commandName = "ListTestSetsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListTestSetsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListTestSetsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { StartBotRecommendationRequestFilterSensitiveLog, StartBotRecommendationResponseFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { StartBotRecommendationRequestFilterSensitiveLog, StartBotRecommendationResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { de_StartBotRecommendationCommand, se_StartBotRecommendationCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartBotRecommendationCommand extends $Command {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { StartImportRequestFilterSensitiveLog } from "../models/
|
|
4
|
+
import { StartImportRequestFilterSensitiveLog } from "../models/models_1";
|
|
5
5
|
import { de_StartImportCommand, se_StartImportCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartImportCommand extends $Command {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_StartTestExecutionCommand, se_StartTestExecutionCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StartTestExecutionCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartTestExecutionCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LexModelsV2Client";
|
|
25
|
+
const commandName = "StartTestExecutionCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_StartTestExecutionCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_StartTestExecutionCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|