@aws-sdk/client-wisdom 3.35.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 (358) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/LICENSE +201 -0
  3. package/README.md +207 -0
  4. package/dist-cjs/Wisdom.js +480 -0
  5. package/dist-cjs/Wisdom.js.map +1 -0
  6. package/dist-cjs/WisdomClient.js +48 -0
  7. package/dist-cjs/WisdomClient.js.map +1 -0
  8. package/dist-cjs/commands/CreateAssistantAssociationCommand.js +63 -0
  9. package/dist-cjs/commands/CreateAssistantAssociationCommand.js.map +1 -0
  10. package/dist-cjs/commands/CreateAssistantCommand.js +61 -0
  11. package/dist-cjs/commands/CreateAssistantCommand.js.map +1 -0
  12. package/dist-cjs/commands/CreateContentCommand.js +62 -0
  13. package/dist-cjs/commands/CreateContentCommand.js.map +1 -0
  14. package/dist-cjs/commands/CreateKnowledgeBaseCommand.js +85 -0
  15. package/dist-cjs/commands/CreateKnowledgeBaseCommand.js.map +1 -0
  16. package/dist-cjs/commands/CreateSessionCommand.js +63 -0
  17. package/dist-cjs/commands/CreateSessionCommand.js.map +1 -0
  18. package/dist-cjs/commands/DeleteAssistantAssociationCommand.js +61 -0
  19. package/dist-cjs/commands/DeleteAssistantAssociationCommand.js.map +1 -0
  20. package/dist-cjs/commands/DeleteAssistantCommand.js +61 -0
  21. package/dist-cjs/commands/DeleteAssistantCommand.js.map +1 -0
  22. package/dist-cjs/commands/DeleteContentCommand.js +61 -0
  23. package/dist-cjs/commands/DeleteContentCommand.js.map +1 -0
  24. package/dist-cjs/commands/DeleteKnowledgeBaseCommand.js +68 -0
  25. package/dist-cjs/commands/DeleteKnowledgeBaseCommand.js.map +1 -0
  26. package/dist-cjs/commands/GetAssistantAssociationCommand.js +61 -0
  27. package/dist-cjs/commands/GetAssistantAssociationCommand.js.map +1 -0
  28. package/dist-cjs/commands/GetAssistantCommand.js +61 -0
  29. package/dist-cjs/commands/GetAssistantCommand.js.map +1 -0
  30. package/dist-cjs/commands/GetContentCommand.js +61 -0
  31. package/dist-cjs/commands/GetContentCommand.js.map +1 -0
  32. package/dist-cjs/commands/GetContentSummaryCommand.js +61 -0
  33. package/dist-cjs/commands/GetContentSummaryCommand.js.map +1 -0
  34. package/dist-cjs/commands/GetKnowledgeBaseCommand.js +61 -0
  35. package/dist-cjs/commands/GetKnowledgeBaseCommand.js.map +1 -0
  36. package/dist-cjs/commands/GetRecommendationsCommand.js +64 -0
  37. package/dist-cjs/commands/GetRecommendationsCommand.js.map +1 -0
  38. package/dist-cjs/commands/GetSessionCommand.js +61 -0
  39. package/dist-cjs/commands/GetSessionCommand.js.map +1 -0
  40. package/dist-cjs/commands/ListAssistantAssociationsCommand.js +61 -0
  41. package/dist-cjs/commands/ListAssistantAssociationsCommand.js.map +1 -0
  42. package/dist-cjs/commands/ListAssistantsCommand.js +61 -0
  43. package/dist-cjs/commands/ListAssistantsCommand.js.map +1 -0
  44. package/dist-cjs/commands/ListContentsCommand.js +61 -0
  45. package/dist-cjs/commands/ListContentsCommand.js.map +1 -0
  46. package/dist-cjs/commands/ListKnowledgeBasesCommand.js +61 -0
  47. package/dist-cjs/commands/ListKnowledgeBasesCommand.js.map +1 -0
  48. package/dist-cjs/commands/ListTagsForResourceCommand.js +61 -0
  49. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
  50. package/dist-cjs/commands/NotifyRecommendationsReceivedCommand.js +63 -0
  51. package/dist-cjs/commands/NotifyRecommendationsReceivedCommand.js.map +1 -0
  52. package/dist-cjs/commands/QueryAssistantCommand.js +63 -0
  53. package/dist-cjs/commands/QueryAssistantCommand.js.map +1 -0
  54. package/dist-cjs/commands/RemoveKnowledgeBaseTemplateUriCommand.js +61 -0
  55. package/dist-cjs/commands/RemoveKnowledgeBaseTemplateUriCommand.js.map +1 -0
  56. package/dist-cjs/commands/SearchContentCommand.js +62 -0
  57. package/dist-cjs/commands/SearchContentCommand.js.map +1 -0
  58. package/dist-cjs/commands/SearchSessionsCommand.js +61 -0
  59. package/dist-cjs/commands/SearchSessionsCommand.js.map +1 -0
  60. package/dist-cjs/commands/StartContentUploadCommand.js +64 -0
  61. package/dist-cjs/commands/StartContentUploadCommand.js.map +1 -0
  62. package/dist-cjs/commands/TagResourceCommand.js +61 -0
  63. package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
  64. package/dist-cjs/commands/UntagResourceCommand.js +61 -0
  65. package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
  66. package/dist-cjs/commands/UpdateContentCommand.js +61 -0
  67. package/dist-cjs/commands/UpdateContentCommand.js.map +1 -0
  68. package/dist-cjs/commands/UpdateKnowledgeBaseTemplateUriCommand.js +66 -0
  69. package/dist-cjs/commands/UpdateKnowledgeBaseTemplateUriCommand.js.map +1 -0
  70. package/dist-cjs/endpoints.js +57 -0
  71. package/dist-cjs/endpoints.js.map +1 -0
  72. package/dist-cjs/index.js +46 -0
  73. package/dist-cjs/index.js.map +1 -0
  74. package/dist-cjs/models/index.js +5 -0
  75. package/dist-cjs/models/index.js.map +1 -0
  76. package/dist-cjs/models/models_0.js +989 -0
  77. package/dist-cjs/models/models_0.js.map +1 -0
  78. package/dist-cjs/pagination/Interfaces.js +3 -0
  79. package/dist-cjs/pagination/Interfaces.js.map +1 -0
  80. package/dist-cjs/pagination/ListAssistantAssociationsPaginator.js +46 -0
  81. package/dist-cjs/pagination/ListAssistantAssociationsPaginator.js.map +1 -0
  82. package/dist-cjs/pagination/ListAssistantsPaginator.js +46 -0
  83. package/dist-cjs/pagination/ListAssistantsPaginator.js.map +1 -0
  84. package/dist-cjs/pagination/ListContentsPaginator.js +46 -0
  85. package/dist-cjs/pagination/ListContentsPaginator.js.map +1 -0
  86. package/dist-cjs/pagination/ListKnowledgeBasesPaginator.js +46 -0
  87. package/dist-cjs/pagination/ListKnowledgeBasesPaginator.js.map +1 -0
  88. package/dist-cjs/pagination/QueryAssistantPaginator.js +46 -0
  89. package/dist-cjs/pagination/QueryAssistantPaginator.js.map +1 -0
  90. package/dist-cjs/pagination/SearchContentPaginator.js +46 -0
  91. package/dist-cjs/pagination/SearchContentPaginator.js.map +1 -0
  92. package/dist-cjs/pagination/SearchSessionsPaginator.js +46 -0
  93. package/dist-cjs/pagination/SearchSessionsPaginator.js.map +1 -0
  94. package/dist-cjs/protocols/Aws_restJson1.js +3717 -0
  95. package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
  96. package/dist-cjs/runtimeConfig.browser.js +42 -0
  97. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  98. package/dist-cjs/runtimeConfig.js +47 -0
  99. package/dist-cjs/runtimeConfig.js.map +1 -0
  100. package/dist-cjs/runtimeConfig.native.js +20 -0
  101. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  102. package/dist-cjs/runtimeConfig.shared.js +21 -0
  103. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  104. package/dist-es/Wisdom.js +476 -0
  105. package/dist-es/Wisdom.js.map +1 -0
  106. package/dist-es/WisdomClient.js +38 -0
  107. package/dist-es/WisdomClient.js.map +1 -0
  108. package/dist-es/commands/CreateAssistantAssociationCommand.js +40 -0
  109. package/dist-es/commands/CreateAssistantAssociationCommand.js.map +1 -0
  110. package/dist-es/commands/CreateAssistantCommand.js +40 -0
  111. package/dist-es/commands/CreateAssistantCommand.js.map +1 -0
  112. package/dist-es/commands/CreateContentCommand.js +40 -0
  113. package/dist-es/commands/CreateContentCommand.js.map +1 -0
  114. package/dist-es/commands/CreateKnowledgeBaseCommand.js +40 -0
  115. package/dist-es/commands/CreateKnowledgeBaseCommand.js.map +1 -0
  116. package/dist-es/commands/CreateSessionCommand.js +40 -0
  117. package/dist-es/commands/CreateSessionCommand.js.map +1 -0
  118. package/dist-es/commands/DeleteAssistantAssociationCommand.js +40 -0
  119. package/dist-es/commands/DeleteAssistantAssociationCommand.js.map +1 -0
  120. package/dist-es/commands/DeleteAssistantCommand.js +40 -0
  121. package/dist-es/commands/DeleteAssistantCommand.js.map +1 -0
  122. package/dist-es/commands/DeleteContentCommand.js +40 -0
  123. package/dist-es/commands/DeleteContentCommand.js.map +1 -0
  124. package/dist-es/commands/DeleteKnowledgeBaseCommand.js +40 -0
  125. package/dist-es/commands/DeleteKnowledgeBaseCommand.js.map +1 -0
  126. package/dist-es/commands/GetAssistantAssociationCommand.js +40 -0
  127. package/dist-es/commands/GetAssistantAssociationCommand.js.map +1 -0
  128. package/dist-es/commands/GetAssistantCommand.js +40 -0
  129. package/dist-es/commands/GetAssistantCommand.js.map +1 -0
  130. package/dist-es/commands/GetContentCommand.js +40 -0
  131. package/dist-es/commands/GetContentCommand.js.map +1 -0
  132. package/dist-es/commands/GetContentSummaryCommand.js +40 -0
  133. package/dist-es/commands/GetContentSummaryCommand.js.map +1 -0
  134. package/dist-es/commands/GetKnowledgeBaseCommand.js +40 -0
  135. package/dist-es/commands/GetKnowledgeBaseCommand.js.map +1 -0
  136. package/dist-es/commands/GetRecommendationsCommand.js +40 -0
  137. package/dist-es/commands/GetRecommendationsCommand.js.map +1 -0
  138. package/dist-es/commands/GetSessionCommand.js +40 -0
  139. package/dist-es/commands/GetSessionCommand.js.map +1 -0
  140. package/dist-es/commands/ListAssistantAssociationsCommand.js +40 -0
  141. package/dist-es/commands/ListAssistantAssociationsCommand.js.map +1 -0
  142. package/dist-es/commands/ListAssistantsCommand.js +40 -0
  143. package/dist-es/commands/ListAssistantsCommand.js.map +1 -0
  144. package/dist-es/commands/ListContentsCommand.js +40 -0
  145. package/dist-es/commands/ListContentsCommand.js.map +1 -0
  146. package/dist-es/commands/ListKnowledgeBasesCommand.js +40 -0
  147. package/dist-es/commands/ListKnowledgeBasesCommand.js.map +1 -0
  148. package/dist-es/commands/ListTagsForResourceCommand.js +40 -0
  149. package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
  150. package/dist-es/commands/NotifyRecommendationsReceivedCommand.js +40 -0
  151. package/dist-es/commands/NotifyRecommendationsReceivedCommand.js.map +1 -0
  152. package/dist-es/commands/QueryAssistantCommand.js +40 -0
  153. package/dist-es/commands/QueryAssistantCommand.js.map +1 -0
  154. package/dist-es/commands/RemoveKnowledgeBaseTemplateUriCommand.js +40 -0
  155. package/dist-es/commands/RemoveKnowledgeBaseTemplateUriCommand.js.map +1 -0
  156. package/dist-es/commands/SearchContentCommand.js +40 -0
  157. package/dist-es/commands/SearchContentCommand.js.map +1 -0
  158. package/dist-es/commands/SearchSessionsCommand.js +40 -0
  159. package/dist-es/commands/SearchSessionsCommand.js.map +1 -0
  160. package/dist-es/commands/StartContentUploadCommand.js +40 -0
  161. package/dist-es/commands/StartContentUploadCommand.js.map +1 -0
  162. package/dist-es/commands/TagResourceCommand.js +40 -0
  163. package/dist-es/commands/TagResourceCommand.js.map +1 -0
  164. package/dist-es/commands/UntagResourceCommand.js +40 -0
  165. package/dist-es/commands/UntagResourceCommand.js.map +1 -0
  166. package/dist-es/commands/UpdateContentCommand.js +40 -0
  167. package/dist-es/commands/UpdateContentCommand.js.map +1 -0
  168. package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +40 -0
  169. package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js.map +1 -0
  170. package/dist-es/endpoints.js +53 -0
  171. package/dist-es/endpoints.js.map +1 -0
  172. package/dist-es/index.js +43 -0
  173. package/dist-es/index.js.map +1 -0
  174. package/dist-es/models/index.js +2 -0
  175. package/dist-es/models/index.js.map +1 -0
  176. package/dist-es/models/models_0.js +495 -0
  177. package/dist-es/models/models_0.js.map +1 -0
  178. package/dist-es/pagination/Interfaces.js +2 -0
  179. package/dist-es/pagination/Interfaces.js.map +1 -0
  180. package/dist-es/pagination/ListAssistantAssociationsPaginator.js +75 -0
  181. package/dist-es/pagination/ListAssistantAssociationsPaginator.js.map +1 -0
  182. package/dist-es/pagination/ListAssistantsPaginator.js +75 -0
  183. package/dist-es/pagination/ListAssistantsPaginator.js.map +1 -0
  184. package/dist-es/pagination/ListContentsPaginator.js +75 -0
  185. package/dist-es/pagination/ListContentsPaginator.js.map +1 -0
  186. package/dist-es/pagination/ListKnowledgeBasesPaginator.js +75 -0
  187. package/dist-es/pagination/ListKnowledgeBasesPaginator.js.map +1 -0
  188. package/dist-es/pagination/QueryAssistantPaginator.js +75 -0
  189. package/dist-es/pagination/QueryAssistantPaginator.js.map +1 -0
  190. package/dist-es/pagination/SearchContentPaginator.js +75 -0
  191. package/dist-es/pagination/SearchContentPaginator.js.map +1 -0
  192. package/dist-es/pagination/SearchSessionsPaginator.js +75 -0
  193. package/dist-es/pagination/SearchSessionsPaginator.js.map +1 -0
  194. package/dist-es/protocols/Aws_restJson1.js +4214 -0
  195. package/dist-es/protocols/Aws_restJson1.js.map +1 -0
  196. package/dist-es/runtimeConfig.browser.js +17 -0
  197. package/dist-es/runtimeConfig.browser.js.map +1 -0
  198. package/dist-es/runtimeConfig.js +22 -0
  199. package/dist-es/runtimeConfig.js.map +1 -0
  200. package/dist-es/runtimeConfig.native.js +9 -0
  201. package/dist-es/runtimeConfig.native.js.map +1 -0
  202. package/dist-es/runtimeConfig.shared.js +14 -0
  203. package/dist-es/runtimeConfig.shared.js.map +1 -0
  204. package/dist-types/Wisdom.d.ts +280 -0
  205. package/dist-types/WisdomClient.d.ts +167 -0
  206. package/dist-types/commands/CreateAssistantAssociationCommand.d.ts +37 -0
  207. package/dist-types/commands/CreateAssistantCommand.d.ts +35 -0
  208. package/dist-types/commands/CreateContentCommand.d.ts +36 -0
  209. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +59 -0
  210. package/dist-types/commands/CreateSessionCommand.d.ts +37 -0
  211. package/dist-types/commands/DeleteAssistantAssociationCommand.d.ts +35 -0
  212. package/dist-types/commands/DeleteAssistantCommand.d.ts +35 -0
  213. package/dist-types/commands/DeleteContentCommand.d.ts +35 -0
  214. package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +42 -0
  215. package/dist-types/commands/GetAssistantAssociationCommand.d.ts +35 -0
  216. package/dist-types/commands/GetAssistantCommand.d.ts +35 -0
  217. package/dist-types/commands/GetContentCommand.d.ts +35 -0
  218. package/dist-types/commands/GetContentSummaryCommand.d.ts +35 -0
  219. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +35 -0
  220. package/dist-types/commands/GetRecommendationsCommand.d.ts +38 -0
  221. package/dist-types/commands/GetSessionCommand.d.ts +35 -0
  222. package/dist-types/commands/ListAssistantAssociationsCommand.d.ts +35 -0
  223. package/dist-types/commands/ListAssistantsCommand.d.ts +35 -0
  224. package/dist-types/commands/ListContentsCommand.d.ts +35 -0
  225. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +35 -0
  226. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  227. package/dist-types/commands/NotifyRecommendationsReceivedCommand.d.ts +37 -0
  228. package/dist-types/commands/QueryAssistantCommand.d.ts +37 -0
  229. package/dist-types/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +35 -0
  230. package/dist-types/commands/SearchContentCommand.d.ts +36 -0
  231. package/dist-types/commands/SearchSessionsCommand.d.ts +35 -0
  232. package/dist-types/commands/StartContentUploadCommand.d.ts +38 -0
  233. package/dist-types/commands/TagResourceCommand.d.ts +35 -0
  234. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  235. package/dist-types/commands/UpdateContentCommand.d.ts +35 -0
  236. package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +40 -0
  237. package/dist-types/endpoints.d.ts +2 -0
  238. package/dist-types/index.d.ts +42 -0
  239. package/dist-types/models/index.d.ts +1 -0
  240. package/dist-types/models/models_0.d.ts +2073 -0
  241. package/dist-types/pagination/Interfaces.d.ts +6 -0
  242. package/dist-types/pagination/ListAssistantAssociationsPaginator.d.ts +4 -0
  243. package/dist-types/pagination/ListAssistantsPaginator.d.ts +4 -0
  244. package/dist-types/pagination/ListContentsPaginator.d.ts +4 -0
  245. package/dist-types/pagination/ListKnowledgeBasesPaginator.d.ts +4 -0
  246. package/dist-types/pagination/QueryAssistantPaginator.d.ts +4 -0
  247. package/dist-types/pagination/SearchContentPaginator.d.ts +4 -0
  248. package/dist-types/pagination/SearchSessionsPaginator.d.ts +4 -0
  249. package/dist-types/protocols/Aws_restJson1.d.ts +95 -0
  250. package/dist-types/runtimeConfig.browser.d.ts +37 -0
  251. package/dist-types/runtimeConfig.d.ts +37 -0
  252. package/dist-types/runtimeConfig.native.d.ts +36 -0
  253. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  254. package/dist-types/ts3.4/Wisdom.d.ts +280 -0
  255. package/dist-types/ts3.4/WisdomClient.d.ts +167 -0
  256. package/dist-types/ts3.4/commands/CreateAssistantAssociationCommand.d.ts +37 -0
  257. package/dist-types/ts3.4/commands/CreateAssistantCommand.d.ts +35 -0
  258. package/dist-types/ts3.4/commands/CreateContentCommand.d.ts +36 -0
  259. package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +59 -0
  260. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +37 -0
  261. package/dist-types/ts3.4/commands/DeleteAssistantAssociationCommand.d.ts +35 -0
  262. package/dist-types/ts3.4/commands/DeleteAssistantCommand.d.ts +35 -0
  263. package/dist-types/ts3.4/commands/DeleteContentCommand.d.ts +35 -0
  264. package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +42 -0
  265. package/dist-types/ts3.4/commands/GetAssistantAssociationCommand.d.ts +35 -0
  266. package/dist-types/ts3.4/commands/GetAssistantCommand.d.ts +35 -0
  267. package/dist-types/ts3.4/commands/GetContentCommand.d.ts +35 -0
  268. package/dist-types/ts3.4/commands/GetContentSummaryCommand.d.ts +35 -0
  269. package/dist-types/ts3.4/commands/GetKnowledgeBaseCommand.d.ts +35 -0
  270. package/dist-types/ts3.4/commands/GetRecommendationsCommand.d.ts +38 -0
  271. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +35 -0
  272. package/dist-types/ts3.4/commands/ListAssistantAssociationsCommand.d.ts +35 -0
  273. package/dist-types/ts3.4/commands/ListAssistantsCommand.d.ts +35 -0
  274. package/dist-types/ts3.4/commands/ListContentsCommand.d.ts +35 -0
  275. package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +35 -0
  276. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +35 -0
  277. package/dist-types/ts3.4/commands/NotifyRecommendationsReceivedCommand.d.ts +37 -0
  278. package/dist-types/ts3.4/commands/QueryAssistantCommand.d.ts +37 -0
  279. package/dist-types/ts3.4/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +35 -0
  280. package/dist-types/ts3.4/commands/SearchContentCommand.d.ts +36 -0
  281. package/dist-types/ts3.4/commands/SearchSessionsCommand.d.ts +35 -0
  282. package/dist-types/ts3.4/commands/StartContentUploadCommand.d.ts +38 -0
  283. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  284. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
  285. package/dist-types/ts3.4/commands/UpdateContentCommand.d.ts +35 -0
  286. package/dist-types/ts3.4/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +40 -0
  287. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  288. package/dist-types/ts3.4/index.d.ts +42 -0
  289. package/dist-types/ts3.4/models/index.d.ts +1 -0
  290. package/dist-types/ts3.4/models/models_0.d.ts +2082 -0
  291. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  292. package/dist-types/ts3.4/pagination/ListAssistantAssociationsPaginator.d.ts +4 -0
  293. package/dist-types/ts3.4/pagination/ListAssistantsPaginator.d.ts +4 -0
  294. package/dist-types/ts3.4/pagination/ListContentsPaginator.d.ts +4 -0
  295. package/dist-types/ts3.4/pagination/ListKnowledgeBasesPaginator.d.ts +4 -0
  296. package/dist-types/ts3.4/pagination/QueryAssistantPaginator.d.ts +4 -0
  297. package/dist-types/ts3.4/pagination/SearchContentPaginator.d.ts +4 -0
  298. package/dist-types/ts3.4/pagination/SearchSessionsPaginator.d.ts +4 -0
  299. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +95 -0
  300. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
  301. package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
  302. package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
  303. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +13 -0
  304. package/jest.config.js +4 -0
  305. package/package.json +93 -0
  306. package/src/Wisdom.ts +1175 -0
  307. package/src/WisdomClient.ts +363 -0
  308. package/src/commands/CreateAssistantAssociationCommand.ts +100 -0
  309. package/src/commands/CreateAssistantCommand.ts +95 -0
  310. package/src/commands/CreateContentCommand.ts +96 -0
  311. package/src/commands/CreateKnowledgeBaseCommand.ts +119 -0
  312. package/src/commands/CreateSessionCommand.ts +97 -0
  313. package/src/commands/DeleteAssistantAssociationCommand.ts +98 -0
  314. package/src/commands/DeleteAssistantCommand.ts +95 -0
  315. package/src/commands/DeleteContentCommand.ts +95 -0
  316. package/src/commands/DeleteKnowledgeBaseCommand.ts +102 -0
  317. package/src/commands/GetAssistantAssociationCommand.ts +95 -0
  318. package/src/commands/GetAssistantCommand.ts +95 -0
  319. package/src/commands/GetContentCommand.ts +95 -0
  320. package/src/commands/GetContentSummaryCommand.ts +95 -0
  321. package/src/commands/GetKnowledgeBaseCommand.ts +95 -0
  322. package/src/commands/GetRecommendationsCommand.ts +98 -0
  323. package/src/commands/GetSessionCommand.ts +95 -0
  324. package/src/commands/ListAssistantAssociationsCommand.ts +98 -0
  325. package/src/commands/ListAssistantsCommand.ts +95 -0
  326. package/src/commands/ListContentsCommand.ts +95 -0
  327. package/src/commands/ListKnowledgeBasesCommand.ts +95 -0
  328. package/src/commands/ListTagsForResourceCommand.ts +95 -0
  329. package/src/commands/NotifyRecommendationsReceivedCommand.ts +102 -0
  330. package/src/commands/QueryAssistantCommand.ts +97 -0
  331. package/src/commands/RemoveKnowledgeBaseTemplateUriCommand.ts +103 -0
  332. package/src/commands/SearchContentCommand.ts +96 -0
  333. package/src/commands/SearchSessionsCommand.ts +95 -0
  334. package/src/commands/StartContentUploadCommand.ts +98 -0
  335. package/src/commands/TagResourceCommand.ts +95 -0
  336. package/src/commands/UntagResourceCommand.ts +95 -0
  337. package/src/commands/UpdateContentCommand.ts +95 -0
  338. package/src/commands/UpdateKnowledgeBaseTemplateUriCommand.ts +108 -0
  339. package/src/endpoints.ts +57 -0
  340. package/src/index.ts +42 -0
  341. package/src/models/index.ts +1 -0
  342. package/src/models/models_0.ts +2662 -0
  343. package/src/pagination/Interfaces.ts +8 -0
  344. package/src/pagination/ListAssistantAssociationsPaginator.ts +59 -0
  345. package/src/pagination/ListAssistantsPaginator.ts +59 -0
  346. package/src/pagination/ListContentsPaginator.ts +59 -0
  347. package/src/pagination/ListKnowledgeBasesPaginator.ts +59 -0
  348. package/src/pagination/QueryAssistantPaginator.ts +59 -0
  349. package/src/pagination/SearchContentPaginator.ts +59 -0
  350. package/src/pagination/SearchSessionsPaginator.ts +59 -0
  351. package/src/protocols/Aws_restJson1.ts +4293 -0
  352. package/src/runtimeConfig.browser.ts +41 -0
  353. package/src/runtimeConfig.native.ts +17 -0
  354. package/src/runtimeConfig.shared.ts +17 -0
  355. package/src/runtimeConfig.ts +46 -0
  356. package/tsconfig.es.json +10 -0
  357. package/tsconfig.json +33 -0
  358. package/tsconfig.types.json +9 -0
