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
@@ -52,7 +52,7 @@
52
52
  {
53
53
  "document": "查询操作审计日志",
54
54
  "input": "POST / HTTP/1.1\nHost: cloudaudit.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEvents\n<公共请求参数>\n\n{\n \"StartTime\": 1610613170,\n \"EndTime\": 1610699570,\n \"MaxResults\": 1\n}",
55
- "output": "{\n \"Response\": {\n \"ListOver\": true,\n \"Events\": [\n {\n \"CloudAuditEvent\": \"{\\\"userIdentity\\\":{\\\"principalId\\\":\\\"1000000000\\\",\\\"accountId\\\":\\\"1000000000\\\",\\\"secretId\\\":\\\"xxx\\\",\\\"sessionContext\\\":\\\"{\\\\\\\"token\\\\\\\": \\\\\\\"xxx--Jqr7dXvw3EBEXWNcJljzbZeJeoIrQx9gafWtHV1Lg9zu7hSpY91LAF414n21D41bpodncbz8u12C-xxx\\\\\\\", \\\\\\\"ua\\\\\\\": \\\\\\\"xxx\\\\\\\", \\\\\\\"userIp\\\\\\\": \\\\\\\"111.111.11.111\\\\\\\", \\\\\\\"uin\\\\\\\": 1000000000, \\\\\\\"ownerUin\\\\\\\": 1000000000, \\\\\\\"appId\\\\\\\": 1256196555, \\\\\\\"expireTime\\\\\\\": \\\\\\\"2023-04-03 19:23:29\\\\\\\", \\\\\\\"mfa\\\\\\\": 1, \\\\\\\"mfaExpireTime\\\\\\\": \\\\\\\"0000-00-00 00:00:00\\\\\\\", \\\\\\\"interfaceName\\\\\\\": \\\\\\\"\\\\\\\", \\\\\\\"hasPolicyFilter\\\\\\\": 0, \\\\\\\"policyFilter\\\\\\\": \\\\\\\"\\\\\\\", \\\\\\\"extraInfo\\\\\\\": \\\\\\\"{\\\\\\\\\\\\\\\"dictId\\\\\\\\\\\\\\\":2208,\\\\\\\\\\\\\\\"mfaExpireTime\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"3000-12-12 00:00:00\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"sessionUin\\\\\\\\\\\\\\\":5000}\\\\\\\"}\\\",\\\"type\\\":\\\"Root\\\",\\\"userName\\\":\\\"root\\\"},\\\"eventRegion\\\":\\\"ap-guangzhou\\\",\\\"eventVersion\\\":2,\\\"errorCode\\\":\\\"0\\\",\\\"errorMessage\\\":\\\"\\\",\\\"requestID\\\":\\\"008ef803-4549-41fe-a7e6-433122273683\\\",\\\"eventID\\\":\\\"008ef803-4549-41fe-a7e6-433122273683\\\",\\\"apiVersion\\\":\\\"3.0\\\",\\\"eventType\\\":\\\"ConsoleCall\\\",\\\"actionType\\\":\\\"Write\\\",\\\"httpMethod\\\":\\\"POST\\\",\\\"apiErrorCode\\\":0,\\\"apiErrorMessage\\\":\\\"\\\",\\\"userAgent\\\":\\\"SDK_NODEJS_0.2.1\\\",\\\"eventTime\\\":1680513809,\\\"sourceIPAddress\\\":\\\"111.111.111.111\\\",\\\"eventSource\\\":\\\"cloudaudit.ap-guangzhou.api.tencentyun.com\\\",\\\"resources\\\":\\\"[\\\\\\\"*\\\\\\\"]\\\",\\\"resourceName\\\":\\\"\\\",\\\"resourceSet\\\":[],\\\"requestParameters\\\":\\\"{\\\\\\\"ActionType\\\\\\\":\\\\\\\"Write\\\\\\\",\\\\\\\"EventNames\\\\\\\":[\\\\\\\"*\\\\\\\"],\\\\\\\"Name\\\\\\\":\\\\\\\"qweqwe\\\\\\\",\\\\\\\"ResourceType\\\\\\\":\\\\\\\"*\\\\\\\",\\\\\\\"Status\\\\\\\":1,\\\\\\\"Storage\\\\\\\":{\\\\\\\"StorageName\\\\\\\":\\\\\\\"d0f00ec9-5643-4a11-9022-187621d38714\\\\\\\",\\\\\\\"StoragePrefix\\\\\\\":\\\\\\\"cloudaudit\\\\\\\",\\\\\\\"StorageRegion\\\\\\\":\\\\\\\"ap-guangzhou\\\\\\\",\\\\\\\"StorageType\\\\\\\":\\\\\\\"cls\\\\\\\"},\\\\\\\"Version\\\\\\\":\\\\\\\"2019-03-19\\\\\\\"}\\\",\\\"responseElements\\\":\\\"{\\\\\\\"TrackId\\\\\\\":21915,\\\\\\\"RequestId\\\\\\\":\\\\\\\"008ef803-4549-41fe-a7e6-433122273683\\\\\\\"}\\\",\\\"resourceType\\\":\\\"cloudaudit\\\",\\\"eventName\\\":\\\"CreateAuditTrack\\\",\\\"sensitiveAction\\\":\\\"1\\\",\\\"tags\\\":[\\\"\\\"]}\",\n \"EventName\": \"CreateAuditTrack\",\n \"EventTime\": \"1680513809\",\n \"SecretId\": \"xxxxxxx\",\n \"ErrorCode\": 0,\n \"RequestID\": \"008ef803-4549-41fe-a7e6-433122273683\",\n \"SourceIPAddress\": \"111.111.111.111\",\n \"EventSource\": \"cloudaudit.ap-guangzhou.api.tencentyun.com\",\n \"EventRegion\": \"ap-guangzhou\",\n \"Resources\": {\n \"ResourceName\": \"\",\n \"ResourceType\": \"cloudaudit\"\n },\n \"Username\": \"root\",\n \"AccountID\": 100004293724,\n \"Location\": \"中国 广东省 深圳市 中国电信\",\n \"ResourceTypeCn\": \"云审计\",\n \"EventNameCn\": \"创建云审计跟踪集\",\n \"ResourceRegion\": \"\"\n }\n ],\n \"TotalCount\": 1,\n \"NextToken\": 16805138109322956,\n \"RequestId\": \"42a0e189-2869-488f-aa34-8bffd0814322\"\n }\n}",
55
+ "output": "{\n \"Response\": {\n \"ListOver\": true,\n \"Events\": [\n {\n \"CloudAuditEvent\": \"{\\\"userIdentity\\\":{\\\"principalId\\\":\\\"1000000000\\\",\\\"accountId\\\":\\\"1000000000\\\",\\\"secretId\\\":\\\"xxx\\\",\\\"sessionContext\\\":\\\"{\\\\\\\"token\\\\\\\": \\\\\\\"xxx--Jqr7dXvw3EBEXWNcJljzbZeJeoIrQx9gafWtHV1Lg9zu7hSpY91LAF414n21D41bpodncbz8u12C-xxx\\\\\\\", \\\\\\\"ua\\\\\\\": \\\\\\\"xxx\\\\\\\", \\\\\\\"userIp\\\\\\\": \\\\\\\"111.111.11.111\\\\\\\", \\\\\\\"uin\\\\\\\": 1000000000, \\\\\\\"ownerUin\\\\\\\": 1000000000, \\\\\\\"appId\\\\\\\": 1256196555, \\\\\\\"expireTime\\\\\\\": \\\\\\\"2023-04-03 19:23:29\\\\\\\", \\\\\\\"mfa\\\\\\\": 1, \\\\\\\"mfaExpireTime\\\\\\\": \\\\\\\"0000-00-00 00:00:00\\\\\\\", \\\\\\\"interfaceName\\\\\\\": \\\\\\\"\\\\\\\", \\\\\\\"hasPolicyFilter\\\\\\\": 0, \\\\\\\"policyFilter\\\\\\\": \\\\\\\"\\\\\\\", \\\\\\\"extraInfo\\\\\\\": \\\\\\\"{\\\\\\\\\\\\\\\"dictId\\\\\\\\\\\\\\\":2208,\\\\\\\\\\\\\\\"mfaExpireTime\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"3000-12-12 00:00:00\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"sessionUin\\\\\\\\\\\\\\\":5000}\\\\\\\"}\\\",\\\"type\\\":\\\"Root\\\",\\\"userName\\\":\\\"root\\\"},\\\"eventRegion\\\":\\\"ap-guangzhou\\\",\\\"eventVersion\\\":2,\\\"errorCode\\\":\\\"0\\\",\\\"errorMessage\\\":\\\"\\\",\\\"requestID\\\":\\\"008ef803-4549-41fe-a7e6-433122273683\\\",\\\"eventID\\\":\\\"008ef803-4549-41fe-a7e6-433122273683\\\",\\\"apiVersion\\\":\\\"3.0\\\",\\\"eventType\\\":\\\"ConsoleCall\\\",\\\"actionType\\\":\\\"Write\\\",\\\"httpMethod\\\":\\\"POST\\\",\\\"apiErrorCode\\\":0,\\\"apiErrorMessage\\\":\\\"\\\",\\\"userAgent\\\":\\\"SDK_NODEJS_0.2.1\\\",\\\"eventTime\\\":1680513809,\\\"sourceIPAddress\\\":\\\"111.111.111.111\\\",\\\"eventSource\\\":\\\"cloudaudit.ap-guangzhou.api.tencentyun.com\\\",\\\"resources\\\":\\\"[\\\\\\\"*\\\\\\\"]\\\",\\\"resourceName\\\":\\\"\\\",\\\"resourceSet\\\":[],\\\"requestParameters\\\":\\\"{\\\\\\\"ActionType\\\\\\\":\\\\\\\"Write\\\\\\\",\\\\\\\"EventNames\\\\\\\":[\\\\\\\"*\\\\\\\"],\\\\\\\"Name\\\\\\\":\\\\\\\"qweqwe\\\\\\\",\\\\\\\"ResourceType\\\\\\\":\\\\\\\"*\\\\\\\",\\\\\\\"Status\\\\\\\":1,\\\\\\\"Storage\\\\\\\":{\\\\\\\"StorageName\\\\\\\":\\\\\\\"d0f00ec9-5643-4a11-9022-187621d38714\\\\\\\",\\\\\\\"StoragePrefix\\\\\\\":\\\\\\\"cloudaudit\\\\\\\",\\\\\\\"StorageRegion\\\\\\\":\\\\\\\"ap-guangzhou\\\\\\\",\\\\\\\"StorageType\\\\\\\":\\\\\\\"cls\\\\\\\"},\\\\\\\"Version\\\\\\\":\\\\\\\"2019-03-19\\\\\\\"}\\\",\\\"responseElements\\\":\\\"{\\\\\\\"TrackId\\\\\\\":21915,\\\\\\\"RequestId\\\\\\\":\\\\\\\"008ef803-4549-41fe-a7e6-433122273683\\\\\\\"}\\\",\\\"resourceType\\\":\\\"cloudaudit\\\",\\\"eventName\\\":\\\"CreateAuditTrack\\\",\\\"sensitiveAction\\\":\\\"1\\\",\\\"tags\\\":[\\\"\\\"]}\",\n \"EventName\": \"CreateAuditTrack\",\n \"EventTime\": \"1680513809\",\n \"SecretId\": \"xxxxxxx\",\n \"ErrorCode\": 0,\n \"RequestID\": \"008ef803-4549-41fe-a7e6-433122273683\",\n \"SourceIPAddress\": \"111.111.111.111\",\n \"EventSource\": \"cloudaudit.ap-guangzhou.api.tencentyun.com\",\n \"EventRegion\": \"ap-guangzhou\",\n \"Resources\": {\n \"ResourceName\": \"\",\n \"ResourceType\": \"cloudaudit\"\n },\n \"Username\": \"root\",\n \"AccountID\": 100004293724,\n \"Location\": \"中国 广东省 深圳市 中国电信\",\n \"ResourceTypeCn\": \"操作审计\",\n \"EventNameCn\": \"创建操作审计跟踪集\",\n \"ResourceRegion\": \"\"\n }\n ],\n \"TotalCount\": 1,\n \"NextToken\": 16805138109322956,\n \"RequestId\": \"42a0e189-2869-488f-aa34-8bffd0814322\"\n }\n}",
56
56
  "title": "查询操作审计日志"
57
57
  }
