@aws-sdk/client-wisdom 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 +1907 -2026
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/WisdomClient.js +2 -0
- package/dist-es/commands/CreateAssistantAssociationCommand.js +3 -9
- package/dist-es/commands/CreateAssistantCommand.js +3 -9
- package/dist-es/commands/CreateContentCommand.js +3 -10
- package/dist-es/commands/CreateKnowledgeBaseCommand.js +3 -9
- package/dist-es/commands/CreateQuickResponseCommand.js +3 -10
- package/dist-es/commands/CreateSessionCommand.js +3 -9
- package/dist-es/commands/DeleteAssistantAssociationCommand.js +3 -9
- package/dist-es/commands/DeleteAssistantCommand.js +3 -9
- package/dist-es/commands/DeleteContentCommand.js +3 -9
- package/dist-es/commands/DeleteImportJobCommand.js +3 -9
- package/dist-es/commands/DeleteKnowledgeBaseCommand.js +3 -9
- package/dist-es/commands/DeleteQuickResponseCommand.js +3 -9
- package/dist-es/commands/GetAssistantAssociationCommand.js +3 -9
- package/dist-es/commands/GetAssistantCommand.js +3 -9
- package/dist-es/commands/GetContentCommand.js +3 -10
- package/dist-es/commands/GetContentSummaryCommand.js +3 -9
- package/dist-es/commands/GetImportJobCommand.js +3 -10
- package/dist-es/commands/GetKnowledgeBaseCommand.js +3 -9
- package/dist-es/commands/GetQuickResponseCommand.js +3 -10
- package/dist-es/commands/GetRecommendationsCommand.js +3 -10
- package/dist-es/commands/GetSessionCommand.js +3 -9
- package/dist-es/commands/ListAssistantAssociationsCommand.js +3 -9
- package/dist-es/commands/ListAssistantsCommand.js +3 -9
- package/dist-es/commands/ListContentsCommand.js +3 -9
- package/dist-es/commands/ListImportJobsCommand.js +3 -9
- package/dist-es/commands/ListKnowledgeBasesCommand.js +3 -9
- package/dist-es/commands/ListQuickResponsesCommand.js +3 -10
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/NotifyRecommendationsReceivedCommand.js +3 -9
- package/dist-es/commands/QueryAssistantCommand.js +3 -10
- package/dist-es/commands/RemoveKnowledgeBaseTemplateUriCommand.js +3 -9
- package/dist-es/commands/SearchContentCommand.js +3 -9
- package/dist-es/commands/SearchQuickResponsesCommand.js +3 -10
- package/dist-es/commands/SearchSessionsCommand.js +3 -9
- package/dist-es/commands/StartContentUploadCommand.js +3 -10
- package/dist-es/commands/StartImportJobCommand.js +3 -10
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateContentCommand.js +3 -10
- package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +3 -9
- package/dist-es/commands/UpdateQuickResponseCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -223
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1812 -0
- package/dist-types/WisdomClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +28 -139
- 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 +215 -0
- package/dist-types/ts3.4/WisdomClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -107
- 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 +222 -0
- package/package.json +33 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -1466
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -371
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -497
|
@@ -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 { ListAssistants } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListAssistantsCommand 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("WisdomService", "ListAssistants", {})
|
|
17
13
|
.n("WisdomClient", "ListAssistantsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListAssistantsCommand)
|
|
20
|
-
.de(de_ListAssistantsCommand)
|
|
14
|
+
.sc(ListAssistants)
|
|
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 { ListContents } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListContentsCommand 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("WisdomService", "ListContents", {})
|
|
17
13
|
.n("WisdomClient", "ListContentsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListContentsCommand)
|
|
20
|
-
.de(de_ListContentsCommand)
|
|
14
|
+
.sc(ListContents)
|
|
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 { ListImportJobs } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListImportJobsCommand 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("WisdomService", "ListImportJobs", {})
|
|
17
13
|
.n("WisdomClient", "ListImportJobsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListImportJobsCommand)
|
|
20
|
-
.de(de_ListImportJobsCommand)
|
|
14
|
+
.sc(ListImportJobs)
|
|
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 { ListKnowledgeBases } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListKnowledgeBasesCommand 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("WisdomService", "ListKnowledgeBases", {})
|
|
17
13
|
.n("WisdomClient", "ListKnowledgeBasesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListKnowledgeBasesCommand)
|
|
20
|
-
.de(de_ListKnowledgeBasesCommand)
|
|
14
|
+
.sc(ListKnowledgeBases)
|
|
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_ListQuickResponsesCommand, se_ListQuickResponsesCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListQuickResponses } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListQuickResponsesCommand 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("WisdomService", "ListQuickResponses", {})
|
|
18
13
|
.n("WisdomClient", "ListQuickResponsesCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListQuickResponsesCommand)
|
|
21
|
-
.de(de_ListQuickResponsesCommand)
|
|
14
|
+
.sc(ListQuickResponses)
|
|
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 { ListTagsForResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListTagsForResourceCommand 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("WisdomService", "ListTagsForResource", {})
|
|
17
13
|
.n("WisdomClient", "ListTagsForResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListTagsForResourceCommand)
|
|
20
|
-
.de(de_ListTagsForResourceCommand)
|
|
14
|
+
.sc(ListTagsForResource)
|
|
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 { NotifyRecommendationsReceived } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class NotifyRecommendationsReceivedCommand 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("WisdomService", "NotifyRecommendationsReceived", {})
|
|
17
13
|
.n("WisdomClient", "NotifyRecommendationsReceivedCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_NotifyRecommendationsReceivedCommand)
|
|
20
|
-
.de(de_NotifyRecommendationsReceivedCommand)
|
|
14
|
+
.sc(NotifyRecommendationsReceived)
|
|
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_QueryAssistantCommand, se_QueryAssistantCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { QueryAssistant } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class QueryAssistantCommand 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("WisdomService", "QueryAssistant", {})
|
|
18
13
|
.n("WisdomClient", "QueryAssistantCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_QueryAssistantCommand)
|
|
21
|
-
.de(de_QueryAssistantCommand)
|
|
14
|
+
.sc(QueryAssistant)
|
|
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 { RemoveKnowledgeBaseTemplateUri } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RemoveKnowledgeBaseTemplateUriCommand 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("WisdomService", "RemoveKnowledgeBaseTemplateUri", {})
|
|
17
13
|
.n("WisdomClient", "RemoveKnowledgeBaseTemplateUriCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RemoveKnowledgeBaseTemplateUriCommand)
|
|
20
|
-
.de(de_RemoveKnowledgeBaseTemplateUriCommand)
|
|
14
|
+
.sc(RemoveKnowledgeBaseTemplateUri)
|
|
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 { SearchContent } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SearchContentCommand 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("WisdomService", "SearchContent", {})
|
|
17
13
|
.n("WisdomClient", "SearchContentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SearchContentCommand)
|
|
20
|
-
.de(de_SearchContentCommand)
|
|
14
|
+
.sc(SearchContent)
|
|
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_SearchQuickResponsesCommand, se_SearchQuickResponsesCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { SearchQuickResponses } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class SearchQuickResponsesCommand 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("WisdomService", "SearchQuickResponses", {})
|
|
18
13
|
.n("WisdomClient", "SearchQuickResponsesCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_SearchQuickResponsesCommand)
|
|
21
|
-
.de(de_SearchQuickResponsesCommand)
|
|
14
|
+
.sc(SearchQuickResponses)
|
|
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 { SearchSessions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SearchSessionsCommand 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("WisdomService", "SearchSessions", {})
|
|
17
13
|
.n("WisdomClient", "SearchSessionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SearchSessionsCommand)
|
|
20
|
-
.de(de_SearchSessionsCommand)
|
|
14
|
+
.sc(SearchSessions)
|
|
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_StartContentUploadCommand, se_StartContentUploadCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { StartContentUpload } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class StartContentUploadCommand 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("WisdomService", "StartContentUpload", {})
|
|
18
13
|
.n("WisdomClient", "StartContentUploadCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_StartContentUploadCommand)
|
|
21
|
-
.de(de_StartContentUploadCommand)
|
|
14
|
+
.sc(StartContentUpload)
|
|
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_StartImportJobCommand, se_StartImportJobCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { StartImportJob } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class StartImportJobCommand 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("WisdomService", "StartImportJob", {})
|
|
18
13
|
.n("WisdomClient", "StartImportJobCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_StartImportJobCommand)
|
|
21
|
-
.de(de_StartImportJobCommand)
|
|
14
|
+
.sc(StartImportJob)
|
|
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 { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand 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("WisdomService", "TagResource", {})
|
|
17
13
|
.n("WisdomClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
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 { 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("WisdomService", "UntagResource", {})
|
|
17
13
|
.n("WisdomClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
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_UpdateContentCommand, se_UpdateContentCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateContent } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateContentCommand 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("WisdomService", "UpdateContent", {})
|
|
18
13
|
.n("WisdomClient", "UpdateContentCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateContentCommand)
|
|
21
|
-
.de(de_UpdateContentCommand)
|
|
14
|
+
.sc(UpdateContent)
|
|
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 { UpdateKnowledgeBaseTemplateUri } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateKnowledgeBaseTemplateUriCommand 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("WisdomService", "UpdateKnowledgeBaseTemplateUri", {})
|
|
17
13
|
.n("WisdomClient", "UpdateKnowledgeBaseTemplateUriCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateKnowledgeBaseTemplateUriCommand)
|
|
20
|
-
.de(de_UpdateKnowledgeBaseTemplateUriCommand)
|
|
14
|
+
.sc(UpdateKnowledgeBaseTemplateUri)
|
|
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_UpdateQuickResponseCommand, se_UpdateQuickResponseCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateQuickResponse } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateQuickResponseCommand 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("WisdomService", "UpdateQuickResponse", {})
|
|
18
13
|
.n("WisdomClient", "UpdateQuickResponseCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateQuickResponseCommand)
|
|
21
|
-
.de(de_UpdateQuickResponseCommand)
|
|
14
|
+
.sc(UpdateQuickResponse)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|