@aws-sdk/client-qbusiness 3.461.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 (347) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +646 -0
  3. package/dist-cjs/QBusiness.js +121 -0
  4. package/dist-cjs/QBusinessClient.js +43 -0
  5. package/dist-cjs/commands/BatchDeleteDocumentCommand.js +50 -0
  6. package/dist-cjs/commands/BatchPutDocumentCommand.js +50 -0
  7. package/dist-cjs/commands/ChatSyncCommand.js +50 -0
  8. package/dist-cjs/commands/CreateApplicationCommand.js +51 -0
  9. package/dist-cjs/commands/CreateDataSourceCommand.js +50 -0
  10. package/dist-cjs/commands/CreateIndexCommand.js +50 -0
  11. package/dist-cjs/commands/CreatePluginCommand.js +50 -0
  12. package/dist-cjs/commands/CreateRetrieverCommand.js +50 -0
  13. package/dist-cjs/commands/CreateUserCommand.js +50 -0
  14. package/dist-cjs/commands/CreateWebExperienceCommand.js +50 -0
  15. package/dist-cjs/commands/DeleteApplicationCommand.js +50 -0
  16. package/dist-cjs/commands/DeleteChatControlsConfigurationCommand.js +50 -0
  17. package/dist-cjs/commands/DeleteConversationCommand.js +50 -0
  18. package/dist-cjs/commands/DeleteDataSourceCommand.js +50 -0
  19. package/dist-cjs/commands/DeleteGroupCommand.js +50 -0
  20. package/dist-cjs/commands/DeleteIndexCommand.js +50 -0
  21. package/dist-cjs/commands/DeletePluginCommand.js +50 -0
  22. package/dist-cjs/commands/DeleteRetrieverCommand.js +50 -0
  23. package/dist-cjs/commands/DeleteUserCommand.js +50 -0
  24. package/dist-cjs/commands/DeleteWebExperienceCommand.js +50 -0
  25. package/dist-cjs/commands/GetApplicationCommand.js +51 -0
  26. package/dist-cjs/commands/GetChatControlsConfigurationCommand.js +50 -0
  27. package/dist-cjs/commands/GetDataSourceCommand.js +50 -0
  28. package/dist-cjs/commands/GetGroupCommand.js +50 -0
  29. package/dist-cjs/commands/GetIndexCommand.js +50 -0
  30. package/dist-cjs/commands/GetPluginCommand.js +50 -0
  31. package/dist-cjs/commands/GetRetrieverCommand.js +50 -0
  32. package/dist-cjs/commands/GetUserCommand.js +50 -0
  33. package/dist-cjs/commands/GetWebExperienceCommand.js +50 -0
  34. package/dist-cjs/commands/ListApplicationsCommand.js +50 -0
  35. package/dist-cjs/commands/ListConversationsCommand.js +50 -0
  36. package/dist-cjs/commands/ListDataSourceSyncJobsCommand.js +50 -0
  37. package/dist-cjs/commands/ListDataSourcesCommand.js +50 -0
  38. package/dist-cjs/commands/ListDocumentsCommand.js +50 -0
  39. package/dist-cjs/commands/ListGroupsCommand.js +50 -0
  40. package/dist-cjs/commands/ListIndicesCommand.js +50 -0
  41. package/dist-cjs/commands/ListMessagesCommand.js +50 -0
  42. package/dist-cjs/commands/ListPluginsCommand.js +50 -0
  43. package/dist-cjs/commands/ListRetrieversCommand.js +50 -0
  44. package/dist-cjs/commands/ListTagsForResourceCommand.js +50 -0
  45. package/dist-cjs/commands/ListWebExperiencesCommand.js +50 -0
  46. package/dist-cjs/commands/PutFeedbackCommand.js +50 -0
  47. package/dist-cjs/commands/PutGroupCommand.js +50 -0
  48. package/dist-cjs/commands/StartDataSourceSyncJobCommand.js +50 -0
  49. package/dist-cjs/commands/StopDataSourceSyncJobCommand.js +50 -0
  50. package/dist-cjs/commands/TagResourceCommand.js +50 -0
  51. package/dist-cjs/commands/UntagResourceCommand.js +50 -0
  52. package/dist-cjs/commands/UpdateApplicationCommand.js +50 -0
  53. package/dist-cjs/commands/UpdateChatControlsConfigurationCommand.js +50 -0
  54. package/dist-cjs/commands/UpdateDataSourceCommand.js +50 -0
  55. package/dist-cjs/commands/UpdateIndexCommand.js +50 -0
  56. package/dist-cjs/commands/UpdatePluginCommand.js +50 -0
  57. package/dist-cjs/commands/UpdateRetrieverCommand.js +50 -0
  58. package/dist-cjs/commands/UpdateUserCommand.js +50 -0
  59. package/dist-cjs/commands/UpdateWebExperienceCommand.js +50 -0
  60. package/dist-cjs/commands/index.js +58 -0
  61. package/dist-cjs/endpoint/EndpointParameters.js +11 -0
  62. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  63. package/dist-cjs/endpoint/ruleset.js +7 -0
  64. package/dist-cjs/extensionConfiguration.js +2 -0
  65. package/dist-cjs/index.js +12 -0
  66. package/dist-cjs/models/QBusinessServiceException.js +12 -0
  67. package/dist-cjs/models/index.js +4 -0
  68. package/dist-cjs/models/models_0.js +392 -0
  69. package/dist-cjs/pagination/GetChatControlsConfigurationPaginator.js +29 -0
  70. package/dist-cjs/pagination/Interfaces.js +2 -0
  71. package/dist-cjs/pagination/ListApplicationsPaginator.js +29 -0
  72. package/dist-cjs/pagination/ListConversationsPaginator.js +29 -0
  73. package/dist-cjs/pagination/ListDataSourceSyncJobsPaginator.js +29 -0
  74. package/dist-cjs/pagination/ListDataSourcesPaginator.js +29 -0
  75. package/dist-cjs/pagination/ListDocumentsPaginator.js +29 -0
  76. package/dist-cjs/pagination/ListGroupsPaginator.js +29 -0
  77. package/dist-cjs/pagination/ListIndicesPaginator.js +29 -0
  78. package/dist-cjs/pagination/ListMessagesPaginator.js +29 -0
  79. package/dist-cjs/pagination/ListPluginsPaginator.js +29 -0
  80. package/dist-cjs/pagination/ListRetrieversPaginator.js +29 -0
  81. package/dist-cjs/pagination/ListWebExperiencesPaginator.js +29 -0
  82. package/dist-cjs/pagination/index.js +16 -0
  83. package/dist-cjs/protocols/Aws_restJson1.js +4637 -0
  84. package/dist-cjs/runtimeConfig.browser.js +39 -0
  85. package/dist-cjs/runtimeConfig.js +51 -0
  86. package/dist-cjs/runtimeConfig.native.js +15 -0
  87. package/dist-cjs/runtimeConfig.shared.js +24 -0
  88. package/dist-cjs/runtimeExtensions.js +22 -0
  89. package/dist-es/QBusiness.js +117 -0
  90. package/dist-es/QBusinessClient.js +39 -0
  91. package/dist-es/commands/BatchDeleteDocumentCommand.js +46 -0
  92. package/dist-es/commands/BatchPutDocumentCommand.js +46 -0
  93. package/dist-es/commands/ChatSyncCommand.js +46 -0
  94. package/dist-es/commands/CreateApplicationCommand.js +47 -0
  95. package/dist-es/commands/CreateDataSourceCommand.js +46 -0
  96. package/dist-es/commands/CreateIndexCommand.js +46 -0
  97. package/dist-es/commands/CreatePluginCommand.js +46 -0
  98. package/dist-es/commands/CreateRetrieverCommand.js +46 -0
  99. package/dist-es/commands/CreateUserCommand.js +46 -0
  100. package/dist-es/commands/CreateWebExperienceCommand.js +46 -0
  101. package/dist-es/commands/DeleteApplicationCommand.js +46 -0
  102. package/dist-es/commands/DeleteChatControlsConfigurationCommand.js +46 -0
  103. package/dist-es/commands/DeleteConversationCommand.js +46 -0
  104. package/dist-es/commands/DeleteDataSourceCommand.js +46 -0
  105. package/dist-es/commands/DeleteGroupCommand.js +46 -0
  106. package/dist-es/commands/DeleteIndexCommand.js +46 -0
  107. package/dist-es/commands/DeletePluginCommand.js +46 -0
  108. package/dist-es/commands/DeleteRetrieverCommand.js +46 -0
  109. package/dist-es/commands/DeleteUserCommand.js +46 -0
  110. package/dist-es/commands/DeleteWebExperienceCommand.js +46 -0
  111. package/dist-es/commands/GetApplicationCommand.js +47 -0
  112. package/dist-es/commands/GetChatControlsConfigurationCommand.js +46 -0
  113. package/dist-es/commands/GetDataSourceCommand.js +46 -0
  114. package/dist-es/commands/GetGroupCommand.js +46 -0
  115. package/dist-es/commands/GetIndexCommand.js +46 -0
  116. package/dist-es/commands/GetPluginCommand.js +46 -0
  117. package/dist-es/commands/GetRetrieverCommand.js +46 -0
  118. package/dist-es/commands/GetUserCommand.js +46 -0
  119. package/dist-es/commands/GetWebExperienceCommand.js +46 -0
  120. package/dist-es/commands/ListApplicationsCommand.js +46 -0
  121. package/dist-es/commands/ListConversationsCommand.js +46 -0
  122. package/dist-es/commands/ListDataSourceSyncJobsCommand.js +46 -0
  123. package/dist-es/commands/ListDataSourcesCommand.js +46 -0
  124. package/dist-es/commands/ListDocumentsCommand.js +46 -0
  125. package/dist-es/commands/ListGroupsCommand.js +46 -0
  126. package/dist-es/commands/ListIndicesCommand.js +46 -0
  127. package/dist-es/commands/ListMessagesCommand.js +46 -0
  128. package/dist-es/commands/ListPluginsCommand.js +46 -0
  129. package/dist-es/commands/ListRetrieversCommand.js +46 -0
  130. package/dist-es/commands/ListTagsForResourceCommand.js +46 -0
  131. package/dist-es/commands/ListWebExperiencesCommand.js +46 -0
  132. package/dist-es/commands/PutFeedbackCommand.js +46 -0
  133. package/dist-es/commands/PutGroupCommand.js +46 -0
  134. package/dist-es/commands/StartDataSourceSyncJobCommand.js +46 -0
  135. package/dist-es/commands/StopDataSourceSyncJobCommand.js +46 -0
  136. package/dist-es/commands/TagResourceCommand.js +46 -0
  137. package/dist-es/commands/UntagResourceCommand.js +46 -0
  138. package/dist-es/commands/UpdateApplicationCommand.js +46 -0
  139. package/dist-es/commands/UpdateChatControlsConfigurationCommand.js +46 -0
  140. package/dist-es/commands/UpdateDataSourceCommand.js +46 -0
  141. package/dist-es/commands/UpdateIndexCommand.js +46 -0
  142. package/dist-es/commands/UpdatePluginCommand.js +46 -0
  143. package/dist-es/commands/UpdateRetrieverCommand.js +46 -0
  144. package/dist-es/commands/UpdateUserCommand.js +46 -0
  145. package/dist-es/commands/UpdateWebExperienceCommand.js +46 -0
  146. package/dist-es/commands/index.js +55 -0
  147. package/dist-es/endpoint/EndpointParameters.js +7 -0
  148. package/dist-es/endpoint/endpointResolver.js +8 -0
  149. package/dist-es/endpoint/ruleset.js +4 -0
  150. package/dist-es/extensionConfiguration.js +1 -0
  151. package/dist-es/index.js +7 -0
  152. package/dist-es/models/QBusinessServiceException.js +8 -0
  153. package/dist-es/models/index.js +1 -0
  154. package/dist-es/models/models_0.js +378 -0
  155. package/dist-es/pagination/GetChatControlsConfigurationPaginator.js +25 -0
  156. package/dist-es/pagination/Interfaces.js +1 -0
  157. package/dist-es/pagination/ListApplicationsPaginator.js +25 -0
  158. package/dist-es/pagination/ListConversationsPaginator.js +25 -0
  159. package/dist-es/pagination/ListDataSourceSyncJobsPaginator.js +25 -0
  160. package/dist-es/pagination/ListDataSourcesPaginator.js +25 -0
  161. package/dist-es/pagination/ListDocumentsPaginator.js +25 -0
  162. package/dist-es/pagination/ListGroupsPaginator.js +25 -0
  163. package/dist-es/pagination/ListIndicesPaginator.js +25 -0
  164. package/dist-es/pagination/ListMessagesPaginator.js +25 -0
  165. package/dist-es/pagination/ListPluginsPaginator.js +25 -0
  166. package/dist-es/pagination/ListRetrieversPaginator.js +25 -0
  167. package/dist-es/pagination/ListWebExperiencesPaginator.js +25 -0
  168. package/dist-es/pagination/index.js +13 -0
  169. package/dist-es/protocols/Aws_restJson1.js +4522 -0
  170. package/dist-es/runtimeConfig.browser.js +34 -0
  171. package/dist-es/runtimeConfig.js +46 -0
  172. package/dist-es/runtimeConfig.native.js +11 -0
  173. package/dist-es/runtimeConfig.shared.js +20 -0
  174. package/dist-es/runtimeExtensions.js +18 -0
  175. package/dist-types/QBusiness.d.ts +396 -0
  176. package/dist-types/QBusinessClient.d.ts +225 -0
  177. package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +116 -0
  178. package/dist-types/commands/BatchPutDocumentCommand.d.ts +228 -0
  179. package/dist-types/commands/ChatSyncCommand.d.ts +253 -0
  180. package/dist-types/commands/CreateApplicationCommand.d.ts +116 -0
  181. package/dist-types/commands/CreateDataSourceCommand.d.ts +190 -0
  182. package/dist-types/commands/CreateIndexCommand.d.ts +121 -0
  183. package/dist-types/commands/CreatePluginCommand.d.ts +121 -0
  184. package/dist-types/commands/CreateRetrieverCommand.d.ts +119 -0
  185. package/dist-types/commands/CreateUserCommand.d.ts +108 -0
  186. package/dist-types/commands/CreateWebExperienceCommand.d.ts +112 -0
  187. package/dist-types/commands/DeleteApplicationCommand.d.ts +95 -0
  188. package/dist-types/commands/DeleteChatControlsConfigurationCommand.d.ts +91 -0
  189. package/dist-types/commands/DeleteConversationCommand.d.ts +97 -0
  190. package/dist-types/commands/DeleteDataSourceCommand.d.ts +99 -0
  191. package/dist-types/commands/DeleteGroupCommand.d.ts +106 -0
  192. package/dist-types/commands/DeleteIndexCommand.d.ts +96 -0
  193. package/dist-types/commands/DeletePluginCommand.d.ts +96 -0
  194. package/dist-types/commands/DeleteRetrieverCommand.d.ts +96 -0
  195. package/dist-types/commands/DeleteUserCommand.d.ts +96 -0
  196. package/dist-types/commands/DeleteWebExperienceCommand.d.ts +96 -0
  197. package/dist-types/commands/GetApplicationCommand.d.ts +110 -0
  198. package/dist-types/commands/GetChatControlsConfigurationCommand.d.ts +146 -0
  199. package/dist-types/commands/GetDataSourceCommand.d.ts +184 -0
  200. package/dist-types/commands/GetGroupCommand.d.ts +117 -0
  201. package/dist-types/commands/GetIndexCommand.d.ts +121 -0
  202. package/dist-types/commands/GetPluginCommand.d.ts +112 -0
  203. package/dist-types/commands/GetRetrieverCommand.d.ts +111 -0
  204. package/dist-types/commands/GetUserCommand.d.ts +105 -0
  205. package/dist-types/commands/GetWebExperienceCommand.d.ts +116 -0
  206. package/dist-types/commands/ListApplicationsCommand.d.ts +99 -0
  207. package/dist-types/commands/ListConversationsCommand.d.ts +107 -0
  208. package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +120 -0
  209. package/dist-types/commands/ListDataSourcesCommand.d.ts +106 -0
  210. package/dist-types/commands/ListDocumentsCommand.d.ts +111 -0
  211. package/dist-types/commands/ListGroupsCommand.d.ts +107 -0
  212. package/dist-types/commands/ListIndicesCommand.d.ts +104 -0
  213. package/dist-types/commands/ListMessagesCommand.d.ts +163 -0
  214. package/dist-types/commands/ListPluginsCommand.d.ts +106 -0
  215. package/dist-types/commands/ListRetrieversCommand.d.ts +104 -0
  216. package/dist-types/commands/ListTagsForResourceCommand.d.ts +99 -0
  217. package/dist-types/commands/ListWebExperiencesCommand.d.ts +104 -0
  218. package/dist-types/commands/PutFeedbackCommand.d.ts +102 -0
  219. package/dist-types/commands/PutGroupCommand.d.ts +122 -0
  220. package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +103 -0
  221. package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +94 -0
  222. package/dist-types/commands/TagResourceCommand.d.ts +103 -0
  223. package/dist-types/commands/UntagResourceCommand.d.ts +94 -0
  224. package/dist-types/commands/UpdateApplicationCommand.d.ts +101 -0
  225. package/dist-types/commands/UpdateChatControlsConfigurationCommand.d.ts +196 -0
  226. package/dist-types/commands/UpdateDataSourceCommand.d.ts +175 -0
  227. package/dist-types/commands/UpdateIndexCommand.d.ts +111 -0
  228. package/dist-types/commands/UpdatePluginCommand.d.ts +112 -0
  229. package/dist-types/commands/UpdateRetrieverCommand.d.ts +109 -0
  230. package/dist-types/commands/UpdateUserCommand.d.ts +131 -0
  231. package/dist-types/commands/UpdateWebExperienceCommand.d.ts +108 -0
  232. package/dist-types/commands/index.d.ts +55 -0
  233. package/dist-types/endpoint/EndpointParameters.d.ts +20 -0
  234. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  235. package/dist-types/endpoint/ruleset.d.ts +2 -0
  236. package/dist-types/extensionConfiguration.d.ts +8 -0
  237. package/dist-types/index.d.ts +16 -0
  238. package/dist-types/models/QBusinessServiceException.d.ts +13 -0
  239. package/dist-types/models/index.d.ts +1 -0
  240. package/dist-types/models/models_0.d.ts +5077 -0
  241. package/dist-types/pagination/GetChatControlsConfigurationPaginator.d.ts +7 -0
  242. package/dist-types/pagination/Interfaces.d.ts +8 -0
  243. package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
  244. package/dist-types/pagination/ListConversationsPaginator.d.ts +7 -0
  245. package/dist-types/pagination/ListDataSourceSyncJobsPaginator.d.ts +7 -0
  246. package/dist-types/pagination/ListDataSourcesPaginator.d.ts +7 -0
  247. package/dist-types/pagination/ListDocumentsPaginator.d.ts +7 -0
  248. package/dist-types/pagination/ListGroupsPaginator.d.ts +7 -0
  249. package/dist-types/pagination/ListIndicesPaginator.d.ts +7 -0
  250. package/dist-types/pagination/ListMessagesPaginator.d.ts +7 -0
  251. package/dist-types/pagination/ListPluginsPaginator.d.ts +7 -0
  252. package/dist-types/pagination/ListRetrieversPaginator.d.ts +7 -0
  253. package/dist-types/pagination/ListWebExperiencesPaginator.d.ts +7 -0
  254. package/dist-types/pagination/index.d.ts +13 -0
  255. package/dist-types/protocols/Aws_restJson1.d.ts +497 -0
  256. package/dist-types/runtimeConfig.browser.d.ts +46 -0
  257. package/dist-types/runtimeConfig.d.ts +46 -0
  258. package/dist-types/runtimeConfig.native.d.ts +45 -0
  259. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  260. package/dist-types/runtimeExtensions.d.ts +17 -0
  261. package/dist-types/ts3.4/QBusiness.d.ts +940 -0
  262. package/dist-types/ts3.4/QBusinessClient.d.ts +448 -0
  263. package/dist-types/ts3.4/commands/BatchDeleteDocumentCommand.d.ts +39 -0
  264. package/dist-types/ts3.4/commands/BatchPutDocumentCommand.d.ts +38 -0
  265. package/dist-types/ts3.4/commands/ChatSyncCommand.d.ts +35 -0
  266. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +39 -0
  267. package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +38 -0
  268. package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +35 -0
  269. package/dist-types/ts3.4/commands/CreatePluginCommand.d.ts +35 -0
  270. package/dist-types/ts3.4/commands/CreateRetrieverCommand.d.ts +38 -0
  271. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +35 -0
  272. package/dist-types/ts3.4/commands/CreateWebExperienceCommand.d.ts +39 -0
  273. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +39 -0
  274. package/dist-types/ts3.4/commands/DeleteChatControlsConfigurationCommand.d.ts +42 -0
  275. package/dist-types/ts3.4/commands/DeleteConversationCommand.d.ts +39 -0
  276. package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +38 -0
  277. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +35 -0
  278. package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +35 -0
  279. package/dist-types/ts3.4/commands/DeletePluginCommand.d.ts +35 -0
  280. package/dist-types/ts3.4/commands/DeleteRetrieverCommand.d.ts +38 -0
  281. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +35 -0
  282. package/dist-types/ts3.4/commands/DeleteWebExperienceCommand.d.ts +39 -0
  283. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +38 -0
  284. package/dist-types/ts3.4/commands/GetChatControlsConfigurationCommand.d.ts +42 -0
  285. package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +38 -0
  286. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +35 -0
  287. package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +35 -0
  288. package/dist-types/ts3.4/commands/GetPluginCommand.d.ts +35 -0
  289. package/dist-types/ts3.4/commands/GetRetrieverCommand.d.ts +35 -0
  290. package/dist-types/ts3.4/commands/GetUserCommand.d.ts +35 -0
  291. package/dist-types/ts3.4/commands/GetWebExperienceCommand.d.ts +38 -0
  292. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +38 -0
  293. package/dist-types/ts3.4/commands/ListConversationsCommand.d.ts +39 -0
  294. package/dist-types/ts3.4/commands/ListDataSourceSyncJobsCommand.d.ts +42 -0
  295. package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +38 -0
  296. package/dist-types/ts3.4/commands/ListDocumentsCommand.d.ts +38 -0
  297. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +35 -0
  298. package/dist-types/ts3.4/commands/ListIndicesCommand.d.ts +35 -0
  299. package/dist-types/ts3.4/commands/ListMessagesCommand.d.ts +35 -0
  300. package/dist-types/ts3.4/commands/ListPluginsCommand.d.ts +35 -0
  301. package/dist-types/ts3.4/commands/ListRetrieversCommand.d.ts +38 -0
  302. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  303. package/dist-types/ts3.4/commands/ListWebExperiencesCommand.d.ts +39 -0
  304. package/dist-types/ts3.4/commands/PutFeedbackCommand.d.ts +33 -0
  305. package/dist-types/ts3.4/commands/PutGroupCommand.d.ts +35 -0
  306. package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +42 -0
  307. package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +42 -0
  308. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  309. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  310. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +39 -0
  311. package/dist-types/ts3.4/commands/UpdateChatControlsConfigurationCommand.d.ts +42 -0
  312. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +38 -0
  313. package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +35 -0
  314. package/dist-types/ts3.4/commands/UpdatePluginCommand.d.ts +35 -0
  315. package/dist-types/ts3.4/commands/UpdateRetrieverCommand.d.ts +38 -0
  316. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +35 -0
  317. package/dist-types/ts3.4/commands/UpdateWebExperienceCommand.d.ts +39 -0
  318. package/dist-types/ts3.4/commands/index.d.ts +55 -0
  319. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +31 -0
  320. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  321. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  322. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  323. package/dist-types/ts3.4/index.d.ts +10 -0
  324. package/dist-types/ts3.4/models/QBusinessServiceException.d.ts +8 -0
  325. package/dist-types/ts3.4/models/index.d.ts +1 -0
  326. package/dist-types/ts3.4/models/models_0.d.ts +1406 -0
  327. package/dist-types/ts3.4/pagination/GetChatControlsConfigurationPaginator.d.ts +11 -0
  328. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  329. package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
  330. package/dist-types/ts3.4/pagination/ListConversationsPaginator.d.ts +11 -0
  331. package/dist-types/ts3.4/pagination/ListDataSourceSyncJobsPaginator.d.ts +11 -0
  332. package/dist-types/ts3.4/pagination/ListDataSourcesPaginator.d.ts +11 -0
  333. package/dist-types/ts3.4/pagination/ListDocumentsPaginator.d.ts +11 -0
  334. package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +11 -0
  335. package/dist-types/ts3.4/pagination/ListIndicesPaginator.d.ts +11 -0
  336. package/dist-types/ts3.4/pagination/ListMessagesPaginator.d.ts +11 -0
  337. package/dist-types/ts3.4/pagination/ListPluginsPaginator.d.ts +11 -0
  338. package/dist-types/ts3.4/pagination/ListRetrieversPaginator.d.ts +11 -0
  339. package/dist-types/ts3.4/pagination/ListWebExperiencesPaginator.d.ts +11 -0
  340. package/dist-types/ts3.4/pagination/index.d.ts +13 -0
  341. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +665 -0
  342. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
  343. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
  344. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
  345. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  346. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  347. package/package.json +104 -0
