tencentcloud-sdk-python 3.0.1257__py2.py3-none-any.whl → 3.0.1259__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 (108) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apm/v20210622/models.py +26 -0
  3. tencentcloud/asr/v20190614/models.py +3 -2
  4. tencentcloud/autoscaling/v20180419/autoscaling_client.py +7 -1
  5. tencentcloud/autoscaling/v20180419/errorcodes.py +3 -0
  6. tencentcloud/autoscaling/v20180419/models.py +18 -2
  7. tencentcloud/bi/v20220105/models.py +44 -4
  8. tencentcloud/billing/v20180709/billing_client.py +23 -0
  9. tencentcloud/billing/v20180709/errorcodes.py +6 -0
  10. tencentcloud/billing/v20180709/models.py +424 -0
  11. tencentcloud/bsca/v20210811/models.py +306 -1
  12. tencentcloud/ccc/v20200210/ccc_client.py +23 -0
  13. tencentcloud/ccc/v20200210/errorcodes.py +6 -0
  14. tencentcloud/ccc/v20200210/models.py +237 -136
  15. tencentcloud/cdb/v20170320/cdb_client.py +1 -1
  16. tencentcloud/cdb/v20170320/models.py +13 -1
  17. tencentcloud/cdn/v20180606/models.py +1 -1
  18. tencentcloud/cdwdoris/v20211228/models.py +16 -2
  19. tencentcloud/cfw/v20190904/cfw_client.py +7 -33
  20. tencentcloud/cfw/v20190904/models.py +711 -1329
  21. tencentcloud/ciam/v20220331/models.py +13 -0
  22. tencentcloud/ckafka/v20190819/models.py +4 -4
  23. tencentcloud/clb/v20180317/models.py +2 -4
  24. tencentcloud/cloudaudit/v20190319/cloudaudit_client.py +30 -34
  25. tencentcloud/cloudaudit/v20190319/errorcodes.py +0 -39
  26. tencentcloud/cloudaudit/v20190319/models.py +328 -254
  27. tencentcloud/cls/v20201016/cls_client.py +8 -1
  28. tencentcloud/cls/v20201016/models.py +551 -109
  29. tencentcloud/csip/v20221121/models.py +226 -136
  30. tencentcloud/cvm/v20170312/errorcodes.py +6 -0
  31. tencentcloud/cvm/v20170312/models.py +78 -0
  32. tencentcloud/cwp/v20180228/cwp_client.py +6 -2
  33. tencentcloud/cwp/v20180228/models.py +240 -114
  34. tencentcloud/cynosdb/v20190107/cynosdb_client.py +27 -27
  35. tencentcloud/cynosdb/v20190107/models.py +78 -0
  36. tencentcloud/dasb/v20191018/models.py +155 -0
  37. tencentcloud/domain/v20180808/errorcodes.py +45 -0
  38. tencentcloud/eb/v20210416/models.py +19 -19
  39. tencentcloud/es/v20180416/errorcodes.py +4 -1
  40. tencentcloud/es/v20180416/es_client.py +92 -0
  41. tencentcloud/es/v20180416/models.py +770 -12
  42. tencentcloud/ess/v20201111/ess_client.py +87 -8
  43. tencentcloud/ess/v20201111/models.py +239 -11
  44. tencentcloud/essbasic/v20210526/essbasic_client.py +135 -51
  45. tencentcloud/essbasic/v20210526/models.py +365 -19
  46. tencentcloud/gaap/v20180529/models.py +40 -3
  47. tencentcloud/hunyuan/v20230901/models.py +12 -0
  48. tencentcloud/ioa/v20220601/errorcodes.py +15 -0
  49. tencentcloud/ioa/v20220601/ioa_client.py +26 -2
  50. tencentcloud/ioa/v20220601/models.py +516 -46
  51. tencentcloud/iotexplorer/v20190423/models.py +52 -0
  52. tencentcloud/iotvideo/v20191126/iotvideo_client.py +46 -0
  53. tencentcloud/iotvideo/v20191126/models.py +379 -0
  54. tencentcloud/lighthouse/v20200324/errorcodes.py +1 -1
  55. tencentcloud/live/v20180801/models.py +51 -0
  56. tencentcloud/mongodb/v20190725/models.py +3 -7
  57. tencentcloud/mqtt/v20240516/models.py +2 -2
  58. tencentcloud/mrs/v20200910/models.py +22 -0
  59. tencentcloud/ms/v20180408/models.py +101 -62
  60. tencentcloud/ocr/v20181119/models.py +7 -16
  61. tencentcloud/ocr/v20181119/ocr_client.py +1 -0
  62. tencentcloud/organization/v20210331/errorcodes.py +30 -0
  63. tencentcloud/organization/v20210331/models.py +674 -0
  64. tencentcloud/organization/v20210331/organization_client.py +138 -0
  65. tencentcloud/privatedns/v20201028/errorcodes.py +12 -0
  66. tencentcloud/privatedns/v20201028/models.py +858 -4
  67. tencentcloud/privatedns/v20201028/privatedns_client.py +92 -0
  68. tencentcloud/redis/v20180412/models.py +14 -14
  69. tencentcloud/redis/v20180412/redis_client.py +2 -0
  70. tencentcloud/region/v20220627/models.py +0 -1
  71. tencentcloud/scf/v20180416/models.py +889 -8
  72. tencentcloud/scf/v20180416/scf_client.py +115 -0
  73. tencentcloud/smop/v20201203/models.py +17 -17
  74. tencentcloud/ssl/v20191205/models.py +1 -1
  75. tencentcloud/ssm/v20190923/models.py +84 -0
  76. tencentcloud/tat/v20201028/models.py +1 -29
  77. tencentcloud/tcss/v20201101/models.py +472 -46
  78. tencentcloud/tcss/v20201101/tcss_client.py +1 -1
  79. tencentcloud/tdmq/v20200217/models.py +7 -7
  80. tencentcloud/tem/v20210701/models.py +202 -198
  81. tencentcloud/teo/v20220901/errorcodes.py +30 -0
  82. tencentcloud/teo/v20220901/models.py +1466 -93
  83. tencentcloud/teo/v20220901/teo_client.py +115 -0
  84. tencentcloud/tke/v20180525/models.py +70 -0
  85. tencentcloud/tke/v20180525/tke_client.py +23 -0
  86. tencentcloud/tms/v20201229/models.py +0 -558
  87. tencentcloud/tms/v20201229/tms_client.py +0 -23
  88. tencentcloud/trp/v20210515/models.py +6 -6
  89. tencentcloud/trtc/v20190722/models.py +353 -4
  90. tencentcloud/tse/v20201207/models.py +94 -0
  91. tencentcloud/tse/v20201207/tse_client.py +23 -0
  92. tencentcloud/vclm/v20240523/models.py +166 -0
  93. tencentcloud/vpc/v20170312/models.py +134 -2
  94. tencentcloud/vpc/v20170312/vpc_client.py +23 -0
  95. tencentcloud/waf/v20180125/models.py +239 -531
  96. tencentcloud/waf/v20180125/waf_client.py +23 -25
  97. tencentcloud/wedata/v20210820/models.py +991 -0
  98. tencentcloud/wedata/v20210820/wedata_client.py +46 -0
  99. {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1259.dist-info}/METADATA +1 -1
  100. {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1259.dist-info}/RECORD +103 -108
  101. tencentcloud/cr/__init__.py +0 -0
  102. tencentcloud/cr/v20180321/__init__.py +0 -0
  103. tencentcloud/cr/v20180321/cr_client.py +0 -672
  104. tencentcloud/cr/v20180321/errorcodes.py +0 -114
  105. tencentcloud/cr/v20180321/models.py +0 -4966
  106. {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1259.dist-info}/LICENSE +0 -0
  107. {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1259.dist-info}/WHEEL +0 -0
  108. {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1259.dist-info}/top_level.txt +0 -0
