tencentcloud-sdk-python-dlc 3.1.190__tar.gz → 3.1.202__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_dlc-3.1.190 → tencentcloud_sdk_python_dlc-3.1.202}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_dlc-3.1.190 → tencentcloud_sdk_python_dlc-3.1.202}/setup.py +1 -1
  3. {tencentcloud_sdk_python_dlc-3.1.190 → tencentcloud_sdk_python_dlc-3.1.202}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_dlc-3.1.190 → tencentcloud_sdk_python_dlc-3.1.202}/tencentcloud/dlc/v20210125/dlc_client.py +69 -0
  5. {tencentcloud_sdk_python_dlc-3.1.190 → tencentcloud_sdk_python_dlc-3.1.202}/tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
  6. {tencentcloud_sdk_python_dlc-3.1.190 → tencentcloud_sdk_python_dlc-3.1.202}/tencentcloud/dlc/v20210125/errorcodes.py +15 -0
  7. {tencentcloud_sdk_python_dlc-3.1.190 → tencentcloud_sdk_python_dlc-3.1.202}/tencentcloud/dlc/v20210125/models.py +2899 -283
  8. {tencentcloud_sdk_python_dlc-3.1.190 → tencentcloud_sdk_python_dlc-3.1.202}/tencentcloud_sdk_python_dlc.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_dlc-3.1.202/tencentcloud_sdk_python_dlc.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_dlc-3.1.190/tencentcloud_sdk_python_dlc.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_dlc-3.1.190 → tencentcloud_sdk_python_dlc-3.1.202}/README.rst +0 -0
  12. {tencentcloud_sdk_python_dlc-3.1.190 → tencentcloud_sdk_python_dlc-3.1.202}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_dlc-3.1.190 → tencentcloud_sdk_python_dlc-3.1.202}/tencentcloud/dlc/__init__.py +0 -0
  14. {tencentcloud_sdk_python_dlc-3.1.190 → tencentcloud_sdk_python_dlc-3.1.202}/tencentcloud/dlc/v20210125/__init__.py +0 -0
  15. {tencentcloud_sdk_python_dlc-3.1.190 → tencentcloud_sdk_python_dlc-3.1.202}/tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_dlc-3.1.190 → tencentcloud_sdk_python_dlc-3.1.202}/tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_dlc-3.1.190 → tencentcloud_sdk_python_dlc-3.1.202}/tencentcloud_sdk_python_dlc.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-dlc
3
- Version: 3.1.190
3
+ Version: 3.1.202
4
4
  Summary: Tencent Cloud Dlc SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.190
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.202
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-dlc',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.190,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.202,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Dlc SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.190'
17
+ __version__ = '3.1.202'
@@ -6103,6 +6103,29 @@ class DlcClient(AbstractClient):
6103
6103
  raise TencentCloudSDKException(type(e).__name__, str(e))
6104
6104
 
6105
6105
 
6106
+ def GetRayServeEvent(self, request):
6107
+ r"""通过 ResourceManager 调用 CLS SearchLog API 查询 RayServe 部署相关事件日志。不返回总数,使用 Context 进行翻页,ListOver 标识是否还有更多数据。
6108
+
6109
+ :param request: Request instance for GetRayServeEvent.
6110
+ :type request: :class:`tencentcloud.dlc.v20210125.models.GetRayServeEventRequest`
6111
+ :rtype: :class:`tencentcloud.dlc.v20210125.models.GetRayServeEventResponse`
6112
+
6113
+ """
6114
+ try:
6115
+ params = request._serialize()
6116
+ headers = request.headers
6117
+ body = self.call("GetRayServeEvent", params, headers=headers)
6118
+ response = json.loads(body)
6119
+ model = models.GetRayServeEventResponse()
6120
+ model._deserialize(response["Response"])
6121
+ return model
6122
+ except Exception as e:
6123
+ if isinstance(e, TencentCloudSDKException):
6124
+ raise
6125
+ else:
6126
+ raise TencentCloudSDKException(type(e).__name__, str(e))
6127
+
6128
+
6106
6129
  def GetResourceConfig(self, request):
6107
6130
  r"""获取资源配置模板详情
6108
6131
 
@@ -6862,6 +6885,29 @@ class DlcClient(AbstractClient):
6862
6885
  raise TencentCloudSDKException(type(e).__name__, str(e))
6863
6886
 
6864
6887
 
6888
+ def ListStorages(self, request):
6889
+ r"""根据集群ID列出所有Ray任务
6890
+
6891
+ :param request: Request instance for ListStorages.
6892
+ :type request: :class:`tencentcloud.dlc.v20210125.models.ListStoragesRequest`
6893
+ :rtype: :class:`tencentcloud.dlc.v20210125.models.ListStoragesResponse`
6894
+
6895
+ """
6896
+ try:
6897
+ params = request._serialize()
6898
+ headers = request.headers
6899
+ body = self.call("ListStorages", params, headers=headers)
6900
+ response = json.loads(body)
6901
+ model = models.ListStoragesResponse()
6902
+ model._deserialize(response["Response"])
6903
+ return model
6904
+ except Exception as e:
6905
+ if isinstance(e, TencentCloudSDKException):
6906
+ raise
6907
+ else:
6908
+ raise TencentCloudSDKException(type(e).__name__, str(e))
6909
+
6910
+
6865
6911
  def ListTaskJobLogDetail(self, request):
6866
6912
  r"""本接口(ListTaskJobLogDetail)用于获取spark 作业任务日志详情
