@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,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+ import { Wisdom } from "../Wisdom";
3
+ import { WisdomClient } from "../WisdomClient";
4
+ export interface WisdomPaginationConfiguration extends PaginationConfiguration {
5
+ client: Wisdom | WisdomClient;
6
+ }
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListAssistantAssociationsCommandInput, ListAssistantAssociationsCommandOutput } from "../commands/ListAssistantAssociationsCommand";
3
+ import { WisdomPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListAssistantAssociations(config: WisdomPaginationConfiguration, input: ListAssistantAssociationsCommandInput, ...additionalArguments: any): Paginator<ListAssistantAssociationsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListAssistantsCommandInput, ListAssistantsCommandOutput } from "../commands/ListAssistantsCommand";
3
+ import { WisdomPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListAssistants(config: WisdomPaginationConfiguration, input: ListAssistantsCommandInput, ...additionalArguments: any): Paginator<ListAssistantsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListContentsCommandInput, ListContentsCommandOutput } from "../commands/ListContentsCommand";
3
+ import { WisdomPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListContents(config: WisdomPaginationConfiguration, input: ListContentsCommandInput, ...additionalArguments: any): Paginator<ListContentsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput } from "../commands/ListKnowledgeBasesCommand";
3
+ import { WisdomPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListKnowledgeBases(config: WisdomPaginationConfiguration, input: ListKnowledgeBasesCommandInput, ...additionalArguments: any): Paginator<ListKnowledgeBasesCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { QueryAssistantCommandInput, QueryAssistantCommandOutput } from "../commands/QueryAssistantCommand";
3
+ import { WisdomPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateQueryAssistant(config: WisdomPaginationConfiguration, input: QueryAssistantCommandInput, ...additionalArguments: any): Paginator<QueryAssistantCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { SearchContentCommandInput, SearchContentCommandOutput } from "../commands/SearchContentCommand";
3
+ import { WisdomPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateSearchContent(config: WisdomPaginationConfiguration, input: SearchContentCommandInput, ...additionalArguments: any): Paginator<SearchContentCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { SearchSessionsCommandInput, SearchSessionsCommandOutput } from "../commands/SearchSessionsCommand";
3
+ import { WisdomPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateSearchSessions(config: WisdomPaginationConfiguration, input: SearchSessionsCommandInput, ...additionalArguments: any): Paginator<SearchSessionsCommandOutput>;
@@ -0,0 +1,95 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
+ import { CreateAssistantAssociationCommandInput, CreateAssistantAssociationCommandOutput } from "../commands/CreateAssistantAssociationCommand";
4
+ import { CreateAssistantCommandInput, CreateAssistantCommandOutput } from "../commands/CreateAssistantCommand";
5
+ import { CreateContentCommandInput, CreateContentCommandOutput } from "../commands/CreateContentCommand";
6
+ import { CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput } from "../commands/CreateKnowledgeBaseCommand";
7
+ import { CreateSessionCommandInput, CreateSessionCommandOutput } from "../commands/CreateSessionCommand";
8
+ import { DeleteAssistantAssociationCommandInput, DeleteAssistantAssociationCommandOutput } from "../commands/DeleteAssistantAssociationCommand";
9
+ import { DeleteAssistantCommandInput, DeleteAssistantCommandOutput } from "../commands/DeleteAssistantCommand";
10
+ import { DeleteContentCommandInput, DeleteContentCommandOutput } from "../commands/DeleteContentCommand";
11
+ import { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput } from "../commands/DeleteKnowledgeBaseCommand";
12
+ import { GetAssistantAssociationCommandInput, GetAssistantAssociationCommandOutput } from "../commands/GetAssistantAssociationCommand";
13
+ import { GetAssistantCommandInput, GetAssistantCommandOutput } from "../commands/GetAssistantCommand";
14
+ import { GetContentCommandInput, GetContentCommandOutput } from "../commands/GetContentCommand";
15
+ import { GetContentSummaryCommandInput, GetContentSummaryCommandOutput } from "../commands/GetContentSummaryCommand";
16
+ import { GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput } from "../commands/GetKnowledgeBaseCommand";
17
+ import { GetRecommendationsCommandInput, GetRecommendationsCommandOutput } from "../commands/GetRecommendationsCommand";
18
+ import { GetSessionCommandInput, GetSessionCommandOutput } from "../commands/GetSessionCommand";
19
+ import { ListAssistantAssociationsCommandInput, ListAssistantAssociationsCommandOutput } from "../commands/ListAssistantAssociationsCommand";
20
+ import { ListAssistantsCommandInput, ListAssistantsCommandOutput } from "../commands/ListAssistantsCommand";
21
+ import { ListContentsCommandInput, ListContentsCommandOutput } from "../commands/ListContentsCommand";
22
+ import { ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput } from "../commands/ListKnowledgeBasesCommand";
23
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
24
+ import { NotifyRecommendationsReceivedCommandInput, NotifyRecommendationsReceivedCommandOutput } from "../commands/NotifyRecommendationsReceivedCommand";
25
+ import { QueryAssistantCommandInput, QueryAssistantCommandOutput } from "../commands/QueryAssistantCommand";
26
+ import { RemoveKnowledgeBaseTemplateUriCommandInput, RemoveKnowledgeBaseTemplateUriCommandOutput } from "../commands/RemoveKnowledgeBaseTemplateUriCommand";
27
+ import { SearchContentCommandInput, SearchContentCommandOutput } from "../commands/SearchContentCommand";
28
+ import { SearchSessionsCommandInput, SearchSessionsCommandOutput } from "../commands/SearchSessionsCommand";
29
+ import { StartContentUploadCommandInput, StartContentUploadCommandOutput } from "../commands/StartContentUploadCommand";
30
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
31
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
32
+ import { UpdateContentCommandInput, UpdateContentCommandOutput } from "../commands/UpdateContentCommand";
33
+ import { UpdateKnowledgeBaseTemplateUriCommandInput, UpdateKnowledgeBaseTemplateUriCommandOutput } from "../commands/UpdateKnowledgeBaseTemplateUriCommand";
34
+ export declare const serializeAws_restJson1CreateAssistantCommand: (input: CreateAssistantCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
35
+ export declare const serializeAws_restJson1CreateAssistantAssociationCommand: (input: CreateAssistantAssociationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
36
+ export declare const serializeAws_restJson1CreateContentCommand: (input: CreateContentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
+ export declare const serializeAws_restJson1CreateKnowledgeBaseCommand: (input: CreateKnowledgeBaseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
38
+ export declare const serializeAws_restJson1CreateSessionCommand: (input: CreateSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
+ export declare const serializeAws_restJson1DeleteAssistantCommand: (input: DeleteAssistantCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
40
+ export declare const serializeAws_restJson1DeleteAssistantAssociationCommand: (input: DeleteAssistantAssociationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
41
+ export declare const serializeAws_restJson1DeleteContentCommand: (input: DeleteContentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
42
+ export declare const serializeAws_restJson1DeleteKnowledgeBaseCommand: (input: DeleteKnowledgeBaseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
+ export declare const serializeAws_restJson1GetAssistantCommand: (input: GetAssistantCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
+ export declare const serializeAws_restJson1GetAssistantAssociationCommand: (input: GetAssistantAssociationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
+ export declare const serializeAws_restJson1GetContentCommand: (input: GetContentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
+ export declare const serializeAws_restJson1GetContentSummaryCommand: (input: GetContentSummaryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
+ export declare const serializeAws_restJson1GetKnowledgeBaseCommand: (input: GetKnowledgeBaseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
+ export declare const serializeAws_restJson1GetRecommendationsCommand: (input: GetRecommendationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
+ export declare const serializeAws_restJson1GetSessionCommand: (input: GetSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
50
+ export declare const serializeAws_restJson1ListAssistantAssociationsCommand: (input: ListAssistantAssociationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
51
+ export declare const serializeAws_restJson1ListAssistantsCommand: (input: ListAssistantsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
+ export declare const serializeAws_restJson1ListContentsCommand: (input: ListContentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
53
+ export declare const serializeAws_restJson1ListKnowledgeBasesCommand: (input: ListKnowledgeBasesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
54
+ export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
55
+ export declare const serializeAws_restJson1NotifyRecommendationsReceivedCommand: (input: NotifyRecommendationsReceivedCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
56
+ export declare const serializeAws_restJson1QueryAssistantCommand: (input: QueryAssistantCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
57
+ export declare const serializeAws_restJson1RemoveKnowledgeBaseTemplateUriCommand: (input: RemoveKnowledgeBaseTemplateUriCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
58
+ export declare const serializeAws_restJson1SearchContentCommand: (input: SearchContentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
59
+ export declare const serializeAws_restJson1SearchSessionsCommand: (input: SearchSessionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
60
+ export declare const serializeAws_restJson1StartContentUploadCommand: (input: StartContentUploadCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
61
+ export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
62
+ export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
+ export declare const serializeAws_restJson1UpdateContentCommand: (input: UpdateContentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
+ export declare const serializeAws_restJson1UpdateKnowledgeBaseTemplateUriCommand: (input: UpdateKnowledgeBaseTemplateUriCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
65
+ export declare const deserializeAws_restJson1CreateAssistantCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAssistantCommandOutput>;
66
+ export declare const deserializeAws_restJson1CreateAssistantAssociationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAssistantAssociationCommandOutput>;
67
+ export declare const deserializeAws_restJson1CreateContentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateContentCommandOutput>;
68
+ export declare const deserializeAws_restJson1CreateKnowledgeBaseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateKnowledgeBaseCommandOutput>;
69
+ export declare const deserializeAws_restJson1CreateSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateSessionCommandOutput>;
70
+ export declare const deserializeAws_restJson1DeleteAssistantCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteAssistantCommandOutput>;
71
+ export declare const deserializeAws_restJson1DeleteAssistantAssociationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteAssistantAssociationCommandOutput>;
72
+ export declare const deserializeAws_restJson1DeleteContentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteContentCommandOutput>;
73
+ export declare const deserializeAws_restJson1DeleteKnowledgeBaseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteKnowledgeBaseCommandOutput>;
74
+ export declare const deserializeAws_restJson1GetAssistantCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAssistantCommandOutput>;
75
+ export declare const deserializeAws_restJson1GetAssistantAssociationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAssistantAssociationCommandOutput>;
76
+ export declare const deserializeAws_restJson1GetContentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetContentCommandOutput>;
77
+ export declare const deserializeAws_restJson1GetContentSummaryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetContentSummaryCommandOutput>;
78
+ export declare const deserializeAws_restJson1GetKnowledgeBaseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetKnowledgeBaseCommandOutput>;
79
+ export declare const deserializeAws_restJson1GetRecommendationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRecommendationsCommandOutput>;
80
+ export declare const deserializeAws_restJson1GetSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSessionCommandOutput>;
81
+ export declare const deserializeAws_restJson1ListAssistantAssociationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssistantAssociationsCommandOutput>;
82
+ export declare const deserializeAws_restJson1ListAssistantsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssistantsCommandOutput>;
83
+ export declare const deserializeAws_restJson1ListContentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListContentsCommandOutput>;
84
+ export declare const deserializeAws_restJson1ListKnowledgeBasesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListKnowledgeBasesCommandOutput>;
85
+ export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
86
+ export declare const deserializeAws_restJson1NotifyRecommendationsReceivedCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<NotifyRecommendationsReceivedCommandOutput>;
87
+ export declare const deserializeAws_restJson1QueryAssistantCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<QueryAssistantCommandOutput>;
88
+ export declare const deserializeAws_restJson1RemoveKnowledgeBaseTemplateUriCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RemoveKnowledgeBaseTemplateUriCommandOutput>;
89
+ export declare const deserializeAws_restJson1SearchContentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchContentCommandOutput>;
90
+ export declare const deserializeAws_restJson1SearchSessionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchSessionsCommandOutput>;
91
+ export declare const deserializeAws_restJson1StartContentUploadCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartContentUploadCommandOutput>;
92
+ export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
93
+ export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
94
+ export declare const deserializeAws_restJson1UpdateContentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateContentCommandOutput>;
95
+ export declare const deserializeAws_restJson1UpdateKnowledgeBaseTemplateUriCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateKnowledgeBaseTemplateUriCommandOutput>;
@@ -0,0 +1,37 @@
1
+ import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { WisdomClientConfig } from "./WisdomClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: WisdomClientConfig) => {
7
+ runtime: string;
8
+ base64Decoder: import("@aws-sdk/types").Decoder;
9
+ base64Encoder: import("@aws-sdk/types").Encoder;
10
+ bodyLengthChecker: (body: any) => number | undefined;
11
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
+ region: string | import("@aws-sdk/types").Provider<any>;
15
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
17
+ sha256: import("@aws-sdk/types").HashConstructor;
18
+ streamCollector: import("@aws-sdk/types").StreamCollector;
19
+ utf8Decoder: import("@aws-sdk/types").Decoder;
20
+ utf8Encoder: import("@aws-sdk/types").Encoder;
21
+ apiVersion: string;
22
+ urlParser: import("@aws-sdk/types").UrlParser;
23
+ disableHostPrefix: boolean;
24
+ logger: import("@aws-sdk/types").Logger;
25
+ serviceId: string;
26
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ tls?: boolean | undefined;
29
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
30
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
31
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
32
+ signingEscapePath?: boolean | undefined;
33
+ systemClockOffset?: number | undefined;
34
+ signingRegion?: string | undefined;
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
36
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
37
+ };
@@ -0,0 +1,37 @@
1
+ import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
2
+ import { WisdomClientConfig } from "./WisdomClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: WisdomClientConfig) => {
7
+ runtime: string;
8
+ base64Decoder: import("@aws-sdk/types").Decoder;
9
+ base64Encoder: import("@aws-sdk/types").Encoder;
10
+ bodyLengthChecker: (body: any) => number | undefined;
11
+ credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
+ region: string | import("@aws-sdk/types").Provider<string>;
15
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
17
+ sha256: import("@aws-sdk/types").HashConstructor;
18
+ streamCollector: import("@aws-sdk/types").StreamCollector;
19
+ utf8Decoder: import("@aws-sdk/types").Decoder;
20
+ utf8Encoder: import("@aws-sdk/types").Encoder;
21
+ apiVersion: string;
22
+ urlParser: import("@aws-sdk/types").UrlParser;
23
+ disableHostPrefix: boolean;
24
+ logger: import("@aws-sdk/types").Logger;
25
+ serviceId: string;
26
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ tls?: boolean | undefined;
29
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
30
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
31
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
32
+ signingEscapePath?: boolean | undefined;
33
+ systemClockOffset?: number | undefined;
34
+ signingRegion?: string | undefined;
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
36
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
37
+ };
@@ -0,0 +1,36 @@
1
+ import { WisdomClientConfig } from "./WisdomClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: WisdomClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@aws-sdk/types").HashConstructor;
8
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ urlParser: import("@aws-sdk/types").UrlParser;
11
+ bodyLengthChecker: (body: any) => number | undefined;
12
+ streamCollector: import("@aws-sdk/types").StreamCollector;
13
+ base64Decoder: import("@aws-sdk/types").Decoder;
14
+ base64Encoder: import("@aws-sdk/types").Encoder;
15
+ utf8Decoder: import("@aws-sdk/types").Decoder;
16
+ utf8Encoder: import("@aws-sdk/types").Encoder;
17
+ disableHostPrefix: boolean;
18
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
20
+ logger: import("@aws-sdk/types").Logger;
21
+ serviceId: string;
22
+ region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
23
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
+ tls?: boolean | undefined;
28
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
29
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
30
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
31
+ signingEscapePath?: boolean | undefined;
32
+ systemClockOffset?: number | undefined;
33
+ signingRegion?: string | undefined;
34
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
35
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
36
+ };
@@ -0,0 +1,13 @@
1
+ import { Logger as __Logger } from "@aws-sdk/types";
2
+ import { WisdomClientConfig } from "./WisdomClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: WisdomClientConfig) => {
7
+ apiVersion: string;
8
+ disableHostPrefix: boolean;
9
+ logger: __Logger;
10
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
11
+ serviceId: string;
12
+ urlParser: import("@aws-sdk/types").UrlParser;
13
+ };
package/jest.config.js ADDED
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ preset: "ts-jest",
3
+ testMatch: ["**/*.spec.ts", "!**/*.browser.spec.ts", "!**/*.integ.spec.ts"],
4
+ };
package/package.json ADDED
@@ -0,0 +1,93 @@
1
+ {
2
+ "name": "@aws-sdk/client-wisdom",
3
+ "description": "AWS SDK for JavaScript Wisdom Client for Node.js, Browser and React Native",
4
+ "version": "3.35.0",
5
+ "scripts": {
6
+ "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
+ "build:cjs": "tsc -p tsconfig.json",
8
+ "build:docs": "yarn clean:docs && typedoc ./",
9
+ "build:es": "tsc -p tsconfig.es.json",
10
+ "build:types": "tsc -p tsconfig.types.json",
11
+ "clean": "yarn clean:dist && yarn clean:docs",
12
+ "clean:dist": "rimraf ./dist-*",
13
+ "clean:docs": "rimraf ./docs",
14
+ "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
+ "test": "jest --coverage --passWithNoTests"
16
+ },
17
+ "main": "./dist-cjs/index.js",
18
+ "types": "./dist-types/index.d.ts",
19
+ "module": "./dist-es/index.js",
20
+ "sideEffects": false,
21
+ "dependencies": {
22
+ "@aws-crypto/sha256-browser": "^1.1.0",
23
+ "@aws-crypto/sha256-js": "^1.1.0",
24
+ "@aws-sdk/client-sts": "3.35.0",
25
+ "@aws-sdk/config-resolver": "3.35.0",
26
+ "@aws-sdk/credential-provider-node": "3.35.0",
27
+ "@aws-sdk/fetch-http-handler": "3.35.0",
28
+ "@aws-sdk/hash-node": "3.35.0",
29
+ "@aws-sdk/invalid-dependency": "3.35.0",
30
+ "@aws-sdk/middleware-content-length": "3.35.0",
31
+ "@aws-sdk/middleware-host-header": "3.35.0",
32
+ "@aws-sdk/middleware-logger": "3.35.0",
33
+ "@aws-sdk/middleware-retry": "3.35.0",
34
+ "@aws-sdk/middleware-serde": "3.35.0",
35
+ "@aws-sdk/middleware-signing": "3.35.0",
36
+ "@aws-sdk/middleware-stack": "3.35.0",
37
+ "@aws-sdk/middleware-user-agent": "3.35.0",
38
+ "@aws-sdk/node-config-provider": "3.35.0",
39
+ "@aws-sdk/node-http-handler": "3.35.0",
40
+ "@aws-sdk/protocol-http": "3.35.0",
41
+ "@aws-sdk/smithy-client": "3.35.0",
42
+ "@aws-sdk/types": "3.35.0",
43
+ "@aws-sdk/url-parser": "3.35.0",
44
+ "@aws-sdk/util-base64-browser": "3.35.0",
45
+ "@aws-sdk/util-base64-node": "3.35.0",
46
+ "@aws-sdk/util-body-length-browser": "3.35.0",
47
+ "@aws-sdk/util-body-length-node": "3.35.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.35.0",
49
+ "@aws-sdk/util-user-agent-node": "3.35.0",
50
+ "@aws-sdk/util-utf8-browser": "3.35.0",
51
+ "@aws-sdk/util-utf8-node": "3.35.0",
52
+ "tslib": "^2.3.0",
53
+ "uuid": "^8.3.2"
54
+ },
55
+ "devDependencies": {
56
+ "@aws-sdk/client-documentation-generator": "3.35.0",
57
+ "@types/node": "^12.7.5",
58
+ "@types/uuid": "^8.3.0",
59
+ "downlevel-dts": "0.7.0",
60
+ "jest": "^26.1.0",
61
+ "rimraf": "^3.0.0",
62
+ "ts-jest": "^26.4.1",
63
+ "typedoc": "^0.19.2",
64
+ "typescript": "~4.3.5"
65
+ },
66
+ "engines": {
67
+ "node": ">=10.0.0"
68
+ },
69
+ "typesVersions": {
70
+ "<4.0": {
71
+ "dist-types/*": [
72
+ "dist-types/ts3.4/*"
73
+ ]
74
+ }
75
+ },
76
+ "author": {
77
+ "name": "AWS SDK for JavaScript Team",
78
+ "url": "https://aws.amazon.com/javascript/"
79
+ },
80
+ "license": "Apache-2.0",
81
+ "browser": {
82
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
83
+ },
84
+ "react-native": {
85
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
86
+ },
87
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-wisdom",
88
+ "repository": {
89
+ "type": "git",
90
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
91
+ "directory": "clients/client-wisdom"
92
+ }
93
+ }