@alicloud/eventbridge20200401 6.3.0 → 6.5.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 (200) hide show
  1. package/dist/client.d.ts +120 -18
  2. package/dist/client.js +330 -38
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AgentDataSemanticsExample.d.ts +47 -0
  5. package/dist/models/AgentDataSemanticsExample.js +68 -0
  6. package/dist/models/AgentDataSemanticsExample.js.map +1 -0
  7. package/dist/models/AgentDataSemanticsExampleParameter.d.ts +51 -0
  8. package/dist/models/AgentDataSemanticsExampleParameter.js +64 -0
  9. package/dist/models/AgentDataSemanticsExampleParameter.js.map +1 -0
  10. package/dist/models/AgentDataSemanticsJoin.d.ts +57 -0
  11. package/dist/models/AgentDataSemanticsJoin.js +70 -0
  12. package/dist/models/AgentDataSemanticsJoin.js.map +1 -0
  13. package/dist/models/AgentDataSemanticsJoinCondition.d.ts +47 -0
  14. package/dist/models/AgentDataSemanticsJoinCondition.js +64 -0
  15. package/dist/models/AgentDataSemanticsJoinCondition.js.map +1 -0
  16. package/dist/models/AgentDataSemanticsMetric.d.ts +59 -0
  17. package/dist/models/AgentDataSemanticsMetric.js +69 -0
  18. package/dist/models/AgentDataSemanticsMetric.js.map +1 -0
  19. package/dist/models/AgentDataSemanticsStageProgress.d.ts +33 -0
  20. package/dist/models/AgentDataSemanticsStageProgress.js +60 -0
  21. package/dist/models/AgentDataSemanticsStageProgress.js.map +1 -0
  22. package/dist/models/AgentDataSemanticsText.d.ts +23 -0
  23. package/dist/models/AgentDataSemanticsText.js +58 -0
  24. package/dist/models/AgentDataSemanticsText.js.map +1 -0
  25. package/dist/models/AskLumaRequest.d.ts +1 -1
  26. package/dist/models/AskLumaResponseBody.d.ts +1 -1
  27. package/dist/models/AskLumaResult.d.ts +20 -12
  28. package/dist/models/AskLumaResult.js +2 -0
  29. package/dist/models/AskLumaResult.js.map +1 -1
  30. package/dist/models/Catalog.d.ts +7 -7
  31. package/dist/models/CreateConnectionRequest.d.ts +21 -21
  32. package/dist/models/CreateConnectionResponseBody.d.ts +1 -1
  33. package/dist/models/CreateConnectionShrinkRequest.d.ts +4 -4
  34. package/dist/models/CreateEventStreamingRequest.d.ts +121 -212
  35. package/dist/models/CreateEventStreamingRequest.js.map +1 -1
  36. package/dist/models/CreateEventStreamingResponseBody.d.ts +2 -4
  37. package/dist/models/CreateEventStreamingResponseBody.js.map +1 -1
  38. package/dist/models/CreateEventStreamingShrinkRequest.d.ts +8 -4
  39. package/dist/models/CreateEventStreamingShrinkRequest.js.map +1 -1
  40. package/dist/models/DeleteEventStreamingRequest.d.ts +5 -0
  41. package/dist/models/DeleteEventStreamingRequest.js +2 -0
  42. package/dist/models/DeleteEventStreamingRequest.js.map +1 -1
  43. package/dist/models/DeleteEventStreamingResponseBody.d.ts +4 -4
  44. package/dist/models/GenerateAgentDataSemanticsRequest.d.ts +23 -0
  45. package/dist/models/GenerateAgentDataSemanticsRequest.js +58 -0
  46. package/dist/models/GenerateAgentDataSemanticsRequest.js.map +1 -0
  47. package/dist/models/GenerateAgentDataSemanticsResponse.d.ts +19 -0
  48. package/dist/models/GenerateAgentDataSemanticsResponse.js +69 -0
  49. package/dist/models/GenerateAgentDataSemanticsResponse.js.map +1 -0
  50. package/dist/models/GenerateAgentDataSemanticsResponseBody.d.ts +55 -0
  51. package/dist/models/GenerateAgentDataSemanticsResponseBody.js +69 -0
  52. package/dist/models/GenerateAgentDataSemanticsResponseBody.js.map +1 -0
  53. package/dist/models/GetAgentDataSemanticsRequest.d.ts +23 -0
  54. package/dist/models/GetAgentDataSemanticsRequest.js +58 -0
  55. package/dist/models/GetAgentDataSemanticsRequest.js.map +1 -0
  56. package/dist/models/GetAgentDataSemanticsResponse.d.ts +19 -0
  57. package/dist/models/GetAgentDataSemanticsResponse.js +69 -0
  58. package/dist/models/GetAgentDataSemanticsResponse.js.map +1 -0
  59. package/dist/models/GetAgentDataSemanticsResponseBody.d.ts +94 -0
  60. package/dist/models/GetAgentDataSemanticsResponseBody.js +112 -0
  61. package/dist/models/GetAgentDataSemanticsResponseBody.js.map +1 -0
  62. package/dist/models/GetCatalogRequest.d.ts +2 -2
  63. package/dist/models/GetCatalogResponseBody.d.ts +5 -5
  64. package/dist/models/GetConnectionRequest.d.ts +1 -1
  65. package/dist/models/GetConnectionResponseBody.d.ts +32 -30
  66. package/dist/models/GetConnectionResponseBody.js.map +1 -1
  67. package/dist/models/GetEventStreamingRequest.d.ts +1 -1
  68. package/dist/models/GetEventStreamingResponseBody.d.ts +212 -329
  69. package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
  70. package/dist/models/GetGenerateAgentDataSemanticsProgressRequest.d.ts +23 -0
  71. package/dist/models/GetGenerateAgentDataSemanticsProgressRequest.js +58 -0
  72. package/dist/models/GetGenerateAgentDataSemanticsProgressRequest.js.map +1 -0
  73. package/dist/models/GetGenerateAgentDataSemanticsProgressResponse.d.ts +19 -0
  74. package/dist/models/GetGenerateAgentDataSemanticsProgressResponse.js +69 -0
  75. package/dist/models/GetGenerateAgentDataSemanticsProgressResponse.js.map +1 -0
  76. package/dist/models/GetGenerateAgentDataSemanticsProgressResponseBody.d.ts +116 -0
  77. package/dist/models/GetGenerateAgentDataSemanticsProgressResponseBody.js +122 -0
  78. package/dist/models/GetGenerateAgentDataSemanticsProgressResponseBody.js.map +1 -0
  79. package/dist/models/ListCatalogsRequest.d.ts +2 -2
  80. package/dist/models/ListCatalogsResponseBody.d.ts +8 -8
  81. package/dist/models/ListConnectionsRequest.d.ts +6 -6
  82. package/dist/models/ListConnectionsResponseBody.d.ts +24 -24
  83. package/dist/models/PollAskResultResponseBody.d.ts +1 -1
  84. package/dist/models/PutEventsRequest.d.ts +118 -0
  85. package/dist/models/PutEventsRequest.js +98 -0
  86. package/dist/models/PutEventsRequest.js.map +1 -0
  87. package/dist/models/PutEventsResponse.d.ts +19 -0
  88. package/dist/models/PutEventsResponse.js +69 -0
  89. package/dist/models/PutEventsResponse.js.map +1 -0
  90. package/dist/models/PutEventsResponseBody.d.ts +119 -0
  91. package/dist/models/PutEventsResponseBody.js +118 -0
  92. package/dist/models/PutEventsResponseBody.js.map +1 -0
  93. package/dist/models/PutEventsShrinkRequest.d.ts +28 -0
  94. package/dist/models/PutEventsShrinkRequest.js +60 -0
  95. package/dist/models/PutEventsShrinkRequest.js.map +1 -0
  96. package/dist/models/QueryAskLumaLogRequest.d.ts +1 -1
  97. package/dist/models/QueryAskLumaLogResponseBody.d.ts +3 -3
  98. package/dist/models/QueryAttachment.d.ts +10 -2
  99. package/dist/models/QueryAttachment.js +2 -0
  100. package/dist/models/QueryAttachment.js.map +1 -1
  101. package/dist/models/QueryEventHouseWithTimeRangeRequest.d.ts +51 -0
  102. package/dist/models/QueryEventHouseWithTimeRangeRequest.js +64 -0
  103. package/dist/models/QueryEventHouseWithTimeRangeRequest.js.map +1 -0
  104. package/dist/models/QueryEventHouseWithTimeRangeResponse.d.ts +19 -0
  105. package/dist/models/QueryEventHouseWithTimeRangeResponse.js +69 -0
  106. package/dist/models/QueryEventHouseWithTimeRangeResponse.js.map +1 -0
  107. package/dist/models/QueryEventHouseWithTimeRangeResponseBody.d.ts +76 -0
  108. package/dist/models/QueryEventHouseWithTimeRangeResponseBody.js +94 -0
  109. package/dist/models/QueryEventHouseWithTimeRangeResponseBody.js.map +1 -0
  110. package/dist/models/SaveAgentDataSemanticsRequest.d.ts +47 -0
  111. package/dist/models/SaveAgentDataSemanticsRequest.js +82 -0
  112. package/dist/models/SaveAgentDataSemanticsRequest.js.map +1 -0
  113. package/dist/models/SaveAgentDataSemanticsResponse.d.ts +19 -0
  114. package/dist/models/SaveAgentDataSemanticsResponse.js +69 -0
  115. package/dist/models/SaveAgentDataSemanticsResponse.js.map +1 -0
  116. package/dist/models/SaveAgentDataSemanticsResponseBody.d.ts +55 -0
  117. package/dist/models/SaveAgentDataSemanticsResponseBody.js +69 -0
  118. package/dist/models/SaveAgentDataSemanticsResponseBody.js.map +1 -0
  119. package/dist/models/SaveAgentDataSemanticsShrinkRequest.d.ts +43 -0
  120. package/dist/models/SaveAgentDataSemanticsShrinkRequest.js +66 -0
  121. package/dist/models/SaveAgentDataSemanticsShrinkRequest.js.map +1 -0
  122. package/dist/models/SourceJdbcparameters.d.ts +60 -0
  123. package/dist/models/SourceJdbcparameters.js.map +1 -1
  124. package/dist/models/Table.d.ts +1 -1
  125. package/dist/models/UpdateConnectionRequest.d.ts +28 -28
  126. package/dist/models/UpdateConnectionResponseBody.d.ts +2 -2
  127. package/dist/models/UpdateConnectionShrinkRequest.d.ts +5 -5
  128. package/dist/models/UpdateEventStreamingRequest.d.ts +156 -281
  129. package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
  130. package/dist/models/UpdateEventStreamingResponseBody.d.ts +4 -2
  131. package/dist/models/UpdateEventStreamingResponseBody.js.map +1 -1
  132. package/dist/models/UpdateEventStreamingShrinkRequest.d.ts +8 -4
  133. package/dist/models/UpdateEventStreamingShrinkRequest.js.map +1 -1
  134. package/dist/models/model.d.ts +33 -0
  135. package/dist/models/model.js +84 -18
  136. package/dist/models/model.js.map +1 -1
  137. package/package.json +1 -1
  138. package/src/client.ts +362 -38
  139. package/src/models/AgentDataSemanticsExample.ts +69 -0
  140. package/src/models/AgentDataSemanticsExampleParameter.ts +70 -0
  141. package/src/models/AgentDataSemanticsJoin.ts +81 -0
  142. package/src/models/AgentDataSemanticsJoinCondition.ts +66 -0
  143. package/src/models/AgentDataSemanticsMetric.ts +83 -0
  144. package/src/models/AgentDataSemanticsStageProgress.ts +48 -0
  145. package/src/models/AgentDataSemanticsText.ts +36 -0
  146. package/src/models/AskLumaRequest.ts +1 -1
  147. package/src/models/AskLumaResponseBody.ts +1 -1
  148. package/src/models/AskLumaResult.ts +22 -12
  149. package/src/models/Catalog.ts +7 -7
  150. package/src/models/CreateConnectionRequest.ts +21 -21
  151. package/src/models/CreateConnectionResponseBody.ts +1 -1
  152. package/src/models/CreateConnectionShrinkRequest.ts +4 -4
  153. package/src/models/CreateEventStreamingRequest.ts +121 -212
  154. package/src/models/CreateEventStreamingResponseBody.ts +2 -4
  155. package/src/models/CreateEventStreamingShrinkRequest.ts +8 -4
  156. package/src/models/DeleteEventStreamingRequest.ts +7 -0
  157. package/src/models/DeleteEventStreamingResponseBody.ts +4 -4
  158. package/src/models/GenerateAgentDataSemanticsRequest.ts +36 -0
  159. package/src/models/GenerateAgentDataSemanticsResponse.ts +40 -0
  160. package/src/models/GenerateAgentDataSemanticsResponseBody.ts +77 -0
  161. package/src/models/GetAgentDataSemanticsRequest.ts +36 -0
  162. package/src/models/GetAgentDataSemanticsResponse.ts +40 -0
  163. package/src/models/GetAgentDataSemanticsResponseBody.ts +148 -0
  164. package/src/models/GetCatalogRequest.ts +2 -2
  165. package/src/models/GetCatalogResponseBody.ts +5 -5
  166. package/src/models/GetConnectionRequest.ts +1 -1
  167. package/src/models/GetConnectionResponseBody.ts +32 -30
  168. package/src/models/GetEventStreamingRequest.ts +1 -1
  169. package/src/models/GetEventStreamingResponseBody.ts +212 -329
  170. package/src/models/GetGenerateAgentDataSemanticsProgressRequest.ts +36 -0
  171. package/src/models/GetGenerateAgentDataSemanticsProgressResponse.ts +40 -0
  172. package/src/models/GetGenerateAgentDataSemanticsProgressResponseBody.ts +179 -0
  173. package/src/models/ListCatalogsRequest.ts +2 -2
  174. package/src/models/ListCatalogsResponseBody.ts +8 -8
  175. package/src/models/ListConnectionsRequest.ts +6 -6
  176. package/src/models/ListConnectionsResponseBody.ts +24 -24
  177. package/src/models/PollAskResultResponseBody.ts +1 -1
  178. package/src/models/PutEventsRequest.ts +162 -0
  179. package/src/models/PutEventsResponse.ts +40 -0
  180. package/src/models/PutEventsResponseBody.ts +174 -0
  181. package/src/models/PutEventsShrinkRequest.ts +43 -0
  182. package/src/models/QueryAskLumaLogRequest.ts +1 -1
  183. package/src/models/QueryAskLumaLogResponseBody.ts +3 -3
  184. package/src/models/QueryAttachment.ts +12 -2
  185. package/src/models/QueryEventHouseWithTimeRangeRequest.ts +70 -0
  186. package/src/models/QueryEventHouseWithTimeRangeResponse.ts +40 -0
  187. package/src/models/QueryEventHouseWithTimeRangeResponseBody.ts +115 -0
  188. package/src/models/SaveAgentDataSemanticsRequest.ts +80 -0
  189. package/src/models/SaveAgentDataSemanticsResponse.ts +40 -0
  190. package/src/models/SaveAgentDataSemanticsResponseBody.ts +77 -0
  191. package/src/models/SaveAgentDataSemanticsShrinkRequest.ts +64 -0
  192. package/src/models/SourceJdbcparameters.ts +60 -0
  193. package/src/models/Table.ts +1 -1
  194. package/src/models/UpdateConnectionRequest.ts +28 -28
  195. package/src/models/UpdateConnectionResponseBody.ts +2 -2
  196. package/src/models/UpdateConnectionShrinkRequest.ts +5 -5
  197. package/src/models/UpdateEventStreamingRequest.ts +156 -281
  198. package/src/models/UpdateEventStreamingResponseBody.ts +4 -2
  199. package/src/models/UpdateEventStreamingShrinkRequest.ts +8 -4
  200. package/src/models/model.ts +33 -0
