@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 { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { ActivateMessageTemplateCommandInput, ActivateMessageTemplateCommandOutput } from "./commands/ActivateMessageTemplateCommand";
2
3
  import { CreateAIAgentCommandInput, CreateAIAgentCommandOutput } from "./commands/CreateAIAgentCommand";
3
4
  import { CreateAIAgentVersionCommandInput, CreateAIAgentVersionCommandOutput } from "./commands/CreateAIAgentVersionCommand";
4
5
  import { CreateAIPromptCommandInput, CreateAIPromptCommandOutput } from "./commands/CreateAIPromptCommand";
@@ -8,8 +9,12 @@ import { CreateAssistantCommandInput, CreateAssistantCommandOutput } from "./com
8
9
  import { CreateContentAssociationCommandInput, CreateContentAssociationCommandOutput } from "./commands/CreateContentAssociationCommand";
9
10
  import { CreateContentCommandInput, CreateContentCommandOutput } from "./commands/CreateContentCommand";
10
11
  import { CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput } from "./commands/CreateKnowledgeBaseCommand";
12
+ import { CreateMessageTemplateAttachmentCommandInput, CreateMessageTemplateAttachmentCommandOutput } from "./commands/CreateMessageTemplateAttachmentCommand";
13
+ import { CreateMessageTemplateCommandInput, CreateMessageTemplateCommandOutput } from "./commands/CreateMessageTemplateCommand";
14
+ import { CreateMessageTemplateVersionCommandInput, CreateMessageTemplateVersionCommandOutput } from "./commands/CreateMessageTemplateVersionCommand";
11
15
  import { CreateQuickResponseCommandInput, CreateQuickResponseCommandOutput } from "./commands/CreateQuickResponseCommand";
12
16
  import { CreateSessionCommandInput, CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
17
+ import { DeactivateMessageTemplateCommandInput, DeactivateMessageTemplateCommandOutput } from "./commands/DeactivateMessageTemplateCommand";
13
18
  import { DeleteAIAgentCommandInput, DeleteAIAgentCommandOutput } from "./commands/DeleteAIAgentCommand";
14
19
  import { DeleteAIAgentVersionCommandInput, DeleteAIAgentVersionCommandOutput } from "./commands/DeleteAIAgentVersionCommand";
15
20
  import { DeleteAIPromptCommandInput, DeleteAIPromptCommandOutput } from "./commands/DeleteAIPromptCommand";
@@ -20,6 +25,8 @@ import { DeleteContentAssociationCommandInput, DeleteContentAssociationCommandOu
20
25
  import { DeleteContentCommandInput, DeleteContentCommandOutput } from "./commands/DeleteContentCommand";
21
26
  import { DeleteImportJobCommandInput, DeleteImportJobCommandOutput } from "./commands/DeleteImportJobCommand";
22
27
  import { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput } from "./commands/DeleteKnowledgeBaseCommand";
28
+ import { DeleteMessageTemplateAttachmentCommandInput, DeleteMessageTemplateAttachmentCommandOutput } from "./commands/DeleteMessageTemplateAttachmentCommand";
29
+ import { DeleteMessageTemplateCommandInput, DeleteMessageTemplateCommandOutput } from "./commands/DeleteMessageTemplateCommand";
23
30
  import { DeleteQuickResponseCommandInput, DeleteQuickResponseCommandOutput } from "./commands/DeleteQuickResponseCommand";
24
31
  import { GetAIAgentCommandInput, GetAIAgentCommandOutput } from "./commands/GetAIAgentCommand";
25
32
  import { GetAIPromptCommandInput, GetAIPromptCommandOutput } from "./commands/GetAIPromptCommand";
@@ -30,6 +37,7 @@ import { GetContentCommandInput, GetContentCommandOutput } from "./commands/GetC
30
37
  import { GetContentSummaryCommandInput, GetContentSummaryCommandOutput } from "./commands/GetContentSummaryCommand";
31
38
  import { GetImportJobCommandInput, GetImportJobCommandOutput } from "./commands/GetImportJobCommand";
32
39
  import { GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput } from "./commands/GetKnowledgeBaseCommand";
40
+ import { GetMessageTemplateCommandInput, GetMessageTemplateCommandOutput } from "./commands/GetMessageTemplateCommand";
33
41
  import { GetQuickResponseCommandInput, GetQuickResponseCommandOutput } from "./commands/GetQuickResponseCommand";
34
42
  import { GetRecommendationsCommandInput, GetRecommendationsCommandOutput } from "./commands/GetRecommendationsCommand";
35
43
  import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
@@ -43,6 +51,8 @@ import { ListContentAssociationsCommandInput, ListContentAssociationsCommandOutp
43
51
  import { ListContentsCommandInput, ListContentsCommandOutput } from "./commands/ListContentsCommand";
44
52
  import { ListImportJobsCommandInput, ListImportJobsCommandOutput } from "./commands/ListImportJobsCommand";
45
53
  import { ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput } from "./commands/ListKnowledgeBasesCommand";
54
+ import { ListMessageTemplatesCommandInput, ListMessageTemplatesCommandOutput } from "./commands/ListMessageTemplatesCommand";
55
+ import { ListMessageTemplateVersionsCommandInput, ListMessageTemplateVersionsCommandOutput } from "./commands/ListMessageTemplateVersionsCommand";
46
56
  import { ListQuickResponsesCommandInput, ListQuickResponsesCommandOutput } from "./commands/ListQuickResponsesCommand";
47
57
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
48
58
  import { NotifyRecommendationsReceivedCommandInput, NotifyRecommendationsReceivedCommandOutput } from "./commands/NotifyRecommendationsReceivedCommand";
@@ -50,7 +60,9 @@ import { PutFeedbackCommandInput, PutFeedbackCommandOutput } from "./commands/Pu
50
60
  import { QueryAssistantCommandInput, QueryAssistantCommandOutput } from "./commands/QueryAssistantCommand";
51
61
  import { RemoveAssistantAIAgentCommandInput, RemoveAssistantAIAgentCommandOutput } from "./commands/RemoveAssistantAIAgentCommand";
52
62
  import { RemoveKnowledgeBaseTemplateUriCommandInput, RemoveKnowledgeBaseTemplateUriCommandOutput } from "./commands/RemoveKnowledgeBaseTemplateUriCommand";
63
+ import { RenderMessageTemplateCommandInput, RenderMessageTemplateCommandOutput } from "./commands/RenderMessageTemplateCommand";
53
64
  import { SearchContentCommandInput, SearchContentCommandOutput } from "./commands/SearchContentCommand";
65
+ import { SearchMessageTemplatesCommandInput, SearchMessageTemplatesCommandOutput } from "./commands/SearchMessageTemplatesCommand";
54
66
  import { SearchQuickResponsesCommandInput, SearchQuickResponsesCommandOutput } from "./commands/SearchQuickResponsesCommand";
55
67
  import { SearchSessionsCommandInput, SearchSessionsCommandOutput } from "./commands/SearchSessionsCommand";
56
68
  import { StartContentUploadCommandInput, StartContentUploadCommandOutput } from "./commands/StartContentUploadCommand";
@@ -62,11 +74,19 @@ import { UpdateAIPromptCommandInput, UpdateAIPromptCommandOutput } from "./comma
62
74
  import { UpdateAssistantAIAgentCommandInput, UpdateAssistantAIAgentCommandOutput } from "./commands/UpdateAssistantAIAgentCommand";
63
75
  import { UpdateContentCommandInput, UpdateContentCommandOutput } from "./commands/UpdateContentCommand";
64
76
  import { UpdateKnowledgeBaseTemplateUriCommandInput, UpdateKnowledgeBaseTemplateUriCommandOutput } from "./commands/UpdateKnowledgeBaseTemplateUriCommand";
77
+ import { UpdateMessageTemplateCommandInput, UpdateMessageTemplateCommandOutput } from "./commands/UpdateMessageTemplateCommand";
78
+ import { UpdateMessageTemplateMetadataCommandInput, UpdateMessageTemplateMetadataCommandOutput } from "./commands/UpdateMessageTemplateMetadataCommand";
65
79
  import { UpdateQuickResponseCommandInput, UpdateQuickResponseCommandOutput } from "./commands/UpdateQuickResponseCommand";
66
80
  import { UpdateSessionCommandInput, UpdateSessionCommandOutput } from "./commands/UpdateSessionCommand";
67
81
  import { UpdateSessionDataCommandInput, UpdateSessionDataCommandOutput } from "./commands/UpdateSessionDataCommand";
68
82
  import { QConnectClient } from "./QConnectClient";
69
83
  export interface QConnect {
84
+ /**
85
+ * @see {@link ActivateMessageTemplateCommand}
86
+ */
87
+ activateMessageTemplate(args: ActivateMessageTemplateCommandInput, options?: __HttpHandlerOptions): Promise<ActivateMessageTemplateCommandOutput>;
88
+ activateMessageTemplate(args: ActivateMessageTemplateCommandInput, cb: (err: any, data?: ActivateMessageTemplateCommandOutput) => void): void;
89
+ activateMessageTemplate(args: ActivateMessageTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ActivateMessageTemplateCommandOutput) => void): void;
70
90
  /**
71
91
  * @see {@link CreateAIAgentCommand}
72
92
  */
@@ -121,6 +141,24 @@ export interface QConnect {
121
141
  createKnowledgeBase(args: CreateKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<CreateKnowledgeBaseCommandOutput>;
122
142
  createKnowledgeBase(args: CreateKnowledgeBaseCommandInput, cb: (err: any, data?: CreateKnowledgeBaseCommandOutput) => void): void;
123
143
  createKnowledgeBase(args: CreateKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateKnowledgeBaseCommandOutput) => void): void;
144
+ /**
145
+ * @see {@link CreateMessageTemplateCommand}
146
+ */
147
+ createMessageTemplate(args: CreateMessageTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateMessageTemplateCommandOutput>;
148
+ createMessageTemplate(args: CreateMessageTemplateCommandInput, cb: (err: any, data?: CreateMessageTemplateCommandOutput) => void): void;
149
+ createMessageTemplate(args: CreateMessageTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMessageTemplateCommandOutput) => void): void;
150
+ /**
151
+ * @see {@link CreateMessageTemplateAttachmentCommand}
152
+ */
153
+ createMessageTemplateAttachment(args: CreateMessageTemplateAttachmentCommandInput, options?: __HttpHandlerOptions): Promise<CreateMessageTemplateAttachmentCommandOutput>;
154
+ createMessageTemplateAttachment(args: CreateMessageTemplateAttachmentCommandInput, cb: (err: any, data?: CreateMessageTemplateAttachmentCommandOutput) => void): void;
155
+ createMessageTemplateAttachment(args: CreateMessageTemplateAttachmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMessageTemplateAttachmentCommandOutput) => void): void;
156
+ /**
157
+ * @see {@link CreateMessageTemplateVersionCommand}
158
+ */
159
+ createMessageTemplateVersion(args: CreateMessageTemplateVersionCommandInput, options?: __HttpHandlerOptions): Promise<CreateMessageTemplateVersionCommandOutput>;
160
+ createMessageTemplateVersion(args: CreateMessageTemplateVersionCommandInput, cb: (err: any, data?: CreateMessageTemplateVersionCommandOutput) => void): void;
161
+ createMessageTemplateVersion(args: CreateMessageTemplateVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMessageTemplateVersionCommandOutput) => void): void;
124
162
  /**
125
163
  * @see {@link CreateQuickResponseCommand}
126
164
  */
@@ -133,6 +171,12 @@ export interface QConnect {
133
171
  createSession(args: CreateSessionCommandInput, options?: __HttpHandlerOptions): Promise<CreateSessionCommandOutput>;
134
172
  createSession(args: CreateSessionCommandInput, cb: (err: any, data?: CreateSessionCommandOutput) => void): void;
135
173
  createSession(args: CreateSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSessionCommandOutput) => void): void;
174
+ /**
175
+ * @see {@link DeactivateMessageTemplateCommand}
176
+ */
177
+ deactivateMessageTemplate(args: DeactivateMessageTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeactivateMessageTemplateCommandOutput>;
178
+ deactivateMessageTemplate(args: DeactivateMessageTemplateCommandInput, cb: (err: any, data?: DeactivateMessageTemplateCommandOutput) => void): void;
179
+ deactivateMessageTemplate(args: DeactivateMessageTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeactivateMessageTemplateCommandOutput) => void): void;
136
180
  /**
137
181
  * @see {@link DeleteAIAgentCommand}
138
182
  */
@@ -193,6 +237,18 @@ export interface QConnect {
193
237
  deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<DeleteKnowledgeBaseCommandOutput>;
194
238
  deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, cb: (err: any, data?: DeleteKnowledgeBaseCommandOutput) => void): void;
195
239
  deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKnowledgeBaseCommandOutput) => void): void;
240
+ /**
241
+ * @see {@link DeleteMessageTemplateCommand}
242
+ */
243
+ deleteMessageTemplate(args: DeleteMessageTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMessageTemplateCommandOutput>;
244
+ deleteMessageTemplate(args: DeleteMessageTemplateCommandInput, cb: (err: any, data?: DeleteMessageTemplateCommandOutput) => void): void;
245
+ deleteMessageTemplate(args: DeleteMessageTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMessageTemplateCommandOutput) => void): void;
246
+ /**
247
+ * @see {@link DeleteMessageTemplateAttachmentCommand}
248
+ */
249
+ deleteMessageTemplateAttachment(args: DeleteMessageTemplateAttachmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMessageTemplateAttachmentCommandOutput>;
250
+ deleteMessageTemplateAttachment(args: DeleteMessageTemplateAttachmentCommandInput, cb: (err: any, data?: DeleteMessageTemplateAttachmentCommandOutput) => void): void;
251
+ deleteMessageTemplateAttachment(args: DeleteMessageTemplateAttachmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMessageTemplateAttachmentCommandOutput) => void): void;
196
252
  /**
197
253
  * @see {@link DeleteQuickResponseCommand}
198
254
  */
@@ -253,6 +309,12 @@ export interface QConnect {
253
309
  getKnowledgeBase(args: GetKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<GetKnowledgeBaseCommandOutput>;
254
310
  getKnowledgeBase(args: GetKnowledgeBaseCommandInput, cb: (err: any, data?: GetKnowledgeBaseCommandOutput) => void): void;
255
311
  getKnowledgeBase(args: GetKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetKnowledgeBaseCommandOutput) => void): void;
312
+ /**
313
+ * @see {@link GetMessageTemplateCommand}
314
+ */
315
+ getMessageTemplate(args: GetMessageTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetMessageTemplateCommandOutput>;
316
+ getMessageTemplate(args: GetMessageTemplateCommandInput, cb: (err: any, data?: GetMessageTemplateCommandOutput) => void): void;
317
+ getMessageTemplate(args: GetMessageTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMessageTemplateCommandOutput) => void): void;
256
318
  /**
257
319
  * @see {@link GetQuickResponseCommand}
258
320
  */
@@ -333,6 +395,18 @@ export interface QConnect {
333
395
  listKnowledgeBases(args: ListKnowledgeBasesCommandInput, options?: __HttpHandlerOptions): Promise<ListKnowledgeBasesCommandOutput>;
334
396
  listKnowledgeBases(args: ListKnowledgeBasesCommandInput, cb: (err: any, data?: ListKnowledgeBasesCommandOutput) => void): void;
335
397
  listKnowledgeBases(args: ListKnowledgeBasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListKnowledgeBasesCommandOutput) => void): void;
398
+ /**
399
+ * @see {@link ListMessageTemplatesCommand}
400
+ */
401
+ listMessageTemplates(args: ListMessageTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListMessageTemplatesCommandOutput>;
402
+ listMessageTemplates(args: ListMessageTemplatesCommandInput, cb: (err: any, data?: ListMessageTemplatesCommandOutput) => void): void;
403
+ listMessageTemplates(args: ListMessageTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMessageTemplatesCommandOutput) => void): void;
404
+ /**
405
+ * @see {@link ListMessageTemplateVersionsCommand}
406
+ */
407
+ listMessageTemplateVersions(args: ListMessageTemplateVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListMessageTemplateVersionsCommandOutput>;
408
+ listMessageTemplateVersions(args: ListMessageTemplateVersionsCommandInput, cb: (err: any, data?: ListMessageTemplateVersionsCommandOutput) => void): void;
409
+ listMessageTemplateVersions(args: ListMessageTemplateVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMessageTemplateVersionsCommandOutput) => void): void;
336
410
  /**
337
411
  * @see {@link ListQuickResponsesCommand}
338
412
  */
@@ -375,12 +449,24 @@ export interface QConnect {
375
449
  removeKnowledgeBaseTemplateUri(args: RemoveKnowledgeBaseTemplateUriCommandInput, options?: __HttpHandlerOptions): Promise<RemoveKnowledgeBaseTemplateUriCommandOutput>;
376
450
  removeKnowledgeBaseTemplateUri(args: RemoveKnowledgeBaseTemplateUriCommandInput, cb: (err: any, data?: RemoveKnowledgeBaseTemplateUriCommandOutput) => void): void;
377
451
  removeKnowledgeBaseTemplateUri(args: RemoveKnowledgeBaseTemplateUriCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveKnowledgeBaseTemplateUriCommandOutput) => void): void;
452
+ /**
453
+ * @see {@link RenderMessageTemplateCommand}
454
+ */
455
+ renderMessageTemplate(args: RenderMessageTemplateCommandInput, options?: __HttpHandlerOptions): Promise<RenderMessageTemplateCommandOutput>;
456
+ renderMessageTemplate(args: RenderMessageTemplateCommandInput, cb: (err: any, data?: RenderMessageTemplateCommandOutput) => void): void;
457
+ renderMessageTemplate(args: RenderMessageTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RenderMessageTemplateCommandOutput) => void): void;
378
458
  /**
379
459
  * @see {@link SearchContentCommand}
380
460
  */
381
461
  searchContent(args: SearchContentCommandInput, options?: __HttpHandlerOptions): Promise<SearchContentCommandOutput>;
382
462
  searchContent(args: SearchContentCommandInput, cb: (err: any, data?: SearchContentCommandOutput) => void): void;
383
463
  searchContent(args: SearchContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchContentCommandOutput) => void): void;
