@alicloud/emr-serverless-spark20230808 2.0.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.
Files changed (180) hide show
  1. package/dist/client.d.ts +102 -48
  2. package/dist/client.js +206 -48
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateProcessDefinitionWithScheduleRequest.d.ts +37 -37
  5. package/dist/models/CreateProcessDefinitionWithScheduleResponseBody.d.ts +6 -6
  6. package/dist/models/CreateProcessDefinitionWithScheduleShrinkRequest.d.ts +10 -10
  7. package/dist/models/CreateSessionClusterRequest.d.ts +35 -29
  8. package/dist/models/CreateSessionClusterRequest.js.map +1 -1
  9. package/dist/models/CreateSqlStatementRequest.d.ts +12 -5
  10. package/dist/models/CreateSqlStatementRequest.js.map +1 -1
  11. package/dist/models/CreateSqlStatementResponseBody.d.ts +1 -1
  12. package/dist/models/CreateWorkspaceQueueRequest.d.ts +131 -0
  13. package/dist/models/CreateWorkspaceQueueRequest.js +107 -0
  14. package/dist/models/CreateWorkspaceQueueRequest.js.map +1 -0
  15. package/dist/models/CreateWorkspaceQueueResponse.d.ts +19 -0
  16. package/dist/models/CreateWorkspaceQueueResponse.js +69 -0
  17. package/dist/models/CreateWorkspaceQueueResponse.js.map +1 -0
  18. package/dist/models/CreateWorkspaceQueueResponseBody.d.ts +21 -0
  19. package/dist/models/CreateWorkspaceQueueResponseBody.js +58 -0
  20. package/dist/models/CreateWorkspaceQueueResponseBody.js.map +1 -0
  21. package/dist/models/GetAicenterStateResponseBody.d.ts +4 -7
  22. package/dist/models/GetAicenterStateResponseBody.js.map +1 -1
  23. package/dist/models/GetDoctorApplicationRequest.d.ts +2 -2
  24. package/dist/models/GetDoctorApplicationResponseBody.d.ts +2 -5
  25. package/dist/models/GetDoctorApplicationResponseBody.js.map +1 -1
  26. package/dist/models/GetJobRunResponseBody.d.ts +77 -12
  27. package/dist/models/GetJobRunResponseBody.js +35 -1
  28. package/dist/models/GetJobRunResponseBody.js.map +1 -1
  29. package/dist/models/GetKyuubiServiceResponseBody.d.ts +14 -14
  30. package/dist/models/GetKyuubiTokenResponseBody.d.ts +10 -10
  31. package/dist/models/GetLivyComputeResponseBody.d.ts +21 -20
  32. package/dist/models/GetLivyComputeResponseBody.js.map +1 -1
  33. package/dist/models/GetLivyComputeTokenRequest.d.ts +1 -1
  34. package/dist/models/GetLivyComputeTokenResponseBody.d.ts +13 -15
  35. package/dist/models/GetLivyComputeTokenResponseBody.js.map +1 -1
  36. package/dist/models/GetRayClusterResponseBody.d.ts +31 -31
  37. package/dist/models/GetSessionClusterResponseBody.d.ts +37 -38
  38. package/dist/models/GetSessionClusterResponseBody.js.map +1 -1
  39. package/dist/models/GetWorkspaceRequest.d.ts +21 -0
  40. package/dist/models/GetWorkspaceRequest.js +58 -0
  41. package/dist/models/GetWorkspaceRequest.js.map +1 -0
  42. package/dist/models/GetWorkspaceResponse.d.ts +19 -0
  43. package/dist/models/GetWorkspaceResponse.js +69 -0
  44. package/dist/models/GetWorkspaceResponse.js.map +1 -0
  45. package/dist/models/GetWorkspaceResponseBody.d.ts +519 -0
  46. package/dist/models/GetWorkspaceResponseBody.js +278 -0
  47. package/dist/models/GetWorkspaceResponseBody.js.map +1 -0
  48. package/dist/models/ListExecutorLogsRequest.d.ts +4 -4
  49. package/dist/models/ListExecutorLogsResponseBody.d.ts +8 -8
  50. package/dist/models/ListJobRunsRequest.d.ts +19 -15
  51. package/dist/models/ListJobRunsRequest.js.map +1 -1
  52. package/dist/models/ListJobRunsResponseBody.d.ts +32 -22
  53. package/dist/models/ListJobRunsResponseBody.js.map +1 -1
  54. package/dist/models/ListJobRunsShrinkRequest.d.ts +15 -11
  55. package/dist/models/ListJobRunsShrinkRequest.js.map +1 -1
  56. package/dist/models/ListKyuubiServicesRequest.d.ts +1 -1
  57. package/dist/models/ListKyuubiServicesResponseBody.d.ts +15 -15
  58. package/dist/models/ListKyuubiSparkApplicationsRequest.d.ts +36 -7
  59. package/dist/models/ListKyuubiSparkApplicationsRequest.js.map +1 -1
  60. package/dist/models/ListKyuubiSparkApplicationsResponseBody.d.ts +29 -15
  61. package/dist/models/ListKyuubiSparkApplicationsResponseBody.js.map +1 -1
  62. package/dist/models/ListKyuubiSparkApplicationsShrinkRequest.d.ts +28 -5
  63. package/dist/models/ListKyuubiSparkApplicationsShrinkRequest.js.map +1 -1
  64. package/dist/models/ListKyuubiTokenResponseBody.d.ts +8 -8
  65. package/dist/models/ListLivyComputeRequest.d.ts +1 -1
  66. package/dist/models/ListLivyComputeResponseBody.d.ts +8 -8
  67. package/dist/models/ListLivyComputeSessionsRequest.d.ts +1 -1
  68. package/dist/models/ListLivyComputeSessionsResponseBody.d.ts +12 -17
  69. package/dist/models/ListLivyComputeSessionsResponseBody.js.map +1 -1
  70. package/dist/models/ListLivyComputeTokenResponseBody.d.ts +7 -7
  71. package/dist/models/ListMembersRequest.d.ts +2 -2
  72. package/dist/models/ListMembersResponseBody.d.ts +15 -13
  73. package/dist/models/ListMembersResponseBody.js.map +1 -1
  74. package/dist/models/ListQueueTopJobsRequest.d.ts +29 -0
  75. package/dist/models/ListQueueTopJobsRequest.js +60 -0
  76. package/dist/models/ListQueueTopJobsRequest.js.map +1 -0
  77. package/dist/models/ListQueueTopJobsResponse.d.ts +19 -0
  78. package/dist/models/ListQueueTopJobsResponse.js +69 -0
  79. package/dist/models/ListQueueTopJobsResponse.js.map +1 -0
  80. package/dist/models/ListQueueTopJobsResponseBody.d.ts +127 -0
  81. package/dist/models/ListQueueTopJobsResponseBody.js +120 -0
  82. package/dist/models/ListQueueTopJobsResponseBody.js.map +1 -0
  83. package/dist/models/ListRayClusterRequest.d.ts +1 -1
  84. package/dist/models/ListRayClusterResponseBody.d.ts +29 -28
  85. package/dist/models/ListRayClusterResponseBody.js.map +1 -1
  86. package/dist/models/ListRayJobRequest.d.ts +7 -7
  87. package/dist/models/ListRayJobResponseBody.d.ts +23 -23
  88. package/dist/models/ListRayJobShrinkRequest.d.ts +5 -5
  89. package/dist/models/ListSessionClustersRequest.d.ts +3 -3
  90. package/dist/models/ListSessionClustersResponseBody.d.ts +37 -31
  91. package/dist/models/ListSessionClustersResponseBody.js.map +1 -1
  92. package/dist/models/ListWorkspaceQueuesResponseBody.d.ts +29 -15
  93. package/dist/models/ListWorkspaceQueuesResponseBody.js.map +1 -1
  94. package/dist/models/ListWorkspacesRequest.d.ts +23 -5
  95. package/dist/models/ListWorkspacesRequest.js.map +1 -1
  96. package/dist/models/ListWorkspacesResponseBody.d.ts +117 -27
  97. package/dist/models/ListWorkspacesResponseBody.js.map +1 -1
  98. package/dist/models/ListWorkspacesShrinkRequest.d.ts +16 -4
  99. package/dist/models/ListWorkspacesShrinkRequest.js.map +1 -1
  100. package/dist/models/SubmitRayJobRequest.d.ts +21 -21
  101. package/dist/models/SubmitRayJobResponseBody.d.ts +1 -1
  102. package/dist/models/Task.d.ts +0 -183
  103. package/dist/models/Task.js.map +1 -1
  104. package/dist/models/UpdateProcessDefinitionWithScheduleRequest.d.ts +33 -33
  105. package/dist/models/UpdateProcessDefinitionWithScheduleResponseBody.d.ts +15 -15
  106. package/dist/models/UpdateProcessDefinitionWithScheduleShrinkRequest.d.ts +8 -8
  107. package/dist/models/UpdateRayClusterRequest.d.ts +10 -10
  108. package/dist/models/UpdateWorkspaceRequest.d.ts +45 -9
  109. package/dist/models/UpdateWorkspaceRequest.js.map +1 -1
  110. package/dist/models/UpdateWorkspaceResponseBody.d.ts +1 -1
  111. package/dist/models/model.d.ts +18 -0
  112. package/dist/models/model.js +48 -12
  113. package/dist/models/model.js.map +1 -1
  114. package/package.json +1 -1
  115. package/src/client.ts +225 -48
  116. package/src/models/CreateProcessDefinitionWithScheduleRequest.ts +37 -37
  117. package/src/models/CreateProcessDefinitionWithScheduleResponseBody.ts +6 -6
  118. package/src/models/CreateProcessDefinitionWithScheduleShrinkRequest.ts +10 -10
  119. package/src/models/CreateSessionClusterRequest.ts +35 -29
  120. package/src/models/CreateSqlStatementRequest.ts +12 -5
  121. package/src/models/CreateSqlStatementResponseBody.ts +1 -1
  122. package/src/models/CreateWorkspaceQueueRequest.ts +184 -0
  123. package/src/models/CreateWorkspaceQueueResponse.ts +40 -0
  124. package/src/models/CreateWorkspaceQueueResponseBody.ts +34 -0
  125. package/src/models/GetAicenterStateResponseBody.ts +4 -7
  126. package/src/models/GetDoctorApplicationRequest.ts +2 -2
  127. package/src/models/GetDoctorApplicationResponseBody.ts +2 -5
  128. package/src/models/GetJobRunResponseBody.ts +102 -12
  129. package/src/models/GetKyuubiServiceResponseBody.ts +14 -14
  130. package/src/models/GetKyuubiTokenResponseBody.ts +10 -10
  131. package/src/models/GetLivyComputeResponseBody.ts +21 -20
  132. package/src/models/GetLivyComputeTokenRequest.ts +1 -1
  133. package/src/models/GetLivyComputeTokenResponseBody.ts +13 -15
  134. package/src/models/GetRayClusterResponseBody.ts +31 -31
  135. package/src/models/GetSessionClusterResponseBody.ts +37 -38
  136. package/src/models/GetWorkspaceRequest.ts +34 -0
  137. package/src/models/GetWorkspaceResponse.ts +40 -0
  138. package/src/models/GetWorkspaceResponseBody.ts +707 -0
  139. package/src/models/ListExecutorLogsRequest.ts +4 -4
  140. package/src/models/ListExecutorLogsResponseBody.ts +8 -8
  141. package/src/models/ListJobRunsRequest.ts +19 -15
  142. package/src/models/ListJobRunsResponseBody.ts +32 -22
  143. package/src/models/ListJobRunsShrinkRequest.ts +15 -11
  144. package/src/models/ListKyuubiServicesRequest.ts +1 -1
  145. package/src/models/ListKyuubiServicesResponseBody.ts +15 -15
  146. package/src/models/ListKyuubiSparkApplicationsRequest.ts +36 -7
  147. package/src/models/ListKyuubiSparkApplicationsResponseBody.ts +29 -15
  148. package/src/models/ListKyuubiSparkApplicationsShrinkRequest.ts +28 -5
  149. package/src/models/ListKyuubiTokenResponseBody.ts +8 -8
  150. package/src/models/ListLivyComputeRequest.ts +1 -1
  151. package/src/models/ListLivyComputeResponseBody.ts +8 -8
  152. package/src/models/ListLivyComputeSessionsRequest.ts +1 -1
  153. package/src/models/ListLivyComputeSessionsResponseBody.ts +12 -17
  154. package/src/models/ListLivyComputeTokenResponseBody.ts +7 -7
  155. package/src/models/ListMembersRequest.ts +2 -2
  156. package/src/models/ListMembersResponseBody.ts +15 -13
  157. package/src/models/ListQueueTopJobsRequest.ts +44 -0
  158. package/src/models/ListQueueTopJobsResponse.ts +40 -0
  159. package/src/models/ListQueueTopJobsResponseBody.ts +184 -0
  160. package/src/models/ListRayClusterRequest.ts +1 -1
  161. package/src/models/ListRayClusterResponseBody.ts +29 -28
  162. package/src/models/ListRayJobRequest.ts +7 -7
  163. package/src/models/ListRayJobResponseBody.ts +23 -23
  164. package/src/models/ListRayJobShrinkRequest.ts +5 -5
  165. package/src/models/ListSessionClustersRequest.ts +3 -3
  166. package/src/models/ListSessionClustersResponseBody.ts +37 -31
  167. package/src/models/ListWorkspaceQueuesResponseBody.ts +29 -15
  168. package/src/models/ListWorkspacesRequest.ts +23 -5
  169. package/src/models/ListWorkspacesResponseBody.ts +117 -27
  170. package/src/models/ListWorkspacesShrinkRequest.ts +16 -4
  171. package/src/models/SubmitRayJobRequest.ts +21 -21
  172. package/src/models/SubmitRayJobResponseBody.ts +1 -1
  173. package/src/models/Task.ts +0 -183
  174. package/src/models/UpdateProcessDefinitionWithScheduleRequest.ts +33 -33
  175. package/src/models/UpdateProcessDefinitionWithScheduleResponseBody.ts +15 -15
  176. package/src/models/UpdateProcessDefinitionWithScheduleShrinkRequest.ts +8 -8
  177. package/src/models/UpdateRayClusterRequest.ts +10 -10
  178. package/src/models/UpdateWorkspaceRequest.ts +45 -9
  179. package/src/models/UpdateWorkspaceResponseBody.ts +1 -1
  180. package/src/models/model.ts +18 -0
