tencentcloud-sdk-python-intl-en 3.0.1265__py2.py3-none-any.whl → 3.0.1267__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client.py +52 -0
- tencentcloud/cvm/v20170312/errorcodes.py +12 -0
- tencentcloud/cvm/v20170312/models.py +226 -0
- tencentcloud/faceid/v20180301/models.py +114 -46
- tencentcloud/lke/v20231130/lke_client.py +3 -3
- tencentcloud/lke/v20231130/models.py +265 -6
- tencentcloud/mps/v20190612/models.py +351 -28
- tencentcloud/ocr/v20181119/models.py +1237 -0
- tencentcloud/ocr/v20181119/ocr_client.py +25 -0
- tencentcloud/sqlserver/v20180328/errorcodes.py +9 -0
- tencentcloud/sqlserver/v20180328/models.py +1623 -54
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +184 -0
- tencentcloud/teo/v20220901/models.py +28 -126
- tencentcloud/teo/v20220901/teo_client.py +8 -2
- {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1267.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1267.dist-info}/RECORD +19 -19
- {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1267.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1267.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
|
|
@@ -92,6 +92,15 @@ INVALIDPARAMETER_INPUTILLEGAL = 'InvalidParameter.InputIllegal'
|
|
92
92
|
# The API does not exist.
|
93
93
|
INVALIDPARAMETER_INTERFACENAMENOTFOUND = 'InvalidParameter.InterfaceNameNotFound'
|
94
94
|
|
95
|
+
# Instances with publish-subscribe relationships are not supported.
|
96
|
+
INVALIDPARAMETER_NOTSUPPORTPUBSUBINSTANCE = 'InvalidParameter.NotSupportPubSubInstance'
|
97
|
+
|
98
|
+
# Primary instances with read-only replicas are not supported.
|
99
|
+
INVALIDPARAMETER_NOTSUPPORTREADONLYMASTERINSTANCE = 'InvalidParameter.NotSupportReadOnlyMasterInstance'
|
100
|
+
|
101
|
+
# Single-node edition (basic edition or RO replica) instances are not supported.
|
102
|
+
INVALIDPARAMETER_NOTSUPPORTSINGLEINSTANCE = 'InvalidParameter.NotSupportSingleInstance'
|
103
|
+
|
95
104
|
# An error occurred while converting parameter assertion.
|
96
105
|
INVALIDPARAMETER_PARAMSASSERTFAILED = 'InvalidParameter.ParamsAssertFailed'
|
97
106
|
|