@alicloud/emr-serverless-spark20230808 2.1.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 +84 -48
- package/dist/client.js +135 -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/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 +14 -0
- package/dist/models/model.js +40 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +142 -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/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 +14 -0
|
@@ -45,7 +45,7 @@ export class CreateProcessDefinitionWithScheduleRequestSchedule 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 CreateProcessDefinitionWithScheduleRequestSchedule extends $dara.Mo
|
|
|
53
53
|
endTime?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The start time of the schedule.
|
|
56
|
+
* The start time of the schedule. 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 CreateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
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 CreateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
194
194
|
localParams?: CreateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskParamsLocalParams[];
|
|
195
195
|
/**
|
|
196
196
|
* @remarks
|
|
197
|
-
* The resource queue
|
|
197
|
+
* The resource queue for running the Spark task.
|
|
198
198
|
*
|
|
199
199
|
* This parameter is required.
|
|
200
200
|
*
|
|
@@ -204,7 +204,7 @@ export class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
204
204
|
resourceQueueId?: string;
|
|
205
205
|
/**
|
|
206
206
|
* @remarks
|
|
207
|
-
* The
|
|
207
|
+
* The Spark task configurations.
|
|
208
208
|
*/
|
|
209
209
|
sparkConf?: CreateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskParamsSparkConf[];
|
|
210
210
|
/**
|
|
@@ -217,7 +217,7 @@ export class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
217
217
|
sparkDriverCores?: number;
|
|
218
218
|
/**
|
|
219
219
|
* @remarks
|
|
220
|
-
* The memory
|
|
220
|
+
* The memory size for the Spark driver.
|
|
221
221
|
*
|
|
222
222
|
* @example
|
|
223
223
|
* 4g
|
|
@@ -225,7 +225,7 @@ export class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
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 CreateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
233
233
|
sparkExecutorCores?: number;
|
|
234
234
|
/**
|
|
235
235
|
* @remarks
|
|
236
|
-
* The memory
|
|
236
|
+
* The memory size for the Spark executor.
|
|
237
237
|
*
|
|
238
238
|
* @example
|
|
239
239
|
* 4g
|
|
@@ -241,7 +241,7 @@ export class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
241
241
|
sparkExecutorMemory?: number;
|
|
242
242
|
/**
|
|
243
243
|
* @remarks
|
|
244
|
-
* The log level
|
|
244
|
+
* The Spark log level.
|
|
245
245
|
*
|
|
246
246
|
* @example
|
|
247
247
|
* INFO
|
|
@@ -249,12 +249,12 @@ export class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
249
249
|
sparkLogLevel?: string;
|
|
250
250
|
/**
|
|
251
251
|
* @remarks
|
|
252
|
-
* The path
|
|
252
|
+
* The path to the task logs of the Spark node.
|
|
253
253
|
*/
|
|
254
254
|
sparkLogPath?: string;
|
|
255
255
|
/**
|
|
256
256
|
* @remarks
|
|
257
|
-
* The version of the Spark engine.
|
|
257
|
+
* The database engine version of the Spark DPI engine.
|
|
258
258
|
*
|
|
259
259
|
* @example
|
|
260
260
|
* esr-4.0.0 (Spark 3.5.2, Scala 2.12)
|
|
@@ -262,7 +262,7 @@ export class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
262
262
|
sparkVersion?: string;
|
|
263
263
|
/**
|
|
264
264
|
* @remarks
|
|
265
|
-
* The
|
|
265
|
+
* The data development task ID.
|
|
266
266
|
*
|
|
267
267
|
* This parameter is required.
|
|
268
268
|
*
|
|
@@ -272,7 +272,7 @@ export class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
272
272
|
taskBizId?: string;
|
|
273
273
|
/**
|
|
274
274
|
* @remarks
|
|
275
|
-
* The
|
|
275
|
+
* The Spark task type.
|
|
276
276
|
*
|
|
277
277
|
* @example
|
|
278
278
|
* SQL
|
|
@@ -348,7 +348,7 @@ export class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskPar
|
|
|
348
348
|
export class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJson extends $dara.Model {
|
|
349
349
|
/**
|
|
350
350
|
* @remarks
|
|
351
|
-
* The email address
|
|
351
|
+
* The email address for alert notifications.
|
|
352
352
|
*
|
|
353
353
|
* @example
|
|
354
354
|
* foo_bar@spark.alert.invalid.com
|
|
@@ -356,7 +356,7 @@ export class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJson extend
|
|
|
356
356
|
alertEmailAddress?: string;
|
|
357
357
|
/**
|
|
358
358
|
* @remarks
|
|
359
|
-
* The
|
|
359
|
+
* The task definition ID.
|
|
360
360
|
*
|
|
361
361
|
* This parameter is required.
|
|
362
362
|
*
|
|
@@ -366,7 +366,7 @@ export class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJson extend
|
|
|
366
366
|
code?: number;
|
|
367
367
|
/**
|
|
368
368
|
* @remarks
|
|
369
|
-
* The
|
|
369
|
+
* The task definition description.
|
|
370
370
|
*
|
|
371
371
|
* @example
|
|
372
372
|
* ods transform task
|
|
@@ -374,7 +374,7 @@ export class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJson extend
|
|
|
374
374
|
description?: string;
|
|
375
375
|
/**
|
|
376
376
|
* @remarks
|
|
377
|
-
* Specifies whether to enable alerts
|
|
377
|
+
* Specifies whether to enable alerts for task failures.
|
|
378
378
|
*
|
|
379
379
|
* @example
|
|
380
380
|
* false
|
|
@@ -382,7 +382,7 @@ export class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJson extend
|
|
|
382
382
|
failAlertEnable?: boolean;
|
|
383
383
|
/**
|
|
384
384
|
* @remarks
|
|
385
|
-
* The number of
|
|
385
|
+
* The number of retries after a task fails.
|
|
386
386
|
*
|
|
387
387
|
* @example
|
|
388
388
|
* 1
|
|
@@ -390,7 +390,7 @@ export class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJson extend
|
|
|
390
390
|
failRetryTimes?: number;
|
|
391
391
|
/**
|
|
392
392
|
* @remarks
|
|
393
|
-
* The name
|
|
393
|
+
* The task name.
|
|
394
394
|
*
|
|
395
395
|
* This parameter is required.
|
|
396
396
|
*
|
|
@@ -400,7 +400,7 @@ export class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJson extend
|
|
|
400
400
|
name?: string;
|
|
401
401
|
/**
|
|
402
402
|
* @remarks
|
|
403
|
-
* Specifies whether to enable alerts
|
|
403
|
+
* Specifies whether to enable alerts for task startup.
|
|
404
404
|
*
|
|
405
405
|
* @example
|
|
406
406
|
* false
|
|
@@ -413,14 +413,14 @@ export class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJson extend
|
|
|
413
413
|
tags?: { [key: string]: string };
|
|
414
414
|
/**
|
|
415
415
|
* @remarks
|
|
416
|
-
* The
|
|
416
|
+
* The task definition parameters.
|
|
417
417
|
*
|
|
418
418
|
* This parameter is required.
|
|
419
419
|
*/
|
|
420
420
|
taskParams?: CreateProcessDefinitionWithScheduleRequestTaskDefinitionJsonTaskParams;
|
|
421
421
|
/**
|
|
422
422
|
* @remarks
|
|
423
|
-
* The
|
|
423
|
+
* The workflow node type.
|
|
424
424
|
*
|
|
425
425
|
* This parameter is required.
|
|
426
426
|
*
|
|
@@ -486,7 +486,7 @@ export class CreateProcessDefinitionWithScheduleRequestTaskDefinitionJson extend
|
|
|
486
486
|
export class CreateProcessDefinitionWithScheduleRequestTaskRelationJson extends $dara.Model {
|
|
487
487
|
/**
|
|
488
488
|
* @remarks
|
|
489
|
-
* The name of the task topology.
|
|
489
|
+
* The name of the task 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 CreateProcessDefinitionWithScheduleRequestTaskRelationJson extends
|
|
|
496
496
|
name?: string;
|
|
497
497
|
/**
|
|
498
498
|
* @remarks
|
|
499
|
-
* The
|
|
499
|
+
* The downstream task ID.
|
|
500
500
|
*
|
|
501
501
|
* This parameter is required.
|
|
502
502
|
*
|
|
@@ -506,7 +506,7 @@ export class CreateProcessDefinitionWithScheduleRequestTaskRelationJson extends
|
|
|
506
506
|
postTaskCode?: number;
|
|
507
507
|
/**
|
|
508
508
|
* @remarks
|
|
509
|
-
* The
|
|
509
|
+
* The downstream task version.
|
|
510
510
|
*
|
|
511
511
|
* This parameter is required.
|
|
512
512
|
*
|
|
@@ -516,7 +516,7 @@ export class CreateProcessDefinitionWithScheduleRequestTaskRelationJson extends
|
|
|
516
516
|
postTaskVersion?: number;
|
|
517
517
|
/**
|
|
518
518
|
* @remarks
|
|
519
|
-
* The
|
|
519
|
+
* The upstream task ID.
|
|
520
520
|
*
|
|
521
521
|
* This parameter is required.
|
|
522
522
|
*
|
|
@@ -526,7 +526,7 @@ export class CreateProcessDefinitionWithScheduleRequestTaskRelationJson extends
|
|
|
526
526
|
preTaskCode?: number;
|
|
527
527
|
/**
|
|
528
528
|
* @remarks
|
|
529
|
-
* The
|
|
529
|
+
* The upstream task version.
|
|
530
530
|
*
|
|
531
531
|
* This parameter is required.
|
|
532
532
|
*
|
|
@@ -566,7 +566,7 @@ export class CreateProcessDefinitionWithScheduleRequestTaskRelationJson extends
|
|
|
566
566
|
export class CreateProcessDefinitionWithScheduleRequest extends $dara.Model {
|
|
567
567
|
/**
|
|
568
568
|
* @remarks
|
|
569
|
-
* The email address
|
|
569
|
+
* The email address for alert notifications.
|
|
570
570
|
*
|
|
571
571
|
* @example
|
|
572
572
|
* foo_bar@spark.alert.invalid.com
|
|
@@ -574,7 +574,7 @@ export class CreateProcessDefinitionWithScheduleRequest extends $dara.Model {
|
|
|
574
574
|
alertEmailAddress?: string;
|
|
575
575
|
/**
|
|
576
576
|
* @remarks
|
|
577
|
-
* The description
|
|
577
|
+
* The workflow description.
|
|
578
578
|
*
|
|
579
579
|
* This parameter is required.
|
|
580
580
|
*
|
|
@@ -584,7 +584,7 @@ export class CreateProcessDefinitionWithScheduleRequest extends $dara.Model {
|
|
|
584
584
|
description?: string;
|
|
585
585
|
/**
|
|
586
586
|
* @remarks
|
|
587
|
-
* The execution
|
|
587
|
+
* The execution strategy.
|
|
588
588
|
*
|
|
589
589
|
* This parameter is required.
|
|
590
590
|
*
|
|
@@ -595,7 +595,7 @@ export class CreateProcessDefinitionWithScheduleRequest extends $dara.Model {
|
|
|
595
595
|
globalParams?: CreateProcessDefinitionWithScheduleRequestGlobalParams[];
|
|
596
596
|
/**
|
|
597
597
|
* @remarks
|
|
598
|
-
* The name
|
|
598
|
+
* The workflow name.
|
|
599
599
|
*
|
|
600
600
|
* This parameter is required.
|
|
601
601
|
*
|
|
@@ -647,7 +647,7 @@ export class CreateProcessDefinitionWithScheduleRequest extends $dara.Model {
|
|
|
647
647
|
retryTimes?: number;
|
|
648
648
|
/**
|
|
649
649
|
* @remarks
|
|
650
|
-
* The Alibaba Cloud UID of the user
|
|
650
|
+
* The Alibaba Cloud UID of the execution user.
|
|
651
651
|
*
|
|
652
652
|
* @example
|
|
653
653
|
* 113***************
|
|
@@ -655,7 +655,7 @@ export class CreateProcessDefinitionWithScheduleRequest extends $dara.Model {
|
|
|
655
655
|
runAs?: string;
|
|
656
656
|
/**
|
|
657
657
|
* @remarks
|
|
658
|
-
* The scheduling
|
|
658
|
+
* The scheduling structure.
|
|
659
659
|
*/
|
|
660
660
|
schedule?: CreateProcessDefinitionWithScheduleRequestSchedule;
|
|
661
661
|
/**
|
|
@@ -665,14 +665,14 @@ export class CreateProcessDefinitionWithScheduleRequest extends $dara.Model {
|
|
|
665
665
|
tags?: { [key: string]: string };
|
|
666
666
|
/**
|
|
667
667
|
* @remarks
|
|
668
|
-
*
|
|
668
|
+
* The JSON array of task definitions. It contains the description information of all tasks in the workflow.
|
|
669
669
|
*
|
|
670
670
|
* This parameter is required.
|
|
671
671
|
*/
|
|
672
672
|
taskDefinitionJson?: CreateProcessDefinitionWithScheduleRequestTaskDefinitionJson[];
|
|
673
673
|
/**
|
|
674
674
|
* @remarks
|
|
675
|
-
* The
|
|
675
|
+
* The task concurrency.
|
|
676
676
|
*
|
|
677
677
|
* @example
|
|
678
678
|
* 1
|
|
@@ -680,14 +680,14 @@ export class CreateProcessDefinitionWithScheduleRequest extends $dara.Model {
|
|
|
680
680
|
taskParallelism?: number;
|
|
681
681
|
/**
|
|
682
682
|
* @remarks
|
|
683
|
-
*
|
|
683
|
+
* The JSON array of task dependencies. It contains the dependencies among all tasks in the workflow. preTaskCode specifies the upstream task ID, and postTaskCode specifies the downstream task ID. Each task must have a unique ID. If a task node does not have an upstream task, you must add a dependency with preTaskCode set to 0.
|
|
684
684
|
*
|
|
685
685
|
* This parameter is required.
|
|
686
686
|
*/
|
|
687
687
|
taskRelationJson?: CreateProcessDefinitionWithScheduleRequestTaskRelationJson[];
|
|
688
688
|
/**
|
|
689
689
|
* @remarks
|
|
690
|
-
* The default timeout period for
|
|
690
|
+
* The default timeout period for workflow execution, in seconds.
|
|
691
691
|
*
|
|
692
692
|
* @example
|
|
693
693
|
* 60
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateProcessDefinitionWithScheduleResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The workflow definition ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 160************
|
|
@@ -13,7 +13,7 @@ export class CreateProcessDefinitionWithScheduleResponseBodyData extends $dara.M
|
|
|
13
13
|
code?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The workflow definition number.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 12342
|
|
@@ -53,7 +53,7 @@ export class CreateProcessDefinitionWithScheduleResponseBody extends $dara.Model
|
|
|
53
53
|
code?: number;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The returned
|
|
56
|
+
* The returned result.
|
|
57
57
|
*/
|
|
58
58
|
data?: CreateProcessDefinitionWithScheduleResponseBodyData;
|
|
59
59
|
/**
|
|
@@ -74,7 +74,7 @@ export class CreateProcessDefinitionWithScheduleResponseBody extends $dara.Model
|
|
|
74
74
|
httpStatusCode?: number;
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
*
|
|
77
|
+
* The detailed description corresponding to the request code.
|
|
78
78
|
*
|
|
79
79
|
* @example
|
|
80
80
|
* No permission for resource action
|
|
@@ -82,7 +82,7 @@ export class CreateProcessDefinitionWithScheduleResponseBody extends $dara.Model
|
|
|
82
82
|
msg?: string;
|
|
83
83
|
/**
|
|
84
84
|
* @remarks
|
|
85
|
-
* The ID
|
|
85
|
+
* The request ID.
|
|
86
86
|
*
|
|
87
87
|
* @example
|
|
88
88
|
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
@@ -90,7 +90,7 @@ export class CreateProcessDefinitionWithScheduleResponseBody extends $dara.Model
|
|
|
90
90
|
requestId?: string;
|
|
91
91
|
/**
|
|
92
92
|
* @remarks
|
|
93
|
-
* Indicates whether the request
|
|
93
|
+
* Indicates whether the request is successful.
|
|
94
94
|
*
|
|
95
95
|
* @example
|
|
96
96
|
* true
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateProcessDefinitionWithScheduleShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The email address
|
|
8
|
+
* The email address for alert notifications.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* foo_bar@spark.alert.invalid.com
|
|
@@ -13,7 +13,7 @@ export class CreateProcessDefinitionWithScheduleShrinkRequest extends $dara.Mode
|
|
|
13
13
|
alertEmailAddress?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The description
|
|
16
|
+
* The workflow description.
|
|
17
17
|
*
|
|
18
18
|
* This parameter is required.
|
|
19
19
|
*
|
|
@@ -23,7 +23,7 @@ export class CreateProcessDefinitionWithScheduleShrinkRequest extends $dara.Mode
|
|
|
23
23
|
description?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The execution
|
|
26
|
+
* The execution strategy.
|
|
27
27
|
*
|
|
28
28
|
* This parameter is required.
|
|
29
29
|
*
|
|
@@ -34,7 +34,7 @@ export class CreateProcessDefinitionWithScheduleShrinkRequest extends $dara.Mode
|
|
|
34
34
|
globalParamsShrink?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The name
|
|
37
|
+
* The workflow name.
|
|
38
38
|
*
|
|
39
39
|
* This parameter is required.
|
|
40
40
|
*
|
|
@@ -86,7 +86,7 @@ export class CreateProcessDefinitionWithScheduleShrinkRequest extends $dara.Mode
|
|
|
86
86
|
retryTimes?: number;
|
|
87
87
|
/**
|
|
88
88
|
* @remarks
|
|
89
|
-
* The Alibaba Cloud UID of the user
|
|
89
|
+
* The Alibaba Cloud UID of the execution user.
|
|
90
90
|
*
|
|
91
91
|
* @example
|
|
92
92
|
* 113***************
|
|
@@ -94,7 +94,7 @@ export class CreateProcessDefinitionWithScheduleShrinkRequest extends $dara.Mode
|
|
|
94
94
|
runAs?: string;
|
|
95
95
|
/**
|
|
96
96
|
* @remarks
|
|
97
|
-
* The scheduling
|
|
97
|
+
* The scheduling structure.
|
|
98
98
|
*/
|
|
99
99
|
scheduleShrink?: string;
|
|
100
100
|
/**
|
|
@@ -104,14 +104,14 @@ export class CreateProcessDefinitionWithScheduleShrinkRequest extends $dara.Mode
|
|
|
104
104
|
tagsShrink?: string;
|
|
105
105
|
/**
|
|
106
106
|
* @remarks
|
|
107
|
-
*
|
|
107
|
+
* The JSON array of task definitions. It contains the description information of all tasks in the workflow.
|
|
108
108
|
*
|
|
109
109
|
* This parameter is required.
|
|
110
110
|
*/
|
|
111
111
|
taskDefinitionJsonShrink?: string;
|
|
112
112
|
/**
|
|
113
113
|
* @remarks
|
|
114
|
-
* The
|
|
114
|
+
* The task concurrency.
|
|
115
115
|
*
|
|
116
116
|
* @example
|
|
117
117
|
* 1
|
|
@@ -119,14 +119,14 @@ export class CreateProcessDefinitionWithScheduleShrinkRequest extends $dara.Mode
|
|
|
119
119
|
taskParallelism?: number;
|
|
120
120
|
/**
|
|
121
121
|
* @remarks
|
|
122
|
-
*
|
|
122
|
+
* The JSON array of task dependencies. It contains the dependencies among all tasks in the workflow. preTaskCode specifies the upstream task ID, and postTaskCode specifies the downstream task ID. Each task must have a unique ID. If a task node does not have an upstream task, you must add a dependency with preTaskCode set to 0.
|
|
123
123
|
*
|
|
124
124
|
* This parameter is required.
|
|
125
125
|
*/
|
|
126
126
|
taskRelationJsonShrink?: string;
|
|
127
127
|
/**
|
|
128
128
|
* @remarks
|
|
129
|
-
* The default timeout period for
|
|
129
|
+
* The default timeout period for workflow execution, in seconds.
|
|
130
130
|
*
|
|
131
131
|
* @example
|
|
132
132
|
* 60
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateSessionClusterRequestApplicationConfigs extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The configuration file name.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* spark-defaults.conf
|
|
@@ -13,7 +13,7 @@ export class CreateSessionClusterRequestApplicationConfigs extends $dara.Model {
|
|
|
13
13
|
configFileName?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The Spark Conf key.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* spark.app.name
|
|
@@ -21,7 +21,7 @@ export class CreateSessionClusterRequestApplicationConfigs extends $dara.Model {
|
|
|
21
21
|
configItemKey?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The
|
|
24
|
+
* The Spark Conf value.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* test
|
|
@@ -55,11 +55,9 @@ export class CreateSessionClusterRequestApplicationConfigs extends $dara.Model {
|
|
|
55
55
|
export class CreateSessionClusterRequestAutoStartConfiguration extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* Specifies whether to enable automatic startup.
|
|
59
|
-
*
|
|
60
|
-
* -
|
|
61
|
-
*
|
|
62
|
-
* - false: Disables automatic startup.
|
|
58
|
+
* Specifies whether to enable automatic startup. Valid values:
|
|
59
|
+
* - true: Enabled.
|
|
60
|
+
* - false: Disabled.
|
|
63
61
|
*
|
|
64
62
|
* @example
|
|
65
63
|
* false
|
|
@@ -89,11 +87,9 @@ export class CreateSessionClusterRequestAutoStartConfiguration extends $dara.Mod
|
|
|
89
87
|
export class CreateSessionClusterRequestAutoStopConfiguration extends $dara.Model {
|
|
90
88
|
/**
|
|
91
89
|
* @remarks
|
|
92
|
-
* Specifies whether to
|
|
93
|
-
*
|
|
94
|
-
* -
|
|
95
|
-
*
|
|
96
|
-
* - false: Disables automatic stop.
|
|
90
|
+
* Specifies whether to allow automatic stop. Valid values:
|
|
91
|
+
* - true: Allowed.
|
|
92
|
+
* - false: Not allowed.
|
|
97
93
|
*
|
|
98
94
|
* @example
|
|
99
95
|
* false
|
|
@@ -101,7 +97,7 @@ export class CreateSessionClusterRequestAutoStopConfiguration extends $dara.Mode
|
|
|
101
97
|
enable?: boolean;
|
|
102
98
|
/**
|
|
103
99
|
* @remarks
|
|
104
|
-
* The idle
|
|
100
|
+
* The number of idle minutes after which the session is automatically stopped.
|
|
105
101
|
*
|
|
106
102
|
* @example
|
|
107
103
|
* 60
|
|
@@ -138,11 +134,9 @@ export class CreateSessionClusterRequest extends $dara.Model {
|
|
|
138
134
|
applicationConfigs?: CreateSessionClusterRequestApplicationConfigs[];
|
|
139
135
|
/**
|
|
140
136
|
* @remarks
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
* -
|
|
144
|
-
*
|
|
145
|
-
* - false: No.
|
|
137
|
+
* Specifies whether to enable automatic startup. Valid values:
|
|
138
|
+
* - true: Enabled.
|
|
139
|
+
* - false: Disabled.
|
|
146
140
|
*/
|
|
147
141
|
autoStartConfiguration?: CreateSessionClusterRequestAutoStartConfiguration;
|
|
148
142
|
/**
|
|
@@ -150,10 +144,17 @@ export class CreateSessionClusterRequest extends $dara.Model {
|
|
|
150
144
|
* The automatic stop configuration.
|
|
151
145
|
*/
|
|
152
146
|
autoStopConfiguration?: CreateSessionClusterRequestAutoStopConfiguration;
|
|
147
|
+
/**
|
|
148
|
+
* @remarks
|
|
149
|
+
* The client token that is used to ensure the idempotence of the request.
|
|
150
|
+
*
|
|
151
|
+
* @example
|
|
152
|
+
* my-token-asxkxxxxxxx
|
|
153
|
+
*/
|
|
153
154
|
clientToken?: string;
|
|
154
155
|
/**
|
|
155
156
|
* @remarks
|
|
156
|
-
* The version
|
|
157
|
+
* The version displayed in the console.
|
|
157
158
|
*
|
|
158
159
|
* @example
|
|
159
160
|
* esr-3.3.1
|
|
@@ -161,7 +162,7 @@ export class CreateSessionClusterRequest extends $dara.Model {
|
|
|
161
162
|
displayReleaseVersion?: string;
|
|
162
163
|
/**
|
|
163
164
|
* @remarks
|
|
164
|
-
* The
|
|
165
|
+
* The Python environment ID. This parameter takes effect only for Notebook sessions.
|
|
165
166
|
*
|
|
166
167
|
* @example
|
|
167
168
|
* env-cpv569tlhtgndjl86t40
|
|
@@ -169,7 +170,7 @@ export class CreateSessionClusterRequest extends $dara.Model {
|
|
|
169
170
|
envId?: string;
|
|
170
171
|
/**
|
|
171
172
|
* @remarks
|
|
172
|
-
* Specifies whether to enable
|
|
173
|
+
* Specifies whether to enable Fusion engine acceleration.
|
|
173
174
|
*
|
|
174
175
|
* @example
|
|
175
176
|
* false
|
|
@@ -177,11 +178,9 @@ export class CreateSessionClusterRequest extends $dara.Model {
|
|
|
177
178
|
fusion?: boolean;
|
|
178
179
|
/**
|
|
179
180
|
* @remarks
|
|
180
|
-
* The type
|
|
181
|
-
*
|
|
182
|
-
* -
|
|
183
|
-
*
|
|
184
|
-
* - NOTEBOOK: a Notebook session.
|
|
181
|
+
* The session type. Valid values:
|
|
182
|
+
* - SQL: SQL session.
|
|
183
|
+
* - NOTEBOOK: NOTEBOOK session.
|
|
185
184
|
*
|
|
186
185
|
* @example
|
|
187
186
|
* SQL
|
|
@@ -189,12 +188,19 @@ export class CreateSessionClusterRequest extends $dara.Model {
|
|
|
189
188
|
kind?: string;
|
|
190
189
|
/**
|
|
191
190
|
* @remarks
|
|
192
|
-
* The name
|
|
191
|
+
* The node name.
|
|
193
192
|
*
|
|
194
193
|
* @example
|
|
195
194
|
* spark_job_name
|
|
196
195
|
*/
|
|
197
196
|
name?: string;
|
|
197
|
+
/**
|
|
198
|
+
* @remarks
|
|
199
|
+
* Specifies whether to enable the public network access endpoint.
|
|
200
|
+
*
|
|
201
|
+
* @example
|
|
202
|
+
* false
|
|
203
|
+
*/
|
|
198
204
|
publicEndpointEnabled?: boolean;
|
|
199
205
|
/**
|
|
200
206
|
* @remarks
|
|
@@ -206,7 +212,7 @@ export class CreateSessionClusterRequest extends $dara.Model {
|
|
|
206
212
|
queueName?: string;
|
|
207
213
|
/**
|
|
208
214
|
* @remarks
|
|
209
|
-
* The
|
|
215
|
+
* The Spark DPI engine version number.
|
|
210
216
|
*
|
|
211
217
|
* @example
|
|
212
218
|
* esr-3.3.1
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateSqlStatementRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The SQL code.
|
|
8
|
+
* The SQL code. You can specify one or more SQL statements to execute.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* SHOW TABLES
|
|
@@ -13,7 +13,7 @@ export class CreateSqlStatementRequest extends $dara.Model {
|
|
|
13
13
|
codeContent?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The default DLF catalog ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* default_catalog
|
|
@@ -21,7 +21,7 @@ export class CreateSqlStatementRequest extends $dara.Model {
|
|
|
21
21
|
defaultCatalog?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The
|
|
24
|
+
* The default database name.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* default
|
|
@@ -29,7 +29,7 @@ export class CreateSqlStatementRequest extends $dara.Model {
|
|
|
29
29
|
defaultDatabase?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The limit value.
|
|
32
|
+
* The limit value. Valid values: 1 to 10000.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 1000
|
|
@@ -37,12 +37,19 @@ export class CreateSqlStatementRequest extends $dara.Model {
|
|
|
37
37
|
limit?: number;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The
|
|
40
|
+
* The SQL session ID. Create the session in the session management module of the EMR Serverless Spark workspace.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* sc-dfahdfjafhajd****
|
|
44
44
|
*/
|
|
45
45
|
sqlComputeId?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The data development node ID.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* TSK-d87******************
|
|
52
|
+
*/
|
|
46
53
|
taskBizId?: string;
|
|
47
54
|
/**
|
|
48
55
|
* @remarks
|