alibabacloud-emr-serverless-spark20230808 1.4.0__tar.gz → 1.4.1__tar.gz

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.

Potentially problematic release.


This version of alibabacloud-emr-serverless-spark20230808 might be problematic. Click here for more details.

Files changed (17) hide show
  1. {alibabacloud_emr-serverless-spark20230808-1.4.0 → alibabacloud_emr-serverless-spark20230808-1.4.1}/ChangeLog.md +7 -0
  2. {alibabacloud_emr-serverless-spark20230808-1.4.0 → alibabacloud_emr-serverless-spark20230808-1.4.1}/PKG-INFO +1 -1
  3. alibabacloud_emr-serverless-spark20230808-1.4.1/alibabacloud_emr_serverless_spark20230808/__init__.py +1 -0
  4. {alibabacloud_emr-serverless-spark20230808-1.4.0 → alibabacloud_emr-serverless-spark20230808-1.4.1}/alibabacloud_emr_serverless_spark20230808/client.py +32 -28
  5. {alibabacloud_emr-serverless-spark20230808-1.4.0 → alibabacloud_emr-serverless-spark20230808-1.4.1}/alibabacloud_emr_serverless_spark20230808/models.py +299 -98
  6. {alibabacloud_emr-serverless-spark20230808-1.4.0 → alibabacloud_emr-serverless-spark20230808-1.4.1}/alibabacloud_emr_serverless_spark20230808.egg-info/PKG-INFO +1 -1
  7. {alibabacloud_emr-serverless-spark20230808-1.4.0 → alibabacloud_emr-serverless-spark20230808-1.4.1}/alibabacloud_emr_serverless_spark20230808.egg-info/requires.txt +1 -1
  8. {alibabacloud_emr-serverless-spark20230808-1.4.0 → alibabacloud_emr-serverless-spark20230808-1.4.1}/setup.py +2 -2
  9. alibabacloud_emr-serverless-spark20230808-1.4.0/alibabacloud_emr_serverless_spark20230808/__init__.py +0 -1
  10. {alibabacloud_emr-serverless-spark20230808-1.4.0 → alibabacloud_emr-serverless-spark20230808-1.4.1}/LICENSE +0 -0
  11. {alibabacloud_emr-serverless-spark20230808-1.4.0 → alibabacloud_emr-serverless-spark20230808-1.4.1}/MANIFEST.in +0 -0
  12. {alibabacloud_emr-serverless-spark20230808-1.4.0 → alibabacloud_emr-serverless-spark20230808-1.4.1}/README-CN.md +0 -0
  13. {alibabacloud_emr-serverless-spark20230808-1.4.0 → alibabacloud_emr-serverless-spark20230808-1.4.1}/README.md +0 -0
  14. {alibabacloud_emr-serverless-spark20230808-1.4.0 → alibabacloud_emr-serverless-spark20230808-1.4.1}/alibabacloud_emr_serverless_spark20230808.egg-info/SOURCES.txt +0 -0
  15. {alibabacloud_emr-serverless-spark20230808-1.4.0 → alibabacloud_emr-serverless-spark20230808-1.4.1}/alibabacloud_emr_serverless_spark20230808.egg-info/dependency_links.txt +0 -0
  16. {alibabacloud_emr-serverless-spark20230808-1.4.0 → alibabacloud_emr-serverless-spark20230808-1.4.1}/alibabacloud_emr_serverless_spark20230808.egg-info/top_level.txt +0 -0
  17. {alibabacloud_emr-serverless-spark20230808-1.4.0 → alibabacloud_emr-serverless-spark20230808-1.4.1}/setup.cfg +0 -0
@@ -1,3 +1,10 @@
1
+ 2024-05-31 Version: 1.4.0
2
+ - Support API CreateSqlStatement.
3
+ - Support API GetSqlStatement.
4
+ - Support API TerminateSqlStatement.
5
+ - Update API ListJobRuns: add param jobRunDeploymentId.
6
+
7
+
1
8
  2024-05-22 Version: 1.3.0
2
9
  - Support API AddMembers.
3
10
  - Support API GrantRoleToUsers.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_emr-serverless-spark20230808
3
- Version: 1.4.0
3
+ Version: 1.4.1
4
4
  Summary: Alibaba Cloud emr-serverless-spark (20230808) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -48,7 +48,7 @@ class Client(OpenApiClient):
48
48
  runtime: util_models.RuntimeOptions,
49
49
  ) -> emr_serverless_spark_20230808_models.AddMembersResponse:
50
50
  """
51
- @summary 添加用户
51
+ @summary Adds a RAM user or RAM role to a workspace as a member.
52
52
 
53
53
  @param request: AddMembersRequest
54
54
  @param headers: map
@@ -92,7 +92,7 @@ class Client(OpenApiClient):
92
92
  runtime: util_models.RuntimeOptions,
93
93
  ) -> emr_serverless_spark_20230808_models.AddMembersResponse:
94
94
  """
95
- @summary 添加用户
95
+ @summary Adds a RAM user or RAM role to a workspace as a member.
96
96
 
97
97
  @param request: AddMembersRequest
98
98
  @param headers: map
@@ -134,7 +134,7 @@ class Client(OpenApiClient):
134
134
  request: emr_serverless_spark_20230808_models.AddMembersRequest,
135
135
  ) -> emr_serverless_spark_20230808_models.AddMembersResponse:
136
136
  """
137
- @summary 添加用户
137
+ @summary Adds a RAM user or RAM role to a workspace as a member.
138
138
 
139
139
  @param request: AddMembersRequest
140
140
  @return: AddMembersResponse
@@ -148,7 +148,7 @@ class Client(OpenApiClient):
148
148
  request: emr_serverless_spark_20230808_models.AddMembersRequest,
149
149
  ) -> emr_serverless_spark_20230808_models.AddMembersResponse:
150
150
  """
151
- @summary 添加用户
151
+ @summary Adds a RAM user or RAM role to a workspace as a member.
152
152
 
153
153
  @param request: AddMembersRequest
154
154
  @return: AddMembersResponse
@@ -166,7 +166,7 @@ class Client(OpenApiClient):
166
166
  runtime: util_models.RuntimeOptions,
167
167
  ) -> emr_serverless_spark_20230808_models.CancelJobRunResponse:
168
168
  """
169
- @summary 取消jobRun作业
169
+ @summary Terminates a Spark job.
170
170
 
171
171
  @param request: CancelJobRunRequest
172
172
  @param headers: map
@@ -206,7 +206,7 @@ class Client(OpenApiClient):
206
206
  runtime: util_models.RuntimeOptions,
207
207
  ) -> emr_serverless_spark_20230808_models.CancelJobRunResponse:
208
208
  """
209
- @summary 取消jobRun作业
209
+ @summary Terminates a Spark job.
210
210
 
211
211
  @param request: CancelJobRunRequest
212
212
  @param headers: map
@@ -244,7 +244,7 @@ class Client(OpenApiClient):
244
244
  request: emr_serverless_spark_20230808_models.CancelJobRunRequest,
245
245
  ) -> emr_serverless_spark_20230808_models.CancelJobRunResponse:
246
246
  """
247
- @summary 取消jobRun作业
247
+ @summary Terminates a Spark job.
248
248
 
249
249
  @param request: CancelJobRunRequest
250
250
  @return: CancelJobRunResponse
@@ -260,7 +260,7 @@ class Client(OpenApiClient):
260
260
  request: emr_serverless_spark_20230808_models.CancelJobRunRequest,
261
261
  ) -> emr_serverless_spark_20230808_models.CancelJobRunResponse:
262
262
  """
263
- @summary 取消jobRun作业
263
+ @summary Terminates a Spark job.
264
264
 
265
265
  @param request: CancelJobRunRequest
266
266
  @return: CancelJobRunResponse
@@ -410,7 +410,7 @@ class Client(OpenApiClient):
410
410
  runtime: util_models.RuntimeOptions,
