alibabacloud-emr-serverless-spark20230808 1.5.0__tar.gz → 1.6.0__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.5.0 → alibabacloud_emr-serverless-spark20230808-1.6.0}/ChangeLog.md +18 -0
  2. {alibabacloud_emr-serverless-spark20230808-1.5.0 → alibabacloud_emr-serverless-spark20230808-1.6.0}/PKG-INFO +1 -1
  3. alibabacloud_emr-serverless-spark20230808-1.6.0/alibabacloud_emr_serverless_spark20230808/__init__.py +1 -0
  4. {alibabacloud_emr-serverless-spark20230808-1.5.0 → alibabacloud_emr-serverless-spark20230808-1.6.0}/alibabacloud_emr_serverless_spark20230808/client.py +132 -12
  5. {alibabacloud_emr-serverless-spark20230808-1.5.0 → alibabacloud_emr-serverless-spark20230808-1.6.0}/alibabacloud_emr_serverless_spark20230808/models.py +228 -13
  6. {alibabacloud_emr-serverless-spark20230808-1.5.0 → alibabacloud_emr-serverless-spark20230808-1.6.0}/alibabacloud_emr_serverless_spark20230808.egg-info/PKG-INFO +1 -1
  7. {alibabacloud_emr-serverless-spark20230808-1.5.0 → alibabacloud_emr-serverless-spark20230808-1.6.0}/alibabacloud_emr_serverless_spark20230808.egg-info/requires.txt +1 -1
  8. {alibabacloud_emr-serverless-spark20230808-1.5.0 → alibabacloud_emr-serverless-spark20230808-1.6.0}/setup.py +2 -2
  9. alibabacloud_emr-serverless-spark20230808-1.5.0/alibabacloud_emr_serverless_spark20230808/__init__.py +0 -1
  10. {alibabacloud_emr-serverless-spark20230808-1.5.0 → alibabacloud_emr-serverless-spark20230808-1.6.0}/LICENSE +0 -0
  11. {alibabacloud_emr-serverless-spark20230808-1.5.0 → alibabacloud_emr-serverless-spark20230808-1.6.0}/MANIFEST.in +0 -0
  12. {alibabacloud_emr-serverless-spark20230808-1.5.0 → alibabacloud_emr-serverless-spark20230808-1.6.0}/README-CN.md +0 -0
  13. {alibabacloud_emr-serverless-spark20230808-1.5.0 → alibabacloud_emr-serverless-spark20230808-1.6.0}/README.md +0 -0
  14. {alibabacloud_emr-serverless-spark20230808-1.5.0 → alibabacloud_emr-serverless-spark20230808-1.6.0}/alibabacloud_emr_serverless_spark20230808.egg-info/SOURCES.txt +0 -0
  15. {alibabacloud_emr-serverless-spark20230808-1.5.0 → alibabacloud_emr-serverless-spark20230808-1.6.0}/alibabacloud_emr_serverless_spark20230808.egg-info/dependency_links.txt +0 -0
  16. {alibabacloud_emr-serverless-spark20230808-1.5.0 → alibabacloud_emr-serverless-spark20230808-1.6.0}/alibabacloud_emr_serverless_spark20230808.egg-info/top_level.txt +0 -0
  17. {alibabacloud_emr-serverless-spark20230808-1.5.0 → alibabacloud_emr-serverless-spark20230808-1.6.0}/setup.cfg +0 -0
@@ -1,3 +1,21 @@
1
+ 2024-10-17 Version: 1.5.0
2
+ - Support API StartSessionCluster.
3
+ - Support API StopSessionCluster.
4
+ - Update API ListJobRuns: update param workspaceId.
5
+ - Update API ListJobRuns: update param creator.
6
+ - Update API ListJobRuns: update param endTime.
7
+ - Update API ListJobRuns: update param jobRunDeploymentId.
8
+ - Update API ListJobRuns: update param jobRunId.
9
+ - Update API ListJobRuns: update param maxResults.
10
+ - Update API ListJobRuns: update param name.
11
+ - Update API ListJobRuns: update param nextToken.
12
+ - Update API ListJobRuns: update param resourceQueueId.
13
+ - Update API ListJobRuns: update param startTime.
14
+ - Update API ListJobRuns: update param states.
15
+ - Update API ListJobRuns: update param tags.
16
+ - Update API ListReleaseVersions: add param workspaceId.
17
+
18
+
1
19
  2024-08-22 Version: 1.4.3