package/dist/client.js CHANGED
@@ -50,32 +50,32 @@ class Client extends openapi_core_1.default {
50
50
  super(config);
51
51
  this._endpointRule = "regional";
52
52
  this._endpointMap = {
53
- 'us-west-1': "eventbridge-console.us-west-1.aliyuncs.com",
54
- 'us-east-1': "eventbridge-console.us-east-1.aliyuncs.com",
55
- 'eu-west-1': "eventbridge-console.eu-west-1.aliyuncs.com",
56
- 'eu-central-1': "eventbridge-console.eu-central-1.aliyuncs.com",
57
- 'cn-zhangjiakou': "eventbridge-console.cn-zhangjiakou.aliyuncs.com",
58
53
  'cn-wulanchabu': "eventbridge-console.cn-wulanchabu.aliyuncs.com",
59
- 'cn-shenzhen-finance-1': "eventbridge-console.cn-shenzhen-finance-1.aliyuncs.com",
60
- 'cn-shenzhen': "eventbridge-console.cn-shenzhen.aliyuncs.com",
61
- 'cn-shanghai-finance-1': "eventbridge-console.cn-shanghai-finance-1.aliyuncs.com",
62
- 'cn-shanghai': "eventbridge-console.cn-shanghai.aliyuncs.com",
54
+ 'cn-beijing': "eventbridge-console.cn-beijing.aliyuncs.com",
63
55
  'cn-qingdao': "eventbridge-console.cn-qingdao.aliyuncs.com",
64
- 'cn-huhehaote': "eventbridge-console.cn-huhehaote.aliyuncs.com",
56
+ 'cn-shanghai': "eventbridge-console.cn-shanghai.aliyuncs.com",
65
57
  'cn-hongkong': "eventbridge-console.cn-hongkong.aliyuncs.com",
66
58
  'cn-heyuan': "eventbridge-console.cn-heyuan.aliyuncs.com",
67
- 'cn-hangzhou': "eventbridge-console.cn-hangzhou.aliyuncs.com",
68
- 'cn-guangzhou': "eventbridge-console.cn-guangzhou.aliyuncs.com",
69
- 'cn-chengdu': "eventbridge-console.cn-chengdu.aliyuncs.com",
70
- 'cn-beijing-finance-1': "eventbridge-console.cn-beijing-finance-1.aliyuncs.com",
71
- 'cn-beijing': "eventbridge-console.cn-beijing.aliyuncs.com",
72
- 'ap-southeast-7': "eventbridge-console.ap-southeast-7.aliyuncs.com",
73
- 'ap-southeast-6': "eventbridge-console.ap-southeast-6.aliyuncs.com",
74
- 'ap-southeast-5': "eventbridge-console.ap-southeast-5.aliyuncs.com",
75
- 'ap-southeast-3': "eventbridge-console.ap-southeast-3.aliyuncs.com",
76
- 'ap-southeast-1': "eventbridge-console.ap-southeast-1.aliyuncs.com",
59
+ 'cn-zhangjiakou': "eventbridge-console.cn-zhangjiakou.aliyuncs.com",
60
+ 'cn-shenzhen': "eventbridge-console.cn-shenzhen.aliyuncs.com",
77
61
  'ap-northeast-2': "eventbridge-console.ap-northeast-2.aliyuncs.com",
78
62
  'ap-northeast-1': "eventbridge-console.ap-northeast-1.aliyuncs.com",
63
+ 'cn-chengdu': "eventbridge-console.cn-chengdu.aliyuncs.com",
64
+ 'cn-guangzhou': "eventbridge-console.cn-guangzhou.aliyuncs.com",
65
+ 'ap-southeast-1': "eventbridge-console.ap-southeast-1.aliyuncs.com",
66
+ 'ap-southeast-3': "eventbridge-console.ap-southeast-3.aliyuncs.com",
67
+ 'cn-huhehaote': "eventbridge-console.cn-huhehaote.aliyuncs.com",
68
+ 'ap-southeast-5': "eventbridge-console.ap-southeast-5.aliyuncs.com",
69
+ 'ap-southeast-6': "eventbridge-console.ap-southeast-6.aliyuncs.com",
70
+ 'ap-southeast-7': "eventbridge-console.ap-southeast-7.aliyuncs.com",
71
+ 'cn-hangzhou': "eventbridge-console.cn-hangzhou.aliyuncs.com",
72
+ 'us-east-1': "eventbridge-console.us-east-1.aliyuncs.com",
73
+ 'eu-west-1': "eventbridge-console.eu-west-1.aliyuncs.com",
74
+ 'us-west-1': "eventbridge-console.us-west-1.aliyuncs.com",
75
+ 'eu-central-1': "eventbridge-console.eu-central-1.aliyuncs.com",
76
+ 'cn-shenzhen-finance-1': "eventbridge-console.cn-shenzhen-finance-1.aliyuncs.com",
77
+ 'cn-beijing-finance-1': "eventbridge-console.cn-beijing-finance-1.aliyuncs.com",
78
+ 'cn-shanghai-finance-1': "eventbridge-console.cn-shanghai-finance-1.aliyuncs.com",
79
79
  };
80
80
  this.checkConfig(config);
81
81
  this._endpoint = this.getEndpoint("eventbridge", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
@@ -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 using natural language.
93
+ * Queries data by 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 using natural language.
131
+ * Queries data by using natural language.
132
132
  *
133
133
  * @param request - AskLumaRequest
134
134
  * @returns AskLumaResponse
@@ -1161,6 +1161,9 @@ class Client extends openapi_core_1.default {
1161
1161
  if (!$dara.isNull(request.eventStreamingName)) {
1162
1162
  body["EventStreamingName"] = request.eventStreamingName;
1163
1163
  }
1164
+ if (!$dara.isNull(request.force)) {
1165
+ body["Force"] = request.force;
1166
+ }
1164
1167
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1165
1168
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
1166
1169
  });
@@ -1592,6 +1595,45 @@ class Client extends openapi_core_1.default {
1592
1595
  let runtime = new $dara.RuntimeOptions({});
1593
1596
  return await this.eventCenterQueryEventsWithOptions(request, runtime);
1594
1597
  }
1598
+ /**
1599
+ * Initiates an agent data semantics generation task.
1600
+ *
1601
+ * @param request - GenerateAgentDataSemanticsRequest
1602
+ * @param runtime - runtime options for this request RuntimeOptions
1603
+ * @returns GenerateAgentDataSemanticsResponse
1604
+ */
1605
+ async generateAgentDataSemanticsWithOptions(request, runtime) {
1606
+ request.validate();
1607
+ let body = {};
1608
+ if (!$dara.isNull(request.agentName)) {
1609
+ body["AgentName"] = request.agentName;
1610
+ }
1611
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1612
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
1613
+ });
1614
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1615
+ action: "GenerateAgentDataSemantics",
1616
+ version: "2020-04-01",
1617
+ protocol: "HTTPS",
1618
+ pathname: "/",
1619
+ method: "POST",
1620
+ authType: "AK",
1621
+ style: "RPC",
1622
+ reqBodyType: "formData",
1623
+ bodyType: "json",
1624
+ });
1625
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GenerateAgentDataSemanticsResponse({}));
1626
+ }
1627
+ /**
1628
+ * Initiates an agent data semantics generation task.
1629
+ *
1630
+ * @param request - GenerateAgentDataSemanticsRequest
1631
+ * @returns GenerateAgentDataSemanticsResponse
1632
+ */
1633
+ async generateAgentDataSemantics(request) {
1634
+ let runtime = new $dara.RuntimeOptions({});
1635
+ return await this.generateAgentDataSemanticsWithOptions(request, runtime);
1636
+ }
1595
1637
  /**
1596
1638
  * Retrieves agent metadata.
1597
1639
  *
@@ -1631,6 +1673,45 @@ class Client extends openapi_core_1.default {
1631
1673
  let runtime = new $dara.RuntimeOptions({});
1632
1674
  return await this.getAgentWithOptions(request, runtime);
1633
1675
  }
1676
+ /**
1677
+ * Retrieves the currently effective data semantics of an agent.
1678
+ *
1679
+ * @param request - GetAgentDataSemanticsRequest
1680
+ * @param runtime - runtime options for this request RuntimeOptions
1681
+ * @returns GetAgentDataSemanticsResponse
1682
+ */
1683
+ async getAgentDataSemanticsWithOptions(request, runtime) {
1684
+ request.validate();
1685
+ let body = {};
1686
+ if (!$dara.isNull(request.agentName)) {
1687
+ body["AgentName"] = request.agentName;
1688
+ }
1689
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1690
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
1691
+ });
1692
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1693
+ action: "GetAgentDataSemantics",
1694
+ version: "2020-04-01",
1695
+ protocol: "HTTPS",
1696
+ pathname: "/",
1697
+ method: "POST",
1698
+ authType: "AK",
1699
+ style: "RPC",
1700
+ reqBodyType: "formData",
1701
+ bodyType: "json",
1702
+ });
1703
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgentDataSemanticsResponse({}));
1704
+ }
1705
+ /**
1706
+ * Retrieves the currently effective data semantics of an agent.
1707
+ *
1708
+ * @param request - GetAgentDataSemanticsRequest
1709
+ * @returns GetAgentDataSemanticsResponse
1710
+ */
1711
+ async getAgentDataSemantics(request) {
1712
+ let runtime = new $dara.RuntimeOptions({});
1713
+ return await this.getAgentDataSemanticsWithOptions(request, runtime);
1714
+ }
1634
1715
  /**
1635
1716
  * Queries the information about an API destination.
1636
1717
  *
@@ -1677,7 +1758,7 @@ class Client extends openapi_core_1.default {
1677
1758
  return await this.getApiDestinationWithOptions(request, runtime);
1678
1759
  }
1679
1760
  /**
1680
- * Get data catalog
1761
+ * Retrieves a data catalog.
1681
1762
  *
1682
1763
  * @param request - GetCatalogRequest
1683
1764
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1711,7 +1792,7 @@ class Client extends openapi_core_1.default {
1711
1792
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCatalogResponse({}));
1712
1793
  }
1713
1794
  /**
1714
- * Get data catalog
1795
+ * Retrieves a data catalog.
1715
1796
  *
1716
1797
  * @param request - GetCatalogRequest
1717
1798
  * @returns GetCatalogResponse
@@ -1721,10 +1802,10 @@ class Client extends openapi_core_1.default {
1721
1802
  return await this.getCatalogWithOptions(request, runtime);
1722
1803
  }
1723
1804
  /**
1724
- * Queries the configuration information of a single connection.
1805
+ * Queries the configuration of a single connection.
1725
1806
  *
1726
1807
  * @remarks
1727
- * Queries the configuration information of a single connection.
1808
+ * Queries the configuration of a single connection.
1728
1809
  *
1729
1810
  * @param request - GetConnectionRequest
1730
1811
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1753,10 +1834,10 @@ class Client extends openapi_core_1.default {
1753
1834
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetConnectionResponse({}));
1754
1835
  }
1755
1836
  /**
1756
- * Queries the configuration information of a single connection.
1837
+ * Queries the configuration of a single connection.
1757
1838
  *
1758
1839
  * @remarks
1759
- * Queries the configuration information of a single connection.
1840
+ * Queries the configuration of a single connection.
1760
1841
  *
1761
1842
  * @param request - GetConnectionRequest
1762
1843
  * @returns GetConnectionResponse
@@ -1894,6 +1975,45 @@ class Client extends openapi_core_1.default {
1894
1975
  let runtime = new $dara.RuntimeOptions({});
1895
1976
  return await this.getEventStreamingWithOptions(request, runtime);
1896
1977
  }
1978
+ /**
1979
+ * Retrieves the generation progress of data semantics for an agent.
1980
+ *
1981
+ * @param request - GetGenerateAgentDataSemanticsProgressRequest
1982
+ * @param runtime - runtime options for this request RuntimeOptions
1983
+ * @returns GetGenerateAgentDataSemanticsProgressResponse
1984
+ */
1985
+ async getGenerateAgentDataSemanticsProgressWithOptions(request, runtime) {
1986
+ request.validate();
1987
+ let body = {};
1988
+ if (!$dara.isNull(request.agentName)) {
1989
+ body["AgentName"] = request.agentName;
1990
+ }
1991
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1992
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
1993
+ });
1994
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1995
+ action: "GetGenerateAgentDataSemanticsProgress",
1996
+ version: "2020-04-01",
1997
+ protocol: "HTTPS",
1998
+ pathname: "/",
1999
+ method: "POST",
2000
+ authType: "AK",
2001
+ style: "RPC",
2002
+ reqBodyType: "formData",
2003
+ bodyType: "json",
2004
+ });
2005
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGenerateAgentDataSemanticsProgressResponse({}));
2006
+ }
2007
+ /**
2008
+ * Retrieves the generation progress of data semantics for an agent.
2009
+ *
2010
+ * @param request - GetGenerateAgentDataSemanticsProgressRequest
2011
+ * @returns GetGenerateAgentDataSemanticsProgressResponse
2012
+ */
2013
+ async getGenerateAgentDataSemanticsProgress(request) {
2014
+ let runtime = new $dara.RuntimeOptions({});
2015
+ return await this.getGenerateAgentDataSemanticsProgressWithOptions(request, runtime);
2016
+ }
1897
2017
  /**
1898
2018
  * Get namespace
1899
2019
  *
@@ -2174,7 +2294,7 @@ class Client extends openapi_core_1.default {
2174
2294
  return await this.listApiDestinationsWithOptions(request, runtime);
2175
2295
  }
2176
2296
  /**
2177
- * Query data catalog list
2297
+ * Queries the list of data catalogs.
2178
2298
  *
2179
2299
  * @param request - ListCatalogsRequest
2180
2300
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2206,7 +2326,7 @@ class Client extends openapi_core_1.default {
2206
2326
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCatalogsResponse({}));
2207
2327
  }
2208
2328
  /**
2209
- * Query data catalog list
2329
+ * Queries the list of data catalogs.
2210
2330
  *
2211
2331
  * @param request - ListCatalogsRequest
2212
2332
  * @returns ListCatalogsResponse
@@ -2216,10 +2336,10 @@ class Client extends openapi_core_1.default {
2216
2336
  return await this.listCatalogsWithOptions(request, runtime);
2217
2337
  }
2218
2338
  /**
2219
- * Queries the list of connection configurations.
2339
+ * Retrieves a list of connection configurations.
2220
2340
  *
2221
2341
  * @remarks
2222
- * Queries the list of connection configurations.
2342
+ * Retrieves a list of connection configurations.
2223
2343
  *
2224
2344
  * @param request - ListConnectionsRequest
2225
2345
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2257,10 +2377,10 @@ class Client extends openapi_core_1.default {
2257
2377
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConnectionsResponse({}));
2258
2378
  }
2259
2379
  /**
2260
- * Queries the list of connection configurations.
2380
+ * Retrieves a list of connection configurations.
2261
2381
  *
2262
2382
  * @remarks
2263
- * Queries the list of connection configurations.
2383
+ * Retrieves a list of connection configurations.
2264
2384
  *
2265
2385
  * @param request - ListConnectionsRequest
2266
2386
  * @returns ListConnectionsResponse
@@ -2761,6 +2881,59 @@ class Client extends openapi_core_1.default {
2761
2881
  let runtime = new $dara.RuntimeOptions({});
2762
2882
  return await this.pollAskResultWithOptions(request, runtime);
2763
2883
  }
2884
+ /**
2885
+ * Sends events to an event bus.
2886
+ *
2887
+ * @remarks
2888
+ * Sends one or more events to an event bus.
2889
+ *
2890
+ * @param tmpReq - PutEventsRequest
2891
+ * @param runtime - runtime options for this request RuntimeOptions
2892
+ * @returns PutEventsResponse
2893
+ */
2894
+ async putEventsWithOptions(tmpReq, runtime) {
2895
+ tmpReq.validate();
2896
+ let request = new $_model.PutEventsShrinkRequest({});
2897
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
2898
+ if (!$dara.isNull(tmpReq.eventList)) {
2899
+ request.eventListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.eventList, "EventList", "json");
2900
+ }
2901
+ let body = {};
2902
+ if (!$dara.isNull(request.eventBusName)) {
2903
+ body["EventBusName"] = request.eventBusName;
2904
+ }
2905
+ if (!$dara.isNull(request.eventListShrink)) {
2906
+ body["EventList"] = request.eventListShrink;
2907
+ }
2908
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2909
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2910
+ });
2911
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2912
+ action: "PutEvents",
2913
+ version: "2020-04-01",
2914
+ protocol: "HTTPS",
2915
+ pathname: "/",
2916
+ method: "POST",
2917
+ authType: "AK",
2918
+ style: "RPC",
2919
+ reqBodyType: "formData",
2920
+ bodyType: "json",
2921
+ });
2922
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.PutEventsResponse({}));
2923
+ }
2924
+ /**
2925
+ * Sends events to an event bus.
2926
+ *
2927
+ * @remarks
2928
+ * Sends one or more events to an event bus.
2929
+ *
2930
+ * @param request - PutEventsRequest
2931
+ * @returns PutEventsResponse
2932
+ */
2933
+ async putEvents(request) {
2934
+ let runtime = new $dara.RuntimeOptions({});
2935
+ return await this.putEventsWithOptions(request, runtime);
2936
+ }
2764
2937
  /**
2765
2938
  * Create or update event targets for the specified rule.
2766
2939
  *
@@ -2955,6 +3128,60 @@ class Client extends openapi_core_1.default {
2955
3128
  let runtime = new $dara.RuntimeOptions({});
2956
3129
  return await this.queryEventHouseWithOptions(request, runtime);
2957
3130
  }
3131
+ /**
3132
+ * Executes a read-only SQL statement to query internal EventHouse data within a specified time range. The time range only constrains the internal EventHouse data referenced in the SQL statement and does not affect mounted external data sources. Returns a structured result set.
3133
+ *
3134
+ * @remarks
3135
+ * Executes a single read-only SQL statement and returns a structured result set. BeginTime and EndTime only constrain the internal EventHouse data referenced in the SQL statement and do not affect mounted external data sources.
3136
+ *
3137
+ * @param request - QueryEventHouseWithTimeRangeRequest
3138
+ * @param runtime - runtime options for this request RuntimeOptions
3139
+ * @returns QueryEventHouseWithTimeRangeResponse
3140
+ */
3141
+ async queryEventHouseWithTimeRangeWithOptions(request, runtime) {
3142
+ request.validate();
3143
+ let query = {};
3144
+ if (!$dara.isNull(request.beginTime)) {
3145
+ query["BeginTime"] = request.beginTime;
3146
+ }
3147
+ if (!$dara.isNull(request.endTime)) {
3148
+ query["EndTime"] = request.endTime;
3149
+ }
3150
+ if (!$dara.isNull(request.limit)) {
3151
+ query["Limit"] = request.limit;
3152
+ }
3153
+ if (!$dara.isNull(request.query)) {
3154
+ query["Query"] = request.query;
3155
+ }
3156
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3157
+ query: openapi_core_2.OpenApiUtil.query(query),
3158
+ });
3159
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3160
+ action: "QueryEventHouseWithTimeRange",
3161
+ version: "2020-04-01",
3162
+ protocol: "HTTPS",
3163
+ pathname: "/",
3164
+ method: "POST",
3165
+ authType: "AK",
3166
+ style: "RPC",
3167
+ reqBodyType: "formData",
3168
+ bodyType: "json",
3169
+ });
3170
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryEventHouseWithTimeRangeResponse({}));
3171
+ }
3172
+ /**
3173
+ * Executes a read-only SQL statement to query internal EventHouse data within a specified time range. The time range only constrains the internal EventHouse data referenced in the SQL statement and does not affect mounted external data sources. Returns a structured result set.
3174
+ *
3175
+ * @remarks
3176
+ * Executes a single read-only SQL statement and returns a structured result set. BeginTime and EndTime only constrain the internal EventHouse data referenced in the SQL statement and do not affect mounted external data sources.
3177
+ *
3178
+ * @param request - QueryEventHouseWithTimeRangeRequest
3179
+ * @returns QueryEventHouseWithTimeRangeResponse
3180
+ */
3181
+ async queryEventHouseWithTimeRange(request) {
3182
+ let runtime = new $dara.RuntimeOptions({});
3183
+ return await this.queryEventHouseWithTimeRangeWithOptions(request, runtime);
3184
+ }
2958
3185
  /**
2959
3186
  * Queries event traces.
2960
3187
  *
@@ -3123,6 +3350,71 @@ class Client extends openapi_core_1.default {
3123
3350
  let runtime = new $dara.RuntimeOptions({});
3124
3351
  return await this.queryTracedEventsWithOptions(request, runtime);
3125
3352
  }
3353
+ /**
3354
+ * Saves data semantics for an agent.
3355
+ *
3356
+ * @param tmpReq - SaveAgentDataSemanticsRequest
3357
+ * @param runtime - runtime options for this request RuntimeOptions
3358
+ * @returns SaveAgentDataSemanticsResponse
3359
+ */
3360
+ async saveAgentDataSemanticsWithOptions(tmpReq, runtime) {
3361
+ tmpReq.validate();
3362
+ let request = new $_model.SaveAgentDataSemanticsShrinkRequest({});
3363
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
3364
+ if (!$dara.isNull(tmpReq.examples)) {
3365
+ request.examplesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.examples, "Examples", "json");
3366
+ }
3367
+ if (!$dara.isNull(tmpReq.joins)) {
3368
+ request.joinsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.joins, "Joins", "json");
3369
+ }
3370
+ if (!$dara.isNull(tmpReq.metrics)) {
3371
+ request.metricsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.metrics, "Metrics", "json");
3372
+ }
3373
+ if (!$dara.isNull(tmpReq.text)) {
3374
+ request.textShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.text, "Text", "json");
3375
+ }
3376
+ let body = {};
3377
+ if (!$dara.isNull(request.agentName)) {
3378
+ body["AgentName"] = request.agentName;
3379
+ }
3380
+ if (!$dara.isNull(request.examplesShrink)) {
3381
+ body["Examples"] = request.examplesShrink;
3382
+ }
3383
+ if (!$dara.isNull(request.joinsShrink)) {
3384
+ body["Joins"] = request.joinsShrink;
3385
+ }
3386
+ if (!$dara.isNull(request.metricsShrink)) {
3387
+ body["Metrics"] = request.metricsShrink;
3388
+ }
3389
+ if (!$dara.isNull(request.textShrink)) {
3390
+ body["Text"] = request.textShrink;
3391
+ }
3392
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3393
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
3394
+ });
3395
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3396
+ action: "SaveAgentDataSemantics",
3397
+ version: "2020-04-01",
3398
+ protocol: "HTTPS",
3399
+ pathname: "/",
3400
+ method: "POST",
3401
+ authType: "AK",
3402
+ style: "RPC",
3403
+ reqBodyType: "formData",
3404
+ bodyType: "json",
3405
+ });
3406
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.SaveAgentDataSemanticsResponse({}));
3407
+ }
3408
+ /**
3409
+ * Saves data semantics for an agent.
3410
+ *
3411
+ * @param request - SaveAgentDataSemanticsRequest
3412
+ * @returns SaveAgentDataSemanticsResponse
3413
+ */
3414
+ async saveAgentDataSemantics(request) {
3415
+ let runtime = new $dara.RuntimeOptions({});
3416
+ return await this.saveAgentDataSemanticsWithOptions(request, runtime);
3417
+ }
3126
3418
  /**
3127
3419
  * Enables a created or disabled event stream.
3128
3420
  *
@@ -3382,10 +3674,10 @@ class Client extends openapi_core_1.default {
3382
3674
  return await this.updateApiDestinationWithOptions(request, runtime);
3383
3675
  }
3384
3676
  /**
3385
- * Updates the connection configuration.
3677
+ * Updates connection configuration information.
3386
3678
  *
3387
3679
  * @remarks
3388
- * Updates the connection configuration.
3680
+ * Updates connection configurations.
3389
3681
  *
3390
3682
  * @param tmpReq - UpdateConnectionRequest
3391
3683
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3440,10 +3732,10 @@ class Client extends openapi_core_1.default {
3440
3732
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateConnectionResponse({}));
3441
3733
  }
3442
3734
  /**
3443
- * Updates the connection configuration.
3735
+ * Updates connection configuration information.
3444
3736
  *
3445
3737
  * @remarks
3446
- * Updates the connection configuration.
3738
+ * Updates connection configurations.
3447
3739
  *
3448
3740
  * @param request - UpdateConnectionRequest
3449
3741
  * @returns UpdateConnectionResponse