411
411
  ) -> emr_serverless_spark_20230808_models.GetJobRunResponse:
412
412
  """
413
- @summary 获取任务
413
+ @summary Obtain the job details.
414
414
 
415
415
  @param request: GetJobRunRequest
416
416
  @param headers: map
@@ -450,7 +450,7 @@ class Client(OpenApiClient):
450
450
  runtime: util_models.RuntimeOptions,
451
451
  ) -> emr_serverless_spark_20230808_models.GetJobRunResponse:
452
452
  """
453
- @summary 获取任务
453
+ @summary Obtain the job details.
454
454
 
455
455
  @param request: GetJobRunRequest
456
456
  @param headers: map
@@ -488,7 +488,7 @@ class Client(OpenApiClient):
488
488
  request: emr_serverless_spark_20230808_models.GetJobRunRequest,
489
489
  ) -> emr_serverless_spark_20230808_models.GetJobRunResponse:
490
490
  """
491
- @summary 获取任务
491
+ @summary Obtain the job details.
492
492
 
493
493
  @param request: GetJobRunRequest
494
494
  @return: GetJobRunResponse
@@ -504,7 +504,7 @@ class Client(OpenApiClient):
504
504
  request: emr_serverless_spark_20230808_models.GetJobRunRequest,
505
505
  ) -> emr_serverless_spark_20230808_models.GetJobRunResponse:
506
506
  """
507
- @summary 获取任务
507
+ @summary Obtain the job details.
508
508
 
509
509
  @param request: GetJobRunRequest
510
510
  @return: GetJobRunResponse
@@ -632,7 +632,7 @@ class Client(OpenApiClient):
632
632
  runtime: util_models.RuntimeOptions,
633
633
  ) -> emr_serverless_spark_20230808_models.GrantRoleToUsersResponse:
634
634
  """
635
- @summary 给用户授权Role列表
635
+ @summary Assigns a specified role to users.
636
636
 
637
637
  @param request: GrantRoleToUsersRequest
638
638
  @param headers: map
@@ -676,7 +676,7 @@ class Client(OpenApiClient):
676
676
  runtime: util_models.RuntimeOptions,
677
677
  ) -> emr_serverless_spark_20230808_models.GrantRoleToUsersResponse:
678
678
  """
679
- @summary 给用户授权Role列表
679
+ @summary Assigns a specified role to users.
680
680
 
681
681
  @param request: GrantRoleToUsersRequest
682
682
  @param headers: map
@@ -718,7 +718,7 @@ class Client(OpenApiClient):
718
718
  request: emr_serverless_spark_20230808_models.GrantRoleToUsersRequest,
719
719
  ) -> emr_serverless_spark_20230808_models.GrantRoleToUsersResponse:
720
720
  """
721
- @summary 给用户授权Role列表
721
+ @summary Assigns a specified role to users.
722
722
 
723
723
  @param request: GrantRoleToUsersRequest
724
724
  @return: GrantRoleToUsersResponse
@@ -732,7 +732,7 @@ class Client(OpenApiClient):
732
732
  request: emr_serverless_spark_20230808_models.GrantRoleToUsersRequest,
733
733
  ) -> emr_serverless_spark_20230808_models.GrantRoleToUsersResponse:
734
734
  """
735
- @summary 给用户授权Role列表
735
+ @summary Assigns a specified role to users.
736
736
 
737
737
  @param request: GrantRoleToUsersRequest
738
738
  @return: GrantRoleToUsersResponse
@@ -749,7 +749,7 @@ class Client(OpenApiClient):
749
749
  runtime: util_models.RuntimeOptions,
750
750
  ) -> emr_serverless_spark_20230808_models.ListJobRunsResponse:
751
751
  """
752
- @summary 查询run列表
752
+ @summary Queries a list of Spark jobs.
753
753
 
754
754
  @param tmp_req: ListJobRunsRequest
755
755
  @param headers: map
@@ -820,7 +820,7 @@ class Client(OpenApiClient):
820
820
  runtime: util_models.RuntimeOptions,
821
821
  ) -> emr_serverless_spark_20230808_models.ListJobRunsResponse:
822
822
  """
823
- @summary 查询run列表
823
+ @summary Queries a list of Spark jobs.
824
824
 
825
825
  @param tmp_req: ListJobRunsRequest
826
826
  @param headers: map
@@ -889,7 +889,7 @@ class Client(OpenApiClient):
889
889
  request: emr_serverless_spark_20230808_models.ListJobRunsRequest,
890
890
  ) -> emr_serverless_spark_20230808_models.ListJobRunsResponse:
891
891
  """
892
- @summary 查询run列表
892
+ @summary Queries a list of Spark jobs.
893
893
 
894
894
  @param request: ListJobRunsRequest
895
895
  @return: ListJobRunsResponse
@@ -904,7 +904,7 @@ class Client(OpenApiClient):
904
904
  request: emr_serverless_spark_20230808_models.ListJobRunsRequest,
905
905
  ) -> emr_serverless_spark_20230808_models.ListJobRunsResponse:
906
906
  """
907
- @summary 查询run列表
907
+ @summary Queries a list of Spark jobs.
908
908
 
909
909
  @param request: ListJobRunsRequest
910
910
  @return: ListJobRunsResponse
@@ -1046,6 +1046,8 @@ class Client(OpenApiClient):
1046
1046
  """
1047
1047
  UtilClient.validate_model(request)
1048
1048
  query = {}
1049
+ if not UtilClient.is_unset(request.kind):
1050
+ query['kind'] = request.kind
1049
1051
  if not UtilClient.is_unset(request.max_results):
1050
1052
  query['maxResults'] = request.max_results
1051
1053
  if not UtilClient.is_unset(request.next_token):
@@ -1093,6 +1095,8 @@ class Client(OpenApiClient):
1093
1095
  """
1094
1096
  UtilClient.validate_model(request)
1095
1097
  query = {}
1098
+ if not UtilClient.is_unset(request.kind):
1099
+ query['kind'] = request.kind
1096
1100
  if not UtilClient.is_unset(request.max_results):
1097
1101
  query['maxResults'] = request.max_results
1098
1102
  if not UtilClient.is_unset(request.next_token):
@@ -1272,7 +1276,7 @@ class Client(OpenApiClient):
1272
1276
  runtime: util_models.RuntimeOptions,
1273
1277
  ) -> emr_serverless_spark_20230808_models.ListWorkspacesResponse:
1274
1278
  """
1275
- @summary 查看工作空间列表
1279
+ @summary Queries a list of workspaces.
1276
1280
 
1277
1281
  @param request: ListWorkspacesRequest
1278
1282
  @param headers: map
@@ -1318,7 +1322,7 @@ class Client(OpenApiClient):
1318
1322
  runtime: util_models.RuntimeOptions,
1319
1323
  ) -> emr_serverless_spark_20230808_models.ListWorkspacesResponse:
1320
1324
  """
1321
- @summary 查看工作空间列表
1325
+ @summary Queries a list of workspaces.
1322
1326
 
1323
1327
  @param request: ListWorkspacesRequest
1324
1328
  @param headers: map
@@ -1362,7 +1366,7 @@ class Client(OpenApiClient):
1362
1366
  request: emr_serverless_spark_20230808_models.ListWorkspacesRequest,
1363
1367
  ) -> emr_serverless_spark_20230808_models.ListWorkspacesResponse:
1364
1368
  """
1365
- @summary 查看工作空间列表
1369
+ @summary Queries a list of workspaces.
1366
1370
 
1367
1371
  @param request: ListWorkspacesRequest
1368
1372
  @return: ListWorkspacesResponse
@@ -1376,7 +1380,7 @@ class Client(OpenApiClient):
1376
1380
  request: emr_serverless_spark_20230808_models.ListWorkspacesRequest,
1377
1381
  ) -> emr_serverless_spark_20230808_models.ListWorkspacesResponse:
1378
1382
  """
