@aws-sdk/client-kendra 3.35.0 → 3.38.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 (360) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/dist-cjs/Kendra.js +0 -4
  3. package/dist-cjs/KendraClient.js +0 -9
  4. package/dist-cjs/commands/BatchDeleteDocumentCommand.js +0 -29
  5. package/dist-cjs/commands/BatchGetDocumentStatusCommand.js +0 -37
  6. package/dist-cjs/commands/BatchPutDocumentCommand.js +0 -33
  7. package/dist-cjs/commands/ClearQuerySuggestionsCommand.js +0 -31
  8. package/dist-cjs/commands/CreateDataSourceCommand.js +0 -33
  9. package/dist-cjs/commands/CreateFaqCommand.js +0 -25
  10. package/dist-cjs/commands/CreateIndexCommand.js +0 -32
  11. package/dist-cjs/commands/CreateQuerySuggestionsBlockListCommand.js +0 -33
  12. package/dist-cjs/commands/CreateThesaurusCommand.js +0 -26
  13. package/dist-cjs/commands/DeleteDataSourceCommand.js +0 -29
  14. package/dist-cjs/commands/DeleteFaqCommand.js +0 -25
  15. package/dist-cjs/commands/DeleteIndexCommand.js +0 -29
  16. package/dist-cjs/commands/DeletePrincipalMappingCommand.js +0 -36
  17. package/dist-cjs/commands/DeleteQuerySuggestionsBlockListCommand.js +0 -28
  18. package/dist-cjs/commands/DeleteThesaurusCommand.js +0 -26
  19. package/dist-cjs/commands/DescribeDataSourceCommand.js +0 -25
  20. package/dist-cjs/commands/DescribeFaqCommand.js +0 -25
  21. package/dist-cjs/commands/DescribeIndexCommand.js +0 -25
  22. package/dist-cjs/commands/DescribePrincipalMappingCommand.js +0 -30
  23. package/dist-cjs/commands/DescribeQuerySuggestionsBlockListCommand.js +0 -27
  24. package/dist-cjs/commands/DescribeQuerySuggestionsConfigCommand.js +0 -27
  25. package/dist-cjs/commands/DescribeThesaurusCommand.js +0 -25
  26. package/dist-cjs/commands/GetQuerySuggestionsCommand.js +0 -25
  27. package/dist-cjs/commands/ListDataSourceSyncJobsCommand.js +0 -26
  28. package/dist-cjs/commands/ListDataSourcesCommand.js +0 -25
  29. package/dist-cjs/commands/ListFaqsCommand.js +0 -25
  30. package/dist-cjs/commands/ListGroupsOlderThanOrderingIdCommand.js +0 -26
  31. package/dist-cjs/commands/ListIndicesCommand.js +0 -25
  32. package/dist-cjs/commands/ListQuerySuggestionsBlockListsCommand.js +0 -28
  33. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
  34. package/dist-cjs/commands/ListThesauriCommand.js +0 -25
  35. package/dist-cjs/commands/PutPrincipalMappingCommand.js +0 -38
  36. package/dist-cjs/commands/QueryCommand.js +0 -46
  37. package/dist-cjs/commands/StartDataSourceSyncJobCommand.js +0 -27
  38. package/dist-cjs/commands/StopDataSourceSyncJobCommand.js +0 -26
  39. package/dist-cjs/commands/SubmitFeedbackCommand.js +0 -26
  40. package/dist-cjs/commands/TagResourceCommand.js +0 -27
  41. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  42. package/dist-cjs/commands/UpdateDataSourceCommand.js +0 -25
  43. package/dist-cjs/commands/UpdateIndexCommand.js +0 -25
  44. package/dist-cjs/commands/UpdateQuerySuggestionsBlockListCommand.js +0 -32
  45. package/dist-cjs/commands/UpdateQuerySuggestionsConfigCommand.js +0 -33
  46. package/dist-cjs/commands/UpdateThesaurusCommand.js +0 -25
  47. package/dist-cjs/commands/index.js +46 -0
  48. package/dist-cjs/endpoints.js +23 -4
  49. package/dist-cjs/index.js +4 -50
  50. package/dist-cjs/models/index.js +0 -1
  51. package/dist-cjs/models/models_0.js +15 -544
  52. package/dist-cjs/pagination/Interfaces.js +0 -1
  53. package/dist-cjs/pagination/ListDataSourceSyncJobsPaginator.js +0 -11
  54. package/dist-cjs/pagination/ListDataSourcesPaginator.js +0 -11
  55. package/dist-cjs/pagination/ListIndicesPaginator.js +0 -11
  56. package/dist-cjs/pagination/index.js +7 -0
  57. package/dist-cjs/protocols/Aws_json1_1.js +29 -6
  58. package/dist-cjs/runtimeConfig.browser.js +1 -6
  59. package/dist-cjs/runtimeConfig.js +2 -7
  60. package/dist-cjs/runtimeConfig.native.js +0 -4
  61. package/dist-cjs/runtimeConfig.shared.js +0 -4
  62. package/dist-es/Kendra.js +0 -1
  63. package/dist-es/KendraClient.js +0 -1
  64. package/dist-es/commands/BatchDeleteDocumentCommand.js +0 -1
  65. package/dist-es/commands/BatchGetDocumentStatusCommand.js +0 -1
  66. package/dist-es/commands/BatchPutDocumentCommand.js +0 -1
  67. package/dist-es/commands/ClearQuerySuggestionsCommand.js +0 -1
  68. package/dist-es/commands/CreateDataSourceCommand.js +0 -1
  69. package/dist-es/commands/CreateFaqCommand.js +0 -1
  70. package/dist-es/commands/CreateIndexCommand.js +0 -1
  71. package/dist-es/commands/CreateQuerySuggestionsBlockListCommand.js +0 -1
  72. package/dist-es/commands/CreateThesaurusCommand.js +0 -1
  73. package/dist-es/commands/DeleteDataSourceCommand.js +0 -1
  74. package/dist-es/commands/DeleteFaqCommand.js +0 -1
  75. package/dist-es/commands/DeleteIndexCommand.js +0 -1
  76. package/dist-es/commands/DeletePrincipalMappingCommand.js +0 -1
  77. package/dist-es/commands/DeleteQuerySuggestionsBlockListCommand.js +0 -1
  78. package/dist-es/commands/DeleteThesaurusCommand.js +0 -1
  79. package/dist-es/commands/DescribeDataSourceCommand.js +0 -1
  80. package/dist-es/commands/DescribeFaqCommand.js +0 -1
  81. package/dist-es/commands/DescribeIndexCommand.js +0 -1
  82. package/dist-es/commands/DescribePrincipalMappingCommand.js +0 -1
  83. package/dist-es/commands/DescribeQuerySuggestionsBlockListCommand.js +0 -1
  84. package/dist-es/commands/DescribeQuerySuggestionsConfigCommand.js +0 -1
  85. package/dist-es/commands/DescribeThesaurusCommand.js +0 -1
  86. package/dist-es/commands/GetQuerySuggestionsCommand.js +0 -1
  87. package/dist-es/commands/ListDataSourceSyncJobsCommand.js +0 -1
  88. package/dist-es/commands/ListDataSourcesCommand.js +0 -1
  89. package/dist-es/commands/ListFaqsCommand.js +0 -1
  90. package/dist-es/commands/ListGroupsOlderThanOrderingIdCommand.js +0 -1
  91. package/dist-es/commands/ListIndicesCommand.js +0 -1
  92. package/dist-es/commands/ListQuerySuggestionsBlockListsCommand.js +0 -1
  93. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  94. package/dist-es/commands/ListThesauriCommand.js +0 -1
  95. package/dist-es/commands/PutPrincipalMappingCommand.js +0 -1
  96. package/dist-es/commands/QueryCommand.js +0 -1
  97. package/dist-es/commands/StartDataSourceSyncJobCommand.js +0 -1
  98. package/dist-es/commands/StopDataSourceSyncJobCommand.js +0 -1
  99. package/dist-es/commands/SubmitFeedbackCommand.js +0 -1
  100. package/dist-es/commands/TagResourceCommand.js +0 -1
  101. package/dist-es/commands/UntagResourceCommand.js +0 -1
  102. package/dist-es/commands/UpdateDataSourceCommand.js +0 -1
  103. package/dist-es/commands/UpdateIndexCommand.js +0 -1
  104. package/dist-es/commands/UpdateQuerySuggestionsBlockListCommand.js +0 -1
  105. package/dist-es/commands/UpdateQuerySuggestionsConfigCommand.js +0 -1
  106. package/dist-es/commands/UpdateThesaurusCommand.js +0 -1
  107. package/dist-es/commands/index.js +43 -0
  108. package/dist-es/endpoints.js +23 -4
  109. package/dist-es/index.js +4 -50
  110. package/dist-es/models/index.js +0 -1
  111. package/dist-es/models/models_0.js +10 -1
  112. package/dist-es/pagination/Interfaces.js +0 -1
  113. package/dist-es/pagination/ListDataSourceSyncJobsPaginator.js +0 -1
  114. package/dist-es/pagination/ListDataSourcesPaginator.js +0 -1
  115. package/dist-es/pagination/ListIndicesPaginator.js +0 -1
  116. package/dist-es/pagination/index.js +4 -0
  117. package/dist-es/protocols/Aws_json1_1.js +31 -10
  118. package/dist-es/runtimeConfig.browser.js +1 -2
  119. package/dist-es/runtimeConfig.js +2 -3
  120. package/dist-es/runtimeConfig.native.js +0 -1
  121. package/dist-es/runtimeConfig.shared.js +0 -1
  122. package/dist-types/Kendra.d.ts +7 -6
  123. package/dist-types/commands/CreateDataSourceCommand.d.ts +3 -4
  124. package/dist-types/commands/PutPrincipalMappingCommand.d.ts +4 -2
  125. package/dist-types/commands/index.d.ts +43 -0
  126. package/dist-types/index.d.ts +4 -49
  127. package/dist-types/models/models_0.d.ts +167 -42
  128. package/dist-types/pagination/index.d.ts +4 -0
  129. package/dist-types/ts3.4/Kendra.d.ts +44 -279
  130. package/dist-types/ts3.4/KendraClient.d.ts +24 -89
  131. package/dist-types/ts3.4/commands/BatchDeleteDocumentCommand.d.ts +2 -24
  132. package/dist-types/ts3.4/commands/BatchGetDocumentStatusCommand.d.ts +2 -32
  133. package/dist-types/ts3.4/commands/BatchPutDocumentCommand.d.ts +2 -28
  134. package/dist-types/ts3.4/commands/ClearQuerySuggestionsCommand.d.ts +2 -26
  135. package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +2 -28
  136. package/dist-types/ts3.4/commands/CreateFaqCommand.d.ts +2 -20
  137. package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +2 -27
  138. package/dist-types/ts3.4/commands/CreateQuerySuggestionsBlockListCommand.d.ts +2 -28
  139. package/dist-types/ts3.4/commands/CreateThesaurusCommand.d.ts +2 -21
  140. package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +2 -24
  141. package/dist-types/ts3.4/commands/DeleteFaqCommand.d.ts +2 -20
  142. package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +2 -24
  143. package/dist-types/ts3.4/commands/DeletePrincipalMappingCommand.d.ts +2 -31
  144. package/dist-types/ts3.4/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +2 -23
  145. package/dist-types/ts3.4/commands/DeleteThesaurusCommand.d.ts +2 -21
  146. package/dist-types/ts3.4/commands/DescribeDataSourceCommand.d.ts +2 -20
  147. package/dist-types/ts3.4/commands/DescribeFaqCommand.d.ts +2 -20
  148. package/dist-types/ts3.4/commands/DescribeIndexCommand.d.ts +2 -20
  149. package/dist-types/ts3.4/commands/DescribePrincipalMappingCommand.d.ts +2 -25
  150. package/dist-types/ts3.4/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +2 -22
  151. package/dist-types/ts3.4/commands/DescribeQuerySuggestionsConfigCommand.d.ts +2 -22
  152. package/dist-types/ts3.4/commands/DescribeThesaurusCommand.d.ts +2 -20
  153. package/dist-types/ts3.4/commands/GetQuerySuggestionsCommand.d.ts +2 -20
  154. package/dist-types/ts3.4/commands/ListDataSourceSyncJobsCommand.d.ts +2 -21
  155. package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +2 -20
  156. package/dist-types/ts3.4/commands/ListFaqsCommand.d.ts +2 -20
  157. package/dist-types/ts3.4/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +2 -21
  158. package/dist-types/ts3.4/commands/ListIndicesCommand.d.ts +2 -20
  159. package/dist-types/ts3.4/commands/ListQuerySuggestionsBlockListsCommand.d.ts +2 -23
  160. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
  161. package/dist-types/ts3.4/commands/ListThesauriCommand.d.ts +2 -20
  162. package/dist-types/ts3.4/commands/PutPrincipalMappingCommand.d.ts +2 -33
  163. package/dist-types/ts3.4/commands/QueryCommand.d.ts +2 -41
  164. package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +2 -22
  165. package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +2 -21
  166. package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +2 -21
  167. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -22
  168. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  169. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +2 -20
  170. package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +2 -20
  171. package/dist-types/ts3.4/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +2 -27
  172. package/dist-types/ts3.4/commands/UpdateQuerySuggestionsConfigCommand.d.ts +2 -28
  173. package/dist-types/ts3.4/commands/UpdateThesaurusCommand.d.ts +2 -20
  174. package/dist-types/ts3.4/commands/index.d.ts +43 -0
  175. package/dist-types/ts3.4/index.d.ts +4 -49
  176. package/dist-types/ts3.4/models/models_0.d.ts +959 -4225
  177. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  178. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  179. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  180. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  181. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  182. package/package.json +33 -30
  183. package/dist-cjs/Kendra.js.map +0 -1
  184. package/dist-cjs/KendraClient.js.map +0 -1
  185. package/dist-cjs/commands/BatchDeleteDocumentCommand.js.map +0 -1
  186. package/dist-cjs/commands/BatchGetDocumentStatusCommand.js.map +0 -1
  187. package/dist-cjs/commands/BatchPutDocumentCommand.js.map +0 -1
  188. package/dist-cjs/commands/ClearQuerySuggestionsCommand.js.map +0 -1
  189. package/dist-cjs/commands/CreateDataSourceCommand.js.map +0 -1
  190. package/dist-cjs/commands/CreateFaqCommand.js.map +0 -1
  191. package/dist-cjs/commands/CreateIndexCommand.js.map +0 -1
  192. package/dist-cjs/commands/CreateQuerySuggestionsBlockListCommand.js.map +0 -1
  193. package/dist-cjs/commands/CreateThesaurusCommand.js.map +0 -1
  194. package/dist-cjs/commands/DeleteDataSourceCommand.js.map +0 -1
  195. package/dist-cjs/commands/DeleteFaqCommand.js.map +0 -1
  196. package/dist-cjs/commands/DeleteIndexCommand.js.map +0 -1
  197. package/dist-cjs/commands/DeletePrincipalMappingCommand.js.map +0 -1
  198. package/dist-cjs/commands/DeleteQuerySuggestionsBlockListCommand.js.map +0 -1
  199. package/dist-cjs/commands/DeleteThesaurusCommand.js.map +0 -1
  200. package/dist-cjs/commands/DescribeDataSourceCommand.js.map +0 -1
  201. package/dist-cjs/commands/DescribeFaqCommand.js.map +0 -1
  202. package/dist-cjs/commands/DescribeIndexCommand.js.map +0 -1
  203. package/dist-cjs/commands/DescribePrincipalMappingCommand.js.map +0 -1
  204. package/dist-cjs/commands/DescribeQuerySuggestionsBlockListCommand.js.map +0 -1
  205. package/dist-cjs/commands/DescribeQuerySuggestionsConfigCommand.js.map +0 -1
  206. package/dist-cjs/commands/DescribeThesaurusCommand.js.map +0 -1
  207. package/dist-cjs/commands/GetQuerySuggestionsCommand.js.map +0 -1
  208. package/dist-cjs/commands/ListDataSourceSyncJobsCommand.js.map +0 -1
  209. package/dist-cjs/commands/ListDataSourcesCommand.js.map +0 -1
  210. package/dist-cjs/commands/ListFaqsCommand.js.map +0 -1
  211. package/dist-cjs/commands/ListGroupsOlderThanOrderingIdCommand.js.map +0 -1
  212. package/dist-cjs/commands/ListIndicesCommand.js.map +0 -1
  213. package/dist-cjs/commands/ListQuerySuggestionsBlockListsCommand.js.map +0 -1
  214. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  215. package/dist-cjs/commands/ListThesauriCommand.js.map +0 -1
  216. package/dist-cjs/commands/PutPrincipalMappingCommand.js.map +0 -1
  217. package/dist-cjs/commands/QueryCommand.js.map +0 -1
  218. package/dist-cjs/commands/StartDataSourceSyncJobCommand.js.map +0 -1
  219. package/dist-cjs/commands/StopDataSourceSyncJobCommand.js.map +0 -1
  220. package/dist-cjs/commands/SubmitFeedbackCommand.js.map +0 -1
  221. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  222. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  223. package/dist-cjs/commands/UpdateDataSourceCommand.js.map +0 -1
  224. package/dist-cjs/commands/UpdateIndexCommand.js.map +0 -1
  225. package/dist-cjs/commands/UpdateQuerySuggestionsBlockListCommand.js.map +0 -1
  226. package/dist-cjs/commands/UpdateQuerySuggestionsConfigCommand.js.map +0 -1
  227. package/dist-cjs/commands/UpdateThesaurusCommand.js.map +0 -1
  228. package/dist-cjs/endpoints.js.map +0 -1
  229. package/dist-cjs/index.js.map +0 -1
  230. package/dist-cjs/models/index.js.map +0 -1
  231. package/dist-cjs/models/models_0.js.map +0 -1
  232. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  233. package/dist-cjs/pagination/ListDataSourceSyncJobsPaginator.js.map +0 -1
  234. package/dist-cjs/pagination/ListDataSourcesPaginator.js.map +0 -1
  235. package/dist-cjs/pagination/ListIndicesPaginator.js.map +0 -1
  236. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  237. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  238. package/dist-cjs/runtimeConfig.js.map +0 -1
  239. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  240. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  241. package/dist-es/Kendra.js.map +0 -1
  242. package/dist-es/KendraClient.js.map +0 -1
  243. package/dist-es/commands/BatchDeleteDocumentCommand.js.map +0 -1
  244. package/dist-es/commands/BatchGetDocumentStatusCommand.js.map +0 -1
  245. package/dist-es/commands/BatchPutDocumentCommand.js.map +0 -1
  246. package/dist-es/commands/ClearQuerySuggestionsCommand.js.map +0 -1
  247. package/dist-es/commands/CreateDataSourceCommand.js.map +0 -1
  248. package/dist-es/commands/CreateFaqCommand.js.map +0 -1
  249. package/dist-es/commands/CreateIndexCommand.js.map +0 -1
  250. package/dist-es/commands/CreateQuerySuggestionsBlockListCommand.js.map +0 -1
  251. package/dist-es/commands/CreateThesaurusCommand.js.map +0 -1
  252. package/dist-es/commands/DeleteDataSourceCommand.js.map +0 -1
  253. package/dist-es/commands/DeleteFaqCommand.js.map +0 -1
  254. package/dist-es/commands/DeleteIndexCommand.js.map +0 -1
  255. package/dist-es/commands/DeletePrincipalMappingCommand.js.map +0 -1
  256. package/dist-es/commands/DeleteQuerySuggestionsBlockListCommand.js.map +0 -1
  257. package/dist-es/commands/DeleteThesaurusCommand.js.map +0 -1
  258. package/dist-es/commands/DescribeDataSourceCommand.js.map +0 -1
  259. package/dist-es/commands/DescribeFaqCommand.js.map +0 -1
  260. package/dist-es/commands/DescribeIndexCommand.js.map +0 -1
  261. package/dist-es/commands/DescribePrincipalMappingCommand.js.map +0 -1
  262. package/dist-es/commands/DescribeQuerySuggestionsBlockListCommand.js.map +0 -1
  263. package/dist-es/commands/DescribeQuerySuggestionsConfigCommand.js.map +0 -1
  264. package/dist-es/commands/DescribeThesaurusCommand.js.map +0 -1
  265. package/dist-es/commands/GetQuerySuggestionsCommand.js.map +0 -1
  266. package/dist-es/commands/ListDataSourceSyncJobsCommand.js.map +0 -1
  267. package/dist-es/commands/ListDataSourcesCommand.js.map +0 -1
  268. package/dist-es/commands/ListFaqsCommand.js.map +0 -1
  269. package/dist-es/commands/ListGroupsOlderThanOrderingIdCommand.js.map +0 -1
  270. package/dist-es/commands/ListIndicesCommand.js.map +0 -1
  271. package/dist-es/commands/ListQuerySuggestionsBlockListsCommand.js.map +0 -1
  272. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  273. package/dist-es/commands/ListThesauriCommand.js.map +0 -1
  274. package/dist-es/commands/PutPrincipalMappingCommand.js.map +0 -1
  275. package/dist-es/commands/QueryCommand.js.map +0 -1
  276. package/dist-es/commands/StartDataSourceSyncJobCommand.js.map +0 -1
  277. package/dist-es/commands/StopDataSourceSyncJobCommand.js.map +0 -1
  278. package/dist-es/commands/SubmitFeedbackCommand.js.map +0 -1
  279. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  280. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  281. package/dist-es/commands/UpdateDataSourceCommand.js.map +0 -1
  282. package/dist-es/commands/UpdateIndexCommand.js.map +0 -1
  283. package/dist-es/commands/UpdateQuerySuggestionsBlockListCommand.js.map +0 -1
  284. package/dist-es/commands/UpdateQuerySuggestionsConfigCommand.js.map +0 -1
  285. package/dist-es/commands/UpdateThesaurusCommand.js.map +0 -1
  286. package/dist-es/endpoints.js.map +0 -1
  287. package/dist-es/index.js.map +0 -1
  288. package/dist-es/models/index.js.map +0 -1
  289. package/dist-es/models/models_0.js.map +0 -1
  290. package/dist-es/pagination/Interfaces.js.map +0 -1
  291. package/dist-es/pagination/ListDataSourceSyncJobsPaginator.js.map +0 -1
  292. package/dist-es/pagination/ListDataSourcesPaginator.js.map +0 -1
  293. package/dist-es/pagination/ListIndicesPaginator.js.map +0 -1
  294. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  295. package/dist-es/runtimeConfig.browser.js.map +0 -1
  296. package/dist-es/runtimeConfig.js.map +0 -1
  297. package/dist-es/runtimeConfig.native.js.map +0 -1
  298. package/dist-es/runtimeConfig.shared.js.map +0 -1
  299. package/jest.config.js +0 -4
  300. package/src/Kendra.ts +0 -1643
  301. package/src/KendraClient.ts +0 -422
  302. package/src/commands/BatchDeleteDocumentCommand.ts +0 -99
  303. package/src/commands/BatchGetDocumentStatusCommand.ts +0 -107
  304. package/src/commands/BatchPutDocumentCommand.ts +0 -103
  305. package/src/commands/ClearQuerySuggestionsCommand.ts +0 -101
  306. package/src/commands/CreateDataSourceCommand.ts +0 -103
  307. package/src/commands/CreateFaqCommand.ts +0 -92
  308. package/src/commands/CreateIndexCommand.ts +0 -102
  309. package/src/commands/CreateQuerySuggestionsBlockListCommand.ts +0 -111
  310. package/src/commands/CreateThesaurusCommand.ts +0 -96
  311. package/src/commands/DeleteDataSourceCommand.ts +0 -99
  312. package/src/commands/DeleteFaqCommand.ts +0 -92
  313. package/src/commands/DeleteIndexCommand.ts +0 -99
  314. package/src/commands/DeletePrincipalMappingCommand.ts +0 -106
  315. package/src/commands/DeleteQuerySuggestionsBlockListCommand.ts +0 -104
  316. package/src/commands/DeleteThesaurusCommand.ts +0 -96
  317. package/src/commands/DescribeDataSourceCommand.ts +0 -95
  318. package/src/commands/DescribeFaqCommand.ts +0 -95
  319. package/src/commands/DescribeIndexCommand.ts +0 -95
  320. package/src/commands/DescribePrincipalMappingCommand.ts +0 -100
  321. package/src/commands/DescribeQuerySuggestionsBlockListCommand.ts +0 -108
  322. package/src/commands/DescribeQuerySuggestionsConfigCommand.ts +0 -105
  323. package/src/commands/DescribeThesaurusCommand.ts +0 -95
  324. package/src/commands/GetQuerySuggestionsCommand.ts +0 -95
  325. package/src/commands/ListDataSourceSyncJobsCommand.ts +0 -96
  326. package/src/commands/ListDataSourcesCommand.ts +0 -95
  327. package/src/commands/ListFaqsCommand.ts +0 -88
  328. package/src/commands/ListGroupsOlderThanOrderingIdCommand.ts +0 -101
  329. package/src/commands/ListIndicesCommand.ts +0 -95
  330. package/src/commands/ListQuerySuggestionsBlockListsCommand.ts +0 -106
  331. package/src/commands/ListTagsForResourceCommand.ts +0 -96
  332. package/src/commands/ListThesauriCommand.ts +0 -95
  333. package/src/commands/PutPrincipalMappingCommand.ts +0 -108
  334. package/src/commands/QueryCommand.ts +0 -109
  335. package/src/commands/StartDataSourceSyncJobCommand.ts +0 -97
  336. package/src/commands/StopDataSourceSyncJobCommand.ts +0 -96
  337. package/src/commands/SubmitFeedbackCommand.ts +0 -96
  338. package/src/commands/TagResourceCommand.ts +0 -97
  339. package/src/commands/UntagResourceCommand.ts +0 -95
  340. package/src/commands/UpdateDataSourceCommand.ts +0 -95
  341. package/src/commands/UpdateIndexCommand.ts +0 -95
  342. package/src/commands/UpdateQuerySuggestionsBlockListCommand.ts +0 -108
  343. package/src/commands/UpdateQuerySuggestionsConfigCommand.ts +0 -106
  344. package/src/commands/UpdateThesaurusCommand.ts +0 -95
  345. package/src/endpoints.ts +0 -57
  346. package/src/index.ts +0 -50
  347. package/src/models/index.ts +0 -1
  348. package/src/models/models_0.ts +0 -7376
  349. package/src/pagination/Interfaces.ts +0 -8
  350. package/src/pagination/ListDataSourceSyncJobsPaginator.ts +0 -59
  351. package/src/pagination/ListDataSourcesPaginator.ts +0 -59
  352. package/src/pagination/ListIndicesPaginator.ts +0 -55
  353. package/src/protocols/Aws_json1_1.ts +0 -9632
  354. package/src/runtimeConfig.browser.ts +0 -41
  355. package/src/runtimeConfig.native.ts +0 -17
  356. package/src/runtimeConfig.shared.ts +0 -17
  357. package/src/runtimeConfig.ts +0 -46
  358. package/tsconfig.es.json +0 -10
  359. package/tsconfig.json +0 -33
  360. package/tsconfig.types.json +0 -9
