tccli 3.0.1215.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 (282) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/argparser.py +1 -1
  3. tccli/command.py +2 -2
  4. tccli/configure.py +46 -1
  5. tccli/credentials.py +25 -0
  6. tccli/main.py +6 -2
  7. tccli/plugins/sso/__init__.py +61 -0
  8. tccli/plugins/sso/configs.py +4 -0
  9. tccli/plugins/sso/configure.py +45 -0
  10. tccli/plugins/sso/login.py +144 -0
  11. tccli/plugins/sso/logout.py +21 -0
  12. tccli/plugins/sso/terminal.py +161 -0
  13. tccli/plugins/sso/texts.py +40 -0
  14. tccli/services/__init__.py +6 -3
  15. tccli/services/acp/v20220105/api.json +7 -7
  16. tccli/services/acp/v20220105/examples.json +2 -2
  17. tccli/services/aiart/v20221229/api.json +29 -29
  18. tccli/services/aiart/v20221229/examples.json +8 -8
  19. tccli/services/apigateway/v20180808/api.json +18 -17
  20. tccli/services/apigateway/v20180808/examples.json +12 -12
  21. tccli/services/apm/v20210622/api.json +118 -4
  22. tccli/services/asr/v20190614/api.json +21 -20
  23. tccli/services/asr/v20190614/examples.json +13 -13
  24. tccli/services/autoscaling/v20180419/api.json +371 -309
  25. tccli/services/autoscaling/v20180419/examples.json +17 -17
  26. tccli/services/batch/v20170312/api.json +7 -7
  27. tccli/services/bda/v20200324/api.json +39 -31
  28. tccli/services/bda/v20200324/examples.json +9 -9
  29. tccli/services/bh/__init__.py +4 -0
  30. tccli/services/bh/bh_client.py +3428 -0
  31. tccli/services/bh/v20230418/api.json +8180 -0
  32. tccli/services/bh/v20230418/examples.json +519 -0
  33. tccli/services/bi/v20220105/api.json +80 -4
  34. tccli/services/bi/v20220105/examples.json +1 -1
  35. tccli/services/billing/billing_client.py +53 -0
  36. tccli/services/billing/v20180709/api.json +330 -24
  37. tccli/services/billing/v20180709/examples.json +8 -0
  38. tccli/services/bsca/v20210811/api.json +223 -18
  39. tccli/services/bsca/v20210811/examples.json +4 -4
  40. tccli/services/btoe/v20210514/api.json +4 -4
  41. tccli/services/btoe/v20210514/examples.json +2 -2
  42. tccli/services/ca/v20230228/api.json +60 -0
  43. tccli/services/cam/v20190116/api.json +11 -11
  44. tccli/services/cat/v20180409/api.json +9 -0
  45. tccli/services/cbs/v20170312/api.json +200 -188
  46. tccli/services/cbs/v20170312/examples.json +4 -4
  47. tccli/services/ccc/ccc_client.py +53 -0
  48. tccli/services/ccc/v20200210/api.json +541 -325
  49. tccli/services/ccc/v20200210/examples.json +26 -18
  50. tccli/services/cdb/cdb_client.py +13 -13
  51. tccli/services/cdb/v20170320/api.json +308 -274
  52. tccli/services/cdb/v20170320/examples.json +38 -38
  53. tccli/services/cdc/v20201214/api.json +283 -270
  54. tccli/services/cdc/v20201214/examples.json +26 -26
  55. tccli/services/cdn/v20180606/api.json +5 -3
  56. tccli/services/cds/v20180420/api.json +82 -76
  57. tccli/services/cds/v20180420/examples.json +1 -1
  58. tccli/services/cdwch/v20200915/api.json +1 -1
  59. tccli/services/cdwdoris/v20211228/api.json +54 -4
  60. tccli/services/cdz/v20221123/api.json +41 -5
  61. tccli/services/cfg/v20210820/api.json +31 -0
  62. tccli/services/cfs/v20190719/api.json +89 -1
  63. tccli/services/cfs/v20190719/examples.json +1 -1
  64. tccli/services/cfw/cfw_client.py +0 -53
  65. tccli/services/cfw/v20190904/api.json +1895 -2011
  66. tccli/services/cfw/v20190904/examples.json +175 -171
  67. tccli/services/ciam/v20220331/api.json +316 -315
  68. tccli/services/ciam/v20220331/examples.json +49 -49
  69. tccli/services/ckafka/v20190819/api.json +104 -75
  70. tccli/services/clb/v20180317/api.json +48 -26
  71. tccli/services/clb/v20180317/examples.json +1 -1
  72. tccli/services/cloudapp/v20220530/api.json +5 -1
  73. tccli/services/cloudaudit/cloudaudit_client.py +30 -30
  74. tccli/services/cloudaudit/v20190319/api.json +254 -211
  75. tccli/services/cloudaudit/v20190319/examples.json +19 -19
  76. tccli/services/cloudstudio/v20230508/api.json +38 -37
  77. tccli/services/cloudstudio/v20230508/examples.json +4 -4
  78. tccli/services/cls/cls_client.py +216 -4
  79. tccli/services/cls/v20201016/api.json +935 -147
  80. tccli/services/cls/v20201016/examples.json +43 -5
  81. tccli/services/csip/v20221121/api.json +2566 -2386
  82. tccli/services/csip/v20221121/examples.json +108 -108
  83. tccli/services/cvm/v20170312/api.json +191 -112
  84. tccli/services/cvm/v20170312/examples.json +2 -2
  85. tccli/services/cwp/cwp_client.py +4 -110
  86. tccli/services/cwp/v20180228/api.json +6498 -6252
  87. tccli/services/cwp/v20180228/examples.json +372 -412
  88. tccli/services/cynosdb/v20190107/api.json +170 -110
  89. tccli/services/cynosdb/v20190107/examples.json +91 -91
  90. tccli/services/dasb/v20191018/api.json +859 -637
  91. tccli/services/dasb/v20191018/examples.json +101 -101
  92. tccli/services/dcdb/dcdb_client.py +114 -61
  93. tccli/services/dcdb/v20180411/api.json +141 -7
  94. tccli/services/dcdb/v20180411/examples.json +32 -0
  95. tccli/services/dlc/v20210125/api.json +21 -11
  96. tccli/services/dnspod/dnspod_client.py +417 -46
  97. tccli/services/dnspod/v20210323/api.json +751 -30
  98. tccli/services/dnspod/v20210323/examples.json +62 -0
  99. tccli/services/domain/v20180808/api.json +3 -3
  100. tccli/services/domain/v20180808/examples.json +3 -3
  101. tccli/services/dts/v20211206/api.json +4 -4
  102. tccli/services/eb/v20210416/api.json +15 -15
  103. tccli/services/eb/v20210416/examples.json +1 -1
  104. tccli/services/ecm/v20190719/api.json +2 -2
  105. tccli/services/emr/v20190103/api.json +339 -114
  106. tccli/services/emr/v20190103/examples.json +64 -82
  107. tccli/services/es/es_client.py +249 -37
  108. tccli/services/es/v20180416/api.json +550 -0
  109. tccli/services/es/v20180416/examples.json +33 -1
  110. tccli/services/ess/ess_client.py +53 -0
  111. tccli/services/ess/v20201111/api.json +192 -38
  112. tccli/services/ess/v20201111/examples.json +35 -9
  113. tccli/services/essbasic/essbasic_client.py +106 -0
  114. tccli/services/essbasic/v20210526/api.json +287 -60
  115. tccli/services/essbasic/v20210526/examples.json +58 -18
  116. tccli/services/facefusion/v20181201/api.json +47 -45
  117. tccli/services/facefusion/v20181201/examples.json +2 -2
  118. tccli/services/facefusion/v20220927/api.json +54 -48
  119. tccli/services/facefusion/v20220927/examples.json +5 -5
  120. tccli/services/faceid/v20180301/api.json +497 -496
  121. tccli/services/faceid/v20180301/examples.json +219 -101
  122. tccli/services/fmu/v20191213/api.json +59 -67
  123. tccli/services/fmu/v20191213/examples.json +22 -22
  124. tccli/services/ft/v20200304/api.json +53 -57
  125. tccli/services/ft/v20200304/examples.json +14 -14
  126. tccli/services/gaap/v20180529/api.json +44 -26
  127. tccli/services/gaap/v20180529/examples.json +24 -30
  128. tccli/services/gme/v20180711/api.json +21 -11
  129. tccli/services/gme/v20180711/examples.json +1 -1
  130. tccli/services/hai/v20230812/api.json +116 -9
  131. tccli/services/hai/v20230812/examples.json +4 -4
  132. tccli/services/hunyuan/hunyuan_client.py +436 -12
  133. tccli/services/hunyuan/v20230901/api.json +1482 -118
  134. tccli/services/hunyuan/v20230901/examples.json +82 -18
  135. tccli/services/iai/v20180301/api.json +23 -19
  136. tccli/services/iai/v20180301/examples.json +2 -2
  137. tccli/services/iai/v20200303/api.json +530 -511
  138. tccli/services/iai/v20200303/examples.json +116 -86
  139. tccli/services/ig/__init__.py +4 -0
  140. tccli/services/ig/ig_client.py +195 -0
  141. tccli/services/ig/v20210518/api.json +83 -0
  142. tccli/services/ig/v20210518/examples.json +13 -0
  143. tccli/services/ioa/ioa_client.py +53 -0
  144. tccli/services/ioa/v20220601/api.json +662 -413
  145. tccli/services/ioa/v20220601/examples.json +24 -10
  146. tccli/services/iotexplorer/v20190423/api.json +73 -13
  147. tccli/services/iotexplorer/v20190423/examples.json +3 -3
  148. tccli/services/iotvideo/iotvideo_client.py +106 -0
  149. tccli/services/iotvideo/v20191126/api.json +256 -24
  150. tccli/services/iotvideo/v20191126/examples.json +19 -3
  151. tccli/services/iotvideo/v20201215/api.json +1 -1
  152. tccli/services/iotvideo/v20201215/examples.json +1 -1
  153. tccli/services/iotvideo/v20211125/api.json +1 -1
  154. tccli/services/iotvideo/v20211125/examples.json +2 -2
  155. tccli/services/iss/iss_client.py +69 -122
  156. tccli/services/iss/v20230517/api.json +10 -54
  157. tccli/services/iss/v20230517/examples.json +0 -14
  158. tccli/services/kms/v20190118/api.json +301 -268
  159. tccli/services/kms/v20190118/examples.json +45 -51
  160. tccli/services/lcic/lcic_client.py +159 -0
  161. tccli/services/lcic/v20220817/api.json +273 -1
  162. tccli/services/lcic/v20220817/examples.json +24 -0
  163. tccli/services/lighthouse/v20200324/api.json +56 -0
  164. tccli/services/live/live_client.py +159 -0
  165. tccli/services/live/v20180801/api.json +279 -9
  166. tccli/services/live/v20180801/examples.json +24 -0
  167. tccli/services/lke/v20231130/api.json +17 -17
  168. tccli/services/lke/v20231130/examples.json +19 -25
  169. tccli/services/mariadb/v20170312/api.json +7 -7
  170. tccli/services/market/v20191010/api.json +3 -3
  171. tccli/services/market/v20191010/examples.json +2 -2
  172. tccli/services/mmps/v20200710/api.json +47 -47
  173. tccli/services/mmps/v20200710/examples.json +3 -3
  174. tccli/services/mongodb/v20190725/api.json +10 -12
  175. tccli/services/monitor/v20180724/api.json +46 -19
  176. tccli/services/mps/v20190612/api.json +282 -5
  177. tccli/services/mps/v20190612/examples.json +25 -1
  178. tccli/services/mqtt/v20240516/api.json +2 -2
  179. tccli/services/mrs/v20200910/api.json +72 -34
  180. tccli/services/mrs/v20200910/examples.json +2 -2
  181. tccli/services/ms/v20180408/api.json +535 -506
  182. tccli/services/ms/v20180408/examples.json +25 -25
  183. tccli/services/oceanus/v20190422/api.json +130 -0
  184. tccli/services/ocr/ocr_client.py +232 -20
  185. tccli/services/ocr/v20181119/api.json +2263 -758
  186. tccli/services/ocr/v20181119/examples.json +200 -180
  187. tccli/services/omics/v20221128/api.json +614 -553
  188. tccli/services/omics/v20221128/examples.json +9 -9
  189. tccli/services/organization/organization_client.py +352 -34
  190. tccli/services/organization/v20210331/api.json +464 -4
  191. tccli/services/organization/v20210331/examples.json +49 -1
  192. tccli/services/partners/v20180321/api.json +244 -234
  193. tccli/services/partners/v20180321/examples.json +19 -19
  194. tccli/services/privatedns/privatedns_client.py +428 -4
  195. tccli/services/privatedns/v20201028/api.json +815 -11
  196. tccli/services/privatedns/v20201028/examples.json +64 -0
  197. tccli/services/pts/v20210728/api.json +18 -0
  198. tccli/services/pts/v20210728/examples.json +1 -1
  199. tccli/services/rce/rce_client.py +53 -0
  200. tccli/services/rce/v20201103/api.json +146 -0
  201. tccli/services/rce/v20201103/examples.json +8 -0
  202. tccli/services/redis/v20180412/api.json +42 -42
  203. tccli/services/redis/v20180412/examples.json +19 -19
  204. tccli/services/region/v20220627/api.json +1 -1
  205. tccli/services/rum/v20210622/api.json +9 -0
  206. tccli/services/scf/scf_client.py +269 -4
  207. tccli/services/scf/v20180416/api.json +569 -15
  208. tccli/services/scf/v20180416/examples.json +47 -1
  209. tccli/services/smop/v20201203/api.json +46 -42
  210. tccli/services/smop/v20201203/examples.json +2 -2
  211. tccli/services/soe/v20180724/api.json +10 -10
  212. tccli/services/sqlserver/v20180328/api.json +21 -8
  213. tccli/services/sqlserver/v20180328/examples.json +5 -5
  214. tccli/services/ssl/v20191205/api.json +98 -5
  215. tccli/services/ssm/v20190923/api.json +292 -231
  216. tccli/services/ssm/v20190923/examples.json +42 -42
  217. tccli/services/tat/v20201028/api.json +124 -122
  218. tccli/services/tat/v20201028/examples.json +24 -30
  219. tccli/services/tchd/v20230306/api.json +5 -5
  220. tccli/services/tchd/v20230306/examples.json +3 -3
  221. tccli/services/tcr/v20190924/api.json +1 -1
  222. tccli/services/tcr/v20190924/examples.json +1 -1
  223. tccli/services/tcss/v20201101/api.json +1984 -1437
  224. tccli/services/tcss/v20201101/examples.json +350 -368
  225. tccli/services/tdmq/v20200217/api.json +603 -464
  226. tccli/services/tdmq/v20200217/examples.json +105 -105
  227. tccli/services/tds/v20220801/api.json +4 -4
  228. tccli/services/tem/v20210701/api.json +429 -372
  229. tccli/services/tem/v20210701/examples.json +85 -85
  230. tccli/services/teo/teo_client.py +277 -12
  231. tccli/services/teo/v20220901/api.json +1029 -124
  232. tccli/services/teo/v20220901/examples.json +84 -8
  233. tccli/services/thpc/v20230321/api.json +5 -5
  234. tccli/services/tke/tke_client.py +270 -58
  235. tccli/services/tke/v20180525/api.json +79 -27
  236. tccli/services/tke/v20180525/examples.json +9 -1
  237. tccli/services/tke/v20220501/api.json +176 -0
  238. tccli/services/tke/v20220501/examples.json +24 -0
  239. tccli/services/tms/tms_client.py +4 -57
  240. tccli/services/tms/v20201229/api.json +0 -354
  241. tccli/services/tms/v20201229/examples.json +0 -8
  242. tccli/services/tmt/v20180321/api.json +38 -8
  243. tccli/services/trp/v20210515/api.json +86 -74
  244. tccli/services/trp/v20210515/examples.json +65 -65
  245. tccli/services/trro/v20220325/api.json +72 -71
  246. tccli/services/trro/v20220325/examples.json +8 -8
  247. tccli/services/trtc/trtc_client.py +8 -61
  248. tccli/services/trtc/v20190722/api.json +293 -52
  249. tccli/services/trtc/v20190722/examples.json +3 -11
  250. tccli/services/tse/tse_client.py +110 -4
  251. tccli/services/tse/v20201207/api.json +122 -7
  252. tccli/services/tse/v20201207/examples.json +25 -9
  253. tccli/services/vclm/v20240523/api.json +225 -82
  254. tccli/services/vclm/v20240523/examples.json +13 -19
  255. tccli/services/vod/v20180717/api.json +431 -4
  256. tccli/services/vod/v20180717/examples.json +25 -5
  257. tccli/services/vod/v20240718/api.json +11 -11
  258. tccli/services/vod/v20240718/examples.json +4 -4
  259. tccli/services/vod/vod_client.py +53 -0
  260. tccli/services/vpc/v20170312/api.json +1195 -892
  261. tccli/services/vpc/v20170312/examples.json +84 -68
  262. tccli/services/vpc/vpc_client.py +168 -62
  263. tccli/services/waf/v20180125/api.json +2611 -2187
  264. tccli/services/waf/v20180125/examples.json +224 -284
  265. tccli/services/waf/waf_client.py +225 -119
  266. tccli/services/wav/v20210129/api.json +48 -48
  267. tccli/services/wav/v20210129/examples.json +4 -4
  268. tccli/services/wedata/v20210820/api.json +1595 -25
  269. tccli/services/wedata/v20210820/examples.json +44 -4
  270. tccli/services/wedata/wedata_client.py +265 -0
  271. tccli/services/weilingwith/v20230427/api.json +6 -6
  272. tccli/services/weilingwith/v20230427/examples.json +3 -3
  273. tccli/sso.py +229 -0
  274. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +6 -2
  275. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +278 -265
  276. tccli/services/cr/__init__.py +0 -4
  277. tccli/services/cr/cr_client.py +0 -1626
  278. tccli/services/cr/v20180321/api.json +0 -2829
  279. tccli/services/cr/v20180321/examples.json +0 -235
  280. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
  281. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
  282. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -1421,7 +1421,7 @@ def doModifyDBInstancesProject(args, parsed_globals):