File without changes
File without changes
@@ -1,672 +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.cr.v20180321 import models
21
-
22
-
23
- class CrClient(AbstractClient):
24
- _apiVersion = '2018-03-21'
25
- _endpoint = 'cr.tencentcloudapi.com'
26
- _service = 'cr'
27
-
28
-
29
- def ApplyBlackList(self, request):
30
- """提交黑名单后,黑名单中有效期内的号码将停止拨打,适用于到期/逾期提醒、回访场景。
31
-
32
- :param request: Request instance for ApplyBlackList.
33
- :type request: :class:`tencentcloud.cr.v20180321.models.ApplyBlackListRequest`
34
- :rtype: :class:`tencentcloud.cr.v20180321.models.ApplyBlackListResponse`
35
-
36
- """
37
- try:
38
- params = request._serialize()
39
- headers = request.headers
40
- body = self.call("ApplyBlackList", params, headers=headers)
41
- response = json.loads(body)
42
- model = models.ApplyBlackListResponse()
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 ApplyBlackListData(self, request):
53
- """提交机器人黑名单申请
54
-
55
- :param request: Request instance for ApplyBlackListData.
56
- :type request: :class:`tencentcloud.cr.v20180321.models.ApplyBlackListDataRequest`
57
- :rtype: :class:`tencentcloud.cr.v20180321.models.ApplyBlackListDataResponse`
58
-
59
- """
60
- try:
61
- params = request._serialize()
62
- headers = request.headers
63
- body = self.call("ApplyBlackListData", params, headers=headers)
64
- response = json.loads(body)
65
- model = models.ApplyBlackListDataResponse()
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 ApplyCreditAudit(self, request):
76
- """提交信审外呼申请,返回当次请求日期。
77
-
78
- :param request: Request instance for ApplyCreditAudit.
79
- :type request: :class:`tencentcloud.cr.v20180321.models.ApplyCreditAuditRequest`
80
- :rtype: :class:`tencentcloud.cr.v20180321.models.ApplyCreditAuditResponse`
81
-
82
- """
83
- try:
84
- params = request._serialize()
85
- headers = request.headers
86
- body = self.call("ApplyCreditAudit", params, headers=headers)
87
- response = json.loads(body)
88
- model = models.ApplyCreditAuditResponse()
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 ChangeBotCallStatus(self, request):
99
- """更新机器人任务作业状态
100
-
101
- :param request: Request instance for ChangeBotCallStatus.
102
- :type request: :class:`tencentcloud.cr.v20180321.models.ChangeBotCallStatusRequest`
103
- :rtype: :class:`tencentcloud.cr.v20180321.models.ChangeBotCallStatusResponse`
104
-
105
- """
106
- try:
107
- params = request._serialize()
108
- headers = request.headers
109
- body = self.call("ChangeBotCallStatus", params, headers=headers)
110
- response = json.loads(body)
111
- model = models.ChangeBotCallStatusResponse()
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 ChangeBotTaskStatus(self, request):
122
- """更新机器人任务状态
123
-
124
- :param request: Request instance for ChangeBotTaskStatus.
125
- :type request: :class:`tencentcloud.cr.v20180321.models.ChangeBotTaskStatusRequest`
126
- :rtype: :class:`tencentcloud.cr.v20180321.models.ChangeBotTaskStatusResponse`
127
-
128
- """
129
- try:
130
- params = request._serialize()
131
- headers = request.headers
132
- body = self.call("ChangeBotTaskStatus", params, headers=headers)
133
- response = json.loads(body)
134
- model = models.ChangeBotTaskStatusResponse()
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 CreateBotTask(self, request):
145
- """创建机器人任务
146
-
147
- :param request: Request instance for CreateBotTask.
148
- :type request: :class:`tencentcloud.cr.v20180321.models.CreateBotTaskRequest`
149
- :rtype: :class:`tencentcloud.cr.v20180321.models.CreateBotTaskResponse`
150
-
151
- """
152
- try:
153
- params = request._serialize()
154
- headers = request.headers
155
- body = self.call("CreateBotTask", params, headers=headers)
156
- response = json.loads(body)
157
- model = models.CreateBotTaskResponse()
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 DescribeBotFlow(self, request):
168
- """查询机器人对话流
169
-
170
- :param request: Request instance for DescribeBotFlow.
171
- :type request: :class:`tencentcloud.cr.v20180321.models.DescribeBotFlowRequest`
172
- :rtype: :class:`tencentcloud.cr.v20180321.models.DescribeBotFlowResponse`
173
-
174
- """
175
- try:
176
- params = request._serialize()
177
- headers = request.headers
178
- body = self.call("DescribeBotFlow", params, headers=headers)
179
- response = json.loads(body)
180
- model = models.DescribeBotFlowResponse()
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))
188
-
189
-
190
- def DescribeCreditResult(self, request):
191
- """根据信审任务ID和请求日期,获取相关信审结果。
192
-
193
- :param request: Request instance for DescribeCreditResult.
194
- :type request: :class:`tencentcloud.cr.v20180321.models.DescribeCreditResultRequest`
195
- :rtype: :class:`tencentcloud.cr.v20180321.models.DescribeCreditResultResponse`
196
-
197
- """
198
- try:
199
- params = request._serialize()
200
- headers = request.headers
201
- body = self.call("DescribeCreditResult", params, headers=headers)
202
- response = json.loads(body)
203
- model = models.DescribeCreditResultResponse()
204
- model._deserialize(response["Response"])
205
- return model
206
- except Exception as e:
207
- if isinstance(e, TencentCloudSDKException):
208
- raise
209
- else:
210
- raise TencentCloudSDKException(type(e).__name__, str(e))
211
-
212
-
213
- def DescribeFileModel(self, request):
214
- """查询机器人文件模板
215
-
216
- :param request: Request instance for DescribeFileModel.
217
- :type request: :class:`tencentcloud.cr.v20180321.models.DescribeFileModelRequest`
218
- :rtype: :class:`tencentcloud.cr.v20180321.models.DescribeFileModelResponse`
219
-
220
- """
221
- try:
222
- params = request._serialize()
223
- headers = request.headers
224
- body = self.call("DescribeFileModel", params, headers=headers)
225
- response = json.loads(body)
226
- model = models.DescribeFileModelResponse()
227
- model._deserialize(response["Response"])
228
- return model
229
- except Exception as e:
230
- if isinstance(e, TencentCloudSDKException):
231
- raise
232
- else:
233
- raise TencentCloudSDKException(type(e).__name__, str(e))
234
-
235
-
236
- def DescribeRecords(self, request):
237
- """用于获取指定案件的录音地址,次日早上8:00后可查询前日录音。
238
-
239
- :param request: Request instance for DescribeRecords.
240
- :type request: :class:`tencentcloud.cr.v20180321.models.DescribeRecordsRequest`
241
- :rtype: :class:`tencentcloud.cr.v20180321.models.DescribeRecordsResponse`
242
-
243
- """
244
- try:
245
- params = request._serialize()
246
- headers = request.headers
247
- body = self.call("DescribeRecords", params, headers=headers)
248
- response = json.loads(body)
249
- model = models.DescribeRecordsResponse()
250
- model._deserialize(response["Response"])
251
- return model
252
- except Exception as e:
253
- if isinstance(e, TencentCloudSDKException):
254
- raise
255
- else:
256
- raise TencentCloudSDKException(type(e).__name__, str(e))
257
-
258
-
259
- def DescribeTaskStatus(self, request):
260
- """根据上传文件接口的输出参数DataResId,获取相关上传结果。
261
-
262
- :param request: Request instance for DescribeTaskStatus.
263
- :type request: :class:`tencentcloud.cr.v20180321.models.DescribeTaskStatusRequest`
264
- :rtype: :class:`tencentcloud.cr.v20180321.models.DescribeTaskStatusResponse`
265
-
266
- """
267
- try:
268
- params = request._serialize()
269
- headers = request.headers
270
- body = self.call("DescribeTaskStatus", params, headers=headers)
271
- response = json.loads(body)
272
- model = models.DescribeTaskStatusResponse()
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 DownloadBotRecord(self, request):
283
- """下载任务录音与文本,第二天12点后可使用此接口获取对应的录音与文本
284
-
285
- :param request: Request instance for DownloadBotRecord.
286
- :type request: :class:`tencentcloud.cr.v20180321.models.DownloadBotRecordRequest`
287
- :rtype: :class:`tencentcloud.cr.v20180321.models.DownloadBotRecordResponse`
288
-
289
- """
290
- try:
291
- params = request._serialize()
292
- headers = request.headers
293
- body = self.call("DownloadBotRecord", params, headers=headers)
294
- response = json.loads(body)
295
- model = models.DownloadBotRecordResponse()
296
- model._deserialize(response["Response"])
297
- return model
298
- except Exception as e:
299
- if isinstance(e, TencentCloudSDKException):
300
- raise
301
- else:
302
- raise TencentCloudSDKException(type(e).__name__, str(e))
303
-
304
-
305
- def DownloadDialogueText(self, request):
306
- """用于获取指定案件的对话文本内容,次日早上8:00后可查询前日对话文本内容。
307
-
308
- :param request: Request instance for DownloadDialogueText.
309
- :type request: :class:`tencentcloud.cr.v20180321.models.DownloadDialogueTextRequest`
310
- :rtype: :class:`tencentcloud.cr.v20180321.models.DownloadDialogueTextResponse`
311
-
312
- """
313
- try:
314
- params = request._serialize()
315
- headers = request.headers
316
- body = self.call("DownloadDialogueText", params, headers=headers)
317
- response = json.loads(body)
318
- model = models.DownloadDialogueTextResponse()
319
- model._deserialize(response["Response"])
320
- return model
321
- except Exception as e:
322
- if isinstance(e, TencentCloudSDKException):
323
- raise
324
- else:
325
- raise TencentCloudSDKException(type(e).__name__, str(e))
326
-
327
-
328
- def DownloadRecordList(self, request):
329
- """<p>用于获取录音下载链接清单,次日早上8:00后可查询前日录音清单。</p>
330
- <p>注意:录音清单中的录音下载链接仅次日20:00之前有效,请及时下载。</p>
331
-
332
- :param request: Request instance for DownloadRecordList.
333
- :type request: :class:`tencentcloud.cr.v20180321.models.DownloadRecordListRequest`
334
- :rtype: :class:`tencentcloud.cr.v20180321.models.DownloadRecordListResponse`
335
-
336
- """
337
- try:
338
- params = request._serialize()
339
- headers = request.headers
340
- body = self.call("DownloadRecordList", params, headers=headers)
341
- response = json.loads(body)
342
- model = models.DownloadRecordListResponse()
343
- model._deserialize(response["Response"])
344
- return model
345
- except Exception as e:
346
- if isinstance(e, TencentCloudSDKException):
347
- raise
348
- else:
349
- raise TencentCloudSDKException(type(e).__name__, str(e))
350
-
351
-
352
- def DownloadReport(self, request):
353
- """用于下载结果报表。当日23:00后,可获取当日到期/逾期提醒结果,次日00:30后,可获取昨日回访结果。
354
-
355
- :param request: Request instance for DownloadReport.
356
- :type request: :class:`tencentcloud.cr.v20180321.models.DownloadReportRequest`
357
- :rtype: :class:`tencentcloud.cr.v20180321.models.DownloadReportResponse`
358
-
359
- """
360
- try:
361
- params = request._serialize()
362
- headers = request.headers
363
- body = self.call("DownloadReport", params, headers=headers)
364
- response = json.loads(body)
365
- model = models.DownloadReportResponse()
366
- model._deserialize(response["Response"])
367
- return model
368
- except Exception as e:
369
- if isinstance(e, TencentCloudSDKException):
370
- raise
371
- else:
372
- raise TencentCloudSDKException(type(e).__name__, str(e))
373
-
374
-
375
- def ExportBotData(self, request):
376
- """导出机器人数据
377
-
378
- :param request: Request instance for ExportBotData.
379
- :type request: :class:`tencentcloud.cr.v20180321.models.ExportBotDataRequest`
380
- :rtype: :class:`tencentcloud.cr.v20180321.models.ExportBotDataResponse`
381
-
382
- """
383
- try:
384
- params = request._serialize()
385
- headers = request.headers
386
- body = self.call("ExportBotData", params, headers=headers)
387
- response = json.loads(body)
388
- model = models.ExportBotDataResponse()
389
- model._deserialize(response["Response"])
390
- return model
391
- except Exception as e:
392
- if isinstance(e, TencentCloudSDKException):
393
- raise
394
- else:
395
- raise TencentCloudSDKException(type(e).__name__, str(e))
396
-
397
-
398
- def QueryBlackListData(self, request):
399
- """查看黑名单数据列表
400
-
401
- :param request: Request instance for QueryBlackListData.
402
- :type request: :class:`tencentcloud.cr.v20180321.models.QueryBlackListDataRequest`
403
- :rtype: :class:`tencentcloud.cr.v20180321.models.QueryBlackListDataResponse`
404
-
405
- """
406
- try:
407
- params = request._serialize()
408
- headers = request.headers
409
- body = self.call("QueryBlackListData", params, headers=headers)
410
- response = json.loads(body)
411
- model = models.QueryBlackListDataResponse()
412
- model._deserialize(response["Response"])
413
- return model
414
- except Exception as e:
415
- if isinstance(e, TencentCloudSDKException):
416
- raise
417
- else:
418
- raise TencentCloudSDKException(type(e).__name__, str(e))
419
-
420
-
421
- def QueryBotList(self, request):
422
- """查询机器人任务状态列表
423
-
424
- :param request: Request instance for QueryBotList.
425
- :type request: :class:`tencentcloud.cr.v20180321.models.QueryBotListRequest`
426
- :rtype: :class:`tencentcloud.cr.v20180321.models.QueryBotListResponse`
427
-
428
- """
429
- try:
430
- params = request._serialize()
431
- headers = request.headers
432
- body = self.call("QueryBotList", params, headers=headers)
433
- response = json.loads(body)
434
- model = models.QueryBotListResponse()
435
- model._deserialize(response["Response"])
436
- return model
437
- except Exception as e:
438
- if isinstance(e, TencentCloudSDKException):
439
- raise
440
- else:
441
- raise TencentCloudSDKException(type(e).__name__, str(e))
442
-
443
-
444
- def QueryCallList(self, request):
445
- """机器人任务查询
446
-
447
- :param request: Request instance for QueryCallList.
448
- :type request: :class:`tencentcloud.cr.v20180321.models.QueryCallListRequest`
449
- :rtype: :class:`tencentcloud.cr.v20180321.models.QueryCallListResponse`
450
-
451
- """
452
- try:
453
- params = request._serialize()
454
- headers = request.headers
455
- body = self.call("QueryCallList", params, headers=headers)
456
- response = json.loads(body)
457
- model = models.QueryCallListResponse()
458
- model._deserialize(response["Response"])
459
- return model
460
- except Exception as e:
461
- if isinstance(e, TencentCloudSDKException):
462
- raise
463
- else:
464
- raise TencentCloudSDKException(type(e).__name__, str(e))
465
-
466
-
467
- def QueryInstantData(self, request):
468
- """实时数据查询
469
-
470
- :param request: Request instance for QueryInstantData.
471
- :type request: :class:`tencentcloud.cr.v20180321.models.QueryInstantDataRequest`
472
- :rtype: :class:`tencentcloud.cr.v20180321.models.QueryInstantDataResponse`
473
-
474
- """
475
- try:
476
- params = request._serialize()
477
- headers = request.headers
478
- body = self.call("QueryInstantData", params, headers=headers)
479
- response = json.loads(body)
480
- model = models.QueryInstantDataResponse()
481
- model._deserialize(response["Response"])
482
- return model
483
- except Exception as e:
484
- if isinstance(e, TencentCloudSDKException):
485
- raise
486
- else:
487
- raise TencentCloudSDKException(type(e).__name__, str(e))
488
-
489
-
490
- def QueryProducts(self, request):
491
- """查询产品列表
492
-
493
- :param request: Request instance for QueryProducts.
494
- :type request: :class:`tencentcloud.cr.v20180321.models.QueryProductsRequest`
495
- :rtype: :class:`tencentcloud.cr.v20180321.models.QueryProductsResponse`
496
-
497
- """
498
- try:
499
- params = request._serialize()
500
- headers = request.headers
501
- body = self.call("QueryProducts", params, headers=headers)
502
- response = json.loads(body)
503
- model = models.QueryProductsResponse()
504
- model._deserialize(response["Response"])
505
- return model
506
- except Exception as e:
507
- if isinstance(e, TencentCloudSDKException):
508
- raise
509
- else:
510
- raise TencentCloudSDKException(type(e).__name__, str(e))
511
-
512
-
513
- def QueryRecordList(self, request):
514
- """查询录音列表
515
-
516
- :param request: Request instance for QueryRecordList.
517
- :type request: :class:`tencentcloud.cr.v20180321.models.QueryRecordListRequest`
518
- :rtype: :class:`tencentcloud.cr.v20180321.models.QueryRecordListResponse`
519
-
520
- """
521
- try:
522
- params = request._serialize()
523
- headers = request.headers
524
- body = self.call("QueryRecordList", params, headers=headers)
525
- response = json.loads(body)
526
- model = models.QueryRecordListResponse()
527
- model._deserialize(response["Response"])
528
- return model
529
- except Exception as e:
530
- if isinstance(e, TencentCloudSDKException):
531
- raise
532
- else:
533
- raise TencentCloudSDKException(type(e).__name__, str(e))
534
-
535
-
536
- def UpdateBotTask(self, request):
537
- """更新机器人任务
538
-
539
- :param request: Request instance for UpdateBotTask.
540
- :type request: :class:`tencentcloud.cr.v20180321.models.UpdateBotTaskRequest`
541
- :rtype: :class:`tencentcloud.cr.v20180321.models.UpdateBotTaskResponse`
542
-
543
- """
544
- try:
545
- params = request._serialize()
546
- headers = request.headers
547
- body = self.call("UpdateBotTask", params, headers=headers)
548
- response = json.loads(body)
549
- model = models.UpdateBotTaskResponse()
550
- model._deserialize(response["Response"])
551
- return model
552
- except Exception as e:
553
- if isinstance(e, TencentCloudSDKException):
554
- raise
555
- else:
556
- raise TencentCloudSDKException(type(e).__name__, str(e))
557
-
558
-
559
- def UploadBotData(self, request):
560
- """上传机器人任务数据
561
-
562
- :param request: Request instance for UploadBotData.
563
- :type request: :class:`tencentcloud.cr.v20180321.models.UploadBotDataRequest`
564
- :rtype: :class:`tencentcloud.cr.v20180321.models.UploadBotDataResponse`
565
-
566
- """
567
- try:
568
- params = request._serialize()
569
- headers = request.headers
570
- body = self.call("UploadBotData", params, headers=headers)
571
- response = json.loads(body)
572
- model = models.UploadBotDataResponse()
573
- model._deserialize(response["Response"])
574
- return model
575
- except Exception as e:
576
- if isinstance(e, TencentCloudSDKException):
577
- raise
578
- else:
579
- raise TencentCloudSDKException(type(e).__name__, str(e))
580
-
581
-
582
- def UploadBotFile(self, request):
583
- """上传机器人文件
584
-
585
- :param request: Request instance for UploadBotFile.
586
- :type request: :class:`tencentcloud.cr.v20180321.models.UploadBotFileRequest`
587
- :rtype: :class:`tencentcloud.cr.v20180321.models.UploadBotFileResponse`
588
-
589
- """
590
- try:
591
- params = request._serialize()
592
- headers = request.headers
593
- body = self.call("UploadBotFile", params, headers=headers)
594
- response = json.loads(body)
595
- model = models.UploadBotFileResponse()
596
- model._deserialize(response["Response"])
597
- return model
598
- except Exception as e:
599
- if isinstance(e, TencentCloudSDKException):
600
- raise
601
- else:
602
- raise TencentCloudSDKException(type(e).__name__, str(e))
603
-
604
-
605
- def UploadDataFile(self, request):
606
- """上传文件,接口返回数据任务ID,支持xlsx、xls、csv、zip格式。
607
-
608
- :param request: Request instance for UploadDataFile.
609
- :type request: :class:`tencentcloud.cr.v20180321.models.UploadDataFileRequest`
610
- :rtype: :class:`tencentcloud.cr.v20180321.models.UploadDataFileResponse`
611
-
612
- """
613
- try:
614
- params = request._serialize()
615
- options = {'IsMultipart': True, 'BinaryParams': [u'File']}
616
- headers = request.headers
617
- body = self.call("UploadDataFile", params, options=options, headers=headers)
618
- response = json.loads(body)
619
- model = models.UploadDataFileResponse()
620
- model._deserialize(response["Response"])
621
- return model
622
- except Exception as e:
623
- if isinstance(e, TencentCloudSDKException):
624
- raise
625
- else:
626
- raise TencentCloudSDKException(type(e).__name__, str(e))
627
-
628
-
629
- def UploadDataJson(self, request):
630
- """上传Json格式数据,接口返回数据任务ID
631
-
632
- :param request: Request instance for UploadDataJson.
633
- :type request: :class:`tencentcloud.cr.v20180321.models.UploadDataJsonRequest`
634
- :rtype: :class:`tencentcloud.cr.v20180321.models.UploadDataJsonResponse`
635
-
636
- """
637
- try:
638
- params = request._serialize()
639
- headers = request.headers
640
- body = self.call("UploadDataJson", params, headers=headers)
641
- response = json.loads(body)
642
- model = models.UploadDataJsonResponse()
643
- model._deserialize(response["Response"])
644
- return model
645
- except Exception as e:
646
- if isinstance(e, TencentCloudSDKException):
647
- raise
648
- else:
649
- raise TencentCloudSDKException(type(e).__name__, str(e))
650
-
651
-
652
- def UploadFile(self, request):
653
- """客户通过调用该接口上传需催收文档,格式需为excel格式。接口返回任务ID。
654
-
655
- :param request: Request instance for UploadFile.
656
- :type request: :class:`tencentcloud.cr.v20180321.models.UploadFileRequest`
657
- :rtype: :class:`tencentcloud.cr.v20180321.models.UploadFileResponse`
658
-
659
- """
660
- try:
661
- params = request._serialize()
662
- headers = request.headers
663
- body = self.call("UploadFile", params, headers=headers)
664
- response = json.loads(body)
665
- model = models.UploadFileResponse()
666
- model._deserialize(response["Response"])
667
- return model
668
- except Exception as e:
669
- if isinstance(e, TencentCloudSDKException):
670
- raise
671
- else:
672
- raise TencentCloudSDKException(type(e).__name__, str(e))