tencentcloud-sdk-python-ssl 3.0.1222__tar.gz → 3.0.1237__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.
Files changed (16) hide show
  1. {tencentcloud-sdk-python-ssl-3.0.1222 → tencentcloud-sdk-python-ssl-3.0.1237}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-ssl-3.0.1222 → tencentcloud-sdk-python-ssl-3.0.1237}/setup.py +1 -1
  3. {tencentcloud-sdk-python-ssl-3.0.1222 → tencentcloud-sdk-python-ssl-3.0.1237}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-ssl-3.0.1222 → tencentcloud-sdk-python-ssl-3.0.1237}/tencentcloud/ssl/v20191205/errorcodes.py +3 -0
  5. {tencentcloud-sdk-python-ssl-3.0.1222 → tencentcloud-sdk-python-ssl-3.0.1237}/tencentcloud/ssl/v20191205/models.py +196 -0
  6. {tencentcloud-sdk-python-ssl-3.0.1222 → tencentcloud-sdk-python-ssl-3.0.1237}/tencentcloud/ssl/v20191205/ssl_client.py +23 -0
  7. {tencentcloud-sdk-python-ssl-3.0.1222 → tencentcloud-sdk-python-ssl-3.0.1237}/tencentcloud_sdk_python_ssl.egg-info/PKG-INFO +1 -1
  8. tencentcloud-sdk-python-ssl-3.0.1237/tencentcloud_sdk_python_ssl.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-ssl-3.0.1222/tencentcloud_sdk_python_ssl.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-ssl-3.0.1222 → tencentcloud-sdk-python-ssl-3.0.1237}/README.rst +0 -0
  11. {tencentcloud-sdk-python-ssl-3.0.1222 → tencentcloud-sdk-python-ssl-3.0.1237}/setup.cfg +0 -0
  12. {tencentcloud-sdk-python-ssl-3.0.1222 → tencentcloud-sdk-python-ssl-3.0.1237}/tencentcloud/ssl/__init__.py +0 -0
  13. {tencentcloud-sdk-python-ssl-3.0.1222 → tencentcloud-sdk-python-ssl-3.0.1237}/tencentcloud/ssl/v20191205/__init__.py +0 -0
  14. {tencentcloud-sdk-python-ssl-3.0.1222 → tencentcloud-sdk-python-ssl-3.0.1237}/tencentcloud_sdk_python_ssl.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-ssl-3.0.1222 → tencentcloud-sdk-python-ssl-3.0.1237}/tencentcloud_sdk_python_ssl.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-ssl-3.0.1222 → tencentcloud-sdk-python-ssl-3.0.1237}/tencentcloud_sdk_python_ssl.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-ssl
3
- Version: 3.0.1222
3
+ Version: 3.0.1237
4
4
  Summary: Tencent Cloud Ssl SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -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.1222"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1237"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Ssl SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1222'
17
+ __version__ = '3.0.1237'
@@ -116,6 +116,9 @@ FAILEDOPERATION_CERTIFICATESTATUSNOTALLOWDOWNLOAD = 'FailedOperation.Certificate
116
116
  # 证书状态不允许重新申请。
117
117
  FAILEDOPERATION_CERTIFICATESTATUSNOTALLOWRESUBMIT = 'FailedOperation.CertificateStatusNotAllowResubmit'
118
118
 
119
+ # 证书当前状态不允许进行域名验证。
120
+ FAILEDOPERATION_CERTIFICATESTATUSNOTALLOWVERIFY = 'FailedOperation.CertificateStatusNotAllowVerify'
121
+
119
122
  # 证书关联云资源查询任务ID无效
120
123
  FAILEDOPERATION_CERTIFICATESYNCTASKIDINVALID = 'FailedOperation.CertificateSyncTaskIdInvalid'
121
124
 
@@ -1980,6 +1980,82 @@ class CheckCertificateChainResponse(AbstractModel):
1980
1980
  self._RequestId = params.get("RequestId")
1981
1981
 
1982
1982
 
