@aws-sdk/client-qconnect 3.693.0 → 3.695.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 (105) hide show
  1. package/README.md +112 -0
  2. package/dist-cjs/index.js +1279 -149
  3. package/dist-es/QConnect.js +28 -0
  4. package/dist-es/commands/ActivateMessageTemplateCommand.js +22 -0
  5. package/dist-es/commands/CreateMessageTemplateAttachmentCommand.js +23 -0
  6. package/dist-es/commands/CreateMessageTemplateCommand.js +23 -0
  7. package/dist-es/commands/CreateMessageTemplateVersionCommand.js +23 -0
  8. package/dist-es/commands/DeactivateMessageTemplateCommand.js +22 -0
  9. package/dist-es/commands/DeleteMessageTemplateAttachmentCommand.js +22 -0
  10. package/dist-es/commands/DeleteMessageTemplateCommand.js +22 -0
  11. package/dist-es/commands/GetMessageTemplateCommand.js +23 -0
  12. package/dist-es/commands/GetRecommendationsCommand.js +1 -1
  13. package/dist-es/commands/ListMessageTemplateVersionsCommand.js +22 -0
  14. package/dist-es/commands/ListMessageTemplatesCommand.js +22 -0
  15. package/dist-es/commands/QueryAssistantCommand.js +2 -1
  16. package/dist-es/commands/RenderMessageTemplateCommand.js +23 -0
  17. package/dist-es/commands/SearchMessageTemplatesCommand.js +23 -0
  18. package/dist-es/commands/SearchQuickResponsesCommand.js +1 -1
  19. package/dist-es/commands/StartContentUploadCommand.js +1 -1
  20. package/dist-es/commands/StartImportJobCommand.js +1 -1
  21. package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +1 -1
  22. package/dist-es/commands/UpdateMessageTemplateCommand.js +23 -0
  23. package/dist-es/commands/UpdateMessageTemplateMetadataCommand.js +23 -0
  24. package/dist-es/commands/index.js +14 -0
  25. package/dist-es/models/index.js +1 -0
  26. package/dist-es/models/models_0.js +280 -152
  27. package/dist-es/models/models_1.js +138 -0
  28. package/dist-es/pagination/ListMessageTemplateVersionsPaginator.js +4 -0
  29. package/dist-es/pagination/ListMessageTemplatesPaginator.js +4 -0
  30. package/dist-es/pagination/SearchMessageTemplatesPaginator.js +4 -0
  31. package/dist-es/pagination/index.js +3 -0
  32. package/dist-es/protocols/Aws_restJson1.js +527 -5
  33. package/dist-types/QConnect.d.ts +98 -0
  34. package/dist-types/QConnectClient.d.ts +16 -2
  35. package/dist-types/commands/ActivateMessageTemplateCommand.d.ts +96 -0
  36. package/dist-types/commands/CreateMessageTemplateAttachmentCommand.d.ts +109 -0
  37. package/dist-types/commands/CreateMessageTemplateCommand.d.ts +347 -0
  38. package/dist-types/commands/CreateMessageTemplateVersionCommand.d.ts +247 -0
  39. package/dist-types/commands/DeactivateMessageTemplateCommand.d.ts +95 -0
  40. package/dist-types/commands/DeleteMessageTemplateAttachmentCommand.d.ts +91 -0
  41. package/dist-types/commands/DeleteMessageTemplateCommand.d.ts +92 -0
  42. package/dist-types/commands/GetMessageTemplateCommand.d.ts +231 -0
  43. package/dist-types/commands/GetRecommendationsCommand.d.ts +2 -1
  44. package/dist-types/commands/ListMessageTemplateVersionsCommand.d.ts +99 -0
  45. package/dist-types/commands/ListMessageTemplatesCommand.d.ts +104 -0
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  47. package/dist-types/commands/QueryAssistantCommand.d.ts +2 -1
  48. package/dist-types/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +2 -1
  49. package/dist-types/commands/RenderMessageTemplateCommand.d.ts +206 -0
  50. package/dist-types/commands/SearchContentCommand.d.ts +1 -1
  51. package/dist-types/commands/SearchMessageTemplatesCommand.d.ts +138 -0
  52. package/dist-types/commands/SearchQuickResponsesCommand.d.ts +1 -1
  53. package/dist-types/commands/StartContentUploadCommand.d.ts +1 -1
  54. package/dist-types/commands/StartImportJobCommand.d.ts +1 -1
  55. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  56. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +1 -1
  58. package/dist-types/commands/UpdateMessageTemplateCommand.d.ts +332 -0
  59. package/dist-types/commands/UpdateMessageTemplateMetadataCommand.d.ts +233 -0
  60. package/dist-types/commands/index.d.ts +14 -0
  61. package/dist-types/models/index.d.ts +1 -0
  62. package/dist-types/models/models_0.d.ts +1639 -983
  63. package/dist-types/models/models_1.d.ts +1256 -0
  64. package/dist-types/pagination/ListMessageTemplateVersionsPaginator.d.ts +7 -0
  65. package/dist-types/pagination/ListMessageTemplatesPaginator.d.ts +7 -0
  66. package/dist-types/pagination/SearchMessageTemplatesPaginator.d.ts +7 -0
  67. package/dist-types/pagination/index.d.ts +3 -0
  68. package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
  69. package/dist-types/ts3.4/QConnect.d.ts +238 -0
  70. package/dist-types/ts3.4/QConnectClient.d.ts +84 -0
  71. package/dist-types/ts3.4/commands/ActivateMessageTemplateCommand.d.ts +51 -0
  72. package/dist-types/ts3.4/commands/CreateMessageTemplateAttachmentCommand.d.ts +51 -0
  73. package/dist-types/ts3.4/commands/CreateMessageTemplateCommand.d.ts +51 -0
  74. package/dist-types/ts3.4/commands/CreateMessageTemplateVersionCommand.d.ts +51 -0
  75. package/dist-types/ts3.4/commands/DeactivateMessageTemplateCommand.d.ts +51 -0
  76. package/dist-types/ts3.4/commands/DeleteMessageTemplateAttachmentCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/DeleteMessageTemplateCommand.d.ts +51 -0
  78. package/dist-types/ts3.4/commands/GetMessageTemplateCommand.d.ts +51 -0
  79. package/dist-types/ts3.4/commands/GetRecommendationsCommand.d.ts +2 -4
  80. package/dist-types/ts3.4/commands/ListMessageTemplateVersionsCommand.d.ts +51 -0
  81. package/dist-types/ts3.4/commands/ListMessageTemplatesCommand.d.ts +51 -0
  82. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/QueryAssistantCommand.d.ts +2 -4
  84. package/dist-types/ts3.4/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +2 -4
  85. package/dist-types/ts3.4/commands/RenderMessageTemplateCommand.d.ts +51 -0
  86. package/dist-types/ts3.4/commands/SearchContentCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/SearchMessageTemplatesCommand.d.ts +51 -0
  88. package/dist-types/ts3.4/commands/SearchQuickResponsesCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/StartContentUploadCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/StartImportJobCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/UpdateMessageTemplateCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/UpdateMessageTemplateMetadataCommand.d.ts +51 -0
  96. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  97. package/dist-types/ts3.4/models/index.d.ts +1 -0
  98. package/dist-types/ts3.4/models/models_0.d.ts +466 -284
  99. package/dist-types/ts3.4/models/models_1.d.ts +349 -0
  100. package/dist-types/ts3.4/pagination/ListMessageTemplateVersionsPaginator.d.ts +11 -0
  101. package/dist-types/ts3.4/pagination/ListMessageTemplatesPaginator.d.ts +11 -0
  102. package/dist-types/ts3.4/pagination/SearchMessageTemplatesPaginator.d.ts +11 -0
  103. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  104. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
  105. package/package.json +1 -1
