tencentcloud-sdk-python 3.1.13__py2.py3-none-any.whl → 3.1.33__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.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (260) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ags/v20250920/ags_client.py +46 -0
  3. tencentcloud/ags/v20250920/ags_client_async.py +36 -0
  4. tencentcloud/ags/v20250920/errorcodes.py +45 -0
  5. tencentcloud/ags/v20250920/models.py +1704 -110
  6. tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
  7. tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
  8. tencentcloud/ai3d/v20250513/models.py +78 -36
  9. tencentcloud/aiart/v20221229/aiart_client.py +46 -0
  10. tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
  11. tencentcloud/aiart/v20221229/models.py +289 -0
  12. tencentcloud/ams/v20201229/models.py +101 -0
  13. tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
  14. tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
  15. tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
  16. tencentcloud/antiddos/v20200309/models.py +1671 -97
  17. tencentcloud/apm/v20210622/apm_client.py +23 -0
  18. tencentcloud/apm/v20210622/apm_client_async.py +18 -0
  19. tencentcloud/apm/v20210622/errorcodes.py +3 -0
  20. tencentcloud/apm/v20210622/models.py +1678 -78
  21. tencentcloud/asr/v20190614/models.py +100 -2
  22. tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
  23. tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
  24. tencentcloud/autoscaling/v20180419/models.py +475 -338
  25. tencentcloud/bh/v20230418/models.py +179 -6
  26. tencentcloud/billing/v20180709/billing_client.py +23 -0
  27. tencentcloud/billing/v20180709/billing_client_async.py +18 -0
  28. tencentcloud/billing/v20180709/models.py +328 -6
  29. tencentcloud/cam/v20190116/models.py +111 -2
  30. tencentcloud/car/v20220110/car_client.py +23 -0
  31. tencentcloud/car/v20220110/car_client_async.py +18 -0
  32. tencentcloud/car/v20220110/models.py +109 -0
  33. tencentcloud/cbs/v20170312/models.py +14 -14
  34. tencentcloud/ccc/v20200210/ccc_client.py +42 -13
  35. tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
  36. tencentcloud/ccc/v20200210/errorcodes.py +6 -0
  37. tencentcloud/ccc/v20200210/models.py +256 -4
  38. tencentcloud/cdb/v20170320/models.py +37 -16
  39. tencentcloud/cdc/v20201214/models.py +92 -124
  40. tencentcloud/cdn/v20180606/cdn_client.py +0 -78
  41. tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
  42. tencentcloud/cdn/v20180606/errorcodes.py +3 -0
  43. tencentcloud/cdn/v20180606/models.py +464 -1028
  44. tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
  45. tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
  46. tencentcloud/cdwch/v20200915/models.py +555 -0
  47. tencentcloud/cdwdoris/v20211228/models.py +505 -0
  48. tencentcloud/cfs/v20190719/errorcodes.py +1 -1
  49. tencentcloud/cfs/v20190719/models.py +2 -2
  50. tencentcloud/cfw/v20190904/cfw_client.py +278 -23
  51. tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
  52. tencentcloud/cfw/v20190904/models.py +3319 -1154
  53. tencentcloud/chdfs/v20201112/models.py +150 -0
  54. tencentcloud/ckafka/v20190819/models.py +458 -282
  55. tencentcloud/clb/v20180317/clb_client.py +23 -0
  56. tencentcloud/clb/v20180317/clb_client_async.py +18 -0
  57. tencentcloud/clb/v20180317/models.py +230 -130
  58. tencentcloud/cloudapp/v20220530/models.py +190 -36
  59. tencentcloud/cloudaudit/v20190319/models.py +32 -4
  60. tencentcloud/cloudmate/__init__.py +0 -0
  61. tencentcloud/cloudmate/v20251030/__init__.py +0 -0
  62. tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
  63. tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
  64. tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
  65. tencentcloud/cloudmate/v20251030/models.py +387 -0
  66. tencentcloud/cls/v20201016/cls_client.py +1064 -0
  67. tencentcloud/cls/v20201016/cls_client_async.py +860 -26
  68. tencentcloud/cls/v20201016/models.py +10246 -384
  69. tencentcloud/cme/v20191029/models.py +23 -0
  70. tencentcloud/csip/v20221121/models.py +317 -0
  71. tencentcloud/cvm/v20170312/cvm_client.py +1 -1
  72. tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
  73. tencentcloud/cvm/v20170312/errorcodes.py +9 -0
  74. tencentcloud/cvm/v20170312/models.py +28 -8
  75. tencentcloud/cwp/v20180228/cwp_client.py +0 -188
  76. tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
  77. tencentcloud/cwp/v20180228/models.py +1097 -1814
  78. tencentcloud/cynosdb/v20190107/models.py +181 -48
  79. tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
  80. tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
  81. tencentcloud/dataagent/v20250513/models.py +1477 -52
  82. tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
  83. tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
  84. tencentcloud/dbbrain/v20210527/models.py +261 -15
  85. tencentcloud/dbs/v20211108/dbs_client.py +69 -0
  86. tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
  87. tencentcloud/dbs/v20211108/errorcodes.py +15 -0
  88. tencentcloud/dbs/v20211108/models.py +1173 -27
  89. tencentcloud/dlc/v20210125/dlc_client.py +69 -0
  90. tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
  91. tencentcloud/dlc/v20210125/errorcodes.py +15 -0
  92. tencentcloud/dlc/v20210125/models.py +1016 -0
  93. tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
  94. tencentcloud/dnspod/v20210323/models.py +4 -4
  95. tencentcloud/emr/v20190103/emr_client.py +46 -0
  96. tencentcloud/emr/v20190103/emr_client_async.py +36 -0
  97. tencentcloud/emr/v20190103/models.py +625 -2
  98. tencentcloud/es/v20180416/errorcodes.py +15 -0
  99. tencentcloud/es/v20180416/es_client.py +115 -0
  100. tencentcloud/es/v20180416/es_client_async.py +90 -0
  101. tencentcloud/es/v20180416/models.py +498 -4
  102. tencentcloud/ess/v20201111/ess_client.py +153 -6
  103. tencentcloud/ess/v20201111/ess_client_async.py +128 -6
  104. tencentcloud/ess/v20201111/models.py +1496 -58
  105. tencentcloud/essbasic/v20210526/models.py +129 -23
  106. tencentcloud/evt/v20250217/evt_client.py +46 -0
  107. tencentcloud/evt/v20250217/evt_client_async.py +36 -0
  108. tencentcloud/evt/v20250217/models.py +188 -0
  109. tencentcloud/faceid/v20180301/models.py +10 -4
  110. tencentcloud/gaap/v20180529/models.py +260 -352
  111. tencentcloud/gs/v20191118/models.py +150 -4
  112. tencentcloud/gwlb/v20240906/models.py +48 -70
  113. tencentcloud/iai/v20180301/models.py +4 -4
  114. tencentcloud/iai/v20200303/models.py +4 -4
  115. tencentcloud/igtm/v20231024/errorcodes.py +1 -1
  116. tencentcloud/ims/v20201229/ims_client.py +1 -1
  117. tencentcloud/ims/v20201229/ims_client_async.py +1 -1
  118. tencentcloud/ioa/v20220601/models.py +60 -0
  119. tencentcloud/keewidb/v20220308/models.py +52 -68
  120. tencentcloud/lcic/v20220817/models.py +15 -0
  121. tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
  122. tencentcloud/lighthouse/v20200324/models.py +8 -0
  123. tencentcloud/live/v20180801/errorcodes.py +6 -0
  124. tencentcloud/live/v20180801/live_client.py +143 -0
  125. tencentcloud/live/v20180801/live_client_async.py +113 -0
  126. tencentcloud/live/v20180801/models.py +914 -311
  127. tencentcloud/lke/v20231130/lke_client.py +48 -1
  128. tencentcloud/lke/v20231130/lke_client_async.py +43 -1
  129. tencentcloud/lke/v20231130/models.py +2940 -459
  130. tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
  131. tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
  132. tencentcloud/lkeap/v20240522/models.py +2 -6
  133. tencentcloud/lowcode/v20210108/models.py +30 -0
  134. tencentcloud/mna/v20210119/models.py +18 -2
  135. tencentcloud/mongodb/v20190725/models.py +2 -2
  136. tencentcloud/monitor/v20180724/models.py +258 -0
  137. tencentcloud/mps/v20190612/errorcodes.py +9 -0
  138. tencentcloud/mps/v20190612/models.py +3007 -140
  139. tencentcloud/mps/v20190612/mps_client.py +115 -0
  140. tencentcloud/mps/v20190612/mps_client_async.py +90 -0
  141. tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
  142. tencentcloud/oceanus/v20190422/models.py +210 -4
  143. tencentcloud/ocr/v20181119/models.py +72 -4
  144. tencentcloud/ocr/v20181119/ocr_client.py +12 -8
  145. tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
  146. tencentcloud/partners/v20180321/models.py +88 -92
  147. tencentcloud/pts/v20210728/models.py +206 -0
  148. tencentcloud/rce/v20250425/__init__.py +0 -0
  149. tencentcloud/rce/v20250425/errorcodes.py +15 -0
  150. tencentcloud/rce/v20250425/models.py +301 -0
  151. tencentcloud/rce/v20250425/rce_client.py +49 -0
  152. tencentcloud/rce/v20250425/rce_client_async.py +44 -0
  153. tencentcloud/redis/v20180412/models.py +65 -70
  154. tencentcloud/rum/v20210622/models.py +548 -0
  155. tencentcloud/rum/v20210622/rum_client.py +23 -0
  156. tencentcloud/rum/v20210622/rum_client_async.py +18 -0
  157. tencentcloud/scf/v20180416/models.py +28 -2
  158. tencentcloud/ses/v20201002/errorcodes.py +3 -0
  159. tencentcloud/ssl/v20191205/models.py +991 -70
  160. tencentcloud/ssl/v20191205/ssl_client.py +2 -2
  161. tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
  162. tencentcloud/ssm/v20190923/models.py +134 -0
  163. tencentcloud/svp/v20240125/models.py +35 -20
  164. tencentcloud/tag/v20180813/models.py +34 -54
  165. tencentcloud/tat/v20201028/models.py +2 -0
  166. tencentcloud/tcaplusdb/v20190823/models.py +0 -337
  167. tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
  168. tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
  169. tencentcloud/tcb/v20180608/errorcodes.py +15 -12
  170. tencentcloud/tcb/v20180608/models.py +5761 -8383
  171. tencentcloud/tcb/v20180608/tcb_client.py +0 -276
  172. tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
  173. tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
  174. tencentcloud/tcbr/v20220217/models.py +4193 -1389
  175. tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
  176. tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
  177. tencentcloud/tcr/v20190924/models.py +727 -61
  178. tencentcloud/tcr/v20190924/tcr_client.py +92 -0
  179. tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
  180. tencentcloud/tcss/v20201101/models.py +30 -0
  181. tencentcloud/tdai/v20250717/models.py +440 -2
  182. tencentcloud/tdai/v20250717/tdai_client.py +23 -0
  183. tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
  184. tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
  185. tencentcloud/tdmq/v20200217/models.py +432 -4
  186. tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
  187. tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
  188. tencentcloud/teo/v20220901/errorcodes.py +39 -0
  189. tencentcloud/teo/v20220901/models.py +596 -79
  190. tencentcloud/teo/v20220901/teo_client.py +107 -1
  191. tencentcloud/teo/v20220901/teo_client_async.py +97 -1
  192. tencentcloud/thpc/v20211109/models.py +14 -14
  193. tencentcloud/thpc/v20220401/models.py +14 -14
  194. tencentcloud/thpc/v20230321/models.py +20 -54
  195. tencentcloud/tione/v20211111/errorcodes.py +9 -0
  196. tencentcloud/tione/v20211111/models.py +910 -73
  197. tencentcloud/tione/v20211111/tione_client.py +69 -0
  198. tencentcloud/tione/v20211111/tione_client_async.py +54 -0
  199. tencentcloud/tke/v20180525/models.py +468 -18
  200. tencentcloud/tke/v20180525/tke_client.py +69 -0
  201. tencentcloud/tke/v20180525/tke_client_async.py +54 -0
  202. tencentcloud/tke/v20220501/models.py +539 -0
  203. tencentcloud/tke/v20220501/tke_client.py +23 -0
  204. tencentcloud/tke/v20220501/tke_client_async.py +18 -0
  205. tencentcloud/trocket/v20230308/models.py +42 -21
  206. tencentcloud/trocket/v20230308/trocket_client.py +2 -1
  207. tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
  208. tencentcloud/trtc/v20190722/errorcodes.py +3 -0
  209. tencentcloud/trtc/v20190722/models.py +173 -30
  210. tencentcloud/tse/v20201207/models.py +42 -0
  211. tencentcloud/tsf/v20180326/errorcodes.py +4 -4
  212. tencentcloud/tsf/v20180326/models.py +15 -510
  213. tencentcloud/tsf/v20180326/tsf_client.py +66 -47
  214. tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
  215. tencentcloud/tts/v20190823/tts_client.py +1 -1
  216. tencentcloud/tts/v20190823/tts_client_async.py +1 -1
  217. tencentcloud/vclm/v20240523/models.py +383 -0
  218. tencentcloud/vclm/v20240523/vclm_client.py +46 -0
  219. tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
  220. tencentcloud/vcube/v20220410/models.py +30 -0
  221. tencentcloud/vdb/v20230616/models.py +567 -0
  222. tencentcloud/vdb/v20230616/vdb_client.py +69 -0
  223. tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
  224. tencentcloud/vm/v20210922/models.py +116 -0
  225. tencentcloud/vod/v20180717/errorcodes.py +3 -0
  226. tencentcloud/vod/v20180717/models.py +4107 -622
  227. tencentcloud/vod/v20180717/vod_client.py +72 -3
  228. tencentcloud/vod/v20180717/vod_client_async.py +57 -3
  229. tencentcloud/vpc/v20170312/errorcodes.py +15 -0
  230. tencentcloud/vpc/v20170312/models.py +387 -2
  231. tencentcloud/vpc/v20170312/vpc_client.py +23 -0
  232. tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
  233. tencentcloud/waf/v20180125/errorcodes.py +3 -0
  234. tencentcloud/waf/v20180125/models.py +970 -0
  235. tencentcloud/waf/v20180125/waf_client.py +46 -0
  236. tencentcloud/waf/v20180125/waf_client_async.py +36 -0
  237. tencentcloud/wedata/v20210820/models.py +2851 -29
  238. tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  239. tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
  240. tencentcloud/wedata/v20250806/errorcodes.py +21 -0
  241. tencentcloud/wedata/v20250806/models.py +40999 -15704
  242. tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
  243. tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
  244. tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
  245. tencentcloud/weilingwith/v20230427/models.py +17 -336
  246. tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
  247. tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
  248. tencentcloud/wimgs/__init__.py +0 -0
  249. tencentcloud/wimgs/v20251106/__init__.py +0 -0
  250. tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
  251. tencentcloud/wimgs/v20251106/models.py +132 -0
  252. tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
  253. tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
  254. tencentcloud/wsa/v20250508/errorcodes.py +6 -0
  255. tencentcloud/wsa/v20250508/models.py +17 -2
  256. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
  257. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
  258. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
  259. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
  260. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/top_level.txt +0 -0
