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.
Files changed (166) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/autoscaling/v20180419/models.py +15 -0
  3. tencentcloud/batch/v20170312/models.py +4 -4
  4. tencentcloud/cdb/v20170320/cdb_client.py +1 -1
  5. tencentcloud/cdb/v20170320/models.py +8 -8
  6. tencentcloud/cdn/v20180606/models.py +4 -4
  7. tencentcloud/cdwch/v20200915/models.py +17 -2
  8. tencentcloud/cdwdoris/v20211228/errorcodes.py +6 -0
  9. tencentcloud/cdwdoris/v20211228/models.py +244 -4
  10. tencentcloud/cfg/v20210820/models.py +40 -0
  11. tencentcloud/ckafka/v20190819/ckafka_client.py +0 -23
  12. tencentcloud/ckafka/v20190819/models.py +0 -371
  13. tencentcloud/ctem/v20231128/models.py +30 -0
  14. tencentcloud/cvm/v20170312/models.py +4 -4
  15. tencentcloud/dts/v20211206/models.py +32 -2
  16. tencentcloud/emr/v20190103/models.py +74 -24
  17. tencentcloud/faceid/v20180301/models.py +22 -16
  18. tencentcloud/gs/v20191118/models.py +71 -0
  19. tencentcloud/igtm/v20231024/igtm_client.py +69 -0
  20. tencentcloud/igtm/v20231024/models.py +1202 -198
  21. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +3 -1
  22. tencentcloud/live/v20180801/live_client.py +69 -0
  23. tencentcloud/live/v20180801/models.py +102 -0
  24. tencentcloud/ocr/v20181119/models.py +4 -18
  25. tencentcloud/ocr/v20181119/ocr_client.py +3 -1
  26. tencentcloud/omics/v20221128/models.py +62 -2
  27. tencentcloud/ses/v20201002/models.py +171 -0
  28. tencentcloud/tcb/v20180608/models.py +64 -10
  29. tencentcloud/tdmq/v20200217/models.py +15 -0
  30. tencentcloud/teo/v20220901/models.py +664 -2
  31. tencentcloud/teo/v20220901/teo_client.py +115 -0
  32. tencentcloud/vrs/v20200824/vrs_client.py +1 -1
  33. {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1422.dist-info}/METADATA +1 -1
  34. {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1422.dist-info}/RECORD +37 -166
  35. tencentcloud/cis/__init__.py +0 -0
  36. tencentcloud/cis/v20180408/__init__.py +0 -0
  37. tencentcloud/cis/v20180408/cis_client.py +0 -187
  38. tencentcloud/cis/v20180408/errorcodes.py +0 -21
  39. tencentcloud/cis/v20180408/models.py +0 -1688
  40. tencentcloud/dataintegration/__init__.py +0 -0
  41. tencentcloud/dataintegration/v20220613/__init__.py +0 -0
  42. tencentcloud/dataintegration/v20220613/dataintegration_client.py +0 -49
  43. tencentcloud/dataintegration/v20220613/errorcodes.py +0 -15
  44. tencentcloud/dataintegration/v20220613/models.py +0 -168
  45. tencentcloud/dtf/__init__.py +0 -0
  46. tencentcloud/dtf/v20200506/__init__.py +0 -0
  47. tencentcloud/dtf/v20200506/dtf_client.py +0 -49
  48. tencentcloud/dtf/v20200506/errorcodes.py +0 -21
  49. tencentcloud/dtf/v20200506/models.py +0 -538
  50. tencentcloud/gpm/__init__.py +0 -0
  51. tencentcloud/gpm/v20200820/__init__.py +0 -0
  52. tencentcloud/gpm/v20200820/errorcodes.py +0 -168
  53. tencentcloud/gpm/v20200820/gpm_client.py +0 -476
  54. tencentcloud/gpm/v20200820/models.py +0 -4255
  55. tencentcloud/gse/__init__.py +0 -0
  56. tencentcloud/gse/v20191112/__init__.py +0 -0
  57. tencentcloud/gse/v20191112/errorcodes.py +0 -90
  58. tencentcloud/gse/v20191112/gse_client.py +0 -1993
  59. tencentcloud/gse/v20191112/models.py +0 -15093
  60. tencentcloud/iecp/__init__.py +0 -0
  61. tencentcloud/iecp/v20210914/__init__.py +0 -0
  62. tencentcloud/iecp/v20210914/errorcodes.py +0 -75
  63. tencentcloud/iecp/v20210914/iecp_client.py +0 -1912
  64. tencentcloud/iecp/v20210914/models.py +0 -17466
  65. tencentcloud/iir/__init__.py +0 -0
  66. tencentcloud/iir/v20200417/__init__.py +0 -0
  67. tencentcloud/iir/v20200417/errorcodes.py +0 -48
  68. tencentcloud/iir/v20200417/iir_client.py +0 -53
  69. tencentcloud/iir/v20200417/models.py +0 -451
  70. tencentcloud/iottid/__init__.py +0 -0
  71. tencentcloud/iottid/v20190411/__init__.py +0 -0
  72. tencentcloud/iottid/v20190411/errorcodes.py +0 -54
  73. tencentcloud/iottid/v20190411/iottid_client.py +0 -233
  74. tencentcloud/iottid/v20190411/models.py +0 -1053
  75. tencentcloud/mgobe/__init__.py +0 -0
  76. tencentcloud/mgobe/v20190929/__init__.py +0 -0
  77. tencentcloud/mgobe/v20190929/errorcodes.py +0 -945
  78. tencentcloud/mgobe/v20190929/mgobe_client.py +0 -49
  79. tencentcloud/mgobe/v20190929/models.py +0 -97
  80. tencentcloud/mgobe/v20201014/__init__.py +0 -0
  81. tencentcloud/mgobe/v20201014/errorcodes.py +0 -948
  82. tencentcloud/mgobe/v20201014/mgobe_client.py +0 -201
  83. tencentcloud/mgobe/v20201014/models.py +0 -1361
  84. tencentcloud/mvj/__init__.py +0 -0
  85. tencentcloud/mvj/v20190926/__init__.py +0 -0
  86. tencentcloud/mvj/v20190926/errorcodes.py +0 -30
  87. tencentcloud/mvj/v20190926/models.py +0 -263
  88. tencentcloud/mvj/v20190926/mvj_client.py +0 -51
  89. tencentcloud/pds/__init__.py +0 -0
  90. tencentcloud/pds/v20210701/__init__.py +0 -0
  91. tencentcloud/pds/v20210701/errorcodes.py +0 -48
  92. tencentcloud/pds/v20210701/models.py +0 -346
  93. tencentcloud/pds/v20210701/pds_client.py +0 -72
  94. tencentcloud/smpn/__init__.py +0 -0
  95. tencentcloud/smpn/v20190822/__init__.py +0 -0
  96. tencentcloud/smpn/v20190822/errorcodes.py +0 -27
  97. tencentcloud/smpn/v20190822/models.py +0 -389
  98. tencentcloud/smpn/v20190822/smpn_client.py +0 -76
  99. tencentcloud/solar/__init__.py +0 -0
  100. tencentcloud/solar/v20181011/__init__.py +0 -0
  101. tencentcloud/solar/v20181011/errorcodes.py +0 -42
  102. tencentcloud/solar/v20181011/models.py +0 -3848
  103. tencentcloud/solar/v20181011/solar_client.py +0 -417
  104. tencentcloud/tan/__init__.py +0 -0
  105. tencentcloud/tan/v20220420/__init__.py +0 -0
  106. tencentcloud/tan/v20220420/errorcodes.py +0 -81
  107. tencentcloud/tan/v20220420/models.py +0 -112
  108. tencentcloud/tan/v20220420/tan_client.py +0 -51
  109. tencentcloud/tav/__init__.py +0 -0
  110. tencentcloud/tav/v20190118/__init__.py +0 -0
  111. tencentcloud/tav/v20190118/errorcodes.py +0 -15
  112. tencentcloud/tav/v20190118/models.py +0 -550
  113. tencentcloud/tav/v20190118/tav_client.py +0 -118
  114. tencentcloud/tbm/__init__.py +0 -0
  115. tencentcloud/tbm/v20180129/__init__.py +0 -0
  116. tencentcloud/tbm/v20180129/errorcodes.py +0 -39
  117. tencentcloud/tbm/v20180129/models.py +0 -2354
  118. tencentcloud/tbm/v20180129/tbm_client.py +0 -233
  119. tencentcloud/tcex/__init__.py +0 -0
  120. tencentcloud/tcex/v20200727/__init__.py +0 -0
  121. tencentcloud/tcex/v20200727/errorcodes.py +0 -51
  122. tencentcloud/tcex/v20200727/models.py +0 -374
  123. tencentcloud/tcex/v20200727/tcex_client.py +0 -76
  124. tencentcloud/tci/__init__.py +0 -0
  125. tencentcloud/tci/v20190318/__init__.py +0 -0
  126. tencentcloud/tci/v20190318/errorcodes.py +0 -237
  127. tencentcloud/tci/v20190318/models.py +0 -11569
  128. tencentcloud/tci/v20190318/tci_client.py +0 -1017
  129. tencentcloud/tic/__init__.py +0 -0
  130. tencentcloud/tic/v20201117/__init__.py +0 -0
  131. tencentcloud/tic/v20201117/errorcodes.py +0 -48
  132. tencentcloud/tic/v20201117/models.py +0 -1952
  133. tencentcloud/tic/v20201117/tic_client.py +0 -342
  134. tencentcloud/ticm/__init__.py +0 -0
  135. tencentcloud/ticm/v20181127/__init__.py +0 -0
  136. tencentcloud/ticm/v20181127/errorcodes.py +0 -36
  137. tencentcloud/ticm/v20181127/models.py +0 -3385
  138. tencentcloud/ticm/v20181127/ticm_client.py +0 -95
  139. tencentcloud/tics/__init__.py +0 -0
  140. tencentcloud/tics/v20181115/__init__.py +0 -0
  141. tencentcloud/tics/v20181115/errorcodes.py +0 -30
  142. tencentcloud/tics/v20181115/models.py +0 -1324
  143. tencentcloud/tics/v20181115/tics_client.py +0 -118
  144. tencentcloud/tiems/__init__.py +0 -0
  145. tencentcloud/tiems/v20190416/__init__.py +0 -0
  146. tencentcloud/tiems/v20190416/errorcodes.py +0 -36
  147. tencentcloud/tiems/v20190416/models.py +0 -6644
  148. tencentcloud/tiems/v20190416/tiems_client.py +0 -651
  149. tencentcloud/trdp/__init__.py +0 -0
  150. tencentcloud/trdp/v20220726/__init__.py +0 -0
  151. tencentcloud/trdp/v20220726/errorcodes.py +0 -30
  152. tencentcloud/trdp/v20220726/models.py +0 -1609
  153. tencentcloud/trdp/v20220726/trdp_client.py +0 -49
  154. tencentcloud/ump/__init__.py +0 -0
  155. tencentcloud/ump/v20200918/__init__.py +0 -0
  156. tencentcloud/ump/v20200918/errorcodes.py +0 -57
  157. tencentcloud/ump/v20200918/models.py +0 -4089
  158. tencentcloud/ump/v20200918/ump_client.py +0 -454
  159. tencentcloud/youmall/__init__.py +0 -0
  160. tencentcloud/youmall/v20180228/__init__.py +0 -0
  161. tencentcloud/youmall/v20180228/errorcodes.py +0 -93
  162. tencentcloud/youmall/v20180228/models.py +0 -8181
  163. tencentcloud/youmall/v20180228/youmall_client.py +0 -740
  164. {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1422.dist-info}/LICENSE +0 -0
  165. {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1422.dist-info}/WHEEL +0 -0
  166. {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1422.dist-info}/top_level.txt +0 -0