1379
- @summary 查看工作空间列表
1383
+ @summary Queries a list of workspaces.
1380
1384
 
1381
1385
  @param request: ListWorkspacesRequest
1382
1386
  @return: ListWorkspacesResponse
@@ -1393,7 +1397,7 @@ class Client(OpenApiClient):
1393
1397
  runtime: util_models.RuntimeOptions,
1394
1398
  ) -> emr_serverless_spark_20230808_models.StartJobRunResponse:
1395
1399
  """
1396
- @summary 启动作业
1400
+ @summary Starts a Spark job.
1397
1401
 
1398
1402
  @param request: StartJobRunRequest
1399
1403
  @param headers: map
@@ -1454,7 +1458,7 @@ class Client(OpenApiClient):
1454
1458
  runtime: util_models.RuntimeOptions,
1455
1459
  ) -> emr_serverless_spark_20230808_models.StartJobRunResponse:
1456
1460
  """
1457
- @summary 启动作业
1461
+ @summary Starts a Spark job.
1458
1462
 
1459
1463
  @param request: StartJobRunRequest
1460
1464
  @param headers: map
@@ -1513,7 +1517,7 @@ class Client(OpenApiClient):
1513
1517
  request: emr_serverless_spark_20230808_models.StartJobRunRequest,
1514
1518
  ) -> emr_serverless_spark_20230808_models.StartJobRunResponse:
1515
1519
  """
1516
- @summary 启动作业
1520
+ @summary Starts a Spark job.
1517
1521
 
1518
1522
  @param request: StartJobRunRequest
1519
1523
  @return: StartJobRunResponse
@@ -1528,7 +1532,7 @@ class Client(OpenApiClient):
1528
1532
  request: emr_serverless_spark_20230808_models.StartJobRunRequest,
1529
1533
  ) -> emr_serverless_spark_20230808_models.StartJobRunResponse:
1530
1534
  """
1531
- @summary 启动作业
1535
+ @summary Starts a Spark job.
1532
1536
 
1533
1537
  @param request: StartJobRunRequest
1534
1538
  @return: StartJobRunResponse
@@ -1305,8 +1305,11 @@ class AddMembersRequest(TeaModel):
1305
1305
  ):
1306
1306
  # This parameter is required.
1307
1307
  self.member_arns = member_arns
1308
+ # The workspace ID.
1309
+ #
1308
1310
  # This parameter is required.
1309
1311
  self.workspace_id = workspace_id
1312
+ # The region ID.
1310
1313
  self.region_id = region_id
1311
1314
 
1312
1315
  def validate(self):
@@ -1342,6 +1345,7 @@ class AddMembersResponseBody(TeaModel):
1342
1345
  self,
1343
1346
  request_id: str = None,
1344
1347
  ):
1348
+ # The request ID.
1345
1349
  self.request_id = request_id
1346
1350
 
1347
1351
  def validate(self):
@@ -1410,6 +1414,7 @@ class CancelJobRunRequest(TeaModel):
1410
1414
  self,
1411
1415
  region_id: str = None,
1412
1416
  ):
1417
+ # The region ID.
1413
1418
  self.region_id = region_id
1414
1419
 
1415
1420
  def validate(self):
@@ -1438,8 +1443,9 @@ class CancelJobRunResponseBody(TeaModel):
1438
1443
  job_run_id: str = None,
1439
1444
  request_id: str = None,
1440
1445
  ):
1446
+ # The job ID.
1441
1447
  self.job_run_id = job_run_id
1442
- # 请求ID
1448
+ # The request ID.
1443
1449
  self.request_id = request_id
1444
1450
 
1445
1451
  def validate(self):
@@ -1517,11 +1523,17 @@ class CreateSqlStatementRequest(TeaModel):
1517
1523
  sql_compute_id: str = None,
1518
1524
  region_id: str = None,
1519
1525
  ):
1526
+ # The SQL code. You can specify one or more SQL statements.
1520
1527
  self.code_content = code_content
1528
+ # The default Data Lake Formation (DLF) catalog ID.
1521
1529
  self.default_catalog = default_catalog
1530
+ # The name of the default database.
1522
1531
  self.default_database = default_database
1532
+ # The maximum number of entries to return. Valid values: 1 to 10000.
1523
1533
  self.limit = limit
1534
+ # The SQL Compute ID. You can create an SQL Compute in the workspace created in EMR Serverless Spark.
1524
1535
  self.sql_compute_id = sql_compute_id
1536
+ # The region ID.
1525
1537
  self.region_id = region_id
1526
1538
 
1527
1539
  def validate(self):
@@ -1569,6 +1581,7 @@ class CreateSqlStatementResponseBodyData(TeaModel):
1569
1581
  self,
1570
1582
  statement_id: str = None,
1571
1583
  ):
1584
+ # The ID of the SQL query.
1572
1585
  self.statement_id = statement_id
1573
1586
 
1574
1587
  def validate(self):
@@ -1597,7 +1610,9 @@ class CreateSqlStatementResponseBody(TeaModel):
1597
1610
  data: CreateSqlStatementResponseBodyData = None,
1598
1611
  request_id: str = None,
1599
1612
  ):
1613
+ # The data returned.
1600
1614
  self.data = data
1615
+ # The request ID.
1601
1616
  self.request_id = request_id
1602
1617
 
1603
1618
  def validate(self):
@@ -1672,6 +1687,7 @@ class GetJobRunRequest(TeaModel):
1672
1687
  self,
1673
1688
  region_id: str = None,
1674
1689
  ):
1690
+ # The region ID.
1675
1691
  self.region_id = region_id
1676
1692
 
1677
1693
  def validate(self):
@@ -1699,6 +1715,7 @@ class GetJobRunResponseBodyJobRunConfigurationOverrides(TeaModel):
1699
1715
  self,
1700
1716
  configurations: List[Configuration] = None,
1701
1717
  ):
1718
+ # The configurations.
1702
1719
  self.configurations = configurations
1703
1720
 
1704
1721
  def validate(self):
@@ -1735,7 +1752,9 @@ class GetJobRunResponseBodyJobRunStateChangeReason(TeaModel):
1735
1752
  code: str = None,
1736
1753
  message: str = None,
1737
1754
  ):
1755
+ # The error code.
1738
1756
  self.code = code
1757
+ # The error message.
1739
1758
  self.message = message
1740
1759
 
1741
1760
  def validate(self):
@@ -1783,33 +1802,43 @@ class GetJobRunResponseBodyJobRun(TeaModel):
1783
1802
  web_ui: str = None,
1784
1803
  workspace_id: str = None,
1785
1804
  ):
1786
- # 作业代码类型。
1805
+ # The code type of the job. Valid values:
1806
+ #
1807
+ # * SQL
1808
+ # * JAR
1809
+ # * PYTHON
1787
1810
  self.code_type = code_type
1811
+ # The task configurations of Spark.
1788
1812
  self.configuration_overrides = configuration_overrides
1789
- # 作业结束时间。
1813
+ # The end time of the job.
1790
1814
  self.end_time = end_time
1791
- # 运行超时时间。
1815
+ # The timeout period of the job.
1792
1816
  self.execution_timeout_seconds = execution_timeout_seconds
1817
+ # The information about Spark Driver.
1793
1818
  self.job_driver = job_driver
1794
- # 任务实例ID
1819
+ # The job ID.
1795
1820
  self.job_run_id = job_run_id
1821
+ # The path where the operational logs are stored.
1796
1822
  self.log = log
1797
- # 作业实例名称。
1823
+ # The job name.
1798
1824
  self.name = name
1825
+ # The version of the Spark engine on which the job runs.
1799
1826
  self.release_version = release_version
1800
- # 创建用户Uid。
1827
+ # The ID of the user who created the job.
1801
1828
  self.resource_owner_id = resource_owner_id
1829
+ # The name of the queue on which the job runs.
1802
1830
  self.resource_queue_id = resource_queue_id
