@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/dist/client.js CHANGED
@@ -90,7 +90,7 @@ class Client extends openapi_core_1.default {
90
90
  return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
91
91
  }
92
92
  /**
93
- * Queries data by using natural language.
93
+ * Queries data using natural language.
94
94
  *
95
95
  * @param request - AskLumaRequest
96
96
  * @param runtime - runtime options for this request RuntimeOptions
@@ -128,7 +128,7 @@ class Client extends openapi_core_1.default {
128
128
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.AskLumaResponse({}));
129
129
  }
130
130
  /**
131
- * Queries data by using natural language.
131
+ * Queries data using natural language.
132
132
  *
133
133
  * @param request - AskLumaRequest
134
134
  * @returns AskLumaResponse
@@ -1194,7 +1194,7 @@ class Client extends openapi_core_1.default {
1194
1194
  return await this.deleteEventStreamingWithOptions(request, runtime);
1195
1195
  }
1196
1196
  /**
1197
- * Delete Namespace
1197
+ * Deletes a namespace.
1198
1198
  *
1199
1199
  * @param request - DeleteNamespaceRequest
1200
1200
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1231,7 +1231,7 @@ class Client extends openapi_core_1.default {
1231
1231
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteNamespaceResponse({}));
1232
1232
  }
1233
1233
  /**
1234
- * Delete Namespace
1234
+ * Deletes a namespace.
1235
1235
  *
1236
1236
  * @param request - DeleteNamespaceRequest
1237
1237
  * @returns DeleteNamespaceResponse
@@ -2015,31 +2015,89 @@ class Client extends openapi_core_1.default {
2015
2015
  return await this.getGenerateAgentDataSemanticsProgressWithOptions(request, runtime);
2016
2016
  }
2017
2017
  /**
2018
- * Get namespace
2018
+ * 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.
2019
2019
  *
2020
- * @param request - GetNamespaceRequest
2020
+ * @remarks
2021
+ * 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.
2022
+ *
2023
+ * @param request - GetLumaCatalogRequest
2021
2024
  * @param runtime - runtime options for this request RuntimeOptions
2022
- * @returns GetNamespaceResponse
2025
+ * @returns GetLumaCatalogResponse
2023
2026
  */
2024
- async getNamespaceWithOptions(request, runtime) {
2027
+ async getLumaCatalogWithOptions(request, runtime) {
2025
2028
  request.validate();
2026
- let query = {};
2027
- if (!$dara.isNull(request.catalog)) {
2028
- query["Catalog"] = request.catalog;
2029
+ let body = {};
2030
+ if (!$dara.isNull(request.agentName)) {
2031
+ body["AgentName"] = request.agentName;
2029
2032
  }
2030
2033
  if (!$dara.isNull(request.name)) {
2031
- query["Name"] = request.name;
2034
+ body["Name"] = request.name;
2032
2035
  }
2036
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2037
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2038
+ });
2039
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2040
+ action: "GetLumaCatalog",
2041
+ version: "2020-04-01",
2042
+ protocol: "HTTPS",
2043
+ pathname: "/",
2044
+ method: "POST",
2045
+ authType: "AK",
2046
+ style: "RPC",
2047
+ reqBodyType: "formData",
2048
+ bodyType: "json",
2049
+ });
2050
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLumaCatalogResponse({}));
2051
+ }
2052
+ /**
2053
+ * 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.
2054
+ *
2055
+ * @remarks
2056
+ * 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.
2057
+ *
2058
+ * @param request - GetLumaCatalogRequest
2059
+ * @returns GetLumaCatalogResponse
2060
+ */
2061
+ async getLumaCatalog(request) {
2062
+ let runtime = new $dara.RuntimeOptions({});
2063
+ return await this.getLumaCatalogWithOptions(request, runtime);
2064
+ }
2065
+ /**
2066
+ * Retrieves the full content of a specified text chunk from a knowledge base bound to a Luma Agent.
2067
+ *
2068
+ * @remarks
2069
+ * Retrieves the full content of a specified text chunk from a knowledge base bound to a Luma Agent.
2070
+ *
2071
+ * @param request - GetLumaChunkRequest
2072
+ * @param runtime - runtime options for this request RuntimeOptions
2073
+ * @returns GetLumaChunkResponse
2074
+ */
2075
+ async getLumaChunkWithOptions(request, runtime) {
2076
+ request.validate();
2033
2077
  let body = {};
2034
- if (!$dara.isNull(request.clientToken)) {
2035
- body["ClientToken"] = request.clientToken;
2078
+ if (!$dara.isNull(request.agentName)) {
2079
+ body["AgentName"] = request.agentName;
2080
+ }
2081
+ if (!$dara.isNull(request.catalog)) {
2082
+ body["Catalog"] = request.catalog;
2083
+ }
2084
+ if (!$dara.isNull(request.chunkSeq)) {
2085
+ body["ChunkSeq"] = request.chunkSeq;
2086
+ }
2087
+ if (!$dara.isNull(request.documentId)) {
2088
+ body["DocumentId"] = request.documentId;
2089
+ }
2090
+ if (!$dara.isNull(request.knowledgeBaseName)) {
2091
+ body["KnowledgeBaseName"] = request.knowledgeBaseName;
2092
+ }
2093
+ if (!$dara.isNull(request.namespace)) {
2094
+ body["Namespace"] = request.namespace;
2036
2095
  }
2037
2096
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2038
- query: openapi_core_2.OpenApiUtil.query(query),
2039
2097
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
2040
2098
  });
2041
2099
  let params = new openapi_core_2.$OpenApiUtil.Params({
2042
- action: "GetNamespace",
2100
+ action: "GetLumaChunk",
2043
2101
  version: "2020-04-01",
2044
2102
  protocol: "HTTPS",
2045
2103
  pathname: "/",
@@ -2049,42 +2107,54 @@ class Client extends openapi_core_1.default {
2049
2107
  reqBodyType: "formData",
2050
2108
  bodyType: "json",
2051
2109
  });
2052
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetNamespaceResponse({}));
2110
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLumaChunkResponse({}));
2053
2111
  }
2054
2112
  /**
2055
- * Get namespace
2113
+ * Retrieves the full content of a specified text chunk from a knowledge base bound to a Luma Agent.
2056
2114
  *
2057
- * @param request - GetNamespaceRequest
2058
- * @returns GetNamespaceResponse
2115
+ * @remarks
2116
+ * Retrieves the full content of a specified text chunk from a knowledge base bound to a Luma Agent.
2117
+ *
2118
+ * @param request - GetLumaChunkRequest
2119
+ * @returns GetLumaChunkResponse
2059
2120
  */