58
58
  ],
@@ -82,18 +82,18 @@
82
82
  ],
83
83
  "ListCmqEnableRegion": [
84
84
  {
85
- "document": "查询云审计支持的cmq的可用区",
85
+ "document": "查询操作审计支持的cmq的可用区",
86
86
  "input": "https://cloudaudit.tencentcloudapi.com/?Action=ListCmqEnableRegion\n&WebsiteType=zh\n&<公共请求参数>",
87
87
  "output": "{\n \"Response\": {\n \"RequestId\": \"b69a7b60-e58f-4d27-a2b7-722fe01109c1\",\n \"EnableRegions\": [\n {\n \"CmqRegion\": \"sh\",\n \"CmqRegionName\": \"上海\"\n },\n {\n \"CmqRegion\": \"hk\",\n \"CmqRegionName\": \"香港\"\n }\n ]\n }\n}",
88
- "title": "查询云审计支持的cmq的可用区"
88
+ "title": "查询操作审计支持的cmq的可用区"
89
89
  }
90
90
  ],
91
91
  "ListCosEnableRegion": [
92
92
  {
93
- "document": "查询云审计支持的cos可用区",
93
+ "document": "查询操作审计支持的cos可用区",
94
94
  "input": "https://cloudaudit.tencentcloudapi.com/?Action=ListCosEnableRegion\n&WebsiteType=zh\n&<公共请求参数>",
95
95
  "output": "{\n \"Response\": {\n \"RequestId\": \"2e81bc9d-5463-498f-9336-32f814940018\",\n \"EnableRegions\": [\n {\n \"CosRegion\": \"ap-shanghai\",\n \"CosRegionName\": \"上海(华东)\"\n },\n {\n \"CosRegion\": \"ap-hongkong\",\n \"CosRegionName\": \"香港\"\n }\n ]\n }\n}",
96
- "title": "查询云审计支持的cos可用区"
96
+ "title": "查询操作审计支持的cos可用区"
97
97
  }
98
98
  ],