1803
- # 作业状态。
1831
+ # The job state.
1804
1832
  self.state = state
1833
+ # The reason of the job status change.
1805
1834
  self.state_change_reason = state_change_reason
1806
- # 作业提交时间。
1835
+ # The time when the job was submitted.
1807
1836
  self.submit_time = submit_time
1808
- # 标签。
1837
+ # The tags of the job.
1809
1838
  self.tags = tags
1810
- # 作业web ui。
1839
+ # The web UI of the job.
1811
1840
  self.web_ui = web_ui
1812
- # 工作空间id。
1841
+ # The workspace ID.
1813
1842
  self.workspace_id = workspace_id
1814
1843
 
1815
1844
  def validate(self):
@@ -1922,8 +1951,9 @@ class GetJobRunResponseBody(TeaModel):
1922
1951
  job_run: GetJobRunResponseBodyJobRun = None,
1923
1952
  request_id: str = None,
1924
1953
  ):
1954
+ # The details of the job.
1925
1955
  self.job_run = job_run
1926
- # 请求ID
1956
+ # The request ID.
1927
1957
  self.request_id = request_id
1928
1958
 
1929
1959
  def validate(self):
@@ -1998,6 +2028,7 @@ class GetSqlStatementRequest(TeaModel):
1998
2028
  self,
1999
2029
  region_id: str = None,
2000
2030
  ):
2031
+ # The region ID.
2001
2032
  self.region_id = region_id
2002
2033
 
2003
2034
  def validate(self):
@@ -2026,7 +2057,9 @@ class GetSqlStatementResponseBodyDataSqlOutputs(TeaModel):
2026
2057
  rows: str = None,
2027
2058
  schema: str = None,
2028
2059
  ):
2060
+ # The queried data, which is a string in the JSON format.
2029
2061
  self.rows = rows
2062
+ # The information about the schema, which is a string in the JSON format.
2030
2063
  self.schema = schema
2031
2064
 
2032
2065
  def validate(self):
@@ -2063,11 +2096,25 @@ class GetSqlStatementResponseBodyData(TeaModel):
2063
2096
  state: str = None,
2064
2097
  statement_id: str = None,
2065
2098
  ):
2099
+ # The list of time that is consumed by SQL queries.
2066
2100
  self.execution_time = execution_time
2101
+ # The error code.
2067
2102
  self.sql_error_code = sql_error_code
2103
+ # The error message.
2068
2104
  self.sql_error_message = sql_error_message
2105
+ # The query results.
2069
2106
  self.sql_outputs = sql_outputs
2107
+ # The query status.
2108
+ #
2109
+ # Valid values:
2110
+ #
2111
+ # * running
2112
+ # * available
2113
+ # * cancelled
2114
+ # * error
2115
+ # * cancelling
2070
2116
  self.state = state
2117
+ # The query ID.
2071
2118
  self.statement_id = statement_id
2072
2119
 
2073
2120
  def validate(self):
@@ -2124,7 +2171,9 @@ class GetSqlStatementResponseBody(TeaModel):
2124
2171
  data: GetSqlStatementResponseBodyData = None,
2125
2172
  request_id: str = None,
2126
2173
  ):
2174
+ # The data returned.
2127
2175
  self.data = data
2176
+ # The request ID.
2128
2177
  self.request_id = request_id
2129
2178
 
2130
2179
  def validate(self):
@@ -2201,8 +2250,10 @@ class GrantRoleToUsersRequest(TeaModel):
2201
2250
  user_arns: List[str] = None,
2202
2251
  region_id: str = None,
2203
2252
  ):
2253
+ # The Alibaba Cloud Resource Name (ARN) of the role.
2204
2254
  self.role_arn = role_arn
2205
2255
  self.user_arns = user_arns
2256
+ # The region ID.
2206
2257
  self.region_id = region_id
2207
2258
 
2208
2259
  def validate(self):
@@ -2238,6 +2289,7 @@ class GrantRoleToUsersResponseBody(TeaModel):
2238
2289
  self,
2239
2290
  request_id: str = None,
2240
2291
  ):
2292
+ # The request ID.
2241
2293
  self.request_id = request_id
2242
2294
 
2243
2295
  def validate(self):
@@ -2307,7 +2359,9 @@ class ListJobRunsRequestEndTime(TeaModel):
2307
2359
  end_time: int = None,
2308
2360
  start_time: int = None,
2309
2361
  ):
2362
+ # The end of the end time range.
2310
2363
  self.end_time = end_time
2364
+ # The beginning of the end time range.
2311
2365
  self.start_time = start_time
2312
2366
 
2313
2367
  def validate(self):
@@ -2340,7 +2394,9 @@ class ListJobRunsRequestStartTime(TeaModel):
2340
2394
  end_time: int = None,
2341
2395
  start_time: int = None,
2342
2396
  ):
2397
+ # The end of the start time range.
2343
2398
  self.end_time = end_time
2399
+ # The beginning of the start time range.
2344
2400
  self.start_time = start_time
2345
2401
 
2346
2402
  def validate(self):
@@ -2373,7 +2429,9 @@ class ListJobRunsRequestTags(TeaModel):
2373
2429
  key: str = None,
2374
2430
  value: str = None,
2375
2431
  ):
2432
+ # The key of tag N.
2376
2433
  self.key = key
2434
+ # The value of tag N.
2377
2435
  self.value = value
2378
2436
 
2379
2437
  def validate(self):
@@ -2416,24 +2474,28 @@ class ListJobRunsRequest(TeaModel):
2416
2474
  states: List[str] = None,
2417
2475
  tags: List[ListJobRunsRequestTags] = None,
2418
2476
  ):
2419
- # 创建用户Uid。
2477
+ # The ID of the user who creates a Spark job.
2420
2478
  self.creator = creator
2479
+ # The range of end time.
2421
2480
  self.end_time = end_time
2422
2481
  self.job_run_deployment_id = job_run_deployment_id
2423
- # 作业id。
2482
+ # The job ID.
2424
2483
  self.job_run_id = job_run_id
2425
- # 一次获取的最大记录数。
2484
+ # The maximum number of entries to return.
2426
2485
  self.max_results = max_results
2427
- # 作业名称。
2486
+ # The job name.
2428
2487
  self.name = name
2429
- # 标记当前开始读取的位置,置空表示从头开始。
2488
+ # The pagination token that is used in the request to retrieve a new page of results.
2430
2489
  self.next_token = next_token
2490
+ # The region ID.
2431
2491
  self.region_id = region_id
2492
+ # The name of the resource queue on which the Spark jobs run.
2432
2493
  self.resource_queue_id = resource_queue_id
2494
+ # The range of start time.
2433
2495
  self.start_time = start_time
2434
- # 作业状态。
2496
+ # The job states.
2435
2497
  self.states = states
2436
- # 标签。
2498
+ # The tags of the job.
2437
2499
  self.tags = tags
2438
2500
 
2439
2501
  def validate(self):
@@ -2530,24 +2592,28 @@ class ListJobRunsShrinkRequest(TeaModel):
2530
2592
  states_shrink: str = None,
2531
2593
  tags_shrink: str = None,
2532
2594
  ):
2533
- # 创建用户Uid。
2595
+ # The ID of the user who creates a Spark job.
2534
2596
  self.creator = creator
2597
+ # The range of end time.
2535
2598
  self.end_time_shrink = end_time_shrink
2536
2599
  self.job_run_deployment_id = job_run_deployment_id
2537
- # 作业id。
2600
+ # The job ID.
2538
2601
  self.job_run_id = job_run_id
2539
- # 一次获取的最大记录数。
2602
+ # The maximum number of entries to return.
2540
2603
  self.max_results = max_results
2541
- # 作业名称。
2604
+ # The job name.
2542
2605
  self.name = name
2543
- # 标记当前开始读取的位置,置空表示从头开始。
2606
+ # The pagination token that is used in the request to retrieve a new page of results.
2544
2607
  self.next_token = next_token
