@alicloud/eventbridge20200401 6.5.0 → 6.6.1

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 (327) hide show
  1. package/dist/client.d.ts +321 -6
  2. package/dist/client.js +1073 -206
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/Agent.d.ts +10 -0
  5. package/dist/models/Agent.js +4 -0
  6. package/dist/models/Agent.js.map +1 -1
  7. package/dist/models/AgentBridgeRuntime.d.ts +77 -0
  8. package/dist/models/AgentBridgeRuntime.js +72 -0
  9. package/dist/models/AgentBridgeRuntime.js.map +1 -0
  10. package/dist/models/AiChunkTransformParameters.d.ts +59 -0
  11. package/dist/models/AiChunkTransformParameters.js +72 -0
  12. package/dist/models/AiChunkTransformParameters.js.map +1 -0
  13. package/dist/models/AiClassifyTransformParameters.d.ts +51 -0
  14. package/dist/models/AiClassifyTransformParameters.js +73 -0
  15. package/dist/models/AiClassifyTransformParameters.js.map +1 -0
  16. package/dist/models/AiEmbedTransformParameters.d.ts +43 -0
  17. package/dist/models/AiEmbedTransformParameters.js +68 -0
  18. package/dist/models/AiEmbedTransformParameters.js.map +1 -0
  19. package/dist/models/AiExtractTransformParameters.d.ts +35 -0
  20. package/dist/models/AiExtractTransformParameters.js +66 -0
  21. package/dist/models/AiExtractTransformParameters.js.map +1 -0
  22. package/dist/models/AiFilterTransformParameters.d.ts +43 -0
  23. package/dist/models/AiFilterTransformParameters.js +68 -0
  24. package/dist/models/AiFilterTransformParameters.js.map +1 -0
  25. package/dist/models/AiPrepSearchTransformParameters.d.ts +35 -0
  26. package/dist/models/AiPrepSearchTransformParameters.js +66 -0
  27. package/dist/models/AiPrepSearchTransformParameters.js.map +1 -0
  28. package/dist/models/AiRedactTransformParameters.d.ts +51 -0
  29. package/dist/models/AiRedactTransformParameters.js +73 -0
  30. package/dist/models/AiRedactTransformParameters.js.map +1 -0
  31. package/dist/models/AiSentimentAnalysisTransformParameters.d.ts +35 -0
  32. package/dist/models/AiSentimentAnalysisTransformParameters.js +69 -0
  33. package/dist/models/AiSentimentAnalysisTransformParameters.js.map +1 -0
  34. package/dist/models/AiSummarizeTransformParameters.d.ts +35 -0
  35. package/dist/models/AiSummarizeTransformParameters.js +66 -0
  36. package/dist/models/AiSummarizeTransformParameters.js.map +1 -0
  37. package/dist/models/AiTransformField.d.ts +29 -0
  38. package/dist/models/AiTransformField.js +60 -0
  39. package/dist/models/AiTransformField.js.map +1 -0
  40. package/dist/models/AiTranslateTransformParameters.d.ts +30 -0
  41. package/dist/models/AiTranslateTransformParameters.js +68 -0
  42. package/dist/models/AiTranslateTransformParameters.js.map +1 -0
  43. package/dist/models/CreateEventStreamingRequest.d.ts +304 -123
  44. package/dist/models/CreateEventStreamingRequest.js +71 -0
  45. package/dist/models/CreateEventStreamingRequest.js.map +1 -1
  46. package/dist/models/CreateEventStreamingResponseBody.d.ts +4 -2
  47. package/dist/models/CreateEventStreamingResponseBody.js.map +1 -1
  48. package/dist/models/CreateEventStreamingShrinkRequest.d.ts +5 -5
  49. package/dist/models/DeleteNamespaceRequest.d.ts +3 -3
  50. package/dist/models/DeleteNamespaceResponseBody.d.ts +4 -4
  51. package/dist/models/ExecutionResult.d.ts +9 -6
  52. package/dist/models/ExecutionResult.js.map +1 -1
  53. package/dist/models/GetEventStreamingRequest.d.ts +1 -1
  54. package/dist/models/GetEventStreamingResponseBody.d.ts +333 -148
  55. package/dist/models/GetEventStreamingResponseBody.js +66 -0
  56. package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
  57. package/dist/models/GetLumaCatalogRequest.d.ts +33 -0
  58. package/dist/models/GetLumaCatalogRequest.js +60 -0
  59. package/dist/models/GetLumaCatalogRequest.js.map +1 -0
  60. package/dist/models/GetLumaCatalogResponse.d.ts +19 -0
  61. package/dist/models/GetLumaCatalogResponse.js +69 -0
  62. package/dist/models/GetLumaCatalogResponse.js.map +1 -0
  63. package/dist/models/GetLumaCatalogResponseBody.d.ts +51 -0
  64. package/dist/models/GetLumaCatalogResponseBody.js +70 -0
  65. package/dist/models/GetLumaCatalogResponseBody.js.map +1 -0
  66. package/dist/models/GetLumaChunkRequest.d.ts +73 -0
  67. package/dist/models/GetLumaChunkRequest.js +68 -0
  68. package/dist/models/GetLumaChunkRequest.js.map +1 -0
  69. package/dist/models/GetLumaChunkResponse.d.ts +19 -0
  70. package/dist/models/GetLumaChunkResponse.js +69 -0
  71. package/dist/models/GetLumaChunkResponse.js.map +1 -0
  72. package/dist/models/GetLumaChunkResponseBody.d.ts +51 -0
  73. package/dist/models/GetLumaChunkResponseBody.js +70 -0
  74. package/dist/models/GetLumaChunkResponseBody.js.map +1 -0
  75. package/dist/models/GetLumaDocumentDownloadUrlRequest.d.ts +75 -0
  76. package/dist/models/GetLumaDocumentDownloadUrlRequest.js +68 -0
  77. package/dist/models/GetLumaDocumentDownloadUrlRequest.js.map +1 -0
  78. package/dist/models/GetLumaDocumentDownloadUrlResponse.d.ts +19 -0
  79. package/dist/models/GetLumaDocumentDownloadUrlResponse.js +69 -0
  80. package/dist/models/GetLumaDocumentDownloadUrlResponse.js.map +1 -0
  81. package/dist/models/GetLumaDocumentDownloadUrlResponseBody.d.ts +78 -0
  82. package/dist/models/GetLumaDocumentDownloadUrlResponseBody.js +90 -0
  83. package/dist/models/GetLumaDocumentDownloadUrlResponseBody.js.map +1 -0
  84. package/dist/models/GetLumaDocumentRequest.d.ts +63 -0
  85. package/dist/models/GetLumaDocumentRequest.js +66 -0
  86. package/dist/models/GetLumaDocumentRequest.js.map +1 -0
  87. package/dist/models/GetLumaDocumentResponse.d.ts +19 -0
  88. package/dist/models/GetLumaDocumentResponse.js +69 -0
  89. package/dist/models/GetLumaDocumentResponse.js.map +1 -0
  90. package/dist/models/GetLumaDocumentResponseBody.d.ts +51 -0
  91. package/dist/models/GetLumaDocumentResponseBody.js +70 -0
  92. package/dist/models/GetLumaDocumentResponseBody.js.map +1 -0
  93. package/dist/models/GetLumaKnowledgeBaseRequest.d.ts +53 -0
  94. package/dist/models/GetLumaKnowledgeBaseRequest.js +64 -0
  95. package/dist/models/GetLumaKnowledgeBaseRequest.js.map +1 -0
  96. package/dist/models/GetLumaKnowledgeBaseResponse.d.ts +19 -0
  97. package/dist/models/GetLumaKnowledgeBaseResponse.js +69 -0
  98. package/dist/models/GetLumaKnowledgeBaseResponse.js.map +1 -0
  99. package/dist/models/GetLumaKnowledgeBaseResponseBody.d.ts +51 -0
  100. package/dist/models/GetLumaKnowledgeBaseResponseBody.js +70 -0
  101. package/dist/models/GetLumaKnowledgeBaseResponseBody.js.map +1 -0
  102. package/dist/models/GetLumaNamespaceRequest.d.ts +43 -0
  103. package/dist/models/GetLumaNamespaceRequest.js +62 -0
  104. package/dist/models/GetLumaNamespaceRequest.js.map +1 -0
  105. package/dist/models/GetLumaNamespaceResponse.d.ts +19 -0
  106. package/dist/models/GetLumaNamespaceResponse.js +69 -0
  107. package/dist/models/GetLumaNamespaceResponse.js.map +1 -0
  108. package/dist/models/GetLumaNamespaceResponseBody.d.ts +51 -0
  109. package/dist/models/GetLumaNamespaceResponseBody.js +70 -0
  110. package/dist/models/GetLumaNamespaceResponseBody.js.map +1 -0
  111. package/dist/models/GetLumaTableRequest.d.ts +53 -0
  112. package/dist/models/GetLumaTableRequest.js +64 -0
  113. package/dist/models/GetLumaTableRequest.js.map +1 -0
  114. package/dist/models/GetLumaTableResponse.d.ts +19 -0
  115. package/dist/models/GetLumaTableResponse.js +69 -0
  116. package/dist/models/GetLumaTableResponse.js.map +1 -0
  117. package/dist/models/GetLumaTableResponseBody.d.ts +51 -0
  118. package/dist/models/GetLumaTableResponseBody.js +70 -0
  119. package/dist/models/GetLumaTableResponseBody.js.map +1 -0
  120. package/dist/models/KnowledgeBase.d.ts +281 -0
  121. package/dist/models/KnowledgeBase.js +176 -0
  122. package/dist/models/KnowledgeBase.js.map +1 -0
  123. package/dist/models/KnowledgeBaseChunk.d.ts +93 -0
  124. package/dist/models/KnowledgeBaseChunk.js +76 -0
  125. package/dist/models/KnowledgeBaseChunk.js.map +1 -0
  126. package/dist/models/KnowledgeBaseDocument.d.ts +249 -0
  127. package/dist/models/KnowledgeBaseDocument.js +164 -0
  128. package/dist/models/KnowledgeBaseDocument.js.map +1 -0
  129. package/dist/models/KnowledgeBaseSearchChunk.d.ts +118 -0
  130. package/dist/models/KnowledgeBaseSearchChunk.js +100 -0
  131. package/dist/models/KnowledgeBaseSearchChunk.js.map +1 -0
  132. package/dist/models/ListConnectionsRequest.d.ts +8 -0
  133. package/dist/models/ListConnectionsRequest.js +2 -0
  134. package/dist/models/ListConnectionsRequest.js.map +1 -1
  135. package/dist/models/ListEventStreamingsRequest.d.ts +4 -4
  136. package/dist/models/ListEventStreamingsResponseBody.d.ts +230 -165
  137. package/dist/models/ListEventStreamingsResponseBody.js +66 -0
  138. package/dist/models/ListEventStreamingsResponseBody.js.map +1 -1
  139. package/dist/models/ListLumaCatalogsRequest.d.ts +39 -0
  140. package/dist/models/ListLumaCatalogsRequest.js +62 -0
  141. package/dist/models/ListLumaCatalogsRequest.js.map +1 -0
  142. package/dist/models/ListLumaCatalogsResponse.d.ts +19 -0
  143. package/dist/models/ListLumaCatalogsResponse.js +69 -0
  144. package/dist/models/ListLumaCatalogsResponse.js.map +1 -0
  145. package/dist/models/ListLumaCatalogsResponseBody.d.ts +95 -0
  146. package/dist/models/ListLumaCatalogsResponseBody.js +98 -0
  147. package/dist/models/ListLumaCatalogsResponseBody.js.map +1 -0
  148. package/dist/models/ListLumaChunksRequest.d.ts +93 -0
  149. package/dist/models/ListLumaChunksRequest.js +74 -0
  150. package/dist/models/ListLumaChunksRequest.js.map +1 -0
  151. package/dist/models/ListLumaChunksResponse.d.ts +19 -0
  152. package/dist/models/ListLumaChunksResponse.js +69 -0
  153. package/dist/models/ListLumaChunksResponse.js.map +1 -0
  154. package/dist/models/ListLumaChunksResponseBody.d.ts +87 -0
  155. package/dist/models/ListLumaChunksResponseBody.js +96 -0
  156. package/dist/models/ListLumaChunksResponseBody.js.map +1 -0
  157. package/dist/models/ListLumaDocumentsRequest.d.ts +85 -0
  158. package/dist/models/ListLumaDocumentsRequest.js +72 -0
  159. package/dist/models/ListLumaDocumentsRequest.js.map +1 -0
  160. package/dist/models/ListLumaDocumentsResponse.d.ts +19 -0
  161. package/dist/models/ListLumaDocumentsResponse.js +69 -0
  162. package/dist/models/ListLumaDocumentsResponse.js.map +1 -0
  163. package/dist/models/ListLumaDocumentsResponseBody.d.ts +87 -0
  164. package/dist/models/ListLumaDocumentsResponseBody.js +96 -0
  165. package/dist/models/ListLumaDocumentsResponseBody.js.map +1 -0
  166. package/dist/models/ListLumaKnowledgeBasesRequest.d.ts +59 -0
  167. package/dist/models/ListLumaKnowledgeBasesRequest.js +66 -0
  168. package/dist/models/ListLumaKnowledgeBasesRequest.js.map +1 -0
  169. package/dist/models/ListLumaKnowledgeBasesResponse.d.ts +19 -0
  170. package/dist/models/ListLumaKnowledgeBasesResponse.js +69 -0
  171. package/dist/models/ListLumaKnowledgeBasesResponse.js.map +1 -0
  172. package/dist/models/ListLumaKnowledgeBasesResponseBody.d.ts +95 -0
  173. package/dist/models/ListLumaKnowledgeBasesResponseBody.js +98 -0
  174. package/dist/models/ListLumaKnowledgeBasesResponseBody.js.map +1 -0
  175. package/dist/models/ListLumaNamespacesRequest.d.ts +49 -0
  176. package/dist/models/ListLumaNamespacesRequest.js +64 -0
  177. package/dist/models/ListLumaNamespacesRequest.js.map +1 -0
  178. package/dist/models/ListLumaNamespacesResponse.d.ts +19 -0
  179. package/dist/models/ListLumaNamespacesResponse.js +69 -0
  180. package/dist/models/ListLumaNamespacesResponse.js.map +1 -0
  181. package/dist/models/ListLumaNamespacesResponseBody.d.ts +95 -0
  182. package/dist/models/ListLumaNamespacesResponseBody.js +98 -0
  183. package/dist/models/ListLumaNamespacesResponseBody.js.map +1 -0
  184. package/dist/models/ListLumaTablesRequest.d.ts +59 -0
  185. package/dist/models/ListLumaTablesRequest.js +66 -0
  186. package/dist/models/ListLumaTablesRequest.js.map +1 -0
  187. package/dist/models/ListLumaTablesResponse.d.ts +19 -0
  188. package/dist/models/ListLumaTablesResponse.js +69 -0
  189. package/dist/models/ListLumaTablesResponse.js.map +1 -0
  190. package/dist/models/ListLumaTablesResponseBody.d.ts +95 -0
  191. package/dist/models/ListLumaTablesResponseBody.js +98 -0
  192. package/dist/models/ListLumaTablesResponseBody.js.map +1 -0
  193. package/dist/models/LumaTable.d.ts +138 -0
  194. package/dist/models/LumaTable.js +122 -0
  195. package/dist/models/LumaTable.js.map +1 -0
  196. package/dist/models/MetadataSchemaField.d.ts +49 -0
  197. package/dist/models/MetadataSchemaField.js +64 -0
  198. package/dist/models/MetadataSchemaField.js.map +1 -0
  199. package/dist/models/PollAskResultResponseBody.d.ts +4 -4
  200. package/dist/models/QueryAskLumaLogRequest.d.ts +2 -2
  201. package/dist/models/QueryLumaWithSqlrequest.d.ts +41 -0
  202. package/dist/models/QueryLumaWithSqlrequest.js +62 -0
  203. package/dist/models/QueryLumaWithSqlrequest.js.map +1 -0
  204. package/dist/models/QueryLumaWithSqlresponse.d.ts +19 -0
  205. package/dist/models/QueryLumaWithSqlresponse.js +69 -0
  206. package/dist/models/QueryLumaWithSqlresponse.js.map +1 -0
  207. package/dist/models/QueryLumaWithSqlresponseBody.d.ts +51 -0
  208. package/dist/models/QueryLumaWithSqlresponseBody.js +70 -0
  209. package/dist/models/QueryLumaWithSqlresponseBody.js.map +1 -0
  210. package/dist/models/SchemaColumn.d.ts +2 -2
  211. package/dist/models/SearchLumaKnowledgeBaseRequest.d.ts +95 -0
  212. package/dist/models/SearchLumaKnowledgeBaseRequest.js +74 -0
  213. package/dist/models/SearchLumaKnowledgeBaseRequest.js.map +1 -0
  214. package/dist/models/SearchLumaKnowledgeBaseResponse.d.ts +19 -0
  215. package/dist/models/SearchLumaKnowledgeBaseResponse.js +69 -0
  216. package/dist/models/SearchLumaKnowledgeBaseResponse.js.map +1 -0
  217. package/dist/models/SearchLumaKnowledgeBaseResponseBody.d.ts +79 -0
  218. package/dist/models/SearchLumaKnowledgeBaseResponseBody.js +94 -0
  219. package/dist/models/SearchLumaKnowledgeBaseResponseBody.js.map +1 -0
  220. package/dist/models/SinkKnowledgeBaseParameters.d.ts +37 -0
  221. package/dist/models/SinkKnowledgeBaseParameters.js +62 -0
  222. package/dist/models/SinkKnowledgeBaseParameters.js.map +1 -0
  223. package/dist/models/SourceFeiShuDocsParameters.d.ts +28 -0
  224. package/dist/models/SourceFeiShuDocsParameters.js.map +1 -1
  225. package/dist/models/UpdateAgentRequest.d.ts +10 -0
  226. package/dist/models/UpdateAgentRequest.js +4 -0
  227. package/dist/models/UpdateAgentRequest.js.map +1 -1
  228. package/dist/models/UpdateAgentShrinkRequest.d.ts +10 -0
  229. package/dist/models/UpdateAgentShrinkRequest.js +4 -0
  230. package/dist/models/UpdateAgentShrinkRequest.js.map +1 -1
  231. package/dist/models/UpdateEventStreamingRequest.d.ts +363 -161
  232. package/dist/models/UpdateEventStreamingRequest.js +71 -0
  233. package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
  234. package/dist/models/UpdateEventStreamingResponseBody.d.ts +2 -4
  235. package/dist/models/UpdateEventStreamingResponseBody.js.map +1 -1
  236. package/dist/models/UpdateEventStreamingShrinkRequest.d.ts +6 -6
  237. package/dist/models/model.d.ts +81 -0
  238. package/dist/models/model.js +186 -22
  239. package/dist/models/model.js.map +1 -1
  240. package/package.json +1 -1
  241. package/src/client.ts +1192 -216
  242. package/src/models/Agent.ts +14 -0
  243. package/src/models/AgentBridgeRuntime.ts +104 -0
  244. package/src/models/AiChunkTransformParameters.ts +85 -0
  245. package/src/models/AiClassifyTransformParameters.ts +78 -0
  246. package/src/models/AiEmbedTransformParameters.ts +65 -0
  247. package/src/models/AiExtractTransformParameters.ts +55 -0
  248. package/src/models/AiFilterTransformParameters.ts +65 -0
  249. package/src/models/AiPrepSearchTransformParameters.ts +55 -0
  250. package/src/models/AiRedactTransformParameters.ts +78 -0
  251. package/src/models/AiSentimentAnalysisTransformParameters.ts +58 -0
  252. package/src/models/AiSummarizeTransformParameters.ts +55 -0
  253. package/src/models/AiTransformField.ts +44 -0
  254. package/src/models/AiTranslateTransformParameters.ts +52 -0
  255. package/src/models/CreateEventStreamingRequest.ts +364 -123
  256. package/src/models/CreateEventStreamingResponseBody.ts +4 -2
  257. package/src/models/CreateEventStreamingShrinkRequest.ts +5 -5
  258. package/src/models/DeleteNamespaceRequest.ts +3 -3
  259. package/src/models/DeleteNamespaceResponseBody.ts +4 -4
  260. package/src/models/ExecutionResult.ts +9 -6
  261. package/src/models/GetEventStreamingRequest.ts +1 -1
  262. package/src/models/GetEventStreamingResponseBody.ts +388 -148
  263. package/src/models/GetLumaCatalogRequest.ts +48 -0
  264. package/src/models/GetLumaCatalogResponse.ts +40 -0
  265. package/src/models/GetLumaCatalogResponseBody.ts +75 -0
  266. package/src/models/GetLumaChunkRequest.ts +96 -0
  267. package/src/models/GetLumaChunkResponse.ts +40 -0
  268. package/src/models/GetLumaChunkResponseBody.ts +75 -0
  269. package/src/models/GetLumaDocumentDownloadUrlRequest.ts +98 -0
  270. package/src/models/GetLumaDocumentDownloadUrlResponse.ts +40 -0
  271. package/src/models/GetLumaDocumentDownloadUrlResponseBody.ts +114 -0
  272. package/src/models/GetLumaDocumentRequest.ts +84 -0
  273. package/src/models/GetLumaDocumentResponse.ts +40 -0
  274. package/src/models/GetLumaDocumentResponseBody.ts +75 -0
  275. package/src/models/GetLumaKnowledgeBaseRequest.ts +72 -0
  276. package/src/models/GetLumaKnowledgeBaseResponse.ts +40 -0
  277. package/src/models/GetLumaKnowledgeBaseResponseBody.ts +75 -0
  278. package/src/models/GetLumaNamespaceRequest.ts +60 -0
  279. package/src/models/GetLumaNamespaceResponse.ts +40 -0
  280. package/src/models/GetLumaNamespaceResponseBody.ts +75 -0
  281. package/src/models/GetLumaTableRequest.ts +72 -0
  282. package/src/models/GetLumaTableResponse.ts +40 -0
  283. package/src/models/GetLumaTableResponseBody.ts +75 -0
  284. package/src/models/KnowledgeBase.ts +384 -0
  285. package/src/models/KnowledgeBaseChunk.ts +124 -0
  286. package/src/models/KnowledgeBaseDocument.ts +341 -0
  287. package/src/models/KnowledgeBaseSearchChunk.ts +164 -0
  288. package/src/models/ListConnectionsRequest.ts +10 -0
  289. package/src/models/ListEventStreamingsRequest.ts +4 -4
  290. package/src/models/ListEventStreamingsResponseBody.ts +286 -166
  291. package/src/models/ListLumaCatalogsRequest.ts +56 -0
  292. package/src/models/ListLumaCatalogsResponse.ts +40 -0
  293. package/src/models/ListLumaCatalogsResponseBody.ts +138 -0
  294. package/src/models/ListLumaChunksRequest.ts +122 -0
  295. package/src/models/ListLumaChunksResponse.ts +40 -0
  296. package/src/models/ListLumaChunksResponseBody.ts +128 -0
  297. package/src/models/ListLumaDocumentsRequest.ts +112 -0
  298. package/src/models/ListLumaDocumentsResponse.ts +40 -0
  299. package/src/models/ListLumaDocumentsResponseBody.ts +128 -0
  300. package/src/models/ListLumaKnowledgeBasesRequest.ts +80 -0
  301. package/src/models/ListLumaKnowledgeBasesResponse.ts +40 -0
  302. package/src/models/ListLumaKnowledgeBasesResponseBody.ts +138 -0
  303. package/src/models/ListLumaNamespacesRequest.ts +68 -0
  304. package/src/models/ListLumaNamespacesResponse.ts +40 -0
  305. package/src/models/ListLumaNamespacesResponseBody.ts +138 -0
  306. package/src/models/ListLumaTablesRequest.ts +80 -0
  307. package/src/models/ListLumaTablesResponse.ts +40 -0
  308. package/src/models/ListLumaTablesResponseBody.ts +138 -0
  309. package/src/models/LumaTable.ts +197 -0
  310. package/src/models/MetadataSchemaField.ts +68 -0
  311. package/src/models/PollAskResultResponseBody.ts +4 -4
  312. package/src/models/QueryAskLumaLogRequest.ts +2 -2
  313. package/src/models/QueryLumaWithSqlrequest.ts +58 -0
  314. package/src/models/QueryLumaWithSqlresponse.ts +40 -0
  315. package/src/models/QueryLumaWithSqlresponseBody.ts +75 -0
  316. package/src/models/SchemaColumn.ts +2 -2
  317. package/src/models/SearchLumaKnowledgeBaseRequest.ts +124 -0
  318. package/src/models/SearchLumaKnowledgeBaseResponse.ts +40 -0
  319. package/src/models/SearchLumaKnowledgeBaseResponseBody.ts +118 -0
  320. package/src/models/SinkKnowledgeBaseParameters.ts +54 -0
  321. package/src/models/SourceFeiShuDocsParameters.ts +28 -0
  322. package/src/models/UpdateAgentRequest.ts +14 -0
  323. package/src/models/UpdateAgentShrinkRequest.ts +14 -0
  324. package/src/models/UpdateEventStreamingRequest.ts +423 -161
  325. package/src/models/UpdateEventStreamingResponseBody.ts +2 -4
  326. package/src/models/UpdateEventStreamingShrinkRequest.ts +6 -6
  327. package/src/models/model.ts +81 -0