@@ -216,6 +216,138 @@ class ChangeClothesResponse(AbstractModel):
216
216
  self._RequestId = params.get("RequestId")
217
217
 
218
218
 
219
+ class DescribeTemplateToImageJobRequest(AbstractModel):
220
+ r"""DescribeTemplateToImageJob请求参数结构体
221
+
222
+ """
223
+
224
+ def __init__(self):
225
+ r"""
226
+ :param _JobId: 任务 ID。
227
+ :type JobId: str
228
+ """
229
+ self._JobId = None
230
+
231
+ @property
232
+ def JobId(self):
233
+ r"""任务 ID。
234
+ :rtype: str
235
+ """
236
+ return self._JobId
237
+
238
+ @JobId.setter
239
+ def JobId(self, JobId):
240
+ self._JobId = JobId
241
+
242
+
243
+ def _deserialize(self, params):
244
+ self._JobId = params.get("JobId")
245
+ memeber_set = set(params.keys())
246
+ for name, value in vars(self).items():
247
+ property_name = name[1:]
248
+ if property_name in memeber_set:
249
+ memeber_set.remove(property_name)
250
+ if len(memeber_set) > 0:
251
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
252
+
253
+
254
+
255
+ class DescribeTemplateToImageJobResponse(AbstractModel):
256
+ r"""DescribeTemplateToImageJob返回参数结构体
257
+
258
+ """
259
+
260
+ def __init__(self):
261
+ r"""
262
+ :param _Status: 当前任务状态码:
263
+ 1:等待中、2:运行中、4:处理失败、5:处理完成。
264
+ :type Status: str
265
+ :param _ErrorCode: 任务处理失败错误码。
266
+
267
+ :type ErrorCode: str
268
+ :param _ErrorMessage: 任务处理失败错误信息。
269
+
270
+ :type ErrorMessage: str
271
+ :param _ResultImage: 生成图 URL 列表,有效期1小时,请及时保存。
272
+
273
+ :type ResultImage: list of str
274
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
275
+ :type RequestId: str
276
+ """
277
+ self._Status = None
278
+ self._ErrorCode = None
279
+ self._ErrorMessage = None
280
+ self._ResultImage = None
281
+ self._RequestId = None
282
+
283
+ @property
284
+ def Status(self):
285
+ r"""当前任务状态码:
286
+ 1:等待中、2:运行中、4:处理失败、5:处理完成。
287
+ :rtype: str
288
+ """
289
+ return self._Status
290
+
291
+ @Status.setter
292
+ def Status(self, Status):
293
+ self._Status = Status
294
+
295
+ @property
296
+ def ErrorCode(self):
297
+ r"""任务处理失败错误码。
298
+
299
+ :rtype: str
300
+ """
301
+ return self._ErrorCode
302
+
303
+ @ErrorCode.setter
304
+ def ErrorCode(self, ErrorCode):
305
+ self._ErrorCode = ErrorCode
306
+
307
+ @property
308
+ def ErrorMessage(self):
309
+ r"""任务处理失败错误信息。
310
+
311
+ :rtype: str
312
+ """
313
+ return self._ErrorMessage
314
+
315
+ @ErrorMessage.setter
316
+ def ErrorMessage(self, ErrorMessage):
317
+ self._ErrorMessage = ErrorMessage
318
+
319
+ @property
320
+ def ResultImage(self):
321
+ r"""生成图 URL 列表,有效期1小时,请及时保存。
322
+
323
+ :rtype: list of str
324
+ """
325
+ return self._ResultImage
326
+
327
+ @ResultImage.setter
328
+ def ResultImage(self, ResultImage):
329
+ self._ResultImage = ResultImage
330
+
331
+ @property
332
+ def RequestId(self):
333
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
334
+ :rtype: str
335
+ """
336
+ return self._RequestId
337
+
338
+ @RequestId.setter
339
+ def RequestId(self, RequestId):
340
+ self._RequestId = RequestId
341
+
342
+
343
+ def _deserialize(self, params):
344
+ self._Status = params.get("Status")
345
+ self._ErrorCode = params.get("ErrorCode")
346
+ self._ErrorMessage = params.get("ErrorMessage")
347
+ self._ResultImage = params.get("ResultImage")
348
+ self._RequestId = params.get("RequestId")
349
+
350
+
219
351
  class FaceInfo(AbstractModel):
220
352
  r"""融合信息
