tencentcloud-sdk-python-intl-en 3.0.1074__py2.py3-none-any.whl → 3.0.1076__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/models.py +120 -0
- tencentcloud/aiart/v20221229/models.py +95 -0
- tencentcloud/ams/v20201229/models.py +432 -0
- tencentcloud/antiddos/v20200309/models.py +2806 -0
- tencentcloud/apigateway/v20180808/models.py +3945 -0
- tencentcloud/autoscaling/v20180419/models.py +2449 -5
- tencentcloud/batch/v20170312/models.py +1566 -0
- tencentcloud/billing/v20180709/models.py +2418 -0
- tencentcloud/cam/v20190116/models.py +1697 -0
- tencentcloud/captcha/v20190722/models.py +70 -0
- tencentcloud/car/v20220110/models.py +803 -0
- tencentcloud/cbs/v20170312/models.py +1245 -0
- tencentcloud/ccc/v20200210/models.py +1949 -1
- tencentcloud/cdb/v20170320/models.py +4821 -0
- tencentcloud/cdn/v20180606/models.py +4870 -8
- tencentcloud/cdwdoris/v20211228/models.py +3337 -0
- tencentcloud/cfg/v20210820/models.py +1194 -0
- tencentcloud/cfs/v20190719/models.py +1178 -0
- tencentcloud/cfw/v20190904/models.py +2378 -0
- tencentcloud/chdfs/v20201112/models.py +513 -0
- tencentcloud/ciam/v20210420/models.py +49 -0
- tencentcloud/ciam/v20220331/models.py +789 -0
- tencentcloud/ckafka/v20190819/models.py +2576 -0
- tencentcloud/clb/v20180317/models.py +3220 -1
- tencentcloud/cloudaudit/v20190319/models.py +519 -0
- tencentcloud/cls/v20201016/models.py +3652 -1
- tencentcloud/cmq/v20190304/models.py +571 -0
- tencentcloud/controlcenter/v20230110/models.py +15 -0
- tencentcloud/csip/v20221121/models.py +2881 -2
- tencentcloud/cvm/v20170312/models.py +2827 -0
- tencentcloud/cwp/v20180228/models.py +16412 -0
- tencentcloud/cynosdb/v20190107/models.py +4267 -4
- tencentcloud/dataintegration/v20220613/models.py +18 -0
- tencentcloud/dayu/v20180709/models.py +3541 -12
- tencentcloud/dbbrain/v20191016/models.py +1056 -0
- tencentcloud/dbbrain/v20210527/models.py +1763 -0
- tencentcloud/dc/v20180410/models.py +767 -0
- tencentcloud/dcdb/v20180411/models.py +2335 -0
- tencentcloud/dlc/v20210125/models.py +3985 -5
- tencentcloud/dms/v20200819/models.py +51 -0
- tencentcloud/dnspod/v20210323/models.py +1286 -0
- tencentcloud/domain/v20180808/models.py +855 -0
- tencentcloud/dts/v20180330/models.py +791 -0
- tencentcloud/dts/v20211206/models.py +2317 -1
- tencentcloud/eb/v20210416/models.py +858 -0
- tencentcloud/ecdn/v20191012/models.py +811 -0
- tencentcloud/ecm/v20190719/models.py +3972 -1
- tencentcloud/eiam/v20210420/models.py +1265 -0
- tencentcloud/emr/v20190103/models.py +2926 -7
- tencentcloud/es/v20180416/errorcodes.py +48 -0
- tencentcloud/es/v20180416/models.py +1525 -2
- tencentcloud/facefusion/v20220927/errorcodes.py +18 -0
- tencentcloud/facefusion/v20220927/facefusion_client.py +46 -0
- tencentcloud/facefusion/v20220927/models.py +818 -0
- tencentcloud/faceid/v20180301/models.py +2071 -0
- tencentcloud/gaap/v20180529/models.py +3103 -8
- tencentcloud/gme/v20180711/models.py +388 -0
- tencentcloud/gpm/v20200820/models.py +674 -0
- tencentcloud/gse/v20191112/models.py +972 -0
- tencentcloud/iai/v20200303/models.py +1430 -0
- tencentcloud/ims/v20201229/models.py +329 -0
- tencentcloud/intlpartnersmgt/v20220928/models.py +988 -0
- tencentcloud/iotcloud/v20210408/models.py +585 -0
- tencentcloud/ip/v20210409/models.py +178 -0
- tencentcloud/kms/v20190118/models.py +869 -0
- tencentcloud/lcic/v20220817/models.py +1658 -0
- tencentcloud/lighthouse/v20200324/models.py +2088 -0
- tencentcloud/live/v20180801/models.py +4287 -0
- tencentcloud/mariadb/v20170312/models.py +1905 -0
- tencentcloud/mdc/v20200828/models.py +1104 -0
- tencentcloud/mdl/v20200326/models.py +1911 -1
- tencentcloud/mdp/v20200527/models.py +452 -0
- tencentcloud/mongodb/v20190725/models.py +1234 -0
- tencentcloud/monitor/v20180724/models.py +5798 -2
- tencentcloud/mps/v20190612/models.py +8699 -105
- tencentcloud/msp/v20180319/models.py +183 -0
- tencentcloud/ocr/v20181119/models.py +3160 -1
- tencentcloud/omics/v20221128/models.py +1086 -0
- tencentcloud/organization/v20181225/models.py +285 -0
- tencentcloud/organization/v20210331/models.py +2267 -0
- tencentcloud/postgres/v20170312/models.py +3248 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +34 -1
- tencentcloud/privatedns/v20201028/models.py +1700 -0
- tencentcloud/privatedns/v20201028/privatedns_client.py +115 -0
- tencentcloud/redis/v20180412/models.py +3298 -3
- tencentcloud/rum/v20210622/models.py +2114 -0
- tencentcloud/scf/v20180416/models.py +1561 -0
- tencentcloud/ses/v20201002/models.py +649 -0
- tencentcloud/sms/v20190711/models.py +575 -0
- tencentcloud/sms/v20210111/models.py +593 -0
- tencentcloud/sqlserver/v20180328/models.py +2921 -2
- tencentcloud/ssl/v20191205/models.py +2267 -0
- tencentcloud/ssm/v20190923/models.py +678 -0
- tencentcloud/sts/v20180813/models.py +161 -0
- tencentcloud/tag/v20180813/models.py +784 -0
- tencentcloud/tat/v20201028/models.py +806 -0
- tencentcloud/tcaplusdb/v20190823/models.py +1860 -0
- tencentcloud/tchd/v20230306/models.py +41 -0
- tencentcloud/tcmpp/v20240801/models.py +3761 -1
- tencentcloud/tcr/v20190924/models.py +1851 -0
- tencentcloud/tcss/v20201101/models.py +12523 -0
- tencentcloud/tdid/v20210519/models.py +1258 -0
- tencentcloud/tdmq/v20200217/models.py +3495 -0
- tencentcloud/tem/v20201221/models.py +803 -0
- tencentcloud/tem/v20210701/models.py +2551 -1
- tencentcloud/teo/v20220106/models.py +4731 -0
- tencentcloud/teo/v20220901/models.py +6066 -0
- tencentcloud/tiw/v20190919/models.py +1678 -1
- tencentcloud/tke/v20180525/models.py +3662 -0
- tencentcloud/tms/v20201229/models.py +176 -0
- tencentcloud/tmt/v20180321/models.py +65 -0
- tencentcloud/trtc/v20190722/models.py +1698 -8
- tencentcloud/tts/v20190823/models.py +72 -0
- tencentcloud/vm/v20201229/models.py +568 -0
- tencentcloud/vm/v20210922/models.py +636 -0
- tencentcloud/vod/v20180717/models.py +14078 -1
- tencentcloud/vod/v20180717/vod_client.py +33 -0
- tencentcloud/vpc/v20170312/models.py +6543 -1
- tencentcloud/waf/v20180125/models.py +4814 -0
- tencentcloud/wedata/v20210820/models.py +12594 -0
- tencentcloud/yunjing/v20180228/models.py +1867 -0
- {tencentcloud_sdk_python_intl_en-3.0.1074.dist-info → tencentcloud_sdk_python_intl_en-3.0.1076.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1074.dist-info → tencentcloud_sdk_python_intl_en-3.0.1076.dist-info}/RECORD +126 -126
- {tencentcloud_sdk_python_intl_en-3.0.1074.dist-info → tencentcloud_sdk_python_intl_en-3.0.1076.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1074.dist-info → tencentcloud_sdk_python_intl_en-3.0.1076.dist-info}/top_level.txt +0 -0
|
@@ -17,12 +17,18 @@
|
|
|
17
17
|
# Insufficient balance, failed to open, please recharge and open again.
|
|
18
18
|
FAILEDOPERATION_BALANCEINSUFFICIENT = 'FailedOperation.BalanceInsufficient'
|
|
19
19
|
|
|
20
|
+
# The face corresponding to the specified ID does not exist in the video.
|
|
21
|
+
FAILEDOPERATION_FACEIDNOTINVIDEO = 'FailedOperation.FaceIdNotInVideo'
|
|
22
|
+
|
|
20
23
|
# The face was filtered because it was too small. It is recommended that the face size is not less than 34x34 pixels.
|
|
21
24
|
FAILEDOPERATION_FACESIZETOOSMALL = 'FailedOperation.FaceSizeTooSmall'
|
|
22
25
|
|
|
23
26
|
# The material has not been reviewed.
|
|
24
27
|
FAILEDOPERATION_FUSEMATERIALNOTAUTH = 'FailedOperation.FuseMaterialNotAuth'
|
|
25
28
|
|
|
29
|
+
# The material in this state cannot be used.
|
|
30
|
+
FAILEDOPERATION_FUSEMATERIALNOTAVAILABLE = 'FailedOperation.FuseMaterialNotAvailable'
|
|
31
|
+
|
|
26
32
|
# The material does not exist.
|
|
27
33
|
FAILEDOPERATION_FUSEMATERIALNOTEXIST = 'FailedOperation.FuseMaterialNotExist'
|
|
28
34
|
|
|
@@ -32,6 +38,9 @@ FAILEDOPERATION_IMAGEDECODEFAILED = 'FailedOperation.ImageDecodeFailed'
|
|
|
32
38
|
# Image download failed.
|
|
33
39
|
FAILEDOPERATION_IMAGEDOWNLOADERROR = 'FailedOperation.ImageDownloadError'
|
|
34
40
|
|
|
41
|
+
# The image size is too large. It is recommended to resize the image to below 2,000x2,000 pixels.
|
|
42
|
+
FAILEDOPERATION_IMAGERESOLUTIONEXCEED = 'FailedOperation.ImageResolutionExceed'
|
|
43
|
+
|
|
35
44
|
# The short edge resolution of the image is lower than 64 pixels.
|
|
36
45
|
FAILEDOPERATION_IMAGERESOLUTIONTOOSMALL = 'FailedOperation.ImageResolutionTooSmall'
|
|
37
46
|
|
|
@@ -44,12 +53,21 @@ FAILEDOPERATION_IMAGESIZEINVALID = 'FailedOperation.ImageSizeInvalid'
|
|
|
44
53
|
# Internal service error.
|
|
45
54
|
FAILEDOPERATION_INNERERROR = 'FailedOperation.InnerError'
|
|
46
55
|
|
|
56
|
+
# The task has been canceled. Please submit the task again.
|
|
57
|
+
FAILEDOPERATION_JOBHASBEENCANCELED = 'FailedOperation.JobHasBeenCanceled'
|
|
58
|
+
|
|
59
|
+
# The task does not exist.
|
|
60
|
+
FAILEDOPERATION_JOBNOTEXIST = 'FailedOperation.JobNotExist'
|
|
61
|
+
|
|
47
62
|
# The face cannot be detected because the face box is too small.
|
|
48
63
|
FAILEDOPERATION_NOFACEDETECTED = 'FailedOperation.NoFaceDetected'
|
|
49
64
|
|
|
50
65
|
# Parameter or value is invalid.
|
|
51
66
|
FAILEDOPERATION_PARAMETERVALUEERROR = 'FailedOperation.ParameterValueError'
|
|
52
67
|
|
|
68
|
+
# The authorization fee is not paid for the activity, or the activity has been disabled.
|
|
69
|
+
FAILEDOPERATION_PROJECTNOTAUTH = 'FailedOperation.ProjectNotAuth'
|
|
70
|
+
|
|
53
71
|
# The backend service timed out.
|
|
54
72
|
FAILEDOPERATION_REQUESTTIMEOUT = 'FailedOperation.RequestTimeout'
|
|
55
73
|
|
|
@@ -46,6 +46,52 @@ class FacefusionClient(AbstractClient):
|
|
|
46
46
|
model = models.FuseFaceResponse()
|
|
47
47
|
model._deserialize(response["Response"])
|
|
48
48
|
return model
|
|
49
|
+
except Exception as e:
|
|
50
|
+
if isinstance(e, TencentCloudSDKException):
|
|
51
|
+
raise
|
|
52
|
+
else:
|
|
53
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def QueryVideoFaceFusionJob(self, request):
|
|
57
|
+
"""This API is used to query the progress and status of video face fusion tasks by Job ID.
|
|
58
|
+
|
|
59
|
+
:param request: Request instance for QueryVideoFaceFusionJob.
|
|
60
|
+
:type request: :class:`tencentcloud.facefusion.v20220927.models.QueryVideoFaceFusionJobRequest`
|
|
61
|
+
:rtype: :class:`tencentcloud.facefusion.v20220927.models.QueryVideoFaceFusionJobResponse`
|
|
62
|
+
|
|
63
|
+
"""
|
|
64
|
+
try:
|
|
65
|
+
params = request._serialize()
|
|
66
|
+
headers = request.headers
|
|
67
|
+
body = self.call("QueryVideoFaceFusionJob", params, headers=headers)
|
|
68
|
+
response = json.loads(body)
|
|
69
|
+
model = models.QueryVideoFaceFusionJobResponse()
|
|
70
|
+
model._deserialize(response["Response"])
|
|
71
|
+
return model
|
|
72
|
+
except Exception as e:
|
|
73
|
+
if isinstance(e, TencentCloudSDKException):
|
|
74
|
+
raise
|
|
75
|
+
else:
|
|
76
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
def SubmitVideoFaceFusionJob(self, request):
|
|
80
|
+
"""This API is used to submit asynchronous processing tasks of video face fusion. After a task is submitted, the Job ID, estimated completion time, and current queue length will be returned.
|
|
81
|
+
|
|
82
|
+
:param request: Request instance for SubmitVideoFaceFusionJob.
|
|
83
|
+
:type request: :class:`tencentcloud.facefusion.v20220927.models.SubmitVideoFaceFusionJobRequest`
|
|
84
|
+
:rtype: :class:`tencentcloud.facefusion.v20220927.models.SubmitVideoFaceFusionJobResponse`
|
|
85
|
+
|
|
86
|
+
"""
|
|
87
|
+
try:
|
|
88
|
+
params = request._serialize()
|
|
89
|
+
headers = request.headers
|
|
90
|
+
body = self.call("SubmitVideoFaceFusionJob", params, headers=headers)
|
|
91
|
+
response = json.loads(body)
|
|
92
|
+
model = models.SubmitVideoFaceFusionJobResponse()
|
|
93
|
+
model._deserialize(response["Response"])
|
|
94
|
+
return model
|
|
49
95
|
except Exception as e:
|
|
50
96
|
if isinstance(e, TencentCloudSDKException):
|
|
51
97
|
raise
|