@@ -0,0 +1,2073 @@
1
+ import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
+ /**
3
+ * <p>You do not have sufficient access to perform this action.</p>
4
+ */
5
+ export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
+ name: "AccessDeniedException";
7
+ $fault: "client";
8
+ message?: string;
9
+ }
10
+ export declare namespace AccessDeniedException {
11
+ /**
12
+ * @internal
13
+ */
14
+ const filterSensitiveLog: (obj: AccessDeniedException) => any;
15
+ }
16
+ /**
17
+ * <p>Configuration information for Amazon AppIntegrations to automatically ingest content.</p>
18
+ */
19
+ export interface AppIntegrationsConfiguration {
20
+ /**
21
+ * <p>The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content.</p>
22
+ */
23
+ appIntegrationArn: string | undefined;
24
+ /**
25
+ * <p>The fields from the source that are made available to your agents in Wisdom. </p>
26
+ * <ul>
27
+ * <li>
28
+ * <p> For <a href="https://developer.salesforce.com/docs/atlas.en-us.knowledge_dev.meta/knowledge_dev/sforce_api_objects_knowledge__kav.htm"> Salesforce</a>, you must include at least <code>Id</code>,
29
+ * <code>ArticleNumber</code>, <code>VersionNumber</code>, <code>Title</code>,
30
+ * <code>PublishStatus</code>, and <code>IsDeleted</code>. </p>
31
+ * </li>
32
+ * <li>
33
+ * <p>For <a href="https://developer.servicenow.com/dev.do#!/reference/api/rome/rest/knowledge-management-api"> ServiceNow</a>, you must include at least <code>number</code>,
34
+ * <code>short_description</code>, <code>sys_mod_count</code>, <code>workflow_state</code>,
35
+ * and <code>active</code>. </p>
36
+ * </li>
37
+ * </ul>
38
+ * <p>Make sure to include additional field(s); these are indexed and used to source
39
+ * recommendations. </p>
40
+ */
41
+ objectFields: string[] | undefined;
42
+ }
43
+ export declare namespace AppIntegrationsConfiguration {
44
+ /**
45
+ * @internal
46
+ */
47
+ const filterSensitiveLog: (obj: AppIntegrationsConfiguration) => any;
48
+ }
49
+ /**
50
+ * <p>The request could not be processed because of conflict in the current state of the
51
+ * resource. For example, if you're using a <code>Create</code> API (such as
52
+ * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
53
+ * same name) is being created or mutated.</p>
54
+ */
55
+ export interface ConflictException extends __SmithyException, $MetadataBearer {
56
+ name: "ConflictException";
57
+ $fault: "client";
58
+ message?: string;
59
+ }
60
+ export declare namespace ConflictException {
61
+ /**
62
+ * @internal
63
+ */
64
+ const filterSensitiveLog: (obj: ConflictException) => any;
65
+ }
66
+ /**
67
+ * <p>The data that is input into Wisdom as a result of the assistant association.</p>
68
+ */
69
+ export declare type AssistantAssociationInputData = AssistantAssociationInputData.KnowledgeBaseIdMember | AssistantAssociationInputData.$UnknownMember;
70
+ export declare namespace AssistantAssociationInputData {
71
+ /**
72
+ * <p>The the identifier of the knowledge base.</p>
73
+ */
74
+ interface KnowledgeBaseIdMember {
75
+ knowledgeBaseId: string;
76
+ $unknown?: never;
77
+ }
78
+ interface $UnknownMember {
79
+ knowledgeBaseId?: never;
80
+ $unknown: [string, any];
81
+ }
82
+ interface Visitor<T> {
83
+ knowledgeBaseId: (value: string) => T;
84
+ _: (name: string, value: any) => T;
85
+ }
86
+ const visit: <T>(value: AssistantAssociationInputData, visitor: Visitor<T>) => T;
87
+ /**
88
+ * @internal
89
+ */
90
+ const filterSensitiveLog: (obj: AssistantAssociationInputData) => any;
91
+ }
92
+ export declare enum AssociationType {
93
+ KNOWLEDGE_BASE = "KNOWLEDGE_BASE"
94
+ }
95
+ export interface CreateAssistantAssociationRequest {
96
+ /**
97
+ * <p>The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
98
+ */
99
+ assistantId: string | undefined;
100
+ /**
101
+ * <p>The type of association.</p>
102
+ */
103
+ associationType: AssociationType | string | undefined;
104
+ /**
105
+ * <p>The identifier of the associated resource.</p>
106
+ */
107
+ association: AssistantAssociationInputData | undefined;
108
+ /**
109
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
110
+ * request.</p>
111
+ */
112
+ clientToken?: string;
113
+ /**
114
+ * <p>The tags used to organize, track, or control access for this resource.</p>
115
+ */
116
+ tags?: {
117
+ [key: string]: string;
118
+ };
119
+ }
120
+ export declare namespace CreateAssistantAssociationRequest {
121
+ /**
122
+ * @internal
123
+ */
124
+ const filterSensitiveLog: (obj: CreateAssistantAssociationRequest) => any;
125
+ }
126
+ /**
127
+ * <p>Association information about the knowledge base.</p>
128
+ */
129
+ export interface KnowledgeBaseAssociationData {
130
+ /**
131
+ * <p>The the identifier of the knowledge base.</p>
132
+ */
133
+ knowledgeBaseId?: string;
134
+ /**
135
+ * <p>The Amazon Resource Name (ARN) of the knowledge base.</p>
136
+ */
137
+ knowledgeBaseArn?: string;
138
+ }
139
+ export declare namespace KnowledgeBaseAssociationData {
140
+ /**
141
+ * @internal
142
+ */
143
+ const filterSensitiveLog: (obj: KnowledgeBaseAssociationData) => any;
144
+ }
145
+ /**
146
+ * <p>The data that is output as a result of the assistant association.</p>
147
+ */
148
+ export declare type AssistantAssociationOutputData = AssistantAssociationOutputData.KnowledgeBaseAssociationMember | AssistantAssociationOutputData.$UnknownMember;
149
+ export declare namespace AssistantAssociationOutputData {
150
+ /**
151
+ * <p>The knowledge base where output data is sent.</p>
152
+ */
153
+ interface KnowledgeBaseAssociationMember {
154
+ knowledgeBaseAssociation: KnowledgeBaseAssociationData;
155
+ $unknown?: never;
156
+ }
157
+ interface $UnknownMember {
158
+ knowledgeBaseAssociation?: never;
159
+ $unknown: [string, any];
160
+ }
161
+ interface Visitor<T> {
162
+ knowledgeBaseAssociation: (value: KnowledgeBaseAssociationData) => T;
163
+ _: (name: string, value: any) => T;
164
+ }
165
+ const visit: <T>(value: AssistantAssociationOutputData, visitor: Visitor<T>) => T;
166
+ /**
167
+ * @internal
168
+ */
169
+ const filterSensitiveLog: (obj: AssistantAssociationOutputData) => any;
170
+ }
171
+ /**
172
+ * <p>Information about the assistant association.</p>
173
+ */
174
+ export interface AssistantAssociationData {
175
+ /**
176
+ * <p>The identifier of the assistant association.</p>
177
+ */
178
+ assistantAssociationId: string | undefined;
179
+ /**
180
+ * <p>The Amazon Resource Name (ARN) of the assistant association.</p>
181
+ */
182
+ assistantAssociationArn: string | undefined;
183
+ /**
184
+ * <p>The identifier of the Wisdom assistant.</p>
185
+ */
186
+ assistantId: string | undefined;
187
+ /**
188
+ * <p>The Amazon Resource Name (ARN) of the Wisdom assistant</p>
189
+ */
190
+ assistantArn: string | undefined;
191
+ /**
192
+ * <p>The type of association.</p>
193
+ */
194
+ associationType: AssociationType | string | undefined;
195
+ /**
196
+ * <p>A union type that currently has a single argument, the knowledge base ID.</p>
197
+ */
198
+ associationData: AssistantAssociationOutputData | undefined;
199
+ /**
200
+ * <p>The tags used to organize, track, or control access for this resource.</p>
201
+ */
202
+ tags?: {
203
+ [key: string]: string;
204
+ };
205
+ }
206
+ export declare namespace AssistantAssociationData {
207
+ /**
208
+ * @internal
209
+ */
210
+ const filterSensitiveLog: (obj: AssistantAssociationData) => any;
211
+ }
212
+ export interface CreateAssistantAssociationResponse {
213
+ /**
214
+ * <p>The assistant association.</p>
215
+ */
216
+ assistantAssociation?: AssistantAssociationData;
217
+ }
218
+ export declare namespace CreateAssistantAssociationResponse {
219
+ /**
220
+ * @internal
221
+ */
222
+ const filterSensitiveLog: (obj: CreateAssistantAssociationResponse) => any;
223
+ }
224
+ /**
225
+ * <p>The specified resource does not exist.</p>
226
+ */
227
+ export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
228
+ name: "ResourceNotFoundException";
229
+ $fault: "client";
230
+ message?: string;
231
+ /**
232
+ * <p>The specified resource name.</p>
233
+ */
234
+ resourceName?: string;
235
+ }
236
+ export declare namespace ResourceNotFoundException {
237
+ /**
238
+ * @internal
239
+ */
240
+ const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
241
+ }
242
+ /**
243
+ * <p>You've exceeded your service quota. To perform the requested action, remove some of the
244
+ * relevant resources, or use service quotas to request a service quota increase.</p>
245
+ */
246
+ export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
247
+ name: "ServiceQuotaExceededException";
248
+ $fault: "client";
249
+ message?: string;
250
+ }
251
+ export declare namespace ServiceQuotaExceededException {
252
+ /**
253
+ * @internal
254
+ */
255
+ const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
256
+ }
257
+ /**
258
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
259
+ */
260
+ export interface ValidationException extends __SmithyException, $MetadataBearer {
261
+ name: "ValidationException";
262
+ $fault: "client";
263
+ message?: string;
264
+ }
265
+ export declare namespace ValidationException {
266
+ /**
267
+ * @internal
268
+ */
269
+ const filterSensitiveLog: (obj: ValidationException) => any;
270
+ }
271
+ export interface DeleteAssistantAssociationRequest {
272
+ /**
273
+ * <p>The identifier of the assistant association. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
274
+ */
275
+ assistantAssociationId: string | undefined;
276
+ /**
277
+ * <p>The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
278
+ */
279
+ assistantId: string | undefined;
280
+ }
281
+ export declare namespace DeleteAssistantAssociationRequest {
282
+ /**
283
+ * @internal
284
+ */
285
+ const filterSensitiveLog: (obj: DeleteAssistantAssociationRequest) => any;
286
+ }
287
+ export interface DeleteAssistantAssociationResponse {
288
+ }
289
+ export declare namespace DeleteAssistantAssociationResponse {
290
+ /**
291
+ * @internal
292
+ */
293
+ const filterSensitiveLog: (obj: DeleteAssistantAssociationResponse) => any;
294
+ }
295
+ export interface GetAssistantAssociationRequest {
296
+ /**
297
+ * <p>The identifier of the assistant association. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
298
+ */
299
+ assistantAssociationId: string | undefined;
300
+ /**
301
+ * <p>The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
302
+ */
303
+ assistantId: string | undefined;
304
+ }
305
+ export declare namespace GetAssistantAssociationRequest {
306
+ /**
307
+ * @internal
308
+ */
309
+ const filterSensitiveLog: (obj: GetAssistantAssociationRequest) => any;
310
+ }
311
+ export interface GetAssistantAssociationResponse {
312
+ /**
313
+ * <p>The assistant association.</p>
314
+ */
315
+ assistantAssociation?: AssistantAssociationData;
316
+ }
317
+ export declare namespace GetAssistantAssociationResponse {
318
+ /**
319
+ * @internal
320
+ */
321
+ const filterSensitiveLog: (obj: GetAssistantAssociationResponse) => any;
322
+ }
323
+ export interface ListAssistantAssociationsRequest {
324
+ /**
325
+ * <p>The token for the next set of results. Use the value returned in the previous
326
+ * response in the next request to retrieve the next set of results.</p>
327
+ */
328
+ nextToken?: string;
329
+ /**
330
+ * <p>The maximum number of results to return per page.</p>
331
+ */
332
+ maxResults?: number;
333
+ /**
334
+ * <p>The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
335
+ */
336
+ assistantId: string | undefined;
337
+ }
338
+ export declare namespace ListAssistantAssociationsRequest {
339
+ /**
340
+ * @internal
341
+ */
342
+ const filterSensitiveLog: (obj: ListAssistantAssociationsRequest) => any;
343
+ }
344
+ /**
345
+ * <p>Summary information about the assistant association.</p>
346
+ */
347
+ export interface AssistantAssociationSummary {
348
+ /**
349
+ * <p>The identifier of the assistant association.</p>
350
+ */
351
+ assistantAssociationId: string | undefined;
352
+ /**
353
+ * <p>The Amazon Resource Name (ARN) of the assistant association.</p>
354
+ */
355
+ assistantAssociationArn: string | undefined;
356
+ /**
357
+ * <p>The identifier of the Wisdom assistant.</p>
358
+ */
359
+ assistantId: string | undefined;
360
+ /**
361
+ * <p>The Amazon Resource Name (ARN) of the Wisdom assistant</p>
362
+ */
363
+ assistantArn: string | undefined;
364
+ /**
365
+ * <p>The type of association.</p>
366
+ */
367
+ associationType: AssociationType | string | undefined;
368
+ /**
369
+ * <p>The association data.</p>
370
+ */
371
+ associationData: AssistantAssociationOutputData | undefined;
372
+ /**
373
+ * <p>The tags used to organize, track, or control access for this resource.</p>
374
+ */
375
+ tags?: {
376
+ [key: string]: string;
377
+ };
378
+ }
379
+ export declare namespace AssistantAssociationSummary {
380
+ /**
381
+ * @internal
382
+ */
383
+ const filterSensitiveLog: (obj: AssistantAssociationSummary) => any;
384
+ }
385
+ export interface ListAssistantAssociationsResponse {
386
+ /**
387
+ * <p>Summary information about assistant associations.</p>
388
+ */
389
+ assistantAssociationSummaries: AssistantAssociationSummary[] | undefined;
390
+ /**
391
+ * <p>If there are additional results, this is the token for the next set of results.</p>
392
+ */
393
+ nextToken?: string;
394
+ }
395
+ export declare namespace ListAssistantAssociationsResponse {
396
+ /**
397
+ * @internal
398
+ */
399
+ const filterSensitiveLog: (obj: ListAssistantAssociationsResponse) => any;
400
+ }
401
+ /**
402
+ * <p>The KMS key used for encryption.</p>
403
+ */
404
+ export interface ServerSideEncryptionConfiguration {
405
+ /**
406
+ * <p>The KMS key. For information about valid ID values, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id">Key identifiers (KeyId)</a> in the
407
+ * <i>AWS Key Management Service Developer Guide</i>. </p>
408
+ */
409
+ kmsKeyId?: string;
410
+ }
411
+ export declare namespace ServerSideEncryptionConfiguration {
412
+ /**
413
+ * @internal
414
+ */
415
+ const filterSensitiveLog: (obj: ServerSideEncryptionConfiguration) => any;
416
+ }
417
+ export declare enum AssistantType {
418
+ AGENT = "AGENT"
419
+ }
420
+ export interface CreateAssistantRequest {
421
+ /**
422
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
423
+ * request.</p>
424
+ */
425
+ clientToken?: string;
426
+ /**
427
+ * <p>The name of the assistant.</p>
428
+ */
429
+ name: string | undefined;
430
+ /**
431
+ * <p>The type of assistant.</p>
432
+ */
433
+ type: AssistantType | string | undefined;
434
+ /**
435
+ * <p>The description of the assistant.</p>
436
+ */
437
+ description?: string;
438
+ /**
439
+ * <p>The tags used to organize, track, or control access for this resource.</p>
440
+ */
441
+ tags?: {
442
+ [key: string]: string;
443
+ };
444
+ /**
445
+ * <p>The KMS key used for encryption.</p>
446
+ */
447
+ serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
448
+ }
449
+ export declare namespace CreateAssistantRequest {
450
+ /**
451
+ * @internal
452
+ */
453
+ const filterSensitiveLog: (obj: CreateAssistantRequest) => any;
454
+ }
455
+ export declare enum AssistantStatus {
456
+ ACTIVE = "ACTIVE",
457
+ CREATE_FAILED = "CREATE_FAILED",
458
+ CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS",
459
+ DELETED = "DELETED",
460
+ DELETE_FAILED = "DELETE_FAILED",
461
+ DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS"
462
+ }
463
+ /**
464
+ * <p>The assistant data.</p>
465
+ */
466
+ export interface AssistantData {
467
+ /**
468
+ * <p>The identifier of the Wisdom assistant.</p>
469
+ */
470
+ assistantId: string | undefined;
471
+ /**
472
+ * <p>The Amazon Resource Name (ARN) of the Wisdom assistant</p>
473
+ */
474
+ assistantArn: string | undefined;
475
+ /**
476
+ * <p>The name.</p>
477
+ */
478
+ name: string | undefined;
479
+ /**
480
+ * <p>The type of assistant.</p>
481
+ */
482
+ type: AssistantType | string | undefined;
483
+ /**
484
+ * <p>The status of the assistant.</p>
485
+ */
486
+ status: AssistantStatus | string | undefined;
487
+ /**
488
+ * <p>The description.</p>
489
+ */
490
+ description?: string;
491
+ /**
492
+ * <p>The tags used to organize, track, or control access for this resource.</p>
493
+ */
494
+ tags?: {
495
+ [key: string]: string;
496
+ };
497
+ /**
498
+ * <p>The KMS key used for encryption.</p>
499
+ */
500
+ serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
501
+ }
502
+ export declare namespace AssistantData {
503
+ /**
504
+ * @internal
505
+ */
506
+ const filterSensitiveLog: (obj: AssistantData) => any;
507
+ }
508
+ export interface CreateAssistantResponse {
509
+ /**
510
+ * <p>Information about the assistant.</p>
511
+ */
512
+ assistant?: AssistantData;
513
+ }
514
+ export declare namespace CreateAssistantResponse {
515
+ /**
516
+ * @internal
517
+ */
518
+ const filterSensitiveLog: (obj: CreateAssistantResponse) => any;
519
+ }
520
+ export interface DeleteAssistantRequest {
521
+ /**
522
+ * <p>The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
523
+ */
524
+ assistantId: string | undefined;
525
+ }
526
+ export declare namespace DeleteAssistantRequest {
527
+ /**
528
+ * @internal
529
+ */
530
+ const filterSensitiveLog: (obj: DeleteAssistantRequest) => any;
531
+ }
532
+ export interface DeleteAssistantResponse {
533
+ }
534
+ export declare namespace DeleteAssistantResponse {
535
+ /**
536
+ * @internal
537
+ */
538
+ const filterSensitiveLog: (obj: DeleteAssistantResponse) => any;
539
+ }
540
+ export interface GetAssistantRequest {
541
+ /**
542
+ * <p>The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
543
+ */
544
+ assistantId: string | undefined;
545
+ }
546
+ export declare namespace GetAssistantRequest {
547
+ /**
548
+ * @internal
549
+ */
550
+ const filterSensitiveLog: (obj: GetAssistantRequest) => any;
551
+ }
552
+ export interface GetAssistantResponse {
553
+ /**
554
+ * <p>Information about the assistant.</p>
555
+ */
556
+ assistant?: AssistantData;
557
+ }
558
+ export declare namespace GetAssistantResponse {
559
+ /**
560
+ * @internal
561
+ */
562
+ const filterSensitiveLog: (obj: GetAssistantResponse) => any;
563
+ }
564
+ export interface GetRecommendationsRequest {
565
+ /**
566
+ * <p>The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
567
+ */
568
+ assistantId: string | undefined;
569
+ /**
570
+ * <p>The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
571
+ */
572
+ sessionId: string | undefined;
573
+ /**
574
+ * <p>The maximum number of results to return per page.</p>
575
+ */
576
+ maxResults?: number;
577
+ /**
578
+ * <p>The duration (in seconds) for which the call waits for a recommendation to be made
579
+ * available before returning. If a recommendation is available, the call returns sooner than
580
+ * <code>WaitTimeSeconds</code>. If no messages are available and the wait time expires, the
581
+ * call returns successfully with an empty list.</p>
582
+ */
583
+ waitTimeSeconds?: number;
584
+ }
585
+ export declare namespace GetRecommendationsRequest {
586
+ /**
587
+ * @internal
588
+ */
589
+ const filterSensitiveLog: (obj: GetRecommendationsRequest) => any;
590
+ }
591
+ /**
592
+ * <p>Reference information about the content.</p>
593
+ */
594
+ export interface ContentReference {
595
+ /**
596
+ * <p>The Amazon Resource Name (ARN) of the knowledge base.</p>
597
+ */
598
+ knowledgeBaseArn?: string;
599
+ /**
600
+ * <p>The the identifier of the knowledge base.</p>
601
+ */
602
+ knowledgeBaseId?: string;
603
+ /**
604
+ * <p>The Amazon Resource Name (ARN) of the content.</p>
605
+ */
606
+ contentArn?: string;
607
+ /**
608
+ * <p>The identifier of the content.</p>
609
+ */
610
+ contentId?: string;
611
+ }
612
+ export declare namespace ContentReference {
613
+ /**
614
+ * @internal
615
+ */
616
+ const filterSensitiveLog: (obj: ContentReference) => any;
617
+ }
618
+ /**
619
+ * <p>Offset specification to describe highlighting of document excerpts for rendering search
620
+ * results and recommendations.</p>
621
+ */
622
+ export interface Highlight {
623
+ /**
624
+ * <p>The offset for the start of the highlight.</p>
625
+ */
626
+ beginOffsetInclusive?: number;
627
+ /**
628
+ * <p>The offset for the end of the highlight.</p>
629
+ */
630
+ endOffsetExclusive?: number;
631
+ }
632
+ export declare namespace Highlight {
633
+ /**
634
+ * @internal
635
+ */
636
+ const filterSensitiveLog: (obj: Highlight) => any;
637
+ }
638
+ /**
639
+ * <p>The text of the document.</p>
640
+ */
641
+ export interface DocumentText {
642
+ /**
643
+ * <p>Text in the document.</p>
644
+ */
645
+ text?: string;
646
+ /**
647
+ * <p>Highlights in the document text.</p>
648
+ */
649
+ highlights?: Highlight[];
650
+ }
651
+ export declare namespace DocumentText {
652
+ /**
653
+ * @internal
654
+ */
655
+ const filterSensitiveLog: (obj: DocumentText) => any;
656
+ }
657
+ /**
658
+ * <p>The document.</p>
659
+ */
660
+ export interface Document {
661
+ /**
662
+ * <p>A reference to the content resource.</p>
663
+ */
664
+ contentReference: ContentReference | undefined;
665
+ /**
666
+ * <p>The title of the document.</p>
667
+ */
668
+ title?: DocumentText;
669
+ /**
670
+ * <p>The excerpt from the document.</p>
671
+ */
672
+ excerpt?: DocumentText;
673
+ }
674
+ export declare namespace Document {
675
+ /**
676
+ * @internal
677
+ */
678
+ const filterSensitiveLog: (obj: Document) => any;
679
+ }
680
+ export declare enum RelevanceLevel {
681
+ HIGH = "HIGH",
682
+ LOW = "LOW",
683
+ MEDIUM = "MEDIUM"
684
+ }
685
+ /**
686
+ * <p>Information about the recommendation.</p>
687
+ */
688
+ export interface RecommendationData {
689
+ /**
690
+ * <p>The identifier of the recommendation.</p>
691
+ */
692
+ recommendationId: string | undefined;
693
+ /**
694
+ * <p>The recommended document.</p>
695
+ */
696
+ document: Document | undefined;
697
+ /**
698
+ * <p>The relevance score of the recommendation.</p>
699
+ */
700
+ relevanceScore?: number;
701
+ /**
702
+ * <p>The relevance level of the recommendation.</p>
703
+ */
704
+ relevanceLevel?: RelevanceLevel | string;
705
+ }
706
+ export declare namespace RecommendationData {
707
+ /**
708
+ * @internal
709
+ */
710
+ const filterSensitiveLog: (obj: RecommendationData) => any;
711
+ }
712
+ export interface GetRecommendationsResponse {
713
+ /**
714
+ * <p>The recommendations.</p>
715
+ */
716
+ recommendations: RecommendationData[] | undefined;
717
+ }
718
+ export declare namespace GetRecommendationsResponse {
719
+ /**
720
+ * @internal
721
+ */
722
+ const filterSensitiveLog: (obj: GetRecommendationsResponse) => any;
723
+ }
724
+ export interface ListAssistantsRequest {
725
+ /**
726
+ * <p>The token for the next set of results. Use the value returned in the previous
727
+ * response in the next request to retrieve the next set of results.</p>
728
+ */
729
+ nextToken?: string;
730
+ /**
731
+ * <p>The maximum number of results to return per page.</p>
732
+ */
733
+ maxResults?: number;
734
+ }
735
+ export declare namespace ListAssistantsRequest {
736
+ /**
737
+ * @internal
738
+ */
739
+ const filterSensitiveLog: (obj: ListAssistantsRequest) => any;
740
+ }
741
+ /**
742
+ * <p>Summary information about the assistant.</p>
743
+ */
744
+ export interface AssistantSummary {
745
+ /**
746
+ * <p>The identifier of the Wisdom assistant.</p>
747
+ */
748
+ assistantId: string | undefined;
749
+ /**
750
+ * <p>The Amazon Resource Name (ARN) of the Wisdom assistant</p>
751
+ */
752
+ assistantArn: string | undefined;
753
+ /**
754
+ * <p>The name of the assistant.</p>
755
+ */
756
+ name: string | undefined;
757
+ /**
758
+ * <p>The type of the assistant.</p>
759
+ */
760
+ type: AssistantType | string | undefined;
761
+ /**
762
+ * <p>The status of the assistant.</p>
763
+ */
764
+ status: AssistantStatus | string | undefined;
765
+ /**
766
+ * <p>The description of the assistant.</p>
767
+ */
768
+ description?: string;
769
+ /**
770
+ * <p>The tags used to organize, track, or control access for this resource.</p>
771
+ */
772
+ tags?: {
773
+ [key: string]: string;
774
+ };
775
+ /**
776
+ * <p>The KMS key used for encryption.</p>
777
+ */
778
+ serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
779
+ }
780
+ export declare namespace AssistantSummary {
781
+ /**
782
+ * @internal
783
+ */
784
+ const filterSensitiveLog: (obj: AssistantSummary) => any;
785
+ }
786
+ export interface ListAssistantsResponse {
787
+ /**
788
+ * <p>Information about the assistants.</p>
789
+ */
790
+ assistantSummaries: AssistantSummary[] | undefined;
791
+ /**
792
+ * <p>If there are additional results, this is the token for the next set of results.</p>
793
+ */
794
+ nextToken?: string;
795
+ }
796
+ export declare namespace ListAssistantsResponse {
797
+ /**
798
+ * @internal
799
+ */
800
+ const filterSensitiveLog: (obj: ListAssistantsResponse) => any;
801
+ }
802
+ export interface NotifyRecommendationsReceivedRequest {
803
+ /**
804
+ * <p>The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
805
+ */
806
+ assistantId: string | undefined;
807
+ /**
808
+ * <p>The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
809
+ */
810
+ sessionId: string | undefined;
811
+ /**
812
+ * <p>The identifiers of the recommendations.</p>
813
+ */
814
+ recommendationIds: string[] | undefined;
815
+ }
816
+ export declare namespace NotifyRecommendationsReceivedRequest {
817
+ /**
818
+ * @internal
819
+ */
820
+ const filterSensitiveLog: (obj: NotifyRecommendationsReceivedRequest) => any;
821
+ }
822
+ /**
823
+ * <p>An error occurred when creating a recommendation.</p>
824
+ */
825
+ export interface NotifyRecommendationsReceivedError {
826
+ /**
827
+ * <p>The identifier of the recommendation that is in error.</p>
828
+ */
829
+ recommendationId?: string;
830
+ /**
831
+ * <p>A recommendation is causing an error.</p>
832
+ */
833
+ message?: string;
834
+ }
835
+ export declare namespace NotifyRecommendationsReceivedError {
836
+ /**
837
+ * @internal
838
+ */
839
+ const filterSensitiveLog: (obj: NotifyRecommendationsReceivedError) => any;
840
+ }
841
+ export interface NotifyRecommendationsReceivedResponse {
842
+ /**
843
+ * <p>The identifiers of the recommendations.</p>
844
+ */
845
+ recommendationIds?: string[];
846
+ /**
847
+ * <p>The identifiers of recommendations that are causing errors.</p>
848
+ */
849
+ errors?: NotifyRecommendationsReceivedError[];
850
+ }
851
+ export declare namespace NotifyRecommendationsReceivedResponse {
852
+ /**
853
+ * @internal
854
+ */
855
+ const filterSensitiveLog: (obj: NotifyRecommendationsReceivedResponse) => any;
856
+ }
857
+ export interface QueryAssistantRequest {
858
+ /**
859
+ * <p>The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
860
+ */
861
+ assistantId: string | undefined;
862
+ /**
863
+ * <p>The text to search for.</p>
864
+ */
865
+ queryText: string | undefined;
866
+ /**
867
+ * <p>The token for the next set of results. Use the value returned in the previous
868
+ * response in the next request to retrieve the next set of results.</p>
869
+ */
870
+ nextToken?: string;
871
+ /**
872
+ * <p>The maximum number of results to return per page.</p>
873
+ */
874
+ maxResults?: number;
875
+ }
876
+ export declare namespace QueryAssistantRequest {
877
+ /**
878
+ * @internal
879
+ */
880
+ const filterSensitiveLog: (obj: QueryAssistantRequest) => any;
881
+ }
882
+ /**
883
+ * <p>Information about the result.</p>
884
+ */
885
+ export interface ResultData {
886
+ /**
887
+ * <p>The identifier of the result data.</p>
888
+ */
889
+ resultId: string | undefined;
890
+ /**
891
+ * <p>The document.</p>
892
+ */
893
+ document: Document | undefined;
894
+ /**
895
+ * <p>The relevance score of the results.</p>
896
+ */
897
+ relevanceScore?: number;
898
+ }
899
+ export declare namespace ResultData {
900
+ /**
901
+ * @internal
902
+ */
903
+ const filterSensitiveLog: (obj: ResultData) => any;
904
+ }
905
+ export interface QueryAssistantResponse {
906
+ /**
907
+ * <p>The results of the query.</p>
908
+ */
909
+ results: ResultData[] | undefined;
910
+ /**
911
+ * <p>If there are additional results, this is the token for the next set of results.</p>
912
+ */
913
+ nextToken?: string;
914
+ }
915
+ export declare namespace QueryAssistantResponse {
916
+ /**
917
+ * @internal
918
+ */
919
+ const filterSensitiveLog: (obj: QueryAssistantResponse) => any;
920
+ }
921
+ export declare enum FilterField {
922
+ NAME = "NAME"
923
+ }
924
+ export declare enum FilterOperator {
925
+ EQUALS = "EQUALS"
926
+ }
927
+ /**
928
+ * <p>A search filter.</p>
929
+ */
930
+ export interface Filter {
931
+ /**
932
+ * <p>The field on which to filter.</p>
933
+ */
934
+ field: FilterField | string | undefined;
935
+ /**
936
+ * <p>The operator to use for comparing the field’s value with the provided value.</p>
937
+ */
938
+ operator: FilterOperator | string | undefined;
939
+ /**
940
+ * <p>The desired field value on which to filter.</p>
941
+ */
942
+ value: string | undefined;
943
+ }
944
+ export declare namespace Filter {
945
+ /**
946
+ * @internal
947
+ */
948
+ const filterSensitiveLog: (obj: Filter) => any;
949
+ }
950
+ /**
951
+ * <p>The search expression.</p>
952
+ */
953
+ export interface SearchExpression {
954
+ /**
955
+ * <p>The search expression filters.</p>
956
+ */
957
+ filters: Filter[] | undefined;
958
+ }
959
+ export declare namespace SearchExpression {
960
+ /**
961
+ * @internal
962
+ */
963
+ const filterSensitiveLog: (obj: SearchExpression) => any;
964
+ }
965
+ export interface SearchSessionsRequest {
966
+ /**
967
+ * <p>The token for the next set of results. Use the value returned in the previous
968
+ * response in the next request to retrieve the next set of results.</p>
969
+ */
970
+ nextToken?: string;
971
+ /**
972
+ * <p>The maximum number of results to return per page.</p>
973
+ */
974
+ maxResults?: number;
975
+ /**
976
+ * <p>The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
977
+ */
978
+ assistantId: string | undefined;
979
+ /**
980
+ * <p>The search expression to filter results.</p>
981
+ */
982
+ searchExpression: SearchExpression | undefined;
983
+ }
984
+ export declare namespace SearchSessionsRequest {
985
+ /**
986
+ * @internal
987
+ */
988
+ const filterSensitiveLog: (obj: SearchSessionsRequest) => any;
989
+ }
990
+ /**
991
+ * <p>Summary information about the session.</p>
992
+ */
993
+ export interface SessionSummary {
994
+ /**
995
+ * <p>The identifier of the session.</p>
996
+ */
997
+ sessionId: string | undefined;
998
+ /**
999
+ * <p>The Amazon Resource Name (ARN) of the session.</p>
1000
+ */
1001
+ sessionArn: string | undefined;
1002
+ /**
1003
+ * <p>The identifier of the Wisdom assistant.</p>
1004
+ */
1005
+ assistantId: string | undefined;
1006
+ /**
1007
+ * <p>The Amazon Resource Name (ARN) of the Wisdom assistant</p>
1008
+ */
1009
+ assistantArn: string | undefined;
1010
+ }
1011
+ export declare namespace SessionSummary {
1012
+ /**
1013
+ * @internal
1014
+ */
1015
+ const filterSensitiveLog: (obj: SessionSummary) => any;
1016
+ }
1017
+ export interface SearchSessionsResponse {
1018
+ /**
1019
+ * <p>Summary information about the sessions.</p>
1020
+ */
1021
+ sessionSummaries: SessionSummary[] | undefined;
1022
+ /**
1023
+ * <p>If there are additional results, this is the token for the next set of results.</p>
1024
+ */
1025
+ nextToken?: string;
1026
+ }
1027
+ export declare namespace SearchSessionsResponse {
1028
+ /**
1029
+ * @internal
1030
+ */
1031
+ const filterSensitiveLog: (obj: SearchSessionsResponse) => any;
1032
+ }
1033
+ export interface CreateSessionRequest {
1034
+ /**
1035
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
1036
+ * request.</p>
1037
+ */
1038
+ clientToken?: string;
1039
+ /**
1040
+ * <p>The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
1041
+ */
1042
+ assistantId: string | undefined;
1043
+ /**
1044
+ * <p>The name of the session.</p>
1045
+ */
1046
+ name: string | undefined;
1047
+ /**
1048
+ * <p>The description.</p>
1049
+ */
1050
+ description?: string;
1051
+ /**
1052
+ * <p>The tags used to organize, track, or control access for this resource.</p>
1053
+ */
1054
+ tags?: {
1055
+ [key: string]: string;
1056
+ };
1057
+ }
1058
+ export declare namespace CreateSessionRequest {
1059
+ /**
1060
+ * @internal
1061
+ */
1062
+ const filterSensitiveLog: (obj: CreateSessionRequest) => any;
1063
+ }
1064
+ /**
1065
+ * <p>Information about the session.</p>
1066
+ */
1067
+ export interface SessionData {
1068
+ /**
1069
+ * <p>The Amazon Resource Name (ARN) of the session.</p>
1070
+ */
1071
+ sessionArn: string | undefined;
1072
+ /**
1073
+ * <p>The identifier of the session.</p>
1074
+ */
1075
+ sessionId: string | undefined;
1076
+ /**
1077
+ * <p>The name of the session.</p>
1078
+ */
1079
+ name: string | undefined;
1080
+ /**
1081
+ * <p>The description of the session.</p>
1082
+ */
1083
+ description?: string;
1084
+ /**
1085
+ * <p>The tags used to organize, track, or control access for this resource.</p>
1086
+ */
1087
+ tags?: {
1088
+ [key: string]: string;
1089
+ };
1090
+ }
1091
+ export declare namespace SessionData {
1092
+ /**
1093
+ * @internal
1094
+ */
1095
+ const filterSensitiveLog: (obj: SessionData) => any;
1096
+ }
1097
+ export interface CreateSessionResponse {
1098
+ /**
1099
+ * <p>The session.</p>
1100
+ */
1101
+ session?: SessionData;
1102
+ }
1103
+ export declare namespace CreateSessionResponse {
1104
+ /**
1105
+ * @internal
1106
+ */
1107
+ const filterSensitiveLog: (obj: CreateSessionResponse) => any;
1108
+ }
1109
+ export interface GetSessionRequest {
1110
+ /**
1111
+ * <p>The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
1112
+ */
1113
+ assistantId: string | undefined;
1114
+ /**
1115
+ * <p>The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
1116
+ */
1117
+ sessionId: string | undefined;
1118
+ }
1119
+ export declare namespace GetSessionRequest {
1120
+ /**
1121
+ * @internal
1122
+ */
1123
+ const filterSensitiveLog: (obj: GetSessionRequest) => any;
1124
+ }
1125
+ export interface GetSessionResponse {
1126
+ /**
1127
+ * <p>The session.</p>
1128
+ */
1129
+ session?: SessionData;
1130
+ }
1131
+ export declare namespace GetSessionResponse {
1132
+ /**
1133
+ * @internal
1134
+ */
1135
+ const filterSensitiveLog: (obj: GetSessionResponse) => any;
1136
+ }
1137
+ export interface CreateContentRequest {
1138
+ /**
1139
+ * <p>The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
1140
+ */
1141
+ knowledgeBaseId: string | undefined;
1142
+ /**
1143
+ * <p>The name of the content. Each piece of content in a knowledge base must have a unique
1144
+ * name. You can retrieve a piece of content using only its knowledge base and its name with the
1145
+ * <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_SearchContent.html">SearchContent</a> API.</p>
1146
+ */
1147
+ name: string | undefined;
1148
+ /**
1149
+ * <p>The title of the content. If not set, the title is equal to the name.</p>
1150
+ */
1151
+ title?: string;
1152
+ /**
1153
+ * <p>The URI you want to use for the article. If the knowledge base has a templateUri, setting
1154
+ * this argument overrides it for this piece of content.</p>
1155
+ */
1156
+ overrideLinkOutUri?: string;
1157
+ /**
1158
+ * <p>A key/value map to store attributes without affecting tagging or recommendations.
1159
+ * For example, when synchronizing data between an external system and Wisdom, you can store an external version identifier as metadata to utilize for determining drift.</p>
1160
+ */
1161
+ metadata?: {
1162
+ [key: string]: string;
1163
+ };
1164
+ /**
1165
+ * <p>A pointer to the uploaded asset. This value is returned by <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_StartContentUpload.html">StartContentUpload</a>.</p>
1166
+ */
1167
+ uploadId: string | undefined;
1168
+ /**
1169
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
1170
+ * request.</p>
1171
+ */
1172
+ clientToken?: string;
1173
+ /**
1174
+ * <p>The tags used to organize, track, or control access for this resource.</p>
1175
+ */
1176
+ tags?: {
1177
+ [key: string]: string;
1178
+ };
1179
+ }
1180
+ export declare namespace CreateContentRequest {
1181
+ /**
1182
+ * @internal
1183
+ */
1184
+ const filterSensitiveLog: (obj: CreateContentRequest) => any;
1185
+ }
1186
+ export declare enum ContentStatus {
1187
+ ACTIVE = "ACTIVE",
1188
+ CREATE_FAILED = "CREATE_FAILED",
1189
+ CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS",
1190
+ DELETED = "DELETED",
1191
+ DELETE_FAILED = "DELETE_FAILED",
1192
+ DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS",
1193
+ UPDATE_FAILED = "UPDATE_FAILED"
1194
+ }
1195
+ /**
1196
+ * <p>Information about the content.</p>
1197
+ */
1198
+ export interface ContentData {
1199
+ /**
1200
+ * <p>The Amazon Resource Name (ARN) of the content.</p>
1201
+ */
1202
+ contentArn: string | undefined;
1203
+ /**
1204
+ * <p>The identifier of the content.</p>
1205
+ */
1206
+ contentId: string | undefined;
1207
+ /**
1208
+ * <p>The Amazon Resource Name (ARN) of the knowledge base.</p>
1209
+ */
1210
+ knowledgeBaseArn: string | undefined;
1211
+ /**
1212
+ * <p>The the identifier of the knowledge base.</p>
1213
+ */
1214
+ knowledgeBaseId: string | undefined;
1215
+ /**
1216
+ * <p>The name of the content.</p>
1217
+ */
1218
+ name: string | undefined;
1219
+ /**
1220
+ * <p>The identifier of the content revision.</p>
1221
+ */
1222
+ revisionId: string | undefined;
1223
+ /**
1224
+ * <p>The title of the content.</p>
1225
+ */
1226
+ title: string | undefined;
1227
+ /**
1228
+ * <p>The media type of the content.</p>
1229
+ */
1230
+ contentType: string | undefined;
1231
+ /**
1232
+ * <p>The status of the content.</p>
1233
+ */
1234
+ status: ContentStatus | string | undefined;
1235
+ /**
1236
+ * <p>A key/value map to store attributes without affecting tagging or recommendations.
1237
+ * For example, when synchronizing data between an external system and Wisdom, you can store an external version identifier as metadata to utilize for determining drift.</p>
1238
+ */
1239
+ metadata: {
1240
+ [key: string]: string;
1241
+ } | undefined;
1242
+ /**
1243
+ * <p>The tags used to organize, track, or control access for this resource.</p>
1244
+ */
1245
+ tags?: {
1246
+ [key: string]: string;
1247
+ };
1248
+ /**
1249
+ * <p>The URI of the content.</p>
1250
+ */
1251
+ linkOutUri?: string;
1252
+ /**
1253
+ * <p>The URL of the content.</p>
1254
+ */
1255
+ url: string | undefined;
1256
+ /**
1257
+ * <p>The expiration time of the URL as an epoch timestamp.</p>
1258
+ */
1259
+ urlExpiry: Date | undefined;
1260
+ }
1261
+ export declare namespace ContentData {
1262
+ /**
1263
+ * @internal
1264
+ */
1265
+ const filterSensitiveLog: (obj: ContentData) => any;
1266
+ }
1267
+ export interface CreateContentResponse {
1268
+ /**
1269
+ * <p>The content.</p>
1270
+ */
1271
+ content?: ContentData;
1272
+ }
1273
+ export declare namespace CreateContentResponse {
1274
+ /**
1275
+ * @internal
1276
+ */
1277
+ const filterSensitiveLog: (obj: CreateContentResponse) => any;
1278
+ }
1279
+ export interface DeleteContentRequest {
1280
+ /**
1281
+ * <p>The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
1282
+ */
1283
+ knowledgeBaseId: string | undefined;
1284
+ /**
1285
+ * <p>The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
1286
+ */
1287
+ contentId: string | undefined;
1288
+ }
1289
+ export declare namespace DeleteContentRequest {
1290
+ /**
1291
+ * @internal
1292
+ */
1293
+ const filterSensitiveLog: (obj: DeleteContentRequest) => any;
1294
+ }
1295
+ export interface DeleteContentResponse {
1296
+ }
1297
+ export declare namespace DeleteContentResponse {
1298
+ /**
1299
+ * @internal
1300
+ */
1301
+ const filterSensitiveLog: (obj: DeleteContentResponse) => any;
1302
+ }
1303
+ export interface GetContentRequest {
1304
+ /**
1305
+ * <p>The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
1306
+ */
1307
+ contentId: string | undefined;
1308
+ /**
1309
+ * <p>The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
1310
+ */
1311
+ knowledgeBaseId: string | undefined;
1312
+ }
1313
+ export declare namespace GetContentRequest {
1314
+ /**
1315
+ * @internal
1316
+ */
1317
+ const filterSensitiveLog: (obj: GetContentRequest) => any;
1318
+ }
1319
+ export interface GetContentResponse {
1320
+ /**
1321
+ * <p>The content.</p>
1322
+ */
1323
+ content?: ContentData;
1324
+ }
1325
+ export declare namespace GetContentResponse {
1326
+ /**
1327
+ * @internal
1328
+ */
1329
+ const filterSensitiveLog: (obj: GetContentResponse) => any;
1330
+ }
1331
+ export interface GetContentSummaryRequest {
1332
+ /**
1333
+ * <p>The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
1334
+ */
1335
+ contentId: string | undefined;
1336
+ /**
1337
+ * <p>The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
1338
+ */
1339
+ knowledgeBaseId: string | undefined;
1340
+ }
1341
+ export declare namespace GetContentSummaryRequest {
1342
+ /**
1343
+ * @internal
1344
+ */
1345
+ const filterSensitiveLog: (obj: GetContentSummaryRequest) => any;
1346
+ }
1347
+ /**
1348
+ * <p>Summary information about the content.</p>
1349
+ */
1350
+ export interface ContentSummary {
1351
+ /**
1352
+ * <p>The Amazon Resource Name (ARN) of the content.</p>
1353
+ */
1354
+ contentArn: string | undefined;
1355
+ /**
1356
+ * <p>The identifier of the content.</p>
1357
+ */
1358
+ contentId: string | undefined;
1359
+ /**
1360
+ * <p>The Amazon Resource Name (ARN) of the knowledge base.</p>
1361
+ */
1362
+ knowledgeBaseArn: string | undefined;
1363
+ /**
1364
+ * <p>The the identifier of the knowledge base.</p>
1365
+ */
1366
+ knowledgeBaseId: string | undefined;
1367
+ /**
1368
+ * <p>The name of the content.</p>
1369
+ */
1370
+ name: string | undefined;
1371
+ /**
1372
+ * <p>The identifier of the revision of the content.</p>
1373
+ */
1374
+ revisionId: string | undefined;
1375
+ /**
1376
+ * <p>The title of the content.</p>
1377
+ */
1378
+ title: string | undefined;
1379
+ /**
1380
+ * <p>The media type of the content.</p>
1381
+ */
1382
+ contentType: string | undefined;
1383
+ /**
1384
+ * <p>The status of the content.</p>
1385
+ */
1386
+ status: ContentStatus | string | undefined;
1387
+ /**
1388
+ * <p>A key/value map to store attributes without affecting tagging or recommendations.
1389
+ * For example, when synchronizing data between an external system and Wisdom, you can store an external version identifier as metadata to utilize for determining drift.</p>
1390
+ */
1391
+ metadata: {
1392
+ [key: string]: string;
1393
+ } | undefined;
1394
+ /**
1395
+ * <p>The tags used to organize, track, or control access for this resource.</p>
1396
+ */
1397
+ tags?: {
1398
+ [key: string]: string;
1399
+ };
1400
+ }
1401
+ export declare namespace ContentSummary {
1402
+ /**
1403
+ * @internal
1404
+ */
1405
+ const filterSensitiveLog: (obj: ContentSummary) => any;
1406
+ }
1407
+ export interface GetContentSummaryResponse {
1408
+ /**
1409
+ * <p>The content summary.</p>
1410
+ */
1411
+ contentSummary?: ContentSummary;
1412
+ }
1413
+ export declare namespace GetContentSummaryResponse {
1414
+ /**
1415
+ * @internal
1416
+ */
1417
+ const filterSensitiveLog: (obj: GetContentSummaryResponse) => any;
1418
+ }
1419
+ export interface ListContentsRequest {
1420
+ /**
1421
+ * <p>The token for the next set of results. Use the value returned in the previous
1422
+ * response in the next request to retrieve the next set of results.</p>
1423
+ */
1424
+ nextToken?: string;
1425
+ /**
1426
+ * <p>The maximum number of results to return per page.</p>
1427
+ */
1428
+ maxResults?: number;
1429
+ /**
1430
+ * <p>The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
1431
+ */
1432
+ knowledgeBaseId: string | undefined;
1433
+ }
1434
+ export declare namespace ListContentsRequest {
1435
+ /**
1436
+ * @internal
1437
+ */
1438
+ const filterSensitiveLog: (obj: ListContentsRequest) => any;
1439
+ }
1440
+ export interface ListContentsResponse {
1441
+ /**
1442
+ * <p>Information about the content.</p>
1443
+ */
1444
+ contentSummaries: ContentSummary[] | undefined;
1445
+ /**
1446
+ * <p>If there are additional results, this is the token for the next set of results.</p>
1447
+ */
1448
+ nextToken?: string;
1449
+ }
1450
+ export declare namespace ListContentsResponse {
1451
+ /**
1452
+ * @internal
1453
+ */
1454
+ const filterSensitiveLog: (obj: ListContentsResponse) => any;
1455
+ }
1456
+ /**
1457
+ * <p>The provided <code>revisionId</code> does not match, indicating the content has been
1458
+ * modified since it was last read.</p>
1459
+ */
1460
+ export interface PreconditionFailedException extends __SmithyException, $MetadataBearer {
1461
+ name: "PreconditionFailedException";
1462
+ $fault: "client";
1463
+ message?: string;
1464
+ }
1465
+ export declare namespace PreconditionFailedException {
1466
+ /**
1467
+ * @internal
1468
+ */
1469
+ const filterSensitiveLog: (obj: PreconditionFailedException) => any;
1470
+ }
1471
+ export interface UpdateContentRequest {
1472
+ /**
1473
+ * <p>The the identifier of the knowledge base. Can be either the ID or the ARN</p>
1474
+ */
1475
+ knowledgeBaseId: string | undefined;
1476
+ /**
1477
+ * <p>The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
1478
+ */
1479
+ contentId: string | undefined;
1480
+ /**
1481
+ * <p>The <code>revisionId</code> of the content resource to update, taken from an earlier call
1482
+ * to <code>GetContent</code>, <code>GetContentSummary</code>, <code>SearchContent</code>, or
1483
+ * <code>ListContents</code>. If included, this argument acts as an optimistic lock to ensure
1484
+ * content was not modified since it was last read. If it has been modified, this API throws a
1485
+ * <code>PreconditionFailedException</code>.</p>
1486
+ */
1487
+ revisionId?: string;
1488
+ /**
1489
+ * <p>The title of the content.</p>
1490
+ */
1491
+ title?: string;
1492
+ /**
1493
+ * <p>The URI for the article. If the knowledge base has a templateUri, setting this argument
1494
+ * overrides it for this piece of content. To remove an existing <code>overrideLinkOurUri</code>,
1495
+ * exclude this argument and set <code>removeOverrideLinkOutUri</code> to true.</p>
1496
+ */
1497
+ overrideLinkOutUri?: string;
1498
+ /**
1499
+ * <p>Unset the existing <code>overrideLinkOutUri</code> if it exists.</p>
1500
+ */
1501
+ removeOverrideLinkOutUri?: boolean;
1502
+ /**
1503
+ * <p>A key/value map to store attributes without affecting tagging or recommendations. For
1504
+ * example, when synchronizing data between an external system and Wisdom, you can store an
1505
+ * external version identifier as metadata to utilize for determining drift.</p>
1506
+ */
1507
+ metadata?: {
1508
+ [key: string]: string;
1509
+ };
1510
+ /**
1511
+ * <p>A pointer to the uploaded asset. This value is returned by <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_StartContentUpload.html">StartContentUpload</a>.
1512
+ * </p>
1513
+ */
1514
+ uploadId?: string;
1515
+ }
1516
+ export declare namespace UpdateContentRequest {
1517
+ /**
1518
+ * @internal
1519
+ */
1520
+ const filterSensitiveLog: (obj: UpdateContentRequest) => any;
1521
+ }
1522
+ export interface UpdateContentResponse {
1523
+ /**
1524
+ * <p>The content.</p>
1525
+ */
1526
+ content?: ContentData;
1527
+ }
1528
+ export declare namespace UpdateContentResponse {
1529
+ /**
1530
+ * @internal
1531
+ */
1532
+ const filterSensitiveLog: (obj: UpdateContentResponse) => any;
1533
+ }
1534
+ export declare enum KnowledgeBaseType {
1535
+ CUSTOM = "CUSTOM",
1536
+ EXTERNAL = "EXTERNAL"
1537
+ }
1538
+ /**
1539
+ * <p>Information about how to render the content.</p>
1540
+ */
1541
+ export interface RenderingConfiguration {
1542
+ /**
1543
+ * <p>A URI template containing exactly one variable in <code>${variableName} </code>format.
1544
+ * This can only be set for <code>EXTERNAL</code> knowledge bases. For Salesforce and ServiceNow,
1545
+ * the variable must be one of the following:</p>
1546
+ * <ul>
1547
+ * <li>
1548
+ * <p>Salesforce: <code>Id</code>, <code>ArticleNumber</code>, <code>VersionNumber</code>,
1549
+ * <code>Title</code>, <code>PublishStatus</code>, or <code>IsDeleted</code>
1550
+ * </p>
1551
+ * </li>
1552
+ * <li>
1553
+ * <p>ServiceNow: <code>number</code>, <code>short_description</code>,
1554
+ * <code>sys_mod_count</code>, <code>workflow_state</code>, or <code>active</code>
1555
+ * </p>
1556
+ * </li>
1557
+ * </ul>
1558
+ *
1559
+ * <p>The variable is replaced with the actual value for a piece of content when calling <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetContent.html">GetContent</a>. </p>
1560
+ */
1561
+ templateUri?: string;
1562
+ }
1563
+ export declare namespace RenderingConfiguration {
1564
+ /**
1565
+ * @internal
1566
+ */
1567
+ const filterSensitiveLog: (obj: RenderingConfiguration) => any;
1568
+ }
1569
+ /**
1570
+ * <p>Configuration information about the external data source.</p>
1571
+ */
1572
+ export declare type SourceConfiguration = SourceConfiguration.AppIntegrationsMember | SourceConfiguration.$UnknownMember;
1573
+ export declare namespace SourceConfiguration {
1574
+ /**
1575
+ * <p>Configuration information for Amazon AppIntegrations to automatically ingest content.</p>
1576
+ */
1577
+ interface AppIntegrationsMember {
1578
+ appIntegrations: AppIntegrationsConfiguration;
1579
+ $unknown?: never;
1580
+ }
1581
+ interface $UnknownMember {
1582
+ appIntegrations?: never;
1583
+ $unknown: [string, any];
1584
+ }
1585
+ interface Visitor<T> {
1586
+ appIntegrations: (value: AppIntegrationsConfiguration) => T;
1587
+ _: (name: string, value: any) => T;
1588
+ }
1589
+ const visit: <T>(value: SourceConfiguration, visitor: Visitor<T>) => T;
1590
+ /**
1591
+ * @internal
1592
+ */
1593
+ const filterSensitiveLog: (obj: SourceConfiguration) => any;
1594
+ }
1595
+ export interface CreateKnowledgeBaseRequest {
1596
+ /**
1597
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
1598
+ * request.</p>
1599
+ */
1600
+ clientToken?: string;
1601
+ /**
1602
+ * <p>The name of the knowledge base.</p>
1603
+ */
1604
+ name: string | undefined;
1605
+ /**
1606
+ * <p>The type of knowledge base. Only CUSTOM knowledge bases allow you to upload your own content.
1607
+ * EXTERNAL knowledge bases support integrations with third-party systems whose content is
1608
+ * synchronized automatically. </p>
1609
+ */
1610
+ knowledgeBaseType: KnowledgeBaseType | string | undefined;
1611
+ /**
1612
+ * <p>The source of the knowledge base content. Only set this argument for EXTERNAL knowledge
1613
+ * bases.</p>
1614
+ */
1615
+ sourceConfiguration?: SourceConfiguration;
1616
+ /**
1617
+ * <p>Information about how to render the content.</p>
1618
+ */
1619
+ renderingConfiguration?: RenderingConfiguration;
1620
+ /**
1621
+ * <p>The KMS key used for encryption.</p>
1622
+ */
1623
+ serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
1624
+ /**
1625
+ * <p>The description.</p>
1626
+ */
1627
+ description?: string;
1628
+ /**
1629
+ * <p>The tags used to organize, track, or control access for this resource.</p>
1630
+ */
1631
+ tags?: {
1632
+ [key: string]: string;
1633
+ };
1634
+ }
1635
+ export declare namespace CreateKnowledgeBaseRequest {
1636
+ /**
1637
+ * @internal
1638
+ */
1639
+ const filterSensitiveLog: (obj: CreateKnowledgeBaseRequest) => any;
1640
+ }
1641
+ export declare enum KnowledgeBaseStatus {
1642
+ ACTIVE = "ACTIVE",
1643
+ CREATE_FAILED = "CREATE_FAILED",
1644
+ CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS",
1645
+ DELETED = "DELETED",
1646
+ DELETE_FAILED = "DELETE_FAILED",
1647
+ DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS"
1648
+ }
1649
+ /**
1650
+ * <p>Information about the knowledge base.</p>
1651
+ */
1652
+ export interface KnowledgeBaseData {
1653
+ /**
1654
+ * <p>The the identifier of the knowledge base.</p>
1655
+ */
1656
+ knowledgeBaseId: string | undefined;
1657
+ /**
1658
+ * <p>The Amazon Resource Name (ARN) of the knowledge base.</p>
1659
+ */
1660
+ knowledgeBaseArn: string | undefined;
1661
+ /**
1662
+ * <p>The name of the knowledge base.</p>
1663
+ */
1664
+ name: string | undefined;
1665
+ /**
1666
+ * <p>The type of knowledge base.</p>
1667
+ */
1668
+ knowledgeBaseType: KnowledgeBaseType | string | undefined;
1669
+ /**
1670
+ * <p>The status of the knowledge base.</p>
1671
+ */
1672
+ status: KnowledgeBaseStatus | string | undefined;
1673
+ /**
1674
+ * <p>An epoch timestamp indicating the most recent content modification inside the knowledge
1675
+ * base. If no content exists in a knowledge base, this value is unset.</p>
1676
+ */
1677
+ lastContentModificationTime?: Date;
1678
+ /**
1679
+ * <p>Source configuration information about the knowledge base.</p>
1680
+ */
1681
+ sourceConfiguration?: SourceConfiguration;
1682
+ /**
1683
+ * <p>Information about how to render the content.</p>
1684
+ */
1685
+ renderingConfiguration?: RenderingConfiguration;
1686
+ /**
1687
+ * <p>The KMS key used for encryption.</p>
1688
+ */
1689
+ serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
1690
+ /**
1691
+ * <p>The description.</p>
1692
+ */
1693
+ description?: string;
1694
+ /**
1695
+ * <p>The tags used to organize, track, or control access for this resource.</p>
1696
+ */
1697
+ tags?: {
1698
+ [key: string]: string;
1699
+ };
1700
+ }
1701
+ export declare namespace KnowledgeBaseData {
1702
+ /**
1703
+ * @internal
1704
+ */
1705
+ const filterSensitiveLog: (obj: KnowledgeBaseData) => any;
1706
+ }
1707
+ export interface CreateKnowledgeBaseResponse {
1708
+ /**
1709
+ * <p>The knowledge base.</p>
1710
+ */
1711
+ knowledgeBase?: KnowledgeBaseData;
1712
+ }
1713
+ export declare namespace CreateKnowledgeBaseResponse {
1714
+ /**
1715
+ * @internal
1716
+ */
1717
+ const filterSensitiveLog: (obj: CreateKnowledgeBaseResponse) => any;
1718
+ }
1719
+ export interface DeleteKnowledgeBaseRequest {
1720
+ /**
1721
+ * <p>The knowledge base to delete content from. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
1722
+ */
1723
+ knowledgeBaseId: string | undefined;
1724
+ }
1725
+ export declare namespace DeleteKnowledgeBaseRequest {
1726
+ /**
1727
+ * @internal
1728
+ */
1729
+ const filterSensitiveLog: (obj: DeleteKnowledgeBaseRequest) => any;
1730
+ }
1731
+ export interface DeleteKnowledgeBaseResponse {
1732
+ }
1733
+ export declare namespace DeleteKnowledgeBaseResponse {
1734
+ /**
1735
+ * @internal
1736
+ */
1737
+ const filterSensitiveLog: (obj: DeleteKnowledgeBaseResponse) => any;
1738
+ }
1739
+ export interface GetKnowledgeBaseRequest {
1740
+ /**
1741
+ * <p>The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
1742
+ */
1743
+ knowledgeBaseId: string | undefined;
1744
+ }
1745
+ export declare namespace GetKnowledgeBaseRequest {
1746
+ /**
1747
+ * @internal
1748
+ */
1749
+ const filterSensitiveLog: (obj: GetKnowledgeBaseRequest) => any;
1750
+ }
1751
+ export interface GetKnowledgeBaseResponse {
1752
+ /**
1753
+ * <p>The knowledge base.</p>
1754
+ */
1755
+ knowledgeBase?: KnowledgeBaseData;
1756
+ }
1757
+ export declare namespace GetKnowledgeBaseResponse {
1758
+ /**
1759
+ * @internal
1760
+ */
1761
+ const filterSensitiveLog: (obj: GetKnowledgeBaseResponse) => any;
1762
+ }
1763
+ export interface ListKnowledgeBasesRequest {
1764
+ /**
1765
+ * <p>The token for the next set of results. Use the value returned in the previous
1766
+ * response in the next request to retrieve the next set of results.</p>
1767
+ */
1768
+ nextToken?: string;
1769
+ /**
1770
+ * <p>The maximum number of results to return per page.</p>
1771
+ */
1772
+ maxResults?: number;
1773
+ }
1774
+ export declare namespace ListKnowledgeBasesRequest {
1775
+ /**
1776
+ * @internal
1777
+ */
1778
+ const filterSensitiveLog: (obj: ListKnowledgeBasesRequest) => any;
1779
+ }
1780
+ /**
1781
+ * <p>Summary information about the knowledge base.</p>
1782
+ */
1783
+ export interface KnowledgeBaseSummary {
1784
+ /**
1785
+ * <p>The the identifier of the knowledge base.</p>
1786
+ */
1787
+ knowledgeBaseId: string | undefined;
1788
+ /**
1789
+ * <p>The Amazon Resource Name (ARN) of the knowledge base.</p>
1790
+ */
1791
+ knowledgeBaseArn: string | undefined;
1792
+ /**
1793
+ * <p>The name of the knowledge base.</p>
1794
+ */
1795
+ name: string | undefined;
1796
+ /**
1797
+ * <p>The type of knowledge base.</p>
1798
+ */
1799
+ knowledgeBaseType: KnowledgeBaseType | string | undefined;
1800
+ /**
1801
+ * <p>The status of the knowledge base summary.</p>
1802
+ */
1803
+ status: KnowledgeBaseStatus | string | undefined;
1804
+ /**
1805
+ * <p>[KEVIN]</p>
1806
+ */
1807
+ sourceConfiguration?: SourceConfiguration;
1808
+ /**
1809
+ * <p>Information about how to render the content.</p>
1810
+ */
1811
+ renderingConfiguration?: RenderingConfiguration;
1812
+ /**
1813
+ * <p>The KMS key used for encryption.</p>
1814
+ */
1815
+ serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
1816
+ /**
1817
+ * <p>The description of the knowledge base.</p>
1818
+ */
1819
+ description?: string;
1820
+ /**
1821
+ * <p>The tags used to organize, track, or control access for this resource.</p>
1822
+ */
1823
+ tags?: {
1824
+ [key: string]: string;
1825
+ };
1826
+ }
1827
+ export declare namespace KnowledgeBaseSummary {
1828
+ /**
1829
+ * @internal
1830
+ */
1831
+ const filterSensitiveLog: (obj: KnowledgeBaseSummary) => any;
1832
+ }
1833
+ export interface ListKnowledgeBasesResponse {
1834
+ /**
1835
+ * <p>Information about the knowledge bases.</p>
1836
+ */
1837
+ knowledgeBaseSummaries: KnowledgeBaseSummary[] | undefined;
1838
+ /**
1839
+ * <p>If there are additional results, this is the token for the next set of results.</p>
1840
+ */
1841
+ nextToken?: string;
1842
+ }
1843
+ export declare namespace ListKnowledgeBasesResponse {
1844
+ /**
1845
+ * @internal
1846
+ */
1847
+ const filterSensitiveLog: (obj: ListKnowledgeBasesResponse) => any;
1848
+ }
1849
+ export interface RemoveKnowledgeBaseTemplateUriRequest {
1850
+ /**
1851
+ * <p>The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
1852
+ */
1853
+ knowledgeBaseId: string | undefined;
1854
+ }
1855
+ export declare namespace RemoveKnowledgeBaseTemplateUriRequest {
1856
+ /**
1857
+ * @internal
1858
+ */
1859
+ const filterSensitiveLog: (obj: RemoveKnowledgeBaseTemplateUriRequest) => any;
1860
+ }
1861
+ export interface RemoveKnowledgeBaseTemplateUriResponse {
1862
+ }
1863
+ export declare namespace RemoveKnowledgeBaseTemplateUriResponse {
1864
+ /**
1865
+ * @internal
1866
+ */
1867
+ const filterSensitiveLog: (obj: RemoveKnowledgeBaseTemplateUriResponse) => any;
1868
+ }
1869
+ export interface SearchContentRequest {
1870
+ /**
1871
+ * <p>The token for the next set of results. Use the value returned in the previous
1872
+ * response in the next request to retrieve the next set of results.</p>
1873
+ */
1874
+ nextToken?: string;
1875
+ /**
1876
+ * <p>The maximum number of results to return per page.</p>
1877
+ */
1878
+ maxResults?: number;
1879
+ /**
1880
+ * <p>The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
1881
+ */
1882
+ knowledgeBaseId: string | undefined;
1883
+ /**
1884
+ * <p>The search expression to filter results.</p>
1885
+ */
1886
+ searchExpression: SearchExpression | undefined;
1887
+ }
1888
+ export declare namespace SearchContentRequest {
1889
+ /**
1890
+ * @internal
1891
+ */
1892
+ const filterSensitiveLog: (obj: SearchContentRequest) => any;
1893
+ }
1894
+ export interface SearchContentResponse {
1895
+ /**
1896
+ * <p>Summary information about the content.</p>
1897
+ */
1898
+ contentSummaries: ContentSummary[] | undefined;
1899
+ /**
1900
+ * <p>If there are additional results, this is the token for the next set of results.</p>
1901
+ */
1902
+ nextToken?: string;
1903
+ }
1904
+ export declare namespace SearchContentResponse {
1905
+ /**
1906
+ * @internal
1907
+ */
1908
+ const filterSensitiveLog: (obj: SearchContentResponse) => any;
1909
+ }
1910
+ export interface StartContentUploadRequest {
1911
+ /**
1912
+ * <p>The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
1913
+ */
1914
+ knowledgeBaseId: string | undefined;
1915
+ /**
1916
+ * <p>The type of content to upload.</p>
1917
+ */
1918
+ contentType: string | undefined;
1919
+ }
1920
+ export declare namespace StartContentUploadRequest {
1921
+ /**
1922
+ * @internal
1923
+ */
1924
+ const filterSensitiveLog: (obj: StartContentUploadRequest) => any;
1925
+ }
1926
+ export interface StartContentUploadResponse {
1927
+ /**
1928
+ * <p>The identifier of the upload.</p>
1929
+ */
1930
+ uploadId: string | undefined;
1931
+ /**
1932
+ * <p>The URL of the upload.</p>
1933
+ */
1934
+ url: string | undefined;
1935
+ /**
1936
+ * <p>The expiration time of the URL as an epoch timestamp.</p>
1937
+ */
1938
+ urlExpiry: Date | undefined;
1939
+ /**
1940
+ * <p>The headers to include in the upload.</p>
1941
+ */
1942
+ headersToInclude: {
1943
+ [key: string]: string;
1944
+ } | undefined;
1945
+ }
1946
+ export declare namespace StartContentUploadResponse {
1947
+ /**
1948
+ * @internal
1949
+ */
1950
+ const filterSensitiveLog: (obj: StartContentUploadResponse) => any;
1951
+ }
1952
+ export interface UpdateKnowledgeBaseTemplateUriRequest {
1953
+ /**
1954
+ * <p>The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
1955
+ */
1956
+ knowledgeBaseId: string | undefined;
1957
+ /**
1958
+ * <p>The template URI to update.</p>
1959
+ */
1960
+ templateUri: string | undefined;
1961
+ }
1962
+ export declare namespace UpdateKnowledgeBaseTemplateUriRequest {
1963
+ /**
1964
+ * @internal
1965
+ */
1966
+ const filterSensitiveLog: (obj: UpdateKnowledgeBaseTemplateUriRequest) => any;
1967
+ }
1968
+ export interface UpdateKnowledgeBaseTemplateUriResponse {
1969
+ /**
1970
+ * <p>The knowledge base to update.</p>
1971
+ */
1972
+ knowledgeBase?: KnowledgeBaseData;
1973
+ }
1974
+ export declare namespace UpdateKnowledgeBaseTemplateUriResponse {
1975
+ /**
1976
+ * @internal
1977
+ */
1978
+ const filterSensitiveLog: (obj: UpdateKnowledgeBaseTemplateUriResponse) => any;
1979
+ }
1980
+ export interface ListTagsForResourceRequest {
1981
+ /**
1982
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
1983
+ */
1984
+ resourceArn: string | undefined;
1985
+ }
1986
+ export declare namespace ListTagsForResourceRequest {
1987
+ /**
1988
+ * @internal
1989
+ */
1990
+ const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
1991
+ }
1992
+ export interface ListTagsForResourceResponse {
1993
+ /**
1994
+ * <p>The tags used to organize, track, or control access for this resource.</p>
1995
+ */
1996
+ tags?: {
1997
+ [key: string]: string;
1998
+ };
1999
+ }
2000
+ export declare namespace ListTagsForResourceResponse {
2001
+ /**
2002
+ * @internal
2003
+ */
2004
+ const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
2005
+ }
2006
+ export interface TagResourceRequest {
2007
+ /**
2008
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
2009
+ */
2010
+ resourceArn: string | undefined;
2011
+ /**
2012
+ * <p>The tags used to organize, track, or control access for this resource.</p>
2013
+ */
2014
+ tags: {
2015
+ [key: string]: string;
2016
+ } | undefined;
2017
+ }
2018
+ export declare namespace TagResourceRequest {
2019
+ /**
2020
+ * @internal
2021
+ */
2022
+ const filterSensitiveLog: (obj: TagResourceRequest) => any;
2023
+ }
2024
+ export interface TagResourceResponse {
2025
+ }
2026
+ export declare namespace TagResourceResponse {
2027
+ /**
2028
+ * @internal
2029
+ */
2030
+ const filterSensitiveLog: (obj: TagResourceResponse) => any;
2031
+ }
2032
+ /**
2033
+ * <p>Amazon Connect Wisdom throws this exception if you have too many tags in your tag set.</p>
2034
+ */
2035
+ export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
2036
+ name: "TooManyTagsException";
2037
+ $fault: "client";
2038
+ message?: string;
2039
+ /**
2040
+ * <p>The specified resource name.</p>
2041
+ */
2042
+ resourceName?: string;
2043
+ }
2044
+ export declare namespace TooManyTagsException {
2045
+ /**
2046
+ * @internal
2047
+ */
2048
+ const filterSensitiveLog: (obj: TooManyTagsException) => any;
2049
+ }
2050
+ export interface UntagResourceRequest {
2051
+ /**
2052
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
2053
+ */
2054
+ resourceArn: string | undefined;
2055
+ /**
2056
+ * <p>The tag keys.</p>
2057
+ */
2058
+ tagKeys: string[] | undefined;
2059
+ }
2060
+ export declare namespace UntagResourceRequest {
2061
+ /**
2062
+ * @internal
2063
+ */
2064
+ const filterSensitiveLog: (obj: UntagResourceRequest) => any;
2065
+ }
2066
+ export interface UntagResourceResponse {
2067
+ }
2068
+ export declare namespace UntagResourceResponse {
2069
+ /**
2070
+ * @internal
2071
+ */
2072
+ const filterSensitiveLog: (obj: UntagResourceResponse) => any;
2073
+ }