@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
|
@@ -13,7 +13,7 @@ export class ListMembersResponseBodyMembersActions extends $dara.Model {
|
|
|
13
13
|
actionArn?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The name of the
|
|
16
|
+
* The name of the action.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* add
|
|
@@ -21,7 +21,7 @@ export class ListMembersResponseBodyMembersActions extends $dara.Model {
|
|
|
21
21
|
actionName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The list of action
|
|
24
|
+
* The list of dependencies for the action.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* ["view"]
|
|
@@ -86,7 +86,7 @@ export class ListMembersResponseBodyMembersRolesActions extends $dara.Model {
|
|
|
86
86
|
actionArn?: string;
|
|
87
87
|
/**
|
|
88
88
|
* @remarks
|
|
89
|
-
* The name of the
|
|
89
|
+
* The name of the action.
|
|
90
90
|
*
|
|
91
91
|
* @example
|
|
92
92
|
* add
|
|
@@ -94,7 +94,7 @@ export class ListMembersResponseBodyMembersRolesActions extends $dara.Model {
|
|
|
94
94
|
actionName?: string;
|
|
95
95
|
/**
|
|
96
96
|
* @remarks
|
|
97
|
-
* The list of action
|
|
97
|
+
* The list of dependencies for the action.
|
|
98
98
|
*
|
|
99
99
|
* @example
|
|
100
100
|
* ["view"]
|
|
@@ -156,7 +156,7 @@ export class ListMembersResponseBodyMembersRoles extends $dara.Model {
|
|
|
156
156
|
actions?: ListMembersResponseBodyMembersRolesActions[];
|
|
157
157
|
/**
|
|
158
158
|
* @remarks
|
|
159
|
-
* The time
|
|
159
|
+
* The creation time. The value is a UNIX timestamp in milliseconds.
|
|
160
160
|
*
|
|
161
161
|
* @example
|
|
162
162
|
* 1753412502000
|
|
@@ -221,12 +221,12 @@ export class ListMembersResponseBodyMembersRoles extends $dara.Model {
|
|
|
221
221
|
export class ListMembersResponseBodyMembers extends $dara.Model {
|
|
222
222
|
/**
|
|
223
223
|
* @remarks
|
|
224
|
-
* The list of
|
|
224
|
+
* The list of actions allowed for the user.
|
|
225
225
|
*/
|
|
226
226
|
actions?: ListMembersResponseBodyMembersActions[];
|
|
227
227
|
/**
|
|
228
228
|
* @remarks
|
|
229
|
-
* The time
|
|
229
|
+
* The creation time. The value is a UNIX timestamp in milliseconds.
|
|
230
230
|
*
|
|
231
231
|
* @example
|
|
232
232
|
* 1753412502000
|
|
@@ -242,7 +242,7 @@ export class ListMembersResponseBodyMembers extends $dara.Model {
|
|
|
242
242
|
displayName?: string;
|
|
243
243
|
/**
|
|
244
244
|
* @remarks
|
|
245
|
-
* The
|
|
245
|
+
* The ARN of the member.
|
|
246
246
|
*
|
|
247
247
|
* @example
|
|
248
248
|
* acs:emr::w-1234****abcd:member/202265*****276
|
|
@@ -263,7 +263,9 @@ export class ListMembersResponseBodyMembers extends $dara.Model {
|
|
|
263
263
|
userName?: string;
|
|
264
264
|
/**
|
|
265
265
|
* @remarks
|
|
266
|
-
* The type of the user.
|
|
266
|
+
* The type of the user. Valid values:
|
|
267
|
+
* - ROLE
|
|
268
|
+
* - MEMBER
|
|
267
269
|
*
|
|
268
270
|
* @example
|
|
269
271
|
* MEMBER
|
|
@@ -321,7 +323,7 @@ export class ListMembersResponseBodyMembers extends $dara.Model {
|
|
|
321
323
|
export class ListMembersResponseBody extends $dara.Model {
|
|
322
324
|
/**
|
|
323
325
|
* @remarks
|
|
324
|
-
* The maximum number of
|
|
326
|
+
* The maximum number of records to return per request.
|
|
325
327
|
*
|
|
326
328
|
* @example
|
|
327
329
|
* 20
|
|
@@ -334,7 +336,7 @@ export class ListMembersResponseBody extends $dara.Model {
|
|
|
334
336
|
members?: ListMembersResponseBodyMembers[];
|
|
335
337
|
/**
|
|
336
338
|
* @remarks
|
|
337
|
-
* The token for the next page
|
|
339
|
+
* The pagination token for the next page.
|
|
338
340
|
*
|
|
339
341
|
* @example
|
|
340
342
|
* 1
|
|
@@ -342,7 +344,7 @@ export class ListMembersResponseBody extends $dara.Model {
|
|
|
342
344
|
nextToken?: string;
|
|
343
345
|
/**
|
|
344
346
|
* @remarks
|
|
345
|
-
* The request
|
|
347
|
+
* The ID of the request.
|
|
346
348
|
*
|
|
347
349
|
* @example
|
|
348
350
|
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
@@ -350,7 +352,7 @@ export class ListMembersResponseBody extends $dara.Model {
|
|
|
350
352
|
requestId?: string;
|
|
351
353
|
/**
|
|
352
354
|
* @remarks
|
|
353
|
-
* The total number of
|
|
355
|
+
* The total number of records.
|
|
354
356
|
*
|
|
355
357
|
* @example
|
|
356
358
|
* 200
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListQueueTopJobsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The region ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* cn-hangzhou
|
|
12
|
+
*/
|
|
13
|
+
regionId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The maximum number of jobs to return. The maximum value is 10.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 10
|
|
20
|
+
*/
|
|
21
|
+
topN?: number;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
regionId: 'regionId',
|
|
25
|
+
topN: 'topN',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
regionId: 'string',
|
|
32
|
+
topN: 'number',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListQueueTopJobsResponseBody } from "./ListQueueTopJobsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListQueueTopJobsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListQueueTopJobsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ListQueueTopJobsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListQueueTopJobsResponseBodyQueueTopJobsJobs extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The number of CPU cores requested by the job.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 8
|
|
12
|
+
*/
|
|
13
|
+
cpuCores?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The number of CUs consumed by the job.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 8
|
|
20
|
+
*/
|
|
21
|
+
cu?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The job ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* jr-1234abcd
|
|
28
|
+
*/
|
|
29
|
+
jobId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The job type.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* spark-batch
|
|
36
|
+
*/
|
|
37
|
+
jobType?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The amount of memory requested by the job.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* 32
|
|
44
|
+
*/
|
|
45
|
+
memoryGiB?: string;
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
cpuCores: 'cpuCores',
|
|
49
|
+
cu: 'cu',
|
|
50
|
+
jobId: 'jobId',
|
|
51
|
+
jobType: 'jobType',
|
|
52
|
+
memoryGiB: 'memoryGiB',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static types(): { [key: string]: any } {
|
|
57
|
+
return {
|
|
58
|
+
cpuCores: 'string',
|
|
59
|
+
cu: 'string',
|
|
60
|
+
jobId: 'string',
|
|
61
|
+
jobType: 'string',
|
|
62
|
+
memoryGiB: 'string',
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
validate() {
|
|
67
|
+
super.validate();
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
constructor(map?: { [key: string]: any }) {
|
|
71
|
+
super(map);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export class ListQueueTopJobsResponseBodyQueueTopJobs extends $dara.Model {
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The list of jobs.
|
|
79
|
+
*/
|
|
80
|
+
jobs?: ListQueueTopJobsResponseBodyQueueTopJobsJobs[];
|
|
81
|
+
/**
|
|
82
|
+
* @remarks
|
|
83
|
+
* The maximum number of records returned in a single request.
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* 10
|
|
87
|
+
*/
|
|
88
|
+
maxResults?: string;
|
|
89
|
+
/**
|
|
90
|
+
* @remarks
|
|
91
|
+
* The name of the queue.
|
|
92
|
+
*
|
|
93
|
+
* @example
|
|
94
|
+
* dev_queue
|
|
95
|
+
*/
|
|
96
|
+
queueName?: string;
|
|
97
|
+
/**
|
|
98
|
+
* @remarks
|
|
99
|
+
* The total number of CUs consumed by the queue.
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* 128
|
|
103
|
+
*/
|
|
104
|
+
totalCu?: string;
|
|
105
|
+
/**
|
|
106
|
+
* @remarks
|
|
107
|
+
* The total number of jobs in the queue.
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* 25
|
|
111
|
+
*/
|
|
112
|
+
totalJobCount?: number;
|
|
113
|
+
static names(): { [key: string]: string } {
|
|
114
|
+
return {
|
|
115
|
+
jobs: 'jobs',
|
|
116
|
+
maxResults: 'maxResults',
|
|
117
|
+
queueName: 'queueName',
|
|
118
|
+
totalCu: 'totalCu',
|
|
119
|
+
totalJobCount: 'totalJobCount',
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
static types(): { [key: string]: any } {
|
|
124
|
+
return {
|
|
125
|
+
jobs: { 'type': 'array', 'itemType': ListQueueTopJobsResponseBodyQueueTopJobsJobs },
|
|
126
|
+
maxResults: 'string',
|
|
127
|
+
queueName: 'string',
|
|
128
|
+
totalCu: 'string',
|
|
129
|
+
totalJobCount: 'number',
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
validate() {
|
|
134
|
+
if(Array.isArray(this.jobs)) {
|
|
135
|
+
$dara.Model.validateArray(this.jobs);
|
|
136
|
+
}
|
|
137
|
+
super.validate();
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
constructor(map?: { [key: string]: any }) {
|
|
141
|
+
super(map);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export class ListQueueTopJobsResponseBody extends $dara.Model {
|
|
146
|
+
/**
|
|
147
|
+
* @remarks
|
|
148
|
+
* The job details.
|
|
149
|
+
*/
|
|
150
|
+
queueTopJobs?: ListQueueTopJobsResponseBodyQueueTopJobs;
|
|
151
|
+
/**
|
|
152
|
+
* @remarks
|
|
153
|
+
* The request ID.
|
|
154
|
+
*
|
|
155
|
+
* @example
|
|
156
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
157
|
+
*/
|
|
158
|
+
requestId?: string;
|
|
159
|
+
static names(): { [key: string]: string } {
|
|
160
|
+
return {
|
|
161
|
+
queueTopJobs: 'queueTopJobs',
|
|
162
|
+
requestId: 'requestId',
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
static types(): { [key: string]: any } {
|
|
167
|
+
return {
|
|
168
|
+
queueTopJobs: ListQueueTopJobsResponseBodyQueueTopJobs,
|
|
169
|
+
requestId: 'string',
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
validate() {
|
|
174
|
+
if(this.queueTopJobs && typeof (this.queueTopJobs as any).validate === 'function') {
|
|
175
|
+
(this.queueTopJobs as any).validate();
|
|
176
|
+
}
|
|
177
|
+
super.validate();
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
constructor(map?: { [key: string]: any }) {
|
|
181
|
+
super(map);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
@@ -13,7 +13,7 @@ export class ListRayClusterRequest extends $dara.Model {
|
|
|
13
13
|
pageNum?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The number of entries
|
|
16
|
+
* The number of entries to return on each page. Default value: 20. Minimum value: 1. Maximum value: 100.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 20
|
|
@@ -13,20 +13,23 @@ export class ListRayClusterResponseBodyRayClustersHeadSpec extends $dara.Model {
|
|
|
13
13
|
cpu?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* Specifies whether auto scaling is enabled for worker nodes.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* false
|
|
20
20
|
*/
|
|
21
21
|
enableAutoScaling?: boolean;
|
|
22
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The GPU instance type.
|
|
25
|
+
*
|
|
23
26
|
* @example
|
|
24
27
|
* ecs.gn6i-c4g1.xlarge
|
|
25
28
|
*/
|
|
26
29
|
gpuSpec?: string;
|
|
27
30
|
/**
|
|
28
31
|
* @remarks
|
|
29
|
-
* The idle timeout
|
|
32
|
+
* The idle timeout for worker nodes, in seconds.
|
|
30
33
|
*
|
|
31
34
|
* @example
|
|
32
35
|
* 60
|
|
@@ -34,7 +37,7 @@ export class ListRayClusterResponseBodyRayClustersHeadSpec extends $dara.Model {
|
|
|
34
37
|
idleTimeoutSeconds?: number;
|
|
35
38
|
/**
|
|
36
39
|
* @remarks
|
|
37
|
-
* The memory size
|
|
40
|
+
* The memory size, in GiB.
|
|
38
41
|
*
|
|
39
42
|
* @example
|
|
40
43
|
* 8Gi
|
|
@@ -42,7 +45,7 @@ export class ListRayClusterResponseBodyRayClustersHeadSpec extends $dara.Model {
|
|
|
42
45
|
memory?: string;
|
|
43
46
|
/**
|
|
44
47
|
* @remarks
|
|
45
|
-
* The queue
|
|
48
|
+
* The name of the queue.
|
|
46
49
|
*
|
|
47
50
|
* @example
|
|
48
51
|
* root_queue
|
|
@@ -99,6 +102,9 @@ export class ListRayClusterResponseBodyRayClustersWorkerSpec extends $dara.Model
|
|
|
99
102
|
*/
|
|
100
103
|
cpu?: string;
|
|
101
104
|
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The GPU instance type.
|
|
107
|
+
*
|
|
102
108
|
* @example
|
|
103
109
|
* ecs.gn6i-c4g1.xlarge
|
|
104
110
|
*/
|
|
@@ -113,7 +119,7 @@ export class ListRayClusterResponseBodyRayClustersWorkerSpec extends $dara.Model
|
|
|
113
119
|
groupName?: string;
|
|
114
120
|
/**
|
|
115
121
|
* @remarks
|
|
116
|
-
* The maximum number of
|
|
122
|
+
* The maximum number of workers when auto scaling is enabled.
|
|
117
123
|
*
|
|
118
124
|
* @example
|
|
119
125
|
* 10
|
|
@@ -121,7 +127,7 @@ export class ListRayClusterResponseBodyRayClustersWorkerSpec extends $dara.Model
|
|
|
121
127
|
maxReplica?: number;
|
|
122
128
|
/**
|
|
123
129
|
* @remarks
|
|
124
|
-
* The memory size
|
|
130
|
+
* The memory size, in GiB.
|
|
125
131
|
*
|
|
126
132
|
* @example
|
|
127
133
|
* 8Gi
|
|
@@ -129,7 +135,7 @@ export class ListRayClusterResponseBodyRayClustersWorkerSpec extends $dara.Model
|
|
|
129
135
|
memory?: string;
|
|
130
136
|
/**
|
|
131
137
|
* @remarks
|
|
132
|
-
* The minimum number of
|
|
138
|
+
* The minimum number of workers when auto scaling is enabled.
|
|
133
139
|
*
|
|
134
140
|
* @example
|
|
135
141
|
* 1
|
|
@@ -137,7 +143,7 @@ export class ListRayClusterResponseBodyRayClustersWorkerSpec extends $dara.Model
|
|
|
137
143
|
minReplica?: number;
|
|
138
144
|
/**
|
|
139
145
|
* @remarks
|
|
140
|
-
* The queue
|
|
146
|
+
* The name of the queue.
|
|
141
147
|
*
|
|
142
148
|
* @example
|
|
143
149
|
* root_queue
|
|
@@ -153,7 +159,7 @@ export class ListRayClusterResponseBodyRayClustersWorkerSpec extends $dara.Model
|
|
|
153
159
|
replica?: number;
|
|
154
160
|
/**
|
|
155
161
|
* @remarks
|
|
156
|
-
* The worker
|
|
162
|
+
* The type of the worker.
|
|
157
163
|
*
|
|
158
164
|
* @example
|
|
159
165
|
* CPU
|
|
@@ -207,7 +213,7 @@ export class ListRayClusterResponseBodyRayClusters extends $dara.Model {
|
|
|
207
213
|
clusterId?: string;
|
|
208
214
|
/**
|
|
209
215
|
* @remarks
|
|
210
|
-
* The time
|
|
216
|
+
* The creation time. The value is a UNIX timestamp in milliseconds.
|
|
211
217
|
*
|
|
212
218
|
* @example
|
|
213
219
|
* 1723722279800
|
|
@@ -215,7 +221,7 @@ export class ListRayClusterResponseBodyRayClusters extends $dara.Model {
|
|
|
215
221
|
createTime?: number;
|
|
216
222
|
/**
|
|
217
223
|
* @remarks
|
|
218
|
-
* The UID of the
|
|
224
|
+
* The UID of the creator.
|
|
219
225
|
*
|
|
220
226
|
* @example
|
|
221
227
|
* 202077646755123991
|
|
@@ -247,7 +253,7 @@ export class ListRayClusterResponseBodyRayClusters extends $dara.Model {
|
|
|
247
253
|
description?: string;
|
|
248
254
|
/**
|
|
249
255
|
* @remarks
|
|
250
|
-
* The Ray engine version.
|
|
256
|
+
* The Ray DPI engine version.
|
|
251
257
|
*
|
|
252
258
|
* @example
|
|
253
259
|
* ray-1.0.0 (Ray 2.47.1, Python 3.12)
|
|
@@ -255,7 +261,7 @@ export class ListRayClusterResponseBodyRayClusters extends $dara.Model {
|
|
|
255
261
|
displayReleaseVersion?: string;
|
|
256
262
|
/**
|
|
257
263
|
* @remarks
|
|
258
|
-
* The gRPC endpoint
|
|
264
|
+
* The internal gRPC endpoint. You can also use the domain name to submit Ray jobs.
|
|
259
265
|
*
|
|
260
266
|
* @example
|
|
261
267
|
* ray://emr-spark-ray-gateway-cn-hanghzou-internal.emr.aliyuncs.com:80
|
|
@@ -263,12 +269,12 @@ export class ListRayClusterResponseBodyRayClusters extends $dara.Model {
|
|
|
263
269
|
grpcEndpoint?: string;
|
|
264
270
|
/**
|
|
265
271
|
* @remarks
|
|
266
|
-
* The
|
|
272
|
+
* The head node information of the Ray cluster.
|
|
267
273
|
*/
|
|
268
274
|
headSpec?: ListRayClusterResponseBodyRayClustersHeadSpec;
|
|
269
275
|
/**
|
|
270
276
|
* @remarks
|
|
271
|
-
* The ID of the Ray cluster
|
|
277
|
+
* The instance ID of the Ray cluster.
|
|
272
278
|
*
|
|
273
279
|
* @example
|
|
274
280
|
* ray-uiulpgow9xljimm1-xxxxxxx
|
|
@@ -284,7 +290,7 @@ export class ListRayClusterResponseBodyRayClusters extends $dara.Model {
|
|
|
284
290
|
message?: string;
|
|
285
291
|
/**
|
|
286
292
|
* @remarks
|
|
287
|
-
*
|
|
293
|
+
* Specifies whether the configuration has been modified.
|
|
288
294
|
*
|
|
289
295
|
* @example
|
|
290
296
|
* false
|
|
@@ -292,7 +298,7 @@ export class ListRayClusterResponseBodyRayClusters extends $dara.Model {
|
|
|
292
298
|
modified?: boolean;
|
|
293
299
|
/**
|
|
294
300
|
* @remarks
|
|
295
|
-
* The time
|
|
301
|
+
* The modification time. The value is a UNIX timestamp in milliseconds.
|
|
296
302
|
*
|
|
297
303
|
* @example
|
|
298
304
|
* 1723722279800
|
|
@@ -300,7 +306,7 @@ export class ListRayClusterResponseBodyRayClusters extends $dara.Model {
|
|
|
300
306
|
modifiedTime?: number;
|
|
301
307
|
/**
|
|
302
308
|
* @remarks
|
|
303
|
-
* The UID of the
|
|
309
|
+
* The UID of the last updater.
|
|
304
310
|
*
|
|
305
311
|
* @example
|
|
306
312
|
* 202077646755123991
|
|
@@ -324,7 +330,7 @@ export class ListRayClusterResponseBodyRayClusters extends $dara.Model {
|
|
|
324
330
|
name?: string;
|
|
325
331
|
/**
|
|
326
332
|
* @remarks
|
|
327
|
-
* The
|
|
333
|
+
* The network connectivity name.
|
|
328
334
|
*
|
|
329
335
|
* @example
|
|
330
336
|
* vpc
|
|
@@ -332,7 +338,7 @@ export class ListRayClusterResponseBodyRayClusters extends $dara.Model {
|
|
|
332
338
|
networkServiceName?: string;
|
|
333
339
|
/**
|
|
334
340
|
* @remarks
|
|
335
|
-
* The
|
|
341
|
+
* The start time. The value is a UNIX timestamp in milliseconds.
|
|
336
342
|
*
|
|
337
343
|
* @example
|
|
338
344
|
* 1723722279800
|
|
@@ -340,16 +346,11 @@ export class ListRayClusterResponseBodyRayClusters extends $dara.Model {
|
|
|
340
346
|
startTime?: number;
|
|
341
347
|
/**
|
|
342
348
|
* @remarks
|
|
343
|
-
* The cluster
|
|
344
|
-
*
|
|
349
|
+
* The cluster status. Valid values:
|
|
345
350
|
* - Starting: The cluster is starting.
|
|
346
|
-
*
|
|
347
351
|
* - Running: The cluster is running.
|
|
348
|
-
*
|
|
349
352
|
* - Stopping: The cluster is stopping.
|
|
350
|
-
*
|
|
351
353
|
* - Stopped: The cluster is stopped.
|
|
352
|
-
*
|
|
353
354
|
* - Error: The cluster has failed.
|
|
354
355
|
*
|
|
355
356
|
* @example
|
|
@@ -358,7 +359,7 @@ export class ListRayClusterResponseBodyRayClusters extends $dara.Model {
|
|
|
358
359
|
state?: string;
|
|
359
360
|
/**
|
|
360
361
|
* @remarks
|
|
361
|
-
* The
|
|
362
|
+
* The Alibaba Cloud account ID.
|
|
362
363
|
*
|
|
363
364
|
* @example
|
|
364
365
|
* 1234567890
|
|
@@ -366,7 +367,7 @@ export class ListRayClusterResponseBodyRayClusters extends $dara.Model {
|
|
|
366
367
|
userId?: string;
|
|
367
368
|
/**
|
|
368
369
|
* @remarks
|
|
369
|
-
* The
|
|
370
|
+
* The worker information of the Ray cluster.
|
|
370
371
|
*/
|
|
371
372
|
workerSpec?: ListRayClusterResponseBodyRayClustersWorkerSpec[];
|
|
372
373
|
static names(): { [key: string]: string } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListRayJobRequestSubmitTime extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The end of the
|
|
8
|
+
* The end time of the submission time range. The value is a UNIX timestamp in milliseconds.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1780018822000
|
|
@@ -13,7 +13,7 @@ export class ListRayJobRequestSubmitTime extends $dara.Model {
|
|
|
13
13
|
endTime?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The start of the
|
|
16
|
+
* The start time of the submission time range. The value is a UNIX timestamp in milliseconds.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 1780017822000
|
|
@@ -45,7 +45,7 @@ export class ListRayJobRequestSubmitTime extends $dara.Model {
|
|
|
45
45
|
export class ListRayJobRequest extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The name of the Ray
|
|
48
|
+
* The name of the Ray job. Exact match is supported.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* myrayjob
|
|
@@ -61,7 +61,7 @@ export class ListRayJobRequest extends $dara.Model {
|
|
|
61
61
|
pageNum?: number;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The number of entries
|
|
64
|
+
* The number of entries to return on each page. Default value: 20.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* 20
|
|
@@ -69,7 +69,7 @@ export class ListRayJobRequest extends $dara.Model {
|
|
|
69
69
|
pageSize?: number;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* The submission ID of the Ray
|
|
72
|
+
* The submission ID of the Ray job.
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
75
|
* rj-xxxxxxxxxxx
|
|
@@ -77,12 +77,12 @@ export class ListRayJobRequest extends $dara.Model {
|
|
|
77
77
|
submissionId?: string;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
* The
|
|
80
|
+
* The submission time range.
|
|
81
81
|
*/
|
|
82
82
|
submitTime?: ListRayJobRequestSubmitTime;
|
|
83
83
|
/**
|
|
84
84
|
* @remarks
|
|
85
|
-
* The data development node
|
|
85
|
+
* The ID of the data development node.
|
|
86
86
|
*
|
|
87
87
|
* @example
|
|
88
88
|
* TSK-db8b870d901e443ba0aebba40c923e02
|