@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,36 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetGenerateAgentDataSemanticsProgressRequest 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
+ static names(): { [key: string]: string } {
17
+ return {
18
+ agentName: 'AgentName',
19
+ };
20
+ }
21
+
22
+ static types(): { [key: string]: any } {
23
+ return {
24
+ agentName: 'string',
25
+ };
26
+ }
27
+
28
+ validate() {
29
+ super.validate();
30
+ }
31
+
32
+ constructor(map?: { [key: string]: any }) {
33
+ super(map);
34
+ }
35
+ }
36
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetGenerateAgentDataSemanticsProgressResponseBody } from "./GetGenerateAgentDataSemanticsProgressResponseBody";
4
+
5
+
6
+ export class GetGenerateAgentDataSemanticsProgressResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetGenerateAgentDataSemanticsProgressResponseBody;
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: GetGenerateAgentDataSemanticsProgressResponseBody,
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,179 @@
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 { AgentDataSemanticsStageProgress } from "./AgentDataSemanticsStageProgress";
7
+ import { AgentDataSemanticsText } from "./AgentDataSemanticsText";
8
+
9
+
10
+ export class GetGenerateAgentDataSemanticsProgressResponseBodyData extends $dara.Model {
11
+ /**
12
+ * @remarks
13
+ * The error code returned when the generation task fails.
14
+ *
15
+ * @example
16
+ * DataSemanticsGenerateFailed
17
+ */
18
+ errorCode?: string;
19
+ /**
20
+ * @remarks
21
+ * The error message returned when the generation task fails.
22
+ *
23
+ * @example
24
+ * Failed to generate data semantics. Please retry later.
25
+ */
26
+ errorMessage?: string;
27
+ /**
28
+ * @remarks
29
+ * The SQL example knowledge returned when the generation is complete. A maximum of 50 items can be returned.
30
+ */
31
+ examples?: AgentDataSemanticsExample[];
32
+ /**
33
+ * @remarks
34
+ * The data association knowledge returned when the generation is complete. A maximum of 100 items can be returned.
35
+ */
36
+ joins?: AgentDataSemanticsJoin[];
37
+ /**
38
+ * @remarks
39
+ * The SQL expression knowledge returned when the generation is complete. A maximum of 100 items can be returned.
40
+ */
41
+ metrics?: AgentDataSemanticsMetric[];
42
+ /**
43
+ * @remarks
44
+ * The four-phase stage progress. This parameter may not be returned when the overall generation is complete.
45
+ */
46
+ progress?: AgentDataSemanticsStageProgress[];
47
+ /**
48
+ * @remarks
49
+ * The current overall stage.
50
+ *
51
+ * @example
52
+ * GENERATE
53
+ */
54
+ stage?: string;
55
+ /**
56
+ * @remarks
57
+ * The Markdown text knowledge returned when the generation is complete.
58
+ */
59
+ text?: AgentDataSemanticsText;
60
+ static names(): { [key: string]: string } {
61
+ return {
62
+ errorCode: 'ErrorCode',
63
+ errorMessage: 'ErrorMessage',
64
+ examples: 'Examples',
65
+ joins: 'Joins',
66
+ metrics: 'Metrics',
67
+ progress: 'Progress',
68
+ stage: 'Stage',
69
+ text: 'Text',
70
+ };
71
+ }
72
+
73
+ static types(): { [key: string]: any } {
74
+ return {
75
+ errorCode: 'string',
76
+ errorMessage: 'string',
77
+ examples: { 'type': 'array', 'itemType': AgentDataSemanticsExample },
78
+ joins: { 'type': 'array', 'itemType': AgentDataSemanticsJoin },
79
+ metrics: { 'type': 'array', 'itemType': AgentDataSemanticsMetric },
80
+ progress: { 'type': 'array', 'itemType': AgentDataSemanticsStageProgress },
81
+ stage: 'string',
82
+ text: AgentDataSemanticsText,
83
+ };
84
+ }
85
+
86
+ validate() {
87
+ if(Array.isArray(this.examples)) {
88
+ $dara.Model.validateArray(this.examples);
89
+ }
90
+ if(Array.isArray(this.joins)) {
91
+ $dara.Model.validateArray(this.joins);
92
+ }
93
+ if(Array.isArray(this.metrics)) {
94
+ $dara.Model.validateArray(this.metrics);
95
+ }
96
+ if(Array.isArray(this.progress)) {
97
+ $dara.Model.validateArray(this.progress);
98
+ }
99
+ if(this.text && typeof (this.text as any).validate === 'function') {
100
+ (this.text as any).validate();
101
+ }
102
+ super.validate();
103
+ }
104
+
105
+ constructor(map?: { [key: string]: any }) {
106
+ super(map);
107
+ }
108
+ }
109
+
110
+ export class GetGenerateAgentDataSemanticsProgressResponseBody extends $dara.Model {
111
+ /**
112
+ * @remarks
113
+ * The response code of the operation.
114
+ *
115
+ * @example
116
+ * Success
117
+ */
118
+ code?: string;
119
+ /**
120
+ * @remarks
121
+ * The generation progress details. When the initial generation is complete, a full snapshot of the current generation round is returned. When regeneration is complete, the current Metrics, Joins, Examples, and new Text are returned. To discard a regeneration, first call Get to retrieve the current official version, and then call Save with the four types of content unchanged to idempotently clean up temporary results.
122
+ */
123
+ data?: GetGenerateAgentDataSemanticsProgressResponseBodyData;
124
+ /**
125
+ * @remarks
126
+ * The response message. If the request fails, an error message is returned.
127
+ *
128
+ * @example
129
+ * Data semantics generation task not found.
130
+ */
131
+ message?: string;
132
+ /**
133
+ * @remarks
134
+ * The unique identifier that Alibaba Cloud generates for the request.
135
+ *
136
+ * @example
137
+ * 5DAF96FB-A4DF-548C-B8A1-F2A8D2F4****
138
+ */
139
+ requestId?: string;
140
+ /**
141
+ * @remarks
142
+ * Indicates whether the call was successful.
143
+ *
144
+ * @example
145
+ * true
146
+ */
147
+ success?: boolean;
148
+ static names(): { [key: string]: string } {
149
+ return {
150
+ code: 'Code',
151
+ data: 'Data',
152
+ message: 'Message',
153
+ requestId: 'RequestId',
154
+ success: 'Success',
155
+ };
156
+ }
157
+
158
+ static types(): { [key: string]: any } {
159
+ return {
160
+ code: 'string',
161
+ data: GetGenerateAgentDataSemanticsProgressResponseBodyData,
162
+ message: 'string',
163
+ requestId: 'string',
164
+ success: 'boolean',
165
+ };
166
+ }
167
+
168
+ validate() {
169
+ if(this.data && typeof (this.data as any).validate === 'function') {
170
+ (this.data as any).validate();
171
+ }
172
+ super.validate();
173
+ }
174
+
175
+ constructor(map?: { [key: string]: any }) {
176
+ super(map);
177
+ }
178
+ }
179
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListCatalogsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Items per page
8
+ * The number of entries per page.
9
9
  *