2060
- async getNamespace(request) {
2121
+ async getLumaChunk(request) {
2061
2122
  let runtime = new $dara.RuntimeOptions({});
2062
- return await this.getNamespaceWithOptions(request, runtime);
2123
+ return await this.getLumaChunkWithOptions(request, runtime);
2063
2124
  }
2064
2125
  /**
2065
- * Retrieves the details of an event rule.
2126
+ * Retrieves the details of a specified document in the knowledge base bound to a Luma Agent.
2066
2127
  *
2067
2128
  * @remarks
2068
- * Gets the details of an event rule.
2129
+ * Retrieves the details of a specified document in the knowledge base bound to a Luma Agent.
2069
2130
  *
2070
- * @param request - GetRuleRequest
2131
+ * @param request - GetLumaDocumentRequest
2071
2132
  * @param runtime - runtime options for this request RuntimeOptions
2072
- * @returns GetRuleResponse
2133
+ * @returns GetLumaDocumentResponse
2073
2134
  */
2074
- async getRuleWithOptions(request, runtime) {
2135
+ async getLumaDocumentWithOptions(request, runtime) {
2075
2136
  request.validate();
2076
- let query = {};
2077
- if (!$dara.isNull(request.eventBusName)) {
2078
- query["EventBusName"] = request.eventBusName;
2137
+ let body = {};
2138
+ if (!$dara.isNull(request.agentName)) {
2139
+ body["AgentName"] = request.agentName;
2079
2140
  }
2080
- if (!$dara.isNull(request.ruleName)) {
2081
- query["RuleName"] = request.ruleName;
2141
+ if (!$dara.isNull(request.catalog)) {
2142
+ body["Catalog"] = request.catalog;
2143
+ }
2144
+ if (!$dara.isNull(request.documentId)) {
2145
+ body["DocumentId"] = request.documentId;
2146
+ }
2147
+ if (!$dara.isNull(request.knowledgeBaseName)) {
2148
+ body["KnowledgeBaseName"] = request.knowledgeBaseName;
2149
+ }
2150
+ if (!$dara.isNull(request.namespace)) {
2151
+ body["Namespace"] = request.namespace;
2082
2152
  }
2083
2153
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2084
- query: openapi_core_2.OpenApiUtil.query(query),
2154
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2085
2155
  });
2086
2156
  let params = new openapi_core_2.$OpenApiUtil.Params({
2087
- action: "GetRule",
2157
+ action: "GetLumaDocument",
2088
2158
  version: "2020-04-01",
2089
2159
  protocol: "HTTPS",
2090
2160
  pathname: "/",
@@ -2094,50 +2164,111 @@ class Client extends openapi_core_1.default {
2094
2164
  reqBodyType: "formData",
2095
2165
  bodyType: "json",
2096
2166
  });
2097
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetRuleResponse({}));
2167
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLumaDocumentResponse({}));
2098
2168
  }
2099
2169
  /**
2100
- * Retrieves the details of an event rule.
2170
+ * Retrieves the details of a specified document in the knowledge base bound to a Luma Agent.
2101
2171
  *
2102
2172
  * @remarks
2103
- * Gets the details of an event rule.
2173
+ * Retrieves the details of a specified document in the knowledge base bound to a Luma Agent.
2104
2174
  *
2105
- * @param request - GetRuleRequest
2106
- * @returns GetRuleResponse
2175
+ * @param request - GetLumaDocumentRequest
2176
+ * @returns GetLumaDocumentResponse
2107
2177
  */
2108
- async getRule(request) {
2178
+ async getLumaDocument(request) {
2109
2179
  let runtime = new $dara.RuntimeOptions({});
2110
- return await this.getRuleWithOptions(request, runtime);
2180
+ return await this.getLumaDocumentWithOptions(request, runtime);
2111
2181
  }
2112
2182
  /**
2113
- * Get Table
2183
+ * 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.
2114
2184
  *
2115
- * @param request - GetTableRequest
2185
+ * @remarks
2186
+ * 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.
2187
+ *
2188
+ * @param request - GetLumaDocumentDownloadUrlRequest
2116
2189
  * @param runtime - runtime options for this request RuntimeOptions
2117
- * @returns GetTableResponse
2190
+ * @returns GetLumaDocumentDownloadUrlResponse
2118
2191
  */
2119
- async getTableWithOptions(request, runtime) {
2192
+ async getLumaDocumentDownloadUrlWithOptions(request, runtime) {
2120
2193
  request.validate();
2121
- let query = {};
2194
+ let body = {};
2195
+ if (!$dara.isNull(request.agentName)) {
2196
+ body["AgentName"] = request.agentName;
2197
+ }
2122
2198
  if (!$dara.isNull(request.catalog)) {
2123
- query["Catalog"] = request.catalog;
2199
+ body["Catalog"] = request.catalog;
2124
2200
  }
2125
- if (!$dara.isNull(request.name)) {
2126
- query["Name"] = request.name;
2201
+ if (!$dara.isNull(request.documentId)) {
2202
+ body["DocumentId"] = request.documentId;
2203
+ }
2204
+ if (!$dara.isNull(request.knowledgeBaseName)) {
2205
+ body["KnowledgeBaseName"] = request.knowledgeBaseName;
2127
2206
  }
2128
2207
  if (!$dara.isNull(request.namespace)) {
2129
- query["Namespace"] = request.namespace;
2208
+ body["Namespace"] = request.namespace;
2209
+ }
2210
+ if (!$dara.isNull(request.networkType)) {
2211
+ body["NetworkType"] = request.networkType;
2130
2212
  }
2213
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2214
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2215
+ });
2216
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2217
+ action: "GetLumaDocumentDownloadUrl",
2218
+ version: "2020-04-01",
2219
+ protocol: "HTTPS",
2220
+ pathname: "/",
2221
+ method: "POST",
2222
+ authType: "AK",
2223
+ style: "RPC",
2224
+ reqBodyType: "formData",
2225
+ bodyType: "json",
2226
+ });
2227
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLumaDocumentDownloadUrlResponse({}));
2228
+ }
2229
+ /**
2230
+ * 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.
2231
+ *
2232
+ * @remarks
2233
+ * 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.
2234
+ *
2235
+ * @param request - GetLumaDocumentDownloadUrlRequest
2236
+ * @returns GetLumaDocumentDownloadUrlResponse
2237
+ */
2238
+ async getLumaDocumentDownloadUrl(request) {
2239
+ let runtime = new $dara.RuntimeOptions({});
2240
+ return await this.getLumaDocumentDownloadUrlWithOptions(request, runtime);
2241
+ }
2242
+ /**
2243
+ * Retrieves the details of a specified knowledge base bound to a Luma Agent, including the vector model, chunking configuration, and retrieval configuration.
2244
+ *
2245
+ * @remarks
2246
+ * Retrieves the details of a specified knowledge base bound to a Luma Agent, including the vector model, chunking configuration, and retrieval configuration.
2247
+ *
2248
+ * @param request - GetLumaKnowledgeBaseRequest
2249
+ * @param runtime - runtime options for this request RuntimeOptions
2250
+ * @returns GetLumaKnowledgeBaseResponse
2251
+ */
2252
+ async getLumaKnowledgeBaseWithOptions(request, runtime) {
2253
+ request.validate();
2131
2254
  let body = {};
2132
- if (!$dara.isNull(request.clientToken)) {
2133
- body["ClientToken"] = request.clientToken;
2255
+ if (!$dara.isNull(request.agentName)) {
2256
+ body["AgentName"] = request.agentName;
2257
+ }
2258
+ if (!$dara.isNull(request.catalog)) {
2259
+ body["Catalog"] = request.catalog;
2260
+ }
2261
+ if (!$dara.isNull(request.knowledgeBaseName)) {
2262
+ body["KnowledgeBaseName"] = request.knowledgeBaseName;
2263
+ }
2264
+ if (!$dara.isNull(request.namespace)) {
2265
+ body["Namespace"] = request.namespace;
2134
2266
  }
2135
2267
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2136
- query: openapi_core_2.OpenApiUtil.query(query),
2137
2268
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
2138
2269
  });
2139
2270
  let params = new openapi_core_2.$OpenApiUtil.Params({
2140
- action: "GetTable",
2271
+ action: "GetLumaKnowledgeBase",
2141
2272
  version: "2020-04-01",
2142
2273
  protocol: "HTTPS",
2143
2274
  pathname: "/",
@@ -2147,42 +2278,48 @@ class Client extends openapi_core_1.default {
2147
2278
  reqBodyType: "formData",
2148
2279
  bodyType: "json",
2149
2280
  });
2150
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetTableResponse({}));
2281
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLumaKnowledgeBaseResponse({}));
2151
2282
  }
2152
2283
  /**
2153
- * Get Table
2284
+ * Retrieves the details of a specified knowledge base bound to a Luma Agent, including the vector model, chunking configuration, and retrieval configuration.
2154
2285
  *
2155
- * @param request - GetTableRequest
2156
- * @returns GetTableResponse
2286
+ * @remarks
2287
+ * Retrieves the details of a specified knowledge base bound to a Luma Agent, including the vector model, chunking configuration, and retrieval configuration.
2288
+ *
2289
+ * @param request - GetLumaKnowledgeBaseRequest
2290
+ * @returns GetLumaKnowledgeBaseResponse
2157
2291
  */