2608
+ # The region ID.
2545
2609
  self.region_id = region_id
2610
+ # The name of the resource queue on which the Spark jobs run.
2546
2611
  self.resource_queue_id = resource_queue_id
2612
+ # The range of start time.
2547
2613
  self.start_time_shrink = start_time_shrink
2548
- # 作业状态。
2614
+ # The job states.
2549
2615
  self.states_shrink = states_shrink
2550
- # 标签。
2616
+ # The tags of the job.
2551
2617
  self.tags_shrink = tags_shrink
2552
2618
 
2553
2619
  def validate(self):
@@ -2619,6 +2685,7 @@ class ListJobRunsResponseBodyJobRunsConfigurationOverrides(TeaModel):
2619
2685
  self,
2620
2686
  configurations: List[Configuration] = None,
2621
2687
  ):
2688
+ # The SparkConf objects.
2622
2689
  self.configurations = configurations
2623
2690
 
2624
2691
  def validate(self):
@@ -2655,7 +2722,9 @@ class ListJobRunsResponseBodyJobRunsStateChangeReason(TeaModel):
2655
2722
  code: str = None,
2656
2723
  message: str = None,
2657
2724
  ):
2725
+ # The error code.
2658
2726
  self.code = code
2727
+ # The error message.
2659
2728
  self.message = message
2660
2729
 
2661
2730
  def validate(self):
@@ -2702,32 +2771,43 @@ class ListJobRunsResponseBodyJobRuns(TeaModel):
2702
2771
  web_ui: str = None,
2703
2772
  workspace_id: str = None,
2704
2773
  ):
2705
- # 作业代码类型。
2774
+ # The code type of the job. Valid values:
2775
+ #
2776
+ # SQL
2777
+ #
2778
+ # JAR
2779
+ #
2780
+ # PYTHON
2706
2781
  self.code_type = code_type
2782
+ # The advanced configurations of Spark.
2707
2783
  self.configuration_overrides = configuration_overrides
2708
- # 创建用户Uid。
2784
+ # The ID of the user who created the job.
2709
2785
  self.creator = creator
2710
- # 作业结束时间。
2786
+ # The end time of the job.
2711
2787
  self.end_time = end_time
2712
- # 运行超时时间。
2788
+ # The timeout period of the job.
2713
2789
  self.execution_timeout_seconds = execution_timeout_seconds
2790
+ # The information about Spark Driver.
2714
2791
  self.job_driver = job_driver
2715
- # 任务实例ID
2792
+ # The job ID.
2716
2793
  self.job_run_id = job_run_id
2794
+ # The path where the operational logs are stored.
2717
2795
  self.log = log
2718
- # 作业实例名称。
2796
+ # The job name.
2719
2797
  self.name = name
2798
+ # The version of Spark on which the jobs run.
2720
2799
  self.release_version = release_version
2721
- # 作业状态。
2800
+ # The job state.
2722
2801
  self.state = state
2802
+ # The reason of the job status change.
2723
2803
  self.state_change_reason = state_change_reason
2724
- # 作业提交时间。
2804
+ # The time when the job was submitted.
2725
2805
  self.submit_time = submit_time
2726
- # 标签。
2806
+ # The tags of the job.
2727
2807
  self.tags = tags
2728
- # 作业web ui。
2808
+ # The web UI of the job.
2729
2809
  self.web_ui = web_ui
2730
- # 工作空间id。
2810
+ # The workspace ID.
2731
2811
  self.workspace_id = workspace_id
2732
2812
 
2733
2813
  def validate(self):
@@ -2839,14 +2919,15 @@ class ListJobRunsResponseBody(TeaModel):
2839
2919
  request_id: str = None,
2840
2920
  total_count: int = None,
2841
2921
  ):
2922
+ # The list of Spark jobs.
2842
2923
  self.job_runs = job_runs
2843
- # 本次请求所返回的最大记录条数。
2924
+ # The maximum number of entries returned.
2844
2925
  self.max_results = max_results
2845
- # 返回读取到的数据位置,空代表数据已经读取完毕。
2926
+ # A pagination token. It can be used in the next request to retrieve a new page of results.
2846
2927
  self.next_token = next_token
2847
- # 请求ID
2928
+ # The request ID.
2848
2929
  self.request_id = request_id
2849
- # 本次请求条件下的数据总量。
2930
+ # The total number of entries returned.
2850
2931
  self.total_count = total_count
2851
2932
 
2852
2933
  def validate(self):
@@ -2942,9 +3023,23 @@ class ListReleaseVersionsRequest(TeaModel):
2942
3023
  release_version: str = None,
2943
3024
  release_version_status: str = None,
2944
3025
  ):
3026
+ # The region ID.
2945
3027
  self.region_id = region_id
3028
+ # The type of the version.
3029
+ #
3030
+ # Valid values:
3031
+ #
3032
+ # * stable
3033
+ # * beta
2946
3034
  self.release_type = release_type
3035
+ # The version of Serverless Spark.
2947
3036
  self.release_version = release_version
3037
+ # The status of the version. Valid values:
3038
+ #
3039
+ # Valid values:
3040
+ #
3041
+ # * ONLINE
3042
+ # * OFFLINE
2948
3043
  self.release_version_status = release_version_status
2949
3044
 
2950
3045
  def validate(self):
@@ -2991,13 +3086,21 @@ class ListReleaseVersionsResponseBodyReleaseVersions(TeaModel):
2991
3086
  state: str = None,
2992
3087
  type: str = None,
2993
3088
  ):
3089
+ # The version number of open source Spark.
2994
3090
  self.community_version = community_version
3091
+ # The CPU architectures.
2995
3092
  self.cpu_architectures = cpu_architectures
3093
+ # The creation time.
2996
3094
  self.gmt_create = gmt_create
3095
+ # The type of the Infrastructure as a Service (IaaS) layer.
2997
3096
  self.iaas_type = iaas_type
3097
+ # The version.
2998
3098
  self.release_version = release_version
3099
+ # The version of Scala.
2999
3100
  self.scala_version = scala_version
3101
+ # The status of the version.
3000
3102
  self.state = state
3103
+ # The type of the version.
3001
3104
  self.type = type
3002
3105
 
3003
3106
  def validate(self):
@@ -3057,14 +3160,15 @@ class ListReleaseVersionsResponseBody(TeaModel):
3057
3160
  request_id: str = None,
3058
3161
  total_count: int = None,
3059
3162
  ):
3060
- # 一次获取的最大记录数。
3163
+ # The maximum number of entries returned.
3061
3164
  self.max_results = max_results
3062
- # 下一页TOKEN。
3165
+ # A pagination token. It can be used in the next request to retrieve a new page of results.
3063
3166
  self.next_token = next_token
3167
+ # The versions.
3064
3168
  self.release_versions = release_versions
3065
- # 请求ID
3169
+ # The request ID.
3066
3170
  self.request_id = request_id
3067
- # 记录总数。
3171
+ # The total number of entries returned.
3068
3172
  self.total_count = total_count
3069
3173
 
3070
3174
  def validate(self):
@@ -3155,19 +3259,23 @@ class ListReleaseVersionsResponse(TeaModel):
3155
3259
  class ListSessionClustersRequest(TeaModel):
3156
3260
  def __init__(
3157
3261
  self,
3262
+ kind: str = None,
3158
3263
  max_results: int = None,
3159
3264
  next_token: str = None,
3160
3265
  queue_name: str = None,
3161
3266
  region_id: str = None,
3162
3267
  session_cluster_id: str = None,
3163
3268
  ):
3164
- # 一次获取的最大记录数。
3269
+ self.kind = kind
3270
+ # The maximum number of entries to return.
3165
3271
  self.max_results = max_results
3166
- # 标记当前开始读取的位置,置空表示从头开始。
3272
+ # The pagination token that is used in the request to retrieve a new page of results.
3167
3273
  self.next_token = next_token
