tencentcloud-sdk-python 3.0.1385__py2.py3-none-any.whl → 3.0.1386__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 +4 -8
- tencentcloud/batch/v20170312/models.py +4 -4
- tencentcloud/billing/v20180709/models.py +4 -2
- tencentcloud/cbs/v20170312/errorcodes.py +3 -0
- tencentcloud/cdwdoris/v20211228/models.py +45 -0
- tencentcloud/cls/v20201016/models.py +38 -14
- tencentcloud/cvm/v20170312/cvm_client.py +1 -0
- tencentcloud/cvm/v20170312/models.py +26 -24
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/models.py +197 -0
- tencentcloud/domain/v20180808/domain_client.py +1 -1
- tencentcloud/domain/v20180808/models.py +2 -0
- tencentcloud/dsgc/v20190723/dsgc_client.py +0 -375
- tencentcloud/dsgc/v20190723/models.py +0 -510
- tencentcloud/es/v20180416/models.py +15 -0
- tencentcloud/ess/v20201111/ess_client.py +2 -0
- tencentcloud/ess/v20201111/models.py +6 -6
- tencentcloud/essbasic/v20210526/essbasic_client.py +2 -0
- tencentcloud/live/v20180801/models.py +15 -0
- tencentcloud/lke/v20231130/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +4 -4
- tencentcloud/mps/v20190612/models.py +29 -8
- tencentcloud/mps/v20190612/mps_client.py +1 -0
- tencentcloud/postgres/v20170312/postgres_client.py +3 -3
- tencentcloud/scf/v20180416/errorcodes.py +24 -0
- tencentcloud/ses/v20201002/models.py +15 -0
- tencentcloud/tcb/v20180608/models.py +2 -2
- tencentcloud/tione/v20211111/models.py +599 -0
- tencentcloud/tione/v20211111/tione_client.py +23 -0
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20220501/models.py +17 -0
- tencentcloud/tts/v20190823/models.py +4 -4
- tencentcloud/tts/v20190823/tts_client.py +0 -1
- tencentcloud/vpc/v20170312/errorcodes.py +18 -0
- tencentcloud/vpc/v20170312/models.py +4 -2
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- {tencentcloud_sdk_python-3.0.1385.dist-info → tencentcloud_sdk_python-3.0.1386.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1385.dist-info → tencentcloud_sdk_python-3.0.1386.dist-info}/RECORD +42 -47
- tencentcloud/apcas/__init__.py +0 -0
- tencentcloud/apcas/v20201127/__init__.py +0 -0
- tencentcloud/apcas/v20201127/apcas_client.py +0 -187
- tencentcloud/apcas/v20201127/errorcodes.py +0 -48
- tencentcloud/apcas/v20201127/models.py +0 -1514
- {tencentcloud_sdk_python-3.0.1385.dist-info → tencentcloud_sdk_python-3.0.1386.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1385.dist-info → tencentcloud_sdk_python-3.0.1386.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1385.dist-info → tencentcloud_sdk_python-3.0.1386.dist-info}/top_level.txt +0 -0
@@ -1,187 +0,0 @@
|
|
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.apcas.v20201127 import models
|
21
|
-
|
22
|
-
|
23
|
-
class ApcasClient(AbstractClient):
|
24
|
-
_apiVersion = '2020-11-27'
|
25
|
-
_endpoint = 'apcas.tencentcloudapi.com'
|
26
|
-
_service = 'apcas'
|
27
|
-
|
28
|
-
|
29
|
-
def GetTaskDetail(self, request):
|
30
|
-
"""查询画像洞察任务详情
|
31
|
-
|
32
|
-
:param request: Request instance for GetTaskDetail.
|
33
|
-
:type request: :class:`tencentcloud.apcas.v20201127.models.GetTaskDetailRequest`
|
34
|
-
:rtype: :class:`tencentcloud.apcas.v20201127.models.GetTaskDetailResponse`
|
35
|
-
|
36
|
-
"""
|
37
|
-
try:
|
38
|
-
params = request._serialize()
|
39
|
-
headers = request.headers
|
40
|
-
body = self.call("GetTaskDetail", params, headers=headers)
|
41
|
-
response = json.loads(body)
|
42
|
-
model = models.GetTaskDetailResponse()
|
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 GetTaskList(self, request):
|
53
|
-
"""查询当前账号AppID下的画像洞察任务列表
|
54
|
-
|
55
|
-
:param request: Request instance for GetTaskList.
|
56
|
-
:type request: :class:`tencentcloud.apcas.v20201127.models.GetTaskListRequest`
|
57
|
-
:rtype: :class:`tencentcloud.apcas.v20201127.models.GetTaskListResponse`
|
58
|
-
|
59
|
-
"""
|
60
|
-
try:
|
61
|
-
params = request._serialize()
|
62
|
-
headers = request.headers
|
63
|
-
body = self.call("GetTaskList", params, headers=headers)
|
64
|
-
response = json.loads(body)
|
65
|
-
model = models.GetTaskListResponse()
|
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 PredictRating(self, request):
|
76
|
-
"""根据传入的设备号(IMEI、IDFA、手机号、手机号MD5),返回意向评级结果
|
77
|
-
|
78
|
-
:param request: Request instance for PredictRating.
|
79
|
-
:type request: :class:`tencentcloud.apcas.v20201127.models.PredictRatingRequest`
|
80
|
-
:rtype: :class:`tencentcloud.apcas.v20201127.models.PredictRatingResponse`
|
81
|
-
|
82
|
-
"""
|
83
|
-
try:
|
84
|
-
params = request._serialize()
|
85
|
-
headers = request.headers
|
86
|
-
body = self.call("PredictRating", params, headers=headers)
|
87
|
-
response = json.loads(body)
|
88
|
-
model = models.PredictRatingResponse()
|
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 QueryCallDetails(self, request):
|
99
|
-
"""查询调用明细
|
100
|
-
|
101
|
-
:param request: Request instance for QueryCallDetails.
|
102
|
-
:type request: :class:`tencentcloud.apcas.v20201127.models.QueryCallDetailsRequest`
|
103
|
-
:rtype: :class:`tencentcloud.apcas.v20201127.models.QueryCallDetailsResponse`
|
104
|
-
|
105
|
-
"""
|
106
|
-
try:
|
107
|
-
params = request._serialize()
|
108
|
-
headers = request.headers
|
109
|
-
body = self.call("QueryCallDetails", params, headers=headers)
|
110
|
-
response = json.loads(body)
|
111
|
-
model = models.QueryCallDetailsResponse()
|
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 QueryCallStat(self, request):
|
122
|
-
"""按时间维度获取调用量统计
|
123
|
-
|
124
|
-
:param request: Request instance for QueryCallStat.
|
125
|
-
:type request: :class:`tencentcloud.apcas.v20201127.models.QueryCallStatRequest`
|
126
|
-
:rtype: :class:`tencentcloud.apcas.v20201127.models.QueryCallStatResponse`
|
127
|
-
|
128
|
-
"""
|
129
|
-
try:
|
130
|
-
params = request._serialize()
|
131
|
-
headers = request.headers
|
132
|
-
body = self.call("QueryCallStat", params, headers=headers)
|
133
|
-
response = json.loads(body)
|
134
|
-
model = models.QueryCallStatResponse()
|
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 QueryGeneralStat(self, request):
|
145
|
-
"""获取日/月/周/总调用量统计数据
|
146
|
-
|
147
|
-
:param request: Request instance for QueryGeneralStat.
|
148
|
-
:type request: :class:`tencentcloud.apcas.v20201127.models.QueryGeneralStatRequest`
|
149
|
-
:rtype: :class:`tencentcloud.apcas.v20201127.models.QueryGeneralStatResponse`
|
150
|
-
|
151
|
-
"""
|
152
|
-
try:
|
153
|
-
params = request._serialize()
|
154
|
-
headers = request.headers
|
155
|
-
body = self.call("QueryGeneralStat", params, headers=headers)
|
156
|
-
response = json.loads(body)
|
157
|
-
model = models.QueryGeneralStatResponse()
|
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 UploadId(self, request):
|
168
|
-
"""上传群体画像的ID列表(支持的ID类型:0:imei 7:IDFA 8:MD5(imei)),后台返回生成的画像分析任务ID
|
169
|
-
|
170
|
-
:param request: Request instance for UploadId.
|
171
|
-
:type request: :class:`tencentcloud.apcas.v20201127.models.UploadIdRequest`
|
172
|
-
:rtype: :class:`tencentcloud.apcas.v20201127.models.UploadIdResponse`
|
173
|
-
|
174
|
-
"""
|
175
|
-
try:
|
176
|
-
params = request._serialize()
|
177
|
-
headers = request.headers
|
178
|
-
body = self.call("UploadId", params, headers=headers)
|
179
|
-
response = json.loads(body)
|
180
|
-
model = models.UploadIdResponse()
|
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,48 +0,0 @@
|
|
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
|
-
# CAM签名/鉴权错误。
|
18
|
-
AUTHFAILURE = 'AuthFailure'
|
19
|
-
|
20
|
-
# DryRun 操作,代表请求将会是成功的,只是多传了 DryRun 参数。
|
21
|
-
DRYRUNOPERATION = 'DryRunOperation'
|
22
|
-
|
23
|
-
# 操作失败。
|
24
|
-
FAILEDOPERATION = 'FailedOperation'
|
25
|
-
|
26
|
-
# 内部错误。
|
27
|
-
INTERNALERROR = 'InternalError'
|
28
|
-
|
29
|
-
# 调用内部服务发生错误。
|
30
|
-
INTERNALERROR_INTERNALINVOKEFAILURE = 'InternalError.InternalInvokeFailure'
|
31
|
-
|
32
|
-
# 参数错误。
|
33
|
-
INVALIDPARAMETER = 'InvalidParameter'
|
34
|
-
|
35
|
-
# 参数取值错误。
|
36
|
-
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
37
|
-
|
38
|
-
# 超过配额限制。
|
39
|
-
LIMITEXCEEDED = 'LimitExceeded'
|
40
|
-
|
41
|
-
# 缺少参数错误。
|
42
|
-
MISSINGPARAMETER = 'MissingParameter'
|
43
|
-
|
44
|
-
# 未知参数错误。
|
45
|
-
UNKNOWNPARAMETER = 'UnknownParameter'
|
46
|
-
|
47
|
-
# 操作不支持。
|
48
|
-
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|