tencentcloud-sdk-python-intl-en 3.0.1265__py2.py3-none-any.whl → 3.0.1274__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.
Files changed (32) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ccc/v20200210/ccc_client.py +115 -0
  3. tencentcloud/ccc/v20200210/errorcodes.py +6 -0
  4. tencentcloud/ccc/v20200210/models.py +2166 -304
  5. tencentcloud/cmq/v20190304/cmq_client.py +0 -345
  6. tencentcloud/cmq/v20190304/models.py +325 -2466
  7. tencentcloud/cvm/v20170312/cvm_client.py +76 -0
  8. tencentcloud/cvm/v20170312/errorcodes.py +18 -0
  9. tencentcloud/cvm/v20170312/models.py +320 -0
  10. tencentcloud/faceid/v20180301/models.py +144 -46
  11. tencentcloud/lke/v20231130/lke_client.py +3 -3
  12. tencentcloud/lke/v20231130/models.py +265 -6
  13. tencentcloud/lkeap/__init__.py +0 -0
  14. tencentcloud/lkeap/v20240522/__init__.py +0 -0
  15. tencentcloud/lkeap/v20240522/errorcodes.py +57 -0
  16. tencentcloud/lkeap/v20240522/lkeap_client.py +167 -0
  17. tencentcloud/lkeap/v20240522/models.py +1361 -0
  18. tencentcloud/mps/v20190612/models.py +351 -28
  19. tencentcloud/ocr/v20181119/models.py +1245 -0
  20. tencentcloud/ocr/v20181119/ocr_client.py +26 -1
  21. tencentcloud/sqlserver/v20180328/errorcodes.py +24 -0
  22. tencentcloud/sqlserver/v20180328/models.py +17068 -7048
  23. tencentcloud/sqlserver/v20180328/sqlserver_client.py +1242 -23
  24. tencentcloud/teo/v20220901/models.py +28 -126
  25. tencentcloud/teo/v20220901/teo_client.py +8 -2
  26. tencentcloud/waf/v20180125/errorcodes.py +9 -0
  27. tencentcloud/waf/v20180125/models.py +4532 -2484
  28. tencentcloud/waf/v20180125/waf_client.py +253 -0
  29. {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1274.dist-info}/METADATA +1 -1
  30. {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1274.dist-info}/RECORD +32 -27
  31. {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1274.dist-info}/WHEEL +0 -0
  32. {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1274.dist-info}/top_level.txt +0 -0
@@ -380,6 +380,31 @@ class OcrClient(AbstractClient):
380
380
  raise TencentCloudSDKException(type(e).__name__, str(e))
381
381
 
382
382
 
383
+ def RecognizeBrazilCommonOCR(self, request):
384
+ """This API is used to identify Brazil common documents.
385
+
386
+ This API is used to set the default request rate limit to 5 requests/second.
387
+
388
+ :param request: Request instance for RecognizeBrazilCommonOCR.
389
+ :type request: :class:`tencentcloud.ocr.v20181119.models.RecognizeBrazilCommonOCRRequest`
390
+ :rtype: :class:`tencentcloud.ocr.v20181119.models.RecognizeBrazilCommonOCRResponse`
391
+
392
+ """
393
+ try:
394
+ params = request._serialize()
395
+ headers = request.headers
396
+ body = self.call("RecognizeBrazilCommonOCR", params, headers=headers)
397
+ response = json.loads(body)
398
+ model = models.RecognizeBrazilCommonOCRResponse()
399
+ model._deserialize(response["Response"])
400
+ return model
401
+ except Exception as e:
402
+ if isinstance(e, TencentCloudSDKException):
403
+ raise
404
+ else:
405
+ raise TencentCloudSDKException(type(e).__name__, str(e))
406
+
407
+
383
408
  def RecognizeBrazilDriverLicenseOCR(self, request):
384
409
  """This interface supports identification of the front and back of Brazilian driver's license. The identification fields include name, driver's license category, number, validity period, etc.
385
410
 
@@ -719,7 +744,7 @@ class OcrClient(AbstractClient):
719
744
 
720
745
  def RecognizeMainlandIDCardOCR(self, request):
721
746
  """This interface supports the identification of all fields on the front and back of the second-generation ID card for mainland Chinese residents.Including name, gender, ethnicity, date of birth, address, citizen ID number, issuing authority, and validity period, the identification accuracy reaches more than 99%.In addition, this interface also supports a variety of value-added capabilities to meet the needs of different scenarios. Such as the cropping function of ID card photos and portrait photos, and also has 5 alarm functions.