464
+ /**
465
+ * @see {@link SearchMessageTemplatesCommand}
466
+ */
467
+ searchMessageTemplates(args: SearchMessageTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<SearchMessageTemplatesCommandOutput>;
468
+ searchMessageTemplates(args: SearchMessageTemplatesCommandInput, cb: (err: any, data?: SearchMessageTemplatesCommandOutput) => void): void;
469
+ searchMessageTemplates(args: SearchMessageTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchMessageTemplatesCommandOutput) => void): void;
384
470
  /**
385
471
  * @see {@link SearchQuickResponsesCommand}
386
472
  */
@@ -447,6 +533,18 @@ export interface QConnect {
447
533
  updateKnowledgeBaseTemplateUri(args: UpdateKnowledgeBaseTemplateUriCommandInput, options?: __HttpHandlerOptions): Promise<UpdateKnowledgeBaseTemplateUriCommandOutput>;
448
534
  updateKnowledgeBaseTemplateUri(args: UpdateKnowledgeBaseTemplateUriCommandInput, cb: (err: any, data?: UpdateKnowledgeBaseTemplateUriCommandOutput) => void): void;
449
535
  updateKnowledgeBaseTemplateUri(args: UpdateKnowledgeBaseTemplateUriCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateKnowledgeBaseTemplateUriCommandOutput) => void): void;