2
20
  - Update API GetJobRun: update response param.
3
21
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_emr-serverless-spark20230808
3
- Version: 1.5.0
3
+ Version: 1.6.0
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
@@ -913,6 +913,126 @@ class Client(OpenApiClient):
913
913
  headers = {}
914
914
  return await self.list_job_runs_with_options_async(workspace_id, request, headers, runtime)
915
915
 
916
+ def list_log_contents_with_options(
917
+ self,
918
+ workspace_id: str,
919
+ request: emr_serverless_spark_20230808_models.ListLogContentsRequest,
920
+ headers: Dict[str, str],
921
+ runtime: util_models.RuntimeOptions,
922
+ ) -> emr_serverless_spark_20230808_models.ListLogContentsResponse:
923
+ """
924
+ @summary 获取日志内容
925
+
926
+ @param request: ListLogContentsRequest
927
+ @param headers: map
928
+ @param runtime: runtime options for this request RuntimeOptions
929
+ @return: ListLogContentsResponse
930
+ """
931
+ UtilClient.validate_model(request)
932
+ query = {}
933
+ if not UtilClient.is_unset(request.file_name):
934
+ query['fileName'] = request.file_name
935
+ if not UtilClient.is_unset(request.length):
936
+ query['length'] = request.length
937
+ if not UtilClient.is_unset(request.offset):
938
+ query['offset'] = request.offset
939
+ if not UtilClient.is_unset(request.region_id):
940
+ query['regionId'] = request.region_id
941
+ req = open_api_models.OpenApiRequest(
942
+ headers=headers,
943
+ query=OpenApiUtilClient.query(query)
944
+ )
945
+ params = open_api_models.Params(
946
+ action='ListLogContents',
947
+ version='2023-08-08',
948
+ protocol='HTTPS',
949
+ pathname=f'/api/v1/workspaces/{OpenApiUtilClient.get_encode_param(workspace_id)}/action/listLogContents',
950
+ method='GET',
951
+ auth_type='AK',
952
+ style='ROA',
953
+ req_body_type='json',
954
+ body_type='json'
955
+ )
956
+ return TeaCore.from_map(
957
+ emr_serverless_spark_20230808_models.ListLogContentsResponse(),
958
+ self.call_api(params, req, runtime)
959
+ )
960
+
961
+ async def list_log_contents_with_options_async(
962
+ self,
963
+ workspace_id: str,
964
+ request: emr_serverless_spark_20230808_models.ListLogContentsRequest,
965
+ headers: Dict[str, str],
966
+ runtime: util_models.RuntimeOptions,
967
+ ) -> emr_serverless_spark_20230808_models.ListLogContentsResponse:
968
+ """
969
+ @summary 获取日志内容
970
+
971
+ @param request: ListLogContentsRequest
972
+ @param headers: map
973
+ @param runtime: runtime options for this request RuntimeOptions
974
+ @return: ListLogContentsResponse
975
+ """
976
+ UtilClient.validate_model(request)
977
+ query = {}
978
+ if not UtilClient.is_unset(request.file_name):
979
+ query['fileName'] = request.file_name
980
+ if not UtilClient.is_unset(request.length):
981
+ query['length'] = request.length
982
+ if not UtilClient.is_unset(request.offset):
983
+ query['offset'] = request.offset
984
+ if not UtilClient.is_unset(request.region_id):
985
+ query['regionId'] = request.region_id
986
+ req = open_api_models.OpenApiRequest(
987
+ headers=headers,
988
+ query=OpenApiUtilClient.query(query)
989
+ )
990
+ params = open_api_models.Params(
991
+ action='ListLogContents',
992
+ version='2023-08-08',
993
+ protocol='HTTPS',
994
+ pathname=f'/api/v1/workspaces/{OpenApiUtilClient.get_encode_param(workspace_id)}/action/listLogContents',
995
+ method='GET',
996
+ auth_type='AK',
997
+ style='ROA',
998
+ req_body_type='json',
999
+ body_type='json'
1000
+ )
1001
+ return TeaCore.from_map(
1002
+ emr_serverless_spark_20230808_models.ListLogContentsResponse(),
1003
+ await self.call_api_async(params, req, runtime)
1004
+ )
1005
+
1006
+ def list_log_contents(
1007
+ self,
1008
+ workspace_id: str,
1009
+ request: emr_serverless_spark_20230808_models.ListLogContentsRequest,
1010
+ ) -> emr_serverless_spark_20230808_models.ListLogContentsResponse:
1011
+ """
1012
+ @summary 获取日志内容
1013
+
1014
+ @param request: ListLogContentsRequest
1015
+ @return: ListLogContentsResponse
1016
+ """
1017
+ runtime = util_models.RuntimeOptions()
1018
+ headers = {}
1019
+ return self.list_log_contents_with_options(workspace_id, request, headers, runtime)
1020
+
1021
+ async def list_log_contents_async(
1022
+ self,
1023
+ workspace_id: str,
1024
+ request: emr_serverless_spark_20230808_models.ListLogContentsRequest,
1025
+ ) -> emr_serverless_spark_20230808_models.ListLogContentsResponse:
1026
+ """
1027
+ @summary 获取日志内容
1028
+
1029
+ @param request: ListLogContentsRequest
1030
+ @return: ListLogContentsResponse
1031
+ """
1032
+ runtime = util_models.RuntimeOptions()
1033
+ headers = {}
1034
+ return await self.list_log_contents_with_options_async(workspace_id, request, headers, runtime)
1035
+
916
1036
  def list_release_versions_with_options(
917
1037
  self,
918
1038
  request: emr_serverless_spark_20230808_models.ListReleaseVersionsRequest,
@@ -1041,7 +1161,7 @@ class Client(OpenApiClient):
1041
1161
  runtime: util_models.RuntimeOptions,
1042
1162
  ) -> emr_serverless_spark_20230808_models.ListSessionClustersResponse:
