@aws-sdk/client-wisdom 3.54.1 → 3.55.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/CHANGELOG.md +8 -0
- package/dist-cjs/WisdomClient.js +13 -13
- package/dist-cjs/commands/CreateAssistantAssociationCommand.js +3 -3
- package/dist-cjs/commands/CreateAssistantCommand.js +3 -3
- package/dist-cjs/commands/CreateContentCommand.js +3 -3
- package/dist-cjs/commands/CreateKnowledgeBaseCommand.js +3 -3
- package/dist-cjs/commands/CreateSessionCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssistantAssociationCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssistantCommand.js +3 -3
- package/dist-cjs/commands/DeleteContentCommand.js +3 -3
- package/dist-cjs/commands/DeleteKnowledgeBaseCommand.js +3 -3
- package/dist-cjs/commands/GetAssistantAssociationCommand.js +3 -3
- package/dist-cjs/commands/GetAssistantCommand.js +3 -3
- package/dist-cjs/commands/GetContentCommand.js +3 -3
- package/dist-cjs/commands/GetContentSummaryCommand.js +3 -3
- package/dist-cjs/commands/GetKnowledgeBaseCommand.js +3 -3
- package/dist-cjs/commands/GetRecommendationsCommand.js +3 -3
- package/dist-cjs/commands/GetSessionCommand.js +3 -3
- package/dist-cjs/commands/ListAssistantAssociationsCommand.js +3 -3
- package/dist-cjs/commands/ListAssistantsCommand.js +3 -3
- package/dist-cjs/commands/ListContentsCommand.js +3 -3
- package/dist-cjs/commands/ListKnowledgeBasesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/NotifyRecommendationsReceivedCommand.js +3 -3
- package/dist-cjs/commands/QueryAssistantCommand.js +3 -3
- package/dist-cjs/commands/RemoveKnowledgeBaseTemplateUriCommand.js +3 -3
- package/dist-cjs/commands/SearchContentCommand.js +3 -3
- package/dist-cjs/commands/SearchSessionsCommand.js +3 -3
- package/dist-cjs/commands/StartContentUploadCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateContentCommand.js +3 -3
- package/dist-cjs/commands/UpdateKnowledgeBaseTemplateUriCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +214 -214
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Wisdom.js +31 -31
- package/dist-es/pagination/ListAssistantAssociationsPaginator.js +4 -4
- package/dist-es/pagination/ListAssistantsPaginator.js +4 -4
- package/dist-es/pagination/ListContentsPaginator.js +4 -4
- package/dist-es/pagination/ListKnowledgeBasesPaginator.js +4 -4
- package/dist-es/pagination/QueryAssistantPaginator.js +4 -4
- package/dist-es/pagination/SearchContentPaginator.js +4 -4
- package/dist-es/pagination/SearchSessionsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +31 -31
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-wisdom
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @aws-sdk/client-wisdom
|
package/dist-cjs/WisdomClient.js
CHANGED
|
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
13
|
class WisdomClient extends smithy_client_1.Client {
|
|
14
14
|
constructor(configuration) {
|
|
15
|
-
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
16
|
-
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
17
|
-
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
18
|
-
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
19
|
-
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
20
|
-
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
21
|
-
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
15
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
16
|
+
const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
|
|
17
|
+
const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
|
|
18
|
+
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
19
|
+
const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
|
|
20
|
+
const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
|
|
21
|
+
const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
|
|
22
22
|
super(_config_6);
|
|
23
23
|
this.config = _config_6;
|
|
24
|
-
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
25
|
-
this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
|
|
26
|
-
this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
|
|
27
|
-
this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
|
|
28
|
-
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
29
|
-
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
24
|
+
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
25
|
+
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
|
+
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
|
+
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
28
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
30
|
}
|
|
31
31
|
destroy() {
|
|
32
32
|
super.destroy();
|
|
@@ -11,7 +11,7 @@ class CreateAssistantAssociationCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class CreateAssistantAssociationCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1CreateAssistantAssociationCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateAssistantAssociationCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1CreateAssistantAssociationCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateAssistantAssociationCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.CreateAssistantAssociationCommand = CreateAssistantAssociationCommand;
|
|
@@ -11,7 +11,7 @@ class CreateAssistantCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class CreateAssistantCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1CreateAssistantCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateAssistantCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1CreateAssistantCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateAssistantCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.CreateAssistantCommand = CreateAssistantCommand;
|
|
@@ -11,7 +11,7 @@ class CreateContentCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class CreateContentCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1CreateContentCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateContentCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1CreateContentCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateContentCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.CreateContentCommand = CreateContentCommand;
|
|
@@ -11,7 +11,7 @@ class CreateKnowledgeBaseCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class CreateKnowledgeBaseCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1CreateKnowledgeBaseCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateKnowledgeBaseCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1CreateKnowledgeBaseCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateKnowledgeBaseCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.CreateKnowledgeBaseCommand = CreateKnowledgeBaseCommand;
|
|
@@ -11,7 +11,7 @@ class CreateSessionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class CreateSessionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1CreateSessionCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateSessionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1CreateSessionCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateSessionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.CreateSessionCommand = CreateSessionCommand;
|
|
@@ -11,7 +11,7 @@ class DeleteAssistantAssociationCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class DeleteAssistantAssociationCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1DeleteAssistantAssociationCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeleteAssistantAssociationCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1DeleteAssistantAssociationCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteAssistantAssociationCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DeleteAssistantAssociationCommand = DeleteAssistantAssociationCommand;
|
|
@@ -11,7 +11,7 @@ class DeleteAssistantCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class DeleteAssistantCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1DeleteAssistantCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeleteAssistantCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1DeleteAssistantCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteAssistantCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DeleteAssistantCommand = DeleteAssistantCommand;
|
|
@@ -11,7 +11,7 @@ class DeleteContentCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class DeleteContentCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1DeleteContentCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeleteContentCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1DeleteContentCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteContentCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DeleteContentCommand = DeleteContentCommand;
|
|
@@ -11,7 +11,7 @@ class DeleteKnowledgeBaseCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class DeleteKnowledgeBaseCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1DeleteKnowledgeBaseCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeleteKnowledgeBaseCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1DeleteKnowledgeBaseCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteKnowledgeBaseCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DeleteKnowledgeBaseCommand = DeleteKnowledgeBaseCommand;
|
|
@@ -11,7 +11,7 @@ class GetAssistantAssociationCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class GetAssistantAssociationCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1GetAssistantAssociationCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetAssistantAssociationCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1GetAssistantAssociationCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetAssistantAssociationCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetAssistantAssociationCommand = GetAssistantAssociationCommand;
|
|
@@ -11,7 +11,7 @@ class GetAssistantCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class GetAssistantCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1GetAssistantCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetAssistantCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1GetAssistantCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetAssistantCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetAssistantCommand = GetAssistantCommand;
|
|
@@ -11,7 +11,7 @@ class GetContentCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class GetContentCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1GetContentCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetContentCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1GetContentCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetContentCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetContentCommand = GetContentCommand;
|
|
@@ -11,7 +11,7 @@ class GetContentSummaryCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class GetContentSummaryCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1GetContentSummaryCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetContentSummaryCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1GetContentSummaryCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetContentSummaryCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetContentSummaryCommand = GetContentSummaryCommand;
|
|
@@ -11,7 +11,7 @@ class GetKnowledgeBaseCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class GetKnowledgeBaseCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1GetKnowledgeBaseCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetKnowledgeBaseCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1GetKnowledgeBaseCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetKnowledgeBaseCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetKnowledgeBaseCommand = GetKnowledgeBaseCommand;
|
|
@@ -11,7 +11,7 @@ class GetRecommendationsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class GetRecommendationsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1GetRecommendationsCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetRecommendationsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1GetRecommendationsCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetRecommendationsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetRecommendationsCommand = GetRecommendationsCommand;
|
|
@@ -11,7 +11,7 @@ class GetSessionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class GetSessionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1GetSessionCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetSessionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1GetSessionCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetSessionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetSessionCommand = GetSessionCommand;
|
|
@@ -11,7 +11,7 @@ class ListAssistantAssociationsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class ListAssistantAssociationsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1ListAssistantAssociationsCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListAssistantAssociationsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1ListAssistantAssociationsCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListAssistantAssociationsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListAssistantAssociationsCommand = ListAssistantAssociationsCommand;
|
|
@@ -11,7 +11,7 @@ class ListAssistantsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class ListAssistantsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1ListAssistantsCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListAssistantsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1ListAssistantsCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListAssistantsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListAssistantsCommand = ListAssistantsCommand;
|
|
@@ -11,7 +11,7 @@ class ListContentsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class ListContentsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1ListContentsCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListContentsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1ListContentsCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListContentsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListContentsCommand = ListContentsCommand;
|
|
@@ -11,7 +11,7 @@ class ListKnowledgeBasesCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class ListKnowledgeBasesCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1ListKnowledgeBasesCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListKnowledgeBasesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1ListKnowledgeBasesCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListKnowledgeBasesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListKnowledgeBasesCommand = ListKnowledgeBasesCommand;
|
|
@@ -11,7 +11,7 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
@@ -11,7 +11,7 @@ class NotifyRecommendationsReceivedCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class NotifyRecommendationsReceivedCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1NotifyRecommendationsReceivedCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1NotifyRecommendationsReceivedCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1NotifyRecommendationsReceivedCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1NotifyRecommendationsReceivedCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.NotifyRecommendationsReceivedCommand = NotifyRecommendationsReceivedCommand;
|
|
@@ -11,7 +11,7 @@ class QueryAssistantCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class QueryAssistantCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1QueryAssistantCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1QueryAssistantCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1QueryAssistantCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1QueryAssistantCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.QueryAssistantCommand = QueryAssistantCommand;
|
|
@@ -11,7 +11,7 @@ class RemoveKnowledgeBaseTemplateUriCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class RemoveKnowledgeBaseTemplateUriCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1RemoveKnowledgeBaseTemplateUriCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1RemoveKnowledgeBaseTemplateUriCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1RemoveKnowledgeBaseTemplateUriCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1RemoveKnowledgeBaseTemplateUriCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.RemoveKnowledgeBaseTemplateUriCommand = RemoveKnowledgeBaseTemplateUriCommand;
|
|
@@ -11,7 +11,7 @@ class SearchContentCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "WisdomClient";
|
|
@@ -27,10 +27,10 @@ class SearchContentCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1SearchContentCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1SearchContentCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1SearchContentCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1SearchContentCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.SearchContentCommand = SearchContentCommand;
|