221
353
 
@@ -3766,6 +3898,163 @@ class SubmitMemeJobResponse(AbstractModel):
3766
3898
  self._RequestId = params.get("RequestId")
3767
3899
 
3768
3900
 
3901
+ class SubmitTemplateToImageJobRequest(AbstractModel):
3902
+ r"""SubmitTemplateToImageJob请求参数结构体
3903
+
3904
+ """
3905
+
3906
+ def __init__(self):
3907
+ r"""
3908
+ :param _Image: 算法将根据输入的图片,结合文本描述智能生成与之相关的图像。
3909
+ Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
3910
+ 图片限制:单边分辨率小于5000且大于50,转成 Base64 字符串后小于 8MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。
3911
+ :type Image: :class:`tencentcloud.aiart.v20221229.models.Image`
3912
+ :param _Style: 绘画风格当前仅支持美术馆风格(gallerying)。
3913
+ :type Style: str
3914
+ :param _Mode: 特效模式,默认使用人像模式。 Person:人像模式,仅支持上传人像图片,人像生成效果更好【这里需要加非人脸的拦截】。 Pet:宠物模式,支持宠物等非人像图片。 示例值:Person
3915
+ :type Mode: str
3916
+ :param _LogoAdd: 为生成结果图添加显式水印标识的开关,默认为1。
3917
+ 1:添加。
3918
+ 0:不添加。
3919
+ 其他数值:默认按1处理。
3920
+ 建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。
3921
+ :type LogoAdd: int
3922
+ :param _LogoParam: 标识内容设置。
3923
+ 默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。
3924
+ :type LogoParam: :class:`tencentcloud.aiart.v20221229.models.LogoParam`
3925
+ """
3926
+ self._Image = None
3927
+ self._Style = None
3928
+ self._Mode = None
3929
+ self._LogoAdd = None
3930
+ self._LogoParam = None
3931
+
3932
+ @property
3933
+ def Image(self):
3934
+ r"""算法将根据输入的图片,结合文本描述智能生成与之相关的图像。
3935
+ Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
3936
+ 图片限制:单边分辨率小于5000且大于50,转成 Base64 字符串后小于 8MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。
3937
+ :rtype: :class:`tencentcloud.aiart.v20221229.models.Image`
3938
+ """
3939
+ return self._Image
3940
+
3941
+ @Image.setter
3942
+ def Image(self, Image):
3943
+ self._Image = Image
3944
+
3945
+ @property
3946
+ def Style(self):
3947
+ r"""绘画风格当前仅支持美术馆风格(gallerying)。
3948
+ :rtype: str
3949
+ """
3950
+ return self._Style
3951
+
3952
+ @Style.setter
3953
+ def Style(self, Style):
3954
+ self._Style = Style
3955
+
3956
+ @property
3957
+ def Mode(self):
3958
+ r"""特效模式,默认使用人像模式。 Person:人像模式,仅支持上传人像图片,人像生成效果更好【这里需要加非人脸的拦截】。 Pet:宠物模式,支持宠物等非人像图片。 示例值:Person
3959
+ :rtype: str
3960
+ """
3961
+ return self._Mode
3962
+
3963
+ @Mode.setter
3964
+ def Mode(self, Mode):
3965
+ self._Mode = Mode
3966
+
3967
+ @property
3968
+ def LogoAdd(self):
3969
+ r"""为生成结果图添加显式水印标识的开关,默认为1。
3970
+ 1:添加。
3971
+ 0:不添加。
3972
+ 其他数值:默认按1处理。
3973
+ 建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。
3974
+ :rtype: int
3975
+ """
3976
+ return self._LogoAdd
3977
+
3978
+ @LogoAdd.setter
3979
+ def LogoAdd(self, LogoAdd):
3980
+ self._LogoAdd = LogoAdd
3981
+
3982
+ @property
3983
+ def LogoParam(self):
3984
+ r"""标识内容设置。
3985
+ 默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。
3986
+ :rtype: :class:`tencentcloud.aiart.v20221229.models.LogoParam`
3987
+ """
3988
+ return self._LogoParam
3989
+
3990
+ @LogoParam.setter
3991
+ def LogoParam(self, LogoParam):
3992
+ self._LogoParam = LogoParam
3993
+
3994
+
3995
+ def _deserialize(self, params):
3996
+ if params.get("Image") is not None:
3997
+ self._Image = Image()
3998
+ self._Image._deserialize(params.get("Image"))
3999
+ self._Style = params.get("Style")
4000
+ self._Mode = params.get("Mode")
4001
+ self._LogoAdd = params.get("LogoAdd")
4002
+ if params.get("LogoParam") is not None:
4003
+ self._LogoParam = LogoParam()
4004
+ self._LogoParam._deserialize(params.get("LogoParam"))
4005
+ memeber_set = set(params.keys())
4006
+ for name, value in vars(self).items():
4007
+ property_name = name[1:]
4008
+ if property_name in memeber_set:
4009
+ memeber_set.remove(property_name)
4010
+ if len(memeber_set) > 0:
4011
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4012
+
4013
+
4014
+
4015
+ class SubmitTemplateToImageJobResponse(AbstractModel):
4016
+ r"""SubmitTemplateToImageJob返回参数结构体
4017
+
4018
+ """
4019
+
4020
+ def __init__(self):
4021
+ r"""
4022
+ :param _JobId: 任务 ID。
4023
+ :type JobId: str
4024
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4025
+ :type RequestId: str
4026
+ """
4027
+ self._JobId = None
4028
+ self._RequestId = None
4029
+
4030
+ @property
4031
+ def JobId(self):
4032
+ r"""任务 ID。
4033
+ :rtype: str
4034
+ """
4035
+ return self._JobId
4036
+
4037
+ @JobId.setter
4038
+ def JobId(self, JobId):
4039
+ self._JobId = JobId
4040
+
4041
+ @property
4042
+ def RequestId(self):
4043
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4044
+ :rtype: str
4045
+ """
4046
+ return self._RequestId
4047
+
4048
+ @RequestId.setter
4049
+ def RequestId(self, RequestId):
4050
+ self._RequestId = RequestId
4051
+
4052
+
4053
+ def _deserialize(self, params):
4054
+ self._JobId = params.get("JobId")
4055
+ self._RequestId = params.get("RequestId")
4056
+
4057
+
3769
4058
  class SubmitTextToImageJobRequest(AbstractModel):
3770
4059
  r"""SubmitTextToImageJob请求参数结构体