536
+ /**
537
+ * @see {@link UpdateMessageTemplateCommand}
538
+ */
539
+ updateMessageTemplate(args: UpdateMessageTemplateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMessageTemplateCommandOutput>;
540
+ updateMessageTemplate(args: UpdateMessageTemplateCommandInput, cb: (err: any, data?: UpdateMessageTemplateCommandOutput) => void): void;
541
+ updateMessageTemplate(args: UpdateMessageTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMessageTemplateCommandOutput) => void): void;
542
+ /**
543
+ * @see {@link UpdateMessageTemplateMetadataCommand}
544
+ */
545
+ updateMessageTemplateMetadata(args: UpdateMessageTemplateMetadataCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMessageTemplateMetadataCommandOutput>;
546
+ updateMessageTemplateMetadata(args: UpdateMessageTemplateMetadataCommandInput, cb: (err: any, data?: UpdateMessageTemplateMetadataCommandOutput) => void): void;
547
+ updateMessageTemplateMetadata(args: UpdateMessageTemplateMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMessageTemplateMetadataCommandOutput) => void): void;
450
548
  /**
451
549
  * @see {@link UpdateQuickResponseCommand}
452
550
  */
@@ -7,6 +7,7 @@ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
8
  import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
+ import { ActivateMessageTemplateCommandInput, ActivateMessageTemplateCommandOutput } from "./commands/ActivateMessageTemplateCommand";
10
11
  import { CreateAIAgentCommandInput, CreateAIAgentCommandOutput } from "./commands/CreateAIAgentCommand";
