@aws-sdk/client-qconnect 3.461.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 (283) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +545 -0
  3. package/dist-cjs/QConnect.js +93 -0
  4. package/dist-cjs/QConnectClient.js +43 -0
  5. package/dist-cjs/commands/CreateAssistantAssociationCommand.js +51 -0
  6. package/dist-cjs/commands/CreateAssistantCommand.js +51 -0
  7. package/dist-cjs/commands/CreateContentCommand.js +52 -0
  8. package/dist-cjs/commands/CreateKnowledgeBaseCommand.js +51 -0
  9. package/dist-cjs/commands/CreateQuickResponseCommand.js +52 -0
  10. package/dist-cjs/commands/CreateSessionCommand.js +51 -0
  11. package/dist-cjs/commands/DeleteAssistantAssociationCommand.js +51 -0
  12. package/dist-cjs/commands/DeleteAssistantCommand.js +51 -0
  13. package/dist-cjs/commands/DeleteContentCommand.js +51 -0
  14. package/dist-cjs/commands/DeleteImportJobCommand.js +51 -0
  15. package/dist-cjs/commands/DeleteKnowledgeBaseCommand.js +51 -0
  16. package/dist-cjs/commands/DeleteQuickResponseCommand.js +51 -0
  17. package/dist-cjs/commands/GetAssistantAssociationCommand.js +51 -0
  18. package/dist-cjs/commands/GetAssistantCommand.js +51 -0
  19. package/dist-cjs/commands/GetContentCommand.js +52 -0
  20. package/dist-cjs/commands/GetContentSummaryCommand.js +51 -0
  21. package/dist-cjs/commands/GetImportJobCommand.js +52 -0
  22. package/dist-cjs/commands/GetKnowledgeBaseCommand.js +51 -0
  23. package/dist-cjs/commands/GetQuickResponseCommand.js +52 -0
  24. package/dist-cjs/commands/GetRecommendationsCommand.js +52 -0
  25. package/dist-cjs/commands/GetSessionCommand.js +51 -0
  26. package/dist-cjs/commands/ListAssistantAssociationsCommand.js +51 -0
  27. package/dist-cjs/commands/ListAssistantsCommand.js +51 -0
  28. package/dist-cjs/commands/ListContentsCommand.js +51 -0
  29. package/dist-cjs/commands/ListImportJobsCommand.js +51 -0
  30. package/dist-cjs/commands/ListKnowledgeBasesCommand.js +51 -0
  31. package/dist-cjs/commands/ListQuickResponsesCommand.js +52 -0
  32. package/dist-cjs/commands/ListTagsForResourceCommand.js +51 -0
  33. package/dist-cjs/commands/NotifyRecommendationsReceivedCommand.js +51 -0
  34. package/dist-cjs/commands/QueryAssistantCommand.js +52 -0
  35. package/dist-cjs/commands/RemoveKnowledgeBaseTemplateUriCommand.js +51 -0
  36. package/dist-cjs/commands/SearchContentCommand.js +51 -0
  37. package/dist-cjs/commands/SearchQuickResponsesCommand.js +52 -0
  38. package/dist-cjs/commands/SearchSessionsCommand.js +51 -0
  39. package/dist-cjs/commands/StartContentUploadCommand.js +52 -0
  40. package/dist-cjs/commands/StartImportJobCommand.js +52 -0
  41. package/dist-cjs/commands/TagResourceCommand.js +51 -0
  42. package/dist-cjs/commands/UntagResourceCommand.js +51 -0
  43. package/dist-cjs/commands/UpdateContentCommand.js +52 -0
  44. package/dist-cjs/commands/UpdateKnowledgeBaseTemplateUriCommand.js +51 -0
  45. package/dist-cjs/commands/UpdateQuickResponseCommand.js +52 -0
  46. package/dist-cjs/commands/index.js +44 -0
  47. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  48. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  49. package/dist-cjs/endpoint/ruleset.js +7 -0
  50. package/dist-cjs/extensionConfiguration.js +2 -0
  51. package/dist-cjs/index.js +12 -0
  52. package/dist-cjs/models/QConnectServiceException.js +12 -0
  53. package/dist-cjs/models/index.js +4 -0
  54. package/dist-cjs/models/models_0.js +559 -0
  55. package/dist-cjs/pagination/Interfaces.js +2 -0
  56. package/dist-cjs/pagination/ListAssistantAssociationsPaginator.js +29 -0
  57. package/dist-cjs/pagination/ListAssistantsPaginator.js +29 -0
  58. package/dist-cjs/pagination/ListContentsPaginator.js +29 -0
  59. package/dist-cjs/pagination/ListImportJobsPaginator.js +29 -0
  60. package/dist-cjs/pagination/ListKnowledgeBasesPaginator.js +29 -0
  61. package/dist-cjs/pagination/ListQuickResponsesPaginator.js +29 -0
  62. package/dist-cjs/pagination/QueryAssistantPaginator.js +29 -0
  63. package/dist-cjs/pagination/SearchContentPaginator.js +29 -0
  64. package/dist-cjs/pagination/SearchQuickResponsesPaginator.js +29 -0
  65. package/dist-cjs/pagination/SearchSessionsPaginator.js +29 -0
  66. package/dist-cjs/pagination/index.js +14 -0
  67. package/dist-cjs/protocols/Aws_restJson1.js +2993 -0
  68. package/dist-cjs/runtimeConfig.browser.js +39 -0
  69. package/dist-cjs/runtimeConfig.js +50 -0
  70. package/dist-cjs/runtimeConfig.native.js +15 -0
  71. package/dist-cjs/runtimeConfig.shared.js +24 -0
  72. package/dist-cjs/runtimeExtensions.js +22 -0
  73. package/dist-es/QConnect.js +89 -0
  74. package/dist-es/QConnectClient.js +39 -0
  75. package/dist-es/commands/CreateAssistantAssociationCommand.js +47 -0
  76. package/dist-es/commands/CreateAssistantCommand.js +47 -0
  77. package/dist-es/commands/CreateContentCommand.js +48 -0
  78. package/dist-es/commands/CreateKnowledgeBaseCommand.js +47 -0
  79. package/dist-es/commands/CreateQuickResponseCommand.js +48 -0
  80. package/dist-es/commands/CreateSessionCommand.js +47 -0
  81. package/dist-es/commands/DeleteAssistantAssociationCommand.js +47 -0
  82. package/dist-es/commands/DeleteAssistantCommand.js +47 -0
  83. package/dist-es/commands/DeleteContentCommand.js +47 -0
  84. package/dist-es/commands/DeleteImportJobCommand.js +47 -0
  85. package/dist-es/commands/DeleteKnowledgeBaseCommand.js +47 -0
  86. package/dist-es/commands/DeleteQuickResponseCommand.js +47 -0
  87. package/dist-es/commands/GetAssistantAssociationCommand.js +47 -0
  88. package/dist-es/commands/GetAssistantCommand.js +47 -0
  89. package/dist-es/commands/GetContentCommand.js +48 -0
  90. package/dist-es/commands/GetContentSummaryCommand.js +47 -0
  91. package/dist-es/commands/GetImportJobCommand.js +48 -0
  92. package/dist-es/commands/GetKnowledgeBaseCommand.js +47 -0
  93. package/dist-es/commands/GetQuickResponseCommand.js +48 -0
  94. package/dist-es/commands/GetRecommendationsCommand.js +48 -0
  95. package/dist-es/commands/GetSessionCommand.js +47 -0
  96. package/dist-es/commands/ListAssistantAssociationsCommand.js +47 -0
  97. package/dist-es/commands/ListAssistantsCommand.js +47 -0
  98. package/dist-es/commands/ListContentsCommand.js +47 -0
  99. package/dist-es/commands/ListImportJobsCommand.js +47 -0
  100. package/dist-es/commands/ListKnowledgeBasesCommand.js +47 -0
  101. package/dist-es/commands/ListQuickResponsesCommand.js +48 -0
  102. package/dist-es/commands/ListTagsForResourceCommand.js +47 -0
  103. package/dist-es/commands/NotifyRecommendationsReceivedCommand.js +47 -0
  104. package/dist-es/commands/QueryAssistantCommand.js +48 -0
  105. package/dist-es/commands/RemoveKnowledgeBaseTemplateUriCommand.js +47 -0
  106. package/dist-es/commands/SearchContentCommand.js +47 -0
  107. package/dist-es/commands/SearchQuickResponsesCommand.js +48 -0
  108. package/dist-es/commands/SearchSessionsCommand.js +47 -0
  109. package/dist-es/commands/StartContentUploadCommand.js +48 -0
  110. package/dist-es/commands/StartImportJobCommand.js +48 -0
  111. package/dist-es/commands/TagResourceCommand.js +47 -0
  112. package/dist-es/commands/UntagResourceCommand.js +47 -0
  113. package/dist-es/commands/UpdateContentCommand.js +48 -0
  114. package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +47 -0
  115. package/dist-es/commands/UpdateQuickResponseCommand.js +48 -0
  116. package/dist-es/commands/index.js +41 -0
  117. package/dist-es/endpoint/EndpointParameters.js +8 -0
  118. package/dist-es/endpoint/endpointResolver.js +8 -0
  119. package/dist-es/endpoint/ruleset.js +4 -0
  120. package/dist-es/extensionConfiguration.js +1 -0
  121. package/dist-es/index.js +7 -0
  122. package/dist-es/models/QConnectServiceException.js +8 -0
  123. package/dist-es/models/index.js +1 -0
  124. package/dist-es/models/models_0.js +508 -0
  125. package/dist-es/pagination/Interfaces.js +1 -0
  126. package/dist-es/pagination/ListAssistantAssociationsPaginator.js +25 -0
  127. package/dist-es/pagination/ListAssistantsPaginator.js +25 -0
  128. package/dist-es/pagination/ListContentsPaginator.js +25 -0
  129. package/dist-es/pagination/ListImportJobsPaginator.js +25 -0
  130. package/dist-es/pagination/ListKnowledgeBasesPaginator.js +25 -0
  131. package/dist-es/pagination/ListQuickResponsesPaginator.js +25 -0
  132. package/dist-es/pagination/QueryAssistantPaginator.js +25 -0
  133. package/dist-es/pagination/SearchContentPaginator.js +25 -0
  134. package/dist-es/pagination/SearchQuickResponsesPaginator.js +25 -0
  135. package/dist-es/pagination/SearchSessionsPaginator.js +25 -0
  136. package/dist-es/pagination/index.js +11 -0
  137. package/dist-es/protocols/Aws_restJson1.js +2907 -0
  138. package/dist-es/runtimeConfig.browser.js +34 -0
  139. package/dist-es/runtimeConfig.js +45 -0
  140. package/dist-es/runtimeConfig.native.js +11 -0
  141. package/dist-es/runtimeConfig.shared.js +20 -0
  142. package/dist-es/runtimeExtensions.js +18 -0
  143. package/dist-types/QConnect.d.ts +309 -0
  144. package/dist-types/QConnectClient.d.ts +222 -0
  145. package/dist-types/commands/CreateAssistantAssociationCommand.d.ts +117 -0
  146. package/dist-types/commands/CreateAssistantCommand.d.ts +117 -0
  147. package/dist-types/commands/CreateContentCommand.d.ts +123 -0
  148. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +157 -0
  149. package/dist-types/commands/CreateQuickResponseCommand.d.ts +149 -0
  150. package/dist-types/commands/CreateSessionCommand.d.ts +104 -0
  151. package/dist-types/commands/DeleteAssistantAssociationCommand.d.ts +81 -0
  152. package/dist-types/commands/DeleteAssistantCommand.d.ts +80 -0
  153. package/dist-types/commands/DeleteContentCommand.d.ts +81 -0
  154. package/dist-types/commands/DeleteImportJobCommand.d.ts +87 -0
  155. package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +94 -0
  156. package/dist-types/commands/DeleteQuickResponseCommand.d.ts +81 -0
  157. package/dist-types/commands/GetAssistantAssociationCommand.d.ts +98 -0
  158. package/dist-types/commands/GetAssistantCommand.d.ts +101 -0
  159. package/dist-types/commands/GetContentCommand.d.ts +102 -0
  160. package/dist-types/commands/GetContentSummaryCommand.d.ts +99 -0
  161. package/dist-types/commands/GetImportJobCommand.d.ts +106 -0
  162. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +107 -0
  163. package/dist-types/commands/GetQuickResponseCommand.d.ts +118 -0
  164. package/dist-types/commands/GetRecommendationsCommand.d.ts +239 -0
  165. package/dist-types/commands/GetSessionCommand.d.ts +94 -0
  166. package/dist-types/commands/ListAssistantAssociationsCommand.d.ts +102 -0
  167. package/dist-types/commands/ListAssistantsCommand.d.ts +102 -0
  168. package/dist-types/commands/ListContentsCommand.d.ts +103 -0
  169. package/dist-types/commands/ListImportJobsCommand.d.ts +104 -0
  170. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +107 -0
  171. package/dist-types/commands/ListQuickResponsesCommand.d.ts +106 -0
  172. package/dist-types/commands/ListTagsForResourceCommand.d.ts +78 -0
  173. package/dist-types/commands/NotifyRecommendationsReceivedCommand.d.ts +96 -0
  174. package/dist-types/commands/QueryAssistantCommand.d.ts +238 -0
  175. package/dist-types/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +80 -0
  176. package/dist-types/commands/SearchContentCommand.d.ts +113 -0
  177. package/dist-types/commands/SearchQuickResponsesCommand.d.ts +163 -0
  178. package/dist-types/commands/SearchSessionsCommand.d.ts +101 -0
  179. package/dist-types/commands/StartContentUploadCommand.d.ts +92 -0
  180. package/dist-types/commands/StartImportJobCommand.d.ts +135 -0
  181. package/dist-types/commands/TagResourceCommand.d.ts +80 -0
  182. package/dist-types/commands/UntagResourceCommand.d.ts +77 -0
  183. package/dist-types/commands/UpdateContentCommand.d.ts +114 -0
  184. package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +113 -0
  185. package/dist-types/commands/UpdateQuickResponseCommand.d.ts +149 -0
  186. package/dist-types/commands/index.d.ts +41 -0
  187. package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
  188. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  189. package/dist-types/endpoint/ruleset.d.ts +2 -0
  190. package/dist-types/extensionConfiguration.d.ts +8 -0
  191. package/dist-types/index.d.ts +27 -0
  192. package/dist-types/models/QConnectServiceException.d.ts +13 -0
  193. package/dist-types/models/index.d.ts +1 -0
  194. package/dist-types/models/models_0.d.ts +4249 -0
  195. package/dist-types/pagination/Interfaces.d.ts +8 -0
  196. package/dist-types/pagination/ListAssistantAssociationsPaginator.d.ts +7 -0
  197. package/dist-types/pagination/ListAssistantsPaginator.d.ts +7 -0
  198. package/dist-types/pagination/ListContentsPaginator.d.ts +7 -0
  199. package/dist-types/pagination/ListImportJobsPaginator.d.ts +7 -0
  200. package/dist-types/pagination/ListKnowledgeBasesPaginator.d.ts +7 -0
  201. package/dist-types/pagination/ListQuickResponsesPaginator.d.ts +7 -0
  202. package/dist-types/pagination/QueryAssistantPaginator.d.ts +7 -0
  203. package/dist-types/pagination/SearchContentPaginator.d.ts +7 -0
  204. package/dist-types/pagination/SearchQuickResponsesPaginator.d.ts +7 -0
  205. package/dist-types/pagination/SearchSessionsPaginator.d.ts +7 -0
  206. package/dist-types/pagination/index.d.ts +11 -0
  207. package/dist-types/protocols/Aws_restJson1.d.ts +371 -0
  208. package/dist-types/runtimeConfig.browser.d.ts +46 -0
  209. package/dist-types/runtimeConfig.d.ts +46 -0
  210. package/dist-types/runtimeConfig.native.d.ts +45 -0
  211. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  212. package/dist-types/runtimeExtensions.d.ts +17 -0
  213. package/dist-types/ts3.4/QConnect.d.ts +702 -0
  214. package/dist-types/ts3.4/QConnectClient.d.ts +364 -0
  215. package/dist-types/ts3.4/commands/CreateAssistantAssociationCommand.d.ts +42 -0
  216. package/dist-types/ts3.4/commands/CreateAssistantCommand.d.ts +38 -0
  217. package/dist-types/ts3.4/commands/CreateContentCommand.d.ts +38 -0
  218. package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +39 -0
  219. package/dist-types/ts3.4/commands/CreateQuickResponseCommand.d.ts +39 -0
  220. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +38 -0
  221. package/dist-types/ts3.4/commands/DeleteAssistantAssociationCommand.d.ts +42 -0
  222. package/dist-types/ts3.4/commands/DeleteAssistantCommand.d.ts +38 -0
  223. package/dist-types/ts3.4/commands/DeleteContentCommand.d.ts +38 -0
  224. package/dist-types/ts3.4/commands/DeleteImportJobCommand.d.ts +38 -0
  225. package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +39 -0
  226. package/dist-types/ts3.4/commands/DeleteQuickResponseCommand.d.ts +39 -0
  227. package/dist-types/ts3.4/commands/GetAssistantAssociationCommand.d.ts +42 -0
  228. package/dist-types/ts3.4/commands/GetAssistantCommand.d.ts +35 -0
  229. package/dist-types/ts3.4/commands/GetContentCommand.d.ts +35 -0
  230. package/dist-types/ts3.4/commands/GetContentSummaryCommand.d.ts +39 -0
  231. package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +35 -0
  232. package/dist-types/ts3.4/commands/GetKnowledgeBaseCommand.d.ts +38 -0
  233. package/dist-types/ts3.4/commands/GetQuickResponseCommand.d.ts +38 -0
  234. package/dist-types/ts3.4/commands/GetRecommendationsCommand.d.ts +39 -0
  235. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +35 -0
  236. package/dist-types/ts3.4/commands/ListAssistantAssociationsCommand.d.ts +42 -0
  237. package/dist-types/ts3.4/commands/ListAssistantsCommand.d.ts +38 -0
  238. package/dist-types/ts3.4/commands/ListContentsCommand.d.ts +35 -0
  239. package/dist-types/ts3.4/commands/ListImportJobsCommand.d.ts +38 -0
  240. package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +39 -0
  241. package/dist-types/ts3.4/commands/ListQuickResponsesCommand.d.ts +39 -0
  242. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  243. package/dist-types/ts3.4/commands/NotifyRecommendationsReceivedCommand.d.ts +42 -0
  244. package/dist-types/ts3.4/commands/QueryAssistantCommand.d.ts +38 -0
  245. package/dist-types/ts3.4/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +42 -0
  246. package/dist-types/ts3.4/commands/SearchContentCommand.d.ts +38 -0
  247. package/dist-types/ts3.4/commands/SearchQuickResponsesCommand.d.ts +42 -0
  248. package/dist-types/ts3.4/commands/SearchSessionsCommand.d.ts +38 -0
  249. package/dist-types/ts3.4/commands/StartContentUploadCommand.d.ts +39 -0
  250. package/dist-types/ts3.4/commands/StartImportJobCommand.d.ts +38 -0
  251. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  252. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  253. package/dist-types/ts3.4/commands/UpdateContentCommand.d.ts +38 -0
  254. package/dist-types/ts3.4/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +42 -0
  255. package/dist-types/ts3.4/commands/UpdateQuickResponseCommand.d.ts +39 -0
  256. package/dist-types/ts3.4/commands/index.d.ts +41 -0
  257. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  258. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  259. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  260. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  261. package/dist-types/ts3.4/index.d.ts +10 -0
  262. package/dist-types/ts3.4/models/QConnectServiceException.d.ts +8 -0
  263. package/dist-types/ts3.4/models/index.d.ts +1 -0
  264. package/dist-types/ts3.4/models/models_0.d.ts +1241 -0
  265. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  266. package/dist-types/ts3.4/pagination/ListAssistantAssociationsPaginator.d.ts +11 -0
  267. package/dist-types/ts3.4/pagination/ListAssistantsPaginator.d.ts +11 -0
  268. package/dist-types/ts3.4/pagination/ListContentsPaginator.d.ts +11 -0
  269. package/dist-types/ts3.4/pagination/ListImportJobsPaginator.d.ts +11 -0
  270. package/dist-types/ts3.4/pagination/ListKnowledgeBasesPaginator.d.ts +11 -0
  271. package/dist-types/ts3.4/pagination/ListQuickResponsesPaginator.d.ts +11 -0
  272. package/dist-types/ts3.4/pagination/QueryAssistantPaginator.d.ts +11 -0
  273. package/dist-types/ts3.4/pagination/SearchContentPaginator.d.ts +11 -0
  274. package/dist-types/ts3.4/pagination/SearchQuickResponsesPaginator.d.ts +11 -0
  275. package/dist-types/ts3.4/pagination/SearchSessionsPaginator.d.ts +11 -0
  276. package/dist-types/ts3.4/pagination/index.d.ts +11 -0
  277. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +497 -0
  278. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
  279. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
  280. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
  281. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  282. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  283. package/package.json +104 -0