1043
1163
  """
1044
- @summary 查询run列表
1164
+ @summary Queries a list of sessions.
1045
1165
 
1046
1166
  @param request: ListSessionClustersRequest
1047
1167
  @param headers: map
@@ -1090,7 +1210,7 @@ class Client(OpenApiClient):
1090
1210
  runtime: util_models.RuntimeOptions,
1091
1211
  ) -> emr_serverless_spark_20230808_models.ListSessionClustersResponse:
1092
1212
  """
1093
- @summary 查询run列表
1213
+ @summary Queries a list of sessions.
1094
1214
 
1095
1215
  @param request: ListSessionClustersRequest
1096
1216
  @param headers: map
@@ -1137,7 +1257,7 @@ class Client(OpenApiClient):
1137
1257
  request: emr_serverless_spark_20230808_models.ListSessionClustersRequest,
1138
1258
  ) -> emr_serverless_spark_20230808_models.ListSessionClustersResponse:
1139
1259
  """
1140
- @summary 查询run列表
1260
+ @summary Queries a list of sessions.
1141
1261
 
1142
1262
  @param request: ListSessionClustersRequest
1143
1263
  @return: ListSessionClustersResponse
@@ -1152,7 +1272,7 @@ class Client(OpenApiClient):
1152
1272
  request: emr_serverless_spark_20230808_models.ListSessionClustersRequest,
1153
1273
  ) -> emr_serverless_spark_20230808_models.ListSessionClustersResponse:
1154
1274
  """
1155
- @summary 查询run列表
1275
+ @summary Queries a list of sessions.
1156
1276
 
1157
1277
  @param request: ListSessionClustersRequest
1158
1278
  @return: ListSessionClustersResponse
@@ -1561,7 +1681,7 @@ class Client(OpenApiClient):
1561
1681
  runtime: util_models.RuntimeOptions,
1562
1682
  ) -> emr_serverless_spark_20230808_models.StartSessionClusterResponse:
1563
1683
  """
1564
- @summary 启动session集群
1684
+ @summary Starts a session.
1565
1685
 
1566
1686
  @param request: StartSessionClusterRequest
1567
1687
  @param headers: map
@@ -1606,7 +1726,7 @@ class Client(OpenApiClient):
1606
1726
  runtime: util_models.RuntimeOptions,
1607
1727
  ) -> emr_serverless_spark_20230808_models.StartSessionClusterResponse:
1608
1728
  """