@@ -0,0 +1,225 @@
1
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
3
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
4
+ import { Credentials as __Credentials } from "@aws-sdk/types";
5
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
6
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
7
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
8
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
9
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
10
+ import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
11
+ import { BatchDeleteDocumentCommandInput, BatchDeleteDocumentCommandOutput } from "./commands/BatchDeleteDocumentCommand";
12
+ import { BatchPutDocumentCommandInput, BatchPutDocumentCommandOutput } from "./commands/BatchPutDocumentCommand";
13
+ import { ChatSyncCommandInput, ChatSyncCommandOutput } from "./commands/ChatSyncCommand";
14
+ import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
15
+ import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "./commands/CreateDataSourceCommand";
16
+ import { CreateIndexCommandInput, CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
17
+ import { CreatePluginCommandInput, CreatePluginCommandOutput } from "./commands/CreatePluginCommand";
18
+ import { CreateRetrieverCommandInput, CreateRetrieverCommandOutput } from "./commands/CreateRetrieverCommand";
19
+ import { CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
20
+ import { CreateWebExperienceCommandInput, CreateWebExperienceCommandOutput } from "./commands/CreateWebExperienceCommand";
21
+ import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
22
+ import { DeleteChatControlsConfigurationCommandInput, DeleteChatControlsConfigurationCommandOutput } from "./commands/DeleteChatControlsConfigurationCommand";
23
+ import { DeleteConversationCommandInput, DeleteConversationCommandOutput } from "./commands/DeleteConversationCommand";
24
+ import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand";
25
+ import { DeleteGroupCommandInput, DeleteGroupCommandOutput } from "./commands/DeleteGroupCommand";
26
+ import { DeleteIndexCommandInput, DeleteIndexCommandOutput } from "./commands/DeleteIndexCommand";
27
+ import { DeletePluginCommandInput, DeletePluginCommandOutput } from "./commands/DeletePluginCommand";
28
+ import { DeleteRetrieverCommandInput, DeleteRetrieverCommandOutput } from "./commands/DeleteRetrieverCommand";
29
+ import { DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
30
+ import { DeleteWebExperienceCommandInput, DeleteWebExperienceCommandOutput } from "./commands/DeleteWebExperienceCommand";
31
+ import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
32
+ import { GetChatControlsConfigurationCommandInput, GetChatControlsConfigurationCommandOutput } from "./commands/GetChatControlsConfigurationCommand";
33
+ import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
34
+ import { GetGroupCommandInput, GetGroupCommandOutput } from "./commands/GetGroupCommand";
35
+ import { GetIndexCommandInput, GetIndexCommandOutput } from "./commands/GetIndexCommand";
36
+ import { GetPluginCommandInput, GetPluginCommandOutput } from "./commands/GetPluginCommand";
37
+ import { GetRetrieverCommandInput, GetRetrieverCommandOutput } from "./commands/GetRetrieverCommand";
38
+ import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
39
+ import { GetWebExperienceCommandInput, GetWebExperienceCommandOutput } from "./commands/GetWebExperienceCommand";
40
+ import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
41
+ import { ListConversationsCommandInput, ListConversationsCommandOutput } from "./commands/ListConversationsCommand";
42
+ import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand";
43
+ import { ListDataSourceSyncJobsCommandInput, ListDataSourceSyncJobsCommandOutput } from "./commands/ListDataSourceSyncJobsCommand";
44
+ import { ListDocumentsCommandInput, ListDocumentsCommandOutput } from "./commands/ListDocumentsCommand";
45
+ import { ListGroupsCommandInput, ListGroupsCommandOutput } from "./commands/ListGroupsCommand";
46
+ import { ListIndicesCommandInput, ListIndicesCommandOutput } from "./commands/ListIndicesCommand";
47
+ import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
48
+ import { ListPluginsCommandInput, ListPluginsCommandOutput } from "./commands/ListPluginsCommand";
49
+ import { ListRetrieversCommandInput, ListRetrieversCommandOutput } from "./commands/ListRetrieversCommand";
50
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
51
+ import { ListWebExperiencesCommandInput, ListWebExperiencesCommandOutput } from "./commands/ListWebExperiencesCommand";
52
+ import { PutFeedbackCommandInput, PutFeedbackCommandOutput } from "./commands/PutFeedbackCommand";
53
+ import { PutGroupCommandInput, PutGroupCommandOutput } from "./commands/PutGroupCommand";
54
+ import { StartDataSourceSyncJobCommandInput, StartDataSourceSyncJobCommandOutput } from "./commands/StartDataSourceSyncJobCommand";
55
+ import { StopDataSourceSyncJobCommandInput, StopDataSourceSyncJobCommandOutput } from "./commands/StopDataSourceSyncJobCommand";
56
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
57
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
58
+ import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
59
+ import { UpdateChatControlsConfigurationCommandInput, UpdateChatControlsConfigurationCommandOutput } from "./commands/UpdateChatControlsConfigurationCommand";
60
+ import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
61
+ import { UpdateIndexCommandInput, UpdateIndexCommandOutput } from "./commands/UpdateIndexCommand";
62
+ import { UpdatePluginCommandInput, UpdatePluginCommandOutput } from "./commands/UpdatePluginCommand";
63
+ import { UpdateRetrieverCommandInput, UpdateRetrieverCommandOutput } from "./commands/UpdateRetrieverCommand";
64
+ import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
65
+ import { UpdateWebExperienceCommandInput, UpdateWebExperienceCommandOutput } from "./commands/UpdateWebExperienceCommand";
66
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
67
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
68
+ export { __Client };
69
+ /**
70
+ * @public
71
+ */
72
+ export type ServiceInputTypes = BatchDeleteDocumentCommandInput | BatchPutDocumentCommandInput | ChatSyncCommandInput | CreateApplicationCommandInput | CreateDataSourceCommandInput | CreateIndexCommandInput | CreatePluginCommandInput | CreateRetrieverCommandInput | CreateUserCommandInput | CreateWebExperienceCommandInput | DeleteApplicationCommandInput | DeleteChatControlsConfigurationCommandInput | DeleteConversationCommandInput | DeleteDataSourceCommandInput | DeleteGroupCommandInput | DeleteIndexCommandInput | DeletePluginCommandInput | DeleteRetrieverCommandInput | DeleteUserCommandInput | DeleteWebExperienceCommandInput | GetApplicationCommandInput | GetChatControlsConfigurationCommandInput | GetDataSourceCommandInput | GetGroupCommandInput | GetIndexCommandInput | GetPluginCommandInput | GetRetrieverCommandInput | GetUserCommandInput | GetWebExperienceCommandInput | ListApplicationsCommandInput | ListConversationsCommandInput | ListDataSourceSyncJobsCommandInput | ListDataSourcesCommandInput | ListDocumentsCommandInput | ListGroupsCommandInput | ListIndicesCommandInput | ListMessagesCommandInput | ListPluginsCommandInput | ListRetrieversCommandInput | ListTagsForResourceCommandInput | ListWebExperiencesCommandInput | PutFeedbackCommandInput | PutGroupCommandInput | StartDataSourceSyncJobCommandInput | StopDataSourceSyncJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateChatControlsConfigurationCommandInput | UpdateDataSourceCommandInput | UpdateIndexCommandInput | UpdatePluginCommandInput | UpdateRetrieverCommandInput | UpdateUserCommandInput | UpdateWebExperienceCommandInput;
73
+ /**
74
+ * @public
75
+ */
76
+ export type ServiceOutputTypes = BatchDeleteDocumentCommandOutput | BatchPutDocumentCommandOutput | ChatSyncCommandOutput | CreateApplicationCommandOutput | CreateDataSourceCommandOutput | CreateIndexCommandOutput | CreatePluginCommandOutput | CreateRetrieverCommandOutput | CreateUserCommandOutput | CreateWebExperienceCommandOutput | DeleteApplicationCommandOutput | DeleteChatControlsConfigurationCommandOutput | DeleteConversationCommandOutput | DeleteDataSourceCommandOutput | DeleteGroupCommandOutput | DeleteIndexCommandOutput | DeletePluginCommandOutput | DeleteRetrieverCommandOutput | DeleteUserCommandOutput | DeleteWebExperienceCommandOutput | GetApplicationCommandOutput | GetChatControlsConfigurationCommandOutput | GetDataSourceCommandOutput | GetGroupCommandOutput | GetIndexCommandOutput | GetPluginCommandOutput | GetRetrieverCommandOutput | GetUserCommandOutput | GetWebExperienceCommandOutput | ListApplicationsCommandOutput | ListConversationsCommandOutput | ListDataSourceSyncJobsCommandOutput | ListDataSourcesCommandOutput | ListDocumentsCommandOutput | ListGroupsCommandOutput | ListIndicesCommandOutput | ListMessagesCommandOutput | ListPluginsCommandOutput | ListRetrieversCommandOutput | ListTagsForResourceCommandOutput | ListWebExperiencesCommandOutput | PutFeedbackCommandOutput | PutGroupCommandOutput | StartDataSourceSyncJobCommandOutput | StopDataSourceSyncJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateChatControlsConfigurationCommandOutput | UpdateDataSourceCommandOutput | UpdateIndexCommandOutput | UpdatePluginCommandOutput | UpdateRetrieverCommandOutput | UpdateUserCommandOutput | UpdateWebExperienceCommandOutput;
77
+ /**
78
+ * @public
79
+ */
80
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
81
+ /**
82
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
83
+ */
84
+ requestHandler?: __HttpHandler;
85
+ /**
86
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
87
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
88
+ * @internal
89
+ */
90
+ sha256?: __ChecksumConstructor | __HashConstructor;
91
+ /**
92
+ * The function that will be used to convert strings into HTTP endpoints.
93
+ * @internal
94
+ */
95
+ urlParser?: __UrlParser;
96
+ /**
97
+ * A function that can calculate the length of a request body.
98
+ * @internal
99
+ */
100
+ bodyLengthChecker?: __BodyLengthCalculator;
101
+ /**
102
+ * A function that converts a stream into an array of bytes.
103
+ * @internal
104
+ */
105
+ streamCollector?: __StreamCollector;
106
+ /**
107
+ * The function that will be used to convert a base64-encoded string to a byte array.
108
+ * @internal
109
+ */
110
+ base64Decoder?: __Decoder;
111
+ /**
112
+ * The function that will be used to convert binary data to a base64-encoded string.
113
+ * @internal
114
+ */
115
+ base64Encoder?: __Encoder;
116
+ /**
117
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
118
+ * @internal
119
+ */
120
+ utf8Decoder?: __Decoder;
121
+ /**
122
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
123
+ * @internal
124
+ */
125
+ utf8Encoder?: __Encoder;
126
+ /**
127
+ * The runtime environment.
128
+ * @internal
129
+ */
130
+ runtime?: string;
131
+ /**
132
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
133
+ * trait of an operation.
134
+ */
135
+ disableHostPrefix?: boolean;
136
+ /**
137
+ * Unique service identifier.
138
+ * @internal
139
+ */
140
+ serviceId?: string;
141
+ /**
142
+ * Enables IPv6/IPv4 dualstack endpoint.
143
+ */
144
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
145
+ /**
146
+ * Enables FIPS compatible endpoints.
147
+ */
148
+ useFipsEndpoint?: boolean | __Provider<boolean>;
149
+ /**
150
+ * The AWS region to which this client will send requests
151
+ */
152
+ region?: string | __Provider<string>;
153
+ /**
154
+ * Default credentials provider; Not available in browser runtime.
155
+ * @internal
156
+ */
157
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
158
+ /**
159
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
160
+ * @internal
161
+ */
162
+ defaultUserAgentProvider?: Provider<__UserAgent>;
163
+ /**
164
+ * Value for how many times a request will be made at most in case of retry.
165
+ */
166
+ maxAttempts?: number | __Provider<number>;
167
+ /**
168
+ * Specifies which retry algorithm to use.
169
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
170
+ *
171
+ */
172
+ retryMode?: string | __Provider<string>;
173
+ /**
174
+ * Optional logger for logging debug/info/warn/error.
175
+ */
176
+ logger?: __Logger;
177
+ /**
178
+ * Optional extensions
179
+ */
180
+ extensions?: RuntimeExtension[];
181
+ /**
182
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
183
+ */
184
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
185
+ }
186
+ /**
187
+ * @public
188
+ */
189
+ export type QBusinessClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
190
+ /**
191
+ * @public
192
+ *
193
+ * The configuration interface of QBusinessClient class constructor that set the region, credentials and other options.
194
+ */
195
+ export interface QBusinessClientConfig extends QBusinessClientConfigType {
196
+ }
197
+ /**
198
+ * @public
199
+ */
200
+ export type QBusinessClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
201
+ /**
202
+ * @public
203
+ *
204
+ * The resolved configuration interface of QBusinessClient class. This is resolved and normalized from the {@link QBusinessClientConfig | constructor configuration interface}.
205
+ */
206
+ export interface QBusinessClientResolvedConfig extends QBusinessClientResolvedConfigType {
207
+ }
208
+ /**
209
+ * @public
210
+ * <p>
211
+ * </p>
212
+ */
213
+ export declare class QBusinessClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, QBusinessClientResolvedConfig> {
214
+ /**
215
+ * The resolved configuration of QBusinessClient class. This is resolved and normalized from the {@link QBusinessClientConfig | constructor configuration interface}.
216
+ */
217
+ readonly config: QBusinessClientResolvedConfig;
218
+ constructor(...[configuration]: __CheckOptionalClientConfig<QBusinessClientConfig>);
219
+ /**
220
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
221
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
222
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
223
+ */
224
+ destroy(): void;
225
+ }
@@ -0,0 +1,116 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { BatchDeleteDocumentRequest, BatchDeleteDocumentResponse } from "../models/models_0";
5
+ import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link BatchDeleteDocumentCommand}.
14
+ */
15
+ export interface BatchDeleteDocumentCommandInput extends BatchDeleteDocumentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchDeleteDocumentCommand}.
21
+ */
22
+ export interface BatchDeleteDocumentCommandOutput extends BatchDeleteDocumentResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Asynchronously deletes one or more documents added using the
27
+ * <code>BatchPutDocument</code> API from an Amazon Q index.</p>
28
+ * <p>You can see the progress of the deletion, and any error messages related to the
29
+ * process, by using CloudWatch.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { QBusinessClient, BatchDeleteDocumentCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
34
+ * // const { QBusinessClient, BatchDeleteDocumentCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
35
+ * const client = new QBusinessClient(config);
36
+ * const input = { // BatchDeleteDocumentRequest
37
+ * applicationId: "STRING_VALUE", // required
38
+ * indexId: "STRING_VALUE", // required
39
+ * documents: [ // DeleteDocuments // required
40
+ * { // DeleteDocument
41
+ * documentId: "STRING_VALUE", // required
42
+ * },
43
+ * ],
44
+ * dataSourceSyncId: "STRING_VALUE",
45
+ * };
46
+ * const command = new BatchDeleteDocumentCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // BatchDeleteDocumentResponse
49
+ * // failedDocuments: [ // FailedDocuments
50
+ * // { // FailedDocument
51
+ * // id: "STRING_VALUE",
52
+ * // error: { // ErrorDetail
53
+ * // errorMessage: "STRING_VALUE",
54
+ * // errorCode: "InternalError" || "InvalidRequest" || "ResourceInactive" || "ResourceNotFound",
55
+ * // },
56
+ * // dataSourceId: "STRING_VALUE",
57
+ * // },
58
+ * // ],
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param BatchDeleteDocumentCommandInput - {@link BatchDeleteDocumentCommandInput}
64
+ * @returns {@link BatchDeleteDocumentCommandOutput}
65
+ * @see {@link BatchDeleteDocumentCommandInput} for command's `input` shape.
66
+ * @see {@link BatchDeleteDocumentCommandOutput} for command's `response` shape.
67
+ * @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
68
+ *
69
+ * @throws {@link AccessDeniedException} (client fault)
70
+ * <p> You don't have access to perform this action. Make sure you have the required
71
+ * permission policies and user accounts and try again.</p>
72
+ *
73
+ * @throws {@link ConflictException} (client fault)
74
+ * <p>You are trying to perform an action that conflicts with the current status of your
75
+ * resource. Fix any inconsistences with your resources and try again.</p>
76
+ *
77
+ * @throws {@link InternalServerException} (server fault)
78
+ * <p>An issue occurred with the internal server used for your Amazon Q service. Wait
79
+ * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
83
+ * resource and try again.</p>
84
+ *
85
+ * @throws {@link ThrottlingException} (client fault)
86
+ * <p>The request was denied due to throttling. Reduce the number of requests and try
87
+ * again.</p>
88
+ *
89
+ * @throws {@link ValidationException} (client fault)
90
+ * <p>The input doesn't meet the constraints set by the Amazon Q service. Provide the
91
+ * correct input and try again.</p>
92
+ *
93
+ * @throws {@link QBusinessServiceException}
94
+ * <p>Base exception class for all service exceptions from QBusiness service.</p>
95
+ *
96
+ */
97
+ export declare class BatchDeleteDocumentCommand extends $Command<BatchDeleteDocumentCommandInput, BatchDeleteDocumentCommandOutput, QBusinessClientResolvedConfig> {
98
+ readonly input: BatchDeleteDocumentCommandInput;
99
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
100
+ /**
101
+ * @public
102
+ */
103
+ constructor(input: BatchDeleteDocumentCommandInput);
104
+ /**
105
+ * @internal
106
+ */
107
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QBusinessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchDeleteDocumentCommandInput, BatchDeleteDocumentCommandOutput>;
108
+ /**
109
+ * @internal
110
+ */
111
+ private serialize;
112
+ /**
113
+ * @internal
114
+ */
115
+ private deserialize;
116
+ }
@@ -0,0 +1,228 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { BatchPutDocumentRequest, BatchPutDocumentResponse } from "../models/models_0";
5
+ import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link BatchPutDocumentCommand}.
14
+ */
15
+ export interface BatchPutDocumentCommandInput extends BatchPutDocumentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchPutDocumentCommand}.
21
+ */
22
+ export interface BatchPutDocumentCommandOutput extends BatchPutDocumentResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Adds one or more documents to an Amazon Q index.</p>
27
+ * <p>You use this API to:</p>
28
+ * <ul>
29
+ * <li>
30
+ * <p>ingest your structured and unstructured documents and documents stored in an
31
+ * Amazon S3 bucket into an Amazon Q index.</p>
32
+ * </li>
33
+ * <li>
34
+ * <p>add custom attributes to documents in an Amazon Q index.</p>
35
+ * </li>
36
+ * <li>
37
+ * <p>attach an access control list to the documents added to an Amazon Q
38
+ * index.</p>
39
+ * </li>
40
+ * </ul>
41
+ * <p>You can see the progress of the deletion, and any error messages related to the
42
+ * process, by using CloudWatch.</p>
43
+ * @example
44
+ * Use a bare-bones client and the command you need to make an API call.
45
+ * ```javascript
46
+ * import { QBusinessClient, BatchPutDocumentCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
47
+ * // const { QBusinessClient, BatchPutDocumentCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
48
+ * const client = new QBusinessClient(config);
49
+ * const input = { // BatchPutDocumentRequest
50
+ * applicationId: "STRING_VALUE", // required
51
+ * indexId: "STRING_VALUE", // required
52
+ * documents: [ // Documents // required
53
+ * { // Document
54
+ * id: "STRING_VALUE", // required
55
+ * attributes: [ // DocumentAttributes
56
+ * { // DocumentAttribute
57
+ * name: "STRING_VALUE", // required
58
+ * value: { // DocumentAttributeValue Union: only one key present
59
+ * stringValue: "STRING_VALUE",
60
+ * stringListValue: [ // DocumentAttributeStringListValue
61
+ * "STRING_VALUE",
62
+ * ],
63
+ * longValue: Number("long"),
64
+ * dateValue: new Date("TIMESTAMP"),
65
+ * },
66
+ * },
67
+ * ],
68
+ * content: { // DocumentContent Union: only one key present
69
+ * blob: "BLOB_VALUE",
70
+ * s3: { // S3
71
+ * bucket: "STRING_VALUE", // required
72
+ * key: "STRING_VALUE", // required
73
+ * },
74
+ * },
75
+ * contentType: "PDF" || "HTML" || "MS_WORD" || "PLAIN_TEXT" || "PPT" || "RTF" || "XML" || "XSLT" || "MS_EXCEL" || "CSV" || "JSON" || "MD",
76
+ * title: "STRING_VALUE",
77
+ * accessConfiguration: { // AccessConfiguration
78
+ * accessControls: [ // AccessControls // required
79
+ * { // AccessControl
80
+ * principals: [ // Principals // required
81
+ * { // Principal Union: only one key present
82
+ * user: { // PrincipalUser
83
+ * id: "STRING_VALUE",
84
+ * access: "ALLOW" || "DENY", // required
85
+ * membershipType: "INDEX" || "DATASOURCE",
86
+ * },
87
+ * group: { // PrincipalGroup
88
+ * name: "STRING_VALUE",
89
+ * access: "ALLOW" || "DENY", // required
90
+ * membershipType: "INDEX" || "DATASOURCE",
91
+ * },
92
+ * },
93
+ * ],
94
+ * memberRelation: "AND" || "OR",
95
+ * },
96
+ * ],
97
+ * memberRelation: "AND" || "OR",
98
+ * },
99
+ * documentEnrichmentConfiguration: { // DocumentEnrichmentConfiguration
100
+ * inlineConfigurations: [ // InlineDocumentEnrichmentConfigurations
101
+ * { // InlineDocumentEnrichmentConfiguration
102
+ * condition: { // DocumentAttributeCondition
103
+ * key: "STRING_VALUE", // required
104
+ * operator: "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "EQUALS" || "NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "EXISTS" || "NOT_EXISTS" || "BEGINS_WITH", // required
105
+ * value: {// Union: only one key present
106
+ * stringValue: "STRING_VALUE",
107
+ * stringListValue: [
108
+ * "STRING_VALUE",
109
+ * ],
110
+ * longValue: Number("long"),
111
+ * dateValue: new Date("TIMESTAMP"),
112
+ * },
113
+ * },
114
+ * target: { // DocumentAttributeTarget
115
+ * key: "STRING_VALUE", // required
116
+ * value: {// Union: only one key present
117
+ * stringValue: "STRING_VALUE",
118
+ * stringListValue: [
119
+ * "STRING_VALUE",
120
+ * ],
121
+ * longValue: Number("long"),
122
+ * dateValue: new Date("TIMESTAMP"),
123
+ * },
124
+ * attributeValueOperator: "DELETE",
125
+ * },
126
+ * documentContentOperator: "DELETE",
127
+ * },
128
+ * ],
129
+ * preExtractionHookConfiguration: { // HookConfiguration
130
+ * invocationCondition: {
131
+ * key: "STRING_VALUE", // required
132
+ * operator: "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "EQUALS" || "NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "EXISTS" || "NOT_EXISTS" || "BEGINS_WITH", // required
133
+ * value: "<DocumentAttributeValue>",
134
+ * },
135
+ * lambdaArn: "STRING_VALUE",
136
+ * s3BucketName: "STRING_VALUE",
137
+ * roleArn: "STRING_VALUE",
138
+ * },
139
+ * postExtractionHookConfiguration: {
140
+ * invocationCondition: {
141
+ * key: "STRING_VALUE", // required
142
+ * operator: "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "EQUALS" || "NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "EXISTS" || "NOT_EXISTS" || "BEGINS_WITH", // required
143
+ * value: "<DocumentAttributeValue>",
144
+ * },
145
+ * lambdaArn: "STRING_VALUE",
146
+ * s3BucketName: "STRING_VALUE",
147
+ * roleArn: "STRING_VALUE",
148
+ * },
149
+ * },
150
+ * },
151
+ * ],
152
+ * roleArn: "STRING_VALUE",
153
+ * dataSourceSyncId: "STRING_VALUE",
154
+ * };
155
+ * const command = new BatchPutDocumentCommand(input);
156
+ * const response = await client.send(command);
157
+ * // { // BatchPutDocumentResponse
158
+ * // failedDocuments: [ // FailedDocuments
159
+ * // { // FailedDocument
160
+ * // id: "STRING_VALUE",
161
+ * // error: { // ErrorDetail
162
+ * // errorMessage: "STRING_VALUE",
163
+ * // errorCode: "InternalError" || "InvalidRequest" || "ResourceInactive" || "ResourceNotFound",
164
+ * // },
165
+ * // dataSourceId: "STRING_VALUE",
166
+ * // },
167
+ * // ],
168
+ * // };
169
+ *
170
+ * ```
171
+ *
172
+ * @param BatchPutDocumentCommandInput - {@link BatchPutDocumentCommandInput}
173
+ * @returns {@link BatchPutDocumentCommandOutput}
174
+ * @see {@link BatchPutDocumentCommandInput} for command's `input` shape.
175
+ * @see {@link BatchPutDocumentCommandOutput} for command's `response` shape.
176
+ * @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
177
+ *
178
+ * @throws {@link AccessDeniedException} (client fault)
179
+ * <p> You don't have access to perform this action. Make sure you have the required
180
+ * permission policies and user accounts and try again.</p>
181
+ *
182
+ * @throws {@link ConflictException} (client fault)
183
+ * <p>You are trying to perform an action that conflicts with the current status of your
184
+ * resource. Fix any inconsistences with your resources and try again.</p>
185
+ *
186
+ * @throws {@link InternalServerException} (server fault)
187
+ * <p>An issue occurred with the internal server used for your Amazon Q service. Wait
188
+ * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
189
+ *
190
+ * @throws {@link ResourceNotFoundException} (client fault)
191
+ * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
192
+ * resource and try again.</p>
193
+ *
194
+ * @throws {@link ServiceQuotaExceededException} (client fault)
195
+ * <p>You have exceeded the set limits for your Amazon Q service. </p>
196
+ *
197
+ * @throws {@link ThrottlingException} (client fault)
198
+ * <p>The request was denied due to throttling. Reduce the number of requests and try
199
+ * again.</p>
200
+ *
201
+ * @throws {@link ValidationException} (client fault)
202
+ * <p>The input doesn't meet the constraints set by the Amazon Q service. Provide the
203
+ * correct input and try again.</p>
204
+ *
205
+ * @throws {@link QBusinessServiceException}
206
+ * <p>Base exception class for all service exceptions from QBusiness service.</p>
207
+ *
208
+ */
209
+ export declare class BatchPutDocumentCommand extends $Command<BatchPutDocumentCommandInput, BatchPutDocumentCommandOutput, QBusinessClientResolvedConfig> {
210
+ readonly input: BatchPutDocumentCommandInput;
211
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
212
+ /**
213
+ * @public
214
+ */
215
+ constructor(input: BatchPutDocumentCommandInput);
216
+ /**
217
+ * @internal
218
+ */
219
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QBusinessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchPutDocumentCommandInput, BatchPutDocumentCommandOutput>;
220
+ /**
221
+ * @internal
222
+ */
223
+ private serialize;
224
+ /**
225
+ * @internal
226
+ */
227
+ private deserialize;
228
+ }