@@ -1,105 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
15
- import { DescribeQuerySuggestionsConfigRequest, DescribeQuerySuggestionsConfigResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeQuerySuggestionsConfigCommand,
18
- serializeAws_json1_1DescribeQuerySuggestionsConfigCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeQuerySuggestionsConfigCommandInput extends DescribeQuerySuggestionsConfigRequest {}
22
- export interface DescribeQuerySuggestionsConfigCommandOutput
23
- extends DescribeQuerySuggestionsConfigResponse,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>Describes the settings of query suggestions for an index.</p>
28
- * <p>This is used to check the current settings applied
29
- * to query suggestions.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { KendraClient, DescribeQuerySuggestionsConfigCommand } from "@aws-sdk/client-kendra"; // ES Modules import
34
- * // const { KendraClient, DescribeQuerySuggestionsConfigCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
35
- * const client = new KendraClient(config);
36
- * const command = new DescribeQuerySuggestionsConfigCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link DescribeQuerySuggestionsConfigCommandInput} for command's `input` shape.
41
- * @see {@link DescribeQuerySuggestionsConfigCommandOutput} for command's `response` shape.
42
- * @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class DescribeQuerySuggestionsConfigCommand extends $Command<
46
- DescribeQuerySuggestionsConfigCommandInput,
47
- DescribeQuerySuggestionsConfigCommandOutput,
48
- KendraClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: DescribeQuerySuggestionsConfigCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: KendraClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<DescribeQuerySuggestionsConfigCommandInput, DescribeQuerySuggestionsConfigCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "KendraClient";
73
- const commandName = "DescribeQuerySuggestionsConfigCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: DescribeQuerySuggestionsConfigRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: DescribeQuerySuggestionsConfigResponse.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(
90
- input: DescribeQuerySuggestionsConfigCommandInput,
91
- context: __SerdeContext
92
- ): Promise<__HttpRequest> {
93
- return serializeAws_json1_1DescribeQuerySuggestionsConfigCommand(input, context);
94
- }
95
-
96
- private deserialize(
97
- output: __HttpResponse,
98
- context: __SerdeContext
99
- ): Promise<DescribeQuerySuggestionsConfigCommandOutput> {
100
- return deserializeAws_json1_1DescribeQuerySuggestionsConfigCommand(output, context);
101
- }
102
-
103
- // Start section: command_body_extra
104
- // End section: command_body_extra
105
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
15
- import { DescribeThesaurusRequest, DescribeThesaurusResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeThesaurusCommand,
18
- serializeAws_json1_1DescribeThesaurusCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeThesaurusCommandInput extends DescribeThesaurusRequest {}
22
- export interface DescribeThesaurusCommandOutput extends DescribeThesaurusResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Describes an existing Amazon Kendra thesaurus.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { KendraClient, DescribeThesaurusCommand } from "@aws-sdk/client-kendra"; // ES Modules import
30
- * // const { KendraClient, DescribeThesaurusCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
31
- * const client = new KendraClient(config);
32
- * const command = new DescribeThesaurusCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeThesaurusCommandInput} for command's `input` shape.
37
- * @see {@link DescribeThesaurusCommandOutput} for command's `response` shape.
38
- * @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeThesaurusCommand extends $Command<
42
- DescribeThesaurusCommandInput,
43
- DescribeThesaurusCommandOutput,
44
- KendraClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeThesaurusCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: KendraClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DescribeThesaurusCommandInput, DescribeThesaurusCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "KendraClient";
69
- const commandName = "DescribeThesaurusCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeThesaurusRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeThesaurusResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DescribeThesaurusCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DescribeThesaurusCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeThesaurusCommandOutput> {
90
- return deserializeAws_json1_1DescribeThesaurusCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
15
- import { GetQuerySuggestionsRequest, GetQuerySuggestionsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1GetQuerySuggestionsCommand,
18
- serializeAws_json1_1GetQuerySuggestionsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface GetQuerySuggestionsCommandInput extends GetQuerySuggestionsRequest {}
22
- export interface GetQuerySuggestionsCommandOutput extends GetQuerySuggestionsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Fetches the queries that are suggested to your users.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { KendraClient, GetQuerySuggestionsCommand } from "@aws-sdk/client-kendra"; // ES Modules import
30
- * // const { KendraClient, GetQuerySuggestionsCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
31
- * const client = new KendraClient(config);
32
- * const command = new GetQuerySuggestionsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetQuerySuggestionsCommandInput} for command's `input` shape.
37
- * @see {@link GetQuerySuggestionsCommandOutput} for command's `response` shape.
38
- * @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetQuerySuggestionsCommand extends $Command<
42
- GetQuerySuggestionsCommandInput,
43
- GetQuerySuggestionsCommandOutput,
44
- KendraClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetQuerySuggestionsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: KendraClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<GetQuerySuggestionsCommandInput, GetQuerySuggestionsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "KendraClient";
69
- const commandName = "GetQuerySuggestionsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetQuerySuggestionsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetQuerySuggestionsResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: GetQuerySuggestionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1GetQuerySuggestionsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetQuerySuggestionsCommandOutput> {
90
- return deserializeAws_json1_1GetQuerySuggestionsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
15
- import { ListDataSourceSyncJobsRequest, ListDataSourceSyncJobsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1ListDataSourceSyncJobsCommand,
18
- serializeAws_json1_1ListDataSourceSyncJobsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface ListDataSourceSyncJobsCommandInput extends ListDataSourceSyncJobsRequest {}
22
- export interface ListDataSourceSyncJobsCommandOutput extends ListDataSourceSyncJobsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets statistics about synchronizing Amazon Kendra with a data
26
- * source.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { KendraClient, ListDataSourceSyncJobsCommand } from "@aws-sdk/client-kendra"; // ES Modules import
31
- * // const { KendraClient, ListDataSourceSyncJobsCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
32
- * const client = new KendraClient(config);
33
- * const command = new ListDataSourceSyncJobsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link ListDataSourceSyncJobsCommandInput} for command's `input` shape.
38
- * @see {@link ListDataSourceSyncJobsCommandOutput} for command's `response` shape.
39
- * @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class ListDataSourceSyncJobsCommand extends $Command<
43
- ListDataSourceSyncJobsCommandInput,
44
- ListDataSourceSyncJobsCommandOutput,
45
- KendraClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: ListDataSourceSyncJobsCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: KendraClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<ListDataSourceSyncJobsCommandInput, ListDataSourceSyncJobsCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "KendraClient";
70
- const commandName = "ListDataSourceSyncJobsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: ListDataSourceSyncJobsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: ListDataSourceSyncJobsResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: ListDataSourceSyncJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1ListDataSourceSyncJobsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListDataSourceSyncJobsCommandOutput> {
91
- return deserializeAws_json1_1ListDataSourceSyncJobsCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
15
- import { ListDataSourcesRequest, ListDataSourcesResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1ListDataSourcesCommand,
18
- serializeAws_json1_1ListDataSourcesCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface ListDataSourcesCommandInput extends ListDataSourcesRequest {}
22
- export interface ListDataSourcesCommandOutput extends ListDataSourcesResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists the data sources that you have created.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { KendraClient, ListDataSourcesCommand } from "@aws-sdk/client-kendra"; // ES Modules import
30
- * // const { KendraClient, ListDataSourcesCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
31
- * const client = new KendraClient(config);
32
- * const command = new ListDataSourcesCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListDataSourcesCommandInput} for command's `input` shape.
37
- * @see {@link ListDataSourcesCommandOutput} for command's `response` shape.
38
- * @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListDataSourcesCommand extends $Command<
42
- ListDataSourcesCommandInput,
43
- ListDataSourcesCommandOutput,
44
- KendraClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListDataSourcesCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: KendraClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListDataSourcesCommandInput, ListDataSourcesCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "KendraClient";
69
- const commandName = "ListDataSourcesCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListDataSourcesRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListDataSourcesResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListDataSourcesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1ListDataSourcesCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListDataSourcesCommandOutput> {
90
- return deserializeAws_json1_1ListDataSourcesCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,88 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
15
- import { ListFaqsRequest, ListFaqsResponse } from "../models/models_0";
16
- import { deserializeAws_json1_1ListFaqsCommand, serializeAws_json1_1ListFaqsCommand } from "../protocols/Aws_json1_1";
17
-
18
- export interface ListFaqsCommandInput extends ListFaqsRequest {}
19
- export interface ListFaqsCommandOutput extends ListFaqsResponse, __MetadataBearer {}
20
-
21
- /**
22
- * <p>Gets a list of FAQ lists associated with an index.</p>
23
- * @example
24
- * Use a bare-bones client and the command you need to make an API call.
25
- * ```javascript
26
- * import { KendraClient, ListFaqsCommand } from "@aws-sdk/client-kendra"; // ES Modules import
27
- * // const { KendraClient, ListFaqsCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
28
- * const client = new KendraClient(config);
29
- * const command = new ListFaqsCommand(input);
30
- * const response = await client.send(command);
31
- * ```
32
- *
33
- * @see {@link ListFaqsCommandInput} for command's `input` shape.
34
- * @see {@link ListFaqsCommandOutput} for command's `response` shape.
35
- * @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
36
- *
37
- */
38
- export class ListFaqsCommand extends $Command<ListFaqsCommandInput, ListFaqsCommandOutput, KendraClientResolvedConfig> {
39
- // Start section: command_properties
40
- // End section: command_properties
41
-
42
- constructor(readonly input: ListFaqsCommandInput) {
43
- // Start section: command_constructor
44
- super();
45
- // End section: command_constructor
46
- }
47
-
48
- /**
49
- * @internal
50
- */
51
- resolveMiddleware(
52
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
53
- configuration: KendraClientResolvedConfig,
54
- options?: __HttpHandlerOptions
55
- ): Handler<ListFaqsCommandInput, ListFaqsCommandOutput> {
56
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
57
-
58
- const stack = clientStack.concat(this.middlewareStack);
59
-
60
- const { logger } = configuration;
61
- const clientName = "KendraClient";
62
- const commandName = "ListFaqsCommand";
63
- const handlerExecutionContext: HandlerExecutionContext = {
64
- logger,
65
- clientName,
66
- commandName,
67
- inputFilterSensitiveLog: ListFaqsRequest.filterSensitiveLog,
68
- outputFilterSensitiveLog: ListFaqsResponse.filterSensitiveLog,
69
- };
70
- const { requestHandler } = configuration;
71
- return stack.resolve(
72
- (request: FinalizeHandlerArguments<any>) =>
73
- requestHandler.handle(request.request as __HttpRequest, options || {}),
74
- handlerExecutionContext
75
- );
76
- }
77
-
78
- private serialize(input: ListFaqsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
79
- return serializeAws_json1_1ListFaqsCommand(input, context);
80
- }
81
-
82
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListFaqsCommandOutput> {
83
- return deserializeAws_json1_1ListFaqsCommand(output, context);
84
- }
85
-
86
- // Start section: command_body_extra
87
- // End section: command_body_extra
88
- }
@@ -1,101 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
15
- import { ListGroupsOlderThanOrderingIdRequest, ListGroupsOlderThanOrderingIdResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1ListGroupsOlderThanOrderingIdCommand,
18
- serializeAws_json1_1ListGroupsOlderThanOrderingIdCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface ListGroupsOlderThanOrderingIdCommandInput extends ListGroupsOlderThanOrderingIdRequest {}
22
- export interface ListGroupsOlderThanOrderingIdCommandOutput
23
- extends ListGroupsOlderThanOrderingIdResponse,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>Provides a list of groups that are mapped to users before a
28
- * given ordering or timestamp identifier.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { KendraClient, ListGroupsOlderThanOrderingIdCommand } from "@aws-sdk/client-kendra"; // ES Modules import
33
- * // const { KendraClient, ListGroupsOlderThanOrderingIdCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
34
- * const client = new KendraClient(config);
35
- * const command = new ListGroupsOlderThanOrderingIdCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link ListGroupsOlderThanOrderingIdCommandInput} for command's `input` shape.
40
- * @see {@link ListGroupsOlderThanOrderingIdCommandOutput} for command's `response` shape.
41
- * @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class ListGroupsOlderThanOrderingIdCommand extends $Command<
45
- ListGroupsOlderThanOrderingIdCommandInput,
46
- ListGroupsOlderThanOrderingIdCommandOutput,
47
- KendraClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: ListGroupsOlderThanOrderingIdCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: KendraClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<ListGroupsOlderThanOrderingIdCommandInput, ListGroupsOlderThanOrderingIdCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "KendraClient";
72
- const commandName = "ListGroupsOlderThanOrderingIdCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: ListGroupsOlderThanOrderingIdRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: ListGroupsOlderThanOrderingIdResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: ListGroupsOlderThanOrderingIdCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_json1_1ListGroupsOlderThanOrderingIdCommand(input, context);
90
- }
91
-
92
- private deserialize(
93
- output: __HttpResponse,
94
- context: __SerdeContext
95
- ): Promise<ListGroupsOlderThanOrderingIdCommandOutput> {
96
- return deserializeAws_json1_1ListGroupsOlderThanOrderingIdCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }