@aws-sdk/client-qconnect 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.
Files changed (118) hide show
  1. package/dist-cjs/index.js +5185 -5292
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/QConnectClient.js +2 -0
  4. package/dist-es/commands/ActivateMessageTemplateCommand.js +3 -9
  5. package/dist-es/commands/CreateAIAgentCommand.js +3 -9
  6. package/dist-es/commands/CreateAIAgentVersionCommand.js +3 -9
  7. package/dist-es/commands/CreateAIGuardrailCommand.js +3 -10
  8. package/dist-es/commands/CreateAIGuardrailVersionCommand.js +3 -10
  9. package/dist-es/commands/CreateAIPromptCommand.js +3 -10
  10. package/dist-es/commands/CreateAIPromptVersionCommand.js +3 -10
  11. package/dist-es/commands/CreateAssistantAssociationCommand.js +3 -9
  12. package/dist-es/commands/CreateAssistantCommand.js +3 -9
  13. package/dist-es/commands/CreateContentAssociationCommand.js +3 -9
  14. package/dist-es/commands/CreateContentCommand.js +3 -10
  15. package/dist-es/commands/CreateKnowledgeBaseCommand.js +3 -10
  16. package/dist-es/commands/CreateMessageTemplateAttachmentCommand.js +3 -10
  17. package/dist-es/commands/CreateMessageTemplateCommand.js +3 -11
  18. package/dist-es/commands/CreateMessageTemplateVersionCommand.js +3 -10
  19. package/dist-es/commands/CreateQuickResponseCommand.js +3 -10
  20. package/dist-es/commands/CreateSessionCommand.js +3 -9
  21. package/dist-es/commands/DeactivateMessageTemplateCommand.js +3 -9
  22. package/dist-es/commands/DeleteAIAgentCommand.js +3 -9
  23. package/dist-es/commands/DeleteAIAgentVersionCommand.js +3 -9
  24. package/dist-es/commands/DeleteAIGuardrailCommand.js +3 -9
  25. package/dist-es/commands/DeleteAIGuardrailVersionCommand.js +3 -9
  26. package/dist-es/commands/DeleteAIPromptCommand.js +3 -9
  27. package/dist-es/commands/DeleteAIPromptVersionCommand.js +3 -9
  28. package/dist-es/commands/DeleteAssistantAssociationCommand.js +3 -9
  29. package/dist-es/commands/DeleteAssistantCommand.js +3 -9
  30. package/dist-es/commands/DeleteContentAssociationCommand.js +3 -9
  31. package/dist-es/commands/DeleteContentCommand.js +3 -9
  32. package/dist-es/commands/DeleteImportJobCommand.js +3 -9
  33. package/dist-es/commands/DeleteKnowledgeBaseCommand.js +3 -9
  34. package/dist-es/commands/DeleteMessageTemplateAttachmentCommand.js +3 -9
  35. package/dist-es/commands/DeleteMessageTemplateCommand.js +3 -9
  36. package/dist-es/commands/DeleteQuickResponseCommand.js +3 -9
  37. package/dist-es/commands/GetAIAgentCommand.js +3 -9
  38. package/dist-es/commands/GetAIGuardrailCommand.js +3 -10
  39. package/dist-es/commands/GetAIPromptCommand.js +3 -10
  40. package/dist-es/commands/GetAssistantAssociationCommand.js +3 -9
  41. package/dist-es/commands/GetAssistantCommand.js +3 -9
  42. package/dist-es/commands/GetContentAssociationCommand.js +3 -9
  43. package/dist-es/commands/GetContentCommand.js +3 -10
  44. package/dist-es/commands/GetContentSummaryCommand.js +3 -9
  45. package/dist-es/commands/GetImportJobCommand.js +3 -10
  46. package/dist-es/commands/GetKnowledgeBaseCommand.js +3 -10
  47. package/dist-es/commands/GetMessageTemplateCommand.js +3 -10
  48. package/dist-es/commands/GetNextMessageCommand.js +3 -10
  49. package/dist-es/commands/GetQuickResponseCommand.js +3 -10
  50. package/dist-es/commands/GetRecommendationsCommand.js +3 -10
  51. package/dist-es/commands/GetSessionCommand.js +3 -9
  52. package/dist-es/commands/ListAIAgentVersionsCommand.js +3 -9
  53. package/dist-es/commands/ListAIAgentsCommand.js +3 -9
  54. package/dist-es/commands/ListAIGuardrailVersionsCommand.js +3 -10
  55. package/dist-es/commands/ListAIGuardrailsCommand.js +3 -10
  56. package/dist-es/commands/ListAIPromptVersionsCommand.js +3 -9
  57. package/dist-es/commands/ListAIPromptsCommand.js +3 -9
  58. package/dist-es/commands/ListAssistantAssociationsCommand.js +3 -9
  59. package/dist-es/commands/ListAssistantsCommand.js +3 -9
  60. package/dist-es/commands/ListContentAssociationsCommand.js +3 -9
  61. package/dist-es/commands/ListContentsCommand.js +3 -9
  62. package/dist-es/commands/ListImportJobsCommand.js +3 -9
  63. package/dist-es/commands/ListKnowledgeBasesCommand.js +3 -10
  64. package/dist-es/commands/ListMessageTemplateVersionsCommand.js +3 -9
  65. package/dist-es/commands/ListMessageTemplatesCommand.js +3 -9
  66. package/dist-es/commands/ListMessagesCommand.js +3 -10
  67. package/dist-es/commands/ListQuickResponsesCommand.js +3 -10
  68. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  69. package/dist-es/commands/NotifyRecommendationsReceivedCommand.js +3 -9
  70. package/dist-es/commands/PutFeedbackCommand.js +3 -9
  71. package/dist-es/commands/QueryAssistantCommand.js +3 -11
  72. package/dist-es/commands/RemoveAssistantAIAgentCommand.js +3 -9
  73. package/dist-es/commands/RemoveKnowledgeBaseTemplateUriCommand.js +3 -9
  74. package/dist-es/commands/RenderMessageTemplateCommand.js +3 -10
  75. package/dist-es/commands/SearchContentCommand.js +3 -9
  76. package/dist-es/commands/SearchMessageTemplatesCommand.js +3 -10
  77. package/dist-es/commands/SearchQuickResponsesCommand.js +3 -10
  78. package/dist-es/commands/SearchSessionsCommand.js +3 -9
  79. package/dist-es/commands/SendMessageCommand.js +3 -10
  80. package/dist-es/commands/StartContentUploadCommand.js +3 -10
  81. package/dist-es/commands/StartImportJobCommand.js +3 -10
  82. package/dist-es/commands/TagResourceCommand.js +3 -9
  83. package/dist-es/commands/UntagResourceCommand.js +3 -9
  84. package/dist-es/commands/UpdateAIAgentCommand.js +3 -9
  85. package/dist-es/commands/UpdateAIGuardrailCommand.js +3 -10
  86. package/dist-es/commands/UpdateAIPromptCommand.js +3 -10
  87. package/dist-es/commands/UpdateAssistantAIAgentCommand.js +3 -9
  88. package/dist-es/commands/UpdateContentCommand.js +3 -10
  89. package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +3 -10
  90. package/dist-es/commands/UpdateMessageTemplateCommand.js +3 -10
  91. package/dist-es/commands/UpdateMessageTemplateMetadataCommand.js +3 -10
  92. package/dist-es/commands/UpdateQuickResponseCommand.js +3 -10
  93. package/dist-es/commands/UpdateSessionCommand.js +3 -9
  94. package/dist-es/commands/UpdateSessionDataCommand.js +3 -10
  95. package/dist-es/models/models_0.js +0 -722
  96. package/dist-es/models/models_1.js +0 -314
  97. package/dist-es/runtimeConfig.shared.js +2 -0
  98. package/dist-es/schemas/schemas_0.js +4975 -0
  99. package/dist-types/QConnectClient.d.ts +10 -1
  100. package/dist-types/models/models_0.d.ts +80 -352
  101. package/dist-types/models/models_1.d.ts +12 -191
  102. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  103. package/dist-types/runtimeConfig.d.ts +1 -0
  104. package/dist-types/runtimeConfig.native.d.ts +1 -0
  105. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  106. package/dist-types/schemas/schemas_0.d.ts +542 -0
  107. package/dist-types/ts3.4/QConnectClient.d.ts +4 -0
  108. package/dist-types/ts3.4/models/models_0.d.ts +0 -269
  109. package/dist-types/ts3.4/models/models_1.d.ts +0 -141
  110. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  111. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  112. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  113. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  114. package/dist-types/ts3.4/schemas/schemas_0.d.ts +549 -0
  115. package/package.json +33 -34
  116. package/dist-es/protocols/Aws_restJson1.js +0 -3456
  117. package/dist-types/protocols/Aws_restJson1.d.ts +0 -821
  118. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1097