99
99
  "ListKeyAliasByRegion": [
@@ -108,7 +108,7 @@
108
108
  {
109
109
  "document": "用于对操作日志进行检索,便于用户进行查询相关的操作信息。",
110
110
  "input": "https://cloudaudit.tencentcloudapi.com/?Action=LookUpEvents\n&EndTime=1553056687\n&LookupAttributes.0.AttributeKey=AccessKeyId\n&LookupAttributes.0.AttributeValue=XXXX\n&StartTime=1553056487\n&<公共请求参数>",
111
- "output": "{\n \"Response\": {\n \"Events\": [\n {\n \"CloudAuditEvent\": \"{\\\"actionType\\\":\\\"Read\\\",\\\"apiErrorCode\\\":\\\"\\\",\\\"apiErrorMessage\\\":\\\"\\\",\\\"apiVersion\\\":\\\"2.0\\\",\\\"errorCode\\\":0,\\\"errorMessage\\\":\\\"permission verify\\\",\\\"eventID\\\":\\\"e92a92fc259c4a9333d2a7ce64d1ef201\\\",\\\"eventName\\\":\\\"LookupEvents\\\",\\\"eventRegion\\\":\\\"ap-guangzhou\\\",\\\"eventSource\\\":\\\"cloudaudit.api.tencentyun.com/v2/index.php\\\",\\\"eventTime\\\":\\\"2019-03-20 12:36:27\\\",\\\"eventType\\\":\\\"ConsoleCall\\\",\\\"eventVersion\\\":2,\\\"httpMethod\\\":\\\"POST\\\",\\\"region\\\":\\\"\\\",\\\"requestID\\\":\\\"15936031437374_1553056587.6815_v2\\\",\\\"requestParameters\\\":\\\"{\\\"Action\\\":\\\"LookupEvents\\\",\\\"EndTime\\\":\\\"1553097599\\\",\\\"MaxResults\\\":\\\"10\\\",\\\"Nonce\\\":\\\"36881\\\",\\\"Region\\\":\\\"gz\\\",\\\"RequestClient\\\":\\\"SDK_NODEJS_0.2.1\\\",\\\"RequestOperator\\\":\\\"1150691759\\\",\\\"RequestSource\\\":\\\"MC\\\",\\\"SecretId\\\":\\\"XXX\\\",\\\"StartTime\\\":\\\"1552406400\\\",\\\"Timestamp\\\":\\\"1553056583\\\",\\\"Token\\\":\\\"147d2c5b0319541a13d9fe6ceb5af2aae9b67f6610001\\\",\\\"seqId\\\":\\\"cdb9c38c-7031-bb13-6a9c-cd7641734c8f\\\"}\\\",\\\"resourceName\\\":\\\"\\\",\\\"resourceType\\\":\\\"cloudaudit\\\",\\\"resources\\\":\\\"\\\",\\\"sourceIPAddress\\\":\\\"59.37.125.124\\\",\\\"userAgent\\\":\\\"\\\",\\\"userIdentity\\\":{\\\"userName\\\":\\\"root\\\",\\\"type\\\":\\\"Root\\\",\\\"secretId\\\":\\\"XXX\\\",\\\"accountId\\\":1150691759,\\\"principalId\\\":1150691759,\\\"sessionContext\\\":{\\\"expireTime\\\":\\\"2019-03-20 13:04:46\\\",\\\"hasPolicyFilter\\\":0,\\\"extraInfo\\\":\\\"\\\",\\\"interfaceName\\\":\\\"\\\",\\\"ownerUin\\\":1150691759,\\\"ua\\\":\\\"27513f02ea3ab649f0cacb6476df54eb\\\",\\\"mfa\\\":0,\\\"userIp\\\":\\\"59.37.125.124\\\",\\\"mfaExpireTime\\\":\\\"2019-03-20 12:34:46\\\",\\\"uin\\\":1150691759,\\\"token\\\":\\\"147d2c5b0319541a13d9fe6ceb5af2aae9b67f6610001\\\",\\\"appId\\\":1251840716,\\\"policyFilter\\\":\\\"\\\"}}}\",\n \"EventId\": \"e92a92fc259c4a9333d2a7ce64d1ef201\",\n \"EventName\": \"LookupEvents\",\n \"EventTime\": \"2019-03-20 12:36:27\",\n \"SecretId\": \"XXX\",\n \"ErrorCode\": 0,\n \"RequestID\": \"15936031437374_1553056587.6815_v2\",\n \"AccountID\": 1150691759,\n \"SourceIPAddress\": \"59.37.125.124\",\n \"EventSource\": \"cloudaudit.api.tencentyun.com/v2/index.php\",\n \"EventRegion\": \"ap-guangzhou\",\n \"Resources\": {\n \"ResourceName\": \"\",\n \"ResourceType\": \"cloudaudit\"\n },\n \"Username\": \"root\",\n \"ResourceTypeCn\": \"云审计\",\n \"EventNameCn\": \"检索日志\"\n }\n ],\n \"NextToken\": \"DnF1ZXJ5VGhlbkZldGNoDwAAAAAAACBuFjNoRHJ5YTd4U1B5YWY4c1ZmMmxBQWcAAAAAAAAgnBZZZkZoYy04LVJJeVpJNnZJS2hIVTdRAAAAAAAAI1QWYk5mQmZXTzhTWXFNZjFMVlhHY1RjdwAAAAAAAB9sFmhZbV8xbm1FUXE2NGVDQndWSlNoMncAAAAAAAAd9BZOelN1aGMycFNydUVEQ0dQbzdCcEZBAAAAAAAALroWMTh4c00xalhRbk9wR0NsYWZvV20tQQAAAAAAACCdFllmRmhjLTgtUkl5Wkk2dklLaEhVN1EAAAAAAAAuuRYxOHhzTTFqWFFuT3BHQ2xhZm9XbS1BAAAAAAAAIJ4WWWZGaGMtOC1SSXlaSTZ2SUtoSFU3UQAAAAAAAB81FnN5aTBfTWJKU25HdXZuMWxsRkdJZ3cAAAAAAAApMhZ1UjdybjlCY1NRYUZVYWRub2x4YW9RAAAAAAAAHzQWc3lpMF9NYkpTbkd1dm4xbGxGR0lndwAAAAAAAB31Fk56U3VoYzJwU3J1RURDR1BvN0JwRkEAAAAAAAAfbRZoWW1fMW5tRVFxNjRlQ0J3VkpTaDJ3AAAAAAAAH24WaFltXzFubUVRcTY0ZUNCd1ZKU2gydw==\",\n \"ListOver\": true,\n \"RequestId\": \"91e2998d-edc0-4ba0-a76d-cebbbfd99391\"\n }\n}",
111
+ "output": "{\n \"Response\": {\n \"Events\": [\n {\n \"CloudAuditEvent\": \"{\\\"actionType\\\":\\\"Read\\\",\\\"apiErrorCode\\\":\\\"\\\",\\\"apiErrorMessage\\\":\\\"\\\",\\\"apiVersion\\\":\\\"2.0\\\",\\\"errorCode\\\":0,\\\"errorMessage\\\":\\\"permission verify\\\",\\\"eventID\\\":\\\"e92a92fc259c4a9333d2a7ce64d1ef201\\\",\\\"eventName\\\":\\\"LookupEvents\\\",\\\"eventRegion\\\":\\\"ap-guangzhou\\\",\\\"eventSource\\\":\\\"cloudaudit.api.tencentyun.com/v2/index.php\\\",\\\"eventTime\\\":\\\"2019-03-20 12:36:27\\\",\\\"eventType\\\":\\\"ConsoleCall\\\",\\\"eventVersion\\\":2,\\\"httpMethod\\\":\\\"POST\\\",\\\"region\\\":\\\"\\\",\\\"requestID\\\":\\\"15936031437374_1553056587.6815_v2\\\",\\\"requestParameters\\\":\\\"{\\\"Action\\\":\\\"LookupEvents\\\",\\\"EndTime\\\":\\\"1553097599\\\",\\\"MaxResults\\\":\\\"10\\\",\\\"Nonce\\\":\\\"36881\\\",\\\"Region\\\":\\\"gz\\\",\\\"RequestClient\\\":\\\"SDK_NODEJS_0.2.1\\\",\\\"RequestOperator\\\":\\\"1150691759\\\",\\\"RequestSource\\\":\\\"MC\\\",\\\"SecretId\\\":\\\"XXX\\\",\\\"StartTime\\\":\\\"1552406400\\\",\\\"Timestamp\\\":\\\"1553056583\\\",\\\"Token\\\":\\\"147d2c5b0319541a13d9fe6ceb5af2aae9b67f6610001\\\",\\\"seqId\\\":\\\"cdb9c38c-7031-bb13-6a9c-cd7641734c8f\\\"}\\\",\\\"resourceName\\\":\\\"\\\",\\\"resourceType\\\":\\\"cloudaudit\\\",\\\"resources\\\":\\\"\\\",\\\"sourceIPAddress\\\":\\\"59.37.125.124\\\",\\\"userAgent\\\":\\\"\\\",\\\"userIdentity\\\":{\\\"userName\\\":\\\"root\\\",\\\"type\\\":\\\"Root\\\",\\\"secretId\\\":\\\"XXX\\\",\\\"accountId\\\":1150691759,\\\"principalId\\\":1150691759,\\\"sessionContext\\\":{\\\"expireTime\\\":\\\"2019-03-20 13:04:46\\\",\\\"hasPolicyFilter\\\":0,\\\"extraInfo\\\":\\\"\\\",\\\"interfaceName\\\":\\\"\\\",\\\"ownerUin\\\":1150691759,\\\"ua\\\":\\\"27513f02ea3ab649f0cacb6476df54eb\\\",\\\"mfa\\\":0,\\\"userIp\\\":\\\"59.37.125.124\\\",\\\"mfaExpireTime\\\":\\\"2019-03-20 12:34:46\\\",\\\"uin\\\":1150691759,\\\"token\\\":\\\"147d2c5b0319541a13d9fe6ceb5af2aae9b67f6610001\\\",\\\"appId\\\":1251840716,\\\"policyFilter\\\":\\\"\\\"}}}\",\n \"EventId\": \"e92a92fc259c4a9333d2a7ce64d1ef201\",\n \"EventName\": \"LookupEvents\",\n \"EventTime\": \"2019-03-20 12:36:27\",\n \"SecretId\": \"XXX\",\n \"ErrorCode\": 0,\n \"RequestID\": \"15936031437374_1553056587.6815_v2\",\n \"AccountID\": 1150691759,\n \"SourceIPAddress\": \"59.37.125.124\",\n \"EventSource\": \"cloudaudit.api.tencentyun.com/v2/index.php\",\n \"EventRegion\": \"ap-guangzhou\",\n \"Resources\": {\n \"ResourceName\": \"\",\n \"ResourceType\": \"cloudaudit\"\n },\n \"Username\": \"root\",\n \"ResourceTypeCn\": \"操作审计\",\n \"EventNameCn\": \"检索日志\"\n }\n ],\n \"NextToken\": \"DnF1ZXJ5VGhlbkZldGNoDwAAAAAAACBuFjNoRHJ5YTd4U1B5YWY4c1ZmMmxBQWcAAAAAAAAgnBZZZkZoYy04LVJJeVpJNnZJS2hIVTdRAAAAAAAAI1QWYk5mQmZXTzhTWXFNZjFMVlhHY1RjdwAAAAAAAB9sFmhZbV8xbm1FUXE2NGVDQndWSlNoMncAAAAAAAAd9BZOelN1aGMycFNydUVEQ0dQbzdCcEZBAAAAAAAALroWMTh4c00xalhRbk9wR0NsYWZvV20tQQAAAAAAACCdFllmRmhjLTgtUkl5Wkk2dklLaEhVN1EAAAAAAAAuuRYxOHhzTTFqWFFuT3BHQ2xhZm9XbS1BAAAAAAAAIJ4WWWZGaGMtOC1SSXlaSTZ2SUtoSFU3UQAAAAAAAB81FnN5aTBfTWJKU25HdXZuMWxsRkdJZ3cAAAAAAAApMhZ1UjdybjlCY1NRYUZVYWRub2x4YW9RAAAAAAAAHzQWc3lpMF9NYkpTbkd1dm4xbGxGR0lndwAAAAAAAB31Fk56U3VoYzJwU3J1RURDR1BvN0JwRkEAAAAAAAAfbRZoWW1fMW5tRVFxNjRlQ0J3VkpTaDJ3AAAAAAAAH24WaFltXzFubUVRcTY0ZUNCd1ZKU2gydw==\",\n \"ListOver\": true,\n \"TotalCount\": 1,\n \"RequestId\": \"91e2998d-edc0-4ba0-a76d-cebbbfd99391\"\n }\n}",
112
112
  "title": "日志检索"
113
113
  }
114
114
  ],