1983
+ class CheckCertificateDomainVerificationRequest(AbstractModel):
1984
+ """CheckCertificateDomainVerification请求参数结构体
1985
+
1986
+ """
1987
+
1988
+ def __init__(self):
1989
+ r"""
1990
+ :param _CertificateId: 证书ID。
1991
+ :type CertificateId: str
1992
+ """
1993
+ self._CertificateId = None
1994
+
1995
+ @property
1996
+ def CertificateId(self):
1997
+ return self._CertificateId
1998
+
1999
+ @CertificateId.setter
2000
+ def CertificateId(self, CertificateId):
2001
+ self._CertificateId = CertificateId
2002
+
2003
+
2004
+ def _deserialize(self, params):
2005
+ self._CertificateId = params.get("CertificateId")
2006
+ memeber_set = set(params.keys())
2007
+ for name, value in vars(self).items():
2008
+ property_name = name[1:]
2009
+ if property_name in memeber_set:
2010
+ memeber_set.remove(property_name)
2011
+ if len(memeber_set) > 0:
2012
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2013
+
2014
+
2015
+
2016
+ class CheckCertificateDomainVerificationResponse(AbstractModel):
2017
+ """CheckCertificateDomainVerification返回参数结构体
2018
+
2019
+ """
2020
+
2021
+ def __init__(self):
2022
+ r"""
2023
+ :param _VerificationResults: 域名验证结果
2024
+ 注意:此字段可能返回 null,表示取不到有效值。
2025
+ :type VerificationResults: list of DomainValidationResult
2026
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2027
+ :type RequestId: str
2028
+ """
2029
+ self._VerificationResults = None
2030
+ self._RequestId = None
2031
+
2032
+ @property
2033
+ def VerificationResults(self):
2034
+ return self._VerificationResults
2035
+
2036
+ @VerificationResults.setter
2037
+ def VerificationResults(self, VerificationResults):
2038
+ self._VerificationResults = VerificationResults
2039
+
2040
+ @property
2041
+ def RequestId(self):
2042
+ return self._RequestId
2043
+
2044
+ @RequestId.setter
2045
+ def RequestId(self, RequestId):
2046
+ self._RequestId = RequestId
2047
+
2048
+
2049
+ def _deserialize(self, params):
2050
+ if params.get("VerificationResults") is not None:
2051
+ self._VerificationResults = []
2052
+ for item in params.get("VerificationResults"):
2053
+ obj = DomainValidationResult()
2054
+ obj._deserialize(item)
2055
+ self._VerificationResults.append(obj)
2056
+ self._RequestId = params.get("RequestId")
2057
+
2058
+
1983
2059
  class ClbInstanceDetail(AbstractModel):
