tencentcloud-sdk-python-ssl 3.0.1143__tar.gz → 3.0.1145__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.1143 → tencentcloud-sdk-python-ssl-3.0.1145}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-ssl-3.0.1143 → tencentcloud-sdk-python-ssl-3.0.1145}/setup.py +1 -1
  3. {tencentcloud-sdk-python-ssl-3.0.1143 → tencentcloud-sdk-python-ssl-3.0.1145}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-ssl-3.0.1143 → tencentcloud-sdk-python-ssl-3.0.1145}/tencentcloud/ssl/v20191205/errorcodes.py +9 -0
  5. {tencentcloud-sdk-python-ssl-3.0.1143 → tencentcloud-sdk-python-ssl-3.0.1145}/tencentcloud/ssl/v20191205/models.py +94 -0
  6. {tencentcloud-sdk-python-ssl-3.0.1143 → tencentcloud-sdk-python-ssl-3.0.1145}/tencentcloud/ssl/v20191205/ssl_client.py +23 -0
  7. {tencentcloud-sdk-python-ssl-3.0.1143 → tencentcloud-sdk-python-ssl-3.0.1145}/tencentcloud_sdk_python_ssl.egg-info/PKG-INFO +1 -1
  8. tencentcloud-sdk-python-ssl-3.0.1145/tencentcloud_sdk_python_ssl.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-ssl-3.0.1143/tencentcloud_sdk_python_ssl.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-ssl-3.0.1143 → tencentcloud-sdk-python-ssl-3.0.1145}/README.rst +0 -0
  11. {tencentcloud-sdk-python-ssl-3.0.1143 → tencentcloud-sdk-python-ssl-3.0.1145}/setup.cfg +0 -0
  12. {tencentcloud-sdk-python-ssl-3.0.1143 → tencentcloud-sdk-python-ssl-3.0.1145}/tencentcloud/ssl/__init__.py +0 -0
  13. {tencentcloud-sdk-python-ssl-3.0.1143 → tencentcloud-sdk-python-ssl-3.0.1145}/tencentcloud/ssl/v20191205/__init__.py +0 -0
  14. {tencentcloud-sdk-python-ssl-3.0.1143 → tencentcloud-sdk-python-ssl-3.0.1145}/tencentcloud_sdk_python_ssl.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-ssl-3.0.1143 → tencentcloud-sdk-python-ssl-3.0.1145}/tencentcloud_sdk_python_ssl.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-ssl-3.0.1143 → tencentcloud-sdk-python-ssl-3.0.1145}/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.1143
3
+ Version: 3.0.1145
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.1143"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1145"],
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.1143'
17
+ __version__ = '3.0.1145'
@@ -65,6 +65,9 @@ FAILEDOPERATION_CERTIFICATEDEPLOYRETRYSTATUSINVALID = 'FailedOperation.Certifica
65
65
  # 必须有部署成功的记录才可以回滚。
66
66
  FAILEDOPERATION_CERTIFICATEDEPLOYROLLBACKSTATUSINVALID = 'FailedOperation.CertificateDeployRollbackStatusInvalid'
67
67
 
68
+ # 证书下载服务类型不支持。
69
+ FAILEDOPERATION_CERTIFICATEDOWNLOADSERVICETYPENOTSUPPORT = 'FailedOperation.CertificateDownloadServiceTypeNotSupport'
70
+
68
71
  # 证书内容疑似国密证书,与所选证书标准不符,请您核对选择的证书标准和证书内容是否有误
69
72
  FAILEDOPERATION_CERTIFICATEENCRYPTINVALID = 'FailedOperation.CertificateEncryptInvalid'
70
73
 
@@ -107,9 +110,15 @@ FAILEDOPERATION_CERTIFICATENOTFOUNDORCANTCANCEL = 'FailedOperation.CertificateNo
107
110
  # 解析失败,请检查证书是否符合标准,请留意是否有多余的空格
108
111
  FAILEDOPERATION_CERTIFICATEPARSEERROR = 'FailedOperation.CertificateParseError'
109
112
 
113
+ # 当前证书状态不允许下载。
114
+ FAILEDOPERATION_CERTIFICATESTATUSNOTALLOWDOWNLOAD = 'FailedOperation.CertificateStatusNotAllowDownload'
115
+
110
116
  # 证书状态不允许重新申请。
111
117
  FAILEDOPERATION_CERTIFICATESTATUSNOTALLOWRESUBMIT = 'FailedOperation.CertificateStatusNotAllowResubmit'
112
118
 
119
+ # 无法查到当前证书类型详情。
120
+ FAILEDOPERATION_CERTIFICATETYPEINFONOTFOUND = 'FailedOperation.CertificateTypeInfoNotFound'
121
+
113
122
  # 证书确认函文件过大(需小于1.4M)。
114
123
  FAILEDOPERATION_CONFIRMLETTERTOOLARGE = 'FailedOperation.ConfirmLetterTooLarge'
115
124
 
@@ -6361,6 +6361,100 @@ class DescribeDeployedResourcesResponse(AbstractModel):
6361
6361
  self._RequestId = params.get("RequestId")
6362
6362
 