@@ -86,7 +86,7 @@
86
86
  {
87
87
  "disabled": false,
88
88
  "document": "工作空间描述, 长度限制 0~255",
89
- "example": "this is a worksapce",
89
+ "example": "this is a workspace",
90
90
  "member": "string",
91
91
  "name": "Description",
92
92
  "required": false,
@@ -209,7 +209,7 @@
209
209
  {
210
210
  "disabled": false,
211
211
  "document": "工作空间名称",
212
- "example": "worksapce-name",
212
+ "example": "workspace-name",
213
213
  "member": "string",
214
214
  "name": "Name",
215
215
  "output_required": true,
@@ -308,13 +308,13 @@
308
308
  "members": [
309
309
  {
310
310
  "disabled": false,
311
- "document": "配置值\n注意:此字段可能返回 null,表示取不到有效值。",
311
+ "document": "配置值",
312
312
  "example": "\"true\"",
313
313
  "member": "string",
314
314
  "name": "Data",
315
315
  "output_required": true,
316
316
  "type": "string",
317
- "value_allowed_null": true
317
+ "value_allowed_null": false
318
318
  },
319
319
  {
320
320
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
@@ -357,7 +357,7 @@
357
357
  {
358
358
  "disabled": false,
359
359
  "document": "工作空间名称过滤条件",
360
- "example": "worksapce-name",
360
+ "example": "workspace-name",
361
361
  "member": "string",
362
362
  "name": "Name",
363
363
  "required": false,
@@ -372,9 +372,10 @@
372
372
  {
373
373
  "disabled": false,
374
374
  "document": "工作空间列表",
375
- "example": "[]",
375
+ "example": "[{\"Id\": 9,\"Name\": \"open_api_test-1\",\"SpaceKey\": \"ryvzki\",...}]",
376
376
  "member": "WorkspaceStatusInfo",
377
377
  "name": "Data",
378
+ "output_required": true,
378
379
  "type": "list",
379
380
  "value_allowed_null": false
380
381
  },
@@ -559,7 +560,7 @@
559
560
  {
560
561
  "disabled": false,
561
562
  "document": "工作空间描述",
562
- "example": "this is a worksapce",
563
+ "example": "this is a workspace",
563
564
  "member": "string",
564
565
  "name": "Description",
565
566
  "required": false,
@@ -706,7 +707,7 @@
706
707
  "example": "1",
707
708
  "member": "int64",
708
709
  "name": "Id",
709
- "required": true,
710
+ "output_required": true,
710
711
  "type": "int",
711
712
  "value_allowed_null": false
712
713
  },
@@ -716,7 +717,7 @@
716
717
  "example": "workspace-name",
717
718
  "member": "string",
718
719
  "name": "Name",
719
- "required": true,
720
+ "output_required": true,
720
721
  "type": "string",
721
722
  "value_allowed_null": false
722
723
  },
@@ -726,7 +727,7 @@
726
727
  "example": "ubbyfp",
727
728
  "member": "string",
728
729
  "name": "SpaceKey",
729
- "required": true,
730
+ "output_required": true,
730
731
  "type": "string",
731
732
  "value_allowed_null": false
732
733
  },
@@ -736,7 +737,7 @@
736
737
  "example": "Running",
737
738
  "member": "string",
738
739
  "name": "Status",
739
- "required": true,
740
+ "output_required": true,
740
741
  "type": "string",
741
742
  "value_allowed_null": false
742
743
  },
@@ -746,7 +747,7 @@
746
747
  "example": "2",
747
748
  "member": "int64",
748
749
  "name": "Cpu",
749
- "required": true,
750
+ "output_required": true,
750
751
  "type": "int",
751
752
  "value_allowed_null": false
752
753
  },
@@ -756,89 +757,89 @@
756
757
  "example": "4",
757
758
  "member": "int64",
758
759
  "name": "Memory",
759
- "required": true,
760
+ "output_required": true,
760
761
  "type": "int",
761
762
  "value_allowed_null": false
762
763
  },
