tencentcloud-sdk-python-domain 3.0.1117__tar.gz → 3.0.1122__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-domain-3.0.1117 → tencentcloud-sdk-python-domain-3.0.1122}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-domain-3.0.1117 → tencentcloud-sdk-python-domain-3.0.1122}/setup.py +1 -1
  3. {tencentcloud-sdk-python-domain-3.0.1117 → tencentcloud-sdk-python-domain-3.0.1122}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-domain-3.0.1117 → tencentcloud-sdk-python-domain-3.0.1122}/tencentcloud/domain/v20180808/domain_client.py +23 -0
  5. {tencentcloud-sdk-python-domain-3.0.1117 → tencentcloud-sdk-python-domain-3.0.1122}/tencentcloud/domain/v20180808/models.py +43 -0
  6. {tencentcloud-sdk-python-domain-3.0.1117 → tencentcloud-sdk-python-domain-3.0.1122}/tencentcloud_sdk_python_domain.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-domain-3.0.1122/tencentcloud_sdk_python_domain.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-domain-3.0.1117/tencentcloud_sdk_python_domain.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-domain-3.0.1117 → tencentcloud-sdk-python-domain-3.0.1122}/README.rst +0 -0
  10. {tencentcloud-sdk-python-domain-3.0.1117 → tencentcloud-sdk-python-domain-3.0.1122}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-domain-3.0.1117 → tencentcloud-sdk-python-domain-3.0.1122}/tencentcloud/domain/__init__.py +0 -0
  12. {tencentcloud-sdk-python-domain-3.0.1117 → tencentcloud-sdk-python-domain-3.0.1122}/tencentcloud/domain/v20180808/__init__.py +0 -0
  13. {tencentcloud-sdk-python-domain-3.0.1117 → tencentcloud-sdk-python-domain-3.0.1122}/tencentcloud/domain/v20180808/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-domain-3.0.1117 → tencentcloud-sdk-python-domain-3.0.1122}/tencentcloud_sdk_python_domain.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-domain-3.0.1117 → tencentcloud-sdk-python-domain-3.0.1122}/tencentcloud_sdk_python_domain.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-domain-3.0.1117 → tencentcloud-sdk-python-domain-3.0.1122}/tencentcloud_sdk_python_domain.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-domain
3
- Version: 3.0.1117
3
+ Version: 3.0.1122
4
4
  Summary: Tencent Cloud Domain 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-domain',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1117"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1122"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Domain 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.1117'
17
+ __version__ = '3.0.1122'
@@ -578,6 +578,29 @@ class DomainClient(AbstractClient):
578
578
  raise TencentCloudSDKException(type(e).__name__, str(e))
579
579
 
580
580
 
581
+ def DescribeTldList(self, request):
582
+ """用于获取域名注册当前支持注册的后缀
583
+
584
+ :param request: Request instance for DescribeTldList.
585
+ :type request: :class:`tencentcloud.domain.v20180808.models.DescribeTldListRequest`
586
+ :rtype: :class:`tencentcloud.domain.v20180808.models.DescribeTldListResponse`
587
+
588
+ """
589
+ try:
590
+ params = request._serialize()
591
+ headers = request.headers
592
+ body = self.call("DescribeTldList", params, headers=headers)
593
+ response = json.loads(body)
594
+ model = models.DescribeTldListResponse()
595
+ model._deserialize(response["Response"])
596
+ return model
597
+ except Exception as e:
598
+ if isinstance(e, TencentCloudSDKException):
599
+ raise
600
+ else:
601
+ raise TencentCloudSDKException(type(e).__name__, str(e))
602
+
603
+
581
604
  def ModifyCustomDnsHost(self, request):
582
605
  """修改自定义DNS Host
583
606
 
@@ -2962,6 +2962,49 @@ class DescribeTemplateResponse(AbstractModel):
2962
2962
  self._RequestId = params.get("RequestId")
2963
2963
 
2964
2964
 
2965
+ class DescribeTldListRequest(AbstractModel):
2966
+ """DescribeTldList请求参数结构体
2967
+
2968
+ """
2969
+
2970
+
2971
+ class DescribeTldListResponse(AbstractModel):
2972
+ """DescribeTldList返回参数结构体
2973
+
2974
+ """
2975
+
2976
+ def __init__(self):
2977
+ r"""
2978
+ :param _List: 支持的后缀列表
2979
+ :type List: list of str
2980
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2981
+ :type RequestId: str
2982
+ """
2983
+ self._List = None
2984
+ self._RequestId = None
2985
+
2986
+ @property
2987
+ def List(self):
2988
+ return self._List
2989
+
2990
+ @List.setter
2991
+ def List(self, List):
2992
+ self._List = List
2993
+
2994
+ @property
2995
+ def RequestId(self):
2996
+ return self._RequestId
2997
+
2998
+ @RequestId.setter
2999
+ def RequestId(self, RequestId):
3000
+ self._RequestId = RequestId
3001
+
3002
+
3003
+ def _deserialize(self, params):
3004
+ self._List = params.get("List")
3005
+ self._RequestId = params.get("RequestId")
3006
+
3007
+
2965
3008
  class DomainBaseInfo(AbstractModel):
2966
3009
  """获取域名基础信息
2967
3010
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-domain
3
- Version: 3.0.1117
3
+ Version: 3.0.1122
4
4
  Summary: Tencent Cloud Domain 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.1122
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1117