tencentcloud-sdk-python 3.0.1420__py2.py3-none-any.whl → 3.0.1422__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/autoscaling/v20180419/models.py +15 -0
- tencentcloud/batch/v20170312/models.py +4 -4
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +8 -8
- tencentcloud/cdn/v20180606/models.py +4 -4
- tencentcloud/cdwch/v20200915/models.py +17 -2
- tencentcloud/cdwdoris/v20211228/errorcodes.py +6 -0
- tencentcloud/cdwdoris/v20211228/models.py +244 -4
- tencentcloud/cfg/v20210820/models.py +40 -0
- tencentcloud/ckafka/v20190819/ckafka_client.py +0 -23
- tencentcloud/ckafka/v20190819/models.py +0 -371
- tencentcloud/ctem/v20231128/models.py +30 -0
- tencentcloud/cvm/v20170312/models.py +4 -4
- tencentcloud/dts/v20211206/models.py +32 -2
- tencentcloud/emr/v20190103/models.py +74 -24
- tencentcloud/faceid/v20180301/models.py +22 -16
- tencentcloud/gs/v20191118/models.py +71 -0
- tencentcloud/igtm/v20231024/igtm_client.py +69 -0
- tencentcloud/igtm/v20231024/models.py +1202 -198
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +3 -1
- tencentcloud/live/v20180801/live_client.py +69 -0
- tencentcloud/live/v20180801/models.py +102 -0
- tencentcloud/ocr/v20181119/models.py +4 -18
- tencentcloud/ocr/v20181119/ocr_client.py +3 -1
- tencentcloud/omics/v20221128/models.py +62 -2
- tencentcloud/ses/v20201002/models.py +171 -0
- tencentcloud/tcb/v20180608/models.py +64 -10
- tencentcloud/tdmq/v20200217/models.py +15 -0
- tencentcloud/teo/v20220901/models.py +664 -2
- tencentcloud/teo/v20220901/teo_client.py +115 -0
- tencentcloud/vrs/v20200824/vrs_client.py +1 -1
- {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1422.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1422.dist-info}/RECORD +37 -166
- tencentcloud/cis/__init__.py +0 -0
- tencentcloud/cis/v20180408/__init__.py +0 -0
- tencentcloud/cis/v20180408/cis_client.py +0 -187
- tencentcloud/cis/v20180408/errorcodes.py +0 -21
- tencentcloud/cis/v20180408/models.py +0 -1688
- tencentcloud/dataintegration/__init__.py +0 -0
- tencentcloud/dataintegration/v20220613/__init__.py +0 -0
- tencentcloud/dataintegration/v20220613/dataintegration_client.py +0 -49
- tencentcloud/dataintegration/v20220613/errorcodes.py +0 -15
- tencentcloud/dataintegration/v20220613/models.py +0 -168
- tencentcloud/dtf/__init__.py +0 -0
- tencentcloud/dtf/v20200506/__init__.py +0 -0
- tencentcloud/dtf/v20200506/dtf_client.py +0 -49
- tencentcloud/dtf/v20200506/errorcodes.py +0 -21
- tencentcloud/dtf/v20200506/models.py +0 -538
- tencentcloud/gpm/__init__.py +0 -0
- tencentcloud/gpm/v20200820/__init__.py +0 -0
- tencentcloud/gpm/v20200820/errorcodes.py +0 -168
- tencentcloud/gpm/v20200820/gpm_client.py +0 -476
- tencentcloud/gpm/v20200820/models.py +0 -4255
- tencentcloud/gse/__init__.py +0 -0
- tencentcloud/gse/v20191112/__init__.py +0 -0
- tencentcloud/gse/v20191112/errorcodes.py +0 -90
- tencentcloud/gse/v20191112/gse_client.py +0 -1993
- tencentcloud/gse/v20191112/models.py +0 -15093
- tencentcloud/iecp/__init__.py +0 -0
- tencentcloud/iecp/v20210914/__init__.py +0 -0
- tencentcloud/iecp/v20210914/errorcodes.py +0 -75
- tencentcloud/iecp/v20210914/iecp_client.py +0 -1912
- tencentcloud/iecp/v20210914/models.py +0 -17466
- tencentcloud/iir/__init__.py +0 -0
- tencentcloud/iir/v20200417/__init__.py +0 -0
- tencentcloud/iir/v20200417/errorcodes.py +0 -48
- tencentcloud/iir/v20200417/iir_client.py +0 -53
- tencentcloud/iir/v20200417/models.py +0 -451
- tencentcloud/iottid/__init__.py +0 -0
- tencentcloud/iottid/v20190411/__init__.py +0 -0
- tencentcloud/iottid/v20190411/errorcodes.py +0 -54
- tencentcloud/iottid/v20190411/iottid_client.py +0 -233
- tencentcloud/iottid/v20190411/models.py +0 -1053
- tencentcloud/mgobe/__init__.py +0 -0
- tencentcloud/mgobe/v20190929/__init__.py +0 -0
- tencentcloud/mgobe/v20190929/errorcodes.py +0 -945
- tencentcloud/mgobe/v20190929/mgobe_client.py +0 -49
- tencentcloud/mgobe/v20190929/models.py +0 -97
- tencentcloud/mgobe/v20201014/__init__.py +0 -0
- tencentcloud/mgobe/v20201014/errorcodes.py +0 -948
- tencentcloud/mgobe/v20201014/mgobe_client.py +0 -201
- tencentcloud/mgobe/v20201014/models.py +0 -1361
- tencentcloud/mvj/__init__.py +0 -0
- tencentcloud/mvj/v20190926/__init__.py +0 -0
- tencentcloud/mvj/v20190926/errorcodes.py +0 -30
- tencentcloud/mvj/v20190926/models.py +0 -263
- tencentcloud/mvj/v20190926/mvj_client.py +0 -51
- tencentcloud/pds/__init__.py +0 -0
- tencentcloud/pds/v20210701/__init__.py +0 -0
- tencentcloud/pds/v20210701/errorcodes.py +0 -48
- tencentcloud/pds/v20210701/models.py +0 -346
- tencentcloud/pds/v20210701/pds_client.py +0 -72
- tencentcloud/smpn/__init__.py +0 -0
- tencentcloud/smpn/v20190822/__init__.py +0 -0
- tencentcloud/smpn/v20190822/errorcodes.py +0 -27
- tencentcloud/smpn/v20190822/models.py +0 -389
- tencentcloud/smpn/v20190822/smpn_client.py +0 -76
- tencentcloud/solar/__init__.py +0 -0
- tencentcloud/solar/v20181011/__init__.py +0 -0
- tencentcloud/solar/v20181011/errorcodes.py +0 -42
- tencentcloud/solar/v20181011/models.py +0 -3848
- tencentcloud/solar/v20181011/solar_client.py +0 -417
- tencentcloud/tan/__init__.py +0 -0
- tencentcloud/tan/v20220420/__init__.py +0 -0
- tencentcloud/tan/v20220420/errorcodes.py +0 -81
- tencentcloud/tan/v20220420/models.py +0 -112
- tencentcloud/tan/v20220420/tan_client.py +0 -51
- tencentcloud/tav/__init__.py +0 -0
- tencentcloud/tav/v20190118/__init__.py +0 -0
- tencentcloud/tav/v20190118/errorcodes.py +0 -15
- tencentcloud/tav/v20190118/models.py +0 -550
- tencentcloud/tav/v20190118/tav_client.py +0 -118
- tencentcloud/tbm/__init__.py +0 -0
- tencentcloud/tbm/v20180129/__init__.py +0 -0
- tencentcloud/tbm/v20180129/errorcodes.py +0 -39
- tencentcloud/tbm/v20180129/models.py +0 -2354
- tencentcloud/tbm/v20180129/tbm_client.py +0 -233
- tencentcloud/tcex/__init__.py +0 -0
- tencentcloud/tcex/v20200727/__init__.py +0 -0
- tencentcloud/tcex/v20200727/errorcodes.py +0 -51
- tencentcloud/tcex/v20200727/models.py +0 -374
- tencentcloud/tcex/v20200727/tcex_client.py +0 -76
- tencentcloud/tci/__init__.py +0 -0
- tencentcloud/tci/v20190318/__init__.py +0 -0
- tencentcloud/tci/v20190318/errorcodes.py +0 -237
- tencentcloud/tci/v20190318/models.py +0 -11569
- tencentcloud/tci/v20190318/tci_client.py +0 -1017
- tencentcloud/tic/__init__.py +0 -0
- tencentcloud/tic/v20201117/__init__.py +0 -0
- tencentcloud/tic/v20201117/errorcodes.py +0 -48
- tencentcloud/tic/v20201117/models.py +0 -1952
- tencentcloud/tic/v20201117/tic_client.py +0 -342
- tencentcloud/ticm/__init__.py +0 -0
- tencentcloud/ticm/v20181127/__init__.py +0 -0
- tencentcloud/ticm/v20181127/errorcodes.py +0 -36
- tencentcloud/ticm/v20181127/models.py +0 -3385
- tencentcloud/ticm/v20181127/ticm_client.py +0 -95
- tencentcloud/tics/__init__.py +0 -0
- tencentcloud/tics/v20181115/__init__.py +0 -0
- tencentcloud/tics/v20181115/errorcodes.py +0 -30
- tencentcloud/tics/v20181115/models.py +0 -1324
- tencentcloud/tics/v20181115/tics_client.py +0 -118
- tencentcloud/tiems/__init__.py +0 -0
- tencentcloud/tiems/v20190416/__init__.py +0 -0
- tencentcloud/tiems/v20190416/errorcodes.py +0 -36
- tencentcloud/tiems/v20190416/models.py +0 -6644
- tencentcloud/tiems/v20190416/tiems_client.py +0 -651
- tencentcloud/trdp/__init__.py +0 -0
- tencentcloud/trdp/v20220726/__init__.py +0 -0
- tencentcloud/trdp/v20220726/errorcodes.py +0 -30
- tencentcloud/trdp/v20220726/models.py +0 -1609
- tencentcloud/trdp/v20220726/trdp_client.py +0 -49
- tencentcloud/ump/__init__.py +0 -0
- tencentcloud/ump/v20200918/__init__.py +0 -0
- tencentcloud/ump/v20200918/errorcodes.py +0 -57
- tencentcloud/ump/v20200918/models.py +0 -4089
- tencentcloud/ump/v20200918/ump_client.py +0 -454
- tencentcloud/youmall/__init__.py +0 -0
- tencentcloud/youmall/v20180228/__init__.py +0 -0
- tencentcloud/youmall/v20180228/errorcodes.py +0 -93
- tencentcloud/youmall/v20180228/models.py +0 -8181
- tencentcloud/youmall/v20180228/youmall_client.py +0 -740
- {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1422.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1422.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1422.dist-info}/top_level.txt +0 -0
@@ -1,187 +0,0 @@
|
|
1
|
-
# -*- coding: utf8 -*-
|
2
|
-
# Copyright (c) 2017-2025 Tencent. 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.cis.v20180408 import models
|
21
|
-
|
22
|
-
|
23
|
-
class CisClient(AbstractClient):
|
24
|
-
_apiVersion = '2018-04-08'
|
25
|
-
_endpoint = 'cis.tencentcloudapi.com'
|
26
|
-
_service = 'cis'
|
27
|
-
|
28
|
-
|
29
|
-
def CreateContainerInstance(self, request):
|
30
|
-
"""此接口(CreateContainerInstance)用于创建容器实例
|
31
|
-
|
32
|
-
:param request: Request instance for CreateContainerInstance.
|
33
|
-
:type request: :class:`tencentcloud.cis.v20180408.models.CreateContainerInstanceRequest`
|
34
|
-
:rtype: :class:`tencentcloud.cis.v20180408.models.CreateContainerInstanceResponse`
|
35
|
-
|
36
|
-
"""
|
37
|
-
try:
|
38
|
-
params = request._serialize()
|
39
|
-
headers = request.headers
|
40
|
-
body = self.call("CreateContainerInstance", params, headers=headers)
|
41
|
-
response = json.loads(body)
|
42
|
-
model = models.CreateContainerInstanceResponse()
|
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 DeleteContainerInstance(self, request):
|
53
|
-
"""此接口(DeleteContainerInstance)用于删除容器实例
|
54
|
-
|
55
|
-
:param request: Request instance for DeleteContainerInstance.
|
56
|
-
:type request: :class:`tencentcloud.cis.v20180408.models.DeleteContainerInstanceRequest`
|
57
|
-
:rtype: :class:`tencentcloud.cis.v20180408.models.DeleteContainerInstanceResponse`
|
58
|
-
|
59
|
-
"""
|
60
|
-
try:
|
61
|
-
params = request._serialize()
|
62
|
-
headers = request.headers
|
63
|
-
body = self.call("DeleteContainerInstance", params, headers=headers)
|
64
|
-
response = json.loads(body)
|
65
|
-
model = models.DeleteContainerInstanceResponse()
|
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 DescribeContainerInstance(self, request):
|
76
|
-
"""此接口(DescribeContainerInstance)用于获取容器实例详情
|
77
|
-
|
78
|
-
:param request: Request instance for DescribeContainerInstance.
|
79
|
-
:type request: :class:`tencentcloud.cis.v20180408.models.DescribeContainerInstanceRequest`
|
80
|
-
:rtype: :class:`tencentcloud.cis.v20180408.models.DescribeContainerInstanceResponse`
|
81
|
-
|
82
|
-
"""
|
83
|
-
try:
|
84
|
-
params = request._serialize()
|
85
|
-
headers = request.headers
|
86
|
-
body = self.call("DescribeContainerInstance", params, headers=headers)
|
87
|
-
response = json.loads(body)
|
88
|
-
model = models.DescribeContainerInstanceResponse()
|
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 DescribeContainerInstanceEvents(self, request):
|
99
|
-
"""此接口(DescribeContainerInstanceEvents)用于查询容器实例事件列表
|
100
|
-
|
101
|
-
:param request: Request instance for DescribeContainerInstanceEvents.
|
102
|
-
:type request: :class:`tencentcloud.cis.v20180408.models.DescribeContainerInstanceEventsRequest`
|
103
|
-
:rtype: :class:`tencentcloud.cis.v20180408.models.DescribeContainerInstanceEventsResponse`
|
104
|
-
|
105
|
-
"""
|
106
|
-
try:
|
107
|
-
params = request._serialize()
|
108
|
-
headers = request.headers
|
109
|
-
body = self.call("DescribeContainerInstanceEvents", params, headers=headers)
|
110
|
-
response = json.loads(body)
|
111
|
-
model = models.DescribeContainerInstanceEventsResponse()
|
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))
|
119
|
-
|
120
|
-
|
121
|
-
def DescribeContainerInstances(self, request):
|
122
|
-
"""此接口(DescribeContainerInstances)查询容器实例列表
|
123
|
-
|
124
|
-
:param request: Request instance for DescribeContainerInstances.
|
125
|
-
:type request: :class:`tencentcloud.cis.v20180408.models.DescribeContainerInstancesRequest`
|
126
|
-
:rtype: :class:`tencentcloud.cis.v20180408.models.DescribeContainerInstancesResponse`
|
127
|
-
|
128
|
-
"""
|
129
|
-
try:
|
130
|
-
params = request._serialize()
|
131
|
-
headers = request.headers
|
132
|
-
body = self.call("DescribeContainerInstances", params, headers=headers)
|
133
|
-
response = json.loads(body)
|
134
|
-
model = models.DescribeContainerInstancesResponse()
|
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
|
-
|
144
|
-
def DescribeContainerLog(self, request):
|
145
|
-
"""此接口(DescribeContainerLog)用于获取容器日志信息
|
146
|
-
|
147
|
-
:param request: Request instance for DescribeContainerLog.
|
148
|
-
:type request: :class:`tencentcloud.cis.v20180408.models.DescribeContainerLogRequest`
|
149
|
-
:rtype: :class:`tencentcloud.cis.v20180408.models.DescribeContainerLogResponse`
|
150
|
-
|
151
|
-
"""
|
152
|
-
try:
|
153
|
-
params = request._serialize()
|
154
|
-
headers = request.headers
|
155
|
-
body = self.call("DescribeContainerLog", params, headers=headers)
|
156
|
-
response = json.loads(body)
|
157
|
-
model = models.DescribeContainerLogResponse()
|
158
|
-
model._deserialize(response["Response"])
|
159
|
-
return model
|
160
|
-
except Exception as e:
|
161
|
-
if isinstance(e, TencentCloudSDKException):
|
162
|
-
raise
|
163
|
-
else:
|
164
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
165
|
-
|
166
|
-
|
167
|
-
def InquiryPriceCreateCis(self, request):
|
168
|
-
"""此接口(InquiryPriceCreateCis)用于查询容器实例价格
|
169
|
-
|
170
|
-
:param request: Request instance for InquiryPriceCreateCis.
|
171
|
-
:type request: :class:`tencentcloud.cis.v20180408.models.InquiryPriceCreateCisRequest`
|
172
|
-
:rtype: :class:`tencentcloud.cis.v20180408.models.InquiryPriceCreateCisResponse`
|
173
|
-
|
174
|
-
"""
|
175
|
-
try:
|
176
|
-
params = request._serialize()
|
177
|
-
headers = request.headers
|
178
|
-
body = self.call("InquiryPriceCreateCis", params, headers=headers)
|
179
|
-
response = json.loads(body)
|
180
|
-
model = models.InquiryPriceCreateCisResponse()
|
181
|
-
model._deserialize(response["Response"])
|
182
|
-
return model
|
183
|
-
except Exception as e:
|
184
|
-
if isinstance(e, TencentCloudSDKException):
|
185
|
-
raise
|
186
|
-
else:
|
187
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
@@ -1,21 +0,0 @@
|
|
1
|
-
# -*- coding: utf8 -*-
|
2
|
-
# Copyright (c) 2017-2025 Tencent. 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
|
-
INTERNALERROR = 'InternalError'
|
19
|
-
|
20
|
-
# 参数错误。
|
21
|
-
INVALIDPARAMETER = 'InvalidParameter'
|