tencentcloud-sdk-python 3.0.1491__py2.py3-none-any.whl → 3.1.6__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 (391) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aai/v20180522/aai_client_async.py +100 -0
  3. tencentcloud/aca/v20210323/aca_client_async.py +170 -0
  4. tencentcloud/acp/v20220105/acp_client_async.py +170 -0
  5. tencentcloud/advisor/v20200721/advisor_client_async.py +62 -0
  6. tencentcloud/af/v20200226/af_client_async.py +86 -0
  7. tencentcloud/afc/v20200226/afc_client_async.py +82 -0
  8. tencentcloud/ags/v20250920/ags_client_async.py +243 -0
  9. tencentcloud/ai3d/v20250513/ai3d_client_async.py +102 -0
  10. tencentcloud/aiart/v20221229/aiart_client_async.py +513 -0
  11. tencentcloud/ame/v20190916/ame_client_async.py +586 -0
  12. tencentcloud/ams/v20200608/ams_client_async.py +179 -0
  13. tencentcloud/ams/v20201229/ams_client_async.py +169 -0
  14. tencentcloud/anicloud/v20220923/anicloud_client_async.py +80 -0
  15. tencentcloud/antiddos/v20200309/antiddos_client_async.py +1718 -0
  16. tencentcloud/ape/v20200513/ape_client_async.py +170 -0
  17. tencentcloud/api/v20201106/api_client_async.py +80 -0
  18. tencentcloud/apigateway/v20180808/apigateway_client_async.py +1830 -0
  19. tencentcloud/apm/v20210622/apm_client_async.py +495 -0
  20. tencentcloud/asr/v20190614/asr_client_async.py +647 -0
  21. tencentcloud/asw/v20200722/asw_client_async.py +188 -0
  22. tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -0
  23. tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1230 -0
  24. tencentcloud/autoscaling/v20180419/models.py +36 -0
  25. tencentcloud/ba/v20200720/ba_client_async.py +81 -0
  26. tencentcloud/batch/v20170312/batch_client_async.py +582 -0
  27. tencentcloud/bda/v20200324/bda_client_async.py +116 -0
  28. tencentcloud/bh/v20230418/bh_client.py +230 -0
  29. tencentcloud/bh/v20230418/bh_client_async.py +1844 -0
  30. tencentcloud/bh/v20230418/models.py +1677 -216
  31. tencentcloud/bi/v20220105/bi_client_async.py +548 -0
  32. tencentcloud/billing/v20180709/billing_client_async.py +1149 -0
  33. tencentcloud/bizlive/v20190313/bizlive_client_async.py +134 -0
  34. tencentcloud/bm/v20180423/bm_client_async.py +1012 -0
  35. tencentcloud/bma/v20210624/bma_client_async.py +530 -0
  36. tencentcloud/bma/v20221115/bma_client_async.py +224 -0
  37. tencentcloud/bmeip/v20180625/bmeip_client_async.py +386 -0
  38. tencentcloud/bmlb/v20180625/bmlb_client_async.py +908 -0
  39. tencentcloud/bmvpc/v20180625/bmvpc_client_async.py +1171 -0
  40. tencentcloud/bpaas/v20181217/bpaas_client_async.py +62 -0
  41. tencentcloud/bri/v20190328/bri_client_async.py +58 -0
  42. tencentcloud/bsca/v20210811/bsca_client_async.py +152 -0
  43. tencentcloud/btoe/v20210303/btoe_client_async.py +267 -0
  44. tencentcloud/btoe/v20210514/btoe_client_async.py +287 -0
  45. tencentcloud/ca/v20230228/ca_client_async.py +80 -0
  46. tencentcloud/cam/v20190116/cam_client_async.py +1684 -0
  47. tencentcloud/captcha/v20190722/captcha_client_async.py +350 -0
  48. tencentcloud/car/v20220110/car_client_async.py +134 -0
  49. tencentcloud/cat/v20180409/cat_client_async.py +279 -0
  50. tencentcloud/cbs/v20170312/cbs_client_async.py +959 -0
  51. tencentcloud/ccc/v20200210/ccc_client_async.py +1494 -0
  52. tencentcloud/ccc/v20200210/models.py +15 -0
  53. tencentcloud/cdb/v20170320/cdb_client_async.py +3254 -0
  54. tencentcloud/cdb/v20170320/models.py +74 -44
  55. tencentcloud/cdc/v20201214/cdc_client_async.py +440 -0
  56. tencentcloud/cdn/v20180606/cdn_client_async.py +1090 -0
  57. tencentcloud/cds/v20180420/cds_client_async.py +116 -0
  58. tencentcloud/cdwch/v20200915/cdwch_client_async.py +548 -0
  59. tencentcloud/cdwch/v20200915/models.py +34 -4
  60. tencentcloud/cdwdoris/v20211228/cdwdoris_client_async.py +1106 -0
  61. tencentcloud/cdwpg/v20201230/cdwpg_client_async.py +458 -0
  62. tencentcloud/cdz/v20221123/cdz_client_async.py +62 -0
  63. tencentcloud/cfg/v20210820/cfg_client_async.py +332 -0
  64. tencentcloud/cfs/v20190719/cfs_client_async.py +1054 -0
  65. tencentcloud/cfs/v20190719/models.py +40 -0
  66. tencentcloud/cfw/v20190904/cfw_client.py +23 -0
  67. tencentcloud/cfw/v20190904/cfw_client_async.py +2067 -0
  68. tencentcloud/cfw/v20190904/models.py +784 -8
  69. tencentcloud/chc/v20230418/chc_client_async.py +710 -0
  70. tencentcloud/chdfs/v20190718/chdfs_client_async.py +546 -0
  71. tencentcloud/chdfs/v20201112/chdfs_client_async.py +548 -0
  72. tencentcloud/ciam/v20220331/ciam_client_async.py +440 -0
  73. tencentcloud/cii/v20201210/cii_client_async.py +80 -0
  74. tencentcloud/cii/v20210408/cii_client_async.py +262 -0
  75. tencentcloud/cim/v20190318/cim_client_async.py +44 -0
  76. tencentcloud/ckafka/v20190819/ckafka_client.py +92 -0
  77. tencentcloud/ckafka/v20190819/ckafka_client_async.py +1701 -0
  78. tencentcloud/ckafka/v20190819/errorcodes.py +3 -0
  79. tencentcloud/ckafka/v20190819/models.py +741 -62
  80. tencentcloud/clb/v20180317/clb_client_async.py +1683 -0
  81. tencentcloud/cloudapp/v20220530/cloudapp_client_async.py +175 -0
  82. tencentcloud/cloudaudit/v20190319/cloudaudit_client_async.py +372 -0
  83. tencentcloud/cloudhsm/v20191112/cloudhsm_client_async.py +278 -0
  84. tencentcloud/cloudhsm/v20191112/models.py +49 -0
  85. tencentcloud/cloudstudio/v20230508/cloudstudio_client_async.py +188 -0
  86. tencentcloud/cls/v20201016/cls_client.py +92 -0
  87. tencentcloud/cls/v20201016/cls_client_async.py +2362 -0
  88. tencentcloud/cls/v20201016/models.py +1427 -74
  89. tencentcloud/cme/v20191029/cme_client_async.py +983 -0
  90. tencentcloud/cmq/v20190304/cmq_client_async.py +62 -0
  91. tencentcloud/cms/v20190321/cms_client_async.py +134 -0
  92. tencentcloud/common/abstract_client_async.py +654 -0
  93. tencentcloud/common/common_client_async.py +45 -0
  94. tencentcloud/common/http/request_async.py +62 -0
  95. tencentcloud/common/retry_async.py +87 -0
  96. tencentcloud/config/v20220802/config_client_async.py +152 -0
  97. tencentcloud/controlcenter/v20230110/controlcenter_client_async.py +116 -0
  98. tencentcloud/cpdp/v20190820/cpdp_client_async.py +3979 -0
  99. tencentcloud/csip/v20221121/csip_client.py +1 -1
  100. tencentcloud/csip/v20221121/csip_client_async.py +1502 -0
  101. tencentcloud/csip/v20221121/models.py +105 -0
  102. tencentcloud/csxg/v20230303/csxg_client_async.py +116 -0
  103. tencentcloud/ctem/v20231128/ctem_client.py +644 -0
  104. tencentcloud/ctem/v20231128/ctem_client_async.py +1124 -0
  105. tencentcloud/ctem/v20231128/models.py +4999 -711
  106. tencentcloud/ctsdb/v20230202/ctsdb_client_async.py +69 -0
  107. tencentcloud/cvm/v20170312/cvm_client.py +1 -1
  108. tencentcloud/cvm/v20170312/cvm_client_async.py +2025 -0
  109. tencentcloud/cvm/v20170312/errorcodes.py +3 -0
  110. tencentcloud/cvm/v20170312/models.py +14 -14
  111. tencentcloud/cwp/v20180228/cwp_client_async.py +9288 -0
  112. tencentcloud/cws/v20180312/cws_client_async.py +368 -0
  113. tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +3068 -0
  114. tencentcloud/cynosdb/v20190107/models.py +99 -2
  115. tencentcloud/dasb/v20191018/dasb_client_async.py +1160 -0
  116. tencentcloud/dataagent/v20250513/dataagent_client_async.py +224 -0
  117. tencentcloud/dataagent/v20250513/models.py +15 -0
  118. tencentcloud/dayu/v20180709/dayu_client_async.py +2042 -0
  119. tencentcloud/dbbrain/v20191016/dbbrain_client_async.py +530 -0
  120. tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
  121. tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +1538 -0
  122. tencentcloud/dbbrain/v20210527/models.py +463 -12
  123. tencentcloud/dbdc/v20201029/dbdc_client_async.py +134 -0
  124. tencentcloud/dc/v20180410/dc_client_async.py +425 -0
  125. tencentcloud/dcdb/v20180411/dcdb_client_async.py +1541 -0
  126. tencentcloud/dlc/v20210125/dlc_client.py +23 -0
  127. tencentcloud/dlc/v20210125/dlc_client_async.py +3322 -0
  128. tencentcloud/dlc/v20210125/errorcodes.py +9 -0
  129. tencentcloud/dlc/v20210125/models.py +1424 -17
  130. tencentcloud/dnspod/v20210323/dnspod_client_async.py +1710 -0
  131. tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
  132. tencentcloud/dnspod/v20210323/models.py +2 -2
  133. tencentcloud/domain/v20180808/domain_client_async.py +1022 -0
  134. tencentcloud/drm/v20181115/drm_client_async.py +231 -0
  135. tencentcloud/ds/v20180523/ds_client_async.py +244 -0
  136. tencentcloud/dsgc/v20190723/dsgc_client_async.py +2452 -0
  137. tencentcloud/dsgc/v20190723/models.py +36 -36
  138. tencentcloud/dts/v20180330/dts_client_async.py +438 -0
  139. tencentcloud/dts/v20211206/dts_client.py +184 -0
  140. tencentcloud/dts/v20211206/dts_client_async.py +1480 -0
  141. tencentcloud/dts/v20211206/models.py +1275 -98
  142. tencentcloud/eb/v20210416/eb_client_async.py +602 -0
  143. tencentcloud/ecc/v20181213/ecc_client_async.py +100 -0
  144. tencentcloud/ecdn/v20191012/ecdn_client_async.py +162 -0
  145. tencentcloud/ecm/v20190719/ecm_client_async.py +2602 -0
  146. tencentcloud/eiam/v20210420/eiam_client_async.py +782 -0
  147. tencentcloud/eis/v20200715/eis_client_async.py +80 -0
  148. tencentcloud/eis/v20210601/eis_client_async.py +116 -0
  149. tencentcloud/emr/v20190103/emr_client.py +23 -0
  150. tencentcloud/emr/v20190103/emr_client_async.py +1659 -0
  151. tencentcloud/emr/v20190103/models.py +395 -0
  152. tencentcloud/es/v20180416/es_client_async.py +1209 -0
  153. tencentcloud/es/v20250101/es_client.py +6 -5
  154. tencentcloud/es/v20250101/es_client_async.py +216 -0
  155. tencentcloud/es/v20250101/models.py +6 -6
  156. tencentcloud/ess/v20201111/ess_client.py +6 -2
  157. tencentcloud/ess/v20201111/ess_client_async.py +3406 -0
  158. tencentcloud/ess/v20201111/models.py +468 -19
  159. tencentcloud/essbasic/v20201222/essbasic_client_async.py +1029 -0
  160. tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
  161. tencentcloud/essbasic/v20210526/essbasic_client_async.py +2757 -0
  162. tencentcloud/essbasic/v20210526/models.py +320 -6
  163. tencentcloud/evt/__init__.py +0 -0
  164. tencentcloud/evt/v20250217/__init__.py +0 -0
  165. tencentcloud/evt/v20250217/errorcodes.py +15 -0
  166. tencentcloud/evt/v20250217/evt_client.py +49 -0
  167. tencentcloud/evt/v20250217/evt_client_async.py +44 -0
  168. tencentcloud/evt/v20250217/models.py +228 -0
  169. tencentcloud/facefusion/v20181201/facefusion_client_async.py +86 -0
  170. tencentcloud/facefusion/v20220927/facefusion_client_async.py +83 -0
  171. tencentcloud/faceid/v20180301/errorcodes.py +0 -6
  172. tencentcloud/faceid/v20180301/faceid_client.py +0 -23
  173. tencentcloud/faceid/v20180301/faceid_client_async.py +674 -0
  174. tencentcloud/faceid/v20180301/models.py +45 -195
  175. tencentcloud/fmu/v20191213/fmu_client_async.py +161 -0
  176. tencentcloud/ft/v20200304/ft_client_async.py +134 -0
  177. tencentcloud/gaap/v20180529/gaap_client_async.py +1865 -0
  178. tencentcloud/gme/v20180711/gme_client_async.py +865 -0
  179. tencentcloud/goosefs/v20220519/goosefs_client_async.py +514 -0
  180. tencentcloud/gs/v20191118/gs_client.py +46 -0
  181. tencentcloud/gs/v20191118/gs_client_async.py +1527 -0
  182. tencentcloud/gs/v20191118/models.py +227 -0
  183. tencentcloud/gwlb/v20240906/gwlb_client_async.py +373 -0
  184. tencentcloud/habo/v20181203/habo_client_async.py +62 -0
  185. tencentcloud/hai/v20230812/hai_client_async.py +316 -0
  186. tencentcloud/hasim/v20210716/hasim_client_async.py +422 -0
  187. tencentcloud/hcm/v20181106/hcm_client_async.py +44 -0
  188. tencentcloud/hunyuan/v20230901/hunyuan_client_async.py +469 -0
  189. tencentcloud/iai/v20180301/iai_client.py +0 -44
  190. tencentcloud/iai/v20180301/iai_client_async.py +728 -0
  191. tencentcloud/iai/v20180301/models.py +0 -171
  192. tencentcloud/iai/v20200303/iai_client.py +1 -35
  193. tencentcloud/iai/v20200303/iai_client_async.py +802 -0
  194. tencentcloud/iai/v20200303/models.py +0 -175
  195. tencentcloud/iap/v20240713/iap_client_async.py +134 -0
  196. tencentcloud/ic/v20190307/ic_client_async.py +193 -0
  197. tencentcloud/icr/v20211014/icr_client_async.py +44 -0
  198. tencentcloud/ie/v20200304/ie_client_async.py +206 -0
  199. tencentcloud/ig/v20210518/ig_client_async.py +44 -0
  200. tencentcloud/igtm/v20231024/igtm_client_async.py +494 -0
  201. tencentcloud/igtm/v20231024/models.py +110 -0
  202. tencentcloud/ims/v20200713/ims_client_async.py +60 -0
  203. tencentcloud/ims/v20201229/ims_client_async.py +132 -0
  204. tencentcloud/ioa/v20220601/ioa_client_async.py +512 -0
  205. tencentcloud/iot/v20180123/iot_client_async.py +838 -0
  206. tencentcloud/iotcloud/v20180614/iotcloud_client_async.py +1268 -0
  207. tencentcloud/iotcloud/v20210408/iotcloud_client_async.py +1340 -0
  208. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +161 -0
  209. tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +3632 -0
  210. tencentcloud/iotexplorer/v20190423/models.py +1669 -337
  211. tencentcloud/iotvideo/v20191126/iotvideo_client_async.py +1278 -0
  212. tencentcloud/iotvideo/v20201215/iotvideo_client_async.py +1448 -0
  213. tencentcloud/iotvideo/v20211125/iotvideo_client_async.py +1970 -0
  214. tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client_async.py +1921 -0
  215. tencentcloud/irp/v20220324/irp_client_async.py +98 -0
  216. tencentcloud/irp/v20220805/irp_client_async.py +152 -0
  217. tencentcloud/iss/v20230517/iss_client_async.py +1686 -0
  218. tencentcloud/iss/v20230517/models.py +2 -2
  219. tencentcloud/ivld/v20210903/ivld_client_async.py +636 -0
  220. tencentcloud/keewidb/v20220308/keewidb_client_async.py +711 -0
  221. tencentcloud/kms/v20190118/kms_client_async.py +1252 -0
  222. tencentcloud/lcic/v20220817/lcic_client_async.py +1331 -0
  223. tencentcloud/lighthouse/v20200324/lighthouse_client_async.py +2331 -0
  224. tencentcloud/live/v20180801/live_client.py +0 -25
  225. tencentcloud/live/v20180801/live_client_async.py +3758 -0
  226. tencentcloud/live/v20180801/models.py +0 -282
  227. tencentcloud/lke/v20231130/lke_client_async.py +1923 -0
  228. tencentcloud/lke/v20231130/models.py +82 -0
  229. tencentcloud/lkeap/v20240522/lkeap_client.py +3 -13
  230. tencentcloud/lkeap/v20240522/lkeap_client_async.py +618 -0
  231. tencentcloud/lowcode/v20210108/lowcode_client_async.py +332 -0
  232. tencentcloud/mall/v20230518/mall_client_async.py +44 -0
  233. tencentcloud/mariadb/v20170312/mariadb_client_async.py +1505 -0
  234. tencentcloud/market/v20191010/market_client_async.py +62 -0
  235. tencentcloud/memcached/v20190318/memcached_client_async.py +44 -0
  236. tencentcloud/mmps/v20200710/mmps_client_async.py +296 -0
  237. tencentcloud/mna/v20210119/mna_client_async.py +764 -0
  238. tencentcloud/mongodb/v20180408/mongodb_client_async.py +260 -0
  239. tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
  240. tencentcloud/mongodb/v20190725/models.py +390 -2
  241. tencentcloud/mongodb/v20190725/mongodb_client.py +46 -0
  242. tencentcloud/mongodb/v20190725/mongodb_client_async.py +1220 -0
  243. tencentcloud/monitor/v20180724/monitor_client_async.py +3099 -0
  244. tencentcloud/monitor/v20230616/monitor_client_async.py +44 -0
  245. tencentcloud/mps/v20190612/errorcodes.py +9 -0
  246. tencentcloud/mps/v20190612/models.py +2329 -290
  247. tencentcloud/mps/v20190612/mps_client.py +232 -0
  248. tencentcloud/mps/v20190612/mps_client_async.py +2729 -0
  249. tencentcloud/mqtt/v20240516/mqtt_client_async.py +1153 -0
  250. tencentcloud/mrs/v20200910/mrs_client_async.py +231 -0
  251. tencentcloud/ms/v20180408/ms_client_async.py +450 -0
  252. tencentcloud/msp/v20180319/msp_client_async.py +154 -0
  253. tencentcloud/nlp/v20190408/nlp_client_async.py +140 -0
  254. tencentcloud/npp/v20190823/npp_client_async.py +170 -0
  255. tencentcloud/oceanus/v20190422/oceanus_client_async.py +844 -0
  256. tencentcloud/ocr/v20181119/models.py +232 -0
  257. tencentcloud/ocr/v20181119/ocr_client_async.py +2228 -0
  258. tencentcloud/omics/v20221128/omics_client_async.py +386 -0
  259. tencentcloud/organization/v20181225/organization_client_async.py +386 -0
  260. tencentcloud/organization/v20210331/organization_client_async.py +2348 -0
  261. tencentcloud/partners/v20180321/partners_client_async.py +444 -0
  262. tencentcloud/postgres/v20170312/errorcodes.py +6 -0
  263. tencentcloud/postgres/v20170312/postgres_client_async.py +1908 -0
  264. tencentcloud/privatedns/v20201028/errorcodes.py +9 -0
  265. tencentcloud/privatedns/v20201028/models.py +783 -17
  266. tencentcloud/privatedns/v20201028/privatedns_client.py +93 -1
  267. tencentcloud/privatedns/v20201028/privatedns_client_async.py +746 -0
  268. tencentcloud/pts/v20210728/pts_client_async.py +890 -0
  269. tencentcloud/rce/v20201103/rce_client_async.py +224 -0
  270. tencentcloud/redis/v20180412/redis_client_async.py +2008 -0
  271. tencentcloud/region/v20220627/region_client_async.py +80 -0
  272. tencentcloud/rum/v20210622/rum_client_async.py +999 -0
  273. tencentcloud/scf/v20180416/errorcodes.py +6 -0
  274. tencentcloud/scf/v20180416/models.py +263 -0
  275. tencentcloud/scf/v20180416/scf_client_async.py +984 -0
  276. tencentcloud/securitylake/v20240117/securitylake_client_async.py +44 -0
  277. tencentcloud/ses/v20201002/ses_client_async.py +657 -0
  278. tencentcloud/smh/v20210712/smh_client_async.py +296 -0
  279. tencentcloud/smop/v20201203/smop_client_async.py +46 -0
  280. tencentcloud/sms/v20190711/sms_client_async.py +326 -0
  281. tencentcloud/sms/v20210111/sms_client_async.py +365 -0
  282. tencentcloud/soe/v20180724/soe_client_async.py +98 -0
  283. tencentcloud/sqlserver/v20180328/sqlserver_client_async.py +2693 -0
  284. tencentcloud/ssa/v20180608/ssa_client_async.py +440 -0
  285. tencentcloud/ssl/v20191205/ssl_client_async.py +1257 -0
  286. tencentcloud/sslpod/v20190605/sslpod_client_async.py +206 -0
  287. tencentcloud/ssm/v20190923/ssm_client_async.py +468 -0
  288. tencentcloud/sts/v20180813/sts_client_async.py +205 -0
  289. tencentcloud/svp/v20240125/svp_client_async.py +116 -0
  290. tencentcloud/taf/v20200210/taf_client_async.py +44 -0
  291. tencentcloud/tag/v20180813/tag_client_async.py +584 -0
  292. tencentcloud/tat/v20201028/tat_client_async.py +565 -0
  293. tencentcloud/tbaas/v20180416/tbaas_client_async.py +458 -0
  294. tencentcloud/tbp/v20190311/tbp_client_async.py +98 -0
  295. tencentcloud/tbp/v20190627/tbp_client_async.py +62 -0
  296. tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +986 -0
  297. tencentcloud/tcb/v20180608/tcb_client_async.py +1632 -0
  298. tencentcloud/tcbr/v20220217/models.py +15 -0
  299. tencentcloud/tcbr/v20220217/tcbr_client_async.py +206 -0
  300. tencentcloud/tccatalog/v20241024/tccatalog_client_async.py +98 -0
  301. tencentcloud/tchd/v20230306/tchd_client_async.py +65 -0
  302. tencentcloud/tcm/v20210413/tcm_client_async.py +242 -0
  303. tencentcloud/tcr/v20190924/tcr_client_async.py +2008 -0
  304. tencentcloud/tcss/v20201101/tcss_client_async.py +6169 -0
  305. tencentcloud/tdai/v20250717/models.py +55 -10
  306. tencentcloud/tdai/v20250717/tdai_client.py +1 -1
  307. tencentcloud/tdai/v20250717/tdai_client_async.py +350 -0
  308. tencentcloud/tdcpg/v20211118/tdcpg_client_async.py +482 -0
  309. tencentcloud/tdid/v20210519/tdid_client_async.py +353 -0
  310. tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
  311. tencentcloud/tdmq/v20200217/models.py +636 -904
  312. tencentcloud/tdmq/v20200217/tdmq_client.py +44 -73
  313. tencentcloud/tdmq/v20200217/tdmq_client_async.py +2732 -0
  314. tencentcloud/tds/v20220801/tds_client_async.py +116 -0
  315. tencentcloud/tem/v20201221/tem_client_async.py +332 -0
  316. tencentcloud/tem/v20210701/tem_client_async.py +949 -0
  317. tencentcloud/teo/v20220106/teo_client_async.py +120 -0
  318. tencentcloud/teo/v20220901/models.py +267 -4
  319. tencentcloud/teo/v20220901/teo_client_async.py +3609 -0
  320. tencentcloud/thpc/v20211109/thpc_client_async.py +98 -0
  321. tencentcloud/thpc/v20220401/thpc_client_async.py +321 -0
  322. tencentcloud/thpc/v20230321/models.py +30 -0
  323. tencentcloud/thpc/v20230321/thpc_client_async.py +591 -0
  324. tencentcloud/tia/v20180226/tia_client_async.py +206 -0
  325. tencentcloud/tiia/v20190529/tiia_client_async.py +536 -0
  326. tencentcloud/tione/v20191022/tione_client_async.py +422 -0
  327. tencentcloud/tione/v20211111/tione_client_async.py +1003 -0
  328. tencentcloud/tiw/v20190919/tiw_client_async.py +656 -0
  329. tencentcloud/tke/v20180525/errorcodes.py +3 -0
  330. tencentcloud/tke/v20180525/models.py +3129 -288
  331. tencentcloud/tke/v20180525/tke_client.py +414 -0
  332. tencentcloud/tke/v20180525/tke_client_async.py +4562 -0
  333. tencentcloud/tke/v20220501/tke_client_async.py +343 -0
  334. tencentcloud/tkgdq/v20190411/tkgdq_client_async.py +80 -0
  335. tencentcloud/tms/v20200713/tms_client_async.py +98 -0
  336. tencentcloud/tms/v20201229/tms_client_async.py +97 -0
  337. tencentcloud/tmt/v20180321/tmt_client_async.py +183 -0
  338. tencentcloud/tourism/v20230215/tourism_client_async.py +44 -0
  339. tencentcloud/trabbit/v20230418/trabbit_client_async.py +548 -0
  340. tencentcloud/trocket/v20230308/trocket_client_async.py +1390 -0
  341. tencentcloud/trp/v20210515/trp_client_async.py +1002 -0
  342. tencentcloud/trro/v20220325/trro_client_async.py +588 -0
  343. tencentcloud/trtc/v20190722/errorcodes.py +3 -0
  344. tencentcloud/trtc/v20190722/models.py +21 -6
  345. tencentcloud/trtc/v20190722/trtc_client.py +1 -0
  346. tencentcloud/trtc/v20190722/trtc_client_async.py +1516 -0
  347. tencentcloud/tse/v20201207/tse_client_async.py +2240 -0
  348. tencentcloud/tsf/v20180326/models.py +4 -4
  349. tencentcloud/tsf/v20180326/tsf_client_async.py +4143 -0
  350. tencentcloud/tsi/v20210325/tsi_client_async.py +104 -0
  351. tencentcloud/tsw/v20200924/tsw_client_async.py +44 -0
  352. tencentcloud/tsw/v20210412/tsw_client_async.py +80 -0
  353. tencentcloud/tts/v20190823/tts_client_async.py +107 -0
  354. tencentcloud/vcg/v20240404/vcg_client_async.py +62 -0
  355. tencentcloud/vclm/v20240523/errorcodes.py +27 -0
  356. tencentcloud/vclm/v20240523/models.py +415 -16
  357. tencentcloud/vclm/v20240523/vclm_client.py +47 -0
  358. tencentcloud/vclm/v20240523/vclm_client_async.py +263 -0
  359. tencentcloud/vcube/v20220410/models.py +98 -0
  360. tencentcloud/vcube/v20220410/vcube_client.py +46 -0
  361. tencentcloud/vcube/v20220410/vcube_client_async.py +674 -0
  362. tencentcloud/vdb/v20230616/vdb_client_async.py +278 -0
  363. tencentcloud/vm/v20200709/vm_client_async.py +120 -0
  364. tencentcloud/vm/v20201229/vm_client_async.py +139 -0
  365. tencentcloud/vm/v20210922/models.py +2 -2
  366. tencentcloud/vm/v20210922/vm_client_async.py +148 -0
  367. tencentcloud/vms/v20200902/vms_client_async.py +62 -0
  368. tencentcloud/vod/v20180717/models.py +6 -2
  369. tencentcloud/vod/v20180717/vod_client_async.py +3712 -0
  370. tencentcloud/vod/v20240718/vod_client_async.py +160 -0
  371. tencentcloud/vpc/v20170312/vpc_client_async.py +8139 -0
  372. tencentcloud/vrs/v20200824/vrs_client_async.py +182 -0
  373. tencentcloud/vtc/v20240223/vtc_client_async.py +132 -0
  374. tencentcloud/waf/v20180125/models.py +3924 -0
  375. tencentcloud/waf/v20180125/waf_client.py +230 -0
  376. tencentcloud/waf/v20180125/waf_client_async.py +3542 -0
  377. tencentcloud/wav/v20210129/wav_client_async.py +494 -0
  378. tencentcloud/wedata/v20210820/wedata_client_async.py +5384 -0
  379. tencentcloud/wedata/v20250806/wedata_client_async.py +2168 -0
  380. tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +1180 -0
  381. tencentcloud/wsa/v20250508/wsa_client_async.py +44 -0
  382. tencentcloud/wss/v20180426/wss_client_async.py +80 -0
  383. tencentcloud/yinsuda/v20220527/yinsuda_client_async.py +386 -0
  384. tencentcloud/yunjing/v20180228/yunjing_client_async.py +1826 -0
  385. tencentcloud/yunsou/v20180504/yunsou_client_async.py +62 -0
  386. tencentcloud/yunsou/v20191115/yunsou_client_async.py +62 -0
  387. {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/METADATA +3 -1
  388. {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/RECORD +391 -103
  389. {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/LICENSE +0 -0
  390. {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/WHEEL +0 -0
  391. {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,802 @@
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
+ from tencentcloud.common.abstract_client_async import AbstractClient
19
+ from tencentcloud.iai.v20200303 import models
20
+ from typing import Dict
21
+
22
+
23
+ class IaiClient(AbstractClient):
24
+ _apiVersion = '2020-03-03'
25
+ _endpoint = 'iai.tencentcloudapi.com'
26
+ _service = 'iai'
27
+
28
+ async def AnalyzeDenseLandmarks(
29
+ self,
30
+ request: models.AnalyzeDenseLandmarksRequest,
31
+ opts: Dict = None,
32
+ ) -> models.AnalyzeDenseLandmarksResponse:
33
+ """
34
+ 对请求图片进行五官定位(也称人脸关键点定位),获得人脸的精准信息,返回多达888点关键信息,对五官和脸部轮廓进行精确定位。
35
+ """
36
+
37
+ kwargs = {}
38
+ kwargs["action"] = "AnalyzeDenseLandmarks"
39
+ kwargs["params"] = request._serialize()
40
+ kwargs["resp_cls"] = models.AnalyzeDenseLandmarksResponse
41
+ kwargs["headers"] = request.headers
42
+ kwargs["opts"] = opts or {}
43
+
44
+ return await self.call_and_deserialize(**kwargs)
45
+
46
+ async def AnalyzeFace(
47
+ self,
48
+ request: models.AnalyzeFaceRequest,
49
+ opts: Dict = None,
50
+ ) -> models.AnalyzeFaceResponse:
51
+ """
52
+ 对请求图片进行五官定位(也称人脸关键点定位),计算构成人脸轮廓的 90 个点,包括眉毛(左右各 8 点)、眼睛(左右各 8 点)、鼻子(13 点)、嘴巴(22 点)、脸型轮廓(21 点)、眼珠[或瞳孔](2点)。
53
+
54
+ >
55
+ - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
56
+ """
57
+
58
+ kwargs = {}
59
+ kwargs["action"] = "AnalyzeFace"
60
+ kwargs["params"] = request._serialize()
61
+ kwargs["resp_cls"] = models.AnalyzeFaceResponse
62
+ kwargs["headers"] = request.headers
63
+ kwargs["opts"] = opts or {}
64
+
65
+ return await self.call_and_deserialize(**kwargs)
66
+
67
+ async def CompareFace(
68
+ self,
69
+ request: models.CompareFaceRequest,
70
+ opts: Dict = None,
71
+ ) -> models.CompareFaceResponse:
72
+ """
73
+ 对两张图片中的人脸进行相似度比对,返回人脸相似度分数。
74
+
75
+ 若您需要判断 “此人是否是某人”,即验证某张图片中的人是否是已知身份的某人,如常见的人脸登录场景,建议使用[人脸验证](https://cloud.tencent.com/document/product/867/44983)或[人员验证](https://cloud.tencent.com/document/product/867/44982)接口。
76
+
77
+ >
78
+ - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
79
+ """
80
+
81
+ kwargs = {}
82
+ kwargs["action"] = "CompareFace"
83
+ kwargs["params"] = request._serialize()
84
+ kwargs["resp_cls"] = models.CompareFaceResponse
85
+ kwargs["headers"] = request.headers
86
+ kwargs["opts"] = opts or {}
87
+
88
+ return await self.call_and_deserialize(**kwargs)
89
+
90
+ async def CompareMaskFace(
91
+ self,
92
+ request: models.CompareMaskFaceRequest,
93
+ opts: Dict = None,
94
+ ) -> models.CompareMaskFaceResponse:
95
+ """
96
+ 对两张图片中的人脸进行相似度比对,返回人脸相似度分数。
97
+
98
+ 防疫场景人脸比对接口可在人脸戴口罩情况下使用,口罩遮挡程度最高可以遮挡鼻尖。
99
+
100
+ 如图片人脸不存在防疫场景下戴口罩的情况,建议使用人脸比对服务。
101
+ """
102
+
103
+ kwargs = {}
104
+ kwargs["action"] = "CompareMaskFace"
105
+ kwargs["params"] = request._serialize()
106
+ kwargs["resp_cls"] = models.CompareMaskFaceResponse
107
+ kwargs["headers"] = request.headers
108
+ kwargs["opts"] = opts or {}
109
+
110
+ return await self.call_and_deserialize(**kwargs)
111
+
112
+ async def CopyPerson(
113
+ self,
114
+ request: models.CopyPersonRequest,
115
+ opts: Dict = None,
116
+ ) -> models.CopyPersonResponse:
117
+ """
118
+ 将已存在于某人员库的人员复制到其他人员库,该人员的描述信息不会被复制。单个人员最多只能同时存在100个人员库中。
119
+ >
120
+ - 注:若该人员创建时算法模型版本为2.0,复制到非2.0算法模型版本的Group中时,复制操作将会失败。
121
+ """
122
+
123
+ kwargs = {}
124
+ kwargs["action"] = "CopyPerson"
125
+ kwargs["params"] = request._serialize()
126
+ kwargs["resp_cls"] = models.CopyPersonResponse
127
+ kwargs["headers"] = request.headers
128
+ kwargs["opts"] = opts or {}
129
+
130
+ return await self.call_and_deserialize(**kwargs)
131
+
132
+ async def CreateFace(
133
+ self,
134
+ request: models.CreateFaceRequest,
135
+ opts: Dict = None,
136
+ ) -> models.CreateFaceResponse:
137
+ """
138
+ 将一组人脸图片添加到一个人员中。一个人员最多允许包含 5 张图片。若该人员存在多个人员库中,所有人员库中该人员图片均会增加。
139
+
140
+ >
141
+ - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
142
+ """
143
+
144
+ kwargs = {}
145
+ kwargs["action"] = "CreateFace"
146
+ kwargs["params"] = request._serialize()
147
+ kwargs["resp_cls"] = models.CreateFaceResponse
148
+ kwargs["headers"] = request.headers
149
+ kwargs["opts"] = opts or {}
150
+
151
+ return await self.call_and_deserialize(**kwargs)
152
+
153
+ async def CreateGroup(
154
+ self,
155
+ request: models.CreateGroupRequest,
156
+ opts: Dict = None,
157
+ ) -> models.CreateGroupResponse:
158
+ """
159
+ 用于创建一个空的人员库,如果人员库已存在返回错误。
160
+ 可根据需要创建自定义描述字段,用于辅助描述该人员库下的人员信息。
161
+
162
+ 1个APPID下最多创建10万个人员库(Group)、最多包含5000万张人脸(Face)。
163
+
164
+ 不同算法模型版本(FaceModelVersion)的人员库(Group)最多可包含人脸(Face)数不同。算法模型版本为2.0的人员库最多包含100万张人脸,算法模型版本为3.0的人员库最多可包含300万张人脸。
165
+ """
166
+
167
+ kwargs = {}
168
+ kwargs["action"] = "CreateGroup"
169
+ kwargs["params"] = request._serialize()
170
+ kwargs["resp_cls"] = models.CreateGroupResponse
171
+ kwargs["headers"] = request.headers
172
+ kwargs["opts"] = opts or {}
173
+
174
+ return await self.call_and_deserialize(**kwargs)
175
+
176
+ async def CreatePerson(
177
+ self,
178
+ request: models.CreatePersonRequest,
179
+ opts: Dict = None,
180
+ ) -> models.CreatePersonResponse:
181
+ """
182
+ 创建人员,添加人脸、姓名、性别及其他相关信息。
183
+
184
+ >
185
+ - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
186
+ """
187
+
188
+ kwargs = {}
189
+ kwargs["action"] = "CreatePerson"
190
+ kwargs["params"] = request._serialize()
191
+ kwargs["resp_cls"] = models.CreatePersonResponse
192
+ kwargs["headers"] = request.headers
193
+ kwargs["opts"] = opts or {}
194
+
195
+ return await self.call_and_deserialize(**kwargs)
196
+
197
+ async def DeleteFace(
198
+ self,
199
+ request: models.DeleteFaceRequest,
200
+ opts: Dict = None,
201
+ ) -> models.DeleteFaceResponse:
202
+ """
203
+ 删除一个人员下的人脸图片。如果该人员只有一张人脸图片,则返回错误。
204
+ """
205
+
206
+ kwargs = {}
207
+ kwargs["action"] = "DeleteFace"
208
+ kwargs["params"] = request._serialize()
209
+ kwargs["resp_cls"] = models.DeleteFaceResponse
210
+ kwargs["headers"] = request.headers
211
+ kwargs["opts"] = opts or {}
212
+
213
+ return await self.call_and_deserialize(**kwargs)
214
+
215
+ async def DeleteGroup(
216
+ self,
217
+ request: models.DeleteGroupRequest,
218
+ opts: Dict = None,
219
+ ) -> models.DeleteGroupResponse:
220
+ """
221
+ 删除该人员库及包含的所有的人员。同时,人员对应的所有人脸信息将被删除。若某人员同时存在多个人员库中,该人员不会被删除,但属于该人员库中的自定义描述字段信息会被删除,属于其他人员库的自定义描述字段信息不受影响。
222
+ """
223
+
224
+ kwargs = {}
225
+ kwargs["action"] = "DeleteGroup"
226
+ kwargs["params"] = request._serialize()
227
+ kwargs["resp_cls"] = models.DeleteGroupResponse
228
+ kwargs["headers"] = request.headers
229
+ kwargs["opts"] = opts or {}
230
+
231
+ return await self.call_and_deserialize(**kwargs)
232
+
233
+ async def DeletePerson(
234
+ self,
235
+ request: models.DeletePersonRequest,
236
+ opts: Dict = None,
237
+ ) -> models.DeletePersonResponse:
238
+ """
239
+ 删除该人员信息,此操作会导致所有人员库均删除此人员。同时,该人员的所有人脸信息将被删除。
240
+ """
241
+
242
+ kwargs = {}
243
+ kwargs["action"] = "DeletePerson"
244
+ kwargs["params"] = request._serialize()
245
+ kwargs["resp_cls"] = models.DeletePersonResponse
246
+ kwargs["headers"] = request.headers
247
+ kwargs["opts"] = opts or {}
248
+
249
+ return await self.call_and_deserialize(**kwargs)
250
+
251
+ async def DeletePersonFromGroup(
252
+ self,
253
+ request: models.DeletePersonFromGroupRequest,
254
+ opts: Dict = None,
255
+ ) -> models.DeletePersonFromGroupResponse:
256
+ """
257
+ 从某人员库中删除人员,此操作仅影响该人员库。若该人员仅存在于指定的人员库中,该人员将被删除,其所有的人脸信息也将被删除。
258
+ """
259
+
260
+ kwargs = {}
261
+ kwargs["action"] = "DeletePersonFromGroup"
262
+ kwargs["params"] = request._serialize()
263
+ kwargs["resp_cls"] = models.DeletePersonFromGroupResponse
264
+ kwargs["headers"] = request.headers
265
+ kwargs["opts"] = opts or {}
266
+
267
+ return await self.call_and_deserialize(**kwargs)
268
+
269
+ async def DetectFace(
270
+ self,
271
+ request: models.DetectFaceRequest,
272
+ opts: Dict = None,
273
+ ) -> models.DetectFaceResponse:
274
+ """
275
+ 检测给定图片中的人脸(Face)的位置、相应的面部属性和人脸质量信息,位置包括 (x,y,w,h),面部属性包括性别(gender)、年龄(age)、表情(expression)、魅力(beauty)、眼镜(glass)、发型(hair)、口罩(mask)和姿态 (pitch,roll,yaw),人脸质量信息包括整体质量分(score)、模糊分(sharpness)、光照分(brightness)和五官遮挡分(completeness)。
276
+
277
+
278
+ 其中,人脸质量信息主要用于评价输入的人脸图片的质量。在使用人脸识别服务时,建议您对输入的人脸图片进行质量检测,提升后续业务处理的效果。该功能的应用场景包括:
279
+
280
+ 1) 人员库[创建人员](https://cloud.tencent.com/document/product/867/45014)/[增加人脸](https://cloud.tencent.com/document/product/867/45016):保证人员人脸信息的质量,便于后续的业务处理。
281
+
282
+ 2) [人脸搜索](https://cloud.tencent.com/document/product/867/44994):保证输入的图片质量,快速准确匹配到对应的人员。
283
+
284
+ 3) [人脸验证](https://cloud.tencent.com/document/product/867/44983):保证人脸信息的质量,避免明明是本人却认证不通过的情况。
285
+
286
+ 4) 人脸融合:保证上传的人脸质量,人脸融合的效果更好。
287
+
288
+ >
289
+ - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
290
+ """
291
+
292
+ kwargs = {}
293
+ kwargs["action"] = "DetectFace"
294
+ kwargs["params"] = request._serialize()
295
+ kwargs["resp_cls"] = models.DetectFaceResponse
296
+ kwargs["headers"] = request.headers
297
+ kwargs["opts"] = opts or {}
298
+
299
+ return await self.call_and_deserialize(**kwargs)
300
+
301
+ async def DetectFaceAttributes(
302
+ self,
303
+ request: models.DetectFaceAttributesRequest,
304
+ opts: Dict = None,
305
+ ) -> models.DetectFaceAttributesResponse:
306
+ """
307
+ 检测给定图片中的人脸(Face)的位置、相应的面部属性和人脸质量信息,位置包括 (x,y,w,h),面部属性包括性别(gender)、年龄(age)、表情(expression)、魅力(beauty)、眼镜(glass)、发型(hair)、口罩(mask)和姿态 (pitch,roll,yaw)。
308
+
309
+
310
+ 其中,人脸质量信息主要用于评价输入的人脸图片的质量。在使用人脸识别服务时,建议您对输入的人脸图片进行质量检测,提升后续业务处理的效果。该功能的应用场景包括:
311
+
312
+ 1) 人员库[创建人员](https://cloud.tencent.com/document/product/867/32793)/[增加人脸](https://cloud.tencent.com/document/product/867/32795):保证人员人脸信息的质量,便于后续的业务处理。
313
+
314
+ 2) [人脸搜索](https://cloud.tencent.com/document/product/867/32798):保证输入的图片质量,快速准确匹配到对应的人员。
315
+
316
+ 3) [人脸验证](https://cloud.tencent.com/document/product/867/32806):保证人脸信息的质量,避免明明是本人却认证不通过的情况。
317
+
318
+ 4) [人脸融合](https://cloud.tencent.com/product/facefusion):保证上传的人脸质量,人脸融合的效果更好。
319
+
320
+ >
321
+ - 本接口是[人脸检测与分析](https://cloud.tencent.com/document/product/867/44989)的升级,具体在于:
322
+ 1.本接口可以指定需要计算返回的人脸属性,避免无效计算,降低耗时;
323
+ 2.本接口支持更多属性细项数,也会持续增加更多功能。
324
+ 请您使用本接口完成相应的人脸检测与属性分析需求。
325
+
326
+ >
327
+ - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
328
+ """
329
+
330
+ kwargs = {}
331
+ kwargs["action"] = "DetectFaceAttributes"
332
+ kwargs["params"] = request._serialize()
333
+ kwargs["resp_cls"] = models.DetectFaceAttributesResponse
334
+ kwargs["headers"] = request.headers
335
+ kwargs["opts"] = opts or {}
336
+
337
+ return await self.call_and_deserialize(**kwargs)
338
+
339
+ async def DetectFaceSimilarity(
340
+ self,
341
+ request: models.DetectFaceSimilarityRequest,
342
+ opts: Dict = None,
343
+ ) -> models.DetectFaceSimilarityResponse:
344
+ """
345
+ 对两张图片中的人脸进行相似度比对,返回人脸相似度分数。
346
+
347
+ 若您需要判断 “此人是否是某人”,即验证某张图片中的人是否是已知身份的某人,如常见的人脸登录场景,建议使用[人脸验证](https://cloud.tencent.com/document/product/867/44983)或[人员验证](https://cloud.tencent.com/document/product/867/44982)接口。
348
+
349
+ >
350
+ - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
351
+ """
352
+
353
+ kwargs = {}
354
+ kwargs["action"] = "DetectFaceSimilarity"
355
+ kwargs["params"] = request._serialize()
356
+ kwargs["resp_cls"] = models.DetectFaceSimilarityResponse
357
+ kwargs["headers"] = request.headers
358
+ kwargs["opts"] = opts or {}
359
+
360
+ return await self.call_and_deserialize(**kwargs)
361
+
362
+ async def DetectLiveFaceAccurate(
363
+ self,
364
+ request: models.DetectLiveFaceAccurateRequest,
365
+ opts: Dict = None,
366
+ ) -> models.DetectLiveFaceAccurateResponse:
367
+ """
368
+ 人脸静态活体检测(高精度版)可用于对用户上传的静态图片进行防翻拍活体检测,以判断是否是翻拍图片。
369
+
370
+ 相比现有静态活体检测服务,高精度版在维持高真人通过率的前提下,增强了对高清屏幕、裁剪纸片、3D面具等攻击的防御能力,攻击拦截率约为业内同类型产品形态4-5倍。同时支持多场景人脸核验,满足移动端、PC端各类型场景的图片活体检验需求,适用于各个行业不同的活体检验应用。
371
+
372
+ 人脸静态活体检测(高精度版)接口于2022年8月1日 00:00起正式开始计费,采取后付费按量计费模式,详见[计费概述](https://cloud.tencent.com/document/product/867/17640)。
373
+ """
374
+
375
+ kwargs = {}
376
+ kwargs["action"] = "DetectLiveFaceAccurate"
377
+ kwargs["params"] = request._serialize()
378
+ kwargs["resp_cls"] = models.DetectLiveFaceAccurateResponse
379
+ kwargs["headers"] = request.headers
380
+ kwargs["opts"] = opts or {}
381
+
382
+ return await self.call_and_deserialize(**kwargs)
383
+
384
+ async def GetGroupInfo(
385
+ self,
386
+ request: models.GetGroupInfoRequest,
387
+ opts: Dict = None,
388
+ ) -> models.GetGroupInfoResponse:
389
+ """
390
+ 获取人员库信息。
391
+ """
392
+
393
+ kwargs = {}
394
+ kwargs["action"] = "GetGroupInfo"
395
+ kwargs["params"] = request._serialize()
396
+ kwargs["resp_cls"] = models.GetGroupInfoResponse
397
+ kwargs["headers"] = request.headers
398
+ kwargs["opts"] = opts or {}
399
+
400
+ return await self.call_and_deserialize(**kwargs)
401
+
402
+ async def GetGroupList(
403
+ self,
404
+ request: models.GetGroupListRequest,
405
+ opts: Dict = None,
406
+ ) -> models.GetGroupListResponse:
407
+ """
408
+ 获取人员库列表。
409
+ """
410
+
411
+ kwargs = {}
412
+ kwargs["action"] = "GetGroupList"
413
+ kwargs["params"] = request._serialize()
414
+ kwargs["resp_cls"] = models.GetGroupListResponse
415
+ kwargs["headers"] = request.headers
416
+ kwargs["opts"] = opts or {}
417
+
418
+ return await self.call_and_deserialize(**kwargs)
419
+
420
+ async def GetPersonBaseInfo(
421
+ self,
422
+ request: models.GetPersonBaseInfoRequest,
423
+ opts: Dict = None,
424
+ ) -> models.GetPersonBaseInfoResponse:
425
+ """
426
+ 获取指定人员的信息,包括姓名、性别、人脸等。
427
+ """
428
+
429
+ kwargs = {}
430
+ kwargs["action"] = "GetPersonBaseInfo"
431
+ kwargs["params"] = request._serialize()
432
+ kwargs["resp_cls"] = models.GetPersonBaseInfoResponse
433
+ kwargs["headers"] = request.headers
434
+ kwargs["opts"] = opts or {}
435
+
436
+ return await self.call_and_deserialize(**kwargs)
437
+
438
+ async def GetPersonGroupInfo(
439
+ self,
440
+ request: models.GetPersonGroupInfoRequest,
441
+ opts: Dict = None,
442
+ ) -> models.GetPersonGroupInfoResponse:
443
+ """
444
+ 获取指定人员的信息,包括加入的人员库、描述内容等。
445
+ """
446
+
447
+ kwargs = {}
448
+ kwargs["action"] = "GetPersonGroupInfo"
449
+ kwargs["params"] = request._serialize()
450
+ kwargs["resp_cls"] = models.GetPersonGroupInfoResponse
451
+ kwargs["headers"] = request.headers
452
+ kwargs["opts"] = opts or {}
453
+
454
+ return await self.call_and_deserialize(**kwargs)
455
+
456
+ async def GetPersonList(
457
+ self,
458
+ request: models.GetPersonListRequest,
459
+ opts: Dict = None,
460
+ ) -> models.GetPersonListResponse:
461
+ """
462
+ 获取指定人员库中的人员列表。
463
+ """
464
+
465
+ kwargs = {}
466
+ kwargs["action"] = "GetPersonList"
467
+ kwargs["params"] = request._serialize()
468
+ kwargs["resp_cls"] = models.GetPersonListResponse
469
+ kwargs["headers"] = request.headers
470
+ kwargs["opts"] = opts or {}
471
+
472
+ return await self.call_and_deserialize(**kwargs)
473
+
474
+ async def GetPersonListNum(
475
+ self,
476
+ request: models.GetPersonListNumRequest,
477
+ opts: Dict = None,
478
+ ) -> models.GetPersonListNumResponse:
479
+ """
480
+ 获取指定人员库中人员数量。
481
+ """
482
+
483
+ kwargs = {}
484
+ kwargs["action"] = "GetPersonListNum"
485
+ kwargs["params"] = request._serialize()
486
+ kwargs["resp_cls"] = models.GetPersonListNumResponse
487
+ kwargs["headers"] = request.headers
488
+ kwargs["opts"] = opts or {}
489
+
490
+ return await self.call_and_deserialize(**kwargs)
491
+
492
+ async def GetUpgradeGroupFaceModelVersionJobList(
493
+ self,
494
+ request: models.GetUpgradeGroupFaceModelVersionJobListRequest,
495
+ opts: Dict = None,
496
+ ) -> models.GetUpgradeGroupFaceModelVersionJobListResponse:
497
+ """
498
+ 避免官网歧义
499
+
500
+ 获取人员库升级任务列表
501
+ """
502
+
503
+ kwargs = {}
504
+ kwargs["action"] = "GetUpgradeGroupFaceModelVersionJobList"
505
+ kwargs["params"] = request._serialize()
506
+ kwargs["resp_cls"] = models.GetUpgradeGroupFaceModelVersionJobListResponse
507
+ kwargs["headers"] = request.headers
508
+ kwargs["opts"] = opts or {}
509
+
510
+ return await self.call_and_deserialize(**kwargs)
511
+
512
+ async def GetUpgradeGroupFaceModelVersionResult(
513
+ self,
514
+ request: models.GetUpgradeGroupFaceModelVersionResultRequest,
515
+ opts: Dict = None,
516
+ ) -> models.GetUpgradeGroupFaceModelVersionResultResponse:
517
+ """
518
+ 避免官网歧义
519
+
520
+ 人员库升级结果查询
521
+ """
522
+
523
+ kwargs = {}
524
+ kwargs["action"] = "GetUpgradeGroupFaceModelVersionResult"
525
+ kwargs["params"] = request._serialize()
526
+ kwargs["resp_cls"] = models.GetUpgradeGroupFaceModelVersionResultResponse
527
+ kwargs["headers"] = request.headers
528
+ kwargs["opts"] = opts or {}
529
+
530
+ return await self.call_and_deserialize(**kwargs)
531
+
532
+ async def ModifyGroup(
533
+ self,
534
+ request: models.ModifyGroupRequest,
535
+ opts: Dict = None,
536
+ ) -> models.ModifyGroupResponse:
537
+ """
538
+ 修改人员库名称、备注、自定义描述字段名称。
539
+ """
540
+
541
+ kwargs = {}
542
+ kwargs["action"] = "ModifyGroup"
543
+ kwargs["params"] = request._serialize()
544
+ kwargs["resp_cls"] = models.ModifyGroupResponse
545
+ kwargs["headers"] = request.headers
546
+ kwargs["opts"] = opts or {}
547
+
548
+ return await self.call_and_deserialize(**kwargs)
549
+
550
+ async def ModifyPersonBaseInfo(
551
+ self,
552
+ request: models.ModifyPersonBaseInfoRequest,
553
+ opts: Dict = None,
554
+ ) -> models.ModifyPersonBaseInfoResponse:
555
+ """
556
+ 修改人员信息,包括名称、性别等。人员名称和性别修改会同步到包含该人员的所有人员库。
557
+ """
558
+
559
+ kwargs = {}
560
+ kwargs["action"] = "ModifyPersonBaseInfo"
561
+ kwargs["params"] = request._serialize()
562
+ kwargs["resp_cls"] = models.ModifyPersonBaseInfoResponse
563
+ kwargs["headers"] = request.headers
564
+ kwargs["opts"] = opts or {}
565
+
566
+ return await self.call_and_deserialize(**kwargs)
567
+
568
+ async def ModifyPersonGroupInfo(
569
+ self,
570
+ request: models.ModifyPersonGroupInfoRequest,
571
+ opts: Dict = None,
572
+ ) -> models.ModifyPersonGroupInfoResponse:
573
+ """
574
+ 修改指定人员库人员描述内容。
575
+ """
576
+
577
+ kwargs = {}
578
+ kwargs["action"] = "ModifyPersonGroupInfo"
579
+ kwargs["params"] = request._serialize()
580
+ kwargs["resp_cls"] = models.ModifyPersonGroupInfoResponse
581
+ kwargs["headers"] = request.headers
582
+ kwargs["opts"] = opts or {}
583
+
584
+ return await self.call_and_deserialize(**kwargs)
585
+
586
+ async def RevertGroupFaceModelVersion(
587
+ self,
588
+ request: models.RevertGroupFaceModelVersionRequest,
589
+ opts: Dict = None,
590
+ ) -> models.RevertGroupFaceModelVersionResponse:
591
+ """
592
+ 同理
593
+
594
+ 本接口用于回滚人员库的人脸识别算法模型版本。单个人员库有且仅有一次回滚机会。
595
+
596
+ 回滚操作会在10s内生效,回滚操作中,您对人员库的操作可能会失效。
597
+ """
598
+
599
+ kwargs = {}
600
+ kwargs["action"] = "RevertGroupFaceModelVersion"
601
+ kwargs["params"] = request._serialize()
602
+ kwargs["resp_cls"] = models.RevertGroupFaceModelVersionResponse
603
+ kwargs["headers"] = request.headers
604
+ kwargs["opts"] = opts or {}
605
+
606
+ return await self.call_and_deserialize(**kwargs)
607
+
608
+ async def SearchFaces(
609
+ self,
610
+ request: models.SearchFacesRequest,
611
+ opts: Dict = None,
612
+ ) -> models.SearchFacesResponse:
613
+ """
614
+ 用于对一张待识别的人脸图片,在一个或多个人员库中识别出最相似的 TopK 人员,识别结果按照相似度从大到小排序。
615
+
616
+ 支持一次性识别图片中的最多 10 张人脸,支持一次性跨 100 个人员库(Group)搜索。
617
+
618
+ 单次搜索的人员库人脸总数量和人员库的算法模型版本(FaceModelVersion)相关。算法模型版本为2.0的人员库,单次搜索人员库人脸总数量不得超过 100 万张;算法模型版本为3.0的人员库,单次搜索人员库人脸总数量不得超过 300 万张。
619
+
620
+ 与[人员搜索](https://cloud.tencent.com/document/product/867/44992)及[人员搜索按库返回](https://cloud.tencent.com/document/product/867/44991)接口不同的是,本接口将该人员(Person)下的每个人脸(Face)都作为单独个体进行验证,而人员搜索及人员搜索按库返回接口 会将该人员(Person)下的所有人脸(Face)进行融合特征处理,即若某个Person下有4张 Face,本接口会将4张 Face 的特征进行融合处理,生成对应这个 Person 的特征,使搜索更加准确。
621
+
622
+
623
+ 本接口需与[人员库管理相关接口](https://cloud.tencent.com/document/product/867/45015)结合使用。
624
+
625
+ >
626
+ - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
627
+
628
+ >
629
+ - 不可同时搜索不同算法模型版本(FaceModelVersion)的人员库。
630
+ """
631
+
632
+ kwargs = {}
633
+ kwargs["action"] = "SearchFaces"
634
+ kwargs["params"] = request._serialize()
635
+ kwargs["resp_cls"] = models.SearchFacesResponse
636
+ kwargs["headers"] = request.headers
637
+ kwargs["opts"] = opts or {}
638
+
639
+ return await self.call_and_deserialize(**kwargs)
640
+
641
+ async def SearchFacesReturnsByGroup(
642
+ self,
643
+ request: models.SearchFacesReturnsByGroupRequest,
644
+ opts: Dict = None,
645
+ ) -> models.SearchFacesReturnsByGroupResponse:
646
+ """
647
+ 用于对一张待识别的人脸图片,在一个或多个人员库中识别出最相似的 TopK 人员,按照**人员库的维度**以人员相似度从大到小顺序排列。
648
+
649
+ 支持一次性识别图片中的最多 10 张人脸,支持跨人员库(Group)搜索。
650
+
651
+ 单次搜索的人员库人脸总数量和人员库的算法模型版本(FaceModelVersion)相关。算法模型版本为2.0的人员库,单次搜索人员库人脸总数量不得超过 100 万张;算法模型版本为3.0的人员库,单次搜索人员库人脸总数量不得超过 300 万张。
652
+
653
+ 与[人员搜索](https://cloud.tencent.com/document/product/867/44992)及[人员搜索按库返回](https://cloud.tencent.com/document/product/867/44991)接口不同的是,本接口将该人员(Person)下的每个人脸(Face)都作为单独个体进行验证,而[人员搜索](https://cloud.tencent.com/document/product/867/44992)及[人员搜索按库返回](https://cloud.tencent.com/document/product/867/44991)接口 会将该人员(Person)下的所有人脸(Face)进行融合特征处理,即若某个Person下有4张 Face,本接口会将4张 Face 的特征进行融合处理,生成对应这个 Person 的特征,使搜索更加准确。
654
+
655
+ 本接口需与[人员库管理相关接口](https://cloud.tencent.com/document/product/867/45015)结合使用。
656
+
657
+ >
658
+ - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
659
+
660
+ >
661
+ - 不可同时搜索不同算法模型版本(FaceModelVersion)的人员库。
662
+ """
663
+
664
+ kwargs = {}
665
+ kwargs["action"] = "SearchFacesReturnsByGroup"
666
+ kwargs["params"] = request._serialize()
667
+ kwargs["resp_cls"] = models.SearchFacesReturnsByGroupResponse
668
+ kwargs["headers"] = request.headers
669
+ kwargs["opts"] = opts or {}
670
+
671
+ return await self.call_and_deserialize(**kwargs)
672
+
673
+ async def SearchPersons(
674
+ self,
675
+ request: models.SearchPersonsRequest,
676
+ opts: Dict = None,
677
+ ) -> models.SearchPersonsResponse:
678
+ """
679
+ 用于对一张待识别的人脸图片,在一个或多个人员库中识别出最相似的 TopK 人员,按照相似度从大到小排列。
680
+
681
+ 支持一次性识别图片中的最多 10 张人脸,支持一次性跨 100 个人员库(Group)搜索。
682
+
683
+ 单次搜索的人员库人脸总数量和人员库的算法模型版本(FaceModelVersion)相关。算法模型版本为2.0的人员库,单次搜索人员库人脸总数量不得超过 100 万张;算法模型版本为3.0的人员库,单次搜索人员库人脸总数量不得超过 300 万张。
684
+
685
+ 本接口会将该人员(Person)下的所有人脸(Face)进行融合特征处理,即若某个 Person 下有4张 Face ,本接口会将4张 Face 的特征进行融合处理,生成对应这个 Person 的特征,使人员搜索(确定待识别的人脸图片是某人)更加准确。而[人脸搜索](https://cloud.tencent.com/document/product/867/44994)及[人脸搜索按库返回接口](https://cloud.tencent.com/document/product/867/44993)将该人员(Person)下的每个人脸(Face)都作为单独个体进行搜索。
686
+
687
+ >
688
+ - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
689
+ - 仅支持算法模型版本(FaceModelVersion)为3.0的人员库。
690
+ """
691
+
692
+ kwargs = {}
693
+ kwargs["action"] = "SearchPersons"
694
+ kwargs["params"] = request._serialize()
695
+ kwargs["resp_cls"] = models.SearchPersonsResponse
696
+ kwargs["headers"] = request.headers
697
+ kwargs["opts"] = opts or {}
698
+
699
+ return await self.call_and_deserialize(**kwargs)
700
+
701
+ async def SearchPersonsReturnsByGroup(
702
+ self,
703
+ request: models.SearchPersonsReturnsByGroupRequest,
704
+ opts: Dict = None,
705
+ ) -> models.SearchPersonsReturnsByGroupResponse:
706
+ """
707
+ 用于对一张待识别的人脸图片,在一个或多个人员库中识别出最相似的 TopK 人员,按照**人员库的维度**以人员相似度从大到小顺序排列。
708
+
709
+ 支持一次性识别图片中的最多 10 张人脸,支持跨人员库(Group)搜索。
710
+
711
+ 单次搜索的人员库人脸总数量和人员库的算法模型版本(FaceModelVersion)相关。算法模型版本为2.0的人员库,单次搜索人员库人脸总数量不得超过 100 万张;算法模型版本为3.0的人员库,单次搜索人员库人脸总数量不得超过 300 万张。
712
+
713
+ 本接口会将该人员(Person)下的所有人脸(Face)进行融合特征处理,即若某个 Person 下有4张 Face ,本接口会将4张 Face 的特征进行融合处理,生成对应这个 Person 的特征,使人员搜索(确定待识别的人脸图片是某人)更加准确。而[人脸搜索](https://cloud.tencent.com/document/product/867/44994)及[人脸搜索按库返回接口](https://cloud.tencent.com/document/product/867/44993)将该人员(Person)下的每个人脸(Face)都作为单独个体进行搜索。
714
+ >
715
+ - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
716
+ - 仅支持算法模型版本(FaceModelVersion)为3.0的人员库。
717
+ """
718
+
719
+ kwargs = {}
720
+ kwargs["action"] = "SearchPersonsReturnsByGroup"
721
+ kwargs["params"] = request._serialize()
722
+ kwargs["resp_cls"] = models.SearchPersonsReturnsByGroupResponse
723
+ kwargs["headers"] = request.headers
724
+ kwargs["opts"] = opts or {}
725
+
726
+ return await self.call_and_deserialize(**kwargs)
727
+
728
+ async def UpgradeGroupFaceModelVersion(
729
+ self,
730
+ request: models.UpgradeGroupFaceModelVersionRequest,
731
+ opts: Dict = None,
732
+ ) -> models.UpgradeGroupFaceModelVersionResponse:
733
+ """
734
+ 避免官网歧义
735
+
736
+ 升级人员库。升级过程中,人员库仍然为原算法版本,人员库相关操作仍然支持。升级完成后,人员库为新算法版本。
737
+ 单个人员库有且仅支持一次回滚操作。
738
+
739
+ 升级是一个耗时的操作,执行时间与人员库的人脸数相关,升级的人员库中的人脸数越多,升级的耗时越长。升级接口是个异步任务,调用成功后返回JobId,通过GetUpgradeGroupFaceModelVersionResult查询升级进度和结果。如果升级成功,人员库版本将切换到新版本。如果想回滚到旧版本,可以调用RevertGroupFaceModelVersion进行回滚。
740
+
741
+ 注:某些接口无法进行跨人员库版本操作,例如SearchFaces,SearchPersons和CopyPerson等。当业务有多个Group操作的场景时,如同时搜索Group1和Group2,如果升级了Group1,此时Group1和Group2版本不同,造成了跨版本操作,将导致Search接口无法正常执行,返回不允许执行跨版本操作错误,升级前需考虑业务是否有多库操作的场景,否则会影响线上接口表现。
742
+ """
743
+
744
+ kwargs = {}
745
+ kwargs["action"] = "UpgradeGroupFaceModelVersion"
746
+ kwargs["params"] = request._serialize()
747
+ kwargs["resp_cls"] = models.UpgradeGroupFaceModelVersionResponse
748
+ kwargs["headers"] = request.headers
749
+ kwargs["opts"] = opts or {}
750
+
751
+ return await self.call_and_deserialize(**kwargs)
752
+
753
+ async def VerifyFace(
754
+ self,
755
+ request: models.VerifyFaceRequest,
756
+ opts: Dict = None,
757
+ ) -> models.VerifyFaceResponse:
758
+ """
759
+ 给定一张人脸图片和一个 PersonId,判断图片中的人和 PersonId 对应的人是否为同一人。PersonId 请参考[人员库管理相关接口](https://cloud.tencent.com/document/product/867/45015)。
760
+
761
+ 与[人脸比对](https://cloud.tencent.com/document/product/867/44987)接口不同的是,人脸验证用于判断 “此人是否是此人”,“此人”的信息已存于人员库中,“此人”可能存在多张人脸图片;而[人脸比对](https://cloud.tencent.com/document/product/867/44987)用于判断两张人脸的相似度。
762
+
763
+ 与[人员验证](https://cloud.tencent.com/document/product/867/44982)接口不同的是,人脸验证将该人员(Person)下的每个人脸(Face)都作为单独个体进行验证,而[人员验证](https://cloud.tencent.com/document/product/867/44982)会将该人员(Person)下的所有人脸(Face)进行融合特征处理,即若某个 Person下有4张 Face,人员验证接口会将4张 Face 的特征进行融合处理,生成对应这个 Person 的特征,使人员验证(确定待识别的人脸图片是某人员)更加准确。
764
+
765
+ >
766
+ - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
767
+ """
768
+
769
+ kwargs = {}
770
+ kwargs["action"] = "VerifyFace"
771
+ kwargs["params"] = request._serialize()
772
+ kwargs["resp_cls"] = models.VerifyFaceResponse
773
+ kwargs["headers"] = request.headers
774
+ kwargs["opts"] = opts or {}
775
+
776
+ return await self.call_and_deserialize(**kwargs)
777
+
778
+ async def VerifyPerson(
779
+ self,
780
+ request: models.VerifyPersonRequest,
781
+ opts: Dict = None,
782
+ ) -> models.VerifyPersonResponse:
783
+ """
784
+ 给定一张人脸图片和一个 PersonId,判断图片中的人和 PersonId 对应的人是否为同一人。PersonId 请参考[人员库管理相关接口](https://cloud.tencent.com/document/product/867/45015)。
785
+ 本接口会将该人员(Person)下的所有人脸(Face)进行融合特征处理,即若某个Person下有4张 Face,本接口会将4张 Face 的特征进行融合处理,生成对应这个 Person 的特征,使人员验证(确定待识别的人脸图片是某人员)更加准确。
786
+
787
+ 和人脸比对相关接口不同的是,人脸验证相关接口用于判断 “此人是否是此人”,“此人”的信息已存于人员库中,“此人”可能存在多张人脸图片;而人脸比对相关接口用于判断两张人脸的相似度。
788
+
789
+
790
+ >
791
+ - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
792
+ - 仅支持算法模型版本(FaceModelVersion)为3.0的人员库。
793
+ """
794
+
795
+ kwargs = {}
796
+ kwargs["action"] = "VerifyPerson"
797
+ kwargs["params"] = request._serialize()
798
+ kwargs["resp_cls"] = models.VerifyPersonResponse
799
+ kwargs["headers"] = request.headers
800
+ kwargs["opts"] = opts or {}
801
+
802
+ return await self.call_and_deserialize(**kwargs)