@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
@@ -0,0 +1,80 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { AgentDataSemanticsExample } from "./AgentDataSemanticsExample";
4
+ import { AgentDataSemanticsJoin } from "./AgentDataSemanticsJoin";
5
+ import { AgentDataSemanticsMetric } from "./AgentDataSemanticsMetric";
6
+ import { AgentDataSemanticsText } from "./AgentDataSemanticsText";
7
+
8
+
9
+ export class SaveAgentDataSemanticsRequest extends $dara.Model {
10
+ /**
11
+ * @remarks
12
+ * The name of the agent.
13
+ *
14
+ * This parameter is required.
15
+ *
16
+ * @example
17
+ * bakehouse_agent
18
+ */
19
+ agentName?: string;
20
+ /**
21
+ * @remarks
22
+ * The SQL example knowledge. If this parameter is specified, the current content is saved. If this parameter is not specified, the existing content is cleared. A maximum of 50 entries are supported, and the maximum size of each knowledge category is 16 KB.
23
+ */
24
+ examples?: AgentDataSemanticsExample[];
25
+ /**
26
+ * @remarks
27
+ * The data association knowledge. If this parameter is specified, the current content is saved. If this parameter is not specified, the existing content is cleared. A maximum of 100 entries are supported, and the maximum size of each knowledge category is 16 KB.
28
+ */
29
+ joins?: AgentDataSemanticsJoin[];
30
+ /**
31
+ * @remarks
32
+ * The SQL expression knowledge. If this parameter is specified, the current content is saved. If this parameter is not specified, the existing content is cleared. A maximum of 100 entries are supported, and the maximum size of each knowledge category is 16 KB.
33
+ */
34
+ metrics?: AgentDataSemanticsMetric[];
35
+ /**
36
+ * @remarks
37
+ * The text knowledge in Markdown format. If this parameter is specified, the current content is saved. If this parameter is not specified, the existing content is cleared. The maximum size of each knowledge category is 16 KB.
38
+ */
39
+ text?: AgentDataSemanticsText;
40
+ static names(): { [key: string]: string } {
41
+ return {
42
+ agentName: 'AgentName',
43
+ examples: 'Examples',
44
+ joins: 'Joins',
45
+ metrics: 'Metrics',
46
+ text: 'Text',
47
+ };
48
+ }
49
+
50
+ static types(): { [key: string]: any } {
51
+ return {
52
+ agentName: 'string',
53
+ examples: { 'type': 'array', 'itemType': AgentDataSemanticsExample },
54
+ joins: { 'type': 'array', 'itemType': AgentDataSemanticsJoin },
55
+ metrics: { 'type': 'array', 'itemType': AgentDataSemanticsMetric },
56
+ text: AgentDataSemanticsText,
57
+ };
58
+ }
59
+
60
+ validate() {
61
+ if(Array.isArray(this.examples)) {
62
+ $dara.Model.validateArray(this.examples);
63
+ }
64
+ if(Array.isArray(this.joins)) {
65
+ $dara.Model.validateArray(this.joins);
66
+ }
67
+ if(Array.isArray(this.metrics)) {
68
+ $dara.Model.validateArray(this.metrics);
69
+ }
70
+ if(this.text && typeof (this.text as any).validate === 'function') {
71
+ (this.text as any).validate();
72
+ }
73
+ super.validate();
74
+ }
75
+
76
+ constructor(map?: { [key: string]: any }) {
77
+ super(map);
78
+ }
79
+ }
80
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { SaveAgentDataSemanticsResponseBody } from "./SaveAgentDataSemanticsResponseBody";
4
+
5
+
6
+ export class SaveAgentDataSemanticsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: SaveAgentDataSemanticsResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: SaveAgentDataSemanticsResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,77 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SaveAgentDataSemanticsResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The response code of the operation.
9
+ *
10
+ * @example
11
+ * Success
12
+ */
13
+ code?: string;
14
+ /**
15
+ * @remarks
16
+ * The update result. If the save is successful, an empty object is returned with no additional business fields. If none of the four knowledge categories are specified, the target state is all four categories empty: if a non-empty current version exists, an all-empty version is published. If the current version is already all empty or no current version exists, the operation succeeds idempotently and the current round of pending generation results is finalized.
17
+ *
18
+ * @example
19
+ * {}
20
+ */
21
+ data?: { [key: string]: any };
22
+ /**
23
+ * @remarks
24
+ * The response message. If the call fails, an error message is returned.
25
+ *
26
+ * @example
27
+ * Invalid data semantics request.
28
+ */
29
+ message?: string;
30
+ /**
31
+ * @remarks
32
+ * The unique identifier that Alibaba Cloud generates for the request.
33
+ *
34
+ * @example
35
+ * 5DAF96FB-A4DF-548C-B8A1-F2A8D2F4****
36
+ */
37
+ requestId?: string;
38
+ /**
39
+ * @remarks
40
+ * Indicates whether the call is successful.
41
+ *
42
+ * @example
43
+ * true
44
+ */
45
+ success?: boolean;
46
+ static names(): { [key: string]: string } {
47
+ return {
48
+ code: 'Code',
49
+ data: 'Data',
50
+ message: 'Message',
51
+ requestId: 'RequestId',
52
+ success: 'Success',
53
+ };
54
+ }
55
+
56
+ static types(): { [key: string]: any } {
57
+ return {
58
+ code: 'string',
59
+ data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
60
+ message: 'string',
61
+ requestId: 'string',
62
+ success: 'boolean',
63
+ };
64
+ }
65
+
66
+ validate() {
67
+ if(this.data) {
68
+ $dara.Model.validateMap(this.data);
69
+ }
70
+ super.validate();
71
+ }
72
+
73
+ constructor(map?: { [key: string]: any }) {
74
+ super(map);
75
+ }
76
+ }
77
+
@@ -0,0 +1,64 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SaveAgentDataSemanticsShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The name of the agent.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * bakehouse_agent
14
+ */
15
+ agentName?: string;
16
+ /**
17
+ * @remarks
18
+ * The SQL example knowledge. If this parameter is specified, the current content is saved. If this parameter is not specified, the existing content is cleared. A maximum of 50 entries are supported, and the maximum size of each knowledge category is 16 KB.
19
+ */
20
+ examplesShrink?: string;
21
+ /**
22
+ * @remarks
23
+ * The data association knowledge. If this parameter is specified, the current content is saved. If this parameter is not specified, the existing content is cleared. A maximum of 100 entries are supported, and the maximum size of each knowledge category is 16 KB.
24
+ */
25
+ joinsShrink?: string;
26
+ /**
27
+ * @remarks
28
+ * The SQL expression knowledge. If this parameter is specified, the current content is saved. If this parameter is not specified, the existing content is cleared. A maximum of 100 entries are supported, and the maximum size of each knowledge category is 16 KB.
29
+ */
30
+ metricsShrink?: string;
31
+ /**
32
+ * @remarks
33
+ * The text knowledge in Markdown format. If this parameter is specified, the current content is saved. If this parameter is not specified, the existing content is cleared. The maximum size of each knowledge category is 16 KB.
34
+ */
35
+ textShrink?: string;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ agentName: 'AgentName',
39
+ examplesShrink: 'Examples',
40
+ joinsShrink: 'Joins',
41
+ metricsShrink: 'Metrics',
42
+ textShrink: 'Text',
43
+ };
44
+ }
45
+
46
+ static types(): { [key: string]: any } {
47
+ return {
48
+ agentName: 'string',
49
+ examplesShrink: 'string',
50
+ joinsShrink: 'string',
51
+ metricsShrink: 'string',
52
+ textShrink: 'string',
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
@@ -3,20 +3,80 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class SourceJDBCParameters extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The maximum number of rows returned per query. Default value: 1000. Maximum value: 10000.
9
+ */
6
10
  batchSize?: number;
11
+ /**
12
+ * @remarks
13
+ * The custom SQL query statement (advanced mode). This parameter is mutually exclusive with TableName.
14
+ */
7
15
  customQuery?: string;
16
+ /**
17
+ * @remarks
18
+ * The incrementing column name. Required when QueryMode is set to `incrementing` or `timestamp_incrementing`.
19
+ */
8
20
  incrementingColumn?: string;
21
+ /**
22
+ * @remarks
23
+ * The JDBC connection URL. ClickHouse example: `jdbc:clickhouse://host:8123/database`; MySQL example: `jdbc:mysql://host:3306/database`. The system automatically identifies the database type.
24
+ */
9
25
  jdbcUrl?: string;
26
+ /**
27
+ * @remarks
28
+ * The network type. Valid values: `PublicNetwork` (public network); `PrivateNetwork` (VPC private network, requires VpcId, VSwitchIds, and SecurityGroupId to be configured).
29
+ */
10
30
  network?: string;
31
+ /**
32
+ * @remarks
33
+ * The database password.
34
+ */
11
35
  password?: string;
36
+ /**
37
+ * @remarks
38
+ * The polling interval, in seconds. Minimum value: 10. Default value: 60.
39
+ */
12
40
  pollingInterval?: number;
41
+ /**
42
+ * @remarks
43
+ * The query mode. Valid values: `bulk` (full query); `incrementing` (incrementing column tracking); `timestamp` (timestamp tracking); `timestamp_incrementing` (timestamp and incrementing column dual tracking).
44
+ */
13
45
  queryMode?: string;
46
+ /**
47
+ * @remarks
48
+ * The SQL query timeout period, in seconds. Default value: 30. Maximum value: 300.
49
+ */
14
50
  queryTimeout?: number;
51
+ /**
52
+ * @remarks
53
+ * The security group ID. Required when Network is set to PrivateNetwork.
54
+ */
15
55
  securityGroupId?: string;
56
+ /**
57
+ * @remarks
58
+ * The target table name. This parameter is mutually exclusive with CustomQuery. Required when custom SQL is not used.
59
+ */
16
60
  tableName?: string;
61
+ /**
62
+ * @remarks
63
+ * The timestamp column name. Required when QueryMode is set to `timestamp` or `timestamp_incrementing`.
64
+ */
17
65
  timestampColumn?: string;
66
+ /**
67
+ * @remarks
68
+ * The database username.
69
+ */
18
70
  username?: string;
71
+ /**
72
+ * @remarks
73
+ * The vSwitch ID. Required when Network is set to PrivateNetwork.
74
+ */
19
75
  vSwitchIds?: string;
76
+ /**
77
+ * @remarks
78
+ * The VPC ID. Required when Network is set to PrivateNetwork.
79
+ */
20
80
  vpcId?: string;
21
81
  static names(): { [key: string]: string } {
22
82
  return {
@@ -97,7 +97,7 @@ export class Table extends $dara.Model {
97
97
  * The column definition list of the table. Each column contains Name (column name), Type (data type), and Comment (remarks)
98
98
  *
99
99
  * @example
100
- * [{"Name":"id","Type":"bigint","Comment":"主键"}]
100
+ * [{"Name":"id","Type":"bigint","Comment":"Primary key"}]
101
101
  */
102
102
  columns?: TableColumns[];
103
103
  /**
@@ -125,7 +125,7 @@ export class UpdateConnectionRequestAuthParametersOAuthParametersClientParameter
125
125
  export class UpdateConnectionRequestAuthParametersOAuthParametersOAuthHttpParametersBodyParameters extends $dara.Model {
126
126
  /**
127
127
  * @remarks
128
- * Specifies whether the parameter is used for authentication.
128
+ * Specifies whether the value is used for authentication.
129
129
  *
130
130
  * @example
131
131
  * false
@@ -175,7 +175,7 @@ export class UpdateConnectionRequestAuthParametersOAuthParametersOAuthHttpParame
175
175
  export class UpdateConnectionRequestAuthParametersOAuthParametersOAuthHttpParametersHeaderParameters extends $dara.Model {
176
176
  /**
177
177
  * @remarks
178
- * Specifies whether the parameter is used for authentication.
178
+ * Specifies whether the value is used for authentication.
179
179
  *
180
180
  * @example
181
181
  * false
@@ -183,7 +183,7 @@ export class UpdateConnectionRequestAuthParametersOAuthParametersOAuthHttpParame
183
183
  isValueSecret?: string;
184
184
  /**
185
185
  * @remarks
186
- * The key of the request header parameter.
186
+ * The key of the header parameter.
187
187
  *
188
188
  * @example
189
189
  * name
@@ -191,7 +191,7 @@ export class UpdateConnectionRequestAuthParametersOAuthParametersOAuthHttpParame
191
191
  key?: string;
192
192
  /**
193
193
  * @remarks
194
- * The value of the request header parameter.
194
+ * The value of the header parameter.
195
195
  *
196
196
  * @example
197
197
  * demo
@@ -225,7 +225,7 @@ export class UpdateConnectionRequestAuthParametersOAuthParametersOAuthHttpParame
225
225
  export class UpdateConnectionRequestAuthParametersOAuthParametersOAuthHttpParametersQueryStringParameters extends $dara.Model {
226
226
  /**
227
227
  * @remarks
228
- * Specifies whether the parameter is used for authentication.
228
+ * Specifies whether the value is used for authentication.
229
229
  *
230
230
  * @example
231
231
  * false
@@ -233,7 +233,7 @@ export class UpdateConnectionRequestAuthParametersOAuthParametersOAuthHttpParame
233
233
  isValueSecret?: string;
234
234
  /**
235
235
  * @remarks
236
- * The key of the request query parameter.
236
+ * The key of the URI of the request path parameter.
237
237
  *
238
238
  * @example
239
239
  * name
@@ -241,7 +241,7 @@ export class UpdateConnectionRequestAuthParametersOAuthParametersOAuthHttpParame
241
241
  key?: string;
242
242
  /**
243
243
  * @remarks
244
- * The value of the request query parameter.
244
+ * The value of the URI of the request path parameter.
245
245
  *
246
246
  * @example
247
247
  * demo
@@ -275,17 +275,17 @@ export class UpdateConnectionRequestAuthParametersOAuthParametersOAuthHttpParame
275
275
  export class UpdateConnectionRequestAuthParametersOAuthParametersOAuthHttpParameters extends $dara.Model {
276
276
  /**
277
277
  * @remarks
278
- * The list of data structures for body request parameters.
278
+ * The list of body request parameter data structures.
279
279
  */
280
280
  bodyParameters?: UpdateConnectionRequestAuthParametersOAuthParametersOAuthHttpParametersBodyParameters[];
281
281
  /**
282
282
  * @remarks
283
- * The list of request header parameters.
283
+ * The list of header parameter data structures.
284
284
  */
285
285
  headerParameters?: UpdateConnectionRequestAuthParametersOAuthParametersOAuthHttpParametersHeaderParameters[];
286
286
  /**
287
287
  * @remarks
288
- * The data structure of request query parameters.
288
+ * The data structure of the URI of the request path parameters.
289
289
  */
290
290
  queryStringParameters?: UpdateConnectionRequestAuthParametersOAuthParametersOAuthHttpParametersQueryStringParameters[];
291
291
  static names(): { [key: string]: string } {
@@ -325,7 +325,7 @@ export class UpdateConnectionRequestAuthParametersOAuthParametersOAuthHttpParame
325
325
  export class UpdateConnectionRequestAuthParametersOAuthParameters extends $dara.Model {
326
326
  /**
327
327
  * @remarks
328
- * The request URL for obtaining the OAuth token. The maximum length is 127 characters.
328
+ * The request URL for obtaining the OAuth token. Maximum length: 127 characters.
329
329
  *
330
330
  * @example
331
331
  * http://localhost:8080/oauth/token
@@ -333,12 +333,12 @@ export class UpdateConnectionRequestAuthParametersOAuthParameters extends $dara.
333
333
  authorizationEndpoint?: string;
334
334
  /**
335
335
  * @remarks
336
- * The data structure of the client parameters.
336
+ * The data structure for client parameters.
337
337
  */
338
338
  clientParameters?: UpdateConnectionRequestAuthParametersOAuthParametersClientParameters;
339
339
  /**
340
340
  * @remarks
341
- * The HTTP request method. Valid values:
341
+ * The HTTP method for the probe request. Valid values:
342
342
  *
343
343
  * - GET
344
344
  * - POST
@@ -392,18 +392,18 @@ export class UpdateConnectionRequestAuthParametersOAuthParameters extends $dara.
392
392
  export class UpdateConnectionRequestAuthParameters extends $dara.Model {
393
393
  /**
394
394
  * @remarks
395
- * The data structure of API Key authentication.
395
+ * The data structure for API Key authentication.
396
396
  */
397
397
  apiKeyAuthParameters?: UpdateConnectionRequestAuthParametersApiKeyAuthParameters;
398
398
  /**
399
399
  * @remarks
400
- * The authentication type. Valid values:
400
+ * The authentication type:
401
401
  *
402
- * - BASIC: BASIC_AUTH. This authorization method is the basic authentication method implemented by browsers in compliance with the HTTP protocol. During communication using the HTTP protocol, the HTTP protocol defines basic authentication that allows the HTTP server to authenticate the user identity of the client. Add Authorization: Basic followed by one space and the Base64-encoded value of `username:password` to the request header in a fixed format. Username and Password are required.
402
+ * - BASIC: BASIC_AUTH. This authorization method is a basic authorization method implemented by browsers in compliance with the HTTP protocol. During HTTP communication, the HTTP protocol defines a basic authentication method that allows HTTP servers to verify client identities. Add Authorization: Basic Base64-encoded(`username:password`) in the request header in a fixed format. Username and Password are required.
403
403
  *
404
- * - API KEY: API_KEY_AUTH. Add Token: TokenValue to the request header in a fixed format. ApiKeyName and ApiKeyValue are required.
404
+ * - API KEY: API_KEY_AUTH. Add Token: token value in the request header in a fixed format. ApiKeyName and ApiKeyValue are required.
405
405
  *
406
- * - OAUTH: OAUTH_AUTH. OAuth 2.0 is an authorization mechanism. In normal cases, in a system that does not use an authorization mechanism such as OAuth 2.0, the client can directly access resources on the resource server. To ensure secure data access for users, the Access Token mechanism is added between the client and the resource server. The client must carry an Access Token to access protected resources. Therefore, OAuth 2.0 prevents resources from being accessed by malicious clients, thereby improving the security of the system. AuthorizationEndpoint, OAuthHttpParameters, and HttpMethod are required.
406
+ * - OAUTH: OAUTH_AUTH. OAuth 2.0 is an authorization mechanism. Normally, without an authorization mechanism such as OAuth 2.0, clients can directly access resources on the resource server. To ensure secure data access, an Access Token mechanism is added. Clients must carry an Access Token to access protected resources. OAuth 2.0 prevents resources from being accessed by malicious clients, thereby improving system security. AuthorizationEndpoint, OAuthHttpParameters, and HttpMethod are required.
407
407
  *
408
408
  * @example
409
409
  * BASIC_AUTH
@@ -411,12 +411,12 @@ export class UpdateConnectionRequestAuthParameters extends $dara.Model {
411
411
  authorizationType?: string;
412
412
  /**
413
413
  * @remarks
414
- * The data structure of Basic authentication.
414
+ * The data structure for Basic authentication.
415
415
  */
416
416
  basicAuthParameters?: UpdateConnectionRequestAuthParametersBasicAuthParameters;
417
417
  /**
418
418
  * @remarks
419
- * The data structure of the OAuth authentication parameters.
419
+ * The data structure for OAuth authentication parameters.
420
420
  */
421
421
  OAuthParameters?: UpdateConnectionRequestAuthParametersOAuthParameters;
422
422
  static names(): { [key: string]: string } {
@@ -460,10 +460,10 @@ export class UpdateConnectionRequestNetworkParameters extends $dara.Model {
460
460
  * @remarks
461
461
  * - Public network: PublicNetwork
462
462
  *
463
- * - Virtual Private Cloud (VPC): PrivateNetwork
463
+ * - Virtual private cloud (VPC): PrivateNetwork
464
464
  *
465
465
  *
466
- * > When you select PrivateNetwork, VpcId, VswitcheId, and SecurityGroupId are required.
466
+ * > If you select PrivateNetwork, VpcId, VswitcheId, and SecurityGroupId are required.
467
467
  *
468
468
  * This parameter is required.
469
469
  *
@@ -473,7 +473,7 @@ export class UpdateConnectionRequestNetworkParameters extends $dara.Model {
473
473
  networkType?: string;
474
474
  /**
475
475
  * @remarks
476
- * The ID of the security group.
476
+ * The security group ID.
477
477
  *
478
478
  * @example
479
479
  * eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9rtyb
@@ -525,12 +525,12 @@ export class UpdateConnectionRequestNetworkParameters extends $dara.Model {
525
525
  export class UpdateConnectionRequest extends $dara.Model {
526
526
  /**
527
527
  * @remarks
528
- * The data structure of the authentication parameters.
528
+ * The authentication data structure.
529
529
  */
530
530
  authParameters?: UpdateConnectionRequestAuthParameters;
531
531
  /**
532
532
  * @remarks
533
- * The name of the connection to be updated. The maximum length is 127 characters. The minimum length is 2 characters.
533
+ * The name of the connection to update. Maximum length: 127 characters. Minimum length: 2 characters.
534
534
  *
535
535
  * This parameter is required.
536
536
  *
@@ -540,7 +540,7 @@ export class UpdateConnectionRequest extends $dara.Model {
540
540
  connectionName?: string;
541
541
  /**
542
542
  * @remarks
543
- * The description. The maximum length is 255 characters.
543
+ * The description. Maximum length: 255 characters.
544
544
  *
545
545
  * @example
546
546
  * Description of the connection configuration
@@ -555,7 +555,7 @@ export class UpdateConnectionRequest extends $dara.Model {
555
555
  networkParameters?: UpdateConnectionRequestNetworkParameters;
556
556
  /**
557
557
  * @remarks
558
- * The data source connection parameters (JSON object). For specific field definitions, call the GetConnectionType API and refer to the ParamsSchema in the response.
558
+ * The data source connection parameters (JSON object). For specific field definitions, call the GetConnectionType operation and refer to ParamsSchema in the response.
559
559
  *
560
560
  * @example
561
561
  * {"HostName":"xxx.mysql.rds.aliyuncs.com","Port":"3306","User":"root","Password":"xxx","DatabaseName":"demo_db"}
@@ -563,7 +563,7 @@ export class UpdateConnectionRequest extends $dara.Model {
563
563
  parameters?: any;
564
564
  /**
565
565
  * @remarks
566
- * The connection type. Valid values: MySQL, PostgreSQL, Elasticsearch, and Http.
566
+ * The connection type. Valid values: MySQL, PostgreSQL, Elasticsearch, OSS_TABLES, SLS, OTS, MaxCompute, MongoDB, Redis, SQLServer, ClickHouse, Oracle, Hive, Iceberg, lakehouse, Http.
567
567
  *
568
568
  * @example
569
569
  * Http
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateConnectionResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The API status code or POP error code. Description: 200 indicates success.
8
+ * The API status or POP error code. Valid values: 200: Success.
9
9
  *
10
10
  * @example
11
11
  * 200
@@ -21,7 +21,7 @@ export class UpdateConnectionResponseBody extends $dara.Model {
21
21
  message?: string;
22
22
  /**
23
23
  * @remarks
24
- * The ID of the request.
24
+ * The request ID.
25
25
  *
26
26
  * @example
27
27
  * 8346BE8F-40F3-533D-A0B8-1359C31BD5BA
@@ -5,12 +5,12 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateConnectionShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The data structure of the authentication parameters.
8
+ * The authentication data structure.
9
9
  */
10
10
  authParametersShrink?: string;
11
11
  /**
12
12
  * @remarks
13
- * The name of the connection to be updated. The maximum length is 127 characters. The minimum length is 2 characters.
13
+ * The name of the connection to update. Maximum length: 127 characters. Minimum length: 2 characters.
14
14
  *
15
15
  * This parameter is required.
16
16
  *
@@ -20,7 +20,7 @@ export class UpdateConnectionShrinkRequest extends $dara.Model {
20
20
  connectionName?: string;
21
21
  /**
22
22
  * @remarks
23
- * The description. The maximum length is 255 characters.
23
+ * The description. Maximum length: 255 characters.
24
24
  *
25
25
  * @example
26
26
  * Description of the connection configuration
@@ -35,7 +35,7 @@ export class UpdateConnectionShrinkRequest extends $dara.Model {
35
35
  networkParametersShrink?: string;
36
36
  /**
37
37
  * @remarks
38
- * The data source connection parameters (JSON object). For specific field definitions, call the GetConnectionType API and refer to the ParamsSchema in the response.
38
+ * The data source connection parameters (JSON object). For specific field definitions, call the GetConnectionType operation and refer to ParamsSchema in the response.
39
39
  *
40
40
  * @example
41
41
  * {"HostName":"xxx.mysql.rds.aliyuncs.com","Port":"3306","User":"root","Password":"xxx","DatabaseName":"demo_db"}
@@ -43,7 +43,7 @@ export class UpdateConnectionShrinkRequest extends $dara.Model {
43
43
  parametersShrink?: string;
44
44
  /**
45
45
  * @remarks
46
- * The connection type. Valid values: MySQL, PostgreSQL, Elasticsearch, and Http.
46
+ * The connection type. Valid values: MySQL, PostgreSQL, Elasticsearch, OSS_TABLES, SLS, OTS, MaxCompute, MongoDB, Redis, SQLServer, ClickHouse, Oracle, Hive, Iceberg, lakehouse, Http.
47
47
  *
48
48
  * @example
49
49
  * Http