@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
package/CHANGELOG.md CHANGED
@@ -3,6 +3,55 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
12
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
13
+ * **clients:** update clients as of 2021/10/22 ([#2924](https://github.com/aws/aws-sdk-js-v3/issues/2924)) ([4d79819](https://github.com/aws/aws-sdk-js-v3/commit/4d798196e652f8cfdc1c155a46ac6b6aa31b2656))
14
+
15
+
16
+
17
+
18
+
19
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
20
+
21
+
22
+ ### Features
23
+
24
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
25
+
26
+
27
+
28
+
29
+
30
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
31
+
32
+
33
+ ### Bug Fixes
34
+
35
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
36
+
37
+
38
+
39
+
40
+
41
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
42
+
43
+
44
+ ### Features
45
+
46
+ * **clients:** update clients as of 10/07/2021 ([#2879](https://github.com/aws/aws-sdk-js-v3/issues/2879)) ([1f4441e](https://github.com/aws/aws-sdk-js-v3/commit/1f4441e46b63ae6ff01067780b26d49916c267a0))
47
+ * publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
48
+ * **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
49
+ * **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
50
+
51
+
52
+
53
+
54
+
6
55
  # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
7
56
 
8
57
 
@@ -45,9 +45,6 @@ const UpdateQuerySuggestionsBlockListCommand_1 = require("./commands/UpdateQuery
45
45
  const UpdateQuerySuggestionsConfigCommand_1 = require("./commands/UpdateQuerySuggestionsConfigCommand");
46
46
  const UpdateThesaurusCommand_1 = require("./commands/UpdateThesaurusCommand");
47
47
  const KendraClient_1 = require("./KendraClient");
48
- /**
49
- * <p>Amazon Kendra is a service for indexing large document sets.</p>
50
- */
51
48
  class Kendra extends KendraClient_1.KendraClient {
52
49
  batchDeleteDocument(args, optionsOrCb, cb) {
53
50
  const command = new BatchDeleteDocumentCommand_1.BatchDeleteDocumentCommand(args);
@@ -653,4 +650,3 @@ class Kendra extends KendraClient_1.KendraClient {
653
650
  }
654
651
  }
655
652
  exports.Kendra = Kendra;
656
- //# sourceMappingURL=Kendra.js.map
@@ -10,9 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <p>Amazon Kendra is a service for indexing large document sets.</p>
15
- */
16
13
  class KendraClient extends smithy_client_1.Client {
17
14
  constructor(configuration) {
18
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -31,14 +28,8 @@ class KendraClient extends smithy_client_1.Client {
31
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
32
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
33
30
  }
34
- /**
35
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
36
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
37
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
38
- */
39
31
  destroy() {
40
32
  super.destroy();
41
33
  }
42
34
  }
43
35
  exports.KendraClient = KendraClient;
44
- //# sourceMappingURL=KendraClient.js.map
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Removes one or more documents from an index. The documents must have
10
- * been added with the <code>BatchPutDocument</code> operation.</p>
11
- * <p>The documents are deleted asynchronously. You can see the progress of
12
- * the deletion by using Amazon Web Services CloudWatch. Any error messages related to the
13
- * processing of the batch are sent to you CloudWatch log.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { KendraClient, BatchDeleteDocumentCommand } from "@aws-sdk/client-kendra"; // ES Modules import
18
- * // const { KendraClient, BatchDeleteDocumentCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
19
- * const client = new KendraClient(config);
20
- * const command = new BatchDeleteDocumentCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link BatchDeleteDocumentCommandInput} for command's `input` shape.
25
- * @see {@link BatchDeleteDocumentCommandOutput} for command's `response` shape.
26
- * @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class BatchDeleteDocumentCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +34,3 @@ class BatchDeleteDocumentCommand extends smithy_client_1.Command {
62
34
  }
63
35
  }
64
36
  exports.BatchDeleteDocumentCommand = BatchDeleteDocumentCommand;
65
- //# sourceMappingURL=BatchDeleteDocumentCommand.js.map
@@ -5,47 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Returns the indexing status for one or more documents submitted
10
- * with the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">
11
- * BatchPutDocument</a> operation.</p>
12
- * <p>When you use the <code>BatchPutDocument</code> operation,
13
- * documents are indexed asynchronously. You can use the
14
- * <code>BatchGetDocumentStatus</code> operation to get the current
15
- * status of a list of documents so that you can determine if they have
16
- * been successfully indexed.</p>
17
- * <p>You can also use the <code>BatchGetDocumentStatus</code> operation
18
- * to check the status of the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchDeleteDocument.html">
19
- * BatchDeleteDocument</a> operation. When a document is
20
- * deleted from the index, Amazon Kendra returns <code>NOT_FOUND</code> as the
21
- * status.</p>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { KendraClient, BatchGetDocumentStatusCommand } from "@aws-sdk/client-kendra"; // ES Modules import
26
- * // const { KendraClient, BatchGetDocumentStatusCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
27
- * const client = new KendraClient(config);
28
- * const command = new BatchGetDocumentStatusCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link BatchGetDocumentStatusCommandInput} for command's `input` shape.
33
- * @see {@link BatchGetDocumentStatusCommandOutput} for command's `response` shape.
34
- * @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
8
  class BatchGetDocumentStatusCommand extends smithy_client_1.Command {
38
- // Start section: command_properties
39
- // End section: command_properties
40
9
  constructor(input) {
41
- // Start section: command_constructor
42
10
  super();
43
11
  this.input = input;
44
- // End section: command_constructor
45
12
  }
46
- /**
47
- * @internal
48
- */
49
13
  resolveMiddleware(clientStack, configuration, options) {
50
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
51
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -70,4 +34,3 @@ class BatchGetDocumentStatusCommand extends smithy_client_1.Command {
70
34
  }
71
35
  }
72
36
  exports.BatchGetDocumentStatusCommand = BatchGetDocumentStatusCommand;
73
- //# sourceMappingURL=BatchGetDocumentStatusCommand.js.map
@@ -5,43 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Adds one or more documents to an index.</p>
10
- * <p>The <code>BatchPutDocument</code> operation enables you to ingest
11
- * inline documents or a set of documents stored in an Amazon S3 bucket. Use
12
- * this operation to ingest your text and unstructured text into an index,
13
- * add custom attributes to the documents, and to attach an access control
14
- * list to the documents added to the index.</p>
15
- * <p>The documents are indexed asynchronously. You can see the progress of
16
- * the batch using Amazon Web Services CloudWatch. Any error messages related to processing
17
- * the batch are sent to your Amazon Web Services CloudWatch log.</p>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { KendraClient, BatchPutDocumentCommand } from "@aws-sdk/client-kendra"; // ES Modules import
22
- * // const { KendraClient, BatchPutDocumentCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
23
- * const client = new KendraClient(config);
24
- * const command = new BatchPutDocumentCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link BatchPutDocumentCommandInput} for command's `input` shape.
29
- * @see {@link BatchPutDocumentCommandOutput} for command's `response` shape.
30
- * @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
33
8
  class BatchPutDocumentCommand extends smithy_client_1.Command {
34
- // Start section: command_properties
35
- // End section: command_properties
36
9
  constructor(input) {
37
- // Start section: command_constructor
38
10
  super();
39
11
  this.input = input;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  resolveMiddleware(clientStack, configuration, options) {
46
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -66,4 +34,3 @@ class BatchPutDocumentCommand extends smithy_client_1.Command {
66
34
  }
67
35
  }
68
36
  exports.BatchPutDocumentCommand = BatchPutDocumentCommand;
69
- //# sourceMappingURL=BatchPutDocumentCommand.js.map
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Clears existing query suggestions from an index.</p>
10
- * <p>This deletes existing suggestions only, not the queries
11
- * in the query log. After you clear suggestions, Amazon Kendra learns
12
- * new suggestions based on new queries added to the query log
13
- * from the time you cleared suggestions. If you do not see any
14
- * new suggestions, then please allow Amazon Kendra to collect
15
- * enough queries to learn new suggestions.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { KendraClient, ClearQuerySuggestionsCommand } from "@aws-sdk/client-kendra"; // ES Modules import
20
- * // const { KendraClient, ClearQuerySuggestionsCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
21
- * const client = new KendraClient(config);
22
- * const command = new ClearQuerySuggestionsCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link ClearQuerySuggestionsCommandInput} for command's `input` shape.
27
- * @see {@link ClearQuerySuggestionsCommandOutput} for command's `response` shape.
28
- * @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class ClearQuerySuggestionsCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -64,4 +34,3 @@ class ClearQuerySuggestionsCommand extends smithy_client_1.Command {
64
34
  }
65
35
  }
66
36
  exports.ClearQuerySuggestionsCommand = ClearQuerySuggestionsCommand;
67
- //# sourceMappingURL=ClearQuerySuggestionsCommand.js.map
@@ -5,43 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a data source that you use to with an Amazon Kendra index. </p>
10
- * <p>You specify a name, data source connector type and description for
11
- * your data source. You also specify configuration information such as
12
- * document metadata (author, source URI, and so on) and user context
13
- * information.</p>
14
- * <p>
15
- * <code>CreateDataSource</code> is a synchronous operation. The
16
- * operation returns 200 if the data source was successfully created.
17
- * Otherwise, an exception is raised.</p>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { KendraClient, CreateDataSourceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
22
- * // const { KendraClient, CreateDataSourceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
23
- * const client = new KendraClient(config);
24
- * const command = new CreateDataSourceCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link CreateDataSourceCommandInput} for command's `input` shape.
29
- * @see {@link CreateDataSourceCommandOutput} for command's `response` shape.
30
- * @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
33
8
  class CreateDataSourceCommand extends smithy_client_1.Command {
34
- // Start section: command_properties
35
- // End section: command_properties
36
9
  constructor(input) {
37
- // Start section: command_constructor
38
10
  super();
39
11
  this.input = input;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  resolveMiddleware(clientStack, configuration, options) {
46
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -66,4 +34,3 @@ class CreateDataSourceCommand extends smithy_client_1.Command {
66
34
  }
67
35
  }
68
36
  exports.CreateDataSourceCommand = CreateDataSourceCommand;
69
- //# sourceMappingURL=CreateDataSourceCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates an new set of frequently asked question (FAQ) questions and answers.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { KendraClient, CreateFaqCommand } from "@aws-sdk/client-kendra"; // ES Modules import
14
- * // const { KendraClient, CreateFaqCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
15
- * const client = new KendraClient(config);
16
- * const command = new CreateFaqCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateFaqCommandInput} for command's `input` shape.
21
- * @see {@link CreateFaqCommandOutput} for command's `response` shape.
22
- * @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateFaqCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class CreateFaqCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.CreateFaqCommand = CreateFaqCommand;
61
- //# sourceMappingURL=CreateFaqCommand.js.map
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a new Amazon Kendra index. Index creation is an asynchronous
10
- * operation. To determine if index creation has completed, check the
11
- * <code>Status</code> field returned from a call to
12
- * <code>DescribeIndex</code>. The <code>Status</code> field is set to
13
- * <code>ACTIVE</code> when the index is ready to use.</p>
14
- * <p>Once the index is active you can index your documents using the
15
- * <code>BatchPutDocument</code> operation or using one of the supported
16
- * data sources. </p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { KendraClient, CreateIndexCommand } from "@aws-sdk/client-kendra"; // ES Modules import
21
- * // const { KendraClient, CreateIndexCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
22
- * const client = new KendraClient(config);
23
- * const command = new CreateIndexCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link CreateIndexCommandInput} for command's `input` shape.
28
- * @see {@link CreateIndexCommandOutput} for command's `response` shape.
29
- * @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
8
  class CreateIndexCommand extends smithy_client_1.Command {
33
- // Start section: command_properties
34
- // End section: command_properties
35
9
  constructor(input) {
36
- // Start section: command_constructor
37
10
  super();
38
11
  this.input = input;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  resolveMiddleware(clientStack, configuration, options) {
45
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -65,4 +34,3 @@ class CreateIndexCommand extends smithy_client_1.Command {
65
34
  }
66
35
  }
67
36
  exports.CreateIndexCommand = CreateIndexCommand;
68
- //# sourceMappingURL=CreateIndexCommand.js.map
@@ -5,43 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a block list to exlcude certain queries from suggestions.</p>
10
- * <p>Any query that contains words or phrases specified in the block
11
- * list is blocked or filtered out from being shown as a suggestion.</p>
12
- * <p>You need to provide the file location of your block list text file
13
- * in your S3 bucket. In your text file, enter each block word or phrase
14
- * on a separate line.</p>
15
- * <p>For information on the current quota limits for block lists, see
16
- * <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas
17
- * for Amazon Kendra</a>.</p>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { KendraClient, CreateQuerySuggestionsBlockListCommand } from "@aws-sdk/client-kendra"; // ES Modules import
22
- * // const { KendraClient, CreateQuerySuggestionsBlockListCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
23
- * const client = new KendraClient(config);
24
- * const command = new CreateQuerySuggestionsBlockListCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link CreateQuerySuggestionsBlockListCommandInput} for command's `input` shape.
29
- * @see {@link CreateQuerySuggestionsBlockListCommandOutput} for command's `response` shape.
30
- * @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
33
8
  class CreateQuerySuggestionsBlockListCommand extends smithy_client_1.Command {
34
- // Start section: command_properties
35
- // End section: command_properties
36
9
  constructor(input) {
37
- // Start section: command_constructor
38
10
  super();
39
11
  this.input = input;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  resolveMiddleware(clientStack, configuration, options) {
46
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -66,4 +34,3 @@ class CreateQuerySuggestionsBlockListCommand extends smithy_client_1.Command {
66
34
  }
67
35
  }
68
36
  exports.CreateQuerySuggestionsBlockListCommand = CreateQuerySuggestionsBlockListCommand;
69
- //# sourceMappingURL=CreateQuerySuggestionsBlockListCommand.js.map
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a thesaurus for an index. The thesaurus
10
- * contains a list of synonyms in Solr format.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { KendraClient, CreateThesaurusCommand } from "@aws-sdk/client-kendra"; // ES Modules import
15
- * // const { KendraClient, CreateThesaurusCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
16
- * const client = new KendraClient(config);
17
- * const command = new CreateThesaurusCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateThesaurusCommandInput} for command's `input` shape.
22
- * @see {@link CreateThesaurusCommandOutput} for command's `response` shape.
23
- * @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class CreateThesaurusCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class CreateThesaurusCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.CreateThesaurusCommand = CreateThesaurusCommand;
62
- //# sourceMappingURL=CreateThesaurusCommand.js.map
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deletes an Amazon Kendra data source. An exception is not thrown if the
10
- * data source is already being deleted. While the data source is being
11
- * deleted, the <code>Status</code> field returned by a call to the
12
- * <code>DescribeDataSource</code> operation is set to
13
- * <code>DELETING</code>. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/delete-data-source.html">Deleting Data Sources</a>.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { KendraClient, DeleteDataSourceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
18
- * // const { KendraClient, DeleteDataSourceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
19
- * const client = new KendraClient(config);
20
- * const command = new DeleteDataSourceCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DeleteDataSourceCommandInput} for command's `input` shape.
25
- * @see {@link DeleteDataSourceCommandOutput} for command's `response` shape.
26
- * @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class DeleteDataSourceCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +34,3 @@ class DeleteDataSourceCommand extends smithy_client_1.Command {
62
34
  }
63
35
  }
64
36
  exports.DeleteDataSourceCommand = DeleteDataSourceCommand;
65
- //# sourceMappingURL=DeleteDataSourceCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Removes an FAQ from an index.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { KendraClient, DeleteFaqCommand } from "@aws-sdk/client-kendra"; // ES Modules import
14
- * // const { KendraClient, DeleteFaqCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
15
- * const client = new KendraClient(config);
16
- * const command = new DeleteFaqCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteFaqCommandInput} for command's `input` shape.
21
- * @see {@link DeleteFaqCommandOutput} for command's `response` shape.
22
- * @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteFaqCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DeleteFaqCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DeleteFaqCommand = DeleteFaqCommand;
61
- //# sourceMappingURL=DeleteFaqCommand.js.map
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deletes an existing Amazon Kendra index. An exception is not thrown if
10
- * the index is already being deleted. While the index is being deleted, the
11
- * <code>Status</code> field returned by a call to the
12
- * <code>DescribeIndex</code> operation is set to
13
- * <code>DELETING</code>.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { KendraClient, DeleteIndexCommand } from "@aws-sdk/client-kendra"; // ES Modules import
18
- * // const { KendraClient, DeleteIndexCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
19
- * const client = new KendraClient(config);
20
- * const command = new DeleteIndexCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DeleteIndexCommandInput} for command's `input` shape.
25
- * @see {@link DeleteIndexCommandOutput} for command's `response` shape.
26
- * @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class DeleteIndexCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +34,3 @@ class DeleteIndexCommand extends smithy_client_1.Command {
62
34
  }
63
35
  }
64
36
  exports.DeleteIndexCommand = DeleteIndexCommand;
65
- //# sourceMappingURL=DeleteIndexCommand.js.map