@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,103 @@
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 { TagResourceRequest, TagResourceResponse } 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 TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Adds the specified tag to the specified Amazon Q application or data source
27
+ * resource. If the tag already exists, the existing value is replaced with the new
28
+ * value.</p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { QBusinessClient, TagResourceCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
33
+ * // const { QBusinessClient, TagResourceCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
34
+ * const client = new QBusinessClient(config);
35
+ * const input = { // TagResourceRequest
36
+ * resourceARN: "STRING_VALUE", // required
37
+ * tags: [ // Tags // required
38
+ * { // Tag
39
+ * key: "STRING_VALUE", // required
40
+ * value: "STRING_VALUE", // required
41
+ * },
42
+ * ],
43
+ * };
44
+ * const command = new TagResourceCommand(input);
45
+ * const response = await client.send(command);
46
+ * // {};
47
+ *
48
+ * ```
49
+ *
50
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
51
+ * @returns {@link TagResourceCommandOutput}
52
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
53
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
54
+ * @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p> You don't have access to perform this action. Make sure you have the required
58
+ * permission policies and user accounts and try again.</p>
59
+ *
60
+ * @throws {@link ConflictException} (client fault)
61
+ * <p>You are trying to perform an action that conflicts with the current status of your
62
+ * resource. Fix any inconsistences with your resources and try again.</p>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>An issue occurred with the internal server used for your Amazon Q service. Wait
66
+ * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
70
+ * resource and try again.</p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>The request was denied due to throttling. Reduce the number of requests and try
74
+ * again.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>The input doesn't meet the constraints set by the Amazon Q service. Provide the
78
+ * correct input and try again.</p>
79
+ *
80
+ * @throws {@link QBusinessServiceException}
81
+ * <p>Base exception class for all service exceptions from QBusiness service.</p>
82
+ *
83
+ */
84
+ export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, QBusinessClientResolvedConfig> {
85
+ readonly input: TagResourceCommandInput;
86
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
+ /**
88
+ * @public
89
+ */
90
+ constructor(input: TagResourceCommandInput);
91
+ /**
92
+ * @internal
93
+ */
94
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QBusinessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
95
+ /**
96
+ * @internal
97
+ */
98
+ private serialize;
99
+ /**
100
+ * @internal
101
+ */
102
+ private deserialize;
103
+ }
@@ -0,0 +1,94 @@
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 { UntagResourceRequest, UntagResourceResponse } 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 UntagResourceCommand}.
14
+ */
15
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UntagResourceCommand}.
21
+ */
22
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Removes a tag from an Amazon Q application or a data source.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { QBusinessClient, UntagResourceCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
31
+ * // const { QBusinessClient, UntagResourceCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
32
+ * const client = new QBusinessClient(config);
33
+ * const input = { // UntagResourceRequest
34
+ * resourceARN: "STRING_VALUE", // required
35
+ * tagKeys: [ // TagKeys // required
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * };
39
+ * const command = new UntagResourceCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
46
+ * @returns {@link UntagResourceCommandOutput}
47
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
48
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
49
+ * @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
50
+ *
51
+ * @throws {@link AccessDeniedException} (client fault)
52
+ * <p> You don't have access to perform this action. Make sure you have the required
53
+ * permission policies and user accounts and try again.</p>
54
+ *
55
+ * @throws {@link InternalServerException} (server fault)
56
+ * <p>An issue occurred with the internal server used for your Amazon Q service. Wait
57
+ * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
58
+ *
59
+ * @throws {@link ResourceNotFoundException} (client fault)
60
+ * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
61
+ * resource and try again.</p>
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * <p>The request was denied due to throttling. Reduce the number of requests and try
65
+ * again.</p>
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * <p>The input doesn't meet the constraints set by the Amazon Q service. Provide the
69
+ * correct input and try again.</p>
70
+ *
71
+ * @throws {@link QBusinessServiceException}
72
+ * <p>Base exception class for all service exceptions from QBusiness service.</p>
73
+ *
74
+ */
75
+ export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, QBusinessClientResolvedConfig> {
76
+ readonly input: UntagResourceCommandInput;
77
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
78
+ /**
79
+ * @public
80
+ */
81
+ constructor(input: UntagResourceCommandInput);
82
+ /**
83
+ * @internal
84
+ */
85
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QBusinessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
86
+ /**
87
+ * @internal
88
+ */
89
+ private serialize;
90
+ /**
91
+ * @internal
92
+ */
93
+ private deserialize;
94
+ }
@@ -0,0 +1,101 @@
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 { UpdateApplicationRequest, UpdateApplicationResponse } 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 UpdateApplicationCommand}.
14
+ */
15
+ export interface UpdateApplicationCommandInput extends UpdateApplicationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateApplicationCommand}.
21
+ */
22
+ export interface UpdateApplicationCommandOutput extends UpdateApplicationResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates an existing Amazon Q application.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { QBusinessClient, UpdateApplicationCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
31
+ * // const { QBusinessClient, UpdateApplicationCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
32
+ * const client = new QBusinessClient(config);
33
+ * const input = { // UpdateApplicationRequest
34
+ * applicationId: "STRING_VALUE", // required
35
+ * displayName: "STRING_VALUE",
36
+ * description: "STRING_VALUE",
37
+ * roleArn: "STRING_VALUE",
38
+ * attachmentsConfiguration: { // AttachmentsConfiguration
39
+ * attachmentsControlMode: "ENABLED" || "DISABLED", // required
40
+ * },
41
+ * };
42
+ * const command = new UpdateApplicationCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param UpdateApplicationCommandInput - {@link UpdateApplicationCommandInput}
49
+ * @returns {@link UpdateApplicationCommandOutput}
50
+ * @see {@link UpdateApplicationCommandInput} for command's `input` shape.
51
+ * @see {@link UpdateApplicationCommandOutput} for command's `response` shape.
52
+ * @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p> You don't have access to perform this action. Make sure you have the required
56
+ * permission policies and user accounts and try again.</p>
57
+ *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * <p>You are trying to perform an action that conflicts with the current status of your
60
+ * resource. Fix any inconsistences with your resources and try again.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>An issue occurred with the internal server used for your Amazon Q service. Wait
64
+ * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
68
+ * resource and try again.</p>
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * <p>The request was denied due to throttling. Reduce the number of requests and try
72
+ * again.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>The input doesn't meet the constraints set by the Amazon Q service. Provide the
76
+ * correct input and try again.</p>
77
+ *
78
+ * @throws {@link QBusinessServiceException}
79
+ * <p>Base exception class for all service exceptions from QBusiness service.</p>
80
+ *
81
+ */
82
+ export declare class UpdateApplicationCommand extends $Command<UpdateApplicationCommandInput, UpdateApplicationCommandOutput, QBusinessClientResolvedConfig> {
83
+ readonly input: UpdateApplicationCommandInput;
84
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
85
+ /**
86
+ * @public
87
+ */
88
+ constructor(input: UpdateApplicationCommandInput);
89
+ /**
90
+ * @internal
91
+ */
92
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QBusinessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateApplicationCommandInput, UpdateApplicationCommandOutput>;
93
+ /**
94
+ * @internal
95
+ */
96
+ private serialize;
97
+ /**
98
+ * @internal
99
+ */
100
+ private deserialize;
101
+ }
@@ -0,0 +1,196 @@
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 { UpdateChatControlsConfigurationRequest, UpdateChatControlsConfigurationResponse } 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 UpdateChatControlsConfigurationCommand}.
14
+ */
15
+ export interface UpdateChatControlsConfigurationCommandInput extends UpdateChatControlsConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateChatControlsConfigurationCommand}.
21
+ */
22
+ export interface UpdateChatControlsConfigurationCommandOutput extends UpdateChatControlsConfigurationResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates an set of chat controls configured for an existing Amazon Q
27
+ * application.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { QBusinessClient, UpdateChatControlsConfigurationCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
32
+ * // const { QBusinessClient, UpdateChatControlsConfigurationCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
33
+ * const client = new QBusinessClient(config);
34
+ * const input = { // UpdateChatControlsConfigurationRequest
35
+ * applicationId: "STRING_VALUE", // required
36
+ * clientToken: "STRING_VALUE",
37
+ * responseScope: "ENTERPRISE_CONTENT_ONLY" || "EXTENDED_KNOWLEDGE_ENABLED",
38
+ * blockedPhrasesConfigurationUpdate: { // BlockedPhrasesConfigurationUpdate
39
+ * blockedPhrasesToCreateOrUpdate: [ // BlockedPhrases
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * blockedPhrasesToDelete: [
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * systemMessageOverride: "STRING_VALUE",
46
+ * },
47
+ * topicConfigurationsToCreateOrUpdate: [ // TopicConfigurations
48
+ * { // TopicConfiguration
49
+ * name: "STRING_VALUE", // required
50
+ * description: "STRING_VALUE",
51
+ * exampleChatMessages: [ // ExampleChatMessages
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * rules: [ // Rules // required
55
+ * { // Rule
56
+ * includedUsersAndGroups: { // UsersAndGroups
57
+ * userIds: [ // UserIds
58
+ * "STRING_VALUE",
59
+ * ],
60
+ * userGroups: [ // UserGroups
61
+ * "STRING_VALUE",
62
+ * ],
63
+ * },
64
+ * excludedUsersAndGroups: {
65
+ * userIds: [
66
+ * "STRING_VALUE",
67
+ * ],
68
+ * userGroups: [
69
+ * "STRING_VALUE",
70
+ * ],
71
+ * },
72
+ * ruleType: "CONTENT_BLOCKER_RULE" || "CONTENT_RETRIEVAL_RULE", // required
73
+ * ruleConfiguration: { // RuleConfiguration Union: only one key present
74
+ * contentBlockerRule: { // ContentBlockerRule
75
+ * systemMessageOverride: "STRING_VALUE",
76
+ * },
77
+ * contentRetrievalRule: { // ContentRetrievalRule
78
+ * eligibleDataSources: [ // EligibleDataSources
79
+ * { // EligibleDataSource
80
+ * indexId: "STRING_VALUE",
81
+ * dataSourceId: "STRING_VALUE",
82
+ * },
83
+ * ],
84
+ * },
85
+ * },
86
+ * },
87
+ * ],
88
+ * },
89
+ * ],
90
+ * topicConfigurationsToDelete: [
91
+ * {
92
+ * name: "STRING_VALUE", // required
93
+ * description: "STRING_VALUE",
94
+ * exampleChatMessages: [
95
+ * "STRING_VALUE",
96
+ * ],
97
+ * rules: [ // required
98
+ * {
99
+ * includedUsersAndGroups: {
100
+ * userIds: [
101
+ * "STRING_VALUE",
102
+ * ],
103
+ * userGroups: [
104
+ * "STRING_VALUE",
105
+ * ],
106
+ * },
107
+ * excludedUsersAndGroups: {
108
+ * userIds: [
109
+ * "STRING_VALUE",
110
+ * ],
111
+ * userGroups: [
112
+ * "STRING_VALUE",
113
+ * ],
114
+ * },
115
+ * ruleType: "CONTENT_BLOCKER_RULE" || "CONTENT_RETRIEVAL_RULE", // required
116
+ * ruleConfiguration: {// Union: only one key present
117
+ * contentBlockerRule: {
118
+ * systemMessageOverride: "STRING_VALUE",
119
+ * },
120
+ * contentRetrievalRule: {
121
+ * eligibleDataSources: [
122
+ * {
123
+ * indexId: "STRING_VALUE",
124
+ * dataSourceId: "STRING_VALUE",
125
+ * },
126
+ * ],
127
+ * },
128
+ * },
129
+ * },
130
+ * ],
131
+ * },
132
+ * ],
133
+ * };
134
+ * const command = new UpdateChatControlsConfigurationCommand(input);
135
+ * const response = await client.send(command);
136
+ * // {};
137
+ *
138
+ * ```
139
+ *
140
+ * @param UpdateChatControlsConfigurationCommandInput - {@link UpdateChatControlsConfigurationCommandInput}
141
+ * @returns {@link UpdateChatControlsConfigurationCommandOutput}
142
+ * @see {@link UpdateChatControlsConfigurationCommandInput} for command's `input` shape.
143
+ * @see {@link UpdateChatControlsConfigurationCommandOutput} for command's `response` shape.
144
+ * @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
145
+ *
146
+ * @throws {@link AccessDeniedException} (client fault)
147
+ * <p> You don't have access to perform this action. Make sure you have the required
148
+ * permission policies and user accounts and try again.</p>
149
+ *
150
+ * @throws {@link ConflictException} (client fault)
151
+ * <p>You are trying to perform an action that conflicts with the current status of your
152
+ * resource. Fix any inconsistences with your resources and try again.</p>
153
+ *
154
+ * @throws {@link InternalServerException} (server fault)
155
+ * <p>An issue occurred with the internal server used for your Amazon Q service. Wait
156
+ * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
157
+ *
158
+ * @throws {@link ResourceNotFoundException} (client fault)
159
+ * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
160
+ * resource and try again.</p>
161
+ *
162
+ * @throws {@link ServiceQuotaExceededException} (client fault)
163
+ * <p>You have exceeded the set limits for your Amazon Q service. </p>
164
+ *
165
+ * @throws {@link ThrottlingException} (client fault)
166
+ * <p>The request was denied due to throttling. Reduce the number of requests and try
167
+ * again.</p>
168
+ *
169
+ * @throws {@link ValidationException} (client fault)
170
+ * <p>The input doesn't meet the constraints set by the Amazon Q service. Provide the
171
+ * correct input and try again.</p>
172
+ *
173
+ * @throws {@link QBusinessServiceException}
174
+ * <p>Base exception class for all service exceptions from QBusiness service.</p>
175
+ *
176
+ */
177
+ export declare class UpdateChatControlsConfigurationCommand extends $Command<UpdateChatControlsConfigurationCommandInput, UpdateChatControlsConfigurationCommandOutput, QBusinessClientResolvedConfig> {
178
+ readonly input: UpdateChatControlsConfigurationCommandInput;
179
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
180
+ /**
181
+ * @public
182
+ */
183
+ constructor(input: UpdateChatControlsConfigurationCommandInput);
184
+ /**
185
+ * @internal
186
+ */
187
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QBusinessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateChatControlsConfigurationCommandInput, UpdateChatControlsConfigurationCommandOutput>;
188
+ /**
189
+ * @internal
190
+ */
191
+ private serialize;
192
+ /**
193
+ * @internal
194
+ */
195
+ private deserialize;
196
+ }
@@ -0,0 +1,175 @@
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 { UpdateDataSourceRequest, UpdateDataSourceResponse } 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 UpdateDataSourceCommand}.
14
+ */
15
+ export interface UpdateDataSourceCommandInput extends UpdateDataSourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateDataSourceCommand}.
21
+ */
22
+ export interface UpdateDataSourceCommandOutput extends UpdateDataSourceResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates an existing Amazon Q data source connector.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { QBusinessClient, UpdateDataSourceCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
31
+ * // const { QBusinessClient, UpdateDataSourceCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
32
+ * const client = new QBusinessClient(config);
33
+ * const input = { // UpdateDataSourceRequest
34
+ * applicationId: "STRING_VALUE", // required
35
+ * indexId: "STRING_VALUE", // required
36
+ * dataSourceId: "STRING_VALUE", // required
37
+ * displayName: "STRING_VALUE",
38
+ * configuration: "DOCUMENT_VALUE",
39
+ * vpcConfiguration: { // DataSourceVpcConfiguration
40
+ * subnetIds: [ // SubnetIds // required
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * securityGroupIds: [ // SecurityGroupIds // required
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * },
47
+ * description: "STRING_VALUE",
48
+ * syncSchedule: "STRING_VALUE",
49
+ * roleArn: "STRING_VALUE",
50
+ * documentEnrichmentConfiguration: { // DocumentEnrichmentConfiguration
51
+ * inlineConfigurations: [ // InlineDocumentEnrichmentConfigurations
52
+ * { // InlineDocumentEnrichmentConfiguration
53
+ * condition: { // DocumentAttributeCondition
54
+ * key: "STRING_VALUE", // required
55
+ * 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
56
+ * value: { // DocumentAttributeValue Union: only one key present
57
+ * stringValue: "STRING_VALUE",
58
+ * stringListValue: [ // DocumentAttributeStringListValue
59
+ * "STRING_VALUE",
60
+ * ],
61
+ * longValue: Number("long"),
62
+ * dateValue: new Date("TIMESTAMP"),
63
+ * },
64
+ * },
65
+ * target: { // DocumentAttributeTarget
66
+ * key: "STRING_VALUE", // required
67
+ * value: {// Union: only one key present
68
+ * stringValue: "STRING_VALUE",
69
+ * stringListValue: [
70
+ * "STRING_VALUE",
71
+ * ],
72
+ * longValue: Number("long"),
73
+ * dateValue: new Date("TIMESTAMP"),
74
+ * },
75
+ * attributeValueOperator: "DELETE",
76
+ * },
77
+ * documentContentOperator: "DELETE",
78
+ * },
79
+ * ],
80
+ * preExtractionHookConfiguration: { // HookConfiguration
81
+ * invocationCondition: {
82
+ * key: "STRING_VALUE", // required
83
+ * 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
84
+ * value: {// Union: only one key present
85
+ * stringValue: "STRING_VALUE",
86
+ * stringListValue: [
87
+ * "STRING_VALUE",
88
+ * ],
89
+ * longValue: Number("long"),
90
+ * dateValue: new Date("TIMESTAMP"),
91
+ * },
92
+ * },
93
+ * lambdaArn: "STRING_VALUE",
94
+ * s3BucketName: "STRING_VALUE",
95
+ * roleArn: "STRING_VALUE",
96
+ * },
97
+ * postExtractionHookConfiguration: {
98
+ * invocationCondition: {
99
+ * key: "STRING_VALUE", // required
100
+ * 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
101
+ * value: {// Union: only one key present
102
+ * stringValue: "STRING_VALUE",
103
+ * stringListValue: [
104
+ * "STRING_VALUE",
105
+ * ],
106
+ * longValue: Number("long"),
107
+ * dateValue: new Date("TIMESTAMP"),
108
+ * },
109
+ * },
110
+ * lambdaArn: "STRING_VALUE",
111
+ * s3BucketName: "STRING_VALUE",
112
+ * roleArn: "STRING_VALUE",
113
+ * },
114
+ * },
115
+ * };
116
+ * const command = new UpdateDataSourceCommand(input);
117
+ * const response = await client.send(command);
118
+ * // {};
119
+ *
120
+ * ```
121
+ *
122
+ * @param UpdateDataSourceCommandInput - {@link UpdateDataSourceCommandInput}
123
+ * @returns {@link UpdateDataSourceCommandOutput}
124
+ * @see {@link UpdateDataSourceCommandInput} for command's `input` shape.
125
+ * @see {@link UpdateDataSourceCommandOutput} for command's `response` shape.
126
+ * @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
127
+ *
128
+ * @throws {@link AccessDeniedException} (client fault)
129
+ * <p> You don't have access to perform this action. Make sure you have the required
130
+ * permission policies and user accounts and try again.</p>
131
+ *
132
+ * @throws {@link ConflictException} (client fault)
133
+ * <p>You are trying to perform an action that conflicts with the current status of your
134
+ * resource. Fix any inconsistences with your resources and try again.</p>
135
+ *
136
+ * @throws {@link InternalServerException} (server fault)
137
+ * <p>An issue occurred with the internal server used for your Amazon Q service. Wait
138
+ * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
139
+ *
140
+ * @throws {@link ResourceNotFoundException} (client fault)
141
+ * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
142
+ * resource and try again.</p>
143
+ *
144
+ * @throws {@link ThrottlingException} (client fault)
145
+ * <p>The request was denied due to throttling. Reduce the number of requests and try
146
+ * again.</p>
147
+ *
148
+ * @throws {@link ValidationException} (client fault)
149
+ * <p>The input doesn't meet the constraints set by the Amazon Q service. Provide the
150
+ * correct input and try again.</p>
151
+ *
152
+ * @throws {@link QBusinessServiceException}
153
+ * <p>Base exception class for all service exceptions from QBusiness service.</p>
154
+ *
155
+ */
156
+ export declare class UpdateDataSourceCommand extends $Command<UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput, QBusinessClientResolvedConfig> {
157
+ readonly input: UpdateDataSourceCommandInput;
158
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
159
+ /**
160
+ * @public
161
+ */
162
+ constructor(input: UpdateDataSourceCommandInput);
163
+ /**
164
+ * @internal
165
+ */
166
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QBusinessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput>;
167
+ /**
168
+ * @internal
169
+ */
170
+ private serialize;
171
+ /**
172
+ * @internal
173
+ */
174
+ private deserialize;
175
+ }