package/src/client.ts CHANGED
@@ -58,7 +58,7 @@ export default class Client extends OpenApi {
58
58
  }
59
59
 
60
60
  /**
61
- * Queries data by using natural language.
61
+ * Queries data using natural language.
62
62
  *
63
63
  * @param request - AskLumaRequest
64
64
  * @param runtime - runtime options for this request RuntimeOptions
@@ -101,7 +101,7 @@ export default class Client extends OpenApi {
101
101
  }
102
102
 
103
103
  /**
104
- * Queries data by using natural language.
104
+ * Queries data using natural language.
105
105
  *
106
106
  * @param request - AskLumaRequest
107
107
  * @returns AskLumaResponse
@@ -1296,7 +1296,7 @@ export default class Client extends OpenApi {
1296
1296
  }
1297
1297
 
1298
1298
  /**
1299
- * Delete Namespace
1299
+ * Deletes a namespace.
1300
1300
  *
1301
1301
  * @param request - DeleteNamespaceRequest
1302
1302
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1337,7 +1337,7 @@ export default class Client extends OpenApi {
1337
1337
  }
1338
1338
 
1339
1339
  /**
1340
- * Delete Namespace
1340
+ * Deletes a namespace.
1341
1341
  *
1342
1342
  * @param request - DeleteNamespaceRequest
1343
1343
  * @returns DeleteNamespaceResponse
@@ -2188,34 +2188,99 @@ export default class Client extends OpenApi {
2188
2188
  }
2189
2189
 
2190
2190
  /**
2191
- * Get namespace
2191
+ * Retrieves the details of a specified data catalog bound to a Luma Agent. You can only query data catalogs that are already bound to the Agent. A ResourceNotFound error is returned for unbound catalogs.
2192
2192
  *
2193
- * @param request - GetNamespaceRequest
2193
+ * @remarks
2194
+ * Retrieves the details of a specified data catalog bound to a Luma Agent. You can only query data catalogs that are already bound to the Agent. A ResourceNotFound error is returned for unbound catalogs.
2195
+ *
2196
+ * @param request - GetLumaCatalogRequest
2194
2197
  * @param runtime - runtime options for this request RuntimeOptions
2195
- * @returns GetNamespaceResponse
2198
+ * @returns GetLumaCatalogResponse
2196
2199
  */