3771
4060
 
@@ -64,6 +64,10 @@ class AudioResult(AbstractModel):
64
64
  :type SubTagCode: str
65
65
  :param _HitType: 审核检测类型
66
66
  :type HitType: str
67
+ :param _Sentences: ASR句子的起止时间
68
+ :type Sentences: list of Sentence
69
+ :param _RequestId: 切片请求ID
70
+ :type RequestId: str
67
71
  """
68
72
  self._HitFlag = None
69
73
  self._Label = None
@@ -84,6 +88,8 @@ class AudioResult(AbstractModel):
84
88
  self._SubTag = None
85
89
  self._SubTagCode = None
86
90
  self._HitType = None
91
+ self._Sentences = None
92
+ self._RequestId = None
87
93
 
88
94
  @property
89
95
  def HitFlag(self):
@@ -295,6 +301,28 @@ class AudioResult(AbstractModel):
295
301
  def HitType(self, HitType):
296
302
  self._HitType = HitType
297
303
 
304
+ @property
305
+ def Sentences(self):
306
+ r"""ASR句子的起止时间
307
+ :rtype: list of Sentence
308
+ """
309
+ return self._Sentences
310
+
311
+ @Sentences.setter
312
+ def Sentences(self, Sentences):
313
+ self._Sentences = Sentences
314
+
315
+ @property
316
+ def RequestId(self):
317
+ r"""切片请求ID
318
+ :rtype: str
319
+ """
320
+ return self._RequestId
321
+
322
+ @RequestId.setter
323
+ def RequestId(self, RequestId):
324
+ self._RequestId = RequestId
325
+
298
326
 
299
327
  def _deserialize(self, params):
300
328
  self._HitFlag = params.get("HitFlag")
@@ -351,6 +379,13 @@ class AudioResult(AbstractModel):
351
379
  self._SubTag = params.get("SubTag")
352
380
  self._SubTagCode = params.get("SubTagCode")
353
381
  self._HitType = params.get("HitType")
382
+ if params.get("Sentences") is not None:
383
+ self._Sentences = []
384
+ for item in params.get("Sentences"):
385
+ obj = Sentence()
386
+ obj._deserialize(item)
387
+ self._Sentences.append(obj)
388
+ self._RequestId = params.get("RequestId")
354
389
  memeber_set = set(params.keys())
355
390
  for name, value in vars(self).items():
356
391
  property_name = name[1:]
@@ -2753,6 +2788,72 @@ class RecognitionResult(AbstractModel):
2753
2788
 
2754
2789
 
2755
2790
 
2791
+ class Sentence(AbstractModel):
2792
+ r"""ASR识别结果在音频中的起止时间
2793
+
2794
+ """
2795
+
2796
+ def __init__(self):
2797
+ r"""
2798
+ :param _Text: ASR句子
2799
+ :type Text: str
2800
+ :param _StartTime: 起始时间
2801
+ :type StartTime: str
2802
+ :param _EndTime: 结束时间
2803
+ :type EndTime: str
2804
+ """
2805
+ self._Text = None
2806
+ self._StartTime = None
2807
+ self._EndTime = None
2808
+
2809
+ @property
2810
+ def Text(self):
2811
+ r"""ASR句子
2812
+ :rtype: str
2813
+ """
2814
+ return self._Text
2815
+
2816
+ @Text.setter
2817
+ def Text(self, Text):
2818
+ self._Text = Text
2819
+
2820
+ @property
2821
+ def StartTime(self):
2822
+ r"""起始时间
2823
+ :rtype: str
2824
+ """
2825
+ return self._StartTime
2826
+
2827
+ @StartTime.setter
2828
+ def StartTime(self, StartTime):
2829
+ self._StartTime = StartTime
2830
+
2831
+ @property
2832
+ def EndTime(self):
2833
+ r"""结束时间
2834
+ :rtype: str
2835
+ """
2836
+ return self._EndTime
2837
+
2838
+ @EndTime.setter
2839
+ def EndTime(self, EndTime):
2840
+ self._EndTime = EndTime
2841
+
2842
+
2843
+ def _deserialize(self, params):
2844
+ self._Text = params.get("Text")
2845
+ self._StartTime = params.get("StartTime")
2846
+ self._EndTime = params.get("EndTime")
2847
+ memeber_set = set(params.keys())
2848
+ for name, value in vars(self).items():
2849
+ property_name = name[1:]
2850
+ if property_name in memeber_set:
2851
+ memeber_set.remove(property_name)
2852
+ if len(memeber_set) > 0:
2853
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2854
+
2855
+
2856
+
2756
2857
  class SpeakerResults(AbstractModel):
2757
2858
  r"""说话人结果
