@alicloud/emr-serverless-spark20230808 1.15.0 → 1.16.1
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 +54 -0
- package/dist/client.js +141 -0
- package/dist/client.js.map +1 -1
- package/dist/models/EditWorkspaceQueueRequest.d.ts +5 -0
- package/dist/models/EditWorkspaceQueueRequest.js +2 -0
- package/dist/models/EditWorkspaceQueueRequest.js.map +1 -1
- package/dist/models/GetJobRunResponseBody.d.ts +5 -0
- package/dist/models/GetJobRunResponseBody.js +2 -0
- package/dist/models/GetJobRunResponseBody.js.map +1 -1
- package/dist/models/ListCatalogsRequest.d.ts +23 -0
- package/dist/models/ListCatalogsRequest.js +60 -0
- package/dist/models/ListCatalogsRequest.js.map +1 -0
- package/dist/models/ListCatalogsResponse.d.ts +19 -0
- package/dist/models/ListCatalogsResponse.js +69 -0
- package/dist/models/ListCatalogsResponse.js.map +1 -0
- package/dist/models/ListCatalogsResponseBody.d.ts +103 -0
- package/dist/models/ListCatalogsResponseBody.js +110 -0
- package/dist/models/ListCatalogsResponseBody.js.map +1 -0
- package/dist/models/ListJobExecutorsRequest.d.ts +38 -0
- package/dist/models/ListJobExecutorsRequest.js +66 -0
- package/dist/models/ListJobExecutorsRequest.js.map +1 -0
- package/dist/models/ListJobExecutorsResponse.d.ts +19 -0
- package/dist/models/ListJobExecutorsResponse.js +69 -0
- package/dist/models/ListJobExecutorsResponse.js.map +1 -0
- package/dist/models/ListJobExecutorsResponseBody.d.ts +154 -0
- package/dist/models/ListJobExecutorsResponseBody.js +128 -0
- package/dist/models/ListJobExecutorsResponseBody.js.map +1 -0
- package/dist/models/ListJobRunsResponseBody.d.ts +5 -0
- package/dist/models/ListJobRunsResponseBody.js +2 -0
- package/dist/models/ListJobRunsResponseBody.js.map +1 -1
- package/dist/models/ListKyuubiSparkApplicationsResponseBody.d.ts +15 -0
- package/dist/models/ListKyuubiSparkApplicationsResponseBody.js +8 -0
- package/dist/models/ListKyuubiSparkApplicationsResponseBody.js.map +1 -1
- package/dist/models/ListTemplateRequest.d.ts +18 -0
- package/dist/models/ListTemplateRequest.js +58 -0
- package/dist/models/ListTemplateRequest.js.map +1 -0
- package/dist/models/ListTemplateResponse.d.ts +19 -0
- package/dist/models/ListTemplateResponse.js +69 -0
- package/dist/models/ListTemplateResponse.js.map +1 -0
- package/dist/models/ListTemplateResponseBody.d.ts +40 -0
- package/dist/models/ListTemplateResponseBody.js +72 -0
- package/dist/models/ListTemplateResponseBody.js.map +1 -0
- package/dist/models/ListWorkspaceQueuesResponseBody.d.ts +1 -0
- package/dist/models/ListWorkspaceQueuesResponseBody.js +2 -0
- package/dist/models/ListWorkspaceQueuesResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +11 -0
- package/dist/models/model.js +28 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +155 -0
- package/src/models/EditWorkspaceQueueRequest.ts +7 -0
- package/src/models/GetJobRunResponseBody.ts +7 -0
- package/src/models/ListCatalogsRequest.ts +38 -0
- package/src/models/ListCatalogsResponse.ts +40 -0
- package/src/models/ListCatalogsResponseBody.ts +157 -0
- package/src/models/ListJobExecutorsRequest.ts +59 -0
- package/src/models/ListJobExecutorsResponse.ts +40 -0
- package/src/models/ListJobExecutorsResponseBody.ts +228 -0
- package/src/models/ListJobRunsResponseBody.ts +7 -0
- package/src/models/ListKyuubiSparkApplicationsResponseBody.ts +22 -0
- package/src/models/ListTemplateRequest.ts +31 -0
- package/src/models/ListTemplateResponse.ts +40 -0
- package/src/models/ListTemplateResponseBody.ts +66 -0
- package/src/models/ListWorkspaceQueuesResponseBody.ts +3 -0
- package/src/models/model.ts +11 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListCatalogsResponseBody } from "./ListCatalogsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListCatalogsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListCatalogsResponseBody;
|
|
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: ListCatalogsResponseBody,
|
|
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,157 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListCatalogsResponseBodyCatalogs extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* regionId。
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 15097**********
|
|
12
|
+
*/
|
|
13
|
+
catalogId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* HMS
|
|
17
|
+
*/
|
|
18
|
+
catalogProvider?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* default_catalog
|
|
22
|
+
*/
|
|
23
|
+
catalogType?: string;
|
|
24
|
+
environments?: string[];
|
|
25
|
+
extras?: { [key: string]: string };
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 1760604889
|
|
29
|
+
*/
|
|
30
|
+
gmtCreate?: number;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 1760604889
|
|
34
|
+
*/
|
|
35
|
+
gmtModified?: number;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* 15097**********
|
|
39
|
+
*/
|
|
40
|
+
resourceOwnerId?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* 工作空间id。
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* w-d2d82aa09155****
|
|
47
|
+
*/
|
|
48
|
+
workspaceId?: string;
|
|
49
|
+
static names(): { [key: string]: string } {
|
|
50
|
+
return {
|
|
51
|
+
catalogId: 'catalogId',
|
|
52
|
+
catalogProvider: 'catalogProvider',
|
|
53
|
+
catalogType: 'catalogType',
|
|
54
|
+
environments: 'environments',
|
|
55
|
+
extras: 'extras',
|
|
56
|
+
gmtCreate: 'gmtCreate',
|
|
57
|
+
gmtModified: 'gmtModified',
|
|
58
|
+
resourceOwnerId: 'resourceOwnerId',
|
|
59
|
+
workspaceId: 'workspaceId',
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
static types(): { [key: string]: any } {
|
|
64
|
+
return {
|
|
65
|
+
catalogId: 'string',
|
|
66
|
+
catalogProvider: 'string',
|
|
67
|
+
catalogType: 'string',
|
|
68
|
+
environments: { 'type': 'array', 'itemType': 'string' },
|
|
69
|
+
extras: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
70
|
+
gmtCreate: 'number',
|
|
71
|
+
gmtModified: 'number',
|
|
72
|
+
resourceOwnerId: 'string',
|
|
73
|
+
workspaceId: 'string',
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
validate() {
|
|
78
|
+
if(Array.isArray(this.environments)) {
|
|
79
|
+
$dara.Model.validateArray(this.environments);
|
|
80
|
+
}
|
|
81
|
+
if(this.extras) {
|
|
82
|
+
$dara.Model.validateMap(this.extras);
|
|
83
|
+
}
|
|
84
|
+
super.validate();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
constructor(map?: { [key: string]: any }) {
|
|
88
|
+
super(map);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export class ListCatalogsResponseBody extends $dara.Model {
|
|
93
|
+
catalogs?: ListCatalogsResponseBodyCatalogs[];
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* 一次获取的最大记录数。
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* 20
|
|
100
|
+
*/
|
|
101
|
+
maxResults?: number;
|
|
102
|
+
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* 下一页TOKEN。
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* 1
|
|
108
|
+
*/
|
|
109
|
+
nextToken?: string;
|
|
110
|
+
/**
|
|
111
|
+
* @remarks
|
|
112
|
+
* 请求ID。
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
116
|
+
*/
|
|
117
|
+
requestId?: string;
|
|
118
|
+
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* 记录总数。
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* 200
|
|
124
|
+
*/
|
|
125
|
+
totalCount?: number;
|
|
126
|
+
static names(): { [key: string]: string } {
|
|
127
|
+
return {
|
|
128
|
+
catalogs: 'catalogs',
|
|
129
|
+
maxResults: 'maxResults',
|
|
130
|
+
nextToken: 'nextToken',
|
|
131
|
+
requestId: 'requestId',
|
|
132
|
+
totalCount: 'totalCount',
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
static types(): { [key: string]: any } {
|
|
137
|
+
return {
|
|
138
|
+
catalogs: { 'type': 'array', 'itemType': ListCatalogsResponseBodyCatalogs },
|
|
139
|
+
maxResults: 'number',
|
|
140
|
+
nextToken: 'string',
|
|
141
|
+
requestId: 'string',
|
|
142
|
+
totalCount: 'number',
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
validate() {
|
|
147
|
+
if(Array.isArray(this.catalogs)) {
|
|
148
|
+
$dara.Model.validateArray(this.catalogs);
|
|
149
|
+
}
|
|
150
|
+
super.validate();
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
constructor(map?: { [key: string]: any }) {
|
|
154
|
+
super(map);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListJobExecutorsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* driver
|
|
9
|
+
*/
|
|
10
|
+
executorType?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 20
|
|
14
|
+
*/
|
|
15
|
+
maxResults?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 2
|
|
19
|
+
*/
|
|
20
|
+
nextToken?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* cn-hangzhou
|
|
24
|
+
*/
|
|
25
|
+
regionId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* Dead
|
|
29
|
+
*/
|
|
30
|
+
status?: string;
|
|
31
|
+
static names(): { [key: string]: string } {
|
|
32
|
+
return {
|
|
33
|
+
executorType: 'executorType',
|
|
34
|
+
maxResults: 'maxResults',
|
|
35
|
+
nextToken: 'nextToken',
|
|
36
|
+
regionId: 'regionId',
|
|
37
|
+
status: 'status',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
executorType: 'string',
|
|
44
|
+
maxResults: 'number',
|
|
45
|
+
nextToken: 'string',
|
|
46
|
+
regionId: 'string',
|
|
47
|
+
status: 'string',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
validate() {
|
|
52
|
+
super.validate();
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
constructor(map?: { [key: string]: any }) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListJobExecutorsResponseBody } from "./ListJobExecutorsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListJobExecutorsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListJobExecutorsResponseBody;
|
|
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: ListJobExecutorsResponseBody,
|
|
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,228 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListJobExecutorsResponseBodyExexutors extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 10
|
|
9
|
+
*/
|
|
10
|
+
activeTasks?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1760601***
|
|
14
|
+
*/
|
|
15
|
+
addTime?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 8
|
|
19
|
+
*/
|
|
20
|
+
completedTasks?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 20
|
|
24
|
+
*/
|
|
25
|
+
diskUsed?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 1
|
|
29
|
+
*/
|
|
30
|
+
executorId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* driver
|
|
34
|
+
*/
|
|
35
|
+
executorType?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* 2
|
|
39
|
+
*/
|
|
40
|
+
failedTasks?: number;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* 21.10.x.x:1201x
|
|
44
|
+
*/
|
|
45
|
+
hostPort?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* jr-1fe145df8ade366a
|
|
49
|
+
*/
|
|
50
|
+
jobRunId?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* 4294967296
|
|
54
|
+
*/
|
|
55
|
+
maxMemory?: number;
|
|
56
|
+
/**
|
|
57
|
+
* @example
|
|
58
|
+
* 30
|
|
59
|
+
*/
|
|
60
|
+
memoryUsed?: number;
|
|
61
|
+
/**
|
|
62
|
+
* @example
|
|
63
|
+
* 10
|
|
64
|
+
*/
|
|
65
|
+
rddBlocks?: number;
|
|
66
|
+
/**
|
|
67
|
+
* @example
|
|
68
|
+
* Running
|
|
69
|
+
*/
|
|
70
|
+
status?: string;
|
|
71
|
+
/**
|
|
72
|
+
* @example
|
|
73
|
+
* 4
|
|
74
|
+
*/
|
|
75
|
+
totalCores?: number;
|
|
76
|
+
/**
|
|
77
|
+
* @example
|
|
78
|
+
* 123
|
|
79
|
+
*/
|
|
80
|
+
totalDuration?: number;
|
|
81
|
+
/**
|
|
82
|
+
* @example
|
|
83
|
+
* 3
|
|
84
|
+
*/
|
|
85
|
+
totalGCTime?: number;
|
|
86
|
+
/**
|
|
87
|
+
* @example
|
|
88
|
+
* 1024
|
|
89
|
+
*/
|
|
90
|
+
totalInputBytes?: number;
|
|
91
|
+
/**
|
|
92
|
+
* @example
|
|
93
|
+
* 2048
|
|
94
|
+
*/
|
|
95
|
+
totalShuffleRead?: number;
|
|
96
|
+
/**
|
|
97
|
+
* @example
|
|
98
|
+
* 2048
|
|
99
|
+
*/
|
|
100
|
+
totalShuffleWrite?: number;
|
|
101
|
+
/**
|
|
102
|
+
* @example
|
|
103
|
+
* 50
|
|
104
|
+
*/
|
|
105
|
+
totalTasks?: number;
|
|
106
|
+
/**
|
|
107
|
+
* @example
|
|
108
|
+
* w-78faee4da118f02e
|
|
109
|
+
*/
|
|
110
|
+
workspaceId?: string;
|
|
111
|
+
static names(): { [key: string]: string } {
|
|
112
|
+
return {
|
|
113
|
+
activeTasks: 'activeTasks',
|
|
114
|
+
addTime: 'addTime',
|
|
115
|
+
completedTasks: 'completedTasks',
|
|
116
|
+
diskUsed: 'diskUsed',
|
|
117
|
+
executorId: 'executorId',
|
|
118
|
+
executorType: 'executorType',
|
|
119
|
+
failedTasks: 'failedTasks',
|
|
120
|
+
hostPort: 'hostPort',
|
|
121
|
+
jobRunId: 'jobRunId',
|
|
122
|
+
maxMemory: 'maxMemory',
|
|
123
|
+
memoryUsed: 'memoryUsed',
|
|
124
|
+
rddBlocks: 'rddBlocks',
|
|
125
|
+
status: 'status',
|
|
126
|
+
totalCores: 'totalCores',
|
|
127
|
+
totalDuration: 'totalDuration',
|
|
128
|
+
totalGCTime: 'totalGCTime',
|
|
129
|
+
totalInputBytes: 'totalInputBytes',
|
|
130
|
+
totalShuffleRead: 'totalShuffleRead',
|
|
131
|
+
totalShuffleWrite: 'totalShuffleWrite',
|
|
132
|
+
totalTasks: 'totalTasks',
|
|
133
|
+
workspaceId: 'workspaceId',
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
static types(): { [key: string]: any } {
|
|
138
|
+
return {
|
|
139
|
+
activeTasks: 'number',
|
|
140
|
+
addTime: 'number',
|
|
141
|
+
completedTasks: 'number',
|
|
142
|
+
diskUsed: 'number',
|
|
143
|
+
executorId: 'string',
|
|
144
|
+
executorType: 'string',
|
|
145
|
+
failedTasks: 'number',
|
|
146
|
+
hostPort: 'string',
|
|
147
|
+
jobRunId: 'string',
|
|
148
|
+
maxMemory: 'number',
|
|
149
|
+
memoryUsed: 'number',
|
|
150
|
+
rddBlocks: 'number',
|
|
151
|
+
status: 'string',
|
|
152
|
+
totalCores: 'number',
|
|
153
|
+
totalDuration: 'number',
|
|
154
|
+
totalGCTime: 'number',
|
|
155
|
+
totalInputBytes: 'number',
|
|
156
|
+
totalShuffleRead: 'number',
|
|
157
|
+
totalShuffleWrite: 'number',
|
|
158
|
+
totalTasks: 'number',
|
|
159
|
+
workspaceId: 'string',
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
validate() {
|
|
164
|
+
super.validate();
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
constructor(map?: { [key: string]: any }) {
|
|
168
|
+
super(map);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export class ListJobExecutorsResponseBody extends $dara.Model {
|
|
173
|
+
exexutors?: ListJobExecutorsResponseBodyExexutors[];
|
|
174
|
+
/**
|
|
175
|
+
* @example
|
|
176
|
+
* 20
|
|
177
|
+
*/
|
|
178
|
+
maxResults?: number;
|
|
179
|
+
/**
|
|
180
|
+
* @example
|
|
181
|
+
* 2
|
|
182
|
+
*/
|
|
183
|
+
nextToken?: string;
|
|
184
|
+
/**
|
|
185
|
+
* @remarks
|
|
186
|
+
* Id of the request
|
|
187
|
+
*
|
|
188
|
+
* @example
|
|
189
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
190
|
+
*/
|
|
191
|
+
requestId?: string;
|
|
192
|
+
/**
|
|
193
|
+
* @example
|
|
194
|
+
* 200
|
|
195
|
+
*/
|
|
196
|
+
totalCount?: number;
|
|
197
|
+
static names(): { [key: string]: string } {
|
|
198
|
+
return {
|
|
199
|
+
exexutors: 'exexutors',
|
|
200
|
+
maxResults: 'maxResults',
|
|
201
|
+
nextToken: 'nextToken',
|
|
202
|
+
requestId: 'requestId',
|
|
203
|
+
totalCount: 'totalCount',
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
static types(): { [key: string]: any } {
|
|
208
|
+
return {
|
|
209
|
+
exexutors: { 'type': 'array', 'itemType': ListJobExecutorsResponseBodyExexutors },
|
|
210
|
+
maxResults: 'number',
|
|
211
|
+
nextToken: 'string',
|
|
212
|
+
requestId: 'string',
|
|
213
|
+
totalCount: 'number',
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
validate() {
|
|
218
|
+
if(Array.isArray(this.exexutors)) {
|
|
219
|
+
$dara.Model.validateArray(this.exexutors);
|
|
220
|
+
}
|
|
221
|
+
super.validate();
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
constructor(map?: { [key: string]: any }) {
|
|
225
|
+
super(map);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
@@ -186,6 +186,11 @@ export class ListJobRunsResponseBodyJobRuns extends $dara.Model {
|
|
|
186
186
|
* esr-native-3.4.0
|
|
187
187
|
*/
|
|
188
188
|
releaseVersion?: string;
|
|
189
|
+
/**
|
|
190
|
+
* @example
|
|
191
|
+
* dev_queue
|
|
192
|
+
*/
|
|
193
|
+
resourceQueueId?: string;
|
|
189
194
|
/**
|
|
190
195
|
* @remarks
|
|
191
196
|
* The job state.
|
|
@@ -252,6 +257,7 @@ export class ListJobRunsResponseBodyJobRuns extends $dara.Model {
|
|
|
252
257
|
mbSeconds: 'mbSeconds',
|
|
253
258
|
name: 'name',
|
|
254
259
|
releaseVersion: 'releaseVersion',
|
|
260
|
+
resourceQueueId: 'resourceQueueId',
|
|
255
261
|
state: 'state',
|
|
256
262
|
stateChangeReason: 'stateChangeReason',
|
|
257
263
|
submitTime: 'submitTime',
|
|
@@ -278,6 +284,7 @@ export class ListJobRunsResponseBodyJobRuns extends $dara.Model {
|
|
|
278
284
|
mbSeconds: 'number',
|
|
279
285
|
name: 'string',
|
|
280
286
|
releaseVersion: 'string',
|
|
287
|
+
resourceQueueId: 'string',
|
|
281
288
|
state: 'string',
|
|
282
289
|
stateChangeReason: ListJobRunsResponseBodyJobRunsStateChangeReason,
|
|
283
290
|
submitTime: 'number',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { RunLog } from "./RunLog";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.Model {
|
|
@@ -35,7 +36,20 @@ export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.M
|
|
|
35
36
|
* 2025-02-12 20:02:02
|
|
36
37
|
*/
|
|
37
38
|
endTime?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @example
|
|
41
|
+
* Exit Code: 137, Exit Reason: OOMKilled
|
|
42
|
+
*/
|
|
38
43
|
exitReason?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @example
|
|
46
|
+
* kb-2b93ec*******c9440c
|
|
47
|
+
*/
|
|
48
|
+
kyuubiServiceId?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @example
|
|
51
|
+
* SUCCESS
|
|
52
|
+
*/
|
|
39
53
|
latestSqlStatementStatus?: string;
|
|
40
54
|
/**
|
|
41
55
|
* @remarks
|
|
@@ -53,6 +67,7 @@ export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.M
|
|
|
53
67
|
* dev_queue
|
|
54
68
|
*/
|
|
55
69
|
resourceQueueId?: string;
|
|
70
|
+
runLog?: RunLog;
|
|
56
71
|
/**
|
|
57
72
|
* @remarks
|
|
58
73
|
* The time when the task started.
|
|
@@ -93,9 +108,11 @@ export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.M
|
|
|
93
108
|
cuHours: 'cuHours',
|
|
94
109
|
endTime: 'endTime',
|
|
95
110
|
exitReason: 'exitReason',
|
|
111
|
+
kyuubiServiceId: 'kyuubiServiceId',
|
|
96
112
|
latestSqlStatementStatus: 'latestSqlStatementStatus',
|
|
97
113
|
mbSeconds: 'mbSeconds',
|
|
98
114
|
resourceQueueId: 'resourceQueueId',
|
|
115
|
+
runLog: 'runLog',
|
|
99
116
|
startTime: 'startTime',
|
|
100
117
|
state: 'state',
|
|
101
118
|
vcoreSeconds: 'vcoreSeconds',
|
|
@@ -110,9 +127,11 @@ export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.M
|
|
|
110
127
|
cuHours: 'number',
|
|
111
128
|
endTime: 'string',
|
|
112
129
|
exitReason: 'string',
|
|
130
|
+
kyuubiServiceId: 'string',
|
|
113
131
|
latestSqlStatementStatus: 'string',
|
|
114
132
|
mbSeconds: 'number',
|
|
115
133
|
resourceQueueId: 'string',
|
|
134
|
+
runLog: RunLog,
|
|
116
135
|
startTime: 'string',
|
|
117
136
|
state: 'string',
|
|
118
137
|
vcoreSeconds: 'number',
|
|
@@ -121,6 +140,9 @@ export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.M
|
|
|
121
140
|
}
|
|
122
141
|
|
|
123
142
|
validate() {
|
|
143
|
+
if(this.runLog && typeof (this.runLog as any).validate === 'function') {
|
|
144
|
+
(this.runLog as any).validate();
|
|
145
|
+
}
|
|
124
146
|
super.validate();
|
|
125
147
|
}
|
|
126
148
|
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTemplateRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* cn-hangzhou
|
|
9
|
+
*/
|
|
10
|
+
regionId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
regionId: 'regionId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
regionId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListTemplateResponseBody } from "./ListTemplateResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListTemplateResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListTemplateResponseBody;
|
|
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: ListTemplateResponseBody,
|
|
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
|
+
|