tencentcloud-sdk-python 3.0.1233__py2.py3-none-any.whl → 3.0.1246__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/aiart/v20221229/aiart_client.py +34 -21
- tencentcloud/aiart/v20221229/models.py +6 -6
- tencentcloud/apigateway/v20180808/apigateway_client.py +23 -0
- tencentcloud/apigateway/v20180808/models.py +31 -0
- tencentcloud/apm/v20210622/errorcodes.py +3 -3
- tencentcloud/apm/v20210622/models.py +16 -15
- tencentcloud/asr/v20190614/asr_client.py +23 -0
- tencentcloud/asr/v20190614/models.py +203 -0
- tencentcloud/autoscaling/v20180419/models.py +55 -3
- tencentcloud/ca/__init__.py +0 -0
- tencentcloud/ca/v20230228/__init__.py +0 -0
- tencentcloud/ca/v20230228/ca_client.py +95 -0
- tencentcloud/ca/v20230228/errorcodes.py +30 -0
- tencentcloud/ca/v20230228/models.py +398 -0
- tencentcloud/ccc/v20200210/ccc_client.py +69 -0
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +610 -0
- tencentcloud/cdb/v20170320/models.py +60 -0
- tencentcloud/cdn/v20180606/models.py +32 -0
- tencentcloud/cdwdoris/v20211228/models.py +105 -1
- tencentcloud/cfg/v20210820/models.py +12 -0
- tencentcloud/cfw/v20190904/models.py +4 -4
- tencentcloud/clb/v20180317/models.py +25 -1
- tencentcloud/cls/v20201016/models.py +12 -0
- tencentcloud/cme/v20191029/models.py +12 -0
- tencentcloud/csip/v20221121/models.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client.py +23 -0
- tencentcloud/cvm/v20170312/errorcodes.py +4 -1
- tencentcloud/cvm/v20170312/models.py +202 -4
- tencentcloud/cwp/v20180228/cwp_client.py +3 -1
- tencentcloud/cwp/v20180228/models.py +241 -14
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +48 -73
- tencentcloud/cynosdb/v20190107/models.py +7 -134
- tencentcloud/dasb/v20191018/models.py +37 -0
- tencentcloud/dlc/v20210125/models.py +12 -0
- tencentcloud/dsgc/v20190723/models.py +1 -1
- tencentcloud/dts/v20211206/models.py +16 -16
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/models.py +467 -3
- tencentcloud/ess/v20201111/ess_client.py +19 -12
- tencentcloud/ess/v20201111/models.py +58 -22
- tencentcloud/essbasic/v20210526/essbasic_client.py +48 -9
- tencentcloud/essbasic/v20210526/models.py +174 -11
- tencentcloud/faceid/v20180301/models.py +28 -0
- tencentcloud/hunyuan/v20230901/models.py +1 -0
- tencentcloud/iecp/v20210914/iecp_client.py +0 -500
- tencentcloud/iecp/v20210914/models.py +2130 -5305
- tencentcloud/ims/v20201229/ims_client.py +9 -4
- tencentcloud/ims/v20201229/models.py +4 -4
- tencentcloud/lcic/v20220817/models.py +1 -1
- tencentcloud/lighthouse/v20200324/models.py +2 -2
- tencentcloud/lke/v20231130/lke_client.py +184 -0
- tencentcloud/lke/v20231130/models.py +2129 -881
- tencentcloud/mariadb/v20170312/mariadb_client.py +23 -0
- tencentcloud/mariadb/v20170312/models.py +94 -0
- tencentcloud/monitor/v20180724/models.py +0 -132
- tencentcloud/monitor/v20180724/monitor_client.py +0 -50
- tencentcloud/mps/v20190612/models.py +16 -3
- tencentcloud/mqtt/__init__.py +0 -0
- tencentcloud/mqtt/v20240516/__init__.py +0 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +45 -0
- tencentcloud/mqtt/v20240516/models.py +3221 -0
- tencentcloud/mqtt/v20240516/mqtt_client.py +472 -0
- tencentcloud/mrs/v20200910/errorcodes.py +3 -0
- tencentcloud/mrs/v20200910/models.py +158 -27
- tencentcloud/ocr/v20181119/models.py +21 -0
- tencentcloud/ocr/v20181119/ocr_client.py +1 -1
- tencentcloud/omics/v20221128/models.py +245 -29
- tencentcloud/organization/v20210331/errorcodes.py +54 -0
- tencentcloud/organization/v20210331/models.py +483 -3
- tencentcloud/organization/v20210331/organization_client.py +46 -0
- tencentcloud/postgres/v20170312/models.py +626 -13
- tencentcloud/postgres/v20170312/postgres_client.py +69 -0
- tencentcloud/rce/v20201103/models.py +33 -22
- tencentcloud/redis/v20180412/errorcodes.py +3 -0
- tencentcloud/scf/v20180416/errorcodes.py +9 -12
- tencentcloud/ses/v20201002/models.py +65 -0
- tencentcloud/sms/v20190711/models.py +3 -3
- tencentcloud/sms/v20210111/models.py +9 -8
- tencentcloud/sqlserver/v20180328/models.py +1 -1
- tencentcloud/ssl/v20191205/models.py +114 -0
- tencentcloud/tcb/v20180608/models.py +25 -0
- tencentcloud/tcss/v20201101/models.py +269 -0
- tencentcloud/tcss/v20201101/tcss_client.py +3 -1
- tencentcloud/teo/v20220901/errorcodes.py +33 -0
- tencentcloud/teo/v20220901/models.py +4012 -2535
- tencentcloud/teo/v20220901/teo_client.py +254 -0
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +748 -5
- tencentcloud/tke/v20180525/tke_client.py +92 -0
- tencentcloud/tke/v20220501/models.py +1 -1
- tencentcloud/tse/v20201207/models.py +26 -0
- tencentcloud/tsf/v20180326/models.py +0 -58
- tencentcloud/tsf/v20180326/tsf_client.py +0 -25
- tencentcloud/tts/v20190823/tts_client.py +4 -1
- tencentcloud/vclm/v20240523/models.py +25 -0
- tencentcloud/vdb/v20230616/models.py +13 -0
- tencentcloud/vod/v20180717/models.py +91 -1
- tencentcloud/vod/v20180717/vod_client.py +10 -2
- tencentcloud/vpc/v20170312/errorcodes.py +9 -0
- tencentcloud/vpc/v20170312/models.py +2587 -539
- tencentcloud/vpc/v20170312/vpc_client.py +506 -0
- tencentcloud/waf/v20180125/models.py +447 -12
- tencentcloud/wedata/v20210820/models.py +18 -0
- {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1246.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1246.dist-info}/RECORD +110 -100
- {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1246.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1246.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1233.dist-info → tencentcloud_sdk_python-3.0.1246.dist-info}/top_level.txt +0 -0
@@ -2049,7 +2049,7 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2049
2049
|
r"""
|
2050
2050
|
:param _LaunchConfigurationName: 启动配置显示名称。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超60个字节。
|
2051
2051
|
:type LaunchConfigurationName: str
|
2052
|
-
:param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-8toqc6s3
|
2052
|
+
:param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-8toqc6s3`。镜像Id与镜像族名称,二者必填一个且只能填写一个。镜像类型分为四种:<br/><li>公共镜像</li><li>自定义镜像</li><li>共享镜像</li><li>服务市场镜像</li><br/>可通过以下方式获取可用的镜像ID:<br/><li>`公共镜像`、`自定义镜像`、`共享镜像`的镜像ID可通过登录[控制台](https://console.cloud.tencent.com/cvm/image?rid=1&imageType=PUBLIC_IMAGE)查询;`服务镜像市场`的镜像ID可通过[云市场](https://market.cloud.tencent.com/list)查询。</li><li>通过调用接口 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) ,取返回信息中的`ImageId`字段。</li>
|
2053
2053
|
:type ImageId: str
|
2054
2054
|
:param _ProjectId: 启动配置所属项目ID。不填为默认项目。
|
2055
2055
|
注意:伸缩组内实例所属项目ID取伸缩组项目ID,与这里取值无关。
|
@@ -2112,6 +2112,8 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2112
2112
|
:type IPv6InternetAccessible: :class:`tencentcloud.autoscaling.v20180419.models.IPv6InternetAccessible`
|
2113
2113
|
:param _DisasterRecoverGroupIds: 置放群组id,仅支持指定一个。
|
2114
2114
|
:type DisasterRecoverGroupIds: list of str
|
2115
|
+
:param _ImageFamily: 镜像族名称。镜像Id与镜像族名称,二者必填一个且只能填写一个。
|
2116
|
+
:type ImageFamily: str
|
2115
2117
|
"""
|
2116
2118
|
self._LaunchConfigurationName = None
|
2117
2119
|
self._ImageId = None
|
@@ -2138,6 +2140,7 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2138
2140
|
self._HpcClusterId = None
|
2139
2141
|
self._IPv6InternetAccessible = None
|
2140
2142
|
self._DisasterRecoverGroupIds = None
|
2143
|
+
self._ImageFamily = None
|
2141
2144
|
|
2142
2145
|
@property
|
2143
2146
|
def LaunchConfigurationName(self):
|
@@ -2339,6 +2342,14 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2339
2342
|
def DisasterRecoverGroupIds(self, DisasterRecoverGroupIds):
|
2340
2343
|
self._DisasterRecoverGroupIds = DisasterRecoverGroupIds
|
2341
2344
|
|
2345
|
+
@property
|
2346
|
+
def ImageFamily(self):
|
2347
|
+
return self._ImageFamily
|
2348
|
+
|
2349
|
+
@ImageFamily.setter
|
2350
|
+
def ImageFamily(self, ImageFamily):
|
2351
|
+
self._ImageFamily = ImageFamily
|
2352
|
+
|
2342
2353
|
|
2343
2354
|
def _deserialize(self, params):
|
2344
2355
|
self._LaunchConfigurationName = params.get("LaunchConfigurationName")
|
@@ -2399,6 +2410,7 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2399
2410
|
self._IPv6InternetAccessible = IPv6InternetAccessible()
|
2400
2411
|
self._IPv6InternetAccessible._deserialize(params.get("IPv6InternetAccessible"))
|
2401
2412
|
self._DisasterRecoverGroupIds = params.get("DisasterRecoverGroupIds")
|
2413
|
+
self._ImageFamily = params.get("ImageFamily")
|
2402
2414
|
memeber_set = set(params.keys())
|
2403
2415
|
for name, value in vars(self).items():
|
2404
2416
|
property_name = name[1:]
|
@@ -4261,8 +4273,7 @@ class DescribeLaunchConfigurationsRequest(AbstractModel):
|
|
4261
4273
|
<li> vague-launch-configuration-name - String - 是否必填:否 -(过滤条件)按照启动配置名称模糊搜索。</li>
|
4262
4274
|
<li> tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。</li>
|
4263
4275
|
<li> tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。</li>
|
4264
|
-
<li> tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例3
|
4265
|
-
</li>
|
4276
|
+
<li> tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例3</li>
|
4266
4277
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`LaunchConfigurationIds`和`Filters`。
|
4267
4278
|
:type Filters: list of Filter
|
4268
4279
|
:param _Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
@@ -6754,6 +6765,9 @@ class LaunchConfiguration(AbstractModel):
|
|
6754
6765
|
:type IPv6InternetAccessible: :class:`tencentcloud.autoscaling.v20180419.models.IPv6InternetAccessible`
|
6755
6766
|
:param _DisasterRecoverGroupIds: 置放群组id,仅支持指定一个。
|
6756
6767
|
:type DisasterRecoverGroupIds: list of str
|
6768
|
+
:param _ImageFamily: 镜像族名称。
|
6769
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6770
|
+
:type ImageFamily: str
|
6757
6771
|
"""
|
6758
6772
|
self._ProjectId = None
|
6759
6773
|
self._LaunchConfigurationId = None
|
@@ -6786,6 +6800,7 @@ class LaunchConfiguration(AbstractModel):
|
|
6786
6800
|
self._HpcClusterId = None
|
6787
6801
|
self._IPv6InternetAccessible = None
|
6788
6802
|
self._DisasterRecoverGroupIds = None
|
6803
|
+
self._ImageFamily = None
|
6789
6804
|
|
6790
6805
|
@property
|
6791
6806
|
def ProjectId(self):
|
@@ -7035,6 +7050,14 @@ class LaunchConfiguration(AbstractModel):
|
|
7035
7050
|
def DisasterRecoverGroupIds(self, DisasterRecoverGroupIds):
|
7036
7051
|
self._DisasterRecoverGroupIds = DisasterRecoverGroupIds
|
7037
7052
|
|
7053
|
+
@property
|
7054
|
+
def ImageFamily(self):
|
7055
|
+
return self._ImageFamily
|
7056
|
+
|
7057
|
+
@ImageFamily.setter
|
7058
|
+
def ImageFamily(self, ImageFamily):
|
7059
|
+
self._ImageFamily = ImageFamily
|
7060
|
+
|
7038
7061
|
|
7039
7062
|
def _deserialize(self, params):
|
7040
7063
|
self._ProjectId = params.get("ProjectId")
|
@@ -7106,6 +7129,7 @@ class LaunchConfiguration(AbstractModel):
|
|
7106
7129
|
self._IPv6InternetAccessible = IPv6InternetAccessible()
|
7107
7130
|
self._IPv6InternetAccessible._deserialize(params.get("IPv6InternetAccessible"))
|
7108
7131
|
self._DisasterRecoverGroupIds = params.get("DisasterRecoverGroupIds")
|
7132
|
+
self._ImageFamily = params.get("ImageFamily")
|
7109
7133
|
memeber_set = set(params.keys())
|
7110
7134
|
for name, value in vars(self).items():
|
7111
7135
|
property_name = name[1:]
|
@@ -8163,6 +8187,8 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
8163
8187
|
:param _InstanceTags: 实例标签列表。通过指定该参数,可以为扩容的实例绑定标签。最多支持指定10个标签。
|
8164
8188
|
该参数会覆盖原有的实例标签列表,如需新增标签,需将新标签和原有标签一并传入。
|
8165
8189
|
:type InstanceTags: list of InstanceTag
|
8190
|
+
:param _ImageFamily: 镜像族名称。
|
8191
|
+
:type ImageFamily: str
|
8166
8192
|
"""
|
8167
8193
|
self._LaunchConfigurationId = None
|
8168
8194
|
self._ImageId = None
|
@@ -8187,6 +8213,7 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
8187
8213
|
self._DisasterRecoverGroupIds = None
|
8188
8214
|
self._LoginSettings = None
|
8189
8215
|
self._InstanceTags = None
|
8216
|
+
self._ImageFamily = None
|
8190
8217
|
|
8191
8218
|
@property
|
8192
8219
|
def LaunchConfigurationId(self):
|
@@ -8372,6 +8399,14 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
8372
8399
|
def InstanceTags(self, InstanceTags):
|
8373
8400
|
self._InstanceTags = InstanceTags
|
8374
8401
|
|
8402
|
+
@property
|
8403
|
+
def ImageFamily(self):
|
8404
|
+
return self._ImageFamily
|
8405
|
+
|
8406
|
+
@ImageFamily.setter
|
8407
|
+
def ImageFamily(self, ImageFamily):
|
8408
|
+
self._ImageFamily = ImageFamily
|
8409
|
+
|
8375
8410
|
|
8376
8411
|
def _deserialize(self, params):
|
8377
8412
|
self._LaunchConfigurationId = params.get("LaunchConfigurationId")
|
@@ -8425,6 +8460,7 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
8425
8460
|
obj = InstanceTag()
|
8426
8461
|
obj._deserialize(item)
|
8427
8462
|
self._InstanceTags.append(obj)
|
8463
|
+
self._ImageFamily = params.get("ImageFamily")
|
8428
8464
|
memeber_set = set(params.keys())
|
8429
8465
|
for name, value in vars(self).items():
|
8430
8466
|
property_name = name[1:]
|
@@ -10707,10 +10743,17 @@ WAKE_UP_STOPPED_SCALING:扩容优先开机。扩容时优先对已关机的实
|
|
10707
10743
|
:type ScalingMode: str
|
10708
10744
|
:param _ReplaceLoadBalancerUnhealthy: 开启负载均衡不健康替换服务。若开启则对于负载均衡健康检查判断不健康的实例,弹性伸缩服务会进行替换。若不指定该参数,则默认为 False。
|
10709
10745
|
:type ReplaceLoadBalancerUnhealthy: bool
|
10746
|
+
:param _ReplaceMode: 不健康替换服务的替换模式。取值范围:
|
10747
|
+
RECREATE:重建实例替代原有不健康实例;
|
10748
|
+
RESET:对原有不健康实例进行重装系统操作,可保持数据盘、内网IP、实例id等信息不发生变化,实例登录设置、主机名、增强服务和 UserData 与当前启动配置保持一致。
|
10749
|
+
默认取值:RECREATE
|
10750
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10751
|
+
:type ReplaceMode: str
|
10710
10752
|
"""
|
10711
10753
|
self._ReplaceMonitorUnhealthy = None
|
10712
10754
|
self._ScalingMode = None
|
10713
10755
|
self._ReplaceLoadBalancerUnhealthy = None
|
10756
|
+
self._ReplaceMode = None
|
10714
10757
|
|
10715
10758
|
@property
|
10716
10759
|
def ReplaceMonitorUnhealthy(self):
|
@@ -10736,11 +10779,20 @@ WAKE_UP_STOPPED_SCALING:扩容优先开机。扩容时优先对已关机的实
|
|
10736
10779
|
def ReplaceLoadBalancerUnhealthy(self, ReplaceLoadBalancerUnhealthy):
|
10737
10780
|
self._ReplaceLoadBalancerUnhealthy = ReplaceLoadBalancerUnhealthy
|
10738
10781
|
|
10782
|
+
@property
|
10783
|
+
def ReplaceMode(self):
|
10784
|
+
return self._ReplaceMode
|
10785
|
+
|
10786
|
+
@ReplaceMode.setter
|
10787
|
+
def ReplaceMode(self, ReplaceMode):
|
10788
|
+
self._ReplaceMode = ReplaceMode
|
10789
|
+
|
10739
10790
|
|
10740
10791
|
def _deserialize(self, params):
|
10741
10792
|
self._ReplaceMonitorUnhealthy = params.get("ReplaceMonitorUnhealthy")
|
10742
10793
|
self._ScalingMode = params.get("ScalingMode")
|
10743
10794
|
self._ReplaceLoadBalancerUnhealthy = params.get("ReplaceLoadBalancerUnhealthy")
|
10795
|
+
self._ReplaceMode = params.get("ReplaceMode")
|
10744
10796
|
memeber_set = set(params.keys())
|
10745
10797
|
for name, value in vars(self).items():
|
10746
10798
|
property_name = name[1:]
|
File without changes
|
File without changes
|
@@ -0,0 +1,95 @@
|
|
1
|
+
# -*- coding: utf8 -*-
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
import json
|
17
|
+
|
18
|
+
from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
|
19
|
+
from tencentcloud.common.abstract_client import AbstractClient
|
20
|
+
from tencentcloud.ca.v20230228 import models
|
21
|
+
|
22
|
+
|
23
|
+
class CaClient(AbstractClient):
|
24
|
+
_apiVersion = '2023-02-28'
|
25
|
+
_endpoint = 'ca.tencentcloudapi.com'
|
26
|
+
_service = 'ca'
|
27
|
+
|
28
|
+
|
29
|
+
def CreateVerifyReport(self, request):
|
30
|
+
"""创建签名验证报告任务,此接口为异步盖章接口,盖章时效24小时。
|
31
|
+
|
32
|
+
:param request: Request instance for CreateVerifyReport.
|
33
|
+
:type request: :class:`tencentcloud.ca.v20230228.models.CreateVerifyReportRequest`
|
34
|
+
:rtype: :class:`tencentcloud.ca.v20230228.models.CreateVerifyReportResponse`
|
35
|
+
|
36
|
+
"""
|
37
|
+
try:
|
38
|
+
params = request._serialize()
|
39
|
+
headers = request.headers
|
40
|
+
body = self.call("CreateVerifyReport", params, headers=headers)
|
41
|
+
response = json.loads(body)
|
42
|
+
model = models.CreateVerifyReportResponse()
|
43
|
+
model._deserialize(response["Response"])
|
44
|
+
return model
|
45
|
+
except Exception as e:
|
46
|
+
if isinstance(e, TencentCloudSDKException):
|
47
|
+
raise
|
48
|
+
else:
|
49
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
50
|
+
|
51
|
+
|
52
|
+
def DescribeVerifyReport(self, request):
|
53
|
+
"""下载验签报告url,url有效期默认12小时
|
54
|
+
|
55
|
+
:param request: Request instance for DescribeVerifyReport.
|
56
|
+
:type request: :class:`tencentcloud.ca.v20230228.models.DescribeVerifyReportRequest`
|
57
|
+
:rtype: :class:`tencentcloud.ca.v20230228.models.DescribeVerifyReportResponse`
|
58
|
+
|
59
|
+
"""
|
60
|
+
try:
|
61
|
+
params = request._serialize()
|
62
|
+
headers = request.headers
|
63
|
+
body = self.call("DescribeVerifyReport", params, headers=headers)
|
64
|
+
response = json.loads(body)
|
65
|
+
model = models.DescribeVerifyReportResponse()
|
66
|
+
model._deserialize(response["Response"])
|
67
|
+
return model
|
68
|
+
except Exception as e:
|
69
|
+
if isinstance(e, TencentCloudSDKException):
|
70
|
+
raise
|
71
|
+
else:
|
72
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
73
|
+
|
74
|
+
|
75
|
+
def UploadFile(self, request):
|
76
|
+
"""文件上传接口
|
77
|
+
|
78
|
+
:param request: Request instance for UploadFile.
|
79
|
+
:type request: :class:`tencentcloud.ca.v20230228.models.UploadFileRequest`
|
80
|
+
:rtype: :class:`tencentcloud.ca.v20230228.models.UploadFileResponse`
|
81
|
+
|
82
|
+
"""
|
83
|
+
try:
|
84
|
+
params = request._serialize()
|
85
|
+
headers = request.headers
|
86
|
+
body = self.call("UploadFile", params, headers=headers)
|
87
|
+
response = json.loads(body)
|
88
|
+
model = models.UploadFileResponse()
|
89
|
+
model._deserialize(response["Response"])
|
90
|
+
return model
|
91
|
+
except Exception as e:
|
92
|
+
if isinstance(e, TencentCloudSDKException):
|
93
|
+
raise
|
94
|
+
else:
|
95
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# -*- coding: utf8 -*-
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
|
17
|
+
# 内部错误。
|
18
|
+
INTERNALERROR = 'InternalError'
|
19
|
+
|
20
|
+
# 无效的过滤器
|
21
|
+
INVALIDFILTER = 'InvalidFilter'
|
22
|
+
|
23
|
+
# 参数错误。
|
24
|
+
INVALIDPARAMETER = 'InvalidParameter'
|
25
|
+
|
26
|
+
# 参数取值错误。
|
27
|
+
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
28
|
+
|
29
|
+
# 缺少参数错误。
|
30
|
+
MISSINGPARAMETER = 'MissingParameter'
|