tencentcloud-sdk-python-ssl 3.0.980__tar.gz → 3.0.982__tar.gz
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-sdk-python-ssl-3.0.980 → tencentcloud-sdk-python-ssl-3.0.982}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ssl-3.0.980 → tencentcloud-sdk-python-ssl-3.0.982}/setup.py +1 -1
- {tencentcloud-sdk-python-ssl-3.0.980 → tencentcloud-sdk-python-ssl-3.0.982}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ssl-3.0.980 → tencentcloud-sdk-python-ssl-3.0.982}/tencentcloud/ssl/v20191205/errorcodes.py +9 -0
- {tencentcloud-sdk-python-ssl-3.0.980 → tencentcloud-sdk-python-ssl-3.0.982}/tencentcloud/ssl/v20191205/models.py +140 -0
- {tencentcloud-sdk-python-ssl-3.0.980 → tencentcloud-sdk-python-ssl-3.0.982}/tencentcloud/ssl/v20191205/ssl_client.py +46 -0
- {tencentcloud-sdk-python-ssl-3.0.980 → tencentcloud-sdk-python-ssl-3.0.982}/tencentcloud_sdk_python_ssl.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ssl-3.0.982/tencentcloud_sdk_python_ssl.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ssl-3.0.980/tencentcloud_sdk_python_ssl.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ssl-3.0.980 → tencentcloud-sdk-python-ssl-3.0.982}/README.rst +0 -0
- {tencentcloud-sdk-python-ssl-3.0.980 → tencentcloud-sdk-python-ssl-3.0.982}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ssl-3.0.980 → tencentcloud-sdk-python-ssl-3.0.982}/tencentcloud/ssl/__init__.py +0 -0
- {tencentcloud-sdk-python-ssl-3.0.980 → tencentcloud-sdk-python-ssl-3.0.982}/tencentcloud/ssl/v20191205/__init__.py +0 -0
- {tencentcloud-sdk-python-ssl-3.0.980 → tencentcloud-sdk-python-ssl-3.0.982}/tencentcloud_sdk_python_ssl.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ssl-3.0.980 → tencentcloud-sdk-python-ssl-3.0.982}/tencentcloud_sdk_python_ssl.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ssl-3.0.980 → tencentcloud-sdk-python-ssl-3.0.982}/tencentcloud_sdk_python_ssl.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ssl',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.982"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ssl SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -95,6 +95,12 @@ FAILEDOPERATION_CERTIFICATENOTDEPLOYINSTANCE = 'FailedOperation.CertificateNotDe
|
|
|
95
95
|
# 证书不存在。
|
|
96
96
|
FAILEDOPERATION_CERTIFICATENOTFOUND = 'FailedOperation.CertificateNotFound'
|
|
97
97
|
|
|
98
|
+
# 该证书不存在或不可取消。
|
|
99
|
+
FAILEDOPERATION_CERTIFICATENOTFOUNDORCANTCANCEL = 'FailedOperation.CertificateNotFoundOrCantCancel'
|
|
100
|
+
|
|
101
|
+
# 证书状态不允许重新申请。
|
|
102
|
+
FAILEDOPERATION_CERTIFICATESTATUSNOTALLOWRESUBMIT = 'FailedOperation.CertificateStatusNotAllowResubmit'
|
|
103
|
+
|
|
98
104
|
# 证书确认函文件过大(需小于1.4M)。
|
|
99
105
|
FAILEDOPERATION_CONFIRMLETTERTOOLARGE = 'FailedOperation.ConfirmLetterTooLarge'
|
|
100
106
|
|
|
@@ -194,6 +200,9 @@ INVALIDPARAMETER = 'InvalidParameter'
|
|
|
194
200
|
# 查询的证书ID不能超过50个。
|
|
195
201
|
INVALIDPARAMETER_CERTIFICATEIDNUMBERLIMIT = 'InvalidParameter.CertificateIdNumberLimit'
|
|
196
202
|
|
|
203
|
+
# 当前证书状态不允许重新提交申请。
|
|
204
|
+
INVALIDPARAMETER_CERTIFICATESTATUSNOTALLOWRESUBMIT = 'InvalidParameter.CertificateStatusNotAllowResubmit'
|
|
205
|
+
|
|
197
206
|
# 证书数量超出限制。
|
|
198
207
|
INVALIDPARAMETER_CERTIFICATESNUMBEREXCEEDED = 'InvalidParameter.CertificatesNumberExceeded'
|
|
199
208
|
|
|
@@ -485,6 +485,76 @@ class BindResourceResult(AbstractModel):
|
|
|
485
485
|
|
|
486
486
|
|
|
487
487
|
|
|
488
|
+
class CancelAuditCertificateRequest(AbstractModel):
|
|
489
|
+
"""CancelAuditCertificate请求参数结构体
|
|
490
|
+
|
|
491
|
+
"""
|
|
492
|
+
|
|
493
|
+
def __init__(self):
|
|
494
|
+
r"""
|
|
495
|
+
:param _CertificateId: 证书ID
|
|
496
|
+
:type CertificateId: str
|
|
497
|
+
"""
|
|
498
|
+
self._CertificateId = None
|
|
499
|
+
|
|
500
|
+
@property
|
|
501
|
+
def CertificateId(self):
|
|
502
|
+
return self._CertificateId
|
|
503
|
+
|
|
504
|
+
@CertificateId.setter
|
|
505
|
+
def CertificateId(self, CertificateId):
|
|
506
|
+
self._CertificateId = CertificateId
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
def _deserialize(self, params):
|
|
510
|
+
self._CertificateId = params.get("CertificateId")
|
|
511
|
+
memeber_set = set(params.keys())
|
|
512
|
+
for name, value in vars(self).items():
|
|
513
|
+
property_name = name[1:]
|
|
514
|
+
if property_name in memeber_set:
|
|
515
|
+
memeber_set.remove(property_name)
|
|
516
|
+
if len(memeber_set) > 0:
|
|
517
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
class CancelAuditCertificateResponse(AbstractModel):
|
|
522
|
+
"""CancelAuditCertificate返回参数结构体
|
|
523
|
+
|
|
524
|
+
"""
|
|
525
|
+
|
|
526
|
+
def __init__(self):
|
|
527
|
+
r"""
|
|
528
|
+
:param _Result: 操作是否成功
|
|
529
|
+
:type Result: bool
|
|
530
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
531
|
+
:type RequestId: str
|
|
532
|
+
"""
|
|
533
|
+
self._Result = None
|
|
534
|
+
self._RequestId = None
|
|
535
|
+
|
|
536
|
+
@property
|
|
537
|
+
def Result(self):
|
|
538
|
+
return self._Result
|
|
539
|
+
|
|
540
|
+
@Result.setter
|
|
541
|
+
def Result(self, Result):
|
|
542
|
+
self._Result = Result
|
|
543
|
+
|
|
544
|
+
@property
|
|
545
|
+
def RequestId(self):
|
|
546
|
+
return self._RequestId
|
|
547
|
+
|
|
548
|
+
@RequestId.setter
|
|
549
|
+
def RequestId(self, RequestId):
|
|
550
|
+
self._RequestId = RequestId
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
def _deserialize(self, params):
|
|
554
|
+
self._Result = params.get("Result")
|
|
555
|
+
self._RequestId = params.get("RequestId")
|
|
556
|
+
|
|
557
|
+
|
|
488
558
|
class CancelCertificateOrderRequest(AbstractModel):
|
|
489
559
|
"""CancelCertificateOrder请求参数结构体
|
|
490
560
|
|
|
@@ -9946,6 +10016,76 @@ class ModifyCertificateProjectResponse(AbstractModel):
|
|
|
9946
10016
|
self._RequestId = params.get("RequestId")
|
|
9947
10017
|
|
|
9948
10018
|
|
|
10019
|
+
class ModifyCertificateResubmitRequest(AbstractModel):
|
|
10020
|
+
"""ModifyCertificateResubmit请求参数结构体
|
|
10021
|
+
|
|
10022
|
+
"""
|
|
10023
|
+
|
|
10024
|
+
def __init__(self):
|
|
10025
|
+
r"""
|
|
10026
|
+
:param _CertificateId: 证书ID。
|
|
10027
|
+
:type CertificateId: str
|
|
10028
|
+
"""
|
|
10029
|
+
self._CertificateId = None
|
|
10030
|
+
|
|
10031
|
+
@property
|
|
10032
|
+
def CertificateId(self):
|
|
10033
|
+
return self._CertificateId
|
|
10034
|
+
|
|
10035
|
+
@CertificateId.setter
|
|
10036
|
+
def CertificateId(self, CertificateId):
|
|
10037
|
+
self._CertificateId = CertificateId
|
|
10038
|
+
|
|
10039
|
+
|
|
10040
|
+
def _deserialize(self, params):
|
|
10041
|
+
self._CertificateId = params.get("CertificateId")
|
|
10042
|
+
memeber_set = set(params.keys())
|
|
10043
|
+
for name, value in vars(self).items():
|
|
10044
|
+
property_name = name[1:]
|
|
10045
|
+
if property_name in memeber_set:
|
|
10046
|
+
memeber_set.remove(property_name)
|
|
10047
|
+
if len(memeber_set) > 0:
|
|
10048
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10049
|
+
|
|
10050
|
+
|
|
10051
|
+
|
|
10052
|
+
class ModifyCertificateResubmitResponse(AbstractModel):
|
|
10053
|
+
"""ModifyCertificateResubmit返回参数结构体
|
|
10054
|
+
|
|
10055
|
+
"""
|
|
10056
|
+
|
|
10057
|
+
def __init__(self):
|
|
10058
|
+
r"""
|
|
10059
|
+
:param _CertificateId: 证书ID。
|
|
10060
|
+
:type CertificateId: str
|
|
10061
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
10062
|
+
:type RequestId: str
|
|
10063
|
+
"""
|
|
10064
|
+
self._CertificateId = None
|
|
10065
|
+
self._RequestId = None
|
|
10066
|
+
|
|
10067
|
+
@property
|
|
10068
|
+
def CertificateId(self):
|
|
10069
|
+
return self._CertificateId
|
|
10070
|
+
|
|
10071
|
+
@CertificateId.setter
|
|
10072
|
+
def CertificateId(self, CertificateId):
|
|
10073
|
+
self._CertificateId = CertificateId
|
|
10074
|
+
|
|
10075
|
+
@property
|
|
10076
|
+
def RequestId(self):
|
|
10077
|
+
return self._RequestId
|
|
10078
|
+
|
|
10079
|
+
@RequestId.setter
|
|
10080
|
+
def RequestId(self, RequestId):
|
|
10081
|
+
self._RequestId = RequestId
|
|
10082
|
+
|
|
10083
|
+
|
|
10084
|
+
def _deserialize(self, params):
|
|
10085
|
+
self._CertificateId = params.get("CertificateId")
|
|
10086
|
+
self._RequestId = params.get("RequestId")
|
|
10087
|
+
|
|
10088
|
+
|
|
9949
10089
|
class ModifyCertificatesExpiringNotificationSwitchRequest(AbstractModel):
|
|
9950
10090
|
"""ModifyCertificatesExpiringNotificationSwitch请求参数结构体
|
|
9951
10091
|
|
|
@@ -49,6 +49,29 @@ class SslClient(AbstractClient):
|
|
|
49
49
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
50
|
|
|
51
51
|
|
|
52
|
+
def CancelAuditCertificate(self, request):
|
|
53
|
+
"""取消证书审核
|
|
54
|
+
|
|
55
|
+
:param request: Request instance for CancelAuditCertificate.
|
|
56
|
+
:type request: :class:`tencentcloud.ssl.v20191205.models.CancelAuditCertificateRequest`
|
|
57
|
+
:rtype: :class:`tencentcloud.ssl.v20191205.models.CancelAuditCertificateResponse`
|
|
58
|
+
|
|
59
|
+
"""
|
|
60
|
+
try:
|
|
61
|
+
params = request._serialize()
|
|
62
|
+
headers = request.headers
|
|
63
|
+
body = self.call("CancelAuditCertificate", params, headers=headers)
|
|
64
|
+
response = json.loads(body)
|
|
65
|
+
model = models.CancelAuditCertificateResponse()
|
|
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
|
+
|
|
52
75
|
def CancelCertificateOrder(self, request):
|
|
53
76
|
"""取消证书订单。
|
|
54
77
|
|
|
@@ -1015,6 +1038,29 @@ class SslClient(AbstractClient):
|
|
|
1015
1038
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1016
1039
|
|
|
1017
1040
|
|
|
1041
|
+
def ModifyCertificateResubmit(self, request):
|
|
1042
|
+
"""针对审核失败或审核取消的付费证书,重新发起审核
|
|
1043
|
+
|
|
1044
|
+
:param request: Request instance for ModifyCertificateResubmit.
|
|
1045
|
+
:type request: :class:`tencentcloud.ssl.v20191205.models.ModifyCertificateResubmitRequest`
|
|
1046
|
+
:rtype: :class:`tencentcloud.ssl.v20191205.models.ModifyCertificateResubmitResponse`
|
|
1047
|
+
|
|
1048
|
+
"""
|
|
1049
|
+
try:
|
|
1050
|
+
params = request._serialize()
|
|
1051
|
+
headers = request.headers
|
|
1052
|
+
body = self.call("ModifyCertificateResubmit", params, headers=headers)
|
|
1053
|
+
response = json.loads(body)
|
|
1054
|
+
model = models.ModifyCertificateResubmitResponse()
|
|
1055
|
+
model._deserialize(response["Response"])
|
|
1056
|
+
return model
|
|
1057
|
+
except Exception as e:
|
|
1058
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1059
|
+
raise
|
|
1060
|
+
else:
|
|
1061
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1062
|
+
|
|
1063
|
+
|
|
1018
1064
|
def ModifyCertificatesExpiringNotificationSwitch(self, request):
|
|
1019
1065
|
"""修改忽略证书到期通知。打开或关闭证书到期通知。
|
|
1020
1066
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.982
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.980
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|