tccli 3.0.1391.1__py2.py3-none-any.whl → 3.0.1414.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of tccli might be problematic. Click here for more details.

Files changed (226) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +2 -1
  3. tccli/services/ai3d/v20250513/api.json +22 -4
  4. tccli/services/aiart/aiart_client.py +173 -67
  5. tccli/services/aiart/v20221229/api.json +193 -0
  6. tccli/services/aiart/v20221229/examples.json +16 -0
  7. tccli/services/apm/apm_client.py +53 -0
  8. tccli/services/apm/v20210622/api.json +354 -0
  9. tccli/services/apm/v20210622/examples.json +8 -0
  10. tccli/services/asr/v20190614/api.json +3 -3
  11. tccli/services/autoscaling/v20180419/api.json +24 -2
  12. tccli/services/batch/v20170312/api.json +1 -1
  13. tccli/services/bda/bda_client.py +15 -704
  14. tccli/services/bda/v20200324/api.json +107 -1819
  15. tccli/services/bda/v20200324/examples.json +0 -176
  16. tccli/services/billing/billing_client.py +326 -8
  17. tccli/services/billing/v20180709/api.json +2200 -255
  18. tccli/services/billing/v20180709/examples.json +48 -0
  19. tccli/services/cam/v20190116/api.json +4 -4
  20. tccli/services/captcha/v20190722/api.json +3 -3
  21. tccli/services/cat/v20180409/api.json +7 -7
  22. tccli/services/ccc/ccc_client.py +235 -76
  23. tccli/services/ccc/v20200210/api.json +502 -18
  24. tccli/services/ccc/v20200210/examples.json +24 -0
  25. tccli/services/cdb/cdb_client.py +106 -0
  26. tccli/services/cdb/v20170320/api.json +257 -44
  27. tccli/services/cdb/v20170320/examples.json +22 -6
  28. tccli/services/cdn/cdn_client.py +4 -163
  29. tccli/services/cdn/v20180606/api.json +61 -310
  30. tccli/services/cdn/v20180606/examples.json +1 -25
  31. tccli/services/cdwdoris/v20211228/api.json +51 -12
  32. tccli/services/cdwpg/v20201230/api.json +11 -1
  33. tccli/services/cdwpg/v20201230/examples.json +1 -1
  34. tccli/services/cfg/v20210820/api.json +11 -1
  35. tccli/services/cfs/cfs_client.py +41 -94
  36. tccli/services/cfs/v20190719/api.json +171 -55
  37. tccli/services/cfs/v20190719/examples.json +1 -9
  38. tccli/services/cfw/v20190904/api.json +122 -10
  39. tccli/services/ckafka/ckafka_client.py +188 -29
  40. tccli/services/ckafka/v20190819/api.json +277 -4
  41. tccli/services/ckafka/v20190819/examples.json +25 -1
  42. tccli/services/clb/clb_client.py +0 -265
  43. tccli/services/clb/v20180317/api.json +130 -296
  44. tccli/services/clb/v20180317/examples.json +12 -40
  45. tccli/services/cloudapp/v20220530/api.json +55 -0
  46. tccli/services/cloudaudit/v20190319/api.json +11 -0
  47. tccli/services/cloudhsm/v20191112/api.json +10 -10
  48. tccli/services/cls/v20201016/api.json +63 -45
  49. tccli/services/cls/v20201016/examples.json +10 -4
  50. tccli/services/csip/v20221121/api.json +53 -3
  51. tccli/services/ctem/v20231128/api.json +320 -0
  52. tccli/services/ctem/v20231128/examples.json +3 -3
  53. tccli/services/cvm/cvm_client.py +0 -212
  54. tccli/services/cvm/v20170312/api.json +91 -843
  55. tccli/services/cvm/v20170312/examples.json +32 -58
  56. tccli/services/cynosdb/cynosdb_client.py +167 -8
  57. tccli/services/cynosdb/v20190107/api.json +1126 -148
  58. tccli/services/cynosdb/v20190107/examples.json +31 -7
  59. tccli/services/dbbrain/dbbrain_client.py +246 -87
  60. tccli/services/dbbrain/v20191016/api.json +74 -62
  61. tccli/services/dbbrain/v20191016/examples.json +1 -1
  62. tccli/services/dbbrain/v20210527/api.json +601 -177
  63. tccli/services/dbbrain/v20210527/examples.json +28 -4
  64. tccli/services/dc/v20180410/api.json +101 -3
  65. tccli/services/dcdb/v20180411/api.json +1 -1
  66. tccli/services/dlc/dlc_client.py +53 -0
  67. tccli/services/dlc/v20210125/api.json +237 -24
  68. tccli/services/dlc/v20210125/examples.json +12 -4
  69. tccli/services/dnspod/dnspod_client.py +106 -0
  70. tccli/services/dnspod/v20210323/api.json +126 -20
  71. tccli/services/dnspod/v20210323/examples.json +17 -7
  72. tccli/services/dsgc/v20190723/api.json +73 -15
  73. tccli/services/dts/v20180330/api.json +4 -4
  74. tccli/services/dts/v20211206/api.json +408 -127
  75. tccli/services/dts/v20211206/examples.json +15 -9
  76. tccli/services/eb/v20210416/api.json +41 -1
  77. tccli/services/eb/v20210416/examples.json +1 -1
  78. tccli/services/emr/v20190103/api.json +56 -9
  79. tccli/services/emr/v20190103/examples.json +5 -5
  80. tccli/services/es/es_client.py +273 -8
  81. tccli/services/es/v20180416/api.json +845 -33
  82. tccli/services/es/v20180416/examples.json +33 -1
  83. tccli/services/es/v20250101/api.json +135 -2
  84. tccli/services/es/v20250101/examples.json +8 -0
  85. tccli/services/ess/ess_client.py +509 -32
  86. tccli/services/ess/v20201111/api.json +1366 -113
  87. tccli/services/ess/v20201111/examples.json +94 -10
  88. tccli/services/essbasic/v20210526/api.json +265 -27
  89. tccli/services/essbasic/v20210526/examples.json +12 -12
  90. tccli/services/facefusion/v20220927/api.json +1 -1
  91. tccli/services/gaap/v20180529/api.json +18 -8
  92. tccli/services/gme/gme_client.py +53 -0
  93. tccli/services/gme/v20180711/api.json +241 -1
  94. tccli/services/gme/v20180711/examples.json +8 -0
  95. tccli/services/gs/gs_client.py +216 -4
  96. tccli/services/gs/v20191118/api.json +202 -1
  97. tccli/services/gs/v20191118/examples.json +32 -0
  98. tccli/services/gwlb/gwlb_client.py +53 -0
  99. tccli/services/gwlb/v20240906/api.json +150 -0
  100. tccli/services/gwlb/v20240906/examples.json +8 -0
  101. tccli/services/hai/v20230812/api.json +5 -5
  102. tccli/services/hunyuan/v20230901/api.json +3 -3
  103. tccli/services/hunyuan/v20230901/examples.json +1 -1
  104. tccli/services/iai/v20180301/api.json +227 -207
  105. tccli/services/iai/v20180301/examples.json +26 -26
  106. tccli/services/iai/v20200303/api.json +4 -4
  107. tccli/services/iai/v20200303/examples.json +1 -1
  108. tccli/services/ioa/ioa_client.py +265 -0
  109. tccli/services/ioa/v20220601/api.json +781 -85
  110. tccli/services/ioa/v20220601/examples.json +46 -0
  111. tccli/services/iotexplorer/iotexplorer_client.py +387 -16
  112. tccli/services/iotexplorer/v20190423/api.json +1183 -63
  113. tccli/services/iotexplorer/v20190423/examples.json +92 -0
  114. tccli/services/keewidb/v20220308/api.json +69 -17
  115. tccli/services/keewidb/v20220308/examples.json +5 -5
  116. tccli/services/lcic/v20220817/api.json +61 -15
  117. tccli/services/lighthouse/v20200324/api.json +193 -24
  118. tccli/services/lighthouse/v20200324/examples.json +9 -3
  119. tccli/services/live/v20180801/api.json +6 -6
  120. tccli/services/live/v20180801/examples.json +7 -1
  121. tccli/services/lke/lke_client.py +40 -93
  122. tccli/services/lke/v20231130/api.json +943 -390
  123. tccli/services/lke/v20231130/examples.json +38 -46
  124. tccli/services/lkeap/v20240522/api.json +39 -12
  125. tccli/services/lkeap/v20240522/examples.json +12 -0
  126. tccli/services/mariadb/v20170312/api.json +1 -1
  127. tccli/services/mna/v20210119/api.json +11 -2
  128. tccli/services/mna/v20210119/examples.json +1 -1
  129. tccli/services/mongodb/mongodb_client.py +334 -16
  130. tccli/services/mongodb/v20190725/api.json +1092 -383
  131. tccli/services/mongodb/v20190725/examples.json +69 -21
  132. tccli/services/monitor/monitor_client.py +106 -0
  133. tccli/services/monitor/v20180724/api.json +383 -12
  134. tccli/services/monitor/v20180724/examples.json +24 -2
  135. tccli/services/mps/mps_client.py +220 -8
  136. tccli/services/mps/v20190612/api.json +1999 -179
  137. tccli/services/mps/v20190612/examples.json +56 -6
  138. tccli/services/mqtt/v20240516/api.json +10 -0
  139. tccli/services/mqtt/v20240516/examples.json +3 -9
  140. tccli/services/nlp/v20190408/api.json +6 -6
  141. tccli/services/oceanus/oceanus_client.py +318 -0
  142. tccli/services/oceanus/v20190422/api.json +461 -26
  143. tccli/services/oceanus/v20190422/examples.json +50 -2
  144. tccli/services/ocr/ocr_client.py +41 -253
  145. tccli/services/ocr/v20181119/api.json +153 -659
  146. tccli/services/ocr/v20181119/examples.json +8 -40
  147. tccli/services/omics/v20221128/api.json +90 -7
  148. tccli/services/organization/v20210331/api.json +46 -7
  149. tccli/services/postgres/v20170312/api.json +333 -77
  150. tccli/services/postgres/v20170312/examples.json +37 -31
  151. tccli/services/privatedns/privatedns_client.py +641 -58
  152. tccli/services/privatedns/v20201028/api.json +930 -19
  153. tccli/services/privatedns/v20201028/examples.json +91 -3
  154. tccli/services/pts/v20210728/api.json +2 -2
  155. tccli/services/redis/v20180412/api.json +303 -109
  156. tccli/services/redis/v20180412/examples.json +12 -12
  157. tccli/services/region/v20220627/api.json +1 -1
  158. tccli/services/rum/v20210622/api.json +22 -4
  159. tccli/services/rum/v20210622/examples.json +2 -2
  160. tccli/services/sms/v20190711/api.json +12 -12
  161. tccli/services/sms/v20190711/examples.json +9 -3
  162. tccli/services/sms/v20210111/api.json +13 -13
  163. tccli/services/sms/v20210111/examples.json +8 -2
  164. tccli/services/sqlserver/v20180328/api.json +46 -7
  165. tccli/services/sqlserver/v20180328/examples.json +2 -2
  166. tccli/services/ssl/v20191205/api.json +28 -0
  167. tccli/services/svp/v20240125/api.json +14 -4
  168. tccli/services/tag/v20180813/api.json +3 -3
  169. tccli/services/tat/v20201028/api.json +22 -3
  170. tccli/services/tcb/v20180608/api.json +1 -1
  171. tccli/services/tcss/tcss_client.py +228 -69
  172. tccli/services/tcss/v20201101/api.json +273 -25
  173. tccli/services/tcss/v20201101/examples.json +26 -2
  174. tccli/services/teo/teo_client.py +317 -52
  175. tccli/services/teo/v20220901/api.json +1824 -242
  176. tccli/services/teo/v20220901/examples.json +109 -21
  177. tccli/services/thpc/thpc_client.py +57 -4
  178. tccli/services/thpc/v20230321/api.json +163 -21
  179. tccli/services/thpc/v20230321/examples.json +13 -5
  180. tccli/services/tione/tione_client.py +163 -4
  181. tccli/services/tione/v20211111/api.json +285 -21
  182. tccli/services/tione/v20211111/examples.json +27 -3
  183. tccli/services/tke/tke_client.py +8 -8
  184. tccli/services/tke/v20180525/api.json +168 -130
  185. tccli/services/tke/v20180525/examples.json +20 -20
  186. tccli/services/tke/v20220501/api.json +215 -3
  187. tccli/services/tke/v20220501/examples.json +8 -0
  188. tccli/services/tms/tms_client.py +106 -0
  189. tccli/services/tms/v20201229/api.json +249 -3
  190. tccli/services/tms/v20201229/examples.json +16 -0
  191. tccli/services/tmt/v20180321/api.json +78 -1
  192. tccli/services/trabbit/v20230418/api.json +271 -4
  193. tccli/services/trabbit/v20230418/examples.json +9 -3
  194. tccli/services/trocket/v20230308/api.json +4 -4
  195. tccli/services/trro/trro_client.py +106 -0
  196. tccli/services/trro/v20220325/api.json +456 -0
  197. tccli/services/trro/v20220325/examples.json +16 -0
  198. tccli/services/trtc/v20190722/api.json +197 -49
  199. tccli/services/trtc/v20190722/examples.json +4 -4
  200. tccli/services/tse/v20201207/api.json +69 -2
  201. tccli/services/tse/v20201207/examples.json +3 -3
  202. tccli/services/tsf/v20180326/api.json +70 -7
  203. tccli/services/tsf/v20180326/examples.json +2 -2
  204. tccli/services/vclm/v20240523/api.json +145 -0
  205. tccli/services/vclm/v20240523/examples.json +16 -0
  206. tccli/services/vclm/vclm_client.py +106 -0
  207. tccli/services/vcube/v20220410/api.json +1 -1
  208. tccli/services/vod/v20180717/api.json +7 -7
  209. tccli/services/vpc/v20170312/api.json +1216 -70
  210. tccli/services/vpc/v20170312/examples.json +139 -3
  211. tccli/services/vpc/vpc_client.py +1023 -122
  212. tccli/services/vrs/v20200824/api.json +11 -11
  213. tccli/services/vrs/v20200824/examples.json +1 -1
  214. tccli/services/vtc/v20240223/api.json +14 -14
  215. tccli/services/waf/v20180125/api.json +812 -143
  216. tccli/services/waf/v20180125/examples.json +2 -2
  217. tccli/services/wedata/v20210820/api.json +1281 -601
  218. tccli/services/wedata/v20210820/examples.json +127 -157
  219. tccli/services/wedata/v20250806/api.json +19335 -0
  220. tccli/services/wedata/v20250806/examples.json +999 -0
  221. tccli/services/wedata/wedata_client.py +7072 -1131
  222. {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/METADATA +9 -7
  223. {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/RECORD +226 -224
  224. {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/WHEEL +1 -1
  225. {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/entry_points.txt +0 -0
  226. {tccli-3.0.1391.1.dist-info/license_files → tccli-3.0.1414.1.dist-info/licenses}/LICENSE +0 -0
@@ -537,58 +537,6 @@ def doStopWorkflowRun(args, parsed_globals):
537
537
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
538
538
 
539
539
 
540
- def doModifyAgent(args, parsed_globals):
541
- g_param = parse_global_arg(parsed_globals)
542
-
543
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
544
- cred = credential.CVMRoleCredential()
545
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
546
- cred = credential.STSAssumeRoleCredential(
547
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
548
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
549
- )
550
- 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):
551
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
552
- else:
553
- cred = credential.Credential(
554
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
555
- )
556
- http_profile = HttpProfile(
557
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
558
- reqMethod="POST",
559
- endpoint=g_param[OptionsDefine.Endpoint],
560
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
561
- )
562
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
563
- if g_param[OptionsDefine.Language]:
564
- profile.language = g_param[OptionsDefine.Language]
565
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
566
- client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
567
- client._sdkVersion += ("_CLI_" + __version__)
568
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
569
- model = models.ModifyAgentRequest()
570
- model.from_json_string(json.dumps(args))
571
- start_time = time.time()
572
- while True:
573
- rsp = client.ModifyAgent(model)
574
- result = rsp.to_json_string()
575
- try:
576
- json_obj = json.loads(result)
577
- except TypeError as e:
578
- json_obj = json.loads(result.decode('utf-8')) # python3.3
579
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
580
- break
581
- cur_time = time.time()
582
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
583
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
584
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
585
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
586
- else:
587
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
588
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
589
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
590
-
591
-
592
540
  def doCreateAttributeLabel(args, parsed_globals):
593
541
  g_param = parse_global_arg(parsed_globals)
594
542
 
@@ -2825,7 +2773,7 @@ def doUpdateSharedKnowledge(args, parsed_globals):
2825
2773
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2826
2774
 
2827
2775
 
2828
- def doExportAttributeLabel(args, parsed_globals):
2776
+ def doListChannel(args, parsed_globals):
2829
2777
  g_param = parse_global_arg(parsed_globals)
2830
2778
 
2831
2779
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2854,11 +2802,11 @@ def doExportAttributeLabel(args, parsed_globals):
2854
2802
  client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
2855
2803
  client._sdkVersion += ("_CLI_" + __version__)
2856
2804
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2857
- model = models.ExportAttributeLabelRequest()
2805
+ model = models.ListChannelRequest()
2858
2806
  model.from_json_string(json.dumps(args))
2859
2807
  start_time = time.time()
2860
2808
  while True:
2861
- rsp = client.ExportAttributeLabel(model)
2809
+ rsp = client.ListChannel(model)
2862
2810
  result = rsp.to_json_string()
2863
2811
  try:
2864
2812
  json_obj = json.loads(result)
@@ -2877,7 +2825,7 @@ def doExportAttributeLabel(args, parsed_globals):
2877
2825
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2878
2826
 
2879
2827
 
2880
- def doDescribeRefer(args, parsed_globals):
2828
+ def doExportAttributeLabel(args, parsed_globals):
2881
2829
  g_param = parse_global_arg(parsed_globals)
2882
2830
 
2883
2831
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2906,11 +2854,11 @@ def doDescribeRefer(args, parsed_globals):
2906
2854
  client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
2907
2855
  client._sdkVersion += ("_CLI_" + __version__)
2908
2856
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2909
- model = models.DescribeReferRequest()
2857
+ model = models.ExportAttributeLabelRequest()
2910
2858
  model.from_json_string(json.dumps(args))
2911
2859
  start_time = time.time()
2912
2860
  while True:
2913
- rsp = client.DescribeRefer(model)
2861
+ rsp = client.ExportAttributeLabel(model)
2914
2862
  result = rsp.to_json_string()
2915
2863
  try:
2916
2864
  json_obj = json.loads(result)
@@ -2929,7 +2877,7 @@ def doDescribeRefer(args, parsed_globals):
2929
2877
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2930
2878
 
2931
2879
 
2932
- def doDescribeKnowledgeUsage(args, parsed_globals):
2880
+ def doDescribeRefer(args, parsed_globals):
2933
2881
  g_param = parse_global_arg(parsed_globals)
2934
2882
 
2935
2883
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2958,11 +2906,11 @@ def doDescribeKnowledgeUsage(args, parsed_globals):
2958
2906
  client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
2959
2907
  client._sdkVersion += ("_CLI_" + __version__)
2960
2908
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2961
- model = models.DescribeKnowledgeUsageRequest()
2909
+ model = models.DescribeReferRequest()
2962
2910
  model.from_json_string(json.dumps(args))
2963
2911
  start_time = time.time()
2964
2912
  while True:
2965
- rsp = client.DescribeKnowledgeUsage(model)
2913
+ rsp = client.DescribeRefer(model)
2966
2914
  result = rsp.to_json_string()
2967
2915
  try:
2968
2916
  json_obj = json.loads(result)
@@ -2981,7 +2929,7 @@ def doDescribeKnowledgeUsage(args, parsed_globals):
2981
2929
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2982
2930
 
2983
2931
 
2984
- def doDeleteSharedKnowledge(args, parsed_globals):
2932
+ def doDescribeKnowledgeUsage(args, parsed_globals):
2985
2933
  g_param = parse_global_arg(parsed_globals)
2986
2934
 
2987
2935
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3010,11 +2958,11 @@ def doDeleteSharedKnowledge(args, parsed_globals):
3010
2958
  client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
3011
2959
  client._sdkVersion += ("_CLI_" + __version__)
3012
2960
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3013
- model = models.DeleteSharedKnowledgeRequest()
2961
+ model = models.DescribeKnowledgeUsageRequest()
3014
2962
  model.from_json_string(json.dumps(args))
3015
2963
  start_time = time.time()
3016
2964
  while True:
3017
- rsp = client.DeleteSharedKnowledge(model)
2965
+ rsp = client.DescribeKnowledgeUsage(model)
3018
2966
  result = rsp.to_json_string()
3019
2967
  try:
3020
2968
  json_obj = json.loads(result)
@@ -3033,7 +2981,7 @@ def doDeleteSharedKnowledge(args, parsed_globals):
3033
2981
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3034
2982
 
3035
2983
 
3036
- def doDescribeRobotBizIDByAppKey(args, parsed_globals):
2984
+ def doDeleteSharedKnowledge(args, parsed_globals):
3037
2985
  g_param = parse_global_arg(parsed_globals)
3038
2986
 
3039
2987
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3062,11 +3010,11 @@ def doDescribeRobotBizIDByAppKey(args, parsed_globals):
3062
3010
  client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
3063
3011
  client._sdkVersion += ("_CLI_" + __version__)
3064
3012
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3065
- model = models.DescribeRobotBizIDByAppKeyRequest()
3013
+ model = models.DeleteSharedKnowledgeRequest()
3066
3014
  model.from_json_string(json.dumps(args))
3067
3015
  start_time = time.time()
3068
3016
  while True:
3069
- rsp = client.DescribeRobotBizIDByAppKey(model)
3017
+ rsp = client.DeleteSharedKnowledge(model)
3070
3018
  result = rsp.to_json_string()
3071
3019
  try:
3072
3020
  json_obj = json.loads(result)
@@ -3085,7 +3033,7 @@ def doDescribeRobotBizIDByAppKey(args, parsed_globals):
3085
3033
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3086
3034
 
3087
3035
 
3088
- def doListDoc(args, parsed_globals):
3036
+ def doDescribeRobotBizIDByAppKey(args, parsed_globals):
3089
3037
  g_param = parse_global_arg(parsed_globals)
3090
3038
 
3091
3039
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3114,11 +3062,11 @@ def doListDoc(args, parsed_globals):
3114
3062
  client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
3115
3063
  client._sdkVersion += ("_CLI_" + __version__)
3116
3064
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3117
- model = models.ListDocRequest()
3065
+ model = models.DescribeRobotBizIDByAppKeyRequest()
3118
3066
  model.from_json_string(json.dumps(args))
3119
3067
  start_time = time.time()
3120
3068
  while True:
3121
- rsp = client.ListDoc(model)
3069
+ rsp = client.DescribeRobotBizIDByAppKey(model)
3122
3070
  result = rsp.to_json_string()
3123
3071
  try:
3124
3072
  json_obj = json.loads(result)
@@ -3137,7 +3085,7 @@ def doListDoc(args, parsed_globals):
3137
3085
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3138
3086
 
3139
3087
 
3140
- def doCreateWorkflowRun(args, parsed_globals):
3088
+ def doListDoc(args, parsed_globals):
3141
3089
  g_param = parse_global_arg(parsed_globals)
3142
3090
 
3143
3091
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3166,11 +3114,11 @@ def doCreateWorkflowRun(args, parsed_globals):
3166
3114
  client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
3167
3115
  client._sdkVersion += ("_CLI_" + __version__)
3168
3116
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3169
- model = models.CreateWorkflowRunRequest()
3117
+ model = models.ListDocRequest()
3170
3118
  model.from_json_string(json.dumps(args))
3171
3119
  start_time = time.time()
3172
3120
  while True:
3173
- rsp = client.CreateWorkflowRun(model)
3121
+ rsp = client.ListDoc(model)
3174
3122
  result = rsp.to_json_string()
3175
3123
  try:
3176
3124
  json_obj = json.loads(result)
@@ -3189,7 +3137,7 @@ def doCreateWorkflowRun(args, parsed_globals):
3189
3137
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3190
3138
 
3191
3139
 
3192
- def doListQA(args, parsed_globals):
3140
+ def doCreateWorkflowRun(args, parsed_globals):
3193
3141
  g_param = parse_global_arg(parsed_globals)
3194
3142
 
3195
3143
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3218,11 +3166,11 @@ def doListQA(args, parsed_globals):
3218
3166
  client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
3219
3167
  client._sdkVersion += ("_CLI_" + __version__)
3220
3168
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3221
- model = models.ListQARequest()
3169
+ model = models.CreateWorkflowRunRequest()
3222
3170
  model.from_json_string(json.dumps(args))
3223
3171
  start_time = time.time()
3224
3172
  while True:
3225
- rsp = client.ListQA(model)
3173
+ rsp = client.CreateWorkflowRun(model)
3226
3174
  result = rsp.to_json_string()
3227
3175
  try:
3228
3176
  json_obj = json.loads(result)
@@ -3241,7 +3189,7 @@ def doListQA(args, parsed_globals):
3241
3189
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3242
3190
 
3243
3191
 
3244
- def doCreateVar(args, parsed_globals):
3192
+ def doListQA(args, parsed_globals):
3245
3193
  g_param = parse_global_arg(parsed_globals)
3246
3194
 
3247
3195
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3270,11 +3218,11 @@ def doCreateVar(args, parsed_globals):
3270
3218
  client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
3271
3219
  client._sdkVersion += ("_CLI_" + __version__)
3272
3220
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3273
- model = models.CreateVarRequest()
3221
+ model = models.ListQARequest()
3274
3222
  model.from_json_string(json.dumps(args))
3275
3223
  start_time = time.time()
3276
3224
  while True:
3277
- rsp = client.CreateVar(model)
3225
+ rsp = client.ListQA(model)
3278
3226
  result = rsp.to_json_string()
3279
3227
  try:
3280
3228
  json_obj = json.loads(result)
@@ -3293,7 +3241,7 @@ def doCreateVar(args, parsed_globals):
3293
3241
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3294
3242
 
3295
3243
 
3296
- def doGetLikeDataCount(args, parsed_globals):
3244
+ def doCreateVar(args, parsed_globals):
3297
3245
  g_param = parse_global_arg(parsed_globals)
3298
3246
 
3299
3247
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3322,11 +3270,11 @@ def doGetLikeDataCount(args, parsed_globals):
3322
3270
  client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
3323
3271
  client._sdkVersion += ("_CLI_" + __version__)
3324
3272
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3325
- model = models.GetLikeDataCountRequest()
3273
+ model = models.CreateVarRequest()
3326
3274
  model.from_json_string(json.dumps(args))
3327
3275
  start_time = time.time()
3328
3276
  while True:
3329
- rsp = client.GetLikeDataCount(model)
3277
+ rsp = client.CreateVar(model)
3330
3278
  result = rsp.to_json_string()
3331
3279
  try:
3332
3280
  json_obj = json.loads(result)
@@ -3345,7 +3293,7 @@ def doGetLikeDataCount(args, parsed_globals):
3345
3293
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3346
3294
 
3347
3295
 
3348
- def doModifyDocCate(args, parsed_globals):
3296
+ def doGetLikeDataCount(args, parsed_globals):
3349
3297
  g_param = parse_global_arg(parsed_globals)
3350
3298
 
3351
3299
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3374,11 +3322,11 @@ def doModifyDocCate(args, parsed_globals):
3374
3322
  client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
3375
3323
  client._sdkVersion += ("_CLI_" + __version__)
3376
3324
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3377
- model = models.ModifyDocCateRequest()
3325
+ model = models.GetLikeDataCountRequest()
3378
3326
  model.from_json_string(json.dumps(args))
3379
3327
  start_time = time.time()
3380
3328
  while True:
3381
- rsp = client.ModifyDocCate(model)
3329
+ rsp = client.GetLikeDataCount(model)
3382
3330
  result = rsp.to_json_string()
3383
3331
  try:
3384
3332
  json_obj = json.loads(result)
@@ -3397,7 +3345,7 @@ def doModifyDocCate(args, parsed_globals):
3397
3345
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3398
3346
 
3399
3347
 
3400
- def doExportQAList(args, parsed_globals):
3348
+ def doModifyDocCate(args, parsed_globals):
3401
3349
  g_param = parse_global_arg(parsed_globals)
3402
3350
 
3403
3351
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3426,11 +3374,11 @@ def doExportQAList(args, parsed_globals):
3426
3374
  client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
3427
3375
  client._sdkVersion += ("_CLI_" + __version__)
3428
3376
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3429
- model = models.ExportQAListRequest()
3377
+ model = models.ModifyDocCateRequest()
3430
3378
  model.from_json_string(json.dumps(args))
3431
3379
  start_time = time.time()
3432
3380
  while True:
3433
- rsp = client.ExportQAList(model)
3381
+ rsp = client.ModifyDocCate(model)
3434
3382
  result = rsp.to_json_string()
3435
3383
  try:
3436
3384
  json_obj = json.loads(result)
@@ -3449,7 +3397,7 @@ def doExportQAList(args, parsed_globals):
3449
3397
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3450
3398
 
3451
3399
 
3452
- def doCreateAgent(args, parsed_globals):
3400
+ def doExportQAList(args, parsed_globals):
3453
3401
  g_param = parse_global_arg(parsed_globals)
3454
3402
 
3455
3403
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3478,11 +3426,11 @@ def doCreateAgent(args, parsed_globals):
3478
3426
  client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
3479
3427
  client._sdkVersion += ("_CLI_" + __version__)
3480
3428
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3481
- model = models.CreateAgentRequest()
3429
+ model = models.ExportQAListRequest()
3482
3430
  model.from_json_string(json.dumps(args))
3483
3431
  start_time = time.time()
3484
3432
  while True:
3485
- rsp = client.CreateAgent(model)
3433
+ rsp = client.ExportQAList(model)
3486
3434
  result = rsp.to_json_string()
3487
3435
  try:
3488
3436
  json_obj = json.loads(result)
@@ -5550,7 +5498,6 @@ ACTION_MAP = {
5550
5498
  "CreateRelease": doCreateRelease,
5551
5499
  "DeleteQA": doDeleteQA,
5552
5500
  "StopWorkflowRun": doStopWorkflowRun,
5553
- "ModifyAgent": doModifyAgent,
5554
5501
  "CreateAttributeLabel": doCreateAttributeLabel,
5555
5502
  "ListDocCate": doListDocCate,
5556
5503
  "ListSharedKnowledge": doListSharedKnowledge,
@@ -5594,6 +5541,7 @@ ACTION_MAP = {
5594
5541
  "DeleteAgent": doDeleteAgent,
5595
5542
  "CreateQACate": doCreateQACate,
5596
5543
  "UpdateSharedKnowledge": doUpdateSharedKnowledge,
5544
+ "ListChannel": doListChannel,
5597
5545
  "ExportAttributeLabel": doExportAttributeLabel,
5598
5546
  "DescribeRefer": doDescribeRefer,
5599
5547
  "DescribeKnowledgeUsage": doDescribeKnowledgeUsage,
@@ -5606,7 +5554,6 @@ ACTION_MAP = {
5606
5554
  "GetLikeDataCount": doGetLikeDataCount,
5607
5555
  "ModifyDocCate": doModifyDocCate,
5608
5556
  "ExportQAList": doExportQAList,
5609
- "CreateAgent": doCreateAgent,
5610
5557
  "UploadAttributeLabel": doUploadAttributeLabel,
5611
5558
  "DescribeReleaseInfo": doDescribeReleaseInfo,
5612
5559
  "GetDocPreview": doGetDocPreview,