763
764
  {
764
765
  "disabled": false,
765
- "document": "工作空间图标\n注意:此字段可能返回 null,表示取不到有效值。",
766
+ "document": "工作空间图标",
766
767
  "example": "https://cs-res-1258344699.file.myqcloud.com/workspace/assets/icons/all-in-one.svg",
767
768
  "member": "string",
768
769
  "name": "Icon",
769
- "required": false,
770
+ "output_required": true,
770
771
  "type": "string",
771
- "value_allowed_null": true
772
+ "value_allowed_null": false
772
773
  },
773
774
  {
774
775
  "disabled": false,
775
- "document": "工作空间状态, 异常原因\n注意:此字段可能返回 null,表示取不到有效值。",
776
+ "document": "工作空间状态, 异常原因",
776
777
  "example": "OK",
777
778
  "member": "string",
778
779
  "name": "StatusReason",
779
- "required": false,
780
+ "output_required": true,
780
781
  "type": "string",
781
- "value_allowed_null": true
782
+ "value_allowed_null": false
782
783
  },
783
784
  {
784
785
  "disabled": false,
785
- "document": "工作空间描述\n注意:此字段可能返回 null,表示取不到有效值。",
786
+ "document": "工作空间描述",
786
787
  "example": "this is a workspace",
787
788
  "member": "string",
788
789
  "name": "Description",
789
- "required": true,
790
+ "output_required": true,
790
791
  "type": "string",
791
- "value_allowed_null": true
792
+ "value_allowed_null": false
792
793
  },