3274
+ # The name of the queue.
3168
3275
  self.queue_name = queue_name
3276
+ # The region ID.
3169
3277
  self.region_id = region_id
3170
- # 作业名称。
3278
+ # The name of the job.
3171
3279
  self.session_cluster_id = session_cluster_id
3172
3280
 
3173
3281
  def validate(self):
@@ -3179,6 +3287,8 @@ class ListSessionClustersRequest(TeaModel):
3179
3287
  return _map
3180
3288
 
3181
3289
  result = dict()
3290
+ if self.kind is not None:
3291
+ result['kind'] = self.kind
3182
3292
  if self.max_results is not None:
3183
3293
  result['maxResults'] = self.max_results
3184
3294
  if self.next_token is not None:
@@ -3193,6 +3303,8 @@ class ListSessionClustersRequest(TeaModel):
3193
3303
 
3194
3304
  def from_map(self, m: dict = None):
3195
3305
  m = m or dict()
3306
+ if m.get('kind') is not None:
3307
+ self.kind = m.get('kind')
3196
3308
  if m.get('maxResults') is not None:
3197
3309
  self.max_results = m.get('maxResults')
3198
3310
  if m.get('nextToken') is not None:
@@ -3213,8 +3325,11 @@ class ListSessionClustersResponseBodySessionClustersApplicationConfigs(TeaModel)
3213
3325
  config_item_key: str = None,
3214
3326
  config_item_value: str = None,
3215
3327
  ):
3328
+ # The name of the configuration file.
3216
3329
  self.config_file_name = config_file_name
3330
+ # The key of the configuration item.
3217
3331
  self.config_item_key = config_item_key
3332
+ # The value of the configuration item.
3218
3333
  self.config_item_value = config_item_value
3219
3334
 
3220
3335
  def validate(self):
@@ -3250,6 +3365,7 @@ class ListSessionClustersResponseBodySessionClustersAutoStartConfiguration(TeaMo
3250
3365
  self,
3251
3366
  enable: bool = None,
3252
3367
  ):
3368
+ # Indicates whether automatic startup is enabled.
3253
3369
  self.enable = enable
3254
3370
 
3255
3371
  def validate(self):
@@ -3278,7 +3394,9 @@ class ListSessionClustersResponseBodySessionClustersAutoStopConfiguration(TeaMod
3278
3394
  enable: bool = None,
3279
3395
  idle_timeout_minutes: int = None,
3280
3396
  ):
3397
+ # Indicates whether automatic termination is enabled.
3281
3398
  self.enable = enable
3399
+ # The idle timeout period. The SQL Compute is automatically terminated if the idle timeout period is exceeded.
3282
3400
  self.idle_timeout_minutes = idle_timeout_minutes
3283
3401
 
3284
3402
  def validate(self):
@@ -3311,7 +3429,9 @@ class ListSessionClustersResponseBodySessionClustersStateChangeReason(TeaModel):
3311
3429
  code: str = None,
3312
3430
  message: str = None,
3313
3431
  ):
3432
+ # The status change code.
3314
3433
  self.code = code
3434
+ # The status change message.
3315
3435
  self.message = message
3316
3436
 
3317
3437
  def validate(self):
@@ -3344,30 +3464,46 @@ class ListSessionClustersResponseBodySessionClusters(TeaModel):
3344
3464
  application_configs: List[ListSessionClustersResponseBodySessionClustersApplicationConfigs] = None,
3345
3465
  auto_start_configuration: ListSessionClustersResponseBodySessionClustersAutoStartConfiguration = None,
3346
3466
  auto_stop_configuration: ListSessionClustersResponseBodySessionClustersAutoStopConfiguration = None,
3467
+ domain: str = None,
3468
+ draft_id: str = None,
3469
+ kind: str = None,
3347
3470
  name: str = None,
3348
3471
  queue_name: str = None,
3472
+ release_version: str = None,
3349
3473
  session_cluster_id: str = None,
3350
3474
  state: str = None,
3351
3475
  state_change_reason: ListSessionClustersResponseBodySessionClustersStateChangeReason = None,
3352
3476
  user_id: str = None,
3353
3477
  user_name: str = None,
3478
+ web_ui: str = None,
3354
3479
  workspace_id: str = None,
3355
3480
  ):
3481
+ # The SQL Compute configurations, which are equivalent to the configurations of the Spark job.
3356
3482
  self.application_configs = application_configs
3483
+ # The automatic startup configurations.
3357
3484
  self.auto_start_configuration = auto_start_configuration
3485
+ # The automatic termination configurations.
3358
3486
  self.auto_stop_configuration = auto_stop_configuration
3487
+ self.domain = domain
3488
+ self.draft_id = draft_id
3489
+ self.kind = kind
3490
+ # The name of the SQL Compute.
3359
3491
  self.name = name
3360
- # 作业实例名称。
3492
+ # The name of the queue on which the SQL Compute runs.
3361
3493
  self.queue_name = queue_name
3362
- # SQL Compute id
3494
+ self.release_version = release_version
3495
+ # The SQL Compute ID.
3363
3496
  self.session_cluster_id = session_cluster_id
3364
- # 作业状态。
3497
+ # The status of the SQL Compute.
3365
3498
  self.state = state
3499
+ # The details of the last status change of the SQL Compute.
3366
3500
  self.state_change_reason = state_change_reason
3367
- # 任务实例ID
3501
+ # The user ID.
3368
3502
  self.user_id = user_id
3503
+ # The name of the user.
3369
3504
  self.user_name = user_name
3370
- # 工作空间id。
3505
+ self.web_ui = web_ui
3506
+ # The workspace ID.
3371
3507
  self.workspace_id = workspace_id
3372
3508
 
3373
3509
  def validate(self):
@@ -3396,10 +3532,18 @@ class ListSessionClustersResponseBodySessionClusters(TeaModel):
3396
3532
  result['autoStartConfiguration'] = self.auto_start_configuration.to_map()
3397
3533
  if self.auto_stop_configuration is not None:
3398
3534
  result['autoStopConfiguration'] = self.auto_stop_configuration.to_map()
3535
+ if self.domain is not None:
3536
+ result['domain'] = self.domain
3537
+ if self.draft_id is not None:
3538
+ result['draftId'] = self.draft_id
3539
+ if self.kind is not None:
3540
+ result['kind'] = self.kind
3399
3541
  if self.name is not None:
3400
3542
  result['name'] = self.name
3401
3543
  if self.queue_name is not None:
3402
3544
  result['queueName'] = self.queue_name
3545
+ if self.release_version is not None:
3546
+ result['releaseVersion'] = self.release_version
3403
3547
  if self.session_cluster_id is not None:
3404
3548
  result['sessionClusterId'] = self.session_cluster_id
3405
3549
  if self.state is not None:
@@ -3410,6 +3554,8 @@ class ListSessionClustersResponseBodySessionClusters(TeaModel):
3410
3554
  result['userId'] = self.user_id
3411
3555
  if self.user_name is not None:
3412
3556
  result['userName'] = self.user_name
3557
+ if self.web_ui is not None:
3558
+ result['webUI'] = self.web_ui
3413
3559
  if self.workspace_id is not None:
3414
3560
  result['workspaceId'] = self.workspace_id
3415
3561
  return result
@@ -3427,10 +3573,18 @@ class ListSessionClustersResponseBodySessionClusters(TeaModel):
3427
3573
  if m.get('autoStopConfiguration') is not None:
3428
3574
  temp_model = ListSessionClustersResponseBodySessionClustersAutoStopConfiguration()
3429
3575
  self.auto_stop_configuration = temp_model.from_map(m['autoStopConfiguration'])
3576
+ if m.get('domain') is not None:
3577
+ self.domain = m.get('domain')
3578
+ if m.get('draftId') is not None:
3579
+ self.draft_id = m.get('draftId')
3580
+ if m.get('kind') is not None:
3581
+ self.kind = m.get('kind')
3430
3582
  if m.get('name') is not None:
