@alicloud/agentloop20260520 2.8.0 → 2.8.2
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 +110 -54
- package/dist/client.js +110 -54
- package/dist/client.js.map +1 -1
- package/dist/models/AnalysisTask.d.ts +16 -8
- package/dist/models/AnalysisTask.js.map +1 -1
- package/dist/models/AuditTaskState.d.ts +17 -7
- package/dist/models/AuditTaskState.js.map +1 -1
- package/dist/models/CancelPipelineRunResponseBody.d.ts +2 -2
- package/dist/models/ConnectorProperties.d.ts +21 -12
- package/dist/models/ConnectorProperties.js.map +1 -1
- package/dist/models/CreateContextStoreRequest.d.ts +44 -44
- package/dist/models/CreateContextStoreResponseBody.d.ts +1 -1
- package/dist/models/CreatePipelineRequest.d.ts +47 -30
- package/dist/models/CreatePipelineRequest.js +8 -0
- package/dist/models/CreatePipelineRequest.js.map +1 -1
- package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
- package/dist/models/GetAuditConversionSourceResponseBody.d.ts +3 -3
- package/dist/models/GetDatasetRequest.d.ts +1 -1
- package/dist/models/GetDatasetResponseBody.d.ts +26 -3
- package/dist/models/GetDatasetResponseBody.js.map +1 -1
- package/dist/models/GetPipelineResponseBody.d.ts +55 -38
- package/dist/models/GetPipelineResponseBody.js +8 -0
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/GetPipelineRunResponseBody.d.ts +7 -7
- package/dist/models/ListDatasetsRequest.d.ts +8 -3
- package/dist/models/ListDatasetsRequest.js.map +1 -1
- package/dist/models/ListDatasetsResponseBody.d.ts +12 -7
- package/dist/models/ListDatasetsResponseBody.js.map +1 -1
- package/dist/models/ListDatasetsShrinkRequest.d.ts +8 -3
- package/dist/models/ListDatasetsShrinkRequest.js.map +1 -1
- package/dist/models/ListPipelineRunsRequest.d.ts +1 -1
- package/dist/models/ListPipelineRunsResponseBody.d.ts +8 -6
- package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
- package/dist/models/ListPipelinesRequest.d.ts +5 -17
- package/dist/models/ListPipelinesRequest.js.map +1 -1
- package/dist/models/ListPipelinesResponseBody.d.ts +50 -33
- package/dist/models/ListPipelinesResponseBody.js +8 -0
- package/dist/models/ListPipelinesResponseBody.js.map +1 -1
- package/dist/models/PipelineOssSource.d.ts +69 -0
- package/dist/models/PipelineOssSource.js +69 -0
- package/dist/models/PipelineOssSource.js.map +1 -0
- package/dist/models/PreviewPipelineRequest.d.ts +37 -20
- package/dist/models/PreviewPipelineRequest.js +8 -0
- package/dist/models/PreviewPipelineRequest.js.map +1 -1
- package/dist/models/PreviewPipelineResponseBody.d.ts +30 -14
- package/dist/models/PreviewPipelineResponseBody.js +4 -0
- package/dist/models/PreviewPipelineResponseBody.js.map +1 -1
- package/dist/models/RunPipelineRequest.d.ts +3 -3
- package/dist/models/RunPipelineResponseBody.d.ts +1 -1
- package/dist/models/UpdatePipelineRequest.d.ts +50 -36
- package/dist/models/UpdatePipelineRequest.js +8 -0
- package/dist/models/UpdatePipelineRequest.js.map +1 -1
- package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +8 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +110 -54
- package/src/models/AnalysisTask.ts +16 -8
- package/src/models/AuditTaskState.ts +17 -7
- package/src/models/CancelPipelineRunResponseBody.ts +2 -2
- package/src/models/ConnectorProperties.ts +21 -12
- package/src/models/CreateContextStoreRequest.ts +44 -44
- package/src/models/CreateContextStoreResponseBody.ts +1 -1
- package/src/models/CreatePipelineRequest.ts +54 -30
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/GetAuditConversionSourceResponseBody.ts +3 -3
- package/src/models/GetDatasetRequest.ts +1 -1
- package/src/models/GetDatasetResponseBody.ts +26 -3
- package/src/models/GetPipelineResponseBody.ts +62 -38
- package/src/models/GetPipelineRunResponseBody.ts +7 -7
- package/src/models/ListDatasetsRequest.ts +8 -3
- package/src/models/ListDatasetsResponseBody.ts +12 -7
- package/src/models/ListDatasetsShrinkRequest.ts +8 -3
- package/src/models/ListPipelineRunsRequest.ts +1 -1
- package/src/models/ListPipelineRunsResponseBody.ts +8 -6
- package/src/models/ListPipelinesRequest.ts +5 -17
- package/src/models/ListPipelinesResponseBody.ts +57 -33
- package/src/models/PipelineOssSource.ts +91 -0
- package/src/models/PreviewPipelineRequest.ts +44 -20
- package/src/models/PreviewPipelineResponseBody.ts +34 -14
- package/src/models/RunPipelineRequest.ts +3 -3
- package/src/models/RunPipelineResponseBody.ts +1 -1
- package/src/models/UpdatePipelineRequest.ts +57 -36
- package/src/models/UpdatePipelineResponseBody.ts +1 -1
- package/src/models/model.ts +1 -0
|
@@ -21,10 +21,7 @@ export class ListPipelinesRequest extends $dara.Model {
|
|
|
21
21
|
nextToken?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The type
|
|
25
|
-
* - PROCESSING: Data processing.
|
|
26
|
-
* - ORCHESTRATION: Orchestration task.
|
|
27
|
-
* Default value: PROCESSING.
|
|
24
|
+
* The pipeline type used for filtering. Valid values: PROCESSING (data processing) and ORCHESTRATION (orchestration task). Default value: PROCESSING.
|
|
28
25
|
*
|
|
29
26
|
* @example
|
|
30
27
|
* ORCHESTRATION
|
|
@@ -32,7 +29,7 @@ export class ListPipelinesRequest extends $dara.Model {
|
|
|
32
29
|
pipelineKind?: string;
|
|
33
30
|
/**
|
|
34
31
|
* @remarks
|
|
35
|
-
* The name
|
|
32
|
+
* The pipeline name used for filtering. Exact match is supported. If you do not specify this parameter, pipelines are not filtered by name.
|
|
36
33
|
*
|
|
37
34
|
* @example
|
|
38
35
|
* my-pipeline
|
|
@@ -40,12 +37,7 @@ export class ListPipelinesRequest extends $dara.Model {
|
|
|
40
37
|
pipelineName?: string;
|
|
41
38
|
/**
|
|
42
39
|
* @remarks
|
|
43
|
-
* The schedule status
|
|
44
|
-
* - None: No schedule.
|
|
45
|
-
* - Active: Active.
|
|
46
|
-
* - Paused: Paused.
|
|
47
|
-
* - Terminated: Terminated.
|
|
48
|
-
* If you do not specify this parameter, no filtering is applied.
|
|
40
|
+
* The schedule status used for filtering. Valid values: None (no schedule), Active, Paused, and Terminated. If you do not specify this parameter, pipelines are not filtered by schedule status.
|
|
49
41
|
*
|
|
50
42
|
* @example
|
|
51
43
|
* Active
|
|
@@ -53,11 +45,7 @@ export class ListPipelinesRequest extends $dara.Model {
|
|
|
53
45
|
scheduleStatus?: string;
|
|
54
46
|
/**
|
|
55
47
|
* @remarks
|
|
56
|
-
* The schedule type
|
|
57
|
-
* - RunOnce: Single execution.
|
|
58
|
-
* - Scheduled: Periodic scheduling.
|
|
59
|
-
* - Continuous: Continuous execution driven by trace source signals.
|
|
60
|
-
* If you do not specify this parameter, no filtering is applied.
|
|
48
|
+
* The schedule type used for filtering. Valid values: RunOnce (single execution) and Scheduled (periodic scheduling). If you do not specify this parameter, pipelines are not filtered by schedule type.
|
|
61
49
|
*
|
|
62
50
|
* @example
|
|
63
51
|
* RunOnce
|
|
@@ -65,7 +53,7 @@ export class ListPipelinesRequest extends $dara.Model {
|
|
|
65
53
|
scheduleType?: string;
|
|
66
54
|
/**
|
|
67
55
|
* @remarks
|
|
68
|
-
* The name of the output dataset for exact match filtering. This matches
|
|
56
|
+
* The name of the output dataset used for exact match filtering. This parameter matches regular sinks, conditional branch sinks, and default sinks. If you do not specify this parameter, pipelines are not filtered by sink name.
|
|
69
57
|
*
|
|
70
58
|
* @example
|
|
71
59
|
* my-dataset
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { PipelineOssSource } from "./PipelineOssSource";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export class ListPipelinesResponseBodyPipelinesExecutePolicyContinuous extends $dara.Model {
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
|
-
* The
|
|
9
|
+
* The bootstrap start time. The value is a UNIX timestamp in seconds, which has the same precision as runOnce/scheduled.fromTime. Millisecond values greater than or equal to 1e12 are automatically converted. The cursor starts from this time aligned to the grid and catches up window by window. After catching up, it switches to minute intervals. By default, it starts from the current time and processes only incremental data.
|
|
9
10
|
*
|
|
10
11
|
* @example
|
|
11
12
|
* 1735660800
|
|
@@ -35,18 +36,18 @@ export class ListPipelinesResponseBodyPipelinesExecutePolicyContinuous extends $
|
|
|
35
36
|
export class ListPipelinesResponseBodyPipelinesExecutePolicyRunOnce extends $dara.Model {
|
|
36
37
|
/**
|
|
37
38
|
* @remarks
|
|
38
|
-
* The start time of the time slice. The value is a UNIX timestamp in
|
|
39
|
+
* The start time of the time slice. The value is a UNIX timestamp in milliseconds.
|
|
39
40
|
*
|
|
40
41
|
* @example
|
|
41
|
-
*
|
|
42
|
+
* 1735660800000
|
|
42
43
|
*/
|
|
43
44
|
fromTime?: number;
|
|
44
45
|
/**
|
|
45
46
|
* @remarks
|
|
46
|
-
* The end time of the time slice. The value is a UNIX timestamp in
|
|
47
|
+
* The end time of the time slice. The value is a UNIX timestamp in milliseconds.
|
|
47
48
|
*
|
|
48
49
|
* @example
|
|
49
|
-
*
|
|
50
|
+
* 1735747200000
|
|
50
51
|
*/
|
|
51
52
|
toTime?: number;
|
|
52
53
|
static names(): { [key: string]: string } {
|
|
@@ -75,15 +76,15 @@ export class ListPipelinesResponseBodyPipelinesExecutePolicyRunOnce extends $dar
|
|
|
75
76
|
export class ListPipelinesResponseBodyPipelinesExecutePolicyScheduled extends $dara.Model {
|
|
76
77
|
/**
|
|
77
78
|
* @remarks
|
|
78
|
-
* The start time of the scheduling. The value is a UNIX timestamp in
|
|
79
|
+
* The start time of the scheduling. The value is a UNIX timestamp in milliseconds.
|
|
79
80
|
*
|
|
80
81
|
* @example
|
|
81
|
-
*
|
|
82
|
+
* 1735660800000
|
|
82
83
|
*/
|
|
83
84
|
fromTime?: number;
|
|
84
85
|
/**
|
|
85
86
|
* @remarks
|
|
86
|
-
* The scheduling interval
|
|
87
|
+
* The scheduling interval, such as 1h or 30m.
|
|
87
88
|
*
|
|
88
89
|
* @example
|
|
89
90
|
* 1h
|
|
@@ -123,7 +124,7 @@ export class ListPipelinesResponseBodyPipelinesExecutePolicy extends $dara.Model
|
|
|
123
124
|
continuous?: ListPipelinesResponseBodyPipelinesExecutePolicyContinuous;
|
|
124
125
|
/**
|
|
125
126
|
* @remarks
|
|
126
|
-
* The scheduling mode.
|
|
127
|
+
* The scheduling mode. RunOnce indicates one-time execution, and Scheduled indicates periodic scheduling.
|
|
127
128
|
*
|
|
128
129
|
* @example
|
|
129
130
|
* RunOnce
|
|
@@ -131,10 +132,10 @@ export class ListPipelinesResponseBodyPipelinesExecutePolicy extends $dara.Model
|
|
|
131
132
|
mode?: string;
|
|
132
133
|
/**
|
|
133
134
|
* @remarks
|
|
134
|
-
* The parameters for
|
|
135
|
+
* The parameters for one-time execution. This field has a value only when mode is set to RunOnce.
|
|
135
136
|
*
|
|
136
137
|
* @example
|
|
137
|
-
* {"fromTime":
|
|
138
|
+
* {"fromTime":1735660800000,"toTime":1735747200000}
|
|
138
139
|
*/
|
|
139
140
|
runOnce?: ListPipelinesResponseBodyPipelinesExecutePolicyRunOnce;
|
|
140
141
|
/**
|
|
@@ -142,7 +143,7 @@ export class ListPipelinesResponseBodyPipelinesExecutePolicy extends $dara.Model
|
|
|
142
143
|
* The parameters for periodic scheduling. This field has a value only when mode is set to Scheduled.
|
|
143
144
|
*
|
|
144
145
|
* @example
|
|
145
|
-
* {"interval":"1h"
|
|
146
|
+
* {"fromTime":1735660800000,"interval":"1h"}
|
|
146
147
|
*/
|
|
147
148
|
scheduled?: ListPipelinesResponseBodyPipelinesExecutePolicyScheduled;
|
|
148
149
|
static names(): { [key: string]: string } {
|
|
@@ -192,7 +193,7 @@ export class ListPipelinesResponseBodyPipelinesPipelineNodes extends $dara.Model
|
|
|
192
193
|
id?: string;
|
|
193
194
|
/**
|
|
194
195
|
* @remarks
|
|
195
|
-
* The node parameters.
|
|
196
|
+
* The node parameters. The parameters use a key-value structure and vary based on the node type.
|
|
196
197
|
*
|
|
197
198
|
* @example
|
|
198
199
|
* {"stageId":"stage_1"}
|
|
@@ -312,7 +313,7 @@ export class ListPipelinesResponseBodyPipelinesSinkConditionDefaultSink extends
|
|
|
312
313
|
dataset?: ListPipelinesResponseBodyPipelinesSinkConditionDefaultSinkDataset;
|
|
313
314
|
/**
|
|
314
315
|
* @remarks
|
|
315
|
-
* The default sink type.
|
|
316
|
+
* The default sink type. Currently, only dataset is supported.
|
|
316
317
|
*
|
|
317
318
|
* @example
|
|
318
319
|
* dataset
|
|
@@ -392,7 +393,7 @@ export class ListPipelinesResponseBodyPipelinesSinkConditionRoutesSink extends $
|
|
|
392
393
|
dataset?: ListPipelinesResponseBodyPipelinesSinkConditionRoutesSinkDataset;
|
|
393
394
|
/**
|
|
394
395
|
* @remarks
|
|
395
|
-
* The sink type for the route.
|
|
396
|
+
* The sink type for the route. Currently, only dataset is supported.
|
|
396
397
|
*
|
|
397
398
|
* @example
|
|
398
399
|
* dataset
|
|
@@ -482,7 +483,7 @@ export class ListPipelinesResponseBodyPipelinesSinkCondition extends $dara.Model
|
|
|
482
483
|
defaultSink?: ListPipelinesResponseBodyPipelinesSinkConditionDefaultSink;
|
|
483
484
|
/**
|
|
484
485
|
* @remarks
|
|
485
|
-
* The route matching mode.
|
|
486
|
+
* The route matching mode. Currently, only all is supported.
|
|
486
487
|
*
|
|
487
488
|
* @example
|
|
488
489
|
* all
|
|
@@ -625,16 +626,22 @@ export class ListPipelinesResponseBodyPipelinesSourceDataset extends $dara.Model
|
|
|
625
626
|
dataset?: string;
|
|
626
627
|
/**
|
|
627
628
|
* @remarks
|
|
628
|
-
* The filter conditions for the dataset
|
|
629
|
+
* The filter conditions for the dataset.
|
|
629
630
|
*
|
|
630
631
|
* @example
|
|
631
632
|
* status = \"pending\"
|
|
632
633
|
*/
|
|
633
634
|
filter?: string;
|
|
635
|
+
/**
|
|
636
|
+
* @example
|
|
637
|
+
* v1
|
|
638
|
+
*/
|
|
639
|
+
version?: string;
|
|
634
640
|
static names(): { [key: string]: string } {
|
|
635
641
|
return {
|
|
636
642
|
dataset: 'dataset',
|
|
637
643
|
filter: 'filter',
|
|
644
|
+
version: 'version',
|
|
638
645
|
};
|
|
639
646
|
}
|
|
640
647
|
|
|
@@ -642,6 +649,7 @@ export class ListPipelinesResponseBodyPipelinesSourceDataset extends $dara.Model
|
|
|
642
649
|
return {
|
|
643
650
|
dataset: 'string',
|
|
644
651
|
filter: 'string',
|
|
652
|
+
version: 'string',
|
|
645
653
|
};
|
|
646
654
|
}
|
|
647
655
|
|
|
@@ -697,7 +705,7 @@ export class ListPipelinesResponseBodyPipelinesSourceInputFields extends $dara.M
|
|
|
697
705
|
export class ListPipelinesResponseBodyPipelinesSourceLogstore extends $dara.Model {
|
|
698
706
|
/**
|
|
699
707
|
* @remarks
|
|
700
|
-
* The name of the
|
|
708
|
+
* The name of the SLS Logstore.
|
|
701
709
|
*
|
|
702
710
|
* @example
|
|
703
711
|
* my-sls-logstore
|
|
@@ -705,7 +713,7 @@ export class ListPipelinesResponseBodyPipelinesSourceLogstore extends $dara.Mode
|
|
|
705
713
|
logstore?: string;
|
|
706
714
|
/**
|
|
707
715
|
* @remarks
|
|
708
|
-
* The name of the
|
|
716
|
+
* The name of the SLS project.
|
|
709
717
|
*
|
|
710
718
|
* @example
|
|
711
719
|
* my-sls-project
|
|
@@ -713,7 +721,7 @@ export class ListPipelinesResponseBodyPipelinesSourceLogstore extends $dara.Mode
|
|
|
713
721
|
project?: string;
|
|
714
722
|
/**
|
|
715
723
|
* @remarks
|
|
716
|
-
* The filtered query statement (
|
|
724
|
+
* The filtered query statement (SLS query and analysis syntax).
|
|
717
725
|
*
|
|
718
726
|
* @example
|
|
719
727
|
* * | SELECT *
|
|
@@ -790,7 +798,7 @@ export class ListPipelinesResponseBodyPipelinesSourceTrajectoryEnrich extends $d
|
|
|
790
798
|
export class ListPipelinesResponseBodyPipelinesSourceTrajectory extends $dara.Model {
|
|
791
799
|
/**
|
|
792
800
|
* @remarks
|
|
793
|
-
* The trajectory enrichment configuration. It mounts trajectory data into the
|
|
801
|
+
* The trajectory enrichment configuration. It mounts trajectory data into the cleaning results by trace_id. When writing to a dataset, the data is stored in the fixed column agent_trajectory, and the column value is the trajectory JSON content.
|
|
794
802
|
*
|
|
795
803
|
* @example
|
|
796
804
|
* {"enabled":true,"columns":["input","output"]}
|
|
@@ -823,7 +831,7 @@ export class ListPipelinesResponseBodyPipelinesSourceTrajectory extends $dara.Mo
|
|
|
823
831
|
export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
|
|
824
832
|
/**
|
|
825
833
|
* @remarks
|
|
826
|
-
* The
|
|
834
|
+
* The Dataset datasource config under the current AgentSpace.
|
|
827
835
|
*
|
|
828
836
|
* @example
|
|
829
837
|
* {"dataset":"my-dataset","filter":"status = \"pending\""}
|
|
@@ -831,7 +839,7 @@ export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
|
|
|
831
839
|
dataset?: ListPipelinesResponseBodyPipelinesSourceDataset;
|
|
832
840
|
/**
|
|
833
841
|
* @remarks
|
|
834
|
-
* The input fields and their data types.
|
|
842
|
+
* The input fields and their data types. For OSS sources, the fields are derived from the file structure.
|
|
835
843
|
*
|
|
836
844
|
* @example
|
|
837
845
|
* [{"name":"question","type":"text"}]
|
|
@@ -839,7 +847,7 @@ export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
|
|
|
839
847
|
inputFields?: ListPipelinesResponseBodyPipelinesSourceInputFields[];
|
|
840
848
|
/**
|
|
841
849
|
* @remarks
|
|
842
|
-
* The
|
|
850
|
+
* The SLS Logstore datasource config.
|
|
843
851
|
*
|
|
844
852
|
* @example
|
|
845
853
|
* {"project":"my-sls-project","logstore":"agent-logs"}
|
|
@@ -847,7 +855,15 @@ export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
|
|
|
847
855
|
logstore?: ListPipelinesResponseBodyPipelinesSourceLogstore;
|
|
848
856
|
/**
|
|
849
857
|
* @remarks
|
|
850
|
-
*
|
|
858
|
+
* When source.type is set to oss, source.oss echoes format, region, roleArn, and uri. The initial version does not have available formatOptions configuration keys, and empty configurations are not included in the response.
|
|
859
|
+
*
|
|
860
|
+
* @example
|
|
861
|
+
* {"format":"lerobot","region":"cn-beijing","roleArn":"acs:ram::1234567890123456:role/oss-reader","uri":"oss://example-bucket/robot-datasets/example/"}
|
|
862
|
+
*/
|
|
863
|
+
oss?: PipelineOssSource;
|
|
864
|
+
/**
|
|
865
|
+
* @remarks
|
|
866
|
+
* The trajectory data configuration. This parameter is optional and takes effect only when the type is set to trace. It retrieves ATIF standard trajectory data from the trajectory cleaning service and extends the data by feature.
|
|
851
867
|
*
|
|
852
868
|
* @example
|
|
853
869
|
* {"enrich":{"enabled":true,"columns":["input","output"]}}
|
|
@@ -855,7 +871,7 @@ export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
|
|
|
855
871
|
trajectory?: ListPipelinesResponseBodyPipelinesSourceTrajectory;
|
|
856
872
|
/**
|
|
857
873
|
* @remarks
|
|
858
|
-
* The
|
|
874
|
+
* The data source type. Valid values: logstore, dataset, trace, and oss. The trace type indicates a trajectory signal-driven processing mode. The validity of the enum values is verified by the server.
|
|
859
875
|
*
|
|
860
876
|
* @example
|
|
861
877
|
* dataset
|
|
@@ -866,6 +882,7 @@ export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
|
|
|
866
882
|
dataset: 'dataset',
|
|
867
883
|
inputFields: 'inputFields',
|
|
868
884
|
logstore: 'logstore',
|
|
885
|
+
oss: 'oss',
|
|
869
886
|
trajectory: 'trajectory',
|
|
870
887
|
type: 'type',
|
|
871
888
|
};
|
|
@@ -876,6 +893,7 @@ export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
|
|
|
876
893
|
dataset: ListPipelinesResponseBodyPipelinesSourceDataset,
|
|
877
894
|
inputFields: { 'type': 'array', 'itemType': ListPipelinesResponseBodyPipelinesSourceInputFields },
|
|
878
895
|
logstore: ListPipelinesResponseBodyPipelinesSourceLogstore,
|
|
896
|
+
oss: PipelineOssSource,
|
|
879
897
|
trajectory: ListPipelinesResponseBodyPipelinesSourceTrajectory,
|
|
880
898
|
type: 'string',
|
|
881
899
|
};
|
|
@@ -891,6 +909,9 @@ export class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
|
|
|
891
909
|
if(this.logstore && typeof (this.logstore as any).validate === 'function') {
|
|
892
910
|
(this.logstore as any).validate();
|
|
893
911
|
}
|
|
912
|
+
if(this.oss && typeof (this.oss as any).validate === 'function') {
|
|
913
|
+
(this.oss as any).validate();
|
|
914
|
+
}
|
|
894
915
|
if(this.trajectory && typeof (this.trajectory as any).validate === 'function') {
|
|
895
916
|
(this.trajectory as any).validate();
|
|
896
917
|
}
|
|
@@ -934,7 +955,7 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
|
|
|
934
955
|
* The execution policy.
|
|
935
956
|
*
|
|
936
957
|
* @example
|
|
937
|
-
* {"mode":"RunOnce","runOnce":{"fromTime":
|
|
958
|
+
* {"mode":"RunOnce","runOnce":{"fromTime":1735660800000,"toTime":1735747200000}}
|
|
938
959
|
*/
|
|
939
960
|
executePolicy?: ListPipelinesResponseBodyPipelinesExecutePolicy;
|
|
940
961
|
/**
|
|
@@ -963,7 +984,7 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
|
|
|
963
984
|
nextTriggerTime?: number;
|
|
964
985
|
/**
|
|
965
986
|
* @remarks
|
|
966
|
-
* The reason why scheduling is paused.
|
|
987
|
+
* The reason why the scheduling is paused.
|
|
967
988
|
*
|
|
968
989
|
* @example
|
|
969
990
|
* manual
|
|
@@ -1000,7 +1021,7 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
|
|
|
1000
1021
|
regionId?: string;
|
|
1001
1022
|
/**
|
|
1002
1023
|
* @remarks
|
|
1003
|
-
* The schedule status. Valid values: None
|
|
1024
|
+
* The schedule status. Valid values: None for no scheduling in RunOnce pipelines, Active, Paused, and Terminated.
|
|
1004
1025
|
*
|
|
1005
1026
|
* @example
|
|
1006
1027
|
* None
|
|
@@ -1008,7 +1029,7 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
|
|
|
1008
1029
|
scheduleStatus?: string;
|
|
1009
1030
|
/**
|
|
1010
1031
|
* @remarks
|
|
1011
|
-
* The schedule type. Valid values: RunOnce
|
|
1032
|
+
* The schedule type. Valid values: RunOnce for one-time execution, and Scheduled for periodic scheduling.
|
|
1012
1033
|
*
|
|
1013
1034
|
* @example
|
|
1014
1035
|
* RunOnce
|
|
@@ -1016,7 +1037,7 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
|
|
|
1016
1037
|
scheduleType?: string;
|
|
1017
1038
|
/**
|
|
1018
1039
|
* @remarks
|
|
1019
|
-
* The pipeline sink, which is the destination for writing
|
|
1040
|
+
* The pipeline sink, which is the destination for data writing.
|
|
1020
1041
|
*/
|
|
1021
1042
|
sink?: ListPipelinesResponseBodyPipelinesSink;
|
|
1022
1043
|
/**
|
|
@@ -1125,7 +1146,7 @@ export class ListPipelinesResponseBodyPipelines extends $dara.Model {
|
|
|
1125
1146
|
export class ListPipelinesResponseBody extends $dara.Model {
|
|
1126
1147
|
/**
|
|
1127
1148
|
* @remarks
|
|
1128
|
-
* The maximum number of entries per page
|
|
1149
|
+
* The maximum number of entries per page specified in the request. This value is echoed in the response.
|
|
1129
1150
|
*
|
|
1130
1151
|
* @example
|
|
1131
1152
|
* 20
|
|
@@ -1142,11 +1163,14 @@ export class ListPipelinesResponseBody extends $dara.Model {
|
|
|
1142
1163
|
/**
|
|
1143
1164
|
* @remarks
|
|
1144
1165
|
* The list of pipelines.
|
|
1166
|
+
*
|
|
1167
|
+
* @example
|
|
1168
|
+
* [{"pipelineName":"my-pipeline","regionId":"cn-hangzhou","scheduleType":"RunOnce","scheduleStatus":"None"}]
|
|
1145
1169
|
*/
|
|
1146
1170
|
pipelines?: ListPipelinesResponseBodyPipelines[];
|
|
1147
1171
|
/**
|
|
1148
1172
|
* @remarks
|
|
1149
|
-
* The request ID, which is used to locate the request
|
|
1173
|
+
* The request ID, which is used to locate the request during troubleshooting.
|
|
1150
1174
|
*
|
|
1151
1175
|
* @example
|
|
1152
1176
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PipelineOssSource extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The OSS data format. LeRobot identifies the data version from meta/info.json and supports v2.1 in the initial release. MCAP imports exact objects or directories.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* lerobot
|
|
12
|
+
*/
|
|
13
|
+
format?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Optional. If omitted or set to {}, the default configurations are used.
|
|
17
|
+
*
|
|
18
|
+
* The following example shows the structure of mcap_mapping, where the key is the camera view and the value is the MCAP topic path.
|
|
19
|
+
*
|
|
20
|
+
* ```json
|
|
21
|
+
* {
|
|
22
|
+
* "formatOptions": {
|
|
23
|
+
* "mcap_mapping": {
|
|
24
|
+
* "video_camera_right": "/example/camera/right",
|
|
25
|
+
* "video_camera_left": "/example/camera/left",
|
|
26
|
+
* "video_camera_head": "/example/camera/head"
|
|
27
|
+
* }
|
|
28
|
+
* }
|
|
29
|
+
* }
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* {}
|
|
34
|
+
*/
|
|
35
|
+
formatOptions?: { [key: string]: any };
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The region where the OSS bucket is located.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* cn-beijing
|
|
42
|
+
*/
|
|
43
|
+
region?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The ARN of the RAM role used to access OSS. The role must belong to the current authenticated account and have the required OSS access permissions for the target data.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* acs:ram::1234567890123456:role/oss-reader
|
|
50
|
+
*/
|
|
51
|
+
roleArn?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* The OSS URI in the format of oss://<bucket>/<path>. LeRobot accepts package directories or parent directories, and the batch scope includes direct candidate packages in the first batch of OSS list results. MCAP accepts exact object keys ending with .mcap or directories ending with /, where directories match only direct .mcap objects.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* oss://example-bucket/robot-datasets/example/
|
|
58
|
+
*/
|
|
59
|
+
uri?: string;
|
|
60
|
+
static names(): { [key: string]: string } {
|
|
61
|
+
return {
|
|
62
|
+
format: 'format',
|
|
63
|
+
formatOptions: 'formatOptions',
|
|
64
|
+
region: 'region',
|
|
65
|
+
roleArn: 'roleArn',
|
|
66
|
+
uri: 'uri',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
static types(): { [key: string]: any } {
|
|
71
|
+
return {
|
|
72
|
+
format: 'string',
|
|
73
|
+
formatOptions: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
74
|
+
region: 'string',
|
|
75
|
+
roleArn: 'string',
|
|
76
|
+
uri: 'string',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
validate() {
|
|
81
|
+
if(this.formatOptions) {
|
|
82
|
+
$dara.Model.validateMap(this.formatOptions);
|
|
83
|
+
}
|
|
84
|
+
super.validate();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
constructor(map?: { [key: string]: any }) {
|
|
88
|
+
super(map);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|