tencentcloud-sdk-python 3.0.1448__py2.py3-none-any.whl → 3.0.1450__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/apm/v20210622/models.py +30 -0
- tencentcloud/cbs/v20170312/models.py +2 -2
- tencentcloud/dcdb/v20180411/dcdb_client.py +95 -0
- tencentcloud/dcdb/v20180411/errorcodes.py +9 -0
- tencentcloud/dcdb/v20180411/models.py +732 -0
- tencentcloud/dts/v20211206/models.py +122 -2
- tencentcloud/ess/v20201111/models.py +32 -2
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +92 -0
- tencentcloud/iotexplorer/v20190423/models.py +614 -0
- tencentcloud/lkeap/v20240522/errorcodes.py +1 -1
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +24 -10
- tencentcloud/mariadb/v20170312/errorcodes.py +9 -0
- tencentcloud/mariadb/v20170312/mariadb_client.py +95 -0
- tencentcloud/mariadb/v20170312/models.py +702 -0
- tencentcloud/ocr/v20181119/ocr_client.py +2 -2
- tencentcloud/teo/v20220901/models.py +2 -2
- tencentcloud/trtc/v20190722/models.py +2 -2
- tencentcloud/vclm/v20240523/models.py +2 -2
- tencentcloud/waf/v20180125/models.py +79 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +1666 -970
- tencentcloud/wedata/v20210820/wedata_client.py +23 -52
- {tencentcloud_sdk_python-3.0.1448.dist-info → tencentcloud_sdk_python-3.0.1450.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1448.dist-info → tencentcloud_sdk_python-3.0.1450.dist-info}/RECORD +29 -29
- {tencentcloud_sdk_python-3.0.1448.dist-info → tencentcloud_sdk_python-3.0.1450.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1448.dist-info → tencentcloud_sdk_python-3.0.1450.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1448.dist-info → tencentcloud_sdk_python-3.0.1450.dist-info}/top_level.txt +0 -0
@@ -1245,8 +1245,8 @@ class OcrClient(AbstractClient):
|
|
1245
1245
|
|
1246
1246
|
|
1247
1247
|
def MLIDPassportOCR(self, request):
|
1248
|
-
"""
|
1249
|
-
|
1248
|
+
"""本接口支持中国大陆地区及中国港澳台地区、其他国家以及地区的护照识别。识别字段包括护照ID、姓名、出生日期、性别、有效期、发行国、国籍、国家地区代码,具备护照人像照片的裁剪功能和翻拍、复印件告警功能。
|
1249
|
+
本接口支持地区范围:可机读护照国家。包括中国大陆地区、中国港澳台地区、新加坡、马来西亚、泰国、美国、韩国、越南、澳大利亚、缅甸、印度尼西亚、日本、加拿大、老挝、巴基斯坦、哈萨克斯坦、法国、英国、德国、菲律宾、新西兰、印度、意大利、蒙古、孟加拉国、尼日利亚、柬埔寨、西班牙、摩洛哥、吉尔吉斯斯坦、埃及、荷兰、塔吉克斯坦、巴西、乌兹别克斯坦、伊拉克、阿尔及利亚、土耳其、南非、墨西哥、尼泊尔、白俄罗斯、叶门、阿富汗、沙特、肯尼亚、波兰、比利时、瑞典、奥地利、坦桑尼亚、委内瑞拉、阿根廷、喀麦隆、斯里兰卡、衣索比亚、约旦、瑞士、加纳、爱尔兰、哥伦比亚、苏丹、匈牙利、罗马尼亚、阿联酋、文莱、希腊、以色列、巴拿马、丹麦、伊朗、乌干达、挪威、秘鲁、葡萄牙、智利、塞尔维亚、芬兰、尚比亚、亚美尼亚、叙利亚、黎巴嫩、斯洛伐克、卡塔尔、古巴、朝鲜。
|
1250
1250
|
|
1251
1251
|
默认接口请求频率限制:5次/秒。
|
1252
1252
|
|
@@ -50895,7 +50895,7 @@ class Task(AbstractModel):
|
|
50895
50895
|
<li>accessDenied:访问被拒绝。</li>
|
50896
50896
|
<li>originPullFailed:回源失败。</li>
|
50897
50897
|
:type FailType: str
|
50898
|
-
:param _FailMessage:
|
50898
|
+
:param _FailMessage: 清除缓存、预热缓存的失败原因描述。
|
50899
50899
|
:type FailMessage: str
|
50900
50900
|
"""
|
50901
50901
|
self._JobId = None
|
@@ -51010,7 +51010,7 @@ class Task(AbstractModel):
|
|
51010
51010
|
|
51011
51011
|
@property
|
51012
51012
|
def FailMessage(self):
|
51013
|
-
"""
|
51013
|
+
"""清除缓存、预热缓存的失败原因描述。
|
51014
51014
|
:rtype: str
|
51015
51015
|
"""
|
51016
51016
|
return self._FailMessage
|
@@ -10695,7 +10695,7 @@ yidun : 网易易盾审核 (支持 1:音频切片审核,2:视频截帧审核
|
|
10695
10695
|
:type ModerationSupplier: str
|
10696
10696
|
:param _ModerationSupplierParam: 第三方审核商送审需要配置信息
|
10697
10697
|
:type ModerationSupplierParam: :class:`tencentcloud.trtc.v20190722.models.ModerationSupplierParam`
|
10698
|
-
:param _SaveModerationFile:
|
10698
|
+
:param _SaveModerationFile: 是否保存文件 0不保存文件 1保存所有文件 2仅保存命中文件
|
10699
10699
|
:type SaveModerationFile: int
|
10700
10700
|
:param _CallbackAllResults: 是否回调所有审核结果:0 默认回调所有结果 1 仅回调命中结果
|
10701
10701
|
:type CallbackAllResults: int
|
@@ -10784,7 +10784,7 @@ yidun : 网易易盾审核 (支持 1:音频切片审核,2:视频截帧审核
|
|
10784
10784
|
|
10785
10785
|
@property
|
10786
10786
|
def SaveModerationFile(self):
|
10787
|
-
"""
|
10787
|
+
"""是否保存文件 0不保存文件 1保存所有文件 2仅保存命中文件
|
10788
10788
|
:rtype: int
|
10789
10789
|
"""
|
10790
10790
|
return self._SaveModerationFile
|
@@ -1409,7 +1409,7 @@ class SubmitTemplateToVideoJobRequest(AbstractModel):
|
|
1409
1409
|
|
1410
1410
|
def __init__(self):
|
1411
1411
|
r"""
|
1412
|
-
:param _Template: 特效模板名称。请在 [
|
1412
|
+
:param _Template: 特效模板名称。请在 [视频特效模板列表](https://cloud.tencent.com/document/product/1616/119194) 中选择想要生成的特效对应的 template 名称。
|
1413
1413
|
:type Template: str
|
1414
1414
|
:param _Images: 参考图像,最多输入2张图。
|
1415
1415
|
- 支持传入图片Base64编码或图片URL(确保可访问)
|
@@ -1440,7 +1440,7 @@ class SubmitTemplateToVideoJobRequest(AbstractModel):
|
|
1440
1440
|
|
1441
1441
|
@property
|
1442
1442
|
def Template(self):
|
1443
|
-
"""特效模板名称。请在 [
|
1443
|
+
"""特效模板名称。请在 [视频特效模板列表](https://cloud.tencent.com/document/product/1616/119194) 中选择想要生成的特效对应的 template 名称。
|
1444
1444
|
:rtype: str
|
1445
1445
|
"""
|
1446
1446
|
return self._Template
|
@@ -36492,6 +36492,85 @@ class ModifyOwaspWhiteRuleResponse(AbstractModel):
|
|
36492
36492
|
self._RequestId = params.get("RequestId")
|
36493
36493
|
|
36494
36494
|
|
36495
|
+
class ModifyProtectionLevelRequest(AbstractModel):
|
36496
|
+
"""ModifyProtectionLevel请求参数结构体
|
36497
|
+
|
36498
|
+
"""
|
36499
|
+
|
36500
|
+
def __init__(self):
|
36501
|
+
r"""
|
36502
|
+
:param _Domain: 客户域名
|
36503
|
+
:type Domain: str
|
36504
|
+
:param _Level: 防护等级,100,200,300
|
36505
|
+
:type Level: int
|
36506
|
+
"""
|
36507
|
+
self._Domain = None
|
36508
|
+
self._Level = None
|
36509
|
+
|
36510
|
+
@property
|
36511
|
+
def Domain(self):
|
36512
|
+
"""客户域名
|
36513
|
+
:rtype: str
|
36514
|
+
"""
|
36515
|
+
return self._Domain
|
36516
|
+
|
36517
|
+
@Domain.setter
|
36518
|
+
def Domain(self, Domain):
|
36519
|
+
self._Domain = Domain
|
36520
|
+
|
36521
|
+
@property
|
36522
|
+
def Level(self):
|
36523
|
+
"""防护等级,100,200,300
|
36524
|
+
:rtype: int
|
36525
|
+
"""
|
36526
|
+
return self._Level
|
36527
|
+
|
36528
|
+
@Level.setter
|
36529
|
+
def Level(self, Level):
|
36530
|
+
self._Level = Level
|
36531
|
+
|
36532
|
+
|
36533
|
+
def _deserialize(self, params):
|
36534
|
+
self._Domain = params.get("Domain")
|
36535
|
+
self._Level = params.get("Level")
|
36536
|
+
memeber_set = set(params.keys())
|
36537
|
+
for name, value in vars(self).items():
|
36538
|
+
property_name = name[1:]
|
36539
|
+
if property_name in memeber_set:
|
36540
|
+
memeber_set.remove(property_name)
|
36541
|
+
if len(memeber_set) > 0:
|
36542
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
36543
|
+
|
36544
|
+
|
36545
|
+
|
36546
|
+
class ModifyProtectionLevelResponse(AbstractModel):
|
36547
|
+
"""ModifyProtectionLevel返回参数结构体
|
36548
|
+
|
36549
|
+
"""
|
36550
|
+
|
36551
|
+
def __init__(self):
|
36552
|
+
r"""
|
36553
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
36554
|
+
:type RequestId: str
|
36555
|
+
"""
|
36556
|
+
self._RequestId = None
|
36557
|
+
|
36558
|
+
@property
|
36559
|
+
def RequestId(self):
|
36560
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
36561
|
+
:rtype: str
|
36562
|
+
"""
|
36563
|
+
return self._RequestId
|
36564
|
+
|
36565
|
+
@RequestId.setter
|
36566
|
+
def RequestId(self, RequestId):
|
36567
|
+
self._RequestId = RequestId
|
36568
|
+
|
36569
|
+
|
36570
|
+
def _deserialize(self, params):
|
36571
|
+
self._RequestId = params.get("RequestId")
|
36572
|
+
|
36573
|
+
|
36495
36574
|
class ModifyProtectionStatusRequest(AbstractModel):
|
36496
36575
|
"""ModifyProtectionStatus请求参数结构体
|
36497
36576
|
|
@@ -3571,6 +3571,29 @@ class WafClient(AbstractClient):
|
|
3571
3571
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3572
3572
|
|
3573
3573
|
|
3574
|
+
def ModifyProtectionLevel(self, request):
|
3575
|
+
"""更改防护等级
|
3576
|
+
|
3577
|
+
:param request: Request instance for ModifyProtectionLevel.
|
3578
|
+
:type request: :class:`tencentcloud.waf.v20180125.models.ModifyProtectionLevelRequest`
|
3579
|
+
:rtype: :class:`tencentcloud.waf.v20180125.models.ModifyProtectionLevelResponse`
|
3580
|
+
|
3581
|
+
"""
|
3582
|
+
try:
|
3583
|
+
params = request._serialize()
|
3584
|
+
headers = request.headers
|
3585
|
+
body = self.call("ModifyProtectionLevel", params, headers=headers)
|
3586
|
+
response = json.loads(body)
|
3587
|
+
model = models.ModifyProtectionLevelResponse()
|
3588
|
+
model._deserialize(response["Response"])
|
3589
|
+
return model
|
3590
|
+
except Exception as e:
|
3591
|
+
if isinstance(e, TencentCloudSDKException):
|
3592
|
+
raise
|
3593
|
+
else:
|
3594
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3595
|
+
|
3596
|
+
|
3574
3597
|
def ModifyProtectionStatus(self, request):
|
3575
3598
|
"""开启、关闭WAF开关
|
3576
3599
|
|