@@ -1,4 +1,5 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
+ import { ActivateMessageTemplateCommand, } from "./commands/ActivateMessageTemplateCommand";
2
3
  import { CreateAIAgentCommand, } from "./commands/CreateAIAgentCommand";
3
4
  import { CreateAIAgentVersionCommand, } from "./commands/CreateAIAgentVersionCommand";
4
5
  import { CreateAIPromptCommand, } from "./commands/CreateAIPromptCommand";
@@ -8,8 +9,12 @@ import { CreateAssistantCommand, } from "./commands/CreateAssistantCommand";
8
9
  import { CreateContentAssociationCommand, } from "./commands/CreateContentAssociationCommand";
9
10
  import { CreateContentCommand, } from "./commands/CreateContentCommand";
10
11
  import { CreateKnowledgeBaseCommand, } from "./commands/CreateKnowledgeBaseCommand";
12
+ import { CreateMessageTemplateAttachmentCommand, } from "./commands/CreateMessageTemplateAttachmentCommand";
13
+ import { CreateMessageTemplateCommand, } from "./commands/CreateMessageTemplateCommand";
14
+ import { CreateMessageTemplateVersionCommand, } from "./commands/CreateMessageTemplateVersionCommand";
11
15
  import { CreateQuickResponseCommand, } from "./commands/CreateQuickResponseCommand";