@@ -1,346 +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 warnings
17
-
18
- from tencentcloud.common.abstract_model import AbstractModel
19
-
20
-
21
- class DescribeNewUserAcquisitionRequest(AbstractModel):
22
- """DescribeNewUserAcquisition请求参数结构体
23
-
24
- """
25
-
26
- def __init__(self):
27
- r"""
28
- :param _ServiceParams: 用户信息
29
- :type ServiceParams: :class:`tencentcloud.pds.v20210701.models.UserInfos`
30
- """
31
- self._ServiceParams = None
32
-
33
- @property
34
- def ServiceParams(self):
35
- """用户信息
36
- :rtype: :class:`tencentcloud.pds.v20210701.models.UserInfos`
37
- """
38
- return self._ServiceParams
39
-
40
- @ServiceParams.setter
41
- def ServiceParams(self, ServiceParams):
42
- self._ServiceParams = ServiceParams
43
-
44
-
45
- def _deserialize(self, params):
46
- if params.get("ServiceParams") is not None:
47
- self._ServiceParams = UserInfos()
48
- self._ServiceParams._deserialize(params.get("ServiceParams"))
49
- memeber_set = set(params.keys())
50
- for name, value in vars(self).items():
51
- property_name = name[1:]
52
- if property_name in memeber_set:
53
- memeber_set.remove(property_name)
54
- if len(memeber_set) > 0:
55
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
56
-
57
-
58
-
59
- class DescribeNewUserAcquisitionResponse(AbstractModel):
60
- """DescribeNewUserAcquisition返回参数结构体
61
-
62
- """
63
-
64
- def __init__(self):
65
- r"""
66
- :param _ServiceRsp: 用户信誉分,1-5从低到高
67
- :type ServiceRsp: :class:`tencentcloud.pds.v20210701.models.Score`
68
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
69
- :type RequestId: str
70
- """
71
- self._ServiceRsp = None
72
- self._RequestId = None
73
-
74
- @property
75
- def ServiceRsp(self):
76
- """用户信誉分,1-5从低到高
77
- :rtype: :class:`tencentcloud.pds.v20210701.models.Score`
78
- """
79
- return self._ServiceRsp
80
-
81
- @ServiceRsp.setter
82
- def ServiceRsp(self, ServiceRsp):
83
- self._ServiceRsp = ServiceRsp
84
-
85
- @property
86
- def RequestId(self):
87
- """唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
88
- :rtype: str
89
- """
90
- return self._RequestId
91
-
92
- @RequestId.setter
93
- def RequestId(self, RequestId):
94
- self._RequestId = RequestId
95
-
96
-
97
- def _deserialize(self, params):
98
- if params.get("ServiceRsp") is not None:
99
- self._ServiceRsp = Score()
100
- self._ServiceRsp._deserialize(params.get("ServiceRsp"))
101
- self._RequestId = params.get("RequestId")
102
-
103
-
104
- class DescribeStockEstimationRequest(AbstractModel):
105
- """DescribeStockEstimation请求参数结构体
106
-
107
- """
108
-
109
- def __init__(self):
110
- r"""
111
- :param _ServiceParams: 用户信息
112
- :type ServiceParams: :class:`tencentcloud.pds.v20210701.models.UserInfos`
113
- """
114
- self._ServiceParams = None
115
-
116
- @property
117
- def ServiceParams(self):
118
- """用户信息
119
- :rtype: :class:`tencentcloud.pds.v20210701.models.UserInfos`
120
- """
121
- return self._ServiceParams
122
-
123
- @ServiceParams.setter
124
- def ServiceParams(self, ServiceParams):
125
- self._ServiceParams = ServiceParams
126
-
127
-
128
- def _deserialize(self, params):
129
- if params.get("ServiceParams") is not None:
130
- self._ServiceParams = UserInfos()
131
- self._ServiceParams._deserialize(params.get("ServiceParams"))
132
- memeber_set = set(params.keys())
133
- for name, value in vars(self).items():
134
- property_name = name[1:]
135
- if property_name in memeber_set:
136
- memeber_set.remove(property_name)
137
- if len(memeber_set) > 0:
138
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
139
-
140
-
141
-
142
- class DescribeStockEstimationResponse(AbstractModel):
143
- """DescribeStockEstimation返回参数结构体
144
-
145
- """
146
-
147
- def __init__(self):
148
- r"""
149
- :param _ServiceRsp: 用户信誉分,1-5从低到高
150
- :type ServiceRsp: :class:`tencentcloud.pds.v20210701.models.Score`
151
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
152
- :type RequestId: str
153
- """
154
- self._ServiceRsp = None
155
- self._RequestId = None
156
-
157
- @property
158
- def ServiceRsp(self):
159
- """用户信誉分,1-5从低到高
160
- :rtype: :class:`tencentcloud.pds.v20210701.models.Score`
161
- """
162
- return self._ServiceRsp
163
-
164
- @ServiceRsp.setter
165
- def ServiceRsp(self, ServiceRsp):
166
- self._ServiceRsp = ServiceRsp
167
-
168
- @property
169
- def RequestId(self):
170
- """唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
171
- :rtype: str
172
- """
173
- return self._RequestId
174
-
175
- @RequestId.setter
176
- def RequestId(self, RequestId):
177
- self._RequestId = RequestId
178
-
179
-
180
- def _deserialize(self, params):
181
- if params.get("ServiceRsp") is not None:
182
- self._ServiceRsp = Score()
183
- self._ServiceRsp._deserialize(params.get("ServiceRsp"))
184
- self._RequestId = params.get("RequestId")
185
-
186
-
187
- class Score(AbstractModel):
188
- """信誉分,1-5从低到高
189
-
190
- """
191
-
192
- def __init__(self):
193
- r"""
194
- :param _Star: 信誉分,1-5从低到高
195
- :type Star: int
196
- """
197
- self._Star = None
198
-
199
- @property
200
- def Star(self):
201
- """信誉分,1-5从低到高
202
- :rtype: int
203
- """
204
- return self._Star
205
-
206
- @Star.setter
207
- def Star(self, Star):
208
- self._Star = Star
209
-
210
-
211
- def _deserialize(self, params):
212
- self._Star = params.get("Star")
213
- memeber_set = set(params.keys())
214
- for name, value in vars(self).items():
215
- property_name = name[1:]
216
- if property_name in memeber_set:
217
- memeber_set.remove(property_name)
218
- if len(memeber_set) > 0:
219
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
220
-
221
-
222
-
223
- class UserInfos(AbstractModel):
224
- """用户信息
225
-
226
- """
227
-
228
- def __init__(self):
229
- r"""
230
- :param _PhoneNum: 用户的手机号
231
- :type PhoneNum: str
232
- :param _Openid: 用户的微信OpenID
233
- :type Openid: str
234
- :param _IP: 用户移动设备的客户端IP
235
- :type IP: str
236
- :param _WiFiBssid: 用户WiFi的BSSID
237
- :type WiFiBssid: str
238
- :param _IMEI: 用户Android设备的IMEI
239
- :type IMEI: str
240
- :param _OAID: 用户Android设备的OAID
241
- :type OAID: str
242
- :param _IDFA: 用户iOS设备的IDFA
243
- :type IDFA: str
244
- """
245
- self._PhoneNum = None
246
- self._Openid = None
247
- self._IP = None
248
- self._WiFiBssid = None
249
- self._IMEI = None
250
- self._OAID = None
251
- self._IDFA = None
252
-
253
- @property
254
- def PhoneNum(self):
255
- """用户的手机号
256
- :rtype: str
257
- """
258
- return self._PhoneNum
259
-
260
- @PhoneNum.setter
261
- def PhoneNum(self, PhoneNum):
262
- self._PhoneNum = PhoneNum
263
-
264
- @property
265
- def Openid(self):
266
- """用户的微信OpenID
267
- :rtype: str
268
- """
269
- return self._Openid
270
-
271
- @Openid.setter
272
- def Openid(self, Openid):
273
- self._Openid = Openid
274
-
275
- @property
276
- def IP(self):
277
- """用户移动设备的客户端IP
278
- :rtype: str
279
- """
280
- return self._IP
281
-
282
- @IP.setter
283
- def IP(self, IP):
284
- self._IP = IP
285
-
286
- @property
287
- def WiFiBssid(self):
288
- """用户WiFi的BSSID
289
- :rtype: str
290
- """
291
- return self._WiFiBssid
292
-
293
- @WiFiBssid.setter
294
- def WiFiBssid(self, WiFiBssid):
295
- self._WiFiBssid = WiFiBssid
296
-
297
- @property
298
- def IMEI(self):
299
- """用户Android设备的IMEI
300
- :rtype: str
301
- """
302
- return self._IMEI
303
-
304
- @IMEI.setter
305
- def IMEI(self, IMEI):
306
- self._IMEI = IMEI
307
-
308
- @property
309
- def OAID(self):
310
- """用户Android设备的OAID
311
- :rtype: str
312
- """
313
- return self._OAID
314
-
315
- @OAID.setter
316
- def OAID(self, OAID):
317
- self._OAID = OAID
318
-
319
- @property
320
- def IDFA(self):
321
- """用户iOS设备的IDFA
322
- :rtype: str
323
- """
324
- return self._IDFA
325
-
326
- @IDFA.setter
327
- def IDFA(self, IDFA):
328
- self._IDFA = IDFA
329
-
330
-
331
- def _deserialize(self, params):
332
- self._PhoneNum = params.get("PhoneNum")
333
- self._Openid = params.get("Openid")
334
- self._IP = params.get("IP")
335
- self._WiFiBssid = params.get("WiFiBssid")
336
- self._IMEI = params.get("IMEI")
337
- self._OAID = params.get("OAID")
338
- self._IDFA = params.get("IDFA")
339
- memeber_set = set(params.keys())
340
- for name, value in vars(self).items():
341
- property_name = name[1:]
342
- if property_name in memeber_set:
343
- memeber_set.remove(property_name)
344
- if len(memeber_set) > 0:
345
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
346
-
@@ -1,72 +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.pds.v20210701 import models
21
-
22
-
23
- class PdsClient(AbstractClient):
24
- _apiVersion = '2021-07-01'
25
- _endpoint = 'pds.tencentcloudapi.com'
26
- _service = 'pds'
27
-
28
-
29
- def DescribeNewUserAcquisition(self, request):
30
- """判断新用户信誉值
31
-
32
- :param request: Request instance for DescribeNewUserAcquisition.
33
- :type request: :class:`tencentcloud.pds.v20210701.models.DescribeNewUserAcquisitionRequest`
34
- :rtype: :class:`tencentcloud.pds.v20210701.models.DescribeNewUserAcquisitionResponse`
35
-
36
- """
37
- try:
38
- params = request._serialize()
39
- headers = request.headers
40
- body = self.call("DescribeNewUserAcquisition", params, headers=headers)
41
- response = json.loads(body)
42
- model = models.DescribeNewUserAcquisitionResponse()
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 DescribeStockEstimation(self, request):
53
- """查询存量判断服务
54
-
55
- :param request: Request instance for DescribeStockEstimation.
56
- :type request: :class:`tencentcloud.pds.v20210701.models.DescribeStockEstimationRequest`
57
- :rtype: :class:`tencentcloud.pds.v20210701.models.DescribeStockEstimationResponse`
58
-
59
- """
60
- try:
61
- params = request._serialize()
62
- headers = request.headers
63
- body = self.call("DescribeStockEstimation", params, headers=headers)
64
- response = json.loads(body)
65
- model = models.DescribeStockEstimationResponse()
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))
File without changes
File without changes
@@ -1,27 +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_TIMEOUT = 'InternalError.Timeout'
19
-
20
- # 号码格式错误。
21
- INVALIDPARAMETER_PHONENUMBER = 'InvalidParameter.PhoneNumber'
22
-
23
- # 资源不存在。
24
- RESOURCENOTFOUND = 'ResourceNotFound'
25
-
26
- # 资源不可用。
27
- RESOURCEUNAVAILABLE = 'ResourceUnavailable'