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,1684 @@
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.cam.v20190116 import models
20
+ from typing import Dict
21
+
22
+
23
+ class CamClient(AbstractClient):
24
+ _apiVersion = '2019-01-16'
25
+ _endpoint = 'cam.tencentcloudapi.com'
26
+ _service = 'cam'
27
+
28
+ async def AddUser(
29
+ self,
30
+ request: models.AddUserRequest,
31
+ opts: Dict = None,
32
+ ) -> models.AddUserResponse:
33
+ """
34
+ 创建子用户
35
+ """
36
+
37
+ kwargs = {}
38
+ kwargs["action"] = "AddUser"
39
+ kwargs["params"] = request._serialize()
40
+ kwargs["resp_cls"] = models.AddUserResponse
41
+ kwargs["headers"] = request.headers
42
+ kwargs["opts"] = opts or {}
43
+
44
+ return await self.call_and_deserialize(**kwargs)
45
+
46
+ async def AddUserToGroup(
47
+ self,
48
+ request: models.AddUserToGroupRequest,
49
+ opts: Dict = None,
50
+ ) -> models.AddUserToGroupResponse:
51
+ """
52
+ 用户加入到用户组
53
+ """
54
+
55
+ kwargs = {}
56
+ kwargs["action"] = "AddUserToGroup"
57
+ kwargs["params"] = request._serialize()
58
+ kwargs["resp_cls"] = models.AddUserToGroupResponse
59
+ kwargs["headers"] = request.headers
60
+ kwargs["opts"] = opts or {}
61
+
62
+ return await self.call_and_deserialize(**kwargs)
63
+
64
+ async def AttachGroupPolicy(
65
+ self,
66
+ request: models.AttachGroupPolicyRequest,
67
+ opts: Dict = None,
68
+ ) -> models.AttachGroupPolicyResponse:
69
+ """
70
+ 本接口(AttachGroupPolicy)可用于绑定策略到用户组。
71
+ """
72
+
73
+ kwargs = {}
74
+ kwargs["action"] = "AttachGroupPolicy"
75
+ kwargs["params"] = request._serialize()
76
+ kwargs["resp_cls"] = models.AttachGroupPolicyResponse
77
+ kwargs["headers"] = request.headers
78
+ kwargs["opts"] = opts or {}
79
+
80
+ return await self.call_and_deserialize(**kwargs)
81
+
82
+ async def AttachRolePolicy(
83
+ self,
84
+ request: models.AttachRolePolicyRequest,
85
+ opts: Dict = None,
86
+ ) -> models.AttachRolePolicyResponse:
87
+ """
88
+ 本接口(AttachRolePolicy)用于绑定策略到角色。
89
+ """
90
+
91
+ kwargs = {}
92
+ kwargs["action"] = "AttachRolePolicy"
93
+ kwargs["params"] = request._serialize()
94
+ kwargs["resp_cls"] = models.AttachRolePolicyResponse
95
+ kwargs["headers"] = request.headers
96
+ kwargs["opts"] = opts or {}
97
+
98
+ return await self.call_and_deserialize(**kwargs)
99
+
100
+ async def AttachUserPolicy(
101
+ self,
102
+ request: models.AttachUserPolicyRequest,
103
+ opts: Dict = None,
104
+ ) -> models.AttachUserPolicyResponse:
105
+ """
106
+ 本接口(AttachUserPolicy)可用于绑定到用户的策略。
107
+ """
108
+
109
+ kwargs = {}
110
+ kwargs["action"] = "AttachUserPolicy"
111
+ kwargs["params"] = request._serialize()
112
+ kwargs["resp_cls"] = models.AttachUserPolicyResponse
113
+ kwargs["headers"] = request.headers
114
+ kwargs["opts"] = opts or {}
115
+
116
+ return await self.call_and_deserialize(**kwargs)
117
+
118
+ async def BuildDataFlowAuthToken(
119
+ self,
120
+ request: models.BuildDataFlowAuthTokenRequest,
121
+ opts: Dict = None,
122
+ ) -> models.BuildDataFlowAuthTokenResponse:
123
+ """
124
+ 获取数据流认证Token
125
+ """
126
+
127
+ kwargs = {}
128
+ kwargs["action"] = "BuildDataFlowAuthToken"
129
+ kwargs["params"] = request._serialize()
130
+ kwargs["resp_cls"] = models.BuildDataFlowAuthTokenResponse
131
+ kwargs["headers"] = request.headers
132
+ kwargs["opts"] = opts or {}
133
+
134
+ return await self.call_and_deserialize(**kwargs)
135
+
136
+ async def ConsumeCustomMFAToken(
137
+ self,
138
+ request: models.ConsumeCustomMFATokenRequest,
139
+ opts: Dict = None,
140
+ ) -> models.ConsumeCustomMFATokenResponse:
141
+ """
142
+ 验证自定义多因子Token
143
+ """
144
+
145
+ kwargs = {}
146
+ kwargs["action"] = "ConsumeCustomMFAToken"
147
+ kwargs["params"] = request._serialize()
148
+ kwargs["resp_cls"] = models.ConsumeCustomMFATokenResponse
149
+ kwargs["headers"] = request.headers
150
+ kwargs["opts"] = opts or {}
151
+
152
+ return await self.call_and_deserialize(**kwargs)
153
+
154
+ async def CreateAccessKey(
155
+ self,
156
+ request: models.CreateAccessKeyRequest,
157
+ opts: Dict = None,
158
+ ) -> models.CreateAccessKeyResponse:
159
+ """
160
+ 为CAM用户创建访问密钥
161
+ """
162
+
163
+ kwargs = {}
164
+ kwargs["action"] = "CreateAccessKey"
165
+ kwargs["params"] = request._serialize()
166
+ kwargs["resp_cls"] = models.CreateAccessKeyResponse
167
+ kwargs["headers"] = request.headers
168
+ kwargs["opts"] = opts or {}
169
+
170
+ return await self.call_and_deserialize(**kwargs)
171
+
172
+ async def CreateGroup(
173
+ self,
174
+ request: models.CreateGroupRequest,
175
+ opts: Dict = None,
176
+ ) -> models.CreateGroupResponse:
177
+ """
178
+ 创建用户组
179
+ """
180
+
181
+ kwargs = {}
182
+ kwargs["action"] = "CreateGroup"
183
+ kwargs["params"] = request._serialize()
184
+ kwargs["resp_cls"] = models.CreateGroupResponse
185
+ kwargs["headers"] = request.headers
186
+ kwargs["opts"] = opts or {}
187
+
188
+ return await self.call_and_deserialize(**kwargs)
189
+
190
+ async def CreateMessageReceiver(
191
+ self,
192
+ request: models.CreateMessageReceiverRequest,
193
+ opts: Dict = None,
194
+ ) -> models.CreateMessageReceiverResponse:
195
+ """
196
+ 创建消息接收人接口:仅允许已完成实名认证的用户访问消息接收人接口,并对每个用户限制每天最多请求10次。
197
+ """
198
+
199
+ kwargs = {}
200
+ kwargs["action"] = "CreateMessageReceiver"
201
+ kwargs["params"] = request._serialize()
202
+ kwargs["resp_cls"] = models.CreateMessageReceiverResponse
203
+ kwargs["headers"] = request.headers
204
+ kwargs["opts"] = opts or {}
205
+
206
+ return await self.call_and_deserialize(**kwargs)
207
+
208
+ async def CreateOIDCConfig(
209
+ self,
210
+ request: models.CreateOIDCConfigRequest,
211
+ opts: Dict = None,
212
+ ) -> models.CreateOIDCConfigResponse:
213
+ """
214
+ 创建角色OIDC配置
215
+ """
216
+
217
+ kwargs = {}
218
+ kwargs["action"] = "CreateOIDCConfig"
219
+ kwargs["params"] = request._serialize()
220
+ kwargs["resp_cls"] = models.CreateOIDCConfigResponse
221
+ kwargs["headers"] = request.headers
222
+ kwargs["opts"] = opts or {}
223
+
224
+ return await self.call_and_deserialize(**kwargs)
225
+
226
+ async def CreatePolicy(
227
+ self,
228
+ request: models.CreatePolicyRequest,
229
+ opts: Dict = None,
230
+ ) -> models.CreatePolicyResponse:
231
+ """
232
+ 本接口(CreatePolicy)可用于创建策略。
233
+ """
234
+
235
+ kwargs = {}
236
+ kwargs["action"] = "CreatePolicy"
237
+ kwargs["params"] = request._serialize()
238
+ kwargs["resp_cls"] = models.CreatePolicyResponse
239
+ kwargs["headers"] = request.headers
240
+ kwargs["opts"] = opts or {}
241
+
242
+ return await self.call_and_deserialize(**kwargs)
243
+
244
+ async def CreatePolicyVersion(
245
+ self,
246
+ request: models.CreatePolicyVersionRequest,
247
+ opts: Dict = None,
248
+ ) -> models.CreatePolicyVersionResponse:
249
+ """
250
+ 该接口(CreatePolicyVersion)用于新增策略版本,用户创建了一个策略版本之后可以方便的通过变更策略版本的方式来变更策略。
251
+ """
252
+
253
+ kwargs = {}
254
+ kwargs["action"] = "CreatePolicyVersion"
255
+ kwargs["params"] = request._serialize()
256
+ kwargs["resp_cls"] = models.CreatePolicyVersionResponse
257
+ kwargs["headers"] = request.headers
258
+ kwargs["opts"] = opts or {}
259
+
260
+ return await self.call_and_deserialize(**kwargs)
261
+
262
+ async def CreateRole(
263
+ self,
264
+ request: models.CreateRoleRequest,
265
+ opts: Dict = None,
266
+ ) -> models.CreateRoleResponse:
267
+ """
268
+ 本接口(CreateRole)用于创建角色。
269
+ """
270
+
271
+ kwargs = {}
272
+ kwargs["action"] = "CreateRole"
273
+ kwargs["params"] = request._serialize()
274
+ kwargs["resp_cls"] = models.CreateRoleResponse
275
+ kwargs["headers"] = request.headers
276
+ kwargs["opts"] = opts or {}
277
+
278
+ return await self.call_and_deserialize(**kwargs)
279
+
280
+ async def CreateSAMLProvider(
281
+ self,
282
+ request: models.CreateSAMLProviderRequest,
283
+ opts: Dict = None,
284
+ ) -> models.CreateSAMLProviderResponse:
285
+ """
286
+ 创建SAML身份提供商
287
+ """
288
+
289
+ kwargs = {}
290
+ kwargs["action"] = "CreateSAMLProvider"
291
+ kwargs["params"] = request._serialize()
292
+ kwargs["resp_cls"] = models.CreateSAMLProviderResponse
293
+ kwargs["headers"] = request.headers
294
+ kwargs["opts"] = opts or {}
295
+
296
+ return await self.call_and_deserialize(**kwargs)
297
+
298
+ async def CreateServiceLinkedRole(
299
+ self,
300
+ request: models.CreateServiceLinkedRoleRequest,
301
+ opts: Dict = None,
302
+ ) -> models.CreateServiceLinkedRoleResponse:
303
+ """
304
+ 创建服务相关角色
305
+ """
306
+
307
+ kwargs = {}
308
+ kwargs["action"] = "CreateServiceLinkedRole"
309
+ kwargs["params"] = request._serialize()
310
+ kwargs["resp_cls"] = models.CreateServiceLinkedRoleResponse
311
+ kwargs["headers"] = request.headers
312
+ kwargs["opts"] = opts or {}
313
+
314
+ return await self.call_and_deserialize(**kwargs)
315
+
316
+ async def CreateSubAccountLoginIpPolicy(
317
+ self,
318
+ request: models.CreateSubAccountLoginIpPolicyRequest,
319
+ opts: Dict = None,
320
+ ) -> models.CreateSubAccountLoginIpPolicyResponse:
321
+ """
322
+ 增加子账号登录IP策略
323
+ """
324
+
325
+ kwargs = {}
326
+ kwargs["action"] = "CreateSubAccountLoginIpPolicy"
327
+ kwargs["params"] = request._serialize()
328
+ kwargs["resp_cls"] = models.CreateSubAccountLoginIpPolicyResponse
329
+ kwargs["headers"] = request.headers
330
+ kwargs["opts"] = opts or {}
331
+
332
+ return await self.call_and_deserialize(**kwargs)
333
+
334
+ async def CreateUserOIDCConfig(
335
+ self,
336
+ request: models.CreateUserOIDCConfigRequest,
337
+ opts: Dict = None,
338
+ ) -> models.CreateUserOIDCConfigResponse:
339
+ """
340
+ 创建用户OIDC配置。只能创建一个用户OIDC身份提供商,并且创建用户OIDC配置之后会自动关闭用户SAML SSO身份提供商。
341
+ """
342
+
343
+ kwargs = {}
344
+ kwargs["action"] = "CreateUserOIDCConfig"
345
+ kwargs["params"] = request._serialize()
346
+ kwargs["resp_cls"] = models.CreateUserOIDCConfigResponse
347
+ kwargs["headers"] = request.headers
348
+ kwargs["opts"] = opts or {}
349
+
350
+ return await self.call_and_deserialize(**kwargs)
351
+
352
+ async def CreateUserSAMLConfig(
353
+ self,
354
+ request: models.CreateUserSAMLConfigRequest,
355
+ opts: Dict = None,
356
+ ) -> models.CreateUserSAMLConfigResponse:
357
+ """
358
+ 创建用户SAML配置
359
+ """
360
+
361
+ kwargs = {}
362
+ kwargs["action"] = "CreateUserSAMLConfig"
363
+ kwargs["params"] = request._serialize()
364
+ kwargs["resp_cls"] = models.CreateUserSAMLConfigResponse
365
+ kwargs["headers"] = request.headers
366
+ kwargs["opts"] = opts or {}
367
+
368
+ return await self.call_and_deserialize(**kwargs)
369
+
370
+ async def DeleteAccessKey(
371
+ self,
372
+ request: models.DeleteAccessKeyRequest,
373
+ opts: Dict = None,
374
+ ) -> models.DeleteAccessKeyResponse:
375
+ """
376
+ 为CAM用户删除访问密钥。
377
+ 此接口属于高风险操作,删除密钥后不可恢复,腾讯云将永久拒绝此密钥的所有请求,请谨慎使用。
378
+ """
379
+
380
+ kwargs = {}
381
+ kwargs["action"] = "DeleteAccessKey"
382
+ kwargs["params"] = request._serialize()
383
+ kwargs["resp_cls"] = models.DeleteAccessKeyResponse
384
+ kwargs["headers"] = request.headers
385
+ kwargs["opts"] = opts or {}
386
+
387
+ return await self.call_and_deserialize(**kwargs)
388
+
389
+ async def DeleteGroup(
390
+ self,
391
+ request: models.DeleteGroupRequest,
392
+ opts: Dict = None,
393
+ ) -> models.DeleteGroupResponse:
394
+ """
395
+ 删除用户组
396
+ """
397
+
398
+ kwargs = {}
399
+ kwargs["action"] = "DeleteGroup"
400
+ kwargs["params"] = request._serialize()
401
+ kwargs["resp_cls"] = models.DeleteGroupResponse
402
+ kwargs["headers"] = request.headers
403
+ kwargs["opts"] = opts or {}
404
+
405
+ return await self.call_and_deserialize(**kwargs)
406
+
407
+ async def DeleteMessageReceiver(
408
+ self,
409
+ request: models.DeleteMessageReceiverRequest,
410
+ opts: Dict = None,
411
+ ) -> models.DeleteMessageReceiverResponse:
412
+ """
413
+ 删除消息接收人
414
+ """
415
+
416
+ kwargs = {}
417
+ kwargs["action"] = "DeleteMessageReceiver"
418
+ kwargs["params"] = request._serialize()
419
+ kwargs["resp_cls"] = models.DeleteMessageReceiverResponse
420
+ kwargs["headers"] = request.headers
421
+ kwargs["opts"] = opts or {}
422
+
423
+ return await self.call_and_deserialize(**kwargs)
424
+
425
+ async def DeleteOIDCConfig(
426
+ self,
427
+ request: models.DeleteOIDCConfigRequest,
428
+ opts: Dict = None,
429
+ ) -> models.DeleteOIDCConfigResponse:
430
+ """
431
+ 删除OIDC身份提供商
432
+ """
433
+
434
+ kwargs = {}
435
+ kwargs["action"] = "DeleteOIDCConfig"
436
+ kwargs["params"] = request._serialize()
437
+ kwargs["resp_cls"] = models.DeleteOIDCConfigResponse
438
+ kwargs["headers"] = request.headers
439
+ kwargs["opts"] = opts or {}
440
+
441
+ return await self.call_and_deserialize(**kwargs)
442
+
443
+ async def DeletePolicy(
444
+ self,
445
+ request: models.DeletePolicyRequest,
446
+ opts: Dict = None,
447
+ ) -> models.DeletePolicyResponse:
448
+ """
449
+ 本接口(DeletePolicy)可用于删除策略。
450
+ """
451
+
452
+ kwargs = {}
453
+ kwargs["action"] = "DeletePolicy"
454
+ kwargs["params"] = request._serialize()
455
+ kwargs["resp_cls"] = models.DeletePolicyResponse
456
+ kwargs["headers"] = request.headers
457
+ kwargs["opts"] = opts or {}
458
+
459
+ return await self.call_and_deserialize(**kwargs)
460
+
461
+ async def DeletePolicyVersion(
462
+ self,
463
+ request: models.DeletePolicyVersionRequest,
464
+ opts: Dict = None,
465
+ ) -> models.DeletePolicyVersionResponse:
466
+ """
467
+ 本接口(DeletePolicyVersion)可用于删除一个策略的策略版本。
468
+ """
469
+
470
+ kwargs = {}
471
+ kwargs["action"] = "DeletePolicyVersion"
472
+ kwargs["params"] = request._serialize()
473
+ kwargs["resp_cls"] = models.DeletePolicyVersionResponse
474
+ kwargs["headers"] = request.headers
475
+ kwargs["opts"] = opts or {}
476
+
477
+ return await self.call_and_deserialize(**kwargs)
478
+
479
+ async def DeleteRole(
480
+ self,
481
+ request: models.DeleteRoleRequest,
482
+ opts: Dict = None,
483
+ ) -> models.DeleteRoleResponse:
484
+ """
485
+ 本接口(DeleteRole)用于删除指定角色。
486
+ """
487
+
488
+ kwargs = {}
489
+ kwargs["action"] = "DeleteRole"
490
+ kwargs["params"] = request._serialize()
491
+ kwargs["resp_cls"] = models.DeleteRoleResponse
492
+ kwargs["headers"] = request.headers
493
+ kwargs["opts"] = opts or {}
494
+
495
+ return await self.call_and_deserialize(**kwargs)
496
+
497
+ async def DeleteRolePermissionsBoundary(
498
+ self,
499
+ request: models.DeleteRolePermissionsBoundaryRequest,
500
+ opts: Dict = None,
501
+ ) -> models.DeleteRolePermissionsBoundaryResponse:
502
+ """
503
+ 删除角色权限边界
504
+ """
505
+
506
+ kwargs = {}
507
+ kwargs["action"] = "DeleteRolePermissionsBoundary"
508
+ kwargs["params"] = request._serialize()
509
+ kwargs["resp_cls"] = models.DeleteRolePermissionsBoundaryResponse
510
+ kwargs["headers"] = request.headers
511
+ kwargs["opts"] = opts or {}
512
+
513
+ return await self.call_and_deserialize(**kwargs)
514
+
515
+ async def DeleteSAMLProvider(
516
+ self,
517
+ request: models.DeleteSAMLProviderRequest,
518
+ opts: Dict = None,
519
+ ) -> models.DeleteSAMLProviderResponse:
520
+ """
521
+ 删除SAML身份提供商
522
+ """
523
+
524
+ kwargs = {}
525
+ kwargs["action"] = "DeleteSAMLProvider"
526
+ kwargs["params"] = request._serialize()
527
+ kwargs["resp_cls"] = models.DeleteSAMLProviderResponse
528
+ kwargs["headers"] = request.headers
529
+ kwargs["opts"] = opts or {}
530
+
531
+ return await self.call_and_deserialize(**kwargs)
532
+
533
+ async def DeleteServiceLinkedRole(
534
+ self,
535
+ request: models.DeleteServiceLinkedRoleRequest,
536
+ opts: Dict = None,
537
+ ) -> models.DeleteServiceLinkedRoleResponse:
538
+ """
539
+ 删除服务相关角色
540
+ """
541
+
542
+ kwargs = {}
543
+ kwargs["action"] = "DeleteServiceLinkedRole"
544
+ kwargs["params"] = request._serialize()
545
+ kwargs["resp_cls"] = models.DeleteServiceLinkedRoleResponse
546
+ kwargs["headers"] = request.headers
547
+ kwargs["opts"] = opts or {}
548
+
549
+ return await self.call_and_deserialize(**kwargs)
550
+
551
+ async def DeleteUser(
552
+ self,
553
+ request: models.DeleteUserRequest,
554
+ opts: Dict = None,
555
+ ) -> models.DeleteUserResponse:
556
+ """
557
+ 删除子用户
558
+ """
559
+
560
+ kwargs = {}
561
+ kwargs["action"] = "DeleteUser"
562
+ kwargs["params"] = request._serialize()
563
+ kwargs["resp_cls"] = models.DeleteUserResponse
564
+ kwargs["headers"] = request.headers
565
+ kwargs["opts"] = opts or {}
566
+
567
+ return await self.call_and_deserialize(**kwargs)
568
+
569
+ async def DeleteUserPermissionsBoundary(
570
+ self,
571
+ request: models.DeleteUserPermissionsBoundaryRequest,
572
+ opts: Dict = None,
573
+ ) -> models.DeleteUserPermissionsBoundaryResponse:
574
+ """
575
+ 删除用户权限边界
576
+ """
577
+
578
+ kwargs = {}
579
+ kwargs["action"] = "DeleteUserPermissionsBoundary"
580
+ kwargs["params"] = request._serialize()
581
+ kwargs["resp_cls"] = models.DeleteUserPermissionsBoundaryResponse
582
+ kwargs["headers"] = request.headers
583
+ kwargs["opts"] = opts or {}
584
+
585
+ return await self.call_and_deserialize(**kwargs)
586
+
587
+ async def DescribeOIDCConfig(
588
+ self,
589
+ request: models.DescribeOIDCConfigRequest,
590
+ opts: Dict = None,
591
+ ) -> models.DescribeOIDCConfigResponse:
592
+ """
593
+ 查询角色OIDC配置
594
+ """
595
+
596
+ kwargs = {}
597
+ kwargs["action"] = "DescribeOIDCConfig"
598
+ kwargs["params"] = request._serialize()
599
+ kwargs["resp_cls"] = models.DescribeOIDCConfigResponse
600
+ kwargs["headers"] = request.headers
601
+ kwargs["opts"] = opts or {}
602
+
603
+ return await self.call_and_deserialize(**kwargs)
604
+
605
+ async def DescribeRoleList(
606
+ self,
607
+ request: models.DescribeRoleListRequest,
608
+ opts: Dict = None,
609
+ ) -> models.DescribeRoleListResponse:
610
+ """
611
+ 本接口(DescribeRoleList)用于获取账号下的角色列表。
612
+ """
613
+
614
+ kwargs = {}
615
+ kwargs["action"] = "DescribeRoleList"
616
+ kwargs["params"] = request._serialize()
617
+ kwargs["resp_cls"] = models.DescribeRoleListResponse
618
+ kwargs["headers"] = request.headers
619
+ kwargs["opts"] = opts or {}
620
+
621
+ return await self.call_and_deserialize(**kwargs)
622
+
623
+ async def DescribeSafeAuthFlag(
624
+ self,
625
+ request: models.DescribeSafeAuthFlagRequest,
626
+ opts: Dict = None,
627
+ ) -> models.DescribeSafeAuthFlagResponse:
628
+ """
629
+ 查询用户安全设置
630
+ """
631
+
632
+ kwargs = {}
633
+ kwargs["action"] = "DescribeSafeAuthFlag"
634
+ kwargs["params"] = request._serialize()
635
+ kwargs["resp_cls"] = models.DescribeSafeAuthFlagResponse
636
+ kwargs["headers"] = request.headers
637
+ kwargs["opts"] = opts or {}
638
+
639
+ return await self.call_and_deserialize(**kwargs)
640
+
641
+ async def DescribeSafeAuthFlagColl(
642
+ self,
643
+ request: models.DescribeSafeAuthFlagCollRequest,
644
+ opts: Dict = None,
645
+ ) -> models.DescribeSafeAuthFlagCollResponse:
646
+ """
647
+ 获取子账号安全设置
648
+ """
649
+
650
+ kwargs = {}
651
+ kwargs["action"] = "DescribeSafeAuthFlagColl"
652
+ kwargs["params"] = request._serialize()
653
+ kwargs["resp_cls"] = models.DescribeSafeAuthFlagCollResponse
654
+ kwargs["headers"] = request.headers
655
+ kwargs["opts"] = opts or {}
656
+
657
+ return await self.call_and_deserialize(**kwargs)
658
+
659
+ async def DescribeSafeAuthFlagIntl(
660
+ self,
661
+ request: models.DescribeSafeAuthFlagIntlRequest,
662
+ opts: Dict = None,
663
+ ) -> models.DescribeSafeAuthFlagIntlResponse:
664
+ """
665
+ 查询安全设置(国际站)
666
+ """
667
+
668
+ kwargs = {}
669
+ kwargs["action"] = "DescribeSafeAuthFlagIntl"
670
+ kwargs["params"] = request._serialize()
671
+ kwargs["resp_cls"] = models.DescribeSafeAuthFlagIntlResponse
672
+ kwargs["headers"] = request.headers
673
+ kwargs["opts"] = opts or {}
674
+
675
+ return await self.call_and_deserialize(**kwargs)
676
+
677
+ async def DescribeSubAccounts(
678
+ self,
679
+ request: models.DescribeSubAccountsRequest,
680
+ opts: Dict = None,
681
+ ) -> models.DescribeSubAccountsResponse:
682
+ """
683
+ 通过子用户UIN列表查询子用户
684
+ """
685
+
686
+ kwargs = {}
687
+ kwargs["action"] = "DescribeSubAccounts"
688
+ kwargs["params"] = request._serialize()
689
+ kwargs["resp_cls"] = models.DescribeSubAccountsResponse
690
+ kwargs["headers"] = request.headers
691
+ kwargs["opts"] = opts or {}
692
+
693
+ return await self.call_and_deserialize(**kwargs)
694
+
695
+ async def DescribeUserOIDCConfig(
696
+ self,
697
+ request: models.DescribeUserOIDCConfigRequest,
698
+ opts: Dict = None,
699
+ ) -> models.DescribeUserOIDCConfigResponse:
700
+ """
701
+ 查询用户OIDC配置
702
+ """
703
+
704
+ kwargs = {}
705
+ kwargs["action"] = "DescribeUserOIDCConfig"
706
+ kwargs["params"] = request._serialize()
707
+ kwargs["resp_cls"] = models.DescribeUserOIDCConfigResponse
708
+ kwargs["headers"] = request.headers
709
+ kwargs["opts"] = opts or {}
710
+
711
+ return await self.call_and_deserialize(**kwargs)
712
+
713
+ async def DescribeUserSAMLConfig(
714
+ self,
715
+ request: models.DescribeUserSAMLConfigRequest,
716
+ opts: Dict = None,
717
+ ) -> models.DescribeUserSAMLConfigResponse:
718
+ """
719
+ 查询用户SAML配置
720
+ """
721
+
722
+ kwargs = {}
723
+ kwargs["action"] = "DescribeUserSAMLConfig"
724
+ kwargs["params"] = request._serialize()
725
+ kwargs["resp_cls"] = models.DescribeUserSAMLConfigResponse
726
+ kwargs["headers"] = request.headers
727
+ kwargs["opts"] = opts or {}
728
+
729
+ return await self.call_and_deserialize(**kwargs)
730
+
731
+ async def DetachGroupPolicy(
732
+ self,
733
+ request: models.DetachGroupPolicyRequest,
734
+ opts: Dict = None,
735
+ ) -> models.DetachGroupPolicyResponse:
736
+ """
737
+ 本接口(DetachGroupPolicy)可用于解除绑定到用户组的策略。
738
+ """
739
+
740
+ kwargs = {}
741
+ kwargs["action"] = "DetachGroupPolicy"
742
+ kwargs["params"] = request._serialize()
743
+ kwargs["resp_cls"] = models.DetachGroupPolicyResponse
744
+ kwargs["headers"] = request.headers
745
+ kwargs["opts"] = opts or {}
746
+
747
+ return await self.call_and_deserialize(**kwargs)
748
+
749
+ async def DetachRolePolicy(
750
+ self,
751
+ request: models.DetachRolePolicyRequest,
752
+ opts: Dict = None,
753
+ ) -> models.DetachRolePolicyResponse:
754
+ """
755
+ 本接口(DetachRolePolicy)用于解除绑定角色的策略。
756
+ """
757
+
758
+ kwargs = {}
759
+ kwargs["action"] = "DetachRolePolicy"
760
+ kwargs["params"] = request._serialize()
761
+ kwargs["resp_cls"] = models.DetachRolePolicyResponse
762
+ kwargs["headers"] = request.headers
763
+ kwargs["opts"] = opts or {}
764
+
765
+ return await self.call_and_deserialize(**kwargs)
766
+
767
+ async def DetachUserPolicy(
768
+ self,
769
+ request: models.DetachUserPolicyRequest,
770
+ opts: Dict = None,
771
+ ) -> models.DetachUserPolicyResponse:
772
+ """
773
+ 本接口(DetachUserPolicy)可用于解除绑定到用户的策略。
774
+ """
775
+
776
+ kwargs = {}
777
+ kwargs["action"] = "DetachUserPolicy"
778
+ kwargs["params"] = request._serialize()
779
+ kwargs["resp_cls"] = models.DetachUserPolicyResponse
780
+ kwargs["headers"] = request.headers
781
+ kwargs["opts"] = opts or {}
782
+
783
+ return await self.call_and_deserialize(**kwargs)
784
+
785
+ async def DisableUserSSO(
786
+ self,
787
+ request: models.DisableUserSSORequest,
788
+ opts: Dict = None,
789
+ ) -> models.DisableUserSSOResponse:
790
+ """
791
+ 禁用用户SSO
792
+ """
793
+
794
+ kwargs = {}
795
+ kwargs["action"] = "DisableUserSSO"
796
+ kwargs["params"] = request._serialize()
797
+ kwargs["resp_cls"] = models.DisableUserSSOResponse
798
+ kwargs["headers"] = request.headers
799
+ kwargs["opts"] = opts or {}
800
+
801
+ return await self.call_and_deserialize(**kwargs)
802
+
803
+ async def GetAccountSummary(
804
+ self,
805
+ request: models.GetAccountSummaryRequest,
806
+ opts: Dict = None,
807
+ ) -> models.GetAccountSummaryResponse:
808
+ """
809
+ 查询账户摘要
810
+ """
811
+
812
+ kwargs = {}
813
+ kwargs["action"] = "GetAccountSummary"
814
+ kwargs["params"] = request._serialize()
815
+ kwargs["resp_cls"] = models.GetAccountSummaryResponse
816
+ kwargs["headers"] = request.headers
817
+ kwargs["opts"] = opts or {}
818
+
819
+ return await self.call_and_deserialize(**kwargs)
820
+
821
+ async def GetCustomMFATokenInfo(
822
+ self,
823
+ request: models.GetCustomMFATokenInfoRequest,
824
+ opts: Dict = None,
825
+ ) -> models.GetCustomMFATokenInfoResponse:
826
+ """
827
+ 获取自定义多因子Token关联信息
828
+ """
829
+
830
+ kwargs = {}
831
+ kwargs["action"] = "GetCustomMFATokenInfo"
832
+ kwargs["params"] = request._serialize()
833
+ kwargs["resp_cls"] = models.GetCustomMFATokenInfoResponse
834
+ kwargs["headers"] = request.headers
835
+ kwargs["opts"] = opts or {}
836
+
837
+ return await self.call_and_deserialize(**kwargs)
838
+
839
+ async def GetGroup(
840
+ self,
841
+ request: models.GetGroupRequest,
842
+ opts: Dict = None,
843
+ ) -> models.GetGroupResponse:
844
+ """
845
+ 查询用户组详情
846
+ """
847
+
848
+ kwargs = {}
849
+ kwargs["action"] = "GetGroup"
850
+ kwargs["params"] = request._serialize()
851
+ kwargs["resp_cls"] = models.GetGroupResponse
852
+ kwargs["headers"] = request.headers
853
+ kwargs["opts"] = opts or {}
854
+
855
+ return await self.call_and_deserialize(**kwargs)
856
+
857
+ async def GetPolicy(
858
+ self,
859
+ request: models.GetPolicyRequest,
860
+ opts: Dict = None,
861
+ ) -> models.GetPolicyResponse:
862
+ """
863
+ 本接口(GetPolicy)可用于查询查看策略详情。
864
+ """
865
+
866
+ kwargs = {}
867
+ kwargs["action"] = "GetPolicy"
868
+ kwargs["params"] = request._serialize()
869
+ kwargs["resp_cls"] = models.GetPolicyResponse
870
+ kwargs["headers"] = request.headers
871
+ kwargs["opts"] = opts or {}
872
+
873
+ return await self.call_and_deserialize(**kwargs)
874
+
875
+ async def GetPolicyVersion(
876
+ self,
877
+ request: models.GetPolicyVersionRequest,
878
+ opts: Dict = None,
879
+ ) -> models.GetPolicyVersionResponse:
880
+ """
881
+ 该接口(GetPolicyVersion)用于查询策略版本详情
882
+ """
883
+
884
+ kwargs = {}
885
+ kwargs["action"] = "GetPolicyVersion"
886
+ kwargs["params"] = request._serialize()
887
+ kwargs["resp_cls"] = models.GetPolicyVersionResponse
888
+ kwargs["headers"] = request.headers
889
+ kwargs["opts"] = opts or {}
890
+
891
+ return await self.call_and_deserialize(**kwargs)
892
+
893
+ async def GetRole(
894
+ self,
895
+ request: models.GetRoleRequest,
896
+ opts: Dict = None,
897
+ ) -> models.GetRoleResponse:
898
+ """
899
+ 本接口(GetRole)用于获取指定角色的详细信息。
900
+ """
901
+
902
+ kwargs = {}
903
+ kwargs["action"] = "GetRole"
904
+ kwargs["params"] = request._serialize()
905
+ kwargs["resp_cls"] = models.GetRoleResponse
906
+ kwargs["headers"] = request.headers
907
+ kwargs["opts"] = opts or {}
908
+
909
+ return await self.call_and_deserialize(**kwargs)
910
+
911
+ async def GetRolePermissionBoundary(
912
+ self,
913
+ request: models.GetRolePermissionBoundaryRequest,
914
+ opts: Dict = None,
915
+ ) -> models.GetRolePermissionBoundaryResponse:
916
+ """
917
+ 获取角色权限边界
918
+ """
919
+
920
+ kwargs = {}
921
+ kwargs["action"] = "GetRolePermissionBoundary"
922
+ kwargs["params"] = request._serialize()
923
+ kwargs["resp_cls"] = models.GetRolePermissionBoundaryResponse
924
+ kwargs["headers"] = request.headers
925
+ kwargs["opts"] = opts or {}
926
+
927
+ return await self.call_and_deserialize(**kwargs)
928
+
929
+ async def GetSAMLProvider(
930
+ self,
931
+ request: models.GetSAMLProviderRequest,
932
+ opts: Dict = None,
933
+ ) -> models.GetSAMLProviderResponse:
934
+ """
935
+ 查询SAML身份提供商详情
936
+ """
937
+
938
+ kwargs = {}
939
+ kwargs["action"] = "GetSAMLProvider"
940
+ kwargs["params"] = request._serialize()
941
+ kwargs["resp_cls"] = models.GetSAMLProviderResponse
942
+ kwargs["headers"] = request.headers
943
+ kwargs["opts"] = opts or {}
944
+
945
+ return await self.call_and_deserialize(**kwargs)
946
+
947
+ async def GetSecurityLastUsed(
948
+ self,
949
+ request: models.GetSecurityLastUsedRequest,
950
+ opts: Dict = None,
951
+ ) -> models.GetSecurityLastUsedResponse:
952
+ """
953
+ 获取密钥最近使用情况
954
+ """
955
+
956
+ kwargs = {}
957
+ kwargs["action"] = "GetSecurityLastUsed"
958
+ kwargs["params"] = request._serialize()
959
+ kwargs["resp_cls"] = models.GetSecurityLastUsedResponse
960
+ kwargs["headers"] = request.headers
961
+ kwargs["opts"] = opts or {}
962
+
963
+ return await self.call_and_deserialize(**kwargs)
964
+
965
+ async def GetServiceLinkedRoleDeletionStatus(
966
+ self,
967
+ request: models.GetServiceLinkedRoleDeletionStatusRequest,
968
+ opts: Dict = None,
969
+ ) -> models.GetServiceLinkedRoleDeletionStatusResponse:
970
+ """
971
+ 根据删除TaskId获取服务相关角色删除状态
972
+ """
973
+
974
+ kwargs = {}
975
+ kwargs["action"] = "GetServiceLinkedRoleDeletionStatus"
976
+ kwargs["params"] = request._serialize()
977
+ kwargs["resp_cls"] = models.GetServiceLinkedRoleDeletionStatusResponse
978
+ kwargs["headers"] = request.headers
979
+ kwargs["opts"] = opts or {}
980
+
981
+ return await self.call_and_deserialize(**kwargs)
982
+
983
+ async def GetUser(
984
+ self,
985
+ request: models.GetUserRequest,
986
+ opts: Dict = None,
987
+ ) -> models.GetUserResponse:
988
+ """
989
+ 查询子用户
990
+ """
991
+
992
+ kwargs = {}
993
+ kwargs["action"] = "GetUser"
994
+ kwargs["params"] = request._serialize()
995
+ kwargs["resp_cls"] = models.GetUserResponse
996
+ kwargs["headers"] = request.headers
997
+ kwargs["opts"] = opts or {}
998
+
999
+ return await self.call_and_deserialize(**kwargs)
1000
+
1001
+ async def GetUserAppId(
1002
+ self,
1003
+ request: models.GetUserAppIdRequest,
1004
+ opts: Dict = None,
1005
+ ) -> models.GetUserAppIdResponse:
1006
+ """
1007
+ 获取用户AppId
1008
+ """
1009
+
1010
+ kwargs = {}
1011
+ kwargs["action"] = "GetUserAppId"
1012
+ kwargs["params"] = request._serialize()
1013
+ kwargs["resp_cls"] = models.GetUserAppIdResponse
1014
+ kwargs["headers"] = request.headers
1015
+ kwargs["opts"] = opts or {}
1016
+
1017
+ return await self.call_and_deserialize(**kwargs)
1018
+
1019
+ async def GetUserPermissionBoundary(
1020
+ self,
1021
+ request: models.GetUserPermissionBoundaryRequest,
1022
+ opts: Dict = None,
1023
+ ) -> models.GetUserPermissionBoundaryResponse:
1024
+ """
1025
+ 获取用户权限边界
1026
+ """
1027
+
1028
+ kwargs = {}
1029
+ kwargs["action"] = "GetUserPermissionBoundary"
1030
+ kwargs["params"] = request._serialize()
1031
+ kwargs["resp_cls"] = models.GetUserPermissionBoundaryResponse
1032
+ kwargs["headers"] = request.headers
1033
+ kwargs["opts"] = opts or {}
1034
+
1035
+ return await self.call_and_deserialize(**kwargs)
1036
+
1037
+ async def ListAccessKeys(
1038
+ self,
1039
+ request: models.ListAccessKeysRequest,
1040
+ opts: Dict = None,
1041
+ ) -> models.ListAccessKeysResponse:
1042
+ """
1043
+ 列出指定CAM用户的访问密钥
1044
+ """
1045
+
1046
+ kwargs = {}
1047
+ kwargs["action"] = "ListAccessKeys"
1048
+ kwargs["params"] = request._serialize()
1049
+ kwargs["resp_cls"] = models.ListAccessKeysResponse
1050
+ kwargs["headers"] = request.headers
1051
+ kwargs["opts"] = opts or {}
1052
+
1053
+ return await self.call_and_deserialize(**kwargs)
1054
+
1055
+ async def ListAttachedGroupPolicies(
1056
+ self,
1057
+ request: models.ListAttachedGroupPoliciesRequest,
1058
+ opts: Dict = None,
1059
+ ) -> models.ListAttachedGroupPoliciesResponse:
1060
+ """
1061
+ 本接口(ListAttachedGroupPolicies)可用于查询用户组关联的策略列表。
1062
+ """
1063
+
1064
+ kwargs = {}
1065
+ kwargs["action"] = "ListAttachedGroupPolicies"
1066
+ kwargs["params"] = request._serialize()
1067
+ kwargs["resp_cls"] = models.ListAttachedGroupPoliciesResponse
1068
+ kwargs["headers"] = request.headers
1069
+ kwargs["opts"] = opts or {}
1070
+
1071
+ return await self.call_and_deserialize(**kwargs)
1072
+
1073
+ async def ListAttachedRolePolicies(
1074
+ self,
1075
+ request: models.ListAttachedRolePoliciesRequest,
1076
+ opts: Dict = None,
1077
+ ) -> models.ListAttachedRolePoliciesResponse:
1078
+ """
1079
+ 本接口(ListAttachedRolePolicies)用于获取角色绑定的策略列表。
1080
+ """
1081
+
1082
+ kwargs = {}
1083
+ kwargs["action"] = "ListAttachedRolePolicies"
1084
+ kwargs["params"] = request._serialize()
1085
+ kwargs["resp_cls"] = models.ListAttachedRolePoliciesResponse
1086
+ kwargs["headers"] = request.headers
1087
+ kwargs["opts"] = opts or {}
1088
+
1089
+ return await self.call_and_deserialize(**kwargs)
1090
+
1091
+ async def ListAttachedUserAllPolicies(
1092
+ self,
1093
+ request: models.ListAttachedUserAllPoliciesRequest,
1094
+ opts: Dict = None,
1095
+ ) -> models.ListAttachedUserAllPoliciesResponse:
1096
+ """
1097
+ 列出用户关联的策略(包括随组关联)
1098
+ """
1099
+
1100
+ kwargs = {}
1101
+ kwargs["action"] = "ListAttachedUserAllPolicies"
1102
+ kwargs["params"] = request._serialize()
1103
+ kwargs["resp_cls"] = models.ListAttachedUserAllPoliciesResponse
1104
+ kwargs["headers"] = request.headers
1105
+ kwargs["opts"] = opts or {}
1106
+
1107
+ return await self.call_and_deserialize(**kwargs)
1108
+
1109
+ async def ListAttachedUserPolicies(
1110
+ self,
1111
+ request: models.ListAttachedUserPoliciesRequest,
1112
+ opts: Dict = None,
1113
+ ) -> models.ListAttachedUserPoliciesResponse:
1114
+ """
1115
+ 本接口(ListAttachedUserPolicies)可用于查询子账号关联的策略列表。
1116
+ """
1117
+
1118
+ kwargs = {}
1119
+ kwargs["action"] = "ListAttachedUserPolicies"
1120
+ kwargs["params"] = request._serialize()
1121
+ kwargs["resp_cls"] = models.ListAttachedUserPoliciesResponse
1122
+ kwargs["headers"] = request.headers
1123
+ kwargs["opts"] = opts or {}
1124
+
1125
+ return await self.call_and_deserialize(**kwargs)
1126
+
1127
+ async def ListCollaborators(
1128
+ self,
1129
+ request: models.ListCollaboratorsRequest,
1130
+ opts: Dict = None,
1131
+ ) -> models.ListCollaboratorsResponse:
1132
+ """
1133
+ 获取协作者列表
1134
+ """
1135
+
1136
+ kwargs = {}
1137
+ kwargs["action"] = "ListCollaborators"
1138
+ kwargs["params"] = request._serialize()
1139
+ kwargs["resp_cls"] = models.ListCollaboratorsResponse
1140
+ kwargs["headers"] = request.headers
1141
+ kwargs["opts"] = opts or {}
1142
+
1143
+ return await self.call_and_deserialize(**kwargs)
1144
+
1145
+ async def ListEntitiesForPolicy(
1146
+ self,
1147
+ request: models.ListEntitiesForPolicyRequest,
1148
+ opts: Dict = None,
1149
+ ) -> models.ListEntitiesForPolicyResponse:
1150
+ """
1151
+ 本接口(ListEntitiesForPolicy)可用于查询策略关联的实体列表。
1152
+ """
1153
+
1154
+ kwargs = {}
1155
+ kwargs["action"] = "ListEntitiesForPolicy"
1156
+ kwargs["params"] = request._serialize()
1157
+ kwargs["resp_cls"] = models.ListEntitiesForPolicyResponse
1158
+ kwargs["headers"] = request.headers
1159
+ kwargs["opts"] = opts or {}
1160
+
1161
+ return await self.call_and_deserialize(**kwargs)
1162
+
1163
+ async def ListGroups(
1164
+ self,
1165
+ request: models.ListGroupsRequest,
1166
+ opts: Dict = None,
1167
+ ) -> models.ListGroupsResponse:
1168
+ """
1169
+ 查询用户组列表
1170
+ """
1171
+
1172
+ kwargs = {}
1173
+ kwargs["action"] = "ListGroups"
1174
+ kwargs["params"] = request._serialize()
1175
+ kwargs["resp_cls"] = models.ListGroupsResponse
1176
+ kwargs["headers"] = request.headers
1177
+ kwargs["opts"] = opts or {}
1178
+
1179
+ return await self.call_and_deserialize(**kwargs)
1180
+
1181
+ async def ListGroupsForUser(
1182
+ self,
1183
+ request: models.ListGroupsForUserRequest,
1184
+ opts: Dict = None,
1185
+ ) -> models.ListGroupsForUserResponse:
1186
+ """
1187
+ 列出用户关联的用户组
1188
+ """
1189
+
1190
+ kwargs = {}
1191
+ kwargs["action"] = "ListGroupsForUser"
1192
+ kwargs["params"] = request._serialize()
1193
+ kwargs["resp_cls"] = models.ListGroupsForUserResponse
1194
+ kwargs["headers"] = request.headers
1195
+ kwargs["opts"] = opts or {}
1196
+
1197
+ return await self.call_and_deserialize(**kwargs)
1198
+
1199
+ async def ListPolicies(
1200
+ self,
1201
+ request: models.ListPoliciesRequest,
1202
+ opts: Dict = None,
1203
+ ) -> models.ListPoliciesResponse:
1204
+ """
1205
+ 本接口(ListPolicies)可用于查询策略列表。
1206
+ """
1207
+
1208
+ kwargs = {}
1209
+ kwargs["action"] = "ListPolicies"
1210
+ kwargs["params"] = request._serialize()
1211
+ kwargs["resp_cls"] = models.ListPoliciesResponse
1212
+ kwargs["headers"] = request.headers
1213
+ kwargs["opts"] = opts or {}
1214
+
1215
+ return await self.call_and_deserialize(**kwargs)
1216
+
1217
+ async def ListPoliciesGrantingServiceAccess(
1218
+ self,
1219
+ request: models.ListPoliciesGrantingServiceAccessRequest,
1220
+ opts: Dict = None,
1221
+ ) -> models.ListPoliciesGrantingServiceAccessResponse:
1222
+ """
1223
+ 获取所有已授权服务
1224
+ """
1225
+
1226
+ kwargs = {}
1227
+ kwargs["action"] = "ListPoliciesGrantingServiceAccess"
1228
+ kwargs["params"] = request._serialize()
1229
+ kwargs["resp_cls"] = models.ListPoliciesGrantingServiceAccessResponse
1230
+ kwargs["headers"] = request.headers
1231
+ kwargs["opts"] = opts or {}
1232
+
1233
+ return await self.call_and_deserialize(**kwargs)
1234
+
1235
+ async def ListPolicyVersions(
1236
+ self,
1237
+ request: models.ListPolicyVersionsRequest,
1238
+ opts: Dict = None,
1239
+ ) -> models.ListPolicyVersionsResponse:
1240
+ """
1241
+ 该接口(ListPolicyVersions)用于获取策略版本列表
1242
+ """
1243
+
1244
+ kwargs = {}
1245
+ kwargs["action"] = "ListPolicyVersions"
1246
+ kwargs["params"] = request._serialize()
1247
+ kwargs["resp_cls"] = models.ListPolicyVersionsResponse
1248
+ kwargs["headers"] = request.headers
1249
+ kwargs["opts"] = opts or {}
1250
+
1251
+ return await self.call_and_deserialize(**kwargs)
1252
+
1253
+ async def ListReceiver(
1254
+ self,
1255
+ request: models.ListReceiverRequest,
1256
+ opts: Dict = None,
1257
+ ) -> models.ListReceiverResponse:
1258
+ """
1259
+ 获取消息接收人列表
1260
+ """
1261
+
1262
+ kwargs = {}
1263
+ kwargs["action"] = "ListReceiver"
1264
+ kwargs["params"] = request._serialize()
1265
+ kwargs["resp_cls"] = models.ListReceiverResponse
1266
+ kwargs["headers"] = request.headers
1267
+ kwargs["opts"] = opts or {}
1268
+
1269
+ return await self.call_and_deserialize(**kwargs)
1270
+
1271
+ async def ListSAMLProviders(
1272
+ self,
1273
+ request: models.ListSAMLProvidersRequest,
1274
+ opts: Dict = None,
1275
+ ) -> models.ListSAMLProvidersResponse:
1276
+ """
1277
+ 查询SAML身份提供商列表
1278
+ """
1279
+
1280
+ kwargs = {}
1281
+ kwargs["action"] = "ListSAMLProviders"
1282
+ kwargs["params"] = request._serialize()
1283
+ kwargs["resp_cls"] = models.ListSAMLProvidersResponse
1284
+ kwargs["headers"] = request.headers
1285
+ kwargs["opts"] = opts or {}
1286
+
1287
+ return await self.call_and_deserialize(**kwargs)
1288
+
1289
+ async def ListUsers(
1290
+ self,
1291
+ request: models.ListUsersRequest,
1292
+ opts: Dict = None,
1293
+ ) -> models.ListUsersResponse:
1294
+ """
1295
+ 拉取子用户
1296
+ """
1297
+
1298
+ kwargs = {}
1299
+ kwargs["action"] = "ListUsers"
1300
+ kwargs["params"] = request._serialize()
1301
+ kwargs["resp_cls"] = models.ListUsersResponse
1302
+ kwargs["headers"] = request.headers
1303
+ kwargs["opts"] = opts or {}
1304
+
1305
+ return await self.call_and_deserialize(**kwargs)
1306
+
1307
+ async def ListUsersForGroup(
1308
+ self,
1309
+ request: models.ListUsersForGroupRequest,
1310
+ opts: Dict = None,
1311
+ ) -> models.ListUsersForGroupResponse:
1312
+ """
1313
+ 查询用户组关联的用户列表
1314
+ """
1315
+
1316
+ kwargs = {}
1317
+ kwargs["action"] = "ListUsersForGroup"
1318
+ kwargs["params"] = request._serialize()
1319
+ kwargs["resp_cls"] = models.ListUsersForGroupResponse
1320
+ kwargs["headers"] = request.headers
1321
+ kwargs["opts"] = opts or {}
1322
+
1323
+ return await self.call_and_deserialize(**kwargs)
1324
+
1325
+ async def ListWeChatWorkSubAccounts(
1326
+ self,
1327
+ request: models.ListWeChatWorkSubAccountsRequest,
1328
+ opts: Dict = None,
1329
+ ) -> models.ListWeChatWorkSubAccountsResponse:
1330
+ """
1331
+ 获取企业微信子用户列表
1332
+ """
1333
+
1334
+ kwargs = {}
1335
+ kwargs["action"] = "ListWeChatWorkSubAccounts"
1336
+ kwargs["params"] = request._serialize()
1337
+ kwargs["resp_cls"] = models.ListWeChatWorkSubAccountsResponse
1338
+ kwargs["headers"] = request.headers
1339
+ kwargs["opts"] = opts or {}
1340
+
1341
+ return await self.call_and_deserialize(**kwargs)
1342
+
1343
+ async def PutRolePermissionsBoundary(
1344
+ self,
1345
+ request: models.PutRolePermissionsBoundaryRequest,
1346
+ opts: Dict = None,
1347
+ ) -> models.PutRolePermissionsBoundaryResponse:
1348
+ """
1349
+ 设置角色权限边界
1350
+ """
1351
+
1352
+ kwargs = {}
1353
+ kwargs["action"] = "PutRolePermissionsBoundary"
1354
+ kwargs["params"] = request._serialize()
1355
+ kwargs["resp_cls"] = models.PutRolePermissionsBoundaryResponse
1356
+ kwargs["headers"] = request.headers
1357
+ kwargs["opts"] = opts or {}
1358
+
1359
+ return await self.call_and_deserialize(**kwargs)
1360
+
1361
+ async def PutUserPermissionsBoundary(
1362
+ self,
1363
+ request: models.PutUserPermissionsBoundaryRequest,
1364
+ opts: Dict = None,
1365
+ ) -> models.PutUserPermissionsBoundaryResponse:
1366
+ """
1367
+ 设置用户权限边界
1368
+ """
1369
+
1370
+ kwargs = {}
1371
+ kwargs["action"] = "PutUserPermissionsBoundary"
1372
+ kwargs["params"] = request._serialize()
1373
+ kwargs["resp_cls"] = models.PutUserPermissionsBoundaryResponse
1374
+ kwargs["headers"] = request.headers
1375
+ kwargs["opts"] = opts or {}
1376
+
1377
+ return await self.call_and_deserialize(**kwargs)
1378
+
1379
+ async def RemoveUserFromGroup(
1380
+ self,
1381
+ request: models.RemoveUserFromGroupRequest,
1382
+ opts: Dict = None,
1383
+ ) -> models.RemoveUserFromGroupResponse:
1384
+ """
1385
+ 从用户组删除用户
1386
+ """
1387
+
1388
+ kwargs = {}
1389
+ kwargs["action"] = "RemoveUserFromGroup"
1390
+ kwargs["params"] = request._serialize()
1391
+ kwargs["resp_cls"] = models.RemoveUserFromGroupResponse
1392
+ kwargs["headers"] = request.headers
1393
+ kwargs["opts"] = opts or {}
1394
+
1395
+ return await self.call_and_deserialize(**kwargs)
1396
+
1397
+ async def SetDefaultPolicyVersion(
1398
+ self,
1399
+ request: models.SetDefaultPolicyVersionRequest,
1400
+ opts: Dict = None,
1401
+ ) -> models.SetDefaultPolicyVersionResponse:
1402
+ """
1403
+ 本接口(SetDefaultPolicyVersion)可用于设置生效的策略版本。
1404
+ """
1405
+
1406
+ kwargs = {}
1407
+ kwargs["action"] = "SetDefaultPolicyVersion"
1408
+ kwargs["params"] = request._serialize()
1409
+ kwargs["resp_cls"] = models.SetDefaultPolicyVersionResponse
1410
+ kwargs["headers"] = request.headers
1411
+ kwargs["opts"] = opts or {}
1412
+
1413
+ return await self.call_and_deserialize(**kwargs)
1414
+
1415
+ async def SetMfaFlag(
1416
+ self,
1417
+ request: models.SetMfaFlagRequest,
1418
+ opts: Dict = None,
1419
+ ) -> models.SetMfaFlagResponse:
1420
+ """
1421
+ 设置子用户的登录保护和敏感操作校验方式
1422
+ """
1423
+
1424
+ kwargs = {}
1425
+ kwargs["action"] = "SetMfaFlag"
1426
+ kwargs["params"] = request._serialize()
1427
+ kwargs["resp_cls"] = models.SetMfaFlagResponse
1428
+ kwargs["headers"] = request.headers
1429
+ kwargs["opts"] = opts or {}
1430
+
1431
+ return await self.call_and_deserialize(**kwargs)
1432
+
1433
+ async def TagRole(
1434
+ self,
1435
+ request: models.TagRoleRequest,
1436
+ opts: Dict = None,
1437
+ ) -> models.TagRoleResponse:
1438
+ """
1439
+ 角色绑定标签
1440
+ """
1441
+
1442
+ kwargs = {}
1443
+ kwargs["action"] = "TagRole"
1444
+ kwargs["params"] = request._serialize()
1445
+ kwargs["resp_cls"] = models.TagRoleResponse
1446
+ kwargs["headers"] = request.headers
1447
+ kwargs["opts"] = opts or {}
1448
+
1449
+ return await self.call_and_deserialize(**kwargs)
1450
+
1451
+ async def UntagRole(
1452
+ self,
1453
+ request: models.UntagRoleRequest,
1454
+ opts: Dict = None,
1455
+ ) -> models.UntagRoleResponse:
1456
+ """
1457
+ 角色解绑标签。
1458
+ """
1459
+
1460
+ kwargs = {}
1461
+ kwargs["action"] = "UntagRole"
1462
+ kwargs["params"] = request._serialize()
1463
+ kwargs["resp_cls"] = models.UntagRoleResponse
1464
+ kwargs["headers"] = request.headers
1465
+ kwargs["opts"] = opts or {}
1466
+
1467
+ return await self.call_and_deserialize(**kwargs)
1468
+
1469
+ async def UpdateAccessKey(
1470
+ self,
1471
+ request: models.UpdateAccessKeyRequest,
1472
+ opts: Dict = None,
1473
+ ) -> models.UpdateAccessKeyResponse:
1474
+ """
1475
+ 为CAM用户更新访问密钥
1476
+ """
1477
+
1478
+ kwargs = {}
1479
+ kwargs["action"] = "UpdateAccessKey"
1480
+ kwargs["params"] = request._serialize()
1481
+ kwargs["resp_cls"] = models.UpdateAccessKeyResponse
1482
+ kwargs["headers"] = request.headers
1483
+ kwargs["opts"] = opts or {}
1484
+
1485
+ return await self.call_and_deserialize(**kwargs)
1486
+
1487
+ async def UpdateAssumeRolePolicy(
1488
+ self,
1489
+ request: models.UpdateAssumeRolePolicyRequest,
1490
+ opts: Dict = None,
1491
+ ) -> models.UpdateAssumeRolePolicyResponse:
1492
+ """
1493
+ 本接口(UpdateAssumeRolePolicy)用于修改角色信任策略的策略文档。
1494
+ """
1495
+
1496
+ kwargs = {}
1497
+ kwargs["action"] = "UpdateAssumeRolePolicy"
1498
+ kwargs["params"] = request._serialize()
1499
+ kwargs["resp_cls"] = models.UpdateAssumeRolePolicyResponse
1500
+ kwargs["headers"] = request.headers
1501
+ kwargs["opts"] = opts or {}
1502
+
1503
+ return await self.call_and_deserialize(**kwargs)
1504
+
1505
+ async def UpdateGroup(
1506
+ self,
1507
+ request: models.UpdateGroupRequest,
1508
+ opts: Dict = None,
1509
+ ) -> models.UpdateGroupResponse:
1510
+ """
1511
+ 更新用户组
1512
+ """
1513
+
1514
+ kwargs = {}
1515
+ kwargs["action"] = "UpdateGroup"
1516
+ kwargs["params"] = request._serialize()
1517
+ kwargs["resp_cls"] = models.UpdateGroupResponse
1518
+ kwargs["headers"] = request.headers
1519
+ kwargs["opts"] = opts or {}
1520
+
1521
+ return await self.call_and_deserialize(**kwargs)
1522
+
1523
+ async def UpdateOIDCConfig(
1524
+ self,
1525
+ request: models.UpdateOIDCConfigRequest,
1526
+ opts: Dict = None,
1527
+ ) -> models.UpdateOIDCConfigResponse:
1528
+ """
1529
+ 修改角色OIDC配置
1530
+ """
1531
+
1532
+ kwargs = {}
1533
+ kwargs["action"] = "UpdateOIDCConfig"
1534
+ kwargs["params"] = request._serialize()
1535
+ kwargs["resp_cls"] = models.UpdateOIDCConfigResponse
1536
+ kwargs["headers"] = request.headers
1537
+ kwargs["opts"] = opts or {}
1538
+
1539
+ return await self.call_and_deserialize(**kwargs)
1540
+
1541
+ async def UpdatePolicy(
1542
+ self,
1543
+ request: models.UpdatePolicyRequest,
1544
+ opts: Dict = None,
1545
+ ) -> models.UpdatePolicyResponse:
1546
+ """
1547
+ 本接口(UpdatePolicy )可用于更新策略。
1548
+ 如果已存在策略版本,本接口会直接更新策略的默认版本,不会创建新版本,如果不存在任何策略版本,则直接创建一个默认版本。
1549
+ """
1550
+
1551
+ kwargs = {}
1552
+ kwargs["action"] = "UpdatePolicy"
1553
+ kwargs["params"] = request._serialize()
1554
+ kwargs["resp_cls"] = models.UpdatePolicyResponse
1555
+ kwargs["headers"] = request.headers
1556
+ kwargs["opts"] = opts or {}
1557
+
1558
+ return await self.call_and_deserialize(**kwargs)
1559
+
1560
+ async def UpdateRoleConsoleLogin(
1561
+ self,
1562
+ request: models.UpdateRoleConsoleLoginRequest,
1563
+ opts: Dict = None,
1564
+ ) -> models.UpdateRoleConsoleLoginResponse:
1565
+ """
1566
+ 本接口(UpdateRoleConsoleLogin)用于修改角色是否可登录。
1567
+ """
1568
+
1569
+ kwargs = {}
1570
+ kwargs["action"] = "UpdateRoleConsoleLogin"
1571
+ kwargs["params"] = request._serialize()
1572
+ kwargs["resp_cls"] = models.UpdateRoleConsoleLoginResponse
1573
+ kwargs["headers"] = request.headers
1574
+ kwargs["opts"] = opts or {}
1575
+
1576
+ return await self.call_and_deserialize(**kwargs)
1577
+
1578
+ async def UpdateRoleDescription(
1579
+ self,
1580
+ request: models.UpdateRoleDescriptionRequest,
1581
+ opts: Dict = None,
1582
+ ) -> models.UpdateRoleDescriptionResponse:
1583
+ """
1584
+ 本接口(UpdateRoleDescription)用于修改角色的描述信息。
1585
+ """
1586
+
1587
+ kwargs = {}
1588
+ kwargs["action"] = "UpdateRoleDescription"
1589
+ kwargs["params"] = request._serialize()
1590
+ kwargs["resp_cls"] = models.UpdateRoleDescriptionResponse
1591
+ kwargs["headers"] = request.headers
1592
+ kwargs["opts"] = opts or {}
1593
+
1594
+ return await self.call_and_deserialize(**kwargs)
1595
+
1596
+ async def UpdateRoleSessionDuration(
1597
+ self,
1598
+ request: models.UpdateRoleSessionDurationRequest,
1599
+ opts: Dict = None,
1600
+ ) -> models.UpdateRoleSessionDurationResponse:
1601
+ """
1602
+ 修改角色会话时长
1603
+ """
1604
+
1605
+ kwargs = {}
1606
+ kwargs["action"] = "UpdateRoleSessionDuration"
1607
+ kwargs["params"] = request._serialize()
1608
+ kwargs["resp_cls"] = models.UpdateRoleSessionDurationResponse
1609
+ kwargs["headers"] = request.headers
1610
+ kwargs["opts"] = opts or {}
1611
+
1612
+ return await self.call_and_deserialize(**kwargs)
1613
+
1614
+ async def UpdateSAMLProvider(
1615
+ self,
1616
+ request: models.UpdateSAMLProviderRequest,
1617
+ opts: Dict = None,
1618
+ ) -> models.UpdateSAMLProviderResponse:
1619
+ """
1620
+ 更新SAML身份提供商信息
1621
+ """
1622
+
1623
+ kwargs = {}
1624
+ kwargs["action"] = "UpdateSAMLProvider"
1625
+ kwargs["params"] = request._serialize()
1626
+ kwargs["resp_cls"] = models.UpdateSAMLProviderResponse
1627
+ kwargs["headers"] = request.headers
1628
+ kwargs["opts"] = opts or {}
1629
+
1630
+ return await self.call_and_deserialize(**kwargs)
1631
+
1632
+ async def UpdateUser(
1633
+ self,
1634
+ request: models.UpdateUserRequest,
1635
+ opts: Dict = None,
1636
+ ) -> models.UpdateUserResponse:
1637
+ """
1638
+ 更新子用户
1639
+ """
1640
+
1641
+ kwargs = {}
1642
+ kwargs["action"] = "UpdateUser"
1643
+ kwargs["params"] = request._serialize()
1644
+ kwargs["resp_cls"] = models.UpdateUserResponse
1645
+ kwargs["headers"] = request.headers
1646
+ kwargs["opts"] = opts or {}
1647
+
1648
+ return await self.call_and_deserialize(**kwargs)
1649
+
1650
+ async def UpdateUserOIDCConfig(
1651
+ self,
1652
+ request: models.UpdateUserOIDCConfigRequest,
1653
+ opts: Dict = None,
1654
+ ) -> models.UpdateUserOIDCConfigResponse:
1655
+ """
1656
+ 修改用户OIDC配置
1657
+ """
1658
+
1659
+ kwargs = {}
1660
+ kwargs["action"] = "UpdateUserOIDCConfig"
1661
+ kwargs["params"] = request._serialize()
1662
+ kwargs["resp_cls"] = models.UpdateUserOIDCConfigResponse
1663
+ kwargs["headers"] = request.headers
1664
+ kwargs["opts"] = opts or {}
1665
+
1666
+ return await self.call_and_deserialize(**kwargs)
1667
+
1668
+ async def UpdateUserSAMLConfig(
1669
+ self,
1670
+ request: models.UpdateUserSAMLConfigRequest,
1671
+ opts: Dict = None,
1672
+ ) -> models.UpdateUserSAMLConfigResponse:
1673
+ """
1674
+ 修改用户SAML配置
1675
+ """
1676
+
1677
+ kwargs = {}
1678
+ kwargs["action"] = "UpdateUserSAMLConfig"
1679
+ kwargs["params"] = request._serialize()
1680
+ kwargs["resp_cls"] = models.UpdateUserSAMLConfigResponse
1681
+ kwargs["headers"] = request.headers
1682
+ kwargs["opts"] = opts or {}
1683
+
1684
+ return await self.call_and_deserialize(**kwargs)