tccli 3.0.1216.1__py2.py3-none-any.whl → 3.0.1217.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (252) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/argparser.py +1 -1
  3. tccli/command.py +2 -2
  4. tccli/credentials.py +25 -0
  5. tccli/main.py +6 -2
  6. tccli/plugins/sso/__init__.py +61 -0
  7. tccli/plugins/sso/configs.py +4 -0
  8. tccli/plugins/sso/configure.py +45 -0
  9. tccli/plugins/sso/login.py +144 -0
  10. tccli/plugins/sso/logout.py +21 -0
  11. tccli/plugins/sso/terminal.py +161 -0
  12. tccli/plugins/sso/texts.py +40 -0
  13. tccli/services/__init__.py +6 -0
  14. tccli/services/acp/v20220105/api.json +7 -7
  15. tccli/services/acp/v20220105/examples.json +2 -2
  16. tccli/services/aiart/v20221229/api.json +29 -29
  17. tccli/services/aiart/v20221229/examples.json +8 -8
  18. tccli/services/apigateway/v20180808/api.json +18 -17
  19. tccli/services/apigateway/v20180808/examples.json +12 -12
  20. tccli/services/apm/v20210622/api.json +98 -4
  21. tccli/services/asr/v20190614/api.json +18 -17
  22. tccli/services/asr/v20190614/examples.json +13 -13
  23. tccli/services/autoscaling/v20180419/api.json +371 -309
  24. tccli/services/autoscaling/v20180419/examples.json +17 -17
  25. tccli/services/batch/v20170312/api.json +7 -7
  26. tccli/services/bda/v20200324/api.json +39 -31
  27. tccli/services/bda/v20200324/examples.json +9 -9
  28. tccli/services/bh/__init__.py +4 -0
  29. tccli/services/bh/bh_client.py +3428 -0
  30. tccli/services/bh/v20230418/api.json +8180 -0
  31. tccli/services/bh/v20230418/examples.json +519 -0
  32. tccli/services/bi/v20220105/api.json +48 -0
  33. tccli/services/billing/v20180709/api.json +26 -24
  34. tccli/services/bsca/v20210811/api.json +1 -1
  35. tccli/services/btoe/v20210514/api.json +4 -4
  36. tccli/services/btoe/v20210514/examples.json +2 -2
  37. tccli/services/ca/v20230228/api.json +60 -0
  38. tccli/services/cam/v20190116/api.json +11 -11
  39. tccli/services/cat/v20180409/api.json +9 -0
  40. tccli/services/cbs/v20170312/api.json +200 -188
  41. tccli/services/cbs/v20170312/examples.json +4 -4
  42. tccli/services/ccc/v20200210/api.json +390 -323
  43. tccli/services/ccc/v20200210/examples.json +15 -15
  44. tccli/services/cdb/cdb_client.py +13 -13
  45. tccli/services/cdb/v20170320/api.json +295 -270
  46. tccli/services/cdb/v20170320/examples.json +38 -38
  47. tccli/services/cdc/v20201214/api.json +283 -270
  48. tccli/services/cdc/v20201214/examples.json +26 -26
  49. tccli/services/cds/v20180420/api.json +82 -76
  50. tccli/services/cds/v20180420/examples.json +1 -1
  51. tccli/services/cdwch/v20200915/api.json +1 -1
  52. tccli/services/cdwdoris/v20211228/api.json +42 -2
  53. tccli/services/cdz/v20221123/api.json +41 -5
  54. tccli/services/cfg/v20210820/api.json +31 -0
  55. tccli/services/cfs/v20190719/api.json +89 -1
  56. tccli/services/cfs/v20190719/examples.json +1 -1
  57. tccli/services/cfw/cfw_client.py +0 -53
  58. tccli/services/cfw/v20190904/api.json +1849 -1999
  59. tccli/services/cfw/v20190904/examples.json +157 -159
  60. tccli/services/ckafka/v20190819/api.json +104 -75
  61. tccli/services/clb/v20180317/api.json +48 -26
  62. tccli/services/clb/v20180317/examples.json +1 -1
  63. tccli/services/cloudapp/v20220530/api.json +5 -1
  64. tccli/services/cloudaudit/v20190319/api.json +58 -44
  65. tccli/services/cloudaudit/v20190319/examples.json +6 -6
  66. tccli/services/cloudstudio/v20230508/api.json +38 -37
  67. tccli/services/cloudstudio/v20230508/examples.json +4 -4
  68. tccli/services/cls/cls_client.py +216 -4
  69. tccli/services/cls/v20201016/api.json +536 -47
  70. tccli/services/cls/v20201016/examples.json +34 -2
  71. tccli/services/csip/v20221121/api.json +2562 -2382
  72. tccli/services/csip/v20221121/examples.json +108 -108
  73. tccli/services/cvm/v20170312/api.json +149 -112
  74. tccli/services/cvm/v20170312/examples.json +2 -2
  75. tccli/services/cwp/cwp_client.py +4 -110
  76. tccli/services/cwp/v20180228/api.json +6338 -6146
  77. tccli/services/cwp/v20180228/examples.json +342 -370
  78. tccli/services/cynosdb/v20190107/api.json +93 -81
  79. tccli/services/cynosdb/v20190107/examples.json +70 -70
  80. tccli/services/dasb/v20191018/api.json +796 -651
  81. tccli/services/dasb/v20191018/examples.json +101 -101
  82. tccli/services/dcdb/dcdb_client.py +114 -61
  83. tccli/services/dcdb/v20180411/api.json +141 -7
  84. tccli/services/dcdb/v20180411/examples.json +32 -0
  85. tccli/services/dlc/v20210125/api.json +21 -11
  86. tccli/services/dnspod/dnspod_client.py +417 -46
  87. tccli/services/dnspod/v20210323/api.json +751 -30
  88. tccli/services/dnspod/v20210323/examples.json +62 -0
  89. tccli/services/dts/v20211206/api.json +4 -4
  90. tccli/services/ecm/v20190719/api.json +2 -2
  91. tccli/services/emr/v20190103/api.json +339 -114
  92. tccli/services/emr/v20190103/examples.json +64 -82
  93. tccli/services/es/v20180416/api.json +29 -0
  94. tccli/services/es/v20180416/examples.json +1 -1
  95. tccli/services/ess/v20201111/api.json +49 -31
  96. tccli/services/ess/v20201111/examples.json +20 -8
  97. tccli/services/essbasic/v20210526/api.json +54 -49
  98. tccli/services/essbasic/v20210526/examples.json +36 -18
  99. tccli/services/facefusion/v20181201/api.json +47 -45
  100. tccli/services/facefusion/v20181201/examples.json +2 -2
  101. tccli/services/facefusion/v20220927/api.json +54 -48
  102. tccli/services/facefusion/v20220927/examples.json +5 -5
  103. tccli/services/faceid/v20180301/api.json +497 -496
  104. tccli/services/faceid/v20180301/examples.json +219 -101
  105. tccli/services/fmu/v20191213/api.json +59 -67
  106. tccli/services/fmu/v20191213/examples.json +22 -22
  107. tccli/services/ft/v20200304/api.json +53 -57
  108. tccli/services/ft/v20200304/examples.json +14 -14
  109. tccli/services/gme/v20180711/api.json +21 -11
  110. tccli/services/gme/v20180711/examples.json +1 -1
  111. tccli/services/hai/v20230812/api.json +116 -9
  112. tccli/services/hai/v20230812/examples.json +4 -4
  113. tccli/services/hunyuan/hunyuan_client.py +436 -12
  114. tccli/services/hunyuan/v20230901/api.json +1482 -118
  115. tccli/services/hunyuan/v20230901/examples.json +82 -18
  116. tccli/services/iai/v20180301/api.json +23 -19
  117. tccli/services/iai/v20180301/examples.json +2 -2
  118. tccli/services/iai/v20200303/api.json +530 -511
  119. tccli/services/iai/v20200303/examples.json +116 -86
  120. tccli/services/ig/__init__.py +4 -0
  121. tccli/services/ig/ig_client.py +195 -0
  122. tccli/services/ig/v20210518/api.json +83 -0
  123. tccli/services/ig/v20210518/examples.json +13 -0
  124. tccli/services/ioa/ioa_client.py +53 -0
  125. tccli/services/ioa/v20220601/api.json +662 -413
  126. tccli/services/ioa/v20220601/examples.json +24 -10
  127. tccli/services/iotexplorer/v20190423/api.json +33 -13
  128. tccli/services/iotexplorer/v20190423/examples.json +3 -3
  129. tccli/services/iotvideo/iotvideo_client.py +106 -0
  130. tccli/services/iotvideo/v20191126/api.json +256 -24
  131. tccli/services/iotvideo/v20191126/examples.json +19 -3
  132. tccli/services/iotvideo/v20201215/api.json +1 -1
  133. tccli/services/iotvideo/v20201215/examples.json +1 -1
  134. tccli/services/iotvideo/v20211125/api.json +1 -1
  135. tccli/services/iotvideo/v20211125/examples.json +2 -2
  136. tccli/services/iss/iss_client.py +69 -122
  137. tccli/services/iss/v20230517/api.json +10 -54
  138. tccli/services/iss/v20230517/examples.json +0 -14
  139. tccli/services/kms/v20190118/api.json +301 -268
  140. tccli/services/kms/v20190118/examples.json +45 -51
  141. tccli/services/lcic/lcic_client.py +159 -0
  142. tccli/services/lcic/v20220817/api.json +273 -1
  143. tccli/services/lcic/v20220817/examples.json +24 -0
  144. tccli/services/lighthouse/v20200324/api.json +56 -0
  145. tccli/services/live/live_client.py +159 -0
  146. tccli/services/live/v20180801/api.json +244 -0
  147. tccli/services/live/v20180801/examples.json +24 -0
  148. tccli/services/lke/v20231130/api.json +17 -17
  149. tccli/services/lke/v20231130/examples.json +19 -25
  150. tccli/services/mariadb/v20170312/api.json +7 -7
  151. tccli/services/market/v20191010/api.json +3 -3
  152. tccli/services/market/v20191010/examples.json +2 -2
  153. tccli/services/mmps/v20200710/api.json +47 -47
  154. tccli/services/mmps/v20200710/examples.json +3 -3
  155. tccli/services/mongodb/v20190725/api.json +4 -4
  156. tccli/services/monitor/v20180724/api.json +46 -19
  157. tccli/services/mps/v20190612/api.json +282 -5
  158. tccli/services/mps/v20190612/examples.json +25 -1
  159. tccli/services/mqtt/v20240516/api.json +2 -2
  160. tccli/services/mrs/v20200910/api.json +72 -34
  161. tccli/services/mrs/v20200910/examples.json +2 -2
  162. tccli/services/ms/v20180408/api.json +535 -506
  163. tccli/services/ms/v20180408/examples.json +25 -25
  164. tccli/services/oceanus/v20190422/api.json +130 -0
  165. tccli/services/ocr/ocr_client.py +232 -20
  166. tccli/services/ocr/v20181119/api.json +2265 -760
  167. tccli/services/ocr/v20181119/examples.json +200 -180
  168. tccli/services/omics/v20221128/api.json +614 -553
  169. tccli/services/omics/v20221128/examples.json +9 -9
  170. tccli/services/organization/v20210331/api.json +13 -4
  171. tccli/services/organization/v20210331/examples.json +2 -2
  172. tccli/services/partners/v20180321/api.json +244 -234
  173. tccli/services/partners/v20180321/examples.json +19 -19
  174. tccli/services/privatedns/privatedns_client.py +428 -4
  175. tccli/services/privatedns/v20201028/api.json +815 -11
  176. tccli/services/privatedns/v20201028/examples.json +64 -0
  177. tccli/services/pts/v20210728/api.json +18 -0
  178. tccli/services/pts/v20210728/examples.json +1 -1
  179. tccli/services/rce/rce_client.py +53 -0
  180. tccli/services/rce/v20201103/api.json +146 -0
  181. tccli/services/rce/v20201103/examples.json +8 -0
  182. tccli/services/redis/v20180412/api.json +42 -42
  183. tccli/services/redis/v20180412/examples.json +19 -19
  184. tccli/services/rum/v20210622/api.json +9 -0
  185. tccli/services/scf/v20180416/api.json +15 -15
  186. tccli/services/scf/v20180416/examples.json +1 -1
  187. tccli/services/smop/v20201203/api.json +46 -42
  188. tccli/services/smop/v20201203/examples.json +2 -2
  189. tccli/services/soe/v20180724/api.json +10 -10
  190. tccli/services/sqlserver/v20180328/api.json +21 -8
  191. tccli/services/sqlserver/v20180328/examples.json +5 -5
  192. tccli/services/ssl/v20191205/api.json +97 -4
  193. tccli/services/ssm/v20190923/api.json +292 -231
  194. tccli/services/ssm/v20190923/examples.json +42 -42
  195. tccli/services/tat/v20201028/api.json +97 -97
  196. tccli/services/tat/v20201028/examples.json +20 -26
  197. tccli/services/tchd/v20230306/api.json +5 -5
  198. tccli/services/tchd/v20230306/examples.json +3 -3
  199. tccli/services/tcr/v20190924/api.json +1 -1
  200. tccli/services/tcr/v20190924/examples.json +1 -1
  201. tccli/services/tcss/v20201101/api.json +1973 -1426
  202. tccli/services/tcss/v20201101/examples.json +346 -364
  203. tccli/services/tdmq/v20200217/api.json +539 -401
  204. tccli/services/tdmq/v20200217/examples.json +104 -104
  205. tccli/services/tds/v20220801/api.json +4 -4
  206. tccli/services/tem/v20210701/api.json +287 -271
  207. tccli/services/tem/v20210701/examples.json +59 -59
  208. tccli/services/teo/v20220901/api.json +37 -9
  209. tccli/services/teo/v20220901/examples.json +13 -7
  210. tccli/services/thpc/v20230321/api.json +5 -5
  211. tccli/services/tke/tke_client.py +217 -58
  212. tccli/services/tke/v20180525/api.json +36 -27
  213. tccli/services/tke/v20180525/examples.json +1 -1
  214. tccli/services/tke/v20220501/api.json +176 -0
  215. tccli/services/tke/v20220501/examples.json +24 -0
  216. tccli/services/tmt/v20180321/api.json +38 -8
  217. tccli/services/trp/v20210515/api.json +86 -74
  218. tccli/services/trp/v20210515/examples.json +65 -65
  219. tccli/services/trro/v20220325/api.json +72 -71
  220. tccli/services/trro/v20220325/examples.json +8 -8
  221. tccli/services/trtc/trtc_client.py +8 -61
  222. tccli/services/trtc/v20190722/api.json +72 -30
  223. tccli/services/trtc/v20190722/examples.json +3 -11
  224. tccli/services/tse/tse_client.py +110 -4
  225. tccli/services/tse/v20201207/api.json +122 -7
  226. tccli/services/tse/v20201207/examples.json +25 -9
  227. tccli/services/vclm/v20240523/api.json +225 -82
  228. tccli/services/vclm/v20240523/examples.json +13 -19
  229. tccli/services/vod/v20180717/api.json +431 -4
  230. tccli/services/vod/v20180717/examples.json +25 -5
  231. tccli/services/vod/v20240718/api.json +11 -11
  232. tccli/services/vod/v20240718/examples.json +4 -4
  233. tccli/services/vod/vod_client.py +53 -0
  234. tccli/services/vpc/v20170312/api.json +1090 -862
  235. tccli/services/vpc/v20170312/examples.json +74 -66
  236. tccli/services/vpc/vpc_client.py +61 -8
  237. tccli/services/waf/v20180125/api.json +2540 -2177
  238. tccli/services/waf/v20180125/examples.json +216 -284
  239. tccli/services/waf/waf_client.py +172 -119
  240. tccli/services/wav/v20210129/api.json +48 -48
  241. tccli/services/wav/v20210129/examples.json +4 -4
  242. tccli/services/wedata/v20210820/api.json +909 -25
  243. tccli/services/wedata/v20210820/examples.json +28 -4
  244. tccli/services/wedata/wedata_client.py +159 -0
  245. tccli/services/weilingwith/v20230427/api.json +6 -6
  246. tccli/services/weilingwith/v20230427/examples.json +3 -3
  247. tccli/sso.py +229 -0
  248. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +2 -2
  249. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +252 -235
  250. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
  251. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
  252. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -11,16 +11,16 @@