2158
- async getTable(request) {
2292
+ async getLumaKnowledgeBase(request) {
2159
2293
  let runtime = new $dara.RuntimeOptions({});
2160
- return await this.getTableWithOptions(request, runtime);
2294
+ return await this.getLumaKnowledgeBaseWithOptions(request, runtime);
2161
2295
  }
2162
2296
  /**
2163
- * Retrieves a list of custom agents.
2297
+ * Retrieves the details of a specified namespace bound to a Luma Agent. Only namespaces that are already bound to the Agent can be queried.
2164
2298
  *
2165
- * @param request - ListAgentsRequest
2299
+ * @remarks
2300
+ * Retrieves the details of a specified namespace bound to a Luma Agent. Only namespaces that are already bound to the Agent can be queried.
2301
+ *
2302
+ * @param request - GetLumaNamespaceRequest
2166
2303
  * @param runtime - runtime options for this request RuntimeOptions
2167
- * @returns ListAgentsResponse
2304
+ * @returns GetLumaNamespaceResponse
2168
2305
  */
2169
- async listAgentsWithOptions(request, runtime) {
2306
+ async getLumaNamespaceWithOptions(request, runtime) {
2170
2307
  request.validate();
2171
2308
  let body = {};
2172
- if (!$dara.isNull(request.after)) {
2173
- body["After"] = request.after;
2309
+ if (!$dara.isNull(request.agentName)) {
2310
+ body["AgentName"] = request.agentName;
2174
2311
  }
2175
- if (!$dara.isNull(request.limit)) {
2176
- body["Limit"] = request.limit;
2312
+ if (!$dara.isNull(request.catalog)) {
2313
+ body["Catalog"] = request.catalog;
2177
2314
  }
2178
- if (!$dara.isNull(request.order)) {
2179
- body["Order"] = request.order;
2315
+ if (!$dara.isNull(request.name)) {
2316
+ body["Name"] = request.name;
2180
2317
  }
2181
2318
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2182
2319
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
2183
2320
  });
2184
2321
  let params = new openapi_core_2.$OpenApiUtil.Params({
2185
- action: "ListAgents",
2322
+ action: "GetLumaNamespace",
2186
2323
  version: "2020-04-01",
2187
2324
  protocol: "HTTPS",
2188
2325
  pathname: "/",
@@ -2192,31 +2329,51 @@ class Client extends openapi_core_1.default {
2192
2329
  reqBodyType: "formData",
2193
2330
  bodyType: "json",
2194
2331
  });
2195
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgentsResponse({}));
2332
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLumaNamespaceResponse({}));
2196
2333
  }
2197
2334
  /**
2198
- * Retrieves a list of custom agents.
2335
+ * Retrieves the details of a specified namespace bound to a Luma Agent. Only namespaces that are already bound to the Agent can be queried.
2199
2336
  *
2200
- * @param request - ListAgentsRequest
2201
- * @returns ListAgentsResponse
2337
+ * @remarks
2338
+ * Retrieves the details of a specified namespace bound to a Luma Agent. Only namespaces that are already bound to the Agent can be queried.
2339
+ *
2340
+ * @param request - GetLumaNamespaceRequest
2341
+ * @returns GetLumaNamespaceResponse
2202
2342
  */
2203
- async listAgents(request) {
2343
+ async getLumaNamespace(request) {
2204
2344
  let runtime = new $dara.RuntimeOptions({});
2205
- return await this.listAgentsWithOptions(request, runtime);
2345
+ return await this.getLumaNamespaceWithOptions(request, runtime);
2206
2346
  }
2207
2347
  /**
2208
- * Queries all Alibaba Cloud service event sources.
2348
+ * 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.
2209
2349
  *
2210
2350
  * @remarks
2211
- * You can call this API operation to query all Alibaba Cloud service event sources.
2351
+ * 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.
2212
2352
  *
2353
+ * @param request - GetLumaTableRequest
2213
2354
  * @param runtime - runtime options for this request RuntimeOptions
2214
- * @returns ListAliyunOfficialEventSourcesResponse
2355
+ * @returns GetLumaTableResponse
2215
2356
  */
2216
- async listAliyunOfficialEventSourcesWithOptions(runtime) {
2217
- let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({});
2357
+ async getLumaTableWithOptions(request, runtime) {
2358
+ request.validate();
2359
+ let body = {};
2360
+ if (!$dara.isNull(request.agentName)) {
2361
+ body["AgentName"] = request.agentName;
2362
+ }
2363
+ if (!$dara.isNull(request.catalog)) {
2364
+ body["Catalog"] = request.catalog;
2365
+ }
2366
+ if (!$dara.isNull(request.name)) {
2367
+ body["Name"] = request.name;
2368
+ }
2369
+ if (!$dara.isNull(request.namespace)) {
2370
+ body["Namespace"] = request.namespace;
2371
+ }
2372
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2373
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2374
+ });
2218
2375
  let params = new openapi_core_2.$OpenApiUtil.Params({
2219
- action: "ListAliyunOfficialEventSources",
2376
+ action: "GetLumaTable",
2220
2377
  version: "2020-04-01",
2221
2378
  protocol: "HTTPS",
2222
2379
  pathname: "/",
@@ -2226,49 +2383,570 @@ class Client extends openapi_core_1.default {
2226
2383
  reqBodyType: "formData",
2227
2384
  bodyType: "json",
2228
2385
  });
2229
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAliyunOfficialEventSourcesResponse({}));
2386
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLumaTableResponse({}));
2230
2387
  }
2231
2388
  /**
2232
- * Queries all Alibaba Cloud service event sources.
2389
+ * 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.
2233
2390
  *
2234
2391
  * @remarks
2235
- * You can call this API operation to query all Alibaba Cloud service event sources.
2236
- * @returns ListAliyunOfficialEventSourcesResponse
2392
+ * 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.
2393
+ *
2394
+ * @param request - GetLumaTableRequest
2395
+ * @returns GetLumaTableResponse
2237
2396
  */
2238
- async listAliyunOfficialEventSources() {
2397
+ async getLumaTable(request) {
2239
2398
  let runtime = new $dara.RuntimeOptions({});
2240
- return await this.listAliyunOfficialEventSourcesWithOptions(runtime);
2399
+ return await this.getLumaTableWithOptions(request, runtime);
2400
+ }
2401
+ /**
2402
+ * Get namespace
2403
+ *
2404
+ * @param request - GetNamespaceRequest
2405
+ * @param runtime - runtime options for this request RuntimeOptions
2406
+ * @returns GetNamespaceResponse
2407
+ */
2408
+ async getNamespaceWithOptions(request, runtime) {
2409
+ request.validate();
2410
+ let query = {};
2411
+ if (!$dara.isNull(request.catalog)) {
2412
+ query["Catalog"] = request.catalog;
2413
+ }
2414
+ if (!$dara.isNull(request.name)) {
2415
+ query["Name"] = request.name;
2416
+ }
2417
+ let body = {};
2418
+ if (!$dara.isNull(request.clientToken)) {
2419
+ body["ClientToken"] = request.clientToken;
2420
+ }
2421
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2422
+ query: openapi_core_2.OpenApiUtil.query(query),
2423
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2424
+ });
2425
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2426
+ action: "GetNamespace",
2427
+ version: "2020-04-01",
2428
+ protocol: "HTTPS",
2429
+ pathname: "/",
2430
+ method: "POST",
2431
+ authType: "AK",
2432
+ style: "RPC",
2433
+ reqBodyType: "formData",
2434
+ bodyType: "json",
2435
+ });
2436
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetNamespaceResponse({}));
2437
+ }
2438
+ /**
2439
+ * Get namespace
2440
+ *
2441
+ * @param request - GetNamespaceRequest
2442
+ * @returns GetNamespaceResponse
2443
+ */
2444
+ async getNamespace(request) {
2445
+ let runtime = new $dara.RuntimeOptions({});
2446
+ return await this.getNamespaceWithOptions(request, runtime);
2447
+ }
2448
+ /**
2449
+ * Retrieves the details of an event rule.
2450
+ *
2451
+ * @remarks
2452
+ * Gets the details of an event rule.
2453
+ *
2454
+ * @param request - GetRuleRequest
2455
+ * @param runtime - runtime options for this request RuntimeOptions
2456
+ * @returns GetRuleResponse
2457
+ */
2458
+ async getRuleWithOptions(request, runtime) {
2459
+ request.validate();
2460
+ let query = {};
2461
+ if (!$dara.isNull(request.eventBusName)) {
2462
+ query["EventBusName"] = request.eventBusName;
2463
+ }
2464
+ if (!$dara.isNull(request.ruleName)) {
2465
+ query["RuleName"] = request.ruleName;
2466
+ }
2467
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2468
+ query: openapi_core_2.OpenApiUtil.query(query),
2469
+ });
2470
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2471
+ action: "GetRule",
2472
+ version: "2020-04-01",
2473
+ protocol: "HTTPS",
2474
+ pathname: "/",
2475
+ method: "POST",
2476
+ authType: "AK",
2477
+ style: "RPC",
2478
+ reqBodyType: "formData",
2479
+ bodyType: "json",
2480
+ });
2481
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetRuleResponse({}));
2482
+ }
2483
+ /**
2484
+ * Retrieves the details of an event rule.
2485
+ *
2486
+ * @remarks
2487
+ * Gets the details of an event rule.
2488
+ *
2489
+ * @param request - GetRuleRequest
2490
+ * @returns GetRuleResponse
2491
+ */
2492
+ async getRule(request) {
2493
+ let runtime = new $dara.RuntimeOptions({});
2494
+ return await this.getRuleWithOptions(request, runtime);
2495
+ }
2496
+ /**
2497
+ * Get Table
2498
+ *
2499
+ * @param request - GetTableRequest
2500
+ * @param runtime - runtime options for this request RuntimeOptions
2501
+ * @returns GetTableResponse
2502
+ */
2503
+ async getTableWithOptions(request, runtime) {
2504
+ request.validate();
2505
+ let query = {};
2506
+ if (!$dara.isNull(request.catalog)) {
2507
+ query["Catalog"] = request.catalog;
2508
+ }
2509
+ if (!$dara.isNull(request.name)) {
2510
+ query["Name"] = request.name;
2511
+ }
2512
+ if (!$dara.isNull(request.namespace)) {
2513
+ query["Namespace"] = request.namespace;
2514
+ }
2515
+ let body = {};
2516
+ if (!$dara.isNull(request.clientToken)) {
2517
+ body["ClientToken"] = request.clientToken;
2518
+ }
2519
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2520
+ query: openapi_core_2.OpenApiUtil.query(query),
2521
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2522
+ });
2523
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2524
+ action: "GetTable",
2525
+ version: "2020-04-01",
2526
+ protocol: "HTTPS",
2527
+ pathname: "/",
2528
+ method: "POST",
2529
+ authType: "AK",
2530
+ style: "RPC",
2531
+ reqBodyType: "formData",
2532
+ bodyType: "json",
2533
+ });
2534
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetTableResponse({}));
2535
+ }
2536
+ /**
2537
+ * Get Table
2538
+ *
2539
+ * @param request - GetTableRequest
2540
+ * @returns GetTableResponse
2541
+ */
2542
+ async getTable(request) {
2543
+ let runtime = new $dara.RuntimeOptions({});
2544
+ return await this.getTableWithOptions(request, runtime);
2545
+ }
2546
+ /**
2547
+ * Retrieves a list of custom agents.
2548
+ *
2549
+ * @param request - ListAgentsRequest
2550
+ * @param runtime - runtime options for this request RuntimeOptions
2551
+ * @returns ListAgentsResponse
2552
+ */
2553
+ async listAgentsWithOptions(request, runtime) {
2554
+ request.validate();
2555
+ let body = {};
2556
+ if (!$dara.isNull(request.after)) {
2557
+ body["After"] = request.after;
2558
+ }
2559
+ if (!$dara.isNull(request.limit)) {
2560
+ body["Limit"] = request.limit;
2561
+ }
2562
+ if (!$dara.isNull(request.order)) {
2563
+ body["Order"] = request.order;
2564
+ }
2565
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2566
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2567
+ });
2568
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2569
+ action: "ListAgents",
2570
+ version: "2020-04-01",
2571
+ protocol: "HTTPS",
2572
+ pathname: "/",
2573
+ method: "POST",
2574
+ authType: "AK",
2575
+ style: "RPC",
2576
+ reqBodyType: "formData",
2577
+ bodyType: "json",
2578
+ });
2579
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgentsResponse({}));
2580
+ }
2581
+ /**
2582
+ * Retrieves a list of custom agents.
2583
+ *
2584
+ * @param request - ListAgentsRequest
2585
+ * @returns ListAgentsResponse
2586
+ */
2587
+ async listAgents(request) {
2588
+ let runtime = new $dara.RuntimeOptions({});
2589
+ return await this.listAgentsWithOptions(request, runtime);
2590
+ }
2591
+ /**
2592
+ * Queries all Alibaba Cloud service event sources.
2593
+ *
2594
+ * @remarks
2595
+ * You can call this API operation to query all Alibaba Cloud service event sources.
2596
+ *
2597
+ * @param runtime - runtime options for this request RuntimeOptions
2598
+ * @returns ListAliyunOfficialEventSourcesResponse
2599
+ */
2600
+ async listAliyunOfficialEventSourcesWithOptions(runtime) {
2601
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({});
2602
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2603
+ action: "ListAliyunOfficialEventSources",
2604
+ version: "2020-04-01",
2605
+ protocol: "HTTPS",
2606
+ pathname: "/",
2607
+ method: "POST",
2608
+ authType: "AK",
2609
+ style: "RPC",
2610
+ reqBodyType: "formData",
2611
+ bodyType: "json",
2612
+ });
2613
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAliyunOfficialEventSourcesResponse({}));
2614
+ }
2615
+ /**
2616
+ * Queries all Alibaba Cloud service event sources.
2617
+ *
2618
+ * @remarks
2619
+ * You can call this API operation to query all Alibaba Cloud service event sources.
2620
+ * @returns ListAliyunOfficialEventSourcesResponse
2621
+ */
2622
+ async listAliyunOfficialEventSources() {
2623
+ let runtime = new $dara.RuntimeOptions({});
2624
+ return await this.listAliyunOfficialEventSourcesWithOptions(runtime);
2625
+ }
2626
+ /**
2627
+ * Queries a list of API destinations.
2628
+ *
2629
+ * @remarks
2630
+ * You can use this API operation to query a list of API destinations.
2631
+ *
2632
+ * @param request - ListApiDestinationsRequest
2633
+ * @param runtime - runtime options for this request RuntimeOptions
2634
+ * @returns ListApiDestinationsResponse
2635
+ */
2636
+ async listApiDestinationsWithOptions(request, runtime) {
2637
+ request.validate();
2638
+ let query = {};
2639
+ if (!$dara.isNull(request.apiDestinationNamePrefix)) {
2640
+ query["ApiDestinationNamePrefix"] = request.apiDestinationNamePrefix;
2641
+ }
2642
+ if (!$dara.isNull(request.connectionName)) {
2643
+ query["ConnectionName"] = request.connectionName;
2644
+ }
2645
+ if (!$dara.isNull(request.maxResults)) {
2646
+ query["MaxResults"] = request.maxResults;
2647
+ }
2648
+ if (!$dara.isNull(request.nextToken)) {
2649
+ query["NextToken"] = request.nextToken;
2650
+ }
2651
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2652
+ query: openapi_core_2.OpenApiUtil.query(query),
2653
+ });
2654
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2655
+ action: "ListApiDestinations",
2656
+ version: "2020-04-01",
2657
+ protocol: "HTTPS",
2658
+ pathname: "/",
2659
+ method: "POST",
2660
+ authType: "AK",
2661
+ style: "RPC",
2662
+ reqBodyType: "formData",
2663
+ bodyType: "json",
2664
+ });
2665
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListApiDestinationsResponse({}));
2666
+ }
2667
+ /**
2668
+ * Queries a list of API destinations.
2669
+ *
2670
+ * @remarks
2671
+ * You can use this API operation to query a list of API destinations.
2672
+ *
2673
+ * @param request - ListApiDestinationsRequest
2674
+ * @returns ListApiDestinationsResponse
2675
+ */
2676
+ async listApiDestinations(request) {
2677
+ let runtime = new $dara.RuntimeOptions({});
2678
+ return await this.listApiDestinationsWithOptions(request, runtime);
2679
+ }
2680
+ /**
2681
+ * Queries the list of data catalogs.
2682
+ *
2683
+ * @param request - ListCatalogsRequest
2684
+ * @param runtime - runtime options for this request RuntimeOptions
2685
+ * @returns ListCatalogsResponse
2686
+ */
2687
+ async listCatalogsWithOptions(request, runtime) {
2688
+ request.validate();
2689
+ let query = {};
2690
+ if (!$dara.isNull(request.limit)) {
2691
+ query["Limit"] = request.limit;
2692
+ }
2693
+ if (!$dara.isNull(request.nextToken)) {
2694
+ query["NextToken"] = request.nextToken;
2695
+ }
2696
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2697
+ query: openapi_core_2.OpenApiUtil.query(query),
2698
+ });
2699
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2700
+ action: "ListCatalogs",
2701
+ version: "2020-04-01",
2702
+ protocol: "HTTPS",
2703
+ pathname: "/",
2704
+ method: "POST",
2705
+ authType: "AK",
2706
+ style: "RPC",
2707
+ reqBodyType: "formData",
2708
+ bodyType: "json",
2709
+ });
2710
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCatalogsResponse({}));
2711
+ }
2712
+ /**
2713
+ * Queries the list of data catalogs.
2714
+ *
2715
+ * @param request - ListCatalogsRequest
2716
+ * @returns ListCatalogsResponse
2717
+ */
2718
+ async listCatalogs(request) {
2719
+ let runtime = new $dara.RuntimeOptions({});
2720
+ return await this.listCatalogsWithOptions(request, runtime);
2721
+ }
2722
+ /**
2723
+ * Retrieves a list of connection configurations.
2724
+ *
2725
+ * @remarks
2726
+ * Retrieves a list of connection configurations.
2727
+ *
2728
+ * @param request - ListConnectionsRequest
2729
+ * @param runtime - runtime options for this request RuntimeOptions
2730
+ * @returns ListConnectionsResponse
2731
+ */
2732
+ async listConnectionsWithOptions(request, runtime) {
2733
+ request.validate();
2734
+ let body = {};
2735
+ if (!$dara.isNull(request.connectionNamePrefix)) {
2736
+ body["ConnectionNamePrefix"] = request.connectionNamePrefix;
2737
+ }
2738
+ if (!$dara.isNull(request.maxResults)) {
2739
+ body["MaxResults"] = request.maxResults;
2740
+ }
2741
+ if (!$dara.isNull(request.nextToken)) {
2742
+ body["NextToken"] = request.nextToken;
2743
+ }
2744
+ if (!$dara.isNull(request.type)) {
2745
+ body["Type"] = request.type;
2746
+ }
2747
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2748
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2749
+ });
2750
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2751
+ action: "ListConnections",
2752
+ version: "2020-04-01",
2753
+ protocol: "HTTPS",
2754
+ pathname: "/",
2755
+ method: "POST",
2756
+ authType: "AK",
2757
+ style: "RPC",
2758
+ reqBodyType: "formData",
2759
+ bodyType: "json",
2760
+ });
2761
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConnectionsResponse({}));
2762
+ }
2763
+ /**
2764
+ * Retrieves a list of connection configurations.
2765
+ *
2766
+ * @remarks
2767
+ * Retrieves a list of connection configurations.
2768
+ *
2769
+ * @param request - ListConnectionsRequest
2770
+ * @returns ListConnectionsResponse
2771
+ */
2772
+ async listConnections(request) {
2773
+ let runtime = new $dara.RuntimeOptions({});
2774
+ return await this.listConnectionsWithOptions(request, runtime);
2775
+ }
2776
+ /**
2777
+ * Queries all event buses.
2778
+ *
2779
+ * @remarks
2780
+ * You can call this API operation to query all event buses.
2781
+ *
2782
+ * @param request - ListEventBusesRequest
2783
+ * @param runtime - runtime options for this request RuntimeOptions
2784
+ * @returns ListEventBusesResponse
2785
+ */
2786
+ async listEventBusesWithOptions(request, runtime) {
2787
+ request.validate();
2788
+ let query = {};
2789
+ if (!$dara.isNull(request.limit)) {
2790
+ query["Limit"] = request.limit;
2791
+ }
2792
+ if (!$dara.isNull(request.namePrefix)) {
2793
+ query["NamePrefix"] = request.namePrefix;
2794
+ }
2795
+ if (!$dara.isNull(request.nextToken)) {
2796
+ query["NextToken"] = request.nextToken;
2797
+ }
2798
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2799
+ query: openapi_core_2.OpenApiUtil.query(query),
2800
+ });
2801
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2802
+ action: "ListEventBuses",
2803
+ version: "2020-04-01",
2804
+ protocol: "HTTPS",
2805
+ pathname: "/",
2806
+ method: "POST",
2807
+ authType: "AK",
2808
+ style: "RPC",
2809
+ reqBodyType: "formData",
2810
+ bodyType: "json",
2811
+ });
2812
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListEventBusesResponse({}));
2813
+ }
2814
+ /**
2815
+ * Queries all event buses.
2816
+ *
2817
+ * @remarks
2818
+ * You can call this API operation to query all event buses.
2819
+ *
2820
+ * @param request - ListEventBusesRequest
2821
+ * @returns ListEventBusesResponse
2822
+ */
2823
+ async listEventBuses(request) {
2824
+ let runtime = new $dara.RuntimeOptions({});
2825
+ return await this.listEventBusesWithOptions(request, runtime);
2826
+ }
2827
+ /**
2828
+ * Queries the list of EventHouse runtimes.
2829
+ *
2830
+ * @param request - ListEventHouseRuntimesRequest
2831
+ * @param runtime - runtime options for this request RuntimeOptions
2832
+ * @returns ListEventHouseRuntimesResponse
2833
+ */
2834
+ async listEventHouseRuntimesWithOptions(request, runtime) {
2835
+ request.validate();
2836
+ let query = {};
2837
+ if (!$dara.isNull(request.maxResults)) {
2838
+ query["MaxResults"] = request.maxResults;
2839
+ }
2840
+ if (!$dara.isNull(request.nextToken)) {
2841
+ query["NextToken"] = request.nextToken;
2842
+ }
2843
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2844
+ query: openapi_core_2.OpenApiUtil.query(query),
2845
+ });
2846
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2847
+ action: "ListEventHouseRuntimes",
2848
+ version: "2020-04-01",
2849
+ protocol: "HTTPS",
2850
+ pathname: "/",
2851
+ method: "POST",
2852
+ authType: "AK",
2853
+ style: "RPC",
2854
+ reqBodyType: "formData",
2855
+ bodyType: "json",
2856
+ });
2857
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListEventHouseRuntimesResponse({}));
2858
+ }
2859
+ /**
2860
+ * Queries the list of EventHouse runtimes.
2861
+ *
2862
+ * @param request - ListEventHouseRuntimesRequest
2863
+ * @returns ListEventHouseRuntimesResponse
2864
+ */
2865
+ async listEventHouseRuntimes(request) {
2866
+ let runtime = new $dara.RuntimeOptions({});
2867
+ return await this.listEventHouseRuntimesWithOptions(request, runtime);
2868
+ }
2869
+ /**
2870
+ * Queries event streams.
2871
+ *
2872
+ * @remarks
2873
+ * Queries event streams.
2874
+ *
2875
+ * @param request - ListEventStreamingsRequest
2876
+ * @param runtime - runtime options for this request RuntimeOptions
2877
+ * @returns ListEventStreamingsResponse
2878
+ */
2879
+ async listEventStreamingsWithOptions(request, runtime) {
2880
+ request.validate();
2881
+ let body = {};
2882
+ if (!$dara.isNull(request.limit)) {
2883
+ body["Limit"] = request.limit;
2884
+ }
2885
+ if (!$dara.isNull(request.namePrefix)) {
2886
+ body["NamePrefix"] = request.namePrefix;
2887
+ }
2888
+ if (!$dara.isNull(request.nextToken)) {
2889
+ body["NextToken"] = request.nextToken;
2890
+ }
2891
+ if (!$dara.isNull(request.sinkArn)) {
2892
+ body["SinkArn"] = request.sinkArn;
2893
+ }
2894
+ if (!$dara.isNull(request.sourceArn)) {
2895
+ body["SourceArn"] = request.sourceArn;
2896
+ }
2897
+ if (!$dara.isNull(request.tags)) {
2898
+ body["Tags"] = request.tags;
2899
+ }
2900
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2901
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2902
+ });
2903
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2904
+ action: "ListEventStreamings",
2905
+ version: "2020-04-01",
2906
+ protocol: "HTTPS",
2907
+ pathname: "/",
2908
+ method: "POST",
2909
+ authType: "AK",
2910
+ style: "RPC",
2911
+ reqBodyType: "formData",
2912
+ bodyType: "json",
2913
+ });
2914
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListEventStreamingsResponse({}));
2915
+ }
2916
+ /**
2917
+ * Queries event streams.
2918
+ *
2919
+ * @remarks
2920
+ * Queries event streams.
2921
+ *
2922
+ * @param request - ListEventStreamingsRequest
2923
+ * @returns ListEventStreamingsResponse
2924
+ */
2925
+ async listEventStreamings(request) {
2926
+ let runtime = new $dara.RuntimeOptions({});
2927
+ return await this.listEventStreamingsWithOptions(request, runtime);
2241
2928
  }