6867
6913
 
@@ -7989,6 +8035,29 @@ class DlcClient(AbstractClient):
7989
8035
  raise TencentCloudSDKException(type(e).__name__, str(e))
7990
8036
 
7991
8037
 
8038
+ def SubmitRayJob(self, request):
8039
+ r"""提交新的Ray任务到指定集群
8040
+
8041
+ :param request: Request instance for SubmitRayJob.
8042
+ :type request: :class:`tencentcloud.dlc.v20210125.models.SubmitRayJobRequest`
8043
+ :rtype: :class:`tencentcloud.dlc.v20210125.models.SubmitRayJobResponse`
8044
+
8045
+ """
8046
+ try:
8047
+ params = request._serialize()
8048
+ headers = request.headers
8049
+ body = self.call("SubmitRayJob", params, headers=headers)
8050
+ response = json.loads(body)
8051
+ model = models.SubmitRayJobResponse()
8052
+ model._deserialize(response["Response"])
8053
+ return model
8054
+ except Exception as e:
8055
+ if isinstance(e, TencentCloudSDKException):
8056
+ raise
8057
+ else:
8058
+ raise TencentCloudSDKException(type(e).__name__, str(e))
8059
+
8060
+
7992
8061
  def SubmitTrainingJob(self, request):
7993
8062
  r"""断点续训(克隆实例)
7994
8063
 
@@ -4782,6 +4782,24 @@ class DlcClient(AbstractClient):
4782
4782
 
4783
4783
  return await self.call_and_deserialize(**kwargs)
4784
4784
 
4785
+ async def GetRayServeEvent(
4786
+ self,
4787
+ request: models.GetRayServeEventRequest,
4788
+ opts: Dict = None,
4789
+ ) -> models.GetRayServeEventResponse:
4790
+ """
4791
+ 通过 ResourceManager 调用 CLS SearchLog API 查询 RayServe 部署相关事件日志。不返回总数,使用 Context 进行翻页,ListOver 标识是否还有更多数据。
4792
+ """
4793
+
4794
+ kwargs = {}
4795
+ kwargs["action"] = "GetRayServeEvent"
4796
+ kwargs["params"] = request._serialize()
4797
+ kwargs["resp_cls"] = models.GetRayServeEventResponse
4798
+ kwargs["headers"] = request.headers
4799
+ kwargs["opts"] = opts or {}
4800
+
4801
+ return await self.call_and_deserialize(**kwargs)
4802
+
4785
4803
  async def GetResourceConfig(
4786
4804
  self,
4787
4805
  request: models.GetResourceConfigRequest,
@@ -5376,6 +5394,24 @@ class DlcClient(AbstractClient):
5376
5394
 
5377
5395
  return await self.call_and_deserialize(**kwargs)
5378
5396
 
5397
+ async def ListStorages(
5398
+ self,
5399
+ request: models.ListStoragesRequest,
5400
+ opts: Dict = None,
5401
+ ) -> models.ListStoragesResponse:
5402
+ """
5403
+ 根据集群ID列出所有Ray任务
5404
+ """
5405
+
5406
+ kwargs = {}
5407
+ kwargs["action"] = "ListStorages"
5408
+ kwargs["params"] = request._serialize()
5409
+ kwargs["resp_cls"] = models.ListStoragesResponse
5410
+ kwargs["headers"] = request.headers
5411
+ kwargs["opts"] = opts or {}
5412
+
5413
+ return await self.call_and_deserialize(**kwargs)
5414
+
5379
5415
  async def ListTaskJobLogDetail(
5380
5416
  self,
5381
5417
  request: models.ListTaskJobLogDetailRequest,
@@ -6258,6 +6294,24 @@ class DlcClient(AbstractClient):
6258
6294
 
6259
6295
  return await self.call_and_deserialize(**kwargs)
6260
6296
 
6297
+ async def SubmitRayJob(
6298
+ self,
6299
+ request: models.SubmitRayJobRequest,
6300
+ opts: Dict = None,
6301
+ ) -> models.SubmitRayJobResponse:
6302
+ """
6303
+ 提交新的Ray任务到指定集群
6304
+ """
6305
+
6306
+ kwargs = {}
6307
+ kwargs["action"] = "SubmitRayJob"
6308
+ kwargs["params"] = request._serialize()
6309
+ kwargs["resp_cls"] = models.SubmitRayJobResponse
6310
+ kwargs["headers"] = request.headers
6311
+ kwargs["opts"] = opts or {}
6312
+
6313
+ return await self.call_and_deserialize(**kwargs)
6314
+
6261
6315
  async def SubmitTrainingJob(
6262
6316
  self,
6263
6317
  request: models.SubmitTrainingJobRequest,
@@ -218,6 +218,9 @@ INVALIDPARAMETER_BATCHSQLFILTERSKEYTYPENOTMATH = 'InvalidParameter.BatchSQLFilte
218
218
  # 交互式SQL任务指定SortBy类型不匹配,当前仅支持: create-time/resource-usage
219
219
  INVALIDPARAMETER_BATCHSQLTASKSORTBYTYPENOTMATCH = 'InvalidParameter.BatchSQLTaskSortByTypeNotMatch'
220
220
 
221
+ # 参数错误:计算组不存在或已被软删除,请检查 GroupId
222
+ INVALIDPARAMETER_CLUSTERGROUPNOTFOUND = 'InvalidParameter.ClusterGroupNotFound'
223
+
221
224
  # 当前配置不被允许
222
225
  INVALIDPARAMETER_CONFIGKEYPROHIBITED = 'InvalidParameter.ConfigKeyProhibited'
223
226
 
@@ -278,6 +281,9 @@ INVALIDPARAMETER_DUPLICATEUSERVPCCONNECTIONNAME = 'InvalidParameter.DuplicateUse
278
281
  # 指定Filter.Values参数数量超限,当前应小于等于50个
279
282
  INVALIDPARAMETER_FILTERSVALUESNUMBEROUTOFLIMIT = 'InvalidParameter.FiltersValuesNumberOutOfLimit'
280
283
 
284
+ # 参数错误:传入 FlowId 时必须同时传入 ExecutionId,二者必须同时出现
285
+ INVALIDPARAMETER_FLOWIDREQUIRESEXECUTIONID = 'InvalidParameter.FlowIdRequiresExecutionId'
286
+
281
287
  # 指定集群镜像Cluster参数格式非JSON
282
288
  INVALIDPARAMETER_IMAGECLUSTERPARAMETERSFORMATNOTJSON = 'InvalidParameter.ImageClusterParametersFormatNotJson'
283
289
 
@@ -314,6 +320,9 @@ INVALIDPARAMETER_INVALIDACCESSPOLICY = 'InvalidParameter.InvalidAccessPolicy'
314
320
  # 指定的Spark任务程序包文件格式不匹配,当前仅支持.jar或.py
315
321
  INVALIDPARAMETER_INVALIDAPPFILEFORMAT = 'InvalidParameter.InvalidAppFileFormat'
316
322
 
323
+ # AppId格式不正确
324
+ INVALIDPARAMETER_INVALIDAPPID = 'InvalidParameter.InvalidAppId'
325
+
317
326
  # 指定的桶不存在
318
327
  INVALIDPARAMETER_INVALIDBUCKETNAME = 'InvalidParameter.InvalidBucketName'
319
328
 
@@ -416,6 +425,9 @@ INVALIDPARAMETER_INVALIDINFOTYPE = 'InvalidParameter.InvalidInfoType'
416
425
  # 指定参数int类型转换失败
417
426
  INVALIDPARAMETER_INVALIDINTFORMAT = 'InvalidParameter.InvalidIntFormat'
418
427
 
428
+ # 参数错误:JobSource 取值非法(不能为空白、长度不超过 64、不含控制字符)
429
+ INVALIDPARAMETER_INVALIDJOBSOURCE = 'InvalidParameter.InvalidJobSource'
430
+
419
431
  # 无效的最大结果数。
420
432
  INVALIDPARAMETER_INVALIDMAXRESULTS = 'InvalidParameter.InvalidMaxResults'
421
433
 
@@ -881,6 +893,9 @@ UNAUTHORIZEDOPERATION_DELETEUSERSFROMWORKGROUP = 'UnauthorizedOperation.DeleteUs
881
893
  # 子用户不是管理员,无权删除工作组。
882
894
  UNAUTHORIZEDOPERATION_DELETEWORKGROUP = 'UnauthorizedOperation.DeleteWorkgroup'
883
895
 
896
+ # 权限不足:当前角色未授权 goosefs:DescribeClusters,请在 CAM 控制台为关联角色追加 GooseFS 只读策略后重试
897
+ UNAUTHORIZEDOPERATION_GOOSEFSDESCRIBECLUSTERS = 'UnauthorizedOperation.GooseFSDescribeClusters'
898
+
884
899
  # 子用户无权授予特定权限。
885
900
  UNAUTHORIZEDOPERATION_GRANTPOLICY = 'UnauthorizedOperation.GrantPolicy'
886
901