793
794
  {
794
795
  "disabled": false,
795
- "document": "工作空间类型\n注意:此字段可能返回 null,表示取不到有效值。",
796
+ "document": "工作空间类型",
796
797
  "example": "NORMAL",
797
798
  "member": "string",
798
799
  "name": "WorkspaceType",
799
- "required": false,
800
+ "output_required": true,
800
801
  "type": "string",
801
- "value_allowed_null": true
802
+ "value_allowed_null": false
802
803
  },
803
804
  {
804
805
  "disabled": false,
805
- "document": "Git 仓库 HTTPS 地址\n注意:此字段可能返回 null,表示取不到有效值。",
806
+ "document": "Git 仓库 HTTPS 地址",
806
807
  "example": "https://github.com/example/example.git",
807
808
  "member": "string",
808
809
  "name": "VersionControlUrl",
809
- "required": true,
810
+ "output_required": true,
810
811
  "type": "string",
811
- "value_allowed_null": true
812
+ "value_allowed_null": false
812
813
  },
813
814
  {
814
815
  "disabled": false,
815
- "document": "Git 仓库引用。指定分支使用 /refs/heads/{分支名}, 指定 Tag 用 /refs/tags/{Tag名}\n注意:此字段可能返回 null,表示取不到有效值。",
816
+ "document": "Git 仓库引用。指定分支使用 /refs/heads/{分支名}, 指定 Tag 用 /refs/tags/{Tag名}",
816
817
  "example": "/refs/heads/main",
817
818
  "member": "string",
818
819
  "name": "VersionControlRef",
819
- "required": true,
820
+ "output_required": true,
820
821
  "type": "string",
821
- "value_allowed_null": true
822
+ "value_allowed_null": false
822
823
  },
823
824
  {
824
825
  "disabled": false,
825
- "document": "最后操作时间\n注意:此字段可能返回 null,表示取不到有效值。",
826
+ "document": "最后操作时间",
826
827
  "example": "2023-05-11T08:37:43.109+00:00",
827
828
  "member": "string",
828
829
  "name": "LastOpsDate",
829
- "required": true,
830
+ "output_required": true,
830
831
  "type": "string",
831
- "value_allowed_null": true
832
+ "value_allowed_null": false
832
833
  },
833
834
  {
834
835
  "disabled": false,
835
- "document": "创建时间\n注意:此字段可能返回 null,表示取不到有效值。",
836
+ "document": "创建时间",
836
837
  "example": "2023-05-11T08:37:43.109+00:00",
837
838
  "member": "string",
838
839
  "name": "CreateDate",
839
- "required": true,
840
+ "output_required": true,
840
841
  "type": "string",
841
- "value_allowed_null": true
842
+ "value_allowed_null": false
842
843
  }
843
844
  ],
844
845
  "usage": "out"
@@ -11,8 +11,8 @@
11
11
  "CreateWorkspaceToken": [
12
12
  {
13
13
  "document": "为工作空间创建临时访问凭证,重复调用会创建新的 Token,旧的 Token 将会自动失效",
14
- "input": "POST / HTTP/1.1\nHost: cloudstudio.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateWorkspaceTemporaryToken\n<公共请求参数>\n\n{\n \"SpaceKey\": \"123\",\n \"TokenExpiredLimitSec\": 3600\n}",
15
- "output": "{\n \"Response\": {\n \"Token\": \"83c99d6a03aa94f5e7bbfb4eded0de0b1153f44d05126d34b5f36e8343eca973\",\n \"ExpiredTime\": \"2023-02-13T12:33:48 GMT+08:00\",\n \"RequestId\": \"123\"\n }\n}",
14
+ "input": "POST / HTTP/1.1\nHost: cloudstudio.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateWorkspaceTemporaryToken\n<公共请求参数>\n\n{\n \"SpaceKey\": \"bpwsmb\",\n \"TokenExpiredLimitSec\": 3600,\n \"Policies\": [\n \"workspace-run-only\"\n ]\n}",
15
+ "output": "{\n \"Response\": {\n \"Token\": \"83c99d6a03aa94f5e7bbfb4eded0de0b1153f44d05126d34b5f36e8343eca973\",\n \"ExpiredTime\": \"2023-02-13T12:33:48 GMT+08:00\",\n \"RequestId\": \"6e1e1482-cfe6-4462-a508-4fc7053a0c78\"\n }\n}",
16
16
  "title": "为工作空间创建临时访问凭证"
17
17
  }
18
18
  ],