1609
- @summary 启动session集群
1729
+ @summary Starts a session.
1610
1730
 
1611
1731
  @param request: StartSessionClusterRequest
1612
1732
  @param headers: map
@@ -1649,7 +1769,7 @@ class Client(OpenApiClient):
1649
1769
  request: emr_serverless_spark_20230808_models.StartSessionClusterRequest,
1650
1770
  ) -> emr_serverless_spark_20230808_models.StartSessionClusterResponse:
1651
1771
  """
1652
- @summary 启动session集群
1772
+ @summary Starts a session.
1653
1773
 
1654
1774
  @param request: StartSessionClusterRequest
1655
1775
  @return: StartSessionClusterResponse
@@ -1664,7 +1784,7 @@ class Client(OpenApiClient):
1664
1784
  request: emr_serverless_spark_20230808_models.StartSessionClusterRequest,
1665
1785
  ) -> emr_serverless_spark_20230808_models.StartSessionClusterResponse:
1666
1786
  """
1667
- @summary 启动session集群
1787
+ @summary Starts a session.
1668
1788
 
1669
1789
  @param request: StartSessionClusterRequest
1670
1790
  @return: StartSessionClusterResponse
@@ -1681,7 +1801,7 @@ class Client(OpenApiClient):
1681
1801
  runtime: util_models.RuntimeOptions,
1682
1802
  ) -> emr_serverless_spark_20230808_models.StopSessionClusterResponse:
1683
1803
  """
1684
- @summary 启动session集群
1804
+ @summary Stops a session.
1685
1805
 
1686
1806
  @param request: StopSessionClusterRequest
1687
1807
  @param headers: map
@@ -1726,7 +1846,7 @@ class Client(OpenApiClient):
1726
1846
  runtime: util_models.RuntimeOptions,
1727
1847
  ) -> emr_serverless_spark_20230808_models.StopSessionClusterResponse:
1728
1848
  """
1729
- @summary 启动session集群
1849
+ @summary Stops a session.
1730
1850
 
1731
1851
  @param request: StopSessionClusterRequest
1732
1852
  @param headers: map
@@ -1769,7 +1889,7 @@ class Client(OpenApiClient):
1769
1889
  request: emr_serverless_spark_20230808_models.StopSessionClusterRequest,
1770
1890
  ) -> emr_serverless_spark_20230808_models.StopSessionClusterResponse:
1771
1891
  """
1772
- @summary 启动session集群
1892
+ @summary Stops a session.
1773
1893
 
1774
1894
  @param request: StopSessionClusterRequest
1775
1895
  @return: StopSessionClusterResponse
@@ -1784,7 +1904,7 @@ class Client(OpenApiClient):
1784
1904
  request: emr_serverless_spark_20230808_models.StopSessionClusterRequest,
1785
1905
  ) -> emr_serverless_spark_20230808_models.StopSessionClusterResponse:
1786
1906
  """
1787
- @summary 启动session集群
1907
+ @summary Stops a session.
1788
1908
 
1789
1909
  @param request: StopSessionClusterRequest
1790
1910
  @return: StopSessionClusterResponse
@@ -3063,6 +3063,196 @@ class ListJobRunsResponse(TeaModel):
3063
3063
  return self
3064
3064
 
3065
3065
 
