@aws-sdk/client-wisdom 3.928.0 → 3.929.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.
Files changed (65) hide show
  1. package/dist-cjs/index.js +1907 -1970
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/WisdomClient.js +2 -0
  4. package/dist-es/commands/CreateAssistantAssociationCommand.js +3 -9
  5. package/dist-es/commands/CreateAssistantCommand.js +3 -9
  6. package/dist-es/commands/CreateContentCommand.js +3 -10
  7. package/dist-es/commands/CreateKnowledgeBaseCommand.js +3 -9
  8. package/dist-es/commands/CreateQuickResponseCommand.js +3 -10
  9. package/dist-es/commands/CreateSessionCommand.js +3 -9
  10. package/dist-es/commands/DeleteAssistantAssociationCommand.js +3 -9
  11. package/dist-es/commands/DeleteAssistantCommand.js +3 -9
  12. package/dist-es/commands/DeleteContentCommand.js +3 -9
  13. package/dist-es/commands/DeleteImportJobCommand.js +3 -9
  14. package/dist-es/commands/DeleteKnowledgeBaseCommand.js +3 -9
  15. package/dist-es/commands/DeleteQuickResponseCommand.js +3 -9
  16. package/dist-es/commands/GetAssistantAssociationCommand.js +3 -9
  17. package/dist-es/commands/GetAssistantCommand.js +3 -9
  18. package/dist-es/commands/GetContentCommand.js +3 -10
  19. package/dist-es/commands/GetContentSummaryCommand.js +3 -9
  20. package/dist-es/commands/GetImportJobCommand.js +3 -10
  21. package/dist-es/commands/GetKnowledgeBaseCommand.js +3 -9
  22. package/dist-es/commands/GetQuickResponseCommand.js +3 -10
  23. package/dist-es/commands/GetRecommendationsCommand.js +3 -10
  24. package/dist-es/commands/GetSessionCommand.js +3 -9
  25. package/dist-es/commands/ListAssistantAssociationsCommand.js +3 -9
  26. package/dist-es/commands/ListAssistantsCommand.js +3 -9
  27. package/dist-es/commands/ListContentsCommand.js +3 -9
  28. package/dist-es/commands/ListImportJobsCommand.js +3 -9
  29. package/dist-es/commands/ListKnowledgeBasesCommand.js +3 -9
  30. package/dist-es/commands/ListQuickResponsesCommand.js +3 -10
  31. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  32. package/dist-es/commands/NotifyRecommendationsReceivedCommand.js +3 -9
  33. package/dist-es/commands/QueryAssistantCommand.js +3 -10
  34. package/dist-es/commands/RemoveKnowledgeBaseTemplateUriCommand.js +3 -9
  35. package/dist-es/commands/SearchContentCommand.js +3 -9
  36. package/dist-es/commands/SearchQuickResponsesCommand.js +3 -10
  37. package/dist-es/commands/SearchSessionsCommand.js +3 -9
  38. package/dist-es/commands/StartContentUploadCommand.js +3 -10
  39. package/dist-es/commands/StartImportJobCommand.js +3 -10
  40. package/dist-es/commands/TagResourceCommand.js +3 -9
  41. package/dist-es/commands/UntagResourceCommand.js +3 -9
  42. package/dist-es/commands/UpdateContentCommand.js +3 -10
  43. package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +3 -9
  44. package/dist-es/commands/UpdateQuickResponseCommand.js +3 -10
  45. package/dist-es/models/models_0.js +0 -167
  46. package/dist-es/runtimeConfig.shared.js +2 -0
  47. package/dist-es/schemas/schemas_0.js +1812 -0
  48. package/dist-types/WisdomClient.d.ts +10 -1
  49. package/dist-types/models/models_0.d.ts +0 -132
  50. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  51. package/dist-types/runtimeConfig.d.ts +1 -0
  52. package/dist-types/runtimeConfig.native.d.ts +1 -0
  53. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  54. package/dist-types/schemas/schemas_0.d.ts +215 -0
  55. package/dist-types/ts3.4/WisdomClient.d.ts +4 -0
  56. package/dist-types/ts3.4/models/models_0.d.ts +0 -91
  57. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  58. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  59. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  60. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  61. package/dist-types/ts3.4/schemas/schemas_0.d.ts +222 -0
  62. package/package.json +2 -3
  63. package/dist-es/protocols/Aws_restJson1.js +0 -1466
  64. package/dist-types/protocols/Aws_restJson1.d.ts +0 -371
  65. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -497
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.wisdom" }),
28
30
  serviceId: config?.serviceId ?? "Wisdom",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class WisdomClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -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 { de_CreateAssistantAssociationCommand, se_CreateAssistantAssociationCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateAssistantAssociation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateAssistantAssociationCommand 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", "CreateAssistantAssociation", {})
17
13
  .n("WisdomClient", "CreateAssistantAssociationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateAssistantAssociationCommand)
20
- .de(de_CreateAssistantAssociationCommand)
14
+ .sc(CreateAssistantAssociation)
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 { de_CreateAssistantCommand, se_CreateAssistantCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateAssistant } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateAssistantCommand 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", "CreateAssistant", {})
17
13
  .n("WisdomClient", "CreateAssistantCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateAssistantCommand)
20
- .de(de_CreateAssistantCommand)
14
+ .sc(CreateAssistant)
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 { CreateContentResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateContentCommand, se_CreateContentCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateContent } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateContentCommand 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", "CreateContent", {})
18
13
  .n("WisdomClient", "CreateContentCommand")
19
- .f(void 0, CreateContentResponseFilterSensitiveLog)
20
- .ser(se_CreateContentCommand)
21
- .de(de_CreateContentCommand)
14
+ .sc(CreateContent)
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 { de_CreateKnowledgeBaseCommand, se_CreateKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateKnowledgeBase } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateKnowledgeBaseCommand 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", "CreateKnowledgeBase", {})
17
13
  .n("WisdomClient", "CreateKnowledgeBaseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateKnowledgeBaseCommand)
20
- .de(de_CreateKnowledgeBaseCommand)
14
+ .sc(CreateKnowledgeBase)
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 { CreateQuickResponseRequestFilterSensitiveLog, CreateQuickResponseResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateQuickResponseCommand, se_CreateQuickResponseCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateQuickResponse } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateQuickResponseCommand 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", "CreateQuickResponse", {})
18
13
  .n("WisdomClient", "CreateQuickResponseCommand")
19
- .f(CreateQuickResponseRequestFilterSensitiveLog, CreateQuickResponseResponseFilterSensitiveLog)
20
- .ser(se_CreateQuickResponseCommand)
21
- .de(de_CreateQuickResponseCommand)
14
+ .sc(CreateQuickResponse)
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 { de_CreateSessionCommand, se_CreateSessionCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateSession } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSessionCommand 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", "CreateSession", {})
17
13
  .n("WisdomClient", "CreateSessionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSessionCommand)
20
- .de(de_CreateSessionCommand)
14
+ .sc(CreateSession)
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 { de_DeleteAssistantAssociationCommand, se_DeleteAssistantAssociationCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteAssistantAssociation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAssistantAssociationCommand 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", "DeleteAssistantAssociation", {})
17
13
  .n("WisdomClient", "DeleteAssistantAssociationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAssistantAssociationCommand)
20
- .de(de_DeleteAssistantAssociationCommand)
14
+ .sc(DeleteAssistantAssociation)
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 { de_DeleteAssistantCommand, se_DeleteAssistantCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteAssistant } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAssistantCommand 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", "DeleteAssistant", {})
17
13
  .n("WisdomClient", "DeleteAssistantCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAssistantCommand)
20
- .de(de_DeleteAssistantCommand)
14
+ .sc(DeleteAssistant)
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 { de_DeleteContentCommand, se_DeleteContentCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteContent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteContentCommand 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", "DeleteContent", {})
17
13
  .n("WisdomClient", "DeleteContentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteContentCommand)
20
- .de(de_DeleteContentCommand)
14
+ .sc(DeleteContent)
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 { de_DeleteImportJobCommand, se_DeleteImportJobCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteImportJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteImportJobCommand 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", "DeleteImportJob", {})
17
13
  .n("WisdomClient", "DeleteImportJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteImportJobCommand)
20
- .de(de_DeleteImportJobCommand)
14
+ .sc(DeleteImportJob)
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 { de_DeleteKnowledgeBaseCommand, se_DeleteKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteKnowledgeBase } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteKnowledgeBaseCommand 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", "DeleteKnowledgeBase", {})
17
13
  .n("WisdomClient", "DeleteKnowledgeBaseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteKnowledgeBaseCommand)
20
- .de(de_DeleteKnowledgeBaseCommand)
14
+ .sc(DeleteKnowledgeBase)
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 { de_DeleteQuickResponseCommand, se_DeleteQuickResponseCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteQuickResponse } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteQuickResponseCommand 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", "DeleteQuickResponse", {})
17
13
  .n("WisdomClient", "DeleteQuickResponseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteQuickResponseCommand)
20
- .de(de_DeleteQuickResponseCommand)
14
+ .sc(DeleteQuickResponse)
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 { de_GetAssistantAssociationCommand, se_GetAssistantAssociationCommand } from "../protocols/Aws_restJson1";
4
+ import { GetAssistantAssociation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAssistantAssociationCommand 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", "GetAssistantAssociation", {})
17
13
  .n("WisdomClient", "GetAssistantAssociationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAssistantAssociationCommand)
20
- .de(de_GetAssistantAssociationCommand)
14
+ .sc(GetAssistantAssociation)
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 { de_GetAssistantCommand, se_GetAssistantCommand } from "../protocols/Aws_restJson1";
4
+ import { GetAssistant } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAssistantCommand 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", "GetAssistant", {})
17
13
  .n("WisdomClient", "GetAssistantCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAssistantCommand)
20
- .de(de_GetAssistantCommand)
14
+ .sc(GetAssistant)
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 { GetContentResponseFilterSensitiveLog } from "../models/models_0";
6
- import { de_GetContentCommand, se_GetContentCommand } from "../protocols/Aws_restJson1";
4
+ import { GetContent } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetContentCommand 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", "GetContent", {})
18
13
  .n("WisdomClient", "GetContentCommand")
19
- .f(void 0, GetContentResponseFilterSensitiveLog)
20
- .ser(se_GetContentCommand)
21
- .de(de_GetContentCommand)
14
+ .sc(GetContent)
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 { de_GetContentSummaryCommand, se_GetContentSummaryCommand } from "../protocols/Aws_restJson1";
4
+ import { GetContentSummary } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetContentSummaryCommand 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", "GetContentSummary", {})
17
13
  .n("WisdomClient", "GetContentSummaryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetContentSummaryCommand)
20
- .de(de_GetContentSummaryCommand)
14
+ .sc(GetContentSummary)
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 { GetImportJobResponseFilterSensitiveLog } from "../models/models_0";
6
- import { de_GetImportJobCommand, se_GetImportJobCommand } from "../protocols/Aws_restJson1";
4
+ import { GetImportJob } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetImportJobCommand 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", "GetImportJob", {})
18
13
  .n("WisdomClient", "GetImportJobCommand")
19
- .f(void 0, GetImportJobResponseFilterSensitiveLog)
20
- .ser(se_GetImportJobCommand)
21
- .de(de_GetImportJobCommand)
14
+ .sc(GetImportJob)
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 { de_GetKnowledgeBaseCommand, se_GetKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
4
+ import { GetKnowledgeBase } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetKnowledgeBaseCommand 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", "GetKnowledgeBase", {})
17
13
  .n("WisdomClient", "GetKnowledgeBaseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetKnowledgeBaseCommand)
20
- .de(de_GetKnowledgeBaseCommand)
14
+ .sc(GetKnowledgeBase)
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 { GetQuickResponseResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetQuickResponseCommand, se_GetQuickResponseCommand } from "../protocols/Aws_restJson1";
4
+ import { GetQuickResponse } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetQuickResponseCommand 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", "GetQuickResponse", {})
18
13
  .n("WisdomClient", "GetQuickResponseCommand")
19
- .f(void 0, GetQuickResponseResponseFilterSensitiveLog)
20
- .ser(se_GetQuickResponseCommand)
21
- .de(de_GetQuickResponseCommand)
14
+ .sc(GetQuickResponse)
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 { GetRecommendationsResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetRecommendationsCommand, se_GetRecommendationsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetRecommendations } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetRecommendationsCommand 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", "GetRecommendations", {})
18
13
  .n("WisdomClient", "GetRecommendationsCommand")
19
- .f(void 0, GetRecommendationsResponseFilterSensitiveLog)
20
- .ser(se_GetRecommendationsCommand)
21
- .de(de_GetRecommendationsCommand)
14
+ .sc(GetRecommendations)
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 { de_GetSessionCommand, se_GetSessionCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSession } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSessionCommand 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", "GetSession", {})
17
13
  .n("WisdomClient", "GetSessionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSessionCommand)
20
- .de(de_GetSessionCommand)
14
+ .sc(GetSession)
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 { de_ListAssistantAssociationsCommand, se_ListAssistantAssociationsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListAssistantAssociations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAssistantAssociationsCommand 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", "ListAssistantAssociations", {})
17
13
  .n("WisdomClient", "ListAssistantAssociationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAssistantAssociationsCommand)
20
- .de(de_ListAssistantAssociationsCommand)
14
+ .sc(ListAssistantAssociations)
21
15
  .build() {
22
16
  }