2197
- async getNamespaceWithOptions(request: $_model.GetNamespaceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetNamespaceResponse> {
2200
+ async getLumaCatalogWithOptions(request: $_model.GetLumaCatalogRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLumaCatalogResponse> {
2198
2201
  request.validate();
2199
- let query = { };
2200
- if (!$dara.isNull(request.catalog)) {
2201
- query["Catalog"] = request.catalog;
2202
+ let body : {[key: string ]: any} = { };
2203
+ if (!$dara.isNull(request.agentName)) {
2204
+ body["AgentName"] = request.agentName;
2202
2205
  }
2203
2206
 
2204
2207
  if (!$dara.isNull(request.name)) {
2205
- query["Name"] = request.name;
2208
+ body["Name"] = request.name;
2206
2209
  }
2207
2210
 
2211
+ let req = new $OpenApiUtil.OpenApiRequest({
2212
+ body: OpenApiUtil.parseToMap(body),
2213
+ });
2214
+ let params = new $OpenApiUtil.Params({
2215
+ action: "GetLumaCatalog",
2216
+ version: "2020-04-01",
2217
+ protocol: "HTTPS",
2218
+ pathname: "/",
2219
+ method: "POST",
2220
+ authType: "AK",
2221
+ style: "RPC",
2222
+ reqBodyType: "formData",
2223
+ bodyType: "json",
2224
+ });
2225
+ return $dara.cast<$_model.GetLumaCatalogResponse>(await this.callApi(params, req, runtime), new $_model.GetLumaCatalogResponse({}));
2226
+ }
2227
+
2228
+ /**
2229
+ * Retrieves the details of a specified data catalog bound to a Luma Agent. You can only query data catalogs that are already bound to the Agent. A ResourceNotFound error is returned for unbound catalogs.
2230
+ *
2231
+ * @remarks
2232
+ * Retrieves the details of a specified data catalog bound to a Luma Agent. You can only query data catalogs that are already bound to the Agent. A ResourceNotFound error is returned for unbound catalogs.
2233
+ *
2234
+ * @param request - GetLumaCatalogRequest
2235
+ * @returns GetLumaCatalogResponse
2236
+ */
2237
+ async getLumaCatalog(request: $_model.GetLumaCatalogRequest): Promise<$_model.GetLumaCatalogResponse> {
2238
+ let runtime = new $dara.RuntimeOptions({ });
2239
+ return await this.getLumaCatalogWithOptions(request, runtime);
2240
+ }
2241
+
2242
+ /**
2243
+ * Retrieves the full content of a specified text chunk from a knowledge base bound to a Luma Agent.
2244
+ *
2245
+ * @remarks
2246
+ * Retrieves the full content of a specified text chunk from a knowledge base bound to a Luma Agent.
2247
+ *
2248
+ * @param request - GetLumaChunkRequest
2249
+ * @param runtime - runtime options for this request RuntimeOptions
2250
+ * @returns GetLumaChunkResponse
2251
+ */
2252
+ async getLumaChunkWithOptions(request: $_model.GetLumaChunkRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLumaChunkResponse> {
2253
+ request.validate();
2208
2254
  let body : {[key: string ]: any} = { };
2209
- if (!$dara.isNull(request.clientToken)) {
2210
- body["ClientToken"] = request.clientToken;
2255
+ if (!$dara.isNull(request.agentName)) {
2256
+ body["AgentName"] = request.agentName;
2257
+ }
2258
+
2259
+ if (!$dara.isNull(request.catalog)) {
2260
+ body["Catalog"] = request.catalog;
2261
+ }
2262
+
2263
+ if (!$dara.isNull(request.chunkSeq)) {
2264
+ body["ChunkSeq"] = request.chunkSeq;
2265
+ }
2266
+
2267
+ if (!$dara.isNull(request.documentId)) {
2268
+ body["DocumentId"] = request.documentId;
2269
+ }
2270
+
2271
+ if (!$dara.isNull(request.knowledgeBaseName)) {
2272
+ body["KnowledgeBaseName"] = request.knowledgeBaseName;
2273
+ }
2274
+
2275
+ if (!$dara.isNull(request.namespace)) {
2276
+ body["Namespace"] = request.namespace;
2211
2277
  }
2212
2278
 
2213
2279
  let req = new $OpenApiUtil.OpenApiRequest({
2214
- query: OpenApiUtil.query(query),
2215
2280
  body: OpenApiUtil.parseToMap(body),
2216
2281
  });
2217
2282
  let params = new $OpenApiUtil.Params({
2218
- action: "GetNamespace",
2283
+ action: "GetLumaChunk",
2219
2284
  version: "2020-04-01",
2220
2285
  protocol: "HTTPS",
2221
2286
  pathname: "/",
@@ -2225,46 +2290,61 @@ export default class Client extends OpenApi {
2225
2290
  reqBodyType: "formData",
2226
2291
  bodyType: "json",
2227
2292
  });
2228
- return $dara.cast<$_model.GetNamespaceResponse>(await this.callApi(params, req, runtime), new $_model.GetNamespaceResponse({}));
2293
+ return $dara.cast<$_model.GetLumaChunkResponse>(await this.callApi(params, req, runtime), new $_model.GetLumaChunkResponse({}));
2229
2294
  }
2230
2295
 
2231
2296
  /**
2232
- * Get namespace
2297
+ * Retrieves the full content of a specified text chunk from a knowledge base bound to a Luma Agent.
2233
2298
  *
2234
- * @param request - GetNamespaceRequest
2235
- * @returns GetNamespaceResponse
2299
+ * @remarks
2300
+ * Retrieves the full content of a specified text chunk from a knowledge base bound to a Luma Agent.
2301
+ *
2302
+ * @param request - GetLumaChunkRequest
2303
+ * @returns GetLumaChunkResponse
2236
2304
  */
2237
- async getNamespace(request: $_model.GetNamespaceRequest): Promise<$_model.GetNamespaceResponse> {
2305
+ async getLumaChunk(request: $_model.GetLumaChunkRequest): Promise<$_model.GetLumaChunkResponse> {
2238
2306
  let runtime = new $dara.RuntimeOptions({ });
2239
- return await this.getNamespaceWithOptions(request, runtime);
2307
+ return await this.getLumaChunkWithOptions(request, runtime);
2240
2308
  }
2241
2309
 
2242
2310
  /**
2243
- * Retrieves the details of an event rule.
2311
+ * Retrieves the details of a specified document in the knowledge base bound to a Luma Agent.
2244
2312
  *
2245
2313
  * @remarks
2246
- * Gets the details of an event rule.
2314
+ * Retrieves the details of a specified document in the knowledge base bound to a Luma Agent.
2247
2315
  *
2248
- * @param request - GetRuleRequest
2316
+ * @param request - GetLumaDocumentRequest
2249
2317
  * @param runtime - runtime options for this request RuntimeOptions
2250
- * @returns GetRuleResponse
2318
+ * @returns GetLumaDocumentResponse
2251
2319
  */
2252
- async getRuleWithOptions(request: $_model.GetRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetRuleResponse> {
2320
+ async getLumaDocumentWithOptions(request: $_model.GetLumaDocumentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLumaDocumentResponse> {
2253
2321
  request.validate();
2254
- let query = { };
2255
- if (!$dara.isNull(request.eventBusName)) {
2256
- query["EventBusName"] = request.eventBusName;
2322
+ let body : {[key: string ]: any} = { };
2323
+ if (!$dara.isNull(request.agentName)) {
2324
+ body["AgentName"] = request.agentName;
2257
2325
  }
2258
2326
 
2259
- if (!$dara.isNull(request.ruleName)) {
2260
- query["RuleName"] = request.ruleName;
2327
+ if (!$dara.isNull(request.catalog)) {
2328
+ body["Catalog"] = request.catalog;
2329
+ }
2330
+
2331
+ if (!$dara.isNull(request.documentId)) {
2332
+ body["DocumentId"] = request.documentId;
2333
+ }
2334
+
2335
+ if (!$dara.isNull(request.knowledgeBaseName)) {
2336
+ body["KnowledgeBaseName"] = request.knowledgeBaseName;
2337
+ }
2338
+
2339
+ if (!$dara.isNull(request.namespace)) {
2340
+ body["Namespace"] = request.namespace;
2261
2341
  }
2262
2342
 
2263
2343
  let req = new $OpenApiUtil.OpenApiRequest({
2264
- query: OpenApiUtil.query(query),
2344
+ body: OpenApiUtil.parseToMap(body),
2265
2345
  });
2266
2346
  let params = new $OpenApiUtil.Params({
2267
- action: "GetRule",
2347
+ action: "GetLumaDocument",
2268
2348
  version: "2020-04-01",
2269
2349
  protocol: "HTTPS",
2270
2350
  pathname: "/",
@@ -2274,56 +2354,65 @@ export default class Client extends OpenApi {
2274
2354
  reqBodyType: "formData",
2275
2355
  bodyType: "json",
2276
2356
  });
2277
- return $dara.cast<$_model.GetRuleResponse>(await this.callApi(params, req, runtime), new $_model.GetRuleResponse({}));
2357
+ return $dara.cast<$_model.GetLumaDocumentResponse>(await this.callApi(params, req, runtime), new $_model.GetLumaDocumentResponse({}));
2278
2358
  }
2279
2359
 
2280
2360
  /**
2281
- * Retrieves the details of an event rule.
2361
+ * Retrieves the details of a specified document in the knowledge base bound to a Luma Agent.
2282
2362
  *
2283
2363
  * @remarks
2284
- * Gets the details of an event rule.
2364
+ * Retrieves the details of a specified document in the knowledge base bound to a Luma Agent.
2285
2365
  *
2286
- * @param request - GetRuleRequest
2287
- * @returns GetRuleResponse
2366
+ * @param request - GetLumaDocumentRequest
2367
+ * @returns GetLumaDocumentResponse
2288
2368
  */
2289
- async getRule(request: $_model.GetRuleRequest): Promise<$_model.GetRuleResponse> {
2369
+ async getLumaDocument(request: $_model.GetLumaDocumentRequest): Promise<$_model.GetLumaDocumentResponse> {
2290
2370
  let runtime = new $dara.RuntimeOptions({ });
2291
- return await this.getRuleWithOptions(request, runtime);
2371
+ return await this.getLumaDocumentWithOptions(request, runtime);
2292
2372
  }
2293
2373
 
2294
2374
  /**
2295
- * Get Table
2375
+ * Retrieves a temporary download URL for a specified document in the knowledge base bound to a Luma Agent. The URL is valid for one hour by default.
2296
2376
  *
2297
- * @param request - GetTableRequest
2377
+ * @remarks
2378
+ * Retrieves a temporary download URL for a specified document in the knowledge base bound to a Luma Agent. The URL is valid for one hour by default.
2379
+ *
2380
+ * @param request - GetLumaDocumentDownloadUrlRequest
2298
2381
  * @param runtime - runtime options for this request RuntimeOptions
2299
- * @returns GetTableResponse
2382
+ * @returns GetLumaDocumentDownloadUrlResponse
2300
2383
  */
2301
- async getTableWithOptions(request: $_model.GetTableRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetTableResponse> {
2384
+ async getLumaDocumentDownloadUrlWithOptions(request: $_model.GetLumaDocumentDownloadUrlRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLumaDocumentDownloadUrlResponse> {
2302
2385
  request.validate();
2303
- let query = { };
2386
+ let body : {[key: string ]: any} = { };
2387
+ if (!$dara.isNull(request.agentName)) {
2388
+ body["AgentName"] = request.agentName;
2389
+ }
2390
+
2304
2391
  if (!$dara.isNull(request.catalog)) {
2305
- query["Catalog"] = request.catalog;
2392
+ body["Catalog"] = request.catalog;
2306
2393
  }
2307
2394
 
2308
- if (!$dara.isNull(request.name)) {
2309
- query["Name"] = request.name;
2395
+ if (!$dara.isNull(request.documentId)) {
2396
+ body["DocumentId"] = request.documentId;
2397
+ }
2398
+
2399
+ if (!$dara.isNull(request.knowledgeBaseName)) {
2400
+ body["KnowledgeBaseName"] = request.knowledgeBaseName;
2310
2401
  }
2311
2402
 
2312
2403
  if (!$dara.isNull(request.namespace)) {
2313
- query["Namespace"] = request.namespace;
2404
+ body["Namespace"] = request.namespace;
2314
2405
  }
2315
2406
 
2316
- let body : {[key: string ]: any} = { };
2317
- if (!$dara.isNull(request.clientToken)) {
2318
- body["ClientToken"] = request.clientToken;
2407
+ if (!$dara.isNull(request.networkType)) {
2408
+ body["NetworkType"] = request.networkType;
2319
2409
  }
2320
2410
 
2321
2411
  let req = new $OpenApiUtil.OpenApiRequest({
2322
- query: OpenApiUtil.query(query),
2323
2412
  body: OpenApiUtil.parseToMap(body),
2324
2413
  });
2325
2414
  let params = new $OpenApiUtil.Params({
2326
- action: "GetTable",
2415
+ action: "GetLumaDocumentDownloadUrl",
2327
2416
  version: "2020-04-01",
2328
2417
  protocol: "HTTPS",
2329
2418
  pathname: "/",
@@ -2333,47 +2422,57 @@ export default class Client extends OpenApi {
2333
2422
  reqBodyType: "formData",
2334
2423
  bodyType: "json",
2335
2424
  });
2336
- return $dara.cast<$_model.GetTableResponse>(await this.callApi(params, req, runtime), new $_model.GetTableResponse({}));
2425
+ return $dara.cast<$_model.GetLumaDocumentDownloadUrlResponse>(await this.callApi(params, req, runtime), new $_model.GetLumaDocumentDownloadUrlResponse({}));
2337
2426
  }
2338
2427
 
2339
2428
  /**
2340
- * Get Table
2429
+ * Retrieves a temporary download URL for a specified document in the knowledge base bound to a Luma Agent. The URL is valid for one hour by default.
2341
2430
  *
2342
- * @param request - GetTableRequest
2343
- * @returns GetTableResponse
2431
+ * @remarks
2432
+ * Retrieves a temporary download URL for a specified document in the knowledge base bound to a Luma Agent. The URL is valid for one hour by default.
2433
+ *
2434
+ * @param request - GetLumaDocumentDownloadUrlRequest
2435
+ * @returns GetLumaDocumentDownloadUrlResponse
2344
2436
  */
2345
- async getTable(request: $_model.GetTableRequest): Promise<$_model.GetTableResponse> {
2437
+ async getLumaDocumentDownloadUrl(request: $_model.GetLumaDocumentDownloadUrlRequest): Promise<$_model.GetLumaDocumentDownloadUrlResponse> {
2346
2438
  let runtime = new $dara.RuntimeOptions({ });
2347
- return await this.getTableWithOptions(request, runtime);
2439
+ return await this.getLumaDocumentDownloadUrlWithOptions(request, runtime);
2348
2440
  }
2349
2441
 
2350
2442
  /**
2351
- * Retrieves a list of custom agents.
2443
+ * Retrieves the details of a specified knowledge base bound to a Luma Agent, including the vector model, chunking configuration, and retrieval configuration.
2352
2444
  *
2353
- * @param request - ListAgentsRequest
2445
+ * @remarks
2446
+ * Retrieves the details of a specified knowledge base bound to a Luma Agent, including the vector model, chunking configuration, and retrieval configuration.
2447
+ *
2448
+ * @param request - GetLumaKnowledgeBaseRequest
2354
2449
  * @param runtime - runtime options for this request RuntimeOptions
2355
- * @returns ListAgentsResponse
2450
+ * @returns GetLumaKnowledgeBaseResponse
2356
2451
  */
2357
- async listAgentsWithOptions(request: $_model.ListAgentsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAgentsResponse> {
2452
+ async getLumaKnowledgeBaseWithOptions(request: $_model.GetLumaKnowledgeBaseRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLumaKnowledgeBaseResponse> {
2358
2453
  request.validate();
2359
2454
  let body : {[key: string ]: any} = { };
2360
- if (!$dara.isNull(request.after)) {
2361
- body["After"] = request.after;
2455
+ if (!$dara.isNull(request.agentName)) {
2456
+ body["AgentName"] = request.agentName;
2362
2457
  }
2363
2458
 
2364
- if (!$dara.isNull(request.limit)) {
2365
- body["Limit"] = request.limit;
2459
+ if (!$dara.isNull(request.catalog)) {
2460
+ body["Catalog"] = request.catalog;
2366
2461
  }
2367
2462
 
2368
- if (!$dara.isNull(request.order)) {
2369
- body["Order"] = request.order;
2463
+ if (!$dara.isNull(request.knowledgeBaseName)) {
2464
+ body["KnowledgeBaseName"] = request.knowledgeBaseName;
2465
+ }
2466
+
2467
+ if (!$dara.isNull(request.namespace)) {
2468
+ body["Namespace"] = request.namespace;
2370
2469
  }
2371
2470
 
2372
2471
  let req = new $OpenApiUtil.OpenApiRequest({
2373
2472
  body: OpenApiUtil.parseToMap(body),
2374
2473
  });
2375
2474
  let params = new $OpenApiUtil.Params({
2376
- action: "ListAgents",
2475
+ action: "GetLumaKnowledgeBase",
2377
2476
  version: "2020-04-01",
2378
2477
  protocol: "HTTPS",
2379
2478
  pathname: "/",
@@ -2383,33 +2482,53 @@ export default class Client extends OpenApi {
2383
2482
  reqBodyType: "formData",
2384
2483
  bodyType: "json",
2385
2484
  });
2386
- return $dara.cast<$_model.ListAgentsResponse>(await this.callApi(params, req, runtime), new $_model.ListAgentsResponse({}));
2485
+ return $dara.cast<$_model.GetLumaKnowledgeBaseResponse>(await this.callApi(params, req, runtime), new $_model.GetLumaKnowledgeBaseResponse({}));
2387
2486
  }
2388
2487
 
2389
2488
  /**
2390
- * Retrieves a list of custom agents.
2489
+ * Retrieves the details of a specified knowledge base bound to a Luma Agent, including the vector model, chunking configuration, and retrieval configuration.
2391
2490
  *
2392
- * @param request - ListAgentsRequest
2393
- * @returns ListAgentsResponse
2491
+ * @remarks
2492
+ * Retrieves the details of a specified knowledge base bound to a Luma Agent, including the vector model, chunking configuration, and retrieval configuration.
2493
+ *
2494
+ * @param request - GetLumaKnowledgeBaseRequest
2495
+ * @returns GetLumaKnowledgeBaseResponse
2394
2496
  */
2395
- async listAgents(request: $_model.ListAgentsRequest): Promise<$_model.ListAgentsResponse> {
2497
+ async getLumaKnowledgeBase(request: $_model.GetLumaKnowledgeBaseRequest): Promise<$_model.GetLumaKnowledgeBaseResponse> {
2396
2498
  let runtime = new $dara.RuntimeOptions({ });
2397
- return await this.listAgentsWithOptions(request, runtime);
2499
+ return await this.getLumaKnowledgeBaseWithOptions(request, runtime);
2398
2500
  }
2399
2501
 
2400
2502
  /**
2401
- * Queries all Alibaba Cloud service event sources.
2503
+ * Retrieves the details of a specified namespace bound to a Luma Agent. Only namespaces that are already bound to the Agent can be queried.
2402
2504
  *
2403
2505
  * @remarks
2404
- * You can call this API operation to query all Alibaba Cloud service event sources.
2506
+ * Retrieves the details of a specified namespace bound to a Luma Agent. Only namespaces that are already bound to the Agent can be queried.
2405
2507
  *
2508
+ * @param request - GetLumaNamespaceRequest
2406
2509
  * @param runtime - runtime options for this request RuntimeOptions
2407
- * @returns ListAliyunOfficialEventSourcesResponse
2510
+ * @returns GetLumaNamespaceResponse
2408
2511
  */
2409
- async listAliyunOfficialEventSourcesWithOptions(runtime: $dara.RuntimeOptions): Promise<$_model.ListAliyunOfficialEventSourcesResponse> {
2410
- let req = new $OpenApiUtil.OpenApiRequest({ });
2512
+ async getLumaNamespaceWithOptions(request: $_model.GetLumaNamespaceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLumaNamespaceResponse> {
2513
+ request.validate();
2514
+ let body : {[key: string ]: any} = { };
2515
+ if (!$dara.isNull(request.agentName)) {
2516
+ body["AgentName"] = request.agentName;
2517
+ }
2518
+
2519
+ if (!$dara.isNull(request.catalog)) {
2520
+ body["Catalog"] = request.catalog;
2521
+ }
2522
+
2523
+ if (!$dara.isNull(request.name)) {
2524
+ body["Name"] = request.name;
2525
+ }
2526
+
2527
+ let req = new $OpenApiUtil.OpenApiRequest({
2528
+ body: OpenApiUtil.parseToMap(body),
2529
+ });
2411
2530
  let params = new $OpenApiUtil.Params({
2412
- action: "ListAliyunOfficialEventSources",
2531
+ action: "GetLumaNamespace",
2413
2532
  version: "2020-04-01",
2414
2533
  protocol: "HTTPS",
2415
2534
  pathname: "/",
@@ -2419,55 +2538,57 @@ export default class Client extends OpenApi {
2419
2538
  reqBodyType: "formData",
2420
2539
  bodyType: "json",
2421
2540
  });
2422
- return $dara.cast<$_model.ListAliyunOfficialEventSourcesResponse>(await this.callApi(params, req, runtime), new $_model.ListAliyunOfficialEventSourcesResponse({}));
2541
+ return $dara.cast<$_model.GetLumaNamespaceResponse>(await this.callApi(params, req, runtime), new $_model.GetLumaNamespaceResponse({}));
2423
2542
  }
2424
2543
 
2425
2544
  /**
2426
- * Queries all Alibaba Cloud service event sources.
2545
+ * Retrieves the details of a specified namespace bound to a Luma Agent. Only namespaces that are already bound to the Agent can be queried.
2427
2546
  *
2428
2547
  * @remarks
2429
- * You can call this API operation to query all Alibaba Cloud service event sources.
2430
- * @returns ListAliyunOfficialEventSourcesResponse
2548
+ * Retrieves the details of a specified namespace bound to a Luma Agent. Only namespaces that are already bound to the Agent can be queried.
2549
+ *
2550
+ * @param request - GetLumaNamespaceRequest
2551
+ * @returns GetLumaNamespaceResponse
2431
2552
  */
2432
- async listAliyunOfficialEventSources(): Promise<$_model.ListAliyunOfficialEventSourcesResponse> {
2553
+ async getLumaNamespace(request: $_model.GetLumaNamespaceRequest): Promise<$_model.GetLumaNamespaceResponse> {
2433
2554
  let runtime = new $dara.RuntimeOptions({ });
2434
- return await this.listAliyunOfficialEventSourcesWithOptions(runtime);
2555
+ return await this.getLumaNamespaceWithOptions(request, runtime);
2435
2556
  }
2436
2557
 
2437
2558
  /**
2438
- * Queries a list of API destinations.
2559
+ * Retrieves the details of a specified event table bound to a Luma Agent, including column definitions and the data retention policy. Only event tables that are already bound to the Agent can be queried.
2439
2560
  *
2440
2561
  * @remarks
2441
- * You can use this API operation to query a list of API destinations.
2562
+ * Retrieves the details of a specified event table bound to a Luma Agent, including column definitions and the data retention policy. Only event tables that are already bound to the Agent can be queried.
2442
2563
  *
2443
- * @param request - ListApiDestinationsRequest
2564
+ * @param request - GetLumaTableRequest
2444
2565
  * @param runtime - runtime options for this request RuntimeOptions
2445
- * @returns ListApiDestinationsResponse
2566
+ * @returns GetLumaTableResponse
2446
2567
  */
2447
- async listApiDestinationsWithOptions(request: $_model.ListApiDestinationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListApiDestinationsResponse> {
2568
+ async getLumaTableWithOptions(request: $_model.GetLumaTableRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLumaTableResponse> {
2448
2569
  request.validate();
2449
- let query = { };
2450
- if (!$dara.isNull(request.apiDestinationNamePrefix)) {
2451
- query["ApiDestinationNamePrefix"] = request.apiDestinationNamePrefix;
2570
+ let body : {[key: string ]: any} = { };
2571
+ if (!$dara.isNull(request.agentName)) {
2572
+ body["AgentName"] = request.agentName;
2452
2573
  }
2453
2574
 
2454
- if (!$dara.isNull(request.connectionName)) {
2455
- query["ConnectionName"] = request.connectionName;
2575
+ if (!$dara.isNull(request.catalog)) {
2576
+ body["Catalog"] = request.catalog;
2456
2577
  }
2457
2578
 
2458
- if (!$dara.isNull(request.maxResults)) {
2459
- query["MaxResults"] = request.maxResults;
2579
+ if (!$dara.isNull(request.name)) {
2580
+ body["Name"] = request.name;
2460
2581
  }
2461
2582
 
2462
- if (!$dara.isNull(request.nextToken)) {
2463
- query["NextToken"] = request.nextToken;
2583
+ if (!$dara.isNull(request.namespace)) {
2584
+ body["Namespace"] = request.namespace;
2464
2585
  }
2465
2586
 
2466
2587
  let req = new $OpenApiUtil.OpenApiRequest({
2467
- query: OpenApiUtil.query(query),
2588
+ body: OpenApiUtil.parseToMap(body),
2468
2589
  });
2469
2590
  let params = new $OpenApiUtil.Params({
2470
- action: "ListApiDestinations",
2591
+ action: "GetLumaTable",
2471
2592
  version: "2020-04-01",
2472
2593
  protocol: "HTTPS",
2473
2594
  pathname: "/",
@@ -2477,46 +2598,720 @@ export default class Client extends OpenApi {
2477
2598
  reqBodyType: "formData",
2478
2599
  bodyType: "json",
2479
2600
  });
2480
- return $dara.cast<$_model.ListApiDestinationsResponse>(await this.callApi(params, req, runtime), new $_model.ListApiDestinationsResponse({}));
2601
+ return $dara.cast<$_model.GetLumaTableResponse>(await this.callApi(params, req, runtime), new $_model.GetLumaTableResponse({}));
2481
2602
  }
2482
2603
 
2483
2604
  /**
2484
- * Queries a list of API destinations.
2605
+ * Retrieves the details of a specified event table bound to a Luma Agent, including column definitions and the data retention policy. Only event tables that are already bound to the Agent can be queried.
2485
2606
  *
2486
2607
  * @remarks
2487
- * You can use this API operation to query a list of API destinations.
2608
+ * Retrieves the details of a specified event table bound to a Luma Agent, including column definitions and the data retention policy. Only event tables that are already bound to the Agent can be queried.
2488
2609
  *
2489
- * @param request - ListApiDestinationsRequest
2490
- * @returns ListApiDestinationsResponse
2610
+ * @param request - GetLumaTableRequest
2611
+ * @returns GetLumaTableResponse
2491
2612
  */
2492
- async listApiDestinations(request: $_model.ListApiDestinationsRequest): Promise<$_model.ListApiDestinationsResponse> {
2613
+ async getLumaTable(request: $_model.GetLumaTableRequest): Promise<$_model.GetLumaTableResponse> {
2493
2614
  let runtime = new $dara.RuntimeOptions({ });
2494
- return await this.listApiDestinationsWithOptions(request, runtime);
2615
+ return await this.getLumaTableWithOptions(request, runtime);
2495
2616
  }
2496
2617
 
2497
- /**
2498
- * Queries the list of data catalogs.
2499
- *
2500
- * @param request - ListCatalogsRequest
2501
- * @param runtime - runtime options for this request RuntimeOptions
2502
- * @returns ListCatalogsResponse
2503
- */
2504
- async listCatalogsWithOptions(request: $_model.ListCatalogsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListCatalogsResponse> {
2505
- request.validate();
2506
- let query = { };
2507
- if (!$dara.isNull(request.limit)) {
2508
- query["Limit"] = request.limit;
2618
+ /**
2619
+ * Get namespace
2620
+ *
2621
+ * @param request - GetNamespaceRequest
2622
+ * @param runtime - runtime options for this request RuntimeOptions
2623
+ * @returns GetNamespaceResponse
2624
+ */
2625
+ async getNamespaceWithOptions(request: $_model.GetNamespaceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetNamespaceResponse> {
2626
+ request.validate();
2627
+ let query = { };
2628
+ if (!$dara.isNull(request.catalog)) {
2629
+ query["Catalog"] = request.catalog;
2630
+ }
2631
+
2632
+ if (!$dara.isNull(request.name)) {
2633
+ query["Name"] = request.name;
2634
+ }
2635
+
2636
+ let body : {[key: string ]: any} = { };
2637
+ if (!$dara.isNull(request.clientToken)) {
2638
+ body["ClientToken"] = request.clientToken;
2639
+ }
2640
+
2641
+ let req = new $OpenApiUtil.OpenApiRequest({
2642
+ query: OpenApiUtil.query(query),
2643
+ body: OpenApiUtil.parseToMap(body),
2644
+ });
2645
+ let params = new $OpenApiUtil.Params({
2646
+ action: "GetNamespace",
2647
+ version: "2020-04-01",
2648
+ protocol: "HTTPS",
2649
+ pathname: "/",
2650
+ method: "POST",
2651
+ authType: "AK",
2652
+ style: "RPC",
2653
+ reqBodyType: "formData",
2654
+ bodyType: "json",
2655
+ });
2656
+ return $dara.cast<$_model.GetNamespaceResponse>(await this.callApi(params, req, runtime), new $_model.GetNamespaceResponse({}));
2657
+ }
2658
+
2659
+ /**
2660
+ * Get namespace
2661
+ *
2662
+ * @param request - GetNamespaceRequest
2663
+ * @returns GetNamespaceResponse
2664
+ */
2665
+ async getNamespace(request: $_model.GetNamespaceRequest): Promise<$_model.GetNamespaceResponse> {
2666
+ let runtime = new $dara.RuntimeOptions({ });
2667
+ return await this.getNamespaceWithOptions(request, runtime);
2668
+ }
2669
+
2670
+ /**
2671
+ * Retrieves the details of an event rule.
2672
+ *
2673
+ * @remarks
2674
+ * Gets the details of an event rule.
2675
+ *
2676
+ * @param request - GetRuleRequest
2677
+ * @param runtime - runtime options for this request RuntimeOptions
2678
+ * @returns GetRuleResponse
2679
+ */
2680
+ async getRuleWithOptions(request: $_model.GetRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetRuleResponse> {
2681
+ request.validate();
2682
+ let query = { };
2683
+ if (!$dara.isNull(request.eventBusName)) {
2684
+ query["EventBusName"] = request.eventBusName;
2685
+ }
2686
+
2687
+ if (!$dara.isNull(request.ruleName)) {
2688
+ query["RuleName"] = request.ruleName;
2689
+ }
2690
+
2691
+ let req = new $OpenApiUtil.OpenApiRequest({
2692
+ query: OpenApiUtil.query(query),
2693
+ });
2694
+ let params = new $OpenApiUtil.Params({
2695
+ action: "GetRule",
2696
+ version: "2020-04-01",
2697
+ protocol: "HTTPS",
2698
+ pathname: "/",
2699
+ method: "POST",
2700
+ authType: "AK",
2701
+ style: "RPC",
2702
+ reqBodyType: "formData",
2703
+ bodyType: "json",
2704
+ });
2705
+ return $dara.cast<$_model.GetRuleResponse>(await this.callApi(params, req, runtime), new $_model.GetRuleResponse({}));
2706
+ }
2707
+
2708
+ /**
2709
+ * Retrieves the details of an event rule.
2710
+ *
2711
+ * @remarks
2712
+ * Gets the details of an event rule.
2713
+ *
2714
+ * @param request - GetRuleRequest
2715
+ * @returns GetRuleResponse
2716
+ */
2717
+ async getRule(request: $_model.GetRuleRequest): Promise<$_model.GetRuleResponse> {
2718
+ let runtime = new $dara.RuntimeOptions({ });
2719
+ return await this.getRuleWithOptions(request, runtime);
2720
+ }
2721
+
2722
+ /**
2723
+ * Get Table
2724
+ *
2725
+ * @param request - GetTableRequest
2726
+ * @param runtime - runtime options for this request RuntimeOptions
2727
+ * @returns GetTableResponse
2728
+ */
2729
+ async getTableWithOptions(request: $_model.GetTableRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetTableResponse> {
2730
+ request.validate();
2731
+ let query = { };
2732
+ if (!$dara.isNull(request.catalog)) {
2733
+ query["Catalog"] = request.catalog;
2734
+ }
2735
+
2736
+ if (!$dara.isNull(request.name)) {
2737
+ query["Name"] = request.name;
2738
+ }
2739
+
2740
+ if (!$dara.isNull(request.namespace)) {
2741
+ query["Namespace"] = request.namespace;
2742
+ }
2743
+
2744
+ let body : {[key: string ]: any} = { };
2745
+ if (!$dara.isNull(request.clientToken)) {
2746
+ body["ClientToken"] = request.clientToken;
2747
+ }
2748
+
2749
+ let req = new $OpenApiUtil.OpenApiRequest({
2750
+ query: OpenApiUtil.query(query),
2751
+ body: OpenApiUtil.parseToMap(body),
2752
+ });
2753
+ let params = new $OpenApiUtil.Params({
2754
+ action: "GetTable",
2755
+ version: "2020-04-01",
2756
+ protocol: "HTTPS",
2757
+ pathname: "/",
2758
+ method: "POST",
2759
+ authType: "AK",
2760
+ style: "RPC",
2761
+ reqBodyType: "formData",
2762
+ bodyType: "json",
2763
+ });
2764
+ return $dara.cast<$_model.GetTableResponse>(await this.callApi(params, req, runtime), new $_model.GetTableResponse({}));
2765
+ }
2766
+
2767
+ /**
2768
+ * Get Table
2769
+ *
2770
+ * @param request - GetTableRequest
2771
+ * @returns GetTableResponse
2772
+ */
2773
+ async getTable(request: $_model.GetTableRequest): Promise<$_model.GetTableResponse> {
2774
+ let runtime = new $dara.RuntimeOptions({ });
2775
+ return await this.getTableWithOptions(request, runtime);
2776
+ }
2777
+
2778
+ /**
2779
+ * Retrieves a list of custom agents.
2780
+ *
2781
+ * @param request - ListAgentsRequest
2782
+ * @param runtime - runtime options for this request RuntimeOptions
2783
+ * @returns ListAgentsResponse
2784
+ */
2785
+ async listAgentsWithOptions(request: $_model.ListAgentsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAgentsResponse> {
2786
+ request.validate();
2787
+ let body : {[key: string ]: any} = { };
2788
+ if (!$dara.isNull(request.after)) {
2789
+ body["After"] = request.after;
2790
+ }
2791
+
2792
+ if (!$dara.isNull(request.limit)) {
2793
+ body["Limit"] = request.limit;
2794
+ }
2795
+
2796
+ if (!$dara.isNull(request.order)) {
2797
+ body["Order"] = request.order;
2798
+ }
2799
+
2800
+ let req = new $OpenApiUtil.OpenApiRequest({
2801
+ body: OpenApiUtil.parseToMap(body),
2802
+ });
2803
+ let params = new $OpenApiUtil.Params({
2804
+ action: "ListAgents",
2805
+ version: "2020-04-01",
2806
+ protocol: "HTTPS",
2807
+ pathname: "/",
2808
+ method: "POST",
2809
+ authType: "AK",
2810
+ style: "RPC",
2811
+ reqBodyType: "formData",
2812
+ bodyType: "json",
2813
+ });
2814
+ return $dara.cast<$_model.ListAgentsResponse>(await this.callApi(params, req, runtime), new $_model.ListAgentsResponse({}));
2815
+ }
2816
+
2817
+ /**
2818
+ * Retrieves a list of custom agents.
2819
+ *
2820
+ * @param request - ListAgentsRequest
2821
+ * @returns ListAgentsResponse
2822
+ */
2823
+ async listAgents(request: $_model.ListAgentsRequest): Promise<$_model.ListAgentsResponse> {
2824
+ let runtime = new $dara.RuntimeOptions({ });
2825
+ return await this.listAgentsWithOptions(request, runtime);
2826
+ }
2827
+
2828
+ /**
2829
+ * Queries all Alibaba Cloud service event sources.
2830
+ *
2831
+ * @remarks
2832
+ * You can call this API operation to query all Alibaba Cloud service event sources.
2833
+ *
2834
+ * @param runtime - runtime options for this request RuntimeOptions
2835
+ * @returns ListAliyunOfficialEventSourcesResponse
2836
+ */
2837
+ async listAliyunOfficialEventSourcesWithOptions(runtime: $dara.RuntimeOptions): Promise<$_model.ListAliyunOfficialEventSourcesResponse> {
2838
+ let req = new $OpenApiUtil.OpenApiRequest({ });
2839
+ let params = new $OpenApiUtil.Params({
2840
+ action: "ListAliyunOfficialEventSources",
2841
+ version: "2020-04-01",
2842
+ protocol: "HTTPS",
2843
+ pathname: "/",
2844
+ method: "POST",
2845
+ authType: "AK",
2846
+ style: "RPC",
2847
+ reqBodyType: "formData",
2848
+ bodyType: "json",
2849
+ });
2850
+ return $dara.cast<$_model.ListAliyunOfficialEventSourcesResponse>(await this.callApi(params, req, runtime), new $_model.ListAliyunOfficialEventSourcesResponse({}));
2851
+ }
2852
+
2853
+ /**
2854
+ * Queries all Alibaba Cloud service event sources.
2855
+ *
2856
+ * @remarks
2857
+ * You can call this API operation to query all Alibaba Cloud service event sources.
2858
+ * @returns ListAliyunOfficialEventSourcesResponse
2859
+ */
2860
+ async listAliyunOfficialEventSources(): Promise<$_model.ListAliyunOfficialEventSourcesResponse> {
2861
+ let runtime = new $dara.RuntimeOptions({ });
2862
+ return await this.listAliyunOfficialEventSourcesWithOptions(runtime);
2863
+ }
2864
+
2865
+ /**
2866
+ * Queries a list of API destinations.
2867
+ *
2868
+ * @remarks
2869
+ * You can use this API operation to query a list of API destinations.
2870
+ *
2871
+ * @param request - ListApiDestinationsRequest
2872
+ * @param runtime - runtime options for this request RuntimeOptions
2873
+ * @returns ListApiDestinationsResponse
2874
+ */
2875
+ async listApiDestinationsWithOptions(request: $_model.ListApiDestinationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListApiDestinationsResponse> {
2876
+ request.validate();
2877
+ let query = { };
2878
+ if (!$dara.isNull(request.apiDestinationNamePrefix)) {
2879
+ query["ApiDestinationNamePrefix"] = request.apiDestinationNamePrefix;
2880
+ }
2881
+
2882
+ if (!$dara.isNull(request.connectionName)) {
2883
+ query["ConnectionName"] = request.connectionName;
2884
+ }
2885
+
2886
+ if (!$dara.isNull(request.maxResults)) {
2887
+ query["MaxResults"] = request.maxResults;
2888
+ }
2889
+
2890
+ if (!$dara.isNull(request.nextToken)) {
2891
+ query["NextToken"] = request.nextToken;
2892
+ }
2893
+
2894
+ let req = new $OpenApiUtil.OpenApiRequest({
2895
+ query: OpenApiUtil.query(query),
2896
+ });
2897
+ let params = new $OpenApiUtil.Params({
2898
+ action: "ListApiDestinations",
2899
+ version: "2020-04-01",
2900
+ protocol: "HTTPS",
2901
+ pathname: "/",
2902
+ method: "POST",
2903
+ authType: "AK",
2904
+ style: "RPC",
2905
+ reqBodyType: "formData",
2906
+ bodyType: "json",
2907
+ });
2908
+ return $dara.cast<$_model.ListApiDestinationsResponse>(await this.callApi(params, req, runtime), new $_model.ListApiDestinationsResponse({}));
2909
+ }
2910
+
2911
+ /**
2912
+ * Queries a list of API destinations.
2913
+ *
2914
+ * @remarks
2915
+ * You can use this API operation to query a list of API destinations.
2916
+ *
2917
+ * @param request - ListApiDestinationsRequest
2918
+ * @returns ListApiDestinationsResponse
2919
+ */
2920
+ async listApiDestinations(request: $_model.ListApiDestinationsRequest): Promise<$_model.ListApiDestinationsResponse> {
2921
+ let runtime = new $dara.RuntimeOptions({ });
2922
+ return await this.listApiDestinationsWithOptions(request, runtime);
2923
+ }
2924
+
2925
+ /**
2926
+ * Queries the list of data catalogs.
2927
+ *
2928
+ * @param request - ListCatalogsRequest
2929
+ * @param runtime - runtime options for this request RuntimeOptions
2930
+ * @returns ListCatalogsResponse
2931
+ */
2932
+ async listCatalogsWithOptions(request: $_model.ListCatalogsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListCatalogsResponse> {
2933
+ request.validate();
2934
+ let query = { };
2935
+ if (!$dara.isNull(request.limit)) {
2936
+ query["Limit"] = request.limit;
2937
+ }
2938
+
2939
+ if (!$dara.isNull(request.nextToken)) {
2940
+ query["NextToken"] = request.nextToken;
2941
+ }
2942
+
2943
+ let req = new $OpenApiUtil.OpenApiRequest({
2944
+ query: OpenApiUtil.query(query),
2945
+ });
2946
+ let params = new $OpenApiUtil.Params({
2947
+ action: "ListCatalogs",
2948
+ version: "2020-04-01",
2949
+ protocol: "HTTPS",
2950
+ pathname: "/",
2951
+ method: "POST",
2952
+ authType: "AK",
2953
+ style: "RPC",
2954
+ reqBodyType: "formData",
2955
+ bodyType: "json",
2956
+ });
2957
+ return $dara.cast<$_model.ListCatalogsResponse>(await this.callApi(params, req, runtime), new $_model.ListCatalogsResponse({}));
2958
+ }
2959
+
2960
+ /**
2961
+ * Queries the list of data catalogs.
2962
+ *
2963
+ * @param request - ListCatalogsRequest
2964
+ * @returns ListCatalogsResponse
2965
+ */
2966
+ async listCatalogs(request: $_model.ListCatalogsRequest): Promise<$_model.ListCatalogsResponse> {
2967
+ let runtime = new $dara.RuntimeOptions({ });
2968
+ return await this.listCatalogsWithOptions(request, runtime);
2969
+ }
2970
+
2971
+ /**
2972
+ * Retrieves a list of connection configurations.
2973
+ *
2974
+ * @remarks
2975
+ * Retrieves a list of connection configurations.
2976
+ *
2977
+ * @param request - ListConnectionsRequest
2978
+ * @param runtime - runtime options for this request RuntimeOptions
2979
+ * @returns ListConnectionsResponse
2980
+ */
2981
+ async listConnectionsWithOptions(request: $_model.ListConnectionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListConnectionsResponse> {
2982
+ request.validate();
2983
+ let body : {[key: string ]: any} = { };
2984
+ if (!$dara.isNull(request.connectionNamePrefix)) {
2985
+ body["ConnectionNamePrefix"] = request.connectionNamePrefix;
2986
+ }
2987
+
2988
+ if (!$dara.isNull(request.excludeType)) {
2989
+ body["ExcludeType"] = request.excludeType;
2990
+ }
2991
+
2992
+ if (!$dara.isNull(request.maxResults)) {
2993
+ body["MaxResults"] = request.maxResults;
2994
+ }
2995
+
2996
+ if (!$dara.isNull(request.nextToken)) {
2997
+ body["NextToken"] = request.nextToken;
2998
+ }
2999
+
3000
+ if (!$dara.isNull(request.type)) {
3001
+ body["Type"] = request.type;
3002
+ }
3003
+
3004
+ let req = new $OpenApiUtil.OpenApiRequest({
3005
+ body: OpenApiUtil.parseToMap(body),
3006
+ });
3007
+ let params = new $OpenApiUtil.Params({
3008
+ action: "ListConnections",
3009
+ version: "2020-04-01",
3010
+ protocol: "HTTPS",
3011
+ pathname: "/",
3012
+ method: "POST",
3013
+ authType: "AK",
3014
+ style: "RPC",
3015
+ reqBodyType: "formData",
3016
+ bodyType: "json",
3017
+ });
3018
+ return $dara.cast<$_model.ListConnectionsResponse>(await this.callApi(params, req, runtime), new $_model.ListConnectionsResponse({}));
3019
+ }
3020
+
3021
+ /**
3022
+ * Retrieves a list of connection configurations.
3023
+ *
3024
+ * @remarks
3025
+ * Retrieves a list of connection configurations.
3026
+ *
3027
+ * @param request - ListConnectionsRequest
3028
+ * @returns ListConnectionsResponse
3029
+ */
3030
+ async listConnections(request: $_model.ListConnectionsRequest): Promise<$_model.ListConnectionsResponse> {
3031
+ let runtime = new $dara.RuntimeOptions({ });
3032
+ return await this.listConnectionsWithOptions(request, runtime);
3033
+ }
3034
+
3035
+ /**
3036
+ * Queries all event buses.
3037
+ *
3038
+ * @remarks
3039
+ * You can call this API operation to query all event buses.
3040
+ *
3041
+ * @param request - ListEventBusesRequest
3042
+ * @param runtime - runtime options for this request RuntimeOptions
3043
+ * @returns ListEventBusesResponse
3044
+ */
3045
+ async listEventBusesWithOptions(request: $_model.ListEventBusesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListEventBusesResponse> {
3046
+ request.validate();
3047
+ let query = { };
3048
+ if (!$dara.isNull(request.limit)) {
3049
+ query["Limit"] = request.limit;
3050
+ }
3051
+
3052
+ if (!$dara.isNull(request.namePrefix)) {
3053
+ query["NamePrefix"] = request.namePrefix;
3054
+ }
3055
+
3056
+ if (!$dara.isNull(request.nextToken)) {
3057
+ query["NextToken"] = request.nextToken;
3058
+ }
3059
+
3060
+ let req = new $OpenApiUtil.OpenApiRequest({
3061
+ query: OpenApiUtil.query(query),
3062
+ });
3063
+ let params = new $OpenApiUtil.Params({
3064
+ action: "ListEventBuses",
3065
+ version: "2020-04-01",
3066
+ protocol: "HTTPS",
3067
+ pathname: "/",
3068
+ method: "POST",
3069
+ authType: "AK",
3070
+ style: "RPC",
3071
+ reqBodyType: "formData",
3072
+ bodyType: "json",
3073
+ });
3074
+ return $dara.cast<$_model.ListEventBusesResponse>(await this.callApi(params, req, runtime), new $_model.ListEventBusesResponse({}));
3075
+ }
3076
+
3077
+ /**
3078
+ * Queries all event buses.
3079
+ *
3080
+ * @remarks
3081
+ * You can call this API operation to query all event buses.
3082
+ *
3083
+ * @param request - ListEventBusesRequest
3084
+ * @returns ListEventBusesResponse
3085
+ */
3086
+ async listEventBuses(request: $_model.ListEventBusesRequest): Promise<$_model.ListEventBusesResponse> {
3087
+ let runtime = new $dara.RuntimeOptions({ });
3088
+ return await this.listEventBusesWithOptions(request, runtime);
3089
+ }
3090
+
3091
+ /**
3092
+ * Queries the list of EventHouse runtimes.
3093
+ *
3094
+ * @param request - ListEventHouseRuntimesRequest
3095
+ * @param runtime - runtime options for this request RuntimeOptions
3096
+ * @returns ListEventHouseRuntimesResponse
3097
+ */
3098
+ async listEventHouseRuntimesWithOptions(request: $_model.ListEventHouseRuntimesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListEventHouseRuntimesResponse> {
3099
+ request.validate();
3100
+ let query = { };
3101
+ if (!$dara.isNull(request.maxResults)) {
3102
+ query["MaxResults"] = request.maxResults;
3103
+ }
3104
+
3105
+ if (!$dara.isNull(request.nextToken)) {
3106
+ query["NextToken"] = request.nextToken;
3107
+ }
3108
+
3109
+ let req = new $OpenApiUtil.OpenApiRequest({
3110
+ query: OpenApiUtil.query(query),
3111
+ });
3112
+ let params = new $OpenApiUtil.Params({
3113
+ action: "ListEventHouseRuntimes",
3114
+ version: "2020-04-01",
3115
+ protocol: "HTTPS",
3116
+ pathname: "/",
3117
+ method: "POST",
3118
+ authType: "AK",
3119
+ style: "RPC",
3120
+ reqBodyType: "formData",
3121
+ bodyType: "json",
3122
+ });
3123
+ return $dara.cast<$_model.ListEventHouseRuntimesResponse>(await this.callApi(params, req, runtime), new $_model.ListEventHouseRuntimesResponse({}));
3124
+ }
3125
+
3126
+ /**
3127
+ * Queries the list of EventHouse runtimes.
3128
+ *
3129
+ * @param request - ListEventHouseRuntimesRequest
3130
+ * @returns ListEventHouseRuntimesResponse
3131
+ */
3132
+ async listEventHouseRuntimes(request: $_model.ListEventHouseRuntimesRequest): Promise<$_model.ListEventHouseRuntimesResponse> {
3133
+ let runtime = new $dara.RuntimeOptions({ });
3134
+ return await this.listEventHouseRuntimesWithOptions(request, runtime);
3135
+ }
3136
+
3137
+ /**
3138
+ * Queries event streams.
3139
+ *
3140
+ * @remarks
3141
+ * Queries event streams.
3142
+ *
3143
+ * @param request - ListEventStreamingsRequest
3144
+ * @param runtime - runtime options for this request RuntimeOptions
3145
+ * @returns ListEventStreamingsResponse
3146
+ */
3147
+ async listEventStreamingsWithOptions(request: $_model.ListEventStreamingsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListEventStreamingsResponse> {
3148
+ request.validate();
3149
+ let body : {[key: string ]: any} = { };
3150
+ if (!$dara.isNull(request.limit)) {
3151
+ body["Limit"] = request.limit;
3152
+ }
3153
+
3154
+ if (!$dara.isNull(request.namePrefix)) {
3155
+ body["NamePrefix"] = request.namePrefix;
3156
+ }
3157
+
3158
+ if (!$dara.isNull(request.nextToken)) {
3159
+ body["NextToken"] = request.nextToken;
3160
+ }
3161
+
3162
+ if (!$dara.isNull(request.sinkArn)) {
3163
+ body["SinkArn"] = request.sinkArn;
3164
+ }
3165
+
3166
+ if (!$dara.isNull(request.sourceArn)) {
3167
+ body["SourceArn"] = request.sourceArn;
3168
+ }
3169
+
3170
+ if (!$dara.isNull(request.tags)) {
3171
+ body["Tags"] = request.tags;
3172
+ }
3173
+
3174
+ let req = new $OpenApiUtil.OpenApiRequest({
3175
+ body: OpenApiUtil.parseToMap(body),
3176
+ });
3177
+ let params = new $OpenApiUtil.Params({
3178
+ action: "ListEventStreamings",
3179
+ version: "2020-04-01",
3180
+ protocol: "HTTPS",
3181
+ pathname: "/",
3182
+ method: "POST",
3183
+ authType: "AK",
3184
+ style: "RPC",
3185
+ reqBodyType: "formData",
3186
+ bodyType: "json",
3187
+ });
3188
+ return $dara.cast<$_model.ListEventStreamingsResponse>(await this.callApi(params, req, runtime), new $_model.ListEventStreamingsResponse({}));
3189
+ }
3190
+
3191
+ /**
3192
+ * Queries event streams.
3193
+ *
3194
+ * @remarks
3195
+ * Queries event streams.
3196
+ *
3197
+ * @param request - ListEventStreamingsRequest
3198
+ * @returns ListEventStreamingsResponse
3199
+ */
3200
+ async listEventStreamings(request: $_model.ListEventStreamingsRequest): Promise<$_model.ListEventStreamingsResponse> {
3201
+ let runtime = new $dara.RuntimeOptions({ });
3202
+ return await this.listEventStreamingsWithOptions(request, runtime);
3203
+ }
3204
+
3205
+ /**
3206
+ * Lists all data catalogs bound to a Luma Agent. Returns the complete set of bindings without pagination.
3207
+ *
3208
+ * @remarks
3209
+ * Lists all data catalogs bound to a Luma Agent. Returns the complete set of bindings without pagination.
3210
+ *
3211
+ * @param request - ListLumaCatalogsRequest
3212
+ * @param runtime - runtime options for this request RuntimeOptions
3213
+ * @returns ListLumaCatalogsResponse
3214
+ */
3215
+ async listLumaCatalogsWithOptions(request: $_model.ListLumaCatalogsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLumaCatalogsResponse> {
3216
+ request.validate();
3217
+ let body : {[key: string ]: any} = { };
3218
+ if (!$dara.isNull(request.agentName)) {
3219
+ body["AgentName"] = request.agentName;
3220
+ }
3221
+
3222
+ if (!$dara.isNull(request.limit)) {
3223
+ body["Limit"] = request.limit;
3224
+ }
3225
+
3226
+ if (!$dara.isNull(request.nextToken)) {
3227
+ body["NextToken"] = request.nextToken;
3228
+ }
3229
+
3230
+ let req = new $OpenApiUtil.OpenApiRequest({
3231
+ body: OpenApiUtil.parseToMap(body),
3232
+ });
3233
+ let params = new $OpenApiUtil.Params({
3234
+ action: "ListLumaCatalogs",
3235
+ version: "2020-04-01",
3236
+ protocol: "HTTPS",
3237
+ pathname: "/",
3238
+ method: "POST",
3239
+ authType: "AK",
3240
+ style: "RPC",
3241
+ reqBodyType: "formData",
3242
+ bodyType: "json",
3243
+ });
3244
+ return $dara.cast<$_model.ListLumaCatalogsResponse>(await this.callApi(params, req, runtime), new $_model.ListLumaCatalogsResponse({}));
3245
+ }
3246
+
3247
+ /**
3248
+ * Lists all data catalogs bound to a Luma Agent. Returns the complete set of bindings without pagination.
3249
+ *
3250
+ * @remarks
3251
+ * Lists all data catalogs bound to a Luma Agent. Returns the complete set of bindings without pagination.
3252
+ *
3253
+ * @param request - ListLumaCatalogsRequest
3254
+ * @returns ListLumaCatalogsResponse
3255
+ */
3256
+ async listLumaCatalogs(request: $_model.ListLumaCatalogsRequest): Promise<$_model.ListLumaCatalogsResponse> {
3257
+ let runtime = new $dara.RuntimeOptions({ });
3258
+ return await this.listLumaCatalogsWithOptions(request, runtime);
3259
+ }
3260
+
3261
+ /**
3262
+ * Lists text chunks in a knowledge base bound to a Luma Agent, with support for filtering by document, keyword, and enabled status.
3263
+ *
3264
+ * @remarks
3265
+ * Lists text chunks in a knowledge base bound to a Luma Agent, with support for filtering by document, keyword, and enabled status.
3266
+ *
3267
+ * @param request - ListLumaChunksRequest
3268
+ * @param runtime - runtime options for this request RuntimeOptions
3269
+ * @returns ListLumaChunksResponse
3270
+ */
3271
+ async listLumaChunksWithOptions(request: $_model.ListLumaChunksRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLumaChunksResponse> {
3272
+ request.validate();
3273
+ let body : {[key: string ]: any} = { };
3274
+ if (!$dara.isNull(request.agentName)) {
3275
+ body["AgentName"] = request.agentName;
3276
+ }
3277
+
3278
+ if (!$dara.isNull(request.catalog)) {
3279
+ body["Catalog"] = request.catalog;
3280
+ }
3281
+
3282
+ if (!$dara.isNull(request.documentId)) {
3283
+ body["DocumentId"] = request.documentId;
3284
+ }
3285
+
3286
+ if (!$dara.isNull(request.enabled)) {
3287
+ body["Enabled"] = request.enabled;
3288
+ }
3289
+
3290
+ if (!$dara.isNull(request.keyword)) {
3291
+ body["Keyword"] = request.keyword;
3292
+ }
3293
+
3294
+ if (!$dara.isNull(request.knowledgeBaseName)) {
3295
+ body["KnowledgeBaseName"] = request.knowledgeBaseName;
3296
+ }
3297
+
3298
+ if (!$dara.isNull(request.maxResults)) {
3299
+ body["MaxResults"] = request.maxResults;
3300
+ }
3301
+
3302
+ if (!$dara.isNull(request.namespace)) {
3303
+ body["Namespace"] = request.namespace;
2509
3304
  }
2510
3305
 
2511
3306
  if (!$dara.isNull(request.nextToken)) {
2512
- query["NextToken"] = request.nextToken;
3307
+ body["NextToken"] = request.nextToken;
2513
3308
  }
2514
3309
 
2515
3310
  let req = new $OpenApiUtil.OpenApiRequest({
2516
- query: OpenApiUtil.query(query),
3311
+ body: OpenApiUtil.parseToMap(body),
2517
3312
  });
2518
3313
  let params = new $OpenApiUtil.Params({
2519
- action: "ListCatalogs",
3314
+ action: "ListLumaChunks",
2520
3315
  version: "2020-04-01",
2521
3316
  protocol: "HTTPS",
2522
3317
  pathname: "/",
@@ -2526,54 +3321,73 @@ export default class Client extends OpenApi {
2526
3321
  reqBodyType: "formData",
2527
3322
  bodyType: "json",
2528
3323
  });
2529
- return $dara.cast<$_model.ListCatalogsResponse>(await this.callApi(params, req, runtime), new $_model.ListCatalogsResponse({}));
3324
+ return $dara.cast<$_model.ListLumaChunksResponse>(await this.callApi(params, req, runtime), new $_model.ListLumaChunksResponse({}));
2530
3325
  }
2531
3326
 
2532
3327
  /**
2533
- * Queries the list of data catalogs.
3328
+ * Lists text chunks in a knowledge base bound to a Luma Agent, with support for filtering by document, keyword, and enabled status.
2534
3329
  *
2535
- * @param request - ListCatalogsRequest
2536
- * @returns ListCatalogsResponse
3330
+ * @remarks
3331
+ * Lists text chunks in a knowledge base bound to a Luma Agent, with support for filtering by document, keyword, and enabled status.
3332
+ *
3333
+ * @param request - ListLumaChunksRequest
3334
+ * @returns ListLumaChunksResponse
2537
3335
  */
2538
- async listCatalogs(request: $_model.ListCatalogsRequest): Promise<$_model.ListCatalogsResponse> {
3336
+ async listLumaChunks(request: $_model.ListLumaChunksRequest): Promise<$_model.ListLumaChunksResponse> {
2539
3337
  let runtime = new $dara.RuntimeOptions({ });
2540
- return await this.listCatalogsWithOptions(request, runtime);
3338
+ return await this.listLumaChunksWithOptions(request, runtime);
2541
3339
  }
2542
3340
 
2543
3341
  /**
2544
- * Retrieves a list of connection configurations.
3342
+ * Lists documents in a knowledge base bound to a Luma Agent, with support for filtering by file name prefix and processing status.
2545
3343
  *
2546
3344
  * @remarks
2547
- * Retrieves a list of connection configurations.
3345
+ * Lists documents in a knowledge base bound to a Luma Agent, with support for filtering by file name prefix and processing status.
2548
3346
  *
2549
- * @param request - ListConnectionsRequest
3347
+ * @param request - ListLumaDocumentsRequest
2550
3348
  * @param runtime - runtime options for this request RuntimeOptions
2551
- * @returns ListConnectionsResponse
3349
+ * @returns ListLumaDocumentsResponse
2552
3350
  */
2553
- async listConnectionsWithOptions(request: $_model.ListConnectionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListConnectionsResponse> {
3351
+ async listLumaDocumentsWithOptions(request: $_model.ListLumaDocumentsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLumaDocumentsResponse> {
2554
3352
  request.validate();
2555
3353
  let body : {[key: string ]: any} = { };
2556
- if (!$dara.isNull(request.connectionNamePrefix)) {
2557
- body["ConnectionNamePrefix"] = request.connectionNamePrefix;
3354
+ if (!$dara.isNull(request.agentName)) {
3355
+ body["AgentName"] = request.agentName;
3356
+ }
3357
+
3358
+ if (!$dara.isNull(request.catalog)) {
3359
+ body["Catalog"] = request.catalog;
3360
+ }
3361
+
3362
+ if (!$dara.isNull(request.fileNamePrefix)) {
3363
+ body["FileNamePrefix"] = request.fileNamePrefix;
3364
+ }
3365
+
3366
+ if (!$dara.isNull(request.knowledgeBaseName)) {
3367
+ body["KnowledgeBaseName"] = request.knowledgeBaseName;
2558
3368
  }
2559
3369
 
2560
3370
  if (!$dara.isNull(request.maxResults)) {
2561
3371
  body["MaxResults"] = request.maxResults;
2562
3372
  }
2563
3373
 
3374
+ if (!$dara.isNull(request.namespace)) {
3375
+ body["Namespace"] = request.namespace;
3376
+ }
3377
+
2564
3378
  if (!$dara.isNull(request.nextToken)) {
2565
3379
  body["NextToken"] = request.nextToken;
2566
3380
  }
2567
3381
 
2568
- if (!$dara.isNull(request.type)) {
2569
- body["Type"] = request.type;
3382
+ if (!$dara.isNull(request.status)) {
3383
+ body["Status"] = request.status;
2570
3384
  }
2571
3385
 
2572
3386
  let req = new $OpenApiUtil.OpenApiRequest({
2573
3387
  body: OpenApiUtil.parseToMap(body),
2574
3388
  });
2575
3389
  let params = new $OpenApiUtil.Params({
2576
- action: "ListConnections",
3390
+ action: "ListLumaDocuments",
2577
3391
  version: "2020-04-01",
2578
3392
  protocol: "HTTPS",
2579
3393
  pathname: "/",
@@ -2583,53 +3397,61 @@ export default class Client extends OpenApi {
2583
3397
  reqBodyType: "formData",
2584
3398
  bodyType: "json",
2585
3399
  });
2586
- return $dara.cast<$_model.ListConnectionsResponse>(await this.callApi(params, req, runtime), new $_model.ListConnectionsResponse({}));
3400
+ return $dara.cast<$_model.ListLumaDocumentsResponse>(await this.callApi(params, req, runtime), new $_model.ListLumaDocumentsResponse({}));
2587
3401
  }
2588
3402
 
2589
3403
  /**
2590
- * Retrieves a list of connection configurations.
3404
+ * Lists documents in a knowledge base bound to a Luma Agent, with support for filtering by file name prefix and processing status.
2591
3405
  *
2592
3406
  * @remarks
2593
- * Retrieves a list of connection configurations.
3407
+ * Lists documents in a knowledge base bound to a Luma Agent, with support for filtering by file name prefix and processing status.
2594
3408
  *
2595
- * @param request - ListConnectionsRequest
2596
- * @returns ListConnectionsResponse
3409
+ * @param request - ListLumaDocumentsRequest
3410
+ * @returns ListLumaDocumentsResponse
2597
3411
  */
2598
- async listConnections(request: $_model.ListConnectionsRequest): Promise<$_model.ListConnectionsResponse> {
3412
+ async listLumaDocuments(request: $_model.ListLumaDocumentsRequest): Promise<$_model.ListLumaDocumentsResponse> {
2599
3413
  let runtime = new $dara.RuntimeOptions({ });
2600
- return await this.listConnectionsWithOptions(request, runtime);
3414
+ return await this.listLumaDocumentsWithOptions(request, runtime);
2601
3415
  }
2602
3416
 
2603
3417
  /**
2604
- * Queries all event buses.
3418
+ * Lists all knowledge bases bound to a Luma Agent in a specified namespace. Returns the complete set of bindings without pagination.
2605
3419
  *
2606
3420
  * @remarks
2607
- * You can call this API operation to query all event buses.
3421
+ * Lists the knowledge bases bound to a Luma Agent in a specified namespace. Results are returned in pages. To retrieve the next page, pass the NextToken value from the previous response. An empty NextToken indicates that no more data is available. Expired bindings are skipped, so the number of entries on a single page may be less than MaxResults. Do not determine whether the last page is reached based on an insufficient number of entries on the current page.
2608
3422
  *
2609
- * @param request - ListEventBusesRequest
3423
+ * @param request - ListLumaKnowledgeBasesRequest
2610
3424
  * @param runtime - runtime options for this request RuntimeOptions
2611
- * @returns ListEventBusesResponse
3425
+ * @returns ListLumaKnowledgeBasesResponse
2612
3426
  */
2613
- async listEventBusesWithOptions(request: $_model.ListEventBusesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListEventBusesResponse> {
3427
+ async listLumaKnowledgeBasesWithOptions(request: $_model.ListLumaKnowledgeBasesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLumaKnowledgeBasesResponse> {
2614
3428
  request.validate();
2615
- let query = { };
2616
- if (!$dara.isNull(request.limit)) {
2617
- query["Limit"] = request.limit;
3429
+ let body : {[key: string ]: any} = { };
3430
+ if (!$dara.isNull(request.agentName)) {
3431
+ body["AgentName"] = request.agentName;
2618
3432
  }
2619
3433
 
2620
- if (!$dara.isNull(request.namePrefix)) {
2621
- query["NamePrefix"] = request.namePrefix;
3434
+ if (!$dara.isNull(request.catalog)) {
3435
+ body["Catalog"] = request.catalog;
3436
+ }
3437
+
3438
+ if (!$dara.isNull(request.maxResults)) {
3439
+ body["MaxResults"] = request.maxResults;
3440
+ }
3441
+
3442
+ if (!$dara.isNull(request.namespace)) {
3443
+ body["Namespace"] = request.namespace;
2622
3444
  }
2623
3445
 
2624
3446
  if (!$dara.isNull(request.nextToken)) {
2625
- query["NextToken"] = request.nextToken;
3447
+ body["NextToken"] = request.nextToken;
2626
3448
  }
2627
3449
 
2628
3450
  let req = new $OpenApiUtil.OpenApiRequest({
2629
- query: OpenApiUtil.query(query),
3451
+ body: OpenApiUtil.parseToMap(body),
2630
3452
  });
2631
3453
  let params = new $OpenApiUtil.Params({
2632
- action: "ListEventBuses",
3454
+ action: "ListLumaKnowledgeBases",
2633
3455
  version: "2020-04-01",
2634
3456
  protocol: "HTTPS",
2635
3457
  pathname: "/",
@@ -2639,46 +3461,57 @@ export default class Client extends OpenApi {
2639
3461
  reqBodyType: "formData",
2640
3462
  bodyType: "json",
2641
3463
  });
2642
- return $dara.cast<$_model.ListEventBusesResponse>(await this.callApi(params, req, runtime), new $_model.ListEventBusesResponse({}));
3464
+ return $dara.cast<$_model.ListLumaKnowledgeBasesResponse>(await this.callApi(params, req, runtime), new $_model.ListLumaKnowledgeBasesResponse({}));
2643
3465
  }
2644
3466
 
2645
3467
  /**
2646
- * Queries all event buses.
3468
+ * Lists all knowledge bases bound to a Luma Agent in a specified namespace. Returns the complete set of bindings without pagination.
2647
3469
  *
2648
3470
  * @remarks
2649
- * You can call this API operation to query all event buses.
3471
+ * Lists the knowledge bases bound to a Luma Agent in a specified namespace. Results are returned in pages. To retrieve the next page, pass the NextToken value from the previous response. An empty NextToken indicates that no more data is available. Expired bindings are skipped, so the number of entries on a single page may be less than MaxResults. Do not determine whether the last page is reached based on an insufficient number of entries on the current page.
2650
3472
  *
2651
- * @param request - ListEventBusesRequest
2652
- * @returns ListEventBusesResponse
3473
+ * @param request - ListLumaKnowledgeBasesRequest
3474
+ * @returns ListLumaKnowledgeBasesResponse
2653
3475
  */
2654
- async listEventBuses(request: $_model.ListEventBusesRequest): Promise<$_model.ListEventBusesResponse> {
3476
+ async listLumaKnowledgeBases(request: $_model.ListLumaKnowledgeBasesRequest): Promise<$_model.ListLumaKnowledgeBasesResponse> {
2655
3477
  let runtime = new $dara.RuntimeOptions({ });
2656
- return await this.listEventBusesWithOptions(request, runtime);
3478
+ return await this.listLumaKnowledgeBasesWithOptions(request, runtime);
2657
3479
  }
2658
3480
 
2659
3481
  /**
2660
- * Queries the list of EventHouse runtimes.
3482
+ * Lists all namespaces bound to a Luma Agent under a specified data catalog. Returns the complete set of bindings without pagination.
2661
3483
  *
2662
- * @param request - ListEventHouseRuntimesRequest
3484
+ * @remarks
3485
+ * Lists all namespaces bound to a Luma Agent under a specified data catalog. Returns the complete set of bindings without pagination.
3486
+ *
3487
+ * @param request - ListLumaNamespacesRequest
2663
3488
  * @param runtime - runtime options for this request RuntimeOptions
2664
- * @returns ListEventHouseRuntimesResponse
3489
+ * @returns ListLumaNamespacesResponse
2665
3490
  */
2666
- async listEventHouseRuntimesWithOptions(request: $_model.ListEventHouseRuntimesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListEventHouseRuntimesResponse> {
3491
+ async listLumaNamespacesWithOptions(request: $_model.ListLumaNamespacesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLumaNamespacesResponse> {
2667
3492
  request.validate();
2668
- let query = { };
2669
- if (!$dara.isNull(request.maxResults)) {
2670
- query["MaxResults"] = request.maxResults;
3493
+ let body : {[key: string ]: any} = { };
3494
+ if (!$dara.isNull(request.agentName)) {
3495
+ body["AgentName"] = request.agentName;
3496
+ }
3497
+
3498
+ if (!$dara.isNull(request.catalog)) {
3499
+ body["Catalog"] = request.catalog;
3500
+ }
3501
+
3502
+ if (!$dara.isNull(request.limit)) {
3503
+ body["Limit"] = request.limit;
2671
3504
  }
2672
3505
 
2673
3506
  if (!$dara.isNull(request.nextToken)) {
2674
- query["NextToken"] = request.nextToken;
3507
+ body["NextToken"] = request.nextToken;
2675
3508
  }
2676
3509
 
2677
3510
  let req = new $OpenApiUtil.OpenApiRequest({
2678
- query: OpenApiUtil.query(query),
3511
+ body: OpenApiUtil.parseToMap(body),
2679
3512
  });
2680
3513
  let params = new $OpenApiUtil.Params({
2681
- action: "ListEventHouseRuntimes",
3514
+ action: "ListLumaNamespaces",
2682
3515
  version: "2020-04-01",
2683
3516
  protocol: "HTTPS",
2684
3517
  pathname: "/",
@@ -2688,62 +3521,61 @@ export default class Client extends OpenApi {
2688
3521
  reqBodyType: "formData",
2689
3522
  bodyType: "json",
2690
3523
  });
2691
- return $dara.cast<$_model.ListEventHouseRuntimesResponse>(await this.callApi(params, req, runtime), new $_model.ListEventHouseRuntimesResponse({}));
3524
+ return $dara.cast<$_model.ListLumaNamespacesResponse>(await this.callApi(params, req, runtime), new $_model.ListLumaNamespacesResponse({}));
2692
3525
  }
2693
3526
 
2694
3527
  /**
2695
- * Queries the list of EventHouse runtimes.
3528
+ * Lists all namespaces bound to a Luma Agent under a specified data catalog. Returns the complete set of bindings without pagination.
2696
3529
  *
2697
- * @param request - ListEventHouseRuntimesRequest
2698
- * @returns ListEventHouseRuntimesResponse
3530
+ * @remarks
3531
+ * Lists all namespaces bound to a Luma Agent under a specified data catalog. Returns the complete set of bindings without pagination.
3532
+ *
3533
+ * @param request - ListLumaNamespacesRequest
3534
+ * @returns ListLumaNamespacesResponse
2699
3535
  */
2700
- async listEventHouseRuntimes(request: $_model.ListEventHouseRuntimesRequest): Promise<$_model.ListEventHouseRuntimesResponse> {
3536
+ async listLumaNamespaces(request: $_model.ListLumaNamespacesRequest): Promise<$_model.ListLumaNamespacesResponse> {
2701
3537
  let runtime = new $dara.RuntimeOptions({ });
2702
- return await this.listEventHouseRuntimesWithOptions(request, runtime);
3538
+ return await this.listLumaNamespacesWithOptions(request, runtime);
2703
3539
  }
2704
3540
 
2705
3541
  /**
2706
- * Queries event streams.
3542
+ * Lists all event tables bound to a Luma Agent in a specified namespace. Returns the complete set of bindings without pagination.
2707
3543
  *
2708
3544
  * @remarks
2709
- * Queries event streams.
3545
+ * Lists the event tables bound to a Luma Agent in a specified namespace. Results are returned in pages. Pass the NextToken from the previous response to retrieve the next page. An empty NextToken indicates that no more data is available. Expired bindings are skipped, so the number of entries on a single page may be less than the Limit value. Do not use an insufficient number of entries on the current page to determine that the last page has been reached.
2710
3546
  *
2711
- * @param request - ListEventStreamingsRequest
3547
+ * @param request - ListLumaTablesRequest
2712
3548
  * @param runtime - runtime options for this request RuntimeOptions
2713
- * @returns ListEventStreamingsResponse
3549
+ * @returns ListLumaTablesResponse
2714
3550
  */
2715
- async listEventStreamingsWithOptions(request: $_model.ListEventStreamingsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListEventStreamingsResponse> {
3551
+ async listLumaTablesWithOptions(request: $_model.ListLumaTablesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLumaTablesResponse> {
2716
3552
  request.validate();
2717
3553
  let body : {[key: string ]: any} = { };
2718
- if (!$dara.isNull(request.limit)) {
2719
- body["Limit"] = request.limit;
2720
- }
2721
-
2722
- if (!$dara.isNull(request.namePrefix)) {
2723
- body["NamePrefix"] = request.namePrefix;
3554
+ if (!$dara.isNull(request.agentName)) {
3555
+ body["AgentName"] = request.agentName;
2724
3556
  }
2725
3557
 
2726
- if (!$dara.isNull(request.nextToken)) {
2727
- body["NextToken"] = request.nextToken;
3558
+ if (!$dara.isNull(request.catalog)) {
3559
+ body["Catalog"] = request.catalog;
2728
3560
  }
2729
3561
 
2730
- if (!$dara.isNull(request.sinkArn)) {
2731
- body["SinkArn"] = request.sinkArn;
3562
+ if (!$dara.isNull(request.limit)) {
3563
+ body["Limit"] = request.limit;
2732
3564
  }
2733
3565
 
2734
- if (!$dara.isNull(request.sourceArn)) {
2735
- body["SourceArn"] = request.sourceArn;
3566
+ if (!$dara.isNull(request.namespace)) {
3567
+ body["Namespace"] = request.namespace;
2736
3568
  }
2737
3569
 
2738
- if (!$dara.isNull(request.tags)) {
2739
- body["Tags"] = request.tags;
3570
+ if (!$dara.isNull(request.nextToken)) {
3571
+ body["NextToken"] = request.nextToken;
2740
3572
  }
2741
3573
 
2742
3574
  let req = new $OpenApiUtil.OpenApiRequest({
2743
3575
  body: OpenApiUtil.parseToMap(body),
2744
3576
  });
2745
3577
  let params = new $OpenApiUtil.Params({
2746
- action: "ListEventStreamings",
3578
+ action: "ListLumaTables",
2747
3579
  version: "2020-04-01",
2748
3580
  protocol: "HTTPS",
2749
3581
  pathname: "/",
@@ -2753,21 +3585,21 @@ export default class Client extends OpenApi {
2753
3585
  reqBodyType: "formData",
2754
3586
  bodyType: "json",
2755
3587
  });
2756
- return $dara.cast<$_model.ListEventStreamingsResponse>(await this.callApi(params, req, runtime), new $_model.ListEventStreamingsResponse({}));
3588
+ return $dara.cast<$_model.ListLumaTablesResponse>(await this.callApi(params, req, runtime), new $_model.ListLumaTablesResponse({}));
2757
3589
  }
2758
3590
 
2759
3591
  /**
2760
- * Queries event streams.
3592
+ * Lists all event tables bound to a Luma Agent in a specified namespace. Returns the complete set of bindings without pagination.
2761
3593
  *
2762
3594
  * @remarks
2763
- * Queries event streams.
3595
+ * Lists the event tables bound to a Luma Agent in a specified namespace. Results are returned in pages. Pass the NextToken from the previous response to retrieve the next page. An empty NextToken indicates that no more data is available. Expired bindings are skipped, so the number of entries on a single page may be less than the Limit value. Do not use an insufficient number of entries on the current page to determine that the last page has been reached.
2764
3596
  *
2765
- * @param request - ListEventStreamingsRequest
2766
- * @returns ListEventStreamingsResponse
3597
+ * @param request - ListLumaTablesRequest
3598
+ * @returns ListLumaTablesResponse
2767
3599
  */
2768
- async listEventStreamings(request: $_model.ListEventStreamingsRequest): Promise<$_model.ListEventStreamingsResponse> {
3600
+ async listLumaTables(request: $_model.ListLumaTablesRequest): Promise<$_model.ListLumaTablesResponse> {
2769
3601
  let runtime = new $dara.RuntimeOptions({ });
2770
- return await this.listEventStreamingsWithOptions(request, runtime);
3602
+ return await this.listLumaTablesWithOptions(request, runtime);
2771
3603
  }
2772
3604
 
2773
3605
  /**
@@ -3101,7 +3933,7 @@ export default class Client extends OpenApi {
3101
3933
  }
3102
3934
 
3103
3935
  /**
3104
- * Polls for natural language query results.
3936
+ * Polls for the result of a natural language query.
3105
3937
  *
3106
3938
  * @param request - PollAskResultRequest
3107
3939
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3136,7 +3968,7 @@ export default class Client extends OpenApi {
3136
3968
  }
3137
3969
 
3138
3970
  /**
3139
- * Polls for natural language query results.
3971
+ * Polls for the result of a natural language query.
3140
3972
  *
3141
3973
  * @param request - PollAskResultRequest
3142
3974
  * @returns PollAskResultResponse
@@ -3530,6 +4362,62 @@ export default class Client extends OpenApi {
3530
4362
  return await this.queryEventTracesWithOptions(request, runtime);
3531
4363
  }
3532
4364
 
4365
+ /**
4366
+ * Executes an SQL query directly on the EventHouse associated with a Luma Agent and returns structured results. Unlike AskLuma, this operation executes the SQL provided by the caller without natural language rewriting.
4367
+ *
4368
+ * @remarks
4369
+ * Executes an SQL query directly on the EventHouse associated with a Luma Agent and returns structured results. Unlike AskLuma, this operation executes the SQL provided by the caller without natural language rewriting.
4370
+ *
4371
+ * @param request - QueryLumaWithSQLRequest
4372
+ * @param runtime - runtime options for this request RuntimeOptions
4373
+ * @returns QueryLumaWithSQLResponse
4374
+ */
4375
+ async queryLumaWithSQLWithOptions(request: $_model.QueryLumaWithSQLRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryLumaWithSQLResponse> {
4376
+ request.validate();
4377
+ let body : {[key: string ]: any} = { };
4378
+ if (!$dara.isNull(request.agentName)) {
4379
+ body["AgentName"] = request.agentName;
4380
+ }
4381
+
4382
+ if (!$dara.isNull(request.maxRows)) {
4383
+ body["MaxRows"] = request.maxRows;
4384
+ }
4385
+
4386
+ if (!$dara.isNull(request.sql)) {
4387
+ body["Sql"] = request.sql;
4388
+ }
4389
+
4390
+ let req = new $OpenApiUtil.OpenApiRequest({
4391
+ body: OpenApiUtil.parseToMap(body),
4392
+ });
4393
+ let params = new $OpenApiUtil.Params({
4394
+ action: "QueryLumaWithSQL",
4395
+ version: "2020-04-01",
4396
+ protocol: "HTTPS",
4397
+ pathname: "/",
4398
+ method: "POST",
4399
+ authType: "AK",
4400
+ style: "RPC",
4401
+ reqBodyType: "formData",
4402
+ bodyType: "json",
4403
+ });
4404
+ return $dara.cast<$_model.QueryLumaWithSQLResponse>(await this.callApi(params, req, runtime), new $_model.QueryLumaWithSQLResponse({}));
4405
+ }
4406
+
4407
+ /**
4408
+ * Executes an SQL query directly on the EventHouse associated with a Luma Agent and returns structured results. Unlike AskLuma, this operation executes the SQL provided by the caller without natural language rewriting.
4409
+ *
4410
+ * @remarks
4411
+ * Executes an SQL query directly on the EventHouse associated with a Luma Agent and returns structured results. Unlike AskLuma, this operation executes the SQL provided by the caller without natural language rewriting.
4412
+ *
4413
+ * @param request - QueryLumaWithSQLRequest
4414
+ * @returns QueryLumaWithSQLResponse
4415
+ */
4416
+ async queryLumaWithSQL(request: $_model.QueryLumaWithSQLRequest): Promise<$_model.QueryLumaWithSQLResponse> {
4417
+ let runtime = new $dara.RuntimeOptions({ });
4418
+ return await this.queryLumaWithSQLWithOptions(request, runtime);
4419
+ }
4420
+
3533
4421
  /**
3534
4422
  * Queries event traces by event ID.
3535
4423
  *
@@ -3742,6 +4630,86 @@ export default class Client extends OpenApi {
3742
4630
  return await this.saveAgentDataSemanticsWithOptions(request, runtime);
3743
4631
  }
3744
4632
 
4633
+ /**
4634
+ * Retrieves content from a knowledge base bound to a Luma Agent and returns relevant text chunks along with their relevance scores.
4635
+ *
4636
+ * @remarks
4637
+ * Retrieves content from a knowledge base bound to a Luma Agent and returns relevant text chunks along with their relevance scores.
4638
+ *
4639
+ * @param request - SearchLumaKnowledgeBaseRequest
4640
+ * @param runtime - runtime options for this request RuntimeOptions
4641
+ * @returns SearchLumaKnowledgeBaseResponse
4642
+ */
4643
+ async searchLumaKnowledgeBaseWithOptions(request: $_model.SearchLumaKnowledgeBaseRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SearchLumaKnowledgeBaseResponse> {
4644
+ request.validate();
4645
+ let body : {[key: string ]: any} = { };
4646
+ if (!$dara.isNull(request.agentName)) {
4647
+ body["AgentName"] = request.agentName;
4648
+ }
4649
+
4650
+ if (!$dara.isNull(request.catalog)) {
4651
+ body["Catalog"] = request.catalog;
4652
+ }
4653
+
4654
+ if (!$dara.isNull(request.knowledgeBaseName)) {
4655
+ body["KnowledgeBaseName"] = request.knowledgeBaseName;
4656
+ }
4657
+
4658
+ if (!$dara.isNull(request.metadataFilter)) {
4659
+ body["MetadataFilter"] = request.metadataFilter;
4660
+ }
4661
+
4662
+ if (!$dara.isNull(request.mode)) {
4663
+ body["Mode"] = request.mode;
4664
+ }
4665
+
4666
+ if (!$dara.isNull(request.namespace)) {
4667
+ body["Namespace"] = request.namespace;
4668
+ }
4669
+
4670
+ if (!$dara.isNull(request.query)) {
4671
+ body["Query"] = request.query;
4672
+ }
4673
+
4674
+ if (!$dara.isNull(request.rerank)) {
4675
+ body["Rerank"] = request.rerank;
4676
+ }
4677
+
4678
+ if (!$dara.isNull(request.topK)) {
4679
+ body["TopK"] = request.topK;
4680
+ }
4681
+
4682
+ let req = new $OpenApiUtil.OpenApiRequest({
4683
+ body: OpenApiUtil.parseToMap(body),
4684
+ });
4685
+ let params = new $OpenApiUtil.Params({
4686
+ action: "SearchLumaKnowledgeBase",
4687
+ version: "2020-04-01",
4688
+ protocol: "HTTPS",
4689
+ pathname: "/",
4690
+ method: "POST",
4691
+ authType: "AK",
4692
+ style: "RPC",
4693
+ reqBodyType: "formData",
4694
+ bodyType: "json",
4695
+ });
4696
+ return $dara.cast<$_model.SearchLumaKnowledgeBaseResponse>(await this.callApi(params, req, runtime), new $_model.SearchLumaKnowledgeBaseResponse({}));
4697
+ }
4698
+
4699
+ /**
4700
+ * Retrieves content from a knowledge base bound to a Luma Agent and returns relevant text chunks along with their relevance scores.
4701
+ *
4702
+ * @remarks
4703
+ * Retrieves content from a knowledge base bound to a Luma Agent and returns relevant text chunks along with their relevance scores.
4704
+ *
4705
+ * @param request - SearchLumaKnowledgeBaseRequest
4706
+ * @returns SearchLumaKnowledgeBaseResponse
4707
+ */
4708
+ async searchLumaKnowledgeBase(request: $_model.SearchLumaKnowledgeBaseRequest): Promise<$_model.SearchLumaKnowledgeBaseResponse> {
4709
+ let runtime = new $dara.RuntimeOptions({ });
4710
+ return await this.searchLumaKnowledgeBaseWithOptions(request, runtime);
4711
+ }
4712
+
3745
4713
  /**
3746
4714
  * Enables a created or disabled event stream.
3747
4715
  *
@@ -3920,6 +4888,14 @@ export default class Client extends OpenApi {
3920
4888
  body["Description"] = request.description;
3921
4889
  }
3922
4890
 
4891
+ if (!$dara.isNull(request.mcpServerId)) {
4892
+ body["McpServerId"] = request.mcpServerId;
4893
+ }
4894
+
4895
+ if (!$dara.isNull(request.mcpServerName)) {
4896
+ body["McpServerName"] = request.mcpServerName;
4897
+ }
4898
+
3923
4899
  if (!$dara.isNull(request.metadataShrink)) {
3924
4900
  body["Metadata"] = request.metadataShrink;
3925
4901
  }