1984
2060
  """clb实例详情
1985
2061
 
@@ -9836,6 +9912,126 @@ class DescribePackagesResponse(AbstractModel):
9836
9912
  self._RequestId = params.get("RequestId")
9837
9913
 
9838
9914
 
9915
+ class DomainValidationResult(AbstractModel):
9916
+ """域名验证结果
9917
+
9918
+ """
9919
+
9920
+ def __init__(self):
9921
+ r"""
9922
+ :param _Domain: 域名。
9923
+ :type Domain: str
9924
+ :param _VerifyType: 验证类型。
9925
+ 注意:此字段可能返回 null,表示取不到有效值。
9926
+ :type VerifyType: str
9927
+ :param _LocalCheck: 本地检查结果。
9928
+ :type LocalCheck: int
9929
+ :param _CaCheck: CA检查结果。
9930
+ :type CaCheck: int
9931
+ :param _LocalCheckFailReason: 检查失败原因。
9932
+ 注意:此字段可能返回 null,表示取不到有效值。
9933
+ :type LocalCheckFailReason: str
9934
+ :param _CheckValue: 检查到的值。
9935
+ 注意:此字段可能返回 null,表示取不到有效值。
9936
+ :type CheckValue: list of str
9937
+ :param _Frequently: 是否频繁请求。
9938
+ :type Frequently: bool
9939
+ :param _Issued: 是否已经签发。
9940
+ :type Issued: bool
9941
+ """
9942
+ self._Domain = None
9943
+ self._VerifyType = None
9944
+ self._LocalCheck = None
9945
+ self._CaCheck = None
9946
+ self._LocalCheckFailReason = None
9947
+ self._CheckValue = None
9948
+ self._Frequently = None
9949
+ self._Issued = None
9950
+
9951
+ @property
9952
+ def Domain(self):
9953
+ return self._Domain
9954
+
9955
+ @Domain.setter
9956
+ def Domain(self, Domain):
9957
+ self._Domain = Domain
9958
+
9959
+ @property
9960
+ def VerifyType(self):
9961
+ return self._VerifyType
9962
+
9963
+ @VerifyType.setter
9964
+ def VerifyType(self, VerifyType):
9965
+ self._VerifyType = VerifyType
9966
+
9967
+ @property
9968
+ def LocalCheck(self):
9969
+ return self._LocalCheck
9970
+
9971
+ @LocalCheck.setter
9972
+ def LocalCheck(self, LocalCheck):
9973
+ self._LocalCheck = LocalCheck
9974
+
9975
+ @property
9976
+ def CaCheck(self):
9977
+ return self._CaCheck
9978
+
9979
+ @CaCheck.setter
9980
+ def CaCheck(self, CaCheck):
9981
+ self._CaCheck = CaCheck
9982
+
9983
+ @property
9984
+ def LocalCheckFailReason(self):
9985
+ return self._LocalCheckFailReason
9986
+
9987
+ @LocalCheckFailReason.setter
9988
+ def LocalCheckFailReason(self, LocalCheckFailReason):
9989
+ self._LocalCheckFailReason = LocalCheckFailReason
9990
+
9991
+ @property
9992
+ def CheckValue(self):
9993
+ return self._CheckValue
9994
+
9995
+ @CheckValue.setter
9996
+ def CheckValue(self, CheckValue):
9997
+ self._CheckValue = CheckValue
9998
+
9999
+ @property
10000
+ def Frequently(self):
10001
+ return self._Frequently
10002
+
10003
+ @Frequently.setter
10004
+ def Frequently(self, Frequently):
10005
+ self._Frequently = Frequently
10006
+
10007
+ @property
10008
+ def Issued(self):
10009
+ return self._Issued
10010
+
10011
+ @Issued.setter
10012
+ def Issued(self, Issued):
10013
+ self._Issued = Issued
10014
+
10015
+
10016
+ def _deserialize(self, params):
10017
+ self._Domain = params.get("Domain")
10018
+ self._VerifyType = params.get("VerifyType")
10019
+ self._LocalCheck = params.get("LocalCheck")
10020
+ self._CaCheck = params.get("CaCheck")
10021
+ self._LocalCheckFailReason = params.get("LocalCheckFailReason")
10022
+ self._CheckValue = params.get("CheckValue")
10023
+ self._Frequently = params.get("Frequently")
10024
+ self._Issued = params.get("Issued")
10025
+ memeber_set = set(params.keys())
10026
+ for name, value in vars(self).items():
10027
+ property_name = name[1:]
10028
+ if property_name in memeber_set:
10029
+ memeber_set.remove(property_name)
10030
+ if len(memeber_set) > 0:
10031
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10032
+
10033
+
10034
+
9839
10035
  class DownloadCertificateRequest(AbstractModel):
9840
10036
  """DownloadCertificate请求参数结构体
9841
10037
 
@@ -118,6 +118,29 @@ class SslClient(AbstractClient):
118
118
  raise TencentCloudSDKException(type(e).__name__, str(e))
119
119
 
120
120
 
121
+ def CheckCertificateDomainVerification(self, request):
122
+ """检查证书域名验证
123
+
124
+ :param request: Request instance for CheckCertificateDomainVerification.
125
+ :type request: :class:`tencentcloud.ssl.v20191205.models.CheckCertificateDomainVerificationRequest`
126
+ :rtype: :class:`tencentcloud.ssl.v20191205.models.CheckCertificateDomainVerificationResponse`
127
+
128
+ """
129
+ try:
130
+ params = request._serialize()
131
+ headers = request.headers
132
+ body = self.call("CheckCertificateDomainVerification", params, headers=headers)
133
+ response = json.loads(body)
134
+ model = models.CheckCertificateDomainVerificationResponse()
135
+ model._deserialize(response["Response"])
136
+ return model
137
+ except Exception as e:
138
+ if isinstance(e, TencentCloudSDKException):
139
+ raise
140
+ else:
141
+ raise TencentCloudSDKException(type(e).__name__, str(e))
142
+
143
+
121
144
  def CommitCertificateInformation(self, request):
122
145
  """提交证书订单。
123
146
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-ssl
3
- Version: 3.0.1222
3
+ Version: 3.0.1237
4
4
  Summary: Tencent Cloud Ssl SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1237
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1222