@alicloud/cms20240330 9.0.0 → 9.1.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 (73) hide show
  1. package/dist/client.d.ts +90 -0
  2. package/dist/client.js +233 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreatePipelineRequest.d.ts +213 -0
  5. package/dist/models/CreatePipelineRequest.js +291 -0
  6. package/dist/models/CreatePipelineRequest.js.map +1 -0
  7. package/dist/models/CreatePipelineResponse.d.ts +19 -0
  8. package/dist/models/CreatePipelineResponse.js +69 -0
  9. package/dist/models/CreatePipelineResponse.js.map +1 -0
  10. package/dist/models/CreatePipelineResponseBody.d.ts +18 -0
  11. package/dist/models/CreatePipelineResponseBody.js +58 -0
  12. package/dist/models/CreatePipelineResponseBody.js.map +1 -0
  13. package/dist/models/DeletePipelineRequest.d.ts +13 -0
  14. package/dist/models/DeletePipelineRequest.js +54 -0
  15. package/dist/models/DeletePipelineRequest.js.map +1 -0
  16. package/dist/models/DeletePipelineResponse.d.ts +19 -0
  17. package/dist/models/DeletePipelineResponse.js +69 -0
  18. package/dist/models/DeletePipelineResponse.js.map +1 -0
  19. package/dist/models/DeletePipelineResponseBody.d.ts +18 -0
  20. package/dist/models/DeletePipelineResponseBody.js +58 -0
  21. package/dist/models/DeletePipelineResponseBody.js.map +1 -0
  22. package/dist/models/GetPipelineRequest.d.ts +13 -0
  23. package/dist/models/GetPipelineRequest.js +54 -0
  24. package/dist/models/GetPipelineRequest.js.map +1 -0
  25. package/dist/models/GetPipelineResponse.d.ts +19 -0
  26. package/dist/models/GetPipelineResponse.js +69 -0
  27. package/dist/models/GetPipelineResponse.js.map +1 -0
  28. package/dist/models/GetPipelineResponseBody.d.ts +239 -0
  29. package/dist/models/GetPipelineResponseBody.js +299 -0
  30. package/dist/models/GetPipelineResponseBody.js.map +1 -0
  31. package/dist/models/ListPipelinesRequest.d.ts +28 -0
  32. package/dist/models/ListPipelinesRequest.js +62 -0
  33. package/dist/models/ListPipelinesRequest.js.map +1 -0
  34. package/dist/models/ListPipelinesResponse.d.ts +19 -0
  35. package/dist/models/ListPipelinesResponse.js +69 -0
  36. package/dist/models/ListPipelinesResponse.js.map +1 -0
  37. package/dist/models/ListPipelinesResponseBody.d.ts +80 -0
  38. package/dist/models/ListPipelinesResponseBody.js +96 -0
  39. package/dist/models/ListPipelinesResponseBody.js.map +1 -0
  40. package/dist/models/QueryConfigUnified.d.ts +1 -0
  41. package/dist/models/QueryConfigUnified.js +2 -0
  42. package/dist/models/QueryConfigUnified.js.map +1 -1
  43. package/dist/models/UpdatePipelineRequest.d.ts +203 -0
  44. package/dist/models/UpdatePipelineRequest.js +287 -0
  45. package/dist/models/UpdatePipelineRequest.js.map +1 -0
  46. package/dist/models/UpdatePipelineResponse.d.ts +19 -0
  47. package/dist/models/UpdatePipelineResponse.js +69 -0
  48. package/dist/models/UpdatePipelineResponse.js.map +1 -0
  49. package/dist/models/UpdatePipelineResponseBody.d.ts +18 -0
  50. package/dist/models/UpdatePipelineResponseBody.js +58 -0
  51. package/dist/models/UpdatePipelineResponseBody.js.map +1 -0
  52. package/dist/models/model.d.ts +43 -0
  53. package/dist/models/model.js +100 -14
  54. package/dist/models/model.js.map +1 -1
  55. package/package.json +1 -1
  56. package/src/client.ts +257 -0
  57. package/src/models/CreatePipelineRequest.ts +376 -0
  58. package/src/models/CreatePipelineResponse.ts +40 -0
  59. package/src/models/CreatePipelineResponseBody.ts +31 -0
  60. package/src/models/DeletePipelineRequest.ts +24 -0
  61. package/src/models/DeletePipelineResponse.ts +40 -0
  62. package/src/models/DeletePipelineResponseBody.ts +31 -0
  63. package/src/models/GetPipelineRequest.ts +24 -0
  64. package/src/models/GetPipelineResponse.ts +40 -0
  65. package/src/models/GetPipelineResponseBody.ts +410 -0
  66. package/src/models/ListPipelinesRequest.ts +45 -0
  67. package/src/models/ListPipelinesResponse.ts +40 -0
  68. package/src/models/ListPipelinesResponseBody.ts +122 -0
  69. package/src/models/QueryConfigUnified.ts +3 -0
  70. package/src/models/UpdatePipelineRequest.ts +362 -0
  71. package/src/models/UpdatePipelineResponse.ts +40 -0
  72. package/src/models/UpdatePipelineResponseBody.ts +31 -0
  73. package/src/models/model.ts +43 -0
