tencentcloud-sdk-python 3.0.1419__py2.py3-none-any.whl → 3.0.1421__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/ai3d/v20250513/models.py +2 -2
- tencentcloud/autoscaling/v20180419/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +8 -8
- tencentcloud/cdn/v20180606/models.py +4 -4
- tencentcloud/cdwdoris/v20211228/errorcodes.py +6 -0
- tencentcloud/cdwdoris/v20211228/models.py +244 -4
- tencentcloud/cfg/v20210820/models.py +40 -0
- tencentcloud/cvm/v20170312/models.py +2 -2
- tencentcloud/emr/v20190103/models.py +355 -4
- tencentcloud/ess/v20201111/models.py +8 -2
- tencentcloud/essbasic/v20210526/models.py +2 -2
- 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 +4 -2
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lke/v20231130/models.py +395 -2
- tencentcloud/mrs/v20200910/models.py +15 -0
- tencentcloud/nlp/v20190408/errorcodes.py +0 -21
- tencentcloud/nlp/v20190408/models.py +99 -1004
- tencentcloud/nlp/v20190408/nlp_client.py +0 -138
- tencentcloud/ocr/v20181119/models.py +4 -18
- tencentcloud/ocr/v20181119/ocr_client.py +3 -1
- tencentcloud/omics/v20221128/models.py +60 -0
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ses/v20201002/models.py +171 -0
- tencentcloud/ssl/v20191205/errorcodes.py +6 -0
- tencentcloud/tcb/v20180608/models.py +64 -10
- tencentcloud/tdmq/v20200217/models.py +30 -0
- tencentcloud/teo/v20220901/models.py +664 -2
- tencentcloud/teo/v20220901/teo_client.py +115 -0
- tencentcloud/tione/v20211111/models.py +23 -0
- tencentcloud/tke/v20180525/models.py +46 -46
- tencentcloud/tsf/v20180326/errorcodes.py +6 -0
- tencentcloud/tsf/v20180326/models.py +16 -0
- tencentcloud/vod/v20180717/models.py +8 -4
- tencentcloud/vrs/v20200824/vrs_client.py +1 -1
- {tencentcloud_sdk_python-3.0.1419.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1419.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/RECORD +44 -173
- 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.1419.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1419.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1419.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/top_level.txt +0 -0
@@ -1,454 +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.ump.v20200918 import models
|
21
|
-
|
22
|
-
|
23
|
-
class UmpClient(AbstractClient):
|
24
|
-
_apiVersion = '2020-09-18'
|
25
|
-
_endpoint = 'ump.tencentcloudapi.com'
|
26
|
-
_service = 'ump'
|
27
|
-
|
28
|
-
|
29
|
-
def CreateCameraAlerts(self, request):
|
30
|
-
"""优mall产品启动下线流程
|
31
|
-
|
32
|
-
上报相机移动、遮挡等告警信息
|
33
|
-
|
34
|
-
|
35
|
-
:param request: Request instance for CreateCameraAlerts.
|
36
|
-
:type request: :class:`tencentcloud.ump.v20200918.models.CreateCameraAlertsRequest`
|
37
|
-
:rtype: :class:`tencentcloud.ump.v20200918.models.CreateCameraAlertsResponse`
|
38
|
-
|
39
|
-
"""
|
40
|
-
try:
|
41
|
-
params = request._serialize()
|
42
|
-
headers = request.headers
|
43
|
-
body = self.call("CreateCameraAlerts", params, headers=headers)
|
44
|
-
response = json.loads(body)
|
45
|
-
model = models.CreateCameraAlertsResponse()
|
46
|
-
model._deserialize(response["Response"])
|
47
|
-
return model
|
48
|
-
except Exception as e:
|
49
|
-
if isinstance(e, TencentCloudSDKException):
|
50
|
-
raise
|
51
|
-
else:
|
52
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
53
|
-
|
54
|
-
|
55
|
-
def CreateCameraState(self, request):
|
56
|
-
"""优mall产品启动下线流程
|
57
|
-
|
58
|
-
上报当前场内所有相机的当前状态
|
59
|
-
|
60
|
-
:param request: Request instance for CreateCameraState.
|
61
|
-
:type request: :class:`tencentcloud.ump.v20200918.models.CreateCameraStateRequest`
|
62
|
-
:rtype: :class:`tencentcloud.ump.v20200918.models.CreateCameraStateResponse`
|
63
|
-
|
64
|
-
"""
|
65
|
-
try:
|
66
|
-
params = request._serialize()
|
67
|
-
headers = request.headers
|
68
|
-
body = self.call("CreateCameraState", params, headers=headers)
|
69
|
-
response = json.loads(body)
|
70
|
-
model = models.CreateCameraStateResponse()
|
71
|
-
model._deserialize(response["Response"])
|
72
|
-
return model
|
73
|
-
except Exception as e:
|
74
|
-
if isinstance(e, TencentCloudSDKException):
|
75
|
-
raise
|
76
|
-
else:
|
77
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
78
|
-
|
79
|
-
|
80
|
-
def CreateCapture(self, request):
|
81
|
-
"""优mall产品下线
|
82
|
-
|
83
|
-
场内抓拍上报接口
|
84
|
-
|
85
|
-
:param request: Request instance for CreateCapture.
|
86
|
-
:type request: :class:`tencentcloud.ump.v20200918.models.CreateCaptureRequest`
|
87
|
-
:rtype: :class:`tencentcloud.ump.v20200918.models.CreateCaptureResponse`
|
88
|
-
|
89
|
-
"""
|
90
|
-
try:
|
91
|
-
params = request._serialize()
|
92
|
-
headers = request.headers
|
93
|
-
body = self.call("CreateCapture", params, headers=headers)
|
94
|
-
response = json.loads(body)
|
95
|
-
model = models.CreateCaptureResponse()
|
96
|
-
model._deserialize(response["Response"])
|
97
|
-
return model
|
98
|
-
except Exception as e:
|
99
|
-
if isinstance(e, TencentCloudSDKException):
|
100
|
-
raise
|
101
|
-
else:
|
102
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
103
|
-
|
104
|
-
|
105
|
-
def CreateMultiBizAlert(self, request):
|
106
|
-
"""优mall产品启动下线流程
|
107
|
-
|
108
|
-
集团广场的多经点位告警
|
109
|
-
|
110
|
-
:param request: Request instance for CreateMultiBizAlert.
|
111
|
-
:type request: :class:`tencentcloud.ump.v20200918.models.CreateMultiBizAlertRequest`
|
112
|
-
:rtype: :class:`tencentcloud.ump.v20200918.models.CreateMultiBizAlertResponse`
|
113
|
-
|
114
|
-
"""
|
115
|
-
try:
|
116
|
-
params = request._serialize()
|
117
|
-
headers = request.headers
|
118
|
-
body = self.call("CreateMultiBizAlert", params, headers=headers)
|
119
|
-
response = json.loads(body)
|
120
|
-
model = models.CreateMultiBizAlertResponse()
|
121
|
-
model._deserialize(response["Response"])
|
122
|
-
return model
|
123
|
-
except Exception as e:
|
124
|
-
if isinstance(e, TencentCloudSDKException):
|
125
|
-
raise
|
126
|
-
else:
|
127
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
128
|
-
|
129
|
-
|
130
|
-
def CreateProgramState(self, request):
|
131
|
-
"""优mall产品启动下线流程
|
132
|
-
|
133
|
-
上报所有进程监控信息
|
134
|
-
|
135
|
-
:param request: Request instance for CreateProgramState.
|
136
|
-
:type request: :class:`tencentcloud.ump.v20200918.models.CreateProgramStateRequest`
|
137
|
-
:rtype: :class:`tencentcloud.ump.v20200918.models.CreateProgramStateResponse`
|
138
|
-
|
139
|
-
"""
|
140
|
-
try:
|
141
|
-
params = request._serialize()
|
142
|
-
headers = request.headers
|
143
|
-
body = self.call("CreateProgramState", params, headers=headers)
|
144
|
-
response = json.loads(body)
|
145
|
-
model = models.CreateProgramStateResponse()
|
146
|
-
model._deserialize(response["Response"])
|
147
|
-
return model
|
148
|
-
except Exception as e:
|
149
|
-
if isinstance(e, TencentCloudSDKException):
|
150
|
-
raise
|
151
|
-
else:
|
152
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
153
|
-
|
154
|
-
|
155
|
-
def CreateServerState(self, request):
|
156
|
-
"""优mall产品启动下线流程
|
157
|
-
|
158
|
-
上报所有服务器硬件监控信息
|
159
|
-
|
160
|
-
:param request: Request instance for CreateServerState.
|
161
|
-
:type request: :class:`tencentcloud.ump.v20200918.models.CreateServerStateRequest`
|
162
|
-
:rtype: :class:`tencentcloud.ump.v20200918.models.CreateServerStateResponse`
|
163
|
-
|
164
|
-
"""
|
165
|
-
try:
|
166
|
-
params = request._serialize()
|
167
|
-
headers = request.headers
|
168
|
-
body = self.call("CreateServerState", params, headers=headers)
|
169
|
-
response = json.loads(body)
|
170
|
-
model = models.CreateServerStateResponse()
|
171
|
-
model._deserialize(response["Response"])
|
172
|
-
return model
|
173
|
-
except Exception as e:
|
174
|
-
if isinstance(e, TencentCloudSDKException):
|
175
|
-
raise
|
176
|
-
else:
|
177
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
178
|
-
|
179
|
-
|
180
|
-
def DeleteMultiBizAlert(self, request):
|
181
|
-
"""优mall产品启动下线流程
|
182
|
-
|
183
|
-
集团广场的多经点位消警
|
184
|
-
|
185
|
-
:param request: Request instance for DeleteMultiBizAlert.
|
186
|
-
:type request: :class:`tencentcloud.ump.v20200918.models.DeleteMultiBizAlertRequest`
|
187
|
-
:rtype: :class:`tencentcloud.ump.v20200918.models.DeleteMultiBizAlertResponse`
|
188
|
-
|
189
|
-
"""
|
190
|
-
try:
|
191
|
-
params = request._serialize()
|
192
|
-
headers = request.headers
|
193
|
-
body = self.call("DeleteMultiBizAlert", params, headers=headers)
|
194
|
-
response = json.loads(body)
|
195
|
-
model = models.DeleteMultiBizAlertResponse()
|
196
|
-
model._deserialize(response["Response"])
|
197
|
-
return model
|
198
|
-
except Exception as e:
|
199
|
-
if isinstance(e, TencentCloudSDKException):
|
200
|
-
raise
|
201
|
-
else:
|
202
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
203
|
-
|
204
|
-
|
205
|
-
def DeleteTask(self, request):
|
206
|
-
"""优mall产品启动下线流程
|
207
|
-
|
208
|
-
删除集团广场对应的任务
|
209
|
-
|
210
|
-
:param request: Request instance for DeleteTask.
|
211
|
-
:type request: :class:`tencentcloud.ump.v20200918.models.DeleteTaskRequest`
|
212
|
-
:rtype: :class:`tencentcloud.ump.v20200918.models.DeleteTaskResponse`
|
213
|
-
|
214
|
-
"""
|
215
|
-
try:
|
216
|
-
params = request._serialize()
|
217
|
-
headers = request.headers
|
218
|
-
body = self.call("DeleteTask", params, headers=headers)
|
219
|
-
response = json.loads(body)
|
220
|
-
model = models.DeleteTaskResponse()
|
221
|
-
model._deserialize(response["Response"])
|
222
|
-
return model
|
223
|
-
except Exception as e:
|
224
|
-
if isinstance(e, TencentCloudSDKException):
|
225
|
-
raise
|
226
|
-
else:
|
227
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
228
|
-
|
229
|
-
|
230
|
-
def DescribeCameras(self, request):
|
231
|
-
"""优mall产品启动下线流程
|
232
|
-
|
233
|
-
获取集团广场对应的摄像头列表
|
234
|
-
|
235
|
-
:param request: Request instance for DescribeCameras.
|
236
|
-
:type request: :class:`tencentcloud.ump.v20200918.models.DescribeCamerasRequest`
|
237
|
-
:rtype: :class:`tencentcloud.ump.v20200918.models.DescribeCamerasResponse`
|
238
|
-
|
239
|
-
"""
|
240
|
-
try:
|
241
|
-
params = request._serialize()
|
242
|
-
headers = request.headers
|
243
|
-
body = self.call("DescribeCameras", params, headers=headers)
|
244
|
-
response = json.loads(body)
|
245
|
-
model = models.DescribeCamerasResponse()
|
246
|
-
model._deserialize(response["Response"])
|
247
|
-
return model
|
248
|
-
except Exception as e:
|
249
|
-
if isinstance(e, TencentCloudSDKException):
|
250
|
-
raise
|
251
|
-
else:
|
252
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
253
|
-
|
254
|
-
|
255
|
-
def DescribeConfig(self, request):
|
256
|
-
"""优mall产品启动下线流程
|
257
|
-
|
258
|
-
获取摄像头配置信息
|
259
|
-
mac不为空返回指定相机配置
|
260
|
-
mac为空返回对应GroupCode和MallId全量配置
|
261
|
-
|
262
|
-
:param request: Request instance for DescribeConfig.
|
263
|
-
:type request: :class:`tencentcloud.ump.v20200918.models.DescribeConfigRequest`
|
264
|
-
:rtype: :class:`tencentcloud.ump.v20200918.models.DescribeConfigResponse`
|
265
|
-
|
266
|
-
"""
|
267
|
-
try:
|
268
|
-
params = request._serialize()
|
269
|
-
headers = request.headers
|
270
|
-
body = self.call("DescribeConfig", params, headers=headers)
|
271
|
-
response = json.loads(body)
|
272
|
-
model = models.DescribeConfigResponse()
|
273
|
-
model._deserialize(response["Response"])
|
274
|
-
return model
|
275
|
-
except Exception as e:
|
276
|
-
if isinstance(e, TencentCloudSDKException):
|
277
|
-
raise
|
278
|
-
else:
|
279
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
280
|
-
|
281
|
-
|
282
|
-
def DescribeImage(self, request):
|
283
|
-
"""优mall产品启动下线流程
|
284
|
-
|
285
|
-
实时获取底图接口
|
286
|
-
|
287
|
-
:param request: Request instance for DescribeImage.
|
288
|
-
:type request: :class:`tencentcloud.ump.v20200918.models.DescribeImageRequest`
|
289
|
-
:rtype: :class:`tencentcloud.ump.v20200918.models.DescribeImageResponse`
|
290
|
-
|
291
|
-
"""
|
292
|
-
try:
|
293
|
-
params = request._serialize()
|
294
|
-
headers = request.headers
|
295
|
-
body = self.call("DescribeImage", params, headers=headers)
|
296
|
-
response = json.loads(body)
|
297
|
-
model = models.DescribeImageResponse()
|
298
|
-
model._deserialize(response["Response"])
|
299
|
-
return model
|
300
|
-
except Exception as e:
|
301
|
-
if isinstance(e, TencentCloudSDKException):
|
302
|
-
raise
|
303
|
-
else:
|
304
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
305
|
-
|
306
|
-
|
307
|
-
def DescribeMultiBizBaseImage(self, request):
|
308
|
-
"""优mall产品启动下线流程
|
309
|
-
|
310
|
-
获取多经点位底图
|
311
|
-
|
312
|
-
:param request: Request instance for DescribeMultiBizBaseImage.
|
313
|
-
:type request: :class:`tencentcloud.ump.v20200918.models.DescribeMultiBizBaseImageRequest`
|
314
|
-
:rtype: :class:`tencentcloud.ump.v20200918.models.DescribeMultiBizBaseImageResponse`
|
315
|
-
|
316
|
-
"""
|
317
|
-
try:
|
318
|
-
params = request._serialize()
|
319
|
-
headers = request.headers
|
320
|
-
body = self.call("DescribeMultiBizBaseImage", params, headers=headers)
|
321
|
-
response = json.loads(body)
|
322
|
-
model = models.DescribeMultiBizBaseImageResponse()
|
323
|
-
model._deserialize(response["Response"])
|
324
|
-
return model
|
325
|
-
except Exception as e:
|
326
|
-
if isinstance(e, TencentCloudSDKException):
|
327
|
-
raise
|
328
|
-
else:
|
329
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
330
|
-
|
331
|
-
|
332
|
-
def DescribeTasks(self, request):
|
333
|
-
"""优mall产品启动下线流程
|
334
|
-
|
335
|
-
查询集团广场对应的任务列表
|
336
|
-
|
337
|
-
:param request: Request instance for DescribeTasks.
|
338
|
-
:type request: :class:`tencentcloud.ump.v20200918.models.DescribeTasksRequest`
|
339
|
-
:rtype: :class:`tencentcloud.ump.v20200918.models.DescribeTasksResponse`
|
340
|
-
|
341
|
-
"""
|
342
|
-
try:
|
343
|
-
params = request._serialize()
|
344
|
-
headers = request.headers
|
345
|
-
body = self.call("DescribeTasks", params, headers=headers)
|
346
|
-
response = json.loads(body)
|
347
|
-
model = models.DescribeTasksResponse()
|
348
|
-
model._deserialize(response["Response"])
|
349
|
-
return model
|
350
|
-
except Exception as e:
|
351
|
-
if isinstance(e, TencentCloudSDKException):
|
352
|
-
raise
|
353
|
-
else:
|
354
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
355
|
-
|
356
|
-
|
357
|
-
def DescribeZones(self, request):
|
358
|
-
"""优mall产品启动下线流程
|
359
|
-
|
360
|
-
获取集团广场的点位列表
|
361
|
-
|
362
|
-
:param request: Request instance for DescribeZones.
|
363
|
-
:type request: :class:`tencentcloud.ump.v20200918.models.DescribeZonesRequest`
|
364
|
-
:rtype: :class:`tencentcloud.ump.v20200918.models.DescribeZonesResponse`
|
365
|
-
|
366
|
-
"""
|
367
|
-
try:
|
368
|
-
params = request._serialize()
|
369
|
-
headers = request.headers
|
370
|
-
body = self.call("DescribeZones", params, headers=headers)
|
371
|
-
response = json.loads(body)
|
372
|
-
model = models.DescribeZonesResponse()
|
373
|
-
model._deserialize(response["Response"])
|
374
|
-
return model
|
375
|
-
except Exception as e:
|
376
|
-
if isinstance(e, TencentCloudSDKException):
|
377
|
-
raise
|
378
|
-
else:
|
379
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
380
|
-
|
381
|
-
|
382
|
-
def ModifyMultiBizConfig(self, request):
|
383
|
-
"""优mall产品启动下线流程
|
384
|
-
|
385
|
-
集团广场的多经点位配置更新
|
386
|
-
|
387
|
-
:param request: Request instance for ModifyMultiBizConfig.
|
388
|
-
:type request: :class:`tencentcloud.ump.v20200918.models.ModifyMultiBizConfigRequest`
|
389
|
-
:rtype: :class:`tencentcloud.ump.v20200918.models.ModifyMultiBizConfigResponse`
|
390
|
-
|
391
|
-
"""
|
392
|
-
try:
|
393
|
-
params = request._serialize()
|
394
|
-
headers = request.headers
|
395
|
-
body = self.call("ModifyMultiBizConfig", params, headers=headers)
|
396
|
-
response = json.loads(body)
|
397
|
-
model = models.ModifyMultiBizConfigResponse()
|
398
|
-
model._deserialize(response["Response"])
|
399
|
-
return model
|
400
|
-
except Exception as e:
|
401
|
-
if isinstance(e, TencentCloudSDKException):
|
402
|
-
raise
|
403
|
-
else:
|
404
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
405
|
-
|
406
|
-
|
407
|
-
def ReportServiceRegister(self, request):
|
408
|
-
"""优mall产品启动下线流程
|
409
|
-
|
410
|
-
上报服务注册自身的服务地址作为回调地址, 用于信息回传。
|
411
|
-
|
412
|
-
:param request: Request instance for ReportServiceRegister.
|
413
|
-
:type request: :class:`tencentcloud.ump.v20200918.models.ReportServiceRegisterRequest`
|
414
|
-
:rtype: :class:`tencentcloud.ump.v20200918.models.ReportServiceRegisterResponse`
|
415
|
-
|
416
|
-
"""
|
417
|
-
try:
|
418
|
-
params = request._serialize()
|
419
|
-
headers = request.headers
|
420
|
-
body = self.call("ReportServiceRegister", params, headers=headers)
|
421
|
-
response = json.loads(body)
|
422
|
-
model = models.ReportServiceRegisterResponse()
|
423
|
-
model._deserialize(response["Response"])
|
424
|
-
return model
|
425
|
-
except Exception as e:
|
426
|
-
if isinstance(e, TencentCloudSDKException):
|
427
|
-
raise
|
428
|
-
else:
|
429
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
430
|
-
|
431
|
-
|
432
|
-
def SearchImage(self, request):
|
433
|
-
"""优mall产品启动下线流程
|
434
|
-
|
435
|
-
以图搜图
|
436
|
-
|
437
|
-
:param request: Request instance for SearchImage.
|
438
|
-
:type request: :class:`tencentcloud.ump.v20200918.models.SearchImageRequest`
|
439
|
-
:rtype: :class:`tencentcloud.ump.v20200918.models.SearchImageResponse`
|
440
|
-
|
441
|
-
"""
|
442
|
-
try:
|
443
|
-
params = request._serialize()
|
444
|
-
headers = request.headers
|
445
|
-
body = self.call("SearchImage", params, headers=headers)
|
446
|
-
response = json.loads(body)
|
447
|
-
model = models.SearchImageResponse()
|
448
|
-
model._deserialize(response["Response"])
|
449
|
-
return model
|
450
|
-
except Exception as e:
|
451
|
-
if isinstance(e, TencentCloudSDKException):
|
452
|
-
raise
|
453
|
-
else:
|
454
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
tencentcloud/youmall/__init__.py
DELETED
File without changes
|
File without changes
|
@@ -1,93 +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
|
-
FAILEDOPERATION_ACCOUNTEXIST = 'FailedOperation.AccountExist'
|
19
|
-
|
20
|
-
# 人脸质量不达标。
|
21
|
-
FAILEDOPERATION_BADFACEQUALITY = 'FailedOperation.BadFaceQuality'
|
22
|
-
|
23
|
-
# 图片特征提取失败。
|
24
|
-
FAILEDOPERATION_EXTRACTFEATUREERROR = 'FailedOperation.ExtractFeatureError'
|
25
|
-
|
26
|
-
# 未检测到人脸。
|
27
|
-
FAILEDOPERATION_FACENOTFOUND = 'FailedOperation.FaceNotFound'
|
28
|
-
|
29
|
-
# 人脸大小过小。
|
30
|
-
FAILEDOPERATION_FACESIZEERROR = 'FailedOperation.FaceSizeError'
|
31
|
-
|
32
|
-
# 人脸已存在。
|
33
|
-
FAILEDOPERATION_HASEXISTPERSON = 'FailedOperation.HasExistPerson'
|
34
|
-
|
35
|
-
# 内部错误。
|
36
|
-
FAILEDOPERATION_INNERERROR = 'FailedOperation.InnerError'
|
37
|
-
|
38
|
-
# 检测到多个人脸。
|
39
|
-
FAILEDOPERATION_MULTIFACEDETECTED = 'FailedOperation.MultiFaceDetected'
|
40
|
-
|
41
|
-
# 需要预授权。
|
42
|
-
FAILEDOPERATION_NEEDGRANTROLEFIRST = 'FailedOperation.NeedGrantRoleFirst'
|
43
|
-
|
44
|
-
# 无数据。
|
45
|
-
FAILEDOPERATION_NODATA = 'FailedOperation.NoData'
|
46
|
-
|
47
|
-
# 未检索到顾客。
|
48
|
-
FAILEDOPERATION_NOPERSON = 'FailedOperation.NoPerson'
|
49
|
-
|
50
|
-
# 商户无权限。
|
51
|
-
FAILEDOPERATION_NORIGHT = 'FailedOperation.NoRight'
|
52
|
-
|
53
|
-
# 客户门店编码未匹配。
|
54
|
-
FAILEDOPERATION_NOTMATCHSHOPCODE = 'FailedOperation.NotMatchShopCode'
|
55
|
-
|
56
|
-
# 图片检索失败。
|
57
|
-
FAILEDOPERATION_OTHERS = 'FailedOperation.Others'
|
58
|
-
|
59
|
-
# 请求处理参数错误。
|
60
|
-
FAILEDOPERATION_PARAMETERERROR = 'FailedOperation.ParameterError'
|
61
|
-
|
62
|
-
# 处理失败。
|
63
|
-
FAILEDOPERATION_PROCESSFAIL = 'FailedOperation.ProcessFail'
|
64
|
-
|
65
|
-
# 内部错误
|
66
|
-
INTERNALERROR = 'InternalError'
|
67
|
-
|
68
|
-
# 输入数据错误。
|
69
|
-
INTERNALERROR_DATAERROR = 'InternalError.DataError'
|
70
|
-
|
71
|
-
# 数据已存在。
|
72
|
-
INTERNALERROR_DATAHASEXISTS = 'InternalError.DataHasExists'
|
73
|
-
|
74
|
-
# 内部系统处理失败。
|
75
|
-
INTERNALERROR_INNERSERVERFAILED = 'InternalError.InnerServerFailed'
|
76
|
-
|
77
|
-
# 元数据处理失败。
|
78
|
-
INTERNALERROR_METADATAOPFAILED = 'InternalError.MetaDataOpFailed'
|
79
|
-
|
80
|
-
# 用户不存在。
|
81
|
-
INTERNALERROR_USERNOTEXIST = 'InternalError.UserNotExist'
|
82
|
-
|
83
|
-
# 参数错误
|
84
|
-
INVALIDPARAMETER = 'InvalidParameter'
|
85
|
-
|
86
|
-
# 参数取值错误
|
87
|
-
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
88
|
-
|
89
|
-
# 请求JSON解析错误。
|
90
|
-
INVALIDPARAMETERVALUE_JSONPARSEERR = 'InvalidParameterValue.JsonParseErr'
|
91
|
-
|
92
|
-
# 未授权操作
|
93
|
-
UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|