@alicloud/emr-serverless-spark20230808 1.14.0 → 1.16.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 +126 -0
- package/dist/client.js +340 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateKyuubiTokenRequest.d.ts +52 -0
- package/dist/models/CreateKyuubiTokenRequest.js +93 -0
- package/dist/models/CreateKyuubiTokenRequest.js.map +1 -0
- package/dist/models/CreateKyuubiTokenResponse.d.ts +19 -0
- package/dist/models/CreateKyuubiTokenResponse.js +69 -0
- package/dist/models/CreateKyuubiTokenResponse.js.map +1 -0
- package/dist/models/CreateKyuubiTokenResponseBody.d.ts +39 -0
- package/dist/models/CreateKyuubiTokenResponseBody.js +82 -0
- package/dist/models/CreateKyuubiTokenResponseBody.js.map +1 -0
- package/dist/models/CreateSqlStatementRequest.d.ts +1 -0
- package/dist/models/CreateSqlStatementRequest.js +2 -0
- package/dist/models/CreateSqlStatementRequest.js.map +1 -1
- package/dist/models/DeleteKyuubiTokenRequest.d.ts +18 -0
- package/dist/models/DeleteKyuubiTokenRequest.js +58 -0
- package/dist/models/DeleteKyuubiTokenRequest.js.map +1 -0
- package/dist/models/DeleteKyuubiTokenResponse.d.ts +19 -0
- package/dist/models/DeleteKyuubiTokenResponse.js +69 -0
- package/dist/models/DeleteKyuubiTokenResponse.js.map +1 -0
- package/dist/models/DeleteKyuubiTokenResponseBody.d.ts +18 -0
- package/dist/models/DeleteKyuubiTokenResponseBody.js +58 -0
- package/dist/models/DeleteKyuubiTokenResponseBody.js.map +1 -0
- package/dist/models/GetKyuubiTokenRequest.d.ts +18 -0
- package/dist/models/GetKyuubiTokenRequest.js +58 -0
- package/dist/models/GetKyuubiTokenRequest.js.map +1 -0
- package/dist/models/GetKyuubiTokenResponse.d.ts +19 -0
- package/dist/models/GetKyuubiTokenResponse.js +69 -0
- package/dist/models/GetKyuubiTokenResponse.js.map +1 -0
- package/dist/models/GetKyuubiTokenResponseBody.d.ts +93 -0
- package/dist/models/GetKyuubiTokenResponseBody.js +125 -0
- package/dist/models/GetKyuubiTokenResponseBody.js.map +1 -0
- 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/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/UpdateKyuubiTokenRequest.d.ts +52 -0
- package/dist/models/UpdateKyuubiTokenRequest.js +93 -0
- package/dist/models/UpdateKyuubiTokenRequest.js.map +1 -0
- package/dist/models/UpdateKyuubiTokenResponse.d.ts +19 -0
- package/dist/models/UpdateKyuubiTokenResponse.js +69 -0
- package/dist/models/UpdateKyuubiTokenResponse.js.map +1 -0
- package/dist/models/UpdateKyuubiTokenResponseBody.d.ts +18 -0
- package/dist/models/UpdateKyuubiTokenResponseBody.js +58 -0
- package/dist/models/UpdateKyuubiTokenResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +28 -0
- package/dist/models/model.js +62 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +375 -0
- package/src/models/CreateKyuubiTokenRequest.ts +91 -0
- package/src/models/CreateKyuubiTokenResponse.ts +40 -0
- package/src/models/CreateKyuubiTokenResponseBody.ts +67 -0
- package/src/models/CreateSqlStatementRequest.ts +3 -0
- package/src/models/DeleteKyuubiTokenRequest.ts +31 -0
- package/src/models/DeleteKyuubiTokenResponse.ts +40 -0
- package/src/models/DeleteKyuubiTokenResponseBody.ts +31 -0
- package/src/models/GetKyuubiTokenRequest.ts +31 -0
- package/src/models/GetKyuubiTokenResponse.ts +40 -0
- package/src/models/GetKyuubiTokenResponseBody.ts +155 -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/ListTemplateRequest.ts +31 -0
- package/src/models/ListTemplateResponse.ts +40 -0
- package/src/models/ListTemplateResponseBody.ts +66 -0
- package/src/models/UpdateKyuubiTokenRequest.ts +91 -0
- package/src/models/UpdateKyuubiTokenResponse.ts +40 -0
- package/src/models/UpdateKyuubiTokenResponseBody.ts +31 -0
- package/src/models/model.ts +28 -0
|
@@ -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
|
+
|
|
@@ -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
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { Template } from "./Template";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListTemplateResponseBody extends $dara.Model {
|
|
7
|
+
data?: Template[];
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* ERR-00000000
|
|
11
|
+
*/
|
|
12
|
+
errorCode?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* ok
|
|
16
|
+
*/
|
|
17
|
+
errorMessage?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* 200
|
|
21
|
+
*/
|
|
22
|
+
httpStatusCode?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
26
|
+
*/
|
|
27
|
+
requestId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* true
|
|
31
|
+
*/
|
|
32
|
+
success?: boolean;
|
|
33
|
+
static names(): { [key: string]: string } {
|
|
34
|
+
return {
|
|
35
|
+
data: 'data',
|
|
36
|
+
errorCode: 'errorCode',
|
|
37
|
+
errorMessage: 'errorMessage',
|
|
38
|
+
httpStatusCode: 'httpStatusCode',
|
|
39
|
+
requestId: 'requestId',
|
|
40
|
+
success: 'success',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
static types(): { [key: string]: any } {
|
|
45
|
+
return {
|
|
46
|
+
data: { 'type': 'array', 'itemType': Template },
|
|
47
|
+
errorCode: 'string',
|
|
48
|
+
errorMessage: 'string',
|
|
49
|
+
httpStatusCode: 'string',
|
|
50
|
+
requestId: 'string',
|
|
51
|
+
success: 'boolean',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
validate() {
|
|
56
|
+
if(Array.isArray(this.data)) {
|
|
57
|
+
$dara.Model.validateArray(this.data);
|
|
58
|
+
}
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateKyuubiTokenRequestAutoExpireConfiguration extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* true
|
|
9
|
+
*/
|
|
10
|
+
enable?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 365
|
|
14
|
+
*/
|
|
15
|
+
expireDays?: number;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
enable: 'enable',
|
|
19
|
+
expireDays: 'expireDays',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
enable: 'boolean',
|
|
26
|
+
expireDays: 'number',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class UpdateKyuubiTokenRequest extends $dara.Model {
|
|
40
|
+
autoExpireConfiguration?: UpdateKyuubiTokenRequestAutoExpireConfiguration;
|
|
41
|
+
memberArns?: string[];
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* dev_serverless_spark
|
|
45
|
+
*/
|
|
46
|
+
name?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* rjy7ejhej9gkzjjuun49jnx2xk8if2cu
|
|
50
|
+
*/
|
|
51
|
+
token?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @example
|
|
54
|
+
* cn-hangzhou
|
|
55
|
+
*/
|
|
56
|
+
regionId?: string;
|
|
57
|
+
static names(): { [key: string]: string } {
|
|
58
|
+
return {
|
|
59
|
+
autoExpireConfiguration: 'autoExpireConfiguration',
|
|
60
|
+
memberArns: 'memberArns',
|
|
61
|
+
name: 'name',
|
|
62
|
+
token: 'token',
|
|
63
|
+
regionId: 'regionId',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
static types(): { [key: string]: any } {
|
|
68
|
+
return {
|
|
69
|
+
autoExpireConfiguration: UpdateKyuubiTokenRequestAutoExpireConfiguration,
|
|
70
|
+
memberArns: { 'type': 'array', 'itemType': 'string' },
|
|
71
|
+
name: 'string',
|
|
72
|
+
token: 'string',
|
|
73
|
+
regionId: 'string',
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
validate() {
|
|
78
|
+
if(this.autoExpireConfiguration && typeof (this.autoExpireConfiguration as any).validate === 'function') {
|
|
79
|
+
(this.autoExpireConfiguration as any).validate();
|
|
80
|
+
}
|
|
81
|
+
if(Array.isArray(this.memberArns)) {
|
|
82
|
+
$dara.Model.validateArray(this.memberArns);
|
|
83
|
+
}
|
|
84
|
+
super.validate();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
constructor(map?: { [key: string]: any }) {
|
|
88
|
+
super(map);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UpdateKyuubiTokenResponseBody } from "./UpdateKyuubiTokenResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UpdateKyuubiTokenResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UpdateKyuubiTokenResponseBody;
|
|
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: UpdateKyuubiTokenResponseBody,
|
|
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,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateKyuubiTokenResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'requestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -4,6 +4,8 @@ export { SqlOutputRows } from './SqlOutput';
|
|
|
4
4
|
export { SqlOutputSchemaFields } from './SqlOutput';
|
|
5
5
|
export { SqlOutputSchema } from './SqlOutput';
|
|
6
6
|
export { TaskCredential } from './Task';
|
|
7
|
+
export { CreateKyuubiTokenRequestAutoExpireConfiguration } from './CreateKyuubiTokenRequest';
|
|
8
|
+
export { CreateKyuubiTokenResponseBodyData } from './CreateKyuubiTokenResponseBody';
|
|
7
9
|
export { CreateLivyComputeRequestAutoStartConfiguration } from './CreateLivyComputeRequest';
|
|
8
10
|
export { CreateLivyComputeRequestAutoStopConfiguration } from './CreateLivyComputeRequest';
|
|
9
11
|
export { CreateLivyComputeResponseBodyData } from './CreateLivyComputeResponseBody';
|
|
@@ -29,6 +31,8 @@ export { GetDoctorApplicationResponseBodyData } from './GetDoctorApplicationResp
|
|
|
29
31
|
export { GetJobRunResponseBodyJobRunConfigurationOverrides } from './GetJobRunResponseBody';
|
|
30
32
|
export { GetJobRunResponseBodyJobRunStateChangeReason } from './GetJobRunResponseBody';
|
|
31
33
|
export { GetJobRunResponseBodyJobRun } from './GetJobRunResponseBody';
|
|
34
|
+
export { GetKyuubiTokenResponseBodyDataAutoExpireConfiguration } from './GetKyuubiTokenResponseBody';
|
|
35
|
+
export { GetKyuubiTokenResponseBodyData } from './GetKyuubiTokenResponseBody';
|
|
32
36
|
export { GetLivyComputeResponseBodyDataAutoStopConfiguration } from './GetLivyComputeResponseBody';
|
|
33
37
|
export { GetLivyComputeResponseBodyData } from './GetLivyComputeResponseBody';
|
|
34
38
|
export { GetLivyComputeTokenResponseBodyDataAutoExpireConfiguration } from './GetLivyComputeTokenResponseBody';
|
|
@@ -40,6 +44,8 @@ export { GetSessionClusterResponseBodySessionClusterStateChangeReason } from './
|
|
|
40
44
|
export { GetSessionClusterResponseBodySessionCluster } from './GetSessionClusterResponseBody';
|
|
41
45
|
export { GetSqlStatementResponseBodyDataSqlOutputs } from './GetSqlStatementResponseBody';
|
|
42
46
|
export { GetSqlStatementResponseBodyData } from './GetSqlStatementResponseBody';
|
|
47
|
+
export { ListCatalogsResponseBodyCatalogs } from './ListCatalogsResponseBody';
|
|
48
|
+
export { ListJobExecutorsResponseBodyExexutors } from './ListJobExecutorsResponseBody';
|
|
43
49
|
export { ListJobRunsRequestEndTime } from './ListJobRunsRequest';
|
|
44
50
|
export { ListJobRunsRequestStartTime } from './ListJobRunsRequest';
|
|
45
51
|
export { ListJobRunsRequestTags } from './ListJobRunsRequest';
|
|
@@ -79,6 +85,7 @@ export { ListWorkspacesResponseBodyWorkspaces } from './ListWorkspacesResponseBo
|
|
|
79
85
|
export { RefreshLivyComputeTokenRequestAutoExpireConfiguration } from './RefreshLivyComputeTokenRequest';
|
|
80
86
|
export { StartJobRunRequestConfigurationOverridesConfigurations } from './StartJobRunRequest';
|
|
81
87
|
export { StartJobRunRequestConfigurationOverrides } from './StartJobRunRequest';
|
|
88
|
+
export { UpdateKyuubiTokenRequestAutoExpireConfiguration } from './UpdateKyuubiTokenRequest';
|
|
82
89
|
export { UpdateLivyComputeRequestAutoStartConfiguration } from './UpdateLivyComputeRequest';
|
|
83
90
|
export { UpdateLivyComputeRequestAutoStopConfiguration } from './UpdateLivyComputeRequest';
|
|
84
91
|
export { UpdateProcessDefinitionWithScheduleRequestGlobalParams } from './UpdateProcessDefinitionWithScheduleRequest';
|
|
@@ -113,6 +120,9 @@ export { AddMembersResponse } from './AddMembersResponse';
|
|
|
113
120
|
export { CancelJobRunRequest } from './CancelJobRunRequest';
|
|
114
121
|
export { CancelJobRunResponseBody } from './CancelJobRunResponseBody';
|
|
115
122
|
export { CancelJobRunResponse } from './CancelJobRunResponse';
|
|
123
|
+
export { CreateKyuubiTokenRequest } from './CreateKyuubiTokenRequest';
|
|
124
|
+
export { CreateKyuubiTokenResponseBody } from './CreateKyuubiTokenResponseBody';
|
|
125
|
+
export { CreateKyuubiTokenResponse } from './CreateKyuubiTokenResponse';
|
|
116
126
|
export { CreateLivyComputeRequest } from './CreateLivyComputeRequest';
|
|
117
127
|
export { CreateLivyComputeResponseBody } from './CreateLivyComputeResponseBody';
|
|
118
128
|
export { CreateLivyComputeResponse } from './CreateLivyComputeResponse';
|
|
@@ -132,6 +142,9 @@ export { CreateSqlStatementResponse } from './CreateSqlStatementResponse';
|
|
|
132
142
|
export { CreateWorkspaceRequest } from './CreateWorkspaceRequest';
|
|
133
143
|
export { CreateWorkspaceResponseBody } from './CreateWorkspaceResponseBody';
|
|
134
144
|
export { CreateWorkspaceResponse } from './CreateWorkspaceResponse';
|
|
145
|
+
export { DeleteKyuubiTokenRequest } from './DeleteKyuubiTokenRequest';
|
|
146
|
+
export { DeleteKyuubiTokenResponseBody } from './DeleteKyuubiTokenResponseBody';
|
|
147
|
+
export { DeleteKyuubiTokenResponse } from './DeleteKyuubiTokenResponse';
|
|
135
148
|
export { DeleteLivyComputeRequest } from './DeleteLivyComputeRequest';
|
|
136
149
|
export { DeleteLivyComputeResponseBody } from './DeleteLivyComputeResponseBody';
|
|
137
150
|
export { DeleteLivyComputeResponse } from './DeleteLivyComputeResponse';
|
|
@@ -150,6 +163,9 @@ export { GetDoctorApplicationResponse } from './GetDoctorApplicationResponse';
|
|
|
150
163
|
export { GetJobRunRequest } from './GetJobRunRequest';
|
|
151
164
|
export { GetJobRunResponseBody } from './GetJobRunResponseBody';
|
|
152
165
|
export { GetJobRunResponse } from './GetJobRunResponse';
|
|
166
|
+
export { GetKyuubiTokenRequest } from './GetKyuubiTokenRequest';
|
|
167
|
+
export { GetKyuubiTokenResponseBody } from './GetKyuubiTokenResponseBody';
|
|
168
|
+
export { GetKyuubiTokenResponse } from './GetKyuubiTokenResponse';
|
|
153
169
|
export { GetLivyComputeRequest } from './GetLivyComputeRequest';
|
|
154
170
|
export { GetLivyComputeResponseBody } from './GetLivyComputeResponseBody';
|
|
155
171
|
export { GetLivyComputeResponse } from './GetLivyComputeResponse';
|
|
@@ -168,6 +184,12 @@ export { GetTemplateResponse } from './GetTemplateResponse';
|
|
|
168
184
|
export { GrantRoleToUsersRequest } from './GrantRoleToUsersRequest';
|
|
169
185
|
export { GrantRoleToUsersResponseBody } from './GrantRoleToUsersResponseBody';
|
|
170
186
|
export { GrantRoleToUsersResponse } from './GrantRoleToUsersResponse';
|
|
187
|
+
export { ListCatalogsRequest } from './ListCatalogsRequest';
|
|
188
|
+
export { ListCatalogsResponseBody } from './ListCatalogsResponseBody';
|
|
189
|
+
export { ListCatalogsResponse } from './ListCatalogsResponse';
|
|
190
|
+
export { ListJobExecutorsRequest } from './ListJobExecutorsRequest';
|
|
191
|
+
export { ListJobExecutorsResponseBody } from './ListJobExecutorsResponseBody';
|
|
192
|
+
export { ListJobExecutorsResponse } from './ListJobExecutorsResponse';
|
|
171
193
|
export { ListJobRunsRequest } from './ListJobRunsRequest';
|
|
172
194
|
export { ListJobRunsShrinkRequest } from './ListJobRunsShrinkRequest';
|
|
173
195
|
export { ListJobRunsResponseBody } from './ListJobRunsResponseBody';
|
|
@@ -202,6 +224,9 @@ export { ListSessionClustersResponse } from './ListSessionClustersResponse';
|
|
|
202
224
|
export { ListSqlStatementContentsRequest } from './ListSqlStatementContentsRequest';
|
|
203
225
|
export { ListSqlStatementContentsResponseBody } from './ListSqlStatementContentsResponseBody';
|
|
204
226
|
export { ListSqlStatementContentsResponse } from './ListSqlStatementContentsResponse';
|
|
227
|
+
export { ListTemplateRequest } from './ListTemplateRequest';
|
|
228
|
+
export { ListTemplateResponseBody } from './ListTemplateResponseBody';
|
|
229
|
+
export { ListTemplateResponse } from './ListTemplateResponse';
|
|
205
230
|
export { ListWorkspaceQueuesRequest } from './ListWorkspaceQueuesRequest';
|
|
206
231
|
export { ListWorkspaceQueuesResponseBody } from './ListWorkspaceQueuesResponseBody';
|
|
207
232
|
export { ListWorkspaceQueuesResponse } from './ListWorkspaceQueuesResponse';
|
|
@@ -233,6 +258,9 @@ export { StopSessionClusterResponse } from './StopSessionClusterResponse';
|
|
|
233
258
|
export { TerminateSqlStatementRequest } from './TerminateSqlStatementRequest';
|
|
234
259
|
export { TerminateSqlStatementResponseBody } from './TerminateSqlStatementResponseBody';
|
|
235
260
|
export { TerminateSqlStatementResponse } from './TerminateSqlStatementResponse';
|
|
261
|
+
export { UpdateKyuubiTokenRequest } from './UpdateKyuubiTokenRequest';
|
|
262
|
+
export { UpdateKyuubiTokenResponseBody } from './UpdateKyuubiTokenResponseBody';
|
|
263
|
+
export { UpdateKyuubiTokenResponse } from './UpdateKyuubiTokenResponse';
|
|
236
264
|
export { UpdateLivyComputeRequest } from './UpdateLivyComputeRequest';
|
|
237
265
|
export { UpdateLivyComputeResponseBody } from './UpdateLivyComputeResponseBody';
|
|
238
266
|
export { UpdateLivyComputeResponse } from './UpdateLivyComputeResponse';
|