@@ -0,0 +1,410 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetPipelineResponseBodyExecutePolicyRunOnce extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1772519013
9
+ */
10
+ fromTime?: number;
11
+ /**
12
+ * @example
13
+ * 1772519013
14
+ */
15
+ toTime?: number;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ fromTime: 'fromTime',
19
+ toTime: 'toTime',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ fromTime: 'number',
26
+ toTime: 'number',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class GetPipelineResponseBodyExecutePolicyScheduled extends $dara.Model {
40
+ /**
41
+ * @example
42
+ * 1772519013
43
+ */
44
+ fromTime?: number;
45
+ /**
46
+ * @example
47
+ * 86400
48
+ */
49
+ interval?: string;
50
+ static names(): { [key: string]: string } {
51
+ return {
52
+ fromTime: 'fromTime',
53
+ interval: 'interval',
54
+ };
55
+ }
56
+
57
+ static types(): { [key: string]: any } {
58
+ return {
59
+ fromTime: 'number',
60
+ interval: 'string',
61
+ };
62
+ }
63
+
64
+ validate() {
65
+ super.validate();
66
+ }
67
+
68
+ constructor(map?: { [key: string]: any }) {
69
+ super(map);
70
+ }
71
+ }
72
+
73
+ export class GetPipelineResponseBodyExecutePolicy extends $dara.Model {
74
+ /**
75
+ * @example
76
+ * runOnce
77
+ */
78
+ mode?: string;
79
+ runOnce?: GetPipelineResponseBodyExecutePolicyRunOnce;
80
+ scheduled?: GetPipelineResponseBodyExecutePolicyScheduled;
81
+ static names(): { [key: string]: string } {
82
+ return {
83
+ mode: 'mode',
84
+ runOnce: 'runOnce',
85
+ scheduled: 'scheduled',
86
+ };
87
+ }
88
+
89
+ static types(): { [key: string]: any } {
90
+ return {
91
+ mode: 'string',
92
+ runOnce: GetPipelineResponseBodyExecutePolicyRunOnce,
93
+ scheduled: GetPipelineResponseBodyExecutePolicyScheduled,
94
+ };
95
+ }
96
+
97
+ validate() {
98
+ if(this.runOnce && typeof (this.runOnce as any).validate === 'function') {
99
+ (this.runOnce as any).validate();
100
+ }
101
+ if(this.scheduled && typeof (this.scheduled as any).validate === 'function') {
102
+ (this.scheduled as any).validate();
103
+ }
104
+ super.validate();
105
+ }
106
+
107
+ constructor(map?: { [key: string]: any }) {
108
+ super(map);
109
+ }
110
+ }
111
+
112
+ export class GetPipelineResponseBodyPipelineNodes extends $dara.Model {
113
+ /**
114
+ * @example
115
+ * node_1
116
+ */
117
+ id?: string;
118
+ parameters?: { [key: string]: any };
119
+ /**
120
+ * @example
121
+ * dedup-fuzzy
122
+ */
123
+ type?: string;
124
+ static names(): { [key: string]: string } {
125
+ return {
126
+ id: 'id',
127
+ parameters: 'parameters',
128
+ type: 'type',
129
+ };
130
+ }
131
+
132
+ static types(): { [key: string]: any } {
133
+ return {
134
+ id: 'string',
135
+ parameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
136
+ type: 'string',
137
+ };
138
+ }
139
+
140
+ validate() {
141
+ if(this.parameters) {
142
+ $dara.Model.validateMap(this.parameters);
143
+ }
144
+ super.validate();
145
+ }
146
+
147
+ constructor(map?: { [key: string]: any }) {
148
+ super(map);
149
+ }
150
+ }
151
+
152
+ export class GetPipelineResponseBodyPipeline extends $dara.Model {
153
+ nodes?: GetPipelineResponseBodyPipelineNodes[];
154
+ static names(): { [key: string]: string } {
155
+ return {
156
+ nodes: 'nodes',
157
+ };
158
+ }
159
+
160
+ static types(): { [key: string]: any } {
161
+ return {
162
+ nodes: { 'type': 'array', 'itemType': GetPipelineResponseBodyPipelineNodes },
163
+ };
164
+ }
165
+
166
+ validate() {
167
+ if(Array.isArray(this.nodes)) {
168
+ $dara.Model.validateArray(this.nodes);
169
+ }
170
+ super.validate();
171
+ }
172
+
173
+ constructor(map?: { [key: string]: any }) {
174
+ super(map);
175
+ }
176
+ }
177
+
178
+ export class GetPipelineResponseBodySinkDataset extends $dara.Model {
179
+ /**
180
+ * @example
181
+ * dataset_1
182
+ */
183
+ dataset?: string;
184
+ /**
185
+ * @example
186
+ * workspace-test
187
+ */
188
+ workspace?: string;
189
+ static names(): { [key: string]: string } {
190
+ return {
191
+ dataset: 'dataset',
192
+ workspace: 'workspace',
193
+ };
194
+ }
195
+
196
+ static types(): { [key: string]: any } {
197
+ return {
198
+ dataset: 'string',
199
+ workspace: 'string',
200
+ };
201
+ }
202
+
203
+ validate() {
204
+ super.validate();
205
+ }
206
+
207
+ constructor(map?: { [key: string]: any }) {
208
+ super(map);
209
+ }
210
+ }
211
+
212
+ export class GetPipelineResponseBodySink extends $dara.Model {
213
+ dataset?: GetPipelineResponseBodySinkDataset;
214
+ /**
215
+ * @example
216
+ * dataset
217
+ */
218
+ type?: string;
219
+ static names(): { [key: string]: string } {
220
+ return {
221
+ dataset: 'dataset',
222
+ type: 'type',
223
+ };
224
+ }
225
+
226
+ static types(): { [key: string]: any } {
227
+ return {
228
+ dataset: GetPipelineResponseBodySinkDataset,
229
+ type: 'string',
230
+ };
231
+ }
232
+
233
+ validate() {
234
+ if(this.dataset && typeof (this.dataset as any).validate === 'function') {
235
+ (this.dataset as any).validate();
236
+ }
237
+ super.validate();
238
+ }
239
+
240
+ constructor(map?: { [key: string]: any }) {
241
+ super(map);
242
+ }
243
+ }
244
+
245
+ export class GetPipelineResponseBodySourceLogstore extends $dara.Model {
246
+ /**
247
+ * @example
248
+ * test-logstore
249
+ */
250
+ logstore?: string;
251
+ /**
252
+ * @example
253
+ * test-project
254
+ */
255
+ project?: string;
256
+ static names(): { [key: string]: string } {
257
+ return {
258
+ logstore: 'logstore',
259
+ project: 'project',
260
+ };
261
+ }
262
+
263
+ static types(): { [key: string]: any } {
264
+ return {
265
+ logstore: 'string',
266
+ project: 'string',
267
+ };
268
+ }
269
+
270
+ validate() {
271
+ super.validate();
272
+ }
273
+
274
+ constructor(map?: { [key: string]: any }) {
275
+ super(map);
276
+ }
277
+ }
278
+
279
+ export class GetPipelineResponseBodySource extends $dara.Model {
280
+ logstore?: GetPipelineResponseBodySourceLogstore;
281
+ /**
282
+ * @example
283
+ * logstore
284
+ */
285
+ type?: string;
286
+ static names(): { [key: string]: string } {
287
+ return {
288
+ logstore: 'logstore',
289
+ type: 'type',
290
+ };
291
+ }
292
+
293
+ static types(): { [key: string]: any } {
294
+ return {
295
+ logstore: GetPipelineResponseBodySourceLogstore,
296
+ type: 'string',
297
+ };
298
+ }
299
+
300
+ validate() {
301
+ if(this.logstore && typeof (this.logstore as any).validate === 'function') {
302
+ (this.logstore as any).validate();
303
+ }
304
+ super.validate();
305
+ }
306
+
307
+ constructor(map?: { [key: string]: any }) {
308
+ super(map);
309
+ }
310
+ }
311
+
312
+ export class GetPipelineResponseBody extends $dara.Model {
313
+ /**
314
+ * @remarks
315
+ * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
316
+ *
317
+ * @example
318
+ * 2025-03-11T08:21:58Z
319
+ */
320
+ createTime?: string;
321
+ /**
322
+ * @example
323
+ * workspace test
324
+ */
325
+ description?: string;
326
+ executePolicy?: GetPipelineResponseBodyExecutePolicy;
327
+ pipeline?: GetPipelineResponseBodyPipeline;
328
+ /**
329
+ * @example
330
+ * pipeline-name-1
331
+ */
332
+ pipelineName?: string;
333
+ /**
334
+ * @example
335
+ * cn-hangzhou
336
+ */
337
+ regionId?: string;
338
+ /**
339
+ * @example
340
+ * 3430AE20-AFFF-597C-B553-2DF04B2933AA
341
+ */
342
+ requestId?: string;
343
+ sink?: GetPipelineResponseBodySink;
344
+ source?: GetPipelineResponseBodySource;
345
+ /**
346
+ * @remarks
347
+ * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
348
+ *
349
+ * @example
350
+ * 2026-02-06T14:09:11Z
351
+ */
352
+ updateTime?: string;
353
+ /**
354
+ * @example
355
+ * workspace-test
356
+ */
357
+ workspace?: string;
358
+ static names(): { [key: string]: string } {
359
+ return {
360
+ createTime: 'createTime',
361
+ description: 'description',
362
+ executePolicy: 'executePolicy',
363
+ pipeline: 'pipeline',
364
+ pipelineName: 'pipelineName',
365
+ regionId: 'regionId',
366
+ requestId: 'requestId',
367
+ sink: 'sink',
368
+ source: 'source',
369
+ updateTime: 'updateTime',
370
+ workspace: 'workspace',
371
+ };
372
+ }
373
+
374
+ static types(): { [key: string]: any } {
375
+ return {
376
+ createTime: 'string',
377
+ description: 'string',
378
+ executePolicy: GetPipelineResponseBodyExecutePolicy,
379
+ pipeline: GetPipelineResponseBodyPipeline,
380
+ pipelineName: 'string',
381
+ regionId: 'string',
382
+ requestId: 'string',
383
+ sink: GetPipelineResponseBodySink,
384
+ source: GetPipelineResponseBodySource,
385
+ updateTime: 'string',
386
+ workspace: 'string',
387
+ };
388
+ }
389
+
390
+ validate() {
391
+ if(this.executePolicy && typeof (this.executePolicy as any).validate === 'function') {
392
+ (this.executePolicy as any).validate();
393
+ }
394
+ if(this.pipeline && typeof (this.pipeline as any).validate === 'function') {
395
+ (this.pipeline as any).validate();
396
+ }
397
+ if(this.sink && typeof (this.sink as any).validate === 'function') {
398
+ (this.sink as any).validate();
399
+ }
400
+ if(this.source && typeof (this.source as any).validate === 'function') {
401
+ (this.source as any).validate();
402
+ }
403
+ super.validate();
404
+ }
405
+
406
+ constructor(map?: { [key: string]: any }) {
407
+ super(map);
408
+ }
409
+ }
410
+
@@ -0,0 +1,45 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListPipelinesRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 100
9
+ */
10
+ maxResults?: number;
11
+ /**
12
+ * @example
13
+ * fff3442dac1de7950f44d5afc0c735ebd12e27f603b21d17ec30cb1d5c735b1ba7c4fb3a1c124bce
14
+ */
15
+ nextToken?: string;
16
+ /**
17
+ * @example
18
+ * pipeline-name-1
19
+ */
20
+ pipelineName?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ maxResults: 'maxResults',
24
+ nextToken: 'nextToken',
25
+ pipelineName: 'pipelineName',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ maxResults: 'number',
32
+ nextToken: 'string',
33
+ pipelineName: 'string',
34
+ };
35
+ }
36
+
37
+ validate() {
38
+ super.validate();
39
+ }
40
+
41
+ constructor(map?: { [key: string]: any }) {
42
+ super(map);
43
+ }
44
+ }
45
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListPipelinesResponseBody } from "./ListPipelinesResponseBody";
4
+
5
+
6
+ export class ListPipelinesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListPipelinesResponseBody;
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: ListPipelinesResponseBody,
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,122 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
9
+ *
10
+ * @example
11
+ * 2026-02-28T07:14:17Z
12
+ */
13
+ createTime?: string;
14
+ /**
15
+ * @example
16
+ * test pipeline
17
+ */
18
+ description?: string;
19
+ /**
20
+ * @example
21
+ * pipeline-name-1
22
+ */
23
+ pipelineName?: string;
24
+ /**
25
+ * @example
26
+ * cn-hangzhou
27
+ */
28
+ regionId?: string;
29
+ /**
30
+ * @remarks
31
+ * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
32
+ *
33
+ * @example
34
+ * 2026-03-24T06:58:22Z
35
+ */
36
+ updateTime?: string;
37
+ /**
38
+ * @example
39
+ * workspace-test
40
+ */
41
+ workspace?: string;
42
+ static names(): { [key: string]: string } {
43
+ return {
44
+ createTime: 'createTime',
45
+ description: 'description',
46
+ pipelineName: 'pipelineName',
47
+ regionId: 'regionId',
48
+ updateTime: 'updateTime',
49
+ workspace: 'workspace',
50
+ };
51
+ }
52
+
53
+ static types(): { [key: string]: any } {
54
+ return {
55
+ createTime: 'string',
56
+ description: 'string',
57
+ pipelineName: 'string',
58
+ regionId: 'string',
59
+ updateTime: 'string',
60
+ workspace: 'string',
61
+ };
62
+ }
63
+
64
+ validate() {
65
+ super.validate();
66
+ }
67
+
68
+ constructor(map?: { [key: string]: any }) {
69
+ super(map);
70
+ }
71
+ }
72
+
73
+ export class ListPipelinesResponseBody extends $dara.Model {
74
+ /**
75
+ * @example
76
+ * 100
77
+ */
78
+ maxResults?: number;
79
+ /**
80
+ * @example
81
+ * 3f0d6785770d5fb308f0605d718d422a227c38f96117633678f029842acd19039329e8281583b3da7bc598dfc4c1973e
82
+ */
83
+ nextToken?: string;
84
+ pipelines?: ListPipelinesResponseBodyPipelines[];
85
+ /**
86
+ * @remarks
87
+ * Id of the request
88
+ *
89
+ * @example
90
+ * 0B9377D9-C56B-5C2E-A8A4-************
91
+ */
92
+ requestId?: string;
93
+ static names(): { [key: string]: string } {
94
+ return {
95
+ maxResults: 'maxResults',
96
+ nextToken: 'nextToken',
97
+ pipelines: 'pipelines',
98
+ requestId: 'requestId',
99
+ };
100
+ }
101
+
102
+ static types(): { [key: string]: any } {
103
+ return {
104
+ maxResults: 'number',
105
+ nextToken: 'string',
106
+ pipelines: { 'type': 'array', 'itemType': ListPipelinesResponseBodyPipelines },
107
+ requestId: 'string',
108
+ };
109
+ }
110
+
111
+ validate() {
112
+ if(Array.isArray(this.pipelines)) {
113
+ $dara.Model.validateArray(this.pipelines);
114
+ }
115
+ super.validate();
116
+ }
117
+
118
+ constructor(map?: { [key: string]: any }) {
119
+ super(map);
120
+ }
121
+ }
122
+
@@ -33,6 +33,7 @@ export class QueryConfigUnified extends $dara.Model {
33
33
  * 实体类型
34
34
  */
35
35
  entityType?: string;
36
+ expr?: string;
36
37
  /**
37
38
  * @remarks
38
39
  * APM 过滤条件列表
@@ -82,6 +83,7 @@ export class QueryConfigUnified extends $dara.Model {
82
83
  entityFields: 'entityFields',
83
84
  entityFilters: 'entityFilters',
84
85
  entityType: 'entityType',
86
+ expr: 'expr',
85
87
  filterList: 'filterList',
86
88
  labelFilters: 'labelFilters',
87
89
  measureList: 'measureList',
@@ -100,6 +102,7 @@ export class QueryConfigUnified extends $dara.Model {
100
102
  entityFields: { 'type': 'array', 'itemType': UmodelEntityField },
101
103
  entityFilters: { 'type': 'array', 'itemType': UmodelEntityFilter },
102
104
  entityType: 'string',
105
+ expr: 'string',
103
106
  filterList: { 'type': 'array', 'itemType': ApmFilterConfig },
104
107
  labelFilters: { 'type': 'array', 'itemType': UmodelLabelFilter },
105
108
  measureList: { 'type': 'array', 'itemType': ApmMeasureConfig },