11
12
  import { CreateAIAgentVersionCommandInput, CreateAIAgentVersionCommandOutput } from "./commands/CreateAIAgentVersionCommand";
12
13
  import { CreateAIPromptCommandInput, CreateAIPromptCommandOutput } from "./commands/CreateAIPromptCommand";
@@ -16,8 +17,12 @@ import { CreateAssistantCommandInput, CreateAssistantCommandOutput } from "./com
16
17
  import { CreateContentAssociationCommandInput, CreateContentAssociationCommandOutput } from "./commands/CreateContentAssociationCommand";
17
18
  import { CreateContentCommandInput, CreateContentCommandOutput } from "./commands/CreateContentCommand";
18
19
  import { CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput } from "./commands/CreateKnowledgeBaseCommand";
20
+ import { CreateMessageTemplateAttachmentCommandInput, CreateMessageTemplateAttachmentCommandOutput } from "./commands/CreateMessageTemplateAttachmentCommand";
21
+ import { CreateMessageTemplateCommandInput, CreateMessageTemplateCommandOutput } from "./commands/CreateMessageTemplateCommand";
22
+ import { CreateMessageTemplateVersionCommandInput, CreateMessageTemplateVersionCommandOutput } from "./commands/CreateMessageTemplateVersionCommand";
19
23
  import { CreateQuickResponseCommandInput, CreateQuickResponseCommandOutput } from "./commands/CreateQuickResponseCommand";