11
11
  "AsymmetricRsaDecrypt": [
12
12
  {
13
13
  "document": "",
14
- "input": "https://kms.tencentcloudapi.com/?Action=AsymmetricRsaDecrypt\n&KeyId=554ef4b3-3071-11ea-a86a-5254006d0810\n&Ciphertext=Fb0UICocErQgNEkYKJagtoKNed7DLeo5UkZzPJMyI94CfWh6yKHGgb/0PBHrCve2Avo4gJI5pJMWP3Aq5ggX0aunLv87UX+sgO1/3HXW+q4ARaiwZ9Q73RQuPg6qJ2Eg33uZ2Xjey3l+5yHiOdZYmCVePtKAsuhxzKw/sALTbGTYYnbJXnGKr3Yu7Hs0hCC1bOz0sNqd1IXdUyMtQtbDOV8NWg2ecdZPIOdbnrCKIQ4rpMUghjSFv3rSHo5VbpuOGPXqEZT4goou42psIXb03li3TXxFZMTAdxVMzpqEuTfRxiMPEqyPEHe6xG92vJX0FZfWU8Y5SxlfXp+mvBbAmw==\n&Algorithm=RSAES_OAEP_SHA_1\n&<公共请求参数>",
15
- "output": "{\n \"Response\": {\n \"RequestId\": \"7c076c83-1402-41d8-8ce6-73a350a9eaf6\",\n \"KeyId\": \"554ef4b3-3071-11ea-a86a-5254006d0810\",\n \"Plaintext\": \"dGVzdA==\"\n }\n}",
14
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AsymmetricRsaDecrypt\n<公共请求参数>\n\n{\n \"KeyId\": \"edf72a11-69d0-11ef-9841-52540089bc41\",\n \"Ciphertext\": \"vlnJ/RrQE0mXiHGoya/xpKQJHkd5ImvdXug306BreYL60Kb8ucqQ0eurf5mX/mKZDSTGr8FDVK8b4HOopj7xuDQIzegObtvK2VGbXSaihI/fNDkmoWcgBF/V91scYJtrkwoISnvqsxcl9NeAp+H2A6E3vTiDpQK5oVb3OTG39FoYEvfbRNfef+iukiRiqOL7VGSPmx1nThi6Cd4XGBFzB0tvtmP2SnZhZuzryj+jnHVAz2bIuYP8M4OJYkk5muuACWxLGLQj5sh2FqIpbzT4nti4fOD4ieHnf/qCw/9yyiWUED67oelFKaBJEWGq3PT7bGtH4Sxx8SKx2BCBsR95sA==\",\n \"Algorithm\": \"RSAES_OAEP_SHA_256\"\n}",
15
+ "output": "{\n \"Response\": {\n \"KeyId\": \"edf72a11-69d0-11ef-9841-52540089bc41\",\n \"Plaintext\": \"dGVzdAo=\",\n \"RequestId\": \"8e7c44ba-917c-4e85-a626-a07806e9b7c9\"\n }\n}",
16
16
  "title": "非对称密钥RSA解密"
17
17
  }
18
18
  ],
19
19
  "AsymmetricSm2Decrypt": [
20
20
  {
21
21
  "document": "",
22
- "input": "https://kms.tencentcloudapi.com/?Action=AsymmetricSm2Decrypt\n&KeyId=554ef4b3-3071-11ea-a86a-5254006d0810\n&Ciphertext=Fb0UICocErQgNEkYKJagtoKNed7DLeo5UkZzPJMyI94CfWh6yKHGgb/0PBHrCve2Avo4gJI5pJMWP3Aq5ggX0aunLv87UX+sgO1/3HXW+q4ARaiwZ9Q73RQuPg6qJ2Eg33uZ2Xjey3l+5yHiOdZYmCVePtKAsuhxzKw/sALTbGTYYnbJXnGKr3Yu7Hs0hCC1bOz0sNqd1IXdUyMtQtbDOV8NWg2ecdZPIOdbnrCKIQ4rpMUghjSFv3rSHo5VbpuOGPXqEZT4goou42psIXb03li3TXxFZMTAdxVMzpqEuTfRxiMPEqyPEHe6xG92vJX0FZfWU8Y5SxlfXp+mvBbAmw==\n&<公共请求参数>",
23
- "output": "{\n \"Response\": {\n \"RequestId\": \"7c076c83-1402-41d8-8ce6-73a350a9eaf6\",\n \"KeyId\": \"554ef4b3-3071-11ea-a86a-5254006d0810\",\n \"Plaintext\": \"dGVzdA==\"\n }\n}",
22
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AsymmetricSm2Decrypt\n<公共请求参数>\n\n{\n \"KeyId\": \"fce1015e-9735-11ef-be86-6abd61583d2d\",\n \"Ciphertext\": \"MG0CICuRefoqE7g5bpsZNYq+9d909cZl7nFuYFHiDhOqz8GAAiEA4lqmt3nGqpbu0qhbWsStkexXA2cA12nVWjgruFP5WKkEIG6JwYejm9gEr7CPOOhbirsGhga3W7J6C7kwdmf6VebRBATH1o2G\"\n}",
23
+ "output": "{\n \"Response\": {\n \"KeyId\": \"fce1015e-9735-11ef-be86-6abd61583d2d\",\n \"Plaintext\": \"dGVzdA==\",\n \"RequestId\": \"e2e0945e-7e90-421a-bfc8-64999d789283\"\n }\n}",
24
24
  "title": "非对称密钥Sm2解密"
25
25
  }
26
26
  ],
@@ -51,24 +51,24 @@
51
51
  "CreateKey": [
52
52
  {
53
53
  "document": "创建用户管理数据密钥的主密钥CMK(Custom Master Key),通过CMK后续可以调用其他接口诸如创建数据密钥、加解密等操作。",
54
- "input": "https://kms.tencentcloudapi.com/?Action=CreateKey\n&Alias=mykey\n&KeyUsage=ENCRYPT_DECRYPT\n&Description=test\n&<公共请求参数>",
55
- "output": "{\n \"Response\": {\n \"KeyId\": \"9999aed0-4956-11e9-bc70-5254005e86b4\",\n \"Alias\": \"alias-0001\",\n \"CreateTime\": 1552897190,\n \"Description\": \"test cmk\",\n \"TagMsg\": \"Success\",\n \"TagCode\": 0,\n \"KeyState\": \"Enabled\",\n \"KeyUsage\": \"ENCRYPT_DECRYPT\",\n \"RequestId\": \"850bf779-2249-4995-8c55-b3966daf0a8c\",\n \"HsmClusterId\": \"\"\n }\n}",
54
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateKey\n<公共请求参数>\n\n{\n \"Description\": \"test描述\",\n \"Alias\": \"test8-lzc\",\n \"KeyUsage\": \"ENCRYPT_DECRYPT\",\n \"Type\": 1,\n \"Tags\": [\n {\n \"TagKey\": \"env\",\n \"TagValue\": \"dev\"\n }\n ]\n}",
55
+ "output": "{\n \"Response\": {\n \"Alias\": \"test8-lzc\",\n \"CreateTime\": 1730347170,\n \"Description\": \"test描述\",\n \"HsmClusterId\": \"cls-hsm-3dflmo9g\",\n \"KeyId\": \"87ff856e-973c-11ef-947b-525400d834e5\",\n \"KeyState\": \"Enabled\",\n \"KeyUsage\": \"ENCRYPT_DECRYPT\",\n \"RequestId\": \"c44aba41-015a-45aa-9e55-1a08ac9d1d78\",\n \"TagCode\": 0,\n \"TagMsg\": \"ok\"\n }\n}",
56
56
  "title": "创建主密钥示例"
57
57
  }
58
58
  ],
59
59
  "CreateWhiteBoxKey": [
60
60
  {
61
61
  "document": "",
62
- "input": "https://kms.tencentcloudapi.com/?Action=CreateWhiteBoxKey\n&Alias=test_alias\n&Description=test_description\n&Algorithm=SM4\n&<公共请求参数>",
63
- "output": "{\n \"Response\": {\n \"RequestId\": \"3691b76c-1ba5-4f93-88ad-858d23ba6c8a\",\n \"EncryptKey\": \"AAAAAHP6lsgUa4mYE/cT5LGkquR3xKzUG+cB6oWJ7exbmfR37G6QCB2dEjpdq6+JvmC7cbiDXUFaExxSHQTjlJAzTh/T4p6BZy31uiPXogOnsDEm/vGnh3AJQBopXreiUYe54ZlpJPd/yZocQhsFhiNw2Bmqy6bkp4LrzT2FvzHh5YhwNLRuJnou3G5OecuvaNQoz2L9hkCSc4s7iUaiCMzzDgCnfCYhqgKP+HtaqOMv0LKRzTjSYKxdmzWjPT1vMUxv2Mtk+fF/5gEI6z++eybnWsyJHTx03YnF52sVw5RNs3axXRmOQWUOIoswKmb8M/urWdUio6ZZeE2fMPBg2H2GJvf5wbtCsHLFwdUZBQJ/VcgLXHj0VQxUdUFffL/yZfvIOXAzACvkiZmUEIRP422s5EXIJFfLzA5S+aJgl1Kwp7XI\",\n \"DecryptKey\": \"AAAAAHP6lsgUa4mYE/cT5LGkquR3xKzUG+cB6oWJ7exbmfR37G6QCB2dEjpdq6+JvmC7cbiDXUFaExxSHQTjlJAzTh/T4p6BZy31uiPXogOnsDEm/vGnh3AJQBopXreiUYe54ZlpJPd/yZocQhsFhiNw2Bmqy6bkp4LrzT2FvzHh5YhwNLRuJnou3G5OecuvaNQoz2L9hkCSc4s7iUaiCMzzDgCnfCYhqgKP+HtaqOMv0LKRzTjSYKxdmzWjPT1vMUxv2Mtk+fF/5gEI6z++eybnWsyJHTx03YnF52sVw5RNs3axXRmOQWUOIoswKmb8M/urWdUio6ZZeE2fMPBg2H2GJvf5wbtCsHLFwdUZBQJ/VcgLXHj0VQxUdUFffL/yZfvIOXAzACvkiZmUEIRP422s5EXIJFfLzA5S+aJgl1Kwp7XI\",\n \"KeyId\": \"3235f222-6e40-11ea-8f2f-5254006d0810\",\n \"TagMsg\": \"xx\",\n \"TagCode\": 1\n }\n}",
62
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateWhiteBoxKey\n<公共请求参数>\n\n{\n \"Alias\": \"test-lzcw2\",\n \"Description\": \"白盒测试\",\n \"Algorithm\": \"SM4\"\n}",
63
+ "output": "{\n \"Response\": {\n \"DecryptKey\": \"AACAAAAA0/BswblZOBqsOJY/ST****x9scSvWUFbSG/tGBrMpzuCndKomu/Ig4/G\",\n \"EncryptKey\": \"AACAAAAA0/BswblZO****VTtExsaGx9scSvWUFbSG/tGBrMpzuCndKomu/Ig4/G\",\n \"KeyId\": \"9fe1e083-9807-11ef-8d67-5254008ae90d\",\n \"RequestId\": \"af2946f2-0a41-4d40-9e6e-b6e1e3eb5447\",\n \"TagCode\": 0,\n \"TagMsg\": \"no tags to save\"\n }\n}",
64
64
  "title": "创建白盒密钥"
65
65
  }
66
66
  ],
67
67
  "Decrypt": [
68
68
  {
69
69
  "document": "用于对密文解密",
70
- "input": "https://kms.tencentcloudapi.com/?Action=Decrypt\n&CiphertextBlob=Ade234dasdeEWdGVzdCUyMHBsYWlJJlIHL\n&<公共请求参数>",
71
- "output": "{\n \"Response\": {\n \"KeyId\": \"23e80852-1e38-11e9-b129-5cb9019b4b01\",\n \"Plaintext\": \"dGVzdCUyMHBsYWluJTIwdGV4dA==\",\n \"RequestId\": \"1b580852-1e38-11e9-b129-5cb9019b4b00\"\n }\n}",
70
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: Decrypt\n<公共请求参数>\n\n{\n \"CiphertextBlob\": \"GPJUsGlmPcSjHKIktXGyzn33yestz+7NteW36M6FuL8hPfJ1xVfdO6Akr8sF69x3yBXMwto4njumJMIsi9WKow==-k-XqqalxTyNKIC1rITRePFGQ==-k-GqsANzNxvjjXhKwJAOY85vxYYm/2RtsCXRq7Q1iWbCAoeAtZ\",\n \"EncryptionContext\": \"{\\\"key1\\\":\\\"value1\\\"}\",\n \"EncryptionAlgorithm\": \"SM2\"\n}",
71
+ "output": "{\n \"Response\": {\n \"KeyId\": \"93866e69-9755-11ef-8e65-52540089bc41\",\n \"Plaintext\": \"dGVzdAo=\",\n \"RequestId\": \"4c857b16-e977-4086-b33a-532613f03abd\"\n }\n}",
72
72
  "title": "解密接口示例"
73
73
  }
74
74
  ],
@@ -91,22 +91,16 @@
91
91
  "DescribeKey": [
92
92
  {
93
93
  "document": "获取指定CMK的属性详情信息。",
94
- "input": "https://kms.tencentcloudapi.com/?Action=DescribeKey\n&KeyId=23e80852-1e38-11e9-b129-5cb9019b4b01\n&<公共请求参数>",
95
- "output": "{\n \"Response\": {\n \"KeyMetadata\": {\n \"KeyId\": \"23e80852-1e38-11e9-b129-5cb9019b4b01\",\n \"Alias\": \"myalias\",\n \"CreateTime\": 1548210729,\n \"Description\": \"test cmk\",\n \"KeyState\": \"Enabled\",\n \"KeyUsage\": \"ENCRYPT_DECRYPT\",\n \"Type\": 1,\n \"CreatorUin\": 1001,\n \"KeyRotationEnabled\": true,\n \"Owner\": \"user\",\n \"NextRotateTime\": 1553151489,\n \"DeletionDate\": 0,\n \"Origin\": \"TENCENT_KMS\",\n \"ValidTo\": 0\n },\n \"RequestId\": \"1b580852-1e38-11e9-b129-5cb9019b4b00\"\n }\n}",
94
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeKey\n<公共请求参数>\n\n{\n \"KeyId\": \"93866e69-9755-11ef-8e65-52540089bc41\"\n}",
95
+ "output": "{\n \"Response\": {\n \"KeyMetadata\": {\n \"Alias\": \"test11-lzc\",\n \"CreateTime\": 1730357927,\n \"CreatorUin\": 700001224419,\n \"DeletionDate\": 0,\n \"Description\": \"倒入外部密钥\",\n \"HsmClusterId\": \"cls-hsm-3dflmo9g\",\n \"KeyId\": \"93866e69-9755-11ef-8e65-52540089bc41\",\n \"KeyRotationEnabled\": false,\n \"KeyState\": \"Enabled\",\n \"KeyUsage\": \"ENCRYPT_DECRYPT\",\n \"NextRotateTime\": 1761893927,\n \"Origin\": \"EXTERNAL\",\n \"Owner\": \"user\",\n \"ResourceId\": \"creatorUin/700001224419/93866e69-9755-11ef-8e65-52540089bc41\",\n \"Type\": 4,\n \"ValidTo\": 0\n },\n \"RequestId\": \"5575a949-8eda-497f-bee3-9d8a07763747\"\n }\n}",
96
96
  "title": "获取主密钥属性示例"
97
- },
98
- {
99
- "document": "此CMK被计划删除",
100
- "input": "https://kms.tencentcloudapi.com/?Action=DescribeKey\n&KeyId=23e80852-1e38-11e9-b129-5cb9019b4b02\n&<公共请求参数>",
101
- "output": "{\n \"Response\": {\n \"KeyMetadata\": {\n \"KeyId\": \"23e80852-1e38-11e9-b129-5cb9019b4b02\",\n \"Alias\": \"myalias\",\n \"CreateTime\": 1548210729,\n \"Description\": \"test cmk\",\n \"KeyState\": \"PendingDelete\",\n \"KeyUsage\": \"ENCRYPT_DECRYPT\",\n \"Type\": 1,\n \"CreatorUin\": 1001,\n \"KeyRotationEnabled\": true,\n \"Owner\": \"user\",\n \"NextRotateTime\": 1553151489,\n \"DeletionDate\": 1560580015,\n \"Origin\": \"TENCENT_KMS\",\n \"ValidTo\": 0\n },\n \"RequestId\": \"1b580852-1e38-11e9-b129-5cb9019b4b00\"\n }\n}",
102
- "title": "获取被计划删除主密钥属性示例"
103
97
  }
104
98
  ],
105
99
  "DescribeKeys": [
106
100
  {
107
101
  "document": "获取多个主密钥属性。",
108
- "input": "https://kms.tencentcloudapi.com/?Action=DescribeKeys\n&KeyIds.0=23e80852-1e38-11e9-b129-5cb9019b4b01\n&KeyIds.1=23e80852-1e38-11e9-b129-5cb9019b4b02\n&KeyIds.2=23e80852-1e38-11e9-b129-5cb9019b4b03\n&<公共请求参数>",
109
- "output": "{\n \"Response\": {\n \"KeyMetadatas\": [\n {\n \"KeyId\": \"23e80852-1e38-11e9-b129-5cb9019b4b01\",\n \"Alias\": \"myalias\",\n \"CreateTime\": 1548210729,\n \"Description\": \"test cmk\",\n \"KeyState\": \"Enabled\",\n \"KeyUsage\": \"ENCRYPT_DECRYPT\",\n \"Type\": 1,\n \"CreatorUin\": 1001,\n \"KeyRotationEnabled\": true,\n \"Owner\": \"user\",\n \"NextRotateTime\": 1553151489,\n \"DeletionDate\": 0,\n \"Origin\": \"TENCENT_KMS\",\n \"ValidTo\": 0\n },\n {\n \"KeyId\": \"23e80852-1e38-11e9-b129-5cb9019b4b02\",\n \"Alias\": \"testalias\",\n \"CreateTime\": 1548210730,\n \"Description\": \"test cmk\",\n \"KeyState\": \"Disabled\",\n \"KeyUsage\": \"ENCRYPT_DECRYPT\",\n \"Type\": 1,\n \"CreatorUin\": 1001,\n \"KeyRotationEnabled\": true,\n \"Owner\": \"user\",\n \"NextRotateTime\": 1553151489,\n \"DeletionDate\": 0,\n \"Origin\": \"TENCENT_KMS\",\n \"ValidTo\": 0\n },\n {\n \"KeyId\": \"23e80852-1e38-11e9-b129-5cb9019b4b03\",\n \"Alias\": \"testalias3\",\n \"CreateTime\": 1548210730,\n \"Description\": \"test cmk\",\n \"KeyState\": \"PendingDelete\",\n \"KeyUsage\": \"ENCRYPT_DECRYPT\",\n \"Type\": 1,\n \"CreatorUin\": 1001,\n \"KeyRotationEnabled\": true,\n \"Owner\": \"user\",\n \"NextRotateTime\": 1553151489,\n \"DeletionDate\": 1560580015,\n \"Origin\": \"TENCENT_KMS\",\n \"ValidTo\": 0\n }\n ],\n \"RequestId\": \"1b580852-1e38-11e9-b129-5cb9019b4b00\"\n }\n}",
102
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeKeys\n<公共请求参数>\n\n{\n \"KeyIds\": [\n \"87ff856e-973c-11ef-947b-525400d834e5\",\n \"93866e69-9755-11ef-8e65-52540089bc41\"\n ]\n}",
103
+ "output": "{\n \"Response\": {\n \"KeyMetadatas\": [\n {\n \"Alias\": \"test8-lzc\",\n \"CreateTime\": 1730347170,\n \"CreatorUin\": 700001224419,\n \"DeletionDate\": 0,\n \"Description\": \"test描述\",\n \"HsmClusterId\": \"cls-hsm-3dflmo9g\",\n \"KeyId\": \"87ff856e-973c-11ef-947b-525400d834e5\",\n \"KeyRotationEnabled\": false,\n \"KeyState\": \"Enabled\",\n \"KeyUsage\": \"ENCRYPT_DECRYPT\",\n \"NextRotateTime\": 1761883170,\n \"Origin\": \"TENCENT_KMS\",\n \"Owner\": \"user\",\n \"ResourceId\": \"creatorUin/700001224419/87ff856e-973c-11ef-947b-525400d834e5\",\n \"Type\": 4,\n \"ValidTo\": 0\n },\n {\n \"Alias\": \"test11-lzc\",\n \"CreateTime\": 1730357927,\n \"CreatorUin\": 700001224419,\n \"DeletionDate\": 0,\n \"Description\": \"倒入外部密钥\",\n \"HsmClusterId\": \"cls-hsm-3dflmo9g\",\n \"KeyId\": \"93866e69-9755-11ef-8e65-52540089bc41\",\n \"KeyRotationEnabled\": false,\n \"KeyState\": \"Enabled\",\n \"KeyUsage\": \"ENCRYPT_DECRYPT\",\n \"NextRotateTime\": 1761893927,\n \"Origin\": \"EXTERNAL\",\n \"Owner\": \"user\",\n \"ResourceId\": \"creatorUin/700001224419/93866e69-9755-11ef-8e65-52540089bc41\",\n \"Type\": 4,\n \"ValidTo\": 0\n }\n ],\n \"RequestId\": \"05278c40-eb6c-473d-a1e6-00a8177f9c6a\"\n }\n}",
110
104
  "title": "获取多个主密钥属性"
111
105
  }
112
106
  ],
@@ -114,31 +108,31 @@
114
108
  {
115
109
  "document": "",
116
110
  "input": "https://kms.tencentcloudapi.com/?Action=DescribeWhiteBoxDecryptKey\n&KeyId=244dab8c-6dad-11ea-80c6-5254006d0810\n&<公共请求参数>",
117
- "output": "{\n \"Response\": {\n \"RequestId\": \"8788b5f3-8eaa-48a8-915a-b7c52f57065e\",\n \"DecryptKey\": \"AAAAACL4R9T1M3r3/S9XpMbUbwHJUKbq/tll0Bop7LG90lHpj+DKmOiEE0Rs5rRrMNaCYIWzWJyU0SNQoX1WNn06QB2qrhDCXEPdwMwgJHx+YfJHUh/eSF5/LUEv27ltidqJyUk3HF5CZgjkN901hFEPf9ZCJcEo5XrORpopW7Ur6svPAjDtIPN3kUDCTqgTPC+FBX0cO/zEZFeMMAU2BPwe6f5O1x5BTrCBEf4qJDpZqT/WxXvSid8pFQ8uSxMqaf0ot57NzfuWG92oAe9HQ7bDCcfuBN7nXX+QipQIBxD/LVWk7zrHtLD/TJfAAoTuE7QKc/lSTOpI1xkTxJq/AFLd5K9EaBN7kpAkAsponZc20Tpk+KlyWE3NHdQrION9fsxtUBl5tz/l6T1j49SR5J2axZ2nnkA3o7L1WIGiv7r3tkd+\"\n }\n}",
111
+ "output": "{\n \"Response\": {\n \"RequestId\": \"8788b5f3-8eaa-48a8-915a-b7c52f57065e\",\n \"DecryptKey\": \"AAAAACL4R9T1M3r3/S9XpMbUbwHJUKbq/tll0Bop7LG90lHpj+DKmOiEE0Rs5rRrMN*****qaf0ot57NzfuWG92oAe9HQ7bDCcfuBN7nXX+QipQIBxD/LVWk7zrHtLD/TJfAAoTuE7QKc/lSTOpI1xkTxJq/AFLd5K9EaBN7kpAkAsponZc20Tpk+KlyWE3NHdQrION9fsxtUBl5tz/l6T1j49SR5J2axZ2nnkA3o7L1WIGiv7r3tkd+\"\n }\n}",
118
112
  "title": "获取白盒解密密钥"
119
113
  }
120
114
  ],
121
115
  "DescribeWhiteBoxDeviceFingerprints": [
122
116
  {
123
117
  "document": "",
124
- "input": "https://kms.tencentcloudapi.com/?Action=DescribeWhiteBoxDeviceFingerprints\n&KeyId=cd850a3d-9b1b-11ea-a96a-5254006d0810\n&<公共请求参数>",
125
- "output": "{\n \"Response\": {\n \"RequestId\": \"f643be96-3ea8-4abe-b148-0cc74436b2c1\",\n \"DeviceFingerprints\": [\n {\n \"Identity\": \"c19c024c-2ba1-11b2-a85c-96f970f4a8e1\",\n \"Description\": \"desc\"\n }\n ]\n }\n}",
118
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWhiteBoxDeviceFingerprints\n<公共请求参数>\n\n{\n \"KeyId\": \"5551ef2e-6742-11ef-8133-525400b2f623\"\n}",
119
+ "output": "{\n \"Response\": {\n \"DeviceFingerprints\": [\n {\n \"Description\": \"test1\",\n \"Identity\": \"0177ebba-5ad6930a52d808***03-ddfd218bab945f-0c275b7f7d2c8c68\"\n }\n ],\n \"RequestId\": \"5dc1c93f-8864-4525-a896-f56019aae02b\"\n }\n}",
126
120
  "title": "获取指定密钥的设备指纹列表"
127
121
  }
128
122
  ],
129
123
  "DescribeWhiteBoxKey": [
130
124
  {
131
125
  "document": "",
132
- "input": "https://kms.tencentcloudapi.com/?Action=DescribeWhiteBoxKey\n&KeyId=244dab8c-6dad-11ea-80c6-5254006d0810\n&<公共请求参数>",
133
- "output": "{\n \"Response\": {\n \"RequestId\": \"395989ef-4e4a-4f16-856d-3bb5a86ba99c\",\n \"KeyInfo\": {\n \"KeyId\": \"244dab8c-6dad-11ea-80c6-5254006d0810\",\n \"Alias\": \"xx\",\n \"CreateTime\": 1585040099,\n \"Description\": \"xx\",\n \"CreatorUin\": 0,\n \"OwnerUin\": 0,\n \"Status\": \"Disabled\",\n \"Algorithm\": \"SM4\",\n \"EncryptKey\": \"AAAAACL4R9T1M3r3/S9XpMbUbwHJUKbq/tll0Bop7LG90lHpj+DKmOiEE0Rs5rRrMNaCYIWzWJyU0SNQoX1WNn06QB2qrhDCXEPdwMwgJHx+YfJHUh/eSF5/LUEv27ltidqJyUk3HF5CZgjkN901hFEPf9ZCJcEo5XrORpopW7Ur6svPAjDtIPN3kUDCTqgTPC+FBX0cO/zEZFeMMAU2BPwe6f5O1x5BTrCBEf4qJDpZqT/WxXvSid8pFQ8uSxMqaf0ot57NzfuWG92oAe9HQ7bDCcfuBN7nXX+QipQIBxD/LVWk7zrHtLD/TJfAAoTuE7QKc/lSTOpI1xkTxJq/AFLd5K9EaBN7kpAkAsponZc20Tpk+KlyWE3NHdQrION9fsxtUBl5tz/l6T1j49SR5J2axZ2nnkA3o7L1WIGiv7r3tkd+\",\n \"DecryptKey\": \"AAAAACL4R9T1M3r3/S9XpMbUbwHJUKbq/tll0Bop7LG90lHpj+DKmOiEE0Rs5rRrMNaCYIWzWJyU0SNQoX1WNn06QB2qrhDCXEPdwMwgJHx+YfJHUh/eSF5/LUEv27ltidqJyUk3HF5CZgjkN901hFEPf9ZCJcEo5XrORpopW7Ur6svPAjDtIPN3kUDCTqgTPC+FBX0cO/zEZFeMMAU2BPwe6f5O1x5BTrCBEf4qJDpZqT/WxXvSid8pFQ8uSxMqaf0ot57NzfuWG92oAe9HQ7bDCcfuBN7nXX+QipQIBxD/LVWk7zrHtLD/TJfAAoTuE7QKc/lSTOpI1xkTxJq/AFLd5K9EaBN7kpAkAsponZc20Tpk+KlyWE3NHdQrION9fsxtUBl5tz/l6T1j49SR5J2axZ2nnkA3o7L1WIGiv7r3tkd+\",\n \"DeviceFingerprintBind\": true,\n \"ResourceId\": \"xx\"\n }\n }\n}",
126
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWhiteBoxKey\n<公共请求参数>\n\n{\n \"KeyId\": \"5551ef2e-6742-11ef-8133-525400b2f623\"\n}",
127
+ "output": "{\n \"Response\": {\n \"KeyInfo\": {\n \"Algorithm\": \"SM4\",\n \"Alias\": \"lzc2\",\n \"CreateTime\": 1725072007,\n \"CreatorUin\": 700001224419,\n \"DecryptKey\": \"AACAAAAACMD5WLv****+rt0t6Qgamj/FwS6qYFZWwp/M0wM00KwxUSp8P\",\n \"Description\": \"2\",\n \"DeviceFingerprintBind\": false,\n \"EncryptKey\": \"AACAAAAACMD5WLvPb4qY***rt0t6Qgamj/FwS6qYFZWwp/M0wM00KwxUSp8P\",\n \"KeyId\": \"5551ef2e-6742-11ef-8133-525400b2f623\",\n \"OwnerUin\": 100000007998,\n \"ResourceId\": \"creatorUin/700001224419/5551ef2e-6742-11ef-8133-525400b2f623\",\n \"Status\": \"Enabled\"\n },\n \"RequestId\": \"13b3e0ed-7d5e-4c6c-99ba-b334f02d7573\"\n }\n}",
134
128
  "title": "展示白盒密钥的信息"
135
129
  }
136
130
  ],
137
131
  "DescribeWhiteBoxKeyDetails": [
138
132
  {
139
133
  "document": "",
140
- "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWhiteBoxKeyDetails\n<公共请求参数>\n\n{}",
141
- "output": "{\n \"Response\": {\n \"KeyInfos\": [\n {\n \"Status\": \"xx\",\n \"DecryptKey\": \"xx\",\n \"KeyId\": \"xx\",\n \"Description\": \"xx\",\n \"CreatorUin\": 1,\n \"ResourceId\": \"xx\",\n \"OwnerUin\": 1,\n \"Algorithm\": \"xx\",\n \"Alias\": \"xx\",\n \"EncryptKey\": \"xx\",\n \"CreateTime\": 1,\n \"DeviceFingerprintBind\": true\n },\n {\n \"Status\": \"xx\",\n \"DecryptKey\": \"xx\",\n \"KeyId\": \"xx\",\n \"Description\": \"xx\",\n \"CreatorUin\": 1,\n \"ResourceId\": \"xx\",\n \"OwnerUin\": 1,\n \"Algorithm\": \"xx\",\n \"Alias\": \"xx\",\n \"EncryptKey\": \"xx\",\n \"CreateTime\": 1,\n \"DeviceFingerprintBind\": true\n }\n ],\n \"TotalCount\": 2,\n \"RequestId\": \"xx\"\n }\n}",
134
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWhiteBoxKeyDetails\n<公共请求参数>\n\n{\n \"KeyStatus\": 1,\n \"Offset\": 0,\n \"Limit\": 1,\n \"TagFilters\": [\n {\n \"TagKey\": \"env\",\n \"TagValue\": [\n \"dev\"\n ]\n }\n ]\n}",
135
+ "output": "{\n \"Response\": {\n \"KeyInfos\": [\n {\n \"Algorithm\": \"SM4\",\n \"Alias\": \"testKey1\",\n \"CreateTime\": 1730441467,\n \"CreatorUin\": 700001224419,\n \"DecryptKey\": \"AACAAAAA3iht+5vrtKBnOagzrjeMFY8GZnRWIOgNcaKtY4RzWUmt0chcuELNIt6ZADmXSEdfndSWfAKizW1F4rnp2fncVQppWNlDjSwY6F/RcSCmU0/aDx3Yc2UIq/zM1jsLFX29CUBQD2a1pNzwepAl1A5HbxLYnrwVdB8Z364d9CyNd5YhVUKo4a8vmx0KA66SaLFSlzpWNZWAb+kZGrJDWMMRqLYigukAYDPsPYXMAb/MIoW5ywicGiY04vI59J1LVPezyMhi5ydTHuImNEcgYw2Tt07yG7LiDFVkWo5iCXXX9/zu+9eXdX93WGz20oDDBwpcFsKMk9tXvVhx7o9TCSgT7VERIQOWQKTH9iDb5RUyRPqPvyV1KEtbhTx/AlnkZEIdOM411JIvNucskvES4RaZ/MS+wxhkUYnFjL6GMg4MLepB87QaA7zivBKc\",\n \"Description\": \"测试描述信息\",\n \"DeviceFingerprintBind\": false,\n \"EncryptKey\": \"AACAAAAA3iht+5vrtKBnOagzrjeMFY8GZnRWIOgNcaKtY4RzWUmt0chcuELNIt6ZADmXSEdfndSWfAKizW1F4rnp2fncVQppWNlDjSwY6F/RcSCmU0/aDx3Yc2UIq/zM1jsLFX29CUBQD2a1pNzwepAl1A5HbxLYnrwVdB8Z364d9CyNd5YhVUKo4a8vmx0KA66SaLFSlzpWNZWAb+kZGrJDWMMRqLYigukAYDPsPYXMAb/MIoW5ywicGiY04vI59J1LVPezyMhi5ydTHuImNEcgYw2Tt07yG7LiDFVkWo5iCXXX9/zu+9eXdX93WGz20oDDBwpcFsKMk9tXvVhx7o9TCSgT7VERIQOWQKTH9iDb5RUyRPqPvyV1KEtbhTx/AlnkZEIdOM411JIvNucskvES4RaZ/MS+wxhkUYnFjL6GMg4MLepB87QaA7zivBKc\",\n \"KeyId\": \"14a9885b-9818-11ef-8d67-5254008ae90d\",\n \"OwnerUin\": 100000007998,\n \"ResourceId\": \"creatorUin/700001224419/14a9885b-9818-11ef-8d67-5254008ae90d\",\n \"Status\": \"Enabled\"\n }\n ],\n \"RequestId\": \"052e4c07-795b-4aa1-8b8f-b968d3792dea\",\n \"TotalCount\": 4\n }\n}",
142
136
  "title": "获取白盒密钥列表"
143
137
  }
144
138
  ],
@@ -233,24 +227,24 @@
233
227
  "Encrypt": [
234
228
  {
235
229
  "document": "使用CMK对小于4KB的数据加密。",
236
- "input": "https://kms.tencentcloudapi.com/?Action=Encrypt\n&KeyId=23e80852-1e38-11e9-b129-5cb9019b4b01\n&Plaintext=dGVzdCUyMHBsYWluJTIwdGV4dA==\n&<公共请求参数>",
237
- "output": "{\n \"Response\": {\n \"RequestId\": \"816c6886-2147-4ee7-86f0-9400a7a398a5\",\n \"KeyId\": \"9999aed0-4956-11e9-bc70-5254005e86b4\",\n \"CiphertextBlob\": \"g2F8eQk44QrTbfj09TL17AZyFPgs8BTtZe2j27Wuw1YzTBCxnd0T/gwFQSasmtzxZi6mmvD7DCjCE+LxJmdhXQ==-k-zJshb0kBH7C2J5I3XXbbEg==-k-o1O+7H9HFAzWbCkftO2ZtPKewS3diSB4zGKOJhMn7LcKRhYr\"\n }\n}",
230
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: Encrypt\n<公共请求参数>\n\n{\n \"KeyId\": \"93866e69-9755-11ef-8e65-52540089bc41\",\n \"Plaintext\": \"dGVzdAo=\",\n \"EncryptionContext\": \"{\\\"key1\\\":\\\"value1\\\"}\"\n}",
231
+ "output": "{\n \"Response\": {\n \"CiphertextBlob\": \"GPJUsGlmPcSjHKIktXGyzn33yestz+7NteW36M6FuL8hPfJ1xVfdO6Akr8sF69x3yBXMwto4njumJMIsi9WKow==-k-XqqalxTyNKIC1rITRePFGQ==-k-GqsANzNxvjjXhKwJAOY85vxYYm/2RtsCXRq7Q1iWbCAoeAtZ\",\n \"KeyId\": \"93866e69-9755-11ef-8e65-52540089bc41\",\n \"RequestId\": \"017f4b2a-4ae8-4d2c-a0d2-ec15e07d3deb\"\n }\n}",
238
232
  "title": "加密接口示例"
239
233
  }
240
234
  ],
241
235
  "EncryptByWhiteBox": [
242
236
  {
243
237
  "document": "",
244
- "input": "https://kms.tencentcloudapi.com/?Action=EncryptByWhiteBox\n&KeyId=244dab8c-6dad-11ea-80c6-5254006d0810\n&PlainText=UGxhaW5UZXh0\n&<公共请求参数>",
245
- "output": "{\n \"Response\": {\n \"RequestId\": \"4b3be01e-117a-43f5-aa34-dd5034efe3dd\",\n \"InitializationVector\": \"BQbVImt3p_xr8VQebZaXGQ==\",\n \"CipherText\": \"ZKHH2la4DpwlkwjANQ5hgw==\"\n }\n}",
238
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EncryptByWhiteBox\n<公共请求参数>\n\n{\n \"KeyId\": \"738c7598-6a69-11ef-9d7c-525400dc620c\",\n \"InitializationVector\": \"3t+gDx/YmtnJuokqAg+cOw==\",\n \"PlainText\": \"dGVzdAo=\"\n}",
239
+ "output": "{\n \"Response\": {\n \"CipherText\": \"StE4p5N11zwKybR3REtaag==\",\n \"InitializationVector\": \"3t+gDx/YmtnJuokqAg+cOw==\",\n \"RequestId\": \"a77183bf-8a95-4167-bd4a-84f02df0d4da\"\n }\n}",
246
240
  "title": "使用白盒密钥进行加密"
247
241
  }
248
242
  ],
249
243
  "GenerateDataKey": [
250
244
  {
251
245
  "document": "使用指定的CMK生成Datakey。",
252
- "input": "https://kms.tencentcloudapi.com/?Action=GenerateDataKey\n&KeyId=23e80852-1e38-11e9-b129-5cb9019b4b01\n&KeySpec=AES_256\n&<公共请求参数>",
253
- "output": "{\n \"Response\": {\n \"RequestId\": \"fe11aa29-0cc2-4204-bfea-6ebb30cc00d7\",\n \"KeyId\": \"23e80852-1e38-11e9-b129-5cb9019b4b01\",\n \"Plaintext\": \"uW9wqntw+FAgnfsIrxOpOA==\",\n \"CiphertextBlob\": \"g2F8eQk44QrTbfj09TL17AZyFPgs8BTtZe2j27Wuw1YzTBCxnd0T/gwFQSasmtzxZi6mmvD7DCjCE+LxJmdhXQ==-k-fKVP3WIlGpg8m9LMW4jEkQ==-k-h/nUfRbaTUY7/KWXwuSK1Py+ZFRTK5WQiUz6yQE5XBFUN3UwPOUbl8P3A3caow2rlqTjUw==\"\n }\n}",
246
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GenerateDataKey\n<公共请求参数>\n\n{\n \"KeyId\": \"93866e69-9755-11ef-8e65-52540089bc41\",\n \"KeySpec\": \"AES_256\",\n \"NumberOfBytes\": 32,\n \"EncryptionContext\": \"{\\\"key1\\\":\\\"value1\\\"}\",\n \"EncryptionPublicKey\": \"-----BEGIN PUBLIC KEY-----\\nMFkwEwYHKoZIzj0CAQYIKoEcz****srLVydfJiHQuh2Jr9lMspgK58UVMJTvQCAU+Hztyhd6Aw==\\n-----END PUBLIC KEY-----\",\n \"EncryptionAlgorithm\": \"SM2\"\n}",
247
+ "output": "{\n \"Response\": {\n \"CiphertextBlob\": \"GPJUsGlmPcSjHKIktXGyzn33yestz+7NteW36M6FuL8hPfJ1xVfdO6Akr8sF69x3yBXMwto4njumJMIsi9WKow==-k-XqqalxTyNKIC1rITRePFGQ==-k-xAL9z9eXIHV/p+WT1RsHP3dm6f43bkomXjwmvWdMXH+JQoFORTThfXgcRh1f9lPNLENK4+fCOiQVG1VvLdA0RvcuRvU=\",\n \"KeyId\": \"93866e69-9755-11ef-8e65-52540089bc41\",\n \"Plaintext\": \"q+EouJ/tGeiZIo9/tIl2baxQOBFxcN0PNn7F6EIEvpDR6kvQmHohD5PTbUCKPkct6K8jOiYpbuaWZthxco0phMRSE4+HpB17rX4jmlW8pw3eHWOZo8yRyq/c7RVVo0+DtZofszwhMirQyjcBTJWhLt7xywtE5zqhDjngeEktAEw=\",\n \"RequestId\": \"044e823a-7a0c-4603-b03c-e99be5df998d\"\n }\n}",
254
248
  "title": "生成数据密钥示例"
255
249
  }
256
250
  ],
@@ -321,16 +315,16 @@
321
315
  "ListKeyDetail": [
322
316
  {
323
317
  "document": "",
324
- "input": "https://kms.tencentcloudapi.com/?Action=ListKeyDetail\n&Offset=0\n&Limit=3\n&Role=0\n&<公共请求参数>",
325
- "output": "{\n \"Response\": {\n \"RequestId\": \"1b580852-1e38-11e9-b129-5cb9019b4b00\",\n \"KeyMetadatas\": [\n {\n \"KeyId\": \"23e80852-1e38-11e9-b129-5cb9019b4b01\",\n \"Alias\": \"myalias\",\n \"CreateTime\": 1548210729,\n \"Description\": \"test cmk\",\n \"KeyState\": \"Enabled\",\n \"KeyUsage\": \"ENCRYPT_DECRYPT\",\n \"Type\": 1,\n \"CreatorUin\": 1001,\n \"KeyRotationEnabled\": true,\n \"Owner\": \"user\",\n \"NextRotateTime\": 1553151489,\n \"DeletionDate\": 0,\n \"Origin\": \"TENCENT_KMS\",\n \"ValidTo\": 0\n },\n {\n \"KeyId\": \"23e80852-1e38-11e9-b129-5cb9019b4b02\",\n \"Alias\": \"testalias\",\n \"CreateTime\": 1548210730,\n \"Description\": \"test cmk\",\n \"KeyState\": \"Disabled\",\n \"KeyUsage\": \"ENCRYPT_DECRYPT\",\n \"Type\": 1,\n \"CreatorUin\": 1001,\n \"KeyRotationEnabled\": true,\n \"Owner\": \"user\",\n \"NextRotateTime\": 1553151489,\n \"DeletionDate\": 0,\n \"Origin\": \"TENCENT_KMS\",\n \"ValidTo\": 0\n },\n {\n \"KeyId\": \"23e80852-1e38-11e9-b129-5cb9019b4b03\",\n \"Alias\": \"testalias2\",\n \"CreateTime\": 1548210730,\n \"Description\": \"test cmk\",\n \"KeyState\": \"PendingDelete\",\n \"KeyUsage\": \"ENCRYPT_DECRYPT\",\n \"Type\": 1,\n \"CreatorUin\": 1001,\n \"KeyRotationEnabled\": true,\n \"Owner\": \"user\",\n \"NextRotateTime\": 1553151489,\n \"DeletionDate\": 1560580015,\n \"Origin\": \"TENCENT_KMS\",\n \"ValidTo\": 0\n }\n ],\n \"TotalCount\": 100\n }\n}",
318
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListKeyDetail\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 10,\n \"Role\": 0,\n \"OrderType\": 0,\n \"KeyState\": 0,\n \"SearchKeyAlias\": \"Weijiali\",\n \"Origin\": \"TENCENT_KMS\",\n \"KeyUsage\": \"ALL\",\n \"TagFilters\": [\n {\n \"TagKey\": \"env\",\n \"TagValue\": [\n \"dev\"\n ]\n }\n ],\n \"HsmClusterId\": \"cls-hsm-3dflmo9g\"\n}",
319
+ "output": "{\n \"Response\": {\n \"KeyMetadatas\": [\n {\n \"Alias\": \"Weijiali_test_000000005\",\n \"CreateTime\": 1725354067,\n \"CreatorUin\": 700001028674,\n \"DeletionDate\": 0,\n \"Description\": \"weijiali_test_00000000000005\",\n \"HsmClusterId\": \"cls-hsm-3dflmo9g\",\n \"KeyId\": \"0ed49d3e-69d3-11ef-9841-52540089bc41\",\n \"KeyRotationEnabled\": false,\n \"KeyState\": \"Enabled\",\n \"KeyUsage\": \"ASYMMETRIC_SIGN_VERIFY_SM2\",\n \"NextRotateTime\": 1756890067,\n \"Origin\": \"TENCENT_KMS\",\n \"Owner\": \"user\",\n \"ResourceId\": \"creatorUin/700001028674/0ed49d3e-69d3-11ef-9841-52540089bc41\",\n \"Type\": 4,\n \"ValidTo\": 0\n },\n {\n \"Alias\": \"Weijiali_test_00000000000004\",\n \"CreateTime\": 1725354055,\n \"CreatorUin\": 700001028674,\n \"DeletionDate\": 0,\n \"Description\": \"Weijiali_test_00000000000004\",\n \"HsmClusterId\": \"cls-hsm-3dflmo9g\",\n \"KeyId\": \"07ad2031-69d3-11ef-9841-52540089bc41\",\n \"KeyRotationEnabled\": false,\n \"KeyState\": \"Enabled\",\n \"KeyUsage\": \"ASYMMETRIC_DECRYPT_SM2\",\n \"NextRotateTime\": 1756890055,\n \"Origin\": \"TENCENT_KMS\",\n \"Owner\": \"user\",\n \"ResourceId\": \"creatorUin/700001028674/07ad2031-69d3-11ef-9841-52540089bc41\",\n \"Type\": 4,\n \"ValidTo\": 0\n },\n {\n \"Alias\": \"weijiali_test_00000000000003\",\n \"CreateTime\": 1725354040,\n \"CreatorUin\": 700001028674,\n \"DeletionDate\": 0,\n \"Description\": \"weijiali_test_00000000000003\",\n \"HsmClusterId\": \"cls-hsm-3dflmo9g\",\n \"KeyId\": \"fea98175-69d2-11ef-910d-525400d834e5\",\n \"KeyRotationEnabled\": false,\n \"KeyState\": \"Enabled\",\n \"KeyUsage\": \"ENCRYPT_DECRYPT\",\n \"NextRotateTime\": 1756890040,\n \"Origin\": \"TENCENT_KMS\",\n \"Owner\": \"user\",\n \"ResourceId\": \"creatorUin/700001028674/fea98175-69d2-11ef-910d-525400d834e5\",\n \"Type\": 4,\n \"ValidTo\": 0\n }\n ],\n \"RequestId\": \"57c12411-dd1a-4f3c-aaff-aec49a442b6c\",\n \"TotalCount\": 3\n }\n}",
326
320
  "title": "获取主密钥列表详情"
327
321
  }
328
322
  ],
329
323
  "ListKeys": [
330
324
  {
331
325
  "document": "获取主密钥列表",
332
- "input": "https://kms.tencentcloudapi.com/?Action=ListKeys\n&Offset=0\n&Limit=2\n&<公共请求参数>",
333
- "output": "{\n \"Response\": {\n \"RequestId\": \"1b580852-1e38-11e9-b129-5cb9019b4b00\",\n \"Keys\": [\n {\n \"KeyId\": \"23e80852-1e38-11e9-b129-5cb9019b4b01\"\n },\n {\n \"KeyId\": \"23e80852-1e38-11e9-b129-5cb9019b4b02\"\n }\n ],\n \"TotalCount\": 100\n }\n}",
326
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListKeys\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 2,\n \"Role\": 0,\n \"HsmClusterId\": \"cls-hsm-3dflmo9g\"\n}",
327
+ "output": "{\n \"Response\": {\n \"Keys\": [\n {\n \"KeyId\": \"515d337d-70b4-11ef-bc87-02ac442a5a1f\"\n },\n {\n \"KeyId\": \"0ed49d3e-69d3-11ef-9841-52540089bc41\"\n }\n ],\n \"RequestId\": \"28c0e45c-c034-4d8b-b006-f018aa88597d\",\n \"TotalCount\": 14\n }\n}",
334
328
  "title": "获取主密钥列表示例"
335
329
  }
336
330
  ],
@@ -345,40 +339,40 @@
345
339
  "PostQuantumCryptoDecrypt": [
346
340
  {
347
341
  "document": "使用后量子密码算法解密。",
348
- "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PostQuantumCryptoDecrypt\n<公共请求参数>\n\n{\n \"CiphertextBlob\": \"abc\",\n \"EncryptionPublicKey\": \"abc\",\n \"EncryptionAlgorithm\": \"abc\"\n}",
349
- "output": "{\n \"Response\": {\n \"KeyId\": \"abc\",\n \"PlainText\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
342
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PostQuantumCryptoDecrypt\n<公共请求参数>\n\n{\n \"CiphertextBlob\": \"Ade234dasdeEWdGVzdCUyMHBsYWlJJlIHL\",\n \"EncryptionPublicKey\": \"-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYI******VWhjH2dhziiH/NWCkk3FjIhjIwqjmnWhmUTg== -----END PUBLIC KEY----- \",\n \"EncryptionAlgorithm\": \"SM2\"\n}",
343
+ "output": "{\n \"Response\": {\n \"KeyId\": \"23e80852-1e38-11e9-b129-5cb9019b4b01\",\n \"PlainText\": \"dGVzdCUyMHBsYWluJTIwdGV4dA==\",\n \"RequestId\": \"cc8f9b3c-620d-4a25-9fb5-decd94357bd8\"\n }\n}",
350
344
  "title": "使用后量子密码算法解密"
351
345
  }
352
346
  ],
353
347
  "PostQuantumCryptoEncrypt": [
354
348
  {
355
349
  "document": "使用后量子密码算法密钥进行数据加密。",
356
- "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PostQuantumCryptoEncrypt\n<公共请求参数>\n\n{\n \"KeyId\": \"abc\",\n \"PlainText\": \"abc\"\n}",
357
- "output": "{\n \"Response\": {\n \"CiphertextBlob\": \"abc\",\n \"KeyId\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
350
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PostQuantumCryptoEncrypt\n<公共请求参数>\n\n{\n \"KeyId\": \"23e80852-1e38-11e9-b129-5cb9019b4b01\",\n \"PlainText\": \"dGVzdAo=\"\n}",
351
+ "output": "{\n \"Response\": {\n \"CiphertextBlob\": \"ZHNhZHNpbzEyMW5uaz1qb2lqMm***********TIxbWExcwo=\",\n \"KeyId\": \"23e80852-1e38-11e9-b129-5cb9019b4b01\",\n \"RequestId\": \"403150d4-1736-4e61-9259-d70bb7799620\"\n }\n}",
358
352
  "title": "使用后量子密码算法密钥进行数据加密"
359
353
  }
360
354
  ],
361
355
  "PostQuantumCryptoSign": [
362
356
  {
363
357
  "document": "后量子密码算法签名。",
364
- "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PostQuantumCryptoSign\n<公共请求参数>\n\n{\n \"Message\": \"abc\",\n \"KeyId\": \"abc\"\n}",
365
- "output": "{\n \"Response\": {\n \"Signature\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
358
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PostQuantumCryptoSign\n<公共请求参数>\n\n{\n \"Message\": \"dGVzdAo=\",\n \"KeyId\": \"b2b90f78-df57-11ed-979b-525400cf6ac4\"\n}",
359
+ "output": "{\n \"Response\": {\n \"RequestId\": \"5a3e2a73-73c3-480c-9e32-36a263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MCQTbO6eSgoDL5g8NMw3n/FDW5xRfBcJsCxIvXvHAYXoSpEBPgdkS3B12O3Y6wARwsp+VAkrDWgbdkjh4v2xECzVyrPcTE0Nmp+AyoofZwh7xF1n//gZv22xtQpEbsayAsJIdibma2gFlC+Bc7NwNHCRy3sTB+qb7I61ZTJDF66yXEI3RvJvoADujdvBDQ92mXBEnGi2kUbuUtJe4EF8Yz/x64f7hnfytz+OpuqCUvn2Hp6BZevQldvQyS1oijUcrdnkL/9JR5VtK/IvksngQ60subI8TSGsJq0K1Mh9+dJMaUxPxFXTLpcFxy346FrB1s6vX7W9PVY2/NGmDkjbypHDDxWAdlIVmg2gOg7Ksm6V14/7aMsRZPcJPFjc2dtytgaIWbSqYxGGVifPtFk7SpJ8VYtU6oT4NH/Mq8Y1YMg7rXnqCEVXdfeo4KY/C05AU0auF6WZYn5HWJRSnOiA+uAbRSZVC5ggAiD1eqP+Bb1ymgNpbTYoZKD9jiZiZjKkrPSP9DR/B0e29/NcWp8zsnnpbBRV2xlYtbZ557Y7h8/7gyjd43CZnYxCG3Rr7Q8r76dXJVmgBrb9P8mVOzDgRZBaYlwEalKBZLeJhmO9M0MeUkA+6DYwiup6ypPwa7INz1hiKLO5OUBcHWLp7naOmafrOT9YY6cqLEmOFhlm9vtKDM3VbHZ/EaBp2OmxgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACA8VGiEoKy4=\"\n }\n}",
366
360
  "title": "后量子密码算法签名"
367
361
  }
368
362
  ],
369
363
  "PostQuantumCryptoVerify": [
370
364
  {
371
365
  "document": "后量子密码算法验签。",
372
- "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PostQuantumCryptoVerify\n<公共请求参数>\n\n{\n \"KeyId\": \"abc\",\n \"SignatureValue\": \"abc\",\n \"Message\": \"abc\"\n}",
373
- "output": "{\n \"Response\": {\n \"SignatureValid\": true,\n \"RequestId\": \"abc\"\n }\n}",
366
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PostQuantumCryptoVerify\n<公共请求参数>\n\n{\n \"KeyId\": \"b2b90f78-df57-11ed-979b-525400cf6ac4\",\n \"SignatureValue\": \"wb8u5CM+MnlZ2tlDCxwT8OmhslNZ8rMGCDC78iJJe8FA6eZKmxcIM5MVGh6TqFU53qOaJc7fOOjR4DTl4Pp1Mcrr6aFyw1bVErnaF8G8q6jBVGNZ52O+b8H+kFuySy6xWMcEuTKnaZRFlMU566d0TqLXlqntR641oP0X9UuzHvpMdRYKorg5IDPq3x5aWOtRIsyDBG7Pa6X7+XOdE1+uWbzjP4bOClm+Q/fl3KPdcbICxEuDvfdb1qdR4qBZ4uy5bG7JElk0z+NpKcpxiaFz4RaHJO8o64FFyD2F3A6rrKY5jku4Il3kXbklYlW93KKGGnJI9sEaqSQjETeLgwPaQECQBByPyzD+fYes9tvUbttQuZ18frl2bnmlCvFzpeigl7nzznxByFSYGBefNjnuzzTX26zUhy54I+sNijYzJyur/nKXXnX6ltcOLYBDke06bjPaPW73HryD1WesWgrL4m0kKoyIy8TdGDVbI5sGNmSOvOBvccMQ7b/jD2DWoVh7dGWJcLiroITUfUQLvKp71OGEkXKwTpeH1PFwFVTSz+F5zXAlTpvcF9h3Ao4e/fpB+zwRlZlKQQ3TAeCJXdnE3Qqos83Xd804kQ+Y/l7vERw//OJ6YIEWzxkcycTUbqi/DHJOexppQFMu0pPntlU32u+NASkqxpyE4EEp62T/rU2kYcn8eoHYCAVmU6mxoNsHsLZnt3DIcxc4VOby/ruSznQ/BPextecELaaKPA2ARN4Tb2aUUftlDYgYW4M/p3TEJxLO4LPCMIHPpNp3Gj9stsT4rlwvkw9ZYYMaR4IdBjJhd0Lod7lG5HzMiJC1D5KL4UqLIpN8bjfX+22U+gN0sVG91ruOhO3/epnsDPvDzoVtYHqkWX7a3XMhgoNxJxr0/KRFFEHlOgn250qwXg/czqEz1EN/obCKvkRHLdzU2iIJujAkU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AZrAYf8kbz5M0Sn76T9SX1LUUuHCjWHSUnDsi+fL1AHkbouSoKHj8XOYxUrSrkpPLbJpREE6oA1N4OPWFttSays7b9sMWDxgE5VJQx2vsrUfSEX8pTdLxqaMCQTbO6eSgoDL5g8NMw3n/FDW5xRfBcJsCxIvXvHAYXoSpEBPgdkS3B12O3Y6wARwsp+VAkrDWgbdkjh4v2xECzVyrPcTE0Nmp+AyoofZwh7xF1n//gZv22xtQpEbsayAsJIdibma2gFlC+Bc7NwNHCRy3sTB+qb7I61ZTJDF66yXEI3RvJvoADujdvBDQ92mXBEnGi2kUbuUtJe4EF8Yz/x64f7hnfytz+OpuqCUvn2Hp6BZevQldvQyS1oijUcrdnkL/9JR5VtK/IvksngQ60subI8TSGsJq0K1Mh9+dJMaUxPxFXTLpcFxy346FrB1s6vX7W9PVY2/NGmDkjbypHDDxWAdlIVmg2gOg7Ksm6V14/7aMsRZPcJPFjc2dtytgaIWbSqYxGGVifPtFk7SpJ8VYtU6oT4NH/Mq8Y1YMg7rXnqCEVXdfeo4KY/C05AU0auF6WZYn5HWJRSnOiA+uAbRSZVC5ggAiD1eqP+Bb1ymgNpbTYoZKD9jiZiZjKkrPSP9DR/B0e29/NcWp8zsnnpbBRV2xlYtbZ557Y7h8/7gyjd43CZnYxCG3Rr7Q8r76dXJVmgBrb9P8mVOzDgRZBaYlwEalKBZLeJhmO9M0MeUkA+6DYwiup6ypPwa7INz1hiKLO5OUBcHWLp7naOmafrOT9YY6cqLEmOFhlm9vtKDM3VbHZ/EaBp2OmxgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACA8VGiEoKy4=\",\n \"Message\": \"dGVzdAo=\"\n}",
367
+ "output": "{\n \"Response\": {\n \"RequestId\": \"e9be01bf-1bed-43d7-bc27-df198a52eef1\",\n \"SignatureValid\": true\n }\n}",
374
368
  "title": "后量子密码算法验签"
375
369
  }
376
370
  ],
377
371
  "ReEncrypt": [
378
372
  {
379
373
  "document": "对密文进行重新加密。",
380
- "input": "https://kms.tencentcloudapi.com/?Action=ReEncrypt\n&DestinationKeyId=23e80852-1e38-11e9-b129-5cb9019b4b01\n&CiphertextBlob=Ade234dasdeEWdGVzdCUyMHBsYWlJJlIHL\n&<公共请求参数>",
381
- "output": "{\n \"Response\": {\n \"CiphertextBlob\": \"g2F8eQk44QrTbfj09TL17AZyFPgs8BTtZe2j27Wuw1YzTBCxnd0T/gwFQSasmtzxZi6mmvD7DCjCE+LxJmdhXQ==-k-zJshb0kBH7C2J5I3XXbbEg==-k-o1O+7H9HFAzWbCkftO2ZtPKewS3diSB4zGKOJhMn7LcKRhYr\",\n \"KeyId\": \"23e80852-1e38-11e9-b129-5cb9019b4b01\",\n \"SourceKeyId\": \"23e80852-1e38-11e9-b129-5cb9019b0000\",\n \"ReEncrypted\": true,\n \"RequestId\": \"1b580852-1e38-11e9-b129-5cb9019b4b00\"\n }\n}",
374
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ReEncrypt\n<公共请求参数>\n\n{\n \"CiphertextBlob\": \"M1UPpYhWviWGrfn78MLVBG1n5G2H6+pGK5u7xOmoWoCcWpxVKC1OAQujzQSLHWBE54p3Kd8Qji+7FOPN3nkQeA==-k-fKVP3WIlGpg8m9LMW4jEkQ==-k-8VyKJSv97jE/+mKGeevmUUvCXLYzWs6Zxn3PZoeBW4aPCjYX\",\n \"DestinationKeyId\": \"87ff856e-973c-11ef-947b-525400d834e5\",\n \"DestinationEncryptionContext\": \"{\\\"key1\\\":\\\"value1\\\"}\"\n}",
375
+ "output": "{\n \"Response\": {\n \"CiphertextBlob\": \"M1UPpYhWviWGrfn78MLVBG1n5G2H6+pGK5u7xOmoWoCcWpxVKC1OAQujzQSLHWBE54p3Kd8Qji+7FOPN3nkQeA==-k-XqqalxTyNKIC1rITRePFGQ==-k-8VyKJSv97jE/+mKGeevmUUvCXLYzWs6Zxn3PZoeBW4aPCjYX\",\n \"KeyId\": \"87ff856e-973c-11ef-947b-525400d834e5\",\n \"ReEncrypted\": true,\n \"RequestId\": \"6c3281fb-5286-49d5-8aeb-4a4424bc4271\",\n \"SourceKeyId\": \"87ff856e-973c-11ef-947b-525400d834e5\"\n }\n}",
382
376
  "title": "重加密接口示例"
383
377
  }
384
378
  ],
@@ -393,8 +387,8 @@
393
387
  "SignByAsymmetricKey": [
394
388
  {
395
389
  "document": "",
396
- "input": "https://kms.tencentcloudapi.com/?Action=SignByAsymmetricKey\n&Algorithm=SM2DSA\n&Message=Zsfw9GLu7dnR8tRr3BDk4kFnxIdc8veiKX2gK49LqOA%3D\n&KeyId=6cdf26d1-44ff-11eb-841c-5254006d0810\n&MessageType=DIGEST\n&<公共请求参数>",
397
- "output": "{\n \"Response\": {\n \"RequestId\": \"e86d6131-2830-4e1c-9d03-d421affd646c\",\n \"Signature\": \"MEUCICr/JCV52BqGvI0iYxdZ1eL8zzJjx39mWNv2ZWdLOMvRAiEApO6os3Wj0Tg302fbTBr02IxHO1aCr0Zr41t4hi6yTG8=\"\n }\n}",
390
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SignByAsymmetricKey\n<公共请求参数>\n\n{\n \"Algorithm\": \"SM2DSA\",\n \"Message\": \"dGVzdAo=\",\n \"KeyId\": \"d79e97e5-69d1-11ef-bc87-02ac442a5a1f\",\n \"MessageType\": \"RAW\"\n}",
391
+ "output": "{\n \"Response\": {\n \"RequestId\": \"f60b4087-ab02-4c5b-bf50-956e591ccbc4\",\n \"Signature\": \"MEYCIQDFunV6ujrE9k4IMOEeH4J0uwENYSf1JH2DI01qlFWKkwIhAMiv6S2s3VsLtMF/+4rDEiF3IyE3zfRGq5B+k7hHfGoQ\"\n }\n}",
398
392
  "title": "非对称密钥签名"
399
393
  }
400
394
  ],
@@ -425,8 +419,8 @@
425
419
  "VerifyByAsymmetricKey": [
426
420
  {
427
421
  "document": "",
428
- "input": "https://kms.tencentcloudapi.com/?Action=VerifyByAsymmetricKey\n&Algorithm=SM2DSA\n&Message=Zsfw9GLu7dnR8tRr3BDk4kFnxIdc8veiKX2gK49LqOA%3D\n&KeyId=6cdf26d1-44ff-11eb-841c-5254006d0810\n&MessageType=DIGEST\n&SignatureValue=MEUCIQDeO1wB%2F5dEfprulvh9Zw06UJylDt9R8MQY5qRMjzhXJgIgPKO2kKicFKemwOft8SgniUA692ORrqVEabS3kcbPL8U%3D\n&<公共请求参数>",
429
- "output": "{\n \"Response\": {\n \"RequestId\": \"3e634985-c311-4790-953a-44990f7bec6b\",\n \"SignatureValid\": true\n }\n}",
422
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyByAsymmetricKey\n<公共请求参数>\n\n{\n \"KeyId\": \"d79e97e5-69d1-11ef-bc87-02ac442a5a1f\",\n \"SignatureValue\": \"MEUCIQDunw5PZuSVI6IPX2xxdce6ohrm9Rt8KBqpMr6yogDbdgIgVyqCOiOs9OVb/frwglpg+43QXMMRnFKmBd5VNpS4A/o=\",\n \"Message\": \"dGVzdAo=\",\n \"MessageType\": \"RAW\",\n \"Algorithm\": \"SM2DSA\"\n}",
423
+ "output": "{\n \"Response\": {\n \"RequestId\": \"020b75ba-22f8-4f53-ab16-46ae5120711a\",\n \"SignatureValid\": true\n }\n}",
430
424
  "title": "使用非对称密钥验签"
431
425
  }
432
426
  ]
@@ -1577,6 +1577,58 @@ def doSendRoomNormalMessage(args, parsed_globals):
1577
1577
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1578
1578
 
1579
1579
 
1580
+ def doDescribeRecord(args, parsed_globals):
1581
+ g_param = parse_global_arg(parsed_globals)
1582
+
1583
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1584
+ cred = credential.CVMRoleCredential()
1585
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1586
+ cred = credential.STSAssumeRoleCredential(
1587
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1588
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1589
+ )
1590
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
1591
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1592
+ else:
1593
+ cred = credential.Credential(
1594
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1595
+ )
1596
+ http_profile = HttpProfile(
1597
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1598
+ reqMethod="POST",
1599
+ endpoint=g_param[OptionsDefine.Endpoint],
1600
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1601
+ )
1602
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1603
+ if g_param[OptionsDefine.Language]:
1604
+ profile.language = g_param[OptionsDefine.Language]
1605
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1606
+ client = mod.LcicClient(cred, g_param[OptionsDefine.Region], profile)
1607
+ client._sdkVersion += ("_CLI_" + __version__)
1608
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1609
+ model = models.DescribeRecordRequest()
1610
+ model.from_json_string(json.dumps(args))
1611
+ start_time = time.time()
1612
+ while True:
1613
+ rsp = client.DescribeRecord(model)
1614
+ result = rsp.to_json_string()
1615
+ try:
1616
+ json_obj = json.loads(result)
1617
+ except TypeError as e:
1618
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1619
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1620
+ break
1621
+ cur_time = time.time()
1622
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1623
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1624
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1625
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1626
+ else:
1627
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1628
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1629
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1630
+
1631
+
1580
1632
  def doCreateGroupWithSubGroup(args, parsed_globals):
1581
1633
  g_param = parse_global_arg(parsed_globals)
1582
1634
 
@@ -2669,6 +2721,58 @@ def doDeleteDocument(args, parsed_globals):
2669
2721
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2670
2722
 
2671
2723
 
2724
+ def doStopRecord(args, parsed_globals):
2725
+ g_param = parse_global_arg(parsed_globals)
2726
+
2727
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2728
+ cred = credential.CVMRoleCredential()
2729
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2730
+ cred = credential.STSAssumeRoleCredential(
2731
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2732
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2733
+ )
2734
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
2735
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2736
+ else:
2737
+ cred = credential.Credential(
2738
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2739
+ )
2740
+ http_profile = HttpProfile(
2741
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2742
+ reqMethod="POST",
2743
+ endpoint=g_param[OptionsDefine.Endpoint],
2744
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2745
+ )
2746
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2747
+ if g_param[OptionsDefine.Language]:
2748
+ profile.language = g_param[OptionsDefine.Language]
2749
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2750
+ client = mod.LcicClient(cred, g_param[OptionsDefine.Region], profile)
2751
+ client._sdkVersion += ("_CLI_" + __version__)
2752
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2753
+ model = models.StopRecordRequest()
2754
+ model.from_json_string(json.dumps(args))
2755
+ start_time = time.time()
2756
+ while True:
2757
+ rsp = client.StopRecord(model)
2758
+ result = rsp.to_json_string()
2759
+ try:
2760
+ json_obj = json.loads(result)
2761
+ except TypeError as e:
2762
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2763
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2764
+ break
2765
+ cur_time = time.time()
2766
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2767
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2768
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2769
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2770
+ else:
2771
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2772
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2773
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2774
+
2775
+
2672
2776
  def doBatchDeleteRecord(args, parsed_globals):
2673
2777
  g_param = parse_global_arg(parsed_globals)
2674
2778
 
@@ -2981,6 +3085,58 @@ def doUnbindDocumentFromRoom(args, parsed_globals):
2981
3085
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2982
3086
 
2983
3087
 
3088
+ def doStartRecord(args, parsed_globals):
3089
+ g_param = parse_global_arg(parsed_globals)
3090
+
3091
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
3092
+ cred = credential.CVMRoleCredential()
3093
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
3094
+ cred = credential.STSAssumeRoleCredential(
3095
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
3096
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
3097
+ )
3098
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
3099
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
3100
+ else:
3101
+ cred = credential.Credential(
3102
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
3103
+ )
3104
+ http_profile = HttpProfile(
3105
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
3106
+ reqMethod="POST",
3107
+ endpoint=g_param[OptionsDefine.Endpoint],
3108
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
3109
+ )
3110
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
3111
+ if g_param[OptionsDefine.Language]:
3112
+ profile.language = g_param[OptionsDefine.Language]
3113
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
3114
+ client = mod.LcicClient(cred, g_param[OptionsDefine.Region], profile)
3115
+ client._sdkVersion += ("_CLI_" + __version__)
3116
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
3117
+ model = models.StartRecordRequest()
3118
+ model.from_json_string(json.dumps(args))
3119
+ start_time = time.time()
3120
+ while True:
3121
+ rsp = client.StartRecord(model)
3122
+ result = rsp.to_json_string()
3123
+ try:
3124
+ json_obj = json.loads(result)
3125
+ except TypeError as e:
3126
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
3127
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
3128
+ break
3129
+ cur_time = time.time()
3130
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
3131
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
3132
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
3133
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
3134
+ else:
3135
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
3136
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
3137
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3138
+
3139
+
2984
3140
  def doUnblockKickedUser(args, parsed_globals):
2985
3141
  g_param = parse_global_arg(parsed_globals)
2986
3142
 
@@ -3282,6 +3438,7 @@ ACTION_MAP = {
3282
3438
  "DescribeRoom": doDescribeRoom,
3283
3439
  "DescribeDocuments": doDescribeDocuments,
3284
3440
  "SendRoomNormalMessage": doSendRoomNormalMessage,
3441
+ "DescribeRecord": doDescribeRecord,
3285
3442
  "CreateGroupWithSubGroup": doCreateGroupWithSubGroup,
3286
3443
  "GetRoomMessage": doGetRoomMessage,
3287
3444
  "DeleteSupervisor": doDeleteSupervisor,
@@ -3303,12 +3460,14 @@ ACTION_MAP = {
3303
3460
  "DescribeAppDetail": doDescribeAppDetail,
3304
3461
  "DescribeAnswerList": doDescribeAnswerList,
3305
3462
  "DeleteDocument": doDeleteDocument,
3463
+ "StopRecord": doStopRecord,
3306
3464
  "BatchDeleteRecord": doBatchDeleteRecord,
3307
3465
  "GetRooms": doGetRooms,
3308
3466
  "EndRoom": doEndRoom,
3309
3467
  "SendRoomNotificationMessage": doSendRoomNotificationMessage,
3310
3468
  "DeleteRoom": doDeleteRoom,
3311
3469
  "UnbindDocumentFromRoom": doUnbindDocumentFromRoom,
3470
+ "StartRecord": doStartRecord,
3312
3471
  "UnblockKickedUser": doUnblockKickedUser,
3313
3472
  "CreateRoom": doCreateRoom,
3314
3473
  "BatchCreateGroupWithMembers": doBatchCreateGroupWithMembers,