@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,989 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Filter = exports.FilterOperator = exports.FilterField = exports.QueryAssistantResponse = exports.ResultData = exports.QueryAssistantRequest = exports.NotifyRecommendationsReceivedResponse = exports.NotifyRecommendationsReceivedError = exports.NotifyRecommendationsReceivedRequest = exports.ListAssistantsResponse = exports.AssistantSummary = exports.ListAssistantsRequest = exports.GetRecommendationsResponse = exports.RecommendationData = exports.RelevanceLevel = exports.Document = exports.DocumentText = exports.Highlight = exports.ContentReference = exports.GetRecommendationsRequest = exports.GetAssistantResponse = exports.GetAssistantRequest = exports.DeleteAssistantResponse = exports.DeleteAssistantRequest = exports.CreateAssistantResponse = exports.AssistantData = exports.AssistantStatus = exports.CreateAssistantRequest = exports.AssistantType = exports.ServerSideEncryptionConfiguration = exports.ListAssistantAssociationsResponse = exports.AssistantAssociationSummary = exports.ListAssistantAssociationsRequest = exports.GetAssistantAssociationResponse = exports.GetAssistantAssociationRequest = exports.DeleteAssistantAssociationResponse = exports.DeleteAssistantAssociationRequest = exports.ValidationException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.CreateAssistantAssociationResponse = exports.AssistantAssociationData = exports.AssistantAssociationOutputData = exports.KnowledgeBaseAssociationData = exports.CreateAssistantAssociationRequest = exports.AssociationType = exports.AssistantAssociationInputData = exports.ConflictException = exports.AppIntegrationsConfiguration = exports.AccessDeniedException = void 0;
4
+ exports.TagResourceRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.UpdateKnowledgeBaseTemplateUriResponse = exports.UpdateKnowledgeBaseTemplateUriRequest = exports.StartContentUploadResponse = exports.StartContentUploadRequest = exports.SearchContentResponse = exports.SearchContentRequest = exports.RemoveKnowledgeBaseTemplateUriResponse = exports.RemoveKnowledgeBaseTemplateUriRequest = exports.ListKnowledgeBasesResponse = exports.KnowledgeBaseSummary = exports.ListKnowledgeBasesRequest = exports.GetKnowledgeBaseResponse = exports.GetKnowledgeBaseRequest = exports.DeleteKnowledgeBaseResponse = exports.DeleteKnowledgeBaseRequest = exports.CreateKnowledgeBaseResponse = exports.KnowledgeBaseData = exports.KnowledgeBaseStatus = exports.CreateKnowledgeBaseRequest = exports.SourceConfiguration = exports.RenderingConfiguration = exports.KnowledgeBaseType = exports.UpdateContentResponse = exports.UpdateContentRequest = exports.PreconditionFailedException = exports.ListContentsResponse = exports.ListContentsRequest = exports.GetContentSummaryResponse = exports.ContentSummary = exports.GetContentSummaryRequest = exports.GetContentResponse = exports.GetContentRequest = exports.DeleteContentResponse = exports.DeleteContentRequest = exports.CreateContentResponse = exports.ContentData = exports.ContentStatus = exports.CreateContentRequest = exports.GetSessionResponse = exports.GetSessionRequest = exports.CreateSessionResponse = exports.SessionData = exports.CreateSessionRequest = exports.SearchSessionsResponse = exports.SessionSummary = exports.SearchSessionsRequest = exports.SearchExpression = void 0;
5
+ exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TooManyTagsException = exports.TagResourceResponse = void 0;
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ var AccessDeniedException;
8
+ (function (AccessDeniedException) {
9
+ /**
10
+ * @internal
11
+ */
12
+ AccessDeniedException.filterSensitiveLog = (obj) => ({
13
+ ...obj,
14
+ });
15
+ })(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
16
+ var AppIntegrationsConfiguration;
17
+ (function (AppIntegrationsConfiguration) {
18
+ /**
19
+ * @internal
20
+ */
21
+ AppIntegrationsConfiguration.filterSensitiveLog = (obj) => ({
22
+ ...obj,
23
+ });
24
+ })(AppIntegrationsConfiguration = exports.AppIntegrationsConfiguration || (exports.AppIntegrationsConfiguration = {}));
25
+ var ConflictException;
26
+ (function (ConflictException) {
27
+ /**
28
+ * @internal
29
+ */
30
+ ConflictException.filterSensitiveLog = (obj) => ({
31
+ ...obj,
32
+ });
33
+ })(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
34
+ var AssistantAssociationInputData;
35
+ (function (AssistantAssociationInputData) {
36
+ AssistantAssociationInputData.visit = (value, visitor) => {
37
+ if (value.knowledgeBaseId !== undefined)
38
+ return visitor.knowledgeBaseId(value.knowledgeBaseId);
39
+ return visitor._(value.$unknown[0], value.$unknown[1]);
40
+ };
41
+ /**
42
+ * @internal
43
+ */
44
+ AssistantAssociationInputData.filterSensitiveLog = (obj) => {
45
+ if (obj.knowledgeBaseId !== undefined)
46
+ return { knowledgeBaseId: obj.knowledgeBaseId };
47
+ if (obj.$unknown !== undefined)
48
+ return { [obj.$unknown[0]]: "UNKNOWN" };
49
+ };
50
+ })(AssistantAssociationInputData = exports.AssistantAssociationInputData || (exports.AssistantAssociationInputData = {}));
51
+ var AssociationType;
52
+ (function (AssociationType) {
53
+ AssociationType["KNOWLEDGE_BASE"] = "KNOWLEDGE_BASE";
54
+ })(AssociationType = exports.AssociationType || (exports.AssociationType = {}));
55
+ var CreateAssistantAssociationRequest;
56
+ (function (CreateAssistantAssociationRequest) {
57
+ /**
58
+ * @internal
59
+ */
60
+ CreateAssistantAssociationRequest.filterSensitiveLog = (obj) => ({
61
+ ...obj,
62
+ ...(obj.association && { association: AssistantAssociationInputData.filterSensitiveLog(obj.association) }),
63
+ });
64
+ })(CreateAssistantAssociationRequest = exports.CreateAssistantAssociationRequest || (exports.CreateAssistantAssociationRequest = {}));
65
+ var KnowledgeBaseAssociationData;
66
+ (function (KnowledgeBaseAssociationData) {
67
+ /**
68
+ * @internal
69
+ */
70
+ KnowledgeBaseAssociationData.filterSensitiveLog = (obj) => ({
71
+ ...obj,
72
+ });
73
+ })(KnowledgeBaseAssociationData = exports.KnowledgeBaseAssociationData || (exports.KnowledgeBaseAssociationData = {}));
74
+ var AssistantAssociationOutputData;
75
+ (function (AssistantAssociationOutputData) {
76
+ AssistantAssociationOutputData.visit = (value, visitor) => {
77
+ if (value.knowledgeBaseAssociation !== undefined)
78
+ return visitor.knowledgeBaseAssociation(value.knowledgeBaseAssociation);
79
+ return visitor._(value.$unknown[0], value.$unknown[1]);
80
+ };
81
+ /**
82
+ * @internal
83
+ */
84
+ AssistantAssociationOutputData.filterSensitiveLog = (obj) => {
85
+ if (obj.knowledgeBaseAssociation !== undefined)
86
+ return {
87
+ knowledgeBaseAssociation: KnowledgeBaseAssociationData.filterSensitiveLog(obj.knowledgeBaseAssociation),
88
+ };
89
+ if (obj.$unknown !== undefined)
90
+ return { [obj.$unknown[0]]: "UNKNOWN" };
91
+ };
92
+ })(AssistantAssociationOutputData = exports.AssistantAssociationOutputData || (exports.AssistantAssociationOutputData = {}));
93
+ var AssistantAssociationData;
94
+ (function (AssistantAssociationData) {
95
+ /**
96
+ * @internal
97
+ */
98
+ AssistantAssociationData.filterSensitiveLog = (obj) => ({
99
+ ...obj,
100
+ ...(obj.associationData && {
101
+ associationData: AssistantAssociationOutputData.filterSensitiveLog(obj.associationData),
102
+ }),
103
+ });
104
+ })(AssistantAssociationData = exports.AssistantAssociationData || (exports.AssistantAssociationData = {}));
105
+ var CreateAssistantAssociationResponse;
106
+ (function (CreateAssistantAssociationResponse) {
107
+ /**
108
+ * @internal
109
+ */
110
+ CreateAssistantAssociationResponse.filterSensitiveLog = (obj) => ({
111
+ ...obj,
112
+ ...(obj.assistantAssociation && {
113
+ assistantAssociation: AssistantAssociationData.filterSensitiveLog(obj.assistantAssociation),
114
+ }),
115
+ });
116
+ })(CreateAssistantAssociationResponse = exports.CreateAssistantAssociationResponse || (exports.CreateAssistantAssociationResponse = {}));
117
+ var ResourceNotFoundException;
118
+ (function (ResourceNotFoundException) {
119
+ /**
120
+ * @internal
121
+ */
122
+ ResourceNotFoundException.filterSensitiveLog = (obj) => ({
123
+ ...obj,
124
+ });
125
+ })(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
126
+ var ServiceQuotaExceededException;
127
+ (function (ServiceQuotaExceededException) {
128
+ /**
129
+ * @internal
130
+ */
131
+ ServiceQuotaExceededException.filterSensitiveLog = (obj) => ({
132
+ ...obj,
133
+ });
134
+ })(ServiceQuotaExceededException = exports.ServiceQuotaExceededException || (exports.ServiceQuotaExceededException = {}));
135
+ var ValidationException;
136
+ (function (ValidationException) {
137
+ /**
138
+ * @internal
139
+ */
140
+ ValidationException.filterSensitiveLog = (obj) => ({
141
+ ...obj,
142
+ });
143
+ })(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
144
+ var DeleteAssistantAssociationRequest;
145
+ (function (DeleteAssistantAssociationRequest) {
146
+ /**
147
+ * @internal
148
+ */
149
+ DeleteAssistantAssociationRequest.filterSensitiveLog = (obj) => ({
150
+ ...obj,
151
+ });
152
+ })(DeleteAssistantAssociationRequest = exports.DeleteAssistantAssociationRequest || (exports.DeleteAssistantAssociationRequest = {}));
153
+ var DeleteAssistantAssociationResponse;
154
+ (function (DeleteAssistantAssociationResponse) {
155
+ /**
156
+ * @internal
157
+ */
158
+ DeleteAssistantAssociationResponse.filterSensitiveLog = (obj) => ({
159
+ ...obj,
160
+ });
161
+ })(DeleteAssistantAssociationResponse = exports.DeleteAssistantAssociationResponse || (exports.DeleteAssistantAssociationResponse = {}));
162
+ var GetAssistantAssociationRequest;
163
+ (function (GetAssistantAssociationRequest) {
164
+ /**
165
+ * @internal
166
+ */
167
+ GetAssistantAssociationRequest.filterSensitiveLog = (obj) => ({
168
+ ...obj,
169
+ });
170
+ })(GetAssistantAssociationRequest = exports.GetAssistantAssociationRequest || (exports.GetAssistantAssociationRequest = {}));
171
+ var GetAssistantAssociationResponse;
172
+ (function (GetAssistantAssociationResponse) {
173
+ /**
174
+ * @internal
175
+ */
176
+ GetAssistantAssociationResponse.filterSensitiveLog = (obj) => ({
177
+ ...obj,
178
+ ...(obj.assistantAssociation && {
179
+ assistantAssociation: AssistantAssociationData.filterSensitiveLog(obj.assistantAssociation),
180
+ }),
181
+ });
182
+ })(GetAssistantAssociationResponse = exports.GetAssistantAssociationResponse || (exports.GetAssistantAssociationResponse = {}));
183
+ var ListAssistantAssociationsRequest;
184
+ (function (ListAssistantAssociationsRequest) {
185
+ /**
186
+ * @internal
187
+ */
188
+ ListAssistantAssociationsRequest.filterSensitiveLog = (obj) => ({
189
+ ...obj,
190
+ });
191
+ })(ListAssistantAssociationsRequest = exports.ListAssistantAssociationsRequest || (exports.ListAssistantAssociationsRequest = {}));
192
+ var AssistantAssociationSummary;
193
+ (function (AssistantAssociationSummary) {
194
+ /**
195
+ * @internal
196
+ */
197
+ AssistantAssociationSummary.filterSensitiveLog = (obj) => ({
198
+ ...obj,
199
+ ...(obj.associationData && {
200
+ associationData: AssistantAssociationOutputData.filterSensitiveLog(obj.associationData),
201
+ }),
202
+ });
203
+ })(AssistantAssociationSummary = exports.AssistantAssociationSummary || (exports.AssistantAssociationSummary = {}));
204
+ var ListAssistantAssociationsResponse;
205
+ (function (ListAssistantAssociationsResponse) {
206
+ /**
207
+ * @internal
208
+ */
209
+ ListAssistantAssociationsResponse.filterSensitiveLog = (obj) => ({
210
+ ...obj,
211
+ ...(obj.assistantAssociationSummaries && {
212
+ assistantAssociationSummaries: obj.assistantAssociationSummaries.map((item) => AssistantAssociationSummary.filterSensitiveLog(item)),
213
+ }),
214
+ });
215
+ })(ListAssistantAssociationsResponse = exports.ListAssistantAssociationsResponse || (exports.ListAssistantAssociationsResponse = {}));
216
+ var ServerSideEncryptionConfiguration;
217
+ (function (ServerSideEncryptionConfiguration) {
218
+ /**
219
+ * @internal
220
+ */
221
+ ServerSideEncryptionConfiguration.filterSensitiveLog = (obj) => ({
222
+ ...obj,
223
+ });
224
+ })(ServerSideEncryptionConfiguration = exports.ServerSideEncryptionConfiguration || (exports.ServerSideEncryptionConfiguration = {}));
225
+ var AssistantType;
226
+ (function (AssistantType) {
227
+ AssistantType["AGENT"] = "AGENT";
228
+ })(AssistantType = exports.AssistantType || (exports.AssistantType = {}));
229
+ var CreateAssistantRequest;
230
+ (function (CreateAssistantRequest) {
231
+ /**
232
+ * @internal
233
+ */
234
+ CreateAssistantRequest.filterSensitiveLog = (obj) => ({
235
+ ...obj,
236
+ });
237
+ })(CreateAssistantRequest = exports.CreateAssistantRequest || (exports.CreateAssistantRequest = {}));
238
+ var AssistantStatus;
239
+ (function (AssistantStatus) {
240
+ AssistantStatus["ACTIVE"] = "ACTIVE";
241
+ AssistantStatus["CREATE_FAILED"] = "CREATE_FAILED";
242
+ AssistantStatus["CREATE_IN_PROGRESS"] = "CREATE_IN_PROGRESS";
243
+ AssistantStatus["DELETED"] = "DELETED";
244
+ AssistantStatus["DELETE_FAILED"] = "DELETE_FAILED";
245
+ AssistantStatus["DELETE_IN_PROGRESS"] = "DELETE_IN_PROGRESS";
246
+ })(AssistantStatus = exports.AssistantStatus || (exports.AssistantStatus = {}));
247
+ var AssistantData;
248
+ (function (AssistantData) {
249
+ /**
250
+ * @internal
251
+ */
252
+ AssistantData.filterSensitiveLog = (obj) => ({
253
+ ...obj,
254
+ });
255
+ })(AssistantData = exports.AssistantData || (exports.AssistantData = {}));
256
+ var CreateAssistantResponse;
257
+ (function (CreateAssistantResponse) {
258
+ /**
259
+ * @internal
260
+ */
261
+ CreateAssistantResponse.filterSensitiveLog = (obj) => ({
262
+ ...obj,
263
+ });
264
+ })(CreateAssistantResponse = exports.CreateAssistantResponse || (exports.CreateAssistantResponse = {}));
265
+ var DeleteAssistantRequest;
266
+ (function (DeleteAssistantRequest) {
267
+ /**
268
+ * @internal
269
+ */
270
+ DeleteAssistantRequest.filterSensitiveLog = (obj) => ({
271
+ ...obj,
272
+ });
273
+ })(DeleteAssistantRequest = exports.DeleteAssistantRequest || (exports.DeleteAssistantRequest = {}));
274
+ var DeleteAssistantResponse;
275
+ (function (DeleteAssistantResponse) {
276
+ /**
277
+ * @internal
278
+ */
279
+ DeleteAssistantResponse.filterSensitiveLog = (obj) => ({
280
+ ...obj,
281
+ });
282
+ })(DeleteAssistantResponse = exports.DeleteAssistantResponse || (exports.DeleteAssistantResponse = {}));
283
+ var GetAssistantRequest;
284
+ (function (GetAssistantRequest) {
285
+ /**
286
+ * @internal
287
+ */
288
+ GetAssistantRequest.filterSensitiveLog = (obj) => ({
289
+ ...obj,
290
+ });
291
+ })(GetAssistantRequest = exports.GetAssistantRequest || (exports.GetAssistantRequest = {}));
292
+ var GetAssistantResponse;
293
+ (function (GetAssistantResponse) {
294
+ /**
295
+ * @internal
296
+ */
297
+ GetAssistantResponse.filterSensitiveLog = (obj) => ({
298
+ ...obj,
299
+ });
300
+ })(GetAssistantResponse = exports.GetAssistantResponse || (exports.GetAssistantResponse = {}));
301
+ var GetRecommendationsRequest;
302
+ (function (GetRecommendationsRequest) {
303
+ /**
304
+ * @internal
305
+ */
306
+ GetRecommendationsRequest.filterSensitiveLog = (obj) => ({
307
+ ...obj,
308
+ });
309
+ })(GetRecommendationsRequest = exports.GetRecommendationsRequest || (exports.GetRecommendationsRequest = {}));
310
+ var ContentReference;
311
+ (function (ContentReference) {
312
+ /**
313
+ * @internal
314
+ */
315
+ ContentReference.filterSensitiveLog = (obj) => ({
316
+ ...obj,
317
+ });
318
+ })(ContentReference = exports.ContentReference || (exports.ContentReference = {}));
319
+ var Highlight;
320
+ (function (Highlight) {
321
+ /**
322
+ * @internal
323
+ */
324
+ Highlight.filterSensitiveLog = (obj) => ({
325
+ ...obj,
326
+ });
327
+ })(Highlight = exports.Highlight || (exports.Highlight = {}));
328
+ var DocumentText;
329
+ (function (DocumentText) {
330
+ /**
331
+ * @internal
332
+ */
333
+ DocumentText.filterSensitiveLog = (obj) => ({
334
+ ...obj,
335
+ ...(obj.text && { text: smithy_client_1.SENSITIVE_STRING }),
336
+ });
337
+ })(DocumentText = exports.DocumentText || (exports.DocumentText = {}));
338
+ var Document;
339
+ (function (Document) {
340
+ /**
341
+ * @internal
342
+ */
343
+ Document.filterSensitiveLog = (obj) => ({
344
+ ...obj,
345
+ ...(obj.title && { title: DocumentText.filterSensitiveLog(obj.title) }),
346
+ ...(obj.excerpt && { excerpt: DocumentText.filterSensitiveLog(obj.excerpt) }),
347
+ });
348
+ })(Document = exports.Document || (exports.Document = {}));
349
+ var RelevanceLevel;
350
+ (function (RelevanceLevel) {
351
+ RelevanceLevel["HIGH"] = "HIGH";
352
+ RelevanceLevel["LOW"] = "LOW";
353
+ RelevanceLevel["MEDIUM"] = "MEDIUM";
354
+ })(RelevanceLevel = exports.RelevanceLevel || (exports.RelevanceLevel = {}));
355
+ var RecommendationData;
356
+ (function (RecommendationData) {
357
+ /**
358
+ * @internal
359
+ */
360
+ RecommendationData.filterSensitiveLog = (obj) => ({
361
+ ...obj,
362
+ ...(obj.document && { document: Document.filterSensitiveLog(obj.document) }),
363
+ });
364
+ })(RecommendationData = exports.RecommendationData || (exports.RecommendationData = {}));
365
+ var GetRecommendationsResponse;
366
+ (function (GetRecommendationsResponse) {
367
+ /**
368
+ * @internal
369
+ */
370
+ GetRecommendationsResponse.filterSensitiveLog = (obj) => ({
371
+ ...obj,
372
+ ...(obj.recommendations && {
373
+ recommendations: obj.recommendations.map((item) => RecommendationData.filterSensitiveLog(item)),
374
+ }),
375
+ });
376
+ })(GetRecommendationsResponse = exports.GetRecommendationsResponse || (exports.GetRecommendationsResponse = {}));
377
+ var ListAssistantsRequest;
378
+ (function (ListAssistantsRequest) {
379
+ /**
380
+ * @internal
381
+ */
382
+ ListAssistantsRequest.filterSensitiveLog = (obj) => ({
383
+ ...obj,
384
+ });
385
+ })(ListAssistantsRequest = exports.ListAssistantsRequest || (exports.ListAssistantsRequest = {}));
386
+ var AssistantSummary;
387
+ (function (AssistantSummary) {
388
+ /**
389
+ * @internal
390
+ */
391
+ AssistantSummary.filterSensitiveLog = (obj) => ({
392
+ ...obj,
393
+ });
394
+ })(AssistantSummary = exports.AssistantSummary || (exports.AssistantSummary = {}));
395
+ var ListAssistantsResponse;
396
+ (function (ListAssistantsResponse) {
397
+ /**
398
+ * @internal
399
+ */
400
+ ListAssistantsResponse.filterSensitiveLog = (obj) => ({
401
+ ...obj,
402
+ });
403
+ })(ListAssistantsResponse = exports.ListAssistantsResponse || (exports.ListAssistantsResponse = {}));
404
+ var NotifyRecommendationsReceivedRequest;
405
+ (function (NotifyRecommendationsReceivedRequest) {
406
+ /**
407
+ * @internal
408
+ */
409
+ NotifyRecommendationsReceivedRequest.filterSensitiveLog = (obj) => ({
410
+ ...obj,
411
+ });
412
+ })(NotifyRecommendationsReceivedRequest = exports.NotifyRecommendationsReceivedRequest || (exports.NotifyRecommendationsReceivedRequest = {}));
413
+ var NotifyRecommendationsReceivedError;
414
+ (function (NotifyRecommendationsReceivedError) {
415
+ /**
416
+ * @internal
417
+ */
418
+ NotifyRecommendationsReceivedError.filterSensitiveLog = (obj) => ({
419
+ ...obj,
420
+ });
421
+ })(NotifyRecommendationsReceivedError = exports.NotifyRecommendationsReceivedError || (exports.NotifyRecommendationsReceivedError = {}));
422
+ var NotifyRecommendationsReceivedResponse;
423
+ (function (NotifyRecommendationsReceivedResponse) {
424
+ /**
425
+ * @internal
426
+ */
427
+ NotifyRecommendationsReceivedResponse.filterSensitiveLog = (obj) => ({
428
+ ...obj,
429
+ });
430
+ })(NotifyRecommendationsReceivedResponse = exports.NotifyRecommendationsReceivedResponse || (exports.NotifyRecommendationsReceivedResponse = {}));
431
+ var QueryAssistantRequest;
432
+ (function (QueryAssistantRequest) {
433
+ /**
434
+ * @internal
435
+ */
436
+ QueryAssistantRequest.filterSensitiveLog = (obj) => ({
437
+ ...obj,
438
+ ...(obj.queryText && { queryText: smithy_client_1.SENSITIVE_STRING }),
439
+ });
440
+ })(QueryAssistantRequest = exports.QueryAssistantRequest || (exports.QueryAssistantRequest = {}));
441
+ var ResultData;
442
+ (function (ResultData) {
443
+ /**
444
+ * @internal
445
+ */
446
+ ResultData.filterSensitiveLog = (obj) => ({
447
+ ...obj,
448
+ ...(obj.document && { document: Document.filterSensitiveLog(obj.document) }),
449
+ });
450
+ })(ResultData = exports.ResultData || (exports.ResultData = {}));
451
+ var QueryAssistantResponse;
452
+ (function (QueryAssistantResponse) {
453
+ /**
454
+ * @internal
455
+ */
456
+ QueryAssistantResponse.filterSensitiveLog = (obj) => ({
457
+ ...obj,
458
+ ...(obj.results && { results: obj.results.map((item) => ResultData.filterSensitiveLog(item)) }),
459
+ });
460
+ })(QueryAssistantResponse = exports.QueryAssistantResponse || (exports.QueryAssistantResponse = {}));
461
+ var FilterField;
462
+ (function (FilterField) {
463
+ FilterField["NAME"] = "NAME";
464
+ })(FilterField = exports.FilterField || (exports.FilterField = {}));
465
+ var FilterOperator;
466
+ (function (FilterOperator) {
467
+ FilterOperator["EQUALS"] = "EQUALS";
468
+ })(FilterOperator = exports.FilterOperator || (exports.FilterOperator = {}));
469
+ var Filter;
470
+ (function (Filter) {
471
+ /**
472
+ * @internal
473
+ */
474
+ Filter.filterSensitiveLog = (obj) => ({
475
+ ...obj,
476
+ });
477
+ })(Filter = exports.Filter || (exports.Filter = {}));
478
+ var SearchExpression;
479
+ (function (SearchExpression) {
480
+ /**
481
+ * @internal
482
+ */
483
+ SearchExpression.filterSensitiveLog = (obj) => ({
484
+ ...obj,
485
+ });
486
+ })(SearchExpression = exports.SearchExpression || (exports.SearchExpression = {}));
487
+ var SearchSessionsRequest;
488
+ (function (SearchSessionsRequest) {
489
+ /**
490
+ * @internal
491
+ */
492
+ SearchSessionsRequest.filterSensitiveLog = (obj) => ({
493
+ ...obj,
494
+ });
495
+ })(SearchSessionsRequest = exports.SearchSessionsRequest || (exports.SearchSessionsRequest = {}));
496
+ var SessionSummary;
497
+ (function (SessionSummary) {
498
+ /**
499
+ * @internal
500
+ */
501
+ SessionSummary.filterSensitiveLog = (obj) => ({
502
+ ...obj,
503
+ });
504
+ })(SessionSummary = exports.SessionSummary || (exports.SessionSummary = {}));
505
+ var SearchSessionsResponse;
506
+ (function (SearchSessionsResponse) {
507
+ /**
508
+ * @internal
509
+ */
510
+ SearchSessionsResponse.filterSensitiveLog = (obj) => ({
511
+ ...obj,
512
+ });
513
+ })(SearchSessionsResponse = exports.SearchSessionsResponse || (exports.SearchSessionsResponse = {}));
514
+ var CreateSessionRequest;
515
+ (function (CreateSessionRequest) {
516
+ /**
517
+ * @internal
518
+ */
519
+ CreateSessionRequest.filterSensitiveLog = (obj) => ({
520
+ ...obj,
521
+ });
522
+ })(CreateSessionRequest = exports.CreateSessionRequest || (exports.CreateSessionRequest = {}));
523
+ var SessionData;
524
+ (function (SessionData) {
525
+ /**
526
+ * @internal
527
+ */
528
+ SessionData.filterSensitiveLog = (obj) => ({
529
+ ...obj,
530
+ });
531
+ })(SessionData = exports.SessionData || (exports.SessionData = {}));
532
+ var CreateSessionResponse;
533
+ (function (CreateSessionResponse) {
534
+ /**
535
+ * @internal
536
+ */
537
+ CreateSessionResponse.filterSensitiveLog = (obj) => ({
538
+ ...obj,
539
+ });
540
+ })(CreateSessionResponse = exports.CreateSessionResponse || (exports.CreateSessionResponse = {}));
541
+ var GetSessionRequest;
542
+ (function (GetSessionRequest) {
543
+ /**
544
+ * @internal
545
+ */
546
+ GetSessionRequest.filterSensitiveLog = (obj) => ({
547
+ ...obj,
548
+ });
549
+ })(GetSessionRequest = exports.GetSessionRequest || (exports.GetSessionRequest = {}));
550
+ var GetSessionResponse;
551
+ (function (GetSessionResponse) {
552
+ /**
553
+ * @internal
554
+ */
555
+ GetSessionResponse.filterSensitiveLog = (obj) => ({
556
+ ...obj,
557
+ });
558
+ })(GetSessionResponse = exports.GetSessionResponse || (exports.GetSessionResponse = {}));
559
+ var CreateContentRequest;
560
+ (function (CreateContentRequest) {
561
+ /**
562
+ * @internal
563
+ */
564
+ CreateContentRequest.filterSensitiveLog = (obj) => ({
565
+ ...obj,
566
+ });
567
+ })(CreateContentRequest = exports.CreateContentRequest || (exports.CreateContentRequest = {}));
568
+ var ContentStatus;
569
+ (function (ContentStatus) {
570
+ ContentStatus["ACTIVE"] = "ACTIVE";
571
+ ContentStatus["CREATE_FAILED"] = "CREATE_FAILED";
572
+ ContentStatus["CREATE_IN_PROGRESS"] = "CREATE_IN_PROGRESS";
573
+ ContentStatus["DELETED"] = "DELETED";
574
+ ContentStatus["DELETE_FAILED"] = "DELETE_FAILED";
575
+ ContentStatus["DELETE_IN_PROGRESS"] = "DELETE_IN_PROGRESS";
576
+ ContentStatus["UPDATE_FAILED"] = "UPDATE_FAILED";
577
+ })(ContentStatus = exports.ContentStatus || (exports.ContentStatus = {}));
578
+ var ContentData;
579
+ (function (ContentData) {
580
+ /**
581
+ * @internal
582
+ */
583
+ ContentData.filterSensitiveLog = (obj) => ({
584
+ ...obj,
585
+ ...(obj.url && { url: smithy_client_1.SENSITIVE_STRING }),
586
+ });
587
+ })(ContentData = exports.ContentData || (exports.ContentData = {}));
588
+ var CreateContentResponse;
589
+ (function (CreateContentResponse) {
590
+ /**
591
+ * @internal
592
+ */
593
+ CreateContentResponse.filterSensitiveLog = (obj) => ({
594
+ ...obj,
595
+ ...(obj.content && { content: ContentData.filterSensitiveLog(obj.content) }),
596
+ });
597
+ })(CreateContentResponse = exports.CreateContentResponse || (exports.CreateContentResponse = {}));
598
+ var DeleteContentRequest;
599
+ (function (DeleteContentRequest) {
600
+ /**
601
+ * @internal
602
+ */
603
+ DeleteContentRequest.filterSensitiveLog = (obj) => ({
604
+ ...obj,
605
+ });
606
+ })(DeleteContentRequest = exports.DeleteContentRequest || (exports.DeleteContentRequest = {}));
607
+ var DeleteContentResponse;
608
+ (function (DeleteContentResponse) {
609
+ /**
610
+ * @internal
611
+ */
612
+ DeleteContentResponse.filterSensitiveLog = (obj) => ({
613
+ ...obj,
614
+ });
615
+ })(DeleteContentResponse = exports.DeleteContentResponse || (exports.DeleteContentResponse = {}));
616
+ var GetContentRequest;
617
+ (function (GetContentRequest) {
618
+ /**
619
+ * @internal
620
+ */
621
+ GetContentRequest.filterSensitiveLog = (obj) => ({
622
+ ...obj,
623
+ });
624
+ })(GetContentRequest = exports.GetContentRequest || (exports.GetContentRequest = {}));
625
+ var GetContentResponse;
626
+ (function (GetContentResponse) {
627
+ /**
628
+ * @internal
629
+ */
630
+ GetContentResponse.filterSensitiveLog = (obj) => ({
631
+ ...obj,
632
+ ...(obj.content && { content: ContentData.filterSensitiveLog(obj.content) }),
633
+ });
634
+ })(GetContentResponse = exports.GetContentResponse || (exports.GetContentResponse = {}));
635
+ var GetContentSummaryRequest;
636
+ (function (GetContentSummaryRequest) {
637
+ /**
638
+ * @internal
639
+ */
640
+ GetContentSummaryRequest.filterSensitiveLog = (obj) => ({
641
+ ...obj,
642
+ });
643
+ })(GetContentSummaryRequest = exports.GetContentSummaryRequest || (exports.GetContentSummaryRequest = {}));
644
+ var ContentSummary;
645
+ (function (ContentSummary) {
646
+ /**
647
+ * @internal
648
+ */
649
+ ContentSummary.filterSensitiveLog = (obj) => ({
650
+ ...obj,
651
+ });
652
+ })(ContentSummary = exports.ContentSummary || (exports.ContentSummary = {}));
653
+ var GetContentSummaryResponse;
654
+ (function (GetContentSummaryResponse) {
655
+ /**
656
+ * @internal
657
+ */
658
+ GetContentSummaryResponse.filterSensitiveLog = (obj) => ({
659
+ ...obj,
660
+ });
661
+ })(GetContentSummaryResponse = exports.GetContentSummaryResponse || (exports.GetContentSummaryResponse = {}));
662
+ var ListContentsRequest;
663
+ (function (ListContentsRequest) {
664
+ /**
665
+ * @internal
666
+ */
667
+ ListContentsRequest.filterSensitiveLog = (obj) => ({
668
+ ...obj,
669
+ });
670
+ })(ListContentsRequest = exports.ListContentsRequest || (exports.ListContentsRequest = {}));
671
+ var ListContentsResponse;
672
+ (function (ListContentsResponse) {
673
+ /**
674
+ * @internal
675
+ */
676
+ ListContentsResponse.filterSensitiveLog = (obj) => ({
677
+ ...obj,
678
+ });
679
+ })(ListContentsResponse = exports.ListContentsResponse || (exports.ListContentsResponse = {}));
680
+ var PreconditionFailedException;
681
+ (function (PreconditionFailedException) {
682
+ /**
683
+ * @internal
684
+ */
685
+ PreconditionFailedException.filterSensitiveLog = (obj) => ({
686
+ ...obj,
687
+ });
688
+ })(PreconditionFailedException = exports.PreconditionFailedException || (exports.PreconditionFailedException = {}));
689
+ var UpdateContentRequest;
690
+ (function (UpdateContentRequest) {
691
+ /**
692
+ * @internal
693
+ */
694
+ UpdateContentRequest.filterSensitiveLog = (obj) => ({
695
+ ...obj,
696
+ });
697
+ })(UpdateContentRequest = exports.UpdateContentRequest || (exports.UpdateContentRequest = {}));
698
+ var UpdateContentResponse;
699
+ (function (UpdateContentResponse) {
700
+ /**
701
+ * @internal
702
+ */
703
+ UpdateContentResponse.filterSensitiveLog = (obj) => ({
704
+ ...obj,
705
+ ...(obj.content && { content: ContentData.filterSensitiveLog(obj.content) }),
706
+ });
707
+ })(UpdateContentResponse = exports.UpdateContentResponse || (exports.UpdateContentResponse = {}));
708
+ var KnowledgeBaseType;
709
+ (function (KnowledgeBaseType) {
710
+ KnowledgeBaseType["CUSTOM"] = "CUSTOM";
711
+ KnowledgeBaseType["EXTERNAL"] = "EXTERNAL";
712
+ })(KnowledgeBaseType = exports.KnowledgeBaseType || (exports.KnowledgeBaseType = {}));
713
+ var RenderingConfiguration;
714
+ (function (RenderingConfiguration) {
715
+ /**
716
+ * @internal
717
+ */
718
+ RenderingConfiguration.filterSensitiveLog = (obj) => ({
719
+ ...obj,
720
+ });
721
+ })(RenderingConfiguration = exports.RenderingConfiguration || (exports.RenderingConfiguration = {}));
722
+ var SourceConfiguration;
723
+ (function (SourceConfiguration) {
724
+ SourceConfiguration.visit = (value, visitor) => {
725
+ if (value.appIntegrations !== undefined)
726
+ return visitor.appIntegrations(value.appIntegrations);
727
+ return visitor._(value.$unknown[0], value.$unknown[1]);
728
+ };
729
+ /**
730
+ * @internal
731
+ */
732
+ SourceConfiguration.filterSensitiveLog = (obj) => {
733
+ if (obj.appIntegrations !== undefined)
734
+ return { appIntegrations: AppIntegrationsConfiguration.filterSensitiveLog(obj.appIntegrations) };
735
+ if (obj.$unknown !== undefined)
736
+ return { [obj.$unknown[0]]: "UNKNOWN" };
737
+ };
738
+ })(SourceConfiguration = exports.SourceConfiguration || (exports.SourceConfiguration = {}));
739
+ var CreateKnowledgeBaseRequest;
740
+ (function (CreateKnowledgeBaseRequest) {
741
+ /**
742
+ * @internal
743
+ */
744
+ CreateKnowledgeBaseRequest.filterSensitiveLog = (obj) => ({
745
+ ...obj,
746
+ ...(obj.sourceConfiguration && {
747
+ sourceConfiguration: SourceConfiguration.filterSensitiveLog(obj.sourceConfiguration),
748
+ }),
749
+ });
750
+ })(CreateKnowledgeBaseRequest = exports.CreateKnowledgeBaseRequest || (exports.CreateKnowledgeBaseRequest = {}));
751
+ var KnowledgeBaseStatus;
752
+ (function (KnowledgeBaseStatus) {
753
+ KnowledgeBaseStatus["ACTIVE"] = "ACTIVE";
754
+ KnowledgeBaseStatus["CREATE_FAILED"] = "CREATE_FAILED";
755
+ KnowledgeBaseStatus["CREATE_IN_PROGRESS"] = "CREATE_IN_PROGRESS";
756
+ KnowledgeBaseStatus["DELETED"] = "DELETED";
757
+ KnowledgeBaseStatus["DELETE_FAILED"] = "DELETE_FAILED";
758
+ KnowledgeBaseStatus["DELETE_IN_PROGRESS"] = "DELETE_IN_PROGRESS";
759
+ })(KnowledgeBaseStatus = exports.KnowledgeBaseStatus || (exports.KnowledgeBaseStatus = {}));
760
+ var KnowledgeBaseData;
761
+ (function (KnowledgeBaseData) {
762
+ /**
763
+ * @internal
764
+ */
765
+ KnowledgeBaseData.filterSensitiveLog = (obj) => ({
766
+ ...obj,
767
+ ...(obj.sourceConfiguration && {
768
+ sourceConfiguration: SourceConfiguration.filterSensitiveLog(obj.sourceConfiguration),
769
+ }),
770
+ });
771
+ })(KnowledgeBaseData = exports.KnowledgeBaseData || (exports.KnowledgeBaseData = {}));
772
+ var CreateKnowledgeBaseResponse;
773
+ (function (CreateKnowledgeBaseResponse) {
774
+ /**
775
+ * @internal
776
+ */
777
+ CreateKnowledgeBaseResponse.filterSensitiveLog = (obj) => ({
778
+ ...obj,
779
+ ...(obj.knowledgeBase && { knowledgeBase: KnowledgeBaseData.filterSensitiveLog(obj.knowledgeBase) }),
780
+ });
781
+ })(CreateKnowledgeBaseResponse = exports.CreateKnowledgeBaseResponse || (exports.CreateKnowledgeBaseResponse = {}));
782
+ var DeleteKnowledgeBaseRequest;
783
+ (function (DeleteKnowledgeBaseRequest) {
784
+ /**
785
+ * @internal
786
+ */
787
+ DeleteKnowledgeBaseRequest.filterSensitiveLog = (obj) => ({
788
+ ...obj,
789
+ });
790
+ })(DeleteKnowledgeBaseRequest = exports.DeleteKnowledgeBaseRequest || (exports.DeleteKnowledgeBaseRequest = {}));
791
+ var DeleteKnowledgeBaseResponse;
792
+ (function (DeleteKnowledgeBaseResponse) {
793
+ /**
794
+ * @internal
795
+ */
796
+ DeleteKnowledgeBaseResponse.filterSensitiveLog = (obj) => ({
797
+ ...obj,
798
+ });
799
+ })(DeleteKnowledgeBaseResponse = exports.DeleteKnowledgeBaseResponse || (exports.DeleteKnowledgeBaseResponse = {}));
800
+ var GetKnowledgeBaseRequest;
801
+ (function (GetKnowledgeBaseRequest) {
802
+ /**
803
+ * @internal
804
+ */
805
+ GetKnowledgeBaseRequest.filterSensitiveLog = (obj) => ({
806
+ ...obj,
807
+ });
808
+ })(GetKnowledgeBaseRequest = exports.GetKnowledgeBaseRequest || (exports.GetKnowledgeBaseRequest = {}));
809
+ var GetKnowledgeBaseResponse;
810
+ (function (GetKnowledgeBaseResponse) {
811
+ /**
812
+ * @internal
813
+ */
814
+ GetKnowledgeBaseResponse.filterSensitiveLog = (obj) => ({
815
+ ...obj,
816
+ ...(obj.knowledgeBase && { knowledgeBase: KnowledgeBaseData.filterSensitiveLog(obj.knowledgeBase) }),
817
+ });
818
+ })(GetKnowledgeBaseResponse = exports.GetKnowledgeBaseResponse || (exports.GetKnowledgeBaseResponse = {}));
819
+ var ListKnowledgeBasesRequest;
820
+ (function (ListKnowledgeBasesRequest) {
821
+ /**
822
+ * @internal
823
+ */
824
+ ListKnowledgeBasesRequest.filterSensitiveLog = (obj) => ({
825
+ ...obj,
826
+ });
827
+ })(ListKnowledgeBasesRequest = exports.ListKnowledgeBasesRequest || (exports.ListKnowledgeBasesRequest = {}));
828
+ var KnowledgeBaseSummary;
829
+ (function (KnowledgeBaseSummary) {
830
+ /**
831
+ * @internal
832
+ */
833
+ KnowledgeBaseSummary.filterSensitiveLog = (obj) => ({
834
+ ...obj,
835
+ ...(obj.sourceConfiguration && {
836
+ sourceConfiguration: SourceConfiguration.filterSensitiveLog(obj.sourceConfiguration),
837
+ }),
838
+ });
839
+ })(KnowledgeBaseSummary = exports.KnowledgeBaseSummary || (exports.KnowledgeBaseSummary = {}));
840
+ var ListKnowledgeBasesResponse;
841
+ (function (ListKnowledgeBasesResponse) {
842
+ /**
843
+ * @internal
844
+ */
845
+ ListKnowledgeBasesResponse.filterSensitiveLog = (obj) => ({
846
+ ...obj,
847
+ ...(obj.knowledgeBaseSummaries && {
848
+ knowledgeBaseSummaries: obj.knowledgeBaseSummaries.map((item) => KnowledgeBaseSummary.filterSensitiveLog(item)),
849
+ }),
850
+ });
851
+ })(ListKnowledgeBasesResponse = exports.ListKnowledgeBasesResponse || (exports.ListKnowledgeBasesResponse = {}));
852
+ var RemoveKnowledgeBaseTemplateUriRequest;
853
+ (function (RemoveKnowledgeBaseTemplateUriRequest) {
854
+ /**
855
+ * @internal
856
+ */
857
+ RemoveKnowledgeBaseTemplateUriRequest.filterSensitiveLog = (obj) => ({
858
+ ...obj,
859
+ });
860
+ })(RemoveKnowledgeBaseTemplateUriRequest = exports.RemoveKnowledgeBaseTemplateUriRequest || (exports.RemoveKnowledgeBaseTemplateUriRequest = {}));
861
+ var RemoveKnowledgeBaseTemplateUriResponse;
862
+ (function (RemoveKnowledgeBaseTemplateUriResponse) {
863
+ /**
864
+ * @internal
865
+ */
866
+ RemoveKnowledgeBaseTemplateUriResponse.filterSensitiveLog = (obj) => ({
867
+ ...obj,
868
+ });
869
+ })(RemoveKnowledgeBaseTemplateUriResponse = exports.RemoveKnowledgeBaseTemplateUriResponse || (exports.RemoveKnowledgeBaseTemplateUriResponse = {}));
870
+ var SearchContentRequest;
871
+ (function (SearchContentRequest) {
872
+ /**
873
+ * @internal
874
+ */
875
+ SearchContentRequest.filterSensitiveLog = (obj) => ({
876
+ ...obj,
877
+ });
878
+ })(SearchContentRequest = exports.SearchContentRequest || (exports.SearchContentRequest = {}));
879
+ var SearchContentResponse;
880
+ (function (SearchContentResponse) {
881
+ /**
882
+ * @internal
883
+ */
884
+ SearchContentResponse.filterSensitiveLog = (obj) => ({
885
+ ...obj,
886
+ });
887
+ })(SearchContentResponse = exports.SearchContentResponse || (exports.SearchContentResponse = {}));
888
+ var StartContentUploadRequest;
889
+ (function (StartContentUploadRequest) {
890
+ /**
891
+ * @internal
892
+ */
893
+ StartContentUploadRequest.filterSensitiveLog = (obj) => ({
894
+ ...obj,
895
+ });
896
+ })(StartContentUploadRequest = exports.StartContentUploadRequest || (exports.StartContentUploadRequest = {}));
897
+ var StartContentUploadResponse;
898
+ (function (StartContentUploadResponse) {
899
+ /**
900
+ * @internal
901
+ */
902
+ StartContentUploadResponse.filterSensitiveLog = (obj) => ({
903
+ ...obj,
904
+ ...(obj.url && { url: smithy_client_1.SENSITIVE_STRING }),
905
+ });
906
+ })(StartContentUploadResponse = exports.StartContentUploadResponse || (exports.StartContentUploadResponse = {}));
907
+ var UpdateKnowledgeBaseTemplateUriRequest;
908
+ (function (UpdateKnowledgeBaseTemplateUriRequest) {
909
+ /**
910
+ * @internal
911
+ */
912
+ UpdateKnowledgeBaseTemplateUriRequest.filterSensitiveLog = (obj) => ({
913
+ ...obj,
914
+ });
915
+ })(UpdateKnowledgeBaseTemplateUriRequest = exports.UpdateKnowledgeBaseTemplateUriRequest || (exports.UpdateKnowledgeBaseTemplateUriRequest = {}));
916
+ var UpdateKnowledgeBaseTemplateUriResponse;
917
+ (function (UpdateKnowledgeBaseTemplateUriResponse) {
918
+ /**
919
+ * @internal
920
+ */
921
+ UpdateKnowledgeBaseTemplateUriResponse.filterSensitiveLog = (obj) => ({
922
+ ...obj,
923
+ ...(obj.knowledgeBase && { knowledgeBase: KnowledgeBaseData.filterSensitiveLog(obj.knowledgeBase) }),
924
+ });
925
+ })(UpdateKnowledgeBaseTemplateUriResponse = exports.UpdateKnowledgeBaseTemplateUriResponse || (exports.UpdateKnowledgeBaseTemplateUriResponse = {}));
926
+ var ListTagsForResourceRequest;
927
+ (function (ListTagsForResourceRequest) {
928
+ /**
929
+ * @internal
930
+ */
931
+ ListTagsForResourceRequest.filterSensitiveLog = (obj) => ({
932
+ ...obj,
933
+ });
934
+ })(ListTagsForResourceRequest = exports.ListTagsForResourceRequest || (exports.ListTagsForResourceRequest = {}));
935
+ var ListTagsForResourceResponse;
936
+ (function (ListTagsForResourceResponse) {
937
+ /**
938
+ * @internal
939
+ */
940
+ ListTagsForResourceResponse.filterSensitiveLog = (obj) => ({
941
+ ...obj,
942
+ });
943
+ })(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
944
+ var TagResourceRequest;
945
+ (function (TagResourceRequest) {
946
+ /**
947
+ * @internal
948
+ */
949
+ TagResourceRequest.filterSensitiveLog = (obj) => ({
950
+ ...obj,
951
+ });
952
+ })(TagResourceRequest = exports.TagResourceRequest || (exports.TagResourceRequest = {}));
953
+ var TagResourceResponse;
954
+ (function (TagResourceResponse) {
955
+ /**
956
+ * @internal
957
+ */
958
+ TagResourceResponse.filterSensitiveLog = (obj) => ({
959
+ ...obj,
960
+ });
961
+ })(TagResourceResponse = exports.TagResourceResponse || (exports.TagResourceResponse = {}));
962
+ var TooManyTagsException;
963
+ (function (TooManyTagsException) {
964
+ /**
965
+ * @internal
966
+ */
967
+ TooManyTagsException.filterSensitiveLog = (obj) => ({
968
+ ...obj,
969
+ });
970
+ })(TooManyTagsException = exports.TooManyTagsException || (exports.TooManyTagsException = {}));
971
+ var UntagResourceRequest;
972
+ (function (UntagResourceRequest) {
973
+ /**
974
+ * @internal
975
+ */
976
+ UntagResourceRequest.filterSensitiveLog = (obj) => ({
977
+ ...obj,
978
+ });
979
+ })(UntagResourceRequest = exports.UntagResourceRequest || (exports.UntagResourceRequest = {}));
980
+ var UntagResourceResponse;
981
+ (function (UntagResourceResponse) {
982
+ /**
983
+ * @internal
984
+ */
985
+ UntagResourceResponse.filterSensitiveLog = (obj) => ({
986
+ ...obj,
987
+ });
988
+ })(UntagResourceResponse = exports.UntagResourceResponse || (exports.UntagResourceResponse = {}));
989
+ //# sourceMappingURL=models_0.js.map