2758
2859
 
@@ -72,6 +72,29 @@ class AntiddosClient(AbstractClient):
72
72
  raise TencentCloudSDKException(type(e).__name__, str(e))
73
73
 
74
74
 
75
+ def CreateBgpInstance(self, request):
76
+ r"""通过API 购买高防包接口
77
+
78
+ :param request: Request instance for CreateBgpInstance.
79
+ :type request: :class:`tencentcloud.antiddos.v20200309.models.CreateBgpInstanceRequest`
80
+ :rtype: :class:`tencentcloud.antiddos.v20200309.models.CreateBgpInstanceResponse`
81
+
82
+ """
83
+ try:
84
+ params = request._serialize()
85
+ headers = request.headers
86
+ body = self.call("CreateBgpInstance", params, headers=headers)
87
+ response = json.loads(body)
88
+ model = models.CreateBgpInstanceResponse()
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
+
75
98
  def CreateBlackWhiteIpList(self, request):
76
99
  r"""添加DDoS防护的IP黑白名单
77
100
 
@@ -946,6 +969,29 @@ class AntiddosClient(AbstractClient):
946
969
  raise TencentCloudSDKException(type(e).__name__, str(e))
947
970
 
948
971
 
972
+ def DescribeBgpInstances(self, request):
973
+ r"""购买后,查询购买的高防包实例信息
974
+
975
+ :param request: Request instance for DescribeBgpInstances.
976
+ :type request: :class:`tencentcloud.antiddos.v20200309.models.DescribeBgpInstancesRequest`
977
+ :rtype: :class:`tencentcloud.antiddos.v20200309.models.DescribeBgpInstancesResponse`
978
+
979
+ """
980
+ try:
981
+ params = request._serialize()
982
+ headers = request.headers
983
+ body = self.call("DescribeBgpInstances", params, headers=headers)
984
+ response = json.loads(body)
985
+ model = models.DescribeBgpInstancesResponse()
986
+ model._deserialize(response["Response"])
987
+ return model
988
+ except Exception as e:
989
+ if isinstance(e, TencentCloudSDKException):
990
+ raise
991
+ else:
992
+ raise TencentCloudSDKException(type(e).__name__, str(e))
993
+
994
+
949
995
  def DescribeBizHttpStatus(self, request):
950
996
  r"""获取业务流量状态码统计列表