@@ -6,10 +6,10 @@ export class ListRayJobResponseBodyRayJobs extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
8
  * The status of the corresponding Ray cluster. Valid values:
9
- * - Deleted: deleted.
10
- * - Submitted: submitted but not yet being created.
11
- * - Pending: being created.
12
- * - Running: running.
9
+ * - Deleted: The cluster is deleted.
10
+ * - Submitted: The cluster is submitted but not yet created.
11
+ * - Pending: The cluster is being created.
12
+ * - Running: The cluster is running.
13
13
  *
14
14
  * @example
15
15
  * Running
@@ -25,7 +25,7 @@ export class ListRayJobResponseBodyRayJobs extends $dara.Model {
25
25
  creatorName?: string;
26
26
  /**
27
27
  * @remarks
28
- * The number of compute units (CUs) consumed during the job execution cycle. This value is an estimate. The actual value is subject to the bill.
28
+ * The number of compute units (CUs) consumed during the job runtime. This value is an estimate. The actual value is subject to the bill.
29
29
  *
30
30
  * @example
31
31
  * 120
@@ -33,7 +33,7 @@ export class ListRayJobResponseBodyRayJobs extends $dara.Model {
33
33
  cuHours?: number;
34
34
  /**
35
35
  * @remarks
36
- * The URL of the Ray cluster dashboard. When the Ray cluster is in the Running state, the URL points to the Runtime UI. After the cluster is in the Deleted state, the URL points to the History UI. The History UI is supported only in err-1.2.0 and later versions.
36
+ * The URL of the Ray cluster dashboard. If the Ray cluster is in the Running state, the URL points to the Runtime UI. If the cluster is in the Deleted state, the URL points to the History UI. The History UI is supported only in err-1.2.0 and later.
37
37
  *
38
38
  * @example
39
39
  * https://emr-ray-gateway.aliyuncs.com?token=xxxxxxxxx
@@ -41,7 +41,7 @@ export class ListRayJobResponseBodyRayJobs extends $dara.Model {
41
41
  dashboardUrl?: string;
42
42
  /**
43
43
  * @remarks
44
- * The execution duration of the job. Unit: seconds.
44
+ * The execution duration of the job, in seconds.
45
45
  *
46
46
  * @example
47
47
  * 3564
@@ -49,7 +49,7 @@ export class ListRayJobResponseBodyRayJobs extends $dara.Model {
49
49
  duration?: number;
50
50
  /**
51
51
  * @remarks
52
- * The time when the job ended.
52
+ * The time when the job ended. The value is a UNIX timestamp in milliseconds.
53
53
  *
54
54
  * @example
55
55
  * 1776945509000
@@ -57,7 +57,7 @@ export class ListRayJobResponseBodyRayJobs extends $dara.Model {
57
57
  endTime?: number;
58
58
  /**
59
59
  * @remarks
60
- * The name of the Ray Job.
60
+ * The name of the Ray job.
61
61
  *
62
62
  * @example
63
63
  * testRayJob
@@ -65,7 +65,7 @@ export class ListRayJobResponseBodyRayJobs extends $dara.Model {
65
65
  name?: string;
66
66
  /**
67
67
  * @remarks
68
- * The Ray DPI engine version.
68
+ * The Ray engine version.
69
69
  *
70
70
  * @example
71
71
  * err-1.2.0 (Ray 2.55.1, Python 3.12)
@@ -73,7 +73,7 @@ export class ListRayJobResponseBodyRayJobs extends $dara.Model {
73
73
  resourceQueue?: string;
74
74
  /**
75
75
  * @remarks
76
- * The time when the job was started.
76
+ * The time when the job was started. The value is a UNIX timestamp in milliseconds.
77
77
  *
78
78
  * @example
79
79
  * 1776945499000
@@ -81,15 +81,15 @@ export class ListRayJobResponseBodyRayJobs extends $dara.Model {
81
81
  startTime?: number;
82
82
  /**
83
83
  * @remarks
84
- * The job status. Valid values:
85
- * - Submitted: submitted.
86
- * - Pending: the cluster is being created.
87
- * - Running: the job is running.
88
- * - Succeeded: the job succeeded.
89
- * - Failed: the job failed.
90
- * - Cancelling: the job is being canceled.
91
- * - Cancelled: the job is canceled.
92
- * - Timeout: the job timed out and was canceled.
84
+ * The status of the job. Valid values:
85
+ * - Submitted: The job is submitted.
86
+ * - Pending: The cluster is being created.
87
+ * - Running: The job is running.
88
+ * - Succeeded: The job succeeded.
89
+ * - Failed: The job failed.
90
+ * - Cancelling: The job is being cancelled.
91
+ * - Cancelled: The job is cancelled.
92
+ * - Timeout: The job is cancelled due to a timeout.
93
93
  *
94
94
  * @example
95
95
  * Running
@@ -97,7 +97,7 @@ export class ListRayJobResponseBodyRayJobs extends $dara.Model {
97
97
  status?: string;
98
98
  /**
99
99
  * @remarks
100
- * The ID of the Ray Job.
100
+ * The ID of the Ray job.
101
101
  *
102
102
  * @example
103
103
  * rj-uiulpgow9xljimm1
@@ -105,7 +105,7 @@ export class ListRayJobResponseBodyRayJobs extends $dara.Model {
105
105
  submissionId?: string;
106
106
  /**
107
107
  * @remarks
108
- * The time when the job was submitted.
108
+ * The time when the job was submitted. The value is a UNIX timestamp in milliseconds.
109
109
  *
110
110
  * @example
111
111
  * 1776945399000
@@ -157,7 +157,7 @@ export class ListRayJobResponseBodyRayJobs extends $dara.Model {
157
157
  export class ListRayJobResponseBody extends $dara.Model {
158
158
  /**
159
159
  * @remarks
160
- * The list of Ray Jobs.
160
+ * The list of Ray jobs.
161
161
  */
162
162
  rayJobs?: ListRayJobResponseBodyRayJobs[];
163
163
  /**
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListRayJobShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The name of the Ray Job (exact match).
8
+ * The name of the Ray job. Exact match is supported.
9
9
  *
10
10
  * @example
11
11
  * myrayjob
@@ -21,7 +21,7 @@ export class ListRayJobShrinkRequest extends $dara.Model {
21
21
  pageNum?: number;
22
22
  /**
23
23
  * @remarks
24
- * The number of entries per page. Default value: 20.
24
+ * The number of entries to return on each page. Default value: 20.
25
25
  *
26
26
  * @example
27
27
  * 20
@@ -29,7 +29,7 @@ export class ListRayJobShrinkRequest extends $dara.Model {
29
29
  pageSize?: number;
30
30
  /**
31
31
  * @remarks
32
- * The submission ID of the Ray Job.
32
+ * The submission ID of the Ray job.
33
33
  *
34
34
  * @example
35
35
  * rj-xxxxxxxxxxx
@@ -37,12 +37,12 @@ export class ListRayJobShrinkRequest extends $dara.Model {
37
37
  submissionId?: string;
38
38
  /**
39
39
  * @remarks
40
- * The submit time range.
40
+ * The submission time range.
41
41
  */
42
42
  submitTimeShrink?: string;
43
43
  /**
44
44
  * @remarks
45
- * The data development node ID.
45
+ * The ID of the data development node.
46
46
  *
47
47
  * @example
48
48
  * TSK-db8b870d901e443ba0aebba40c923e02
@@ -13,7 +13,7 @@ export class ListSessionClustersRequest extends $dara.Model {
13
13
  kind?: string;
14
14
  /**
15
15
  * @remarks
16
- * The maximum number of records to return.
16
+ * The maximum number of records to return in a single request.
17
17
  *
18
18
  * @example
19
19
  * 20
@@ -21,7 +21,7 @@ export class ListSessionClustersRequest extends $dara.Model {
21
21
  maxResults?: number;
22
22
  /**
23
23
  * @remarks
24
- * The token that marks the start of the next page of results.
24
+ * The token that indicates the position from which to start reading.
25
25
  *
26
26
  * @example
27
27
  * 1
@@ -45,7 +45,7 @@ export class ListSessionClustersRequest extends $dara.Model {
45
45
  regionId?: string;
46
46
  /**
47
47
  * @remarks
48
- * The name of the job.
48
+ * The job name.
49
49
  *
50
50
  * @example
51
51
  * emr-spark-demo-job
@@ -55,7 +55,7 @@ export class ListSessionClustersResponseBodySessionClustersApplicationConfigs ex
55
55
  export class ListSessionClustersResponseBodySessionClustersAutoStartConfiguration extends $dara.Model {
56
56
  /**
57
57
  * @remarks
58
- * Indicates whether auto-start is enabled.
58
+ * Specifies whether auto-start is enabled.
59
59
  *
60
60
  * @example
61
61
  * true
@@ -85,7 +85,7 @@ export class ListSessionClustersResponseBodySessionClustersAutoStartConfiguratio
85
85
  export class ListSessionClustersResponseBodySessionClustersAutoStopConfiguration extends $dara.Model {
86
86
  /**
87
87
  * @remarks
88
- * Indicates whether auto-stop is enabled.
88
+ * Specifies whether auto-stop is enabled.
89
89
  *
90
90
  * @example
91
91
  * false
@@ -93,7 +93,7 @@ export class ListSessionClustersResponseBodySessionClustersAutoStopConfiguration
93
93
  enable?: boolean;
94
94
  /**
95
95
  * @remarks
96
- * The number of minutes of inactivity before the session is automatically stopped.
96
+ * The number of idle minutes after which the session is automatically stopped.
97
97
  *
98
98
  * @example
99
99
  * 45
@@ -125,7 +125,7 @@ export class ListSessionClustersResponseBodySessionClustersAutoStopConfiguration
125
125
  export class ListSessionClustersResponseBodySessionClustersStateChangeReason extends $dara.Model {
126
126
  /**
127
127
  * @remarks
128
- * The state change code.
128
+ * The status change code.
129
129
  *
130
130
  * @example
131
131
  * 200
@@ -133,7 +133,7 @@ export class ListSessionClustersResponseBodySessionClustersStateChangeReason ext
133
133
  code?: string;
134
134
  /**
135
135
  * @remarks
136
- * The state change message.
136
+ * The status change message.
137
137
  *
138
138
  * @example
139
139
  * ok
@@ -165,7 +165,7 @@ export class ListSessionClustersResponseBodySessionClustersStateChangeReason ext
165
165
  export class ListSessionClustersResponseBodySessionClusters extends $dara.Model {
166
166
  /**
167
167
  * @remarks
168
- * The session configurations. These are equivalent to the configurations of the underlying Spark job.
168
+ * The session configurations, which are equivalent to the configurations of the underlying Spark job.
169
169
  */
170
170
  applicationConfigs?: ListSessionClustersResponseBodySessionClustersApplicationConfigs[];
171
171
  /**
@@ -178,10 +178,14 @@ export class ListSessionClustersResponseBodySessionClusters extends $dara.Model
178
178
  * The auto-stop configuration.
179
179
  */
180
180
  autoStopConfiguration?: ListSessionClustersResponseBodySessionClustersAutoStopConfiguration;
181
+ /**
182
+ * @remarks
183
+ * The token used to connect to the session cluster.
184
+ */
181
185
  connectionToken?: string;
182
186
  /**
183
187
  * @remarks
184
- * The version displayed in the console.
188
+ * The version actually displayed in the console.
185
189
  *
186
190
  * @example
187
191
  * esr-4.0.0 (Spark 3.5.2, Scala 2.12)
@@ -189,7 +193,7 @@ export class ListSessionClustersResponseBodySessionClusters extends $dara.Model
189
193
  displayReleaseVersion?: string;
190
194
  /**
191
195
  * @remarks
192
- * The public endpoint of the Thrift server.
196
+ * The public domain name of the Thrift server.
193
197
  *
194
198
  * @example
195
199
  * emr-spark-gateway-cn-hangzhou.data.aliyun.com
@@ -197,7 +201,7 @@ export class ListSessionClustersResponseBodySessionClusters extends $dara.Model
197
201
  domain?: string;
198
202
  /**
199
203
  * @remarks
200
- * The internal same-region endpoint of the Thrift server.
204
+ * The internal domain name of the Thrift server.
201
205
  *
202
206
  * @example
203
207
  * emr-spark-gateway-cn-hangzhou-internal.data.aliyuncs.com
@@ -205,7 +209,7 @@ export class ListSessionClustersResponseBodySessionClusters extends $dara.Model
205
209
  domainInner?: string;
206
210
  /**
207
211
  * @remarks
208
- * The ID of the developer job that is attached to the session.
212
+ * The ID of the development job bound to the session.
209
213
  *
210
214
  * @example
211
215
  * TSK-xxxxxxxxx
@@ -221,7 +225,7 @@ export class ListSessionClustersResponseBodySessionClusters extends $dara.Model
221
225
  extra?: string;
222
226
  /**
223
227
  * @remarks
224
- * Indicates whether acceleration by the Fusion engine is enabled.
228
+ * Specifies whether Fusion engine acceleration is enabled.
225
229
  *
226
230
  * @example
227
231
  * false
@@ -229,7 +233,7 @@ export class ListSessionClustersResponseBodySessionClusters extends $dara.Model
229
233
  fusion?: boolean;
230
234
  /**
231
235
  * @remarks
232
- * The time when the session was created.
236
+ * The creation time.
233
237
  *
234
238
  * @example
235
239
  * 1732267598000
@@ -251,10 +255,17 @@ export class ListSessionClustersResponseBodySessionClusters extends $dara.Model
251
255
  * adhoc_query
252
256
  */
253
257
  name?: string;
258
+ /**
259
+ * @remarks
260
+ * Specifies whether the public network access endpoint is enabled.
261
+ *
262
+ * @example
263
+ * true
264
+ */
254
265
  publicEndpointEnabled?: boolean;
255
266
  /**
256
267
  * @remarks
257
- * The name of the queue in which the session runs.
268
+ * The name of the queue where the session runs.
258
269
  *
259
270
  * @example
260
271
  * dev_queue
@@ -278,7 +289,7 @@ export class ListSessionClustersResponseBodySessionClusters extends $dara.Model
278
289
  sessionClusterId?: string;
279
290
  /**
280
291
  * @remarks
281
- * The time when the session was started.
292
+ * The start time. The value is a UNIX timestamp in milliseconds.
282
293
  *
283
294
  * @example
284
295
  * 1732267598000
@@ -286,17 +297,12 @@ export class ListSessionClustersResponseBodySessionClusters extends $dara.Model
286
297
  startTime?: number;
287
298
  /**
288
299
  * @remarks
289
- * The session state.
290
- *
291
- * - Starting: The session is starting.
292
- *
293
- * - Running: The session is running.
294
- *
295
- * - Stopping: The session is stopping.
296
- *
297
- * - Stopped: The session is stopped.
298
- *
299
- * - Error: The session has failed.
300
+ * The session status. Valid values:
301
+ * - Starting: Starting.
302
+ * - Running: Running.
303
+ * - Stopping: Stopping.
304
+ * - Stopped: Stopped.
305
+ * - Error: Failed.
300
306
  *
301
307
  * @example
302
308
  * Running
@@ -304,7 +310,7 @@ export class ListSessionClustersResponseBodySessionClusters extends $dara.Model
304
310
  state?: string;
305
311
  /**
306
312
  * @remarks
307
- * The details of the last state change of the session.
313
+ * The details of the most recent session status change.
308
314
  */
309
315
  stateChangeReason?: ListSessionClustersResponseBodySessionClustersStateChangeReason;
310
316
  /**
@@ -325,7 +331,7 @@ export class ListSessionClustersResponseBodySessionClusters extends $dara.Model
325
331
  userName?: string;
326
332
  /**
327
333
  * @remarks
328
- * The URL of the Spark UI for the session.
334
+ * The Spark UI URL of the session.
329
335
  *
330
336
  * @example
331
337
  * http://spark-ui-xxxx
@@ -421,7 +427,7 @@ export class ListSessionClustersResponseBodySessionClusters extends $dara.Model
421
427
  export class ListSessionClustersResponseBody extends $dara.Model {
422
428
  /**
423
429
  * @remarks
424
- * The maximum number of entries returned for the request.
430
+ * The maximum number of records returned in the current request.
425
431
  *
426
432
  * @example
427
433
  * 20
@@ -429,7 +435,7 @@ export class ListSessionClustersResponseBody extends $dara.Model {
429
435
  maxResults?: number;
430
436
  /**
431
437
  * @remarks
432
- * The token that marks the start of the next page of results.
438
+ * The token that indicates the position of the returned data.
433
439
  *
434
440
  * @example
435
441
  * 1
@@ -445,12 +451,12 @@ export class ListSessionClustersResponseBody extends $dara.Model {
445
451
  requestId?: string;
446
452
  /**
447
453
  * @remarks
448
- * A list of sessions.
454
+ * The list of sessions.
449
455
  */
450
456
  sessionClusters?: ListSessionClustersResponseBodySessionClusters[];
451
457
  /**
452
458
  * @remarks
453
- * The total number of entries that match the query criteria.
459
+ * The total number of records that meet the current request conditions.
454
460
  *
455
461
  * @example
456
462
  * 200
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListWorkspaceQueuesResponseBodyQueuesAllowActions extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The action ARN.
8
+ * The ARN of the action.
9
9
  *
10
10
  * @example
11
11
  * acs:emr::workspaceId:action/create_queue
@@ -21,7 +21,7 @@ export class ListWorkspaceQueuesResponseBodyQueuesAllowActions extends $dara.Mod
21
21
  actionName?: string;
22
22
  /**
23
23
  * @remarks
24
- * The list of action dependencies.
24
+ * The list of dependencies for the action.
25
25
  *
26
26
  * @example
27
27
  * ["view"]
@@ -29,7 +29,7 @@ export class ListWorkspaceQueuesResponseBodyQueuesAllowActions extends $dara.Mod
29
29
  dependencies?: string[];
30
30
  /**
31
31
  * @remarks
32
- * The action description.
32
+ * The description of the action.
33
33
  *
34
34
  * @example
35
35
  * Directory traversal and file browsing
@@ -40,7 +40,7 @@ export class ListWorkspaceQueuesResponseBodyQueuesAllowActions extends $dara.Mod
40
40
  * The display name of the permission.
41
41
  *
42
42
  * @example
43
- * File directory traversal, file browsing
43
+ * Directory traversal and file browsing
44
44
  */
45
45
  displayName?: string;
46
46
  static names(): { [key: string]: string } {
@@ -78,12 +78,12 @@ export class ListWorkspaceQueuesResponseBodyQueuesAllowActions extends $dara.Mod
78
78
  export class ListWorkspaceQueuesResponseBodyQueues extends $dara.Model {
79
79
  /**
80
80
  * @remarks
81
- * The list of allowed actions on the queue.
81
+ * The list of allowed operations for the queue.
82
82
  */
83
83
  allowActions?: ListWorkspaceQueuesResponseBodyQueuesAllowActions[];
84
84
  /**
85
85
  * @remarks
86
- * The time when the workspace was created.
86
+ * The time when the workspace was created. The value is a UNIX timestamp in milliseconds.
87
87
  *
88
88
  * @example
89
89
  * 1684115879955
@@ -91,7 +91,7 @@ export class ListWorkspaceQueuesResponseBodyQueues extends $dara.Model {
91
91
  createTime?: number;
92
92
  /**
93
93
  * @remarks
94
- * The UID of the user who created the queue.
94
+ * The UID of the creator.
95
95
  *
96
96
  * @example
97
97
  * 237109
@@ -107,15 +107,26 @@ export class ListWorkspaceQueuesResponseBodyQueues extends $dara.Model {
107
107
  description?: string;
108
108
  /**
109
109
  * @remarks
110
- * The list of queue environment types.
110
+ * The list of environment types for the queue.
111
111
  */
112
112
  environments?: string[];
113
+ /**
114
+ * @remarks
115
+ * The number of GPU machines.
116
+ *
117
+ * @example
118
+ * 0
119
+ */
113
120
  gpuMachineNum?: number;
114
121
  /**
115
122
  * @remarks
116
- * The list of GPU models.
123
+ * The list of GPU instance types.
117
124
  */
118
125
  gpuSpec?: string[];
126
+ /**
127
+ * @remarks
128
+ * The ID of the resource instance associated with the queue.
129
+ */
119
130
  instanceId?: string;
120
131
  /**
121
132
  * @remarks
@@ -135,10 +146,10 @@ export class ListWorkspaceQueuesResponseBodyQueues extends $dara.Model {
135
146
  minResource?: string;
136
147
  /**
137
148
  * @remarks
138
- * The billing type. Valid values:
149
+ * The billing method. Valid values:
139
150
  *
140
- * - PayAsYouGo: pay-as-you-go.
141
- * - Pre: subscription.
151
+ * - PayAsYouGo: pay-as-you-go
152
+ * - Pre: subscription
142
153
  *
143
154
  * @example
144
155
  * PayAsYouGo
@@ -146,7 +157,10 @@ export class ListWorkspaceQueuesResponseBodyQueues extends $dara.Model {
146
157
  paymentType?: string;
147
158
  /**
148
159
  * @remarks
149
- * Indicates whether resource prefetch is enabled.
160
+ * Specifies whether resource prefetching is performed.
161
+ *
162
+ * @example
163
+ * true
150
164
  */
151
165
  preheat?: boolean;
152
166
  /**
@@ -159,7 +173,7 @@ export class ListWorkspaceQueuesResponseBodyQueues extends $dara.Model {
159
173
  properties?: string;
160
174
  /**
161
175
  * @remarks
162
- * The queue category, CPU or GPU.
176
+ * The queue category, such as CPU or GPU.
163
177
  *
164
178
  * @example
165
179
  * CPU
@@ -297,7 +311,7 @@ export class ListWorkspaceQueuesResponseBodyQueues extends $dara.Model {
297
311
  export class ListWorkspaceQueuesResponseBody extends $dara.Model {
298
312
  /**
299
313
  * @remarks
300
- * The maximum number of records returned per request.
314
+ * The maximum number of records to return per request.
301
315
  *
302
316
  * @example
303
317
  * 20
@@ -4,13 +4,19 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ListWorkspacesRequestTag extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The tag key.
9
+ *
7
10
  * @example
8
11
  * cn-shenzhen-finance.edas.config.server
9
12
  */
10
13
  key?: string;
11
14
  /**
15
+ * @remarks
16
+ * The tag value.
17
+ *
12
18
  * @example
13
- * iPhone disk space remaining rate
19
+ * iPhone remaining disk space percentage
14
20
  */
15
21
  value?: string;
16
22
  static names(): { [key: string]: string } {
@@ -39,7 +45,7 @@ export class ListWorkspacesRequestTag extends $dara.Model {
39
45
  export class ListWorkspacesRequest extends $dara.Model {
40
46
  /**
41
47
  * @remarks
42
- * The maximum number of records to retrieve in a single request.
48
+ * The maximum number of records to return in a single request.
43
49
  *
44
50
  * @example
45
51
  * 20
@@ -47,7 +53,7 @@ export class ListWorkspacesRequest extends $dara.Model {
47
53
  maxResults?: number;
48
54
  /**
49
55
  * @remarks
50
- * The name of the workspace. Fuzzy match is supported.
56
+ * The name of the workspace. Fuzzy search by workspace name is supported.
51
57
  *
52
58
  * @example
53
59
  * test_workspace
@@ -55,7 +61,7 @@ export class ListWorkspacesRequest extends $dara.Model {
55
61
  name?: string;
56
62
  /**
57
63
  * @remarks
58
- * The pagination token that marks the current read position.
64
+ * The token that indicates the position from which to start reading.
59
65
  *
60
66
  * @example
61
67
  * 1
@@ -70,18 +76,30 @@ export class ListWorkspacesRequest extends $dara.Model {
70
76
  */
71
77
  regionId?: string;
72
78
  /**
79
+ * @remarks
80
+ * The resource group ID.
81
+ *
73
82
  * @example
74
83
  * rg-aek2thxggoqhmhq
75
84
  */
76
85
  resourceGroupId?: string;
77
86
  /**
78
87
  * @remarks
79
- * The workspace status.
88
+ * The state of the workspace. Valid values:
89
+ * - Starting: The workspace is starting.
90
+ * - Running: The workspace is running.
91
+ * - Stopping: The workspace is stopping.
92
+ * - Stopped: The workspace is stopped.
93
+ * - Error: The workspace failed.
80
94
  *
81
95
  * @example
82
96
  * running
83
97
  */
84
98
  state?: string;
99
+ /**
100
+ * @remarks
101
+ * The list of tags used to filter workspaces.
102
+ */
85
103
  tag?: ListWorkspacesRequestTag[];
86
104
  static names(): { [key: string]: string } {
87
105
  return {