12
16
  import { CreateSessionCommand, } from "./commands/CreateSessionCommand";
17
+ import { DeactivateMessageTemplateCommand, } from "./commands/DeactivateMessageTemplateCommand";
13
18
  import { DeleteAIAgentCommand, } from "./commands/DeleteAIAgentCommand";
14
19
  import { DeleteAIAgentVersionCommand, } from "./commands/DeleteAIAgentVersionCommand";
15
20
  import { DeleteAIPromptCommand, } from "./commands/DeleteAIPromptCommand";
@@ -20,6 +25,8 @@ import { DeleteContentAssociationCommand, } from "./commands/DeleteContentAssoci
20
25
  import { DeleteContentCommand, } from "./commands/DeleteContentCommand";
21
26
  import { DeleteImportJobCommand, } from "./commands/DeleteImportJobCommand";
22
27
  import { DeleteKnowledgeBaseCommand, } from "./commands/DeleteKnowledgeBaseCommand";
28
+ import { DeleteMessageTemplateAttachmentCommand, } from "./commands/DeleteMessageTemplateAttachmentCommand";
29
+ import { DeleteMessageTemplateCommand, } from "./commands/DeleteMessageTemplateCommand";
23
30
  import { DeleteQuickResponseCommand, } from "./commands/DeleteQuickResponseCommand";
24
31
  import { GetAIAgentCommand } from "./commands/GetAIAgentCommand";
25
32
  import { GetAIPromptCommand } from "./commands/GetAIPromptCommand";
@@ -30,6 +37,7 @@ import { GetContentCommand } from "./commands/GetContentCommand";
30
37
  import { GetContentSummaryCommand, } from "./commands/GetContentSummaryCommand";
31
38
  import { GetImportJobCommand, } from "./commands/GetImportJobCommand";
32
39
  import { GetKnowledgeBaseCommand, } from "./commands/GetKnowledgeBaseCommand";
40
+ import { GetMessageTemplateCommand, } from "./commands/GetMessageTemplateCommand";
33
41
  import { GetQuickResponseCommand, } from "./commands/GetQuickResponseCommand";
34
42
  import { GetRecommendationsCommand, } from "./commands/GetRecommendationsCommand";
35
43
  import { GetSessionCommand } from "./commands/GetSessionCommand";
@@ -43,6 +51,8 @@ import { ListContentAssociationsCommand, } from "./commands/ListContentAssociati
43
51
  import { ListContentsCommand, } from "./commands/ListContentsCommand";
44
52
  import { ListImportJobsCommand, } from "./commands/ListImportJobsCommand";
45
53
  import { ListKnowledgeBasesCommand, } from "./commands/ListKnowledgeBasesCommand";
54
+ import { ListMessageTemplatesCommand, } from "./commands/ListMessageTemplatesCommand";
55
+ import { ListMessageTemplateVersionsCommand, } from "./commands/ListMessageTemplateVersionsCommand";
46
56
  import { ListQuickResponsesCommand, } from "./commands/ListQuickResponsesCommand";
47
57
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
48
58
  import { NotifyRecommendationsReceivedCommand, } from "./commands/NotifyRecommendationsReceivedCommand";
@@ -50,7 +60,9 @@ import { PutFeedbackCommand } from "./commands/PutFeedbackCommand";
50
60
  import { QueryAssistantCommand, } from "./commands/QueryAssistantCommand";
51
61
  import { RemoveAssistantAIAgentCommand, } from "./commands/RemoveAssistantAIAgentCommand";
52
62
  import { RemoveKnowledgeBaseTemplateUriCommand, } from "./commands/RemoveKnowledgeBaseTemplateUriCommand";
63
+ import { RenderMessageTemplateCommand, } from "./commands/RenderMessageTemplateCommand";
53
64
  import { SearchContentCommand, } from "./commands/SearchContentCommand";