@@ -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_RemoveAssistantAIAgentCommand, se_RemoveAssistantAIAgentCommand } from "../protocols/Aws_restJson1";
4
+ import { RemoveAssistantAIAgent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RemoveAssistantAIAgentCommand 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", "RemoveAssistantAIAgent", {})
17
13
  .n("QConnectClient", "RemoveAssistantAIAgentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RemoveAssistantAIAgentCommand)
20
- .de(de_RemoveAssistantAIAgentCommand)
14
+ .sc(RemoveAssistantAIAgent)
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_RemoveKnowledgeBaseTemplateUriCommand, se_RemoveKnowledgeBaseTemplateUriCommand, } from "../protocols/Aws_restJson1";
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("QConnectClient", "RemoveKnowledgeBaseTemplateUriCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RemoveKnowledgeBaseTemplateUriCommand)
20
- .de(de_RemoveKnowledgeBaseTemplateUriCommand)
14
+ .sc(RemoveKnowledgeBaseTemplateUri)
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 { RenderMessageTemplateRequestFilterSensitiveLog, RenderMessageTemplateResponseFilterSensitiveLog, } from "../models/models_1";
6
- import { de_RenderMessageTemplateCommand, se_RenderMessageTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { RenderMessageTemplate } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class RenderMessageTemplateCommand 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", "RenderMessageTemplate", {})
18
13
  .n("QConnectClient", "RenderMessageTemplateCommand")
19
- .f(RenderMessageTemplateRequestFilterSensitiveLog, RenderMessageTemplateResponseFilterSensitiveLog)
20
- .ser(se_RenderMessageTemplateCommand)
21
- .de(de_RenderMessageTemplateCommand)
14
+ .sc(RenderMessageTemplate)
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_SearchContentCommand, se_SearchContentCommand } from "../protocols/Aws_restJson1";
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("QConnectClient", "SearchContentCommand")
18
- .f(void 0, void 0)
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 { SearchMessageTemplatesResponseFilterSensitiveLog, } from "../models/models_1";
6
- import { de_SearchMessageTemplatesCommand, se_SearchMessageTemplatesCommand } from "../protocols/Aws_restJson1";
4
+ import { SearchMessageTemplates } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class SearchMessageTemplatesCommand 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", "SearchMessageTemplates", {})
18
13
  .n("QConnectClient", "SearchMessageTemplatesCommand")
19
- .f(void 0, SearchMessageTemplatesResponseFilterSensitiveLog)
20
- .ser(se_SearchMessageTemplatesCommand)
21
- .de(de_SearchMessageTemplatesCommand)
14
+ .sc(SearchMessageTemplates)
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 { SearchQuickResponsesRequestFilterSensitiveLog, SearchQuickResponsesResponseFilterSensitiveLog, } from "../models/models_1";
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("QConnectClient", "SearchQuickResponsesCommand")
19
- .f(SearchQuickResponsesRequestFilterSensitiveLog, SearchQuickResponsesResponseFilterSensitiveLog)
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 { de_SearchSessionsCommand, se_SearchSessionsCommand } from "../protocols/Aws_restJson1";
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("QConnectClient", "SearchSessionsCommand")
18
- .f(void 0, void 0)
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 { SendMessageRequestFilterSensitiveLog } from "../models/models_0";
6
- import { de_SendMessageCommand, se_SendMessageCommand } from "../protocols/Aws_restJson1";
4
+ import { SendMessage } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class SendMessageCommand 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", "SendMessage", {})
18
13
  .n("QConnectClient", "SendMessageCommand")
19
- .f(SendMessageRequestFilterSensitiveLog, void 0)
20
- .ser(se_SendMessageCommand)
21
- .de(de_SendMessageCommand)
14
+ .sc(SendMessage)
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 { StartContentUploadResponseFilterSensitiveLog, } from "../models/models_1";
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("QConnectClient", "StartContentUploadCommand")
19
- .f(void 0, StartContentUploadResponseFilterSensitiveLog)
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 { StartImportJobResponseFilterSensitiveLog, } from "../models/models_1";
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("QConnectClient", "StartImportJobCommand")
19
- .f(void 0, StartImportJobResponseFilterSensitiveLog)
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 { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
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("QConnectClient", "TagResourceCommand")
18
- .f(void 0, void 0)
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 { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
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("QConnectClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateAIAgentCommand, se_UpdateAIAgentCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateAIAgent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateAIAgentCommand 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", "UpdateAIAgent", {})
17
13
  .n("QConnectClient", "UpdateAIAgentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateAIAgentCommand)
20
- .de(de_UpdateAIAgentCommand)
14
+ .sc(UpdateAIAgent)
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 { UpdateAIGuardrailRequestFilterSensitiveLog, UpdateAIGuardrailResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateAIGuardrailCommand, se_UpdateAIGuardrailCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateAIGuardrail } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateAIGuardrailCommand 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", "UpdateAIGuardrail", {})
18
13
  .n("QConnectClient", "UpdateAIGuardrailCommand")
19
- .f(UpdateAIGuardrailRequestFilterSensitiveLog, UpdateAIGuardrailResponseFilterSensitiveLog)
20
- .ser(se_UpdateAIGuardrailCommand)
21
- .de(de_UpdateAIGuardrailCommand)
14
+ .sc(UpdateAIGuardrail)
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 { UpdateAIPromptRequestFilterSensitiveLog, UpdateAIPromptResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateAIPromptCommand, se_UpdateAIPromptCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateAIPrompt } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateAIPromptCommand 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", "UpdateAIPrompt", {})
18
13
  .n("QConnectClient", "UpdateAIPromptCommand")
19
- .f(UpdateAIPromptRequestFilterSensitiveLog, UpdateAIPromptResponseFilterSensitiveLog)
20
- .ser(se_UpdateAIPromptCommand)
21
- .de(de_UpdateAIPromptCommand)
14
+ .sc(UpdateAIPrompt)
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_UpdateAssistantAIAgentCommand, se_UpdateAssistantAIAgentCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateAssistantAIAgent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateAssistantAIAgentCommand 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", "UpdateAssistantAIAgent", {})
17
13
  .n("QConnectClient", "UpdateAssistantAIAgentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateAssistantAIAgentCommand)
20
- .de(de_UpdateAssistantAIAgentCommand)
14
+ .sc(UpdateAssistantAIAgent)
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 { UpdateContentResponseFilterSensitiveLog, } from "../models/models_0";
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("QConnectClient", "UpdateContentCommand")
19
- .f(void 0, UpdateContentResponseFilterSensitiveLog)
20
- .ser(se_UpdateContentCommand)
21
- .de(de_UpdateContentCommand)
14
+ .sc(UpdateContent)
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 { UpdateKnowledgeBaseTemplateUriResponseFilterSensitiveLog, } from "../models/models_1";
6
- import { de_UpdateKnowledgeBaseTemplateUriCommand, se_UpdateKnowledgeBaseTemplateUriCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateKnowledgeBaseTemplateUri } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateKnowledgeBaseTemplateUriCommand 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", "UpdateKnowledgeBaseTemplateUri", {})
18
13
  .n("QConnectClient", "UpdateKnowledgeBaseTemplateUriCommand")
19
- .f(void 0, UpdateKnowledgeBaseTemplateUriResponseFilterSensitiveLog)
20
- .ser(se_UpdateKnowledgeBaseTemplateUriCommand)
21
- .de(de_UpdateKnowledgeBaseTemplateUriCommand)
14
+ .sc(UpdateKnowledgeBaseTemplateUri)
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 { UpdateMessageTemplateRequestFilterSensitiveLog, UpdateMessageTemplateResponseFilterSensitiveLog, } from "../models/models_1";
6
- import { de_UpdateMessageTemplateCommand, se_UpdateMessageTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateMessageTemplate } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateMessageTemplateCommand 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", "UpdateMessageTemplate", {})
18
13
  .n("QConnectClient", "UpdateMessageTemplateCommand")
19
- .f(UpdateMessageTemplateRequestFilterSensitiveLog, UpdateMessageTemplateResponseFilterSensitiveLog)
20
- .ser(se_UpdateMessageTemplateCommand)
21
- .de(de_UpdateMessageTemplateCommand)
14
+ .sc(UpdateMessageTemplate)
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 { UpdateMessageTemplateMetadataRequestFilterSensitiveLog, UpdateMessageTemplateMetadataResponseFilterSensitiveLog, } from "../models/models_1";
6
- import { de_UpdateMessageTemplateMetadataCommand, se_UpdateMessageTemplateMetadataCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateMessageTemplateMetadata } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateMessageTemplateMetadataCommand 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", "UpdateMessageTemplateMetadata", {})
18
13
  .n("QConnectClient", "UpdateMessageTemplateMetadataCommand")
19
- .f(UpdateMessageTemplateMetadataRequestFilterSensitiveLog, UpdateMessageTemplateMetadataResponseFilterSensitiveLog)
20
- .ser(se_UpdateMessageTemplateMetadataCommand)
21
- .de(de_UpdateMessageTemplateMetadataCommand)
14
+ .sc(UpdateMessageTemplateMetadata)
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 { UpdateQuickResponseRequestFilterSensitiveLog, UpdateQuickResponseResponseFilterSensitiveLog, } from "../models/models_1";
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("QConnectClient", "UpdateQuickResponseCommand")
19
- .f(UpdateQuickResponseRequestFilterSensitiveLog, UpdateQuickResponseResponseFilterSensitiveLog)
20
- .ser(se_UpdateQuickResponseCommand)
21
- .de(de_UpdateQuickResponseCommand)
14
+ .sc(UpdateQuickResponse)
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_UpdateSessionCommand, se_UpdateSessionCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateSession } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateSessionCommand 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", "UpdateSession", {})
17
13
  .n("QConnectClient", "UpdateSessionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateSessionCommand)
20
- .de(de_UpdateSessionCommand)
14
+ .sc(UpdateSession)
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 { UpdateSessionDataRequestFilterSensitiveLog, UpdateSessionDataResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateSessionDataCommand, se_UpdateSessionDataCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateSessionData } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateSessionDataCommand 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", "UpdateSessionData", {})
18
13
  .n("QConnectClient", "UpdateSessionDataCommand")
19
- .f(UpdateSessionDataRequestFilterSensitiveLog, UpdateSessionDataResponseFilterSensitiveLog)
20
- .ser(se_UpdateSessionDataCommand)
21
- .de(de_UpdateSessionDataCommand)
14
+ .sc(UpdateSessionData)
22
15
  .build() {
23
16
  }