@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,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
+ const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
+ const config_resolver_1 = require("@smithy/config-resolver");
9
+ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
+ const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
12
+ const util_retry_1 = require("@smithy/util-retry");
13
+ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
15
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
+ const getRuntimeConfig = (config) => {
17
+ const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
19
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
20
+ return {
21
+ ...clientSharedValues,
22
+ ...config,
23
+ runtime: "browser",
24
+ defaultsMode,
25
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
26
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
+ (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
+ maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
+ region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
+ requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
32
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
33
+ sha256: config?.sha256 ?? sha256_browser_1.Sha256,
34
+ streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
35
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
36
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
37
+ };
38
+ };
39
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
+ const client_sts_1 = require("@aws-sdk/client-sts");
7
+ const core_1 = require("@aws-sdk/core");
8
+ const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
9
+ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
10
+ const config_resolver_1 = require("@smithy/config-resolver");
11
+ const hash_node_1 = require("@smithy/hash-node");
12
+ const middleware_retry_1 = require("@smithy/middleware-retry");
13
+ const node_config_provider_1 = require("@smithy/node-config-provider");
14
+ const node_http_handler_1 = require("@smithy/node-http-handler");
15
+ const util_body_length_node_1 = require("@smithy/util-body-length-node");
16
+ const util_retry_1 = require("@smithy/util-retry");
17
+ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
+ const smithy_client_1 = require("@smithy/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
20
+ const smithy_client_2 = require("@smithy/smithy-client");
21
+ const getRuntimeConfig = (config) => {
22
+ (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
23
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
24
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
25
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
26
+ (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
27
+ return {
28
+ ...clientSharedValues,
29
+ ...config,
30
+ runtime: "node",
31
+ defaultsMode,
32
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
33
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
34
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
35
+ (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
36
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
37
+ region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
38
+ requestHandler: config?.requestHandler ??
39
+ new node_http_handler_1.NodeHttp2Handler(async () => ({ ...(await defaultConfigProvider()), disableConcurrentStreams: true })),
40
+ retryMode: config?.retryMode ??
41
+ (0, node_config_provider_1.loadConfig)({
42
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
43
+ default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
44
+ }),
45
+ sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
46
+ streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
47
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
48
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
49
+ };
50
+ };
51
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
+ const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
+ const getRuntimeConfig = (config) => {
7
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
8
+ return {
9
+ ...browserDefaults,
10
+ ...config,
11
+ runtime: "react-native",
12
+ sha256: config?.sha256 ?? sha256_js_1.Sha256,
13
+ };
14
+ };
15
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ const url_parser_1 = require("@smithy/url-parser");
6
+ const util_base64_1 = require("@smithy/util-base64");
7
+ const util_utf8_1 = require("@smithy/util-utf8");
8
+ const endpointResolver_1 = require("./endpoint/endpointResolver");
9
+ const getRuntimeConfig = (config) => {
10
+ return {
11
+ apiVersion: "2023-11-27",
12
+ base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
13
+ base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
14
+ disableHostPrefix: config?.disableHostPrefix ?? false,
15
+ endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
16
+ extensions: config?.extensions ?? [],
17
+ logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
18
+ serviceId: config?.serviceId ?? "QBusiness",
19
+ urlParser: config?.urlParser ?? url_parser_1.parseUrl,
20
+ utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
21
+ utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
22
+ };
23
+ };
24
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveRuntimeExtensions = void 0;
4
+ const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
5
+ const protocol_http_1 = require("@smithy/protocol-http");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ const asPartial = (t) => t;
8
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
9
+ const extensionConfiguration = {
10
+ ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
11
+ ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
12
+ ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
13
+ };
14
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
15
+ return {
16
+ ...runtimeConfig,
17
+ ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
18
+ ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
19
+ ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
20
+ };
21
+ };
22
+ exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
@@ -0,0 +1,117 @@
1
+ import { createAggregatedClient } from "@smithy/smithy-client";
2
+ import { BatchDeleteDocumentCommand, } from "./commands/BatchDeleteDocumentCommand";
3
+ import { BatchPutDocumentCommand, } from "./commands/BatchPutDocumentCommand";
4
+ import { ChatSyncCommand } from "./commands/ChatSyncCommand";
5
+ import { CreateApplicationCommand, } from "./commands/CreateApplicationCommand";
6
+ import { CreateDataSourceCommand, } from "./commands/CreateDataSourceCommand";
7
+ import { CreateIndexCommand } from "./commands/CreateIndexCommand";
8
+ import { CreatePluginCommand, } from "./commands/CreatePluginCommand";
9
+ import { CreateRetrieverCommand, } from "./commands/CreateRetrieverCommand";
10
+ import { CreateUserCommand } from "./commands/CreateUserCommand";
11
+ import { CreateWebExperienceCommand, } from "./commands/CreateWebExperienceCommand";
12
+ import { DeleteApplicationCommand, } from "./commands/DeleteApplicationCommand";
13
+ import { DeleteChatControlsConfigurationCommand, } from "./commands/DeleteChatControlsConfigurationCommand";
14
+ import { DeleteConversationCommand, } from "./commands/DeleteConversationCommand";
15
+ import { DeleteDataSourceCommand, } from "./commands/DeleteDataSourceCommand";
16
+ import { DeleteGroupCommand } from "./commands/DeleteGroupCommand";
17
+ import { DeleteIndexCommand } from "./commands/DeleteIndexCommand";
18
+ import { DeletePluginCommand, } from "./commands/DeletePluginCommand";
19
+ import { DeleteRetrieverCommand, } from "./commands/DeleteRetrieverCommand";
20
+ import { DeleteUserCommand } from "./commands/DeleteUserCommand";
21
+ import { DeleteWebExperienceCommand, } from "./commands/DeleteWebExperienceCommand";
22
+ import { GetApplicationCommand, } from "./commands/GetApplicationCommand";
23
+ import { GetChatControlsConfigurationCommand, } from "./commands/GetChatControlsConfigurationCommand";
24
+ import { GetDataSourceCommand, } from "./commands/GetDataSourceCommand";
25
+ import { GetGroupCommand } from "./commands/GetGroupCommand";
26
+ import { GetIndexCommand } from "./commands/GetIndexCommand";
27
+ import { GetPluginCommand } from "./commands/GetPluginCommand";
28
+ import { GetRetrieverCommand, } from "./commands/GetRetrieverCommand";
29
+ import { GetUserCommand } from "./commands/GetUserCommand";
30
+ import { GetWebExperienceCommand, } from "./commands/GetWebExperienceCommand";
31
+ import { ListApplicationsCommand, } from "./commands/ListApplicationsCommand";
32
+ import { ListConversationsCommand, } from "./commands/ListConversationsCommand";
33
+ import { ListDataSourcesCommand, } from "./commands/ListDataSourcesCommand";
34
+ import { ListDataSourceSyncJobsCommand, } from "./commands/ListDataSourceSyncJobsCommand";
35
+ import { ListDocumentsCommand, } from "./commands/ListDocumentsCommand";
36
+ import { ListGroupsCommand } from "./commands/ListGroupsCommand";
37
+ import { ListIndicesCommand } from "./commands/ListIndicesCommand";
38
+ import { ListMessagesCommand, } from "./commands/ListMessagesCommand";
39
+ import { ListPluginsCommand } from "./commands/ListPluginsCommand";
40
+ import { ListRetrieversCommand, } from "./commands/ListRetrieversCommand";
41
+ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
42
+ import { ListWebExperiencesCommand, } from "./commands/ListWebExperiencesCommand";
43
+ import { PutFeedbackCommand } from "./commands/PutFeedbackCommand";
44
+ import { PutGroupCommand } from "./commands/PutGroupCommand";
45
+ import { StartDataSourceSyncJobCommand, } from "./commands/StartDataSourceSyncJobCommand";
46
+ import { StopDataSourceSyncJobCommand, } from "./commands/StopDataSourceSyncJobCommand";
47
+ import { TagResourceCommand } from "./commands/TagResourceCommand";
48
+ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
49
+ import { UpdateApplicationCommand, } from "./commands/UpdateApplicationCommand";
50
+ import { UpdateChatControlsConfigurationCommand, } from "./commands/UpdateChatControlsConfigurationCommand";
51
+ import { UpdateDataSourceCommand, } from "./commands/UpdateDataSourceCommand";
52
+ import { UpdateIndexCommand } from "./commands/UpdateIndexCommand";
53
+ import { UpdatePluginCommand, } from "./commands/UpdatePluginCommand";
54
+ import { UpdateRetrieverCommand, } from "./commands/UpdateRetrieverCommand";
55
+ import { UpdateUserCommand } from "./commands/UpdateUserCommand";
56
+ import { UpdateWebExperienceCommand, } from "./commands/UpdateWebExperienceCommand";
57
+ import { QBusinessClient } from "./QBusinessClient";
58
+ const commands = {
59
+ BatchDeleteDocumentCommand,
60
+ BatchPutDocumentCommand,
61
+ ChatSyncCommand,
62
+ CreateApplicationCommand,
63
+ CreateDataSourceCommand,
64
+ CreateIndexCommand,
65
+ CreatePluginCommand,
66
+ CreateRetrieverCommand,
67
+ CreateUserCommand,
68
+ CreateWebExperienceCommand,
69
+ DeleteApplicationCommand,
70
+ DeleteChatControlsConfigurationCommand,
71
+ DeleteConversationCommand,
72
+ DeleteDataSourceCommand,
73
+ DeleteGroupCommand,
74
+ DeleteIndexCommand,
75
+ DeletePluginCommand,
76
+ DeleteRetrieverCommand,
77
+ DeleteUserCommand,
78
+ DeleteWebExperienceCommand,
79
+ GetApplicationCommand,
80
+ GetChatControlsConfigurationCommand,
81
+ GetDataSourceCommand,
82
+ GetGroupCommand,
83
+ GetIndexCommand,
84
+ GetPluginCommand,
85
+ GetRetrieverCommand,
86
+ GetUserCommand,
87
+ GetWebExperienceCommand,
88
+ ListApplicationsCommand,
89
+ ListConversationsCommand,
90
+ ListDataSourcesCommand,
91
+ ListDataSourceSyncJobsCommand,
92
+ ListDocumentsCommand,
93
+ ListGroupsCommand,
94
+ ListIndicesCommand,
95
+ ListMessagesCommand,
96
+ ListPluginsCommand,
97
+ ListRetrieversCommand,
98
+ ListTagsForResourceCommand,
99
+ ListWebExperiencesCommand,
100
+ PutFeedbackCommand,
101
+ PutGroupCommand,
102
+ StartDataSourceSyncJobCommand,
103
+ StopDataSourceSyncJobCommand,
104
+ TagResourceCommand,
105
+ UntagResourceCommand,
106
+ UpdateApplicationCommand,
107
+ UpdateChatControlsConfigurationCommand,
108
+ UpdateDataSourceCommand,
109
+ UpdateIndexCommand,
110
+ UpdatePluginCommand,
111
+ UpdateRetrieverCommand,
112
+ UpdateUserCommand,
113
+ UpdateWebExperienceCommand,
114
+ };
115
+ export class QBusiness extends QBusinessClient {
116
+ }
117
+ createAggregatedClient(commands, QBusiness);
@@ -0,0 +1,39 @@
1
+ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
2
+ import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
3
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
4
+ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
5
+ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
6
+ import { resolveRegionConfig } from "@smithy/config-resolver";
7
+ import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
+ import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
+ import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
10
+ import { Client as __Client, } from "@smithy/smithy-client";
11
+ import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
12
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
+ import { resolveRuntimeExtensions } from "./runtimeExtensions";
14
+ export { __Client };
15
+ export class QBusinessClient extends __Client {
16
+ constructor(...[configuration]) {
17
+ const _config_0 = __getRuntimeConfig(configuration || {});
18
+ const _config_1 = resolveClientEndpointParameters(_config_0);
19
+ const _config_2 = resolveRegionConfig(_config_1);
20
+ const _config_3 = resolveEndpointConfig(_config_2);
21
+ const _config_4 = resolveRetryConfig(_config_3);
22
+ const _config_5 = resolveHostHeaderConfig(_config_4);
23
+ const _config_6 = resolveAwsAuthConfig(_config_5);
24
+ const _config_7 = resolveUserAgentConfig(_config_6);
25
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
26
+ super(_config_8);
27
+ this.config = _config_8;
28
+ this.middlewareStack.use(getRetryPlugin(this.config));
29
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
30
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
31
+ this.middlewareStack.use(getLoggerPlugin(this.config));
32
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
33
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
34
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
35
+ }
36
+ destroy() {
37
+ super.destroy();
38
+ }
39
+ }
@@ -0,0 +1,46 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_BatchDeleteDocumentCommand, se_BatchDeleteDocumentCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class BatchDeleteDocumentCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, BatchDeleteDocumentCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "QBusinessClient";
25
+ const commandName = "BatchDeleteDocumentCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ [SMITHY_CONTEXT_KEY]: {
33
+ service: "ExpertQ",
34
+ operation: "BatchDeleteDocument",
35
+ },
36
+ };
37
+ const { requestHandler } = configuration;
38
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
+ }
40
+ serialize(input, context) {
41
+ return se_BatchDeleteDocumentCommand(input, context);
42
+ }
43
+ deserialize(output, context) {
44
+ return de_BatchDeleteDocumentCommand(output, context);
45
+ }
46
+ }
@@ -0,0 +1,46 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_BatchPutDocumentCommand, se_BatchPutDocumentCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class BatchPutDocumentCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, BatchPutDocumentCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "QBusinessClient";
25
+ const commandName = "BatchPutDocumentCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ [SMITHY_CONTEXT_KEY]: {
33
+ service: "ExpertQ",
34
+ operation: "BatchPutDocument",
35
+ },
36
+ };
37
+ const { requestHandler } = configuration;
38
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
+ }
40
+ serialize(input, context) {
41
+ return se_BatchPutDocumentCommand(input, context);
42
+ }
43
+ deserialize(output, context) {
44
+ return de_BatchPutDocumentCommand(output, context);
45
+ }
46
+ }
@@ -0,0 +1,46 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_ChatSyncCommand, se_ChatSyncCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ChatSyncCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ChatSyncCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "QBusinessClient";
25
+ const commandName = "ChatSyncCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ [SMITHY_CONTEXT_KEY]: {
33
+ service: "ExpertQ",
34
+ operation: "ChatSync",
35
+ },
36
+ };
37
+ const { requestHandler } = configuration;
38
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
+ }
40
+ serialize(input, context) {
41
+ return se_ChatSyncCommand(input, context);
42
+ }
43
+ deserialize(output, context) {
44
+ return de_ChatSyncCommand(output, context);
45
+ }
46
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { CreateApplicationRequestFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateApplicationCommand, se_CreateApplicationCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateApplicationCommand extends $Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateApplicationCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "QBusinessClient";
26
+ const commandName = "CreateApplicationCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: CreateApplicationRequestFilterSensitiveLog,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "ExpertQ",
35
+ operation: "CreateApplication",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_CreateApplicationCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_CreateApplicationCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,46 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_CreateDataSourceCommand, se_CreateDataSourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateDataSourceCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateDataSourceCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "QBusinessClient";
25
+ const commandName = "CreateDataSourceCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ [SMITHY_CONTEXT_KEY]: {
33
+ service: "ExpertQ",
34
+ operation: "CreateDataSource",
35
+ },
36
+ };
37
+ const { requestHandler } = configuration;
38
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
+ }
40
+ serialize(input, context) {
41
+ return se_CreateDataSourceCommand(input, context);
42
+ }
43
+ deserialize(output, context) {
44
+ return de_CreateDataSourceCommand(output, context);
45
+ }
46
+ }
@@ -0,0 +1,46 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_CreateIndexCommand, se_CreateIndexCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateIndexCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateIndexCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "QBusinessClient";
25
+ const commandName = "CreateIndexCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ [SMITHY_CONTEXT_KEY]: {
33
+ service: "ExpertQ",
34
+ operation: "CreateIndex",
35
+ },
36
+ };
37
+ const { requestHandler } = configuration;
38
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
+ }
40
+ serialize(input, context) {
41
+ return se_CreateIndexCommand(input, context);
42
+ }
43
+ deserialize(output, context) {
44
+ return de_CreateIndexCommand(output, context);
45
+ }
46
+ }
@@ -0,0 +1,46 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_CreatePluginCommand, se_CreatePluginCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreatePluginCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreatePluginCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "QBusinessClient";
25
+ const commandName = "CreatePluginCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ [SMITHY_CONTEXT_KEY]: {
33
+ service: "ExpertQ",
34
+ operation: "CreatePlugin",
35
+ },
36
+ };
37
+ const { requestHandler } = configuration;
38
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
+ }
40
+ serialize(input, context) {
41
+ return se_CreatePluginCommand(input, context);
42
+ }
43
+ deserialize(output, context) {
44
+ return de_CreatePluginCommand(output, context);
45
+ }
46
+ }