3431
3583
  self.name = m.get('name')
3432
3584
  if m.get('queueName') is not None:
3433
3585
  self.queue_name = m.get('queueName')
3586
+ if m.get('releaseVersion') is not None:
3587
+ self.release_version = m.get('releaseVersion')
3434
3588
  if m.get('sessionClusterId') is not None:
3435
3589
  self.session_cluster_id = m.get('sessionClusterId')
3436
3590
  if m.get('state') is not None:
@@ -3442,6 +3596,8 @@ class ListSessionClustersResponseBodySessionClusters(TeaModel):
3442
3596
  self.user_id = m.get('userId')
3443
3597
  if m.get('userName') is not None:
3444
3598
  self.user_name = m.get('userName')
3599
+ if m.get('webUI') is not None:
3600
+ self.web_ui = m.get('webUI')
3445
3601
  if m.get('workspaceId') is not None:
3446
3602
  self.workspace_id = m.get('workspaceId')
3447
3603
  return self
@@ -3456,14 +3612,15 @@ class ListSessionClustersResponseBody(TeaModel):
3456
3612
  session_clusters: List[ListSessionClustersResponseBodySessionClusters] = None,
3457
3613
  total_count: int = None,
3458
3614
  ):
3459
- # 本次请求所返回的最大记录条数。
3615
+ # The maximum number of entries returned.
3460
3616
  self.max_results = max_results
3461
- # 返回读取到的数据位置,空代表数据已经读取完毕。
3617
+ # A pagination token. It can be used in the next request to retrieve a new page of results.
3462
3618
  self.next_token = next_token
3463
- # 请求ID
3619
+ # The request ID.
3464
3620
  self.request_id = request_id
3621
+ # The SQL Computes.
3465
3622
  self.session_clusters = session_clusters
3466
- # 本次请求条件下的数据总量。
3623
+ # The total number of entries returned.
3467
3624
  self.total_count = total_count
3468
3625
 
3469
3626
  def validate(self):
@@ -3557,7 +3714,14 @@ class ListWorkspaceQueuesRequest(TeaModel):
3557
3714
  environment: str = None,
3558
3715
  region_id: str = None,
3559
3716
  ):
3717
+ # The environment type.
3718
+ #
3719
+ # Valid values:
3720
+ #
3721
+ # * dev
3722
+ # * production
3560
3723
  self.environment = environment
3724
+ # The region ID.
3561
3725
  self.region_id = region_id
3562
3726
 
3563
3727
  def validate(self):
@@ -3593,15 +3757,15 @@ class ListWorkspaceQueuesResponseBodyQueuesAllowActions(TeaModel):
3593
3757
  description: str = None,
3594
3758
  display_name: str = None,
3595
3759
  ):
3596
- # 行为 arn。
3760
+ # The Alibaba Cloud Resource Name (ARN) of a behavior.
3597
3761
  self.action_arn = action_arn
3598
- # 权限名称。
3762
+ # The name of the permission.
3599
3763
  self.action_name = action_name
3600
- # action 依赖列表。
3764
+ # The dependencies of the operation.
3601
3765
  self.dependencies = dependencies
3602
- # action 描述。
3766
+ # The description of the operation.
3603
3767
  self.description = description
3604
- # 权限展示名称。
3768
+ # The display name of the permission.
3605
3769
  self.display_name = display_name
3606
3770
 
3607
3771
  def validate(self):
@@ -3657,28 +3821,31 @@ class ListWorkspaceQueuesResponseBodyQueues(TeaModel):
3657
3821
  used_resource: str = None,
3658
3822
  workspace_id: str = None,
3659
3823
  ):
3660
- # 队列允许的操作
3824
+ # The operations allowed for the queue.
3661
3825
  self.allow_actions = allow_actions
3826
+ # The ID of the user who created the queue.
3662
3827
  self.creator = creator
3828
+ # The environment types of the queue.
3663
3829
  self.environments = environments
3664
- # 队列资源最大容量
3830
+ # The maximum capacity of resources that can be used in the queue.
3665
3831
  self.max_resource = max_resource
3666
- # 队列资源最小容量
3832
+ # The minimum capacity of resources that can be used in the queue.
3667
3833
  self.min_resource = min_resource
3668
- # 队列Label
3834
+ # The queue label.
3669
3835
  self.properties = properties
3670
- # 队列名称。
3836
+ # The name of the queue.
3671
3837
  self.queue_name = queue_name
3672
- # 队列架构
3838
+ # The queue architecture.
3673
3839
  self.queue_scope = queue_scope
3840
+ # The status of the queue.
3674
3841
  self.queue_status = queue_status
3675
- # 队列类型
3842
+ # The queue type.
3676
3843
  self.queue_type = queue_type
3677
- # regionId。
3844
+ # The region ID.
3678
3845
  self.region_id = region_id
3679
- # 队列资源使用容量
3846
+ # The capacity of resources that are used in the queue.
3680
3847
  self.used_resource = used_resource
3681
- # 工作空间id。
3848
+ # The workspace ID.
3682
3849
  self.workspace_id = workspace_id
3683
3850
 
3684
3851
  def validate(self):
@@ -3766,14 +3933,15 @@ class ListWorkspaceQueuesResponseBody(TeaModel):
3766
3933
  request_id: str = None,
3767
3934
  total_count: int = None,
3768
3935
  ):
3769
- # 一次获取的最大记录数。
3936
+ # The maximum number of entries returned.
3770
3937
  self.max_results = max_results
3771
- # 下一页TOKEN。
3938
+ # A pagination token. It can be used in the next request to retrieve a new page of results.
3772
3939
  self.next_token = next_token
3940
+ # The list of queues.
3773
3941
  self.queues = queues
3774
- # 请求ID
3942
+ # The request ID.
3775
3943
  self.request_id = request_id
3776
- # 记录总数。
3944
+ # The total number of entries returned.
3777
3945
  self.total_count = total_count
3778
3946
 
3779
3947
  def validate(self):
@@ -3870,12 +4038,15 @@ class ListWorkspacesRequest(TeaModel):
3870
4038
  region_id: str = None,
3871
4039
  state: str = None,
3872
4040
  ):
3873
- # 一次获取的最大记录数。
4041
+ # The maximum number of entries to return.
3874
4042
  self.max_results = max_results
4043
+ # Fuzzy match is supported.
3875
4044
  self.name = name
3876
- # 标记当前开始读取的位置,置空表示从头开始。
4045
+ # The pagination token that is used in the next request to retrieve a new page of results.
3877
4046
  self.next_token = next_token
4047
+ # The region ID.
3878
4048
  self.region_id = region_id
4049
+ # The workspace status.
3879
4050
  self.state = state
3880
4051
 
3881
4052
  def validate(self):
@@ -3920,7 +4091,9 @@ class ListWorkspacesResponseBodyWorkspacesStateChangeReason(TeaModel):
3920
4091
  code: str = None,
3921
4092
  message: str = None,
3922
4093
  ):
4094
+ # The error code.
3923
4095
  self.code = code
4096
+ # The error message.
3924
4097
  self.message = message
3925
4098
 
3926
4099
  def validate(self):
@@ -3970,38 +4143,43 @@ class ListWorkspacesResponseBodyWorkspaces(TeaModel):
3970
4143
  workspace_name: str = None,
3971
4144
  workspace_status: str = None,
3972
4145
  ):
3973
- # 是否自动续费(pre付费类型必须)。
4146
+ # Indicates whether auto-renewal is enabled. This parameter is required only if the paymentType parameter is set to Subscription.
3974
4147
  self.auto_renew = auto_renew
3975
- # 自动续费时长(pre付费类型必须)。
4148
+ # The auto-renewal duration. This parameter is required only if the paymentType parameter is set to Subscription.
3976
4149
  self.auto_renew_period = auto_renew_period