@@ -0,0 +1,114 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { UpdateContentRequest, UpdateContentResponse } from "../models/models_0";
5
+ import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateContentCommand}.
14
+ */
15
+ export interface UpdateContentCommandInput extends UpdateContentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateContentCommand}.
21
+ */
22
+ export interface UpdateContentCommandOutput extends UpdateContentResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates information about the content.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { QConnectClient, UpdateContentCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
31
+ * // const { QConnectClient, UpdateContentCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
32
+ * const client = new QConnectClient(config);
33
+ * const input = { // UpdateContentRequest
34
+ * knowledgeBaseId: "STRING_VALUE", // required
35
+ * contentId: "STRING_VALUE", // required
36
+ * revisionId: "STRING_VALUE",
37
+ * title: "STRING_VALUE",
38
+ * overrideLinkOutUri: "STRING_VALUE",
39
+ * removeOverrideLinkOutUri: true || false,
40
+ * metadata: { // ContentMetadata
41
+ * "<keys>": "STRING_VALUE",
42
+ * },
43
+ * uploadId: "STRING_VALUE",
44
+ * };
45
+ * const command = new UpdateContentCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // UpdateContentResponse
48
+ * // content: { // ContentData
49
+ * // contentArn: "STRING_VALUE", // required
50
+ * // contentId: "STRING_VALUE", // required
51
+ * // knowledgeBaseArn: "STRING_VALUE", // required
52
+ * // knowledgeBaseId: "STRING_VALUE", // required
53
+ * // name: "STRING_VALUE", // required
54
+ * // revisionId: "STRING_VALUE", // required
55
+ * // title: "STRING_VALUE", // required
56
+ * // contentType: "STRING_VALUE", // required
57
+ * // status: "STRING_VALUE", // required
58
+ * // metadata: { // ContentMetadata // required
59
+ * // "<keys>": "STRING_VALUE",
60
+ * // },
61
+ * // tags: { // Tags
62
+ * // "<keys>": "STRING_VALUE",
63
+ * // },
64
+ * // linkOutUri: "STRING_VALUE",
65
+ * // url: "STRING_VALUE", // required
66
+ * // urlExpiry: new Date("TIMESTAMP"), // required
67
+ * // },
68
+ * // };
69
+ *
70
+ * ```
71
+ *
72
+ * @param UpdateContentCommandInput - {@link UpdateContentCommandInput}
73
+ * @returns {@link UpdateContentCommandOutput}
74
+ * @see {@link UpdateContentCommandInput} for command's `input` shape.
75
+ * @see {@link UpdateContentCommandOutput} for command's `response` shape.
76
+ * @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
77
+ *
78
+ * @throws {@link AccessDeniedException} (client fault)
79
+ * <p>You do not have sufficient access to perform this action.</p>
80
+ *
81
+ * @throws {@link PreconditionFailedException} (client fault)
82
+ * <p>The provided <code>revisionId</code> does not match, indicating the content has been
83
+ * modified since it was last read.</p>
84
+ *
85
+ * @throws {@link ResourceNotFoundException} (client fault)
86
+ * <p>The specified resource does not exist.</p>
87
+ *
88
+ * @throws {@link ValidationException} (client fault)
89
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
90
+ *
91
+ * @throws {@link QConnectServiceException}
92
+ * <p>Base exception class for all service exceptions from QConnect service.</p>
93
+ *
94
+ */
95
+ export declare class UpdateContentCommand extends $Command<UpdateContentCommandInput, UpdateContentCommandOutput, QConnectClientResolvedConfig> {
96
+ readonly input: UpdateContentCommandInput;
97
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
+ /**
99
+ * @public
100
+ */
101
+ constructor(input: UpdateContentCommandInput);
102
+ /**
103
+ * @internal
104
+ */
105
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateContentCommandInput, UpdateContentCommandOutput>;
106
+ /**
107
+ * @internal
108
+ */
109
+ private serialize;
110
+ /**
111
+ * @internal
112
+ */
113
+ private deserialize;
114
+ }
@@ -0,0 +1,113 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { UpdateKnowledgeBaseTemplateUriRequest, UpdateKnowledgeBaseTemplateUriResponse } from "../models/models_0";
5
+ import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateKnowledgeBaseTemplateUriCommand}.
14
+ */
15
+ export interface UpdateKnowledgeBaseTemplateUriCommandInput extends UpdateKnowledgeBaseTemplateUriRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateKnowledgeBaseTemplateUriCommand}.
21
+ */
22
+ export interface UpdateKnowledgeBaseTemplateUriCommandOutput extends UpdateKnowledgeBaseTemplateUriResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates the template URI of a knowledge base. This is only supported for knowledge bases
27
+ * of type EXTERNAL. Include a single variable in <code>$\{variable\}</code> format; this
28
+ * interpolated by Amazon Q using ingested content. For example, if you ingest a Salesforce
29
+ * article, it has an <code>Id</code> value, and you can set the template URI to
30
+ * <code>https://myInstanceName.lightning.force.com/lightning/r/Knowledge__kav/*$\{Id\}*\/view</code>.
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { QConnectClient, UpdateKnowledgeBaseTemplateUriCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
36
+ * // const { QConnectClient, UpdateKnowledgeBaseTemplateUriCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
37
+ * const client = new QConnectClient(config);
38
+ * const input = { // UpdateKnowledgeBaseTemplateUriRequest
39
+ * knowledgeBaseId: "STRING_VALUE", // required
40
+ * templateUri: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new UpdateKnowledgeBaseTemplateUriCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // UpdateKnowledgeBaseTemplateUriResponse
45
+ * // knowledgeBase: { // KnowledgeBaseData
46
+ * // knowledgeBaseId: "STRING_VALUE", // required
47
+ * // knowledgeBaseArn: "STRING_VALUE", // required
48
+ * // name: "STRING_VALUE", // required
49
+ * // knowledgeBaseType: "STRING_VALUE", // required
50
+ * // status: "STRING_VALUE", // required
51
+ * // lastContentModificationTime: new Date("TIMESTAMP"),
52
+ * // sourceConfiguration: { // SourceConfiguration Union: only one key present
53
+ * // appIntegrations: { // AppIntegrationsConfiguration
54
+ * // appIntegrationArn: "STRING_VALUE", // required
55
+ * // objectFields: [ // ObjectFieldsList
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // },
59
+ * // },
60
+ * // renderingConfiguration: { // RenderingConfiguration
61
+ * // templateUri: "STRING_VALUE",
62
+ * // },
63
+ * // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
64
+ * // kmsKeyId: "STRING_VALUE",
65
+ * // },
66
+ * // description: "STRING_VALUE",
67
+ * // tags: { // Tags
68
+ * // "<keys>": "STRING_VALUE",
69
+ * // },
70
+ * // },
71
+ * // };
72
+ *
73
+ * ```
74
+ *
75
+ * @param UpdateKnowledgeBaseTemplateUriCommandInput - {@link UpdateKnowledgeBaseTemplateUriCommandInput}
76
+ * @returns {@link UpdateKnowledgeBaseTemplateUriCommandOutput}
77
+ * @see {@link UpdateKnowledgeBaseTemplateUriCommandInput} for command's `input` shape.
78
+ * @see {@link UpdateKnowledgeBaseTemplateUriCommandOutput} for command's `response` shape.
79
+ * @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
80
+ *
81
+ * @throws {@link AccessDeniedException} (client fault)
82
+ * <p>You do not have sufficient access to perform this action.</p>
83
+ *
84
+ * @throws {@link ResourceNotFoundException} (client fault)
85
+ * <p>The specified resource does not exist.</p>
86
+ *
87
+ * @throws {@link ValidationException} (client fault)
88
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
89
+ *
90
+ * @throws {@link QConnectServiceException}
91
+ * <p>Base exception class for all service exceptions from QConnect service.</p>
92
+ *
93
+ */
94
+ export declare class UpdateKnowledgeBaseTemplateUriCommand extends $Command<UpdateKnowledgeBaseTemplateUriCommandInput, UpdateKnowledgeBaseTemplateUriCommandOutput, QConnectClientResolvedConfig> {
95
+ readonly input: UpdateKnowledgeBaseTemplateUriCommandInput;
96
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
97
+ /**
98
+ * @public
99
+ */
100
+ constructor(input: UpdateKnowledgeBaseTemplateUriCommandInput);
101
+ /**
102
+ * @internal
103
+ */
104
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateKnowledgeBaseTemplateUriCommandInput, UpdateKnowledgeBaseTemplateUriCommandOutput>;
105
+ /**
106
+ * @internal
107
+ */
108
+ private serialize;
109
+ /**
110
+ * @internal
111
+ */
112
+ private deserialize;
113
+ }
@@ -0,0 +1,149 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { UpdateQuickResponseRequest, UpdateQuickResponseResponse } from "../models/models_0";
5
+ import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateQuickResponseCommand}.
14
+ */
15
+ export interface UpdateQuickResponseCommandInput extends UpdateQuickResponseRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateQuickResponseCommand}.
21
+ */
22
+ export interface UpdateQuickResponseCommandOutput extends UpdateQuickResponseResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates an existing Amazon Q quick response.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { QConnectClient, UpdateQuickResponseCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
31
+ * // const { QConnectClient, UpdateQuickResponseCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
32
+ * const client = new QConnectClient(config);
33
+ * const input = { // UpdateQuickResponseRequest
34
+ * knowledgeBaseId: "STRING_VALUE", // required
35
+ * quickResponseId: "STRING_VALUE", // required
36
+ * name: "STRING_VALUE",
37
+ * content: { // QuickResponseDataProvider Union: only one key present
38
+ * content: "STRING_VALUE",
39
+ * },
40
+ * contentType: "STRING_VALUE",
41
+ * groupingConfiguration: { // GroupingConfiguration
42
+ * criteria: "STRING_VALUE",
43
+ * values: [ // GroupingValues
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * },
47
+ * removeGroupingConfiguration: true || false,
48
+ * description: "STRING_VALUE",
49
+ * removeDescription: true || false,
50
+ * shortcutKey: "STRING_VALUE",
51
+ * removeShortcutKey: true || false,
52
+ * isActive: true || false,
53
+ * channels: [ // Channels
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * language: "STRING_VALUE",
57
+ * };
58
+ * const command = new UpdateQuickResponseCommand(input);
59
+ * const response = await client.send(command);
60
+ * // { // UpdateQuickResponseResponse
61
+ * // quickResponse: { // QuickResponseData
62
+ * // quickResponseArn: "STRING_VALUE", // required
63
+ * // quickResponseId: "STRING_VALUE", // required
64
+ * // knowledgeBaseArn: "STRING_VALUE", // required
65
+ * // knowledgeBaseId: "STRING_VALUE", // required
66
+ * // name: "STRING_VALUE", // required
67
+ * // contentType: "STRING_VALUE", // required
68
+ * // status: "STRING_VALUE", // required
69
+ * // createdTime: new Date("TIMESTAMP"), // required
70
+ * // lastModifiedTime: new Date("TIMESTAMP"), // required
71
+ * // contents: { // QuickResponseContents
72
+ * // plainText: { // QuickResponseContentProvider Union: only one key present
73
+ * // content: "STRING_VALUE",
74
+ * // },
75
+ * // markdown: {// Union: only one key present
76
+ * // content: "STRING_VALUE",
77
+ * // },
78
+ * // },
79
+ * // description: "STRING_VALUE",
80
+ * // groupingConfiguration: { // GroupingConfiguration
81
+ * // criteria: "STRING_VALUE",
82
+ * // values: [ // GroupingValues
83
+ * // "STRING_VALUE",
84
+ * // ],
85
+ * // },
86
+ * // shortcutKey: "STRING_VALUE",
87
+ * // lastModifiedBy: "STRING_VALUE",
88
+ * // isActive: true || false,
89
+ * // channels: [ // Channels
90
+ * // "STRING_VALUE",
91
+ * // ],
92
+ * // language: "STRING_VALUE",
93
+ * // tags: { // Tags
94
+ * // "<keys>": "STRING_VALUE",
95
+ * // },
96
+ * // },
97
+ * // };
98
+ *
99
+ * ```
100
+ *
101
+ * @param UpdateQuickResponseCommandInput - {@link UpdateQuickResponseCommandInput}
102
+ * @returns {@link UpdateQuickResponseCommandOutput}
103
+ * @see {@link UpdateQuickResponseCommandInput} for command's `input` shape.
104
+ * @see {@link UpdateQuickResponseCommandOutput} for command's `response` shape.
105
+ * @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
106
+ *
107
+ * @throws {@link AccessDeniedException} (client fault)
108
+ * <p>You do not have sufficient access to perform this action.</p>
109
+ *
110
+ * @throws {@link ConflictException} (client fault)
111
+ * <p>The request could not be processed because of conflict in the current state of the
112
+ * resource. For example, if you're using a <code>Create</code> API (such as
113
+ * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
114
+ * same name) is being created or mutated.</p>
115
+ *
116
+ * @throws {@link PreconditionFailedException} (client fault)
117
+ * <p>The provided <code>revisionId</code> does not match, indicating the content has been
118
+ * modified since it was last read.</p>
119
+ *
120
+ * @throws {@link ResourceNotFoundException} (client fault)
121
+ * <p>The specified resource does not exist.</p>
122
+ *
123
+ * @throws {@link ValidationException} (client fault)
124
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
125
+ *
126
+ * @throws {@link QConnectServiceException}
127
+ * <p>Base exception class for all service exceptions from QConnect service.</p>
128
+ *
129
+ */
130
+ export declare class UpdateQuickResponseCommand extends $Command<UpdateQuickResponseCommandInput, UpdateQuickResponseCommandOutput, QConnectClientResolvedConfig> {
131
+ readonly input: UpdateQuickResponseCommandInput;
132
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
133
+ /**
134
+ * @public
135
+ */
136
+ constructor(input: UpdateQuickResponseCommandInput);
137
+ /**
138
+ * @internal
139
+ */
140
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateQuickResponseCommandInput, UpdateQuickResponseCommandOutput>;
141
+ /**
142
+ * @internal
143
+ */
144
+ private serialize;
145
+ /**
146
+ * @internal
147
+ */
148
+ private deserialize;
149
+ }
@@ -0,0 +1,41 @@
1
+ export * from "./CreateAssistantAssociationCommand";
2
+ export * from "./CreateAssistantCommand";
3
+ export * from "./CreateContentCommand";
4
+ export * from "./CreateKnowledgeBaseCommand";
5
+ export * from "./CreateQuickResponseCommand";
6
+ export * from "./CreateSessionCommand";
7
+ export * from "./DeleteAssistantAssociationCommand";
8
+ export * from "./DeleteAssistantCommand";
9
+ export * from "./DeleteContentCommand";
10
+ export * from "./DeleteImportJobCommand";
11
+ export * from "./DeleteKnowledgeBaseCommand";
12
+ export * from "./DeleteQuickResponseCommand";
13
+ export * from "./GetAssistantAssociationCommand";
14
+ export * from "./GetAssistantCommand";
15
+ export * from "./GetContentCommand";
16
+ export * from "./GetContentSummaryCommand";
17
+ export * from "./GetImportJobCommand";
18
+ export * from "./GetKnowledgeBaseCommand";
19
+ export * from "./GetQuickResponseCommand";
20
+ export * from "./GetRecommendationsCommand";
21
+ export * from "./GetSessionCommand";
22
+ export * from "./ListAssistantAssociationsCommand";
23
+ export * from "./ListAssistantsCommand";
24
+ export * from "./ListContentsCommand";
25
+ export * from "./ListImportJobsCommand";
26
+ export * from "./ListKnowledgeBasesCommand";
27
+ export * from "./ListQuickResponsesCommand";
28
+ export * from "./ListTagsForResourceCommand";
29
+ export * from "./NotifyRecommendationsReceivedCommand";
30
+ export * from "./QueryAssistantCommand";
31
+ export * from "./RemoveKnowledgeBaseTemplateUriCommand";
32
+ export * from "./SearchContentCommand";
33
+ export * from "./SearchQuickResponsesCommand";
34
+ export * from "./SearchSessionsCommand";
35
+ export * from "./StartContentUploadCommand";
36
+ export * from "./StartImportJobCommand";
37
+ export * from "./TagResourceCommand";
38
+ export * from "./UntagResourceCommand";
39
+ export * from "./UpdateContentCommand";
40
+ export * from "./UpdateKnowledgeBaseTemplateUriCommand";
41
+ export * from "./UpdateQuickResponseCommand";
@@ -0,0 +1,22 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
+ }
11
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
+ defaultSigningName: string;
16
+ };
17
+ export interface EndpointParameters extends __EndpointParameters {
18
+ Region?: string;
19
+ UseDualStack?: boolean;
20
+ UseFIPS?: boolean;
21
+ Endpoint?: string;
22
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,8 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface QConnectExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
8
+ }
@@ -0,0 +1,27 @@
1
+ /**
2
+ * <p>Amazon Q in Connect is a generative AI customer service assistant. It is an LLM-enhanced evolution
3
+ * of Amazon Connect Wisdom that delivers real-time recommendations to help contact center
4
+ * agents resolve customer issues quickly and accurately.</p>
5
+ * <p>Amazon Q automatically detects customer intent during calls and chats using
6
+ * conversational analytics and natural language understanding (NLU). It then provides agents
7
+ * with immediate, real-time generative responses and suggested actions, and links to relevant
8
+ * documents and articles. Agents can also query Amazon Q directly using natural language or
9
+ * keywords to answer customer requests.</p>
10
+ * <p>Use the Amazon Q in Connect APIs to create an assistant and a knowledge base, for example, or
11
+ * manage content by uploading custom files.</p>
12
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-q-connect.html">Use Amazon Q in Connect for generative AI
13
+ * powered agent assistance in real-time</a> in the <i>Amazon Connect
14
+ * Administrator Guide</i>.</p>
15
+ *
16
+ * @packageDocumentation
17
+ */
18
+ export * from "./QConnectClient";
19
+ export * from "./QConnect";
20
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
21
+ export { RuntimeExtension } from "./runtimeExtensions";
22
+ export { QConnectExtensionConfiguration } from "./extensionConfiguration";
23
+ export * from "./commands";
24
+ export * from "./pagination";
25
+ export * from "./models";
26
+ import "@aws-sdk/util-endpoints";
27
+ export { QConnectServiceException } from "./models/QConnectServiceException";
@@ -0,0 +1,13 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
+ export { __ServiceException, __ServiceExceptionOptions };
3
+ /**
4
+ * @public
5
+ *
6
+ * Base exception class for all service exceptions from QConnect service.
7
+ */
8
+ export declare class QConnectServiceException extends __ServiceException {
9
+ /**
10
+ * @internal
11
+ */
12
+ constructor(options: __ServiceExceptionOptions);
13
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";