tencentcloud-sdk-python-intl-en 3.0.1073__py2.py3-none-any.whl → 3.0.1075__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/cynosdb/v20190107/models.py +4 -4
- tencentcloud/es/v20180416/errorcodes.py +48 -0
- tencentcloud/es/v20180416/models.py +2 -2
- tencentcloud/facefusion/v20220927/errorcodes.py +18 -0
- tencentcloud/facefusion/v20220927/facefusion_client.py +46 -0
- tencentcloud/facefusion/v20220927/models.py +607 -0
- tencentcloud/mps/v20190612/models.py +564 -105
- tencentcloud/sqlserver/v20180328/models.py +141 -2
- tencentcloud/vod/v20180717/models.py +588 -0
- tencentcloud/vod/v20180717/vod_client.py +33 -0
- {tencentcloud_sdk_python_intl_en-3.0.1073.dist-info → tencentcloud_sdk_python_intl_en-3.0.1075.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1073.dist-info → tencentcloud_sdk_python_intl_en-3.0.1075.dist-info}/RECORD +15 -15
- {tencentcloud_sdk_python_intl_en-3.0.1073.dist-info → tencentcloud_sdk_python_intl_en-3.0.1075.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1073.dist-info → tencentcloud_sdk_python_intl_en-3.0.1075.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -21225,18 +21225,18 @@ class TradePrice(AbstractModel):
|
|
|
21225
21225
|
|
|
21226
21226
|
def __init__(self):
|
|
21227
21227
|
r"""
|
|
21228
|
-
:param _TotalPrice: The non-discounted total price of monthly subscribed resources (unit:
|
|
21228
|
+
:param _TotalPrice: The non-discounted total price of monthly subscribed resources (unit: 0.000001 cent)
|
|
21229
21229
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
21230
21230
|
:type TotalPrice: int
|
|
21231
21231
|
:param _Discount: Total discount. `100` means no discount.
|
|
21232
21232
|
:type Discount: float
|
|
21233
|
-
:param _TotalPriceDiscount: The discounted total price of monthly subscribed resources (unit:
|
|
21233
|
+
:param _TotalPriceDiscount: The discounted total price of monthly subscribed resources (unit: 0.000001 cent). If a discount is applied, `TotalPriceDiscount` will be the product of `TotalPrice` and `Discount`.
|
|
21234
21234
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
21235
21235
|
:type TotalPriceDiscount: int
|
|
21236
|
-
:param _UnitPrice: The non-discounted unit price of pay-as-you-go resources (unit:
|
|
21236
|
+
:param _UnitPrice: The non-discounted unit price of pay-as-you-go resources (unit: 0.000001 cent)
|
|
21237
21237
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
21238
21238
|
:type UnitPrice: int
|
|
21239
|
-
:param _UnitPriceDiscount: The discounted unit price of pay-as-you-go resources (unit:
|
|
21239
|
+
:param _UnitPriceDiscount: The discounted unit price of pay-as-you-go resources (unit: 0.000001 cent). If a discount is applied, `UnitPriceDiscount` will be the product of `UnitPrice` and `Discount`.
|
|
21240
21240
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
21241
21241
|
:type UnitPriceDiscount: int
|
|
21242
21242
|
:param _ChargeUnit: Price unit
|
|
@@ -44,6 +44,9 @@ FAILEDOPERATION_NOPAYMENT = 'FailedOperation.NoPayment'
|
|
|
44
44
|
# Unverified user.
|
|
45
45
|
FAILEDOPERATION_NOTAUTHENTICATED = 'FailedOperation.NotAuthenticated'
|
|
46
46
|
|
|
47
|
+
#
|
|
48
|
+
FAILEDOPERATION_REQUESTTIMEOUT = 'FailedOperation.RequestTimeOut'
|
|
49
|
+
|
|
47
50
|
# Cannot increase the number of disks during rolling restart of scaled-out compute resources.
|
|
48
51
|
FAILEDOPERATION_UNSUPPORTRESETNODETYPEANDSCALEOUTDISK = 'FailedOperation.UnsupportResetNodeTypeAndScaleoutDisk'
|
|
49
52
|
|
|
@@ -59,6 +62,45 @@ INTERNALERROR = 'InternalError'
|
|
|
59
62
|
# Invalid parameter.
|
|
60
63
|
INVALIDPARAMETER = 'InvalidParameter'
|
|
61
64
|
|
|
65
|
+
#
|
|
66
|
+
INVALIDPARAMETER_INVALIDAPPID = 'InvalidParameter.InvalidAppId'
|
|
67
|
+
|
|
68
|
+
#
|
|
69
|
+
INVALIDPARAMETER_INVALIDESVERSION = 'InvalidParameter.InvalidEsVersion'
|
|
70
|
+
|
|
71
|
+
#
|
|
72
|
+
INVALIDPARAMETER_INVALIDINDEXMETAJSON = 'InvalidParameter.InvalidIndexMetaJson'
|
|
73
|
+
|
|
74
|
+
#
|
|
75
|
+
INVALIDPARAMETER_INVALIDINDEXNAME = 'InvalidParameter.InvalidIndexName'
|
|
76
|
+
|
|
77
|
+
#
|
|
78
|
+
INVALIDPARAMETER_INVALIDINDEXTYPE = 'InvalidParameter.InvalidIndexType'
|
|
79
|
+
|
|
80
|
+
#
|
|
81
|
+
INVALIDPARAMETER_INVALIDINSTANCEID = 'InvalidParameter.InvalidInstanceId'
|
|
82
|
+
|
|
83
|
+
#
|
|
84
|
+
INVALIDPARAMETER_INVALIDLIMIT = 'InvalidParameter.InvalidLimit'
|
|
85
|
+
|
|
86
|
+
#
|
|
87
|
+
INVALIDPARAMETER_INVALIDLOGTYPE = 'InvalidParameter.InvalidLogType'
|
|
88
|
+
|
|
89
|
+
#
|
|
90
|
+
INVALIDPARAMETER_INVALIDOFFSET = 'InvalidParameter.InvalidOffset'
|
|
91
|
+
|
|
92
|
+
#
|
|
93
|
+
INVALIDPARAMETER_INVALIDORDERBYKEY = 'InvalidParameter.InvalidOrderByKey'
|
|
94
|
+
|
|
95
|
+
#
|
|
96
|
+
INVALIDPARAMETER_INVALIDQUERYSTRING = 'InvalidParameter.InvalidQueryString'
|
|
97
|
+
|
|
98
|
+
#
|
|
99
|
+
INVALIDPARAMETER_INVALIDREGION = 'InvalidParameter.InvalidRegion'
|
|
100
|
+
|
|
101
|
+
#
|
|
102
|
+
INVALIDPARAMETER_INVALIDTIMEPARAM = 'InvalidParameter.InvalidTimeParam'
|
|
103
|
+
|
|
62
104
|
# Incorrect parameter value.
|
|
63
105
|
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
64
106
|
|
|
@@ -86,6 +128,12 @@ RESOURCEINSUFFICIENT_SUBNET = 'ResourceInsufficient.Subnet'
|
|
|
86
128
|
# The resource does not exist.
|
|
87
129
|
RESOURCENOTFOUND = 'ResourceNotFound'
|
|
88
130
|
|
|
131
|
+
#
|
|
132
|
+
RESOURCENOTFOUND_CLUSTERINFONOTFOUND = 'ResourceNotFound.ClusterInfoNotFound'
|
|
133
|
+
|
|
134
|
+
#
|
|
135
|
+
RESOURCENOTFOUND_DBINFONOTFOUND = 'ResourceNotFound.DBInfoNotFound'
|
|
136
|
+
|
|
89
137
|
# Unauthorized operation.
|
|
90
138
|
UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|
|
91
139
|
|
|
@@ -536,7 +536,7 @@ class CreateIndexResponse(AbstractModel):
|
|
|
536
536
|
|
|
537
537
|
def __init__(self):
|
|
538
538
|
r"""
|
|
539
|
-
:param _RequestId: The unique request ID,
|
|
539
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
540
540
|
:type RequestId: str
|
|
541
541
|
"""
|
|
542
542
|
self._RequestId = None
|
|
@@ -1688,7 +1688,7 @@ class DescribeInstanceLogsResponse(AbstractModel):
|
|
|
1688
1688
|
:type TotalCount: int
|
|
1689
1689
|
:param _InstanceLogList: Log details list
|
|
1690
1690
|
:type InstanceLogList: list of InstanceLog
|
|
1691
|
-
:param _RequestId: The unique request ID,
|
|
1691
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1692
1692
|
:type RequestId: str
|
|
1693
1693
|
"""
|
|
1694
1694
|
self._TotalCount = None
|
|
@@ -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
|