3977
- # 自动续费周期(pre付费类型必须)。
4150
+ # The unit of the auto-renewal duration. This parameter is required only if the paymentType parameter is set to Subscription.
3978
4151
  self.auto_renew_period_unit = auto_renew_period_unit
4152
+ # The time when the workspace was created.
3979
4153
  self.create_time = create_time
3980
- # dlf catalog 信息。
4154
+ # The information of the Data Lake Formation (DLF) catalog.
3981
4155
  self.dlf_catalog_id = dlf_catalog_id
3982
- # 订购周期数量(pre付费类型必须)。
4156
+ # The subscription period. This parameter is required only if the paymentType parameter is set to Subscription.
3983
4157
  self.duration = duration
4158
+ # The time when the workspace was released.
3984
4159
  self.end_time = end_time
3985
- # 失败原因。
4160
+ # The reason for the failure.
3986
4161
  self.fail_reason = fail_reason
3987
- # 订购周期(pre付费类型必须)。
4162
+ # The unit of the subscription duration. This parameter is required only if the paymentType parameter is set to Subscription.
3988
4163
  self.payment_duration_unit = payment_duration_unit
3989
- # 支付状态。
4164
+ # The status of the payment.
3990
4165
  self.payment_status = payment_status
3991
- # 付费类型。
4166
+ # The payment type.
3992
4167
  self.payment_type = payment_type
4168
+ # The region ID.
3993
4169
  self.region_id = region_id
4170
+ # The reason why the workspace is released.
3994
4171
  self.release_type = release_type
3995
- # 资源规格。
4172
+ # The resource specifications.
3996
4173
  self.resource_spec = resource_spec
4174
+ # The information about the workspace status change.
3997
4175
  self.state_change_reason = state_change_reason
3998
- # oss 路径。
4176
+ # The Object Storage Service (OSS) path.
3999
4177
  self.storage = storage
4000
- # Workspace Id。
4178
+ # The workspace ID.
4001
4179
  self.workspace_id = workspace_id
4002
- # 工作空间名称。
4180
+ # The name of the workspace.
4003
4181
  self.workspace_name = workspace_name
4004
- # 工作空间状态。
4182
+ # The workspace status.
4005
4183
  self.workspace_status = workspace_status
4006
4184
 
4007
4185
  def validate(self):
@@ -4107,14 +4285,15 @@ class ListWorkspacesResponseBody(TeaModel):
4107
4285
  total_count: int = None,
4108
4286
  workspaces: List[ListWorkspacesResponseBodyWorkspaces] = None,
4109
4287
  ):
4110
- # 一次获取的最大记录数。
4288
+ # The maximum number of entries returned.
4111
4289
  self.max_results = max_results
4112
- # 下一页TOKEN。
4290
+ # A pagination token. It can be used in the next request to retrieve a new page of results.
4113
4291
  self.next_token = next_token
4114
- # 请求ID
4292
+ # The request ID.
4115
4293
  self.request_id = request_id
4116
- # 记录总数。
4294
+ # The total number of entries returned.
4117
4295
  self.total_count = total_count
4296
+ # The workspaces.
4118
4297
  self.workspaces = workspaces
4119
4298
 
4120
4299
  def validate(self):
@@ -4209,8 +4388,11 @@ class StartJobRunRequestConfigurationOverridesConfigurations(TeaModel):
4209
4388
  config_item_key: str = None,
4210
4389
  config_item_value: str = None,
4211
4390
  ):
4391
+ # The configuration file of SparkConf.
4212
4392
  self.config_file_name = config_file_name
4393
+ # The key of SparkConf.
4213
4394
  self.config_item_key = config_item_key
4395
+ # The value of SparkConf.
4214
4396
  self.config_item_value = config_item_value
4215
4397
 
4216
4398
  def validate(self):
@@ -4246,6 +4428,7 @@ class StartJobRunRequestConfigurationOverrides(TeaModel):
4246
4428
  self,
4247
4429
  configurations: List[StartJobRunRequestConfigurationOverridesConfigurations] = None,
4248
4430
  ):
4431
+ # The SparkConf objects.
4249
4432
  self.configurations = configurations
4250
4433
 
4251
4434
  def validate(self):
@@ -4291,16 +4474,31 @@ class StartJobRunRequest(TeaModel):
4291
4474
  tags: List[Tag] = None,
4292
4475
  region_id: str = None,
4293
4476
  ):
4477
+ # The client token that is used to ensure the idempotence of the request.
4294
4478
  self.client_token = client_token
4479
+ # The code type of the job. Valid values:
4480
+ #
4481
+ # * SQL
4482
+ # * JAR
4483
+ # * PYTHON
4295
4484
  self.code_type = code_type
4485
+ # The advanced configurations of Spark.
4296
4486
  self.configuration_overrides = configuration_overrides
4487
+ # The timeout period of the job.
4297
4488
  self.execution_timeout_seconds = execution_timeout_seconds
4489
+ # The information about Spark Driver.
4298
4490
  self.job_driver = job_driver
4491
+ # The job ID.
4299
4492
  self.job_id = job_id
4493
+ # The job name.
4300
4494
  self.name = name
4495
+ # The version number of Spark.
4301
4496
  self.release_version = release_version
4497
+ # The name of the resource queue on which the Spark job runs.
4302
4498
  self.resource_queue_id = resource_queue_id
4499
+ # The tags of the job.
4303
4500
  self.tags = tags
4501
+ # The region ID.
4304
4502
  self.region_id = region_id
4305
4503
 
4306
4504
  def validate(self):
@@ -4383,8 +4581,9 @@ class StartJobRunResponseBody(TeaModel):
4383
4581
  job_run_id: str = None,
4384
4582
  request_id: str = None,
4385
4583
  ):
4584
+ # The job ID.
4386
4585
  self.job_run_id = job_run_id
4387
- # 请求ID
4586
+ # The request ID.
4388
4587
  self.request_id = request_id
4389
4588
 
4390
4589
  def validate(self):
@@ -4457,6 +4656,7 @@ class TerminateSqlStatementRequest(TeaModel):
4457
4656
  self,
4458
4657
  region_id: str = None,
4459
4658
  ):
4659
+ # The region ID.
4460
4660
  self.region_id = region_id
4461
4661
 
4462
4662
  def validate(self):
@@ -4484,6 +4684,7 @@ class TerminateSqlStatementResponseBody(TeaModel):
4484
4684
  self,
4485
4685
  request_id: str = None,
4486
4686
  ):
4687
+ # The request ID.
4487
4688
  self.request_id = request_id
4488
4689
 
4489
4690
  def validate(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-emr-serverless-spark20230808
3
- Version: 1.4.0
3
+ Version: 1.4.1
4
4
  Summary: Alibaba Cloud emr-serverless-spark (20230808) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -1,4 +1,4 @@
1
1
  alibabacloud_tea_util<1.0.0,>=0.3.12
2
- alibabacloud_tea_openapi<1.0.0,>=0.3.9
2
+ alibabacloud_tea_openapi<1.0.0,>=0.3.10
3
3
  alibabacloud_openapi_util<1.0.0,>=0.2.1
4
4
  alibabacloud_endpoint_util<1.0.0,>=0.0.3
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
24
24
  """
25
25
  setup module for alibabacloud_emr-serverless-spark20230808.
26
26
 
27
- Created on 31/05/2024
27
+ Created on 09/07/2024
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """
@@ -38,7 +38,7 @@ URL = "https://github.com/aliyun/alibabacloud-python-sdk"
38
38
  VERSION = __import__(PACKAGE).__version__
39
39
  REQUIRES = [
40
40
  "alibabacloud_tea_util>=0.3.12, <1.0.0",
41
- "alibabacloud_tea_openapi>=0.3.9, <1.0.0",
41
+ "alibabacloud_tea_openapi>=0.3.10, <1.0.0",
42
42
  "alibabacloud_openapi_util>=0.2.1, <1.0.0",
43
43
  "alibabacloud_endpoint_util>=0.0.3, <1.0.0"
44
44
  ]