951
997
 
@@ -1567,6 +1613,29 @@ class AntiddosClient(AbstractClient):
1567
1613
  raise TencentCloudSDKException(type(e).__name__, str(e))
1568
1614
 
1569
1615
 
1616
+ def DescribeListProtectThresholdConfigNew(self, request):
1617
+ r"""获取防护阈值配置列表,包括DDoS的AI、等级、CC阈值开关等。
1618
+
1619
+ :param request: Request instance for DescribeListProtectThresholdConfigNew.
1620
+ :type request: :class:`tencentcloud.antiddos.v20200309.models.DescribeListProtectThresholdConfigNewRequest`
1621
+ :rtype: :class:`tencentcloud.antiddos.v20200309.models.DescribeListProtectThresholdConfigNewResponse`
1622
+
1623
+ """
1624
+ try:
1625
+ params = request._serialize()
1626
+ headers = request.headers
1627
+ body = self.call("DescribeListProtectThresholdConfigNew", params, headers=headers)
1628
+ response = json.loads(body)
1629
+ model = models.DescribeListProtectThresholdConfigNewResponse()
1630
+ model._deserialize(response["Response"])
1631
+ return model
1632
+ except Exception as e:
1633
+ if isinstance(e, TencentCloudSDKException):
1634
+ raise
1635
+ else:
1636
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1637
+
1638
+
1570
1639
  def DescribeListProtocolBlockConfig(self, request):
