@alicloud/emr-serverless-spark20230808 2.0.0 → 2.2.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.
- package/dist/client.d.ts +102 -48
- package/dist/client.js +206 -48
- package/dist/client.js.map +1 -1
- package/dist/models/CreateProcessDefinitionWithScheduleRequest.d.ts +37 -37
- package/dist/models/CreateProcessDefinitionWithScheduleResponseBody.d.ts +6 -6
- package/dist/models/CreateProcessDefinitionWithScheduleShrinkRequest.d.ts +10 -10
- package/dist/models/CreateSessionClusterRequest.d.ts +35 -29
- package/dist/models/CreateSessionClusterRequest.js.map +1 -1
- package/dist/models/CreateSqlStatementRequest.d.ts +12 -5
- package/dist/models/CreateSqlStatementRequest.js.map +1 -1
- package/dist/models/CreateSqlStatementResponseBody.d.ts +1 -1
- package/dist/models/CreateWorkspaceQueueRequest.d.ts +131 -0
- package/dist/models/CreateWorkspaceQueueRequest.js +107 -0
- package/dist/models/CreateWorkspaceQueueRequest.js.map +1 -0
- package/dist/models/CreateWorkspaceQueueResponse.d.ts +19 -0
- package/dist/models/CreateWorkspaceQueueResponse.js +69 -0
- package/dist/models/CreateWorkspaceQueueResponse.js.map +1 -0
- package/dist/models/CreateWorkspaceQueueResponseBody.d.ts +21 -0
- package/dist/models/CreateWorkspaceQueueResponseBody.js +58 -0
- package/dist/models/CreateWorkspaceQueueResponseBody.js.map +1 -0
- package/dist/models/GetAicenterStateResponseBody.d.ts +4 -7
- package/dist/models/GetAicenterStateResponseBody.js.map +1 -1
- package/dist/models/GetDoctorApplicationRequest.d.ts +2 -2
- package/dist/models/GetDoctorApplicationResponseBody.d.ts +2 -5
- package/dist/models/GetDoctorApplicationResponseBody.js.map +1 -1
- package/dist/models/GetJobRunResponseBody.d.ts +77 -12
- package/dist/models/GetJobRunResponseBody.js +35 -1
- package/dist/models/GetJobRunResponseBody.js.map +1 -1
- package/dist/models/GetKyuubiServiceResponseBody.d.ts +14 -14
- package/dist/models/GetKyuubiTokenResponseBody.d.ts +10 -10
- package/dist/models/GetLivyComputeResponseBody.d.ts +21 -20
- package/dist/models/GetLivyComputeResponseBody.js.map +1 -1
- package/dist/models/GetLivyComputeTokenRequest.d.ts +1 -1
- package/dist/models/GetLivyComputeTokenResponseBody.d.ts +13 -15
- package/dist/models/GetLivyComputeTokenResponseBody.js.map +1 -1
- package/dist/models/GetRayClusterResponseBody.d.ts +31 -31
- package/dist/models/GetSessionClusterResponseBody.d.ts +37 -38
- package/dist/models/GetSessionClusterResponseBody.js.map +1 -1
- package/dist/models/GetWorkspaceRequest.d.ts +21 -0
- package/dist/models/GetWorkspaceRequest.js +58 -0
- package/dist/models/GetWorkspaceRequest.js.map +1 -0
- package/dist/models/GetWorkspaceResponse.d.ts +19 -0
- package/dist/models/GetWorkspaceResponse.js +69 -0
- package/dist/models/GetWorkspaceResponse.js.map +1 -0
- package/dist/models/GetWorkspaceResponseBody.d.ts +519 -0
- package/dist/models/GetWorkspaceResponseBody.js +278 -0
- package/dist/models/GetWorkspaceResponseBody.js.map +1 -0
- package/dist/models/ListExecutorLogsRequest.d.ts +4 -4
- package/dist/models/ListExecutorLogsResponseBody.d.ts +8 -8
- package/dist/models/ListJobRunsRequest.d.ts +19 -15
- package/dist/models/ListJobRunsRequest.js.map +1 -1
- package/dist/models/ListJobRunsResponseBody.d.ts +32 -22
- package/dist/models/ListJobRunsResponseBody.js.map +1 -1
- package/dist/models/ListJobRunsShrinkRequest.d.ts +15 -11
- package/dist/models/ListJobRunsShrinkRequest.js.map +1 -1
- package/dist/models/ListKyuubiServicesRequest.d.ts +1 -1
- package/dist/models/ListKyuubiServicesResponseBody.d.ts +15 -15
- package/dist/models/ListKyuubiSparkApplicationsRequest.d.ts +36 -7
- package/dist/models/ListKyuubiSparkApplicationsRequest.js.map +1 -1
- package/dist/models/ListKyuubiSparkApplicationsResponseBody.d.ts +29 -15
- package/dist/models/ListKyuubiSparkApplicationsResponseBody.js.map +1 -1
- package/dist/models/ListKyuubiSparkApplicationsShrinkRequest.d.ts +28 -5
- package/dist/models/ListKyuubiSparkApplicationsShrinkRequest.js.map +1 -1
- package/dist/models/ListKyuubiTokenResponseBody.d.ts +8 -8
- package/dist/models/ListLivyComputeRequest.d.ts +1 -1
- package/dist/models/ListLivyComputeResponseBody.d.ts +8 -8
- package/dist/models/ListLivyComputeSessionsRequest.d.ts +1 -1
- package/dist/models/ListLivyComputeSessionsResponseBody.d.ts +12 -17
- package/dist/models/ListLivyComputeSessionsResponseBody.js.map +1 -1
- package/dist/models/ListLivyComputeTokenResponseBody.d.ts +7 -7
- package/dist/models/ListMembersRequest.d.ts +2 -2
- package/dist/models/ListMembersResponseBody.d.ts +15 -13
- package/dist/models/ListMembersResponseBody.js.map +1 -1
- package/dist/models/ListQueueTopJobsRequest.d.ts +29 -0
- package/dist/models/ListQueueTopJobsRequest.js +60 -0
- package/dist/models/ListQueueTopJobsRequest.js.map +1 -0
- package/dist/models/ListQueueTopJobsResponse.d.ts +19 -0
- package/dist/models/ListQueueTopJobsResponse.js +69 -0
- package/dist/models/ListQueueTopJobsResponse.js.map +1 -0
- package/dist/models/ListQueueTopJobsResponseBody.d.ts +127 -0
- package/dist/models/ListQueueTopJobsResponseBody.js +120 -0
- package/dist/models/ListQueueTopJobsResponseBody.js.map +1 -0
- package/dist/models/ListRayClusterRequest.d.ts +1 -1
- package/dist/models/ListRayClusterResponseBody.d.ts +29 -28
- package/dist/models/ListRayClusterResponseBody.js.map +1 -1
- package/dist/models/ListRayJobRequest.d.ts +7 -7
- package/dist/models/ListRayJobResponseBody.d.ts +23 -23
- package/dist/models/ListRayJobShrinkRequest.d.ts +5 -5
- package/dist/models/ListSessionClustersRequest.d.ts +3 -3
- package/dist/models/ListSessionClustersResponseBody.d.ts +37 -31
- package/dist/models/ListSessionClustersResponseBody.js.map +1 -1
- package/dist/models/ListWorkspaceQueuesResponseBody.d.ts +29 -15
- package/dist/models/ListWorkspaceQueuesResponseBody.js.map +1 -1
- package/dist/models/ListWorkspacesRequest.d.ts +23 -5
- package/dist/models/ListWorkspacesRequest.js.map +1 -1
- package/dist/models/ListWorkspacesResponseBody.d.ts +117 -27
- package/dist/models/ListWorkspacesResponseBody.js.map +1 -1
- package/dist/models/ListWorkspacesShrinkRequest.d.ts +16 -4
- package/dist/models/ListWorkspacesShrinkRequest.js.map +1 -1
- package/dist/models/SubmitRayJobRequest.d.ts +21 -21
- package/dist/models/SubmitRayJobResponseBody.d.ts +1 -1
- package/dist/models/Task.d.ts +0 -183
- package/dist/models/Task.js.map +1 -1
- package/dist/models/UpdateProcessDefinitionWithScheduleRequest.d.ts +33 -33
- package/dist/models/UpdateProcessDefinitionWithScheduleResponseBody.d.ts +15 -15
- package/dist/models/UpdateProcessDefinitionWithScheduleShrinkRequest.d.ts +8 -8
- package/dist/models/UpdateRayClusterRequest.d.ts +10 -10
- package/dist/models/UpdateWorkspaceRequest.d.ts +45 -9
- package/dist/models/UpdateWorkspaceRequest.js.map +1 -1
- package/dist/models/UpdateWorkspaceResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +18 -0
- package/dist/models/model.js +48 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +225 -48
- package/src/models/CreateProcessDefinitionWithScheduleRequest.ts +37 -37
- package/src/models/CreateProcessDefinitionWithScheduleResponseBody.ts +6 -6
- package/src/models/CreateProcessDefinitionWithScheduleShrinkRequest.ts +10 -10
- package/src/models/CreateSessionClusterRequest.ts +35 -29
- package/src/models/CreateSqlStatementRequest.ts +12 -5
- package/src/models/CreateSqlStatementResponseBody.ts +1 -1
- package/src/models/CreateWorkspaceQueueRequest.ts +184 -0
- package/src/models/CreateWorkspaceQueueResponse.ts +40 -0
- package/src/models/CreateWorkspaceQueueResponseBody.ts +34 -0
- package/src/models/GetAicenterStateResponseBody.ts +4 -7
- package/src/models/GetDoctorApplicationRequest.ts +2 -2
- package/src/models/GetDoctorApplicationResponseBody.ts +2 -5
- package/src/models/GetJobRunResponseBody.ts +102 -12
- package/src/models/GetKyuubiServiceResponseBody.ts +14 -14
- package/src/models/GetKyuubiTokenResponseBody.ts +10 -10
- package/src/models/GetLivyComputeResponseBody.ts +21 -20
- package/src/models/GetLivyComputeTokenRequest.ts +1 -1
- package/src/models/GetLivyComputeTokenResponseBody.ts +13 -15
- package/src/models/GetRayClusterResponseBody.ts +31 -31
- package/src/models/GetSessionClusterResponseBody.ts +37 -38
- package/src/models/GetWorkspaceRequest.ts +34 -0
- package/src/models/GetWorkspaceResponse.ts +40 -0
- package/src/models/GetWorkspaceResponseBody.ts +707 -0
- package/src/models/ListExecutorLogsRequest.ts +4 -4
- package/src/models/ListExecutorLogsResponseBody.ts +8 -8
- package/src/models/ListJobRunsRequest.ts +19 -15
- package/src/models/ListJobRunsResponseBody.ts +32 -22
- package/src/models/ListJobRunsShrinkRequest.ts +15 -11
- package/src/models/ListKyuubiServicesRequest.ts +1 -1
- package/src/models/ListKyuubiServicesResponseBody.ts +15 -15
- package/src/models/ListKyuubiSparkApplicationsRequest.ts +36 -7
- package/src/models/ListKyuubiSparkApplicationsResponseBody.ts +29 -15
- package/src/models/ListKyuubiSparkApplicationsShrinkRequest.ts +28 -5
- package/src/models/ListKyuubiTokenResponseBody.ts +8 -8
- package/src/models/ListLivyComputeRequest.ts +1 -1
- package/src/models/ListLivyComputeResponseBody.ts +8 -8
- package/src/models/ListLivyComputeSessionsRequest.ts +1 -1
- package/src/models/ListLivyComputeSessionsResponseBody.ts +12 -17
- package/src/models/ListLivyComputeTokenResponseBody.ts +7 -7
- package/src/models/ListMembersRequest.ts +2 -2
- package/src/models/ListMembersResponseBody.ts +15 -13
- package/src/models/ListQueueTopJobsRequest.ts +44 -0
- package/src/models/ListQueueTopJobsResponse.ts +40 -0
- package/src/models/ListQueueTopJobsResponseBody.ts +184 -0
- package/src/models/ListRayClusterRequest.ts +1 -1
- package/src/models/ListRayClusterResponseBody.ts +29 -28
- package/src/models/ListRayJobRequest.ts +7 -7
- package/src/models/ListRayJobResponseBody.ts +23 -23
- package/src/models/ListRayJobShrinkRequest.ts +5 -5
- package/src/models/ListSessionClustersRequest.ts +3 -3
- package/src/models/ListSessionClustersResponseBody.ts +37 -31
- package/src/models/ListWorkspaceQueuesResponseBody.ts +29 -15
- package/src/models/ListWorkspacesRequest.ts +23 -5
- package/src/models/ListWorkspacesResponseBody.ts +117 -27
- package/src/models/ListWorkspacesShrinkRequest.ts +16 -4
- package/src/models/SubmitRayJobRequest.ts +21 -21
- package/src/models/SubmitRayJobResponseBody.ts +1 -1
- package/src/models/Task.ts +0 -183
- package/src/models/UpdateProcessDefinitionWithScheduleRequest.ts +33 -33
- package/src/models/UpdateProcessDefinitionWithScheduleResponseBody.ts +15 -15
- package/src/models/UpdateProcessDefinitionWithScheduleShrinkRequest.ts +8 -8
- package/src/models/UpdateRayClusterRequest.ts +10 -10
- package/src/models/UpdateWorkspaceRequest.ts +45 -9
- package/src/models/UpdateWorkspaceResponseBody.ts +1 -1
- package/src/models/model.ts +18 -0
package/src/models/Task.ts
CHANGED
|
@@ -4,45 +4,13 @@ import { SparkConf } from "./SparkConf";
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class TaskCredential extends $dara.Model {
|
|
7
|
-
/**
|
|
8
|
-
* @remarks
|
|
9
|
-
* access id
|
|
10
|
-
*/
|
|
11
7
|
accessId?: string;
|
|
12
|
-
/**
|
|
13
|
-
* @remarks
|
|
14
|
-
* The access URL.
|
|
15
|
-
*/
|
|
16
8
|
accessUrl?: string;
|
|
17
|
-
/**
|
|
18
|
-
* @remarks
|
|
19
|
-
* The expiration time.
|
|
20
|
-
*/
|
|
21
9
|
expire?: number;
|
|
22
|
-
/**
|
|
23
|
-
* @remarks
|
|
24
|
-
* The domain name.
|
|
25
|
-
*/
|
|
26
10
|
host?: string;
|
|
27
|
-
/**
|
|
28
|
-
* @remarks
|
|
29
|
-
* The path.
|
|
30
|
-
*/
|
|
31
11
|
path?: string;
|
|
32
|
-
/**
|
|
33
|
-
* @remarks
|
|
34
|
-
* policy
|
|
35
|
-
*/
|
|
36
12
|
policy?: string;
|
|
37
|
-
/**
|
|
38
|
-
* @remarks
|
|
39
|
-
* security token
|
|
40
|
-
*/
|
|
41
13
|
securityToken?: string;
|
|
42
|
-
/**
|
|
43
|
-
* @remarks
|
|
44
|
-
* The signature.
|
|
45
|
-
*/
|
|
46
14
|
signature?: string;
|
|
47
15
|
static names(): { [key: string]: string } {
|
|
48
16
|
return {
|
|
@@ -83,9 +51,6 @@ export class TaskRayHeadSpec extends $dara.Model {
|
|
|
83
51
|
cpu?: string;
|
|
84
52
|
enableAutoScaling?: boolean;
|
|
85
53
|
/**
|
|
86
|
-
* @remarks
|
|
87
|
-
* The environment variables of the Ray node.
|
|
88
|
-
*
|
|
89
54
|
* @example
|
|
90
55
|
* MY_ENV=123456
|
|
91
56
|
*/
|
|
@@ -95,17 +60,11 @@ export class TaskRayHeadSpec extends $dara.Model {
|
|
|
95
60
|
memory?: string;
|
|
96
61
|
queueName?: string;
|
|
97
62
|
/**
|
|
98
|
-
* @remarks
|
|
99
|
-
* The startup parameters of Ray.
|
|
100
|
-
*
|
|
101
63
|
* @example
|
|
102
64
|
* --num-cpus=0
|
|
103
65
|
*/
|
|
104
66
|
rayStartParams?: string;
|
|
105
67
|
/**
|
|
106
|
-
* @remarks
|
|
107
|
-
* The DPI engine version of Ray.
|
|
108
|
-
*
|
|
109
68
|
* @example
|
|
110
69
|
* err-1.3.0 (Ray 2.55.1, Python 3.12)
|
|
111
70
|
*/
|
|
@@ -153,9 +112,6 @@ export class TaskRayHeadSpec extends $dara.Model {
|
|
|
153
112
|
export class TaskRayWorkerSpec extends $dara.Model {
|
|
154
113
|
cpu?: string;
|
|
155
114
|
/**
|
|
156
|
-
* @remarks
|
|
157
|
-
* The environment variables of Ray.
|
|
158
|
-
*
|
|
159
115
|
* @example
|
|
160
116
|
* MY_ENV=123456
|
|
161
117
|
*/
|
|
@@ -167,17 +123,11 @@ export class TaskRayWorkerSpec extends $dara.Model {
|
|
|
167
123
|
minReplica?: number;
|
|
168
124
|
queueName?: string;
|
|
169
125
|
/**
|
|
170
|
-
* @remarks
|
|
171
|
-
* The startup parameters of Ray.
|
|
172
|
-
*
|
|
173
126
|
* @example
|
|
174
127
|
* --num-cpus=0
|
|
175
128
|
*/
|
|
176
129
|
rayStartParams?: string;
|
|
177
130
|
/**
|
|
178
|
-
* @remarks
|
|
179
|
-
* The DPI engine version of Ray.
|
|
180
|
-
*
|
|
181
131
|
* @example
|
|
182
132
|
* err-1.3.0 (Ray 2.55.1, Python 3.12)
|
|
183
133
|
*/
|
|
@@ -225,156 +175,62 @@ export class TaskRayWorkerSpec extends $dara.Model {
|
|
|
225
175
|
}
|
|
226
176
|
|
|
227
177
|
export class Task extends $dara.Model {
|
|
228
|
-
/**
|
|
229
|
-
* @remarks
|
|
230
|
-
* The --archives parameter.
|
|
231
|
-
*/
|
|
232
178
|
archives?: string[];
|
|
233
|
-
/**
|
|
234
|
-
* @remarks
|
|
235
|
-
* The temporary URL for accessing the resource file.
|
|
236
|
-
*/
|
|
237
179
|
artifactUrl?: string;
|
|
238
180
|
/**
|
|
239
181
|
* @remarks
|
|
240
|
-
* The business ID.
|
|
241
|
-
*
|
|
242
182
|
* This parameter is required.
|
|
243
183
|
*/
|
|
244
184
|
bizId?: string;
|
|
245
|
-
/**
|
|
246
|
-
* @remarks
|
|
247
|
-
* The business ID of the folder.
|
|
248
|
-
*/
|
|
249
185
|
categoryBizId?: string;
|
|
250
|
-
/**
|
|
251
|
-
* @remarks
|
|
252
|
-
* The Spark job content.
|
|
253
|
-
*/
|
|
254
186
|
content?: string;
|
|
255
187
|
/**
|
|
256
188
|
* @remarks
|
|
257
|
-
* The UID of the creator.
|
|
258
|
-
*
|
|
259
189
|
* This parameter is required.
|
|
260
190
|
*/
|
|
261
191
|
creator?: number;
|
|
262
|
-
/**
|
|
263
|
-
* @remarks
|
|
264
|
-
* The credential for direct OSS upload.
|
|
265
|
-
*/
|
|
266
192
|
credential?: TaskCredential;
|
|
267
|
-
/**
|
|
268
|
-
* @remarks
|
|
269
|
-
* The default catalog ID.
|
|
270
|
-
*/
|
|
271
193
|
defaultCatalogId?: string;
|
|
272
|
-
/**
|
|
273
|
-
* @remarks
|
|
274
|
-
* The default database.
|
|
275
|
-
*/
|
|
276
194
|
defaultDatabase?: string;
|
|
277
|
-
/**
|
|
278
|
-
* @remarks
|
|
279
|
-
* The ID of the default task queue.
|
|
280
|
-
*/
|
|
281
195
|
defaultResourceQueueId?: string;
|
|
282
|
-
/**
|
|
283
|
-
* @remarks
|
|
284
|
-
* The default SQL session ID.
|
|
285
|
-
*/
|
|
286
196
|
defaultSqlComputeId?: string;
|
|
287
|
-
/**
|
|
288
|
-
* @remarks
|
|
289
|
-
* The deployment ID of the streaming task.
|
|
290
|
-
*/
|
|
291
197
|
deploymentId?: string;
|
|
292
|
-
/**
|
|
293
|
-
* @remarks
|
|
294
|
-
* The environment ID.
|
|
295
|
-
*/
|
|
296
198
|
environmentId?: string;
|
|
297
|
-
/**
|
|
298
|
-
* @remarks
|
|
299
|
-
* The IDs of extra Spark artifacts.
|
|
300
|
-
*/
|
|
301
199
|
extraArtifactIds?: string[];
|
|
302
|
-
/**
|
|
303
|
-
* @remarks
|
|
304
|
-
* The custom spark-submit configuration parameters.
|
|
305
|
-
*/
|
|
306
200
|
extraSparkSubmitParams?: string;
|
|
307
|
-
/**
|
|
308
|
-
* @remarks
|
|
309
|
-
* The --files parameter.
|
|
310
|
-
*/
|
|
311
201
|
files?: string[];
|
|
312
|
-
/**
|
|
313
|
-
* @remarks
|
|
314
|
-
* Indicates whether the fusion feature is enabled.
|
|
315
|
-
*/
|
|
316
202
|
fusion?: boolean;
|
|
317
203
|
/**
|
|
318
204
|
* @remarks
|
|
319
|
-
* The creation time.
|
|
320
|
-
*
|
|
321
205
|
* This parameter is required.
|
|
322
206
|
*/
|
|
323
207
|
gmtCreated?: string;
|
|
324
208
|
/**
|
|
325
209
|
* @remarks
|
|
326
|
-
* The last modified time.
|
|
327
|
-
*
|
|
328
210
|
* This parameter is required.
|
|
329
211
|
*/
|
|
330
212
|
gmtModified?: string;
|
|
331
|
-
/**
|
|
332
|
-
* @remarks
|
|
333
|
-
* Indicates whether the task has been changed after the last commit.
|
|
334
|
-
*/
|
|
335
213
|
hasChanged?: boolean;
|
|
336
214
|
/**
|
|
337
215
|
* @remarks
|
|
338
|
-
* Indicates whether the task has been submitted.
|
|
339
|
-
*
|
|
340
216
|
* This parameter is required.
|
|
341
217
|
*/
|
|
342
218
|
hasCommited?: boolean;
|
|
343
|
-
/**
|
|
344
|
-
* @remarks
|
|
345
|
-
* Indicates whether the task is a streaming task.
|
|
346
|
-
*/
|
|
347
219
|
isStreaming?: boolean;
|
|
348
|
-
/**
|
|
349
|
-
* @remarks
|
|
350
|
-
* The --jars parameter.
|
|
351
|
-
*/
|
|
352
220
|
jars?: string[];
|
|
353
221
|
kernelId?: string;
|
|
354
|
-
/**
|
|
355
|
-
* @remarks
|
|
356
|
-
* The ID of the resource queue used in the last run.
|
|
357
|
-
*/
|
|
358
222
|
lastRunResourceQueueId?: string;
|
|
359
223
|
/**
|
|
360
224
|
* @remarks
|
|
361
|
-
* The UID of the last modifier.
|
|
362
|
-
*
|
|
363
225
|
* This parameter is required.
|
|
364
226
|
*/
|
|
365
227
|
modifier?: number;
|
|
366
228
|
/**
|
|
367
229
|
* @remarks
|
|
368
|
-
* The task name.
|
|
369
|
-
*
|
|
370
230
|
* This parameter is required.
|
|
371
231
|
*/
|
|
372
232
|
name?: string;
|
|
373
233
|
params?: { [key: string]: string };
|
|
374
|
-
/**
|
|
375
|
-
* @remarks
|
|
376
|
-
* The PySpark dependency pyfiles for the Spark task.
|
|
377
|
-
*/
|
|
378
234
|
pyFiles?: string[];
|
|
379
235
|
rayActiveDeadlineSeconds?: number;
|
|
380
236
|
rayBackoffLimit?: number;
|
|
@@ -397,91 +253,52 @@ export class Task extends $dara.Model {
|
|
|
397
253
|
rayWorkingDir?: string;
|
|
398
254
|
sessionClusterId?: string;
|
|
399
255
|
/**
|
|
400
|
-
* @remarks
|
|
401
|
-
* The Spark arguments.
|
|
402
|
-
*
|
|
403
256
|
* @example
|
|
404
257
|
* 100
|
|
405
258
|
*/
|
|
406
259
|
sparkArgs?: string;
|
|
407
|
-
/**
|
|
408
|
-
* @remarks
|
|
409
|
-
* The list of Spark configurations.
|
|
410
|
-
*/
|
|
411
260
|
sparkConf?: SparkConf[];
|
|
412
261
|
/**
|
|
413
262
|
* @remarks
|
|
414
|
-
* The number of Spark driver cores.
|
|
415
|
-
*
|
|
416
263
|
* This parameter is required.
|
|
417
264
|
*/
|
|
418
265
|
sparkDriverCores?: number;
|
|
419
266
|
/**
|
|
420
267
|
* @remarks
|
|
421
|
-
* The Spark driver memory.
|
|
422
|
-
*
|
|
423
268
|
* This parameter is required.
|
|
424
269
|
*/
|
|
425
270
|
sparkDriverMemory?: number;
|
|
426
|
-
/**
|
|
427
|
-
* @remarks
|
|
428
|
-
* The Spark main class entrypoint.
|
|
429
|
-
*/
|
|
430
271
|
sparkEntrypoint?: string;
|
|
431
272
|
/**
|
|
432
273
|
* @remarks
|
|
433
|
-
* The number of Spark executor cores.
|
|
434
|
-
*
|
|
435
274
|
* This parameter is required.
|
|
436
275
|
*/
|
|
437
276
|
sparkExecutorCores?: number;
|
|
438
277
|
/**
|
|
439
278
|
* @remarks
|
|
440
|
-
* The Spark executor memory.
|
|
441
|
-
*
|
|
442
279
|
* This parameter is required.
|
|
443
280
|
*/
|
|
444
281
|
sparkExecutorMemory?: number;
|
|
445
282
|
/**
|
|
446
283
|
* @remarks
|
|
447
|
-
* The Spark log level.
|
|
448
|
-
*
|
|
449
284
|
* This parameter is required.
|
|
450
285
|
*/
|
|
451
286
|
sparkLogLevel?: string;
|
|
452
287
|
/**
|
|
453
288
|
* @remarks
|
|
454
|
-
* The Spark log path.
|
|
455
|
-
*
|
|
456
289
|
* This parameter is required.
|
|
457
290
|
*/
|
|
458
291
|
sparkLogPath?: string;
|
|
459
|
-
/**
|
|
460
|
-
* @remarks
|
|
461
|
-
* The spark-submit task submission clause.
|
|
462
|
-
*/
|
|
463
292
|
sparkSubmitClause?: string;
|
|
464
293
|
/**
|
|
465
294
|
* @remarks
|
|
466
|
-
* The Spark version.
|
|
467
|
-
*
|
|
468
295
|
* This parameter is required.
|
|
469
296
|
*/
|
|
470
297
|
sparkVersion?: string;
|
|
471
|
-
/**
|
|
472
|
-
* @remarks
|
|
473
|
-
* The task labels.
|
|
474
|
-
*/
|
|
475
298
|
tags?: { [key: string]: string };
|
|
476
|
-
/**
|
|
477
|
-
* @remarks
|
|
478
|
-
* The task timeout period.
|
|
479
|
-
*/
|
|
480
299
|
timeout?: number;
|
|
481
300
|
/**
|
|
482
301
|
* @remarks
|
|
483
|
-
* The task type.
|
|
484
|
-
*
|
|
485
302
|
* This parameter is required.
|
|
486
303
|
*/
|
|
487
304
|
type?: string;
|
|
@@ -45,7 +45,7 @@ export class UpdateProcessDefinitionWithScheduleRequestSchedule extends $dara.Mo
|
|
|
45
45
|
crontab?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The end time of the schedule.
|
|
48
|
+
* The end time of the schedule. Format: YYYY-MM-DD HH:mm:ss.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 2025-12-23 16:13:27
|
|
@@ -53,7 +53,7 @@ export class UpdateProcessDefinitionWithScheduleRequestSchedule extends $dara.Mo
|
|
|
53
53
|
endTime?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The start time.
|
|
56
|
+
* The start time. Format: YYYY-MM-DD HH:mm:ss.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* 2024-12-23 16:13:27
|
|
@@ -185,7 +185,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
185
185
|
environmentId?: string;
|
|
186
186
|
/**
|
|
187
187
|
* @remarks
|
|
188
|
-
* Specifies whether to enable
|
|
188
|
+
* Specifies whether to enable Fusion engine acceleration.
|
|
189
189
|
*
|
|
190
190
|
* @example
|
|
191
191
|
* false
|
|
@@ -194,7 +194,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
194
194
|
localParams?: UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskParamsLocalParams[];
|
|
195
195
|
/**
|
|
196
196
|
* @remarks
|
|
197
|
-
* The name of the queue
|
|
197
|
+
* The name of the queue for running the node.
|
|
198
198
|
*
|
|
199
199
|
* This parameter is required.
|
|
200
200
|
*
|
|
@@ -204,7 +204,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
204
204
|
resourceQueueId?: string;
|
|
205
205
|
/**
|
|
206
206
|
* @remarks
|
|
207
|
-
* The Spark
|
|
207
|
+
* The Spark node configuration.
|
|
208
208
|
*/
|
|
209
209
|
sparkConf?: UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskParamsSparkConf[];
|
|
210
210
|
/**
|
|
@@ -217,7 +217,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
217
217
|
sparkDriverCores?: number;
|
|
218
218
|
/**
|
|
219
219
|
* @remarks
|
|
220
|
-
* The memory
|
|
220
|
+
* The memory for the Spark driver.
|
|
221
221
|
*
|
|
222
222
|
* @example
|
|
223
223
|
* 4g
|
|
@@ -225,7 +225,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
225
225
|
sparkDriverMemory?: number;
|
|
226
226
|
/**
|
|
227
227
|
* @remarks
|
|
228
|
-
* The number of cores for
|
|
228
|
+
* The number of cores for the Spark executor.
|
|
229
229
|
*
|
|
230
230
|
* @example
|
|
231
231
|
* 1
|
|
@@ -233,7 +233,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
233
233
|
sparkExecutorCores?: number;
|
|
234
234
|
/**
|
|
235
235
|
* @remarks
|
|
236
|
-
* The memory
|
|
236
|
+
* The memory for the Spark executor.
|
|
237
237
|
*
|
|
238
238
|
* @example
|
|
239
239
|
* 4g
|
|
@@ -249,7 +249,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
249
249
|
sparkLogLevel?: string;
|
|
250
250
|
/**
|
|
251
251
|
* @remarks
|
|
252
|
-
* The path
|
|
252
|
+
* The log path of the Spark node.
|
|
253
253
|
*/
|
|
254
254
|
sparkLogPath?: string;
|
|
255
255
|
/**
|
|
@@ -262,7 +262,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
262
262
|
sparkVersion?: string;
|
|
263
263
|
/**
|
|
264
264
|
* @remarks
|
|
265
|
-
* The
|
|
265
|
+
* The data development node ID.
|
|
266
266
|
*
|
|
267
267
|
* This parameter is required.
|
|
268
268
|
*
|
|
@@ -348,7 +348,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
348
348
|
export class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJson extends $dara.Model {
|
|
349
349
|
/**
|
|
350
350
|
* @remarks
|
|
351
|
-
* The email address
|
|
351
|
+
* The alert email address.
|
|
352
352
|
*
|
|
353
353
|
* @example
|
|
354
354
|
* foo_bar@spark.alert.invalid.com
|
|
@@ -356,7 +356,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJson extend
|
|
|
356
356
|
alertEmailAddress?: string;
|
|
357
357
|
/**
|
|
358
358
|
* @remarks
|
|
359
|
-
* The
|
|
359
|
+
* The node definition ID.
|
|
360
360
|
*
|
|
361
361
|
* This parameter is required.
|
|
362
362
|
*
|
|
@@ -366,7 +366,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJson extend
|
|
|
366
366
|
code?: number;
|
|
367
367
|
/**
|
|
368
368
|
* @remarks
|
|
369
|
-
* The
|
|
369
|
+
* The node definition description.
|
|
370
370
|
*
|
|
371
371
|
* @example
|
|
372
372
|
* ods transform task
|
|
@@ -374,7 +374,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJson extend
|
|
|
374
374
|
description?: string;
|
|
375
375
|
/**
|
|
376
376
|
* @remarks
|
|
377
|
-
* Specifies whether to enable alerts
|
|
377
|
+
* Specifies whether to enable alerts for node failures.
|
|
378
378
|
*
|
|
379
379
|
* @example
|
|
380
380
|
* true
|
|
@@ -382,7 +382,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJson extend
|
|
|
382
382
|
failAlertEnable?: boolean;
|
|
383
383
|
/**
|
|
384
384
|
* @remarks
|
|
385
|
-
* The number of
|
|
385
|
+
* The number of retries after a node fails.
|
|
386
386
|
*
|
|
387
387
|
* @example
|
|
388
388
|
* 1
|
|
@@ -390,7 +390,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJson extend
|
|
|
390
390
|
failRetryTimes?: number;
|
|
391
391
|
/**
|
|
392
392
|
* @remarks
|
|
393
|
-
* The
|
|
393
|
+
* The node name.
|
|
394
394
|
*
|
|
395
395
|
* This parameter is required.
|
|
396
396
|
*
|
|
@@ -400,7 +400,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJson extend
|
|
|
400
400
|
name?: string;
|
|
401
401
|
/**
|
|
402
402
|
* @remarks
|
|
403
|
-
* Specifies whether to enable alerts
|
|
403
|
+
* Specifies whether to enable alerts for node startup.
|
|
404
404
|
*
|
|
405
405
|
* @example
|
|
406
406
|
* true
|
|
@@ -413,14 +413,14 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJson extend
|
|
|
413
413
|
tags?: { [key: string]: string };
|
|
414
414
|
/**
|
|
415
415
|
* @remarks
|
|
416
|
-
* The
|
|
416
|
+
* The node definition parameters.
|
|
417
417
|
*
|
|
418
418
|
* This parameter is required.
|
|
419
419
|
*/
|
|
420
420
|
taskParams?: UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskParams;
|
|
421
421
|
/**
|
|
422
422
|
* @remarks
|
|
423
|
-
* The
|
|
423
|
+
* The workflow node type.
|
|
424
424
|
*
|
|
425
425
|
* This parameter is required.
|
|
426
426
|
*
|
|
@@ -430,7 +430,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJson extend
|
|
|
430
430
|
taskType?: string;
|
|
431
431
|
/**
|
|
432
432
|
* @remarks
|
|
433
|
-
* The default timeout
|
|
433
|
+
* The default timeout for node execution.
|
|
434
434
|
*
|
|
435
435
|
* @example
|
|
436
436
|
* 30
|
|
@@ -486,7 +486,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJson extend
|
|
|
486
486
|
export class UpdateProcessDefinitionWithScheduleRequestTaskRelationJson extends $dara.Model {
|
|
487
487
|
/**
|
|
488
488
|
* @remarks
|
|
489
|
-
* The name of the
|
|
489
|
+
* The name of the node topology relationship. Set this parameter to the workflow name.
|
|
490
490
|
*
|
|
491
491
|
* This parameter is required.
|
|
492
492
|
*
|
|
@@ -496,7 +496,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskRelationJson extends
|
|
|
496
496
|
name?: string;
|
|
497
497
|
/**
|
|
498
498
|
* @remarks
|
|
499
|
-
* The downstream
|
|
499
|
+
* The downstream node ID.
|
|
500
500
|
*
|
|
501
501
|
* This parameter is required.
|
|
502
502
|
*
|
|
@@ -506,7 +506,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskRelationJson extends
|
|
|
506
506
|
postTaskCode?: number;
|
|
507
507
|
/**
|
|
508
508
|
* @remarks
|
|
509
|
-
* The downstream
|
|
509
|
+
* The downstream node version.
|
|
510
510
|
*
|
|
511
511
|
* This parameter is required.
|
|
512
512
|
*
|
|
@@ -516,7 +516,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskRelationJson extends
|
|
|
516
516
|
postTaskVersion?: number;
|
|
517
517
|
/**
|
|
518
518
|
* @remarks
|
|
519
|
-
* The upstream
|
|
519
|
+
* The upstream node ID.
|
|
520
520
|
*
|
|
521
521
|
* This parameter is required.
|
|
522
522
|
*
|
|
@@ -526,7 +526,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskRelationJson extends
|
|
|
526
526
|
preTaskCode?: number;
|
|
527
527
|
/**
|
|
528
528
|
* @remarks
|
|
529
|
-
* The upstream
|
|
529
|
+
* The upstream node version.
|
|
530
530
|
*
|
|
531
531
|
* This parameter is required.
|
|
532
532
|
*
|
|
@@ -566,7 +566,7 @@ export class UpdateProcessDefinitionWithScheduleRequestTaskRelationJson extends
|
|
|
566
566
|
export class UpdateProcessDefinitionWithScheduleRequest extends $dara.Model {
|
|
567
567
|
/**
|
|
568
568
|
* @remarks
|
|
569
|
-
* The email address
|
|
569
|
+
* The alert email address.
|
|
570
570
|
*
|
|
571
571
|
* @example
|
|
572
572
|
* foo_bar@spark.alert.invalid.com
|
|
@@ -629,7 +629,7 @@ export class UpdateProcessDefinitionWithScheduleRequest extends $dara.Model {
|
|
|
629
629
|
regionId?: string;
|
|
630
630
|
/**
|
|
631
631
|
* @remarks
|
|
632
|
-
* The
|
|
632
|
+
* The online status of the workflow.
|
|
633
633
|
*
|
|
634
634
|
* @example
|
|
635
635
|
* ONLINE
|
|
@@ -653,7 +653,7 @@ export class UpdateProcessDefinitionWithScheduleRequest extends $dara.Model {
|
|
|
653
653
|
retryTimes?: number;
|
|
654
654
|
/**
|
|
655
655
|
* @remarks
|
|
656
|
-
* The user
|
|
656
|
+
* The execution user.
|
|
657
657
|
*
|
|
658
658
|
* @example
|
|
659
659
|
* 113***************
|
|
@@ -661,7 +661,7 @@ export class UpdateProcessDefinitionWithScheduleRequest extends $dara.Model {
|
|
|
661
661
|
runAs?: string;
|
|
662
662
|
/**
|
|
663
663
|
* @remarks
|
|
664
|
-
* The scheduling
|
|
664
|
+
* The scheduling structure.
|
|
665
665
|
*/
|
|
666
666
|
schedule?: UpdateProcessDefinitionWithScheduleRequestSchedule;
|
|
667
667
|
/**
|
|
@@ -671,14 +671,14 @@ export class UpdateProcessDefinitionWithScheduleRequest extends $dara.Model {
|
|
|
671
671
|
tags?: { [key: string]: string };
|
|
672
672
|
/**
|
|
673
673
|
* @remarks
|
|
674
|
-
*
|
|
674
|
+
* The JSON array of node definitions, which contains the description information of all nodes in the workflow.
|
|
675
675
|
*
|
|
676
676
|
* This parameter is required.
|
|
677
677
|
*/
|
|
678
678
|
taskDefinitionJson?: UpdateProcessDefinitionWithScheduleRequestTaskDefinitionJson[];
|
|
679
679
|
/**
|
|
680
680
|
* @remarks
|
|
681
|
-
* The
|
|
681
|
+
* The concurrency of workflow node execution.
|
|
682
682
|
*
|
|
683
683
|
* @example
|
|
684
684
|
* 1
|
|
@@ -686,14 +686,14 @@ export class UpdateProcessDefinitionWithScheduleRequest extends $dara.Model {
|
|
|
686
686
|
taskParallelism?: number;
|
|
687
687
|
/**
|
|
688
688
|
* @remarks
|
|
689
|
-
*
|
|
689
|
+
* The JSON array of node dependencies, which contains the dependencies among all nodes in the workflow. preTaskCode is the upstream node ID, and postTaskCode is the downstream node ID. Each node must have a unique ID. If a node does not have an upstream node, you must add a dependency with preTaskCode set to 0.
|
|
690
690
|
*
|
|
691
691
|
* This parameter is required.
|
|
692
692
|
*/
|
|
693
693
|
taskRelationJson?: UpdateProcessDefinitionWithScheduleRequestTaskRelationJson[];
|
|
694
694
|
/**
|
|
695
695
|
* @remarks
|
|
696
|
-
* The default timeout
|
|
696
|
+
* The default timeout for workflow execution.
|
|
697
697
|
*
|
|
698
698
|
* @example
|
|
699
699
|
* 300
|