tencentcloud-sdk-python-intl-en 3.0.1165__py2.py3-none-any.whl → 3.0.1167__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-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/advisor/v20200721/advisor_client.py +1 -1
- tencentcloud/aiart/v20221229/aiart_client.py +1 -1
- tencentcloud/ams/v20201229/ams_client.py +1 -1
- tencentcloud/antiddos/v20200309/antiddos_client.py +1 -1
- tencentcloud/apigateway/v20180808/apigateway_client.py +1 -1
- tencentcloud/apm/v20210622/apm_client.py +1 -1
- tencentcloud/asr/v20190614/asr_client.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/batch/v20170312/batch_client.py +1 -1
- tencentcloud/billing/v20180709/billing_client.py +1 -1
- tencentcloud/cam/v20190116/cam_client.py +1 -1
- tencentcloud/captcha/v20190722/captcha_client.py +1 -1
- tencentcloud/car/v20220110/car_client.py +1 -1
- tencentcloud/cbs/v20170312/cbs_client.py +1 -1
- tencentcloud/ccc/v20200210/ccc_client.py +1 -1
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdc/v20201214/cdc_client.py +1 -1
- tencentcloud/cdn/v20180606/cdn_client.py +1 -1
- tencentcloud/cdwdoris/v20211228/cdwdoris_client.py +1 -1
- tencentcloud/cdwpg/v20201230/cdwpg_client.py +1 -1
- tencentcloud/cfg/v20210820/cfg_client.py +1 -1
- tencentcloud/cfs/v20190719/cfs_client.py +1 -1
- tencentcloud/cfw/v20190904/cfw_client.py +1 -1
- tencentcloud/chdfs/v20201112/chdfs_client.py +1 -1
- tencentcloud/ciam/v20210420/ciam_client.py +1 -1
- tencentcloud/ciam/v20220331/ciam_client.py +1 -1
- tencentcloud/ckafka/v20190819/ckafka_client.py +1 -1
- tencentcloud/clb/v20180317/clb_client.py +1 -1
- tencentcloud/cloudaudit/v20190319/cloudaudit_client.py +1 -1
- tencentcloud/cls/v20201016/cls_client.py +1 -1
- tencentcloud/cmq/v20190304/cmq_client.py +1 -1
- tencentcloud/common/profile/http_profile.py +1 -1
- tencentcloud/config/v20220802/config_client.py +1 -1
- tencentcloud/controlcenter/v20230110/controlcenter_client.py +1 -1
- tencentcloud/csip/v20221121/csip_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cwp/v20180228/cwp_client.py +1 -1
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +1 -1
- tencentcloud/dataintegration/v20220613/dataintegration_client.py +1 -1
- tencentcloud/dayu/v20180709/dayu_client.py +1 -1
- tencentcloud/dbbrain/v20191016/dbbrain_client.py +1 -1
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +1 -1
- tencentcloud/dc/v20180410/dc_client.py +1 -1
- tencentcloud/dcdb/v20180411/dcdb_client.py +1 -1
- tencentcloud/dlc/v20210125/dlc_client.py +1 -1
- tencentcloud/dms/v20200819/dms_client.py +1 -1
- tencentcloud/dnspod/v20210323/dnspod_client.py +1 -1
- tencentcloud/domain/v20180808/domain_client.py +1 -1
- tencentcloud/dts/v20180330/dts_client.py +1 -1
- tencentcloud/dts/v20211206/dts_client.py +1 -1
- tencentcloud/eb/v20210416/eb_client.py +1 -1
- tencentcloud/ecdn/v20191012/ecdn_client.py +1 -1
- tencentcloud/ecm/v20190719/ecm_client.py +1 -1
- tencentcloud/eiam/v20210420/eiam_client.py +1 -1
- tencentcloud/emr/v20190103/emr_client.py +1 -1
- tencentcloud/es/v20180416/es_client.py +1 -1
- tencentcloud/facefusion/v20220927/facefusion_client.py +1 -1
- tencentcloud/faceid/v20180301/faceid_client.py +1 -1
- tencentcloud/gaap/v20180529/gaap_client.py +1 -1
- tencentcloud/gme/v20180711/gme_client.py +1 -1
- tencentcloud/gpm/v20200820/gpm_client.py +1 -1
- tencentcloud/gse/v20191112/gse_client.py +1 -1
- tencentcloud/gwlb/v20240906/gwlb_client.py +1 -1
- tencentcloud/iai/v20200303/iai_client.py +1 -1
- tencentcloud/ims/v20201229/ims_client.py +1 -1
- tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py +25 -1
- tencentcloud/intlpartnersmgt/v20220928/models.py +233 -0
- tencentcloud/iotcloud/v20210408/iotcloud_client.py +1 -1
- tencentcloud/ip/v20210409/ip_client.py +1 -1
- tencentcloud/kms/v20190118/kms_client.py +1 -1
- tencentcloud/lcic/v20220817/lcic_client.py +1 -1
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +1 -1
- tencentcloud/live/v20180801/live_client.py +1 -1
- tencentcloud/mariadb/v20170312/mariadb_client.py +1 -1
- tencentcloud/mdc/v20200828/mdc_client.py +1 -1
- tencentcloud/mdl/v20200326/mdl_client.py +1 -1
- tencentcloud/mdp/v20200527/mdp_client.py +1 -1
- tencentcloud/mongodb/v20190725/mongodb_client.py +1 -1
- tencentcloud/monitor/v20180724/monitor_client.py +1 -1
- tencentcloud/mps/v20190612/errorcodes.py +30 -0
- tencentcloud/mps/v20190612/models.py +4369 -218
- tencentcloud/mps/v20190612/mps_client.py +220 -12
- tencentcloud/msp/v20180319/msp_client.py +1 -1
- tencentcloud/ocr/v20181119/ocr_client.py +1 -1
- tencentcloud/omics/v20221128/omics_client.py +1 -1
- tencentcloud/organization/v20181225/organization_client.py +1 -1
- tencentcloud/organization/v20210331/organization_client.py +1 -1
- tencentcloud/postgres/v20170312/postgres_client.py +1 -1
- tencentcloud/privatedns/v20201028/privatedns_client.py +1 -1
- tencentcloud/pts/v20210728/pts_client.py +1 -1
- tencentcloud/rce/v20201103/rce_client.py +1 -1
- tencentcloud/redis/v20180412/redis_client.py +1 -1
- tencentcloud/rum/v20210622/rum_client.py +1 -1
- tencentcloud/scf/v20180416/scf_client.py +1 -1
- tencentcloud/ses/v20201002/ses_client.py +1 -1
- tencentcloud/sms/v20190711/sms_client.py +1 -1
- tencentcloud/sms/v20210111/sms_client.py +1 -1
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +1 -1
- tencentcloud/ssl/v20191205/ssl_client.py +1 -1
- tencentcloud/ssm/v20190923/ssm_client.py +1 -1
- tencentcloud/sts/v20180813/sts_client.py +1 -1
- tencentcloud/tag/v20180813/tag_client.py +1 -1
- tencentcloud/tat/v20201028/tat_client.py +1 -1
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +1 -1
- tencentcloud/tchd/v20230306/tchd_client.py +1 -1
- tencentcloud/tcmpp/v20240801/tcmpp_client.py +1 -1
- tencentcloud/tcr/v20190924/tcr_client.py +1 -1
- tencentcloud/tcsas/v20250106/tcsas_client.py +1 -1
- tencentcloud/tcss/v20201101/tcss_client.py +1 -1
- tencentcloud/tdid/v20210519/tdid_client.py +1 -1
- tencentcloud/tdmq/v20200217/tdmq_client.py +1 -1
- tencentcloud/tem/v20201221/tem_client.py +1 -1
- tencentcloud/tem/v20210701/tem_client.py +1 -1
- tencentcloud/teo/v20220106/teo_client.py +1 -1
- tencentcloud/teo/v20220901/teo_client.py +1 -1
- tencentcloud/tiw/v20190919/tiw_client.py +1 -1
- tencentcloud/tke/v20180525/tke_client.py +1 -1
- tencentcloud/tke/v20220501/tke_client.py +1 -1
- tencentcloud/tms/v20201229/tms_client.py +1 -1
- tencentcloud/tmt/v20180321/tmt_client.py +1 -1
- tencentcloud/trro/v20220325/trro_client.py +1 -1
- tencentcloud/trtc/v20190722/trtc_client.py +1 -1
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/vclm/v20240523/vclm_client.py +1 -1
- tencentcloud/vm/v20201229/vm_client.py +1 -1
- tencentcloud/vm/v20210922/vm_client.py +1 -1
- tencentcloud/vod/v20180717/vod_client.py +1 -1
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- tencentcloud/waf/v20180125/waf_client.py +1 -1
- tencentcloud/wedata/v20210820/wedata_client.py +1 -1
- tencentcloud/yunjing/v20180228/yunjing_client.py +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1165.dist-info → tencentcloud_sdk_python_intl_en-3.0.1167.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1165.dist-info → tencentcloud_sdk_python_intl_en-3.0.1167.dist-info}/RECORD +136 -136
- {tencentcloud_sdk_python_intl_en-3.0.1165.dist-info → tencentcloud_sdk_python_intl_en-3.0.1167.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1165.dist-info → tencentcloud_sdk_python_intl_en-3.0.1167.dist-info}/top_level.txt +0 -0
|
@@ -22,7 +22,7 @@ from tencentcloud.mps.v20190612 import models
|
|
|
22
22
|
|
|
23
23
|
class MpsClient(AbstractClient):
|
|
24
24
|
_apiVersion = '2019-06-12'
|
|
25
|
-
_endpoint = 'mps.tencentcloudapi.com'
|
|
25
|
+
_endpoint = 'mps.intl.tencentcloudapi.com'
|
|
26
26
|
_service = 'mps'
|
|
27
27
|
|
|
28
28
|
|
|
@@ -118,6 +118,29 @@ class MpsClient(AbstractClient):
|
|
|
118
118
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
119
119
|
|
|
120
120
|
|
|
121
|
+
def CreateAsrHotwords(self, request):
|
|
122
|
+
"""This API is used to create a smart subtitle hotword lexicon.
|
|
123
|
+
|
|
124
|
+
:param request: Request instance for CreateAsrHotwords.
|
|
125
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.CreateAsrHotwordsRequest`
|
|
126
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.CreateAsrHotwordsResponse`
|
|
127
|
+
|
|
128
|
+
"""
|
|
129
|
+
try:
|
|
130
|
+
params = request._serialize()
|
|
131
|
+
headers = request.headers
|
|
132
|
+
body = self.call("CreateAsrHotwords", params, headers=headers)
|
|
133
|
+
response = json.loads(body)
|
|
134
|
+
model = models.CreateAsrHotwordsResponse()
|
|
135
|
+
model._deserialize(response["Response"])
|
|
136
|
+
return model
|
|
137
|
+
except Exception as e:
|
|
138
|
+
if isinstance(e, TencentCloudSDKException):
|
|
139
|
+
raise
|
|
140
|
+
else:
|
|
141
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
142
|
+
|
|
143
|
+
|
|
121
144
|
def CreateContentReviewTemplate(self, request):
|
|
122
145
|
"""This API is used to create a custom content moderation template. Up to 50 templates can be created in total.
|
|
123
146
|
|
|
@@ -290,6 +313,29 @@ class MpsClient(AbstractClient):
|
|
|
290
313
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
291
314
|
|
|
292
315
|
|
|
316
|
+
def CreateSmartSubtitleTemplate(self, request):
|
|
317
|
+
"""This API is used to create a custom smart subtitle template.
|
|
318
|
+
|
|
319
|
+
:param request: Request instance for CreateSmartSubtitleTemplate.
|
|
320
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.CreateSmartSubtitleTemplateRequest`
|
|
321
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.CreateSmartSubtitleTemplateResponse`
|
|
322
|
+
|
|
323
|
+
"""
|
|
324
|
+
try:
|
|
325
|
+
params = request._serialize()
|
|
326
|
+
headers = request.headers
|
|
327
|
+
body = self.call("CreateSmartSubtitleTemplate", params, headers=headers)
|
|
328
|
+
response = json.loads(body)
|
|
329
|
+
model = models.CreateSmartSubtitleTemplateResponse()
|
|
330
|
+
model._deserialize(response["Response"])
|
|
331
|
+
return model
|
|
332
|
+
except Exception as e:
|
|
333
|
+
if isinstance(e, TencentCloudSDKException):
|
|
334
|
+
raise
|
|
335
|
+
else:
|
|
336
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
337
|
+
|
|
338
|
+
|
|
293
339
|
def CreateSnapshotByTimeOffsetTemplate(self, request):
|
|
294
340
|
"""This API is used to create a custom time point screencapturing template. Up to 16 templates can be created.
|
|
295
341
|
|
|
@@ -510,6 +556,29 @@ class MpsClient(AbstractClient):
|
|
|
510
556
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
511
557
|
|
|
512
558
|
|
|
559
|
+
def DeleteAsrHotwords(self, request):
|
|
560
|
+
"""This API is used to delete a smart subtitle hotword lexicon.
|
|
561
|
+
|
|
562
|
+
:param request: Request instance for DeleteAsrHotwords.
|
|
563
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.DeleteAsrHotwordsRequest`
|
|
564
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.DeleteAsrHotwordsResponse`
|
|
565
|
+
|
|
566
|
+
"""
|
|
567
|
+
try:
|
|
568
|
+
params = request._serialize()
|
|
569
|
+
headers = request.headers
|
|
570
|
+
body = self.call("DeleteAsrHotwords", params, headers=headers)
|
|
571
|
+
response = json.loads(body)
|
|
572
|
+
model = models.DeleteAsrHotwordsResponse()
|
|
573
|
+
model._deserialize(response["Response"])
|
|
574
|
+
return model
|
|
575
|
+
except Exception as e:
|
|
576
|
+
if isinstance(e, TencentCloudSDKException):
|
|
577
|
+
raise
|
|
578
|
+
else:
|
|
579
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
580
|
+
|
|
581
|
+
|
|
513
582
|
def DeleteContentReviewTemplate(self, request):
|
|
514
583
|
"""This API is used to delete a custom content moderation template.
|
|
515
584
|
|
|
@@ -671,6 +740,29 @@ class MpsClient(AbstractClient):
|
|
|
671
740
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
672
741
|
|
|
673
742
|
|
|
743
|
+
def DeleteSmartSubtitleTemplate(self, request):
|
|
744
|
+
"""This API is used to delete a user-defined smart subtitle template.
|
|
745
|
+
|
|
746
|
+
:param request: Request instance for DeleteSmartSubtitleTemplate.
|
|
747
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.DeleteSmartSubtitleTemplateRequest`
|
|
748
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.DeleteSmartSubtitleTemplateResponse`
|
|
749
|
+
|
|
750
|
+
"""
|
|
751
|
+
try:
|
|
752
|
+
params = request._serialize()
|
|
753
|
+
headers = request.headers
|
|
754
|
+
body = self.call("DeleteSmartSubtitleTemplate", params, headers=headers)
|
|
755
|
+
response = json.loads(body)
|
|
756
|
+
model = models.DeleteSmartSubtitleTemplateResponse()
|
|
757
|
+
model._deserialize(response["Response"])
|
|
758
|
+
return model
|
|
759
|
+
except Exception as e:
|
|
760
|
+
if isinstance(e, TencentCloudSDKException):
|
|
761
|
+
raise
|
|
762
|
+
else:
|
|
763
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
764
|
+
|
|
765
|
+
|
|
674
766
|
def DeleteSnapshotByTimeOffsetTemplate(self, request):
|
|
675
767
|
"""This API is used to delete a custom time point screencapturing template.
|
|
676
768
|
|
|
@@ -878,6 +970,52 @@ class MpsClient(AbstractClient):
|
|
|
878
970
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
879
971
|
|
|
880
972
|
|
|
973
|
+
def DescribeAsrHotwords(self, request):
|
|
974
|
+
"""This API is used to query a smart subtitle hotword lexicon.
|
|
975
|
+
|
|
976
|
+
:param request: Request instance for DescribeAsrHotwords.
|
|
977
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.DescribeAsrHotwordsRequest`
|
|
978
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.DescribeAsrHotwordsResponse`
|
|
979
|
+
|
|
980
|
+
"""
|
|
981
|
+
try:
|
|
982
|
+
params = request._serialize()
|
|
983
|
+
headers = request.headers
|
|
984
|
+
body = self.call("DescribeAsrHotwords", params, headers=headers)
|
|
985
|
+
response = json.loads(body)
|
|
986
|
+
model = models.DescribeAsrHotwordsResponse()
|
|
987
|
+
model._deserialize(response["Response"])
|
|
988
|
+
return model
|
|
989
|
+
except Exception as e:
|
|
990
|
+
if isinstance(e, TencentCloudSDKException):
|
|
991
|
+
raise
|
|
992
|
+
else:
|
|
993
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
def DescribeAsrHotwordsList(self, request):
|
|
997
|
+
"""This API is used to obtain the hotword lexicon list.
|
|
998
|
+
|
|
999
|
+
:param request: Request instance for DescribeAsrHotwordsList.
|
|
1000
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.DescribeAsrHotwordsListRequest`
|
|
1001
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.DescribeAsrHotwordsListResponse`
|
|
1002
|
+
|
|
1003
|
+
"""
|
|
1004
|
+
try:
|
|
1005
|
+
params = request._serialize()
|
|
1006
|
+
headers = request.headers
|
|
1007
|
+
body = self.call("DescribeAsrHotwordsList", params, headers=headers)
|
|
1008
|
+
response = json.loads(body)
|
|
1009
|
+
model = models.DescribeAsrHotwordsListResponse()
|
|
1010
|
+
model._deserialize(response["Response"])
|
|
1011
|
+
return model
|
|
1012
|
+
except Exception as e:
|
|
1013
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1014
|
+
raise
|
|
1015
|
+
else:
|
|
1016
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1017
|
+
|
|
1018
|
+
|
|
881
1019
|
def DescribeContentReviewTemplates(self, request):
|
|
882
1020
|
"""This API is used to query content moderation templates by template ID. Both custom and preset templates that match the template IDs passed in will be returned.
|
|
883
1021
|
|
|
@@ -1062,6 +1200,29 @@ class MpsClient(AbstractClient):
|
|
|
1062
1200
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1063
1201
|
|
|
1064
1202
|
|
|
1203
|
+
def DescribeSmartSubtitleTemplates(self, request):
|
|
1204
|
+
"""This API is used to obtain the list of smart subtitle templates based on template unique identifier. The returned result includes all matching user-defined smart subtitle templates and system preset smart subtitle templates.
|
|
1205
|
+
|
|
1206
|
+
:param request: Request instance for DescribeSmartSubtitleTemplates.
|
|
1207
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.DescribeSmartSubtitleTemplatesRequest`
|
|
1208
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.DescribeSmartSubtitleTemplatesResponse`
|
|
1209
|
+
|
|
1210
|
+
"""
|
|
1211
|
+
try:
|
|
1212
|
+
params = request._serialize()
|
|
1213
|
+
headers = request.headers
|
|
1214
|
+
body = self.call("DescribeSmartSubtitleTemplates", params, headers=headers)
|
|
1215
|
+
response = json.loads(body)
|
|
1216
|
+
model = models.DescribeSmartSubtitleTemplatesResponse()
|
|
1217
|
+
model._deserialize(response["Response"])
|
|
1218
|
+
return model
|
|
1219
|
+
except Exception as e:
|
|
1220
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1221
|
+
raise
|
|
1222
|
+
else:
|
|
1223
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1224
|
+
|
|
1225
|
+
|
|
1065
1226
|
def DescribeSnapshotByTimeOffsetTemplates(self, request):
|
|
1066
1227
|
"""This API is used to query the list of time point screencapturing templates and supports paged queries by filters.
|
|
1067
1228
|
|
|
@@ -1515,6 +1676,29 @@ class MpsClient(AbstractClient):
|
|
|
1515
1676
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1516
1677
|
|
|
1517
1678
|
|
|
1679
|
+
def ModifyAsrHotwords(self, request):
|
|
1680
|
+
"""This API is used to update a smart subtitle hotword lexicon.
|
|
1681
|
+
|
|
1682
|
+
:param request: Request instance for ModifyAsrHotwords.
|
|
1683
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.ModifyAsrHotwordsRequest`
|
|
1684
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.ModifyAsrHotwordsResponse`
|
|
1685
|
+
|
|
1686
|
+
"""
|
|
1687
|
+
try:
|
|
1688
|
+
params = request._serialize()
|
|
1689
|
+
headers = request.headers
|
|
1690
|
+
body = self.call("ModifyAsrHotwords", params, headers=headers)
|
|
1691
|
+
response = json.loads(body)
|
|
1692
|
+
model = models.ModifyAsrHotwordsResponse()
|
|
1693
|
+
model._deserialize(response["Response"])
|
|
1694
|
+
return model
|
|
1695
|
+
except Exception as e:
|
|
1696
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1697
|
+
raise
|
|
1698
|
+
else:
|
|
1699
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1700
|
+
|
|
1701
|
+
|
|
1518
1702
|
def ModifyContentReviewTemplate(self, request):
|
|
1519
1703
|
"""This API is used to modify a custom content moderation template.
|
|
1520
1704
|
|
|
@@ -1676,6 +1860,29 @@ class MpsClient(AbstractClient):
|
|
|
1676
1860
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1677
1861
|
|
|
1678
1862
|
|
|
1863
|
+
def ModifySmartSubtitleTemplate(self, request):
|
|
1864
|
+
"""This API is used to modify a user-defined smart subtitle template.
|
|
1865
|
+
|
|
1866
|
+
:param request: Request instance for ModifySmartSubtitleTemplate.
|
|
1867
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.ModifySmartSubtitleTemplateRequest`
|
|
1868
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.ModifySmartSubtitleTemplateResponse`
|
|
1869
|
+
|
|
1870
|
+
"""
|
|
1871
|
+
try:
|
|
1872
|
+
params = request._serialize()
|
|
1873
|
+
headers = request.headers
|
|
1874
|
+
body = self.call("ModifySmartSubtitleTemplate", params, headers=headers)
|
|
1875
|
+
response = json.loads(body)
|
|
1876
|
+
model = models.ModifySmartSubtitleTemplateResponse()
|
|
1877
|
+
model._deserialize(response["Response"])
|
|
1878
|
+
return model
|
|
1879
|
+
except Exception as e:
|
|
1880
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1881
|
+
raise
|
|
1882
|
+
else:
|
|
1883
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1884
|
+
|
|
1885
|
+
|
|
1679
1886
|
def ModifySnapshotByTimeOffsetTemplate(self, request):
|
|
1680
1887
|
"""This API is used to modify a custom time point screencapturing template.
|
|
1681
1888
|
|
|
@@ -1873,19 +2080,20 @@ class MpsClient(AbstractClient):
|
|
|
1873
2080
|
|
|
1874
2081
|
|
|
1875
2082
|
def ProcessMedia(self, request):
|
|
1876
|
-
"""This API is used to initiate a processing task for video URLs or media files in
|
|
1877
|
-
1. Video transcoding (standard transcoding, TSC transcoding, and audio/video enhancement)
|
|
1878
|
-
2.
|
|
1879
|
-
3.
|
|
1880
|
-
4. Sampled screenshot
|
|
1881
|
-
5.
|
|
1882
|
-
6.
|
|
1883
|
-
7. Intelligent
|
|
1884
|
-
8. Intelligent analysis (
|
|
1885
|
-
9. Intelligent
|
|
1886
|
-
|
|
2083
|
+
"""This API is used to initiate a processing task for video URLs or media files in COS. Features include:
|
|
2084
|
+
1. Video transcoding (standard transcoding, TSC transcoding, and audio/video enhancement).
|
|
2085
|
+
2. Video-to-GIF conversion.
|
|
2086
|
+
3. Time point screenshot of videos.
|
|
2087
|
+
4. Sampled screenshot of videos.
|
|
2088
|
+
5. Image sprite of videos.
|
|
2089
|
+
6. Adaptive bitrate stream conversion for videos.
|
|
2090
|
+
7. Intelligent content moderation (pornography detection and sensitive information detection).
|
|
2091
|
+
8. Intelligent content analysis (tag, category, cover, frame tag, video splitting, highlight, opening and ending clips, and game tracking).
|
|
2092
|
+
9. Intelligent content recognition (human face, full text, text keyword, full speech, speech keyword, speech translation, and object).
|
|
1887
2093
|
10. Media quality inspection (live stream format diagnosis, audio and video content detection (jitter, blur, low light, overexposure, black and white edges, black and white screens, screen glitch, noise, mosaic, QR code, and more), and no-reference scoring).
|
|
1888
2094
|
|
|
2095
|
+
11. Smart subtitle (full speech, speech hotword, and speech translation).
|
|
2096
|
+
|
|
1889
2097
|
:param request: Request instance for ProcessMedia.
|
|
1890
2098
|
:type request: :class:`tencentcloud.mps.v20190612.models.ProcessMediaRequest`
|
|
1891
2099
|
:rtype: :class:`tencentcloud.mps.v20190612.models.ProcessMediaResponse`
|
|
@@ -22,7 +22,7 @@ from tencentcloud.organization.v20181225 import models
|
|
|
22
22
|
|
|
23
23
|
class OrganizationClient(AbstractClient):
|
|
24
24
|
_apiVersion = '2018-12-25'
|
|
25
|
-
_endpoint = 'organization.tencentcloudapi.com'
|
|
25
|
+
_endpoint = 'organization.intl.tencentcloudapi.com'
|
|
26
26
|
_service = 'organization'
|
|
27
27
|
|
|
28
28
|
|
|
@@ -22,7 +22,7 @@ from tencentcloud.organization.v20210331 import models
|
|
|
22
22
|
|
|
23
23
|
class OrganizationClient(AbstractClient):
|
|
24
24
|
_apiVersion = '2021-03-31'
|
|
25
|
-
_endpoint = 'organization.tencentcloudapi.com'
|
|
25
|
+
_endpoint = 'organization.intl.tencentcloudapi.com'
|
|
26
26
|
_service = 'organization'
|
|
27
27
|
|
|
28
28
|
|
|
@@ -22,7 +22,7 @@ from tencentcloud.privatedns.v20201028 import models
|
|
|
22
22
|
|
|
23
23
|
class PrivatednsClient(AbstractClient):
|
|
24
24
|
_apiVersion = '2020-10-28'
|
|
25
|
-
_endpoint = 'privatedns.tencentcloudapi.com'
|
|
25
|
+
_endpoint = 'privatedns.intl.tencentcloudapi.com'
|
|
26
26
|
_service = 'privatedns'
|
|
27
27
|
|
|
28
28
|
|