@alicloud/eventbridge20200401 6.5.0 → 6.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. package/dist/client.d.ts +321 -6
  2. package/dist/client.js +1050 -216
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AgentBridgeRuntime.d.ts +77 -0
  5. package/dist/models/AgentBridgeRuntime.js +72 -0
  6. package/dist/models/AgentBridgeRuntime.js.map +1 -0
  7. package/dist/models/CreateEventStreamingRequest.d.ts +240 -119
  8. package/dist/models/CreateEventStreamingRequest.js +11 -0
  9. package/dist/models/CreateEventStreamingRequest.js.map +1 -1
  10. package/dist/models/CreateEventStreamingResponseBody.d.ts +3 -1
  11. package/dist/models/CreateEventStreamingResponseBody.js.map +1 -1
  12. package/dist/models/CreateEventStreamingShrinkRequest.d.ts +6 -6
  13. package/dist/models/DeleteNamespaceRequest.d.ts +3 -3
  14. package/dist/models/DeleteNamespaceResponseBody.d.ts +4 -4
  15. package/dist/models/ExecutionResult.d.ts +9 -6
  16. package/dist/models/ExecutionResult.js.map +1 -1
  17. package/dist/models/GetEventStreamingRequest.d.ts +1 -1
  18. package/dist/models/GetEventStreamingResponseBody.d.ts +277 -154
  19. package/dist/models/GetEventStreamingResponseBody.js +6 -0
  20. package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
  21. package/dist/models/GetLumaCatalogRequest.d.ts +33 -0
  22. package/dist/models/GetLumaCatalogRequest.js +60 -0
  23. package/dist/models/GetLumaCatalogRequest.js.map +1 -0
  24. package/dist/models/GetLumaCatalogResponse.d.ts +19 -0
  25. package/dist/models/GetLumaCatalogResponse.js +69 -0
  26. package/dist/models/GetLumaCatalogResponse.js.map +1 -0
  27. package/dist/models/GetLumaCatalogResponseBody.d.ts +51 -0
  28. package/dist/models/GetLumaCatalogResponseBody.js +70 -0
  29. package/dist/models/GetLumaCatalogResponseBody.js.map +1 -0
  30. package/dist/models/GetLumaChunkRequest.d.ts +73 -0
  31. package/dist/models/GetLumaChunkRequest.js +68 -0
  32. package/dist/models/GetLumaChunkRequest.js.map +1 -0
  33. package/dist/models/GetLumaChunkResponse.d.ts +19 -0
  34. package/dist/models/GetLumaChunkResponse.js +69 -0
  35. package/dist/models/GetLumaChunkResponse.js.map +1 -0
  36. package/dist/models/GetLumaChunkResponseBody.d.ts +51 -0
  37. package/dist/models/GetLumaChunkResponseBody.js +70 -0
  38. package/dist/models/GetLumaChunkResponseBody.js.map +1 -0
  39. package/dist/models/GetLumaDocumentDownloadUrlRequest.d.ts +75 -0
  40. package/dist/models/GetLumaDocumentDownloadUrlRequest.js +68 -0
  41. package/dist/models/GetLumaDocumentDownloadUrlRequest.js.map +1 -0
  42. package/dist/models/GetLumaDocumentDownloadUrlResponse.d.ts +19 -0
  43. package/dist/models/GetLumaDocumentDownloadUrlResponse.js +69 -0
  44. package/dist/models/GetLumaDocumentDownloadUrlResponse.js.map +1 -0
  45. package/dist/models/GetLumaDocumentDownloadUrlResponseBody.d.ts +78 -0
  46. package/dist/models/GetLumaDocumentDownloadUrlResponseBody.js +90 -0
  47. package/dist/models/GetLumaDocumentDownloadUrlResponseBody.js.map +1 -0
  48. package/dist/models/GetLumaDocumentRequest.d.ts +63 -0
  49. package/dist/models/GetLumaDocumentRequest.js +66 -0
  50. package/dist/models/GetLumaDocumentRequest.js.map +1 -0
  51. package/dist/models/GetLumaDocumentResponse.d.ts +19 -0
  52. package/dist/models/GetLumaDocumentResponse.js +69 -0
  53. package/dist/models/GetLumaDocumentResponse.js.map +1 -0
  54. package/dist/models/GetLumaDocumentResponseBody.d.ts +51 -0
  55. package/dist/models/GetLumaDocumentResponseBody.js +70 -0
  56. package/dist/models/GetLumaDocumentResponseBody.js.map +1 -0
  57. package/dist/models/GetLumaKnowledgeBaseRequest.d.ts +53 -0
  58. package/dist/models/GetLumaKnowledgeBaseRequest.js +64 -0
  59. package/dist/models/GetLumaKnowledgeBaseRequest.js.map +1 -0
  60. package/dist/models/GetLumaKnowledgeBaseResponse.d.ts +19 -0
  61. package/dist/models/GetLumaKnowledgeBaseResponse.js +69 -0
  62. package/dist/models/GetLumaKnowledgeBaseResponse.js.map +1 -0
  63. package/dist/models/GetLumaKnowledgeBaseResponseBody.d.ts +51 -0
  64. package/dist/models/GetLumaKnowledgeBaseResponseBody.js +70 -0
  65. package/dist/models/GetLumaKnowledgeBaseResponseBody.js.map +1 -0
  66. package/dist/models/GetLumaNamespaceRequest.d.ts +43 -0
  67. package/dist/models/GetLumaNamespaceRequest.js +62 -0
  68. package/dist/models/GetLumaNamespaceRequest.js.map +1 -0
  69. package/dist/models/GetLumaNamespaceResponse.d.ts +19 -0
  70. package/dist/models/GetLumaNamespaceResponse.js +69 -0
  71. package/dist/models/GetLumaNamespaceResponse.js.map +1 -0
  72. package/dist/models/GetLumaNamespaceResponseBody.d.ts +51 -0
  73. package/dist/models/GetLumaNamespaceResponseBody.js +70 -0
  74. package/dist/models/GetLumaNamespaceResponseBody.js.map +1 -0
  75. package/dist/models/GetLumaTableRequest.d.ts +53 -0
  76. package/dist/models/GetLumaTableRequest.js +64 -0
  77. package/dist/models/GetLumaTableRequest.js.map +1 -0
  78. package/dist/models/GetLumaTableResponse.d.ts +19 -0
  79. package/dist/models/GetLumaTableResponse.js +69 -0
  80. package/dist/models/GetLumaTableResponse.js.map +1 -0
  81. package/dist/models/GetLumaTableResponseBody.d.ts +51 -0
  82. package/dist/models/GetLumaTableResponseBody.js +70 -0
  83. package/dist/models/GetLumaTableResponseBody.js.map +1 -0
  84. package/dist/models/KnowledgeBase.d.ts +281 -0
  85. package/dist/models/KnowledgeBase.js +176 -0
  86. package/dist/models/KnowledgeBase.js.map +1 -0
  87. package/dist/models/KnowledgeBaseChunk.d.ts +93 -0
  88. package/dist/models/KnowledgeBaseChunk.js +76 -0
  89. package/dist/models/KnowledgeBaseChunk.js.map +1 -0
  90. package/dist/models/KnowledgeBaseDocument.d.ts +249 -0
  91. package/dist/models/KnowledgeBaseDocument.js +164 -0
  92. package/dist/models/KnowledgeBaseDocument.js.map +1 -0
  93. package/dist/models/KnowledgeBaseSearchChunk.d.ts +118 -0
  94. package/dist/models/KnowledgeBaseSearchChunk.js +100 -0
  95. package/dist/models/KnowledgeBaseSearchChunk.js.map +1 -0
  96. package/dist/models/ListEventStreamingsRequest.d.ts +3 -3
  97. package/dist/models/ListEventStreamingsResponseBody.d.ts +171 -166
  98. package/dist/models/ListEventStreamingsResponseBody.js +6 -0
  99. package/dist/models/ListEventStreamingsResponseBody.js.map +1 -1
  100. package/dist/models/ListLumaCatalogsRequest.d.ts +23 -0
  101. package/dist/models/ListLumaCatalogsRequest.js +58 -0
  102. package/dist/models/ListLumaCatalogsRequest.js.map +1 -0
  103. package/dist/models/ListLumaCatalogsResponse.d.ts +19 -0
  104. package/dist/models/ListLumaCatalogsResponse.js +69 -0
  105. package/dist/models/ListLumaCatalogsResponse.js.map +1 -0
  106. package/dist/models/ListLumaCatalogsResponseBody.d.ts +71 -0
  107. package/dist/models/ListLumaCatalogsResponseBody.js +92 -0
  108. package/dist/models/ListLumaCatalogsResponseBody.js.map +1 -0
  109. package/dist/models/ListLumaChunksRequest.d.ts +93 -0
  110. package/dist/models/ListLumaChunksRequest.js +74 -0
  111. package/dist/models/ListLumaChunksRequest.js.map +1 -0
  112. package/dist/models/ListLumaChunksResponse.d.ts +19 -0
  113. package/dist/models/ListLumaChunksResponse.js +69 -0
  114. package/dist/models/ListLumaChunksResponse.js.map +1 -0
  115. package/dist/models/ListLumaChunksResponseBody.d.ts +87 -0
  116. package/dist/models/ListLumaChunksResponseBody.js +96 -0
  117. package/dist/models/ListLumaChunksResponseBody.js.map +1 -0
  118. package/dist/models/ListLumaDocumentsRequest.d.ts +85 -0
  119. package/dist/models/ListLumaDocumentsRequest.js +72 -0
  120. package/dist/models/ListLumaDocumentsRequest.js.map +1 -0
  121. package/dist/models/ListLumaDocumentsResponse.d.ts +19 -0
  122. package/dist/models/ListLumaDocumentsResponse.js +69 -0
  123. package/dist/models/ListLumaDocumentsResponse.js.map +1 -0
  124. package/dist/models/ListLumaDocumentsResponseBody.d.ts +87 -0
  125. package/dist/models/ListLumaDocumentsResponseBody.js +96 -0
  126. package/dist/models/ListLumaDocumentsResponseBody.js.map +1 -0
  127. package/dist/models/ListLumaKnowledgeBasesRequest.d.ts +43 -0
  128. package/dist/models/ListLumaKnowledgeBasesRequest.js +62 -0
  129. package/dist/models/ListLumaKnowledgeBasesRequest.js.map +1 -0
  130. package/dist/models/ListLumaKnowledgeBasesResponse.d.ts +19 -0
  131. package/dist/models/ListLumaKnowledgeBasesResponse.js +69 -0
  132. package/dist/models/ListLumaKnowledgeBasesResponse.js.map +1 -0
  133. package/dist/models/ListLumaKnowledgeBasesResponseBody.d.ts +71 -0
  134. package/dist/models/ListLumaKnowledgeBasesResponseBody.js +92 -0
  135. package/dist/models/ListLumaKnowledgeBasesResponseBody.js.map +1 -0
  136. package/dist/models/ListLumaNamespacesRequest.d.ts +33 -0
  137. package/dist/models/ListLumaNamespacesRequest.js +60 -0
  138. package/dist/models/ListLumaNamespacesRequest.js.map +1 -0
  139. package/dist/models/ListLumaNamespacesResponse.d.ts +19 -0
  140. package/dist/models/ListLumaNamespacesResponse.js +69 -0
  141. package/dist/models/ListLumaNamespacesResponse.js.map +1 -0
  142. package/dist/models/ListLumaNamespacesResponseBody.d.ts +71 -0
  143. package/dist/models/ListLumaNamespacesResponseBody.js +92 -0
  144. package/dist/models/ListLumaNamespacesResponseBody.js.map +1 -0
  145. package/dist/models/ListLumaTablesRequest.d.ts +43 -0
  146. package/dist/models/ListLumaTablesRequest.js +62 -0
  147. package/dist/models/ListLumaTablesRequest.js.map +1 -0
  148. package/dist/models/ListLumaTablesResponse.d.ts +19 -0
  149. package/dist/models/ListLumaTablesResponse.js +69 -0
  150. package/dist/models/ListLumaTablesResponse.js.map +1 -0
  151. package/dist/models/ListLumaTablesResponseBody.d.ts +71 -0
  152. package/dist/models/ListLumaTablesResponseBody.js +92 -0
  153. package/dist/models/ListLumaTablesResponseBody.js.map +1 -0
  154. package/dist/models/LumaTable.d.ts +138 -0
  155. package/dist/models/LumaTable.js +122 -0
  156. package/dist/models/LumaTable.js.map +1 -0
  157. package/dist/models/MetadataSchemaField.d.ts +49 -0
  158. package/dist/models/MetadataSchemaField.js +64 -0
  159. package/dist/models/MetadataSchemaField.js.map +1 -0
  160. package/dist/models/PollAskResultResponseBody.d.ts +4 -4
  161. package/dist/models/QueryAskLumaLogRequest.d.ts +2 -2
  162. package/dist/models/QueryLumaWithSqlrequest.d.ts +41 -0
  163. package/dist/models/QueryLumaWithSqlrequest.js +62 -0
  164. package/dist/models/QueryLumaWithSqlrequest.js.map +1 -0
  165. package/dist/models/QueryLumaWithSqlresponse.d.ts +19 -0
  166. package/dist/models/QueryLumaWithSqlresponse.js +69 -0
  167. package/dist/models/QueryLumaWithSqlresponse.js.map +1 -0
  168. package/dist/models/QueryLumaWithSqlresponseBody.d.ts +51 -0
  169. package/dist/models/QueryLumaWithSqlresponseBody.js +70 -0
  170. package/dist/models/QueryLumaWithSqlresponseBody.js.map +1 -0
  171. package/dist/models/SchemaColumn.d.ts +2 -2
  172. package/dist/models/SearchLumaKnowledgeBaseRequest.d.ts +95 -0
  173. package/dist/models/SearchLumaKnowledgeBaseRequest.js +74 -0
  174. package/dist/models/SearchLumaKnowledgeBaseRequest.js.map +1 -0
  175. package/dist/models/SearchLumaKnowledgeBaseResponse.d.ts +19 -0
  176. package/dist/models/SearchLumaKnowledgeBaseResponse.js +69 -0
  177. package/dist/models/SearchLumaKnowledgeBaseResponse.js.map +1 -0
  178. package/dist/models/SearchLumaKnowledgeBaseResponseBody.d.ts +79 -0
  179. package/dist/models/SearchLumaKnowledgeBaseResponseBody.js +94 -0
  180. package/dist/models/SearchLumaKnowledgeBaseResponseBody.js.map +1 -0
  181. package/dist/models/SinkKnowledgeBaseParameters.d.ts +37 -0
  182. package/dist/models/SinkKnowledgeBaseParameters.js +62 -0
  183. package/dist/models/SinkKnowledgeBaseParameters.js.map +1 -0
  184. package/dist/models/SourceFeiShuDocsParameters.d.ts +28 -0
  185. package/dist/models/SourceFeiShuDocsParameters.js.map +1 -1
  186. package/dist/models/UpdateEventStreamingRequest.d.ts +302 -161
  187. package/dist/models/UpdateEventStreamingRequest.js +11 -0
  188. package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
  189. package/dist/models/UpdateEventStreamingResponseBody.d.ts +2 -4
  190. package/dist/models/UpdateEventStreamingResponseBody.js.map +1 -1
  191. package/dist/models/UpdateEventStreamingShrinkRequest.d.ts +4 -4
  192. package/dist/models/model.d.ts +70 -0
  193. package/dist/models/model.js +164 -22
  194. package/dist/models/model.js.map +1 -1
  195. package/package.json +1 -1
  196. package/src/client.ts +1149 -217
  197. package/src/models/AgentBridgeRuntime.ts +104 -0
  198. package/src/models/CreateEventStreamingRequest.ts +250 -119
  199. package/src/models/CreateEventStreamingResponseBody.ts +3 -1
  200. package/src/models/CreateEventStreamingShrinkRequest.ts +6 -6
  201. package/src/models/DeleteNamespaceRequest.ts +3 -3
  202. package/src/models/DeleteNamespaceResponseBody.ts +4 -4
  203. package/src/models/ExecutionResult.ts +9 -6
  204. package/src/models/GetEventStreamingRequest.ts +1 -1
  205. package/src/models/GetEventStreamingResponseBody.ts +282 -154
  206. package/src/models/GetLumaCatalogRequest.ts +48 -0
  207. package/src/models/GetLumaCatalogResponse.ts +40 -0
  208. package/src/models/GetLumaCatalogResponseBody.ts +75 -0
  209. package/src/models/GetLumaChunkRequest.ts +96 -0
  210. package/src/models/GetLumaChunkResponse.ts +40 -0
  211. package/src/models/GetLumaChunkResponseBody.ts +75 -0
  212. package/src/models/GetLumaDocumentDownloadUrlRequest.ts +98 -0
  213. package/src/models/GetLumaDocumentDownloadUrlResponse.ts +40 -0
  214. package/src/models/GetLumaDocumentDownloadUrlResponseBody.ts +114 -0
  215. package/src/models/GetLumaDocumentRequest.ts +84 -0
  216. package/src/models/GetLumaDocumentResponse.ts +40 -0
  217. package/src/models/GetLumaDocumentResponseBody.ts +75 -0
  218. package/src/models/GetLumaKnowledgeBaseRequest.ts +72 -0
  219. package/src/models/GetLumaKnowledgeBaseResponse.ts +40 -0
  220. package/src/models/GetLumaKnowledgeBaseResponseBody.ts +75 -0
  221. package/src/models/GetLumaNamespaceRequest.ts +60 -0
  222. package/src/models/GetLumaNamespaceResponse.ts +40 -0
  223. package/src/models/GetLumaNamespaceResponseBody.ts +75 -0
  224. package/src/models/GetLumaTableRequest.ts +72 -0
  225. package/src/models/GetLumaTableResponse.ts +40 -0
  226. package/src/models/GetLumaTableResponseBody.ts +75 -0
  227. package/src/models/KnowledgeBase.ts +384 -0
  228. package/src/models/KnowledgeBaseChunk.ts +124 -0
  229. package/src/models/KnowledgeBaseDocument.ts +341 -0
  230. package/src/models/KnowledgeBaseSearchChunk.ts +164 -0
  231. package/src/models/ListEventStreamingsRequest.ts +3 -3
  232. package/src/models/ListEventStreamingsResponseBody.ts +177 -167
  233. package/src/models/ListLumaCatalogsRequest.ts +36 -0
  234. package/src/models/ListLumaCatalogsResponse.ts +40 -0
  235. package/src/models/ListLumaCatalogsResponseBody.ts +108 -0
  236. package/src/models/ListLumaChunksRequest.ts +122 -0
  237. package/src/models/ListLumaChunksResponse.ts +40 -0
  238. package/src/models/ListLumaChunksResponseBody.ts +128 -0
  239. package/src/models/ListLumaDocumentsRequest.ts +112 -0
  240. package/src/models/ListLumaDocumentsResponse.ts +40 -0
  241. package/src/models/ListLumaDocumentsResponseBody.ts +128 -0
  242. package/src/models/ListLumaKnowledgeBasesRequest.ts +60 -0
  243. package/src/models/ListLumaKnowledgeBasesResponse.ts +40 -0
  244. package/src/models/ListLumaKnowledgeBasesResponseBody.ts +108 -0
  245. package/src/models/ListLumaNamespacesRequest.ts +48 -0
  246. package/src/models/ListLumaNamespacesResponse.ts +40 -0
  247. package/src/models/ListLumaNamespacesResponseBody.ts +108 -0
  248. package/src/models/ListLumaTablesRequest.ts +60 -0
  249. package/src/models/ListLumaTablesResponse.ts +40 -0
  250. package/src/models/ListLumaTablesResponseBody.ts +108 -0
  251. package/src/models/LumaTable.ts +197 -0
  252. package/src/models/MetadataSchemaField.ts +68 -0
  253. package/src/models/PollAskResultResponseBody.ts +4 -4
  254. package/src/models/QueryAskLumaLogRequest.ts +2 -2
  255. package/src/models/QueryLumaWithSqlrequest.ts +58 -0
  256. package/src/models/QueryLumaWithSqlresponse.ts +40 -0
  257. package/src/models/QueryLumaWithSqlresponseBody.ts +75 -0
  258. package/src/models/SchemaColumn.ts +2 -2
  259. package/src/models/SearchLumaKnowledgeBaseRequest.ts +124 -0
  260. package/src/models/SearchLumaKnowledgeBaseResponse.ts +40 -0
  261. package/src/models/SearchLumaKnowledgeBaseResponseBody.ts +118 -0
  262. package/src/models/SinkKnowledgeBaseParameters.ts +54 -0
  263. package/src/models/SourceFeiShuDocsParameters.ts +28 -0
  264. package/src/models/UpdateEventStreamingRequest.ts +312 -161
  265. package/src/models/UpdateEventStreamingResponseBody.ts +2 -4
  266. package/src/models/UpdateEventStreamingShrinkRequest.ts +4 -4
  267. package/src/models/model.ts +70 -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,708 @@ 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);