2242
2929
  /**
2243
- * Queries a list of API destinations.
2930
+ * Lists all data catalogs bound to a Luma Agent. Returns the complete set of bindings without pagination.
2244
2931
  *
2245
2932
  * @remarks
2246
- * You can use this API operation to query a list of API destinations.
2933
+ * Lists all data catalogs bound to a Luma Agent. Returns the complete set of bindings without pagination.
2247
2934
  *
2248
- * @param request - ListApiDestinationsRequest
2935
+ * @param request - ListLumaCatalogsRequest
2249
2936
  * @param runtime - runtime options for this request RuntimeOptions
2250
- * @returns ListApiDestinationsResponse
2937
+ * @returns ListLumaCatalogsResponse
2251
2938
  */
2252
- async listApiDestinationsWithOptions(request, runtime) {
2939
+ async listLumaCatalogsWithOptions(request, runtime) {
2253
2940
  request.validate();
2254
- let query = {};
2255
- if (!$dara.isNull(request.apiDestinationNamePrefix)) {
2256
- query["ApiDestinationNamePrefix"] = request.apiDestinationNamePrefix;
2257
- }
2258
- if (!$dara.isNull(request.connectionName)) {
2259
- query["ConnectionName"] = request.connectionName;
2260
- }
2261
- if (!$dara.isNull(request.maxResults)) {
2262
- query["MaxResults"] = request.maxResults;
2263
- }
2264
- if (!$dara.isNull(request.nextToken)) {
2265
- query["NextToken"] = request.nextToken;
2941
+ let body = {};
2942
+ if (!$dara.isNull(request.agentName)) {
2943
+ body["AgentName"] = request.agentName;
2266
2944
  }
2267
2945
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2268
- query: openapi_core_2.OpenApiUtil.query(query),
2946
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2269
2947
  });
2270
2948
  let params = new openapi_core_2.$OpenApiUtil.Params({
2271
- action: "ListApiDestinations",
2949
+ action: "ListLumaCatalogs",
2272
2950
  version: "2020-04-01",
2273
2951
  protocol: "HTTPS",
2274
2952
  pathname: "/",
@@ -2278,42 +2956,66 @@ class Client extends openapi_core_1.default {
2278
2956
  reqBodyType: "formData",
2279
2957
  bodyType: "json",
2280
2958
  });
2281
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListApiDestinationsResponse({}));
2959
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListLumaCatalogsResponse({}));
2282
2960
  }
