tencentcloud-sdk-python 3.0.1350__py2.py3-none-any.whl → 3.0.1352__py2.py3-none-any.whl
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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/antiddos/v20200309/models.py +0 -2
- tencentcloud/batch/v20170312/models.py +0 -8
- tencentcloud/ccc/v20200210/ccc_client.py +92 -0
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +676 -60
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/models.py +908 -26
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/models.py +2 -6
- tencentcloud/cynosdb/v20190107/models.py +30 -76
- tencentcloud/dbbrain/v20191016/models.py +228 -10
- tencentcloud/dbbrain/v20210527/models.py +228 -10
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/models.py +284 -0
- tencentcloud/dnspod/v20210323/models.py +2 -48
- tencentcloud/dts/v20211206/models.py +2 -0
- tencentcloud/ess/v20201111/models.py +6 -6
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/gs/v20191118/gs_client.py +23 -0
- tencentcloud/gs/v20191118/models.py +119 -0
- tencentcloud/hai/v20230812/models.py +2 -18
- tencentcloud/iotexplorer/v20190423/models.py +92 -8
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/iss_client.py +46 -0
- tencentcloud/iss/v20230517/models.py +409 -0
- tencentcloud/lighthouse/v20200324/models.py +10 -4
- tencentcloud/live/v20180801/models.py +4 -6
- tencentcloud/lke/v20231130/models.py +51 -2
- tencentcloud/mps/v20190612/models.py +8 -8
- tencentcloud/mqtt/v20240516/models.py +89 -12
- tencentcloud/ocr/v20181119/models.py +143 -0
- tencentcloud/partners/v20180321/models.py +15 -0
- tencentcloud/rce/v20201103/models.py +0 -15
- tencentcloud/tdmq/v20200217/models.py +45 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +9 -3
- tencentcloud/teo/v20220901/models.py +85 -12
- tencentcloud/tione/v20211111/errorcodes.py +105 -0
- tencentcloud/tione/v20211111/models.py +666 -0
- tencentcloud/tione/v20211111/tione_client.py +92 -0
- tencentcloud/trro/v20220325/models.py +992 -44
- tencentcloud/trro/v20220325/trro_client.py +117 -0
- tencentcloud/trtc/v20190722/models.py +19 -64
- tencentcloud/vdb/v20230616/models.py +1438 -40
- tencentcloud/vdb/v20230616/vdb_client.py +184 -0
- tencentcloud/vod/v20180717/models.py +15 -2
- tencentcloud/vod/v20240718/errorcodes.py +33 -0
- tencentcloud/vod/v20240718/models.py +1841 -0
- tencentcloud/vod/v20240718/vod_client.py +146 -0
- tencentcloud/wedata/v20210820/models.py +791 -0
- tencentcloud/wedata/v20210820/wedata_client.py +46 -0
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +3 -1
- {tencentcloud_sdk_python-3.0.1350.dist-info → tencentcloud_sdk_python-3.0.1352.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1350.dist-info → tencentcloud_sdk_python-3.0.1352.dist-info}/RECORD +58 -58
- {tencentcloud_sdk_python-3.0.1350.dist-info → tencentcloud_sdk_python-3.0.1352.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1350.dist-info → tencentcloud_sdk_python-3.0.1352.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1350.dist-info → tencentcloud_sdk_python-3.0.1352.dist-info}/top_level.txt +0 -0
@@ -164,6 +164,29 @@ class TioneClient(AbstractClient):
|
|
164
164
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
165
165
|
|
166
166
|
|
167
|
+
def CreateTrainingTask(self, request):
|
168
|
+
"""创建模型训练任务
|
169
|
+
|
170
|
+
:param request: Request instance for CreateTrainingTask.
|
171
|
+
:type request: :class:`tencentcloud.tione.v20211111.models.CreateTrainingTaskRequest`
|
172
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.CreateTrainingTaskResponse`
|
173
|
+
|
174
|
+
"""
|
175
|
+
try:
|
176
|
+
params = request._serialize()
|
177
|
+
headers = request.headers
|
178
|
+
body = self.call("CreateTrainingTask", params, headers=headers)
|
179
|
+
response = json.loads(body)
|
180
|
+
model = models.CreateTrainingTaskResponse()
|
181
|
+
model._deserialize(response["Response"])
|
182
|
+
return model
|
183
|
+
except Exception as e:
|
184
|
+
if isinstance(e, TencentCloudSDKException):
|
185
|
+
raise
|
186
|
+
else:
|
187
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
188
|
+
|
189
|
+
|
167
190
|
def DeleteDataset(self, request):
|
168
191
|
"""删除数据集
|
169
192
|
|
@@ -302,6 +325,29 @@ class TioneClient(AbstractClient):
|
|
302
325
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
303
326
|
|
304
327
|
|
328
|
+
def DeleteTrainingTask(self, request):
|
329
|
+
"""删除训练任务
|
330
|
+
|
331
|
+
:param request: Request instance for DeleteTrainingTask.
|
332
|
+
:type request: :class:`tencentcloud.tione.v20211111.models.DeleteTrainingTaskRequest`
|
333
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.DeleteTrainingTaskResponse`
|
334
|
+
|
335
|
+
"""
|
336
|
+
try:
|
337
|
+
params = request._serialize()
|
338
|
+
headers = request.headers
|
339
|
+
body = self.call("DeleteTrainingTask", params, headers=headers)
|
340
|
+
response = json.loads(body)
|
341
|
+
model = models.DeleteTrainingTaskResponse()
|
342
|
+
model._deserialize(response["Response"])
|
343
|
+
return model
|
344
|
+
except Exception as e:
|
345
|
+
if isinstance(e, TencentCloudSDKException):
|
346
|
+
raise
|
347
|
+
else:
|
348
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
349
|
+
|
350
|
+
|
305
351
|
def DescribeBillingResourceGroup(self, request):
|
306
352
|
"""查询资源组节点列表
|
307
353
|
|
@@ -879,6 +925,29 @@ class TioneClient(AbstractClient):
|
|
879
925
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
880
926
|
|
881
927
|
|
928
|
+
def StartTrainingTask(self, request):
|
929
|
+
"""启动模型训练任务
|
930
|
+
|
931
|
+
:param request: Request instance for StartTrainingTask.
|
932
|
+
:type request: :class:`tencentcloud.tione.v20211111.models.StartTrainingTaskRequest`
|
933
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.StartTrainingTaskResponse`
|
934
|
+
|
935
|
+
"""
|
936
|
+
try:
|
937
|
+
params = request._serialize()
|
938
|
+
headers = request.headers
|
939
|
+
body = self.call("StartTrainingTask", params, headers=headers)
|
940
|
+
response = json.loads(body)
|
941
|
+
model = models.StartTrainingTaskResponse()
|
942
|
+
model._deserialize(response["Response"])
|
943
|
+
return model
|
944
|
+
except Exception as e:
|
945
|
+
if isinstance(e, TencentCloudSDKException):
|
946
|
+
raise
|
947
|
+
else:
|
948
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
949
|
+
|
950
|
+
|
882
951
|
def StopModelAccelerateTask(self, request):
|
883
952
|
"""停止模型加速任务
|
884
953
|
|
@@ -918,6 +987,29 @@ class TioneClient(AbstractClient):
|
|
918
987
|
model = models.StopNotebookResponse()
|
919
988
|
model._deserialize(response["Response"])
|
920
989
|
return model
|
990
|
+
except Exception as e:
|
991
|
+
if isinstance(e, TencentCloudSDKException):
|
992
|
+
raise
|
993
|
+
else:
|
994
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
995
|
+
|
996
|
+
|
997
|
+
def StopTrainingTask(self, request):
|
998
|
+
"""停止模型训练任务
|
999
|
+
|
1000
|
+
:param request: Request instance for StopTrainingTask.
|
1001
|
+
:type request: :class:`tencentcloud.tione.v20211111.models.StopTrainingTaskRequest`
|
1002
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.StopTrainingTaskResponse`
|
1003
|
+
|
1004
|
+
"""
|
1005
|
+
try:
|
1006
|
+
params = request._serialize()
|
1007
|
+
headers = request.headers
|
1008
|
+
body = self.call("StopTrainingTask", params, headers=headers)
|
1009
|
+
response = json.loads(body)
|
1010
|
+
model = models.StopTrainingTaskResponse()
|
1011
|
+
model._deserialize(response["Response"])
|
1012
|
+
return model
|
921
1013
|
except Exception as e:
|
922
1014
|
if isinstance(e, TencentCloudSDKException):
|
923
1015
|
raise
|