@aws-sdk/client-lex-models-v2 3.928.0 → 3.930.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +5928 -5721
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/LexModelsV2Client.js +2 -0
- package/dist-es/commands/BatchCreateCustomVocabularyItemCommand.js +3 -9
- package/dist-es/commands/BatchDeleteCustomVocabularyItemCommand.js +3 -9
- package/dist-es/commands/BatchUpdateCustomVocabularyItemCommand.js +3 -9
- package/dist-es/commands/BuildBotLocaleCommand.js +3 -9
- package/dist-es/commands/CreateBotAliasCommand.js +3 -9
- package/dist-es/commands/CreateBotCommand.js +3 -9
- package/dist-es/commands/CreateBotLocaleCommand.js +3 -9
- package/dist-es/commands/CreateBotReplicaCommand.js +3 -9
- package/dist-es/commands/CreateBotVersionCommand.js +3 -9
- package/dist-es/commands/CreateExportCommand.js +3 -10
- package/dist-es/commands/CreateIntentCommand.js +3 -9
- package/dist-es/commands/CreateResourcePolicyCommand.js +3 -9
- package/dist-es/commands/CreateResourcePolicyStatementCommand.js +3 -9
- package/dist-es/commands/CreateSlotCommand.js +3 -9
- package/dist-es/commands/CreateSlotTypeCommand.js +3 -9
- package/dist-es/commands/CreateTestSetDiscrepancyReportCommand.js +3 -9
- package/dist-es/commands/CreateUploadUrlCommand.js +3 -9
- package/dist-es/commands/DeleteBotAliasCommand.js +3 -9
- package/dist-es/commands/DeleteBotCommand.js +3 -9
- package/dist-es/commands/DeleteBotLocaleCommand.js +3 -9
- package/dist-es/commands/DeleteBotReplicaCommand.js +3 -9
- package/dist-es/commands/DeleteBotVersionCommand.js +3 -9
- package/dist-es/commands/DeleteCustomVocabularyCommand.js +3 -9
- package/dist-es/commands/DeleteExportCommand.js +3 -9
- package/dist-es/commands/DeleteImportCommand.js +3 -9
- package/dist-es/commands/DeleteIntentCommand.js +3 -9
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
- package/dist-es/commands/DeleteResourcePolicyStatementCommand.js +3 -9
- package/dist-es/commands/DeleteSlotCommand.js +3 -9
- package/dist-es/commands/DeleteSlotTypeCommand.js +3 -9
- package/dist-es/commands/DeleteTestSetCommand.js +3 -9
- package/dist-es/commands/DeleteUtterancesCommand.js +3 -9
- package/dist-es/commands/DescribeBotAliasCommand.js +3 -9
- package/dist-es/commands/DescribeBotCommand.js +3 -9
- package/dist-es/commands/DescribeBotLocaleCommand.js +3 -9
- package/dist-es/commands/DescribeBotRecommendationCommand.js +3 -10
- package/dist-es/commands/DescribeBotReplicaCommand.js +3 -9
- package/dist-es/commands/DescribeBotResourceGenerationCommand.js +3 -9
- package/dist-es/commands/DescribeBotVersionCommand.js +3 -9
- package/dist-es/commands/DescribeCustomVocabularyMetadataCommand.js +3 -9
- package/dist-es/commands/DescribeExportCommand.js +3 -9
- package/dist-es/commands/DescribeImportCommand.js +3 -9
- package/dist-es/commands/DescribeIntentCommand.js +3 -9
- package/dist-es/commands/DescribeResourcePolicyCommand.js +3 -9
- package/dist-es/commands/DescribeSlotCommand.js +3 -9
- package/dist-es/commands/DescribeSlotTypeCommand.js +3 -9
- package/dist-es/commands/DescribeTestExecutionCommand.js +3 -9
- package/dist-es/commands/DescribeTestSetCommand.js +3 -9
- package/dist-es/commands/DescribeTestSetDiscrepancyReportCommand.js +3 -9
- package/dist-es/commands/DescribeTestSetGenerationCommand.js +3 -9
- package/dist-es/commands/GenerateBotElementCommand.js +3 -9
- package/dist-es/commands/GetTestExecutionArtifactsUrlCommand.js +3 -9
- package/dist-es/commands/ListAggregatedUtterancesCommand.js +3 -9
- package/dist-es/commands/ListBotAliasReplicasCommand.js +3 -9
- package/dist-es/commands/ListBotAliasesCommand.js +3 -9
- package/dist-es/commands/ListBotLocalesCommand.js +3 -9
- package/dist-es/commands/ListBotRecommendationsCommand.js +3 -9
- package/dist-es/commands/ListBotReplicasCommand.js +3 -9
- package/dist-es/commands/ListBotResourceGenerationsCommand.js +3 -9
- package/dist-es/commands/ListBotVersionReplicasCommand.js +3 -9
- package/dist-es/commands/ListBotVersionsCommand.js +3 -9
- package/dist-es/commands/ListBotsCommand.js +3 -9
- package/dist-es/commands/ListBuiltInIntentsCommand.js +3 -9
- package/dist-es/commands/ListBuiltInSlotTypesCommand.js +3 -9
- package/dist-es/commands/ListCustomVocabularyItemsCommand.js +3 -9
- package/dist-es/commands/ListExportsCommand.js +3 -9
- package/dist-es/commands/ListImportsCommand.js +3 -9
- package/dist-es/commands/ListIntentMetricsCommand.js +3 -9
- package/dist-es/commands/ListIntentPathsCommand.js +3 -9
- package/dist-es/commands/ListIntentStageMetricsCommand.js +3 -9
- package/dist-es/commands/ListIntentsCommand.js +3 -9
- package/dist-es/commands/ListRecommendedIntentsCommand.js +3 -9
- package/dist-es/commands/ListSessionAnalyticsDataCommand.js +3 -9
- package/dist-es/commands/ListSessionMetricsCommand.js +3 -9
- package/dist-es/commands/ListSlotTypesCommand.js +3 -9
- package/dist-es/commands/ListSlotsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTestExecutionResultItemsCommand.js +3 -9
- package/dist-es/commands/ListTestExecutionsCommand.js +3 -9
- package/dist-es/commands/ListTestSetRecordsCommand.js +3 -9
- package/dist-es/commands/ListTestSetsCommand.js +3 -9
- package/dist-es/commands/ListUtteranceAnalyticsDataCommand.js +3 -9
- package/dist-es/commands/ListUtteranceMetricsCommand.js +3 -9
- package/dist-es/commands/SearchAssociatedTranscriptsCommand.js +3 -9
- package/dist-es/commands/StartBotRecommendationCommand.js +3 -10
- package/dist-es/commands/StartBotResourceGenerationCommand.js +3 -9
- package/dist-es/commands/StartImportCommand.js +3 -10
- package/dist-es/commands/StartTestExecutionCommand.js +3 -9
- package/dist-es/commands/StartTestSetGenerationCommand.js +3 -9
- package/dist-es/commands/StopBotRecommendationCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateBotAliasCommand.js +3 -9
- package/dist-es/commands/UpdateBotCommand.js +3 -9
- package/dist-es/commands/UpdateBotLocaleCommand.js +3 -9
- package/dist-es/commands/UpdateBotRecommendationCommand.js +3 -10
- package/dist-es/commands/UpdateExportCommand.js +3 -10
- package/dist-es/commands/UpdateIntentCommand.js +3 -9
- package/dist-es/commands/UpdateResourcePolicyCommand.js +3 -9
- package/dist-es/commands/UpdateSlotCommand.js +3 -9
- package/dist-es/commands/UpdateSlotTypeCommand.js +3 -9
- package/dist-es/commands/UpdateTestSetCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -5
- package/dist-es/models/models_1.js +0 -34
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +5593 -0
- package/dist-types/LexModelsV2Client.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -4
- package/dist-types/models/models_1.d.ts +0 -32
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +697 -0
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -3
- package/dist-types/ts3.4/models/models_1.d.ts +0 -24
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +704 -0
- package/package.json +34 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -4820
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -920
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1229
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("LexModelBuildingServiceV2", "UntagResource", {})
|
|
17
13
|
.n("LexModelsV2Client", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateBotAlias } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateBotAliasCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("LexModelBuildingServiceV2", "UpdateBotAlias", {})
|
|
17
13
|
.n("LexModelsV2Client", "UpdateBotAliasCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateBotAliasCommand)
|
|
20
|
-
.de(de_UpdateBotAliasCommand)
|
|
14
|
+
.sc(UpdateBotAlias)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateBot } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateBotCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("LexModelBuildingServiceV2", "UpdateBot", {})
|
|
17
13
|
.n("LexModelsV2Client", "UpdateBotCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateBotCommand)
|
|
20
|
-
.de(de_UpdateBotCommand)
|
|
14
|
+
.sc(UpdateBot)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateBotLocale } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateBotLocaleCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("LexModelBuildingServiceV2", "UpdateBotLocale", {})
|
|
17
13
|
.n("LexModelsV2Client", "UpdateBotLocaleCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateBotLocaleCommand)
|
|
20
|
-
.de(de_UpdateBotLocaleCommand)
|
|
14
|
+
.sc(UpdateBotLocale)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateBotRecommendationCommand, se_UpdateBotRecommendationCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateBotRecommendation } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateBotRecommendationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("LexModelBuildingServiceV2", "UpdateBotRecommendation", {})
|
|
18
13
|
.n("LexModelsV2Client", "UpdateBotRecommendationCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateBotRecommendationCommand)
|
|
21
|
-
.de(de_UpdateBotRecommendationCommand)
|
|
14
|
+
.sc(UpdateBotRecommendation)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateExportCommand, se_UpdateExportCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateExport } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateExportCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("LexModelBuildingServiceV2", "UpdateExport", {})
|
|
18
13
|
.n("LexModelsV2Client", "UpdateExportCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateExportCommand)
|
|
21
|
-
.de(de_UpdateExportCommand)
|
|
14
|
+
.sc(UpdateExport)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateIntent } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateIntentCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("LexModelBuildingServiceV2", "UpdateIntent", {})
|
|
17
13
|
.n("LexModelsV2Client", "UpdateIntentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateIntentCommand)
|
|
20
|
-
.de(de_UpdateIntentCommand)
|
|
14
|
+
.sc(UpdateIntent)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateResourcePolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateResourcePolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("LexModelBuildingServiceV2", "UpdateResourcePolicy", {})
|
|
17
13
|
.n("LexModelsV2Client", "UpdateResourcePolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateResourcePolicyCommand)
|
|
20
|
-
.de(de_UpdateResourcePolicyCommand)
|
|
14
|
+
.sc(UpdateResourcePolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSlot } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSlotCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("LexModelBuildingServiceV2", "UpdateSlot", {})
|
|
17
13
|
.n("LexModelsV2Client", "UpdateSlotCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSlotCommand)
|
|
20
|
-
.de(de_UpdateSlotCommand)
|
|
14
|
+
.sc(UpdateSlot)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSlotType } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSlotTypeCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("LexModelBuildingServiceV2", "UpdateSlotType", {})
|
|
17
13
|
.n("LexModelsV2Client", "UpdateSlotTypeCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSlotTypeCommand)
|
|
20
|
-
.de(de_UpdateSlotTypeCommand)
|
|
14
|
+
.sc(UpdateSlotType)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateTestSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateTestSetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("LexModelBuildingServiceV2", "UpdateTestSet", {})
|
|
17
13
|
.n("LexModelsV2Client", "UpdateTestSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateTestSetCommand)
|
|
20
|
-
.de(de_UpdateTestSetCommand)
|
|
14
|
+
.sc(UpdateTestSet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { LexModelsV2ServiceException as __BaseException } from "./LexModelsV2ServiceException";
|
|
3
2
|
export const AudioRecognitionStrategy = {
|
|
4
3
|
UseSlotValuesAsCustomVocabulary: "UseSlotValuesAsCustomVocabulary",
|
|
@@ -446,7 +445,3 @@ export const ImportStatus = {
|
|
|
446
445
|
Failed: "Failed",
|
|
447
446
|
InProgress: "InProgress",
|
|
448
447
|
};
|
|
449
|
-
export const CreateExportRequestFilterSensitiveLog = (obj) => ({
|
|
450
|
-
...obj,
|
|
451
|
-
...(obj.filePassword && { filePassword: SENSITIVE_STRING }),
|
|
452
|
-
});
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
export const TranscriptFormat = {
|
|
3
2
|
Lex: "Lex",
|
|
4
3
|
};
|
|
@@ -159,36 +158,3 @@ export const SearchOrder = {
|
|
|
159
158
|
Ascending: "Ascending",
|
|
160
159
|
Descending: "Descending",
|
|
161
160
|
};
|
|
162
|
-
export const EncryptionSettingFilterSensitiveLog = (obj) => ({
|
|
163
|
-
...obj,
|
|
164
|
-
...(obj.botLocaleExportPassword && { botLocaleExportPassword: SENSITIVE_STRING }),
|
|
165
|
-
...(obj.associatedTranscriptsPassword && { associatedTranscriptsPassword: SENSITIVE_STRING }),
|
|
166
|
-
});
|
|
167
|
-
export const DescribeBotRecommendationResponseFilterSensitiveLog = (obj) => ({
|
|
168
|
-
...obj,
|
|
169
|
-
...(obj.encryptionSetting && { encryptionSetting: EncryptionSettingFilterSensitiveLog(obj.encryptionSetting) }),
|
|
170
|
-
});
|
|
171
|
-
export const StartBotRecommendationRequestFilterSensitiveLog = (obj) => ({
|
|
172
|
-
...obj,
|
|
173
|
-
...(obj.encryptionSetting && { encryptionSetting: EncryptionSettingFilterSensitiveLog(obj.encryptionSetting) }),
|
|
174
|
-
});
|
|
175
|
-
export const StartBotRecommendationResponseFilterSensitiveLog = (obj) => ({
|
|
176
|
-
...obj,
|
|
177
|
-
...(obj.encryptionSetting && { encryptionSetting: EncryptionSettingFilterSensitiveLog(obj.encryptionSetting) }),
|
|
178
|
-
});
|
|
179
|
-
export const StartImportRequestFilterSensitiveLog = (obj) => ({
|
|
180
|
-
...obj,
|
|
181
|
-
...(obj.filePassword && { filePassword: SENSITIVE_STRING }),
|
|
182
|
-
});
|
|
183
|
-
export const UpdateBotRecommendationRequestFilterSensitiveLog = (obj) => ({
|
|
184
|
-
...obj,
|
|
185
|
-
...(obj.encryptionSetting && { encryptionSetting: EncryptionSettingFilterSensitiveLog(obj.encryptionSetting) }),
|
|
186
|
-
});
|
|
187
|
-
export const UpdateBotRecommendationResponseFilterSensitiveLog = (obj) => ({
|
|
188
|
-
...obj,
|
|
189
|
-
...(obj.encryptionSetting && { encryptionSetting: EncryptionSettingFilterSensitiveLog(obj.encryptionSetting) }),
|
|
190
|
-
});
|
|
191
|
-
export const UpdateExportRequestFilterSensitiveLog = (obj) => ({
|
|
192
|
-
...obj,
|
|
193
|
-
...(obj.filePassword && { filePassword: SENSITIVE_STRING }),
|
|
194
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.lexmodelsv2" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "Lex Models V2",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|