@alicloud/emr-serverless-spark20230808 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +84 -48
- package/dist/client.js +135 -48
- package/dist/client.js.map +1 -1
- package/dist/models/CreateProcessDefinitionWithScheduleRequest.d.ts +37 -37
- package/dist/models/CreateProcessDefinitionWithScheduleResponseBody.d.ts +6 -6
- package/dist/models/CreateProcessDefinitionWithScheduleShrinkRequest.d.ts +10 -10
- package/dist/models/CreateSessionClusterRequest.d.ts +35 -29
- package/dist/models/CreateSessionClusterRequest.js.map +1 -1
- package/dist/models/CreateSqlStatementRequest.d.ts +12 -5
- package/dist/models/CreateSqlStatementRequest.js.map +1 -1
- package/dist/models/CreateSqlStatementResponseBody.d.ts +1 -1
- package/dist/models/GetAicenterStateResponseBody.d.ts +4 -7
- package/dist/models/GetAicenterStateResponseBody.js.map +1 -1
- package/dist/models/GetDoctorApplicationRequest.d.ts +2 -2
- package/dist/models/GetDoctorApplicationResponseBody.d.ts +2 -5
- package/dist/models/GetDoctorApplicationResponseBody.js.map +1 -1
- package/dist/models/GetJobRunResponseBody.d.ts +77 -12
- package/dist/models/GetJobRunResponseBody.js +35 -1
- package/dist/models/GetJobRunResponseBody.js.map +1 -1
- package/dist/models/GetKyuubiServiceResponseBody.d.ts +14 -14
- package/dist/models/GetKyuubiTokenResponseBody.d.ts +10 -10
- package/dist/models/GetLivyComputeResponseBody.d.ts +21 -20
- package/dist/models/GetLivyComputeResponseBody.js.map +1 -1
- package/dist/models/GetLivyComputeTokenRequest.d.ts +1 -1
- package/dist/models/GetLivyComputeTokenResponseBody.d.ts +13 -15
- package/dist/models/GetLivyComputeTokenResponseBody.js.map +1 -1
- package/dist/models/GetRayClusterResponseBody.d.ts +31 -31
- package/dist/models/GetSessionClusterResponseBody.d.ts +37 -38
- package/dist/models/GetSessionClusterResponseBody.js.map +1 -1
- package/dist/models/GetWorkspaceRequest.d.ts +21 -0
- package/dist/models/GetWorkspaceRequest.js +58 -0
- package/dist/models/GetWorkspaceRequest.js.map +1 -0
- package/dist/models/GetWorkspaceResponse.d.ts +19 -0
- package/dist/models/GetWorkspaceResponse.js +69 -0
- package/dist/models/GetWorkspaceResponse.js.map +1 -0
- package/dist/models/GetWorkspaceResponseBody.d.ts +519 -0
- package/dist/models/GetWorkspaceResponseBody.js +278 -0
- package/dist/models/GetWorkspaceResponseBody.js.map +1 -0
- package/dist/models/ListExecutorLogsRequest.d.ts +4 -4
- package/dist/models/ListExecutorLogsResponseBody.d.ts +8 -8
- package/dist/models/ListJobRunsRequest.d.ts +19 -15
- package/dist/models/ListJobRunsRequest.js.map +1 -1
- package/dist/models/ListJobRunsResponseBody.d.ts +32 -22
- package/dist/models/ListJobRunsResponseBody.js.map +1 -1
- package/dist/models/ListJobRunsShrinkRequest.d.ts +15 -11
- package/dist/models/ListJobRunsShrinkRequest.js.map +1 -1
- package/dist/models/ListKyuubiServicesRequest.d.ts +1 -1
- package/dist/models/ListKyuubiServicesResponseBody.d.ts +15 -15
- package/dist/models/ListKyuubiSparkApplicationsRequest.d.ts +36 -7
- package/dist/models/ListKyuubiSparkApplicationsRequest.js.map +1 -1
- package/dist/models/ListKyuubiSparkApplicationsResponseBody.d.ts +29 -15
- package/dist/models/ListKyuubiSparkApplicationsResponseBody.js.map +1 -1
- package/dist/models/ListKyuubiSparkApplicationsShrinkRequest.d.ts +28 -5
- package/dist/models/ListKyuubiSparkApplicationsShrinkRequest.js.map +1 -1
- package/dist/models/ListKyuubiTokenResponseBody.d.ts +8 -8
- package/dist/models/ListLivyComputeRequest.d.ts +1 -1
- package/dist/models/ListLivyComputeResponseBody.d.ts +8 -8
- package/dist/models/ListLivyComputeSessionsRequest.d.ts +1 -1
- package/dist/models/ListLivyComputeSessionsResponseBody.d.ts +12 -17
- package/dist/models/ListLivyComputeSessionsResponseBody.js.map +1 -1
- package/dist/models/ListLivyComputeTokenResponseBody.d.ts +7 -7
- package/dist/models/ListMembersRequest.d.ts +2 -2
- package/dist/models/ListMembersResponseBody.d.ts +15 -13
- package/dist/models/ListMembersResponseBody.js.map +1 -1
- package/dist/models/ListQueueTopJobsRequest.d.ts +29 -0
- package/dist/models/ListQueueTopJobsRequest.js +60 -0
- package/dist/models/ListQueueTopJobsRequest.js.map +1 -0
- package/dist/models/ListQueueTopJobsResponse.d.ts +19 -0
- package/dist/models/ListQueueTopJobsResponse.js +69 -0
- package/dist/models/ListQueueTopJobsResponse.js.map +1 -0
- package/dist/models/ListQueueTopJobsResponseBody.d.ts +127 -0
- package/dist/models/ListQueueTopJobsResponseBody.js +120 -0
- package/dist/models/ListQueueTopJobsResponseBody.js.map +1 -0
- package/dist/models/ListRayClusterRequest.d.ts +1 -1
- package/dist/models/ListRayClusterResponseBody.d.ts +29 -28
- package/dist/models/ListRayClusterResponseBody.js.map +1 -1
- package/dist/models/ListRayJobRequest.d.ts +7 -7
- package/dist/models/ListRayJobResponseBody.d.ts +23 -23
- package/dist/models/ListRayJobShrinkRequest.d.ts +5 -5
- package/dist/models/ListSessionClustersRequest.d.ts +3 -3
- package/dist/models/ListSessionClustersResponseBody.d.ts +37 -31
- package/dist/models/ListSessionClustersResponseBody.js.map +1 -1
- package/dist/models/ListWorkspaceQueuesResponseBody.d.ts +29 -15
- package/dist/models/ListWorkspaceQueuesResponseBody.js.map +1 -1
- package/dist/models/ListWorkspacesRequest.d.ts +23 -5
- package/dist/models/ListWorkspacesRequest.js.map +1 -1
- package/dist/models/ListWorkspacesResponseBody.d.ts +117 -27
- package/dist/models/ListWorkspacesResponseBody.js.map +1 -1
- package/dist/models/ListWorkspacesShrinkRequest.d.ts +16 -4
- package/dist/models/ListWorkspacesShrinkRequest.js.map +1 -1
- package/dist/models/SubmitRayJobRequest.d.ts +21 -21
- package/dist/models/SubmitRayJobResponseBody.d.ts +1 -1
- package/dist/models/Task.d.ts +0 -183
- package/dist/models/Task.js.map +1 -1
- package/dist/models/UpdateProcessDefinitionWithScheduleRequest.d.ts +33 -33
- package/dist/models/UpdateProcessDefinitionWithScheduleResponseBody.d.ts +15 -15
- package/dist/models/UpdateProcessDefinitionWithScheduleShrinkRequest.d.ts +8 -8
- package/dist/models/UpdateRayClusterRequest.d.ts +10 -10
- package/dist/models/UpdateWorkspaceRequest.d.ts +45 -9
- package/dist/models/UpdateWorkspaceRequest.js.map +1 -1
- package/dist/models/UpdateWorkspaceResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +14 -0
- package/dist/models/model.js +40 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +142 -48
- package/src/models/CreateProcessDefinitionWithScheduleRequest.ts +37 -37
- package/src/models/CreateProcessDefinitionWithScheduleResponseBody.ts +6 -6
- package/src/models/CreateProcessDefinitionWithScheduleShrinkRequest.ts +10 -10
- package/src/models/CreateSessionClusterRequest.ts +35 -29
- package/src/models/CreateSqlStatementRequest.ts +12 -5
- package/src/models/CreateSqlStatementResponseBody.ts +1 -1
- package/src/models/GetAicenterStateResponseBody.ts +4 -7
- package/src/models/GetDoctorApplicationRequest.ts +2 -2
- package/src/models/GetDoctorApplicationResponseBody.ts +2 -5
- package/src/models/GetJobRunResponseBody.ts +102 -12
- package/src/models/GetKyuubiServiceResponseBody.ts +14 -14
- package/src/models/GetKyuubiTokenResponseBody.ts +10 -10
- package/src/models/GetLivyComputeResponseBody.ts +21 -20
- package/src/models/GetLivyComputeTokenRequest.ts +1 -1
- package/src/models/GetLivyComputeTokenResponseBody.ts +13 -15
- package/src/models/GetRayClusterResponseBody.ts +31 -31
- package/src/models/GetSessionClusterResponseBody.ts +37 -38
- package/src/models/GetWorkspaceRequest.ts +34 -0
- package/src/models/GetWorkspaceResponse.ts +40 -0
- package/src/models/GetWorkspaceResponseBody.ts +707 -0
- package/src/models/ListExecutorLogsRequest.ts +4 -4
- package/src/models/ListExecutorLogsResponseBody.ts +8 -8
- package/src/models/ListJobRunsRequest.ts +19 -15
- package/src/models/ListJobRunsResponseBody.ts +32 -22
- package/src/models/ListJobRunsShrinkRequest.ts +15 -11
- package/src/models/ListKyuubiServicesRequest.ts +1 -1
- package/src/models/ListKyuubiServicesResponseBody.ts +15 -15
- package/src/models/ListKyuubiSparkApplicationsRequest.ts +36 -7
- package/src/models/ListKyuubiSparkApplicationsResponseBody.ts +29 -15
- package/src/models/ListKyuubiSparkApplicationsShrinkRequest.ts +28 -5
- package/src/models/ListKyuubiTokenResponseBody.ts +8 -8
- package/src/models/ListLivyComputeRequest.ts +1 -1
- package/src/models/ListLivyComputeResponseBody.ts +8 -8
- package/src/models/ListLivyComputeSessionsRequest.ts +1 -1
- package/src/models/ListLivyComputeSessionsResponseBody.ts +12 -17
- package/src/models/ListLivyComputeTokenResponseBody.ts +7 -7
- package/src/models/ListMembersRequest.ts +2 -2
- package/src/models/ListMembersResponseBody.ts +15 -13
- package/src/models/ListQueueTopJobsRequest.ts +44 -0
- package/src/models/ListQueueTopJobsResponse.ts +40 -0
- package/src/models/ListQueueTopJobsResponseBody.ts +184 -0
- package/src/models/ListRayClusterRequest.ts +1 -1
- package/src/models/ListRayClusterResponseBody.ts +29 -28
- package/src/models/ListRayJobRequest.ts +7 -7
- package/src/models/ListRayJobResponseBody.ts +23 -23
- package/src/models/ListRayJobShrinkRequest.ts +5 -5
- package/src/models/ListSessionClustersRequest.ts +3 -3
- package/src/models/ListSessionClustersResponseBody.ts +37 -31
- package/src/models/ListWorkspaceQueuesResponseBody.ts +29 -15
- package/src/models/ListWorkspacesRequest.ts +23 -5
- package/src/models/ListWorkspacesResponseBody.ts +117 -27
- package/src/models/ListWorkspacesShrinkRequest.ts +16 -4
- package/src/models/SubmitRayJobRequest.ts +21 -21
- package/src/models/SubmitRayJobResponseBody.ts +1 -1
- package/src/models/Task.ts +0 -183
- package/src/models/UpdateProcessDefinitionWithScheduleRequest.ts +33 -33
- package/src/models/UpdateProcessDefinitionWithScheduleResponseBody.ts +15 -15
- package/src/models/UpdateProcessDefinitionWithScheduleShrinkRequest.ts +8 -8
- package/src/models/UpdateRayClusterRequest.ts +10 -10
- package/src/models/UpdateWorkspaceRequest.ts +45 -9
- package/src/models/UpdateWorkspaceResponseBody.ts +1 -1
- package/src/models/model.ts +14 -0
|
@@ -13,13 +13,10 @@ export class GetAICenterStateResponseBody extends $dara.Model {
|
|
|
13
13
|
requestId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* - inactive
|
|
21
|
-
*
|
|
22
|
-
* - activating
|
|
16
|
+
* The status of AI Hub. Valid values:
|
|
17
|
+
* * active
|
|
18
|
+
* * inactive
|
|
19
|
+
* * activating
|
|
23
20
|
*
|
|
24
21
|
* @example
|
|
25
22
|
* Running
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetDoctorApplicationRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The language of diagnostic information.
|
|
8
|
+
* The language of the diagnostic information.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* zh-CN
|
|
@@ -13,7 +13,7 @@ export class GetDoctorApplicationRequest extends $dara.Model {
|
|
|
13
13
|
locale?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The query
|
|
16
|
+
* The query date in the YYYY-MM-DD format.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 2024-01-01
|
|
@@ -5,10 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetDoctorApplicationResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* Normal.
|
|
8
|
+
* The list of diagnostic information.
|
|
12
9
|
*/
|
|
13
10
|
suggestions?: string[];
|
|
14
11
|
static names(): { [key: string]: string } {
|
|
@@ -38,7 +35,7 @@ export class GetDoctorApplicationResponseBodyData extends $dara.Model {
|
|
|
38
35
|
export class GetDoctorApplicationResponseBody extends $dara.Model {
|
|
39
36
|
/**
|
|
40
37
|
* @remarks
|
|
41
|
-
* The
|
|
38
|
+
* The returned result.
|
|
42
39
|
*/
|
|
43
40
|
data?: GetDoctorApplicationResponseBodyData;
|
|
44
41
|
static names(): { [key: string]: string } {
|
|
@@ -9,7 +9,7 @@ import { Configuration } from "./Configuration";
|
|
|
9
9
|
export class GetJobRunResponseBodyJobRunConfigurationOverrides extends $dara.Model {
|
|
10
10
|
/**
|
|
11
11
|
* @remarks
|
|
12
|
-
* The list
|
|
12
|
+
* The configuration list.
|
|
13
13
|
*/
|
|
14
14
|
configurations?: Configuration[];
|
|
15
15
|
static names(): { [key: string]: string } {
|
|
@@ -76,10 +76,90 @@ export class GetJobRunResponseBodyJobRunStateChangeReason extends $dara.Model {
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
export class GetJobRunResponseBodyJobRunTokenDetails extends $dara.Model {
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* Specifies whether thinking mode is enabled.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* true
|
|
86
|
+
*/
|
|
87
|
+
enableThinking?: string;
|
|
88
|
+
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* The input modality.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* -
|
|
94
|
+
*/
|
|
95
|
+
inputModality?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The model name.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* qwen-plus
|
|
102
|
+
*/
|
|
103
|
+
modelName?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The input token range.
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* 0<Token≤256K
|
|
110
|
+
*/
|
|
111
|
+
tokenRange?: string;
|
|
112
|
+
/**
|
|
113
|
+
* @remarks
|
|
114
|
+
* The token source. Valid values: input and output.
|
|
115
|
+
*
|
|
116
|
+
* @example
|
|
117
|
+
* input
|
|
118
|
+
*/
|
|
119
|
+
tokenSource?: string;
|
|
120
|
+
/**
|
|
121
|
+
* @remarks
|
|
122
|
+
* The number of tokens consumed.
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* 10000
|
|
126
|
+
*/
|
|
127
|
+
tokenUsed?: number;
|
|
128
|
+
static names(): { [key: string]: string } {
|
|
129
|
+
return {
|
|
130
|
+
enableThinking: 'enableThinking',
|
|
131
|
+
inputModality: 'inputModality',
|
|
132
|
+
modelName: 'modelName',
|
|
133
|
+
tokenRange: 'tokenRange',
|
|
134
|
+
tokenSource: 'tokenSource',
|
|
135
|
+
tokenUsed: 'tokenUsed',
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
static types(): { [key: string]: any } {
|
|
140
|
+
return {
|
|
141
|
+
enableThinking: 'string',
|
|
142
|
+
inputModality: 'string',
|
|
143
|
+
modelName: 'string',
|
|
144
|
+
tokenRange: 'string',
|
|
145
|
+
tokenSource: 'string',
|
|
146
|
+
tokenUsed: 'number',
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
validate() {
|
|
151
|
+
super.validate();
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
constructor(map?: { [key: string]: any }) {
|
|
155
|
+
super(map);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
79
159
|
export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
80
160
|
/**
|
|
81
161
|
* @remarks
|
|
82
|
-
* The code type
|
|
162
|
+
* The job code type. Valid values:
|
|
83
163
|
*
|
|
84
164
|
* - SQL
|
|
85
165
|
*
|
|
@@ -106,7 +186,7 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
106
186
|
displayReleaseVersion?: string;
|
|
107
187
|
/**
|
|
108
188
|
* @remarks
|
|
109
|
-
* The time
|
|
189
|
+
* The job end time. The value is a Unix timestamp in milliseconds.
|
|
110
190
|
*
|
|
111
191
|
* @example
|
|
112
192
|
* 1684122914000
|
|
@@ -122,7 +202,7 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
122
202
|
environmentId?: string;
|
|
123
203
|
/**
|
|
124
204
|
* @remarks
|
|
125
|
-
* The execution timeout period
|
|
205
|
+
* The execution timeout period.
|
|
126
206
|
*
|
|
127
207
|
* @example
|
|
128
208
|
* 3600
|
|
@@ -130,7 +210,7 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
130
210
|
executionTimeoutSeconds?: number;
|
|
131
211
|
/**
|
|
132
212
|
* @remarks
|
|
133
|
-
*
|
|
213
|
+
* Specifies whether the Fusion engine acceleration is enabled.
|
|
134
214
|
*
|
|
135
215
|
* @example
|
|
136
216
|
* false
|
|
@@ -156,7 +236,7 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
156
236
|
log?: RunLog;
|
|
157
237
|
/**
|
|
158
238
|
* @remarks
|
|
159
|
-
* The job
|
|
239
|
+
* The job name.
|
|
160
240
|
*
|
|
161
241
|
* @example
|
|
162
242
|
* jobName
|
|
@@ -164,7 +244,7 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
164
244
|
name?: string;
|
|
165
245
|
/**
|
|
166
246
|
* @remarks
|
|
167
|
-
* The download URL of the NOTEBOOK file. This parameter is returned only
|
|
247
|
+
* The download URL of the NOTEBOOK file. This parameter is returned only if the job type is NOTEBOOK.
|
|
168
248
|
*
|
|
169
249
|
* @example
|
|
170
250
|
* http://workflow-ide-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/spark-notebook-output/w-xxxxxxxxx/xxxxxxx
|
|
@@ -180,7 +260,7 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
180
260
|
priority?: string;
|
|
181
261
|
/**
|
|
182
262
|
* @remarks
|
|
183
|
-
* The Spark DPI engine version used to run the
|
|
263
|
+
* The Spark DPI engine version used to run the node.
|
|
184
264
|
*
|
|
185
265
|
* @example
|
|
186
266
|
* esr-3.3.1
|
|
@@ -204,7 +284,7 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
204
284
|
resourceQueueId?: string;
|
|
205
285
|
/**
|
|
206
286
|
* @remarks
|
|
207
|
-
* The job
|
|
287
|
+
* The job status.
|
|
208
288
|
*
|
|
209
289
|
* @example
|
|
210
290
|
* Running
|
|
@@ -212,12 +292,12 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
212
292
|
state?: string;
|
|
213
293
|
/**
|
|
214
294
|
* @remarks
|
|
215
|
-
* The reason for the
|
|
295
|
+
* The reason for the status change.
|
|
216
296
|
*/
|
|
217
297
|
stateChangeReason?: GetJobRunResponseBodyJobRunStateChangeReason;
|
|
218
298
|
/**
|
|
219
299
|
* @remarks
|
|
220
|
-
* The time
|
|
300
|
+
* The job submission time. The value is a Unix timestamp in milliseconds.
|
|
221
301
|
*
|
|
222
302
|
* @example
|
|
223
303
|
* 1684119314000
|
|
@@ -225,9 +305,14 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
225
305
|
submitTime?: number;
|
|
226
306
|
/**
|
|
227
307
|
* @remarks
|
|
228
|
-
* The list
|
|
308
|
+
* The tag list.
|
|
229
309
|
*/
|
|
230
310
|
tags?: Tag[];
|
|
311
|
+
/**
|
|
312
|
+
* @remarks
|
|
313
|
+
* The details of token consumption.
|
|
314
|
+
*/
|
|
315
|
+
tokenDetails?: GetJobRunResponseBodyJobRunTokenDetails[];
|
|
231
316
|
/**
|
|
232
317
|
* @remarks
|
|
233
318
|
* The total number of tokens consumed.
|
|
@@ -274,6 +359,7 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
274
359
|
stateChangeReason: 'stateChangeReason',
|
|
275
360
|
submitTime: 'submitTime',
|
|
276
361
|
tags: 'tags',
|
|
362
|
+
tokenDetails: 'tokenDetails',
|
|
277
363
|
totalTokens: 'totalTokens',
|
|
278
364
|
webUI: 'webUI',
|
|
279
365
|
workspaceId: 'workspaceId',
|
|
@@ -302,6 +388,7 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
302
388
|
stateChangeReason: GetJobRunResponseBodyJobRunStateChangeReason,
|
|
303
389
|
submitTime: 'number',
|
|
304
390
|
tags: { 'type': 'array', 'itemType': Tag },
|
|
391
|
+
tokenDetails: { 'type': 'array', 'itemType': GetJobRunResponseBodyJobRunTokenDetails },
|
|
305
392
|
totalTokens: 'number',
|
|
306
393
|
webUI: 'string',
|
|
307
394
|
workspaceId: 'string',
|
|
@@ -324,6 +411,9 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
324
411
|
if(Array.isArray(this.tags)) {
|
|
325
412
|
$dara.Model.validateArray(this.tags);
|
|
326
413
|
}
|
|
414
|
+
if(Array.isArray(this.tokenDetails)) {
|
|
415
|
+
$dara.Model.validateArray(this.tokenDetails);
|
|
416
|
+
}
|
|
327
417
|
super.validate();
|
|
328
418
|
}
|
|
329
419
|
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The Kyuubi service specifications.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 2c8g
|
|
@@ -13,7 +13,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
13
13
|
computeInstance?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The creation time. The value is a UNIX timestamp in milliseconds.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 1749456094000
|
|
@@ -29,7 +29,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
29
29
|
creator?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The internal
|
|
32
|
+
* The internal network domain name.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* kyuubi-cn-beijing-internal.spark.emr.aliyuncs.com
|
|
@@ -37,7 +37,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
37
37
|
innerEndpoint?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The
|
|
40
|
+
* The Kyuubi service configuration.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* []
|
|
@@ -45,7 +45,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
45
45
|
kyuubiConfigs?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The Kyuubi service engine version.
|
|
48
|
+
* The Kyuubi service DPI engine version.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 1.9.2-0.0.2
|
|
@@ -53,7 +53,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
53
53
|
kyuubiReleaseVersion?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
*
|
|
56
|
+
* Kyuubi Service ID。
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* kb-4e209b04588***95f04ad3538ae4
|
|
@@ -61,7 +61,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
61
61
|
kyuubiServiceId?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The
|
|
64
|
+
* The Kyuubi service name.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* dev_serverless_spark
|
|
@@ -77,7 +77,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
77
77
|
publicEndpoint?: string;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
*
|
|
80
|
+
* Specifies whether public network access is enabled.
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
83
|
* true
|
|
@@ -85,7 +85,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
85
85
|
publicEndpointEnabled?: boolean;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The name
|
|
88
|
+
* The queue name.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* dev_queue
|
|
@@ -93,7 +93,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
93
93
|
queue?: string;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
* The Spark engine version.
|
|
96
|
+
* The Spark DPI engine version.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* esr-4.6.0 (Spark 3.5.2, Scala 2.12)
|
|
@@ -101,7 +101,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
101
101
|
releaseVersion?: string;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The number of high
|
|
104
|
+
* The number of replicas enabled for high availability.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
107
|
* 0
|
|
@@ -117,7 +117,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
117
117
|
sparkConfigs?: string;
|
|
118
118
|
/**
|
|
119
119
|
* @remarks
|
|
120
|
-
* The
|
|
120
|
+
* The start time. The value is a UNIX timestamp in milliseconds.
|
|
121
121
|
*
|
|
122
122
|
* @example
|
|
123
123
|
* 1749456094000
|
|
@@ -125,7 +125,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
125
125
|
startTime?: string;
|
|
126
126
|
/**
|
|
127
127
|
* @remarks
|
|
128
|
-
* The
|
|
128
|
+
* The Kyuubi service status.
|
|
129
129
|
*
|
|
130
130
|
* @example
|
|
131
131
|
* RUNNING
|
|
@@ -185,7 +185,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
185
185
|
export class GetKyuubiServiceResponseBody extends $dara.Model {
|
|
186
186
|
/**
|
|
187
187
|
* @remarks
|
|
188
|
-
* The returned
|
|
188
|
+
* The returned result.
|
|
189
189
|
*/
|
|
190
190
|
data?: GetKyuubiServiceResponseBodyData;
|
|
191
191
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetKyuubiTokenResponseBodyDataAutoExpireConfiguration extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* Specifies whether auto-expiration is enabled.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* true
|
|
@@ -13,7 +13,7 @@ export class GetKyuubiTokenResponseBodyDataAutoExpireConfiguration extends $dara
|
|
|
13
13
|
enable?: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The expiration period
|
|
16
|
+
* The expiration period in days.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 365
|
|
@@ -45,12 +45,12 @@ export class GetKyuubiTokenResponseBodyDataAutoExpireConfiguration extends $dara
|
|
|
45
45
|
export class GetKyuubiTokenResponseBodyData extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The
|
|
48
|
+
* The auto-expiration configuration struct.
|
|
49
49
|
*/
|
|
50
50
|
autoExpireConfiguration?: GetKyuubiTokenResponseBodyDataAutoExpireConfiguration;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* The creation time.
|
|
53
|
+
* The creation time. The value is a UNIX timestamp in milliseconds.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* 1749456094000
|
|
@@ -58,7 +58,7 @@ export class GetKyuubiTokenResponseBodyData extends $dara.Model {
|
|
|
58
58
|
createTime?: number;
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
* The creator
|
|
61
|
+
* The name of the creator.
|
|
62
62
|
*
|
|
63
63
|
* @example
|
|
64
64
|
* admin
|
|
@@ -66,7 +66,7 @@ export class GetKyuubiTokenResponseBodyData extends $dara.Model {
|
|
|
66
66
|
createdBy?: string;
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
* The expiration time.
|
|
69
|
+
* The expiration time. The value is a UNIX timestamp in milliseconds.
|
|
70
70
|
*
|
|
71
71
|
* @example
|
|
72
72
|
* 1753932319390
|
|
@@ -74,7 +74,7 @@ export class GetKyuubiTokenResponseBodyData extends $dara.Model {
|
|
|
74
74
|
expireTime?: number;
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
* The last used time.
|
|
77
|
+
* The last used time. The value is a UNIX timestamp in milliseconds.
|
|
78
78
|
*
|
|
79
79
|
* @example
|
|
80
80
|
* 1749456098000
|
|
@@ -82,7 +82,7 @@ export class GetKyuubiTokenResponseBodyData extends $dara.Model {
|
|
|
82
82
|
lastUsedTime?: number;
|
|
83
83
|
/**
|
|
84
84
|
* @remarks
|
|
85
|
-
* The
|
|
85
|
+
* The list of authorized user ARNs.
|
|
86
86
|
*/
|
|
87
87
|
memberArns?: string[];
|
|
88
88
|
/**
|
|
@@ -104,7 +104,7 @@ export class GetKyuubiTokenResponseBodyData extends $dara.Model {
|
|
|
104
104
|
token?: string;
|
|
105
105
|
/**
|
|
106
106
|
* @remarks
|
|
107
|
-
*
|
|
107
|
+
* Token ID。
|
|
108
108
|
*
|
|
109
109
|
* @example
|
|
110
110
|
* tk-zpi0*****hdv4y
|
|
@@ -161,7 +161,7 @@ export class GetKyuubiTokenResponseBodyData extends $dara.Model {
|
|
|
161
161
|
export class GetKyuubiTokenResponseBody extends $dara.Model {
|
|
162
162
|
/**
|
|
163
163
|
* @remarks
|
|
164
|
-
* The
|
|
164
|
+
* The returned data.
|
|
165
165
|
*/
|
|
166
166
|
data?: GetKyuubiTokenResponseBodyData;
|
|
167
167
|
/**
|
|
@@ -5,10 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetLivyComputeResponseBodyDataAutoStopConfiguration extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
9
|
-
*
|
|
8
|
+
* Specifies whether to automatically start after creation. Valid values:
|
|
10
9
|
* - true: Yes.
|
|
11
|
-
*
|
|
12
10
|
* - false: No.
|
|
13
11
|
*
|
|
14
12
|
* @example
|
|
@@ -17,7 +15,7 @@ export class GetLivyComputeResponseBodyDataAutoStopConfiguration extends $dara.M
|
|
|
17
15
|
enable?: boolean;
|
|
18
16
|
/**
|
|
19
17
|
* @remarks
|
|
20
|
-
* The number of minutes after which the Livy Gateway
|
|
18
|
+
* The number of idle minutes after which the Livy Gateway automatically stops.
|
|
21
19
|
*
|
|
22
20
|
* @example
|
|
23
21
|
* 300
|
|
@@ -70,7 +68,10 @@ export class GetLivyComputeResponseBodyData extends $dara.Model {
|
|
|
70
68
|
computeId?: string;
|
|
71
69
|
/**
|
|
72
70
|
* @remarks
|
|
73
|
-
* The number of CPU cores for the Livy
|
|
71
|
+
* The number of CPU cores for the Livy Server. Valid values:
|
|
72
|
+
* - 1
|
|
73
|
+
* - 2
|
|
74
|
+
* - 4
|
|
74
75
|
*
|
|
75
76
|
* @example
|
|
76
77
|
* 1
|
|
@@ -86,7 +87,7 @@ export class GetLivyComputeResponseBodyData extends $dara.Model {
|
|
|
86
87
|
createdBy?: string;
|
|
87
88
|
/**
|
|
88
89
|
* @remarks
|
|
89
|
-
* The
|
|
90
|
+
* The Spark DPI engine version number.
|
|
90
91
|
*
|
|
91
92
|
* @example
|
|
92
93
|
* esr-4.3.0 (Spark 3.5.2, Scala 2.12)
|
|
@@ -94,7 +95,7 @@ export class GetLivyComputeResponseBodyData extends $dara.Model {
|
|
|
94
95
|
displayReleaseVersion?: string;
|
|
95
96
|
/**
|
|
96
97
|
* @remarks
|
|
97
|
-
* The status of the public
|
|
98
|
+
* The status of the public network address switch.
|
|
98
99
|
*
|
|
99
100
|
* @example
|
|
100
101
|
* true
|
|
@@ -102,7 +103,7 @@ export class GetLivyComputeResponseBodyData extends $dara.Model {
|
|
|
102
103
|
enablePublic?: boolean;
|
|
103
104
|
/**
|
|
104
105
|
* @remarks
|
|
105
|
-
* The public
|
|
106
|
+
* The public network connection address.
|
|
106
107
|
*
|
|
107
108
|
* @example
|
|
108
109
|
* emr-spark-livy-gateway-cn-hangzhou.data.aliyun.com/api/v1/workspace/w-xxxxxxxxx/livycompute/lc-xxxxxxxxxxx
|
|
@@ -110,7 +111,7 @@ export class GetLivyComputeResponseBodyData extends $dara.Model {
|
|
|
110
111
|
endpoint?: string;
|
|
111
112
|
/**
|
|
112
113
|
* @remarks
|
|
113
|
-
* The internal
|
|
114
|
+
* The internal network connection address.
|
|
114
115
|
*
|
|
115
116
|
* @example
|
|
116
117
|
* emr-spark-livy-gateway-cn-hangzhou-internal.aliyun.com/api/v1/workspace/w-xxxxxxxxx/livycompute/lc-xxxxxxxxxxx
|
|
@@ -118,7 +119,7 @@ export class GetLivyComputeResponseBodyData extends $dara.Model {
|
|
|
118
119
|
endpointInner?: string;
|
|
119
120
|
/**
|
|
120
121
|
* @remarks
|
|
121
|
-
* The
|
|
122
|
+
* The runtime environment ID.
|
|
122
123
|
*
|
|
123
124
|
* @example
|
|
124
125
|
* ev-cq31c7tlhtgm9nrrlj4g
|
|
@@ -126,7 +127,7 @@ export class GetLivyComputeResponseBodyData extends $dara.Model {
|
|
|
126
127
|
environmentId?: string;
|
|
127
128
|
/**
|
|
128
129
|
* @remarks
|
|
129
|
-
*
|
|
130
|
+
* Specifies whether the fusion feature is enabled.
|
|
130
131
|
*
|
|
131
132
|
* @example
|
|
132
133
|
* false
|
|
@@ -145,11 +146,8 @@ export class GetLivyComputeResponseBodyData extends $dara.Model {
|
|
|
145
146
|
* The Livy Gateway configuration in JSON format. The following files are supported:
|
|
146
147
|
*
|
|
147
148
|
* - sparkDefaultsConf
|
|
148
|
-
*
|
|
149
149
|
* - sparkBlackListConf
|
|
150
|
-
*
|
|
151
150
|
* - livyConf
|
|
152
|
-
*
|
|
153
151
|
* - livyClientConf
|
|
154
152
|
*
|
|
155
153
|
* @example
|
|
@@ -171,7 +169,10 @@ export class GetLivyComputeResponseBodyData extends $dara.Model {
|
|
|
171
169
|
livyVersion?: string;
|
|
172
170
|
/**
|
|
173
171
|
* @remarks
|
|
174
|
-
* The memory size of the Livy
|
|
172
|
+
* The memory size of the Livy Server. Valid values:
|
|
173
|
+
* - 4Gi
|
|
174
|
+
* - 8Gi
|
|
175
|
+
* - 16Gi
|
|
175
176
|
*
|
|
176
177
|
* @example
|
|
177
178
|
* 4Gi
|
|
@@ -187,7 +188,7 @@ export class GetLivyComputeResponseBodyData extends $dara.Model {
|
|
|
187
188
|
name?: string;
|
|
188
189
|
/**
|
|
189
190
|
* @remarks
|
|
190
|
-
* The
|
|
191
|
+
* The network connectivity name.
|
|
191
192
|
*
|
|
192
193
|
* @example
|
|
193
194
|
* test
|
|
@@ -211,7 +212,7 @@ export class GetLivyComputeResponseBodyData extends $dara.Model {
|
|
|
211
212
|
ramUserId?: string;
|
|
212
213
|
/**
|
|
213
214
|
* @remarks
|
|
214
|
-
* The
|
|
215
|
+
* The Spark DPI engine version number. This field is deprecated. Use displayReleaseVersion instead.
|
|
215
216
|
*
|
|
216
217
|
* @example
|
|
217
218
|
* esr-4.3.0 (Spark 3.5.2, Scala 2.12, Java Runtime)
|
|
@@ -219,7 +220,7 @@ export class GetLivyComputeResponseBodyData extends $dara.Model {
|
|
|
219
220
|
releaseVersion?: string;
|
|
220
221
|
/**
|
|
221
222
|
* @remarks
|
|
222
|
-
* The start time.
|
|
223
|
+
* The start time. The value is a UNIX timestamp in milliseconds.
|
|
223
224
|
*
|
|
224
225
|
* @example
|
|
225
226
|
* 1749456094000
|
|
@@ -302,7 +303,7 @@ export class GetLivyComputeResponseBodyData extends $dara.Model {
|
|
|
302
303
|
export class GetLivyComputeResponseBody extends $dara.Model {
|
|
303
304
|
/**
|
|
304
305
|
* @remarks
|
|
305
|
-
* The
|
|
306
|
+
* The return code of the request. The value 1000000 indicates that the request succeeded. Other values indicate that the request failed. For details about the error, see the message field.
|
|
306
307
|
*
|
|
307
308
|
* @example
|
|
308
309
|
* 1000000
|
|
@@ -310,7 +311,7 @@ export class GetLivyComputeResponseBody extends $dara.Model {
|
|
|
310
311
|
code?: string;
|
|
311
312
|
/**
|
|
312
313
|
* @remarks
|
|
313
|
-
* The returned
|
|
314
|
+
* The returned result.
|
|
314
315
|
*/
|
|
315
316
|
data?: GetLivyComputeResponseBodyData;
|
|
316
317
|
/**
|