65
+ import { SearchMessageTemplatesCommand, } from "./commands/SearchMessageTemplatesCommand";
54
66
  import { SearchQuickResponsesCommand, } from "./commands/SearchQuickResponsesCommand";
55
67
  import { SearchSessionsCommand, } from "./commands/SearchSessionsCommand";
56
68
  import { StartContentUploadCommand, } from "./commands/StartContentUploadCommand";
@@ -62,11 +74,14 @@ import { UpdateAIPromptCommand, } from "./commands/UpdateAIPromptCommand";
62
74
  import { UpdateAssistantAIAgentCommand, } from "./commands/UpdateAssistantAIAgentCommand";
63
75
  import { UpdateContentCommand, } from "./commands/UpdateContentCommand";
64
76
  import { UpdateKnowledgeBaseTemplateUriCommand, } from "./commands/UpdateKnowledgeBaseTemplateUriCommand";
77
+ import { UpdateMessageTemplateCommand, } from "./commands/UpdateMessageTemplateCommand";
78
+ import { UpdateMessageTemplateMetadataCommand, } from "./commands/UpdateMessageTemplateMetadataCommand";
65
79
  import { UpdateQuickResponseCommand, } from "./commands/UpdateQuickResponseCommand";
66
80
  import { UpdateSessionCommand, } from "./commands/UpdateSessionCommand";
67
81
  import { UpdateSessionDataCommand, } from "./commands/UpdateSessionDataCommand";
68
82
  import { QConnectClient } from "./QConnectClient";