2283
2961
  /**
2284
- * Queries a list of API destinations.
2962
+ * Lists all data catalogs bound to a Luma Agent. Returns the complete set of bindings without pagination.
2285
2963
  *
2286
2964
  * @remarks
2287
- * You can use this API operation to query a list of API destinations.
2965
+ * Lists all data catalogs bound to a Luma Agent. Returns the complete set of bindings without pagination.
2288
2966
  *
2289
- * @param request - ListApiDestinationsRequest
2290
- * @returns ListApiDestinationsResponse
2967
+ * @param request - ListLumaCatalogsRequest
2968
+ * @returns ListLumaCatalogsResponse
2291
2969
  */
2292
- async listApiDestinations(request) {
2970
+ async listLumaCatalogs(request) {
2293
2971
  let runtime = new $dara.RuntimeOptions({});
2294
- return await this.listApiDestinationsWithOptions(request, runtime);
2972
+ return await this.listLumaCatalogsWithOptions(request, runtime);
2295
2973
  }
2296
2974
  /**
2297
- * Queries the list of data catalogs.
2975
+ * Lists text chunks in a knowledge base bound to a Luma Agent, with support for filtering by document, keyword, and enabled status.
2298
2976
  *
2299
- * @param request - ListCatalogsRequest
2977
+ * @remarks
2978
+ * Lists text chunks in a knowledge base bound to a Luma Agent, with support for filtering by document, keyword, and enabled status.
2979
+ *
2980
+ * @param request - ListLumaChunksRequest
2300
2981
  * @param runtime - runtime options for this request RuntimeOptions
2301
- * @returns ListCatalogsResponse
2982
+ * @returns ListLumaChunksResponse
2302
2983
  */
2303
- async listCatalogsWithOptions(request, runtime) {
2984
+ async listLumaChunksWithOptions(request, runtime) {
2304
2985
  request.validate();
2305
- let query = {};
2306
- if (!$dara.isNull(request.limit)) {
2307
- query["Limit"] = request.limit;
2986
+ let body = {};
2987
+ if (!$dara.isNull(request.agentName)) {
2988
+ body["AgentName"] = request.agentName;
2989
+ }
2990
+ if (!$dara.isNull(request.catalog)) {
2991
+ body["Catalog"] = request.catalog;
2992
+ }
2993
+ if (!$dara.isNull(request.documentId)) {
2994
+ body["DocumentId"] = request.documentId;
2995
+ }
2996
+ if (!$dara.isNull(request.enabled)) {
2997
+ body["Enabled"] = request.enabled;
2998
+ }
2999
+ if (!$dara.isNull(request.keyword)) {
3000
+ body["Keyword"] = request.keyword;
3001
+ }
3002
+ if (!$dara.isNull(request.knowledgeBaseName)) {
3003
+ body["KnowledgeBaseName"] = request.knowledgeBaseName;
3004
+ }
3005
+ if (!$dara.isNull(request.maxResults)) {
3006
+ body["MaxResults"] = request.maxResults;
3007
+ }
3008
+ if (!$dara.isNull(request.namespace)) {
3009
+ body["Namespace"] = request.namespace;
2308
3010
  }
2309
3011
  if (!$dara.isNull(request.nextToken)) {
2310
- query["NextToken"] = request.nextToken;
3012
+ body["NextToken"] = request.nextToken;
2311
3013
  }
2312
3014
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2313
- query: openapi_core_2.OpenApiUtil.query(query),
3015
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2314
3016
  });
2315
3017
  let params = new openapi_core_2.$OpenApiUtil.Params({
2316
- action: "ListCatalogs",
3018
+ action: "ListLumaChunks",
2317
3019
  version: "2020-04-01",
2318
3020
  protocol: "HTTPS",
2319
3021
  pathname: "/",
@@ -2323,48 +3025,63 @@ class Client extends openapi_core_1.default {
2323
3025
  reqBodyType: "formData",
2324
3026
  bodyType: "json",
2325
3027
  });
2326
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCatalogsResponse({}));
3028
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListLumaChunksResponse({}));
2327
3029
  }
