@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,1406 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { DocumentType as __DocumentType } from "@smithy/types";
3
+ import { QBusinessServiceException as __BaseException } from "./QBusinessServiceException";
4
+ export declare const MemberRelation: {
5
+ readonly AND: "AND";
6
+ readonly OR: "OR";
7
+ };
8
+ export type MemberRelation =
9
+ (typeof MemberRelation)[keyof typeof MemberRelation];
10
+ export declare const ReadAccessType: {
11
+ readonly ALLOW: "ALLOW";
12
+ readonly DENY: "DENY";
13
+ };
14
+ export type ReadAccessType =
15
+ (typeof ReadAccessType)[keyof typeof ReadAccessType];
16
+ export declare const MembershipType: {
17
+ readonly DATASOURCE: "DATASOURCE";
18
+ readonly INDEX: "INDEX";
19
+ };
20
+ export type MembershipType =
21
+ (typeof MembershipType)[keyof typeof MembershipType];
22
+ export interface PrincipalGroup {
23
+ name?: string;
24
+ access: ReadAccessType | undefined;
25
+ membershipType?: MembershipType;
26
+ }
27
+ export interface PrincipalUser {
28
+ id?: string;
29
+ access: ReadAccessType | undefined;
30
+ membershipType?: MembershipType;
31
+ }
32
+ export type Principal =
33
+ | Principal.GroupMember
34
+ | Principal.UserMember
35
+ | Principal.$UnknownMember;
36
+ export declare namespace Principal {
37
+ interface UserMember {
38
+ user: PrincipalUser;
39
+ group?: never;
40
+ $unknown?: never;
41
+ }
42
+ interface GroupMember {
43
+ user?: never;
44
+ group: PrincipalGroup;
45
+ $unknown?: never;
46
+ }
47
+ interface $UnknownMember {
48
+ user?: never;
49
+ group?: never;
50
+ $unknown: [string, any];
51
+ }
52
+ interface Visitor<T> {
53
+ user: (value: PrincipalUser) => T;
54
+ group: (value: PrincipalGroup) => T;
55
+ _: (name: string, value: any) => T;
56
+ }
57
+ const visit: <T>(value: Principal, visitor: Visitor<T>) => T;
58
+ }
59
+ export interface AccessControl {
60
+ principals: Principal[] | undefined;
61
+ memberRelation?: MemberRelation;
62
+ }
63
+ export interface AccessConfiguration {
64
+ accessControls: AccessControl[] | undefined;
65
+ memberRelation?: MemberRelation;
66
+ }
67
+ export declare class AccessDeniedException extends __BaseException {
68
+ readonly name: "AccessDeniedException";
69
+ readonly $fault: "client";
70
+ constructor(
71
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
72
+ );
73
+ }
74
+ export interface ActionExecutionPayloadField {
75
+ value: __DocumentType | undefined;
76
+ }
77
+ export interface ActionExecution {
78
+ pluginId: string | undefined;
79
+ payload: Record<string, ActionExecutionPayloadField> | undefined;
80
+ payloadFieldNameSeparator: string | undefined;
81
+ }
82
+ export declare const ActionPayloadFieldType: {
83
+ readonly ARRAY: "ARRAY";
84
+ readonly BOOLEAN: "BOOLEAN";
85
+ readonly NUMBER: "NUMBER";
86
+ readonly STRING: "STRING";
87
+ };
88
+ export type ActionPayloadFieldType =
89
+ (typeof ActionPayloadFieldType)[keyof typeof ActionPayloadFieldType];
90
+ export interface ActionReviewPayloadFieldAllowedValue {
91
+ value?: __DocumentType;
92
+ displayValue?: __DocumentType;
93
+ }
94
+ export interface ActionReviewPayloadField {
95
+ displayName?: string;
96
+ displayOrder?: number;
97
+ type?: ActionPayloadFieldType;
98
+ value?: __DocumentType;
99
+ allowedValues?: ActionReviewPayloadFieldAllowedValue[];
100
+ required?: boolean;
101
+ }
102
+ export declare const PluginType: {
103
+ readonly JIRA: "JIRA";
104
+ readonly SALESFORCE: "SALESFORCE";
105
+ readonly SERVICE_NOW: "SERVICE_NOW";
106
+ readonly ZENDESK: "ZENDESK";
107
+ };
108
+ export type PluginType = (typeof PluginType)[keyof typeof PluginType];
109
+ export interface ActionReview {
110
+ pluginId?: string;
111
+ pluginType?: PluginType;
112
+ payload?: Record<string, ActionReviewPayloadField>;
113
+ payloadFieldNameSeparator?: string;
114
+ }
115
+ export declare const ApplicationStatus: {
116
+ readonly ACTIVE: "ACTIVE";
117
+ readonly CREATING: "CREATING";
118
+ readonly DELETING: "DELETING";
119
+ readonly FAILED: "FAILED";
120
+ readonly UPDATING: "UPDATING";
121
+ };
122
+ export type ApplicationStatus =
123
+ (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
124
+ export interface Application {
125
+ displayName?: string;
126
+ applicationId?: string;
127
+ createdAt?: Date;
128
+ updatedAt?: Date;
129
+ status?: ApplicationStatus;
130
+ }
131
+ export declare class ConflictException extends __BaseException {
132
+ readonly name: "ConflictException";
133
+ readonly $fault: "client";
134
+ resourceId: string | undefined;
135
+ resourceType: string | undefined;
136
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
137
+ }
138
+ export declare const AttachmentsControlMode: {
139
+ readonly DISABLED: "DISABLED";
140
+ readonly ENABLED: "ENABLED";
141
+ };
142
+ export type AttachmentsControlMode =
143
+ (typeof AttachmentsControlMode)[keyof typeof AttachmentsControlMode];
144
+ export interface AttachmentsConfiguration {
145
+ attachmentsControlMode: AttachmentsControlMode | undefined;
146
+ }
147
+ export interface EncryptionConfiguration {
148
+ kmsKeyId?: string;
149
+ }
150
+ export interface Tag {
151
+ key: string | undefined;
152
+ value: string | undefined;
153
+ }
154
+ export interface CreateApplicationRequest {
155
+ displayName: string | undefined;
156
+ roleArn: string | undefined;
157
+ description?: string;
158
+ encryptionConfiguration?: EncryptionConfiguration;
159
+ tags?: Tag[];
160
+ clientToken?: string;
161
+ attachmentsConfiguration?: AttachmentsConfiguration;
162
+ }
163
+ export interface CreateApplicationResponse {
164
+ applicationId?: string;
165
+ applicationArn?: string;
166
+ }
167
+ export declare class InternalServerException extends __BaseException {
168
+ readonly name: "InternalServerException";
169
+ readonly $fault: "server";
170
+ constructor(
171
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
172
+ );
173
+ }
174
+ export declare class ResourceNotFoundException extends __BaseException {
175
+ readonly name: "ResourceNotFoundException";
176
+ readonly $fault: "client";
177
+ resourceId: string | undefined;
178
+ resourceType: string | undefined;
179
+ constructor(
180
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
181
+ );
182
+ }
183
+ export declare class ServiceQuotaExceededException extends __BaseException {
184
+ readonly name: "ServiceQuotaExceededException";
185
+ readonly $fault: "client";
186
+ resourceId: string | undefined;
187
+ resourceType: string | undefined;
188
+ constructor(
189
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
190
+ );
191
+ }
192
+ export declare class ThrottlingException extends __BaseException {
193
+ readonly name: "ThrottlingException";
194
+ readonly $fault: "client";
195
+ constructor(
196
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
197
+ );
198
+ }
199
+ export interface ValidationExceptionField {
200
+ name: string | undefined;
201
+ message: string | undefined;
202
+ }
203
+ export declare const ValidationExceptionReason: {
204
+ readonly CANNOT_PARSE: "CANNOT_PARSE";
205
+ readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
206
+ readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
207
+ };
208
+ export type ValidationExceptionReason =
209
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
210
+ export declare class ValidationException extends __BaseException {
211
+ readonly name: "ValidationException";
212
+ readonly $fault: "client";
213
+ reason: ValidationExceptionReason | undefined;
214
+ fields?: ValidationExceptionField[];
215
+ constructor(
216
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
217
+ );
218
+ }
219
+ export interface DeleteApplicationRequest {
220
+ applicationId: string | undefined;
221
+ }
222
+ export interface DeleteApplicationResponse {}
223
+ export interface GetApplicationRequest {
224
+ applicationId: string | undefined;
225
+ }
226
+ export interface AppliedAttachmentsConfiguration {
227
+ attachmentsControlMode?: AttachmentsControlMode;
228
+ }
229
+ export declare const ErrorCode: {
230
+ readonly INTERNAL_ERROR: "InternalError";
231
+ readonly INVALID_REQUEST: "InvalidRequest";
232
+ readonly RESOURCE_INACTIVE: "ResourceInactive";
233
+ readonly RESOURCE_NOT_FOUND: "ResourceNotFound";
234
+ };
235
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
236
+ export interface ErrorDetail {
237
+ errorMessage?: string;
238
+ errorCode?: ErrorCode;
239
+ }
240
+ export interface GetApplicationResponse {
241
+ displayName?: string;
242
+ applicationId?: string;
243
+ applicationArn?: string;
244
+ roleArn?: string;
245
+ status?: ApplicationStatus;
246
+ description?: string;
247
+ encryptionConfiguration?: EncryptionConfiguration;
248
+ createdAt?: Date;
249
+ updatedAt?: Date;
250
+ error?: ErrorDetail;
251
+ attachmentsConfiguration?: AppliedAttachmentsConfiguration;
252
+ }
253
+ export interface IndexCapacityConfiguration {
254
+ units?: number;
255
+ }
256
+ export interface CreateIndexRequest {
257
+ applicationId: string | undefined;
258
+ displayName: string | undefined;
259
+ description?: string;
260
+ tags?: Tag[];
261
+ capacityConfiguration?: IndexCapacityConfiguration;
262
+ clientToken?: string;
263
+ }
264
+ export interface CreateIndexResponse {
265
+ indexId?: string;
266
+ indexArn?: string;
267
+ }
268
+ export declare const DocumentEnrichmentConditionOperator: {
269
+ readonly BEGINS_WITH: "BEGINS_WITH";
270
+ readonly CONTAINS: "CONTAINS";
271
+ readonly EQUALS: "EQUALS";
272
+ readonly EXISTS: "EXISTS";
273
+ readonly GREATER_THAN: "GREATER_THAN";
274
+ readonly GREATER_THAN_OR_EQUALS: "GREATER_THAN_OR_EQUALS";
275
+ readonly LESS_THAN: "LESS_THAN";
276
+ readonly LESS_THAN_OR_EQUALS: "LESS_THAN_OR_EQUALS";
277
+ readonly NOT_CONTAINS: "NOT_CONTAINS";
278
+ readonly NOT_EQUALS: "NOT_EQUALS";
279
+ readonly NOT_EXISTS: "NOT_EXISTS";
280
+ };
281
+ export type DocumentEnrichmentConditionOperator =
282
+ (typeof DocumentEnrichmentConditionOperator)[keyof typeof DocumentEnrichmentConditionOperator];
283
+ export type DocumentAttributeValue =
284
+ | DocumentAttributeValue.DateValueMember
285
+ | DocumentAttributeValue.LongValueMember
286
+ | DocumentAttributeValue.StringListValueMember
287
+ | DocumentAttributeValue.StringValueMember
288
+ | DocumentAttributeValue.$UnknownMember;
289
+ export declare namespace DocumentAttributeValue {
290
+ interface StringValueMember {
291
+ stringValue: string;
292
+ stringListValue?: never;
293
+ longValue?: never;
294
+ dateValue?: never;
295
+ $unknown?: never;
296
+ }
297
+ interface StringListValueMember {
298
+ stringValue?: never;
299
+ stringListValue: string[];
300
+ longValue?: never;
301
+ dateValue?: never;
302
+ $unknown?: never;
303
+ }
304
+ interface LongValueMember {
305
+ stringValue?: never;
306
+ stringListValue?: never;
307
+ longValue: number;
308
+ dateValue?: never;
309
+ $unknown?: never;
310
+ }
311
+ interface DateValueMember {
312
+ stringValue?: never;
313
+ stringListValue?: never;
314
+ longValue?: never;
315
+ dateValue: Date;
316
+ $unknown?: never;
317
+ }
318
+ interface $UnknownMember {
319
+ stringValue?: never;
320
+ stringListValue?: never;
321
+ longValue?: never;
322
+ dateValue?: never;
323
+ $unknown: [string, any];
324
+ }
325
+ interface Visitor<T> {
326
+ stringValue: (value: string) => T;
327
+ stringListValue: (value: string[]) => T;
328
+ longValue: (value: number) => T;
329
+ dateValue: (value: Date) => T;
330
+ _: (name: string, value: any) => T;
331
+ }
332
+ const visit: <T>(value: DocumentAttributeValue, visitor: Visitor<T>) => T;
333
+ }
334
+ export interface DocumentAttributeCondition {
335
+ key: string | undefined;
336
+ operator: DocumentEnrichmentConditionOperator | undefined;
337
+ value?: DocumentAttributeValue;
338
+ }
339
+ export declare const DocumentContentOperator: {
340
+ readonly DELETE: "DELETE";
341
+ };
342
+ export type DocumentContentOperator =
343
+ (typeof DocumentContentOperator)[keyof typeof DocumentContentOperator];
344
+ export declare const AttributeValueOperator: {
345
+ readonly DELETE: "DELETE";
346
+ };
347
+ export type AttributeValueOperator =
348
+ (typeof AttributeValueOperator)[keyof typeof AttributeValueOperator];
349
+ export interface DocumentAttributeTarget {
350
+ key: string | undefined;
351
+ value?: DocumentAttributeValue;
352
+ attributeValueOperator?: AttributeValueOperator;
353
+ }
354
+ export interface InlineDocumentEnrichmentConfiguration {
355
+ condition?: DocumentAttributeCondition;
356
+ target?: DocumentAttributeTarget;
357
+ documentContentOperator?: DocumentContentOperator;
358
+ }
359
+ export interface HookConfiguration {
360
+ invocationCondition?: DocumentAttributeCondition;
361
+ lambdaArn?: string;
362
+ s3BucketName?: string;
363
+ roleArn?: string;
364
+ }
365
+ export interface DocumentEnrichmentConfiguration {
366
+ inlineConfigurations?: InlineDocumentEnrichmentConfiguration[];
367
+ preExtractionHookConfiguration?: HookConfiguration;
368
+ postExtractionHookConfiguration?: HookConfiguration;
369
+ }
370
+ export interface DataSourceVpcConfiguration {
371
+ subnetIds: string[] | undefined;
372
+ securityGroupIds: string[] | undefined;
373
+ }
374
+ export interface CreateDataSourceRequest {
375
+ applicationId: string | undefined;
376
+ indexId: string | undefined;
377
+ displayName: string | undefined;
378
+ configuration: __DocumentType | undefined;
379
+ vpcConfiguration?: DataSourceVpcConfiguration;
380
+ description?: string;
381
+ tags?: Tag[];
382
+ syncSchedule?: string;
383
+ roleArn?: string;
384
+ clientToken?: string;
385
+ documentEnrichmentConfiguration?: DocumentEnrichmentConfiguration;
386
+ }
387
+ export interface CreateDataSourceResponse {
388
+ dataSourceId?: string;
389
+ dataSourceArn?: string;
390
+ }
391
+ export interface DeleteDataSourceRequest {
392
+ applicationId: string | undefined;
393
+ indexId: string | undefined;
394
+ dataSourceId: string | undefined;
395
+ }
396
+ export interface DeleteDataSourceResponse {}
397
+ export interface GetDataSourceRequest {
398
+ applicationId: string | undefined;
399
+ indexId: string | undefined;
400
+ dataSourceId: string | undefined;
401
+ }
402
+ export declare const DataSourceStatus: {
403
+ readonly ACTIVE: "ACTIVE";
404
+ readonly CREATING: "CREATING";
405
+ readonly DELETING: "DELETING";
406
+ readonly FAILED: "FAILED";
407
+ readonly PENDING_CREATION: "PENDING_CREATION";
408
+ readonly UPDATING: "UPDATING";
409
+ };
410
+ export type DataSourceStatus =
411
+ (typeof DataSourceStatus)[keyof typeof DataSourceStatus];
412
+ export interface GetDataSourceResponse {
413
+ applicationId?: string;
414
+ indexId?: string;
415
+ dataSourceId?: string;
416
+ dataSourceArn?: string;
417
+ displayName?: string;
418
+ type?: string;
419
+ configuration?: __DocumentType;
420
+ vpcConfiguration?: DataSourceVpcConfiguration;
421
+ createdAt?: Date;
422
+ updatedAt?: Date;
423
+ description?: string;
424
+ status?: DataSourceStatus;
425
+ syncSchedule?: string;
426
+ roleArn?: string;
427
+ error?: ErrorDetail;
428
+ documentEnrichmentConfiguration?: DocumentEnrichmentConfiguration;
429
+ }
430
+ export interface ListDataSourcesRequest {
431
+ applicationId: string | undefined;
432
+ indexId: string | undefined;
433
+ nextToken?: string;
434
+ maxResults?: number;
435
+ }
436
+ export interface DataSource {
437
+ displayName?: string;
438
+ dataSourceId?: string;
439
+ type?: string;
440
+ createdAt?: Date;
441
+ updatedAt?: Date;
442
+ status?: DataSourceStatus;
443
+ }
444
+ export interface ListDataSourcesResponse {
445
+ dataSources?: DataSource[];
446
+ nextToken?: string;
447
+ }
448
+ export interface UpdateDataSourceRequest {
449
+ applicationId: string | undefined;
450
+ indexId: string | undefined;
451
+ dataSourceId: string | undefined;
452
+ displayName?: string;
453
+ configuration?: __DocumentType;
454
+ vpcConfiguration?: DataSourceVpcConfiguration;
455
+ description?: string;
456
+ syncSchedule?: string;
457
+ roleArn?: string;
458
+ documentEnrichmentConfiguration?: DocumentEnrichmentConfiguration;
459
+ }
460
+ export interface UpdateDataSourceResponse {}
461
+ export interface DeleteIndexRequest {
462
+ applicationId: string | undefined;
463
+ indexId: string | undefined;
464
+ }
465
+ export interface DeleteIndexResponse {}
466
+ export interface GetIndexRequest {
467
+ applicationId: string | undefined;
468
+ indexId: string | undefined;
469
+ }
470
+ export declare const Status: {
471
+ readonly DISABLED: "DISABLED";
472
+ readonly ENABLED: "ENABLED";
473
+ };
474
+ export type Status = (typeof Status)[keyof typeof Status];
475
+ export declare const AttributeType: {
476
+ readonly DATE: "DATE";
477
+ readonly NUMBER: "NUMBER";
478
+ readonly STRING: "STRING";
479
+ readonly STRING_LIST: "STRING_LIST";
480
+ };
481
+ export type AttributeType = (typeof AttributeType)[keyof typeof AttributeType];
482
+ export interface DocumentAttributeConfiguration {
483
+ name?: string;
484
+ type?: AttributeType;
485
+ search?: Status;
486
+ }
487
+ export interface TextDocumentStatistics {
488
+ indexedTextBytes?: number;
489
+ indexedTextDocumentCount?: number;
490
+ }
491
+ export interface IndexStatistics {
492
+ textDocumentStatistics?: TextDocumentStatistics;
493
+ }
494
+ export declare const IndexStatus: {
495
+ readonly ACTIVE: "ACTIVE";
496
+ readonly CREATING: "CREATING";
497
+ readonly DELETING: "DELETING";
498
+ readonly FAILED: "FAILED";
499
+ readonly UPDATING: "UPDATING";
500
+ };
501
+ export type IndexStatus = (typeof IndexStatus)[keyof typeof IndexStatus];
502
+ export interface GetIndexResponse {
503
+ applicationId?: string;
504
+ indexId?: string;
505
+ displayName?: string;
506
+ indexArn?: string;
507
+ status?: IndexStatus;
508
+ description?: string;
509
+ createdAt?: Date;
510
+ updatedAt?: Date;
511
+ capacityConfiguration?: IndexCapacityConfiguration;
512
+ documentAttributeConfigurations?: DocumentAttributeConfiguration[];
513
+ error?: ErrorDetail;
514
+ indexStatistics?: IndexStatistics;
515
+ }
516
+ export interface ListIndicesRequest {
517
+ applicationId: string | undefined;
518
+ nextToken?: string;
519
+ maxResults?: number;
520
+ }
521
+ export interface Index {
522
+ displayName?: string;
523
+ indexId?: string;
524
+ createdAt?: Date;
525
+ updatedAt?: Date;
526
+ status?: IndexStatus;
527
+ }
528
+ export interface ListIndicesResponse {
529
+ nextToken?: string;
530
+ indices?: Index[];
531
+ }
532
+ export interface UpdateIndexRequest {
533
+ applicationId: string | undefined;
534
+ indexId: string | undefined;
535
+ displayName?: string;
536
+ description?: string;
537
+ capacityConfiguration?: IndexCapacityConfiguration;
538
+ documentAttributeConfigurations?: DocumentAttributeConfiguration[];
539
+ }
540
+ export interface UpdateIndexResponse {}
541
+ export interface ListApplicationsRequest {
542
+ nextToken?: string;
543
+ maxResults?: number;
544
+ }
545
+ export interface ListApplicationsResponse {
546
+ nextToken?: string;
547
+ applications?: Application[];
548
+ }
549
+ export interface BasicAuthConfiguration {
550
+ secretArn: string | undefined;
551
+ roleArn: string | undefined;
552
+ }
553
+ export interface OAuth2ClientCredentialConfiguration {
554
+ secretArn: string | undefined;
555
+ roleArn: string | undefined;
556
+ }
557
+ export type PluginAuthConfiguration =
558
+ | PluginAuthConfiguration.BasicAuthConfigurationMember
559
+ | PluginAuthConfiguration.OAuth2ClientCredentialConfigurationMember
560
+ | PluginAuthConfiguration.$UnknownMember;
561
+ export declare namespace PluginAuthConfiguration {
562
+ interface BasicAuthConfigurationMember {
563
+ basicAuthConfiguration: BasicAuthConfiguration;
564
+ oAuth2ClientCredentialConfiguration?: never;
565
+ $unknown?: never;
566
+ }
567
+ interface OAuth2ClientCredentialConfigurationMember {
568
+ basicAuthConfiguration?: never;
569
+ oAuth2ClientCredentialConfiguration: OAuth2ClientCredentialConfiguration;
570
+ $unknown?: never;
571
+ }
572
+ interface $UnknownMember {
573
+ basicAuthConfiguration?: never;
574
+ oAuth2ClientCredentialConfiguration?: never;
575
+ $unknown: [string, any];
576
+ }
577
+ interface Visitor<T> {
578
+ basicAuthConfiguration: (value: BasicAuthConfiguration) => T;
579
+ oAuth2ClientCredentialConfiguration: (
580
+ value: OAuth2ClientCredentialConfiguration
581
+ ) => T;
582
+ _: (name: string, value: any) => T;
583
+ }
584
+ const visit: <T>(value: PluginAuthConfiguration, visitor: Visitor<T>) => T;
585
+ }
586
+ export interface CreatePluginRequest {
587
+ applicationId: string | undefined;
588
+ displayName: string | undefined;
589
+ type: PluginType | undefined;
590
+ serverUrl: string | undefined;
591
+ authConfiguration: PluginAuthConfiguration | undefined;
592
+ tags?: Tag[];
593
+ clientToken?: string;
594
+ }
595
+ export interface CreatePluginResponse {
596
+ pluginId?: string;
597
+ pluginArn?: string;
598
+ }
599
+ export interface DeletePluginRequest {
600
+ applicationId: string | undefined;
601
+ pluginId: string | undefined;
602
+ }
603
+ export interface DeletePluginResponse {}
604
+ export interface GetPluginRequest {
605
+ applicationId: string | undefined;
606
+ pluginId: string | undefined;
607
+ }
608
+ export declare const PluginState: {
609
+ readonly DISABLED: "DISABLED";
610
+ readonly ENABLED: "ENABLED";
611
+ };
612
+ export type PluginState = (typeof PluginState)[keyof typeof PluginState];
613
+ export interface GetPluginResponse {
614
+ applicationId?: string;
615
+ pluginId?: string;
616
+ displayName?: string;
617
+ type?: PluginType;
618
+ serverUrl?: string;
619
+ authConfiguration?: PluginAuthConfiguration;
620
+ pluginArn?: string;
621
+ state?: PluginState;
622
+ createdAt?: Date;
623
+ updatedAt?: Date;
624
+ }
625
+ export interface ListPluginsRequest {
626
+ applicationId: string | undefined;
627
+ nextToken?: string;
628
+ maxResults?: number;
629
+ }
630
+ export interface Plugin {
631
+ pluginId?: string;
632
+ displayName?: string;
633
+ type?: PluginType;
634
+ serverUrl?: string;
635
+ state?: PluginState;
636
+ createdAt?: Date;
637
+ updatedAt?: Date;
638
+ }
639
+ export interface ListPluginsResponse {
640
+ nextToken?: string;
641
+ plugins?: Plugin[];
642
+ }
643
+ export interface UpdatePluginRequest {
644
+ applicationId: string | undefined;
645
+ pluginId: string | undefined;
646
+ displayName?: string;
647
+ state?: PluginState;
648
+ serverUrl?: string;
649
+ authConfiguration?: PluginAuthConfiguration;
650
+ }
651
+ export interface UpdatePluginResponse {}
652
+ export interface KendraIndexConfiguration {
653
+ indexId: string | undefined;
654
+ }
655
+ export interface NativeIndexConfiguration {
656
+ indexId: string | undefined;
657
+ }
658
+ export type RetrieverConfiguration =
659
+ | RetrieverConfiguration.KendraIndexConfigurationMember
660
+ | RetrieverConfiguration.NativeIndexConfigurationMember
661
+ | RetrieverConfiguration.$UnknownMember;
662
+ export declare namespace RetrieverConfiguration {
663
+ interface NativeIndexConfigurationMember {
664
+ nativeIndexConfiguration: NativeIndexConfiguration;
665
+ kendraIndexConfiguration?: never;
666
+ $unknown?: never;
667
+ }
668
+ interface KendraIndexConfigurationMember {
669
+ nativeIndexConfiguration?: never;
670
+ kendraIndexConfiguration: KendraIndexConfiguration;
671
+ $unknown?: never;
672
+ }
673
+ interface $UnknownMember {
674
+ nativeIndexConfiguration?: never;
675
+ kendraIndexConfiguration?: never;
676
+ $unknown: [string, any];
677
+ }
678
+ interface Visitor<T> {
679
+ nativeIndexConfiguration: (value: NativeIndexConfiguration) => T;
680
+ kendraIndexConfiguration: (value: KendraIndexConfiguration) => T;
681
+ _: (name: string, value: any) => T;
682
+ }
683
+ const visit: <T>(value: RetrieverConfiguration, visitor: Visitor<T>) => T;
684
+ }
685
+ export declare const RetrieverType: {
686
+ readonly KENDRA_INDEX: "KENDRA_INDEX";
687
+ readonly NATIVE_INDEX: "NATIVE_INDEX";
688
+ };
689
+ export type RetrieverType = (typeof RetrieverType)[keyof typeof RetrieverType];
690
+ export interface CreateRetrieverRequest {
691
+ applicationId: string | undefined;
692
+ type: RetrieverType | undefined;
693
+ displayName: string | undefined;
694
+ configuration: RetrieverConfiguration | undefined;
695
+ roleArn?: string;
696
+ clientToken?: string;
697
+ tags?: Tag[];
698
+ }
699
+ export interface CreateRetrieverResponse {
700
+ retrieverId?: string;
701
+ retrieverArn?: string;
702
+ }
703
+ export interface DeleteRetrieverRequest {
704
+ applicationId: string | undefined;
705
+ retrieverId: string | undefined;
706
+ }
707
+ export interface DeleteRetrieverResponse {}
708
+ export interface GetRetrieverRequest {
709
+ applicationId: string | undefined;
710
+ retrieverId: string | undefined;
711
+ }
712
+ export declare const RetrieverStatus: {
713
+ readonly ACTIVE: "ACTIVE";
714
+ readonly CREATING: "CREATING";
715
+ readonly FAILED: "FAILED";
716
+ };
717
+ export type RetrieverStatus =
718
+ (typeof RetrieverStatus)[keyof typeof RetrieverStatus];
719
+ export interface GetRetrieverResponse {
720
+ applicationId?: string;
721
+ retrieverId?: string;
722
+ retrieverArn?: string;
723
+ type?: RetrieverType;
724
+ status?: RetrieverStatus;
725
+ displayName?: string;
726
+ configuration?: RetrieverConfiguration;
727
+ roleArn?: string;
728
+ createdAt?: Date;
729
+ updatedAt?: Date;
730
+ }
731
+ export interface ListRetrieversRequest {
732
+ applicationId: string | undefined;
733
+ nextToken?: string;
734
+ maxResults?: number;
735
+ }
736
+ export interface Retriever {
737
+ applicationId?: string;
738
+ retrieverId?: string;
739
+ type?: RetrieverType;
740
+ status?: RetrieverStatus;
741
+ displayName?: string;
742
+ }
743
+ export interface ListRetrieversResponse {
744
+ retrievers?: Retriever[];
745
+ nextToken?: string;
746
+ }
747
+ export interface UpdateRetrieverRequest {
748
+ applicationId: string | undefined;
749
+ retrieverId: string | undefined;
750
+ configuration?: RetrieverConfiguration;
751
+ displayName?: string;
752
+ roleArn?: string;
753
+ }
754
+ export interface UpdateRetrieverResponse {}
755
+ export interface UpdateApplicationRequest {
756
+ applicationId: string | undefined;
757
+ displayName?: string;
758
+ description?: string;
759
+ roleArn?: string;
760
+ attachmentsConfiguration?: AttachmentsConfiguration;
761
+ }
762
+ export interface UpdateApplicationResponse {}
763
+ export declare const WebExperienceSamplePromptsControlMode: {
764
+ readonly DISABLED: "DISABLED";
765
+ readonly ENABLED: "ENABLED";
766
+ };
767
+ export type WebExperienceSamplePromptsControlMode =
768
+ (typeof WebExperienceSamplePromptsControlMode)[keyof typeof WebExperienceSamplePromptsControlMode];
769
+ export interface CreateWebExperienceRequest {
770
+ applicationId: string | undefined;
771
+ title?: string;
772
+ subtitle?: string;
773
+ welcomeMessage?: string;
774
+ samplePromptsControlMode?: WebExperienceSamplePromptsControlMode;
775
+ tags?: Tag[];
776
+ clientToken?: string;
777
+ }
778
+ export interface CreateWebExperienceResponse {
779
+ webExperienceId?: string;
780
+ webExperienceArn?: string;
781
+ }
782
+ export interface DeleteWebExperienceRequest {
783
+ applicationId: string | undefined;
784
+ webExperienceId: string | undefined;
785
+ }
786
+ export interface DeleteWebExperienceResponse {}
787
+ export interface GetWebExperienceRequest {
788
+ applicationId: string | undefined;
789
+ webExperienceId: string | undefined;
790
+ }
791
+ export interface SamlConfiguration {
792
+ metadataXML: string | undefined;
793
+ roleArn: string | undefined;
794
+ userIdAttribute: string | undefined;
795
+ userGroupAttribute?: string;
796
+ }
797
+ export type WebExperienceAuthConfiguration =
798
+ | WebExperienceAuthConfiguration.SamlConfigurationMember
799
+ | WebExperienceAuthConfiguration.$UnknownMember;
800
+ export declare namespace WebExperienceAuthConfiguration {
801
+ interface SamlConfigurationMember {
802
+ samlConfiguration: SamlConfiguration;
803
+ $unknown?: never;
804
+ }
805
+ interface $UnknownMember {
806
+ samlConfiguration?: never;
807
+ $unknown: [string, any];
808
+ }
809
+ interface Visitor<T> {
810
+ samlConfiguration: (value: SamlConfiguration) => T;
811
+ _: (name: string, value: any) => T;
812
+ }
813
+ const visit: <T>(
814
+ value: WebExperienceAuthConfiguration,
815
+ visitor: Visitor<T>
816
+ ) => T;
817
+ }
818
+ export declare const WebExperienceStatus: {
819
+ readonly ACTIVE: "ACTIVE";
820
+ readonly CREATING: "CREATING";
821
+ readonly DELETING: "DELETING";
822
+ readonly FAILED: "FAILED";
823
+ readonly PENDING_AUTH_CONFIG: "PENDING_AUTH_CONFIG";
824
+ };
825
+ export type WebExperienceStatus =
826
+ (typeof WebExperienceStatus)[keyof typeof WebExperienceStatus];
827
+ export interface GetWebExperienceResponse {
828
+ applicationId?: string;
829
+ webExperienceId?: string;
830
+ webExperienceArn?: string;
831
+ defaultEndpoint?: string;
832
+ status?: WebExperienceStatus;
833
+ createdAt?: Date;
834
+ updatedAt?: Date;
835
+ title?: string;
836
+ subtitle?: string;
837
+ welcomeMessage?: string;
838
+ samplePromptsControlMode?: WebExperienceSamplePromptsControlMode;
839
+ authenticationConfiguration?: WebExperienceAuthConfiguration;
840
+ error?: ErrorDetail;
841
+ }
842
+ export interface ListWebExperiencesRequest {
843
+ applicationId: string | undefined;
844
+ nextToken?: string;
845
+ maxResults?: number;
846
+ }
847
+ export interface WebExperience {
848
+ webExperienceId?: string;
849
+ createdAt?: Date;
850
+ updatedAt?: Date;
851
+ defaultEndpoint?: string;
852
+ status?: WebExperienceStatus;
853
+ }
854
+ export interface ListWebExperiencesResponse {
855
+ webExperiences?: WebExperience[];
856
+ nextToken?: string;
857
+ }
858
+ export interface UpdateWebExperienceRequest {
859
+ applicationId: string | undefined;
860
+ webExperienceId: string | undefined;
861
+ authenticationConfiguration?: WebExperienceAuthConfiguration;
862
+ title?: string;
863
+ subtitle?: string;
864
+ welcomeMessage?: string;
865
+ samplePromptsControlMode?: WebExperienceSamplePromptsControlMode;
866
+ }
867
+ export interface UpdateWebExperienceResponse {}
868
+ export interface AttachmentInput {
869
+ name: string | undefined;
870
+ data: Uint8Array | undefined;
871
+ }
872
+ export declare const AttachmentStatus: {
873
+ readonly FAILED: "FAILED";
874
+ readonly SUCCEEDED: "SUCCEEDED";
875
+ };
876
+ export type AttachmentStatus =
877
+ (typeof AttachmentStatus)[keyof typeof AttachmentStatus];
878
+ export interface AttachmentOutput {
879
+ name?: string;
880
+ status?: AttachmentStatus;
881
+ error?: ErrorDetail;
882
+ }
883
+ export interface DocumentAttribute {
884
+ name: string | undefined;
885
+ value: DocumentAttributeValue | undefined;
886
+ }
887
+ export interface DeleteDocument {
888
+ documentId: string | undefined;
889
+ }
890
+ export interface BatchDeleteDocumentRequest {
891
+ applicationId: string | undefined;
892
+ indexId: string | undefined;
893
+ documents: DeleteDocument[] | undefined;
894
+ dataSourceSyncId?: string;
895
+ }
896
+ export interface FailedDocument {
897
+ id?: string;
898
+ error?: ErrorDetail;
899
+ dataSourceId?: string;
900
+ }
901
+ export interface BatchDeleteDocumentResponse {
902
+ failedDocuments?: FailedDocument[];
903
+ }
904
+ export interface S3 {
905
+ bucket: string | undefined;
906
+ key: string | undefined;
907
+ }
908
+ export type DocumentContent =
909
+ | DocumentContent.BlobMember
910
+ | DocumentContent.S3Member
911
+ | DocumentContent.$UnknownMember;
912
+ export declare namespace DocumentContent {
913
+ interface BlobMember {
914
+ blob: Uint8Array;
915
+ s3?: never;
916
+ $unknown?: never;
917
+ }
918
+ interface S3Member {
919
+ blob?: never;
920
+ s3: S3;
921
+ $unknown?: never;
922
+ }
923
+ interface $UnknownMember {
924
+ blob?: never;
925
+ s3?: never;
926
+ $unknown: [string, any];
927
+ }
928
+ interface Visitor<T> {
929
+ blob: (value: Uint8Array) => T;
930
+ s3: (value: S3) => T;
931
+ _: (name: string, value: any) => T;
932
+ }
933
+ const visit: <T>(value: DocumentContent, visitor: Visitor<T>) => T;
934
+ }
935
+ export declare const ContentType: {
936
+ readonly CSV: "CSV";
937
+ readonly HTML: "HTML";
938
+ readonly JSON: "JSON";
939
+ readonly MD: "MD";
940
+ readonly MS_EXCEL: "MS_EXCEL";
941
+ readonly MS_WORD: "MS_WORD";
942
+ readonly PDF: "PDF";
943
+ readonly PLAIN_TEXT: "PLAIN_TEXT";
944
+ readonly PPT: "PPT";
945
+ readonly RTF: "RTF";
946
+ readonly XML: "XML";
947
+ readonly XSLT: "XSLT";
948
+ };
949
+ export type ContentType = (typeof ContentType)[keyof typeof ContentType];
950
+ export interface Document {
951
+ id: string | undefined;
952
+ attributes?: DocumentAttribute[];
953
+ content?: DocumentContent;
954
+ contentType?: ContentType;
955
+ title?: string;
956
+ accessConfiguration?: AccessConfiguration;
957
+ documentEnrichmentConfiguration?: DocumentEnrichmentConfiguration;
958
+ }
959
+ export interface BatchPutDocumentRequest {
960
+ applicationId: string | undefined;
961
+ indexId: string | undefined;
962
+ documents: Document[] | undefined;
963
+ roleArn?: string;
964
+ dataSourceSyncId?: string;
965
+ }
966
+ export interface BatchPutDocumentResponse {
967
+ failedDocuments?: FailedDocument[];
968
+ }
969
+ export interface BlockedPhrasesConfiguration {
970
+ blockedPhrases?: string[];
971
+ systemMessageOverride?: string;
972
+ }
973
+ export interface BlockedPhrasesConfigurationUpdate {
974
+ blockedPhrasesToCreateOrUpdate?: string[];
975
+ blockedPhrasesToDelete?: string[];
976
+ systemMessageOverride?: string;
977
+ }
978
+ export interface TextSegment {
979
+ beginOffset?: number;
980
+ endOffset?: number;
981
+ }
982
+ export interface SourceAttribution {
983
+ title?: string;
984
+ snippet?: string;
985
+ url?: string;
986
+ citationNumber?: number;
987
+ updatedAt?: Date;
988
+ textMessageSegments?: TextSegment[];
989
+ }
990
+ export interface ChatSyncOutput {
991
+ conversationId?: string;
992
+ systemMessage?: string;
993
+ systemMessageId?: string;
994
+ userMessageId?: string;
995
+ actionReview?: ActionReview;
996
+ sourceAttributions?: SourceAttribution[];
997
+ failedAttachments?: AttachmentOutput[];
998
+ }
999
+ export declare class LicenseNotFoundException extends __BaseException {
1000
+ readonly name: "LicenseNotFoundException";
1001
+ readonly $fault: "client";
1002
+ constructor(
1003
+ opts: __ExceptionOptionType<LicenseNotFoundException, __BaseException>
1004
+ );
1005
+ }
1006
+ export interface ContentBlockerRule {
1007
+ systemMessageOverride?: string;
1008
+ }
1009
+ export interface EligibleDataSource {
1010
+ indexId?: string;
1011
+ dataSourceId?: string;
1012
+ }
1013
+ export interface ContentRetrievalRule {
1014
+ eligibleDataSources?: EligibleDataSource[];
1015
+ }
1016
+ export interface Conversation {
1017
+ conversationId?: string;
1018
+ title?: string;
1019
+ startTime?: Date;
1020
+ }
1021
+ export interface UserAlias {
1022
+ indexId?: string;
1023
+ dataSourceId?: string;
1024
+ userId: string | undefined;
1025
+ }
1026
+ export interface CreateUserRequest {
1027
+ applicationId: string | undefined;
1028
+ userId: string | undefined;
1029
+ userAliases?: UserAlias[];
1030
+ clientToken?: string;
1031
+ }
1032
+ export interface CreateUserResponse {}
1033
+ export interface DataSourceSyncJobMetrics {
1034
+ documentsAdded?: string;
1035
+ documentsModified?: string;
1036
+ documentsDeleted?: string;
1037
+ documentsFailed?: string;
1038
+ documentsScanned?: string;
1039
+ }
1040
+ export declare const DataSourceSyncJobStatus: {
1041
+ readonly ABORTED: "ABORTED";
1042
+ readonly FAILED: "FAILED";
1043
+ readonly INCOMPLETE: "INCOMPLETE";
1044
+ readonly STOPPING: "STOPPING";
1045
+ readonly SUCCEEDED: "SUCCEEDED";
1046
+ readonly SYNCING: "SYNCING";
1047
+ readonly SYNCING_INDEXING: "SYNCING_INDEXING";
1048
+ };
1049
+ export type DataSourceSyncJobStatus =
1050
+ (typeof DataSourceSyncJobStatus)[keyof typeof DataSourceSyncJobStatus];
1051
+ export interface DataSourceSyncJob {
1052
+ executionId?: string;
1053
+ startTime?: Date;
1054
+ endTime?: Date;
1055
+ status?: DataSourceSyncJobStatus;
1056
+ error?: ErrorDetail;
1057
+ dataSourceErrorCode?: string;
1058
+ metrics?: DataSourceSyncJobMetrics;
1059
+ }
1060
+ export interface DeleteChatControlsConfigurationRequest {
1061
+ applicationId: string | undefined;
1062
+ }
1063
+ export interface DeleteChatControlsConfigurationResponse {}
1064
+ export interface DeleteConversationRequest {
1065
+ conversationId: string | undefined;
1066
+ applicationId: string | undefined;
1067
+ userId: string | undefined;
1068
+ }
1069
+ export interface DeleteConversationResponse {}
1070
+ export interface DeleteGroupRequest {
1071
+ applicationId: string | undefined;
1072
+ indexId: string | undefined;
1073
+ groupName: string | undefined;
1074
+ dataSourceId?: string;
1075
+ }
1076
+ export interface DeleteGroupResponse {}
1077
+ export interface DeleteUserRequest {
1078
+ applicationId: string | undefined;
1079
+ userId: string | undefined;
1080
+ }
1081
+ export interface DeleteUserResponse {}
1082
+ export declare const DocumentStatus: {
1083
+ readonly DELETED: "DELETED";
1084
+ readonly DELETING: "DELETING";
1085
+ readonly DOCUMENT_FAILED_TO_INDEX: "DOCUMENT_FAILED_TO_INDEX";
1086
+ readonly FAILED: "FAILED";
1087
+ readonly INDEXED: "INDEXED";
1088
+ readonly PROCESSING: "PROCESSING";
1089
+ readonly RECEIVED: "RECEIVED";
1090
+ readonly UPDATED: "UPDATED";
1091
+ };
1092
+ export type DocumentStatus =
1093
+ (typeof DocumentStatus)[keyof typeof DocumentStatus];
1094
+ export interface DocumentDetails {
1095
+ documentId?: string;
1096
+ status?: DocumentStatus;
1097
+ error?: ErrorDetail;
1098
+ createdAt?: Date;
1099
+ updatedAt?: Date;
1100
+ }
1101
+ export interface GetChatControlsConfigurationRequest {
1102
+ applicationId: string | undefined;
1103
+ maxResults?: number;
1104
+ nextToken?: string;
1105
+ }
1106
+ export declare const ResponseScope: {
1107
+ readonly ENTERPRISE_CONTENT_ONLY: "ENTERPRISE_CONTENT_ONLY";
1108
+ readonly EXTENDED_KNOWLEDGE_ENABLED: "EXTENDED_KNOWLEDGE_ENABLED";
1109
+ };
1110
+ export type ResponseScope = (typeof ResponseScope)[keyof typeof ResponseScope];
1111
+ export interface UsersAndGroups {
1112
+ userIds?: string[];
1113
+ userGroups?: string[];
1114
+ }
1115
+ export type RuleConfiguration =
1116
+ | RuleConfiguration.ContentBlockerRuleMember
1117
+ | RuleConfiguration.ContentRetrievalRuleMember
1118
+ | RuleConfiguration.$UnknownMember;
1119
+ export declare namespace RuleConfiguration {
1120
+ interface ContentBlockerRuleMember {
1121
+ contentBlockerRule: ContentBlockerRule;
1122
+ contentRetrievalRule?: never;
1123
+ $unknown?: never;
1124
+ }
1125
+ interface ContentRetrievalRuleMember {
1126
+ contentBlockerRule?: never;
1127
+ contentRetrievalRule: ContentRetrievalRule;
1128
+ $unknown?: never;
1129
+ }
1130
+ interface $UnknownMember {
1131
+ contentBlockerRule?: never;
1132
+ contentRetrievalRule?: never;
1133
+ $unknown: [string, any];
1134
+ }
1135
+ interface Visitor<T> {
1136
+ contentBlockerRule: (value: ContentBlockerRule) => T;
1137
+ contentRetrievalRule: (value: ContentRetrievalRule) => T;
1138
+ _: (name: string, value: any) => T;
1139
+ }
1140
+ const visit: <T>(value: RuleConfiguration, visitor: Visitor<T>) => T;
1141
+ }
1142
+ export declare const RuleType: {
1143
+ readonly CONTENT_BLOCKER_RULE: "CONTENT_BLOCKER_RULE";
1144
+ readonly CONTENT_RETRIEVAL_RULE: "CONTENT_RETRIEVAL_RULE";
1145
+ };
1146
+ export type RuleType = (typeof RuleType)[keyof typeof RuleType];
1147
+ export interface Rule {
1148
+ includedUsersAndGroups?: UsersAndGroups;
1149
+ excludedUsersAndGroups?: UsersAndGroups;
1150
+ ruleType: RuleType | undefined;
1151
+ ruleConfiguration?: RuleConfiguration;
1152
+ }
1153
+ export interface TopicConfiguration {
1154
+ name: string | undefined;
1155
+ description?: string;
1156
+ exampleChatMessages?: string[];
1157
+ rules: Rule[] | undefined;
1158
+ }
1159
+ export interface GetChatControlsConfigurationResponse {
1160
+ responseScope?: ResponseScope;
1161
+ blockedPhrases?: BlockedPhrasesConfiguration;
1162
+ topicConfigurations?: TopicConfiguration[];
1163
+ nextToken?: string;
1164
+ }
1165
+ export interface GetGroupRequest {
1166
+ applicationId: string | undefined;
1167
+ indexId: string | undefined;
1168
+ groupName: string | undefined;
1169
+ dataSourceId?: string;
1170
+ }
1171
+ export declare const GroupStatus: {
1172
+ readonly DELETED: "DELETED";
1173
+ readonly DELETING: "DELETING";
1174
+ readonly FAILED: "FAILED";
1175
+ readonly PROCESSING: "PROCESSING";
1176
+ readonly SUCCEEDED: "SUCCEEDED";
1177
+ };
1178
+ export type GroupStatus = (typeof GroupStatus)[keyof typeof GroupStatus];
1179
+ export interface GroupStatusDetail {
1180
+ status?: GroupStatus;
1181
+ lastUpdatedAt?: Date;
1182
+ errorDetail?: ErrorDetail;
1183
+ }
1184
+ export interface GetGroupResponse {
1185
+ status?: GroupStatusDetail;
1186
+ statusHistory?: GroupStatusDetail[];
1187
+ }
1188
+ export interface GetUserRequest {
1189
+ applicationId: string | undefined;
1190
+ userId: string | undefined;
1191
+ }
1192
+ export interface GetUserResponse {
1193
+ userAliases?: UserAlias[];
1194
+ }
1195
+ export interface ListConversationsRequest {
1196
+ applicationId: string | undefined;
1197
+ userId: string | undefined;
1198
+ nextToken?: string;
1199
+ maxResults?: number;
1200
+ }
1201
+ export interface ListConversationsResponse {
1202
+ nextToken?: string;
1203
+ conversations?: Conversation[];
1204
+ }
1205
+ export interface ListDataSourceSyncJobsRequest {
1206
+ dataSourceId: string | undefined;
1207
+ applicationId: string | undefined;
1208
+ indexId: string | undefined;
1209
+ nextToken?: string;
1210
+ maxResults?: number;
1211
+ startTime?: Date;
1212
+ endTime?: Date;
1213
+ statusFilter?: DataSourceSyncJobStatus;
1214
+ }
1215
+ export interface ListDataSourceSyncJobsResponse {
1216
+ history?: DataSourceSyncJob[];
1217
+ nextToken?: string;
1218
+ }
1219
+ export interface ListDocumentsRequest {
1220
+ applicationId: string | undefined;
1221
+ indexId: string | undefined;
1222
+ dataSourceIds?: string[];
1223
+ nextToken?: string;
1224
+ maxResults?: number;
1225
+ }
1226
+ export interface ListDocumentsResponse {
1227
+ documentDetailList?: DocumentDetails[];
1228
+ nextToken?: string;
1229
+ }
1230
+ export interface ListGroupsRequest {
1231
+ applicationId: string | undefined;
1232
+ indexId: string | undefined;
1233
+ updatedEarlierThan: Date | undefined;
1234
+ dataSourceId?: string;
1235
+ nextToken?: string;
1236
+ maxResults?: number;
1237
+ }
1238
+ export interface GroupSummary {
1239
+ groupName?: string;
1240
+ }
1241
+ export interface ListGroupsResponse {
1242
+ nextToken?: string;
1243
+ items?: GroupSummary[];
1244
+ }
1245
+ export interface ListMessagesRequest {
1246
+ conversationId: string | undefined;
1247
+ applicationId: string | undefined;
1248
+ userId: string | undefined;
1249
+ nextToken?: string;
1250
+ maxResults?: number;
1251
+ }
1252
+ export declare const MessageType: {
1253
+ readonly SYSTEM: "SYSTEM";
1254
+ readonly USER: "USER";
1255
+ };
1256
+ export type MessageType = (typeof MessageType)[keyof typeof MessageType];
1257
+ export interface Message {
1258
+ messageId?: string;
1259
+ body?: string;
1260
+ time?: Date;
1261
+ type?: MessageType;
1262
+ attachments?: AttachmentOutput[];
1263
+ sourceAttribution?: SourceAttribution[];
1264
+ actionReview?: ActionReview;
1265
+ actionExecution?: ActionExecution;
1266
+ }
1267
+ export interface ListMessagesResponse {
1268
+ messages?: Message[];
1269
+ nextToken?: string;
1270
+ }
1271
+ export interface ListTagsForResourceRequest {
1272
+ resourceARN: string | undefined;
1273
+ }
1274
+ export interface ListTagsForResourceResponse {
1275
+ tags?: Tag[];
1276
+ }
1277
+ export declare const MessageUsefulnessReason: {
1278
+ readonly COMPLETE: "COMPLETE";
1279
+ readonly FACTUALLY_CORRECT: "FACTUALLY_CORRECT";
1280
+ readonly HARMFUL_OR_UNSAFE: "HARMFUL_OR_UNSAFE";
1281
+ readonly HELPFUL: "HELPFUL";
1282
+ readonly INCORRECT_OR_MISSING_SOURCES: "INCORRECT_OR_MISSING_SOURCES";
1283
+ readonly NOT_FACTUALLY_CORRECT: "NOT_FACTUALLY_CORRECT";
1284
+ readonly NOT_HELPFUL: "NOT_HELPFUL";
1285
+ readonly RELEVANT_SOURCES: "RELEVANT_SOURCES";
1286
+ };
1287
+ export type MessageUsefulnessReason =
1288
+ (typeof MessageUsefulnessReason)[keyof typeof MessageUsefulnessReason];
1289
+ export declare const MessageUsefulness: {
1290
+ readonly NOT_USEFUL: "NOT_USEFUL";
1291
+ readonly USEFUL: "USEFUL";
1292
+ };
1293
+ export type MessageUsefulness =
1294
+ (typeof MessageUsefulness)[keyof typeof MessageUsefulness];
1295
+ export interface MessageUsefulnessFeedback {
1296
+ usefulness: MessageUsefulness | undefined;
1297
+ reason?: MessageUsefulnessReason;
1298
+ comment?: string;
1299
+ submittedAt: Date | undefined;
1300
+ }
1301
+ export interface PutFeedbackRequest {
1302
+ applicationId: string | undefined;
1303
+ userId: string | undefined;
1304
+ conversationId: string | undefined;
1305
+ messageId: string | undefined;
1306
+ messageCopiedAt?: Date;
1307
+ messageUsefulness?: MessageUsefulnessFeedback;
1308
+ }
1309
+ export interface MemberGroup {
1310
+ groupName: string | undefined;
1311
+ type?: MembershipType;
1312
+ }
1313
+ export interface MemberUser {
1314
+ userId: string | undefined;
1315
+ type?: MembershipType;
1316
+ }
1317
+ export interface GroupMembers {
1318
+ memberGroups?: MemberGroup[];
1319
+ memberUsers?: MemberUser[];
1320
+ }
1321
+ export interface PutGroupRequest {
1322
+ applicationId: string | undefined;
1323
+ indexId: string | undefined;
1324
+ groupName: string | undefined;
1325
+ dataSourceId?: string;
1326
+ type: MembershipType | undefined;
1327
+ groupMembers: GroupMembers | undefined;
1328
+ }
1329
+ export interface PutGroupResponse {}
1330
+ export interface StartDataSourceSyncJobRequest {
1331
+ dataSourceId: string | undefined;
1332
+ applicationId: string | undefined;
1333
+ indexId: string | undefined;
1334
+ }
1335
+ export interface StartDataSourceSyncJobResponse {
1336
+ executionId?: string;
1337
+ }
1338
+ export interface StopDataSourceSyncJobRequest {
1339
+ dataSourceId: string | undefined;
1340
+ applicationId: string | undefined;
1341
+ indexId: string | undefined;
1342
+ }
1343
+ export interface StopDataSourceSyncJobResponse {}
1344
+ export interface TagResourceRequest {
1345
+ resourceARN: string | undefined;
1346
+ tags: Tag[] | undefined;
1347
+ }
1348
+ export interface TagResourceResponse {}
1349
+ export interface UntagResourceRequest {
1350
+ resourceARN: string | undefined;
1351
+ tagKeys: string[] | undefined;
1352
+ }
1353
+ export interface UntagResourceResponse {}
1354
+ export interface UpdateChatControlsConfigurationRequest {
1355
+ applicationId: string | undefined;
1356
+ clientToken?: string;
1357
+ responseScope?: ResponseScope;
1358
+ blockedPhrasesConfigurationUpdate?: BlockedPhrasesConfigurationUpdate;
1359
+ topicConfigurationsToCreateOrUpdate?: TopicConfiguration[];
1360
+ topicConfigurationsToDelete?: TopicConfiguration[];
1361
+ }
1362
+ export interface UpdateChatControlsConfigurationResponse {}
1363
+ export interface UpdateUserRequest {
1364
+ applicationId: string | undefined;
1365
+ userId: string | undefined;
1366
+ userAliasesToUpdate?: UserAlias[];
1367
+ userAliasesToDelete?: UserAlias[];
1368
+ }
1369
+ export interface UpdateUserResponse {
1370
+ userAliasesAdded?: UserAlias[];
1371
+ userAliasesUpdated?: UserAlias[];
1372
+ userAliasesDeleted?: UserAlias[];
1373
+ }
1374
+ export interface AttributeFilter {
1375
+ andAllFilters?: AttributeFilter[];
1376
+ orAllFilters?: AttributeFilter[];
1377
+ notFilter?: AttributeFilter;
1378
+ equalsTo?: DocumentAttribute;
1379
+ containsAll?: DocumentAttribute;
1380
+ containsAny?: DocumentAttribute;
1381
+ greaterThan?: DocumentAttribute;
1382
+ greaterThanOrEquals?: DocumentAttribute;
1383
+ lessThan?: DocumentAttribute;
1384
+ lessThanOrEquals?: DocumentAttribute;
1385
+ }
1386
+ export interface ChatSyncInput {
1387
+ applicationId: string | undefined;
1388
+ userId: string | undefined;
1389
+ userGroups?: string[];
1390
+ userMessage?: string;
1391
+ attachments?: AttachmentInput[];
1392
+ actionExecution?: ActionExecution;
1393
+ conversationId?: string;
1394
+ parentMessageId?: string;
1395
+ attributeFilter?: AttributeFilter;
1396
+ clientToken?: string;
1397
+ }
1398
+ export declare const EncryptionConfigurationFilterSensitiveLog: (
1399
+ obj: EncryptionConfiguration
1400
+ ) => any;
1401
+ export declare const CreateApplicationRequestFilterSensitiveLog: (
1402
+ obj: CreateApplicationRequest
1403
+ ) => any;
1404
+ export declare const GetApplicationResponseFilterSensitiveLog: (
1405
+ obj: GetApplicationResponse
1406
+ ) => any;