1421
1421
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1422
1422
 
1423
1423
 
1424
- def doModifyInstanceVip(args, parsed_globals):
1424
+ def doCreateTmpDCDBInstance(args, parsed_globals):
1425
1425
  g_param = parse_global_arg(parsed_globals)
1426
1426
 
1427
1427
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1450,11 +1450,11 @@ def doModifyInstanceVip(args, parsed_globals):
1450
1450
  client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
1451
1451
  client._sdkVersion += ("_CLI_" + __version__)
1452
1452
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1453
- model = models.ModifyInstanceVipRequest()
1453
+ model = models.CreateTmpDCDBInstanceRequest()
1454
1454
  model.from_json_string(json.dumps(args))
1455
1455
  start_time = time.time()
1456
1456
  while True:
1457
- rsp = client.ModifyInstanceVip(model)
1457
+ rsp = client.CreateTmpDCDBInstance(model)
1458
1458
  result = rsp.to_json_string()
1459
1459
  try:
1460
1460
  json_obj = json.loads(result)
@@ -1577,6 +1577,58 @@ def doDescribeDBLogFiles(args, parsed_globals):
1577
1577
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1578
1578
 
1579
1579
 
1580
+ def doCreateOnlineDDLJob(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.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
1607
+ client._sdkVersion += ("_CLI_" + __version__)
1608
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1609
+ model = models.CreateOnlineDDLJobRequest()
1610
+ model.from_json_string(json.dumps(args))
1611
+ start_time = time.time()
1612
+ while True:
1613
+ rsp = client.CreateOnlineDDLJob(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 doIsolateHourDCDBInstance(args, parsed_globals):
1581
1633
  g_param = parse_global_arg(parsed_globals)
1582
1634
 
@@ -2409,7 +2461,7 @@ def doDescribeBackupFiles(args, parsed_globals):
2409
2461
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2410
2462
 
2411
2463
 
2412
- def doDestroyHourDCDBInstance(args, parsed_globals):
2464
+ def doGrantAccountPrivileges(args, parsed_globals):
2413
2465
  g_param = parse_global_arg(parsed_globals)
2414
2466
 
2415
2467
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2438,11 +2490,11 @@ def doDestroyHourDCDBInstance(args, parsed_globals):
2438
2490
  client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
2439
2491
  client._sdkVersion += ("_CLI_" + __version__)
2440
2492
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2441
- model = models.DestroyHourDCDBInstanceRequest()
2493
+ model = models.GrantAccountPrivilegesRequest()
2442
2494
  model.from_json_string(json.dumps(args))
2443
2495
  start_time = time.time()
2444
2496
  while True:
2445
- rsp = client.DestroyHourDCDBInstance(model)
2497
+ rsp = client.GrantAccountPrivileges(model)
2446
2498
  result = rsp.to_json_string()
2447
2499
  try:
2448
2500
  json_obj = json.loads(result)
@@ -2461,7 +2513,7 @@ def doDestroyHourDCDBInstance(args, parsed_globals):
2461
2513
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2462
2514
 
2463
2515
 
2464
- def doGrantAccountPrivileges(args, parsed_globals):
2516
+ def doDescribeProjectSecurityGroups(args, parsed_globals):
2465
2517
  g_param = parse_global_arg(parsed_globals)
2466
2518
 
2467
2519
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2490,11 +2542,11 @@ def doGrantAccountPrivileges(args, parsed_globals):
2490
2542
  client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
2491
2543
  client._sdkVersion += ("_CLI_" + __version__)
2492
2544
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2493
- model = models.GrantAccountPrivilegesRequest()
2545
+ model = models.DescribeProjectSecurityGroupsRequest()
2494
2546
  model.from_json_string(json.dumps(args))
2495
2547
  start_time = time.time()
2496
2548
  while True:
2497
- rsp = client.GrantAccountPrivileges(model)
2549
+ rsp = client.DescribeProjectSecurityGroups(model)
2498
2550
  result = rsp.to_json_string()
2499
2551
  try:
2500
2552
  json_obj = json.loads(result)
@@ -2513,7 +2565,7 @@ def doGrantAccountPrivileges(args, parsed_globals):
2513
2565
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2514
2566
 
2515
2567
 
2516
- def doDescribeProjectSecurityGroups(args, parsed_globals):
2568
+ def doDescribeDCDBInstances(args, parsed_globals):
2517
2569
  g_param = parse_global_arg(parsed_globals)
2518
2570
 
2519
2571
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2542,11 +2594,11 @@ def doDescribeProjectSecurityGroups(args, parsed_globals):
2542
2594
  client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
2543
2595
  client._sdkVersion += ("_CLI_" + __version__)
2544
2596
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2545
- model = models.DescribeProjectSecurityGroupsRequest()
2597
+ model = models.DescribeDCDBInstancesRequest()
2546
2598
  model.from_json_string(json.dumps(args))
2547
2599
  start_time = time.time()
2548
2600
  while True:
2549
- rsp = client.DescribeProjectSecurityGroups(model)
2601
+ rsp = client.DescribeDCDBInstances(model)
2550
2602
  result = rsp.to_json_string()
2551
2603
  try:
2552
2604
  json_obj = json.loads(result)
@@ -2565,7 +2617,7 @@ def doDescribeProjectSecurityGroups(args, parsed_globals):
2565
2617
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2566
2618
 
2567
2619
 
2568
- def doDescribeDCDBInstances(args, parsed_globals):
2620
+ def doDescribeDcnDetail(args, parsed_globals):
2569
2621
  g_param = parse_global_arg(parsed_globals)
2570
2622
 
2571
2623
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2594,11 +2646,11 @@ def doDescribeDCDBInstances(args, parsed_globals):
2594
2646
  client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
2595
2647
  client._sdkVersion += ("_CLI_" + __version__)
2596
2648
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2597
- model = models.DescribeDCDBInstancesRequest()
2649
+ model = models.DescribeDcnDetailRequest()
2598
2650
  model.from_json_string(json.dumps(args))
2599
2651
  start_time = time.time()
2600
2652
  while True:
2601
- rsp = client.DescribeDCDBInstances(model)
2653
+ rsp = client.DescribeDcnDetail(model)
2602
2654
  result = rsp.to_json_string()
2603
2655
  try:
2604
2656
  json_obj = json.loads(result)
@@ -2617,7 +2669,7 @@ def doDescribeDCDBInstances(args, parsed_globals):
2617
2669
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2618
2670
 
2619
2671
 
2620
- def doDescribeDcnDetail(args, parsed_globals):
2672
+ def doModifyDBEncryptAttributes(args, parsed_globals):
2621
2673
  g_param = parse_global_arg(parsed_globals)
2622
2674
 
2623
2675
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2646,11 +2698,11 @@ def doDescribeDcnDetail(args, parsed_globals):
2646
2698
  client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
2647
2699
  client._sdkVersion += ("_CLI_" + __version__)
2648
2700
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2649
- model = models.DescribeDcnDetailRequest()
2701
+ model = models.ModifyDBEncryptAttributesRequest()
2650
2702
  model.from_json_string(json.dumps(args))
2651
2703
  start_time = time.time()
2652
2704
  while True:
2653
- rsp = client.DescribeDcnDetail(model)
2705
+ rsp = client.ModifyDBEncryptAttributes(model)
2654
2706
  result = rsp.to_json_string()
2655
2707
  try:
2656
2708
  json_obj = json.loads(result)
@@ -2669,7 +2721,7 @@ def doDescribeDcnDetail(args, parsed_globals):
2669
2721
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2670
2722
 
2671
2723
 
2672
- def doModifyDBEncryptAttributes(args, parsed_globals):
2724
+ def doCreateDedicatedClusterDCDBInstance(args, parsed_globals):
2673
2725
  g_param = parse_global_arg(parsed_globals)
2674
2726
 
2675
2727
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2698,11 +2750,11 @@ def doModifyDBEncryptAttributes(args, parsed_globals):
2698
2750
  client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
2699
2751
  client._sdkVersion += ("_CLI_" + __version__)
2700
2752
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2701
- model = models.ModifyDBEncryptAttributesRequest()
2753
+ model = models.CreateDedicatedClusterDCDBInstanceRequest()
2702
2754
  model.from_json_string(json.dumps(args))
2703
2755
  start_time = time.time()
2704
2756
  while True:
2705
- rsp = client.ModifyDBEncryptAttributes(model)
2757
+ rsp = client.CreateDedicatedClusterDCDBInstance(model)
2706
2758
  result = rsp.to_json_string()
2707
2759
  try:
2708
2760
  json_obj = json.loads(result)
@@ -2721,7 +2773,7 @@ def doModifyDBEncryptAttributes(args, parsed_globals):
2721
2773
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2722
2774
 
2723
2775
 
2724
- def doCreateDedicatedClusterDCDBInstance(args, parsed_globals):
2776
+ def doIsolateDedicatedDBInstance(args, parsed_globals):
2725
2777
  g_param = parse_global_arg(parsed_globals)
2726
2778
 
2727
2779
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2750,11 +2802,11 @@ def doCreateDedicatedClusterDCDBInstance(args, parsed_globals):
2750
2802
  client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
2751
2803
  client._sdkVersion += ("_CLI_" + __version__)
2752
2804
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2753
- model = models.CreateDedicatedClusterDCDBInstanceRequest()
2805
+ model = models.IsolateDedicatedDBInstanceRequest()
2754
2806
  model.from_json_string(json.dumps(args))
2755
2807
  start_time = time.time()
2756
2808
  while True:
2757
- rsp = client.CreateDedicatedClusterDCDBInstance(model)
2809
+ rsp = client.IsolateDedicatedDBInstance(model)
2758
2810
  result = rsp.to_json_string()
2759
2811
  try:
2760
2812
  json_obj = json.loads(result)
@@ -3033,7 +3085,7 @@ def doDescribeDatabases(args, parsed_globals):
3033
3085
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3034
3086
 
3035
3087
 
3036
- def doIsolateDedicatedDBInstance(args, parsed_globals):
3088
+ def doDestroyHourDCDBInstance(args, parsed_globals):
3037
3089
  g_param = parse_global_arg(parsed_globals)
3038
3090
 
3039
3091
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3062,11 +3114,11 @@ def doIsolateDedicatedDBInstance(args, parsed_globals):
3062
3114
  client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
3063
3115
  client._sdkVersion += ("_CLI_" + __version__)
3064
3116
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3065
- model = models.IsolateDedicatedDBInstanceRequest()
3117
+ model = models.DestroyHourDCDBInstanceRequest()
3066
3118
  model.from_json_string(json.dumps(args))
3067
3119
  start_time = time.time()
3068
3120
  while True:
3069
- rsp = client.IsolateDedicatedDBInstance(model)
3121
+ rsp = client.DestroyHourDCDBInstance(model)
3070
3122
  result = rsp.to_json_string()
3071
3123
  try:
3072
3124
  json_obj = json.loads(result)
@@ -3241,7 +3293,7 @@ def doUpgradeDedicatedDCDBInstance(args, parsed_globals):
3241
3293
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3242
3294
 
3243
3295
 
3244
- def doDescribeDatabaseTable(args, parsed_globals):
3296
+ def doModifyInstanceVip(args, parsed_globals):
3245
3297
  g_param = parse_global_arg(parsed_globals)
3246
3298
 
3247
3299
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3270,11 +3322,11 @@ def doDescribeDatabaseTable(args, parsed_globals):
3270
3322
  client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
3271
3323
  client._sdkVersion += ("_CLI_" + __version__)
3272
3324
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3273
- model = models.DescribeDatabaseTableRequest()
3325
+ model = models.ModifyInstanceVipRequest()
3274
3326
  model.from_json_string(json.dumps(args))
3275
3327
  start_time = time.time()
3276
3328
  while True:
3277
- rsp = client.DescribeDatabaseTable(model)
3329
+ rsp = client.ModifyInstanceVip(model)
3278
3330
  result = rsp.to_json_string()
3279
3331
  try:
3280
3332
  json_obj = json.loads(result)
@@ -3293,7 +3345,7 @@ def doDescribeDatabaseTable(args, parsed_globals):
3293
3345
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3294
3346
 
3295
3347
 
3296
- def doCancelDcnJob(args, parsed_globals):
3348
+ def doDescribeDatabaseTable(args, parsed_globals):
3297
3349
  g_param = parse_global_arg(parsed_globals)
3298
3350
 
3299
3351
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3322,11 +3374,11 @@ def doCancelDcnJob(args, parsed_globals):
3322
3374
  client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
3323
3375
  client._sdkVersion += ("_CLI_" + __version__)
3324
3376
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3325
- model = models.CancelDcnJobRequest()
3377
+ model = models.DescribeDatabaseTableRequest()
3326
3378
  model.from_json_string(json.dumps(args))
3327
3379
  start_time = time.time()
3328
3380
  while True:
3329
- rsp = client.CancelDcnJob(model)
3381
+ rsp = client.DescribeDatabaseTable(model)
3330
3382
  result = rsp.to_json_string()
3331
3383
  try:
3332
3384
  json_obj = json.loads(result)
@@ -3345,7 +3397,7 @@ def doCancelDcnJob(args, parsed_globals):
3345
3397
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3346
3398
 
3347
3399
 
3348
- def doTerminateDedicatedDBInstance(args, parsed_globals):
3400
+ def doCancelDcnJob(args, parsed_globals):
3349
3401
  g_param = parse_global_arg(parsed_globals)
3350
3402
 
3351
3403
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3374,11 +3426,11 @@ def doTerminateDedicatedDBInstance(args, parsed_globals):
3374
3426
  client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
3375
3427
  client._sdkVersion += ("_CLI_" + __version__)
3376
3428
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3377
- model = models.TerminateDedicatedDBInstanceRequest()
3429
+ model = models.CancelDcnJobRequest()
3378
3430
  model.from_json_string(json.dumps(args))
3379
3431
  start_time = time.time()
3380
3432
  while True:
3381
- rsp = client.TerminateDedicatedDBInstance(model)
3433
+ rsp = client.CancelDcnJob(model)
3382
3434
  result = rsp.to_json_string()
3383
3435
  try:
3384
3436
  json_obj = json.loads(result)
@@ -3397,7 +3449,7 @@ def doTerminateDedicatedDBInstance(args, parsed_globals):
3397
3449
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3398
3450
 
3399
3451
 
3400
- def doInitDCDBInstances(args, parsed_globals):
3452
+ def doTerminateDedicatedDBInstance(args, parsed_globals):
3401
3453
  g_param = parse_global_arg(parsed_globals)
3402
3454
 
3403
3455
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3426,11 +3478,11 @@ def doInitDCDBInstances(args, parsed_globals):
3426
3478
  client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
3427
3479
  client._sdkVersion += ("_CLI_" + __version__)
3428
3480
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3429
- model = models.InitDCDBInstancesRequest()
3481
+ model = models.TerminateDedicatedDBInstanceRequest()
3430
3482
  model.from_json_string(json.dumps(args))
3431
3483
  start_time = time.time()
3432
3484
  while True:
3433
- rsp = client.InitDCDBInstances(model)
3485
+ rsp = client.TerminateDedicatedDBInstance(model)
3434
3486
  result = rsp.to_json_string()
3435
3487
  try:
3436
3488
  json_obj = json.loads(result)
@@ -3449,7 +3501,7 @@ def doInitDCDBInstances(args, parsed_globals):
3449
3501
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3450
3502
 
3451
3503
 
3452
- def doDescribeDCDBInstanceDetail(args, parsed_globals):
3504
+ def doInitDCDBInstances(args, parsed_globals):
3453
3505
  g_param = parse_global_arg(parsed_globals)
3454
3506
 
3455
3507
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3478,11 +3530,11 @@ def doDescribeDCDBInstanceDetail(args, parsed_globals):
3478
3530
  client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
3479
3531
  client._sdkVersion += ("_CLI_" + __version__)
3480
3532
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3481
- model = models.DescribeDCDBInstanceDetailRequest()
3533
+ model = models.InitDCDBInstancesRequest()
3482
3534
  model.from_json_string(json.dumps(args))
3483
3535
  start_time = time.time()
3484
3536
  while True:
3485
- rsp = client.DescribeDCDBInstanceDetail(model)
3537
+ rsp = client.InitDCDBInstances(model)
3486
3538
  result = rsp.to_json_string()
3487
3539
  try:
3488
3540
  json_obj = json.loads(result)
@@ -3501,7 +3553,7 @@ def doDescribeDCDBInstanceDetail(args, parsed_globals):
3501
3553
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3502
3554
 
3503
3555
 
3504
- def doCreateAccount(args, parsed_globals):
3556
+ def doDescribeDCDBInstanceDetail(args, parsed_globals):
3505
3557
  g_param = parse_global_arg(parsed_globals)
3506
3558
 
3507
3559
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3530,11 +3582,11 @@ def doCreateAccount(args, parsed_globals):
3530
3582
  client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
3531
3583
  client._sdkVersion += ("_CLI_" + __version__)
3532
3584
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3533
- model = models.CreateAccountRequest()
3585
+ model = models.DescribeDCDBInstanceDetailRequest()
3534
3586
  model.from_json_string(json.dumps(args))
3535
3587
  start_time = time.time()
3536
3588
  while True:
3537
- rsp = client.CreateAccount(model)
3589
+ rsp = client.DescribeDCDBInstanceDetail(model)
3538
3590
  result = rsp.to_json_string()
3539
3591
  try:
3540
3592
  json_obj = json.loads(result)
@@ -3553,7 +3605,7 @@ def doCreateAccount(args, parsed_globals):
3553
3605
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3554
3606
 
3555
3607
 
3556
- def doModifyBackupConfigs(args, parsed_globals):
3608
+ def doCreateAccount(args, parsed_globals):
3557
3609
  g_param = parse_global_arg(parsed_globals)
3558
3610
 
3559
3611
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3582,11 +3634,11 @@ def doModifyBackupConfigs(args, parsed_globals):
3582
3634
  client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
3583
3635
  client._sdkVersion += ("_CLI_" + __version__)
3584
3636
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3585
- model = models.ModifyBackupConfigsRequest()
3637
+ model = models.CreateAccountRequest()
3586
3638
  model.from_json_string(json.dumps(args))
3587
3639
  start_time = time.time()
3588
3640
  while True:
3589
- rsp = client.ModifyBackupConfigs(model)
3641
+ rsp = client.CreateAccount(model)
3590
3642
  result = rsp.to_json_string()
3591
3643
  try:
3592
3644
  json_obj = json.loads(result)
@@ -3605,7 +3657,7 @@ def doModifyBackupConfigs(args, parsed_globals):
3605
3657
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3606
3658
 
3607
3659
 
3608
- def doModifyDBInstanceName(args, parsed_globals):
3660
+ def doModifyBackupConfigs(args, parsed_globals):
3609
3661
  g_param = parse_global_arg(parsed_globals)
3610
3662
 
3611
3663
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3634,11 +3686,11 @@ def doModifyDBInstanceName(args, parsed_globals):
3634
3686
  client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
3635
3687
  client._sdkVersion += ("_CLI_" + __version__)
3636
3688
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3637
- model = models.ModifyDBInstanceNameRequest()
3689
+ model = models.ModifyBackupConfigsRequest()
3638
3690
  model.from_json_string(json.dumps(args))
3639
3691
  start_time = time.time()
3640
3692
  while True:
3641
- rsp = client.ModifyDBInstanceName(model)
3693
+ rsp = client.ModifyBackupConfigs(model)
3642
3694
  result = rsp.to_json_string()
3643
3695
  try:
3644
3696
  json_obj = json.loads(result)
@@ -3657,7 +3709,7 @@ def doModifyDBInstanceName(args, parsed_globals):
3657
3709
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3658
3710
 
3659
3711
 
3660
- def doDescribeLogFileRetentionPeriod(args, parsed_globals):
3712
+ def doModifyDBInstanceName(args, parsed_globals):
3661
3713
  g_param = parse_global_arg(parsed_globals)
3662
3714
 
3663
3715
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3686,11 +3738,11 @@ def doDescribeLogFileRetentionPeriod(args, parsed_globals):
3686
3738
  client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
3687
3739
  client._sdkVersion += ("_CLI_" + __version__)
3688
3740
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3689
- model = models.DescribeLogFileRetentionPeriodRequest()
3741
+ model = models.ModifyDBInstanceNameRequest()
3690
3742
  model.from_json_string(json.dumps(args))
3691
3743
  start_time = time.time()
3692
3744
  while True:
3693
- rsp = client.DescribeLogFileRetentionPeriod(model)
3745
+ rsp = client.ModifyDBInstanceName(model)
3694
3746
  result = rsp.to_json_string()
3695
3747
  try:
3696
3748
  json_obj = json.loads(result)
@@ -3709,7 +3761,7 @@ def doDescribeLogFileRetentionPeriod(args, parsed_globals):
3709
3761
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3710
3762
 
3711
3763
 
3712
- def doCreateTmpDCDBInstance(args, parsed_globals):
3764
+ def doDescribeLogFileRetentionPeriod(args, parsed_globals):
3713
3765
  g_param = parse_global_arg(parsed_globals)
3714
3766
 
3715
3767
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3738,11 +3790,11 @@ def doCreateTmpDCDBInstance(args, parsed_globals):
3738
3790
  client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
3739
3791
  client._sdkVersion += ("_CLI_" + __version__)
3740
3792
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3741
- model = models.CreateTmpDCDBInstanceRequest()
3793
+ model = models.DescribeLogFileRetentionPeriodRequest()
3742
3794
  model.from_json_string(json.dumps(args))
3743
3795
  start_time = time.time()
3744
3796
  while True:
3745
- rsp = client.CreateTmpDCDBInstance(model)
3797
+ rsp = client.DescribeLogFileRetentionPeriod(model)
3746
3798
  result = rsp.to_json_string()
3747
3799
  try:
3748
3800
  json_obj = json.loads(result)
@@ -4007,9 +4059,10 @@ ACTION_MAP = {
4007
4059
  "DeleteAccount": doDeleteAccount,
4008
4060
  "DescribeDBParameters": doDescribeDBParameters,
4009
4061
  "ModifyDBInstancesProject": doModifyDBInstancesProject,
4010
- "ModifyInstanceVip": doModifyInstanceVip,
4062
+ "CreateTmpDCDBInstance": doCreateTmpDCDBInstance,
4011
4063
  "KillSession": doKillSession,
4012
4064
  "DescribeDBLogFiles": doDescribeDBLogFiles,
4065
+ "CreateOnlineDDLJob": doCreateOnlineDDLJob,
4013
4066
  "IsolateHourDCDBInstance": doIsolateHourDCDBInstance,
4014
4067
  "DescribeBackupConfigs": doDescribeBackupConfigs,
4015
4068
  "DescribeDBSyncMode": doDescribeDBSyncMode,
@@ -4026,22 +4079,23 @@ ACTION_MAP = {
4026
4079
  "DescribeProjects": doDescribeProjects,
4027
4080
  "CloseDBExtranetAccess": doCloseDBExtranetAccess,
4028
4081
  "DescribeBackupFiles": doDescribeBackupFiles,
4029
- "DestroyHourDCDBInstance": doDestroyHourDCDBInstance,
4030
4082
  "GrantAccountPrivileges": doGrantAccountPrivileges,
4031
4083
  "DescribeProjectSecurityGroups": doDescribeProjectSecurityGroups,
4032
4084
  "DescribeDCDBInstances": doDescribeDCDBInstances,
4033
4085
  "DescribeDcnDetail": doDescribeDcnDetail,
4034
4086
  "ModifyDBEncryptAttributes": doModifyDBEncryptAttributes,
4035
4087
  "CreateDedicatedClusterDCDBInstance": doCreateDedicatedClusterDCDBInstance,
4088
+ "IsolateDedicatedDBInstance": doIsolateDedicatedDBInstance,
4036
4089
  "CopyAccountPrivileges": doCopyAccountPrivileges,
4037
4090
  "DescribeDBTmpInstances": doDescribeDBTmpInstances,
4038
4091
  "DescribeDCDBShards": doDescribeDCDBShards,
4039
4092
  "CreateDCDBInstance": doCreateDCDBInstance,
4040
4093
  "DescribeDatabases": doDescribeDatabases,
4041
- "IsolateDedicatedDBInstance": doIsolateDedicatedDBInstance,
4094
+ "DestroyHourDCDBInstance": doDestroyHourDCDBInstance,
4042
4095
  "IsolateDCDBInstance": doIsolateDCDBInstance,
4043
4096
  "ModifyInstanceVport": doModifyInstanceVport,
4044
4097
  "UpgradeDedicatedDCDBInstance": doUpgradeDedicatedDCDBInstance,
4098
+ "ModifyInstanceVip": doModifyInstanceVip,
4045
4099
  "DescribeDatabaseTable": doDescribeDatabaseTable,
4046
4100
  "CancelDcnJob": doCancelDcnJob,
4047
4101
  "TerminateDedicatedDBInstance": doTerminateDedicatedDBInstance,
@@ -4051,7 +4105,6 @@ ACTION_MAP = {
4051
4105
  "ModifyBackupConfigs": doModifyBackupConfigs,
4052
4106
  "ModifyDBInstanceName": doModifyDBInstanceName,
4053
4107
  "DescribeLogFileRetentionPeriod": doDescribeLogFileRetentionPeriod,
4054
- "CreateTmpDCDBInstance": doCreateTmpDCDBInstance,
4055
4108
  "FlushBinlog": doFlushBinlog,
4056
4109
  "DescribeDBEncryptAttributes": doDescribeDBEncryptAttributes,
4057
4110
  "DescribeDCDBRenewalPrice": doDescribeDCDBRenewalPrice,