6363
6363
 
6364
+ class DescribeDownloadCertificateUrlRequest(AbstractModel):
6365
+ """DescribeDownloadCertificateUrl请求参数结构体
6366
+
6367
+ """
6368
+
6369
+ def __init__(self):
6370
+ r"""
6371
+ :param _CertificateId: 证书ID
6372
+ :type CertificateId: str
6373
+ :param _ServiceType: 下载的服务类型: nginx tomcat apache iis jks other root
6374
+ :type ServiceType: str
6375
+ """
6376
+ self._CertificateId = None
6377
+ self._ServiceType = None
6378
+
6379
+ @property
6380
+ def CertificateId(self):
6381
+ return self._CertificateId
6382
+
6383
+ @CertificateId.setter
6384
+ def CertificateId(self, CertificateId):
6385
+ self._CertificateId = CertificateId
6386
+
6387
+ @property
6388
+ def ServiceType(self):
6389
+ return self._ServiceType
6390
+
6391
+ @ServiceType.setter
6392
+ def ServiceType(self, ServiceType):
6393
+ self._ServiceType = ServiceType
6394
+
6395
+
6396
+ def _deserialize(self, params):
6397
+ self._CertificateId = params.get("CertificateId")
6398
+ self._ServiceType = params.get("ServiceType")
6399
+ memeber_set = set(params.keys())
6400
+ for name, value in vars(self).items():
6401
+ property_name = name[1:]
6402
+ if property_name in memeber_set:
6403
+ memeber_set.remove(property_name)
6404
+ if len(memeber_set) > 0:
6405
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6406
+
6407
+
6408
+
6409
+ class DescribeDownloadCertificateUrlResponse(AbstractModel):
6410
+ """DescribeDownloadCertificateUrl返回参数结构体
6411
+
6412
+ """
6413
+
6414
+ def __init__(self):
6415
+ r"""
6416
+ :param _DownloadCertificateUrl: 下载链接
6417
+ :type DownloadCertificateUrl: str
6418
+ :param _DownloadFilename: 下载文件的名称
6419
+ :type DownloadFilename: str
6420
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6421
+ :type RequestId: str
6422
+ """
6423
+ self._DownloadCertificateUrl = None
6424
+ self._DownloadFilename = None
6425
+ self._RequestId = None
6426
+
6427
+ @property
6428
+ def DownloadCertificateUrl(self):
6429
+ return self._DownloadCertificateUrl
6430
+
6431
+ @DownloadCertificateUrl.setter
6432
+ def DownloadCertificateUrl(self, DownloadCertificateUrl):
6433
+ self._DownloadCertificateUrl = DownloadCertificateUrl
6434
+
6435
+ @property
6436
+ def DownloadFilename(self):
6437
+ return self._DownloadFilename
6438
+
6439
+ @DownloadFilename.setter
6440
+ def DownloadFilename(self, DownloadFilename):
6441
+ self._DownloadFilename = DownloadFilename
6442
+
6443
+ @property
6444
+ def RequestId(self):
6445
+ return self._RequestId
6446
+
6447
+ @RequestId.setter
6448
+ def RequestId(self, RequestId):
6449
+ self._RequestId = RequestId
6450
+
6451
+
6452
+ def _deserialize(self, params):
6453
+ self._DownloadCertificateUrl = params.get("DownloadCertificateUrl")
6454
+ self._DownloadFilename = params.get("DownloadFilename")
6455
+ self._RequestId = params.get("RequestId")
6456
+
6457
+
6364
6458
  class DescribeHostApiGatewayInstanceListRequest(AbstractModel):
6365
6459
  """DescribeHostApiGatewayInstanceList请求参数结构体
6366
6460
 
@@ -555,6 +555,29 @@ class SslClient(AbstractClient):
555
555
  raise TencentCloudSDKException(type(e).__name__, str(e))
556
556
 
557
557
 
558
+ def DescribeDownloadCertificateUrl(self, request):
559
+ """获取下载证书链接
560
+
561
+ :param request: Request instance for DescribeDownloadCertificateUrl.
562
+ :type request: :class:`tencentcloud.ssl.v20191205.models.DescribeDownloadCertificateUrlRequest`
563
+ :rtype: :class:`tencentcloud.ssl.v20191205.models.DescribeDownloadCertificateUrlResponse`
564
+
565
+ """
566
+ try:
567
+ params = request._serialize()
568
+ headers = request.headers
569
+ body = self.call("DescribeDownloadCertificateUrl", params, headers=headers)
570
+ response = json.loads(body)
571
+ model = models.DescribeDownloadCertificateUrlResponse()
572
+ model._deserialize(response["Response"])
573
+ return model
574
+ except Exception as e:
575
+ if isinstance(e, TencentCloudSDKException):
576
+ raise
577
+ else:
578
+ raise TencentCloudSDKException(type(e).__name__, str(e))
579
+
580
+
558
581
  def DescribeHostApiGatewayInstanceList(self, request):
559
582
  """查询证书apiGateway云资源部署实例列表
560
583
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-ssl
3
- Version: 3.0.1143
3
+ Version: 3.0.1145
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.1145
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1143