tencentcloud-sdk-python 3.1.13__py2.py3-none-any.whl → 3.1.33__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ags/v20250920/ags_client.py +46 -0
- tencentcloud/ags/v20250920/ags_client_async.py +36 -0
- tencentcloud/ags/v20250920/errorcodes.py +45 -0
- tencentcloud/ags/v20250920/models.py +1704 -110
- tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
- tencentcloud/ai3d/v20250513/models.py +78 -36
- tencentcloud/aiart/v20221229/aiart_client.py +46 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
- tencentcloud/aiart/v20221229/models.py +289 -0
- tencentcloud/ams/v20201229/models.py +101 -0
- tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
- tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
- tencentcloud/antiddos/v20200309/models.py +1671 -97
- tencentcloud/apm/v20210622/apm_client.py +23 -0
- tencentcloud/apm/v20210622/apm_client_async.py +18 -0
- tencentcloud/apm/v20210622/errorcodes.py +3 -0
- tencentcloud/apm/v20210622/models.py +1678 -78
- tencentcloud/asr/v20190614/models.py +100 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +475 -338
- tencentcloud/bh/v20230418/models.py +179 -6
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/billing_client_async.py +18 -0
- tencentcloud/billing/v20180709/models.py +328 -6
- tencentcloud/cam/v20190116/models.py +111 -2
- tencentcloud/car/v20220110/car_client.py +23 -0
- tencentcloud/car/v20220110/car_client_async.py +18 -0
- tencentcloud/car/v20220110/models.py +109 -0
- tencentcloud/cbs/v20170312/models.py +14 -14
- tencentcloud/ccc/v20200210/ccc_client.py +42 -13
- tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +256 -4
- tencentcloud/cdb/v20170320/models.py +37 -16
- tencentcloud/cdc/v20201214/models.py +92 -124
- tencentcloud/cdn/v20180606/cdn_client.py +0 -78
- tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
- tencentcloud/cdn/v20180606/errorcodes.py +3 -0
- tencentcloud/cdn/v20180606/models.py +464 -1028
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
- tencentcloud/cdwch/v20200915/models.py +555 -0
- tencentcloud/cdwdoris/v20211228/models.py +505 -0
- tencentcloud/cfs/v20190719/errorcodes.py +1 -1
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/cfw/v20190904/cfw_client.py +278 -23
- tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
- tencentcloud/cfw/v20190904/models.py +3319 -1154
- tencentcloud/chdfs/v20201112/models.py +150 -0
- tencentcloud/ckafka/v20190819/models.py +458 -282
- tencentcloud/clb/v20180317/clb_client.py +23 -0
- tencentcloud/clb/v20180317/clb_client_async.py +18 -0
- tencentcloud/clb/v20180317/models.py +230 -130
- tencentcloud/cloudapp/v20220530/models.py +190 -36
- tencentcloud/cloudaudit/v20190319/models.py +32 -4
- tencentcloud/cloudmate/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
- tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
- tencentcloud/cloudmate/v20251030/models.py +387 -0
- tencentcloud/cls/v20201016/cls_client.py +1064 -0
- tencentcloud/cls/v20201016/cls_client_async.py +860 -26
- tencentcloud/cls/v20201016/models.py +10246 -384
- tencentcloud/cme/v20191029/models.py +23 -0
- tencentcloud/csip/v20221121/models.py +317 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +28 -8
- tencentcloud/cwp/v20180228/cwp_client.py +0 -188
- tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
- tencentcloud/cwp/v20180228/models.py +1097 -1814
- tencentcloud/cynosdb/v20190107/models.py +181 -48
- tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
- tencentcloud/dataagent/v20250513/models.py +1477 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
- tencentcloud/dbbrain/v20210527/models.py +261 -15
- tencentcloud/dbs/v20211108/dbs_client.py +69 -0
- tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
- tencentcloud/dbs/v20211108/errorcodes.py +15 -0
- tencentcloud/dbs/v20211108/models.py +1173 -27
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
- tencentcloud/dlc/v20210125/errorcodes.py +15 -0
- tencentcloud/dlc/v20210125/models.py +1016 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
- tencentcloud/dnspod/v20210323/models.py +4 -4
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/emr_client_async.py +36 -0
- tencentcloud/emr/v20190103/models.py +625 -2
- tencentcloud/es/v20180416/errorcodes.py +15 -0
- tencentcloud/es/v20180416/es_client.py +115 -0
- tencentcloud/es/v20180416/es_client_async.py +90 -0
- tencentcloud/es/v20180416/models.py +498 -4
- tencentcloud/ess/v20201111/ess_client.py +153 -6
- tencentcloud/ess/v20201111/ess_client_async.py +128 -6
- tencentcloud/ess/v20201111/models.py +1496 -58
- tencentcloud/essbasic/v20210526/models.py +129 -23
- tencentcloud/evt/v20250217/evt_client.py +46 -0
- tencentcloud/evt/v20250217/evt_client_async.py +36 -0
- tencentcloud/evt/v20250217/models.py +188 -0
- tencentcloud/faceid/v20180301/models.py +10 -4
- tencentcloud/gaap/v20180529/models.py +260 -352
- tencentcloud/gs/v20191118/models.py +150 -4
- tencentcloud/gwlb/v20240906/models.py +48 -70
- tencentcloud/iai/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/models.py +4 -4
- tencentcloud/igtm/v20231024/errorcodes.py +1 -1
- tencentcloud/ims/v20201229/ims_client.py +1 -1
- tencentcloud/ims/v20201229/ims_client_async.py +1 -1
- tencentcloud/ioa/v20220601/models.py +60 -0
- tencentcloud/keewidb/v20220308/models.py +52 -68
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +8 -0
- tencentcloud/live/v20180801/errorcodes.py +6 -0
- tencentcloud/live/v20180801/live_client.py +143 -0
- tencentcloud/live/v20180801/live_client_async.py +113 -0
- tencentcloud/live/v20180801/models.py +914 -311
- tencentcloud/lke/v20231130/lke_client.py +48 -1
- tencentcloud/lke/v20231130/lke_client_async.py +43 -1
- tencentcloud/lke/v20231130/models.py +2940 -459
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +2 -6
- tencentcloud/lowcode/v20210108/models.py +30 -0
- tencentcloud/mna/v20210119/models.py +18 -2
- tencentcloud/mongodb/v20190725/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +258 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +3007 -140
- tencentcloud/mps/v20190612/mps_client.py +115 -0
- tencentcloud/mps/v20190612/mps_client_async.py +90 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
- tencentcloud/oceanus/v20190422/models.py +210 -4
- tencentcloud/ocr/v20181119/models.py +72 -4
- tencentcloud/ocr/v20181119/ocr_client.py +12 -8
- tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
- tencentcloud/partners/v20180321/models.py +88 -92
- tencentcloud/pts/v20210728/models.py +206 -0
- tencentcloud/rce/v20250425/__init__.py +0 -0
- tencentcloud/rce/v20250425/errorcodes.py +15 -0
- tencentcloud/rce/v20250425/models.py +301 -0
- tencentcloud/rce/v20250425/rce_client.py +49 -0
- tencentcloud/rce/v20250425/rce_client_async.py +44 -0
- tencentcloud/redis/v20180412/models.py +65 -70
- tencentcloud/rum/v20210622/models.py +548 -0
- tencentcloud/rum/v20210622/rum_client.py +23 -0
- tencentcloud/rum/v20210622/rum_client_async.py +18 -0
- tencentcloud/scf/v20180416/models.py +28 -2
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +991 -70
- tencentcloud/ssl/v20191205/ssl_client.py +2 -2
- tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
- tencentcloud/ssm/v20190923/models.py +134 -0
- tencentcloud/svp/v20240125/models.py +35 -20
- tencentcloud/tag/v20180813/models.py +34 -54
- tencentcloud/tat/v20201028/models.py +2 -0
- tencentcloud/tcaplusdb/v20190823/models.py +0 -337
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
- tencentcloud/tcb/v20180608/errorcodes.py +15 -12
- tencentcloud/tcb/v20180608/models.py +5761 -8383
- tencentcloud/tcb/v20180608/tcb_client.py +0 -276
- tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
- tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
- tencentcloud/tcbr/v20220217/models.py +4193 -1389
- tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
- tencentcloud/tcr/v20190924/models.py +727 -61
- tencentcloud/tcr/v20190924/tcr_client.py +92 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
- tencentcloud/tcss/v20201101/models.py +30 -0
- tencentcloud/tdai/v20250717/models.py +440 -2
- tencentcloud/tdai/v20250717/tdai_client.py +23 -0
- tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +432 -4
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
- tencentcloud/teo/v20220901/errorcodes.py +39 -0
- tencentcloud/teo/v20220901/models.py +596 -79
- tencentcloud/teo/v20220901/teo_client.py +107 -1
- tencentcloud/teo/v20220901/teo_client_async.py +97 -1
- tencentcloud/thpc/v20211109/models.py +14 -14
- tencentcloud/thpc/v20220401/models.py +14 -14
- tencentcloud/thpc/v20230321/models.py +20 -54
- tencentcloud/tione/v20211111/errorcodes.py +9 -0
- tencentcloud/tione/v20211111/models.py +910 -73
- tencentcloud/tione/v20211111/tione_client.py +69 -0
- tencentcloud/tione/v20211111/tione_client_async.py +54 -0
- tencentcloud/tke/v20180525/models.py +468 -18
- tencentcloud/tke/v20180525/tke_client.py +69 -0
- tencentcloud/tke/v20180525/tke_client_async.py +54 -0
- tencentcloud/tke/v20220501/models.py +539 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- tencentcloud/trocket/v20230308/models.py +42 -21
- tencentcloud/trocket/v20230308/trocket_client.py +2 -1
- tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +173 -30
- tencentcloud/tse/v20201207/models.py +42 -0
- tencentcloud/tsf/v20180326/errorcodes.py +4 -4
- tencentcloud/tsf/v20180326/models.py +15 -510
- tencentcloud/tsf/v20180326/tsf_client.py +66 -47
- tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/tts/v20190823/tts_client_async.py +1 -1
- tencentcloud/vclm/v20240523/models.py +383 -0
- tencentcloud/vclm/v20240523/vclm_client.py +46 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
- tencentcloud/vcube/v20220410/models.py +30 -0
- tencentcloud/vdb/v20230616/models.py +567 -0
- tencentcloud/vdb/v20230616/vdb_client.py +69 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
- tencentcloud/vm/v20210922/models.py +116 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +4107 -622
- tencentcloud/vod/v20180717/vod_client.py +72 -3
- tencentcloud/vod/v20180717/vod_client_async.py +57 -3
- tencentcloud/vpc/v20170312/errorcodes.py +15 -0
- tencentcloud/vpc/v20170312/models.py +387 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
- tencentcloud/waf/v20180125/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +970 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- tencentcloud/waf/v20180125/waf_client_async.py +36 -0
- tencentcloud/wedata/v20210820/models.py +2851 -29
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
- tencentcloud/wedata/v20250806/errorcodes.py +21 -0
- tencentcloud/wedata/v20250806/models.py +40999 -15704
- tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
- tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
- tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
- tencentcloud/weilingwith/v20230427/models.py +17 -336
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
- tencentcloud/wimgs/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
- tencentcloud/wimgs/v20251106/models.py +132 -0
- tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
- tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
- tencentcloud/wsa/v20250508/errorcodes.py +6 -0
- tencentcloud/wsa/v20250508/models.py +17 -2
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/top_level.txt +0 -0
|
@@ -188,6 +188,52 @@ class MpsClient(AbstractClient):
|
|
|
188
188
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
189
189
|
|
|
190
190
|
|
|
191
|
+
def CreateAigcImageTask(self, request):
|
|
192
|
+
r"""调用该接口用于创建AIGC生图片任务。
|
|
193
|
+
|
|
194
|
+
:param request: Request instance for CreateAigcImageTask.
|
|
195
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.CreateAigcImageTaskRequest`
|
|
196
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.CreateAigcImageTaskResponse`
|
|
197
|
+
|
|
198
|
+
"""
|
|
199
|
+
try:
|
|
200
|
+
params = request._serialize()
|
|
201
|
+
headers = request.headers
|
|
202
|
+
body = self.call("CreateAigcImageTask", params, headers=headers)
|
|
203
|
+
response = json.loads(body)
|
|
204
|
+
model = models.CreateAigcImageTaskResponse()
|
|
205
|
+
model._deserialize(response["Response"])
|
|
206
|
+
return model
|
|
207
|
+
except Exception as e:
|
|
208
|
+
if isinstance(e, TencentCloudSDKException):
|
|
209
|
+
raise
|
|
210
|
+
else:
|
|
211
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
def CreateAigcVideoTask(self, request):
|
|
215
|
+
r"""调用该接口,用于创建AI生视频任务。
|
|
216
|
+
|
|
217
|
+
:param request: Request instance for CreateAigcVideoTask.
|
|
218
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.CreateAigcVideoTaskRequest`
|
|
219
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.CreateAigcVideoTaskResponse`
|
|
220
|
+
|
|
221
|
+
"""
|
|
222
|
+
try:
|
|
223
|
+
params = request._serialize()
|
|
224
|
+
headers = request.headers
|
|
225
|
+
body = self.call("CreateAigcVideoTask", params, headers=headers)
|
|
226
|
+
response = json.loads(body)
|
|
227
|
+
model = models.CreateAigcVideoTaskResponse()
|
|
228
|
+
model._deserialize(response["Response"])
|
|
229
|
+
return model
|
|
230
|
+
except Exception as e:
|
|
231
|
+
if isinstance(e, TencentCloudSDKException):
|
|
232
|
+
raise
|
|
233
|
+
else:
|
|
234
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
235
|
+
|
|
236
|
+
|
|
191
237
|
def CreateAnimatedGraphicsTemplate(self, request):
|
|
192
238
|
r"""创建用户自定义转动图模板,数量上限:16。
|
|
193
239
|
|
|
@@ -1461,6 +1507,52 @@ class MpsClient(AbstractClient):
|
|
|
1461
1507
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1462
1508
|
|
|
1463
1509
|
|
|
1510
|
+
def DescribeAigcImageTask(self, request):
|
|
1511
|
+
r"""调用该接口,查询AIGC生图片任务进度以及获取生成结果。
|
|
1512
|
+
|
|
1513
|
+
:param request: Request instance for DescribeAigcImageTask.
|
|
1514
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.DescribeAigcImageTaskRequest`
|
|
1515
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.DescribeAigcImageTaskResponse`
|
|
1516
|
+
|
|
1517
|
+
"""
|
|
1518
|
+
try:
|
|
1519
|
+
params = request._serialize()
|
|
1520
|
+
headers = request.headers
|
|
1521
|
+
body = self.call("DescribeAigcImageTask", params, headers=headers)
|
|
1522
|
+
response = json.loads(body)
|
|
1523
|
+
model = models.DescribeAigcImageTaskResponse()
|
|
1524
|
+
model._deserialize(response["Response"])
|
|
1525
|
+
return model
|
|
1526
|
+
except Exception as e:
|
|
1527
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1528
|
+
raise
|
|
1529
|
+
else:
|
|
1530
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1531
|
+
|
|
1532
|
+
|
|
1533
|
+
def DescribeAigcVideoTask(self, request):
|
|
1534
|
+
r"""调用该接口,用于查询AIGC生视频任务的进度以及获取生成结果。
|
|
1535
|
+
|
|
1536
|
+
:param request: Request instance for DescribeAigcVideoTask.
|
|
1537
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.DescribeAigcVideoTaskRequest`
|
|
1538
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.DescribeAigcVideoTaskResponse`
|
|
1539
|
+
|
|
1540
|
+
"""
|
|
1541
|
+
try:
|
|
1542
|
+
params = request._serialize()
|
|
1543
|
+
headers = request.headers
|
|
1544
|
+
body = self.call("DescribeAigcVideoTask", params, headers=headers)
|
|
1545
|
+
response = json.loads(body)
|
|
1546
|
+
model = models.DescribeAigcVideoTaskResponse()
|
|
1547
|
+
model._deserialize(response["Response"])
|
|
1548
|
+
return model
|
|
1549
|
+
except Exception as e:
|
|
1550
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1551
|
+
raise
|
|
1552
|
+
else:
|
|
1553
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1554
|
+
|
|
1555
|
+
|
|
1464
1556
|
def DescribeAnimatedGraphicsTemplates(self, request):
|
|
1465
1557
|
r"""查询转动图模板列表,支持根据条件,分页查询。
|
|
1466
1558
|
|
|
@@ -3344,6 +3436,29 @@ class MpsClient(AbstractClient):
|
|
|
3344
3436
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3345
3437
|
|
|
3346
3438
|
|
|
3439
|
+
def RecognizeAudio(self, request):
|
|
3440
|
+
r"""同步接口,返回语音识别结果
|
|
3441
|
+
|
|
3442
|
+
:param request: Request instance for RecognizeAudio.
|
|
3443
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.RecognizeAudioRequest`
|
|
3444
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.RecognizeAudioResponse`
|
|
3445
|
+
|
|
3446
|
+
"""
|
|
3447
|
+
try:
|
|
3448
|
+
params = request._serialize()
|
|
3449
|
+
headers = request.headers
|
|
3450
|
+
body = self.call("RecognizeAudio", params, headers=headers)
|
|
3451
|
+
response = json.loads(body)
|
|
3452
|
+
model = models.RecognizeAudioResponse()
|
|
3453
|
+
model._deserialize(response["Response"])
|
|
3454
|
+
return model
|
|
3455
|
+
except Exception as e:
|
|
3456
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3457
|
+
raise
|
|
3458
|
+
else:
|
|
3459
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3460
|
+
|
|
3461
|
+
|
|
3347
3462
|
def RecognizeMediaForZhiXue(self, request):
|
|
3348
3463
|
r"""智能媒体识别,包含表情和动作识别。仅用于智学,其他调用无效。
|
|
3349
3464
|
|
|
@@ -152,6 +152,42 @@ class MpsClient(AbstractClient):
|
|
|
152
152
|
|
|
153
153
|
return await self.call_and_deserialize(**kwargs)
|
|
154
154
|
|
|
155
|
+
async def CreateAigcImageTask(
|
|
156
|
+
self,
|
|
157
|
+
request: models.CreateAigcImageTaskRequest,
|
|
158
|
+
opts: Dict = None,
|
|
159
|
+
) -> models.CreateAigcImageTaskResponse:
|
|
160
|
+
"""
|
|
161
|
+
调用该接口用于创建AIGC生图片任务。
|
|
162
|
+
"""
|
|
163
|
+
|
|
164
|
+
kwargs = {}
|
|
165
|
+
kwargs["action"] = "CreateAigcImageTask"
|
|
166
|
+
kwargs["params"] = request._serialize()
|
|
167
|
+
kwargs["resp_cls"] = models.CreateAigcImageTaskResponse
|
|
168
|
+
kwargs["headers"] = request.headers
|
|
169
|
+
kwargs["opts"] = opts or {}
|
|
170
|
+
|
|
171
|
+
return await self.call_and_deserialize(**kwargs)
|
|
172
|
+
|
|
173
|
+
async def CreateAigcVideoTask(
|
|
174
|
+
self,
|
|
175
|
+
request: models.CreateAigcVideoTaskRequest,
|
|
176
|
+
opts: Dict = None,
|
|
177
|
+
) -> models.CreateAigcVideoTaskResponse:
|
|
178
|
+
"""
|
|
179
|
+
调用该接口,用于创建AI生视频任务。
|
|
180
|
+
"""
|
|
181
|
+
|
|
182
|
+
kwargs = {}
|
|
183
|
+
kwargs["action"] = "CreateAigcVideoTask"
|
|
184
|
+
kwargs["params"] = request._serialize()
|
|
185
|
+
kwargs["resp_cls"] = models.CreateAigcVideoTaskResponse
|
|
186
|
+
kwargs["headers"] = request.headers
|
|
187
|
+
kwargs["opts"] = opts or {}
|
|
188
|
+
|
|
189
|
+
return await self.call_and_deserialize(**kwargs)
|
|
190
|
+
|
|
155
191
|
async def CreateAnimatedGraphicsTemplate(
|
|
156
192
|
self,
|
|
157
193
|
request: models.CreateAnimatedGraphicsTemplateRequest,
|
|
@@ -1155,6 +1191,42 @@ class MpsClient(AbstractClient):
|
|
|
1155
1191
|
|
|
1156
1192
|
return await self.call_and_deserialize(**kwargs)
|
|
1157
1193
|
|
|
1194
|
+
async def DescribeAigcImageTask(
|
|
1195
|
+
self,
|
|
1196
|
+
request: models.DescribeAigcImageTaskRequest,
|
|
1197
|
+
opts: Dict = None,
|
|
1198
|
+
) -> models.DescribeAigcImageTaskResponse:
|
|
1199
|
+
"""
|
|
1200
|
+
调用该接口,查询AIGC生图片任务进度以及获取生成结果。
|
|
1201
|
+
"""
|
|
1202
|
+
|
|
1203
|
+
kwargs = {}
|
|
1204
|
+
kwargs["action"] = "DescribeAigcImageTask"
|
|
1205
|
+
kwargs["params"] = request._serialize()
|
|
1206
|
+
kwargs["resp_cls"] = models.DescribeAigcImageTaskResponse
|
|
1207
|
+
kwargs["headers"] = request.headers
|
|
1208
|
+
kwargs["opts"] = opts or {}
|
|
1209
|
+
|
|
1210
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1211
|
+
|
|
1212
|
+
async def DescribeAigcVideoTask(
|
|
1213
|
+
self,
|
|
1214
|
+
request: models.DescribeAigcVideoTaskRequest,
|
|
1215
|
+
opts: Dict = None,
|
|
1216
|
+
) -> models.DescribeAigcVideoTaskResponse:
|
|
1217
|
+
"""
|
|
1218
|
+
调用该接口,用于查询AIGC生视频任务的进度以及获取生成结果。
|
|
1219
|
+
"""
|
|
1220
|
+
|
|
1221
|
+
kwargs = {}
|
|
1222
|
+
kwargs["action"] = "DescribeAigcVideoTask"
|
|
1223
|
+
kwargs["params"] = request._serialize()
|
|
1224
|
+
kwargs["resp_cls"] = models.DescribeAigcVideoTaskResponse
|
|
1225
|
+
kwargs["headers"] = request.headers
|
|
1226
|
+
kwargs["opts"] = opts or {}
|
|
1227
|
+
|
|
1228
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1229
|
+
|
|
1158
1230
|
async def DescribeAnimatedGraphicsTemplates(
|
|
1159
1231
|
self,
|
|
1160
1232
|
request: models.DescribeAnimatedGraphicsTemplatesRequest,
|
|
@@ -2638,6 +2710,24 @@ class MpsClient(AbstractClient):
|
|
|
2638
2710
|
|
|
2639
2711
|
return await self.call_and_deserialize(**kwargs)
|
|
2640
2712
|
|
|
2713
|
+
async def RecognizeAudio(
|
|
2714
|
+
self,
|
|
2715
|
+
request: models.RecognizeAudioRequest,
|
|
2716
|
+
opts: Dict = None,
|
|
2717
|
+
) -> models.RecognizeAudioResponse:
|
|
2718
|
+
"""
|
|
2719
|
+
同步接口,返回语音识别结果
|
|
2720
|
+
"""
|
|
2721
|
+
|
|
2722
|
+
kwargs = {}
|
|
2723
|
+
kwargs["action"] = "RecognizeAudio"
|
|
2724
|
+
kwargs["params"] = request._serialize()
|
|
2725
|
+
kwargs["resp_cls"] = models.RecognizeAudioResponse
|
|
2726
|
+
kwargs["headers"] = request.headers
|
|
2727
|
+
kwargs["opts"] = opts or {}
|
|
2728
|
+
|
|
2729
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2730
|
+
|
|
2641
2731
|
async def RecognizeMediaForZhiXue(
|
|
2642
2732
|
self,
|
|
2643
2733
|
request: models.RecognizeMediaForZhiXueRequest,
|
|
@@ -44,9 +44,15 @@ FAILEDOPERATION_FAILEDOPERATIONCODE_RUNSQLGATEWAY = 'FailedOperation.FailedOpera
|
|
|
44
44
|
# 查询资源关联标签失败。
|
|
45
45
|
FAILEDOPERATION_GETRESOURCETAGSBYRESOURCEIDS = 'FailedOperation.GetResourceTagsByResourceIds'
|
|
46
46
|
|
|
47
|
+
# Failed to obtain resource information through Tag
|
|
48
|
+
FAILEDOPERATION_GETRESOURCESBYTAGSUNION = 'FailedOperation.GetResourcesByTagsUnion'
|
|
49
|
+
|
|
47
50
|
# 语法检查失败。
|
|
48
51
|
FAILEDOPERATION_GRAMMARCHECKFAILURE = 'FailedOperation.GrammarCheckFailure'
|
|
49
52
|
|
|
53
|
+
# 作业绑定默认告警失败
|
|
54
|
+
FAILEDOPERATION_JOBBINDDEFAULTMONITORFAILED = 'FailedOperation.JobBindDefaultMonitorFailed'
|
|
55
|
+
|
|
50
56
|
# 作业配置在使用中。
|
|
51
57
|
FAILEDOPERATION_JOBCONFIGONPUBLISH = 'FailedOperation.JobConfigOnPublish'
|
|
52
58
|
|
|
@@ -224,6 +230,9 @@ LIMITEXCEEDED_JOB = 'LimitExceeded.Job'
|
|
|
224
230
|
# 作业配置超出限制。
|
|
225
231
|
LIMITEXCEEDED_JOBCONFIG = 'LimitExceeded.JobConfig'
|
|
226
232
|
|
|
233
|
+
# 用户作业默认告警配额达到上限
|
|
234
|
+
LIMITEXCEEDED_JOBDEFAULTMONITORLIMITEXCEEDED = 'LimitExceeded.JobDefaultMonitorLimitExceeded'
|
|
235
|
+
|
|
227
236
|
# 变量数超过限制。
|
|
228
237
|
LIMITEXCEEDED_VARIABLES = 'LimitExceeded.Variables'
|
|
229
238
|
|