2616
+ }
2617
+
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.maxResults)) {
2989
+ body["MaxResults"] = request.maxResults;
2990
+ }
2991
+
2992
+ if (!$dara.isNull(request.nextToken)) {
2993
+ body["NextToken"] = request.nextToken;
2994
+ }
2995
+
2996
+ if (!$dara.isNull(request.type)) {
2997
+ body["Type"] = request.type;
2998
+ }
2999
+
3000
+ let req = new $OpenApiUtil.OpenApiRequest({
3001
+ body: OpenApiUtil.parseToMap(body),
3002
+ });
3003
+ let params = new $OpenApiUtil.Params({
3004
+ action: "ListConnections",
3005
+ version: "2020-04-01",
3006
+ protocol: "HTTPS",
3007
+ pathname: "/",
3008
+ method: "POST",
3009
+ authType: "AK",
3010
+ style: "RPC",
3011
+ reqBodyType: "formData",
3012
+ bodyType: "json",
3013
+ });
3014
+ return $dara.cast<$_model.ListConnectionsResponse>(await this.callApi(params, req, runtime), new $_model.ListConnectionsResponse({}));
3015
+ }
3016
+
3017
+ /**
3018
+ * Retrieves a list of connection configurations.
3019
+ *
3020
+ * @remarks
3021
+ * Retrieves a list of connection configurations.
3022
+ *
3023
+ * @param request - ListConnectionsRequest
3024
+ * @returns ListConnectionsResponse
3025
+ */
3026
+ async listConnections(request: $_model.ListConnectionsRequest): Promise<$_model.ListConnectionsResponse> {
3027
+ let runtime = new $dara.RuntimeOptions({ });
3028
+ return await this.listConnectionsWithOptions(request, runtime);
3029
+ }
3030
+
3031
+ /**
3032
+ * Queries all event buses.
3033
+ *
3034
+ * @remarks
3035
+ * You can call this API operation to query all event buses.
3036
+ *
3037
+ * @param request - ListEventBusesRequest
3038
+ * @param runtime - runtime options for this request RuntimeOptions
3039
+ * @returns ListEventBusesResponse
3040
+ */
3041
+ async listEventBusesWithOptions(request: $_model.ListEventBusesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListEventBusesResponse> {
3042
+ request.validate();
3043
+ let query = { };
3044
+ if (!$dara.isNull(request.limit)) {
3045
+ query["Limit"] = request.limit;
3046
+ }
3047
+
3048
+ if (!$dara.isNull(request.namePrefix)) {
3049
+ query["NamePrefix"] = request.namePrefix;
3050
+ }
3051
+
3052
+ if (!$dara.isNull(request.nextToken)) {
3053
+ query["NextToken"] = request.nextToken;
3054
+ }
3055
+
3056
+ let req = new $OpenApiUtil.OpenApiRequest({
3057
+ query: OpenApiUtil.query(query),
3058
+ });
3059
+ let params = new $OpenApiUtil.Params({
3060
+ action: "ListEventBuses",
3061
+ version: "2020-04-01",
3062
+ protocol: "HTTPS",
3063
+ pathname: "/",
3064
+ method: "POST",
3065
+ authType: "AK",
3066
+ style: "RPC",
3067
+ reqBodyType: "formData",
3068
+ bodyType: "json",
3069
+ });
3070
+ return $dara.cast<$_model.ListEventBusesResponse>(await this.callApi(params, req, runtime), new $_model.ListEventBusesResponse({}));
3071
+ }
3072
+
3073
+ /**
3074
+ * Queries all event buses.
3075
+ *
3076
+ * @remarks
3077
+ * You can call this API operation to query all event buses.
3078
+ *
3079
+ * @param request - ListEventBusesRequest
3080
+ * @returns ListEventBusesResponse
3081
+ */
3082
+ async listEventBuses(request: $_model.ListEventBusesRequest): Promise<$_model.ListEventBusesResponse> {
3083
+ let runtime = new $dara.RuntimeOptions({ });
3084
+ return await this.listEventBusesWithOptions(request, runtime);
3085
+ }
3086
+
3087
+ /**
3088
+ * Queries the list of EventHouse runtimes.
3089
+ *
3090
+ * @param request - ListEventHouseRuntimesRequest
3091
+ * @param runtime - runtime options for this request RuntimeOptions
3092
+ * @returns ListEventHouseRuntimesResponse
3093
+ */
3094
+ async listEventHouseRuntimesWithOptions(request: $_model.ListEventHouseRuntimesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListEventHouseRuntimesResponse> {
3095
+ request.validate();
3096
+ let query = { };
3097
+ if (!$dara.isNull(request.maxResults)) {
3098
+ query["MaxResults"] = request.maxResults;
3099
+ }
3100
+
3101
+ if (!$dara.isNull(request.nextToken)) {
3102
+ query["NextToken"] = request.nextToken;
3103
+ }
3104
+
3105
+ let req = new $OpenApiUtil.OpenApiRequest({
3106
+ query: OpenApiUtil.query(query),
3107
+ });
3108
+ let params = new $OpenApiUtil.Params({
3109
+ action: "ListEventHouseRuntimes",
3110
+ version: "2020-04-01",
3111
+ protocol: "HTTPS",
3112
+ pathname: "/",
3113
+ method: "POST",
3114
+ authType: "AK",
3115
+ style: "RPC",
3116
+ reqBodyType: "formData",
3117
+ bodyType: "json",
3118
+ });
3119
+ return $dara.cast<$_model.ListEventHouseRuntimesResponse>(await this.callApi(params, req, runtime), new $_model.ListEventHouseRuntimesResponse({}));
3120
+ }
3121
+
3122
+ /**
3123
+ * Queries the list of EventHouse runtimes.
3124
+ *
3125
+ * @param request - ListEventHouseRuntimesRequest
3126
+ * @returns ListEventHouseRuntimesResponse
3127
+ */
3128
+ async listEventHouseRuntimes(request: $_model.ListEventHouseRuntimesRequest): Promise<$_model.ListEventHouseRuntimesResponse> {
3129
+ let runtime = new $dara.RuntimeOptions({ });
3130
+ return await this.listEventHouseRuntimesWithOptions(request, runtime);
3131
+ }
3132
+
3133
+ /**
3134
+ * Queries event streams.
3135
+ *
3136
+ * @remarks
3137
+ * Queries event streams.
3138
+ *
3139
+ * @param request - ListEventStreamingsRequest
3140
+ * @param runtime - runtime options for this request RuntimeOptions
3141
+ * @returns ListEventStreamingsResponse
3142
+ */
3143
+ async listEventStreamingsWithOptions(request: $_model.ListEventStreamingsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListEventStreamingsResponse> {
3144
+ request.validate();
3145
+ let body : {[key: string ]: any} = { };
3146
+ if (!$dara.isNull(request.limit)) {
3147
+ body["Limit"] = request.limit;
3148
+ }
3149
+
3150
+ if (!$dara.isNull(request.namePrefix)) {
3151
+ body["NamePrefix"] = request.namePrefix;
3152
+ }
3153
+
3154
+ if (!$dara.isNull(request.nextToken)) {
3155
+ body["NextToken"] = request.nextToken;
3156
+ }
3157
+
3158
+ if (!$dara.isNull(request.sinkArn)) {
3159
+ body["SinkArn"] = request.sinkArn;
3160
+ }
3161
+
3162
+ if (!$dara.isNull(request.sourceArn)) {
3163
+ body["SourceArn"] = request.sourceArn;
3164
+ }
3165
+
3166
+ if (!$dara.isNull(request.tags)) {
3167
+ body["Tags"] = request.tags;
3168
+ }
3169
+
3170
+ let req = new $OpenApiUtil.OpenApiRequest({
3171
+ body: OpenApiUtil.parseToMap(body),
3172
+ });
3173
+ let params = new $OpenApiUtil.Params({
3174
+ action: "ListEventStreamings",
3175
+ version: "2020-04-01",
3176
+ protocol: "HTTPS",
3177
+ pathname: "/",
3178
+ method: "POST",
3179
+ authType: "AK",
3180
+ style: "RPC",
3181
+ reqBodyType: "formData",
3182
+ bodyType: "json",
3183
+ });
3184
+ return $dara.cast<$_model.ListEventStreamingsResponse>(await this.callApi(params, req, runtime), new $_model.ListEventStreamingsResponse({}));
3185
+ }
3186
+
3187
+ /**
3188
+ * Queries event streams.
3189
+ *
3190
+ * @remarks
3191
+ * Queries event streams.
3192
+ *
3193
+ * @param request - ListEventStreamingsRequest
3194
+ * @returns ListEventStreamingsResponse
3195
+ */
3196
+ async listEventStreamings(request: $_model.ListEventStreamingsRequest): Promise<$_model.ListEventStreamingsResponse> {
3197
+ let runtime = new $dara.RuntimeOptions({ });
3198
+ return await this.listEventStreamingsWithOptions(request, runtime);
3199
+ }
3200
+
3201
+ /**
3202
+ * Lists all data catalogs bound to a Luma Agent. Returns the complete set of bindings without pagination.
3203
+ *
3204
+ * @remarks
3205
+ * Lists all data catalogs bound to a Luma Agent. Returns the complete set of bindings without pagination.
3206
+ *
3207
+ * @param request - ListLumaCatalogsRequest
3208
+ * @param runtime - runtime options for this request RuntimeOptions
3209
+ * @returns ListLumaCatalogsResponse
3210
+ */
3211
+ async listLumaCatalogsWithOptions(request: $_model.ListLumaCatalogsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLumaCatalogsResponse> {
3212
+ request.validate();
3213
+ let body : {[key: string ]: any} = { };
3214
+ if (!$dara.isNull(request.agentName)) {
3215
+ body["AgentName"] = request.agentName;
3216
+ }
3217
+
3218
+ let req = new $OpenApiUtil.OpenApiRequest({
3219
+ body: OpenApiUtil.parseToMap(body),
3220
+ });
3221
+ let params = new $OpenApiUtil.Params({
3222
+ action: "ListLumaCatalogs",
3223
+ version: "2020-04-01",
3224
+ protocol: "HTTPS",
3225
+ pathname: "/",
3226
+ method: "POST",
3227
+ authType: "AK",
3228
+ style: "RPC",
3229
+ reqBodyType: "formData",
3230
+ bodyType: "json",
3231
+ });
3232
+ return $dara.cast<$_model.ListLumaCatalogsResponse>(await this.callApi(params, req, runtime), new $_model.ListLumaCatalogsResponse({}));
3233
+ }
3234
+
3235
+ /**
3236
+ * Lists all data catalogs bound to a Luma Agent. Returns the complete set of bindings without pagination.
3237
+ *
3238
+ * @remarks
3239
+ * Lists all data catalogs bound to a Luma Agent. Returns the complete set of bindings without pagination.
3240
+ *
3241
+ * @param request - ListLumaCatalogsRequest
3242
+ * @returns ListLumaCatalogsResponse
3243
+ */
3244
+ async listLumaCatalogs(request: $_model.ListLumaCatalogsRequest): Promise<$_model.ListLumaCatalogsResponse> {
3245
+ let runtime = new $dara.RuntimeOptions({ });
3246
+ return await this.listLumaCatalogsWithOptions(request, runtime);
2495
3247
  }
2496
3248
 
2497
3249
  /**
2498
- * Queries the list of data catalogs.
3250
+ * Lists text chunks in a knowledge base bound to a Luma Agent, with support for filtering by document, keyword, and enabled status.
2499
3251
  *
2500
- * @param request - ListCatalogsRequest
3252
+ * @remarks
3253
+ * Lists text chunks in a knowledge base bound to a Luma Agent, with support for filtering by document, keyword, and enabled status.
3254
+ *
3255
+ * @param request - ListLumaChunksRequest
2501
3256
  * @param runtime - runtime options for this request RuntimeOptions
2502
- * @returns ListCatalogsResponse
3257
+ * @returns ListLumaChunksResponse
2503
3258
  */
2504
- async listCatalogsWithOptions(request: $_model.ListCatalogsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListCatalogsResponse> {
3259
+ async listLumaChunksWithOptions(request: $_model.ListLumaChunksRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLumaChunksResponse> {
2505
3260
  request.validate();
2506
- let query = { };
2507
- if (!$dara.isNull(request.limit)) {
2508
- query["Limit"] = request.limit;
3261
+ let body : {[key: string ]: any} = { };
3262
+ if (!$dara.isNull(request.agentName)) {
3263
+ body["AgentName"] = request.agentName;
3264
+ }
3265
+
3266
+ if (!$dara.isNull(request.catalog)) {
3267
+ body["Catalog"] = request.catalog;
3268
+ }
3269
+
3270
+ if (!$dara.isNull(request.documentId)) {
3271
+ body["DocumentId"] = request.documentId;
3272
+ }
3273
+
3274
+ if (!$dara.isNull(request.enabled)) {
3275
+ body["Enabled"] = request.enabled;
3276
+ }
3277
+
3278
+ if (!$dara.isNull(request.keyword)) {
3279
+ body["Keyword"] = request.keyword;
3280
+ }
3281
+
3282
+ if (!$dara.isNull(request.knowledgeBaseName)) {
3283
+ body["KnowledgeBaseName"] = request.knowledgeBaseName;
3284
+ }
3285
+
3286
+ if (!$dara.isNull(request.maxResults)) {
3287
+ body["MaxResults"] = request.maxResults;
3288
+ }
3289
+
3290
+ if (!$dara.isNull(request.namespace)) {
3291
+ body["Namespace"] = request.namespace;
2509
3292
  }
2510
3293
 
2511
3294
  if (!$dara.isNull(request.nextToken)) {
2512
- query["NextToken"] = request.nextToken;
3295
+ body["NextToken"] = request.nextToken;
2513
3296
  }
2514
3297
 
2515
3298
  let req = new $OpenApiUtil.OpenApiRequest({
2516
- query: OpenApiUtil.query(query),
3299
+ body: OpenApiUtil.parseToMap(body),
2517
3300
  });
2518
3301
  let params = new $OpenApiUtil.Params({
2519
- action: "ListCatalogs",
3302
+ action: "ListLumaChunks",
2520
3303
  version: "2020-04-01",
2521
3304
  protocol: "HTTPS",
2522
3305
  pathname: "/",
@@ -2526,54 +3309,73 @@ export default class Client extends OpenApi {
2526
3309
  reqBodyType: "formData",
2527
3310
  bodyType: "json",
2528
3311
  });
2529
- return $dara.cast<$_model.ListCatalogsResponse>(await this.callApi(params, req, runtime), new $_model.ListCatalogsResponse({}));
3312
+ return $dara.cast<$_model.ListLumaChunksResponse>(await this.callApi(params, req, runtime), new $_model.ListLumaChunksResponse({}));
2530
3313
  }
2531
3314
 
2532
3315
  /**
2533
- * Queries the list of data catalogs.
3316
+ * Lists text chunks in a knowledge base bound to a Luma Agent, with support for filtering by document, keyword, and enabled status.
2534
3317
  *
2535
- * @param request - ListCatalogsRequest
2536
- * @returns ListCatalogsResponse
3318
+ * @remarks
3319
+ * Lists text chunks in a knowledge base bound to a Luma Agent, with support for filtering by document, keyword, and enabled status.
3320
+ *
3321
+ * @param request - ListLumaChunksRequest
3322
+ * @returns ListLumaChunksResponse
2537
3323
  */
2538
- async listCatalogs(request: $_model.ListCatalogsRequest): Promise<$_model.ListCatalogsResponse> {
3324
+ async listLumaChunks(request: $_model.ListLumaChunksRequest): Promise<$_model.ListLumaChunksResponse> {
2539
3325
  let runtime = new $dara.RuntimeOptions({ });
2540
- return await this.listCatalogsWithOptions(request, runtime);
3326
+ return await this.listLumaChunksWithOptions(request, runtime);
2541
3327
  }
2542
3328
 
2543
3329
  /**
2544
- * Retrieves a list of connection configurations.
3330
+ * Lists documents in a knowledge base bound to a Luma Agent, with support for filtering by file name prefix and processing status.
2545
3331
  *
2546
3332
  * @remarks
2547
- * Retrieves a list of connection configurations.
3333
+ * Lists documents in a knowledge base bound to a Luma Agent, with support for filtering by file name prefix and processing status.
2548
3334
  *
2549
- * @param request - ListConnectionsRequest
3335
+ * @param request - ListLumaDocumentsRequest
2550
3336
  * @param runtime - runtime options for this request RuntimeOptions
2551
- * @returns ListConnectionsResponse
3337
+ * @returns ListLumaDocumentsResponse
2552
3338
  */
2553
- async listConnectionsWithOptions(request: $_model.ListConnectionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListConnectionsResponse> {
3339
+ async listLumaDocumentsWithOptions(request: $_model.ListLumaDocumentsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLumaDocumentsResponse> {
2554
3340
  request.validate();
2555
3341
  let body : {[key: string ]: any} = { };
2556
- if (!$dara.isNull(request.connectionNamePrefix)) {
2557
- body["ConnectionNamePrefix"] = request.connectionNamePrefix;
3342
+ if (!$dara.isNull(request.agentName)) {
3343
+ body["AgentName"] = request.agentName;
3344
+ }
3345
+
3346
+ if (!$dara.isNull(request.catalog)) {
3347
+ body["Catalog"] = request.catalog;
3348
+ }
3349
+
3350
+ if (!$dara.isNull(request.fileNamePrefix)) {
3351
+ body["FileNamePrefix"] = request.fileNamePrefix;
3352
+ }
3353
+
3354
+ if (!$dara.isNull(request.knowledgeBaseName)) {
3355
+ body["KnowledgeBaseName"] = request.knowledgeBaseName;
2558
3356
  }
2559
3357
 
2560
3358
  if (!$dara.isNull(request.maxResults)) {
2561
3359
  body["MaxResults"] = request.maxResults;
2562
3360
  }
2563
3361
 
3362
+ if (!$dara.isNull(request.namespace)) {
3363
+ body["Namespace"] = request.namespace;
3364
+ }
3365
+
2564
3366
  if (!$dara.isNull(request.nextToken)) {
2565
3367
  body["NextToken"] = request.nextToken;
2566
3368
  }
2567
3369
 
2568
- if (!$dara.isNull(request.type)) {
2569
- body["Type"] = request.type;
3370
+ if (!$dara.isNull(request.status)) {
3371
+ body["Status"] = request.status;
2570
3372
  }
2571
3373
 
2572
3374
  let req = new $OpenApiUtil.OpenApiRequest({
2573
3375
  body: OpenApiUtil.parseToMap(body),
2574
3376
  });
2575
3377
  let params = new $OpenApiUtil.Params({
2576
- action: "ListConnections",
3378
+ action: "ListLumaDocuments",
2577
3379
  version: "2020-04-01",
2578
3380
  protocol: "HTTPS",
2579
3381
  pathname: "/",
@@ -2583,53 +3385,53 @@ export default class Client extends OpenApi {
2583
3385
  reqBodyType: "formData",
2584
3386
  bodyType: "json",
2585
3387
  });
2586
- return $dara.cast<$_model.ListConnectionsResponse>(await this.callApi(params, req, runtime), new $_model.ListConnectionsResponse({}));
3388
+ return $dara.cast<$_model.ListLumaDocumentsResponse>(await this.callApi(params, req, runtime), new $_model.ListLumaDocumentsResponse({}));
2587
3389
  }
2588
3390
 
2589
3391
  /**
2590
- * Retrieves a list of connection configurations.
3392
+ * Lists documents in a knowledge base bound to a Luma Agent, with support for filtering by file name prefix and processing status.
2591
3393
  *
2592
3394
  * @remarks
2593
- * Retrieves a list of connection configurations.
3395
+ * Lists documents in a knowledge base bound to a Luma Agent, with support for filtering by file name prefix and processing status.
2594
3396
  *
2595
- * @param request - ListConnectionsRequest
2596
- * @returns ListConnectionsResponse
3397
+ * @param request - ListLumaDocumentsRequest
3398
+ * @returns ListLumaDocumentsResponse
2597
3399
  */
2598
- async listConnections(request: $_model.ListConnectionsRequest): Promise<$_model.ListConnectionsResponse> {
3400
+ async listLumaDocuments(request: $_model.ListLumaDocumentsRequest): Promise<$_model.ListLumaDocumentsResponse> {
2599
3401
  let runtime = new $dara.RuntimeOptions({ });
2600
- return await this.listConnectionsWithOptions(request, runtime);
3402
+ return await this.listLumaDocumentsWithOptions(request, runtime);
2601
3403
  }
2602
3404
 
2603
3405
  /**
2604
- * Queries all event buses.
3406
+ * Lists all knowledge bases bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
2605
3407
  *
2606
3408
  * @remarks
2607
- * You can call this API operation to query all event buses.
3409
+ * Lists all knowledge bases bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
2608
3410
  *
2609
- * @param request - ListEventBusesRequest
3411
+ * @param request - ListLumaKnowledgeBasesRequest
2610
3412
  * @param runtime - runtime options for this request RuntimeOptions
2611
- * @returns ListEventBusesResponse
3413
+ * @returns ListLumaKnowledgeBasesResponse
2612
3414
  */
2613
- async listEventBusesWithOptions(request: $_model.ListEventBusesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListEventBusesResponse> {
3415
+ async listLumaKnowledgeBasesWithOptions(request: $_model.ListLumaKnowledgeBasesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLumaKnowledgeBasesResponse> {
2614
3416
  request.validate();
2615
- let query = { };
2616
- if (!$dara.isNull(request.limit)) {
2617
- query["Limit"] = request.limit;
3417
+ let body : {[key: string ]: any} = { };
3418
+ if (!$dara.isNull(request.agentName)) {
3419
+ body["AgentName"] = request.agentName;
2618
3420
  }
2619
3421
 
2620
- if (!$dara.isNull(request.namePrefix)) {
2621
- query["NamePrefix"] = request.namePrefix;
3422
+ if (!$dara.isNull(request.catalog)) {
3423
+ body["Catalog"] = request.catalog;
2622
3424
  }
2623
3425
 
2624
- if (!$dara.isNull(request.nextToken)) {
2625
- query["NextToken"] = request.nextToken;
3426
+ if (!$dara.isNull(request.namespace)) {
3427
+ body["Namespace"] = request.namespace;
2626
3428
  }
2627
3429
 
2628
3430
  let req = new $OpenApiUtil.OpenApiRequest({
2629
- query: OpenApiUtil.query(query),
3431
+ body: OpenApiUtil.parseToMap(body),
2630
3432
  });
2631
3433
  let params = new $OpenApiUtil.Params({
2632
- action: "ListEventBuses",
3434
+ action: "ListLumaKnowledgeBases",
2633
3435
  version: "2020-04-01",
2634
3436
  protocol: "HTTPS",
2635
3437
  pathname: "/",
@@ -2639,46 +3441,49 @@ export default class Client extends OpenApi {
2639
3441
  reqBodyType: "formData",
2640
3442
  bodyType: "json",
2641
3443
  });
2642
- return $dara.cast<$_model.ListEventBusesResponse>(await this.callApi(params, req, runtime), new $_model.ListEventBusesResponse({}));
3444
+ return $dara.cast<$_model.ListLumaKnowledgeBasesResponse>(await this.callApi(params, req, runtime), new $_model.ListLumaKnowledgeBasesResponse({}));
2643
3445
  }
2644
3446
 
2645
3447
  /**
2646
- * Queries all event buses.
3448
+ * Lists all knowledge bases bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
2647
3449
  *
2648
3450
  * @remarks
2649
- * You can call this API operation to query all event buses.
3451
+ * Lists all knowledge bases bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
2650
3452
  *
2651
- * @param request - ListEventBusesRequest
2652
- * @returns ListEventBusesResponse
3453
+ * @param request - ListLumaKnowledgeBasesRequest
3454
+ * @returns ListLumaKnowledgeBasesResponse
2653
3455
  */
2654
- async listEventBuses(request: $_model.ListEventBusesRequest): Promise<$_model.ListEventBusesResponse> {
3456
+ async listLumaKnowledgeBases(request: $_model.ListLumaKnowledgeBasesRequest): Promise<$_model.ListLumaKnowledgeBasesResponse> {
2655
3457
  let runtime = new $dara.RuntimeOptions({ });
2656
- return await this.listEventBusesWithOptions(request, runtime);
3458
+ return await this.listLumaKnowledgeBasesWithOptions(request, runtime);
2657
3459
  }
2658
3460
 
2659
3461
  /**
2660
- * Queries the list of EventHouse runtimes.
3462
+ * Lists all namespaces bound to a Luma Agent under a specified data catalog. Returns the complete set of bindings without pagination.
2661
3463
  *
2662
- * @param request - ListEventHouseRuntimesRequest
3464
+ * @remarks
3465
+ * Lists all namespaces bound to a Luma Agent under a specified data catalog. Returns the complete set of bindings without pagination.
3466
+ *
3467
+ * @param request - ListLumaNamespacesRequest
2663
3468
  * @param runtime - runtime options for this request RuntimeOptions
2664
- * @returns ListEventHouseRuntimesResponse
3469
+ * @returns ListLumaNamespacesResponse
2665
3470
  */
2666
- async listEventHouseRuntimesWithOptions(request: $_model.ListEventHouseRuntimesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListEventHouseRuntimesResponse> {
3471
+ async listLumaNamespacesWithOptions(request: $_model.ListLumaNamespacesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLumaNamespacesResponse> {
2667
3472
  request.validate();
2668
- let query = { };
2669
- if (!$dara.isNull(request.maxResults)) {
2670
- query["MaxResults"] = request.maxResults;
3473
+ let body : {[key: string ]: any} = { };
3474
+ if (!$dara.isNull(request.agentName)) {
3475
+ body["AgentName"] = request.agentName;
2671
3476
  }
2672
3477
 
2673
- if (!$dara.isNull(request.nextToken)) {
2674
- query["NextToken"] = request.nextToken;
3478
+ if (!$dara.isNull(request.catalog)) {
3479
+ body["Catalog"] = request.catalog;
2675
3480
  }
2676
3481
 
2677
3482
  let req = new $OpenApiUtil.OpenApiRequest({
2678
- query: OpenApiUtil.query(query),
3483
+ body: OpenApiUtil.parseToMap(body),
2679
3484
  });
2680
3485
  let params = new $OpenApiUtil.Params({
2681
- action: "ListEventHouseRuntimes",
3486
+ action: "ListLumaNamespaces",
2682
3487
  version: "2020-04-01",
2683
3488
  protocol: "HTTPS",
2684
3489
  pathname: "/",
@@ -2688,62 +3493,53 @@ export default class Client extends OpenApi {
2688
3493
  reqBodyType: "formData",
2689
3494
  bodyType: "json",
2690
3495
  });
2691
- return $dara.cast<$_model.ListEventHouseRuntimesResponse>(await this.callApi(params, req, runtime), new $_model.ListEventHouseRuntimesResponse({}));
3496
+ return $dara.cast<$_model.ListLumaNamespacesResponse>(await this.callApi(params, req, runtime), new $_model.ListLumaNamespacesResponse({}));
2692
3497
  }
2693
3498
 
2694
3499
  /**
2695
- * Queries the list of EventHouse runtimes.
3500
+ * Lists all namespaces bound to a Luma Agent under a specified data catalog. Returns the complete set of bindings without pagination.
2696
3501
  *
2697
- * @param request - ListEventHouseRuntimesRequest
2698
- * @returns ListEventHouseRuntimesResponse
3502
+ * @remarks
3503
+ * Lists all namespaces bound to a Luma Agent under a specified data catalog. Returns the complete set of bindings without pagination.
3504
+ *
3505
+ * @param request - ListLumaNamespacesRequest
3506
+ * @returns ListLumaNamespacesResponse
2699
3507
  */
2700
- async listEventHouseRuntimes(request: $_model.ListEventHouseRuntimesRequest): Promise<$_model.ListEventHouseRuntimesResponse> {
3508
+ async listLumaNamespaces(request: $_model.ListLumaNamespacesRequest): Promise<$_model.ListLumaNamespacesResponse> {
2701
3509
  let runtime = new $dara.RuntimeOptions({ });
2702
- return await this.listEventHouseRuntimesWithOptions(request, runtime);
3510
+ return await this.listLumaNamespacesWithOptions(request, runtime);
2703
3511
  }
2704
3512
 
2705
3513
  /**
2706
- * Queries event streams.
3514
+ * Lists all event tables bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
2707
3515
  *
2708
3516
  * @remarks
2709
- * Queries event streams.
3517
+ * Lists all event tables bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
2710
3518
  *
2711
- * @param request - ListEventStreamingsRequest
3519
+ * @param request - ListLumaTablesRequest
2712
3520
  * @param runtime - runtime options for this request RuntimeOptions
2713
- * @returns ListEventStreamingsResponse
3521
+ * @returns ListLumaTablesResponse
2714
3522
  */
2715
- async listEventStreamingsWithOptions(request: $_model.ListEventStreamingsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListEventStreamingsResponse> {
3523
+ async listLumaTablesWithOptions(request: $_model.ListLumaTablesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLumaTablesResponse> {
2716
3524
  request.validate();
2717
3525
  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;
2724
- }
2725
-
2726
- if (!$dara.isNull(request.nextToken)) {
2727
- body["NextToken"] = request.nextToken;
2728
- }
2729
-
2730
- if (!$dara.isNull(request.sinkArn)) {
2731
- body["SinkArn"] = request.sinkArn;
3526
+ if (!$dara.isNull(request.agentName)) {
3527
+ body["AgentName"] = request.agentName;
2732
3528
  }
2733
3529
 
2734
- if (!$dara.isNull(request.sourceArn)) {
2735
- body["SourceArn"] = request.sourceArn;
3530
+ if (!$dara.isNull(request.catalog)) {
3531
+ body["Catalog"] = request.catalog;
2736
3532
  }
2737
3533
 
2738
- if (!$dara.isNull(request.tags)) {
2739
- body["Tags"] = request.tags;
3534
+ if (!$dara.isNull(request.namespace)) {
3535
+ body["Namespace"] = request.namespace;
2740
3536
  }
2741
3537
 
2742
3538
  let req = new $OpenApiUtil.OpenApiRequest({
2743
3539
  body: OpenApiUtil.parseToMap(body),
2744
3540
  });
2745
3541
  let params = new $OpenApiUtil.Params({
2746
- action: "ListEventStreamings",
3542
+ action: "ListLumaTables",
2747
3543
  version: "2020-04-01",
2748
3544
  protocol: "HTTPS",
2749
3545
  pathname: "/",
@@ -2753,21 +3549,21 @@ export default class Client extends OpenApi {
2753
3549
  reqBodyType: "formData",
2754
3550
  bodyType: "json",
2755
3551
  });
2756
- return $dara.cast<$_model.ListEventStreamingsResponse>(await this.callApi(params, req, runtime), new $_model.ListEventStreamingsResponse({}));
3552
+ return $dara.cast<$_model.ListLumaTablesResponse>(await this.callApi(params, req, runtime), new $_model.ListLumaTablesResponse({}));
2757
3553
  }
2758
3554
 
2759
3555
  /**
2760
- * Queries event streams.
3556
+ * Lists all event tables bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
2761
3557
  *
2762
3558
  * @remarks
2763
- * Queries event streams.
3559
+ * Lists all event tables bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
2764
3560
  *
2765
- * @param request - ListEventStreamingsRequest
2766
- * @returns ListEventStreamingsResponse
3561
+ * @param request - ListLumaTablesRequest
3562
+ * @returns ListLumaTablesResponse
2767
3563
  */
2768
- async listEventStreamings(request: $_model.ListEventStreamingsRequest): Promise<$_model.ListEventStreamingsResponse> {
3564
+ async listLumaTables(request: $_model.ListLumaTablesRequest): Promise<$_model.ListLumaTablesResponse> {
2769
3565
  let runtime = new $dara.RuntimeOptions({ });
2770
- return await this.listEventStreamingsWithOptions(request, runtime);
3566
+ return await this.listLumaTablesWithOptions(request, runtime);
2771
3567
  }
2772
3568
 
2773
3569
  /**
@@ -3101,7 +3897,7 @@ export default class Client extends OpenApi {
3101
3897
  }
3102
3898
 
3103
3899
  /**
3104
- * Polls for natural language query results.
3900
+ * Polls for the result of a natural language query.
3105
3901
  *
3106
3902
  * @param request - PollAskResultRequest
3107
3903
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3136,7 +3932,7 @@ export default class Client extends OpenApi {
3136
3932
  }
3137
3933
 
3138
3934
  /**
3139
- * Polls for natural language query results.
3935
+ * Polls for the result of a natural language query.
3140
3936
  *
3141
3937
  * @param request - PollAskResultRequest
3142
3938
  * @returns PollAskResultResponse
@@ -3530,6 +4326,62 @@ export default class Client extends OpenApi {
3530
4326
  return await this.queryEventTracesWithOptions(request, runtime);
3531
4327
  }
3532
4328
 
4329
+ /**
4330
+ * 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.
4331
+ *
4332
+ * @remarks
4333
+ * 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.
4334
+ *
4335
+ * @param request - QueryLumaWithSQLRequest
4336
+ * @param runtime - runtime options for this request RuntimeOptions
4337
+ * @returns QueryLumaWithSQLResponse
4338
+ */
4339
+ async queryLumaWithSQLWithOptions(request: $_model.QueryLumaWithSQLRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryLumaWithSQLResponse> {
4340
+ request.validate();
4341
+ let body : {[key: string ]: any} = { };
4342
+ if (!$dara.isNull(request.agentName)) {
4343
+ body["AgentName"] = request.agentName;
4344
+ }
4345
+
4346
+ if (!$dara.isNull(request.maxRows)) {
4347
+ body["MaxRows"] = request.maxRows;
4348
+ }
4349
+
4350
+ if (!$dara.isNull(request.sql)) {
4351
+ body["Sql"] = request.sql;
4352
+ }
4353
+
4354
+ let req = new $OpenApiUtil.OpenApiRequest({
4355
+ body: OpenApiUtil.parseToMap(body),
4356
+ });
4357
+ let params = new $OpenApiUtil.Params({
4358
+ action: "QueryLumaWithSQL",
4359
+ version: "2020-04-01",
4360
+ protocol: "HTTPS",
4361
+ pathname: "/",
4362
+ method: "POST",
4363
+ authType: "AK",
4364
+ style: "RPC",
4365
+ reqBodyType: "formData",
4366
+ bodyType: "json",
4367
+ });
4368
+ return $dara.cast<$_model.QueryLumaWithSQLResponse>(await this.callApi(params, req, runtime), new $_model.QueryLumaWithSQLResponse({}));
4369
+ }
4370
+
4371
+ /**
4372
+ * 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.
4373
+ *
4374
+ * @remarks
4375
+ * 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.
4376
+ *
4377
+ * @param request - QueryLumaWithSQLRequest
4378
+ * @returns QueryLumaWithSQLResponse
4379
+ */
4380
+ async queryLumaWithSQL(request: $_model.QueryLumaWithSQLRequest): Promise<$_model.QueryLumaWithSQLResponse> {
4381
+ let runtime = new $dara.RuntimeOptions({ });
4382
+ return await this.queryLumaWithSQLWithOptions(request, runtime);
4383
+ }
4384
+
3533
4385
  /**
3534
4386
  * Queries event traces by event ID.
3535
4387
  *
@@ -3742,6 +4594,86 @@ export default class Client extends OpenApi {
3742
4594
  return await this.saveAgentDataSemanticsWithOptions(request, runtime);
3743
4595
  }
3744
4596
 
4597
+ /**
4598
+ * Retrieves content from a knowledge base bound to a Luma Agent and returns relevant text chunks along with their relevance scores.
4599
+ *
4600
+ * @remarks
4601
+ * Retrieves content from a knowledge base bound to a Luma Agent and returns relevant text chunks along with their relevance scores.
4602
+ *
4603
+ * @param request - SearchLumaKnowledgeBaseRequest
4604
+ * @param runtime - runtime options for this request RuntimeOptions
4605
+ * @returns SearchLumaKnowledgeBaseResponse
4606
+ */
4607
+ async searchLumaKnowledgeBaseWithOptions(request: $_model.SearchLumaKnowledgeBaseRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SearchLumaKnowledgeBaseResponse> {
4608
+ request.validate();
4609
+ let body : {[key: string ]: any} = { };
4610
+ if (!$dara.isNull(request.agentName)) {
4611
+ body["AgentName"] = request.agentName;
4612
+ }
4613
+
4614
+ if (!$dara.isNull(request.catalog)) {
4615
+ body["Catalog"] = request.catalog;
4616
+ }
4617
+
4618
+ if (!$dara.isNull(request.knowledgeBaseName)) {
4619
+ body["KnowledgeBaseName"] = request.knowledgeBaseName;
4620
+ }
4621
+
4622
+ if (!$dara.isNull(request.metadataFilter)) {
4623
+ body["MetadataFilter"] = request.metadataFilter;
4624
+ }
4625
+
4626
+ if (!$dara.isNull(request.mode)) {
4627
+ body["Mode"] = request.mode;
4628
+ }
4629
+
4630
+ if (!$dara.isNull(request.namespace)) {
4631
+ body["Namespace"] = request.namespace;
4632
+ }
4633
+
4634
+ if (!$dara.isNull(request.query)) {
4635
+ body["Query"] = request.query;
4636
+ }
4637
+
4638
+ if (!$dara.isNull(request.rerank)) {
4639
+ body["Rerank"] = request.rerank;
4640
+ }
4641
+
4642
+ if (!$dara.isNull(request.topK)) {
4643
+ body["TopK"] = request.topK;
4644
+ }
4645
+
4646
+ let req = new $OpenApiUtil.OpenApiRequest({
4647
+ body: OpenApiUtil.parseToMap(body),
4648
+ });
4649
+ let params = new $OpenApiUtil.Params({
4650
+ action: "SearchLumaKnowledgeBase",
4651
+ version: "2020-04-01",
4652
+ protocol: "HTTPS",
4653
+ pathname: "/",
4654
+ method: "POST",
4655
+ authType: "AK",
4656
+ style: "RPC",
4657
+ reqBodyType: "formData",
4658
+ bodyType: "json",
4659
+ });
4660
+ return $dara.cast<$_model.SearchLumaKnowledgeBaseResponse>(await this.callApi(params, req, runtime), new $_model.SearchLumaKnowledgeBaseResponse({}));
4661
+ }
4662
+
4663
+ /**
4664
+ * Retrieves content from a knowledge base bound to a Luma Agent and returns relevant text chunks along with their relevance scores.
4665
+ *
4666
+ * @remarks
4667
+ * Retrieves content from a knowledge base bound to a Luma Agent and returns relevant text chunks along with their relevance scores.
4668
+ *
4669
+ * @param request - SearchLumaKnowledgeBaseRequest
4670
+ * @returns SearchLumaKnowledgeBaseResponse
4671
+ */
4672
+ async searchLumaKnowledgeBase(request: $_model.SearchLumaKnowledgeBaseRequest): Promise<$_model.SearchLumaKnowledgeBaseResponse> {
4673
+ let runtime = new $dara.RuntimeOptions({ });
4674
+ return await this.searchLumaKnowledgeBaseWithOptions(request, runtime);
4675
+ }
4676
+
3745
4677
  /**
3746
4678
  * Enables a created or disabled event stream.
3747
4679
  *