3066
+ class ListLogContentsRequest(TeaModel):
3067
+ def __init__(
3068
+ self,
3069
+ file_name: str = None,
3070
+ length: int = None,
3071
+ offset: int = None,
3072
+ region_id: str = None,
3073
+ ):
3074
+ self.file_name = file_name
3075
+ self.length = length
3076
+ self.offset = offset
3077
+ self.region_id = region_id
3078
+
3079
+ def validate(self):
3080
+ pass
3081
+
3082
+ def to_map(self):
3083
+ _map = super().to_map()
3084
+ if _map is not None:
3085
+ return _map
3086
+
3087
+ result = dict()
3088
+ if self.file_name is not None:
3089
+ result['fileName'] = self.file_name
3090
+ if self.length is not None:
3091
+ result['length'] = self.length
3092
+ if self.offset is not None:
3093
+ result['offset'] = self.offset
3094
+ if self.region_id is not None:
3095
+ result['regionId'] = self.region_id
3096
+ return result
3097
+
3098
+ def from_map(self, m: dict = None):
3099
+ m = m or dict()
3100
+ if m.get('fileName') is not None:
3101
+ self.file_name = m.get('fileName')
3102
+ if m.get('length') is not None:
3103
+ self.length = m.get('length')
3104
+ if m.get('offset') is not None:
3105
+ self.offset = m.get('offset')
3106
+ if m.get('regionId') is not None:
3107
+ self.region_id = m.get('regionId')
3108
+ return self
3109
+
3110
+
3111
+ class ListLogContentsResponseBodyListLogContentContents(TeaModel):
3112
+ def __init__(
3113
+ self,
3114
+ line_content: str = None,
3115
+ ):
3116
+ self.line_content = line_content
3117
+
3118
+ def validate(self):
3119
+ pass
3120
+
3121
+ def to_map(self):
3122
+ _map = super().to_map()
3123
+ if _map is not None:
3124
+ return _map
3125
+
3126
+ result = dict()
3127
+ if self.line_content is not None:
3128
+ result['LineContent'] = self.line_content
3129
+ return result
3130
+
3131
+ def from_map(self, m: dict = None):
3132
+ m = m or dict()
3133
+ if m.get('LineContent') is not None:
3134
+ self.line_content = m.get('LineContent')
3135
+ return self
3136
+
3137
+
3138
+ class ListLogContentsResponseBodyListLogContent(TeaModel):
3139
+ def __init__(
3140
+ self,
3141
+ contents: List[ListLogContentsResponseBodyListLogContentContents] = None,
3142
+ total_length: int = None,
3143
+ ):
3144
+ self.contents = contents
3145
+ self.total_length = total_length
3146
+
3147
+ def validate(self):
3148
+ if self.contents:
3149
+ for k in self.contents:
3150
+ if k:
3151
+ k.validate()
3152
+
3153
+ def to_map(self):
3154
+ _map = super().to_map()
3155
+ if _map is not None:
3156
+ return _map
3157
+
3158
+ result = dict()
3159
+ result['contents'] = []
3160
+ if self.contents is not None:
3161
+ for k in self.contents:
3162
+ result['contents'].append(k.to_map() if k else None)
3163
+ if self.total_length is not None:
3164
+ result['totalLength'] = self.total_length
3165
+ return result
3166
+
3167
+ def from_map(self, m: dict = None):
3168
+ m = m or dict()
3169
+ self.contents = []
3170
+ if m.get('contents') is not None:
3171
+ for k in m.get('contents'):
3172
+ temp_model = ListLogContentsResponseBodyListLogContentContents()
3173
+ self.contents.append(temp_model.from_map(k))
3174
+ if m.get('totalLength') is not None:
3175
+ self.total_length = m.get('totalLength')
3176
+ return self
3177
+
3178
+
3179
+ class ListLogContentsResponseBody(TeaModel):
3180
+ def __init__(
3181
+ self,
3182
+ list_log_content: ListLogContentsResponseBodyListLogContent = None,
3183
+ request_id: str = None,
3184
+ ):
3185
+ self.list_log_content = list_log_content
3186
+ # 请求ID。
3187
+ self.request_id = request_id
3188
+
3189
+ def validate(self):
3190
+ if self.list_log_content:
3191
+ self.list_log_content.validate()
3192
+
3193
+ def to_map(self):
3194
+ _map = super().to_map()
3195
+ if _map is not None:
3196
+ return _map
3197
+
3198
+ result = dict()
3199
+ if self.list_log_content is not None:
3200
+ result['listLogContent'] = self.list_log_content.to_map()
3201
+ if self.request_id is not None:
3202
+ result['requestId'] = self.request_id
3203
+ return result
3204
+
3205
+ def from_map(self, m: dict = None):
3206
+ m = m or dict()
3207
+ if m.get('listLogContent') is not None:
3208
+ temp_model = ListLogContentsResponseBodyListLogContent()
3209
+ self.list_log_content = temp_model.from_map(m['listLogContent'])
3210
+ if m.get('requestId') is not None:
3211
+ self.request_id = m.get('requestId')
3212
+ return self
3213
+
3214
+
3215
+ class ListLogContentsResponse(TeaModel):
3216
+ def __init__(
3217
+ self,
3218
+ headers: Dict[str, str] = None,
3219
+ status_code: int = None,
3220
+ body: ListLogContentsResponseBody = None,
3221
+ ):
3222
+ self.headers = headers
3223
+ self.status_code = status_code
3224
+ self.body = body
3225
+
3226
+ def validate(self):
3227
+ if self.body:
3228
+ self.body.validate()
3229
+
3230
+ def to_map(self):
3231
+ _map = super().to_map()
3232
+ if _map is not None:
3233
+ return _map
3234
+
3235
+ result = dict()
3236
+ if self.headers is not None:
3237
+ result['headers'] = self.headers
3238
+ if self.status_code is not None:
3239
+ result['statusCode'] = self.status_code
3240
+ if self.body is not None:
3241
+ result['body'] = self.body.to_map()
3242
+ return result
3243
+
3244
+ def from_map(self, m: dict = None):
3245
+ m = m or dict()
3246
+ if m.get('headers') is not None:
3247
+ self.headers = m.get('headers')
3248
+ if m.get('statusCode') is not None:
3249
+ self.status_code = m.get('statusCode')
3250
+ if m.get('body') is not None:
3251
+ temp_model = ListLogContentsResponseBody()
3252
+ self.body = temp_model.from_map(m['body'])
3253
+ return self
3254
+
3255
+
3066
3256
  class ListReleaseVersionsRequest(TeaModel):
