@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
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ListKyuubiSparkApplicationsRequestEndTime extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The end point of the task end time range. The value is a UNIX timestamp in seconds.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 1774209636
|
|
9
12
|
*/
|
|
10
13
|
endTime?: number;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The start point of the task end time range. The value is a UNIX timestamp in seconds.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* 1774209636
|
|
14
20
|
*/
|
|
@@ -39,7 +45,7 @@ export class ListKyuubiSparkApplicationsRequestEndTime extends $dara.Model {
|
|
|
39
45
|
export class ListKyuubiSparkApplicationsRequestStartTime extends $dara.Model {
|
|
40
46
|
/**
|
|
41
47
|
* @remarks
|
|
42
|
-
* The end of the time range.
|
|
48
|
+
* The end point of the task start time range. The value is a UNIX timestamp in milliseconds.
|
|
43
49
|
*
|
|
44
50
|
* @example
|
|
45
51
|
* 1710432000000
|
|
@@ -47,7 +53,7 @@ export class ListKyuubiSparkApplicationsRequestStartTime extends $dara.Model {
|
|
|
47
53
|
endTime?: number;
|
|
48
54
|
/**
|
|
49
55
|
* @remarks
|
|
50
|
-
* The start of the time range.
|
|
56
|
+
* The start point of the task start time range. The value is a UNIX timestamp in milliseconds.
|
|
51
57
|
*
|
|
52
58
|
* @example
|
|
53
59
|
* 1709740800000
|
|
@@ -79,7 +85,7 @@ export class ListKyuubiSparkApplicationsRequestStartTime extends $dara.Model {
|
|
|
79
85
|
export class ListKyuubiSparkApplicationsRequest extends $dara.Model {
|
|
80
86
|
/**
|
|
81
87
|
* @remarks
|
|
82
|
-
* The ID of the Spark application submitted by Kyuubi, used for
|
|
88
|
+
* The ID of the Spark application submitted by Kyuubi, used for search.
|
|
83
89
|
*
|
|
84
90
|
* @example
|
|
85
91
|
* spark-339f844005b6404c95f9f7c7a13b****
|
|
@@ -87,56 +93,79 @@ export class ListKyuubiSparkApplicationsRequest extends $dara.Model {
|
|
|
87
93
|
applicationId?: string;
|
|
88
94
|
/**
|
|
89
95
|
* @remarks
|
|
90
|
-
* The name of the Spark application submitted by Kyuubi, used for
|
|
96
|
+
* The name of the Spark application submitted by Kyuubi, used for search.
|
|
91
97
|
*
|
|
92
98
|
* @example
|
|
93
99
|
* kyuubi-connection-spark-sql-anonymous-fa9a5e73-b4b1-474a-b****
|
|
94
100
|
*/
|
|
95
101
|
applicationName?: string;
|
|
102
|
+
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* The end time range of the task.
|
|
105
|
+
*/
|
|
96
106
|
endTime?: ListKyuubiSparkApplicationsRequestEndTime;
|
|
97
107
|
/**
|
|
108
|
+
* @remarks
|
|
109
|
+
* The list of statuses of the latest SQL statement used for filtering.
|
|
110
|
+
*
|
|
98
111
|
* @example
|
|
99
112
|
* ["SUCCESS"]
|
|
100
113
|
*/
|
|
101
114
|
latestSqlStatementStatuses?: string;
|
|
102
115
|
/**
|
|
103
116
|
* @remarks
|
|
104
|
-
* The maximum number of records to
|
|
117
|
+
* The maximum number of records to retrieve at a time.
|
|
105
118
|
*
|
|
106
119
|
* @example
|
|
107
120
|
* 20
|
|
108
121
|
*/
|
|
109
122
|
maxResults?: number;
|
|
110
123
|
/**
|
|
124
|
+
* @remarks
|
|
125
|
+
* The minimum execution duration of the application, in milliseconds.
|
|
126
|
+
*
|
|
111
127
|
* @example
|
|
112
128
|
* 60000
|
|
113
129
|
*/
|
|
114
130
|
minDuration?: number;
|
|
115
131
|
/**
|
|
116
132
|
* @remarks
|
|
117
|
-
* The token
|
|
133
|
+
* The token for the next page.
|
|
118
134
|
*
|
|
119
135
|
* @example
|
|
120
136
|
* 1
|
|
121
137
|
*/
|
|
122
138
|
nextToken?: string;
|
|
139
|
+
/**
|
|
140
|
+
* @remarks
|
|
141
|
+
* The list of sort fields.
|
|
142
|
+
*/
|
|
123
143
|
orderBy?: string[];
|
|
124
144
|
/**
|
|
145
|
+
* @remarks
|
|
146
|
+
* The resource queue ID used to filter Spark applications.
|
|
147
|
+
*
|
|
125
148
|
* @example
|
|
126
149
|
* root_queue
|
|
127
150
|
*/
|
|
128
151
|
resourceQueueId?: string;
|
|
129
152
|
/**
|
|
153
|
+
* @remarks
|
|
154
|
+
* The sort order. A value of asc indicates ascending order, and desc indicates descending order.
|
|
155
|
+
*
|
|
130
156
|
* @example
|
|
131
157
|
* asc
|
|
132
158
|
*/
|
|
133
159
|
sort?: string;
|
|
134
160
|
/**
|
|
135
161
|
* @remarks
|
|
136
|
-
* The time range
|
|
162
|
+
* The start time range of the task.
|
|
137
163
|
*/
|
|
138
164
|
startTime?: ListKyuubiSparkApplicationsRequestStartTime;
|
|
139
165
|
/**
|
|
166
|
+
* @remarks
|
|
167
|
+
* The list of Spark application states used for filtering.
|
|
168
|
+
*
|
|
140
169
|
* @example
|
|
141
170
|
* ["ERROR"]
|
|
142
171
|
*/
|
|
@@ -23,7 +23,7 @@ export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.M
|
|
|
23
23
|
applicationName?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The number of CUs consumed during the task
|
|
26
|
+
* The number of compute units (CUs) consumed during the task execution. This value is an estimate. The actual value is subject to the bill.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* 0.238302
|
|
@@ -31,7 +31,7 @@ export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.M
|
|
|
31
31
|
cuHours?: number;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The time
|
|
34
|
+
* The end time of the task. The format is YYYY-MM-DD HH:mm:ss.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* 2025-02-12 20:02:02
|
|
@@ -39,20 +39,23 @@ export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.M
|
|
|
39
39
|
endTime?: string;
|
|
40
40
|
/**
|
|
41
41
|
* @remarks
|
|
42
|
-
* The exit
|
|
42
|
+
* The exit reason of the application.
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
45
|
* Exit Code: 137, Exit Reason: OOMKilled
|
|
46
46
|
*/
|
|
47
47
|
exitReason?: string;
|
|
48
48
|
/**
|
|
49
|
+
* @remarks
|
|
50
|
+
* The ID of the Kyuubi service that submitted the Spark application.
|
|
51
|
+
*
|
|
49
52
|
* @example
|
|
50
53
|
* kb-2b93ec*******c9440c
|
|
51
54
|
*/
|
|
52
55
|
kyuubiServiceId?: string;
|
|
53
56
|
/**
|
|
54
57
|
* @remarks
|
|
55
|
-
* The status of the
|
|
58
|
+
* The execution status of the latest SQL statement in the application.
|
|
56
59
|
*
|
|
57
60
|
* @example
|
|
58
61
|
* SUCCESS
|
|
@@ -60,29 +63,39 @@ export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.M
|
|
|
60
63
|
latestSqlStatementStatus?: string;
|
|
61
64
|
/**
|
|
62
65
|
* @remarks
|
|
63
|
-
* The total memory allocated to the task
|
|
66
|
+
* The total memory allocated to the task multiplied by the task execution duration in seconds.
|
|
64
67
|
*
|
|
65
68
|
* @example
|
|
66
69
|
* 3513900
|
|
67
70
|
*/
|
|
68
71
|
mbSeconds?: number;
|
|
69
72
|
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The priority of the Spark application.
|
|
75
|
+
*
|
|
70
76
|
* @example
|
|
71
77
|
* 5
|
|
72
78
|
*/
|
|
73
79
|
priority?: string;
|
|
74
80
|
/**
|
|
75
81
|
* @remarks
|
|
76
|
-
* The name of the resource queue
|
|
82
|
+
* The name of the resource queue in which the Spark task runs.
|
|
77
83
|
*
|
|
78
84
|
* @example
|
|
79
85
|
* dev_queue
|
|
80
86
|
*/
|
|
81
87
|
resourceQueueId?: string;
|
|
88
|
+
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* The application log.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* {"driverStdOut":"oss://bucket/path/to/stdout","driverStdError":"oss://bucket/path/to/stderr","driverSyslog":"oss://bucket/path/to/syslog","driverStartup":"oss://bucket/path/to/startup"}
|
|
94
|
+
*/
|
|
82
95
|
runLog?: RunLog;
|
|
83
96
|
/**
|
|
84
97
|
* @remarks
|
|
85
|
-
* The time
|
|
98
|
+
* The start time of the task. The format is YYYY-MM-DD HH:mm:ss.
|
|
86
99
|
*
|
|
87
100
|
* @example
|
|
88
101
|
* 2025-02-12 19:59:16
|
|
@@ -90,22 +103,23 @@ export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.M
|
|
|
90
103
|
startTime?: string;
|
|
91
104
|
/**
|
|
92
105
|
* @remarks
|
|
93
|
-
* The
|
|
94
|
-
*
|
|
106
|
+
* The state of the Spark application. Valid values:
|
|
95
107
|
* - STARTING: The application is starting.
|
|
96
|
-
*
|
|
97
108
|
* - RUNNING: The application is running.
|
|
98
|
-
*
|
|
99
109
|
* - TERMINATED: The application is terminated.
|
|
100
110
|
*
|
|
101
111
|
* @example
|
|
102
112
|
* STARTING
|
|
103
113
|
*/
|
|
104
114
|
state?: string;
|
|
115
|
+
/**
|
|
116
|
+
* @remarks
|
|
117
|
+
* The list of tags for the Spark application.
|
|
118
|
+
*/
|
|
105
119
|
tags?: Tag[];
|
|
106
120
|
/**
|
|
107
121
|
* @remarks
|
|
108
|
-
* The total
|
|
122
|
+
* The total number of vcores allocated to the task multiplied by the task execution duration in seconds.
|
|
109
123
|
*
|
|
110
124
|
* @example
|
|
111
125
|
* 780
|
|
@@ -176,12 +190,12 @@ export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.M
|
|
|
176
190
|
export class ListKyuubiSparkApplicationsResponseBody extends $dara.Model {
|
|
177
191
|
/**
|
|
178
192
|
* @remarks
|
|
179
|
-
*
|
|
193
|
+
* The list of application details.
|
|
180
194
|
*/
|
|
181
195
|
applications?: ListKyuubiSparkApplicationsResponseBodyApplications[];
|
|
182
196
|
/**
|
|
183
197
|
* @remarks
|
|
184
|
-
* The maximum number of records
|
|
198
|
+
* The maximum number of records to retrieve at a time.
|
|
185
199
|
*
|
|
186
200
|
* @example
|
|
187
201
|
* 20
|
|
@@ -189,7 +203,7 @@ export class ListKyuubiSparkApplicationsResponseBody extends $dara.Model {
|
|
|
189
203
|
maxResults?: number;
|
|
190
204
|
/**
|
|
191
205
|
* @remarks
|
|
192
|
-
* The token
|
|
206
|
+
* The token for the next page.
|
|
193
207
|
*
|
|
194
208
|
* @example
|
|
195
209
|
* 1
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListKyuubiSparkApplicationsShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the Spark application submitted by Kyuubi, used for
|
|
8
|
+
* The ID of the Spark application submitted by Kyuubi, used for search.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* spark-339f844005b6404c95f9f7c7a13b****
|
|
@@ -13,56 +13,79 @@ export class ListKyuubiSparkApplicationsShrinkRequest extends $dara.Model {
|
|
|
13
13
|
applicationId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The name of the Spark application submitted by Kyuubi, used for
|
|
16
|
+
* The name of the Spark application submitted by Kyuubi, used for search.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* kyuubi-connection-spark-sql-anonymous-fa9a5e73-b4b1-474a-b****
|
|
20
20
|
*/
|
|
21
21
|
applicationName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The end time range of the task.
|
|
25
|
+
*/
|
|
22
26
|
endTimeShrink?: string;
|
|
23
27
|
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The list of statuses of the latest SQL statement used for filtering.
|
|
30
|
+
*
|
|
24
31
|
* @example
|
|
25
32
|
* ["SUCCESS"]
|
|
26
33
|
*/
|
|
27
34
|
latestSqlStatementStatuses?: string;
|
|
28
35
|
/**
|
|
29
36
|
* @remarks
|
|
30
|
-
* The maximum number of records to
|
|
37
|
+
* The maximum number of records to retrieve at a time.
|
|
31
38
|
*
|
|
32
39
|
* @example
|
|
33
40
|
* 20
|
|
34
41
|
*/
|
|
35
42
|
maxResults?: number;
|
|
36
43
|
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The minimum execution duration of the application, in milliseconds.
|
|
46
|
+
*
|
|
37
47
|
* @example
|
|
38
48
|
* 60000
|
|
39
49
|
*/
|
|
40
50
|
minDuration?: number;
|
|
41
51
|
/**
|
|
42
52
|
* @remarks
|
|
43
|
-
* The token
|
|
53
|
+
* The token for the next page.
|
|
44
54
|
*
|
|
45
55
|
* @example
|
|
46
56
|
* 1
|
|
47
57
|
*/
|
|
48
58
|
nextToken?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* The list of sort fields.
|
|
62
|
+
*/
|
|
49
63
|
orderByShrink?: string;
|
|
50
64
|
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The resource queue ID used to filter Spark applications.
|
|
67
|
+
*
|
|
51
68
|
* @example
|
|
52
69
|
* root_queue
|
|
53
70
|
*/
|
|
54
71
|
resourceQueueId?: string;
|
|
55
72
|
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The sort order. A value of asc indicates ascending order, and desc indicates descending order.
|
|
75
|
+
*
|
|
56
76
|
* @example
|
|
57
77
|
* asc
|
|
58
78
|
*/
|
|
59
79
|
sort?: string;
|
|
60
80
|
/**
|
|
61
81
|
* @remarks
|
|
62
|
-
* The time range
|
|
82
|
+
* The start time range of the task.
|
|
63
83
|
*/
|
|
64
84
|
startTimeShrink?: string;
|
|
65
85
|
/**
|
|
86
|
+
* @remarks
|
|
87
|
+
* The list of Spark application states used for filtering.
|
|
88
|
+
*
|
|
66
89
|
* @example
|
|
67
90
|
* ["ERROR"]
|
|
68
91
|
*/
|
|
@@ -5,12 +5,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListKyuubiTokenResponseBodyDataTokens extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The names of authorized
|
|
8
|
+
* The list of RAM user names of authorized users.
|
|
9
9
|
*/
|
|
10
10
|
accountNames?: string[];
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The creation time.
|
|
13
|
+
* The creation time. The value is a UNIX timestamp in milliseconds.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 1755496031000
|
|
@@ -18,7 +18,7 @@ export class ListKyuubiTokenResponseBodyDataTokens extends $dara.Model {
|
|
|
18
18
|
createTime?: number;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The creator
|
|
21
|
+
* The name of the creator.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* admin
|
|
@@ -26,7 +26,7 @@ export class ListKyuubiTokenResponseBodyDataTokens extends $dara.Model {
|
|
|
26
26
|
createdBy?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The expiration time.
|
|
29
|
+
* The expiration time. The value is a UNIX timestamp in milliseconds.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* 1787033891000
|
|
@@ -34,7 +34,7 @@ export class ListKyuubiTokenResponseBodyDataTokens extends $dara.Model {
|
|
|
34
34
|
expireTime?: number;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The last
|
|
37
|
+
* The last usage time. The value is a UNIX timestamp in milliseconds.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* 1760366232121
|
|
@@ -42,7 +42,7 @@ export class ListKyuubiTokenResponseBodyDataTokens extends $dara.Model {
|
|
|
42
42
|
lastUsedTime?: number;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The ARNs of authorized users.
|
|
45
|
+
* The list of ARNs of authorized users.
|
|
46
46
|
*/
|
|
47
47
|
memberArns?: string[];
|
|
48
48
|
/**
|
|
@@ -121,7 +121,7 @@ export class ListKyuubiTokenResponseBodyDataTokens extends $dara.Model {
|
|
|
121
121
|
export class ListKyuubiTokenResponseBodyData extends $dara.Model {
|
|
122
122
|
/**
|
|
123
123
|
* @remarks
|
|
124
|
-
*
|
|
124
|
+
* The list of tokens.
|
|
125
125
|
*/
|
|
126
126
|
tokens?: ListKyuubiTokenResponseBodyDataTokens[];
|
|
127
127
|
static names(): { [key: string]: string } {
|
|
@@ -151,7 +151,7 @@ export class ListKyuubiTokenResponseBodyData extends $dara.Model {
|
|
|
151
151
|
export class ListKyuubiTokenResponseBody extends $dara.Model {
|
|
152
152
|
/**
|
|
153
153
|
* @remarks
|
|
154
|
-
* The data
|
|
154
|
+
* The returned data.
|
|
155
155
|
*/
|
|
156
156
|
data?: ListKyuubiTokenResponseBodyData;
|
|
157
157
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListLivyComputeResponseBodyDataLivyComputes extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the Livy
|
|
8
|
+
* The ID of the Livy gateway.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* lc-xxxxxxxxxxxx
|
|
@@ -21,7 +21,7 @@ export class ListLivyComputeResponseBodyDataLivyComputes extends $dara.Model {
|
|
|
21
21
|
createdBy?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The public endpoint.
|
|
24
|
+
* The public network connection endpoint.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* emr-spark-livy-gateway-cn-hangzhou.data.aliyun.com/api/v1/workspace/w-xxxxxxxxx/livycompute/lc-xxxxxxxxxxx
|
|
@@ -29,7 +29,7 @@ export class ListLivyComputeResponseBodyDataLivyComputes extends $dara.Model {
|
|
|
29
29
|
endpoint?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The internal endpoint.
|
|
32
|
+
* The internal network connection endpoint.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* emr-spark-livy-gateway-cn-hangzhou-internal.aliyun.com/api/v1/workspace/w-xxxxxxxxx/livycompute/lc-xxxxxxxxxxx
|
|
@@ -37,7 +37,7 @@ export class ListLivyComputeResponseBodyDataLivyComputes extends $dara.Model {
|
|
|
37
37
|
endpointInner?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The time
|
|
40
|
+
* The creation time.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* 1749456094000
|
|
@@ -61,7 +61,7 @@ export class ListLivyComputeResponseBodyDataLivyComputes extends $dara.Model {
|
|
|
61
61
|
queueName?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The time
|
|
64
|
+
* The start time. The value is a UNIX timestamp in milliseconds.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* 1749456094000
|
|
@@ -115,7 +115,7 @@ export class ListLivyComputeResponseBodyDataLivyComputes extends $dara.Model {
|
|
|
115
115
|
export class ListLivyComputeResponseBodyData extends $dara.Model {
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
*
|
|
118
|
+
* The list of Livy gateways.
|
|
119
119
|
*/
|
|
120
120
|
livyComputes?: ListLivyComputeResponseBodyDataLivyComputes[];
|
|
121
121
|
static names(): { [key: string]: string } {
|
|
@@ -145,7 +145,7 @@ export class ListLivyComputeResponseBodyData extends $dara.Model {
|
|
|
145
145
|
export class ListLivyComputeResponseBody extends $dara.Model {
|
|
146
146
|
/**
|
|
147
147
|
* @remarks
|
|
148
|
-
* The
|
|
148
|
+
* The return code of the request. A value of 1000000 indicates that the request is successful. Other values indicate that the request failed. For specific error details, see the message.
|
|
149
149
|
*
|
|
150
150
|
* @example
|
|
151
151
|
* 1000000
|
|
@@ -153,7 +153,7 @@ export class ListLivyComputeResponseBody extends $dara.Model {
|
|
|
153
153
|
code?: string;
|
|
154
154
|
/**
|
|
155
155
|
* @remarks
|
|
156
|
-
* The
|
|
156
|
+
* The response data.
|
|
157
157
|
*/
|
|
158
158
|
data?: ListLivyComputeResponseBodyData;
|
|
159
159
|
/**
|
|
@@ -13,7 +13,7 @@ export class ListLivyComputeSessionsResponseBodySessions extends $dara.Model {
|
|
|
13
13
|
computeId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The time
|
|
16
|
+
* The creation time. The value is a UNIX timestamp in milliseconds.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 1768213240000
|
|
@@ -21,7 +21,7 @@ export class ListLivyComputeSessionsResponseBodySessions extends $dara.Model {
|
|
|
21
21
|
createTime?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The number of compute units (CUs) consumed during the
|
|
24
|
+
* The number of compute units (CUs) consumed during the job runtime. This value is an estimate. The actual value is subject to the bill.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 322.5
|
|
@@ -29,7 +29,7 @@ export class ListLivyComputeSessionsResponseBodySessions extends $dara.Model {
|
|
|
29
29
|
cuHours?: number;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The time
|
|
32
|
+
* The end time. The value is a UNIX timestamp in milliseconds.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 1768213240000
|
|
@@ -45,7 +45,7 @@ export class ListLivyComputeSessionsResponseBodySessions extends $dara.Model {
|
|
|
45
45
|
info?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The total amount of memory
|
|
48
|
+
* The total amount of memory allocated to the job multiplied by the number of seconds the job has run.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 1098888
|
|
@@ -90,17 +90,12 @@ export class ListLivyComputeSessionsResponseBodySessions extends $dara.Model {
|
|
|
90
90
|
sparkConf?: string;
|
|
91
91
|
/**
|
|
92
92
|
* @remarks
|
|
93
|
-
* The session
|
|
94
|
-
*
|
|
95
|
-
* -
|
|
96
|
-
*
|
|
97
|
-
* -
|
|
98
|
-
*
|
|
99
|
-
* - terminating: The session is being terminated.
|
|
100
|
-
*
|
|
101
|
-
* - terminated: The session is terminated.
|
|
102
|
-
*
|
|
103
|
-
* - error: The session failed.
|
|
93
|
+
* The session status. Valid values:
|
|
94
|
+
* - starting: Starting.
|
|
95
|
+
* - running: Running.
|
|
96
|
+
* - terminating: Terminating.
|
|
97
|
+
* - terminated: Terminated.
|
|
98
|
+
* - error: Error.
|
|
104
99
|
*
|
|
105
100
|
* @example
|
|
106
101
|
* running
|
|
@@ -108,7 +103,7 @@ export class ListLivyComputeSessionsResponseBodySessions extends $dara.Model {
|
|
|
108
103
|
state?: string;
|
|
109
104
|
/**
|
|
110
105
|
* @remarks
|
|
111
|
-
* The total number of
|
|
106
|
+
* The total number of vcores allocated to the job multiplied by the number of seconds the job has run.
|
|
112
107
|
*
|
|
113
108
|
* @example
|
|
114
109
|
* 343
|
|
@@ -116,7 +111,7 @@ export class ListLivyComputeSessionsResponseBodySessions extends $dara.Model {
|
|
|
116
111
|
vcoreSeconds?: number;
|
|
117
112
|
/**
|
|
118
113
|
* @remarks
|
|
119
|
-
* The web UI
|
|
114
|
+
* The web UI address of the session.
|
|
120
115
|
*
|
|
121
116
|
* @example
|
|
122
117
|
* http://emr-spark-ui-cn-hangzhou.data.aliyun.com
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListLivyComputeTokenResponseBodyDataTokens extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The creation time.
|
|
8
|
+
* The creation time. The value is a UNIX timestamp in milliseconds.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1749456094000
|
|
@@ -21,7 +21,7 @@ export class ListLivyComputeTokenResponseBodyDataTokens extends $dara.Model {
|
|
|
21
21
|
createdby?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The expiration time.
|
|
24
|
+
* The expiration time. The value is a UNIX timestamp in milliseconds.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 1749456994000
|
|
@@ -29,7 +29,7 @@ export class ListLivyComputeTokenResponseBodyDataTokens extends $dara.Model {
|
|
|
29
29
|
expireTime?: number;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The last used
|
|
32
|
+
* The time when the token was last used. The value is a UNIX timestamp in milliseconds.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 1749456098000
|
|
@@ -53,7 +53,7 @@ export class ListLivyComputeTokenResponseBodyDataTokens extends $dara.Model {
|
|
|
53
53
|
token?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
*
|
|
56
|
+
* The token ID.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* lctk-xxxxxxxxxxx
|
|
@@ -95,7 +95,7 @@ export class ListLivyComputeTokenResponseBodyDataTokens extends $dara.Model {
|
|
|
95
95
|
export class ListLivyComputeTokenResponseBodyData extends $dara.Model {
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
* The list
|
|
98
|
+
* The token list.
|
|
99
99
|
*/
|
|
100
100
|
tokens?: ListLivyComputeTokenResponseBodyDataTokens[];
|
|
101
101
|
static names(): { [key: string]: string } {
|
|
@@ -125,7 +125,7 @@ export class ListLivyComputeTokenResponseBodyData extends $dara.Model {
|
|
|
125
125
|
export class ListLivyComputeTokenResponseBody extends $dara.Model {
|
|
126
126
|
/**
|
|
127
127
|
* @remarks
|
|
128
|
-
* The
|
|
128
|
+
* The return code of the request. A value of 1000000 indicates that the request was successful. Other values indicate that the request failed. For details about the error cause, see the message.
|
|
129
129
|
*
|
|
130
130
|
* @example
|
|
131
131
|
* 1000000
|
|
@@ -133,7 +133,7 @@ export class ListLivyComputeTokenResponseBody extends $dara.Model {
|
|
|
133
133
|
code?: string;
|
|
134
134
|
/**
|
|
135
135
|
* @remarks
|
|
136
|
-
* The
|
|
136
|
+
* The response data.
|
|
137
137
|
*/
|
|
138
138
|
data?: ListLivyComputeTokenResponseBodyData;
|
|
139
139
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListMembersRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The maximum number of
|
|
8
|
+
* The maximum number of records to return per request.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 20
|
|
@@ -13,7 +13,7 @@ export class ListMembersRequest extends $dara.Model {
|
|
|
13
13
|
maxResults?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The token that
|
|
16
|
+
* The pagination token that specifies the starting position for the query.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 1
|