722
- As shown in the table below. <table style="width:650px"> <thead> <tr> <th width="150">Value-added ability</th> <th width="500">Ability items</th> </tr> </thead> <tbody> <tr> <td rowspan="9">Alarm function</td> </tr> <tr> <td>ID card copy warning</td> </tr> <tr> <td>ID card copy warning</td> </tr> <tr> <td>Alarm for occlusion in the ID card frame</td> </tr> <tr> <td>ID card reflective warning</td> </tr> <tr> <td>Blurry picture warning</td> </tr> </tbody> </table> Default interface request frequency limit: 20 times/second
747
+ As shown in the table below. <table style="width:650px"> <thead> <tr> <th width="150">Value-added ability</th> <th width="500">Ability items</th> </tr> </thead> <tbody> <tr> <td rowspan="9">Alarm function</td> </tr> <tr> <td>ID card photocopy warning</td> </tr> <tr> <td>ID card on-screen display warning</td> </tr> <tr> <td>Alarm for occlusion in the ID card frame</td> </tr> <tr> <td>ID card reflective warning</td> </tr> <tr> <td>Blurry picture warning</td> </tr> </tbody> </table> Default interface request frequency limit: 20 times/second
723
748
 
724
749
  :param request: Request instance for RecognizeMainlandIDCardOCR.
725
750
  :type request: :class:`tencentcloud.ocr.v20181119.models.RecognizeMainlandIDCardOCRRequest`
@@ -29,6 +29,9 @@ FAILEDOPERATION_CREATEORDERFAILED = 'FailedOperation.CreateOrderFailed'
29
29
  # Database error.
30
30
  FAILEDOPERATION_DBERROR = 'FailedOperation.DBError'
31
31
 
32
+ # Public network operation failed.
33
+ FAILEDOPERATION_DOMAINOPERATIONFAILED = 'FailedOperation.DomainOperationFailed'
34
+
32
35
  # The operation failed or the network timed out.
33
36
  FAILEDOPERATION_GCSERROR = 'FailedOperation.GcsError'
34
37
 
@@ -47,6 +50,9 @@ FAILEDOPERATION_QUERYORDERFAILED = 'FailedOperation.QueryOrderFailed'
47
50
  # Billing error. Failed to query price.
48
51
  FAILEDOPERATION_QUERYPRICEFAILED = 'FailedOperation.QueryPriceFailed'
49
52
 
53
+ # Security group operation failed.
54
+ FAILEDOPERATION_SECURITYGROUPOPERATIONERROR = 'FailedOperation.SecurityGroupOperationError'
55
+
50
56
  # Failed to operate the network or the session timed out.
51
57
  FAILEDOPERATION_VPCERROR = 'FailedOperation.VPCError'
52
58
 
@@ -68,6 +74,9 @@ INTERNALERROR_DBCONNECTERROR = 'InternalError.DBConnectError'
68
74
  # Database error
69
75
  INTERNALERROR_DBERROR = 'InternalError.DBError'
70
76
 
77
+ # A data error occurs.
78
+ INTERNALERROR_DATAERROR = 'InternalError.DataError'
79
+
71
80
  # GCS API error.
72
81
  INTERNALERROR_GCSERROR = 'InternalError.GcsError'
73
82
 
@@ -92,6 +101,15 @@ INVALIDPARAMETER_INPUTILLEGAL = 'InvalidParameter.InputIllegal'
92
101
  # The API does not exist.
93
102
  INVALIDPARAMETER_INTERFACENAMENOTFOUND = 'InvalidParameter.InterfaceNameNotFound'
94
103
 
104
+ # Instances with publish-subscribe relationships are not supported.
105
+ INVALIDPARAMETER_NOTSUPPORTPUBSUBINSTANCE = 'InvalidParameter.NotSupportPubSubInstance'
106
+
107
+ # Primary instances with read-only replicas are not supported.
108
+ INVALIDPARAMETER_NOTSUPPORTREADONLYMASTERINSTANCE = 'InvalidParameter.NotSupportReadOnlyMasterInstance'
109
+
110
+ # Single-node edition (basic edition or RO replica) instances are not supported.
111
+ INVALIDPARAMETER_NOTSUPPORTSINGLEINSTANCE = 'InvalidParameter.NotSupportSingleInstance'
112
+
95
113
  # An error occurred while converting parameter assertion.
96
114
  INVALIDPARAMETER_PARAMSASSERTFAILED = 'InvalidParameter.ParamsAssertFailed'
97
115
 
@@ -185,9 +203,15 @@ INVALIDPARAMETERVALUE_PASSWORDISILLEGAL = 'InvalidParameterValue.PasswordIsIlleg
185
203
  # Incorrect database permission settings.
186
204
  INVALIDPARAMETERVALUE_PRIVILEGEISILLEGAL = 'InvalidParameterValue.PrivilegeIsIllegal'
187
205
 
206
+ # The publish/subscribe name does not meet the requirements.
207
+ INVALIDPARAMETERVALUE_PUBSUBNAMEISILLEGAL = 'InvalidParameterValue.PubSubNameIsIllegal'
208
+
188
209
  # Read-only group name contains invalid characters.
189
210
  INVALIDPARAMETERVALUE_ROGROUPNAMEISILLEGAL = 'InvalidParameterValue.RoGroupNameIsIllegal'
190
211
 
212
+ # The read-only group status is abnormal.
213
+ INVALIDPARAMETERVALUE_ROGROUPSTATUSISILLEGAL = 'InvalidParameterValue.RoGroupStatusIsIllegal'
214
+
191
215
  # Invalid security group ID.
192
216
  INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = 'InvalidParameterValue.SecurityGroupIdIsIllegal'
193
217