3067
3257
  def __init__(
3068
3258
  self,
@@ -3335,6 +3525,13 @@ class ListSessionClustersRequest(TeaModel):
3335
3525
  region_id: str = None,
3336
3526
  session_cluster_id: str = None,
3337
3527
  ):
3528
+ # The session type.
3529
+ #
3530
+ # Valid values:
3531
+ #
3532
+ # * NOTEBOOK
3533
+ # * THRIFT
3534
+ # * SQL
3338
3535
  self.kind = kind
3339
3536
  # The maximum number of entries to return.
3340
3537
  self.max_results = max_results
@@ -3465,7 +3662,7 @@ class ListSessionClustersResponseBodySessionClustersAutoStopConfiguration(TeaMod
3465
3662
  ):
3466
3663
  # Indicates whether automatic termination is enabled.
3467
3664
  self.enable = enable
3468
- # The idle timeout period. The SQL Compute is automatically terminated if the idle timeout period is exceeded.
3665
+ # The idle timeout period. The session is automatically terminated when the idle timeout period is exceeded.
3469
3666
  self.idle_timeout_minutes = idle_timeout_minutes
3470
3667
 
3471
3668
  def validate(self):
@@ -3549,32 +3746,44 @@ class ListSessionClustersResponseBodySessionClusters(TeaModel):
3549
3746
  web_ui: str = None,
3550
3747
  workspace_id: str = None,
3551
3748
  ):
3552
- # The SQL Compute configurations, which are equivalent to the configurations of the Spark job.
3749
+ # The session configurations, which are equivalent to the configurations of the Spark job.
3553
3750
  self.application_configs = application_configs
3554
3751
  # The automatic startup configurations.
3555
3752
  self.auto_start_configuration = auto_start_configuration
3556
- # The automatic termination configurations.
3753
+ # The configurations of automatic termination.
3557
3754
  self.auto_stop_configuration = auto_stop_configuration
3755
+ # The version of the Spark engine.
3558
3756
  self.display_release_version = display_release_version
3559
3757
  self.domain = domain
3758
+ # The ID of the job that is associated with the session.
3560
3759
  self.draft_id = draft_id
3760
+ # Indicates whether the Fusion engine is used for acceleration.
3561
3761
  self.fusion = fusion
3762
+ # The session type.
3763
+ #
3764
+ # Valid values:
3765
+ #
3766
+ # * NOTEBOOK
3767
+ # * THRIFT
3768
+ # * SQL
3562
3769
  self.kind = kind
3563
- # The name of the SQL Compute.
3770
+ # The name of the session.
3564
3771
  self.name = name
3565
- # The name of the queue on which the SQL Compute runs.
3772
+ # The name of the queue that is used to run the session.
3566
3773
  self.queue_name = queue_name
3774
+ # The version of EMR Serverless Spark.
3567
3775
  self.release_version = release_version