1571
1640
  r"""获取DDoS防护的协议封禁配置列表
1572
1641
 
@@ -61,6 +61,24 @@ class AntiddosClient(AbstractClient):
61
61
 
62
62
  return await self.call_and_deserialize(**kwargs)
63
63
 
64
+ async def CreateBgpInstance(
65
+ self,
66
+ request: models.CreateBgpInstanceRequest,
67
+ opts: Dict = None,
68
+ ) -> models.CreateBgpInstanceResponse:
69
+ """
70
+ 通过API 购买高防包接口
71
+ """
72
+
73
+ kwargs = {}
74
+ kwargs["action"] = "CreateBgpInstance"
75
+ kwargs["params"] = request._serialize()
76
+ kwargs["resp_cls"] = models.CreateBgpInstanceResponse
77
+ kwargs["headers"] = request.headers
78
+ kwargs["opts"] = opts or {}
79
+
80
+ return await self.call_and_deserialize(**kwargs)
81
+
64
82
  async def CreateBlackWhiteIpList(
65
83
  self,
66
84
  request: models.CreateBlackWhiteIpListRequest,
@@ -745,6 +763,24 @@ class AntiddosClient(AbstractClient):
745
763
 
746
764
  return await self.call_and_deserialize(**kwargs)
747
765
 
766
+ async def DescribeBgpInstances(
767
+ self,
768
+ request: models.DescribeBgpInstancesRequest,
769
+ opts: Dict = None,
770
+ ) -> models.DescribeBgpInstancesResponse:
771
+ """
772
+ 购买后,查询购买的高防包实例信息
773
+ """
774
+
775
+ kwargs = {}
776
+ kwargs["action"] = "DescribeBgpInstances"
777
+ kwargs["params"] = request._serialize()
778
+ kwargs["resp_cls"] = models.DescribeBgpInstancesResponse
779
+ kwargs["headers"] = request.headers
780
+ kwargs["opts"] = opts or {}
781
+
782
+ return await self.call_and_deserialize(**kwargs)
783
+
748
784
  async def DescribeBizHttpStatus(
749
785
  self,
750
786
  request: models.DescribeBizHttpStatusRequest,
@@ -1231,6 +1267,24 @@ class AntiddosClient(AbstractClient):
1231
1267
 
1232
1268
  return await self.call_and_deserialize(**kwargs)
1233
1269
 
1270
+ async def DescribeListProtectThresholdConfigNew(
1271
+ self,
1272
+ request: models.DescribeListProtectThresholdConfigNewRequest,
1273
+ opts: Dict = None,
1274
+ ) -> models.DescribeListProtectThresholdConfigNewResponse:
1275
+ """
1276
+ 获取防护阈值配置列表,包括DDoS的AI、等级、CC阈值开关等。
1277
+ """
1278
+
1279
+ kwargs = {}
1280
+ kwargs["action"] = "DescribeListProtectThresholdConfigNew"
1281
+ kwargs["params"] = request._serialize()
1282
+ kwargs["resp_cls"] = models.DescribeListProtectThresholdConfigNewResponse
1283
+ kwargs["headers"] = request.headers
1284
+ kwargs["opts"] = opts or {}
1285
+
1286
+ return await self.call_and_deserialize(**kwargs)
1287
+
1234
1288
  async def DescribeListProtocolBlockConfig(
1235
1289
  self,
1236
1290
  request: models.DescribeListProtocolBlockConfigRequest,
@@ -23,12 +23,18 @@ DRYRUNOPERATION = 'DryRunOperation'
23
23
  # 操作失败。
24
24
  FAILEDOPERATION = 'FailedOperation'
25
25
 
26
+ # 账户余额不足
27
+ FAILEDOPERATION_INSUFFICIENTBALANCE = 'FailedOperation.InsufficientBalance'
28
+
26
29
  # 内部错误。
27
30
  INTERNALERROR = 'InternalError'
28
31
 
29
32
  # 参数错误。
30
33
  INVALIDPARAMETER = 'InvalidParameter'
31
34
 
35
+ # 这个参数需要开启白名单才可以使用
36
+ INVALIDPARAMETER_SPECIALPARAMETERFORSPECIALACCOUNT = 'InvalidParameter.SpecialParameterForSpecialAccount'
37
+
32
38
  # 参数取值错误。
33
39
  INVALIDPARAMETERVALUE = 'InvalidParameterValue'
34
40
 
@@ -67,3 +73,24 @@ UNKNOWNPARAMETER = 'UnknownParameter'
67
73
 
68
74
  # 操作不支持。
69
75
  UNSUPPORTEDOPERATION = 'UnsupportedOperation'
76
+
77
+ # 不支持此业务带宽
78
+ UNSUPPORTEDOPERATION_BANDWIDTHNOTSUPPORTED = 'UnsupportedOperation.BandwidthNotSupported'
79
+
80
+ # 不支持此保底防护带宽的取值
81
+ UNSUPPORTEDOPERATION_BASICPROTECTBANDWIDTHNOTSUPPORTED = 'UnsupportedOperation.BasicProtectBandwidthNotSupported'
82
+
83
+ # 不支持此弹性带宽的取值
84
+ UNSUPPORTEDOPERATION_ELASTICPROTECTBANDWIDTHNOTSUPPORTED = 'UnsupportedOperation.ElasticProtectBandwidthNotSupported'
85
+
86
+ # 不支持此种付费类型
87
+ UNSUPPORTEDOPERATION_INSTANCECHARGETYPENOTSUPPORTED = 'UnsupportedOperation.InstanceChargeTypeNotSupported'
88
+
89
+ # 不支持该计费周期,参考对应高防包支持的计费周期
90
+ UNSUPPORTEDOPERATION_PERIODNOTSUPPORTED = 'UnsupportedOperation.PeriodNotSupported'
91
+
92
+ # 不支持该防护IP数量取值
93
+ UNSUPPORTEDOPERATION_PROTECTIPCOUNTNOTSUPPORTED = 'UnsupportedOperation.ProtectIpCountNotSupported'
94
+
95
+ # 不支持此地域
96
+ UNSUPPORTEDOPERATION_REGIONNOTSUPPORTED = 'UnsupportedOperation.RegionNotSupported'