@alicloud/agentloop20260520 2.3.4 → 2.3.6
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.
- package/dist/client.d.ts +26 -20
- package/dist/client.js +29 -20
- package/dist/client.js.map +1 -1
- package/dist/models/ConnectorProperties.d.ts +64 -0
- package/dist/models/ConnectorProperties.js +6 -0
- package/dist/models/ConnectorProperties.js.map +1 -1
- package/dist/models/CreateAgentSpaceRequest.d.ts +12 -1
- package/dist/models/CreateAgentSpaceRequest.js.map +1 -1
- package/dist/models/CreateEvaluationTaskRequest.d.ts +7 -7
- package/dist/models/CreateEvaluatorRequest.d.ts +10 -11
- package/dist/models/CreateEvaluatorRequest.js.map +1 -1
- package/dist/models/CreateEvaluatorSkillRequest.d.ts +9 -9
- package/dist/models/CreateExperimentPlanRequest.d.ts +6 -6
- package/dist/models/CreateExperimentPlanResponseBody.d.ts +1 -1
- package/dist/models/CreateExperimentRunRequest.d.ts +7 -7
- package/dist/models/CreateExperimentRunResponseBody.d.ts +3 -3
- package/dist/models/DeleteExperimentPlanResponseBody.d.ts +1 -1
- package/dist/models/ExperimentConfig.d.ts +44 -0
- package/dist/models/ExperimentConfig.js +2 -0
- package/dist/models/ExperimentConfig.js.map +1 -1
- package/dist/models/GetEvaluationRunResponseBody.d.ts +10 -10
- package/dist/models/GetEvaluationTaskResponseBody.d.ts +8 -8
- package/dist/models/GetEvaluatorResponseBody.d.ts +7 -7
- package/dist/models/GetEvaluatorSkillResponseBody.d.ts +10 -10
- package/dist/models/GetExperimentPlanResponseBody.d.ts +4 -4
- package/dist/models/IndexJsonKey.d.ts +16 -0
- package/dist/models/IndexJsonKey.js.map +1 -1
- package/dist/models/IndexKey.d.ts +35 -0
- package/dist/models/IndexKey.js +2 -0
- package/dist/models/IndexKey.js.map +1 -1
- package/dist/models/ListAgentSpacesRequest.d.ts +7 -0
- package/dist/models/ListAgentSpacesRequest.js.map +1 -1
- package/dist/models/ListEvaluationRunsResponseBody.d.ts +1 -1
- package/dist/models/ListEvaluationTasksResponseBody.d.ts +3 -3
- package/dist/models/ListEvaluatorSkillsResponseBody.d.ts +5 -5
- package/dist/models/ListExperimentPlansRequest.d.ts +2 -2
- package/dist/models/ListExperimentPlansResponseBody.d.ts +2 -2
- package/dist/models/ListPipelinesRequest.d.ts +29 -0
- package/dist/models/ListPipelinesRequest.js +2 -0
- package/dist/models/ListPipelinesRequest.js.map +1 -1
- package/dist/models/ListPipelinesResponseBody.d.ts +405 -1
- package/dist/models/ListPipelinesResponseBody.js +279 -1
- package/dist/models/ListPipelinesResponseBody.js.map +1 -1
- package/dist/models/UpdateEvaluatorRequest.d.ts +7 -7
- package/dist/models/UpdateExperimentPlanRequest.d.ts +3 -3
- package/dist/models/UpdateExperimentPlanResponseBody.d.ts +1 -1
- package/dist/models/UpdateExperimentRunRequest.d.ts +3 -3
- package/dist/models/UpdateExperimentRunResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +11 -0
- package/dist/models/model.js +31 -9
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +30 -20
- package/src/models/ConnectorProperties.ts +70 -0
- package/src/models/CreateAgentSpaceRequest.ts +12 -1
- package/src/models/CreateEvaluationTaskRequest.ts +7 -7
- package/src/models/CreateEvaluatorRequest.ts +10 -11
- package/src/models/CreateEvaluatorSkillRequest.ts +9 -9
- package/src/models/CreateExperimentPlanRequest.ts +6 -6
- package/src/models/CreateExperimentPlanResponseBody.ts +1 -1
- package/src/models/CreateExperimentRunRequest.ts +7 -7
- package/src/models/CreateExperimentRunResponseBody.ts +3 -3
- package/src/models/DeleteExperimentPlanResponseBody.ts +1 -1
- package/src/models/ExperimentConfig.ts +46 -0
- package/src/models/GetEvaluationRunResponseBody.ts +10 -10
- package/src/models/GetEvaluationTaskResponseBody.ts +8 -8
- package/src/models/GetEvaluatorResponseBody.ts +7 -7
- package/src/models/GetEvaluatorSkillResponseBody.ts +10 -10
- package/src/models/GetExperimentPlanResponseBody.ts +4 -4
- package/src/models/IndexJsonKey.ts +16 -0
- package/src/models/IndexKey.ts +37 -0
- package/src/models/ListAgentSpacesRequest.ts +7 -0
- package/src/models/ListEvaluationRunsResponseBody.ts +1 -1
- package/src/models/ListEvaluationTasksResponseBody.ts +3 -3
- package/src/models/ListEvaluatorSkillsResponseBody.ts +5 -5
- package/src/models/ListExperimentPlansRequest.ts +2 -2
- package/src/models/ListExperimentPlansResponseBody.ts +2 -2
- package/src/models/ListPipelinesRequest.ts +31 -0
- package/src/models/ListPipelinesResponseBody.ts +584 -1
- package/src/models/UpdateEvaluatorRequest.ts +7 -7
- package/src/models/UpdateExperimentPlanRequest.ts +3 -3
- package/src/models/UpdateExperimentPlanResponseBody.ts +1 -1
- package/src/models/UpdateExperimentRunRequest.ts +3 -3
- package/src/models/UpdateExperimentRunResponseBody.ts +1 -1
- package/src/models/model.ts +11 -0
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ListPipelinesResponseBodyPipelinesExecutePolicyRunOnce extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The start of the time slice, in UNIX millisecond timestamp format.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 1735660800000
|
|
9
12
|
*/
|
|
10
13
|
fromTime?: number;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The end of the time slice, in UNIX millisecond timestamp format.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* 1735747200000
|
|
14
20
|
*/
|
|
@@ -38,11 +44,17 @@ export class ListPipelinesResponseBodyPipelinesExecutePolicyRunOnce extends $dar
|
|
|
38
44
|
|
|
39
45
|
export class ListPipelinesResponseBodyPipelinesExecutePolicyScheduled extends $dara.Model {
|
|
40
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The scheduling start time, in UNIX millisecond timestamp format.
|
|
49
|
+
*
|
|
41
50
|
* @example
|
|
42
51
|
* 1735660800000
|
|
43
52
|
*/
|
|
44
53
|
fromTime?: number;
|
|
45
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The scheduling interval, such as 1h or 30m.
|
|
57
|
+
*
|
|
46
58
|
* @example
|
|
47
59
|
* 1h
|
|
48
60
|
*/
|
|
@@ -72,11 +84,24 @@ export class ListPipelinesResponseBodyPipelinesExecutePolicyScheduled extends $d
|
|
|
72
84
|
|
|
73
85
|
export class ListPipelinesResponseBodyPipelinesExecutePolicy extends $dara.Model {
|
|
74
86
|
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The scheduling mode. Valid values:
|
|
89
|
+
* - RunOnce: one-time execution.
|
|
90
|
+
* - Scheduled: periodic scheduling.
|
|
91
|
+
*
|
|
75
92
|
* @example
|
|
76
93
|
* RunOnce
|
|
77
94
|
*/
|
|
78
95
|
mode?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The parameters for one-time execution. This parameter has a value only when mode is set to RunOnce.
|
|
99
|
+
*/
|
|
79
100
|
runOnce?: ListPipelinesResponseBodyPipelinesExecutePolicyRunOnce;
|
|
101
|
+
/**
|
|
102
|
+
* @remarks
|
|
103
|
+
* The parameters for periodic scheduling. This parameter has a value only when mode is set to Scheduled.
|
|
104
|
+
*/
|
|
80
105
|
scheduled?: ListPipelinesResponseBodyPipelinesExecutePolicyScheduled;
|
|
81
106
|
static names(): { [key: string]: string } {
|
|
82
107
|
return {
|
|
@@ -109,9 +134,501 @@ export class ListPipelinesResponseBodyPipelinesExecutePolicy extends $dara.Model
|
|
|
109
134
|
}
|
|
110
135
|
}
|
|
111
136
|
|
|
137
|
+
export class ListPipelinesResponseBodyPipelinesSinkConditionDefaultSinkDataset extends $dara.Model {
|
|
138
|
+
/**
|
|
139
|
+
* @remarks
|
|
140
|
+
* The name of the AgentSpace to which the default destination dataset belongs.
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* my-agent-space
|
|
144
|
+
*/
|
|
145
|
+
agentSpace?: string;
|
|
146
|
+
/**
|
|
147
|
+
* @remarks
|
|
148
|
+
* The name of the default destination dataset.
|
|
149
|
+
*
|
|
150
|
+
* @example
|
|
151
|
+
* other-result
|
|
152
|
+
*/
|
|
153
|
+
dataset?: string;
|
|
154
|
+
static names(): { [key: string]: string } {
|
|
155
|
+
return {
|
|
156
|
+
agentSpace: 'agentSpace',
|
|
157
|
+
dataset: 'dataset',
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
static types(): { [key: string]: any } {
|
|
162
|
+
return {
|
|
163
|
+
agentSpace: 'string',
|
|
164
|
+
dataset: 'string',
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
validate() {
|
|
169
|
+
super.validate();
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
constructor(map?: { [key: string]: any }) {
|
|
173
|
+
super(map);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export class ListPipelinesResponseBodyPipelinesSinkConditionDefaultSink extends $dara.Model {
|
|
178
|
+
/**
|
|
179
|
+
* @remarks
|
|
180
|
+
* The default destination dataset.
|
|
181
|
+
*/
|
|
182
|
+
dataset?: ListPipelinesResponseBodyPipelinesSinkConditionDefaultSinkDataset;
|
|
183
|
+
/**
|
|
184
|
+
* @remarks
|
|
185
|
+
* The type of the default destination. Currently, only dataset is supported.
|
|
186
|
+
*
|
|
187
|
+
* @example
|
|
188
|
+
* dataset
|
|
189
|
+
*/
|
|
190
|
+
type?: string;
|
|
191
|
+
static names(): { [key: string]: string } {
|
|
192
|
+
return {
|
|
193
|
+
dataset: 'dataset',
|
|
194
|
+
type: 'type',
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
static types(): { [key: string]: any } {
|
|
199
|
+
return {
|
|
200
|
+
dataset: ListPipelinesResponseBodyPipelinesSinkConditionDefaultSinkDataset,
|
|
201
|
+
type: 'string',
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
validate() {
|
|
206
|
+
if(this.dataset && typeof (this.dataset as any).validate === 'function') {
|
|
207
|
+
(this.dataset as any).validate();
|
|
208
|
+
}
|
|
209
|
+
super.validate();
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
constructor(map?: { [key: string]: any }) {
|
|
213
|
+
super(map);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
export class ListPipelinesResponseBodyPipelinesSinkConditionRoutesSinkDataset extends $dara.Model {
|
|
218
|
+
/**
|
|
219
|
+
* @remarks
|
|
220
|
+
* The name of the AgentSpace to which the destination dataset belongs.
|
|
221
|
+
*
|
|
222
|
+
* @example
|
|
223
|
+
* my-agent-space
|
|
224
|
+
*/
|
|
225
|
+
agentSpace?: string;
|
|
226
|
+
/**
|
|
227
|
+
* @remarks
|
|
228
|
+
* The name of the destination dataset.
|
|
229
|
+
*
|
|
230
|
+
* @example
|
|
231
|
+
* refund-result
|
|
232
|
+
*/
|
|
233
|
+
dataset?: string;
|
|
234
|
+
static names(): { [key: string]: string } {
|
|
235
|
+
return {
|
|
236
|
+
agentSpace: 'agentSpace',
|
|
237
|
+
dataset: 'dataset',
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
static types(): { [key: string]: any } {
|
|
242
|
+
return {
|
|
243
|
+
agentSpace: 'string',
|
|
244
|
+
dataset: 'string',
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
validate() {
|
|
249
|
+
super.validate();
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
constructor(map?: { [key: string]: any }) {
|
|
253
|
+
super(map);
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export class ListPipelinesResponseBodyPipelinesSinkConditionRoutesSink extends $dara.Model {
|
|
258
|
+
/**
|
|
259
|
+
* @remarks
|
|
260
|
+
* The destination dataset of the route.
|
|
261
|
+
*/
|
|
262
|
+
dataset?: ListPipelinesResponseBodyPipelinesSinkConditionRoutesSinkDataset;
|
|
263
|
+
/**
|
|
264
|
+
* @remarks
|
|
265
|
+
* The type of the route destination. Currently, only dataset is supported.
|
|
266
|
+
*
|
|
267
|
+
* @example
|
|
268
|
+
* dataset
|
|
269
|
+
*/
|
|
270
|
+
type?: string;
|
|
271
|
+
static names(): { [key: string]: string } {
|
|
272
|
+
return {
|
|
273
|
+
dataset: 'dataset',
|
|
274
|
+
type: 'type',
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
static types(): { [key: string]: any } {
|
|
279
|
+
return {
|
|
280
|
+
dataset: ListPipelinesResponseBodyPipelinesSinkConditionRoutesSinkDataset,
|
|
281
|
+
type: 'string',
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
validate() {
|
|
286
|
+
if(this.dataset && typeof (this.dataset as any).validate === 'function') {
|
|
287
|
+
(this.dataset as any).validate();
|
|
288
|
+
}
|
|
289
|
+
super.validate();
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
constructor(map?: { [key: string]: any }) {
|
|
293
|
+
super(map);
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export class ListPipelinesResponseBodyPipelinesSinkConditionRoutes extends $dara.Model {
|
|
298
|
+
/**
|
|
299
|
+
* @remarks
|
|
300
|
+
* The route expression in SPL. Only where, project, and extend are supported.
|
|
301
|
+
*
|
|
302
|
+
* @example
|
|
303
|
+
* * | where intent = \\"refund\\"
|
|
304
|
+
*/
|
|
305
|
+
expression?: string;
|
|
306
|
+
/**
|
|
307
|
+
* @remarks
|
|
308
|
+
* The route ID.
|
|
309
|
+
*
|
|
310
|
+
* @example
|
|
311
|
+
* refund
|
|
312
|
+
*/
|
|
313
|
+
id?: string;
|
|
314
|
+
/**
|
|
315
|
+
* @remarks
|
|
316
|
+
* The write destination of the route.
|
|
317
|
+
*/
|
|
318
|
+
sink?: ListPipelinesResponseBodyPipelinesSinkConditionRoutesSink;
|
|
319
|
+
static names(): { [key: string]: string } {
|
|
320
|
+
return {
|
|
321
|
+
expression: 'expression',
|
|
322
|
+
id: 'id',
|
|
323
|
+
sink: 'sink',
|
|
324
|
+
};
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
static types(): { [key: string]: any } {
|
|
328
|
+
return {
|
|
329
|
+
expression: 'string',
|
|
330
|
+
id: 'string',
|
|
331
|
+
sink: ListPipelinesResponseBodyPipelinesSinkConditionRoutesSink,
|
|
332
|
+
};
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
validate() {
|
|
336
|
+
if(this.sink && typeof (this.sink as any).validate === 'function') {
|
|
337
|
+
(this.sink as any).validate();
|
|
338
|
+
}
|
|
339
|
+
super.validate();
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
constructor(map?: { [key: string]: any }) {
|
|
343
|
+
super(map);
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export class ListPipelinesResponseBodyPipelinesSinkCondition extends $dara.Model {
|
|
348
|
+
/**
|
|
349
|
+
* @remarks
|
|
350
|
+
* The default write destination that is used when no condition route is matched.
|
|
351
|
+
*/
|
|
352
|
+
defaultSink?: ListPipelinesResponseBodyPipelinesSinkConditionDefaultSink;
|
|
353
|
+
/**
|
|
354
|
+
* @remarks
|
|
355
|
+
* The route matching mode. Currently, only all is supported.
|
|
356
|
+
*
|
|
357
|
+
* @example
|
|
358
|
+
* all
|
|
359
|
+
*/
|
|
360
|
+
matchMode?: string;
|
|
361
|
+
/**
|
|
362
|
+
* @remarks
|
|
363
|
+
* The list of condition routes.
|
|
364
|
+
*/
|
|
365
|
+
routes?: ListPipelinesResponseBodyPipelinesSinkConditionRoutes[];
|
|
366
|
+
static names(): { [key: string]: string } {
|
|
367
|
+
return {
|
|
368
|
+
defaultSink: 'defaultSink',
|
|
369
|
+
matchMode: 'matchMode',
|
|
370
|
+
routes: 'routes',
|
|
371
|
+
};
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
static types(): { [key: string]: any } {
|
|
375
|
+
return {
|
|
376
|
+
defaultSink: ListPipelinesResponseBodyPipelinesSinkConditionDefaultSink,
|
|
377
|
+
matchMode: 'string',
|
|
378
|
+
routes: { 'type': 'array', 'itemType': ListPipelinesResponseBodyPipelinesSinkConditionRoutes },
|
|
379
|
+
};
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
validate() {
|
|
383
|
+
if(this.defaultSink && typeof (this.defaultSink as any).validate === 'function') {
|
|
384
|
+
(this.defaultSink as any).validate();
|
|
385
|
+
}
|
|
386
|
+
if(Array.isArray(this.routes)) {
|
|
387
|
+
$dara.Model.validateArray(this.routes);
|
|
388
|
+
}
|
|
389
|
+
super.validate();
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
constructor(map?: { [key: string]: any }) {
|
|
393
|
+
super(map);
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
export class ListPipelinesResponseBodyPipelinesSinkDataset extends $dara.Model {
|
|
398
|
+
/**
|
|
399
|
+
* @remarks
|
|
400
|
+
* The name of the AgentSpace to which the destination dataset belongs.
|
|
401
|
+
*
|
|
402
|
+
* @example
|
|
403
|
+
* my-agent-space
|
|
404
|
+
*/
|
|
405
|
+
agentSpace?: string;
|
|
406
|
+
/**
|
|
407
|
+
* @remarks
|
|
408
|
+
* The name of the destination dataset.
|
|
409
|
+
*
|
|
410
|
+
* @example
|
|
411
|
+
* my-dataset
|
|
412
|
+
*/
|
|
413
|
+
dataset?: string;
|
|
414
|
+
static names(): { [key: string]: string } {
|
|
415
|
+
return {
|
|
416
|
+
agentSpace: 'agentSpace',
|
|
417
|
+
dataset: 'dataset',
|
|
418
|
+
};
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
static types(): { [key: string]: any } {
|
|
422
|
+
return {
|
|
423
|
+
agentSpace: 'string',
|
|
424
|
+
dataset: 'string',
|
|
425
|
+
};
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
validate() {
|
|
429
|
+
super.validate();
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
constructor(map?: { [key: string]: any }) {
|
|
433
|
+
super(map);
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export class ListPipelinesResponseBodyPipelinesSink extends $dara.Model {
|
|
438
|
+
/**
|
|
439
|
+
* @remarks
|
|
440
|
+
* The conditional routing configuration. This parameter is used only when sink.type is set to condition.
|
|
441
|
+
*/
|
|
442
|
+
condition?: ListPipelinesResponseBodyPipelinesSinkCondition;
|
|
443
|
+
/**
|
|
444
|
+
* @remarks
|
|
445
|
+
* The destination dataset configuration for the dataset sink. This parameter is used only when sink.type is set to dataset.
|
|
446
|
+
*/
|
|
447
|
+
dataset?: ListPipelinesResponseBodyPipelinesSinkDataset;
|
|
448
|
+
/**
|
|
449
|
+
* @remarks
|
|
450
|
+
* The destination type. Valid values: dataset or condition.
|
|
451
|
+
*
|
|
452
|
+
* @example
|
|
453
|
+
* condition
|
|
454
|
+
*/
|
|
455
|
+
type?: string;
|
|
456
|
+
static names(): { [key: string]: string } {
|
|
457
|
+
return {
|
|
458
|
+
condition: 'condition',
|
|
459
|
+
dataset: 'dataset',
|
|
460
|
+
type: 'type',
|
|
461
|
+
};
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
static types(): { [key: string]: any } {
|
|
465
|
+
return {
|
|
466
|
+
condition: ListPipelinesResponseBodyPipelinesSinkCondition,
|
|
467
|
+
dataset: ListPipelinesResponseBodyPipelinesSinkDataset,
|
|
468
|
+
type: 'string',
|
|
469
|
+
};
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
validate() {
|
|
473
|
+
if(this.condition && typeof (this.condition as any).validate === 'function') {
|
|
474
|
+
(this.condition as any).validate();
|
|
475
|
+
}
|
|
476
|
+
if(this.dataset && typeof (this.dataset as any).validate === 'function') {
|
|
477
|
+
(this.dataset as any).validate();
|
|
478
|
+
}
|
|
479
|
+
super.validate();
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
constructor(map?: { [key: string]: any }) {
|
|
483
|
+
super(map);
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
export class ListPipelinesResponseBodyPipelinesSourceDataset extends $dara.Model {
|
|
488
|
+
/**
|
|
489
|
+
* @remarks
|
|
490
|
+
* The name of the source dataset.
|
|
491
|
+
*
|
|
492
|
+
* @example
|
|
493
|
+
* my-dataset
|
|
494
|
+
*/
|
|
495
|
+
dataset?: string;
|
|
496
|
+
/**
|
|
497
|
+
* @remarks
|
|
498
|
+
* The data filter condition for the dataset.
|
|
499
|
+
*
|
|
500
|
+
* @example
|
|
501
|
+
* status = \\"pending\\"
|
|
502
|
+
*/
|
|
503
|
+
filter?: string;
|
|
504
|
+
static names(): { [key: string]: string } {
|
|
505
|
+
return {
|
|
506
|
+
dataset: 'dataset',
|
|
507
|
+
filter: 'filter',
|
|
508
|
+
};
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
static types(): { [key: string]: any } {
|
|
512
|
+
return {
|
|
513
|
+
dataset: 'string',
|
|
514
|
+
filter: 'string',
|
|
515
|
+
};
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
validate() {
|
|
519
|
+
super.validate();
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
constructor(map?: { [key: string]: any }) {
|
|
523
|
+
super(map);
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
export class ListPipelinesResponseBodyPipelinesSourceLogstore extends $dara.Model {
|
|
528
|
+
/**
|
|
529
|
+
* @remarks
|
|
530
|
+
* The name of the SLS Logstore.
|
|
531
|
+
*
|
|
532
|
+
* @example
|
|
533
|
+
* my-sls-logstore
|
|
534
|
+
*/
|
|
535
|
+
logstore?: string;
|
|
536
|
+
/**
|
|
537
|
+
* @remarks
|
|
538
|
+
* The name of the SLS project.
|
|
539
|
+
*
|
|
540
|
+
* @example
|
|
541
|
+
* my-sls-project
|
|
542
|
+
*/
|
|
543
|
+
project?: string;
|
|
544
|
+
/**
|
|
545
|
+
* @remarks
|
|
546
|
+
* The data filtered query statement in SLS query/analysis syntax.
|
|
547
|
+
*
|
|
548
|
+
* @example
|
|
549
|
+
* * | SELECT *
|
|
550
|
+
*/
|
|
551
|
+
query?: string;
|
|
552
|
+
static names(): { [key: string]: string } {
|
|
553
|
+
return {
|
|
554
|
+
logstore: 'logstore',
|
|
555
|
+
project: 'project',
|
|
556
|
+
query: 'query',
|
|
557
|
+
};
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
static types(): { [key: string]: any } {
|
|
561
|
+
return {
|
|
562
|
+
logstore: 'string',
|
|
563
|
+
project: 'string',
|
|
564
|
+
query: 'string',
|
|
565
|
+
};
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
validate() {
|
|
569
|
+
super.validate();
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
constructor(map?: { [key: string]: any }) {
|
|
573
|
+
super(map);
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
|
|
578
|
+
/**
|
|
579
|
+
* @remarks
|
|
580
|
+
* The dataset datasource config in the current AgentSpace.
|
|
581
|
+
*/
|
|
582
|
+
dataset?: ListPipelinesResponseBodyPipelinesSourceDataset;
|
|
583
|
+
/**
|
|
584
|
+
* @remarks
|
|
585
|
+
* The Simple Log Service (SLS) Logstore datasource config.
|
|
586
|
+
*/
|
|
587
|
+
logstore?: ListPipelinesResponseBodyPipelinesSourceLogstore;
|
|
588
|
+
/**
|
|
589
|
+
* @remarks
|
|
590
|
+
* The data source type. Valid values: logstore or dataset.
|
|
591
|
+
*
|
|
592
|
+
* @example
|
|
593
|
+
* dataset
|
|
594
|
+
*/
|
|
595
|
+
type?: string;
|
|
596
|
+
static names(): { [key: string]: string } {
|
|
597
|
+
return {
|
|
598
|
+
dataset: 'dataset',
|
|
599
|
+
logstore: 'logstore',
|
|
600
|
+
type: 'type',
|
|
601
|
+
};
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
static types(): { [key: string]: any } {
|
|
605
|
+
return {
|
|
606
|
+
dataset: ListPipelinesResponseBodyPipelinesSourceDataset,
|
|
607
|
+
logstore: ListPipelinesResponseBodyPipelinesSourceLogstore,
|
|
608
|
+
type: 'string',
|
|
609
|
+
};
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
validate() {
|
|
613
|
+
if(this.dataset && typeof (this.dataset as any).validate === 'function') {
|
|
614
|
+
(this.dataset as any).validate();
|
|
615
|
+
}
|
|
616
|
+
if(this.logstore && typeof (this.logstore as any).validate === 'function') {
|
|
617
|
+
(this.logstore as any).validate();
|
|
618
|
+
}
|
|
619
|
+
super.validate();
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
constructor(map?: { [key: string]: any }) {
|
|
623
|
+
super(map);
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
|
|
112
627
|
export class ListPipelinesResponseBodyPipelines extends $dara.Model {
|
|
113
628
|
/**
|
|
114
629
|
* @remarks
|
|
630
|
+
* The time when the pipeline was created, in ISO 8601 UTC format.
|
|
631
|
+
*
|
|
115
632
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
116
633
|
*
|
|
117
634
|
* @example
|
|
@@ -119,33 +636,70 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
|
|
|
119
636
|
*/
|
|
120
637
|
createTime?: string;
|
|
121
638
|
/**
|
|
639
|
+
* @remarks
|
|
640
|
+
* The description of the pipeline.
|
|
641
|
+
*
|
|
122
642
|
* @example
|
|
123
|
-
*
|
|
643
|
+
* My pipeline
|
|
124
644
|
*/
|
|
125
645
|
description?: string;
|
|
646
|
+
/**
|
|
647
|
+
* @remarks
|
|
648
|
+
* The execution policy.
|
|
649
|
+
*/
|
|
126
650
|
executePolicy?: ListPipelinesResponseBodyPipelinesExecutePolicy;
|
|
127
651
|
/**
|
|
652
|
+
* @remarks
|
|
653
|
+
* The name of the pipeline.
|
|
654
|
+
*
|
|
128
655
|
* @example
|
|
129
656
|
* my-pipeline
|
|
130
657
|
*/
|
|
131
658
|
pipelineName?: string;
|
|
132
659
|
/**
|
|
660
|
+
* @remarks
|
|
661
|
+
* The region ID.
|
|
662
|
+
*
|
|
133
663
|
* @example
|
|
134
664
|
* cn-hangzhou
|
|
135
665
|
*/
|
|
136
666
|
regionId?: string;
|
|
137
667
|
/**
|
|
668
|
+
* @remarks
|
|
669
|
+
* The scheduling status. Valid values:
|
|
670
|
+
* - None: no scheduling. This value is returned for RunOnce pipelines.
|
|
671
|
+
* - Active: active.
|
|
672
|
+
* - Paused: paused.
|
|
673
|
+
* - Terminated: terminated.
|
|
674
|
+
*
|
|
138
675
|
* @example
|
|
139
676
|
* None
|
|
140
677
|
*/
|
|
141
678
|
scheduleStatus?: string;
|
|
142
679
|
/**
|
|
680
|
+
* @remarks
|
|
681
|
+
* The scheduling type. Valid values:
|
|
682
|
+
* - RunOnce: one-time execution.
|
|
683
|
+
* - Scheduled: periodic scheduling.
|
|
684
|
+
*
|
|
143
685
|
* @example
|
|
144
686
|
* RunOnce
|
|
145
687
|
*/
|
|
146
688
|
scheduleType?: string;
|
|
147
689
|
/**
|
|
148
690
|
* @remarks
|
|
691
|
+
* The pipeline sink (data write destination).
|
|
692
|
+
*/
|
|
693
|
+
sink?: ListPipelinesResponseBodyPipelinesSink;
|
|
694
|
+
/**
|
|
695
|
+
* @remarks
|
|
696
|
+
* The pipeline data source.
|
|
697
|
+
*/
|
|
698
|
+
source?: ListPipelinesResponseBodyPipelinesSource;
|
|
699
|
+
/**
|
|
700
|
+
* @remarks
|
|
701
|
+
* The time when the pipeline was last updated, in ISO 8601 UTC format.
|
|
702
|
+
*
|
|
149
703
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
150
704
|
*
|
|
151
705
|
* @example
|
|
@@ -153,6 +707,9 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
|
|
|
153
707
|
*/
|
|
154
708
|
updateTime?: string;
|
|
155
709
|
/**
|
|
710
|
+
* @remarks
|
|
711
|
+
* The workspace associated with the pipeline.
|
|
712
|
+
*
|
|
156
713
|
* @example
|
|
157
714
|
* my-workspace
|
|
158
715
|
*/
|
|
@@ -166,6 +723,8 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
|
|
|
166
723
|
regionId: 'regionId',
|
|
167
724
|
scheduleStatus: 'scheduleStatus',
|
|
168
725
|
scheduleType: 'scheduleType',
|
|
726
|
+
sink: 'sink',
|
|
727
|
+
source: 'source',
|
|
169
728
|
updateTime: 'updateTime',
|
|
170
729
|
workspace: 'workspace',
|
|
171
730
|
};
|
|
@@ -180,6 +739,8 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
|
|
|
180
739
|
regionId: 'string',
|
|
181
740
|
scheduleStatus: 'string',
|
|
182
741
|
scheduleType: 'string',
|
|
742
|
+
sink: ListPipelinesResponseBodyPipelinesSink,
|
|
743
|
+
source: ListPipelinesResponseBodyPipelinesSource,
|
|
183
744
|
updateTime: 'string',
|
|
184
745
|
workspace: 'string',
|
|
185
746
|
};
|
|
@@ -189,6 +750,12 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
|
|
|
189
750
|
if(this.executePolicy && typeof (this.executePolicy as any).validate === 'function') {
|
|
190
751
|
(this.executePolicy as any).validate();
|
|
191
752
|
}
|
|
753
|
+
if(this.sink && typeof (this.sink as any).validate === 'function') {
|
|
754
|
+
(this.sink as any).validate();
|
|
755
|
+
}
|
|
756
|
+
if(this.source && typeof (this.source as any).validate === 'function') {
|
|
757
|
+
(this.source as any).validate();
|
|
758
|
+
}
|
|
192
759
|
super.validate();
|
|
193
760
|
}
|
|
194
761
|
|
|
@@ -199,22 +766,38 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
|
|
|
199
766
|
|
|
200
767
|
export class ListPipelinesResponseBody extends $dara.Model {
|
|
201
768
|
/**
|
|
769
|
+
* @remarks
|
|
770
|
+
* The maximum number of entries per page that was specified in the request. This value is echoed back.
|
|
771
|
+
*
|
|
202
772
|
* @example
|
|
203
773
|
* 20
|
|
204
774
|
*/
|
|
205
775
|
maxResults?: number;
|
|
206
776
|
/**
|
|
777
|
+
* @remarks
|
|
778
|
+
* The token for the next page. An empty string indicates that the current page is the last page.
|
|
779
|
+
*
|
|
207
780
|
* @example
|
|
208
781
|
* MTIzNDU2Nzg5MA==
|
|
209
782
|
*/
|
|
210
783
|
nextToken?: string;
|
|
784
|
+
/**
|
|
785
|
+
* @remarks
|
|
786
|
+
* The list of pipelines.
|
|
787
|
+
*/
|
|
211
788
|
pipelines?: ListPipelinesResponseBodyPipelines[];
|
|
212
789
|
/**
|
|
790
|
+
* @remarks
|
|
791
|
+
* The request ID, which is used to locate and troubleshoot issues.
|
|
792
|
+
*
|
|
213
793
|
* @example
|
|
214
794
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
215
795
|
*/
|
|
216
796
|
requestId?: string;
|
|
217
797
|
/**
|
|
798
|
+
* @remarks
|
|
799
|
+
* The total number of pipelines that match the filter conditions.
|
|
800
|
+
*
|
|
218
801
|
* @example
|
|
219
802
|
* 100
|
|
220
803
|
*/
|