@@ -36,14 +36,14 @@
36
36
  {
37
37
  "document": "获取当前用户工作空间列表",
38
38
  "input": "POST / HTTP/1.1\nHost: cloudstudio.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWorkspaceStatusList\n<公共请求参数>\n\n{}",
39
- "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Id\": 9,\n \"Name\": \"open_api_test-1\",\n \"SpaceKey\": \"ryvzki\",\n \"Status\": \"CREATING\",\n \"LastOpsDate\": \"2022-06-10T06:55:45Z\",\n \"Description\": \"\",\n \"WorkspaceType\": \"NORMAL\",\n \"CreateDate\": \"2022-06-10T06:55:45Z\",\n \"VersionControlUrl\": \"\",\n \"VersionControlRef\": \"\",\n \"Cpu\": 0,\n \"Memory\": 0\n }\n ],\n \"RequestId\": \"ff57bfab-60d0-47ce-883c-f5230245636a\"\n }\n}",
39
+ "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Id\": 9,\n \"Name\": \"open_api_test-1\",\n \"SpaceKey\": \"ryvzki\",\n \"Status\": \"CREATING\",\n \"LastOpsDate\": \"2022-06-10T06:55:45Z\",\n \"Description\": \"this is a description\",\n \"WorkspaceType\": \"NORMAL\",\n \"CreateDate\": \"2022-06-10T06:55:45Z\",\n \"Icon\": \"https://cs-res-1258344699.file.myqcloud.com/workspace/assets/icons/all-in-one.svg\",\n \"StatusReason\": \"OK\",\n \"VersionControlUrl\": \"git@github.com:koajs/koa.git\",\n \"VersionControlRef\": \"refs/heads/main\",\n \"Cpu\": 2,\n \"Memory\": 4\n }\n ],\n \"RequestId\": \"ff57bfab-60d0-47ce-883c-f5230245636a\"\n }\n}",
40
40
  "title": "获取当前用户工作空间列表"
41
41
  }
42
42
  ],
43
43
  "ModifyWorkspace": [
44
44
  {
45
45
  "document": "修改工作空间",
46
- "input": "POST / HTTP/1.1\nHost: cloudstudio.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyWorkspaceAttributes\n<公共请求参数>\n\n{\n \"SpaceKey\": \"ubbyfp\",\n \"Name\": \"openapi_test_m1\",\n \"Description\": \"api-test-midofy\",\n \"Specs\": \"Calculation\"\n}",
46
+ "input": "POST / HTTP/1.1\nHost: cloudstudio.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyWorkspaceAttributes\n<公共请求参数>\n\n{\n \"SpaceKey\": \"ubbyfp\",\n \"Name\": \"workspace-name\",\n \"Description\": \"api-test-modify\",\n \"Specs\": \"Calculation\"\n}",
47
47
  "output": "{\n \"Response\": {\n \"RequestId\": \"437093fd-a231-4ec9-83f3-ae38ea917f8e\"\n }\n}",
48
48
  "title": "修改工作空间"
49
49
  }
@@ -745,6 +745,110 @@ def doCreateTopic(args, parsed_globals):
745
745
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
746
746
 
747
747
 
748
+ def doDescribeCloudProductLogTasks(args, parsed_globals):
749
+ g_param = parse_global_arg(parsed_globals)
750
+
751
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
752
+ cred = credential.CVMRoleCredential()
753
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
754
+ cred = credential.STSAssumeRoleCredential(
755
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
756
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
757
+ )
758
+ 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):
759
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
760
+ else:
761
+ cred = credential.Credential(
762
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
763
+ )
764
+ http_profile = HttpProfile(
765
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
766
+ reqMethod="POST",
767
+ endpoint=g_param[OptionsDefine.Endpoint],
768
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
769
+ )
770
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
771
+ if g_param[OptionsDefine.Language]:
772
+ profile.language = g_param[OptionsDefine.Language]
773
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
774
+ client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
775
+ client._sdkVersion += ("_CLI_" + __version__)
776
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
777
+ model = models.DescribeCloudProductLogTasksRequest()
778
+ model.from_json_string(json.dumps(args))
779
+ start_time = time.time()
780
+ while True:
781
+ rsp = client.DescribeCloudProductLogTasks(model)
782
+ result = rsp.to_json_string()
783
+ try:
784
+ json_obj = json.loads(result)
785
+ except TypeError as e:
786
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
787
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
788
+ break
789
+ cur_time = time.time()
790
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
791
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
792
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
793
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
794
+ else:
795
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
796
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
797
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
798
+
799
+
800
+ def doDeleteCloudProductLogTask(args, parsed_globals):
801
+ g_param = parse_global_arg(parsed_globals)
802
+
803
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
804
+ cred = credential.CVMRoleCredential()
805
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
806
+ cred = credential.STSAssumeRoleCredential(
807
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
808
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
809
+ )
810
+ 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):
811
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
812
+ else:
813
+ cred = credential.Credential(
814
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
815
+ )
816
+ http_profile = HttpProfile(
817
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
818
+ reqMethod="POST",
819
+ endpoint=g_param[OptionsDefine.Endpoint],
820
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
821
+ )
822
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
823
+ if g_param[OptionsDefine.Language]:
824
+ profile.language = g_param[OptionsDefine.Language]
825
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
826
+ client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
827
+ client._sdkVersion += ("_CLI_" + __version__)
828
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
829
+ model = models.DeleteCloudProductLogTaskRequest()
830
+ model.from_json_string(json.dumps(args))
831
+ start_time = time.time()
832
+ while True:
833
+ rsp = client.DeleteCloudProductLogTask(model)
834
+ result = rsp.to_json_string()
835
+ try:
836
+ json_obj = json.loads(result)
837
+ except TypeError as e:
838
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
839
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
840
+ break
841
+ cur_time = time.time()
842
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
843
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
844
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
845
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
846
+ else:
847
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
848
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
849
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
850
+
851
+
748
852
  def doDeleteAlarmNotice(args, parsed_globals):
749
853
  g_param = parse_global_arg(parsed_globals)
750
854
 
@@ -1577,6 +1681,58 @@ def doCreateNoticeContent(args, parsed_globals):
1577
1681
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1578
1682
 
1579
1683
 
1684
+ def doModifyCloudProductLogTask(args, parsed_globals):
1685
+ g_param = parse_global_arg(parsed_globals)
1686
+
1687
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1688
+ cred = credential.CVMRoleCredential()
1689
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1690
+ cred = credential.STSAssumeRoleCredential(
1691
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1692
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1693
+ )
1694
+ 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):
1695
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1696
+ else:
1697
+ cred = credential.Credential(
1698
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1699
+ )
1700
+ http_profile = HttpProfile(
1701
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1702
+ reqMethod="POST",
1703
+ endpoint=g_param[OptionsDefine.Endpoint],
1704
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1705
+ )
1706
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1707
+ if g_param[OptionsDefine.Language]:
1708
+ profile.language = g_param[OptionsDefine.Language]
1709
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1710
+ client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
1711
+ client._sdkVersion += ("_CLI_" + __version__)
1712
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1713
+ model = models.ModifyCloudProductLogTaskRequest()
1714
+ model.from_json_string(json.dumps(args))
1715
+ start_time = time.time()
1716
+ while True:
1717
+ rsp = client.ModifyCloudProductLogTask(model)
1718
+ result = rsp.to_json_string()
1719
+ try:
1720
+ json_obj = json.loads(result)
1721
+ except TypeError as e:
1722
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1723
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1724
+ break
1725
+ cur_time = time.time()
1726
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1727
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1728
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1729
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1730
+ else:
1731
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1732
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1733
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1734
+
1735
+
1580
1736
  def doDeleteConsumer(args, parsed_globals):