69
83
  const commands = {
84
+ ActivateMessageTemplateCommand,
70
85
  CreateAIAgentCommand,
71
86
  CreateAIAgentVersionCommand,
72
87
  CreateAIPromptCommand,
@@ -76,8 +91,12 @@ const commands = {
76
91
  CreateContentCommand,
77
92
  CreateContentAssociationCommand,
78
93
  CreateKnowledgeBaseCommand,
94
+ CreateMessageTemplateCommand,
95
+ CreateMessageTemplateAttachmentCommand,
96
+ CreateMessageTemplateVersionCommand,
79
97
  CreateQuickResponseCommand,
80
98
  CreateSessionCommand,
99
+ DeactivateMessageTemplateCommand,
81
100
  DeleteAIAgentCommand,
82
101
  DeleteAIAgentVersionCommand,
83
102
  DeleteAIPromptCommand,
@@ -88,6 +107,8 @@ const commands = {
88
107
  DeleteContentAssociationCommand,
89
108
  DeleteImportJobCommand,
90
109
  DeleteKnowledgeBaseCommand,
110
+ DeleteMessageTemplateCommand,
111
+ DeleteMessageTemplateAttachmentCommand,
91
112
  DeleteQuickResponseCommand,
92
113
  GetAIAgentCommand,
93
114
  GetAIPromptCommand,
@@ -98,6 +119,7 @@ const commands = {
98
119
  GetContentSummaryCommand,
99
120
  GetImportJobCommand,
100
121
  GetKnowledgeBaseCommand,
122
+ GetMessageTemplateCommand,
101
123
  GetQuickResponseCommand,
102
124
  GetRecommendationsCommand,
103
125
  GetSessionCommand,
@@ -111,6 +133,8 @@ const commands = {
111
133
  ListContentsCommand,
112
134
  ListImportJobsCommand,
113
135
  ListKnowledgeBasesCommand,
136
+ ListMessageTemplatesCommand,
137
+ ListMessageTemplateVersionsCommand,
114
138
  ListQuickResponsesCommand,
115
139
  ListTagsForResourceCommand,
116
140
  NotifyRecommendationsReceivedCommand,
@@ -118,7 +142,9 @@ const commands = {
118
142
  QueryAssistantCommand,
119
143
  RemoveAssistantAIAgentCommand,
120
144
  RemoveKnowledgeBaseTemplateUriCommand,
145
+ RenderMessageTemplateCommand,
121
146
  SearchContentCommand,
147
+ SearchMessageTemplatesCommand,
122
148
  SearchQuickResponsesCommand,
123
149
  SearchSessionsCommand,
124
150
  StartContentUploadCommand,
@@ -130,6 +156,8 @@ const commands = {
130
156
  UpdateAssistantAIAgentCommand,
131
157
  UpdateContentCommand,
132
158
  UpdateKnowledgeBaseTemplateUriCommand,
159
+ UpdateMessageTemplateCommand,
160
+ UpdateMessageTemplateMetadataCommand,
133
161
  UpdateQuickResponseCommand,
134
162
  UpdateSessionCommand,
135
163
  UpdateSessionDataCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ActivateMessageTemplateCommand, se_ActivateMessageTemplateCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ActivateMessageTemplateCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "ActivateMessageTemplate", {})
17
+ .n("QConnectClient", "ActivateMessageTemplateCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ActivateMessageTemplateCommand)
20
+ .de(de_ActivateMessageTemplateCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateMessageTemplateAttachmentRequestFilterSensitiveLog, CreateMessageTemplateAttachmentResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateMessageTemplateAttachmentCommand, se_CreateMessageTemplateAttachmentCommand, } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateMessageTemplateAttachmentCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("WisdomService", "CreateMessageTemplateAttachment", {})
18
+ .n("QConnectClient", "CreateMessageTemplateAttachmentCommand")
19
+ .f(CreateMessageTemplateAttachmentRequestFilterSensitiveLog, CreateMessageTemplateAttachmentResponseFilterSensitiveLog)
20
+ .ser(se_CreateMessageTemplateAttachmentCommand)
21
+ .de(de_CreateMessageTemplateAttachmentCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateMessageTemplateRequestFilterSensitiveLog, CreateMessageTemplateResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateMessageTemplateCommand, se_CreateMessageTemplateCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateMessageTemplateCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("WisdomService", "CreateMessageTemplate", {})
18
+ .n("QConnectClient", "CreateMessageTemplateCommand")
19
+ .f(CreateMessageTemplateRequestFilterSensitiveLog, CreateMessageTemplateResponseFilterSensitiveLog)
20
+ .ser(se_CreateMessageTemplateCommand)
21
+ .de(de_CreateMessageTemplateCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateMessageTemplateVersionResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateMessageTemplateVersionCommand, se_CreateMessageTemplateVersionCommand, } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateMessageTemplateVersionCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("WisdomService", "CreateMessageTemplateVersion", {})
18
+ .n("QConnectClient", "CreateMessageTemplateVersionCommand")
19
+ .f(void 0, CreateMessageTemplateVersionResponseFilterSensitiveLog)
20
+ .ser(se_CreateMessageTemplateVersionCommand)
21
+ .de(de_CreateMessageTemplateVersionCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeactivateMessageTemplateCommand, se_DeactivateMessageTemplateCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeactivateMessageTemplateCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "DeactivateMessageTemplate", {})
17
+ .n("QConnectClient", "DeactivateMessageTemplateCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeactivateMessageTemplateCommand)
20
+ .de(de_DeactivateMessageTemplateCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteMessageTemplateAttachmentCommand, se_DeleteMessageTemplateAttachmentCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteMessageTemplateAttachmentCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "DeleteMessageTemplateAttachment", {})
17
+ .n("QConnectClient", "DeleteMessageTemplateAttachmentCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteMessageTemplateAttachmentCommand)
20
+ .de(de_DeleteMessageTemplateAttachmentCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteMessageTemplateCommand, se_DeleteMessageTemplateCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteMessageTemplateCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "DeleteMessageTemplate", {})
17
+ .n("QConnectClient", "DeleteMessageTemplateCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteMessageTemplateCommand)
20
+ .de(de_DeleteMessageTemplateCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetMessageTemplateResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_GetMessageTemplateCommand, se_GetMessageTemplateCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class GetMessageTemplateCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("WisdomService", "GetMessageTemplate", {})
18
+ .n("QConnectClient", "GetMessageTemplateCommand")
19
+ .f(void 0, GetMessageTemplateResponseFilterSensitiveLog)
20
+ .ser(se_GetMessageTemplateCommand)
21
+ .de(de_GetMessageTemplateCommand)
22
+ .build() {
23
+ }
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetRecommendationsResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { GetRecommendationsResponseFilterSensitiveLog } from "../models/models_1";
6
6
  import { de_GetRecommendationsCommand, se_GetRecommendationsCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class GetRecommendationsCommand extends $Command
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListMessageTemplateVersionsCommand, se_ListMessageTemplateVersionsCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListMessageTemplateVersionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "ListMessageTemplateVersions", {})
17
+ .n("QConnectClient", "ListMessageTemplateVersionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListMessageTemplateVersionsCommand)
20
+ .de(de_ListMessageTemplateVersionsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListMessageTemplatesCommand, se_ListMessageTemplatesCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListMessageTemplatesCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "ListMessageTemplates", {})
17
+ .n("QConnectClient", "ListMessageTemplatesCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListMessageTemplatesCommand)
20
+ .de(de_ListMessageTemplatesCommand)
21
+ .build() {
22
+ }
@@ -2,7 +2,8 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { QueryAssistantRequestFilterSensitiveLog, QueryAssistantResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { QueryAssistantRequestFilterSensitiveLog } from "../models/models_0";
6
+ import { QueryAssistantResponseFilterSensitiveLog } from "../models/models_1";
6
7
  import { de_QueryAssistantCommand, se_QueryAssistantCommand } from "../protocols/Aws_restJson1";
7
8
  export { $Command };
8
9
  export class QueryAssistantCommand extends $Command
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { RenderMessageTemplateRequestFilterSensitiveLog, RenderMessageTemplateResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_RenderMessageTemplateCommand, se_RenderMessageTemplateCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class RenderMessageTemplateCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("WisdomService", "RenderMessageTemplate", {})
18
+ .n("QConnectClient", "RenderMessageTemplateCommand")
19
+ .f(RenderMessageTemplateRequestFilterSensitiveLog, RenderMessageTemplateResponseFilterSensitiveLog)
20
+ .ser(se_RenderMessageTemplateCommand)
21
+ .de(de_RenderMessageTemplateCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { SearchMessageTemplatesResponseFilterSensitiveLog, } from "../models/models_1";
6
+ import { de_SearchMessageTemplatesCommand, se_SearchMessageTemplatesCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class SearchMessageTemplatesCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("WisdomService", "SearchMessageTemplates", {})
18
+ .n("QConnectClient", "SearchMessageTemplatesCommand")
19
+ .f(void 0, SearchMessageTemplatesResponseFilterSensitiveLog)
20
+ .ser(se_SearchMessageTemplatesCommand)
21
+ .de(de_SearchMessageTemplatesCommand)
22
+ .build() {
23
+ }
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { SearchQuickResponsesRequestFilterSensitiveLog, SearchQuickResponsesResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { SearchQuickResponsesRequestFilterSensitiveLog, SearchQuickResponsesResponseFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_SearchQuickResponsesCommand, se_SearchQuickResponsesCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class SearchQuickResponsesCommand extends $Command
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { StartContentUploadResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { StartContentUploadResponseFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_StartContentUploadCommand, se_StartContentUploadCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class StartContentUploadCommand extends $Command
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { StartImportJobResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { StartImportJobResponseFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_StartImportJobCommand, se_StartImportJobCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class StartImportJobCommand extends $Command
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UpdateKnowledgeBaseTemplateUriResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { UpdateKnowledgeBaseTemplateUriResponseFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_UpdateKnowledgeBaseTemplateUriCommand, se_UpdateKnowledgeBaseTemplateUriCommand, } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class UpdateKnowledgeBaseTemplateUriCommand extends $Command
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { UpdateMessageTemplateRequestFilterSensitiveLog, UpdateMessageTemplateResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_UpdateMessageTemplateCommand, se_UpdateMessageTemplateCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class UpdateMessageTemplateCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("WisdomService", "UpdateMessageTemplate", {})
18
+ .n("QConnectClient", "UpdateMessageTemplateCommand")
19
+ .f(UpdateMessageTemplateRequestFilterSensitiveLog, UpdateMessageTemplateResponseFilterSensitiveLog)
20
+ .ser(se_UpdateMessageTemplateCommand)
21
+ .de(de_UpdateMessageTemplateCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { UpdateMessageTemplateMetadataRequestFilterSensitiveLog, UpdateMessageTemplateMetadataResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_UpdateMessageTemplateMetadataCommand, se_UpdateMessageTemplateMetadataCommand, } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class UpdateMessageTemplateMetadataCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("WisdomService", "UpdateMessageTemplateMetadata", {})
18
+ .n("QConnectClient", "UpdateMessageTemplateMetadataCommand")
19
+ .f(UpdateMessageTemplateMetadataRequestFilterSensitiveLog, UpdateMessageTemplateMetadataResponseFilterSensitiveLog)
20
+ .ser(se_UpdateMessageTemplateMetadataCommand)
21
+ .de(de_UpdateMessageTemplateMetadataCommand)
22
+ .build() {
23
+ }
@@ -1,3 +1,4 @@
1
+ export * from "./ActivateMessageTemplateCommand";
1
2
  export * from "./CreateAIAgentCommand";
2
3
  export * from "./CreateAIAgentVersionCommand";
3
4
  export * from "./CreateAIPromptCommand";
@@ -7,8 +8,12 @@ export * from "./CreateAssistantCommand";
7
8
  export * from "./CreateContentAssociationCommand";
8
9
  export * from "./CreateContentCommand";
9
10
  export * from "./CreateKnowledgeBaseCommand";
11
+ export * from "./CreateMessageTemplateAttachmentCommand";
12
+ export * from "./CreateMessageTemplateCommand";
13
+ export * from "./CreateMessageTemplateVersionCommand";
10
14
  export * from "./CreateQuickResponseCommand";
11
15
  export * from "./CreateSessionCommand";
16
+ export * from "./DeactivateMessageTemplateCommand";
12
17
  export * from "./DeleteAIAgentCommand";
13
18
  export * from "./DeleteAIAgentVersionCommand";
14
19
  export * from "./DeleteAIPromptCommand";
@@ -19,6 +24,8 @@ export * from "./DeleteContentAssociationCommand";
19
24
  export * from "./DeleteContentCommand";
20
25
  export * from "./DeleteImportJobCommand";
21
26
  export * from "./DeleteKnowledgeBaseCommand";
27
+ export * from "./DeleteMessageTemplateAttachmentCommand";
28
+ export * from "./DeleteMessageTemplateCommand";
22
29
  export * from "./DeleteQuickResponseCommand";
23
30
  export * from "./GetAIAgentCommand";
24
31
  export * from "./GetAIPromptCommand";
@@ -29,6 +36,7 @@ export * from "./GetContentCommand";
29
36
  export * from "./GetContentSummaryCommand";
30
37
  export * from "./GetImportJobCommand";
31
38
  export * from "./GetKnowledgeBaseCommand";
39
+ export * from "./GetMessageTemplateCommand";
32
40
  export * from "./GetQuickResponseCommand";
33
41
  export * from "./GetRecommendationsCommand";
34
42
  export * from "./GetSessionCommand";
@@ -42,6 +50,8 @@ export * from "./ListContentAssociationsCommand";
42
50
  export * from "./ListContentsCommand";
43
51
  export * from "./ListImportJobsCommand";
44
52
  export * from "./ListKnowledgeBasesCommand";
53
+ export * from "./ListMessageTemplateVersionsCommand";
54
+ export * from "./ListMessageTemplatesCommand";
45
55
  export * from "./ListQuickResponsesCommand";
46
56
  export * from "./ListTagsForResourceCommand";
47
57
  export * from "./NotifyRecommendationsReceivedCommand";
@@ -49,7 +59,9 @@ export * from "./PutFeedbackCommand";
49
59
  export * from "./QueryAssistantCommand";
50
60
  export * from "./RemoveAssistantAIAgentCommand";
51
61
  export * from "./RemoveKnowledgeBaseTemplateUriCommand";
62
+ export * from "./RenderMessageTemplateCommand";
52
63
  export * from "./SearchContentCommand";
64
+ export * from "./SearchMessageTemplatesCommand";
53
65
  export * from "./SearchQuickResponsesCommand";
54
66
  export * from "./SearchSessionsCommand";
55
67
  export * from "./StartContentUploadCommand";
@@ -61,6 +73,8 @@ export * from "./UpdateAIPromptCommand";
61
73
  export * from "./UpdateAssistantAIAgentCommand";
62
74
  export * from "./UpdateContentCommand";
63
75
  export * from "./UpdateKnowledgeBaseTemplateUriCommand";
76
+ export * from "./UpdateMessageTemplateCommand";
77
+ export * from "./UpdateMessageTemplateMetadataCommand";
64
78
  export * from "./UpdateQuickResponseCommand";
65
79
  export * from "./UpdateSessionCommand";
66
80
  export * from "./UpdateSessionDataCommand";
@@ -1 +1,2 @@
1
1
  export * from "./models_0";
2
+ export * from "./models_1";