@alicloud/emr-serverless-spark20230808 1.17.1 → 1.18.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 +18 -0
- package/dist/client.js +48 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ListLivyComputeSessionsRequest.d.ts +28 -0
- package/dist/models/ListLivyComputeSessionsRequest.js +62 -0
- package/dist/models/ListLivyComputeSessionsRequest.js.map +1 -0
- package/dist/models/ListLivyComputeSessionsResponse.d.ts +19 -0
- package/dist/models/ListLivyComputeSessionsResponse.js +69 -0
- package/dist/models/ListLivyComputeSessionsResponse.js.map +1 -0
- package/dist/models/ListLivyComputeSessionsResponseBody.d.ts +106 -0
- package/dist/models/ListLivyComputeSessionsResponseBody.js +108 -0
- package/dist/models/ListLivyComputeSessionsResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +14 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +53 -0
- package/src/models/ListLivyComputeSessionsRequest.ts +45 -0
- package/src/models/ListLivyComputeSessionsResponse.ts +40 -0
- package/src/models/ListLivyComputeSessionsResponseBody.ts +160 -0
- package/src/models/model.ts +4 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListLivyComputeSessionsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1
|
|
9
|
+
*/
|
|
10
|
+
pageNum?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 20
|
|
14
|
+
*/
|
|
15
|
+
pageSize?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* cn-hangzhou
|
|
19
|
+
*/
|
|
20
|
+
regionId?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
pageNum: 'pageNum',
|
|
24
|
+
pageSize: 'pageSize',
|
|
25
|
+
regionId: 'regionId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
pageNum: 'number',
|
|
32
|
+
pageSize: 'number',
|
|
33
|
+
regionId: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListLivyComputeSessionsResponseBody } from "./ListLivyComputeSessionsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListLivyComputeSessionsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListLivyComputeSessionsResponseBody;
|
|
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: ListLivyComputeSessionsResponseBody,
|
|
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,160 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListLivyComputeSessionsResponseBodySessions extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* lc-xxxxxx
|
|
9
|
+
*/
|
|
10
|
+
computeId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1768213240000
|
|
14
|
+
*/
|
|
15
|
+
createTime?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 322.5
|
|
19
|
+
*/
|
|
20
|
+
cuHours?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 1768213240000
|
|
24
|
+
*/
|
|
25
|
+
endTime?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* null
|
|
29
|
+
*/
|
|
30
|
+
info?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 1098888
|
|
34
|
+
*/
|
|
35
|
+
mbSeconds?: number;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* test_session
|
|
39
|
+
*/
|
|
40
|
+
name?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* root_queue
|
|
44
|
+
*/
|
|
45
|
+
queue?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* livy-xxxxxx
|
|
49
|
+
*/
|
|
50
|
+
sessionId?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* {
|
|
54
|
+
* "proxyUser": "test",
|
|
55
|
+
* "conf": {
|
|
56
|
+
* "spark.driver.cores": 1
|
|
57
|
+
* }
|
|
58
|
+
* }
|
|
59
|
+
*/
|
|
60
|
+
sparkConf?: string;
|
|
61
|
+
/**
|
|
62
|
+
* @example
|
|
63
|
+
* running
|
|
64
|
+
*/
|
|
65
|
+
state?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @example
|
|
68
|
+
* 343
|
|
69
|
+
*/
|
|
70
|
+
vcoreSeconds?: number;
|
|
71
|
+
/**
|
|
72
|
+
* @example
|
|
73
|
+
* http://emr-spark-ui-cn-hangzhou.data.aliyun.com
|
|
74
|
+
*/
|
|
75
|
+
webUI?: string;
|
|
76
|
+
static names(): { [key: string]: string } {
|
|
77
|
+
return {
|
|
78
|
+
computeId: 'computeId',
|
|
79
|
+
createTime: 'createTime',
|
|
80
|
+
cuHours: 'cuHours',
|
|
81
|
+
endTime: 'endTime',
|
|
82
|
+
info: 'info',
|
|
83
|
+
mbSeconds: 'mbSeconds',
|
|
84
|
+
name: 'name',
|
|
85
|
+
queue: 'queue',
|
|
86
|
+
sessionId: 'sessionId',
|
|
87
|
+
sparkConf: 'sparkConf',
|
|
88
|
+
state: 'state',
|
|
89
|
+
vcoreSeconds: 'vcoreSeconds',
|
|
90
|
+
webUI: 'webUI',
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
static types(): { [key: string]: any } {
|
|
95
|
+
return {
|
|
96
|
+
computeId: 'string',
|
|
97
|
+
createTime: 'number',
|
|
98
|
+
cuHours: 'number',
|
|
99
|
+
endTime: 'number',
|
|
100
|
+
info: 'string',
|
|
101
|
+
mbSeconds: 'number',
|
|
102
|
+
name: 'string',
|
|
103
|
+
queue: 'string',
|
|
104
|
+
sessionId: 'string',
|
|
105
|
+
sparkConf: 'string',
|
|
106
|
+
state: 'string',
|
|
107
|
+
vcoreSeconds: 'number',
|
|
108
|
+
webUI: 'string',
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
validate() {
|
|
113
|
+
super.validate();
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
constructor(map?: { [key: string]: any }) {
|
|
117
|
+
super(map);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export class ListLivyComputeSessionsResponseBody extends $dara.Model {
|
|
122
|
+
/**
|
|
123
|
+
* @example
|
|
124
|
+
* 8FAA8EEC-3026-5D15-8733-4E2A3DD970A1
|
|
125
|
+
*/
|
|
126
|
+
requestId?: string;
|
|
127
|
+
sessions?: ListLivyComputeSessionsResponseBodySessions[];
|
|
128
|
+
/**
|
|
129
|
+
* @example
|
|
130
|
+
* 10
|
|
131
|
+
*/
|
|
132
|
+
totalCount?: number;
|
|
133
|
+
static names(): { [key: string]: string } {
|
|
134
|
+
return {
|
|
135
|
+
requestId: 'requestId',
|
|
136
|
+
sessions: 'sessions',
|
|
137
|
+
totalCount: 'totalCount',
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
static types(): { [key: string]: any } {
|
|
142
|
+
return {
|
|
143
|
+
requestId: 'string',
|
|
144
|
+
sessions: { 'type': 'array', 'itemType': ListLivyComputeSessionsResponseBodySessions },
|
|
145
|
+
totalCount: 'number',
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
validate() {
|
|
150
|
+
if(Array.isArray(this.sessions)) {
|
|
151
|
+
$dara.Model.validateArray(this.sessions);
|
|
152
|
+
}
|
|
153
|
+
super.validate();
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
constructor(map?: { [key: string]: any }) {
|
|
157
|
+
super(map);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -66,6 +66,7 @@ export { ListKyuubiTokenResponseBodyDataTokens } from './ListKyuubiTokenResponse
|
|
|
66
66
|
export { ListKyuubiTokenResponseBodyData } from './ListKyuubiTokenResponseBody';
|
|
67
67
|
export { ListLivyComputeResponseBodyDataLivyComputes } from './ListLivyComputeResponseBody';
|
|
68
68
|
export { ListLivyComputeResponseBodyData } from './ListLivyComputeResponseBody';
|
|
69
|
+
export { ListLivyComputeSessionsResponseBodySessions } from './ListLivyComputeSessionsResponseBody';
|
|
69
70
|
export { ListLivyComputeTokenResponseBodyDataTokens } from './ListLivyComputeTokenResponseBody';
|
|
70
71
|
export { ListLivyComputeTokenResponseBodyData } from './ListLivyComputeTokenResponseBody';
|
|
71
72
|
export { ListLogContentsResponseBodyListLogContentContents } from './ListLogContentsResponseBody';
|
|
@@ -228,6 +229,9 @@ export { ListKyuubiTokenResponse } from './ListKyuubiTokenResponse';
|
|
|
228
229
|
export { ListLivyComputeRequest } from './ListLivyComputeRequest';
|
|
229
230
|
export { ListLivyComputeResponseBody } from './ListLivyComputeResponseBody';
|
|
230
231
|
export { ListLivyComputeResponse } from './ListLivyComputeResponse';
|
|
232
|
+
export { ListLivyComputeSessionsRequest } from './ListLivyComputeSessionsRequest';
|
|
233
|
+
export { ListLivyComputeSessionsResponseBody } from './ListLivyComputeSessionsResponseBody';
|
|
234
|
+
export { ListLivyComputeSessionsResponse } from './ListLivyComputeSessionsResponse';
|
|
231
235
|
export { ListLivyComputeTokenRequest } from './ListLivyComputeTokenRequest';
|
|
232
236
|
export { ListLivyComputeTokenResponseBody } from './ListLivyComputeTokenResponseBody';
|
|
233
237
|
export { ListLivyComputeTokenResponse } from './ListLivyComputeTokenResponse';
|