20
24
  import { CreateSessionCommandInput, CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
25
+ import { DeactivateMessageTemplateCommandInput, DeactivateMessageTemplateCommandOutput } from "./commands/DeactivateMessageTemplateCommand";
21
26
  import { DeleteAIAgentCommandInput, DeleteAIAgentCommandOutput } from "./commands/DeleteAIAgentCommand";
22
27
  import { DeleteAIAgentVersionCommandInput, DeleteAIAgentVersionCommandOutput } from "./commands/DeleteAIAgentVersionCommand";
23
28
  import { DeleteAIPromptCommandInput, DeleteAIPromptCommandOutput } from "./commands/DeleteAIPromptCommand";
@@ -28,6 +33,8 @@ import { DeleteContentAssociationCommandInput, DeleteContentAssociationCommandOu
28
33
  import { DeleteContentCommandInput, DeleteContentCommandOutput } from "./commands/DeleteContentCommand";
29
34
  import { DeleteImportJobCommandInput, DeleteImportJobCommandOutput } from "./commands/DeleteImportJobCommand";
30
35
  import { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput } from "./commands/DeleteKnowledgeBaseCommand";
36
+ import { DeleteMessageTemplateAttachmentCommandInput, DeleteMessageTemplateAttachmentCommandOutput } from "./commands/DeleteMessageTemplateAttachmentCommand";
37
+ import { DeleteMessageTemplateCommandInput, DeleteMessageTemplateCommandOutput } from "./commands/DeleteMessageTemplateCommand";
31
38
  import { DeleteQuickResponseCommandInput, DeleteQuickResponseCommandOutput } from "./commands/DeleteQuickResponseCommand";
32
39
  import { GetAIAgentCommandInput, GetAIAgentCommandOutput } from "./commands/GetAIAgentCommand";
33
40
  import { GetAIPromptCommandInput, GetAIPromptCommandOutput } from "./commands/GetAIPromptCommand";
@@ -38,6 +45,7 @@ import { GetContentCommandInput, GetContentCommandOutput } from "./commands/GetC
38
45
  import { GetContentSummaryCommandInput, GetContentSummaryCommandOutput } from "./commands/GetContentSummaryCommand";
39
46
  import { GetImportJobCommandInput, GetImportJobCommandOutput } from "./commands/GetImportJobCommand";
40
47
  import { GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput } from "./commands/GetKnowledgeBaseCommand";
48
+ import { GetMessageTemplateCommandInput, GetMessageTemplateCommandOutput } from "./commands/GetMessageTemplateCommand";
41
49
  import { GetQuickResponseCommandInput, GetQuickResponseCommandOutput } from "./commands/GetQuickResponseCommand";
42
50
  import { GetRecommendationsCommandInput, GetRecommendationsCommandOutput } from "./commands/GetRecommendationsCommand";
43
51
  import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
@@ -51,6 +59,8 @@ import { ListContentAssociationsCommandInput, ListContentAssociationsCommandOutp
51
59
  import { ListContentsCommandInput, ListContentsCommandOutput } from "./commands/ListContentsCommand";
52
60
  import { ListImportJobsCommandInput, ListImportJobsCommandOutput } from "./commands/ListImportJobsCommand";
53
61
  import { ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput } from "./commands/ListKnowledgeBasesCommand";
62
+ import { ListMessageTemplatesCommandInput, ListMessageTemplatesCommandOutput } from "./commands/ListMessageTemplatesCommand";
63
+ import { ListMessageTemplateVersionsCommandInput, ListMessageTemplateVersionsCommandOutput } from "./commands/ListMessageTemplateVersionsCommand";
54
64
  import { ListQuickResponsesCommandInput, ListQuickResponsesCommandOutput } from "./commands/ListQuickResponsesCommand";
55
65
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
56
66
  import { NotifyRecommendationsReceivedCommandInput, NotifyRecommendationsReceivedCommandOutput } from "./commands/NotifyRecommendationsReceivedCommand";
@@ -58,7 +68,9 @@ import { PutFeedbackCommandInput, PutFeedbackCommandOutput } from "./commands/Pu
58
68
  import { QueryAssistantCommandInput, QueryAssistantCommandOutput } from "./commands/QueryAssistantCommand";
59
69
  import { RemoveAssistantAIAgentCommandInput, RemoveAssistantAIAgentCommandOutput } from "./commands/RemoveAssistantAIAgentCommand";
60
70
  import { RemoveKnowledgeBaseTemplateUriCommandInput, RemoveKnowledgeBaseTemplateUriCommandOutput } from "./commands/RemoveKnowledgeBaseTemplateUriCommand";
71
+ import { RenderMessageTemplateCommandInput, RenderMessageTemplateCommandOutput } from "./commands/RenderMessageTemplateCommand";
61
72
  import { SearchContentCommandInput, SearchContentCommandOutput } from "./commands/SearchContentCommand";
73
+ import { SearchMessageTemplatesCommandInput, SearchMessageTemplatesCommandOutput } from "./commands/SearchMessageTemplatesCommand";
62
74
  import { SearchQuickResponsesCommandInput, SearchQuickResponsesCommandOutput } from "./commands/SearchQuickResponsesCommand";
63
75
  import { SearchSessionsCommandInput, SearchSessionsCommandOutput } from "./commands/SearchSessionsCommand";
64
76
  import { StartContentUploadCommandInput, StartContentUploadCommandOutput } from "./commands/StartContentUploadCommand";
@@ -70,6 +82,8 @@ import { UpdateAIPromptCommandInput, UpdateAIPromptCommandOutput } from "./comma
70
82
  import { UpdateAssistantAIAgentCommandInput, UpdateAssistantAIAgentCommandOutput } from "./commands/UpdateAssistantAIAgentCommand";
71
83
  import { UpdateContentCommandInput, UpdateContentCommandOutput } from "./commands/UpdateContentCommand";
72
84
  import { UpdateKnowledgeBaseTemplateUriCommandInput, UpdateKnowledgeBaseTemplateUriCommandOutput } from "./commands/UpdateKnowledgeBaseTemplateUriCommand";
85
+ import { UpdateMessageTemplateCommandInput, UpdateMessageTemplateCommandOutput } from "./commands/UpdateMessageTemplateCommand";
86
+ import { UpdateMessageTemplateMetadataCommandInput, UpdateMessageTemplateMetadataCommandOutput } from "./commands/UpdateMessageTemplateMetadataCommand";
73
87
  import { UpdateQuickResponseCommandInput, UpdateQuickResponseCommandOutput } from "./commands/UpdateQuickResponseCommand";
74
88
  import { UpdateSessionCommandInput, UpdateSessionCommandOutput } from "./commands/UpdateSessionCommand";
75
89
  import { UpdateSessionDataCommandInput, UpdateSessionDataCommandOutput } from "./commands/UpdateSessionDataCommand";
@@ -79,11 +93,11 @@ export { __Client };
79
93
  /**
80
94
  * @public
81
95
  */
82
- export type ServiceInputTypes = CreateAIAgentCommandInput | CreateAIAgentVersionCommandInput | CreateAIPromptCommandInput | CreateAIPromptVersionCommandInput | CreateAssistantAssociationCommandInput | CreateAssistantCommandInput | CreateContentAssociationCommandInput | CreateContentCommandInput | CreateKnowledgeBaseCommandInput | CreateQuickResponseCommandInput | CreateSessionCommandInput | DeleteAIAgentCommandInput | DeleteAIAgentVersionCommandInput | DeleteAIPromptCommandInput | DeleteAIPromptVersionCommandInput | DeleteAssistantAssociationCommandInput | DeleteAssistantCommandInput | DeleteContentAssociationCommandInput | DeleteContentCommandInput | DeleteImportJobCommandInput | DeleteKnowledgeBaseCommandInput | DeleteQuickResponseCommandInput | GetAIAgentCommandInput | GetAIPromptCommandInput | GetAssistantAssociationCommandInput | GetAssistantCommandInput | GetContentAssociationCommandInput | GetContentCommandInput | GetContentSummaryCommandInput | GetImportJobCommandInput | GetKnowledgeBaseCommandInput | GetQuickResponseCommandInput | GetRecommendationsCommandInput | GetSessionCommandInput | ListAIAgentVersionsCommandInput | ListAIAgentsCommandInput | ListAIPromptVersionsCommandInput | ListAIPromptsCommandInput | ListAssistantAssociationsCommandInput | ListAssistantsCommandInput | ListContentAssociationsCommandInput | ListContentsCommandInput | ListImportJobsCommandInput | ListKnowledgeBasesCommandInput | ListQuickResponsesCommandInput | ListTagsForResourceCommandInput | NotifyRecommendationsReceivedCommandInput | PutFeedbackCommandInput | QueryAssistantCommandInput | RemoveAssistantAIAgentCommandInput | RemoveKnowledgeBaseTemplateUriCommandInput | SearchContentCommandInput | SearchQuickResponsesCommandInput | SearchSessionsCommandInput | StartContentUploadCommandInput | StartImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAIAgentCommandInput | UpdateAIPromptCommandInput | UpdateAssistantAIAgentCommandInput | UpdateContentCommandInput | UpdateKnowledgeBaseTemplateUriCommandInput | UpdateQuickResponseCommandInput | UpdateSessionCommandInput | UpdateSessionDataCommandInput;
96
+ export type ServiceInputTypes = ActivateMessageTemplateCommandInput | CreateAIAgentCommandInput | CreateAIAgentVersionCommandInput | CreateAIPromptCommandInput | CreateAIPromptVersionCommandInput | CreateAssistantAssociationCommandInput | CreateAssistantCommandInput | CreateContentAssociationCommandInput | CreateContentCommandInput | CreateKnowledgeBaseCommandInput | CreateMessageTemplateAttachmentCommandInput | CreateMessageTemplateCommandInput | CreateMessageTemplateVersionCommandInput | CreateQuickResponseCommandInput | CreateSessionCommandInput | DeactivateMessageTemplateCommandInput | DeleteAIAgentCommandInput | DeleteAIAgentVersionCommandInput | DeleteAIPromptCommandInput | DeleteAIPromptVersionCommandInput | DeleteAssistantAssociationCommandInput | DeleteAssistantCommandInput | DeleteContentAssociationCommandInput | DeleteContentCommandInput | DeleteImportJobCommandInput | DeleteKnowledgeBaseCommandInput | DeleteMessageTemplateAttachmentCommandInput | DeleteMessageTemplateCommandInput | DeleteQuickResponseCommandInput | GetAIAgentCommandInput | GetAIPromptCommandInput | GetAssistantAssociationCommandInput | GetAssistantCommandInput | GetContentAssociationCommandInput | GetContentCommandInput | GetContentSummaryCommandInput | GetImportJobCommandInput | GetKnowledgeBaseCommandInput | GetMessageTemplateCommandInput | GetQuickResponseCommandInput | GetRecommendationsCommandInput | GetSessionCommandInput | ListAIAgentVersionsCommandInput | ListAIAgentsCommandInput | ListAIPromptVersionsCommandInput | ListAIPromptsCommandInput | ListAssistantAssociationsCommandInput | ListAssistantsCommandInput | ListContentAssociationsCommandInput | ListContentsCommandInput | ListImportJobsCommandInput | ListKnowledgeBasesCommandInput | ListMessageTemplateVersionsCommandInput | ListMessageTemplatesCommandInput | ListQuickResponsesCommandInput | ListTagsForResourceCommandInput | NotifyRecommendationsReceivedCommandInput | PutFeedbackCommandInput | QueryAssistantCommandInput | RemoveAssistantAIAgentCommandInput | RemoveKnowledgeBaseTemplateUriCommandInput | RenderMessageTemplateCommandInput | SearchContentCommandInput | SearchMessageTemplatesCommandInput | SearchQuickResponsesCommandInput | SearchSessionsCommandInput | StartContentUploadCommandInput | StartImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAIAgentCommandInput | UpdateAIPromptCommandInput | UpdateAssistantAIAgentCommandInput | UpdateContentCommandInput | UpdateKnowledgeBaseTemplateUriCommandInput | UpdateMessageTemplateCommandInput | UpdateMessageTemplateMetadataCommandInput | UpdateQuickResponseCommandInput | UpdateSessionCommandInput | UpdateSessionDataCommandInput;
83
97
  /**
84
98
  * @public
85
99
  */
86
- export type ServiceOutputTypes = CreateAIAgentCommandOutput | CreateAIAgentVersionCommandOutput | CreateAIPromptCommandOutput | CreateAIPromptVersionCommandOutput | CreateAssistantAssociationCommandOutput | CreateAssistantCommandOutput | CreateContentAssociationCommandOutput | CreateContentCommandOutput | CreateKnowledgeBaseCommandOutput | CreateQuickResponseCommandOutput | CreateSessionCommandOutput | DeleteAIAgentCommandOutput | DeleteAIAgentVersionCommandOutput | DeleteAIPromptCommandOutput | DeleteAIPromptVersionCommandOutput | DeleteAssistantAssociationCommandOutput | DeleteAssistantCommandOutput | DeleteContentAssociationCommandOutput | DeleteContentCommandOutput | DeleteImportJobCommandOutput | DeleteKnowledgeBaseCommandOutput | DeleteQuickResponseCommandOutput | GetAIAgentCommandOutput | GetAIPromptCommandOutput | GetAssistantAssociationCommandOutput | GetAssistantCommandOutput | GetContentAssociationCommandOutput | GetContentCommandOutput | GetContentSummaryCommandOutput | GetImportJobCommandOutput | GetKnowledgeBaseCommandOutput | GetQuickResponseCommandOutput | GetRecommendationsCommandOutput | GetSessionCommandOutput | ListAIAgentVersionsCommandOutput | ListAIAgentsCommandOutput | ListAIPromptVersionsCommandOutput | ListAIPromptsCommandOutput | ListAssistantAssociationsCommandOutput | ListAssistantsCommandOutput | ListContentAssociationsCommandOutput | ListContentsCommandOutput | ListImportJobsCommandOutput | ListKnowledgeBasesCommandOutput | ListQuickResponsesCommandOutput | ListTagsForResourceCommandOutput | NotifyRecommendationsReceivedCommandOutput | PutFeedbackCommandOutput | QueryAssistantCommandOutput | RemoveAssistantAIAgentCommandOutput | RemoveKnowledgeBaseTemplateUriCommandOutput | SearchContentCommandOutput | SearchQuickResponsesCommandOutput | SearchSessionsCommandOutput | StartContentUploadCommandOutput | StartImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAIAgentCommandOutput | UpdateAIPromptCommandOutput | UpdateAssistantAIAgentCommandOutput | UpdateContentCommandOutput | UpdateKnowledgeBaseTemplateUriCommandOutput | UpdateQuickResponseCommandOutput | UpdateSessionCommandOutput | UpdateSessionDataCommandOutput;
100
+ export type ServiceOutputTypes = ActivateMessageTemplateCommandOutput | CreateAIAgentCommandOutput | CreateAIAgentVersionCommandOutput | CreateAIPromptCommandOutput | CreateAIPromptVersionCommandOutput | CreateAssistantAssociationCommandOutput | CreateAssistantCommandOutput | CreateContentAssociationCommandOutput | CreateContentCommandOutput | CreateKnowledgeBaseCommandOutput | CreateMessageTemplateAttachmentCommandOutput | CreateMessageTemplateCommandOutput | CreateMessageTemplateVersionCommandOutput | CreateQuickResponseCommandOutput | CreateSessionCommandOutput | DeactivateMessageTemplateCommandOutput | DeleteAIAgentCommandOutput | DeleteAIAgentVersionCommandOutput | DeleteAIPromptCommandOutput | DeleteAIPromptVersionCommandOutput | DeleteAssistantAssociationCommandOutput | DeleteAssistantCommandOutput | DeleteContentAssociationCommandOutput | DeleteContentCommandOutput | DeleteImportJobCommandOutput | DeleteKnowledgeBaseCommandOutput | DeleteMessageTemplateAttachmentCommandOutput | DeleteMessageTemplateCommandOutput | DeleteQuickResponseCommandOutput | GetAIAgentCommandOutput | GetAIPromptCommandOutput | GetAssistantAssociationCommandOutput | GetAssistantCommandOutput | GetContentAssociationCommandOutput | GetContentCommandOutput | GetContentSummaryCommandOutput | GetImportJobCommandOutput | GetKnowledgeBaseCommandOutput | GetMessageTemplateCommandOutput | GetQuickResponseCommandOutput | GetRecommendationsCommandOutput | GetSessionCommandOutput | ListAIAgentVersionsCommandOutput | ListAIAgentsCommandOutput | ListAIPromptVersionsCommandOutput | ListAIPromptsCommandOutput | ListAssistantAssociationsCommandOutput | ListAssistantsCommandOutput | ListContentAssociationsCommandOutput | ListContentsCommandOutput | ListImportJobsCommandOutput | ListKnowledgeBasesCommandOutput | ListMessageTemplateVersionsCommandOutput | ListMessageTemplatesCommandOutput | ListQuickResponsesCommandOutput | ListTagsForResourceCommandOutput | NotifyRecommendationsReceivedCommandOutput | PutFeedbackCommandOutput | QueryAssistantCommandOutput | RemoveAssistantAIAgentCommandOutput | RemoveKnowledgeBaseTemplateUriCommandOutput | RenderMessageTemplateCommandOutput | SearchContentCommandOutput | SearchMessageTemplatesCommandOutput | SearchQuickResponsesCommandOutput | SearchSessionsCommandOutput | StartContentUploadCommandOutput | StartImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAIAgentCommandOutput | UpdateAIPromptCommandOutput | UpdateAssistantAIAgentCommandOutput | UpdateContentCommandOutput | UpdateKnowledgeBaseTemplateUriCommandOutput | UpdateMessageTemplateCommandOutput | UpdateMessageTemplateMetadataCommandOutput | UpdateQuickResponseCommandOutput | UpdateSessionCommandOutput | UpdateSessionDataCommandOutput;
87
101
  /**
88
102
  * @public
89
103
  */
@@ -0,0 +1,96 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ActivateMessageTemplateRequest, ActivateMessageTemplateResponse } from "../models/models_0";
4
+ import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ActivateMessageTemplateCommand}.
14
+ */
15
+ export interface ActivateMessageTemplateCommandInput extends ActivateMessageTemplateRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ActivateMessageTemplateCommand}.
21
+ */
22
+ export interface ActivateMessageTemplateCommandOutput extends ActivateMessageTemplateResponse, __MetadataBearer {
23
+ }
24
+ declare const ActivateMessageTemplateCommand_base: {
25
+ new (input: ActivateMessageTemplateCommandInput): import("@smithy/smithy-client").CommandImpl<ActivateMessageTemplateCommandInput, ActivateMessageTemplateCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ActivateMessageTemplateCommandInput): import("@smithy/smithy-client").CommandImpl<ActivateMessageTemplateCommandInput, ActivateMessageTemplateCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Activates a specific version of the Amazon Q in Connect message template. After the
31
+ * version is activated, the previous active version will be deactivated automatically. You can
32
+ * use the <code>$ACTIVE_VERSION</code> qualifier later to reference the version that is in
33
+ * active status.</p>
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { QConnectClient, ActivateMessageTemplateCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
38
+ * // const { QConnectClient, ActivateMessageTemplateCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
39
+ * const client = new QConnectClient(config);
40
+ * const input = { // ActivateMessageTemplateRequest
41
+ * knowledgeBaseId: "STRING_VALUE", // required
42
+ * messageTemplateId: "STRING_VALUE", // required
43
+ * versionNumber: Number("long"), // required
44
+ * };
45
+ * const command = new ActivateMessageTemplateCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ActivateMessageTemplateResponse
48
+ * // messageTemplateArn: "STRING_VALUE", // required
49
+ * // messageTemplateId: "STRING_VALUE", // required
50
+ * // versionNumber: Number("long"), // required
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param ActivateMessageTemplateCommandInput - {@link ActivateMessageTemplateCommandInput}
56
+ * @returns {@link ActivateMessageTemplateCommandOutput}
57
+ * @see {@link ActivateMessageTemplateCommandInput} for command's `input` shape.
58
+ * @see {@link ActivateMessageTemplateCommandOutput} for command's `response` shape.
59
+ * @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * <p>You do not have sufficient access to perform this action.</p>
63
+ *
64
+ * @throws {@link ConflictException} (client fault)
65
+ * <p>The request could not be processed because of conflict in the current state of the
66
+ * resource. For example, if you're using a <code>Create</code> API (such as
67
+ * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
68
+ * same name) is being created or mutated.</p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>The specified resource does not exist.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>The throttling limit has been exceeded.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
78
+ *
79
+ * @throws {@link QConnectServiceException}
80
+ * <p>Base exception class for all service exceptions from QConnect service.</p>
81
+ *
82
+ * @public
83
+ */
84
+ export declare class ActivateMessageTemplateCommand extends ActivateMessageTemplateCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: ActivateMessageTemplateRequest;
89
+ output: ActivateMessageTemplateResponse;
90
+ };
91
+ sdk: {
92
+ input: ActivateMessageTemplateCommandInput;
93
+ output: ActivateMessageTemplateCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -0,0 +1,109 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateMessageTemplateAttachmentRequest, CreateMessageTemplateAttachmentResponse } from "../models/models_0";
4
+ import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateMessageTemplateAttachmentCommand}.
14
+ */
15
+ export interface CreateMessageTemplateAttachmentCommandInput extends CreateMessageTemplateAttachmentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateMessageTemplateAttachmentCommand}.
21
+ */
22
+ export interface CreateMessageTemplateAttachmentCommandOutput extends CreateMessageTemplateAttachmentResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateMessageTemplateAttachmentCommand_base: {
25
+ new (input: CreateMessageTemplateAttachmentCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMessageTemplateAttachmentCommandInput, CreateMessageTemplateAttachmentCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateMessageTemplateAttachmentCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMessageTemplateAttachmentCommandInput, CreateMessageTemplateAttachmentCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Uploads an attachment file to the specified Amazon Q in Connect message template. The name
31
+ * of the message template attachment has to be unique for each message template referenced by
32
+ * the <code>$LATEST</code> qualifier. The body of the attachment file should be encoded using
33
+ * base64 encoding. After the file is uploaded, you can use the pre-signed Amazon S3 URL returned
34
+ * in response to download the uploaded file.</p>
35
+ * @example
36
+ * Use a bare-bones client and the command you need to make an API call.
37
+ * ```javascript
38
+ * import { QConnectClient, CreateMessageTemplateAttachmentCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
39
+ * // const { QConnectClient, CreateMessageTemplateAttachmentCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
40
+ * const client = new QConnectClient(config);
41
+ * const input = { // CreateMessageTemplateAttachmentRequest
42
+ * knowledgeBaseId: "STRING_VALUE", // required
43
+ * messageTemplateId: "STRING_VALUE", // required
44
+ * contentDisposition: "STRING_VALUE", // required
45
+ * name: "STRING_VALUE", // required
46
+ * body: "STRING_VALUE", // required
47
+ * clientToken: "STRING_VALUE",
48
+ * };
49
+ * const command = new CreateMessageTemplateAttachmentCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // CreateMessageTemplateAttachmentResponse
52
+ * // attachment: { // MessageTemplateAttachment
53
+ * // contentDisposition: "STRING_VALUE", // required
54
+ * // name: "STRING_VALUE", // required
55
+ * // uploadedTime: new Date("TIMESTAMP"), // required
56
+ * // url: "STRING_VALUE", // required
57
+ * // urlExpiry: new Date("TIMESTAMP"), // required
58
+ * // attachmentId: "STRING_VALUE", // required
59
+ * // },
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param CreateMessageTemplateAttachmentCommandInput - {@link CreateMessageTemplateAttachmentCommandInput}
65
+ * @returns {@link CreateMessageTemplateAttachmentCommandOutput}
66
+ * @see {@link CreateMessageTemplateAttachmentCommandInput} for command's `input` shape.
67
+ * @see {@link CreateMessageTemplateAttachmentCommandOutput} for command's `response` shape.
68
+ * @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>You do not have sufficient access to perform this action.</p>
72
+ *
73
+ * @throws {@link ConflictException} (client fault)
74
+ * <p>The request could not be processed because of conflict in the current state of the
75
+ * resource. For example, if you're using a <code>Create</code> API (such as
76
+ * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
77
+ * same name) is being created or mutated.</p>
78
+ *
79
+ * @throws {@link ResourceNotFoundException} (client fault)
80
+ * <p>The specified resource does not exist.</p>
81
+ *
82
+ * @throws {@link ServiceQuotaExceededException} (client fault)
83
+ * <p>You've exceeded your service quota. To perform the requested action, remove some of the
84
+ * relevant resources, or use service quotas to request a service quota increase.</p>
85
+ *
86
+ * @throws {@link ThrottlingException} (client fault)
87
+ * <p>The throttling limit has been exceeded.</p>
88
+ *
89
+ * @throws {@link ValidationException} (client fault)
90
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
91
+ *
92
+ * @throws {@link QConnectServiceException}
93
+ * <p>Base exception class for all service exceptions from QConnect service.</p>
94
+ *
95
+ * @public
96
+ */
97
+ export declare class CreateMessageTemplateAttachmentCommand extends CreateMessageTemplateAttachmentCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: CreateMessageTemplateAttachmentRequest;
102
+ output: CreateMessageTemplateAttachmentResponse;
103
+ };
104
+ sdk: {
105
+ input: CreateMessageTemplateAttachmentCommandInput;
106
+ output: CreateMessageTemplateAttachmentCommandOutput;
107
+ };
108
+ };
109
+ }