2328
3030
  /**
2329
- * Queries the list of data catalogs.
3031
+ * Lists text chunks in a knowledge base bound to a Luma Agent, with support for filtering by document, keyword, and enabled status.
2330
3032
  *
2331
- * @param request - ListCatalogsRequest
2332
- * @returns ListCatalogsResponse
3033
+ * @remarks
3034
+ * Lists text chunks in a knowledge base bound to a Luma Agent, with support for filtering by document, keyword, and enabled status.
3035
+ *
3036
+ * @param request - ListLumaChunksRequest
3037
+ * @returns ListLumaChunksResponse
2333
3038
  */
2334
- async listCatalogs(request) {
3039
+ async listLumaChunks(request) {
2335
3040
  let runtime = new $dara.RuntimeOptions({});
2336
- return await this.listCatalogsWithOptions(request, runtime);
3041
+ return await this.listLumaChunksWithOptions(request, runtime);
2337
3042
  }
2338
3043
  /**
2339
- * Retrieves a list of connection configurations.
3044
+ * Lists documents in a knowledge base bound to a Luma Agent, with support for filtering by file name prefix and processing status.
2340
3045
  *
2341
3046
  * @remarks
2342
- * Retrieves a list of connection configurations.
3047
+ * Lists documents in a knowledge base bound to a Luma Agent, with support for filtering by file name prefix and processing status.
2343
3048
  *
2344
- * @param request - ListConnectionsRequest
3049
+ * @param request - ListLumaDocumentsRequest
2345
3050
  * @param runtime - runtime options for this request RuntimeOptions
2346
- * @returns ListConnectionsResponse
3051
+ * @returns ListLumaDocumentsResponse
2347
3052
  */
2348
- async listConnectionsWithOptions(request, runtime) {
3053
+ async listLumaDocumentsWithOptions(request, runtime) {
2349
3054
  request.validate();
2350
3055
  let body = {};
2351
- if (!$dara.isNull(request.connectionNamePrefix)) {
2352
- body["ConnectionNamePrefix"] = request.connectionNamePrefix;
3056
+ if (!$dara.isNull(request.agentName)) {
3057
+ body["AgentName"] = request.agentName;
3058
+ }
3059
+ if (!$dara.isNull(request.catalog)) {
3060
+ body["Catalog"] = request.catalog;
3061
+ }
3062
+ if (!$dara.isNull(request.fileNamePrefix)) {
3063
+ body["FileNamePrefix"] = request.fileNamePrefix;
3064
+ }
3065
+ if (!$dara.isNull(request.knowledgeBaseName)) {
3066
+ body["KnowledgeBaseName"] = request.knowledgeBaseName;
2353
3067
  }
2354
3068
  if (!$dara.isNull(request.maxResults)) {
2355
3069
  body["MaxResults"] = request.maxResults;
2356
3070
  }
3071
+ if (!$dara.isNull(request.namespace)) {
3072
+ body["Namespace"] = request.namespace;
3073
+ }
2357
3074
  if (!$dara.isNull(request.nextToken)) {
2358
3075
  body["NextToken"] = request.nextToken;
2359
3076
  }
2360
- if (!$dara.isNull(request.type)) {
2361
- body["Type"] = request.type;
3077
+ if (!$dara.isNull(request.status)) {
3078
+ body["Status"] = request.status;
2362
3079
  }
2363
3080
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2364
3081
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
2365
3082
  });
2366
3083
  let params = new openapi_core_2.$OpenApiUtil.Params({
2367
- action: "ListConnections",
3084
+ action: "ListLumaDocuments",
2368
3085
  version: "2020-04-01",
2369
3086
  protocol: "HTTPS",
2370
3087
  pathname: "/",
@@ -2374,48 +3091,48 @@ class Client extends openapi_core_1.default {
2374
3091
  reqBodyType: "formData",
2375
3092
  bodyType: "json",
2376
3093
  });
2377
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConnectionsResponse({}));
3094
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListLumaDocumentsResponse({}));
2378
3095
  }
2379
3096
  /**
2380
- * Retrieves a list of connection configurations.
3097
+ * Lists documents in a knowledge base bound to a Luma Agent, with support for filtering by file name prefix and processing status.
2381
3098
  *
2382
3099
  * @remarks
2383
- * Retrieves a list of connection configurations.
3100
+ * Lists documents in a knowledge base bound to a Luma Agent, with support for filtering by file name prefix and processing status.
2384
3101
  *
2385
- * @param request - ListConnectionsRequest
2386
- * @returns ListConnectionsResponse
3102
+ * @param request - ListLumaDocumentsRequest
3103
+ * @returns ListLumaDocumentsResponse
2387
3104
  */
2388
- async listConnections(request) {
3105
+ async listLumaDocuments(request) {
2389
3106
  let runtime = new $dara.RuntimeOptions({});
2390
- return await this.listConnectionsWithOptions(request, runtime);
3107
+ return await this.listLumaDocumentsWithOptions(request, runtime);
2391
3108
  }
2392
3109
  /**
2393
- * Queries all event buses.
3110
+ * Lists all knowledge bases bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
2394
3111
  *
2395
3112
  * @remarks
2396
- * You can call this API operation to query all event buses.
3113
+ * Lists all knowledge bases bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
2397
3114
  *
2398
- * @param request - ListEventBusesRequest
3115
+ * @param request - ListLumaKnowledgeBasesRequest
2399
3116
  * @param runtime - runtime options for this request RuntimeOptions
2400
- * @returns ListEventBusesResponse
3117
+ * @returns ListLumaKnowledgeBasesResponse
2401
3118
  */
2402
- async listEventBusesWithOptions(request, runtime) {
3119
+ async listLumaKnowledgeBasesWithOptions(request, runtime) {
2403
3120
  request.validate();
2404
- let query = {};
2405
- if (!$dara.isNull(request.limit)) {
2406
- query["Limit"] = request.limit;
3121
+ let body = {};
3122
+ if (!$dara.isNull(request.agentName)) {
3123
+ body["AgentName"] = request.agentName;
2407
3124
  }
2408
- if (!$dara.isNull(request.namePrefix)) {
2409
- query["NamePrefix"] = request.namePrefix;
3125
+ if (!$dara.isNull(request.catalog)) {
3126
+ body["Catalog"] = request.catalog;
2410
3127
  }
2411
- if (!$dara.isNull(request.nextToken)) {
2412
- query["NextToken"] = request.nextToken;
3128
+ if (!$dara.isNull(request.namespace)) {
3129
+ body["Namespace"] = request.namespace;
2413
3130
  }
2414
3131
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2415
- query: openapi_core_2.OpenApiUtil.query(query),
3132
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2416
3133
  });
2417
3134
  let params = new openapi_core_2.$OpenApiUtil.Params({
2418
- action: "ListEventBuses",
3135
+ action: "ListLumaKnowledgeBases",
2419
3136
  version: "2020-04-01",
2420
3137
  protocol: "HTTPS",
2421
3138
  pathname: "/",
@@ -2425,42 +3142,45 @@ class Client extends openapi_core_1.default {
2425
3142
  reqBodyType: "formData",
2426
3143
  bodyType: "json",
2427
3144
  });
2428
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListEventBusesResponse({}));
3145
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListLumaKnowledgeBasesResponse({}));
2429
3146
  }
2430
3147
  /**
2431
- * Queries all event buses.
3148
+ * Lists all knowledge bases bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
2432
3149
  *
2433
3150
  * @remarks
2434
- * You can call this API operation to query all event buses.
3151
+ * Lists all knowledge bases bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
2435
3152
  *
2436
- * @param request - ListEventBusesRequest
2437
- * @returns ListEventBusesResponse
3153
+ * @param request - ListLumaKnowledgeBasesRequest
3154
+ * @returns ListLumaKnowledgeBasesResponse
2438
3155
  */
2439
- async listEventBuses(request) {
3156
+ async listLumaKnowledgeBases(request) {
2440
3157
  let runtime = new $dara.RuntimeOptions({});
2441
- return await this.listEventBusesWithOptions(request, runtime);
3158
+ return await this.listLumaKnowledgeBasesWithOptions(request, runtime);
2442
3159
  }
2443
3160
  /**
2444
- * Queries the list of EventHouse runtimes.
3161
+ * Lists all namespaces bound to a Luma Agent under a specified data catalog. Returns the complete set of bindings without pagination.
2445
3162
  *
2446
- * @param request - ListEventHouseRuntimesRequest
3163
+ * @remarks
3164
+ * Lists all namespaces bound to a Luma Agent under a specified data catalog. Returns the complete set of bindings without pagination.
3165
+ *
3166
+ * @param request - ListLumaNamespacesRequest
2447
3167
  * @param runtime - runtime options for this request RuntimeOptions
2448
- * @returns ListEventHouseRuntimesResponse
3168
+ * @returns ListLumaNamespacesResponse
2449
3169
  */
2450
- async listEventHouseRuntimesWithOptions(request, runtime) {
3170
+ async listLumaNamespacesWithOptions(request, runtime) {
2451
3171
  request.validate();
2452
- let query = {};
2453
- if (!$dara.isNull(request.maxResults)) {
2454
- query["MaxResults"] = request.maxResults;
3172
+ let body = {};
3173
+ if (!$dara.isNull(request.agentName)) {
3174
+ body["AgentName"] = request.agentName;
2455
3175
  }
2456
- if (!$dara.isNull(request.nextToken)) {
2457
- query["NextToken"] = request.nextToken;
3176
+ if (!$dara.isNull(request.catalog)) {
3177
+ body["Catalog"] = request.catalog;
2458
3178
  }
2459
3179
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2460
- query: openapi_core_2.OpenApiUtil.query(query),
3180
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2461
3181
  });
2462
3182
  let params = new openapi_core_2.$OpenApiUtil.Params({
2463
- action: "ListEventHouseRuntimes",
3183
+ action: "ListLumaNamespaces",
2464
3184
  version: "2020-04-01",
2465
3185
  protocol: "HTTPS",
2466
3186
  pathname: "/",
@@ -2470,54 +3190,48 @@ class Client extends openapi_core_1.default {
2470
3190
  reqBodyType: "formData",
2471
3191
  bodyType: "json",
2472
3192
  });
2473
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListEventHouseRuntimesResponse({}));
3193
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListLumaNamespacesResponse({}));
2474
3194
  }
2475
3195
  /**
2476
- * Queries the list of EventHouse runtimes.
3196
+ * Lists all namespaces bound to a Luma Agent under a specified data catalog. Returns the complete set of bindings without pagination.
2477
3197
  *
2478
- * @param request - ListEventHouseRuntimesRequest
2479
- * @returns ListEventHouseRuntimesResponse
3198
+ * @remarks
3199
+ * Lists all namespaces bound to a Luma Agent under a specified data catalog. Returns the complete set of bindings without pagination.
3200
+ *
3201
+ * @param request - ListLumaNamespacesRequest
3202
+ * @returns ListLumaNamespacesResponse
2480
3203
  */
2481
- async listEventHouseRuntimes(request) {
3204
+ async listLumaNamespaces(request) {
2482
3205
  let runtime = new $dara.RuntimeOptions({});
2483
- return await this.listEventHouseRuntimesWithOptions(request, runtime);
3206
+ return await this.listLumaNamespacesWithOptions(request, runtime);
2484
3207
  }
2485
3208
  /**
2486
- * Queries event streams.
3209
+ * Lists all event tables bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
2487
3210
  *
2488
3211
  * @remarks
2489
- * Queries event streams.
3212
+ * Lists all event tables bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
2490
3213
  *
2491
- * @param request - ListEventStreamingsRequest
3214
+ * @param request - ListLumaTablesRequest
2492
3215
  * @param runtime - runtime options for this request RuntimeOptions
2493
- * @returns ListEventStreamingsResponse
3216
+ * @returns ListLumaTablesResponse
2494
3217
  */
2495
- async listEventStreamingsWithOptions(request, runtime) {
3218
+ async listLumaTablesWithOptions(request, runtime) {
2496
3219
  request.validate();
2497
3220
  let body = {};
2498
- if (!$dara.isNull(request.limit)) {
2499
- body["Limit"] = request.limit;
2500
- }
2501
- if (!$dara.isNull(request.namePrefix)) {
2502
- body["NamePrefix"] = request.namePrefix;
2503
- }
2504
- if (!$dara.isNull(request.nextToken)) {
2505
- body["NextToken"] = request.nextToken;
2506
- }
2507
- if (!$dara.isNull(request.sinkArn)) {
2508
- body["SinkArn"] = request.sinkArn;
3221
+ if (!$dara.isNull(request.agentName)) {
3222
+ body["AgentName"] = request.agentName;
2509
3223
  }
2510
- if (!$dara.isNull(request.sourceArn)) {
2511
- body["SourceArn"] = request.sourceArn;
3224
+ if (!$dara.isNull(request.catalog)) {
3225
+ body["Catalog"] = request.catalog;
2512
3226
  }
2513
- if (!$dara.isNull(request.tags)) {
2514
- body["Tags"] = request.tags;
3227
+ if (!$dara.isNull(request.namespace)) {
3228
+ body["Namespace"] = request.namespace;
2515
3229
  }
2516
3230
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2517
3231
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
2518
3232
  });
2519
3233
  let params = new openapi_core_2.$OpenApiUtil.Params({
2520
- action: "ListEventStreamings",
3234
+ action: "ListLumaTables",
2521
3235
  version: "2020-04-01",
2522
3236
  protocol: "HTTPS",
2523
3237
  pathname: "/",
@@ -2527,20 +3241,20 @@ class Client extends openapi_core_1.default {
2527
3241
  reqBodyType: "formData",
2528
3242
  bodyType: "json",
2529
3243
  });
2530
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListEventStreamingsResponse({}));
3244
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListLumaTablesResponse({}));
2531
3245
  }
2532
3246
  /**
2533
- * Queries event streams.
3247
+ * Lists all event tables bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
2534
3248
  *
2535
3249
  * @remarks
2536
- * Queries event streams.
3250
+ * Lists all event tables bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
2537
3251
  *
2538
- * @param request - ListEventStreamingsRequest
2539
- * @returns ListEventStreamingsResponse
3252
+ * @param request - ListLumaTablesRequest
3253
+ * @returns ListLumaTablesResponse
2540
3254
  */
2541
- async listEventStreamings(request) {
3255
+ async listLumaTables(request) {
2542
3256
  let runtime = new $dara.RuntimeOptions({});
2543
- return await this.listEventStreamingsWithOptions(request, runtime);
3257
+ return await this.listLumaTablesWithOptions(request, runtime);
2544
3258
  }
2545
3259
  /**
2546
3260
  * Query namespace list
@@ -2840,7 +3554,7 @@ class Client extends openapi_core_1.default {
2840
3554
  return await this.pauseEventStreamingWithOptions(request, runtime);
2841
3555
  }
2842
3556
  /**
2843
- * Polls for natural language query results.
3557
+ * Polls for the result of a natural language query.
2844
3558
  *
2845
3559
  * @param request - PollAskResultRequest
2846
3560
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2872,7 +3586,7 @@ class Client extends openapi_core_1.default {
2872
3586
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.PollAskResultResponse({}));
2873
3587
  }
2874
3588
  /**
2875
- * Polls for natural language query results.
3589
+ * Polls for the result of a natural language query.
2876
3590
  *
2877
3591
  * @param request - PollAskResultRequest
2878
3592
  * @returns PollAskResultResponse
@@ -3230,6 +3944,57 @@ class Client extends openapi_core_1.default {
3230
3944
  let runtime = new $dara.RuntimeOptions({});
3231
3945
  return await this.queryEventTracesWithOptions(request, runtime);
3232
3946
  }
3947
+ /**
3948
+ * 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.
3949
+ *
3950
+ * @remarks
3951
+ * 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.
3952
+ *
3953
+ * @param request - QueryLumaWithSQLRequest
3954
+ * @param runtime - runtime options for this request RuntimeOptions
3955
+ * @returns QueryLumaWithSQLResponse
3956
+ */
3957
+ async queryLumaWithSQLWithOptions(request, runtime) {
3958
+ request.validate();
3959
+ let body = {};
3960
+ if (!$dara.isNull(request.agentName)) {
3961
+ body["AgentName"] = request.agentName;
3962
+ }
3963
+ if (!$dara.isNull(request.maxRows)) {
3964
+ body["MaxRows"] = request.maxRows;
3965
+ }
3966
+ if (!$dara.isNull(request.sql)) {
3967
+ body["Sql"] = request.sql;
3968
+ }
3969
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3970
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
3971
+ });
3972
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3973
+ action: "QueryLumaWithSQL",
3974
+ version: "2020-04-01",
3975
+ protocol: "HTTPS",
3976
+ pathname: "/",
3977
+ method: "POST",
3978
+ authType: "AK",
3979
+ style: "RPC",
3980
+ reqBodyType: "formData",
3981
+ bodyType: "json",
3982
+ });
3983
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryLumaWithSQLResponse({}));
3984
+ }
3985
+ /**
3986
+ * 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.
3987
+ *
3988
+ * @remarks
3989
+ * 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.
3990
+ *
3991
+ * @param request - QueryLumaWithSQLRequest
3992
+ * @returns QueryLumaWithSQLResponse
3993
+ */
3994
+ async queryLumaWithSQL(request) {
3995
+ let runtime = new $dara.RuntimeOptions({});
3996
+ return await this.queryLumaWithSQLWithOptions(request, runtime);
3997
+ }
3233
3998
  /**
3234
3999
  * Queries event traces by event ID.
3235
4000
  *
@@ -3415,6 +4180,75 @@ class Client extends openapi_core_1.default {
3415
4180
  let runtime = new $dara.RuntimeOptions({});
3416
4181
  return await this.saveAgentDataSemanticsWithOptions(request, runtime);
3417
4182
  }
4183
+ /**
4184
+ * Retrieves content from a knowledge base bound to a Luma Agent and returns relevant text chunks along with their relevance scores.
4185
+ *
4186
+ * @remarks
4187
+ * Retrieves content from a knowledge base bound to a Luma Agent and returns relevant text chunks along with their relevance scores.
4188
+ *
4189
+ * @param request - SearchLumaKnowledgeBaseRequest
4190
+ * @param runtime - runtime options for this request RuntimeOptions
4191
+ * @returns SearchLumaKnowledgeBaseResponse
4192
+ */
4193
+ async searchLumaKnowledgeBaseWithOptions(request, runtime) {
4194
+ request.validate();
4195
+ let body = {};
4196
+ if (!$dara.isNull(request.agentName)) {
4197
+ body["AgentName"] = request.agentName;
4198
+ }
4199
+ if (!$dara.isNull(request.catalog)) {
4200
+ body["Catalog"] = request.catalog;
4201
+ }
4202
+ if (!$dara.isNull(request.knowledgeBaseName)) {
4203
+ body["KnowledgeBaseName"] = request.knowledgeBaseName;
4204
+ }
4205
+ if (!$dara.isNull(request.metadataFilter)) {
4206
+ body["MetadataFilter"] = request.metadataFilter;
4207
+ }
4208
+ if (!$dara.isNull(request.mode)) {
4209
+ body["Mode"] = request.mode;
4210
+ }
4211
+ if (!$dara.isNull(request.namespace)) {
4212
+ body["Namespace"] = request.namespace;
4213
+ }
4214
+ if (!$dara.isNull(request.query)) {
4215
+ body["Query"] = request.query;
4216
+ }
4217
+ if (!$dara.isNull(request.rerank)) {
4218
+ body["Rerank"] = request.rerank;
4219
+ }
4220
+ if (!$dara.isNull(request.topK)) {
4221
+ body["TopK"] = request.topK;
4222
+ }
4223
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4224
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
4225
+ });
4226
+ let params = new openapi_core_2.$OpenApiUtil.Params({
4227
+ action: "SearchLumaKnowledgeBase",
4228
+ version: "2020-04-01",
4229
+ protocol: "HTTPS",
4230
+ pathname: "/",
4231
+ method: "POST",
4232
+ authType: "AK",
4233
+ style: "RPC",
4234
+ reqBodyType: "formData",
4235
+ bodyType: "json",
4236
+ });
4237
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.SearchLumaKnowledgeBaseResponse({}));
4238
+ }
4239
+ /**
4240
+ * Retrieves content from a knowledge base bound to a Luma Agent and returns relevant text chunks along with their relevance scores.
4241
+ *
4242
+ * @remarks
4243
+ * Retrieves content from a knowledge base bound to a Luma Agent and returns relevant text chunks along with their relevance scores.
4244
+ *
4245
+ * @param request - SearchLumaKnowledgeBaseRequest
4246
+ * @returns SearchLumaKnowledgeBaseResponse
4247
+ */
4248
+ async searchLumaKnowledgeBase(request) {
4249
+ let runtime = new $dara.RuntimeOptions({});
4250
+ return await this.searchLumaKnowledgeBaseWithOptions(request, runtime);
4251
+ }
3418
4252
  /**
3419
4253
  * Enables a created or disabled event stream.
3420
4254
  *