tencentcloud-sdk-python 3.0.1307__py2.py3-none-any.whl → 3.0.1309__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/asr/v20190614/models.py +4 -0
- tencentcloud/bi/v20220105/models.py +124 -2
- tencentcloud/cdwdoris/v20211228/models.py +84 -82
- tencentcloud/cfg/v20210820/models.py +45 -0
- tencentcloud/cwp/v20180228/cwp_client.py +0 -50
- tencentcloud/cwp/v20180228/models.py +0 -717
- tencentcloud/dbbrain/v20210527/models.py +15 -0
- tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/models.py +6 -6
- tencentcloud/essbasic/v20210526/essbasic_client.py +28 -0
- tencentcloud/essbasic/v20210526/models.py +209 -0
- tencentcloud/hunyuan/v20230901/models.py +19 -0
- tencentcloud/lke/v20231130/models.py +1413 -48
- tencentcloud/ocr/v20181119/models.py +352 -0
- tencentcloud/ocr/v20181119/ocr_client.py +23 -0
- tencentcloud/rum/v20210622/models.py +168 -32
- tencentcloud/scf/v20180416/models.py +4 -4
- tencentcloud/ssl/v20191205/models.py +81 -0
- tencentcloud/ssl/v20191205/ssl_client.py +23 -0
- tencentcloud/tccatalog/__init__.py +0 -0
- tencentcloud/tccatalog/v20241024/__init__.py +0 -0
- tencentcloud/tccatalog/v20241024/errorcodes.py +36 -0
- tencentcloud/tccatalog/v20241024/models.py +917 -0
- tencentcloud/tccatalog/v20241024/tccatalog_client.py +118 -0
- tencentcloud/tdmq/v20200217/models.py +2 -2
- tencentcloud/teo/v20220901/errorcodes.py +3 -0
- tencentcloud/teo/v20220901/models.py +5864 -351
- tencentcloud/teo/v20220901/teo_client.py +144 -6
- {tencentcloud_sdk_python-3.0.1307.dist-info → tencentcloud_sdk_python-3.0.1309.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1307.dist-info → tencentcloud_sdk_python-3.0.1309.dist-info}/RECORD +34 -29
- {tencentcloud_sdk_python-3.0.1307.dist-info → tencentcloud_sdk_python-3.0.1309.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1307.dist-info → tencentcloud_sdk_python-3.0.1309.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1307.dist-info → tencentcloud_sdk_python-3.0.1309.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,118 @@
|
|
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.tccatalog.v20241024 import models
|
21
|
+
|
22
|
+
|
23
|
+
class TccatalogClient(AbstractClient):
|
24
|
+
_apiVersion = '2024-10-24'
|
25
|
+
_endpoint = 'tccatalog.tencentcloudapi.com'
|
26
|
+
_service = 'tccatalog'
|
27
|
+
|
28
|
+
|
29
|
+
def AcceptTccVpcEndPointConnect(self, request):
|
30
|
+
"""接受终端节点连接
|
31
|
+
|
32
|
+
:param request: Request instance for AcceptTccVpcEndPointConnect.
|
33
|
+
:type request: :class:`tencentcloud.tccatalog.v20241024.models.AcceptTccVpcEndPointConnectRequest`
|
34
|
+
:rtype: :class:`tencentcloud.tccatalog.v20241024.models.AcceptTccVpcEndPointConnectResponse`
|
35
|
+
|
36
|
+
"""
|
37
|
+
try:
|
38
|
+
params = request._serialize()
|
39
|
+
headers = request.headers
|
40
|
+
body = self.call("AcceptTccVpcEndPointConnect", params, headers=headers)
|
41
|
+
response = json.loads(body)
|
42
|
+
model = models.AcceptTccVpcEndPointConnectResponse()
|
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 BindTccVpcEndPointServiceWhiteList(self, request):
|
53
|
+
"""绑定终端节点服务白名单用户
|
54
|
+
|
55
|
+
:param request: Request instance for BindTccVpcEndPointServiceWhiteList.
|
56
|
+
:type request: :class:`tencentcloud.tccatalog.v20241024.models.BindTccVpcEndPointServiceWhiteListRequest`
|
57
|
+
:rtype: :class:`tencentcloud.tccatalog.v20241024.models.BindTccVpcEndPointServiceWhiteListResponse`
|
58
|
+
|
59
|
+
"""
|
60
|
+
try:
|
61
|
+
params = request._serialize()
|
62
|
+
headers = request.headers
|
63
|
+
body = self.call("BindTccVpcEndPointServiceWhiteList", params, headers=headers)
|
64
|
+
response = json.loads(body)
|
65
|
+
model = models.BindTccVpcEndPointServiceWhiteListResponse()
|
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 DescribeTccCatalog(self, request):
|
76
|
+
"""获取Tcc数据目录详情
|
77
|
+
|
78
|
+
:param request: Request instance for DescribeTccCatalog.
|
79
|
+
:type request: :class:`tencentcloud.tccatalog.v20241024.models.DescribeTccCatalogRequest`
|
80
|
+
:rtype: :class:`tencentcloud.tccatalog.v20241024.models.DescribeTccCatalogResponse`
|
81
|
+
|
82
|
+
"""
|
83
|
+
try:
|
84
|
+
params = request._serialize()
|
85
|
+
headers = request.headers
|
86
|
+
body = self.call("DescribeTccCatalog", params, headers=headers)
|
87
|
+
response = json.loads(body)
|
88
|
+
model = models.DescribeTccCatalogResponse()
|
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))
|
96
|
+
|
97
|
+
|
98
|
+
def DescribeTccCatalogs(self, request):
|
99
|
+
"""获取Tcc数据目录列表
|
100
|
+
|
101
|
+
:param request: Request instance for DescribeTccCatalogs.
|
102
|
+
:type request: :class:`tencentcloud.tccatalog.v20241024.models.DescribeTccCatalogsRequest`
|
103
|
+
:rtype: :class:`tencentcloud.tccatalog.v20241024.models.DescribeTccCatalogsResponse`
|
104
|
+
|
105
|
+
"""
|
106
|
+
try:
|
107
|
+
params = request._serialize()
|
108
|
+
headers = request.headers
|
109
|
+
body = self.call("DescribeTccCatalogs", params, headers=headers)
|
110
|
+
response = json.loads(body)
|
111
|
+
model = models.DescribeTccCatalogsResponse()
|
112
|
+
model._deserialize(response["Response"])
|
113
|
+
return model
|
114
|
+
except Exception as e:
|
115
|
+
if isinstance(e, TencentCloudSDKException):
|
116
|
+
raise
|
117
|
+
else:
|
118
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
@@ -7776,7 +7776,7 @@ class DeleteRabbitMQPermissionRequest(AbstractModel):
|
|
7776
7776
|
:type InstanceId: str
|
7777
7777
|
:param _User: 用户名,登录时使用
|
7778
7778
|
:type User: str
|
7779
|
-
:param _VirtualHost: vhost
|
7779
|
+
:param _VirtualHost: vhost名称
|
7780
7780
|
:type VirtualHost: str
|
7781
7781
|
"""
|
7782
7782
|
self._InstanceId = None
|
@@ -7807,7 +7807,7 @@ class DeleteRabbitMQPermissionRequest(AbstractModel):
|
|
7807
7807
|
|
7808
7808
|
@property
|
7809
7809
|
def VirtualHost(self):
|
7810
|
-
"""vhost
|
7810
|
+
"""vhost名称
|
7811
7811
|
:rtype: str
|
7812
7812
|
"""
|
7813
7813
|
return self._VirtualHost
|
@@ -860,6 +860,9 @@ INVALIDPARAMETERVALUE_SHAREDCNAMEPREFIXNOTMATCH = 'InvalidParameterValue.SharedC
|
|
860
860
|
# 暂不支持当前域名后缀接入,如您需要使用请联系我们。
|
861
861
|
INVALIDPARAMETERVALUE_TOPLEVELDOMAINNOTSUPPORT = 'InvalidParameterValue.TopLevelDomainNotSupport'
|
862
862
|
|
863
|
+
# 试用套餐的自定义页面不允许引用。
|
864
|
+
INVALIDPARAMETERVALUE_TRIALPLANRESPONSEPAGE = 'InvalidParameterValue.TrialPlanResponsePage'
|
865
|
+
|
863
866
|
# 配置项错误。
|
864
867
|
INVALIDPARAMETERVALUE_UNRECOGNIZABLEVALUE = 'InvalidParameterValue.UnrecognizableValue'
|
865
868
|
|