@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,392 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetApplicationResponseFilterSensitiveLog = exports.CreateApplicationRequestFilterSensitiveLog = exports.EncryptionConfigurationFilterSensitiveLog = exports.MessageUsefulness = exports.MessageUsefulnessReason = exports.MessageType = exports.GroupStatus = exports.RuleType = exports.RuleConfiguration = exports.ResponseScope = exports.DocumentStatus = exports.DataSourceSyncJobStatus = exports.LicenseNotFoundException = exports.ContentType = exports.DocumentContent = exports.AttachmentStatus = exports.WebExperienceStatus = exports.WebExperienceAuthConfiguration = exports.WebExperienceSamplePromptsControlMode = exports.RetrieverStatus = exports.RetrieverType = exports.RetrieverConfiguration = exports.PluginState = exports.PluginAuthConfiguration = exports.IndexStatus = exports.AttributeType = exports.Status = exports.DataSourceStatus = exports.AttributeValueOperator = exports.DocumentContentOperator = exports.DocumentAttributeValue = exports.DocumentEnrichmentConditionOperator = exports.ErrorCode = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AttachmentsControlMode = exports.ConflictException = exports.ApplicationStatus = exports.PluginType = exports.ActionPayloadFieldType = exports.AccessDeniedException = exports.Principal = exports.MembershipType = exports.ReadAccessType = exports.MemberRelation = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ const QBusinessServiceException_1 = require("./QBusinessServiceException");
6
+ exports.MemberRelation = {
7
+ AND: "AND",
8
+ OR: "OR",
9
+ };
10
+ exports.ReadAccessType = {
11
+ ALLOW: "ALLOW",
12
+ DENY: "DENY",
13
+ };
14
+ exports.MembershipType = {
15
+ DATASOURCE: "DATASOURCE",
16
+ INDEX: "INDEX",
17
+ };
18
+ var Principal;
19
+ (function (Principal) {
20
+ Principal.visit = (value, visitor) => {
21
+ if (value.user !== undefined)
22
+ return visitor.user(value.user);
23
+ if (value.group !== undefined)
24
+ return visitor.group(value.group);
25
+ return visitor._(value.$unknown[0], value.$unknown[1]);
26
+ };
27
+ })(Principal = exports.Principal || (exports.Principal = {}));
28
+ class AccessDeniedException extends QBusinessServiceException_1.QBusinessServiceException {
29
+ constructor(opts) {
30
+ super({
31
+ name: "AccessDeniedException",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ this.name = "AccessDeniedException";
36
+ this.$fault = "client";
37
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
38
+ }
39
+ }
40
+ exports.AccessDeniedException = AccessDeniedException;
41
+ exports.ActionPayloadFieldType = {
42
+ ARRAY: "ARRAY",
43
+ BOOLEAN: "BOOLEAN",
44
+ NUMBER: "NUMBER",
45
+ STRING: "STRING",
46
+ };
47
+ exports.PluginType = {
48
+ JIRA: "JIRA",
49
+ SALESFORCE: "SALESFORCE",
50
+ SERVICE_NOW: "SERVICE_NOW",
51
+ ZENDESK: "ZENDESK",
52
+ };
53
+ exports.ApplicationStatus = {
54
+ ACTIVE: "ACTIVE",
55
+ CREATING: "CREATING",
56
+ DELETING: "DELETING",
57
+ FAILED: "FAILED",
58
+ UPDATING: "UPDATING",
59
+ };
60
+ class ConflictException extends QBusinessServiceException_1.QBusinessServiceException {
61
+ constructor(opts) {
62
+ super({
63
+ name: "ConflictException",
64
+ $fault: "client",
65
+ ...opts,
66
+ });
67
+ this.name = "ConflictException";
68
+ this.$fault = "client";
69
+ Object.setPrototypeOf(this, ConflictException.prototype);
70
+ this.resourceId = opts.resourceId;
71
+ this.resourceType = opts.resourceType;
72
+ }
73
+ }
74
+ exports.ConflictException = ConflictException;
75
+ exports.AttachmentsControlMode = {
76
+ DISABLED: "DISABLED",
77
+ ENABLED: "ENABLED",
78
+ };
79
+ class InternalServerException extends QBusinessServiceException_1.QBusinessServiceException {
80
+ constructor(opts) {
81
+ super({
82
+ name: "InternalServerException",
83
+ $fault: "server",
84
+ ...opts,
85
+ });
86
+ this.name = "InternalServerException";
87
+ this.$fault = "server";
88
+ Object.setPrototypeOf(this, InternalServerException.prototype);
89
+ }
90
+ }
91
+ exports.InternalServerException = InternalServerException;
92
+ class ResourceNotFoundException extends QBusinessServiceException_1.QBusinessServiceException {
93
+ constructor(opts) {
94
+ super({
95
+ name: "ResourceNotFoundException",
96
+ $fault: "client",
97
+ ...opts,
98
+ });
99
+ this.name = "ResourceNotFoundException";
100
+ this.$fault = "client";
101
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
102
+ this.resourceId = opts.resourceId;
103
+ this.resourceType = opts.resourceType;
104
+ }
105
+ }
106
+ exports.ResourceNotFoundException = ResourceNotFoundException;
107
+ class ServiceQuotaExceededException extends QBusinessServiceException_1.QBusinessServiceException {
108
+ constructor(opts) {
109
+ super({
110
+ name: "ServiceQuotaExceededException",
111
+ $fault: "client",
112
+ ...opts,
113
+ });
114
+ this.name = "ServiceQuotaExceededException";
115
+ this.$fault = "client";
116
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
117
+ this.resourceId = opts.resourceId;
118
+ this.resourceType = opts.resourceType;
119
+ }
120
+ }
121
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
122
+ class ThrottlingException extends QBusinessServiceException_1.QBusinessServiceException {
123
+ constructor(opts) {
124
+ super({
125
+ name: "ThrottlingException",
126
+ $fault: "client",
127
+ ...opts,
128
+ });
129
+ this.name = "ThrottlingException";
130
+ this.$fault = "client";
131
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
132
+ }
133
+ }
134
+ exports.ThrottlingException = ThrottlingException;
135
+ exports.ValidationExceptionReason = {
136
+ CANNOT_PARSE: "CANNOT_PARSE",
137
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
138
+ UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
139
+ };
140
+ class ValidationException extends QBusinessServiceException_1.QBusinessServiceException {
141
+ constructor(opts) {
142
+ super({
143
+ name: "ValidationException",
144
+ $fault: "client",
145
+ ...opts,
146
+ });
147
+ this.name = "ValidationException";
148
+ this.$fault = "client";
149
+ Object.setPrototypeOf(this, ValidationException.prototype);
150
+ this.reason = opts.reason;
151
+ this.fields = opts.fields;
152
+ }
153
+ }
154
+ exports.ValidationException = ValidationException;
155
+ exports.ErrorCode = {
156
+ INTERNAL_ERROR: "InternalError",
157
+ INVALID_REQUEST: "InvalidRequest",
158
+ RESOURCE_INACTIVE: "ResourceInactive",
159
+ RESOURCE_NOT_FOUND: "ResourceNotFound",
160
+ };
161
+ exports.DocumentEnrichmentConditionOperator = {
162
+ BEGINS_WITH: "BEGINS_WITH",
163
+ CONTAINS: "CONTAINS",
164
+ EQUALS: "EQUALS",
165
+ EXISTS: "EXISTS",
166
+ GREATER_THAN: "GREATER_THAN",
167
+ GREATER_THAN_OR_EQUALS: "GREATER_THAN_OR_EQUALS",
168
+ LESS_THAN: "LESS_THAN",
169
+ LESS_THAN_OR_EQUALS: "LESS_THAN_OR_EQUALS",
170
+ NOT_CONTAINS: "NOT_CONTAINS",
171
+ NOT_EQUALS: "NOT_EQUALS",
172
+ NOT_EXISTS: "NOT_EXISTS",
173
+ };
174
+ var DocumentAttributeValue;
175
+ (function (DocumentAttributeValue) {
176
+ DocumentAttributeValue.visit = (value, visitor) => {
177
+ if (value.stringValue !== undefined)
178
+ return visitor.stringValue(value.stringValue);
179
+ if (value.stringListValue !== undefined)
180
+ return visitor.stringListValue(value.stringListValue);
181
+ if (value.longValue !== undefined)
182
+ return visitor.longValue(value.longValue);
183
+ if (value.dateValue !== undefined)
184
+ return visitor.dateValue(value.dateValue);
185
+ return visitor._(value.$unknown[0], value.$unknown[1]);
186
+ };
187
+ })(DocumentAttributeValue = exports.DocumentAttributeValue || (exports.DocumentAttributeValue = {}));
188
+ exports.DocumentContentOperator = {
189
+ DELETE: "DELETE",
190
+ };
191
+ exports.AttributeValueOperator = {
192
+ DELETE: "DELETE",
193
+ };
194
+ exports.DataSourceStatus = {
195
+ ACTIVE: "ACTIVE",
196
+ CREATING: "CREATING",
197
+ DELETING: "DELETING",
198
+ FAILED: "FAILED",
199
+ PENDING_CREATION: "PENDING_CREATION",
200
+ UPDATING: "UPDATING",
201
+ };
202
+ exports.Status = {
203
+ DISABLED: "DISABLED",
204
+ ENABLED: "ENABLED",
205
+ };
206
+ exports.AttributeType = {
207
+ DATE: "DATE",
208
+ NUMBER: "NUMBER",
209
+ STRING: "STRING",
210
+ STRING_LIST: "STRING_LIST",
211
+ };
212
+ exports.IndexStatus = {
213
+ ACTIVE: "ACTIVE",
214
+ CREATING: "CREATING",
215
+ DELETING: "DELETING",
216
+ FAILED: "FAILED",
217
+ UPDATING: "UPDATING",
218
+ };
219
+ var PluginAuthConfiguration;
220
+ (function (PluginAuthConfiguration) {
221
+ PluginAuthConfiguration.visit = (value, visitor) => {
222
+ if (value.basicAuthConfiguration !== undefined)
223
+ return visitor.basicAuthConfiguration(value.basicAuthConfiguration);
224
+ if (value.oAuth2ClientCredentialConfiguration !== undefined)
225
+ return visitor.oAuth2ClientCredentialConfiguration(value.oAuth2ClientCredentialConfiguration);
226
+ return visitor._(value.$unknown[0], value.$unknown[1]);
227
+ };
228
+ })(PluginAuthConfiguration = exports.PluginAuthConfiguration || (exports.PluginAuthConfiguration = {}));
229
+ exports.PluginState = {
230
+ DISABLED: "DISABLED",
231
+ ENABLED: "ENABLED",
232
+ };
233
+ var RetrieverConfiguration;
234
+ (function (RetrieverConfiguration) {
235
+ RetrieverConfiguration.visit = (value, visitor) => {
236
+ if (value.nativeIndexConfiguration !== undefined)
237
+ return visitor.nativeIndexConfiguration(value.nativeIndexConfiguration);
238
+ if (value.kendraIndexConfiguration !== undefined)
239
+ return visitor.kendraIndexConfiguration(value.kendraIndexConfiguration);
240
+ return visitor._(value.$unknown[0], value.$unknown[1]);
241
+ };
242
+ })(RetrieverConfiguration = exports.RetrieverConfiguration || (exports.RetrieverConfiguration = {}));
243
+ exports.RetrieverType = {
244
+ KENDRA_INDEX: "KENDRA_INDEX",
245
+ NATIVE_INDEX: "NATIVE_INDEX",
246
+ };
247
+ exports.RetrieverStatus = {
248
+ ACTIVE: "ACTIVE",
249
+ CREATING: "CREATING",
250
+ FAILED: "FAILED",
251
+ };
252
+ exports.WebExperienceSamplePromptsControlMode = {
253
+ DISABLED: "DISABLED",
254
+ ENABLED: "ENABLED",
255
+ };
256
+ var WebExperienceAuthConfiguration;
257
+ (function (WebExperienceAuthConfiguration) {
258
+ WebExperienceAuthConfiguration.visit = (value, visitor) => {
259
+ if (value.samlConfiguration !== undefined)
260
+ return visitor.samlConfiguration(value.samlConfiguration);
261
+ return visitor._(value.$unknown[0], value.$unknown[1]);
262
+ };
263
+ })(WebExperienceAuthConfiguration = exports.WebExperienceAuthConfiguration || (exports.WebExperienceAuthConfiguration = {}));
264
+ exports.WebExperienceStatus = {
265
+ ACTIVE: "ACTIVE",
266
+ CREATING: "CREATING",
267
+ DELETING: "DELETING",
268
+ FAILED: "FAILED",
269
+ PENDING_AUTH_CONFIG: "PENDING_AUTH_CONFIG",
270
+ };
271
+ exports.AttachmentStatus = {
272
+ FAILED: "FAILED",
273
+ SUCCEEDED: "SUCCEEDED",
274
+ };
275
+ var DocumentContent;
276
+ (function (DocumentContent) {
277
+ DocumentContent.visit = (value, visitor) => {
278
+ if (value.blob !== undefined)
279
+ return visitor.blob(value.blob);
280
+ if (value.s3 !== undefined)
281
+ return visitor.s3(value.s3);
282
+ return visitor._(value.$unknown[0], value.$unknown[1]);
283
+ };
284
+ })(DocumentContent = exports.DocumentContent || (exports.DocumentContent = {}));
285
+ exports.ContentType = {
286
+ CSV: "CSV",
287
+ HTML: "HTML",
288
+ JSON: "JSON",
289
+ MD: "MD",
290
+ MS_EXCEL: "MS_EXCEL",
291
+ MS_WORD: "MS_WORD",
292
+ PDF: "PDF",
293
+ PLAIN_TEXT: "PLAIN_TEXT",
294
+ PPT: "PPT",
295
+ RTF: "RTF",
296
+ XML: "XML",
297
+ XSLT: "XSLT",
298
+ };
299
+ class LicenseNotFoundException extends QBusinessServiceException_1.QBusinessServiceException {
300
+ constructor(opts) {
301
+ super({
302
+ name: "LicenseNotFoundException",
303
+ $fault: "client",
304
+ ...opts,
305
+ });
306
+ this.name = "LicenseNotFoundException";
307
+ this.$fault = "client";
308
+ Object.setPrototypeOf(this, LicenseNotFoundException.prototype);
309
+ }
310
+ }
311
+ exports.LicenseNotFoundException = LicenseNotFoundException;
312
+ exports.DataSourceSyncJobStatus = {
313
+ ABORTED: "ABORTED",
314
+ FAILED: "FAILED",
315
+ INCOMPLETE: "INCOMPLETE",
316
+ STOPPING: "STOPPING",
317
+ SUCCEEDED: "SUCCEEDED",
318
+ SYNCING: "SYNCING",
319
+ SYNCING_INDEXING: "SYNCING_INDEXING",
320
+ };
321
+ exports.DocumentStatus = {
322
+ DELETED: "DELETED",
323
+ DELETING: "DELETING",
324
+ DOCUMENT_FAILED_TO_INDEX: "DOCUMENT_FAILED_TO_INDEX",
325
+ FAILED: "FAILED",
326
+ INDEXED: "INDEXED",
327
+ PROCESSING: "PROCESSING",
328
+ RECEIVED: "RECEIVED",
329
+ UPDATED: "UPDATED",
330
+ };
331
+ exports.ResponseScope = {
332
+ ENTERPRISE_CONTENT_ONLY: "ENTERPRISE_CONTENT_ONLY",
333
+ EXTENDED_KNOWLEDGE_ENABLED: "EXTENDED_KNOWLEDGE_ENABLED",
334
+ };
335
+ var RuleConfiguration;
336
+ (function (RuleConfiguration) {
337
+ RuleConfiguration.visit = (value, visitor) => {
338
+ if (value.contentBlockerRule !== undefined)
339
+ return visitor.contentBlockerRule(value.contentBlockerRule);
340
+ if (value.contentRetrievalRule !== undefined)
341
+ return visitor.contentRetrievalRule(value.contentRetrievalRule);
342
+ return visitor._(value.$unknown[0], value.$unknown[1]);
343
+ };
344
+ })(RuleConfiguration = exports.RuleConfiguration || (exports.RuleConfiguration = {}));
345
+ exports.RuleType = {
346
+ CONTENT_BLOCKER_RULE: "CONTENT_BLOCKER_RULE",
347
+ CONTENT_RETRIEVAL_RULE: "CONTENT_RETRIEVAL_RULE",
348
+ };
349
+ exports.GroupStatus = {
350
+ DELETED: "DELETED",
351
+ DELETING: "DELETING",
352
+ FAILED: "FAILED",
353
+ PROCESSING: "PROCESSING",
354
+ SUCCEEDED: "SUCCEEDED",
355
+ };
356
+ exports.MessageType = {
357
+ SYSTEM: "SYSTEM",
358
+ USER: "USER",
359
+ };
360
+ exports.MessageUsefulnessReason = {
361
+ COMPLETE: "COMPLETE",
362
+ FACTUALLY_CORRECT: "FACTUALLY_CORRECT",
363
+ HARMFUL_OR_UNSAFE: "HARMFUL_OR_UNSAFE",
364
+ HELPFUL: "HELPFUL",
365
+ INCORRECT_OR_MISSING_SOURCES: "INCORRECT_OR_MISSING_SOURCES",
366
+ NOT_FACTUALLY_CORRECT: "NOT_FACTUALLY_CORRECT",
367
+ NOT_HELPFUL: "NOT_HELPFUL",
368
+ RELEVANT_SOURCES: "RELEVANT_SOURCES",
369
+ };
370
+ exports.MessageUsefulness = {
371
+ NOT_USEFUL: "NOT_USEFUL",
372
+ USEFUL: "USEFUL",
373
+ };
374
+ const EncryptionConfigurationFilterSensitiveLog = (obj) => ({
375
+ ...obj,
376
+ ...(obj.kmsKeyId && { kmsKeyId: smithy_client_1.SENSITIVE_STRING }),
377
+ });
378
+ exports.EncryptionConfigurationFilterSensitiveLog = EncryptionConfigurationFilterSensitiveLog;
379
+ const CreateApplicationRequestFilterSensitiveLog = (obj) => ({
380
+ ...obj,
381
+ ...(obj.encryptionConfiguration && {
382
+ encryptionConfiguration: (0, exports.EncryptionConfigurationFilterSensitiveLog)(obj.encryptionConfiguration),
383
+ }),
384
+ });
385
+ exports.CreateApplicationRequestFilterSensitiveLog = CreateApplicationRequestFilterSensitiveLog;
386
+ const GetApplicationResponseFilterSensitiveLog = (obj) => ({
387
+ ...obj,
388
+ ...(obj.encryptionConfiguration && {
389
+ encryptionConfiguration: (0, exports.EncryptionConfigurationFilterSensitiveLog)(obj.encryptionConfiguration),
390
+ }),
391
+ });
392
+ exports.GetApplicationResponseFilterSensitiveLog = GetApplicationResponseFilterSensitiveLog;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateGetChatControlsConfiguration = void 0;
4
+ const GetChatControlsConfigurationCommand_1 = require("../commands/GetChatControlsConfigurationCommand");
5
+ const QBusinessClient_1 = require("../QBusinessClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new GetChatControlsConfigurationCommand_1.GetChatControlsConfigurationCommand(input), ...args);
8
+ };
9
+ async function* paginateGetChatControlsConfiguration(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof QBusinessClient_1.QBusinessClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected QBusiness | QBusinessClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateGetChatControlsConfiguration = paginateGetChatControlsConfiguration;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListApplications = void 0;
4
+ const ListApplicationsCommand_1 = require("../commands/ListApplicationsCommand");
5
+ const QBusinessClient_1 = require("../QBusinessClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListApplicationsCommand_1.ListApplicationsCommand(input), ...args);
8
+ };
9
+ async function* paginateListApplications(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof QBusinessClient_1.QBusinessClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected QBusiness | QBusinessClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListApplications = paginateListApplications;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListConversations = void 0;
4
+ const ListConversationsCommand_1 = require("../commands/ListConversationsCommand");
5
+ const QBusinessClient_1 = require("../QBusinessClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListConversationsCommand_1.ListConversationsCommand(input), ...args);
8
+ };
9
+ async function* paginateListConversations(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof QBusinessClient_1.QBusinessClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected QBusiness | QBusinessClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListConversations = paginateListConversations;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListDataSourceSyncJobs = void 0;
4
+ const ListDataSourceSyncJobsCommand_1 = require("../commands/ListDataSourceSyncJobsCommand");
5
+ const QBusinessClient_1 = require("../QBusinessClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListDataSourceSyncJobsCommand_1.ListDataSourceSyncJobsCommand(input), ...args);
8
+ };
9
+ async function* paginateListDataSourceSyncJobs(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof QBusinessClient_1.QBusinessClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected QBusiness | QBusinessClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListDataSourceSyncJobs = paginateListDataSourceSyncJobs;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListDataSources = void 0;
4
+ const ListDataSourcesCommand_1 = require("../commands/ListDataSourcesCommand");
5
+ const QBusinessClient_1 = require("../QBusinessClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListDataSourcesCommand_1.ListDataSourcesCommand(input), ...args);
8
+ };
9
+ async function* paginateListDataSources(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof QBusinessClient_1.QBusinessClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected QBusiness | QBusinessClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListDataSources = paginateListDataSources;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListDocuments = void 0;
4
+ const ListDocumentsCommand_1 = require("../commands/ListDocumentsCommand");
5
+ const QBusinessClient_1 = require("../QBusinessClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListDocumentsCommand_1.ListDocumentsCommand(input), ...args);
8
+ };
9
+ async function* paginateListDocuments(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof QBusinessClient_1.QBusinessClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected QBusiness | QBusinessClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListDocuments = paginateListDocuments;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListGroups = void 0;
4
+ const ListGroupsCommand_1 = require("../commands/ListGroupsCommand");
5
+ const QBusinessClient_1 = require("../QBusinessClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListGroupsCommand_1.ListGroupsCommand(input), ...args);
8
+ };
9
+ async function* paginateListGroups(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof QBusinessClient_1.QBusinessClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected QBusiness | QBusinessClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListGroups = paginateListGroups;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListIndices = void 0;
4
+ const ListIndicesCommand_1 = require("../commands/ListIndicesCommand");
5
+ const QBusinessClient_1 = require("../QBusinessClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListIndicesCommand_1.ListIndicesCommand(input), ...args);
8
+ };
9
+ async function* paginateListIndices(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof QBusinessClient_1.QBusinessClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected QBusiness | QBusinessClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListIndices = paginateListIndices;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListMessages = void 0;
4
+ const ListMessagesCommand_1 = require("../commands/ListMessagesCommand");
5
+ const QBusinessClient_1 = require("../QBusinessClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListMessagesCommand_1.ListMessagesCommand(input), ...args);
8
+ };
9
+ async function* paginateListMessages(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof QBusinessClient_1.QBusinessClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected QBusiness | QBusinessClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListMessages = paginateListMessages;