@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,87 @@
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 { DeleteImportJobRequest, DeleteImportJobResponse } 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 DeleteImportJobCommand}.
14
+ */
15
+ export interface DeleteImportJobCommandInput extends DeleteImportJobRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteImportJobCommand}.
21
+ */
22
+ export interface DeleteImportJobCommandOutput extends DeleteImportJobResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes the quick response import job.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { QConnectClient, DeleteImportJobCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
31
+ * // const { QConnectClient, DeleteImportJobCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
32
+ * const client = new QConnectClient(config);
33
+ * const input = { // DeleteImportJobRequest
34
+ * knowledgeBaseId: "STRING_VALUE", // required
35
+ * importJobId: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new DeleteImportJobCommand(input);
38
+ * const response = await client.send(command);
39
+ * // {};
40
+ *
41
+ * ```
42
+ *
43
+ * @param DeleteImportJobCommandInput - {@link DeleteImportJobCommandInput}
44
+ * @returns {@link DeleteImportJobCommandOutput}
45
+ * @see {@link DeleteImportJobCommandInput} for command's `input` shape.
46
+ * @see {@link DeleteImportJobCommandOutput} for command's `response` shape.
47
+ * @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
48
+ *
49
+ * @throws {@link AccessDeniedException} (client fault)
50
+ * <p>You do not have sufficient access to perform this action.</p>
51
+ *
52
+ * @throws {@link ConflictException} (client fault)
53
+ * <p>The request could not be processed because of conflict in the current state of the
54
+ * resource. For example, if you're using a <code>Create</code> API (such as
55
+ * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
56
+ * same name) is being created or mutated.</p>
57
+ *
58
+ * @throws {@link ResourceNotFoundException} (client fault)
59
+ * <p>The specified resource does not exist.</p>
60
+ *
61
+ * @throws {@link ValidationException} (client fault)
62
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
63
+ *
64
+ * @throws {@link QConnectServiceException}
65
+ * <p>Base exception class for all service exceptions from QConnect service.</p>
66
+ *
67
+ */
68
+ export declare class DeleteImportJobCommand extends $Command<DeleteImportJobCommandInput, DeleteImportJobCommandOutput, QConnectClientResolvedConfig> {
69
+ readonly input: DeleteImportJobCommandInput;
70
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
+ /**
72
+ * @public
73
+ */
74
+ constructor(input: DeleteImportJobCommandInput);
75
+ /**
76
+ * @internal
77
+ */
78
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteImportJobCommandInput, DeleteImportJobCommandOutput>;
79
+ /**
80
+ * @internal
81
+ */
82
+ private serialize;
83
+ /**
84
+ * @internal
85
+ */
86
+ private deserialize;
87
+ }
@@ -0,0 +1,94 @@
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 { DeleteKnowledgeBaseRequest, DeleteKnowledgeBaseResponse } 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 DeleteKnowledgeBaseCommand}.
14
+ */
15
+ export interface DeleteKnowledgeBaseCommandInput extends DeleteKnowledgeBaseRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteKnowledgeBaseCommand}.
21
+ */
22
+ export interface DeleteKnowledgeBaseCommandOutput extends DeleteKnowledgeBaseResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes the knowledge base.</p>
27
+ * <note>
28
+ * <p>When you use this API to delete an external knowledge base such as Salesforce or
29
+ * ServiceNow, you must also delete the <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html">Amazon AppIntegrations</a>
30
+ * DataIntegration. This is because you can't reuse the DataIntegration after it's been
31
+ * associated with an external knowledge base. However, you can delete and recreate it. See
32
+ * <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html">DeleteDataIntegration</a> and <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> in the <i>Amazon AppIntegrations API
33
+ * Reference</i>.</p>
34
+ * </note>
35
+ * @example
36
+ * Use a bare-bones client and the command you need to make an API call.
37
+ * ```javascript
38
+ * import { QConnectClient, DeleteKnowledgeBaseCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
39
+ * // const { QConnectClient, DeleteKnowledgeBaseCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
40
+ * const client = new QConnectClient(config);
41
+ * const input = { // DeleteKnowledgeBaseRequest
42
+ * knowledgeBaseId: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new DeleteKnowledgeBaseCommand(input);
45
+ * const response = await client.send(command);
46
+ * // {};
47
+ *
48
+ * ```
49
+ *
50
+ * @param DeleteKnowledgeBaseCommandInput - {@link DeleteKnowledgeBaseCommandInput}
51
+ * @returns {@link DeleteKnowledgeBaseCommandOutput}
52
+ * @see {@link DeleteKnowledgeBaseCommandInput} for command's `input` shape.
53
+ * @see {@link DeleteKnowledgeBaseCommandOutput} for command's `response` shape.
54
+ * @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>You do not have sufficient access to perform this action.</p>
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p>The request could not be processed because of conflict in the current state of the
61
+ * resource. For example, if you're using a <code>Create</code> API (such as
62
+ * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
63
+ * same name) is being created or mutated.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>The specified resource does not exist.</p>
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
70
+ *
71
+ * @throws {@link QConnectServiceException}
72
+ * <p>Base exception class for all service exceptions from QConnect service.</p>
73
+ *
74
+ */
75
+ export declare class DeleteKnowledgeBaseCommand extends $Command<DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput, QConnectClientResolvedConfig> {
76
+ readonly input: DeleteKnowledgeBaseCommandInput;
77
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
78
+ /**
79
+ * @public
80
+ */
81
+ constructor(input: DeleteKnowledgeBaseCommandInput);
82
+ /**
83
+ * @internal
84
+ */
85
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput>;
86
+ /**
87
+ * @internal
88
+ */
89
+ private serialize;
90
+ /**
91
+ * @internal
92
+ */
93
+ private deserialize;
94
+ }
@@ -0,0 +1,81 @@
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 { DeleteQuickResponseRequest, DeleteQuickResponseResponse } 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 DeleteQuickResponseCommand}.
14
+ */
15
+ export interface DeleteQuickResponseCommandInput extends DeleteQuickResponseRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteQuickResponseCommand}.
21
+ */
22
+ export interface DeleteQuickResponseCommandOutput extends DeleteQuickResponseResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes a 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, DeleteQuickResponseCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
31
+ * // const { QConnectClient, DeleteQuickResponseCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
32
+ * const client = new QConnectClient(config);
33
+ * const input = { // DeleteQuickResponseRequest
34
+ * knowledgeBaseId: "STRING_VALUE", // required
35
+ * quickResponseId: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new DeleteQuickResponseCommand(input);
38
+ * const response = await client.send(command);
39
+ * // {};
40
+ *
41
+ * ```
42
+ *
43
+ * @param DeleteQuickResponseCommandInput - {@link DeleteQuickResponseCommandInput}
44
+ * @returns {@link DeleteQuickResponseCommandOutput}
45
+ * @see {@link DeleteQuickResponseCommandInput} for command's `input` shape.
46
+ * @see {@link DeleteQuickResponseCommandOutput} for command's `response` shape.
47
+ * @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
48
+ *
49
+ * @throws {@link AccessDeniedException} (client fault)
50
+ * <p>You do not have sufficient access to perform this action.</p>
51
+ *
52
+ * @throws {@link ResourceNotFoundException} (client fault)
53
+ * <p>The specified resource does not exist.</p>
54
+ *
55
+ * @throws {@link ValidationException} (client fault)
56
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
57
+ *
58
+ * @throws {@link QConnectServiceException}
59
+ * <p>Base exception class for all service exceptions from QConnect service.</p>
60
+ *
61
+ */
62
+ export declare class DeleteQuickResponseCommand extends $Command<DeleteQuickResponseCommandInput, DeleteQuickResponseCommandOutput, QConnectClientResolvedConfig> {
63
+ readonly input: DeleteQuickResponseCommandInput;
64
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
65
+ /**
66
+ * @public
67
+ */
68
+ constructor(input: DeleteQuickResponseCommandInput);
69
+ /**
70
+ * @internal
71
+ */
72
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteQuickResponseCommandInput, DeleteQuickResponseCommandOutput>;
73
+ /**
74
+ * @internal
75
+ */
76
+ private serialize;
77
+ /**
78
+ * @internal
79
+ */
80
+ private deserialize;
81
+ }
@@ -0,0 +1,98 @@
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 { GetAssistantAssociationRequest, GetAssistantAssociationResponse } 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 GetAssistantAssociationCommand}.
14
+ */
15
+ export interface GetAssistantAssociationCommandInput extends GetAssistantAssociationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetAssistantAssociationCommand}.
21
+ */
22
+ export interface GetAssistantAssociationCommandOutput extends GetAssistantAssociationResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Retrieves information about an assistant association.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { QConnectClient, GetAssistantAssociationCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
31
+ * // const { QConnectClient, GetAssistantAssociationCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
32
+ * const client = new QConnectClient(config);
33
+ * const input = { // GetAssistantAssociationRequest
34
+ * assistantAssociationId: "STRING_VALUE", // required
35
+ * assistantId: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new GetAssistantAssociationCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // GetAssistantAssociationResponse
40
+ * // assistantAssociation: { // AssistantAssociationData
41
+ * // assistantAssociationId: "STRING_VALUE", // required
42
+ * // assistantAssociationArn: "STRING_VALUE", // required
43
+ * // assistantId: "STRING_VALUE", // required
44
+ * // assistantArn: "STRING_VALUE", // required
45
+ * // associationType: "STRING_VALUE", // required
46
+ * // associationData: { // AssistantAssociationOutputData Union: only one key present
47
+ * // knowledgeBaseAssociation: { // KnowledgeBaseAssociationData
48
+ * // knowledgeBaseId: "STRING_VALUE",
49
+ * // knowledgeBaseArn: "STRING_VALUE",
50
+ * // },
51
+ * // },
52
+ * // tags: { // Tags
53
+ * // "<keys>": "STRING_VALUE",
54
+ * // },
55
+ * // },
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param GetAssistantAssociationCommandInput - {@link GetAssistantAssociationCommandInput}
61
+ * @returns {@link GetAssistantAssociationCommandOutput}
62
+ * @see {@link GetAssistantAssociationCommandInput} for command's `input` shape.
63
+ * @see {@link GetAssistantAssociationCommandOutput} for command's `response` shape.
64
+ * @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>You do not have sufficient access to perform this action.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>The specified resource does not exist.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
74
+ *
75
+ * @throws {@link QConnectServiceException}
76
+ * <p>Base exception class for all service exceptions from QConnect service.</p>
77
+ *
78
+ */
79
+ export declare class GetAssistantAssociationCommand extends $Command<GetAssistantAssociationCommandInput, GetAssistantAssociationCommandOutput, QConnectClientResolvedConfig> {
80
+ readonly input: GetAssistantAssociationCommandInput;
81
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
82
+ /**
83
+ * @public
84
+ */
85
+ constructor(input: GetAssistantAssociationCommandInput);
86
+ /**
87
+ * @internal
88
+ */
89
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAssistantAssociationCommandInput, GetAssistantAssociationCommandOutput>;
90
+ /**
91
+ * @internal
92
+ */
93
+ private serialize;
94
+ /**
95
+ * @internal
96
+ */
97
+ private deserialize;
98
+ }
@@ -0,0 +1,101 @@
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 { GetAssistantRequest, GetAssistantResponse } 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 GetAssistantCommand}.
14
+ */
15
+ export interface GetAssistantCommandInput extends GetAssistantRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetAssistantCommand}.
21
+ */
22
+ export interface GetAssistantCommandOutput extends GetAssistantResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Retrieves information about an assistant.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { QConnectClient, GetAssistantCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
31
+ * // const { QConnectClient, GetAssistantCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
32
+ * const client = new QConnectClient(config);
33
+ * const input = { // GetAssistantRequest
34
+ * assistantId: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new GetAssistantCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // GetAssistantResponse
39
+ * // assistant: { // AssistantData
40
+ * // assistantId: "STRING_VALUE", // required
41
+ * // assistantArn: "STRING_VALUE", // required
42
+ * // name: "STRING_VALUE", // required
43
+ * // type: "STRING_VALUE", // required
44
+ * // status: "STRING_VALUE", // required
45
+ * // description: "STRING_VALUE",
46
+ * // tags: { // Tags
47
+ * // "<keys>": "STRING_VALUE",
48
+ * // },
49
+ * // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
50
+ * // kmsKeyId: "STRING_VALUE",
51
+ * // },
52
+ * // integrationConfiguration: { // AssistantIntegrationConfiguration
53
+ * // topicIntegrationArn: "STRING_VALUE",
54
+ * // },
55
+ * // capabilityConfiguration: { // AssistantCapabilityConfiguration
56
+ * // type: "STRING_VALUE",
57
+ * // },
58
+ * // },
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param GetAssistantCommandInput - {@link GetAssistantCommandInput}
64
+ * @returns {@link GetAssistantCommandOutput}
65
+ * @see {@link GetAssistantCommandInput} for command's `input` shape.
66
+ * @see {@link GetAssistantCommandOutput} for command's `response` shape.
67
+ * @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
68
+ *
69
+ * @throws {@link AccessDeniedException} (client fault)
70
+ * <p>You do not have sufficient access to perform this action.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The specified resource does not exist.</p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
77
+ *
78
+ * @throws {@link QConnectServiceException}
79
+ * <p>Base exception class for all service exceptions from QConnect service.</p>
80
+ *
81
+ */
82
+ export declare class GetAssistantCommand extends $Command<GetAssistantCommandInput, GetAssistantCommandOutput, QConnectClientResolvedConfig> {
83
+ readonly input: GetAssistantCommandInput;
84
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
85
+ /**
86
+ * @public
87
+ */
88
+ constructor(input: GetAssistantCommandInput);
89
+ /**
90
+ * @internal
91
+ */
92
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAssistantCommandInput, GetAssistantCommandOutput>;
93
+ /**
94
+ * @internal
95
+ */
96
+ private serialize;
97
+ /**
98
+ * @internal
99
+ */
100
+ private deserialize;
101
+ }
@@ -0,0 +1,102 @@
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 { GetContentRequest, GetContentResponse } 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 GetContentCommand}.
14
+ */
15
+ export interface GetContentCommandInput extends GetContentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetContentCommand}.
21
+ */
22
+ export interface GetContentCommandOutput extends GetContentResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Retrieves content, including a pre-signed URL to download 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, GetContentCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
31
+ * // const { QConnectClient, GetContentCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
32
+ * const client = new QConnectClient(config);
33
+ * const input = { // GetContentRequest
34
+ * contentId: "STRING_VALUE", // required
35
+ * knowledgeBaseId: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new GetContentCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // GetContentResponse
40
+ * // content: { // ContentData
41
+ * // contentArn: "STRING_VALUE", // required
42
+ * // contentId: "STRING_VALUE", // required
43
+ * // knowledgeBaseArn: "STRING_VALUE", // required
44
+ * // knowledgeBaseId: "STRING_VALUE", // required
45
+ * // name: "STRING_VALUE", // required
46
+ * // revisionId: "STRING_VALUE", // required
47
+ * // title: "STRING_VALUE", // required
48
+ * // contentType: "STRING_VALUE", // required
49
+ * // status: "STRING_VALUE", // required
50
+ * // metadata: { // ContentMetadata // required
51
+ * // "<keys>": "STRING_VALUE",
52
+ * // },
53
+ * // tags: { // Tags
54
+ * // "<keys>": "STRING_VALUE",
55
+ * // },
56
+ * // linkOutUri: "STRING_VALUE",
57
+ * // url: "STRING_VALUE", // required
58
+ * // urlExpiry: new Date("TIMESTAMP"), // required
59
+ * // },
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param GetContentCommandInput - {@link GetContentCommandInput}
65
+ * @returns {@link GetContentCommandOutput}
66
+ * @see {@link GetContentCommandInput} for command's `input` shape.
67
+ * @see {@link GetContentCommandOutput} 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 ResourceNotFoundException} (client fault)
74
+ * <p>The specified resource does not exist.</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
+ */
83
+ export declare class GetContentCommand extends $Command<GetContentCommandInput, GetContentCommandOutput, QConnectClientResolvedConfig> {
84
+ readonly input: GetContentCommandInput;
85
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
+ /**
87
+ * @public
88
+ */
89
+ constructor(input: GetContentCommandInput);
90
+ /**
91
+ * @internal
92
+ */
93
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetContentCommandInput, GetContentCommandOutput>;
94
+ /**
95
+ * @internal
96
+ */
97
+ private serialize;
98
+ /**
99
+ * @internal
100
+ */
101
+ private deserialize;
102
+ }
@@ -0,0 +1,99 @@
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 { GetContentSummaryRequest, GetContentSummaryResponse } 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 GetContentSummaryCommand}.
14
+ */
15
+ export interface GetContentSummaryCommandInput extends GetContentSummaryRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetContentSummaryCommand}.
21
+ */
22
+ export interface GetContentSummaryCommandOutput extends GetContentSummaryResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Retrieves summary 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, GetContentSummaryCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
31
+ * // const { QConnectClient, GetContentSummaryCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
32
+ * const client = new QConnectClient(config);
33
+ * const input = { // GetContentSummaryRequest
34
+ * contentId: "STRING_VALUE", // required
35
+ * knowledgeBaseId: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new GetContentSummaryCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // GetContentSummaryResponse
40
+ * // contentSummary: { // ContentSummary
41
+ * // contentArn: "STRING_VALUE", // required
42
+ * // contentId: "STRING_VALUE", // required
43
+ * // knowledgeBaseArn: "STRING_VALUE", // required
44
+ * // knowledgeBaseId: "STRING_VALUE", // required
45
+ * // name: "STRING_VALUE", // required
46
+ * // revisionId: "STRING_VALUE", // required
47
+ * // title: "STRING_VALUE", // required
48
+ * // contentType: "STRING_VALUE", // required
49
+ * // status: "STRING_VALUE", // required
50
+ * // metadata: { // ContentMetadata // required
51
+ * // "<keys>": "STRING_VALUE",
52
+ * // },
53
+ * // tags: { // Tags
54
+ * // "<keys>": "STRING_VALUE",
55
+ * // },
56
+ * // },
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param GetContentSummaryCommandInput - {@link GetContentSummaryCommandInput}
62
+ * @returns {@link GetContentSummaryCommandOutput}
63
+ * @see {@link GetContentSummaryCommandInput} for command's `input` shape.
64
+ * @see {@link GetContentSummaryCommandOutput} for command's `response` shape.
65
+ * @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>You do not have sufficient access to perform this action.</p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>The specified resource does not exist.</p>
72
+ *
73
+ * @throws {@link ValidationException} (client fault)
74
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
75
+ *
76
+ * @throws {@link QConnectServiceException}
77
+ * <p>Base exception class for all service exceptions from QConnect service.</p>
78
+ *
79
+ */
80
+ export declare class GetContentSummaryCommand extends $Command<GetContentSummaryCommandInput, GetContentSummaryCommandOutput, QConnectClientResolvedConfig> {
81
+ readonly input: GetContentSummaryCommandInput;
82
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
83
+ /**
84
+ * @public
85
+ */
86
+ constructor(input: GetContentSummaryCommandInput);
87
+ /**
88
+ * @internal
89
+ */
90
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetContentSummaryCommandInput, GetContentSummaryCommandOutput>;
91
+ /**
92
+ * @internal
93
+ */
94
+ private serialize;
95
+ /**
96
+ * @internal
97
+ */
98
+ private deserialize;
99
+ }