10
10
  * @example
11
11
  * 10
@@ -13,7 +13,7 @@ export class ListCatalogsRequest extends $dara.Model {
13
13
  limit?: number;
14
14
  /**
15
15
  * @remarks
16
- * Pagination token
16
+ * The pagination token.
17
17
  *
18
18
  * @example
19
19
  * 0
@@ -6,12 +6,12 @@ import { Catalog } from "./Catalog";
6
6
  export class ListCatalogsResponseBodyData extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * Catalog list
9
+ * The list of catalogs.
10
10
  */
11
11
  catalogs?: Catalog[];
12
12
  /**
13
13
  * @remarks
14
- * Next page token
14
+ * The token for the next page.
15
15
  *
16
16
  * @example
17
17
  * 10
@@ -19,7 +19,7 @@ export class ListCatalogsResponseBodyData extends $dara.Model {
19
19
  nextToken?: string;
20
20
  /**
21
21
  * @remarks
22
- * Total count
22
+ * The total number of entries.
23
23
  *
24
24
  * @example
25
25
  * 1
@@ -56,7 +56,7 @@ export class ListCatalogsResponseBodyData extends $dara.Model {
56
56
  export class ListCatalogsResponseBody extends $dara.Model {
57
57
  /**
58
58
  * @remarks
59
- * Response code, 200 indicates success
59
+ * The response code. A value of 200 indicates success.
60
60
  *
61
61
  * @example
62
62
  * 200
@@ -64,12 +64,12 @@ export class ListCatalogsResponseBody extends $dara.Model {
64
64
  code?: string;
65
65
  /**
66
66
  * @remarks
67
- * Response data
67
+ * The response data.
68
68
  */
69
69
  data?: ListCatalogsResponseBodyData;
70
70
  /**
71
71
  * @remarks
72
- * Response message
72
+ * The response message.
73
73
  *
74
74
  * @example
75
75
  * Operation success
@@ -77,7 +77,7 @@ export class ListCatalogsResponseBody extends $dara.Model {
77
77
  message?: string;
78
78
  /**
79
79
  * @remarks
80
- * Request ID
80
+ * The request ID.
81
81
  *
82
82
  * @example
83
83
  * 34AD682D-5B91-5773-8132-AA38C130****
@@ -85,7 +85,7 @@ export class ListCatalogsResponseBody extends $dara.Model {
85
85
  requestId?: string;
86
86
  /**
87
87
  * @remarks
88
- * Whether the operation was successful
88
+ * Indicates whether the operation was successful.
89
89
  *
90
90
  * @example
91
91
  * true
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListConnectionsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The name prefix of the connection configurations to query. Supports prefix matching.
8
+ * The prefix of the connection configuration name. Supports fuzzy match by prefix.
9
9
  *
10
10
  * @example
11
11
  * connection-name
@@ -13,9 +13,9 @@ export class ListConnectionsRequest extends $dara.Model {
13
13
  connectionNamePrefix?: string;
14
14
  /**
15
15
  * @remarks
16
- * The maximum number of entries to return on each page. Can be used together with NextToken to implement pagination.
16
+ * The maximum number of entries to return per request. You can use this parameter together with NextToken to implement paging.
17
17
  *
18
- * - Default value: 10
18
+ * - Default value: 10.
19
19
  *
20
20
  * @example
21
21
  * 10
@@ -23,9 +23,9 @@ export class ListConnectionsRequest extends $dara.Model {
23
23
  maxResults?: number;
24
24
  /**
25
25
  * @remarks
26
- * When MaxResults is specified, NextToken is returned if there are more results to fetch.
26
+ * The pagination token. If the number of results exceeds the value of MaxResults, a NextToken value is returned.
27
27
  *
28
- * - NextToken starts from 0 by default. Default value: 0.
28
+ * - The NextToken value starts from 0. Default value: 0.
29
29
  *
30
30
  * @example
31
31
  * 0
@@ -33,7 +33,7 @@ export class ListConnectionsRequest extends $dara.Model {
33
33
  nextToken?: string;
34
34
  /**
35
35
  * @remarks
36
- * Filters query results by connection type. Valid values: Http, MySQL, PostgreSQL, Elasticsearch. If left empty, connections of all types are returned.
36
+ * Filters query results by connection type. Valid values: Http, MySQL, PostgreSQL, Elasticsearch, OSS_TABLES, SLS, OTS, MaxCompute, MongoDB, Redis, SQLServer, ClickHouse, Oracle, Hive, Iceberg, and lakehouse. If this parameter is not specified, all types are returned.
37
37
  *
38
38
  * @example
39
39
  * Http
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListConnectionsResponseBodyDataConnectionsAuthParametersApiKeyAuthParameters extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The key of the API key.
8
+ * The key name of the API key.
9
9
  *
10
10
  * @example
11
11
  * Token
@@ -45,7 +45,7 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersApiKeyAuthP
45
45
  export class ListConnectionsResponseBodyDataConnectionsAuthParametersBasicAuthParameters extends $dara.Model {
46
46
  /**
47
47
  * @remarks
48
- * The password used for basic authentication.
48
+ * The password for basic authentication.
49
49
  *
50
50
  * @example
51
51
  * admin
@@ -53,7 +53,7 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersBasicAuthPa
53
53
  password?: string;
54
54
  /**
55
55
  * @remarks
56
- * The username used for basic authentication.
56
+ * The username for basic authentication.
57
57
  *
58
58
  * @example
59
59
  * admin
@@ -125,7 +125,7 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParame
125
125
  export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParametersOAuthHttpParametersBodyParameters extends $dara.Model {
126
126
  /**
127
127
  * @remarks
128
- * Specifies whether the value is used for authentication.
128
+ * Indicates whether the value is a secret.
129
129
  *
130
130
  * @example
131
131
  * false
@@ -175,7 +175,7 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParame
175
175
  export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParametersOAuthHttpParametersHeaderParameters extends $dara.Model {
176
176
  /**
177
177
  * @remarks
178
- * Specifies whether the value is used for authentication.
178
+ * Indicates whether the value is a secret.
179
179
  *
180
180
  * @example
181
181
  * false
@@ -225,7 +225,7 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParame
225
225
  export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParametersOAuthHttpParametersQueryStringParameters extends $dara.Model {
226
226
  /**
227
227
  * @remarks
228
- * Specifies whether the value is used for authentication.
228
+ * Indicates whether the value is a secret.
229
229
  *
230
230
  * @example
231
231
  * false
@@ -233,7 +233,7 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParame
233
233
  isValueSecret?: string;
234
234
  /**
235
235
  * @remarks
236
- * The key of the query string 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 ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParame
241
241
  key?: string;
242
242
  /**
243
243
  * @remarks
244
- * The value of the query string 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 ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParame
275
275
  export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParametersOAuthHttpParameters extends $dara.Model {
276
276
  /**
277
277
  * @remarks
278
- * The list of request parameter data structures.
278
+ * The list of body request parameter data structures.
279
279
  */
280
280
  bodyParameters?: ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParametersOAuthHttpParametersBodyParameters[];
281
281
  /**
282
282
  * @remarks
283
- * The list of header parameters.
283
+ * The list of header parameter data structures.
284
284
  */
285
285
  headerParameters?: ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParametersOAuthHttpParametersHeaderParameters[];
286
286
  /**
287
287
  * @remarks
288
- * The data structure of query string parameters.
288
+ * The data structure of the URI of the request path parameters.
289
289
  */
290
290
  queryStringParameters?: ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParametersOAuthHttpParametersQueryStringParameters[];
291
291
  static names(): { [key: string]: string } {
@@ -338,7 +338,7 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParame
338
338
  clientParameters?: ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParametersClientParameters;
339
339
  /**
340
340
  * @remarks
341
- * The HTTP method used for the request. Valid values:
341
+ * The HTTP method for the probe request. Valid values:
342
342
  *
343
343
  * - GET
344
344
  * - POST
@@ -350,7 +350,7 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParame
350
350
  httpMethod?: string;
351
351
  /**
352
352
  * @remarks
353
- * The request parameters used for OAuth authentication.
353
+ * The HTTP request parameters for OAuth authentication.
354
354
  */
355
355
  OAuthHttpParameters?: ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParametersOAuthHttpParameters;
356
356
  static names(): { [key: string]: string } {
@@ -389,12 +389,12 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParame
389
389
  export class ListConnectionsResponseBodyDataConnectionsAuthParameters extends $dara.Model {
390
390
  /**
391
391
  * @remarks
392
- * The data structure of API key authentication parameters.
392
+ * The data structure of the API key.
393
393
  */
394
394
  apiKeyAuthParameters?: ListConnectionsResponseBodyDataConnectionsAuthParametersApiKeyAuthParameters;
395
395
  /**
396
396
  * @remarks
397
- * The authentication type. Valid values:
397
+ * The authorization type:
398
398
  *
399
399
  * - BASIC: BASIC_AUTH
400
400
  *
@@ -408,7 +408,7 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParameters extends $d
408
408
  authorizationType?: string;
409
409
  /**
410
410
  * @remarks
411
- * The data structure of basic authentication parameters.
411
+ * The data structure of basic authentication.
412
412
  */
413
413
  basicAuthParameters?: ListConnectionsResponseBodyDataConnectionsAuthParametersBasicAuthParameters;
414
414
  /**
@@ -517,7 +517,7 @@ export class ListConnectionsResponseBodyDataConnectionsNetworkParameters extends
517
517
  export class ListConnectionsResponseBodyDataConnections extends $dara.Model {
518
518
  /**
519
519
  * @remarks
520
- * The data structure of authentication parameters.
520
+ * The authentication data structure.
521
521
  */
522
522
  authParameters?: ListConnectionsResponseBodyDataConnectionsAuthParameters;
523
523
  /**
@@ -538,7 +538,7 @@ export class ListConnectionsResponseBodyDataConnections extends $dara.Model {
538
538
  description?: string;
539
539
  /**
540
540
  * @remarks
541
- * The timestamp when the data source was created.
541
+ * The timestamp when the datasource was created.
542
542
  *
543
543
  * @example
544
544
  * 1592838994234
@@ -559,7 +559,7 @@ export class ListConnectionsResponseBodyDataConnections extends $dara.Model {
559
559
  networkParameters?: ListConnectionsResponseBodyDataConnectionsNetworkParameters;
560
560
  /**
561
561
  * @remarks
562
- * The data source connection parameters (JSON object). This field is only returned for data source type connections and is empty for Http type. For field definitions, refer to the ParamsSchema returned by GetConnectionType.
562
+ * The datasource connection parameters (JSON object). This field is returned only for datasource-type connections and is empty for Http type. For field definitions, refer to the ParamsSchema returned by GetConnectionType.
563
563
  *
564
564
  * @example
565
565
  * {"HostName":"xxx.mysql.rds.aliyuncs.com","Port":"3306","User":"root","Password":"xxx","DatabaseName":"demo_db"}
@@ -567,7 +567,7 @@ export class ListConnectionsResponseBodyDataConnections extends $dara.Model {
567
567
  parameters?: any;
568
568
  /**
569
569
  * @remarks
570
- * The connection type. Valid values: Http, MySQL, PostgreSQL, Elasticsearch.
570
+ * The connection type. Valid values: Http, MySQL, PostgreSQL, Elasticsearch, OSS_TABLES, SLS, OTS, MaxCompute, MongoDB, Redis, SQLServer, ClickHouse, Oracle, Hive, Iceberg, and lakehouse.
571
571
  *
572
572
  * @example
573
573
  * Http
@@ -617,7 +617,7 @@ export class ListConnectionsResponseBodyDataConnections extends $dara.Model {
617
617
  export class ListConnectionsResponseBodyData extends $dara.Model {
618
618
  /**
619
619
  * @remarks
620
- * The list of returned connection configurations.
620
+ * The list of connection configurations.
621
621
  */
622
622
  connections?: ListConnectionsResponseBodyDataConnections[];
623
623
  /**
@@ -630,7 +630,7 @@ export class ListConnectionsResponseBodyData extends $dara.Model {
630
630
  maxResults?: number;
631
631
  /**
632
632
  * @remarks
633
- * If there are more results to fetch, NextToken is returned.
633
+ * The pagination token returned when additional results are available.
634
634
  *
635
635
  * @example
636
636
  * 0
@@ -685,7 +685,7 @@ export class ListConnectionsResponseBody extends $dara.Model {
685
685
  code?: string;
686
686
  /**
687
687
  * @remarks
688
- * The list of returned connection configurations.
688
+ * The list of connection configurations.
689
689
  */
690
690
  data?: ListConnectionsResponseBodyData;
691
691
  /**
@@ -698,7 +698,7 @@ export class ListConnectionsResponseBody extends $dara.Model {
698
698
  message?: string;
699
699
  /**
700
700
  * @remarks
701
- * Common parameter. The ID of each request is unique and can be used for troubleshooting and issue locating.
701
+ * The common parameter. The ID of the request. Each request has a unique ID, which is active for troubleshooting.
702
702
  *
703
703
  * @example
704
704
  * E3619976-8714-5D88-BBA2-6983D798A8BB
@@ -6,7 +6,7 @@ import { AskLumaResult } from "./AskLumaResult";
6
6
  export class PollAskResultResponseBody extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * The response code. Valid values:
9
+ * The API return code. Valid values:
10
10
  * - Success: The operation was successful.
11
11
  * - Other values: An error code was returned. For more information, see error codes.
12
12
  *