@alicloud/emr-serverless-spark20230808 1.10.3 → 1.11.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 +33 -0
- package/dist/client.js +93 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateSessionClusterRequest.d.ts +3 -0
- package/dist/models/CreateSessionClusterRequest.js.map +1 -1
- package/dist/models/GetSessionClusterResponseBodySessionCluster.d.ts +1 -0
- package/dist/models/GetSessionClusterResponseBodySessionCluster.js +2 -0
- package/dist/models/GetSessionClusterResponseBodySessionCluster.js.map +1 -1
- package/dist/models/ListJobRunsRequest.d.ts +1 -0
- package/dist/models/ListJobRunsRequest.js +2 -0
- package/dist/models/ListJobRunsRequest.js.map +1 -1
- package/dist/models/ListJobRunsShrinkRequest.d.ts +1 -0
- package/dist/models/ListJobRunsShrinkRequest.js +2 -0
- package/dist/models/ListJobRunsShrinkRequest.js.map +1 -1
- package/dist/models/ListKyuubiServicesResponse.d.ts +19 -0
- package/dist/models/ListKyuubiServicesResponse.js +69 -0
- package/dist/models/ListKyuubiServicesResponse.js.map +1 -0
- package/dist/models/ListKyuubiServicesResponseBody.d.ts +20 -0
- package/dist/models/ListKyuubiServicesResponseBody.js +64 -0
- package/dist/models/ListKyuubiServicesResponseBody.js.map +1 -0
- package/dist/models/ListKyuubiServicesResponseBodyData.d.ts +15 -0
- package/dist/models/ListKyuubiServicesResponseBodyData.js +62 -0
- package/dist/models/ListKyuubiServicesResponseBodyData.js.map +1 -0
- package/dist/models/ListKyuubiServicesResponseBodyDataKyuubiServices.d.ts +88 -0
- package/dist/models/ListKyuubiServicesResponseBodyDataKyuubiServices.js +84 -0
- package/dist/models/ListKyuubiServicesResponseBodyDataKyuubiServices.js.map +1 -0
- package/dist/models/ListKyuubiSparkApplicationsRequest.d.ts +4 -0
- package/dist/models/ListKyuubiSparkApplicationsRequest.js +11 -0
- package/dist/models/ListKyuubiSparkApplicationsRequest.js.map +1 -1
- package/dist/models/ListKyuubiSparkApplicationsShrinkRequest.d.ts +4 -0
- package/dist/models/ListKyuubiSparkApplicationsShrinkRequest.js +8 -0
- package/dist/models/ListKyuubiSparkApplicationsShrinkRequest.js.map +1 -1
- package/dist/models/ListKyuubiTokenRequest.d.ts +18 -0
- package/dist/models/ListKyuubiTokenRequest.js +58 -0
- package/dist/models/ListKyuubiTokenRequest.js.map +1 -0
- package/dist/models/ListKyuubiTokenResponse.d.ts +19 -0
- package/dist/models/ListKyuubiTokenResponse.js +69 -0
- package/dist/models/ListKyuubiTokenResponse.js.map +1 -0
- package/dist/models/ListKyuubiTokenResponseBody.d.ts +20 -0
- package/dist/models/ListKyuubiTokenResponseBody.js +64 -0
- package/dist/models/ListKyuubiTokenResponseBody.js.map +1 -0
- package/dist/models/ListKyuubiTokenResponseBodyData.d.ts +15 -0
- package/dist/models/ListKyuubiTokenResponseBodyData.js +62 -0
- package/dist/models/ListKyuubiTokenResponseBodyData.js.map +1 -0
- package/dist/models/ListKyuubiTokenResponseBodyDataTokens.d.ts +51 -0
- package/dist/models/ListKyuubiTokenResponseBodyDataTokens.js +70 -0
- package/dist/models/ListKyuubiTokenResponseBodyDataTokens.js.map +1 -0
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +22 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +104 -0
- package/src/models/CreateSessionClusterRequest.ts +3 -0
- package/src/models/GetSessionClusterResponseBodySessionCluster.ts +3 -0
- package/src/models/ListJobRunsRequest.ts +3 -0
- package/src/models/ListJobRunsShrinkRequest.ts +3 -0
- package/src/models/ListKyuubiServicesResponse.ts +40 -0
- package/src/models/ListKyuubiServicesResponseBody.ts +38 -0
- package/src/models/ListKyuubiServicesResponseBodyData.ts +31 -0
- package/src/models/ListKyuubiServicesResponseBodyDataKyuubiServices.ts +127 -0
- package/src/models/ListKyuubiSparkApplicationsRequest.ts +15 -0
- package/src/models/ListKyuubiSparkApplicationsShrinkRequest.ts +12 -0
- package/src/models/ListKyuubiTokenRequest.ts +31 -0
- package/src/models/ListKyuubiTokenResponse.ts +40 -0
- package/src/models/ListKyuubiTokenResponseBody.ts +38 -0
- package/src/models/ListKyuubiTokenResponseBodyData.ts +31 -0
- package/src/models/ListKyuubiTokenResponseBodyDataTokens.ts +76 -0
- package/src/models/model.ts +9 -0
package/src/client.ts
CHANGED
|
@@ -974,6 +974,10 @@ export default class Client extends OpenApi {
|
|
|
974
974
|
query["endTime"] = request.endTimeShrink;
|
|
975
975
|
}
|
|
976
976
|
|
|
977
|
+
if (!$dara.isNull(request.isWorkflow)) {
|
|
978
|
+
query["isWorkflow"] = request.isWorkflow;
|
|
979
|
+
}
|
|
980
|
+
|
|
977
981
|
if (!$dara.isNull(request.jobRunDeploymentId)) {
|
|
978
982
|
query["jobRunDeploymentId"] = request.jobRunDeploymentId;
|
|
979
983
|
}
|
|
@@ -1048,6 +1052,41 @@ export default class Client extends OpenApi {
|
|
|
1048
1052
|
return await this.listJobRunsWithOptions(workspaceId, request, headers, runtime);
|
|
1049
1053
|
}
|
|
1050
1054
|
|
|
1055
|
+
/**
|
|
1056
|
+
* ListKyuubiServices
|
|
1057
|
+
*
|
|
1058
|
+
* @param headers - map
|
|
1059
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1060
|
+
* @returns ListKyuubiServicesResponse
|
|
1061
|
+
*/
|
|
1062
|
+
async listKyuubiServicesWithOptions(workspaceId: string, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListKyuubiServicesResponse> {
|
|
1063
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1064
|
+
headers: headers,
|
|
1065
|
+
});
|
|
1066
|
+
let params = new $OpenApiUtil.Params({
|
|
1067
|
+
action: "ListKyuubiServices",
|
|
1068
|
+
version: "2023-08-08",
|
|
1069
|
+
protocol: "HTTPS",
|
|
1070
|
+
pathname: `/api/v1/kyuubi/${$dara.URL.percentEncode(workspaceId)}`,
|
|
1071
|
+
method: "GET",
|
|
1072
|
+
authType: "AK",
|
|
1073
|
+
style: "ROA",
|
|
1074
|
+
reqBodyType: "json",
|
|
1075
|
+
bodyType: "json",
|
|
1076
|
+
});
|
|
1077
|
+
return $dara.cast<$_model.ListKyuubiServicesResponse>(await this.callApi(params, req, runtime), new $_model.ListKyuubiServicesResponse({}));
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* ListKyuubiServices
|
|
1082
|
+
* @returns ListKyuubiServicesResponse
|
|
1083
|
+
*/
|
|
1084
|
+
async listKyuubiServices(workspaceId: string): Promise<$_model.ListKyuubiServicesResponse> {
|
|
1085
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1086
|
+
let headers : {[key: string ]: string} = { };
|
|
1087
|
+
return await this.listKyuubiServicesWithOptions(workspaceId, headers, runtime);
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1051
1090
|
/**
|
|
1052
1091
|
* Queries the applications that are submitted by using a Kyuubi gateway.
|
|
1053
1092
|
*
|
|
@@ -1060,6 +1099,10 @@ export default class Client extends OpenApi {
|
|
|
1060
1099
|
tmpReq.validate();
|
|
1061
1100
|
let request = new $_model.ListKyuubiSparkApplicationsShrinkRequest({ });
|
|
1062
1101
|
OpenApiUtil.convert(tmpReq, request);
|
|
1102
|
+
if (!$dara.isNull(tmpReq.orderBy)) {
|
|
1103
|
+
request.orderByShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.orderBy, "orderBy", "json");
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1063
1106
|
if (!$dara.isNull(tmpReq.startTime)) {
|
|
1064
1107
|
request.startTimeShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.startTime, "startTime", "json");
|
|
1065
1108
|
}
|
|
@@ -1077,10 +1120,26 @@ export default class Client extends OpenApi {
|
|
|
1077
1120
|
query["maxResults"] = request.maxResults;
|
|
1078
1121
|
}
|
|
1079
1122
|
|
|
1123
|
+
if (!$dara.isNull(request.minDuration)) {
|
|
1124
|
+
query["minDuration"] = request.minDuration;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1080
1127
|
if (!$dara.isNull(request.nextToken)) {
|
|
1081
1128
|
query["nextToken"] = request.nextToken;
|
|
1082
1129
|
}
|
|
1083
1130
|
|
|
1131
|
+
if (!$dara.isNull(request.orderByShrink)) {
|
|
1132
|
+
query["orderBy"] = request.orderByShrink;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
if (!$dara.isNull(request.resourceQueueId)) {
|
|
1136
|
+
query["resourceQueueId"] = request.resourceQueueId;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
if (!$dara.isNull(request.sort)) {
|
|
1140
|
+
query["sort"] = request.sort;
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1084
1143
|
if (!$dara.isNull(request.startTimeShrink)) {
|
|
1085
1144
|
query["startTime"] = request.startTimeShrink;
|
|
1086
1145
|
}
|
|
@@ -1115,6 +1174,51 @@ export default class Client extends OpenApi {
|
|
|
1115
1174
|
return await this.listKyuubiSparkApplicationsWithOptions(workspaceId, kyuubiServiceId, request, headers, runtime);
|
|
1116
1175
|
}
|
|
1117
1176
|
|
|
1177
|
+
/**
|
|
1178
|
+
* 列出compute的token
|
|
1179
|
+
*
|
|
1180
|
+
* @param request - ListKyuubiTokenRequest
|
|
1181
|
+
* @param headers - map
|
|
1182
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1183
|
+
* @returns ListKyuubiTokenResponse
|
|
1184
|
+
*/
|
|
1185
|
+
async listKyuubiTokenWithOptions(workspaceId: string, kyuubiServiceId: string, request: $_model.ListKyuubiTokenRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListKyuubiTokenResponse> {
|
|
1186
|
+
request.validate();
|
|
1187
|
+
let query : {[key: string ]: any} = { };
|
|
1188
|
+
if (!$dara.isNull(request.regionId)) {
|
|
1189
|
+
query["regionId"] = request.regionId;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1193
|
+
headers: headers,
|
|
1194
|
+
query: OpenApiUtil.query(query),
|
|
1195
|
+
});
|
|
1196
|
+
let params = new $OpenApiUtil.Params({
|
|
1197
|
+
action: "ListKyuubiToken",
|
|
1198
|
+
version: "2023-08-08",
|
|
1199
|
+
protocol: "HTTPS",
|
|
1200
|
+
pathname: `/api/v1/workspaces/${$dara.URL.percentEncode(workspaceId)}/kyuubiService/${$dara.URL.percentEncode(kyuubiServiceId)}/token`,
|
|
1201
|
+
method: "GET",
|
|
1202
|
+
authType: "AK",
|
|
1203
|
+
style: "ROA",
|
|
1204
|
+
reqBodyType: "json",
|
|
1205
|
+
bodyType: "json",
|
|
1206
|
+
});
|
|
1207
|
+
return $dara.cast<$_model.ListKyuubiTokenResponse>(await this.callApi(params, req, runtime), new $_model.ListKyuubiTokenResponse({}));
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
/**
|
|
1211
|
+
* 列出compute的token
|
|
1212
|
+
*
|
|
1213
|
+
* @param request - ListKyuubiTokenRequest
|
|
1214
|
+
* @returns ListKyuubiTokenResponse
|
|
1215
|
+
*/
|
|
1216
|
+
async listKyuubiToken(workspaceId: string, kyuubiServiceId: string, request: $_model.ListKyuubiTokenRequest): Promise<$_model.ListKyuubiTokenResponse> {
|
|
1217
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1218
|
+
let headers : {[key: string ]: string} = { };
|
|
1219
|
+
return await this.listKyuubiTokenWithOptions(workspaceId, kyuubiServiceId, request, headers, runtime);
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1118
1222
|
/**
|
|
1119
1223
|
* Get Log Content
|
|
1120
1224
|
*
|
|
@@ -22,6 +22,7 @@ export class GetSessionClusterResponseBodySessionCluster extends $dara.Model {
|
|
|
22
22
|
* Indicates whether automatic termination is enabled.
|
|
23
23
|
*/
|
|
24
24
|
autoStopConfiguration?: GetSessionClusterResponseBodySessionClusterAutoStopConfiguration;
|
|
25
|
+
connectionToken?: string;
|
|
25
26
|
/**
|
|
26
27
|
* @remarks
|
|
27
28
|
* The version of the Spark engine.
|
|
@@ -195,6 +196,7 @@ export class GetSessionClusterResponseBodySessionCluster extends $dara.Model {
|
|
|
195
196
|
applicationConfigs: 'applicationConfigs',
|
|
196
197
|
autoStartConfiguration: 'autoStartConfiguration',
|
|
197
198
|
autoStopConfiguration: 'autoStopConfiguration',
|
|
199
|
+
connectionToken: 'connectionToken',
|
|
198
200
|
displayReleaseVersion: 'displayReleaseVersion',
|
|
199
201
|
domain: 'domain',
|
|
200
202
|
domainInner: 'domainInner',
|
|
@@ -224,6 +226,7 @@ export class GetSessionClusterResponseBodySessionCluster extends $dara.Model {
|
|
|
224
226
|
applicationConfigs: { 'type': 'array', 'itemType': GetSessionClusterResponseBodySessionClusterApplicationConfigs },
|
|
225
227
|
autoStartConfiguration: GetSessionClusterResponseBodySessionClusterAutoStartConfiguration,
|
|
226
228
|
autoStopConfiguration: GetSessionClusterResponseBodySessionClusterAutoStopConfiguration,
|
|
229
|
+
connectionToken: 'string',
|
|
227
230
|
displayReleaseVersion: 'string',
|
|
228
231
|
domain: 'string',
|
|
229
232
|
domainInner: 'string',
|
|
@@ -19,6 +19,7 @@ export class ListJobRunsRequest extends $dara.Model {
|
|
|
19
19
|
* The range of end time.
|
|
20
20
|
*/
|
|
21
21
|
endTime?: ListJobRunsRequestEndTime;
|
|
22
|
+
isWorkflow?: string;
|
|
22
23
|
/**
|
|
23
24
|
* @remarks
|
|
24
25
|
* The job run ID.
|
|
@@ -105,6 +106,7 @@ export class ListJobRunsRequest extends $dara.Model {
|
|
|
105
106
|
return {
|
|
106
107
|
creator: 'creator',
|
|
107
108
|
endTime: 'endTime',
|
|
109
|
+
isWorkflow: 'isWorkflow',
|
|
108
110
|
jobRunDeploymentId: 'jobRunDeploymentId',
|
|
109
111
|
jobRunId: 'jobRunId',
|
|
110
112
|
maxResults: 'maxResults',
|
|
@@ -123,6 +125,7 @@ export class ListJobRunsRequest extends $dara.Model {
|
|
|
123
125
|
return {
|
|
124
126
|
creator: 'string',
|
|
125
127
|
endTime: ListJobRunsRequestEndTime,
|
|
128
|
+
isWorkflow: 'string',
|
|
126
129
|
jobRunDeploymentId: 'string',
|
|
127
130
|
jobRunId: 'string',
|
|
128
131
|
maxResults: 'number',
|
|
@@ -16,6 +16,7 @@ export class ListJobRunsShrinkRequest extends $dara.Model {
|
|
|
16
16
|
* The range of end time.
|
|
17
17
|
*/
|
|
18
18
|
endTimeShrink?: string;
|
|
19
|
+
isWorkflow?: string;
|
|
19
20
|
/**
|
|
20
21
|
* @remarks
|
|
21
22
|
* The job run ID.
|
|
@@ -102,6 +103,7 @@ export class ListJobRunsShrinkRequest extends $dara.Model {
|
|
|
102
103
|
return {
|
|
103
104
|
creator: 'creator',
|
|
104
105
|
endTimeShrink: 'endTime',
|
|
106
|
+
isWorkflow: 'isWorkflow',
|
|
105
107
|
jobRunDeploymentId: 'jobRunDeploymentId',
|
|
106
108
|
jobRunId: 'jobRunId',
|
|
107
109
|
maxResults: 'maxResults',
|
|
@@ -120,6 +122,7 @@ export class ListJobRunsShrinkRequest extends $dara.Model {
|
|
|
120
122
|
return {
|
|
121
123
|
creator: 'string',
|
|
122
124
|
endTimeShrink: 'string',
|
|
125
|
+
isWorkflow: 'string',
|
|
123
126
|
jobRunDeploymentId: 'string',
|
|
124
127
|
jobRunId: 'string',
|
|
125
128
|
maxResults: 'number',
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListKyuubiServicesResponseBody } from "./ListKyuubiServicesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListKyuubiServicesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListKyuubiServicesResponseBody;
|
|
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: ListKyuubiServicesResponseBody,
|
|
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,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListKyuubiServicesResponseBodyData } from "./ListKyuubiServicesResponseBodyData";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListKyuubiServicesResponseBody extends $dara.Model {
|
|
7
|
+
data?: ListKyuubiServicesResponseBodyData;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
11
|
+
*/
|
|
12
|
+
requestId?: string;
|
|
13
|
+
static names(): { [key: string]: string } {
|
|
14
|
+
return {
|
|
15
|
+
data: 'data',
|
|
16
|
+
requestId: 'requestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
data: ListKyuubiServicesResponseBodyData,
|
|
23
|
+
requestId: 'string',
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
validate() {
|
|
28
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
29
|
+
(this.data as any).validate();
|
|
30
|
+
}
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListKyuubiServicesResponseBodyDataKyuubiServices } from "./ListKyuubiServicesResponseBodyDataKyuubiServices";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListKyuubiServicesResponseBodyData extends $dara.Model {
|
|
7
|
+
kyuubiServices?: ListKyuubiServicesResponseBodyDataKyuubiServices[];
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
kyuubiServices: 'kyuubiServices',
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
static types(): { [key: string]: any } {
|
|
15
|
+
return {
|
|
16
|
+
kyuubiServices: { 'type': 'array', 'itemType': ListKyuubiServicesResponseBodyDataKyuubiServices },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
validate() {
|
|
21
|
+
if(Array.isArray(this.kyuubiServices)) {
|
|
22
|
+
$dara.Model.validateArray(this.kyuubiServices);
|
|
23
|
+
}
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListKyuubiServicesResponseBodyDataKyuubiServices extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 4C16G
|
|
9
|
+
*/
|
|
10
|
+
computeInstance?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 2025-03-11T08:21:58Z
|
|
14
|
+
*/
|
|
15
|
+
createTime?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 103*******
|
|
19
|
+
*/
|
|
20
|
+
creator?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* kyuubi-cn-hangzhou-internal.spark.emr.aliyuncs.com
|
|
24
|
+
*/
|
|
25
|
+
innerEndpoint?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* kyuubi.conf.key=value1
|
|
29
|
+
* kyuubi.conf.key1=value2
|
|
30
|
+
*/
|
|
31
|
+
kyuubiConfigs?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* KyuubiServer ID。
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* kb-070104e7631242448d12a1377c309f30
|
|
38
|
+
*/
|
|
39
|
+
kyuubiServiceId?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* test
|
|
43
|
+
*/
|
|
44
|
+
name?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @example
|
|
47
|
+
* emr-spark-kyuubi-gateway-cn-hangzhou.aliyuncs.com
|
|
48
|
+
*/
|
|
49
|
+
publicEndpoint?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @example
|
|
52
|
+
* dev_queue
|
|
53
|
+
*/
|
|
54
|
+
queue?: string;
|
|
55
|
+
/**
|
|
56
|
+
* @example
|
|
57
|
+
* esr-4.2.0 (Spark 3.5.2, Scala 2.12)
|
|
58
|
+
*/
|
|
59
|
+
releaseVersion?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @example
|
|
62
|
+
* 3
|
|
63
|
+
*/
|
|
64
|
+
replica?: number;
|
|
65
|
+
/**
|
|
66
|
+
* @example
|
|
67
|
+
* spark.conf.key=value1
|
|
68
|
+
* spark.conf.key1=value2
|
|
69
|
+
*/
|
|
70
|
+
sparkConfigs?: string;
|
|
71
|
+
/**
|
|
72
|
+
* @example
|
|
73
|
+
* 2024-11-23 09:22:00
|
|
74
|
+
*/
|
|
75
|
+
startTime?: string;
|
|
76
|
+
/**
|
|
77
|
+
* @example
|
|
78
|
+
* Running
|
|
79
|
+
*/
|
|
80
|
+
state?: string;
|
|
81
|
+
static names(): { [key: string]: string } {
|
|
82
|
+
return {
|
|
83
|
+
computeInstance: 'computeInstance',
|
|
84
|
+
createTime: 'createTime',
|
|
85
|
+
creator: 'creator',
|
|
86
|
+
innerEndpoint: 'innerEndpoint',
|
|
87
|
+
kyuubiConfigs: 'kyuubiConfigs',
|
|
88
|
+
kyuubiServiceId: 'kyuubiServiceId',
|
|
89
|
+
name: 'name',
|
|
90
|
+
publicEndpoint: 'publicEndpoint',
|
|
91
|
+
queue: 'queue',
|
|
92
|
+
releaseVersion: 'releaseVersion',
|
|
93
|
+
replica: 'replica',
|
|
94
|
+
sparkConfigs: 'sparkConfigs',
|
|
95
|
+
startTime: 'startTime',
|
|
96
|
+
state: 'state',
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
static types(): { [key: string]: any } {
|
|
101
|
+
return {
|
|
102
|
+
computeInstance: 'string',
|
|
103
|
+
createTime: 'string',
|
|
104
|
+
creator: 'string',
|
|
105
|
+
innerEndpoint: 'string',
|
|
106
|
+
kyuubiConfigs: 'string',
|
|
107
|
+
kyuubiServiceId: 'string',
|
|
108
|
+
name: 'string',
|
|
109
|
+
publicEndpoint: 'string',
|
|
110
|
+
queue: 'string',
|
|
111
|
+
releaseVersion: 'string',
|
|
112
|
+
replica: 'number',
|
|
113
|
+
sparkConfigs: 'string',
|
|
114
|
+
startTime: 'string',
|
|
115
|
+
state: 'string',
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
validate() {
|
|
120
|
+
super.validate();
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
constructor(map?: { [key: string]: any }) {
|
|
124
|
+
super(map);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
@@ -28,6 +28,7 @@ export class ListKyuubiSparkApplicationsRequest extends $dara.Model {
|
|
|
28
28
|
* 20
|
|
29
29
|
*/
|
|
30
30
|
maxResults?: number;
|
|
31
|
+
minDuration?: number;
|
|
31
32
|
/**
|
|
32
33
|
* @remarks
|
|
33
34
|
* The pagination token that is used in the next request to retrieve a new page of results.
|
|
@@ -36,6 +37,9 @@ export class ListKyuubiSparkApplicationsRequest extends $dara.Model {
|
|
|
36
37
|
* 1
|
|
37
38
|
*/
|
|
38
39
|
nextToken?: string;
|
|
40
|
+
orderBy?: string[];
|
|
41
|
+
resourceQueueId?: string;
|
|
42
|
+
sort?: string;
|
|
39
43
|
/**
|
|
40
44
|
* @remarks
|
|
41
45
|
* The range of start time.
|
|
@@ -46,7 +50,11 @@ export class ListKyuubiSparkApplicationsRequest extends $dara.Model {
|
|
|
46
50
|
applicationId: 'applicationId',
|
|
47
51
|
applicationName: 'applicationName',
|
|
48
52
|
maxResults: 'maxResults',
|
|
53
|
+
minDuration: 'minDuration',
|
|
49
54
|
nextToken: 'nextToken',
|
|
55
|
+
orderBy: 'orderBy',
|
|
56
|
+
resourceQueueId: 'resourceQueueId',
|
|
57
|
+
sort: 'sort',
|
|
50
58
|
startTime: 'startTime',
|
|
51
59
|
};
|
|
52
60
|
}
|
|
@@ -56,12 +64,19 @@ export class ListKyuubiSparkApplicationsRequest extends $dara.Model {
|
|
|
56
64
|
applicationId: 'string',
|
|
57
65
|
applicationName: 'string',
|
|
58
66
|
maxResults: 'number',
|
|
67
|
+
minDuration: 'number',
|
|
59
68
|
nextToken: 'string',
|
|
69
|
+
orderBy: { 'type': 'array', 'itemType': 'string' },
|
|
70
|
+
resourceQueueId: 'string',
|
|
71
|
+
sort: 'string',
|
|
60
72
|
startTime: ListKyuubiSparkApplicationsRequestStartTime,
|
|
61
73
|
};
|
|
62
74
|
}
|
|
63
75
|
|
|
64
76
|
validate() {
|
|
77
|
+
if(Array.isArray(this.orderBy)) {
|
|
78
|
+
$dara.Model.validateArray(this.orderBy);
|
|
79
|
+
}
|
|
65
80
|
if(this.startTime && typeof (this.startTime as any).validate === 'function') {
|
|
66
81
|
(this.startTime as any).validate();
|
|
67
82
|
}
|
|
@@ -27,6 +27,7 @@ export class ListKyuubiSparkApplicationsShrinkRequest extends $dara.Model {
|
|
|
27
27
|
* 20
|
|
28
28
|
*/
|
|
29
29
|
maxResults?: number;
|
|
30
|
+
minDuration?: number;
|
|
30
31
|
/**
|
|
31
32
|
* @remarks
|
|
32
33
|
* The pagination token that is used in the next request to retrieve a new page of results.
|
|
@@ -35,6 +36,9 @@ export class ListKyuubiSparkApplicationsShrinkRequest extends $dara.Model {
|
|
|
35
36
|
* 1
|
|
36
37
|
*/
|
|
37
38
|
nextToken?: string;
|
|
39
|
+
orderByShrink?: string;
|
|
40
|
+
resourceQueueId?: string;
|
|
41
|
+
sort?: string;
|
|
38
42
|
/**
|
|
39
43
|
* @remarks
|
|
40
44
|
* The range of start time.
|
|
@@ -45,7 +49,11 @@ export class ListKyuubiSparkApplicationsShrinkRequest extends $dara.Model {
|
|
|
45
49
|
applicationId: 'applicationId',
|
|
46
50
|
applicationName: 'applicationName',
|
|
47
51
|
maxResults: 'maxResults',
|
|
52
|
+
minDuration: 'minDuration',
|
|
48
53
|
nextToken: 'nextToken',
|
|
54
|
+
orderByShrink: 'orderBy',
|
|
55
|
+
resourceQueueId: 'resourceQueueId',
|
|
56
|
+
sort: 'sort',
|
|
49
57
|
startTimeShrink: 'startTime',
|
|
50
58
|
};
|
|
51
59
|
}
|
|
@@ -55,7 +63,11 @@ export class ListKyuubiSparkApplicationsShrinkRequest extends $dara.Model {
|
|
|
55
63
|
applicationId: 'string',
|
|
56
64
|
applicationName: 'string',
|
|
57
65
|
maxResults: 'number',
|
|
66
|
+
minDuration: 'number',
|
|
58
67
|
nextToken: 'string',
|
|
68
|
+
orderByShrink: 'string',
|
|
69
|
+
resourceQueueId: 'string',
|
|
70
|
+
sort: 'string',
|
|
59
71
|
startTimeShrink: 'string',
|
|
60
72
|
};
|
|
61
73
|
}
|
|
@@ -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 ListKyuubiTokenRequest 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 { ListKyuubiTokenResponseBody } from "./ListKyuubiTokenResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListKyuubiTokenResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListKyuubiTokenResponseBody;
|
|
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: ListKyuubiTokenResponseBody,
|
|
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,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListKyuubiTokenResponseBodyData } from "./ListKyuubiTokenResponseBodyData";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListKyuubiTokenResponseBody extends $dara.Model {
|
|
7
|
+
data?: ListKyuubiTokenResponseBodyData;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
11
|
+
*/
|
|
12
|
+
requestId?: string;
|
|
13
|
+
static names(): { [key: string]: string } {
|
|
14
|
+
return {
|
|
15
|
+
data: 'data',
|
|
16
|
+
requestId: 'requestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
data: ListKyuubiTokenResponseBodyData,
|
|
23
|
+
requestId: 'string',
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
validate() {
|
|
28
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
29
|
+
(this.data as any).validate();
|
|
30
|
+
}
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListKyuubiTokenResponseBodyDataTokens } from "./ListKyuubiTokenResponseBodyDataTokens";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListKyuubiTokenResponseBodyData extends $dara.Model {
|
|
7
|
+
tokens?: ListKyuubiTokenResponseBodyDataTokens[];
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
tokens: 'tokens',
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
static types(): { [key: string]: any } {
|
|
15
|
+
return {
|
|
16
|
+
tokens: { 'type': 'array', 'itemType': ListKyuubiTokenResponseBodyDataTokens },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
validate() {
|
|
21
|
+
if(Array.isArray(this.tokens)) {
|
|
22
|
+
$dara.Model.validateArray(this.tokens);
|
|
23
|
+
}
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|