tencentcloud-sdk-python 3.0.1210__py2.py3-none-any.whl → 3.0.1225__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/ams/v20201229/models.py +24 -0
- tencentcloud/antiddos/v20200309/models.py +13 -1
- tencentcloud/asr/v20190614/asr_client.py +103 -1
- tencentcloud/asr/v20190614/errorcodes.py +3 -0
- tencentcloud/asr/v20190614/models.py +620 -0
- tencentcloud/batch/v20170312/models.py +2 -2
- tencentcloud/bi/v20220105/models.py +25 -0
- tencentcloud/billing/v20180709/models.py +155 -0
- tencentcloud/ccc/v20200210/models.py +42 -12
- tencentcloud/cdb/v20170320/cdb_client.py +46 -0
- tencentcloud/cdb/v20170320/models.py +280 -2
- tencentcloud/cdwdoris/v20211228/cdwdoris_client.py +211 -165
- tencentcloud/cdwdoris/v20211228/errorcodes.py +0 -3
- tencentcloud/cdwdoris/v20211228/models.py +2316 -2164
- tencentcloud/cfg/v20210820/models.py +182 -1
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/models.py +70 -0
- tencentcloud/ckafka/v20190819/ckafka_client.py +1 -1
- tencentcloud/ckafka/v20190819/models.py +47 -1
- tencentcloud/clb/v20180317/models.py +147 -3
- tencentcloud/cls/v20201016/models.py +259 -9
- tencentcloud/controlcenter/__init__.py +0 -0
- tencentcloud/controlcenter/v20230110/__init__.py +0 -0
- tencentcloud/controlcenter/v20230110/controlcenter_client.py +49 -0
- tencentcloud/controlcenter/v20230110/errorcodes.py +45 -0
- tencentcloud/controlcenter/v20230110/models.py +140 -0
- tencentcloud/csip/v20221121/models.py +385 -0
- tencentcloud/cvm/v20170312/models.py +8 -6
- tencentcloud/cwp/v20180228/models.py +123 -12
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +115 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +862 -52
- tencentcloud/dasb/v20191018/models.py +25 -0
- tencentcloud/dbbrain/v20210527/models.py +212 -2
- tencentcloud/dc/v20180410/dc_client.py +3 -4
- tencentcloud/dc/v20180410/models.py +78 -18
- tencentcloud/dcdb/v20180411/dcdb_client.py +23 -0
- tencentcloud/dcdb/v20180411/models.py +118 -0
- tencentcloud/dlc/v20210125/models.py +170 -1
- tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
- tencentcloud/dsgc/v20190723/models.py +165 -0
- tencentcloud/ecc/v20181213/ecc_client.py +1 -2
- tencentcloud/emr/v20190103/emr_client.py +24 -0
- tencentcloud/emr/v20190103/models.py +94 -0
- tencentcloud/es/v20180416/es_client.py +24 -0
- tencentcloud/es/v20180416/models.py +270 -1
- tencentcloud/ess/v20201111/ess_client.py +62 -4
- tencentcloud/ess/v20201111/models.py +386 -3
- tencentcloud/essbasic/v20210526/essbasic_client.py +31 -2
- tencentcloud/essbasic/v20210526/models.py +185 -16
- tencentcloud/facefusion/v20181201/models.py +9 -3
- tencentcloud/facefusion/v20220927/errorcodes.py +15 -6
- tencentcloud/facefusion/v20220927/models.py +32 -11
- tencentcloud/faceid/v20180301/faceid_client.py +1 -1
- tencentcloud/faceid/v20180301/models.py +66 -0
- tencentcloud/goosefs/v20220519/models.py +61 -0
- tencentcloud/hunyuan/v20230901/errorcodes.py +21 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +53 -1
- tencentcloud/hunyuan/v20230901/models.py +378 -4
- tencentcloud/ims/v20201229/ims_client.py +3 -3
- tencentcloud/ims/v20201229/models.py +1 -1
- tencentcloud/iotexplorer/v20190423/models.py +14 -6
- tencentcloud/iss/v20230517/errorcodes.py +15 -0
- tencentcloud/iss/v20230517/models.py +103 -0
- tencentcloud/lcic/v20220817/lcic_client.py +23 -0
- tencentcloud/lcic/v20220817/models.py +261 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
- tencentcloud/lighthouse/v20200324/models.py +28 -0
- tencentcloud/lke/v20231130/errorcodes.py +1 -1
- tencentcloud/lke/v20231130/models.py +247 -5
- tencentcloud/mariadb/v20170312/errorcodes.py +3 -0
- tencentcloud/mariadb/v20170312/mariadb_client.py +23 -0
- tencentcloud/mariadb/v20170312/models.py +82 -0
- tencentcloud/mna/v20210119/errorcodes.py +6 -0
- tencentcloud/mna/v20210119/mna_client.py +23 -0
- tencentcloud/mna/v20210119/models.py +146 -0
- tencentcloud/mongodb/v20180408/errorcodes.py +1 -1
- tencentcloud/mongodb/v20190725/errorcodes.py +1 -1
- tencentcloud/mongodb/v20190725/models.py +72 -45
- tencentcloud/monitor/v20180724/models.py +13 -0
- tencentcloud/mps/v20190612/models.py +247 -18
- tencentcloud/oceanus/v20190422/models.py +25 -0
- tencentcloud/ocr/v20181119/errorcodes.py +6 -0
- tencentcloud/ocr/v20181119/models.py +281 -2
- tencentcloud/ocr/v20181119/ocr_client.py +54 -2
- tencentcloud/organization/v20210331/errorcodes.py +237 -0
- tencentcloud/organization/v20210331/models.py +12189 -4358
- tencentcloud/organization/v20210331/organization_client.py +1181 -54
- tencentcloud/postgres/v20170312/errorcodes.py +15 -0
- tencentcloud/redis/v20180412/models.py +22 -20
- tencentcloud/rum/v20210622/models.py +12 -0
- tencentcloud/scf/v20180416/models.py +51 -15
- tencentcloud/ses/v20201002/models.py +177 -0
- tencentcloud/sms/v20190711/errorcodes.py +3 -0
- tencentcloud/sms/v20190711/models.py +21 -22
- tencentcloud/sms/v20190711/sms_client.py +28 -60
- tencentcloud/sms/v20210111/errorcodes.py +3 -0
- tencentcloud/sqlserver/v20180328/errorcodes.py +3 -0
- tencentcloud/sqlserver/v20180328/models.py +185 -1
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +23 -0
- tencentcloud/ssl/v20191205/errorcodes.py +6 -0
- tencentcloud/ssl/v20191205/models.py +209 -0
- tencentcloud/ssl/v20191205/ssl_client.py +24 -1
- tencentcloud/tag/v20180813/models.py +33 -33
- tencentcloud/tat/v20201028/errorcodes.py +9 -0
- tencentcloud/tat/v20201028/models.py +221 -1
- tencentcloud/tat/v20201028/tat_client.py +23 -0
- tencentcloud/tcr/v20190924/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +155 -0
- tencentcloud/teo/v20220901/models.py +2 -3
- tencentcloud/thpc/v20230321/models.py +1432 -82
- tencentcloud/thpc/v20230321/thpc_client.py +92 -0
- tencentcloud/tiia/v20190529/models.py +0 -469
- tencentcloud/tiia/v20190529/tiia_client.py +0 -29
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +12 -0
- tencentcloud/tms/v20201229/errorcodes.py +0 -6
- tencentcloud/tms/v20201229/models.py +0 -70
- tencentcloud/tms/v20201229/tms_client.py +0 -23
- tencentcloud/tmt/v20180321/errorcodes.py +3 -0
- tencentcloud/tmt/v20180321/models.py +9 -9
- tencentcloud/tmt/v20180321/tmt_client.py +1 -1
- tencentcloud/trocket/v20230308/models.py +123 -7
- tencentcloud/trtc/v20190722/models.py +240 -2
- tencentcloud/trtc/v20190722/trtc_client.py +48 -35
- tencentcloud/tse/v20201207/models.py +88 -0
- tencentcloud/tts/v20190823/models.py +2 -2
- tencentcloud/vclm/v20240523/errorcodes.py +27 -0
- tencentcloud/vclm/v20240523/models.py +12 -0
- tencentcloud/vod/v20180717/errorcodes.py +18 -0
- tencentcloud/vod/v20180717/models.py +617 -12
- tencentcloud/vod/v20180717/vod_client.py +71 -2
- tencentcloud/vpc/v20170312/models.py +332 -2
- tencentcloud/waf/v20180125/models.py +1 -1
- tencentcloud/wedata/v20210820/errorcodes.py +6 -0
- tencentcloud/wedata/v20210820/models.py +2905 -366
- tencentcloud/wedata/v20210820/wedata_client.py +161 -0
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/RECORD +143 -138
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,49 @@
|
|
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.controlcenter.v20230110 import models
|
21
|
+
|
22
|
+
|
23
|
+
class ControlcenterClient(AbstractClient):
|
24
|
+
_apiVersion = '2023-01-10'
|
25
|
+
_endpoint = 'controlcenter.tencentcloudapi.com'
|
26
|
+
_service = 'controlcenter'
|
27
|
+
|
28
|
+
|
29
|
+
def BatchApplyAccountBaselines(self, request):
|
30
|
+
"""批量对存量账号应用基线
|
31
|
+
|
32
|
+
:param request: Request instance for BatchApplyAccountBaselines.
|
33
|
+
:type request: :class:`tencentcloud.controlcenter.v20230110.models.BatchApplyAccountBaselinesRequest`
|
34
|
+
:rtype: :class:`tencentcloud.controlcenter.v20230110.models.BatchApplyAccountBaselinesResponse`
|
35
|
+
|
36
|
+
"""
|
37
|
+
try:
|
38
|
+
params = request._serialize()
|
39
|
+
headers = request.headers
|
40
|
+
body = self.call("BatchApplyAccountBaselines", params, headers=headers)
|
41
|
+
response = json.loads(body)
|
42
|
+
model = models.BatchApplyAccountBaselinesResponse()
|
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))
|
@@ -0,0 +1,45 @@
|
|
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
|
+
|
17
|
+
# 账号工厂必选基线项未配置
|
18
|
+
FAILEDOPERATION_AFREQUIREDITEMNOTSELECT = 'FailedOperation.AFRequiredItemNotSelect'
|
19
|
+
|
20
|
+
# 账号工厂批量应用基线的账号数量超过限制
|
21
|
+
FAILEDOPERATION_ACCOUNTFACTORYMEMBERUINNUMEXCEED = 'FailedOperation.AccountFactoryMemberUinNumExceed'
|
22
|
+
|
23
|
+
# 用户正在部署账号基线中,无法重复部署
|
24
|
+
FAILEDOPERATION_ACCOUNTFACTORYTASKISDEPLOYING = 'FailedOperation.AccountFactoryTaskIsDeploying'
|
25
|
+
|
26
|
+
# Control Center服务未开通
|
27
|
+
FAILEDOPERATION_CONTROLCENTERNOTOPEN = 'FailedOperation.ControlCenterNotOpen'
|
28
|
+
|
29
|
+
# 数据库操作异常
|
30
|
+
FAILEDOPERATION_DBOPERATIONERROR = 'FailedOperation.DBOperationError'
|
31
|
+
|
32
|
+
# 依赖的功能项未部署
|
33
|
+
FAILEDOPERATION_DEPENDONITEMNOTDEPLOY = 'FailedOperation.DependOnItemNotDeploy'
|
34
|
+
|
35
|
+
# 远程调用失败
|
36
|
+
FAILEDOPERATION_REMOTECALLERROR = 'FailedOperation.RemoteCallError'
|
37
|
+
|
38
|
+
# 用户基线配置数据不存在
|
39
|
+
RESOURCENOTFOUND_ACCOUNTFACTORYBASELINENOTEXIST = 'ResourceNotFound.AccountFactoryBaselineNotExist'
|
40
|
+
|
41
|
+
# 用户所部署的基线项未配置
|
42
|
+
RESOURCENOTFOUND_ACCOUNTFACTORYITEMNOTCONFIG = 'ResourceNotFound.AccountFactoryItemNotConfig'
|
43
|
+
|
44
|
+
# 账号工厂基线不存在
|
45
|
+
RESOURCENOTFOUND_ACCOUNTFACTORYITEMNOTEXIST = 'ResourceNotFound.AccountFactoryItemNotExist'
|
@@ -0,0 +1,140 @@
|
|
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 warnings
|
17
|
+
|
18
|
+
from tencentcloud.common.abstract_model import AbstractModel
|
19
|
+
|
20
|
+
|
21
|
+
class BaselineConfigItem(AbstractModel):
|
22
|
+
"""账号工厂基线配置项
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _Identifier: 账号工厂基线项唯一标识,只能包含英文字母、数字和@、,._[]-:()()【】+=,。,长度2-128个字符。
|
29
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30
|
+
:type Identifier: str
|
31
|
+
:param _Configuration: 账号工厂基线项配置,不同基线项配置参数不同。
|
32
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
33
|
+
:type Configuration: str
|
34
|
+
"""
|
35
|
+
self._Identifier = None
|
36
|
+
self._Configuration = None
|
37
|
+
|
38
|
+
@property
|
39
|
+
def Identifier(self):
|
40
|
+
return self._Identifier
|
41
|
+
|
42
|
+
@Identifier.setter
|
43
|
+
def Identifier(self, Identifier):
|
44
|
+
self._Identifier = Identifier
|
45
|
+
|
46
|
+
@property
|
47
|
+
def Configuration(self):
|
48
|
+
return self._Configuration
|
49
|
+
|
50
|
+
@Configuration.setter
|
51
|
+
def Configuration(self, Configuration):
|
52
|
+
self._Configuration = Configuration
|
53
|
+
|
54
|
+
|
55
|
+
def _deserialize(self, params):
|
56
|
+
self._Identifier = params.get("Identifier")
|
57
|
+
self._Configuration = params.get("Configuration")
|
58
|
+
memeber_set = set(params.keys())
|
59
|
+
for name, value in vars(self).items():
|
60
|
+
property_name = name[1:]
|
61
|
+
if property_name in memeber_set:
|
62
|
+
memeber_set.remove(property_name)
|
63
|
+
if len(memeber_set) > 0:
|
64
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
class BatchApplyAccountBaselinesRequest(AbstractModel):
|
69
|
+
"""BatchApplyAccountBaselines请求参数结构体
|
70
|
+
|
71
|
+
"""
|
72
|
+
|
73
|
+
def __init__(self):
|
74
|
+
r"""
|
75
|
+
:param _MemberUinList: 成员账号uin,也是被应用基线的账号uin。
|
76
|
+
:type MemberUinList: list of int
|
77
|
+
:param _BaselineConfigItems: 基线项配置信息列表。
|
78
|
+
:type BaselineConfigItems: list of BaselineConfigItem
|
79
|
+
"""
|
80
|
+
self._MemberUinList = None
|
81
|
+
self._BaselineConfigItems = None
|
82
|
+
|
83
|
+
@property
|
84
|
+
def MemberUinList(self):
|
85
|
+
return self._MemberUinList
|
86
|
+
|
87
|
+
@MemberUinList.setter
|
88
|
+
def MemberUinList(self, MemberUinList):
|
89
|
+
self._MemberUinList = MemberUinList
|
90
|
+
|
91
|
+
@property
|
92
|
+
def BaselineConfigItems(self):
|
93
|
+
return self._BaselineConfigItems
|
94
|
+
|
95
|
+
@BaselineConfigItems.setter
|
96
|
+
def BaselineConfigItems(self, BaselineConfigItems):
|
97
|
+
self._BaselineConfigItems = BaselineConfigItems
|
98
|
+
|
99
|
+
|
100
|
+
def _deserialize(self, params):
|
101
|
+
self._MemberUinList = params.get("MemberUinList")
|
102
|
+
if params.get("BaselineConfigItems") is not None:
|
103
|
+
self._BaselineConfigItems = []
|
104
|
+
for item in params.get("BaselineConfigItems"):
|
105
|
+
obj = BaselineConfigItem()
|
106
|
+
obj._deserialize(item)
|
107
|
+
self._BaselineConfigItems.append(obj)
|
108
|
+
memeber_set = set(params.keys())
|
109
|
+
for name, value in vars(self).items():
|
110
|
+
property_name = name[1:]
|
111
|
+
if property_name in memeber_set:
|
112
|
+
memeber_set.remove(property_name)
|
113
|
+
if len(memeber_set) > 0:
|
114
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
class BatchApplyAccountBaselinesResponse(AbstractModel):
|
119
|
+
"""BatchApplyAccountBaselines返回参数结构体
|
120
|
+
|
121
|
+
"""
|
122
|
+
|
123
|
+
def __init__(self):
|
124
|
+
r"""
|
125
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
126
|
+
:type RequestId: str
|
127
|
+
"""
|
128
|
+
self._RequestId = None
|
129
|
+
|
130
|
+
@property
|
131
|
+
def RequestId(self):
|
132
|
+
return self._RequestId
|
133
|
+
|
134
|
+
@RequestId.setter
|
135
|
+
def RequestId(self, RequestId):
|
136
|
+
self._RequestId = RequestId
|
137
|
+
|
138
|
+
|
139
|
+
def _deserialize(self, params):
|
140
|
+
self._RequestId = params.get("RequestId")
|