3568
- # The SQL Compute ID.
3776
+ # The session ID.
3569
3777
  self.session_cluster_id = session_cluster_id
3570
- # The status of the SQL Compute.
3778
+ # The status of the session.
3571
3779
  self.state = state
3572
- # The details of the last status change of the SQL Compute.
3780
+ # The details of the most recent status change of the session.
3573
3781
  self.state_change_reason = state_change_reason
3574
3782
  # The user ID.
3575
3783
  self.user_id = user_id
3576
3784
  # The name of the user.
3577
3785
  self.user_name = user_name
3786
+ # The Spark UI of the session.
3578
3787
  self.web_ui = web_ui
3579
3788
  # The workspace ID.
3580
3789
  self.workspace_id = workspace_id
@@ -3699,7 +3908,7 @@ class ListSessionClustersResponseBody(TeaModel):
3699
3908
  self.next_token = next_token
3700
3909
  # The request ID.
3701
3910
  self.request_id = request_id
3702
- # The SQL computes.
3911
+ # The list of sessions.
3703
3912
  self.session_clusters = session_clusters
3704
3913
  # The total number of entries returned.
3705
3914
  self.total_count = total_count
@@ -4757,8 +4966,11 @@ class StartSessionClusterRequest(TeaModel):
4757
4966
  session_cluster_id: str = None,
4758
4967
  region_id: str = None,
4759
4968
  ):
4969
+ # The queue name.
4760
4970
  self.queue_name = queue_name
4971
+ # The session ID.
4761
4972
  self.session_cluster_id = session_cluster_id
4973
+ # The region ID.
4762
4974
  self.region_id = region_id
4763
4975
 
4764
4976
  def validate(self):
@@ -4795,9 +5007,9 @@ class StartSessionClusterResponseBody(TeaModel):
4795
5007
  request_id: str = None,
4796
5008
  session_cluster_id: str = None,
4797
5009
  ):
4798
- # 请求ID
5010
+ # The request ID.
4799
5011
  self.request_id = request_id
4800
- # Workspace Id。
5012
+ # The workspace ID.
4801
5013
  self.session_cluster_id = session_cluster_id
4802
5014
 
4803
5015
  def validate(self):
@@ -4872,8 +5084,11 @@ class StopSessionClusterRequest(TeaModel):
4872
5084
  session_cluster_id: str = None,
4873
5085
  region_id: str = None,
4874
5086
  ):
5087
+ # The queue name.
4875
5088
  self.queue_name = queue_name
5089
+ # The session ID.
4876
5090
  self.session_cluster_id = session_cluster_id
5091
+ # The region ID.
4877
5092
  self.region_id = region_id
4878
5093
 
4879
5094
  def validate(self):
@@ -4910,9 +5125,9 @@ class StopSessionClusterResponseBody(TeaModel):
4910
5125
  request_id: str = None,
4911
5126
  session_cluster_id: str = None,
4912
5127
  ):
4913
- # 请求ID
5128
+ # The request ID.
4914
5129
  self.request_id = request_id
4915
- # Workspace Id。
5130
+ # The workspace ID.
4916
5131
  self.session_cluster_id = session_cluster_id
4917
5132
 
4918
5133
  def validate(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-emr-serverless-spark20230808
3
- Version: 1.5.0
3
+ Version: 1.6.0
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_endpoint_util<1.0.0,>=0.0.3
2
- alibabacloud_openapi_util<1.0.0,>=0.2.1
2
+ alibabacloud_openapi_util<1.0.0,>=0.2.2
3
3
  alibabacloud_tea_openapi<1.0.0,>=0.3.12
4
4
  alibabacloud_tea_util<1.0.0,>=0.3.13
@@ -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 17/10/2024
27
+ Created on 06/11/2024
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """
@@ -39,7 +39,7 @@ VERSION = __import__(PACKAGE).__version__
39
39
  REQUIRES = [
40
40
  "alibabacloud_tea_util>=0.3.13, <1.0.0",
41
41
  "alibabacloud_tea_openapi>=0.3.12, <1.0.0",
42
- "alibabacloud_openapi_util>=0.2.1, <1.0.0",
42
+ "alibabacloud_openapi_util>=0.2.2, <1.0.0",
43
43
  "alibabacloud_endpoint_util>=0.0.3, <1.0.0"
44
44
  ]
45
45