1581
1737
  g_param = parse_global_arg(parsed_globals)
1582
1738
 
@@ -2461,7 +2617,7 @@ def doModifyAlarmShield(args, parsed_globals):
2461
2617
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2462
2618
 
2463
2619
 
2464
- def doSearchDashboardSubscribe(args, parsed_globals):
2620
+ def doCreateCloudProductLogTask(args, parsed_globals):
2465
2621
  g_param = parse_global_arg(parsed_globals)
2466
2622
 
2467
2623
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2490,11 +2646,11 @@ def doSearchDashboardSubscribe(args, parsed_globals):
2490
2646
  client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
2491
2647
  client._sdkVersion += ("_CLI_" + __version__)
2492
2648
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2493
- model = models.SearchDashboardSubscribeRequest()
2649
+ model = models.CreateCloudProductLogTaskRequest()
2494
2650
  model.from_json_string(json.dumps(args))
2495
2651
  start_time = time.time()
2496
2652
  while True:
2497
- rsp = client.SearchDashboardSubscribe(model)
2653
+ rsp = client.CreateCloudProductLogTask(model)
2498
2654
  result = rsp.to_json_string()
2499
2655
  try:
2500
2656
  json_obj = json.loads(result)
@@ -4437,6 +4593,58 @@ def doDescribeConfigExtras(args, parsed_globals):
4437
4593
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4438
4594
 
4439
4595
 
4596
+ def doSearchDashboardSubscribe(args, parsed_globals):
4597
+ g_param = parse_global_arg(parsed_globals)
4598
+
4599
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4600
+ cred = credential.CVMRoleCredential()
4601
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4602
+ cred = credential.STSAssumeRoleCredential(
4603
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4604
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4605
+ )
4606
+ 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):
4607
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4608
+ else:
4609
+ cred = credential.Credential(
4610
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4611
+ )
4612
+ http_profile = HttpProfile(
4613
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4614
+ reqMethod="POST",
4615
+ endpoint=g_param[OptionsDefine.Endpoint],
4616
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4617
+ )
4618
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4619
+ if g_param[OptionsDefine.Language]:
4620
+ profile.language = g_param[OptionsDefine.Language]
4621
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4622
+ client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
4623
+ client._sdkVersion += ("_CLI_" + __version__)
4624
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4625
+ model = models.SearchDashboardSubscribeRequest()
4626
+ model.from_json_string(json.dumps(args))
4627
+ start_time = time.time()
4628
+ while True:
4629
+ rsp = client.SearchDashboardSubscribe(model)
4630
+ result = rsp.to_json_string()
4631
+ try:
4632
+ json_obj = json.loads(result)
4633
+ except TypeError as e:
4634
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4635
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4636
+ break
4637
+ cur_time = time.time()
4638
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4639
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4640
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4641
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4642
+ else:
4643
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4644
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4645
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4646
+
4647
+
4440
4648
  def doCheckRechargeKafkaServer(args, parsed_globals):
4441
4649
  g_param = parse_global_arg(parsed_globals)
4442
4650
 
@@ -5509,6 +5717,8 @@ ACTION_MAP = {
5509
5717
  "DeleteDataTransform": doDeleteDataTransform,
5510
5718
  "CreateLogset": doCreateLogset,
5511
5719
  "CreateTopic": doCreateTopic,
5720
+ "DescribeCloudProductLogTasks": doDescribeCloudProductLogTasks,
5721
+ "DeleteCloudProductLogTask": doDeleteCloudProductLogTask,
5512
5722
  "DeleteAlarmNotice": doDeleteAlarmNotice,
5513
5723
  "DescribeAlertRecordHistory": doDescribeAlertRecordHistory,
5514
5724
  "DeleteKafkaRecharge": doDeleteKafkaRecharge,
@@ -5525,6 +5735,7 @@ ACTION_MAP = {
5525
5735
  "CreateAlarmShield": doCreateAlarmShield,
5526
5736
  "CreateShipper": doCreateShipper,
5527
5737
  "CreateNoticeContent": doCreateNoticeContent,
5738
+ "ModifyCloudProductLogTask": doModifyCloudProductLogTask,
5528
5739
  "DeleteConsumer": doDeleteConsumer,
5529
5740
  "DeleteMachineGroup": doDeleteMachineGroup,
5530
5741
  "DescribeKafkaRecharges": doDescribeKafkaRecharges,
@@ -5542,7 +5753,7 @@ ACTION_MAP = {
5542
5753
  "ModifyCosRecharge": doModifyCosRecharge,
5543
5754
  "ModifyConfigExtra": doModifyConfigExtra,
5544
5755
  "ModifyAlarmShield": doModifyAlarmShield,
5545
- "SearchDashboardSubscribe": doSearchDashboardSubscribe,
5756
+ "CreateCloudProductLogTask": doCreateCloudProductLogTask,
5546
5757
  "CreateConfigExtra": doCreateConfigExtra,
5547
5758
  "DescribeAlarmShields": doDescribeAlarmShields,
5548
5759
  "ModifyScheduledSql": doModifyScheduledSql,
@@ -5580,6 +5791,7 @@ ACTION_MAP = {
5580
5791
  "DescribeScheduledSqlInfo": doDescribeScheduledSqlInfo,
5581
5792
  "DeleteConfig": doDeleteConfig,
5582
5793
  "DescribeConfigExtras": doDescribeConfigExtras,
5794
+ "SearchDashboardSubscribe": doSearchDashboardSubscribe,
5583
5795
  "CheckRechargeKafkaServer": doCheckRechargeKafkaServer,
5584
5796
  "ModifyAlarm": doModifyAlarm,
5585
5797
  "DescribeShippers": doDescribeShippers,