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,1527 @@
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.gs.v20191118 import models
20
+ from typing import Dict
21
+
22
+
23
+ class GsClient(AbstractClient):
24
+ _apiVersion = '2019-11-18'
25
+ _endpoint = 'gs.tencentcloudapi.com'
26
+ _service = 'gs'
27
+
28
+ async def BackUpAndroidInstance(
29
+ self,
30
+ request: models.BackUpAndroidInstanceRequest,
31
+ opts: Dict = None,
32
+ ) -> models.BackUpAndroidInstanceResponse:
33
+ """
34
+ 备份安卓实例。该接口需要联系我们开通内网存储才能使用。
35
+ """
36
+
37
+ kwargs = {}
38
+ kwargs["action"] = "BackUpAndroidInstance"
39
+ kwargs["params"] = request._serialize()
40
+ kwargs["resp_cls"] = models.BackUpAndroidInstanceResponse
41
+ kwargs["headers"] = request.headers
42
+ kwargs["opts"] = opts or {}
43
+
44
+ return await self.call_and_deserialize(**kwargs)
45
+
46
+ async def BackUpAndroidInstanceToStorage(
47
+ self,
48
+ request: models.BackUpAndroidInstanceToStorageRequest,
49
+ opts: Dict = None,
50
+ ) -> models.BackUpAndroidInstanceToStorageResponse:
51
+ """
52
+ 备份云手机数据到指定存储,支持 COS 和兼容 AWS S3 协议的对象存储服务。如果是备份到 COS 时,会使用公网流量,授权 COS bucket 请在控制台中操作。
53
+ """
54
+
55
+ kwargs = {}
56
+ kwargs["action"] = "BackUpAndroidInstanceToStorage"
57
+ kwargs["params"] = request._serialize()
58
+ kwargs["resp_cls"] = models.BackUpAndroidInstanceToStorageResponse
59
+ kwargs["headers"] = request.headers
60
+ kwargs["opts"] = opts or {}
61
+
62
+ return await self.call_and_deserialize(**kwargs)
63
+
64
+ async def CleanAndroidInstancesAppData(
65
+ self,
66
+ request: models.CleanAndroidInstancesAppDataRequest,
67
+ opts: Dict = None,
68
+ ) -> models.CleanAndroidInstancesAppDataResponse:
69
+ """
70
+ 批量清理安卓实例应用数据
71
+ """
72
+
73
+ kwargs = {}
74
+ kwargs["action"] = "CleanAndroidInstancesAppData"
75
+ kwargs["params"] = request._serialize()
76
+ kwargs["resp_cls"] = models.CleanAndroidInstancesAppDataResponse
77
+ kwargs["headers"] = request.headers
78
+ kwargs["opts"] = opts or {}
79
+
80
+ return await self.call_and_deserialize(**kwargs)
81
+
82
+ async def ConnectAndroidInstance(
83
+ self,
84
+ request: models.ConnectAndroidInstanceRequest,
85
+ opts: Dict = None,
86
+ ) -> models.ConnectAndroidInstanceResponse:
87
+ """
88
+ 连接安卓实例
89
+ """
90
+
91
+ kwargs = {}
92
+ kwargs["action"] = "ConnectAndroidInstance"
93
+ kwargs["params"] = request._serialize()
94
+ kwargs["resp_cls"] = models.ConnectAndroidInstanceResponse
95
+ kwargs["headers"] = request.headers
96
+ kwargs["opts"] = opts or {}
97
+
98
+ return await self.call_and_deserialize(**kwargs)
99
+
100
+ async def CopyAndroidInstance(
101
+ self,
102
+ request: models.CopyAndroidInstanceRequest,
103
+ opts: Dict = None,
104
+ ) -> models.CopyAndroidInstanceResponse:
105
+ """
106
+ 复制安卓实例:
107
+ 1. 排除和包含文件只能指定 /data 下的文件,不指定时复制整个 /data 目录
108
+ 2. 源实例和目的实例必须在同一区域
109
+ 3. 复制时,源实例和目的实例都会停机,复制完后实例会自动启动
110
+ 4. 复制时会产生大量内网流量,请限制并发
111
+ """
112
+
113
+ kwargs = {}
114
+ kwargs["action"] = "CopyAndroidInstance"
115
+ kwargs["params"] = request._serialize()
116
+ kwargs["resp_cls"] = models.CopyAndroidInstanceResponse
117
+ kwargs["headers"] = request.headers
118
+ kwargs["opts"] = opts or {}
119
+
120
+ return await self.call_and_deserialize(**kwargs)
121
+
122
+ async def CreateAndroidApp(
123
+ self,
124
+ request: models.CreateAndroidAppRequest,
125
+ opts: Dict = None,
126
+ ) -> models.CreateAndroidAppResponse:
127
+ """
128
+ 创建安卓应用
129
+ """
130
+
131
+ kwargs = {}
132
+ kwargs["action"] = "CreateAndroidApp"
133
+ kwargs["params"] = request._serialize()
134
+ kwargs["resp_cls"] = models.CreateAndroidAppResponse
135
+ kwargs["headers"] = request.headers
136
+ kwargs["opts"] = opts or {}
137
+
138
+ return await self.call_and_deserialize(**kwargs)
139
+
140
+ async def CreateAndroidAppVersion(
141
+ self,
142
+ request: models.CreateAndroidAppVersionRequest,
143
+ opts: Dict = None,
144
+ ) -> models.CreateAndroidAppVersionResponse:
145
+ """
146
+ 创建安卓应用版本
147
+ """
148
+
149
+ kwargs = {}
150
+ kwargs["action"] = "CreateAndroidAppVersion"
151
+ kwargs["params"] = request._serialize()
152
+ kwargs["resp_cls"] = models.CreateAndroidAppVersionResponse
153
+ kwargs["headers"] = request.headers
154
+ kwargs["opts"] = opts or {}
155
+
156
+ return await self.call_and_deserialize(**kwargs)
157
+
158
+ async def CreateAndroidInstanceADB(
159
+ self,
160
+ request: models.CreateAndroidInstanceADBRequest,
161
+ opts: Dict = None,
162
+ ) -> models.CreateAndroidInstanceADBResponse:
163
+ """
164
+ 创建云手机实例 ADB 连接信息,请将返回结果的 PrivateKey 字段保存为 pem 文件,并将 pem 文件权限设置为 600,再参考返回结果的 ConnectCommand 使用 adb 连接实例。
165
+ """
166
+
167
+ kwargs = {}
168
+ kwargs["action"] = "CreateAndroidInstanceADB"
169
+ kwargs["params"] = request._serialize()
170
+ kwargs["resp_cls"] = models.CreateAndroidInstanceADBResponse
171
+ kwargs["headers"] = request.headers
172
+ kwargs["opts"] = opts or {}
173
+
174
+ return await self.call_and_deserialize(**kwargs)
175
+
176
+ async def CreateAndroidInstanceAcceleratorToken(
177
+ self,
178
+ request: models.CreateAndroidInstanceAcceleratorTokenRequest,
179
+ opts: Dict = None,
180
+ ) -> models.CreateAndroidInstanceAcceleratorTokenResponse:
181
+ """
182
+ 创建安卓实例加速Token
183
+ """
184
+
185
+ kwargs = {}
186
+ kwargs["action"] = "CreateAndroidInstanceAcceleratorToken"
187
+ kwargs["params"] = request._serialize()
188
+ kwargs["resp_cls"] = models.CreateAndroidInstanceAcceleratorTokenResponse
189
+ kwargs["headers"] = request.headers
190
+ kwargs["opts"] = opts or {}
191
+
192
+ return await self.call_and_deserialize(**kwargs)
193
+
194
+ async def CreateAndroidInstanceImage(
195
+ self,
196
+ request: models.CreateAndroidInstanceImageRequest,
197
+ opts: Dict = None,
198
+ ) -> models.CreateAndroidInstanceImageResponse:
199
+ """
200
+ 使用指定的安卓实例创建镜像,创建镜像时指定的实例会关机,镜像创建完成后实例会自动开机。当镜像的 AndroidInstanceImageState 为 NORMAL 时,镜像创建完成处于可用状态。
201
+ """
202
+
203
+ kwargs = {}
204
+ kwargs["action"] = "CreateAndroidInstanceImage"
205
+ kwargs["params"] = request._serialize()
206
+ kwargs["resp_cls"] = models.CreateAndroidInstanceImageResponse
207
+ kwargs["headers"] = request.headers
208
+ kwargs["opts"] = opts or {}
209
+
210
+ return await self.call_and_deserialize(**kwargs)
211
+
212
+ async def CreateAndroidInstanceLabel(
213
+ self,
214
+ request: models.CreateAndroidInstanceLabelRequest,
215
+ opts: Dict = None,
216
+ ) -> models.CreateAndroidInstanceLabelResponse:
217
+ """
218
+ 创建安卓实例标签
219
+ """
220
+
221
+ kwargs = {}
222
+ kwargs["action"] = "CreateAndroidInstanceLabel"
223
+ kwargs["params"] = request._serialize()
224
+ kwargs["resp_cls"] = models.CreateAndroidInstanceLabelResponse
225
+ kwargs["headers"] = request.headers
226
+ kwargs["opts"] = opts or {}
227
+
228
+ return await self.call_and_deserialize(**kwargs)
229
+
230
+ async def CreateAndroidInstanceSSH(
231
+ self,
232
+ request: models.CreateAndroidInstanceSSHRequest,
233
+ opts: Dict = None,
234
+ ) -> models.CreateAndroidInstanceSSHResponse:
235
+ """
236
+ 创建安卓实例 SSH 连接信息,请将返回结果的 PrivateKey 字段保存为 pem 文件,并将 pem 文件权限设置为 600,再参考返回结果的 ConnectCommand 使用 ssh 连接实例。
237
+ """
238
+
239
+ kwargs = {}
240
+ kwargs["action"] = "CreateAndroidInstanceSSH"
241
+ kwargs["params"] = request._serialize()
242
+ kwargs["resp_cls"] = models.CreateAndroidInstanceSSHResponse
243
+ kwargs["headers"] = request.headers
244
+ kwargs["opts"] = opts or {}
245
+
246
+ return await self.call_and_deserialize(**kwargs)
247
+
248
+ async def CreateAndroidInstanceWebShell(
249
+ self,
250
+ request: models.CreateAndroidInstanceWebShellRequest,
251
+ opts: Dict = None,
252
+ ) -> models.CreateAndroidInstanceWebShellResponse:
253
+ """
254
+ 创建安卓实例 WebShell 连接信息,返回的 ConnectUrl 可通过浏览器直接打开访问,链接有效期 1 小时,链接打开后可持续使用。
255
+ """
256
+
257
+ kwargs = {}
258
+ kwargs["action"] = "CreateAndroidInstanceWebShell"
259
+ kwargs["params"] = request._serialize()
260
+ kwargs["resp_cls"] = models.CreateAndroidInstanceWebShellResponse
261
+ kwargs["headers"] = request.headers
262
+ kwargs["opts"] = opts or {}
263
+
264
+ return await self.call_and_deserialize(**kwargs)
265
+
266
+ async def CreateAndroidInstances(
267
+ self,
268
+ request: models.CreateAndroidInstancesRequest,
269
+ opts: Dict = None,
270
+ ) -> models.CreateAndroidInstancesResponse:
271
+ """
272
+ 创建安卓实例
273
+ """
274
+
275
+ kwargs = {}
276
+ kwargs["action"] = "CreateAndroidInstances"
277
+ kwargs["params"] = request._serialize()
278
+ kwargs["resp_cls"] = models.CreateAndroidInstancesResponse
279
+ kwargs["headers"] = request.headers
280
+ kwargs["opts"] = opts or {}
281
+
282
+ return await self.call_and_deserialize(**kwargs)
283
+
284
+ async def CreateAndroidInstancesAccessToken(
285
+ self,
286
+ request: models.CreateAndroidInstancesAccessTokenRequest,
287
+ opts: Dict = None,
288
+ ) -> models.CreateAndroidInstancesAccessTokenResponse:
289
+ """
290
+ 创建安卓实例访问Token
291
+ """
292
+
293
+ kwargs = {}
294
+ kwargs["action"] = "CreateAndroidInstancesAccessToken"
295
+ kwargs["params"] = request._serialize()
296
+ kwargs["resp_cls"] = models.CreateAndroidInstancesAccessTokenResponse
297
+ kwargs["headers"] = request.headers
298
+ kwargs["opts"] = opts or {}
299
+
300
+ return await self.call_and_deserialize(**kwargs)
301
+
302
+ async def CreateAndroidInstancesScreenshot(
303
+ self,
304
+ request: models.CreateAndroidInstancesScreenshotRequest,
305
+ opts: Dict = None,
306
+ ) -> models.CreateAndroidInstancesScreenshotResponse:
307
+ """
308
+ 安卓实例截图
309
+ """
310
+
311
+ kwargs = {}
312
+ kwargs["action"] = "CreateAndroidInstancesScreenshot"
313
+ kwargs["params"] = request._serialize()
314
+ kwargs["resp_cls"] = models.CreateAndroidInstancesScreenshotResponse
315
+ kwargs["headers"] = request.headers
316
+ kwargs["opts"] = opts or {}
317
+
318
+ return await self.call_and_deserialize(**kwargs)
319
+
320
+ async def CreateCosCredential(
321
+ self,
322
+ request: models.CreateCosCredentialRequest,
323
+ opts: Dict = None,
324
+ ) -> models.CreateCosCredentialResponse:
325
+ """
326
+ 用于创建 Cos 临时密钥
327
+ """
328
+
329
+ kwargs = {}
330
+ kwargs["action"] = "CreateCosCredential"
331
+ kwargs["params"] = request._serialize()
332
+ kwargs["resp_cls"] = models.CreateCosCredentialResponse
333
+ kwargs["headers"] = request.headers
334
+ kwargs["opts"] = opts or {}
335
+
336
+ return await self.call_and_deserialize(**kwargs)
337
+
338
+ async def CreateSession(
339
+ self,
340
+ request: models.CreateSessionRequest,
341
+ opts: Dict = None,
342
+ ) -> models.CreateSessionResponse:
343
+ """
344
+ 创建会话
345
+ """
346
+
347
+ kwargs = {}
348
+ kwargs["action"] = "CreateSession"
349
+ kwargs["params"] = request._serialize()
350
+ kwargs["resp_cls"] = models.CreateSessionResponse
351
+ kwargs["headers"] = request.headers
352
+ kwargs["opts"] = opts or {}
353
+
354
+ return await self.call_and_deserialize(**kwargs)
355
+
356
+ async def DeleteAndroidApp(
357
+ self,
358
+ request: models.DeleteAndroidAppRequest,
359
+ opts: Dict = None,
360
+ ) -> models.DeleteAndroidAppResponse:
361
+ """
362
+ 删除安卓应用
363
+ """
364
+
365
+ kwargs = {}
366
+ kwargs["action"] = "DeleteAndroidApp"
367
+ kwargs["params"] = request._serialize()
368
+ kwargs["resp_cls"] = models.DeleteAndroidAppResponse
369
+ kwargs["headers"] = request.headers
370
+ kwargs["opts"] = opts or {}
371
+
372
+ return await self.call_and_deserialize(**kwargs)
373
+
374
+ async def DeleteAndroidAppVersion(
375
+ self,
376
+ request: models.DeleteAndroidAppVersionRequest,
377
+ opts: Dict = None,
378
+ ) -> models.DeleteAndroidAppVersionResponse:
379
+ """
380
+ 删除安卓应用版本
381
+ """
382
+
383
+ kwargs = {}
384
+ kwargs["action"] = "DeleteAndroidAppVersion"
385
+ kwargs["params"] = request._serialize()
386
+ kwargs["resp_cls"] = models.DeleteAndroidAppVersionResponse
387
+ kwargs["headers"] = request.headers
388
+ kwargs["opts"] = opts or {}
389
+
390
+ return await self.call_and_deserialize(**kwargs)
391
+
392
+ async def DeleteAndroidInstanceBackupFiles(
393
+ self,
394
+ request: models.DeleteAndroidInstanceBackupFilesRequest,
395
+ opts: Dict = None,
396
+ ) -> models.DeleteAndroidInstanceBackupFilesResponse:
397
+ """
398
+ 删除安卓实例备份文件
399
+ """
400
+
401
+ kwargs = {}
402
+ kwargs["action"] = "DeleteAndroidInstanceBackupFiles"
403
+ kwargs["params"] = request._serialize()
404
+ kwargs["resp_cls"] = models.DeleteAndroidInstanceBackupFilesResponse
405
+ kwargs["headers"] = request.headers
406
+ kwargs["opts"] = opts or {}
407
+
408
+ return await self.call_and_deserialize(**kwargs)
409
+
410
+ async def DeleteAndroidInstanceBackups(
411
+ self,
412
+ request: models.DeleteAndroidInstanceBackupsRequest,
413
+ opts: Dict = None,
414
+ ) -> models.DeleteAndroidInstanceBackupsResponse:
415
+ """
416
+ 批量删除安卓实例备份
417
+ """
418
+
419
+ kwargs = {}
420
+ kwargs["action"] = "DeleteAndroidInstanceBackups"
421
+ kwargs["params"] = request._serialize()
422
+ kwargs["resp_cls"] = models.DeleteAndroidInstanceBackupsResponse
423
+ kwargs["headers"] = request.headers
424
+ kwargs["opts"] = opts or {}
425
+
426
+ return await self.call_and_deserialize(**kwargs)
427
+
428
+ async def DeleteAndroidInstanceImages(
429
+ self,
430
+ request: models.DeleteAndroidInstanceImagesRequest,
431
+ opts: Dict = None,
432
+ ) -> models.DeleteAndroidInstanceImagesResponse:
433
+ """
434
+ 删除安卓实例镜像
435
+ """
436
+
437
+ kwargs = {}
438
+ kwargs["action"] = "DeleteAndroidInstanceImages"
439
+ kwargs["params"] = request._serialize()
440
+ kwargs["resp_cls"] = models.DeleteAndroidInstanceImagesResponse
441
+ kwargs["headers"] = request.headers
442
+ kwargs["opts"] = opts or {}
443
+
444
+ return await self.call_and_deserialize(**kwargs)
445
+
446
+ async def DeleteAndroidInstanceLabel(
447
+ self,
448
+ request: models.DeleteAndroidInstanceLabelRequest,
449
+ opts: Dict = None,
450
+ ) -> models.DeleteAndroidInstanceLabelResponse:
451
+ """
452
+ 删除安卓实例标签
453
+ """
454
+
455
+ kwargs = {}
456
+ kwargs["action"] = "DeleteAndroidInstanceLabel"
457
+ kwargs["params"] = request._serialize()
458
+ kwargs["resp_cls"] = models.DeleteAndroidInstanceLabelResponse
459
+ kwargs["headers"] = request.headers
460
+ kwargs["opts"] = opts or {}
461
+
462
+ return await self.call_and_deserialize(**kwargs)
463
+
464
+ async def DescribeAndroidApps(
465
+ self,
466
+ request: models.DescribeAndroidAppsRequest,
467
+ opts: Dict = None,
468
+ ) -> models.DescribeAndroidAppsResponse:
469
+ """
470
+ 查询安卓应用信息
471
+ """
472
+
473
+ kwargs = {}
474
+ kwargs["action"] = "DescribeAndroidApps"
475
+ kwargs["params"] = request._serialize()
476
+ kwargs["resp_cls"] = models.DescribeAndroidAppsResponse
477
+ kwargs["headers"] = request.headers
478
+ kwargs["opts"] = opts or {}
479
+
480
+ return await self.call_and_deserialize(**kwargs)
481
+
482
+ async def DescribeAndroidInstanceApps(
483
+ self,
484
+ request: models.DescribeAndroidInstanceAppsRequest,
485
+ opts: Dict = None,
486
+ ) -> models.DescribeAndroidInstanceAppsResponse:
487
+ """
488
+ 查询安卓实例应用
489
+ """
490
+
491
+ kwargs = {}
492
+ kwargs["action"] = "DescribeAndroidInstanceApps"
493
+ kwargs["params"] = request._serialize()
494
+ kwargs["resp_cls"] = models.DescribeAndroidInstanceAppsResponse
495
+ kwargs["headers"] = request.headers
496
+ kwargs["opts"] = opts or {}
497
+
498
+ return await self.call_and_deserialize(**kwargs)
499
+
500
+ async def DescribeAndroidInstanceBackups(
501
+ self,
502
+ request: models.DescribeAndroidInstanceBackupsRequest,
503
+ opts: Dict = None,
504
+ ) -> models.DescribeAndroidInstanceBackupsResponse:
505
+ """
506
+ 查询安卓实例备份列表
507
+ """
508
+
509
+ kwargs = {}
510
+ kwargs["action"] = "DescribeAndroidInstanceBackups"
511
+ kwargs["params"] = request._serialize()
512
+ kwargs["resp_cls"] = models.DescribeAndroidInstanceBackupsResponse
513
+ kwargs["headers"] = request.headers
514
+ kwargs["opts"] = opts or {}
515
+
516
+ return await self.call_and_deserialize(**kwargs)
517
+
518
+ async def DescribeAndroidInstanceImages(
519
+ self,
520
+ request: models.DescribeAndroidInstanceImagesRequest,
521
+ opts: Dict = None,
522
+ ) -> models.DescribeAndroidInstanceImagesResponse:
523
+ """
524
+ 查询安卓实例镜像信息,当镜像的 AndroidInstanceImageState 为 NORMAL 时,镜像处于可用状态。
525
+ """
526
+
527
+ kwargs = {}
528
+ kwargs["action"] = "DescribeAndroidInstanceImages"
529
+ kwargs["params"] = request._serialize()
530
+ kwargs["resp_cls"] = models.DescribeAndroidInstanceImagesResponse
531
+ kwargs["headers"] = request.headers
532
+ kwargs["opts"] = opts or {}
533
+
534
+ return await self.call_and_deserialize(**kwargs)
535
+
536
+ async def DescribeAndroidInstanceLabels(
537
+ self,
538
+ request: models.DescribeAndroidInstanceLabelsRequest,
539
+ opts: Dict = None,
540
+ ) -> models.DescribeAndroidInstanceLabelsResponse:
541
+ """
542
+ 查询安卓实例标签
543
+ """
544
+
545
+ kwargs = {}
546
+ kwargs["action"] = "DescribeAndroidInstanceLabels"
547
+ kwargs["params"] = request._serialize()
548
+ kwargs["resp_cls"] = models.DescribeAndroidInstanceLabelsResponse
549
+ kwargs["headers"] = request.headers
550
+ kwargs["opts"] = opts or {}
551
+
552
+ return await self.call_and_deserialize(**kwargs)
553
+
554
+ async def DescribeAndroidInstanceTasksStatus(
555
+ self,
556
+ request: models.DescribeAndroidInstanceTasksStatusRequest,
557
+ opts: Dict = None,
558
+ ) -> models.DescribeAndroidInstanceTasksStatusResponse:
559
+ """
560
+ 查询安卓实例任务状态
561
+ """
562
+
563
+ kwargs = {}
564
+ kwargs["action"] = "DescribeAndroidInstanceTasksStatus"
565
+ kwargs["params"] = request._serialize()
566
+ kwargs["resp_cls"] = models.DescribeAndroidInstanceTasksStatusResponse
567
+ kwargs["headers"] = request.headers
568
+ kwargs["opts"] = opts or {}
569
+
570
+ return await self.call_and_deserialize(**kwargs)
571
+
572
+ async def DescribeAndroidInstances(
573
+ self,
574
+ request: models.DescribeAndroidInstancesRequest,
575
+ opts: Dict = None,
576
+ ) -> models.DescribeAndroidInstancesResponse:
577
+ """
578
+ 查询安卓实例
579
+ """
580
+
581
+ kwargs = {}
582
+ kwargs["action"] = "DescribeAndroidInstances"
583
+ kwargs["params"] = request._serialize()
584
+ kwargs["resp_cls"] = models.DescribeAndroidInstancesResponse
585
+ kwargs["headers"] = request.headers
586
+ kwargs["opts"] = opts or {}
587
+
588
+ return await self.call_and_deserialize(**kwargs)
589
+
590
+ async def DescribeAndroidInstancesAppBlacklist(
591
+ self,
592
+ request: models.DescribeAndroidInstancesAppBlacklistRequest,
593
+ opts: Dict = None,
594
+ ) -> models.DescribeAndroidInstancesAppBlacklistResponse:
595
+ """
596
+ 查询安卓实例黑名单
597
+ """
598
+
599
+ kwargs = {}
600
+ kwargs["action"] = "DescribeAndroidInstancesAppBlacklist"
601
+ kwargs["params"] = request._serialize()
602
+ kwargs["resp_cls"] = models.DescribeAndroidInstancesAppBlacklistResponse
603
+ kwargs["headers"] = request.headers
604
+ kwargs["opts"] = opts or {}
605
+
606
+ return await self.call_and_deserialize(**kwargs)
607
+
608
+ async def DescribeAndroidInstancesByApps(
609
+ self,
610
+ request: models.DescribeAndroidInstancesByAppsRequest,
611
+ opts: Dict = None,
612
+ ) -> models.DescribeAndroidInstancesByAppsResponse:
613
+ """
614
+ 批量查询安装指定应用的安卓实例
615
+ """
616
+
617
+ kwargs = {}
618
+ kwargs["action"] = "DescribeAndroidInstancesByApps"
619
+ kwargs["params"] = request._serialize()
620
+ kwargs["resp_cls"] = models.DescribeAndroidInstancesByAppsResponse
621
+ kwargs["headers"] = request.headers
622
+ kwargs["opts"] = opts or {}
623
+
624
+ return await self.call_and_deserialize(**kwargs)
625
+
626
+ async def DescribeInstancesCount(
627
+ self,
628
+ request: models.DescribeInstancesCountRequest,
629
+ opts: Dict = None,
630
+ ) -> models.DescribeInstancesCountResponse:
631
+ """
632
+ 获取并发总数和运行数
633
+ """
634
+
635
+ kwargs = {}
636
+ kwargs["action"] = "DescribeInstancesCount"
637
+ kwargs["params"] = request._serialize()
638
+ kwargs["resp_cls"] = models.DescribeInstancesCountResponse
639
+ kwargs["headers"] = request.headers
640
+ kwargs["opts"] = opts or {}
641
+
642
+ return await self.call_and_deserialize(**kwargs)
643
+
644
+ async def DestroyAndroidInstances(
645
+ self,
646
+ request: models.DestroyAndroidInstancesRequest,
647
+ opts: Dict = None,
648
+ ) -> models.DestroyAndroidInstancesResponse:
649
+ """
650
+ 销毁安卓实例
651
+ """
652
+
653
+ kwargs = {}
654
+ kwargs["action"] = "DestroyAndroidInstances"
655
+ kwargs["params"] = request._serialize()
656
+ kwargs["resp_cls"] = models.DestroyAndroidInstancesResponse
657
+ kwargs["headers"] = request.headers
658
+ kwargs["opts"] = opts or {}
659
+
660
+ return await self.call_and_deserialize(**kwargs)
661
+
662
+ async def DisableAndroidInstancesApp(
663
+ self,
664
+ request: models.DisableAndroidInstancesAppRequest,
665
+ opts: Dict = None,
666
+ ) -> models.DisableAndroidInstancesAppResponse:
667
+ """
668
+ 批量禁用安卓实例应用
669
+ """
670
+
671
+ kwargs = {}
672
+ kwargs["action"] = "DisableAndroidInstancesApp"
673
+ kwargs["params"] = request._serialize()
674
+ kwargs["resp_cls"] = models.DisableAndroidInstancesAppResponse
675
+ kwargs["headers"] = request.headers
676
+ kwargs["opts"] = opts or {}
677
+
678
+ return await self.call_and_deserialize(**kwargs)
679
+
680
+ async def DisconnectAndroidInstance(
681
+ self,
682
+ request: models.DisconnectAndroidInstanceRequest,
683
+ opts: Dict = None,
684
+ ) -> models.DisconnectAndroidInstanceResponse:
685
+ """
686
+ 断开安卓实例
687
+ """
688
+
689
+ kwargs = {}
690
+ kwargs["action"] = "DisconnectAndroidInstance"
691
+ kwargs["params"] = request._serialize()
692
+ kwargs["resp_cls"] = models.DisconnectAndroidInstanceResponse
693
+ kwargs["headers"] = request.headers
694
+ kwargs["opts"] = opts or {}
695
+
696
+ return await self.call_and_deserialize(**kwargs)
697
+
698
+ async def DisconnectAndroidInstanceAccelerator(
699
+ self,
700
+ request: models.DisconnectAndroidInstanceAcceleratorRequest,
701
+ opts: Dict = None,
702
+ ) -> models.DisconnectAndroidInstanceAcceleratorResponse:
703
+ """
704
+ 断开安卓实例加速节点
705
+ """
706
+
707
+ kwargs = {}
708
+ kwargs["action"] = "DisconnectAndroidInstanceAccelerator"
709
+ kwargs["params"] = request._serialize()
710
+ kwargs["resp_cls"] = models.DisconnectAndroidInstanceAcceleratorResponse
711
+ kwargs["headers"] = request.headers
712
+ kwargs["opts"] = opts or {}
713
+
714
+ return await self.call_and_deserialize(**kwargs)
715
+
716
+ async def DistributeAndroidInstanceImageToHosts(
717
+ self,
718
+ request: models.DistributeAndroidInstanceImageToHostsRequest,
719
+ opts: Dict = None,
720
+ ) -> models.DistributeAndroidInstanceImageToHostsResponse:
721
+ """
722
+ 分发安卓实例镜像至宿主机
723
+ """
724
+
725
+ kwargs = {}
726
+ kwargs["action"] = "DistributeAndroidInstanceImageToHosts"
727
+ kwargs["params"] = request._serialize()
728
+ kwargs["resp_cls"] = models.DistributeAndroidInstanceImageToHostsResponse
729
+ kwargs["headers"] = request.headers
730
+ kwargs["opts"] = opts or {}
731
+
732
+ return await self.call_and_deserialize(**kwargs)
733
+
734
+ async def DistributeFileToAndroidInstances(
735
+ self,
736
+ request: models.DistributeFileToAndroidInstancesRequest,
737
+ opts: Dict = None,
738
+ ) -> models.DistributeFileToAndroidInstancesResponse:
739
+ """
740
+ 将一个文件批量分发到多个实例,一次接口调用触发一次文件分发,一次文件分发只会从公网下载一次,然后文件会走内网分发到实例列表中的实例。
741
+ """
742
+
743
+ kwargs = {}
744
+ kwargs["action"] = "DistributeFileToAndroidInstances"
745
+ kwargs["params"] = request._serialize()
746
+ kwargs["resp_cls"] = models.DistributeFileToAndroidInstancesResponse
747
+ kwargs["headers"] = request.headers
748
+ kwargs["opts"] = opts or {}
749
+
750
+ return await self.call_and_deserialize(**kwargs)
751
+
752
+ async def DistributePhotoToAndroidInstances(
753
+ self,
754
+ request: models.DistributePhotoToAndroidInstancesRequest,
755
+ opts: Dict = None,
756
+ ) -> models.DistributePhotoToAndroidInstancesResponse:
757
+ """
758
+ 将一张照片批量分发到多个实例的相册中,一次接口调用触发一次照片分发,一次照片分发只会从公网下载一次,然后照片会走内网分发到实例列表中的实例。
759
+ """
760
+
761
+ kwargs = {}
762
+ kwargs["action"] = "DistributePhotoToAndroidInstances"
763
+ kwargs["params"] = request._serialize()
764
+ kwargs["resp_cls"] = models.DistributePhotoToAndroidInstancesResponse
765
+ kwargs["headers"] = request.headers
766
+ kwargs["opts"] = opts or {}
767
+
768
+ return await self.call_and_deserialize(**kwargs)
769
+
770
+ async def EnableAndroidInstancesApp(
771
+ self,
772
+ request: models.EnableAndroidInstancesAppRequest,
773
+ opts: Dict = None,
774
+ ) -> models.EnableAndroidInstancesAppResponse:
775
+ """
776
+ 批量启用安卓实例应用
777
+ """
778
+
779
+ kwargs = {}
780
+ kwargs["action"] = "EnableAndroidInstancesApp"
781
+ kwargs["params"] = request._serialize()
782
+ kwargs["resp_cls"] = models.EnableAndroidInstancesAppResponse
783
+ kwargs["headers"] = request.headers
784
+ kwargs["opts"] = opts or {}
785
+
786
+ return await self.call_and_deserialize(**kwargs)
787
+
788
+ async def ExecuteCommandOnAndroidInstances(
789
+ self,
790
+ request: models.ExecuteCommandOnAndroidInstancesRequest,
791
+ opts: Dict = None,
792
+ ) -> models.ExecuteCommandOnAndroidInstancesResponse:
793
+ """
794
+ 在安卓实例上异步执行命令,命令输出结果如果内容过长会被截断
795
+ """
796
+
797
+ kwargs = {}
798
+ kwargs["action"] = "ExecuteCommandOnAndroidInstances"
799
+ kwargs["params"] = request._serialize()
800
+ kwargs["resp_cls"] = models.ExecuteCommandOnAndroidInstancesResponse
801
+ kwargs["headers"] = request.headers
802
+ kwargs["opts"] = opts or {}
803
+
804
+ return await self.call_and_deserialize(**kwargs)
805
+
806
+ async def FetchAndroidInstancesLogs(
807
+ self,
808
+ request: models.FetchAndroidInstancesLogsRequest,
809
+ opts: Dict = None,
810
+ ) -> models.FetchAndroidInstancesLogsResponse:
811
+ """
812
+ 批量将实例的 logcat 日志文件上传到您已授权的 COS bucket 中,授权 COS bucket 请在控制台中操作。
813
+ """
814
+
815
+ kwargs = {}
816
+ kwargs["action"] = "FetchAndroidInstancesLogs"
817
+ kwargs["params"] = request._serialize()
818
+ kwargs["resp_cls"] = models.FetchAndroidInstancesLogsResponse
819
+ kwargs["headers"] = request.headers
820
+ kwargs["opts"] = opts or {}
821
+
822
+ return await self.call_and_deserialize(**kwargs)
823
+
824
+ async def ImportAndroidInstanceImage(
825
+ self,
826
+ request: models.ImportAndroidInstanceImageRequest,
827
+ opts: Dict = None,
828
+ ) -> models.ImportAndroidInstanceImageResponse:
829
+ """
830
+ 导入安卓实例镜像,当镜像的 AndroidInstanceImageState 为 NORMAL 时,镜像导入完成处于可用状态。
831
+ """
832
+
833
+ kwargs = {}
834
+ kwargs["action"] = "ImportAndroidInstanceImage"
835
+ kwargs["params"] = request._serialize()
836
+ kwargs["resp_cls"] = models.ImportAndroidInstanceImageResponse
837
+ kwargs["headers"] = request.headers
838
+ kwargs["opts"] = opts or {}
839
+
840
+ return await self.call_and_deserialize(**kwargs)
841
+
842
+ async def InstallAndroidInstancesApp(
843
+ self,
844
+ request: models.InstallAndroidInstancesAppRequest,
845
+ opts: Dict = None,
846
+ ) -> models.InstallAndroidInstancesAppResponse:
847
+ """
848
+ 安装安卓实例应用
849
+ """
850
+
851
+ kwargs = {}
852
+ kwargs["action"] = "InstallAndroidInstancesApp"
853
+ kwargs["params"] = request._serialize()
854
+ kwargs["resp_cls"] = models.InstallAndroidInstancesAppResponse
855
+ kwargs["headers"] = request.headers
856
+ kwargs["opts"] = opts or {}
857
+
858
+ return await self.call_and_deserialize(**kwargs)
859
+
860
+ async def InstallAndroidInstancesAppWithURL(
861
+ self,
862
+ request: models.InstallAndroidInstancesAppWithURLRequest,
863
+ opts: Dict = None,
864
+ ) -> models.InstallAndroidInstancesAppWithURLResponse:
865
+ """
866
+ 通过 URL 安装安卓实例应用
867
+ """
868
+
869
+ kwargs = {}
870
+ kwargs["action"] = "InstallAndroidInstancesAppWithURL"
871
+ kwargs["params"] = request._serialize()
872
+ kwargs["resp_cls"] = models.InstallAndroidInstancesAppWithURLResponse
873
+ kwargs["headers"] = request.headers
874
+ kwargs["opts"] = opts or {}
875
+
876
+ return await self.call_and_deserialize(**kwargs)
877
+
878
+ async def ModifyAndroidApp(
879
+ self,
880
+ request: models.ModifyAndroidAppRequest,
881
+ opts: Dict = None,
882
+ ) -> models.ModifyAndroidAppResponse:
883
+ """
884
+ 修改安卓应用信息
885
+ """
886
+
887
+ kwargs = {}
888
+ kwargs["action"] = "ModifyAndroidApp"
889
+ kwargs["params"] = request._serialize()
890
+ kwargs["resp_cls"] = models.ModifyAndroidAppResponse
891
+ kwargs["headers"] = request.headers
892
+ kwargs["opts"] = opts or {}
893
+
894
+ return await self.call_and_deserialize(**kwargs)
895
+
896
+ async def ModifyAndroidAppVersion(
897
+ self,
898
+ request: models.ModifyAndroidAppVersionRequest,
899
+ opts: Dict = None,
900
+ ) -> models.ModifyAndroidAppVersionResponse:
901
+ """
902
+ 修改安卓应用版本
903
+ """
904
+
905
+ kwargs = {}
906
+ kwargs["action"] = "ModifyAndroidAppVersion"
907
+ kwargs["params"] = request._serialize()
908
+ kwargs["resp_cls"] = models.ModifyAndroidAppVersionResponse
909
+ kwargs["headers"] = request.headers
910
+ kwargs["opts"] = opts or {}
911
+
912
+ return await self.call_and_deserialize(**kwargs)
913
+
914
+ async def ModifyAndroidInstanceInformation(
915
+ self,
916
+ request: models.ModifyAndroidInstanceInformationRequest,
917
+ opts: Dict = None,
918
+ ) -> models.ModifyAndroidInstanceInformationResponse:
919
+ """
920
+ 修改安卓实例的信息
921
+ """
922
+
923
+ kwargs = {}
924
+ kwargs["action"] = "ModifyAndroidInstanceInformation"
925
+ kwargs["params"] = request._serialize()
926
+ kwargs["resp_cls"] = models.ModifyAndroidInstanceInformationResponse
927
+ kwargs["headers"] = request.headers
928
+ kwargs["opts"] = opts or {}
929
+
930
+ return await self.call_and_deserialize(**kwargs)
931
+
932
+ async def ModifyAndroidInstanceResolution(
933
+ self,
934
+ request: models.ModifyAndroidInstanceResolutionRequest,
935
+ opts: Dict = None,
936
+ ) -> models.ModifyAndroidInstanceResolutionResponse:
937
+ """
938
+ 修改安卓实例分辨率。需要注意的是该接口可能导致正在运行的应用出现闪退,所以建议在实例维护时期才进行调用。
939
+ """
940
+
941
+ kwargs = {}
942
+ kwargs["action"] = "ModifyAndroidInstanceResolution"
943
+ kwargs["params"] = request._serialize()
944
+ kwargs["resp_cls"] = models.ModifyAndroidInstanceResolutionResponse
945
+ kwargs["headers"] = request.headers
946
+ kwargs["opts"] = opts or {}
947
+
948
+ return await self.call_and_deserialize(**kwargs)
949
+
950
+ async def ModifyAndroidInstancesAppBlacklist(
951
+ self,
952
+ request: models.ModifyAndroidInstancesAppBlacklistRequest,
953
+ opts: Dict = None,
954
+ ) -> models.ModifyAndroidInstancesAppBlacklistResponse:
955
+ """
956
+ 修改安卓实例应用黑名单
957
+ """
958
+
959
+ kwargs = {}
960
+ kwargs["action"] = "ModifyAndroidInstancesAppBlacklist"
961
+ kwargs["params"] = request._serialize()
962
+ kwargs["resp_cls"] = models.ModifyAndroidInstancesAppBlacklistResponse
963
+ kwargs["headers"] = request.headers
964
+ kwargs["opts"] = opts or {}
965
+
966
+ return await self.call_and_deserialize(**kwargs)
967
+
968
+ async def ModifyAndroidInstancesInformation(
969
+ self,
970
+ request: models.ModifyAndroidInstancesInformationRequest,
971
+ opts: Dict = None,
972
+ ) -> models.ModifyAndroidInstancesInformationResponse:
973
+ """
974
+ 批量修改安卓实例信息
975
+ """
976
+
977
+ kwargs = {}
978
+ kwargs["action"] = "ModifyAndroidInstancesInformation"
979
+ kwargs["params"] = request._serialize()
980
+ kwargs["resp_cls"] = models.ModifyAndroidInstancesInformationResponse
981
+ kwargs["headers"] = request.headers
982
+ kwargs["opts"] = opts or {}
983
+
984
+ return await self.call_and_deserialize(**kwargs)
985
+
986
+ async def ModifyAndroidInstancesLabels(
987
+ self,
988
+ request: models.ModifyAndroidInstancesLabelsRequest,
989
+ opts: Dict = None,
990
+ ) -> models.ModifyAndroidInstancesLabelsResponse:
991
+ """
992
+ 批量修改安卓实例的标签
993
+ """
994
+
995
+ kwargs = {}
996
+ kwargs["action"] = "ModifyAndroidInstancesLabels"
997
+ kwargs["params"] = request._serialize()
998
+ kwargs["resp_cls"] = models.ModifyAndroidInstancesLabelsResponse
999
+ kwargs["headers"] = request.headers
1000
+ kwargs["opts"] = opts or {}
1001
+
1002
+ return await self.call_and_deserialize(**kwargs)
1003
+
1004
+ async def ModifyAndroidInstancesProperties(
1005
+ self,
1006
+ request: models.ModifyAndroidInstancesPropertiesRequest,
1007
+ opts: Dict = None,
1008
+ ) -> models.ModifyAndroidInstancesPropertiesResponse:
1009
+ """
1010
+ 批量修改安卓实例属性
1011
+ """
1012
+
1013
+ kwargs = {}
1014
+ kwargs["action"] = "ModifyAndroidInstancesProperties"
1015
+ kwargs["params"] = request._serialize()
1016
+ kwargs["resp_cls"] = models.ModifyAndroidInstancesPropertiesResponse
1017
+ kwargs["headers"] = request.headers
1018
+ kwargs["opts"] = opts or {}
1019
+
1020
+ return await self.call_and_deserialize(**kwargs)
1021
+
1022
+ async def ModifyAndroidInstancesResolution(
1023
+ self,
1024
+ request: models.ModifyAndroidInstancesResolutionRequest,
1025
+ opts: Dict = None,
1026
+ ) -> models.ModifyAndroidInstancesResolutionResponse:
1027
+ """
1028
+ 修改安卓实例分辨率。需要注意的是该接口需要重启才能生效。
1029
+ """
1030
+
1031
+ kwargs = {}
1032
+ kwargs["action"] = "ModifyAndroidInstancesResolution"
1033
+ kwargs["params"] = request._serialize()
1034
+ kwargs["resp_cls"] = models.ModifyAndroidInstancesResolutionResponse
1035
+ kwargs["headers"] = request.headers
1036
+ kwargs["opts"] = opts or {}
1037
+
1038
+ return await self.call_and_deserialize(**kwargs)
1039
+
1040
+ async def ModifyAndroidInstancesResources(
1041
+ self,
1042
+ request: models.ModifyAndroidInstancesResourcesRequest,
1043
+ opts: Dict = None,
1044
+ ) -> models.ModifyAndroidInstancesResourcesResponse:
1045
+ """
1046
+ 批量修改安卓实例资源限制
1047
+ """
1048
+
1049
+ kwargs = {}
1050
+ kwargs["action"] = "ModifyAndroidInstancesResources"
1051
+ kwargs["params"] = request._serialize()
1052
+ kwargs["resp_cls"] = models.ModifyAndroidInstancesResourcesResponse
1053
+ kwargs["headers"] = request.headers
1054
+ kwargs["opts"] = opts or {}
1055
+
1056
+ return await self.call_and_deserialize(**kwargs)
1057
+
1058
+ async def ModifyAndroidInstancesUserId(
1059
+ self,
1060
+ request: models.ModifyAndroidInstancesUserIdRequest,
1061
+ opts: Dict = None,
1062
+ ) -> models.ModifyAndroidInstancesUserIdResponse:
1063
+ """
1064
+ 批量修改安卓实例的用户ID
1065
+ """
1066
+
1067
+ kwargs = {}
1068
+ kwargs["action"] = "ModifyAndroidInstancesUserId"
1069
+ kwargs["params"] = request._serialize()
1070
+ kwargs["resp_cls"] = models.ModifyAndroidInstancesUserIdResponse
1071
+ kwargs["headers"] = request.headers
1072
+ kwargs["opts"] = opts or {}
1073
+
1074
+ return await self.call_and_deserialize(**kwargs)
1075
+
1076
+ async def RebootAndroidInstanceHosts(
1077
+ self,
1078
+ request: models.RebootAndroidInstanceHostsRequest,
1079
+ opts: Dict = None,
1080
+ ) -> models.RebootAndroidInstanceHostsResponse:
1081
+ """
1082
+ 重启安卓实例宿主机。请注意:
1083
+
1084
+ - 当前每 15 分钟只能重启一次
1085
+ - 一个宿主机可能有多个云手机实例,重启宿主机会影响运行在上面的所有实例,请确保该宿主机上的所有云手机实例未投入业务使用
1086
+ """
1087
+
1088
+ kwargs = {}
1089
+ kwargs["action"] = "RebootAndroidInstanceHosts"
1090
+ kwargs["params"] = request._serialize()
1091
+ kwargs["resp_cls"] = models.RebootAndroidInstanceHostsResponse
1092
+ kwargs["headers"] = request.headers
1093
+ kwargs["opts"] = opts or {}
1094
+
1095
+ return await self.call_and_deserialize(**kwargs)
1096
+
1097
+ async def RebootAndroidInstances(
1098
+ self,
1099
+ request: models.RebootAndroidInstancesRequest,
1100
+ opts: Dict = None,
1101
+ ) -> models.RebootAndroidInstancesResponse:
1102
+ """
1103
+ 重启安卓实例
1104
+ """
1105
+
1106
+ kwargs = {}
1107
+ kwargs["action"] = "RebootAndroidInstances"
1108
+ kwargs["params"] = request._serialize()
1109
+ kwargs["resp_cls"] = models.RebootAndroidInstancesResponse
1110
+ kwargs["headers"] = request.headers
1111
+ kwargs["opts"] = opts or {}
1112
+
1113
+ return await self.call_and_deserialize(**kwargs)
1114
+
1115
+ async def RenewAndroidInstancesAccessToken(
1116
+ self,
1117
+ request: models.RenewAndroidInstancesAccessTokenRequest,
1118
+ opts: Dict = None,
1119
+ ) -> models.RenewAndroidInstancesAccessTokenResponse:
1120
+ """
1121
+ 续期安卓实例访问Token
1122
+ """
1123
+
1124
+ kwargs = {}
1125
+ kwargs["action"] = "RenewAndroidInstancesAccessToken"
1126
+ kwargs["params"] = request._serialize()
1127
+ kwargs["resp_cls"] = models.RenewAndroidInstancesAccessTokenResponse
1128
+ kwargs["headers"] = request.headers
1129
+ kwargs["opts"] = opts or {}
1130
+
1131
+ return await self.call_and_deserialize(**kwargs)
1132
+
1133
+ async def ResetAndroidInstances(
1134
+ self,
1135
+ request: models.ResetAndroidInstancesRequest,
1136
+ opts: Dict = None,
1137
+ ) -> models.ResetAndroidInstancesResponse:
1138
+ """
1139
+ 重置安卓实例
1140
+ """
1141
+
1142
+ kwargs = {}
1143
+ kwargs["action"] = "ResetAndroidInstances"
1144
+ kwargs["params"] = request._serialize()
1145
+ kwargs["resp_cls"] = models.ResetAndroidInstancesResponse
1146
+ kwargs["headers"] = request.headers
1147
+ kwargs["opts"] = opts or {}
1148
+
1149
+ return await self.call_and_deserialize(**kwargs)
1150
+
1151
+ async def RestartAndroidInstancesApp(
1152
+ self,
1153
+ request: models.RestartAndroidInstancesAppRequest,
1154
+ opts: Dict = None,
1155
+ ) -> models.RestartAndroidInstancesAppResponse:
1156
+ """
1157
+ 重启安卓实例应用
1158
+ """
1159
+
1160
+ kwargs = {}
1161
+ kwargs["action"] = "RestartAndroidInstancesApp"
1162
+ kwargs["params"] = request._serialize()
1163
+ kwargs["resp_cls"] = models.RestartAndroidInstancesAppResponse
1164
+ kwargs["headers"] = request.headers
1165
+ kwargs["opts"] = opts or {}
1166
+
1167
+ return await self.call_and_deserialize(**kwargs)
1168
+
1169
+ async def RestoreAndroidInstance(
1170
+ self,
1171
+ request: models.RestoreAndroidInstanceRequest,
1172
+ opts: Dict = None,
1173
+ ) -> models.RestoreAndroidInstanceResponse:
1174
+ """
1175
+ 还原安卓实例。该接口需要联系我们开通内网存储才能使用。
1176
+ """
1177
+
1178
+ kwargs = {}
1179
+ kwargs["action"] = "RestoreAndroidInstance"
1180
+ kwargs["params"] = request._serialize()
1181
+ kwargs["resp_cls"] = models.RestoreAndroidInstanceResponse
1182
+ kwargs["headers"] = request.headers
1183
+ kwargs["opts"] = opts or {}
1184
+
1185
+ return await self.call_and_deserialize(**kwargs)
1186
+
1187
+ async def RestoreAndroidInstanceFromStorage(
1188
+ self,
1189
+ request: models.RestoreAndroidInstanceFromStorageRequest,
1190
+ opts: Dict = None,
1191
+ ) -> models.RestoreAndroidInstanceFromStorageResponse:
1192
+ """
1193
+ 使用指定存储数据还原云手机,支持 COS 和兼容 AWS S3 协议的对象存储服务。如果还原数据来自 COS 时,会使用公网流量,授权 COS bucket 请在控制台中操作。
1194
+ """
1195
+
1196
+ kwargs = {}
1197
+ kwargs["action"] = "RestoreAndroidInstanceFromStorage"
1198
+ kwargs["params"] = request._serialize()
1199
+ kwargs["resp_cls"] = models.RestoreAndroidInstanceFromStorageResponse
1200
+ kwargs["headers"] = request.headers
1201
+ kwargs["opts"] = opts or {}
1202
+
1203
+ return await self.call_and_deserialize(**kwargs)
1204
+
1205
+ async def SaveGameArchive(
1206
+ self,
1207
+ request: models.SaveGameArchiveRequest,
1208
+ opts: Dict = None,
1209
+ ) -> models.SaveGameArchiveResponse:
1210
+ """
1211
+ 保存游戏存档
1212
+ """
1213
+
1214
+ kwargs = {}
1215
+ kwargs["action"] = "SaveGameArchive"
1216
+ kwargs["params"] = request._serialize()
1217
+ kwargs["resp_cls"] = models.SaveGameArchiveResponse
1218
+ kwargs["headers"] = request.headers
1219
+ kwargs["opts"] = opts or {}
1220
+
1221
+ return await self.call_and_deserialize(**kwargs)
1222
+
1223
+ async def SetAndroidInstancesBGAppKeepAlive(
1224
+ self,
1225
+ request: models.SetAndroidInstancesBGAppKeepAliveRequest,
1226
+ opts: Dict = None,
1227
+ ) -> models.SetAndroidInstancesBGAppKeepAliveResponse:
1228
+ """
1229
+ 批量设置安卓实例应用后台保活,开启应用保活,只是降低应用被杀死或回收的优先级,并不能保证应用不会被杀死或回收(如出现内存不足等资源限制时,应用也有概率被杀死或回收)
1230
+ """
1231
+
1232
+ kwargs = {}
1233
+ kwargs["action"] = "SetAndroidInstancesBGAppKeepAlive"
1234
+ kwargs["params"] = request._serialize()
1235
+ kwargs["resp_cls"] = models.SetAndroidInstancesBGAppKeepAliveResponse
1236
+ kwargs["headers"] = request.headers
1237
+ kwargs["opts"] = opts or {}
1238
+
1239
+ return await self.call_and_deserialize(**kwargs)
1240
+
1241
+ async def SetAndroidInstancesFGAppKeepAlive(
1242
+ self,
1243
+ request: models.SetAndroidInstancesFGAppKeepAliveRequest,
1244
+ opts: Dict = None,
1245
+ ) -> models.SetAndroidInstancesFGAppKeepAliveResponse:
1246
+ """
1247
+ 批量设置安卓实例应用前台保活,开启应用保活,只是降低应用被杀死或回收的优先级,并不能保证应用不会被杀死或回收(如出现内存不足等资源限制时,应用也有概率被杀死或回收)
1248
+ """
1249
+
1250
+ kwargs = {}
1251
+ kwargs["action"] = "SetAndroidInstancesFGAppKeepAlive"
1252
+ kwargs["params"] = request._serialize()
1253
+ kwargs["resp_cls"] = models.SetAndroidInstancesFGAppKeepAliveResponse
1254
+ kwargs["headers"] = request.headers
1255
+ kwargs["opts"] = opts or {}
1256
+
1257
+ return await self.call_and_deserialize(**kwargs)
1258
+
1259
+ async def StartAndroidInstances(
1260
+ self,
1261
+ request: models.StartAndroidInstancesRequest,
1262
+ opts: Dict = None,
1263
+ ) -> models.StartAndroidInstancesResponse:
1264
+ """
1265
+ 开机安卓实例
1266
+ """
1267
+
1268
+ kwargs = {}
1269
+ kwargs["action"] = "StartAndroidInstances"
1270
+ kwargs["params"] = request._serialize()
1271
+ kwargs["resp_cls"] = models.StartAndroidInstancesResponse
1272
+ kwargs["headers"] = request.headers
1273
+ kwargs["opts"] = opts or {}
1274
+
1275
+ return await self.call_and_deserialize(**kwargs)
1276
+
1277
+ async def StartAndroidInstancesApp(
1278
+ self,
1279
+ request: models.StartAndroidInstancesAppRequest,
1280
+ opts: Dict = None,
1281
+ ) -> models.StartAndroidInstancesAppResponse:
1282
+ """
1283
+ 启动安卓实例应用
1284
+ """
1285
+
1286
+ kwargs = {}
1287
+ kwargs["action"] = "StartAndroidInstancesApp"
1288
+ kwargs["params"] = request._serialize()
1289
+ kwargs["resp_cls"] = models.StartAndroidInstancesAppResponse
1290
+ kwargs["headers"] = request.headers
1291
+ kwargs["opts"] = opts or {}
1292
+
1293
+ return await self.call_and_deserialize(**kwargs)
1294
+
1295
+ async def StartPublishStream(
1296
+ self,
1297
+ request: models.StartPublishStreamRequest,
1298
+ opts: Dict = None,
1299
+ ) -> models.StartPublishStreamResponse:
1300
+ """
1301
+ 开始云端推流
1302
+ """
1303
+
1304
+ kwargs = {}
1305
+ kwargs["action"] = "StartPublishStream"
1306
+ kwargs["params"] = request._serialize()
1307
+ kwargs["resp_cls"] = models.StartPublishStreamResponse
1308
+ kwargs["headers"] = request.headers
1309
+ kwargs["opts"] = opts or {}
1310
+
1311
+ return await self.call_and_deserialize(**kwargs)
1312
+
1313
+ async def StartPublishStreamToCSS(
1314
+ self,
1315
+ request: models.StartPublishStreamToCSSRequest,
1316
+ opts: Dict = None,
1317
+ ) -> models.StartPublishStreamToCSSResponse:
1318
+ """
1319
+ 开始云端推流
1320
+ """
1321
+
1322
+ kwargs = {}
1323
+ kwargs["action"] = "StartPublishStreamToCSS"
1324
+ kwargs["params"] = request._serialize()
1325
+ kwargs["resp_cls"] = models.StartPublishStreamToCSSResponse
1326
+ kwargs["headers"] = request.headers
1327
+ kwargs["opts"] = opts or {}
1328
+
1329
+ return await self.call_and_deserialize(**kwargs)
1330
+
1331
+ async def StopAndroidInstances(
1332
+ self,
1333
+ request: models.StopAndroidInstancesRequest,
1334
+ opts: Dict = None,
1335
+ ) -> models.StopAndroidInstancesResponse:
1336
+ """
1337
+ 关机安卓实例
1338
+ """
1339
+
1340
+ kwargs = {}
1341
+ kwargs["action"] = "StopAndroidInstances"
1342
+ kwargs["params"] = request._serialize()
1343
+ kwargs["resp_cls"] = models.StopAndroidInstancesResponse
1344
+ kwargs["headers"] = request.headers
1345
+ kwargs["opts"] = opts or {}
1346
+
1347
+ return await self.call_and_deserialize(**kwargs)
1348
+
1349
+ async def StopAndroidInstancesApp(
1350
+ self,
1351
+ request: models.StopAndroidInstancesAppRequest,
1352
+ opts: Dict = None,
1353
+ ) -> models.StopAndroidInstancesAppResponse:
1354
+ """
1355
+ 停止安卓实例应用
1356
+ """
1357
+
1358
+ kwargs = {}
1359
+ kwargs["action"] = "StopAndroidInstancesApp"
1360
+ kwargs["params"] = request._serialize()
1361
+ kwargs["resp_cls"] = models.StopAndroidInstancesAppResponse
1362
+ kwargs["headers"] = request.headers
1363
+ kwargs["opts"] = opts or {}
1364
+
1365
+ return await self.call_and_deserialize(**kwargs)
1366
+
1367
+ async def StopGame(
1368
+ self,
1369
+ request: models.StopGameRequest,
1370
+ opts: Dict = None,
1371
+ ) -> models.StopGameResponse:
1372
+ """
1373
+ 强制退出游戏
1374
+ """
1375
+
1376
+ kwargs = {}
1377
+ kwargs["action"] = "StopGame"
1378
+ kwargs["params"] = request._serialize()
1379
+ kwargs["resp_cls"] = models.StopGameResponse
1380
+ kwargs["headers"] = request.headers
1381
+ kwargs["opts"] = opts or {}
1382
+
1383
+ return await self.call_and_deserialize(**kwargs)
1384
+
1385
+ async def StopPublishStream(
1386
+ self,
1387
+ request: models.StopPublishStreamRequest,
1388
+ opts: Dict = None,
1389
+ ) -> models.StopPublishStreamResponse:
1390
+ """
1391
+ 停止云端推流
1392
+ """
1393
+
1394
+ kwargs = {}
1395
+ kwargs["action"] = "StopPublishStream"
1396
+ kwargs["params"] = request._serialize()
1397
+ kwargs["resp_cls"] = models.StopPublishStreamResponse
1398
+ kwargs["headers"] = request.headers
1399
+ kwargs["opts"] = opts or {}
1400
+
1401
+ return await self.call_and_deserialize(**kwargs)
1402
+
1403
+ async def SwitchGameArchive(
1404
+ self,
1405
+ request: models.SwitchGameArchiveRequest,
1406
+ opts: Dict = None,
1407
+ ) -> models.SwitchGameArchiveResponse:
1408
+ """
1409
+ 切换游戏存档
1410
+ """
1411
+
1412
+ kwargs = {}
1413
+ kwargs["action"] = "SwitchGameArchive"
1414
+ kwargs["params"] = request._serialize()
1415
+ kwargs["resp_cls"] = models.SwitchGameArchiveResponse
1416
+ kwargs["headers"] = request.headers
1417
+ kwargs["opts"] = opts or {}
1418
+
1419
+ return await self.call_and_deserialize(**kwargs)
1420
+
1421
+ async def SyncAndroidInstanceImage(
1422
+ self,
1423
+ request: models.SyncAndroidInstanceImageRequest,
1424
+ opts: Dict = None,
1425
+ ) -> models.SyncAndroidInstanceImageResponse:
1426
+ """
1427
+ 同步安卓实例镜像到其他区域,当镜像的 AndroidInstanceImageState 为 NORMAL 时,镜像已经同步完成处于可用状态。
1428
+ """
1429
+
1430
+ kwargs = {}
1431
+ kwargs["action"] = "SyncAndroidInstanceImage"
1432
+ kwargs["params"] = request._serialize()
1433
+ kwargs["resp_cls"] = models.SyncAndroidInstanceImageResponse
1434
+ kwargs["headers"] = request.headers
1435
+ kwargs["opts"] = opts or {}
1436
+
1437
+ return await self.call_and_deserialize(**kwargs)
1438
+
1439
+ async def SyncExecuteCommandOnAndroidInstances(
1440
+ self,
1441
+ request: models.SyncExecuteCommandOnAndroidInstancesRequest,
1442
+ opts: Dict = None,
1443
+ ) -> models.SyncExecuteCommandOnAndroidInstancesResponse:
1444
+ """
1445
+ 在安卓实例上同步执行命令,仅支持1秒内可以返回结果的命令,例如:ls、cd。同时执行的实例数量不能过多,否则可能云api返回超时。不支持超过1秒无法返回或无法自主结束的命令,例如:top、vim,执行结果最大1KB
1446
+ """
1447
+
1448
+ kwargs = {}
1449
+ kwargs["action"] = "SyncExecuteCommandOnAndroidInstances"
1450
+ kwargs["params"] = request._serialize()
1451
+ kwargs["resp_cls"] = models.SyncExecuteCommandOnAndroidInstancesResponse
1452
+ kwargs["headers"] = request.headers
1453
+ kwargs["opts"] = opts or {}
1454
+
1455
+ return await self.call_and_deserialize(**kwargs)
1456
+
1457
+ async def TrylockWorker(
1458
+ self,
1459
+ request: models.TrylockWorkerRequest,
1460
+ opts: Dict = None,
1461
+ ) -> models.TrylockWorkerResponse:
1462
+ """
1463
+ 尝试锁定机器
1464
+ """
1465
+
1466
+ kwargs = {}
1467
+ kwargs["action"] = "TrylockWorker"
1468
+ kwargs["params"] = request._serialize()
1469
+ kwargs["resp_cls"] = models.TrylockWorkerResponse
1470
+ kwargs["headers"] = request.headers
1471
+ kwargs["opts"] = opts or {}
1472
+
1473
+ return await self.call_and_deserialize(**kwargs)
1474
+
1475
+ async def UninstallAndroidInstancesApp(
1476
+ self,
1477
+ request: models.UninstallAndroidInstancesAppRequest,
1478
+ opts: Dict = None,
1479
+ ) -> models.UninstallAndroidInstancesAppResponse:
1480
+ """
1481
+ 卸载安卓实例应用
1482
+ """
1483
+
1484
+ kwargs = {}
1485
+ kwargs["action"] = "UninstallAndroidInstancesApp"
1486
+ kwargs["params"] = request._serialize()
1487
+ kwargs["resp_cls"] = models.UninstallAndroidInstancesAppResponse
1488
+ kwargs["headers"] = request.headers
1489
+ kwargs["opts"] = opts or {}
1490
+
1491
+ return await self.call_and_deserialize(**kwargs)
1492
+
1493
+ async def UploadFileToAndroidInstances(
1494
+ self,
1495
+ request: models.UploadFileToAndroidInstancesRequest,
1496
+ opts: Dict = None,
1497
+ ) -> models.UploadFileToAndroidInstancesResponse:
1498
+ """
1499
+ 将文件下载到指定实例列表的实例上,每个实例都会从公网下载文件。如果您需要将同一个文件分发到多个实例,建议使用 DistributeFileToAndroidInstances 接口减少公网下载的流量。如果您需要将不同的文件下载到不同的实例,可考虑使用 UploadFilesToAndroidInstances 接口批量将不同文件下载到不同的实例。
1500
+ """
1501
+
1502
+ kwargs = {}
1503
+ kwargs["action"] = "UploadFileToAndroidInstances"
1504
+ kwargs["params"] = request._serialize()
1505
+ kwargs["resp_cls"] = models.UploadFileToAndroidInstancesResponse
1506
+ kwargs["headers"] = request.headers
1507
+ kwargs["opts"] = opts or {}
1508
+
1509
+ return await self.call_and_deserialize(**kwargs)
1510
+
1511
+ async def UploadFilesToAndroidInstances(
1512
+ self,
1513
+ request: models.UploadFilesToAndroidInstancesRequest,
1514
+ opts: Dict = None,
1515
+ ) -> models.UploadFilesToAndroidInstancesResponse:
1516
+ """
1517
+ 批量将不同的文件下载到不同的实例,每个实例下载文件都是从公网下载,建议只用在文件下载使用一次的场景。如果您需要将同一个文件分发到不同实例,建议使用 DistributeFileToAndroidInstances 接口。
1518
+ """
1519
+
1520
+ kwargs = {}
1521
+ kwargs["action"] = "UploadFilesToAndroidInstances"
1522
+ kwargs["params"] = request._serialize()
1523
+ kwargs["resp_cls"] = models.UploadFilesToAndroidInstancesResponse
1524
+ kwargs["headers"] = request.headers
1525
+ kwargs["opts"] = opts or {}
1526
+
1527
+ return await self.call_and_deserialize(**kwargs)