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,1252 @@
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.kms.v20190118 import models
20
+ from typing import Dict
21
+
22
+
23
+ class KmsClient(AbstractClient):
24
+ _apiVersion = '2019-01-18'
25
+ _endpoint = 'kms.tencentcloudapi.com'
26
+ _service = 'kms'
27
+
28
+ async def ArchiveKey(
29
+ self,
30
+ request: models.ArchiveKeyRequest,
31
+ opts: Dict = None,
32
+ ) -> models.ArchiveKeyResponse:
33
+ """
34
+ 对密钥进行归档,被归档的密钥只能用于解密,不能加密
35
+ """
36
+
37
+ kwargs = {}
38
+ kwargs["action"] = "ArchiveKey"
39
+ kwargs["params"] = request._serialize()
40
+ kwargs["resp_cls"] = models.ArchiveKeyResponse
41
+ kwargs["headers"] = request.headers
42
+ kwargs["opts"] = opts or {}
43
+
44
+ return await self.call_and_deserialize(**kwargs)
45
+
46
+ async def AsymmetricRsaDecrypt(
47
+ self,
48
+ request: models.AsymmetricRsaDecryptRequest,
49
+ opts: Dict = None,
50
+ ) -> models.AsymmetricRsaDecryptResponse:
51
+ """
52
+ 使用指定的RSA非对称密钥的私钥进行数据解密,密文必须是使用对应公钥加密的。处于Enabled 状态的非对称密钥才能进行解密操作。
53
+ """
54
+
55
+ kwargs = {}
56
+ kwargs["action"] = "AsymmetricRsaDecrypt"
57
+ kwargs["params"] = request._serialize()
58
+ kwargs["resp_cls"] = models.AsymmetricRsaDecryptResponse
59
+ kwargs["headers"] = request.headers
60
+ kwargs["opts"] = opts or {}
61
+
62
+ return await self.call_and_deserialize(**kwargs)
63
+
64
+ async def AsymmetricSm2Decrypt(
65
+ self,
66
+ request: models.AsymmetricSm2DecryptRequest,
67
+ opts: Dict = None,
68
+ ) -> models.AsymmetricSm2DecryptResponse:
69
+ """
70
+ 使用指定的SM2非对称密钥的私钥进行数据解密,密文必须是使用对应公钥加密的。处于Enabled 状态的非对称密钥才能进行解密操作。传入的密文的长度不能超过256字节。
71
+ """
72
+
73
+ kwargs = {}
74
+ kwargs["action"] = "AsymmetricSm2Decrypt"
75
+ kwargs["params"] = request._serialize()
76
+ kwargs["resp_cls"] = models.AsymmetricSm2DecryptResponse
77
+ kwargs["headers"] = request.headers
78
+ kwargs["opts"] = opts or {}
79
+
80
+ return await self.call_and_deserialize(**kwargs)
81
+
82
+ async def BindCloudResource(
83
+ self,
84
+ request: models.BindCloudResourceRequest,
85
+ opts: Dict = None,
86
+ ) -> models.BindCloudResourceResponse:
87
+ """
88
+ 记录当前key被哪个云产品的那个资源所使用。如果当前key设置了自动过期,则取消该设置,确保当前key不会自动失效。如果当前关联关系已经创建,也返回成功。
89
+ """
90
+
91
+ kwargs = {}
92
+ kwargs["action"] = "BindCloudResource"
93
+ kwargs["params"] = request._serialize()
94
+ kwargs["resp_cls"] = models.BindCloudResourceResponse
95
+ kwargs["headers"] = request.headers
96
+ kwargs["opts"] = opts or {}
97
+
98
+ return await self.call_and_deserialize(**kwargs)
99
+
100
+ async def CancelDataKeyDeletion(
101
+ self,
102
+ request: models.CancelDataKeyDeletionRequest,
103
+ opts: Dict = None,
104
+ ) -> models.CancelDataKeyDeletionResponse:
105
+ """
106
+ 取消计划删除数据密钥
107
+ """
108
+
109
+ kwargs = {}
110
+ kwargs["action"] = "CancelDataKeyDeletion"
111
+ kwargs["params"] = request._serialize()
112
+ kwargs["resp_cls"] = models.CancelDataKeyDeletionResponse
113
+ kwargs["headers"] = request.headers
114
+ kwargs["opts"] = opts or {}
115
+
116
+ return await self.call_and_deserialize(**kwargs)
117
+
118
+ async def CancelKeyArchive(
119
+ self,
120
+ request: models.CancelKeyArchiveRequest,
121
+ opts: Dict = None,
122
+ ) -> models.CancelKeyArchiveResponse:
123
+ """
124
+ 取消密钥归档,取消后密钥的状态变为Enabled。
125
+ """
126
+
127
+ kwargs = {}
128
+ kwargs["action"] = "CancelKeyArchive"
129
+ kwargs["params"] = request._serialize()
130
+ kwargs["resp_cls"] = models.CancelKeyArchiveResponse
131
+ kwargs["headers"] = request.headers
132
+ kwargs["opts"] = opts or {}
133
+
134
+ return await self.call_and_deserialize(**kwargs)
135
+
136
+ async def CancelKeyDeletion(
137
+ self,
138
+ request: models.CancelKeyDeletionRequest,
139
+ opts: Dict = None,
140
+ ) -> models.CancelKeyDeletionResponse:
141
+ """
142
+ 取消CMK的计划删除操作
143
+ """
144
+
145
+ kwargs = {}
146
+ kwargs["action"] = "CancelKeyDeletion"
147
+ kwargs["params"] = request._serialize()
148
+ kwargs["resp_cls"] = models.CancelKeyDeletionResponse
149
+ kwargs["headers"] = request.headers
150
+ kwargs["opts"] = opts or {}
151
+
152
+ return await self.call_and_deserialize(**kwargs)
153
+
154
+ async def CreateKey(
155
+ self,
156
+ request: models.CreateKeyRequest,
157
+ opts: Dict = None,
158
+ ) -> models.CreateKeyResponse:
159
+ """
160
+ 创建用户管理数据密钥的主密钥CMK(Custom Master Key)。
161
+ """
162
+
163
+ kwargs = {}
164
+ kwargs["action"] = "CreateKey"
165
+ kwargs["params"] = request._serialize()
166
+ kwargs["resp_cls"] = models.CreateKeyResponse
167
+ kwargs["headers"] = request.headers
168
+ kwargs["opts"] = opts or {}
169
+
170
+ return await self.call_and_deserialize(**kwargs)
171
+
172
+ async def CreateWhiteBoxKey(
173
+ self,
174
+ request: models.CreateWhiteBoxKeyRequest,
175
+ opts: Dict = None,
176
+ ) -> models.CreateWhiteBoxKeyResponse:
177
+ """
178
+ 创建白盒密钥。 密钥个数的上限为 50。
179
+ """
180
+
181
+ kwargs = {}
182
+ kwargs["action"] = "CreateWhiteBoxKey"
183
+ kwargs["params"] = request._serialize()
184
+ kwargs["resp_cls"] = models.CreateWhiteBoxKeyResponse
185
+ kwargs["headers"] = request.headers
186
+ kwargs["opts"] = opts or {}
187
+
188
+ return await self.call_and_deserialize(**kwargs)
189
+
190
+ async def Decrypt(
191
+ self,
192
+ request: models.DecryptRequest,
193
+ opts: Dict = None,
194
+ ) -> models.DecryptResponse:
195
+ """
196
+ 本接口用于解密密文,得到明文数据。
197
+ """
198
+
199
+ kwargs = {}
200
+ kwargs["action"] = "Decrypt"
201
+ kwargs["params"] = request._serialize()
202
+ kwargs["resp_cls"] = models.DecryptResponse
203
+ kwargs["headers"] = request.headers
204
+ kwargs["opts"] = opts or {}
205
+
206
+ return await self.call_and_deserialize(**kwargs)
207
+
208
+ async def DeleteImportedKeyMaterial(
209
+ self,
210
+ request: models.DeleteImportedKeyMaterialRequest,
211
+ opts: Dict = None,
212
+ ) -> models.DeleteImportedKeyMaterialResponse:
213
+ """
214
+ 用于删除导入的密钥材料,仅对EXTERNAL类型的CMK有效,该接口将CMK设置为PendingImport 状态,并不会删除CMK,在重新进行密钥导入后可继续使用。彻底删除CMK请使用 ScheduleKeyDeletion 接口。
215
+ """
216
+
217
+ kwargs = {}
218
+ kwargs["action"] = "DeleteImportedKeyMaterial"
219
+ kwargs["params"] = request._serialize()
220
+ kwargs["resp_cls"] = models.DeleteImportedKeyMaterialResponse
221
+ kwargs["headers"] = request.headers
222
+ kwargs["opts"] = opts or {}
223
+
224
+ return await self.call_and_deserialize(**kwargs)
225
+
226
+ async def DeleteWhiteBoxKey(
227
+ self,
228
+ request: models.DeleteWhiteBoxKeyRequest,
229
+ opts: Dict = None,
230
+ ) -> models.DeleteWhiteBoxKeyResponse:
231
+ """
232
+ 删除白盒密钥, 注意:必须先禁用后,才可以删除。
233
+ """
234
+
235
+ kwargs = {}
236
+ kwargs["action"] = "DeleteWhiteBoxKey"
237
+ kwargs["params"] = request._serialize()
238
+ kwargs["resp_cls"] = models.DeleteWhiteBoxKeyResponse
239
+ kwargs["headers"] = request.headers
240
+ kwargs["opts"] = opts or {}
241
+
242
+ return await self.call_and_deserialize(**kwargs)
243
+
244
+ async def DescribeDataKey(
245
+ self,
246
+ request: models.DescribeDataKeyRequest,
247
+ opts: Dict = None,
248
+ ) -> models.DescribeDataKeyResponse:
249
+ """
250
+ 获取数据密钥的详情
251
+ """
252
+
253
+ kwargs = {}
254
+ kwargs["action"] = "DescribeDataKey"
255
+ kwargs["params"] = request._serialize()
256
+ kwargs["resp_cls"] = models.DescribeDataKeyResponse
257
+ kwargs["headers"] = request.headers
258
+ kwargs["opts"] = opts or {}
259
+
260
+ return await self.call_and_deserialize(**kwargs)
261
+
262
+ async def DescribeDataKeys(
263
+ self,
264
+ request: models.DescribeDataKeysRequest,
265
+ opts: Dict = None,
266
+ ) -> models.DescribeDataKeysResponse:
267
+ """
268
+ 返回数据密钥属性信息列表
269
+ """
270
+
271
+ kwargs = {}
272
+ kwargs["action"] = "DescribeDataKeys"
273
+ kwargs["params"] = request._serialize()
274
+ kwargs["resp_cls"] = models.DescribeDataKeysResponse
275
+ kwargs["headers"] = request.headers
276
+ kwargs["opts"] = opts or {}
277
+
278
+ return await self.call_and_deserialize(**kwargs)
279
+
280
+ async def DescribeKey(
281
+ self,
282
+ request: models.DescribeKeyRequest,
283
+ opts: Dict = None,
284
+ ) -> models.DescribeKeyResponse:
285
+ """
286
+ 用于获取指定KeyId的主密钥属性详情信息。
287
+ """
288
+
289
+ kwargs = {}
290
+ kwargs["action"] = "DescribeKey"
291
+ kwargs["params"] = request._serialize()
292
+ kwargs["resp_cls"] = models.DescribeKeyResponse
293
+ kwargs["headers"] = request.headers
294
+ kwargs["opts"] = opts or {}
295
+
296
+ return await self.call_and_deserialize(**kwargs)
297
+
298
+ async def DescribeKeys(
299
+ self,
300
+ request: models.DescribeKeysRequest,
301
+ opts: Dict = None,
302
+ ) -> models.DescribeKeysResponse:
303
+ """
304
+ 该接口用于批量获取主密钥属性信息。
305
+ """
306
+
307
+ kwargs = {}
308
+ kwargs["action"] = "DescribeKeys"
309
+ kwargs["params"] = request._serialize()
310
+ kwargs["resp_cls"] = models.DescribeKeysResponse
311
+ kwargs["headers"] = request.headers
312
+ kwargs["opts"] = opts or {}
313
+
314
+ return await self.call_and_deserialize(**kwargs)
315
+
316
+ async def DescribeWhiteBoxDecryptKey(
317
+ self,
318
+ request: models.DescribeWhiteBoxDecryptKeyRequest,
319
+ opts: Dict = None,
320
+ ) -> models.DescribeWhiteBoxDecryptKeyResponse:
321
+ """
322
+ 获取白盒解密密钥
323
+ """
324
+
325
+ kwargs = {}
326
+ kwargs["action"] = "DescribeWhiteBoxDecryptKey"
327
+ kwargs["params"] = request._serialize()
328
+ kwargs["resp_cls"] = models.DescribeWhiteBoxDecryptKeyResponse
329
+ kwargs["headers"] = request.headers
330
+ kwargs["opts"] = opts or {}
331
+
332
+ return await self.call_and_deserialize(**kwargs)
333
+
334
+ async def DescribeWhiteBoxDeviceFingerprints(
335
+ self,
336
+ request: models.DescribeWhiteBoxDeviceFingerprintsRequest,
337
+ opts: Dict = None,
338
+ ) -> models.DescribeWhiteBoxDeviceFingerprintsResponse:
339
+ """
340
+ 获取指定密钥的设备指纹列表
341
+ """
342
+
343
+ kwargs = {}
344
+ kwargs["action"] = "DescribeWhiteBoxDeviceFingerprints"
345
+ kwargs["params"] = request._serialize()
346
+ kwargs["resp_cls"] = models.DescribeWhiteBoxDeviceFingerprintsResponse
347
+ kwargs["headers"] = request.headers
348
+ kwargs["opts"] = opts or {}
349
+
350
+ return await self.call_and_deserialize(**kwargs)
351
+
352
+ async def DescribeWhiteBoxKey(
353
+ self,
354
+ request: models.DescribeWhiteBoxKeyRequest,
355
+ opts: Dict = None,
356
+ ) -> models.DescribeWhiteBoxKeyResponse:
357
+ """
358
+ 展示白盒密钥的信息
359
+ """
360
+
361
+ kwargs = {}
362
+ kwargs["action"] = "DescribeWhiteBoxKey"
363
+ kwargs["params"] = request._serialize()
364
+ kwargs["resp_cls"] = models.DescribeWhiteBoxKeyResponse
365
+ kwargs["headers"] = request.headers
366
+ kwargs["opts"] = opts or {}
367
+
368
+ return await self.call_and_deserialize(**kwargs)
369
+
370
+ async def DescribeWhiteBoxKeyDetails(
371
+ self,
372
+ request: models.DescribeWhiteBoxKeyDetailsRequest,
373
+ opts: Dict = None,
374
+ ) -> models.DescribeWhiteBoxKeyDetailsResponse:
375
+ """
376
+ 获取白盒密钥列表
377
+ """
378
+
379
+ kwargs = {}
380
+ kwargs["action"] = "DescribeWhiteBoxKeyDetails"
381
+ kwargs["params"] = request._serialize()
382
+ kwargs["resp_cls"] = models.DescribeWhiteBoxKeyDetailsResponse
383
+ kwargs["headers"] = request.headers
384
+ kwargs["opts"] = opts or {}
385
+
386
+ return await self.call_and_deserialize(**kwargs)
387
+
388
+ async def DescribeWhiteBoxServiceStatus(
389
+ self,
390
+ request: models.DescribeWhiteBoxServiceStatusRequest,
391
+ opts: Dict = None,
392
+ ) -> models.DescribeWhiteBoxServiceStatusResponse:
393
+ """
394
+ 获取白盒密钥服务状态
395
+ """
396
+
397
+ kwargs = {}
398
+ kwargs["action"] = "DescribeWhiteBoxServiceStatus"
399
+ kwargs["params"] = request._serialize()
400
+ kwargs["resp_cls"] = models.DescribeWhiteBoxServiceStatusResponse
401
+ kwargs["headers"] = request.headers
402
+ kwargs["opts"] = opts or {}
403
+
404
+ return await self.call_and_deserialize(**kwargs)
405
+
406
+ async def DisableDataKey(
407
+ self,
408
+ request: models.DisableDataKeyRequest,
409
+ opts: Dict = None,
410
+ ) -> models.DisableDataKeyResponse:
411
+ """
412
+ 禁用数据密钥
413
+ """
414
+
415
+ kwargs = {}
416
+ kwargs["action"] = "DisableDataKey"
417
+ kwargs["params"] = request._serialize()
418
+ kwargs["resp_cls"] = models.DisableDataKeyResponse
419
+ kwargs["headers"] = request.headers
420
+ kwargs["opts"] = opts or {}
421
+
422
+ return await self.call_and_deserialize(**kwargs)
423
+
424
+ async def DisableDataKeys(
425
+ self,
426
+ request: models.DisableDataKeysRequest,
427
+ opts: Dict = None,
428
+ ) -> models.DisableDataKeysResponse:
429
+ """
430
+ 批量禁用数据密钥
431
+ """
432
+
433
+ kwargs = {}
434
+ kwargs["action"] = "DisableDataKeys"
435
+ kwargs["params"] = request._serialize()
436
+ kwargs["resp_cls"] = models.DisableDataKeysResponse
437
+ kwargs["headers"] = request.headers
438
+ kwargs["opts"] = opts or {}
439
+
440
+ return await self.call_and_deserialize(**kwargs)
441
+
442
+ async def DisableKey(
443
+ self,
444
+ request: models.DisableKeyRequest,
445
+ opts: Dict = None,
446
+ ) -> models.DisableKeyResponse:
447
+ """
448
+ 本接口用于禁用一个主密钥,处于禁用状态的Key无法用于加密、解密操作。
449
+ """
450
+
451
+ kwargs = {}
452
+ kwargs["action"] = "DisableKey"
453
+ kwargs["params"] = request._serialize()
454
+ kwargs["resp_cls"] = models.DisableKeyResponse
455
+ kwargs["headers"] = request.headers
456
+ kwargs["opts"] = opts or {}
457
+
458
+ return await self.call_and_deserialize(**kwargs)
459
+
460
+ async def DisableKeyRotation(
461
+ self,
462
+ request: models.DisableKeyRotationRequest,
463
+ opts: Dict = None,
464
+ ) -> models.DisableKeyRotationResponse:
465
+ """
466
+ 对指定的CMK禁止密钥轮换功能。
467
+ """
468
+
469
+ kwargs = {}
470
+ kwargs["action"] = "DisableKeyRotation"
471
+ kwargs["params"] = request._serialize()
472
+ kwargs["resp_cls"] = models.DisableKeyRotationResponse
473
+ kwargs["headers"] = request.headers
474
+ kwargs["opts"] = opts or {}
475
+
476
+ return await self.call_and_deserialize(**kwargs)
477
+
478
+ async def DisableKeys(
479
+ self,
480
+ request: models.DisableKeysRequest,
481
+ opts: Dict = None,
482
+ ) -> models.DisableKeysResponse:
483
+ """
484
+ 该接口用于批量禁止CMK的使用。
485
+ """
486
+
487
+ kwargs = {}
488
+ kwargs["action"] = "DisableKeys"
489
+ kwargs["params"] = request._serialize()
490
+ kwargs["resp_cls"] = models.DisableKeysResponse
491
+ kwargs["headers"] = request.headers
492
+ kwargs["opts"] = opts or {}
493
+
494
+ return await self.call_and_deserialize(**kwargs)
495
+
496
+ async def DisableWhiteBoxKey(
497
+ self,
498
+ request: models.DisableWhiteBoxKeyRequest,
499
+ opts: Dict = None,
500
+ ) -> models.DisableWhiteBoxKeyResponse:
501
+ """
502
+ 禁用白盒密钥
503
+ """
504
+
505
+ kwargs = {}
506
+ kwargs["action"] = "DisableWhiteBoxKey"
507
+ kwargs["params"] = request._serialize()
508
+ kwargs["resp_cls"] = models.DisableWhiteBoxKeyResponse
509
+ kwargs["headers"] = request.headers
510
+ kwargs["opts"] = opts or {}
511
+
512
+ return await self.call_and_deserialize(**kwargs)
513
+
514
+ async def DisableWhiteBoxKeys(
515
+ self,
516
+ request: models.DisableWhiteBoxKeysRequest,
517
+ opts: Dict = None,
518
+ ) -> models.DisableWhiteBoxKeysResponse:
519
+ """
520
+ 批量禁用白盒密钥
521
+ """
522
+
523
+ kwargs = {}
524
+ kwargs["action"] = "DisableWhiteBoxKeys"
525
+ kwargs["params"] = request._serialize()
526
+ kwargs["resp_cls"] = models.DisableWhiteBoxKeysResponse
527
+ kwargs["headers"] = request.headers
528
+ kwargs["opts"] = opts or {}
529
+
530
+ return await self.call_and_deserialize(**kwargs)
531
+
532
+ async def EnableDataKey(
533
+ self,
534
+ request: models.EnableDataKeyRequest,
535
+ opts: Dict = None,
536
+ ) -> models.EnableDataKeyResponse:
537
+ """
538
+ 启用数据密钥
539
+ """
540
+
541
+ kwargs = {}
542
+ kwargs["action"] = "EnableDataKey"
543
+ kwargs["params"] = request._serialize()
544
+ kwargs["resp_cls"] = models.EnableDataKeyResponse
545
+ kwargs["headers"] = request.headers
546
+ kwargs["opts"] = opts or {}
547
+
548
+ return await self.call_and_deserialize(**kwargs)
549
+
550
+ async def EnableDataKeys(
551
+ self,
552
+ request: models.EnableDataKeysRequest,
553
+ opts: Dict = None,
554
+ ) -> models.EnableDataKeysResponse:
555
+ """
556
+ 批量启用数据密钥
557
+ """
558
+
559
+ kwargs = {}
560
+ kwargs["action"] = "EnableDataKeys"
561
+ kwargs["params"] = request._serialize()
562
+ kwargs["resp_cls"] = models.EnableDataKeysResponse
563
+ kwargs["headers"] = request.headers
564
+ kwargs["opts"] = opts or {}
565
+
566
+ return await self.call_and_deserialize(**kwargs)
567
+
568
+ async def EnableKey(
569
+ self,
570
+ request: models.EnableKeyRequest,
571
+ opts: Dict = None,
572
+ ) -> models.EnableKeyResponse:
573
+ """
574
+ 用于启用一个指定的CMK。
575
+ """
576
+
577
+ kwargs = {}
578
+ kwargs["action"] = "EnableKey"
579
+ kwargs["params"] = request._serialize()
580
+ kwargs["resp_cls"] = models.EnableKeyResponse
581
+ kwargs["headers"] = request.headers
582
+ kwargs["opts"] = opts or {}
583
+
584
+ return await self.call_and_deserialize(**kwargs)
585
+
586
+ async def EnableKeyRotation(
587
+ self,
588
+ request: models.EnableKeyRotationRequest,
589
+ opts: Dict = None,
590
+ ) -> models.EnableKeyRotationResponse:
591
+ """
592
+ 对指定的CMK开启密钥轮换功能。
593
+ """
594
+
595
+ kwargs = {}
596
+ kwargs["action"] = "EnableKeyRotation"
597
+ kwargs["params"] = request._serialize()
598
+ kwargs["resp_cls"] = models.EnableKeyRotationResponse
599
+ kwargs["headers"] = request.headers
600
+ kwargs["opts"] = opts or {}
601
+
602
+ return await self.call_and_deserialize(**kwargs)
603
+
604
+ async def EnableKeys(
605
+ self,
606
+ request: models.EnableKeysRequest,
607
+ opts: Dict = None,
608
+ ) -> models.EnableKeysResponse:
609
+ """
610
+ 该接口用于批量启用CMK。
611
+ """
612
+
613
+ kwargs = {}
614
+ kwargs["action"] = "EnableKeys"
615
+ kwargs["params"] = request._serialize()
616
+ kwargs["resp_cls"] = models.EnableKeysResponse
617
+ kwargs["headers"] = request.headers
618
+ kwargs["opts"] = opts or {}
619
+
620
+ return await self.call_and_deserialize(**kwargs)
621
+
622
+ async def EnableWhiteBoxKey(
623
+ self,
624
+ request: models.EnableWhiteBoxKeyRequest,
625
+ opts: Dict = None,
626
+ ) -> models.EnableWhiteBoxKeyResponse:
627
+ """
628
+ 启用白盒密钥
629
+ """
630
+
631
+ kwargs = {}
632
+ kwargs["action"] = "EnableWhiteBoxKey"
633
+ kwargs["params"] = request._serialize()
634
+ kwargs["resp_cls"] = models.EnableWhiteBoxKeyResponse
635
+ kwargs["headers"] = request.headers
636
+ kwargs["opts"] = opts or {}
637
+
638
+ return await self.call_and_deserialize(**kwargs)
639
+
640
+ async def EnableWhiteBoxKeys(
641
+ self,
642
+ request: models.EnableWhiteBoxKeysRequest,
643
+ opts: Dict = None,
644
+ ) -> models.EnableWhiteBoxKeysResponse:
645
+ """
646
+ 批量启用白盒密钥
647
+ """
648
+
649
+ kwargs = {}
650
+ kwargs["action"] = "EnableWhiteBoxKeys"
651
+ kwargs["params"] = request._serialize()
652
+ kwargs["resp_cls"] = models.EnableWhiteBoxKeysResponse
653
+ kwargs["headers"] = request.headers
654
+ kwargs["opts"] = opts or {}
655
+
656
+ return await self.call_and_deserialize(**kwargs)
657
+
658
+ async def Encrypt(
659
+ self,
660
+ request: models.EncryptRequest,
661
+ opts: Dict = None,
662
+ ) -> models.EncryptResponse:
663
+ """
664
+ 本接口用于加密最多为4KB任意数据,可用于加密数据库密码,RSA Key,或其它较小的敏感信息。对于应用的数据加密,使用GenerateDataKey生成的DataKey进行本地数据的加解密操作
665
+ """
666
+
667
+ kwargs = {}
668
+ kwargs["action"] = "Encrypt"
669
+ kwargs["params"] = request._serialize()
670
+ kwargs["resp_cls"] = models.EncryptResponse
671
+ kwargs["headers"] = request.headers
672
+ kwargs["opts"] = opts or {}
673
+
674
+ return await self.call_and_deserialize(**kwargs)
675
+
676
+ async def EncryptByWhiteBox(
677
+ self,
678
+ request: models.EncryptByWhiteBoxRequest,
679
+ opts: Dict = None,
680
+ ) -> models.EncryptByWhiteBoxResponse:
681
+ """
682
+ 使用白盒密钥进行加密
683
+ """
684
+
685
+ kwargs = {}
686
+ kwargs["action"] = "EncryptByWhiteBox"
687
+ kwargs["params"] = request._serialize()
688
+ kwargs["resp_cls"] = models.EncryptByWhiteBoxResponse
689
+ kwargs["headers"] = request.headers
690
+ kwargs["opts"] = opts or {}
691
+
692
+ return await self.call_and_deserialize(**kwargs)
693
+
694
+ async def GenerateDataKey(
695
+ self,
696
+ request: models.GenerateDataKeyRequest,
697
+ opts: Dict = None,
698
+ ) -> models.GenerateDataKeyResponse:
699
+ """
700
+ 本接口生成一个数据密钥,您可以用这个密钥进行本地数据的加密。
701
+ """
702
+
703
+ kwargs = {}
704
+ kwargs["action"] = "GenerateDataKey"
705
+ kwargs["params"] = request._serialize()
706
+ kwargs["resp_cls"] = models.GenerateDataKeyResponse
707
+ kwargs["headers"] = request.headers
708
+ kwargs["opts"] = opts or {}
709
+
710
+ return await self.call_and_deserialize(**kwargs)
711
+
712
+ async def GenerateRandom(
713
+ self,
714
+ request: models.GenerateRandomRequest,
715
+ opts: Dict = None,
716
+ ) -> models.GenerateRandomResponse:
717
+ """
718
+ 随机数生成接口。
719
+ """
720
+
721
+ kwargs = {}
722
+ kwargs["action"] = "GenerateRandom"
723
+ kwargs["params"] = request._serialize()
724
+ kwargs["resp_cls"] = models.GenerateRandomResponse
725
+ kwargs["headers"] = request.headers
726
+ kwargs["opts"] = opts or {}
727
+
728
+ return await self.call_and_deserialize(**kwargs)
729
+
730
+ async def GetDataKeyCiphertextBlob(
731
+ self,
732
+ request: models.GetDataKeyCiphertextBlobRequest,
733
+ opts: Dict = None,
734
+ ) -> models.GetDataKeyCiphertextBlobResponse:
735
+ """
736
+ 下载数据密钥密文
737
+ """
738
+
739
+ kwargs = {}
740
+ kwargs["action"] = "GetDataKeyCiphertextBlob"
741
+ kwargs["params"] = request._serialize()
742
+ kwargs["resp_cls"] = models.GetDataKeyCiphertextBlobResponse
743
+ kwargs["headers"] = request.headers
744
+ kwargs["opts"] = opts or {}
745
+
746
+ return await self.call_and_deserialize(**kwargs)
747
+
748
+ async def GetDataKeyPlaintext(
749
+ self,
750
+ request: models.GetDataKeyPlaintextRequest,
751
+ opts: Dict = None,
752
+ ) -> models.GetDataKeyPlaintextResponse:
753
+ """
754
+ 获取数据密钥明文
755
+ """
756
+
757
+ kwargs = {}
758
+ kwargs["action"] = "GetDataKeyPlaintext"
759
+ kwargs["params"] = request._serialize()
760
+ kwargs["resp_cls"] = models.GetDataKeyPlaintextResponse
761
+ kwargs["headers"] = request.headers
762
+ kwargs["opts"] = opts or {}
763
+
764
+ return await self.call_and_deserialize(**kwargs)
765
+
766
+ async def GetKeyRotationStatus(
767
+ self,
768
+ request: models.GetKeyRotationStatusRequest,
769
+ opts: Dict = None,
770
+ ) -> models.GetKeyRotationStatusResponse:
771
+ """
772
+ 查询指定的CMK是否开启了密钥轮换功能。
773
+ """
774
+
775
+ kwargs = {}
776
+ kwargs["action"] = "GetKeyRotationStatus"
777
+ kwargs["params"] = request._serialize()
778
+ kwargs["resp_cls"] = models.GetKeyRotationStatusResponse
779
+ kwargs["headers"] = request.headers
780
+ kwargs["opts"] = opts or {}
781
+
782
+ return await self.call_and_deserialize(**kwargs)
783
+
784
+ async def GetParametersForImport(
785
+ self,
786
+ request: models.GetParametersForImportRequest,
787
+ opts: Dict = None,
788
+ ) -> models.GetParametersForImportResponse:
789
+ """
790
+ 获取导入主密钥(CMK)材料的参数,返回的Token作为执行ImportKeyMaterial的参数之一,返回的PublicKey用于对自主导入密钥材料进行加密。返回的Token和PublicKey 24小时后失效,失效后如需重新导入,需要再次调用该接口获取新的Token和PublicKey。
791
+ """
792
+
793
+ kwargs = {}
794
+ kwargs["action"] = "GetParametersForImport"
795
+ kwargs["params"] = request._serialize()
796
+ kwargs["resp_cls"] = models.GetParametersForImportResponse
797
+ kwargs["headers"] = request.headers
798
+ kwargs["opts"] = opts or {}
799
+
800
+ return await self.call_and_deserialize(**kwargs)
801
+
802
+ async def GetPublicKey(
803
+ self,
804
+ request: models.GetPublicKeyRequest,
805
+ opts: Dict = None,
806
+ ) -> models.GetPublicKeyResponse:
807
+ """
808
+ 该接口用于获取非对称密钥的公钥信息,可用于本地数据加密或验签。只有处于Enabled状态的非对称密钥才可能获取公钥。
809
+ """
810
+
811
+ kwargs = {}
812
+ kwargs["action"] = "GetPublicKey"
813
+ kwargs["params"] = request._serialize()
814
+ kwargs["resp_cls"] = models.GetPublicKeyResponse
815
+ kwargs["headers"] = request.headers
816
+ kwargs["opts"] = opts or {}
817
+
818
+ return await self.call_and_deserialize(**kwargs)
819
+
820
+ async def GetRegions(
821
+ self,
822
+ request: models.GetRegionsRequest,
823
+ opts: Dict = None,
824
+ ) -> models.GetRegionsResponse:
825
+ """
826
+ 获取可以提供KMS服务的地域列表
827
+ """
828
+
829
+ kwargs = {}
830
+ kwargs["action"] = "GetRegions"
831
+ kwargs["params"] = request._serialize()
832
+ kwargs["resp_cls"] = models.GetRegionsResponse
833
+ kwargs["headers"] = request.headers
834
+ kwargs["opts"] = opts or {}
835
+
836
+ return await self.call_and_deserialize(**kwargs)
837
+
838
+ async def GetServiceStatus(
839
+ self,
840
+ request: models.GetServiceStatusRequest,
841
+ opts: Dict = None,
842
+ ) -> models.GetServiceStatusResponse:
843
+ """
844
+ 用于查询该用户是否已开通KMS服务
845
+ """
846
+
847
+ kwargs = {}
848
+ kwargs["action"] = "GetServiceStatus"
849
+ kwargs["params"] = request._serialize()
850
+ kwargs["resp_cls"] = models.GetServiceStatusResponse
851
+ kwargs["headers"] = request.headers
852
+ kwargs["opts"] = opts or {}
853
+
854
+ return await self.call_and_deserialize(**kwargs)
855
+
856
+ async def ImportDataKey(
857
+ self,
858
+ request: models.ImportDataKeyRequest,
859
+ opts: Dict = None,
860
+ ) -> models.ImportDataKeyResponse:
861
+ """
862
+ 数据密钥导入接口,并托管到KMS
863
+ """
864
+
865
+ kwargs = {}
866
+ kwargs["action"] = "ImportDataKey"
867
+ kwargs["params"] = request._serialize()
868
+ kwargs["resp_cls"] = models.ImportDataKeyResponse
869
+ kwargs["headers"] = request.headers
870
+ kwargs["opts"] = opts or {}
871
+
872
+ return await self.call_and_deserialize(**kwargs)
873
+
874
+ async def ImportKeyMaterial(
875
+ self,
876
+ request: models.ImportKeyMaterialRequest,
877
+ opts: Dict = None,
878
+ ) -> models.ImportKeyMaterialResponse:
879
+ """
880
+ 用于导入密钥材料。只有类型为EXTERNAL 的CMK 才可以导入,导入的密钥材料使用 GetParametersForImport 获取的密钥进行加密。可以为指定的 CMK 重新导入密钥材料,并重新指定过期时间,但必须导入相同的密钥材料。CMK 密钥材料导入后不可以更换密钥材料。导入的密钥材料过期或者被删除后,指定的CMK将无法使用,需要再次导入相同的密钥材料才能正常使用。CMK是独立的,同样的密钥材料可导入不同的 CMK 中,但使用其中一个 CMK 加密的数据无法使用另一个 CMK解密。
881
+ 只有Enabled 和 PendingImport状态的CMK可以导入密钥材料。
882
+ """
883
+
884
+ kwargs = {}
885
+ kwargs["action"] = "ImportKeyMaterial"
886
+ kwargs["params"] = request._serialize()
887
+ kwargs["resp_cls"] = models.ImportKeyMaterialResponse
888
+ kwargs["headers"] = request.headers
889
+ kwargs["opts"] = opts or {}
890
+
891
+ return await self.call_and_deserialize(**kwargs)
892
+
893
+ async def ListAlgorithms(
894
+ self,
895
+ request: models.ListAlgorithmsRequest,
896
+ opts: Dict = None,
897
+ ) -> models.ListAlgorithmsResponse:
898
+ """
899
+ 列出当前Region支持的加密方式
900
+ """
901
+
902
+ kwargs = {}
903
+ kwargs["action"] = "ListAlgorithms"
904
+ kwargs["params"] = request._serialize()
905
+ kwargs["resp_cls"] = models.ListAlgorithmsResponse
906
+ kwargs["headers"] = request.headers
907
+ kwargs["opts"] = opts or {}
908
+
909
+ return await self.call_and_deserialize(**kwargs)
910
+
911
+ async def ListDataKeyDetail(
912
+ self,
913
+ request: models.ListDataKeyDetailRequest,
914
+ opts: Dict = None,
915
+ ) -> models.ListDataKeyDetailResponse:
916
+ """
917
+ 根据指定Offset和Limit获取数据密钥列表详情。
918
+ """
919
+
920
+ kwargs = {}
921
+ kwargs["action"] = "ListDataKeyDetail"
922
+ kwargs["params"] = request._serialize()
923
+ kwargs["resp_cls"] = models.ListDataKeyDetailResponse
924
+ kwargs["headers"] = request.headers
925
+ kwargs["opts"] = opts or {}
926
+
927
+ return await self.call_and_deserialize(**kwargs)
928
+
929
+ async def ListDataKeys(
930
+ self,
931
+ request: models.ListDataKeysRequest,
932
+ opts: Dict = None,
933
+ ) -> models.ListDataKeysResponse:
934
+ """
935
+ 用于查询数据密钥的列表
936
+ """
937
+
938
+ kwargs = {}
939
+ kwargs["action"] = "ListDataKeys"
940
+ kwargs["params"] = request._serialize()
941
+ kwargs["resp_cls"] = models.ListDataKeysResponse
942
+ kwargs["headers"] = request.headers
943
+ kwargs["opts"] = opts or {}
944
+
945
+ return await self.call_and_deserialize(**kwargs)
946
+
947
+ async def ListKeyDetail(
948
+ self,
949
+ request: models.ListKeyDetailRequest,
950
+ opts: Dict = None,
951
+ ) -> models.ListKeyDetailResponse:
952
+ """
953
+ 根据指定Offset和Limit获取主密钥列表详情。
954
+ """
955
+
956
+ kwargs = {}
957
+ kwargs["action"] = "ListKeyDetail"
958
+ kwargs["params"] = request._serialize()
959
+ kwargs["resp_cls"] = models.ListKeyDetailResponse
960
+ kwargs["headers"] = request.headers
961
+ kwargs["opts"] = opts or {}
962
+
963
+ return await self.call_and_deserialize(**kwargs)
964
+
965
+ async def ListKeys(
966
+ self,
967
+ request: models.ListKeysRequest,
968
+ opts: Dict = None,
969
+ ) -> models.ListKeysResponse:
970
+ """
971
+ 列出账号下面状态为Enabled, Disabled 和 PendingImport 的CMK KeyId 列表
972
+ """
973
+
974
+ kwargs = {}
975
+ kwargs["action"] = "ListKeys"
976
+ kwargs["params"] = request._serialize()
977
+ kwargs["resp_cls"] = models.ListKeysResponse
978
+ kwargs["headers"] = request.headers
979
+ kwargs["opts"] = opts or {}
980
+
981
+ return await self.call_and_deserialize(**kwargs)
982
+
983
+ async def OverwriteWhiteBoxDeviceFingerprints(
984
+ self,
985
+ request: models.OverwriteWhiteBoxDeviceFingerprintsRequest,
986
+ opts: Dict = None,
987
+ ) -> models.OverwriteWhiteBoxDeviceFingerprintsResponse:
988
+ """
989
+ 覆盖指定密钥的设备指纹信息
990
+ """
991
+
992
+ kwargs = {}
993
+ kwargs["action"] = "OverwriteWhiteBoxDeviceFingerprints"
994
+ kwargs["params"] = request._serialize()
995
+ kwargs["resp_cls"] = models.OverwriteWhiteBoxDeviceFingerprintsResponse
996
+ kwargs["headers"] = request.headers
997
+ kwargs["opts"] = opts or {}
998
+
999
+ return await self.call_and_deserialize(**kwargs)
1000
+
1001
+ async def PostQuantumCryptoDecrypt(
1002
+ self,
1003
+ request: models.PostQuantumCryptoDecryptRequest,
1004
+ opts: Dict = None,
1005
+ ) -> models.PostQuantumCryptoDecryptResponse:
1006
+ """
1007
+ 本接口使用后量子密码算法密钥,解密密文,并得到明文数据。
1008
+ """
1009
+
1010
+ kwargs = {}
1011
+ kwargs["action"] = "PostQuantumCryptoDecrypt"
1012
+ kwargs["params"] = request._serialize()
1013
+ kwargs["resp_cls"] = models.PostQuantumCryptoDecryptResponse
1014
+ kwargs["headers"] = request.headers
1015
+ kwargs["opts"] = opts or {}
1016
+
1017
+ return await self.call_and_deserialize(**kwargs)
1018
+
1019
+ async def PostQuantumCryptoEncrypt(
1020
+ self,
1021
+ request: models.PostQuantumCryptoEncryptRequest,
1022
+ opts: Dict = None,
1023
+ ) -> models.PostQuantumCryptoEncryptResponse:
1024
+ """
1025
+ 本接口使用后量子密码算法密钥,可加密最多为4KB任意数据,可用于加密数据库密码,RSA Key,或其它较小的敏感信息。对于应用的数据加密,使用GenerateDataKey生成的DataKey进行本地数据的加解密操作。
1026
+ """
1027
+
1028
+ kwargs = {}
1029
+ kwargs["action"] = "PostQuantumCryptoEncrypt"
1030
+ kwargs["params"] = request._serialize()
1031
+ kwargs["resp_cls"] = models.PostQuantumCryptoEncryptResponse
1032
+ kwargs["headers"] = request.headers
1033
+ kwargs["opts"] = opts or {}
1034
+
1035
+ return await self.call_and_deserialize(**kwargs)
1036
+
1037
+ async def PostQuantumCryptoSign(
1038
+ self,
1039
+ request: models.PostQuantumCryptoSignRequest,
1040
+ opts: Dict = None,
1041
+ ) -> models.PostQuantumCryptoSignResponse:
1042
+ """
1043
+ 使用后量子密码算法签名验签密钥进行签名。
1044
+ """
1045
+
1046
+ kwargs = {}
1047
+ kwargs["action"] = "PostQuantumCryptoSign"
1048
+ kwargs["params"] = request._serialize()
1049
+ kwargs["resp_cls"] = models.PostQuantumCryptoSignResponse
1050
+ kwargs["headers"] = request.headers
1051
+ kwargs["opts"] = opts or {}
1052
+
1053
+ return await self.call_and_deserialize(**kwargs)
1054
+
1055
+ async def PostQuantumCryptoVerify(
1056
+ self,
1057
+ request: models.PostQuantumCryptoVerifyRequest,
1058
+ opts: Dict = None,
1059
+ ) -> models.PostQuantumCryptoVerifyResponse:
1060
+ """
1061
+ 使用后量子密码算法密钥对签名进行验证。
1062
+ """
1063
+
1064
+ kwargs = {}
1065
+ kwargs["action"] = "PostQuantumCryptoVerify"
1066
+ kwargs["params"] = request._serialize()
1067
+ kwargs["resp_cls"] = models.PostQuantumCryptoVerifyResponse
1068
+ kwargs["headers"] = request.headers
1069
+ kwargs["opts"] = opts or {}
1070
+
1071
+ return await self.call_and_deserialize(**kwargs)
1072
+
1073
+ async def ReEncrypt(
1074
+ self,
1075
+ request: models.ReEncryptRequest,
1076
+ opts: Dict = None,
1077
+ ) -> models.ReEncryptResponse:
1078
+ """
1079
+ 使用指定CMK对密文重新加密。
1080
+ """
1081
+
1082
+ kwargs = {}
1083
+ kwargs["action"] = "ReEncrypt"
1084
+ kwargs["params"] = request._serialize()
1085
+ kwargs["resp_cls"] = models.ReEncryptResponse
1086
+ kwargs["headers"] = request.headers
1087
+ kwargs["opts"] = opts or {}
1088
+
1089
+ return await self.call_and_deserialize(**kwargs)
1090
+
1091
+ async def ScheduleDataKeyDeletion(
1092
+ self,
1093
+ request: models.ScheduleDataKeyDeletionRequest,
1094
+ opts: Dict = None,
1095
+ ) -> models.ScheduleDataKeyDeletionResponse:
1096
+ """
1097
+ 计划删除数据密钥
1098
+ """
1099
+
1100
+ kwargs = {}
1101
+ kwargs["action"] = "ScheduleDataKeyDeletion"
1102
+ kwargs["params"] = request._serialize()
1103
+ kwargs["resp_cls"] = models.ScheduleDataKeyDeletionResponse
1104
+ kwargs["headers"] = request.headers
1105
+ kwargs["opts"] = opts or {}
1106
+
1107
+ return await self.call_and_deserialize(**kwargs)
1108
+
1109
+ async def ScheduleKeyDeletion(
1110
+ self,
1111
+ request: models.ScheduleKeyDeletionRequest,
1112
+ opts: Dict = None,
1113
+ ) -> models.ScheduleKeyDeletionResponse:
1114
+ """
1115
+ CMK计划删除接口,用于指定CMK删除的时间,可选时间区间为[7,30]天
1116
+ """
1117
+
1118
+ kwargs = {}
1119
+ kwargs["action"] = "ScheduleKeyDeletion"
1120
+ kwargs["params"] = request._serialize()
1121
+ kwargs["resp_cls"] = models.ScheduleKeyDeletionResponse
1122
+ kwargs["headers"] = request.headers
1123
+ kwargs["opts"] = opts or {}
1124
+
1125
+ return await self.call_and_deserialize(**kwargs)
1126
+
1127
+ async def SignByAsymmetricKey(
1128
+ self,
1129
+ request: models.SignByAsymmetricKeyRequest,
1130
+ opts: Dict = None,
1131
+ ) -> models.SignByAsymmetricKeyResponse:
1132
+ """
1133
+ 非对称密钥签名。
1134
+ 注意:只有 KeyUsage 为 ASYMMETRIC_SIGN_VERIFY_SM2、ASYMMETRIC_SIGN_VERIFY_ECC 或其他支持的 ASYMMETRIC_SIGN_VERIFY_${ALGORITHM} 的密钥才可以使用签名功能。
1135
+ """
1136
+
1137
+ kwargs = {}
1138
+ kwargs["action"] = "SignByAsymmetricKey"
1139
+ kwargs["params"] = request._serialize()
1140
+ kwargs["resp_cls"] = models.SignByAsymmetricKeyResponse
1141
+ kwargs["headers"] = request.headers
1142
+ kwargs["opts"] = opts or {}
1143
+
1144
+ return await self.call_and_deserialize(**kwargs)
1145
+
1146
+ async def UnbindCloudResource(
1147
+ self,
1148
+ request: models.UnbindCloudResourceRequest,
1149
+ opts: Dict = None,
1150
+ ) -> models.UnbindCloudResourceResponse:
1151
+ """
1152
+ 删除指定(key, 资源,云产品)的记录,以表明:指定的云产品的资源已不再使用当前的key。
1153
+ """
1154
+
1155
+ kwargs = {}
1156
+ kwargs["action"] = "UnbindCloudResource"
1157
+ kwargs["params"] = request._serialize()
1158
+ kwargs["resp_cls"] = models.UnbindCloudResourceResponse
1159
+ kwargs["headers"] = request.headers
1160
+ kwargs["opts"] = opts or {}
1161
+
1162
+ return await self.call_and_deserialize(**kwargs)
1163
+
1164
+ async def UpdateAlias(
1165
+ self,
1166
+ request: models.UpdateAliasRequest,
1167
+ opts: Dict = None,
1168
+ ) -> models.UpdateAliasResponse:
1169
+ """
1170
+ 用于修改CMK的别名。对于处于PendingDelete状态的CMK禁止修改。
1171
+ """
1172
+
1173
+ kwargs = {}
1174
+ kwargs["action"] = "UpdateAlias"
1175
+ kwargs["params"] = request._serialize()
1176
+ kwargs["resp_cls"] = models.UpdateAliasResponse
1177
+ kwargs["headers"] = request.headers
1178
+ kwargs["opts"] = opts or {}
1179
+
1180
+ return await self.call_and_deserialize(**kwargs)
1181
+
1182
+ async def UpdateDataKeyDescription(
1183
+ self,
1184
+ request: models.UpdateDataKeyDescriptionRequest,
1185
+ opts: Dict = None,
1186
+ ) -> models.UpdateDataKeyDescriptionResponse:
1187
+ """
1188
+ 修改数据密钥描述
1189
+ """
1190
+
1191
+ kwargs = {}
1192
+ kwargs["action"] = "UpdateDataKeyDescription"
1193
+ kwargs["params"] = request._serialize()
1194
+ kwargs["resp_cls"] = models.UpdateDataKeyDescriptionResponse
1195
+ kwargs["headers"] = request.headers
1196
+ kwargs["opts"] = opts or {}
1197
+
1198
+ return await self.call_and_deserialize(**kwargs)
1199
+
1200
+ async def UpdateDataKeyName(
1201
+ self,
1202
+ request: models.UpdateDataKeyNameRequest,
1203
+ opts: Dict = None,
1204
+ ) -> models.UpdateDataKeyNameResponse:
1205
+ """
1206
+ 修改数据密钥名称
1207
+ """
1208
+
1209
+ kwargs = {}
1210
+ kwargs["action"] = "UpdateDataKeyName"
1211
+ kwargs["params"] = request._serialize()
1212
+ kwargs["resp_cls"] = models.UpdateDataKeyNameResponse
1213
+ kwargs["headers"] = request.headers
1214
+ kwargs["opts"] = opts or {}
1215
+
1216
+ return await self.call_and_deserialize(**kwargs)
1217
+
1218
+ async def UpdateKeyDescription(
1219
+ self,
1220
+ request: models.UpdateKeyDescriptionRequest,
1221
+ opts: Dict = None,
1222
+ ) -> models.UpdateKeyDescriptionResponse:
1223
+ """
1224
+ 该接口用于对指定的cmk修改描述信息。对于处于PendingDelete状态的CMK禁止修改。
1225
+ """
1226
+
1227
+ kwargs = {}
1228
+ kwargs["action"] = "UpdateKeyDescription"
1229
+ kwargs["params"] = request._serialize()
1230
+ kwargs["resp_cls"] = models.UpdateKeyDescriptionResponse
1231
+ kwargs["headers"] = request.headers
1232
+ kwargs["opts"] = opts or {}
1233
+
1234
+ return await self.call_and_deserialize(**kwargs)
1235
+
1236
+ async def VerifyByAsymmetricKey(
1237
+ self,
1238
+ request: models.VerifyByAsymmetricKeyRequest,
1239
+ opts: Dict = None,
1240
+ ) -> models.VerifyByAsymmetricKeyResponse:
1241
+ """
1242
+ 使用非对称密钥验签
1243
+ """
1244
+
1245
+ kwargs = {}
1246
+ kwargs["action"] = "VerifyByAsymmetricKey"
1247
+ kwargs["params"] = request._serialize()
1248
+ kwargs["resp_cls"] = models.VerifyByAsymmetricKeyResponse
1249
+ kwargs["headers"] = request.headers
1250
+ kwargs["opts"] = opts or {}
1251
+
1252
+ return await self.call_and_deserialize(**kwargs)