tccli 3.0.1168.1__py2.py3-none-any.whl → 3.0.1170.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 (35) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aiart/v20221229/api.json +18 -0
  3. tccli/services/cls/cls_client.py +224 -12
  4. tccli/services/cls/v20201016/api.json +346 -6
  5. tccli/services/cls/v20201016/examples.json +32 -0
  6. tccli/services/cwp/cwp_client.py +118 -65
  7. tccli/services/cwp/v20180228/api.json +135 -2
  8. tccli/services/cwp/v20180228/examples.json +8 -0
  9. tccli/services/emr/emr_client.py +163 -4
  10. tccli/services/emr/v20190103/api.json +880 -11
  11. tccli/services/emr/v20190103/examples.json +24 -0
  12. tccli/services/essbasic/v20210526/api.json +1 -1
  13. tccli/services/hunyuan/v20230901/api.json +2 -2
  14. tccli/services/ioa/v20220601/api.json +5 -5
  15. tccli/services/organization/organization_client.py +167 -8
  16. tccli/services/organization/v20210331/api.json +307 -0
  17. tccli/services/organization/v20210331/examples.json +24 -0
  18. tccli/services/pts/v20210728/api.json +10 -10
  19. tccli/services/pts/v20210728/examples.json +14 -14
  20. tccli/services/smh/smh_client.py +281 -16
  21. tccli/services/smh/v20210712/api.json +806 -2
  22. tccli/services/smh/v20210712/examples.json +40 -0
  23. tccli/services/tcss/v20201101/api.json +156 -53
  24. tccli/services/tcss/v20201101/examples.json +39 -9
  25. tccli/services/trocket/trocket_client.py +53 -0
  26. tccli/services/trocket/v20230308/api.json +71 -0
  27. tccli/services/trocket/v20230308/examples.json +8 -0
  28. tccli/services/trtc/v20190722/api.json +7 -7
  29. tccli/services/vod/v20180717/api.json +12 -0
  30. tccli/services/waf/v20180125/api.json +12 -6
  31. {tccli-3.0.1168.1.dist-info → tccli-3.0.1170.1.dist-info}/METADATA +2 -2
  32. {tccli-3.0.1168.1.dist-info → tccli-3.0.1170.1.dist-info}/RECORD +35 -35
  33. {tccli-3.0.1168.1.dist-info → tccli-3.0.1170.1.dist-info}/WHEEL +0 -0
  34. {tccli-3.0.1168.1.dist-info → tccli-3.0.1170.1.dist-info}/entry_points.txt +0 -0
  35. {tccli-3.0.1168.1.dist-info → tccli-3.0.1170.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1168.1'
1
+ __version__ = '3.0.1170.1'
@@ -131,6 +131,15 @@
131
131
  "required": false,
132
132
  "type": "int"
133
133
  },
134
+ {
135
+ "disabled": false,
136
+ "document": "标识内容设置。\n默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。",
137
+ "example": "无",
138
+ "member": "LogoParam",
139
+ "name": "LogoParam",
140
+ "required": false,
141
+ "type": "object"
142
+ },
134
143
  {
135
144
  "disabled": false,
136
145
  "document": "返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。\n生成图分辨率较大时建议选择 url,使用 base64 可能因图片过大导致返回失败。",
@@ -758,6 +767,15 @@
758
767
  "required": true,
759
768
  "type": "string"
760
769
  },
770
+ {
771
+ "disabled": false,
772
+ "document": "商品图中的商品主体名称。\n建议说明商品主体,否则影响生成效果。",
773
+ "example": "汽车",
774
+ "member": "string",
775
+ "name": "Product",
776
+ "required": false,
777
+ "type": "string"
778
+ },
761
779
  {
762
780
  "disabled": false,
763
781
  "document": "商品 Mask 图 Url,要求背景透明,保留商品主体。\n如果不传,将自动使用内置的商品分割算法得到 Mask。\n支持自定义上传 Mask,如果该参数不为空,则以实际上传的数据为准。\n图片限制:Mask 图必须和商品原图分辨率一致,转成 Base64 字符串后小于 6MB,格式仅支持 png。",
@@ -173,6 +173,58 @@ def doDescribeExports(args, parsed_globals):
173
173
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
174
174
 
175
175
 
176
+ def doDescribeConsoleSharingList(args, parsed_globals):
177
+ g_param = parse_global_arg(parsed_globals)
178
+
179
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
180
+ cred = credential.CVMRoleCredential()
181
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
182
+ cred = credential.STSAssumeRoleCredential(
183
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
184
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
185
+ )
186
+ 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):
187
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
188
+ else:
189
+ cred = credential.Credential(
190
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
191
+ )
192
+ http_profile = HttpProfile(
193
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
194
+ reqMethod="POST",
195
+ endpoint=g_param[OptionsDefine.Endpoint],
196
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
197
+ )
198
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
199
+ if g_param[OptionsDefine.Language]:
200
+ profile.language = g_param[OptionsDefine.Language]
201
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
202
+ client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
203
+ client._sdkVersion += ("_CLI_" + __version__)
204
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
205
+ model = models.DescribeConsoleSharingListRequest()
206
+ model.from_json_string(json.dumps(args))
207
+ start_time = time.time()
208
+ while True:
209
+ rsp = client.DescribeConsoleSharingList(model)
210
+ result = rsp.to_json_string()
211
+ try:
212
+ json_obj = json.loads(result)
213
+ except TypeError as e:
214
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
215
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
216
+ break
217
+ cur_time = time.time()
218
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
219
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
220
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
221
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
222
+ else:
223
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
224
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
225
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
226
+
227
+
176
228
  def doCreateIndex(args, parsed_globals):
177
229
  g_param = parse_global_arg(parsed_globals)
178
230
 
@@ -2253,7 +2305,7 @@ def doCreateAlarmNotice(args, parsed_globals):
2253
2305
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2254
2306
 
2255
2307
 
2256
- def doPreviewKafkaRecharge(args, parsed_globals):
2308
+ def doModifyCosRecharge(args, parsed_globals):
2257
2309
  g_param = parse_global_arg(parsed_globals)
2258
2310
 
2259
2311
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2282,11 +2334,11 @@ def doPreviewKafkaRecharge(args, parsed_globals):
2282
2334
  client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
2283
2335
  client._sdkVersion += ("_CLI_" + __version__)
2284
2336
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2285
- model = models.PreviewKafkaRechargeRequest()
2337
+ model = models.ModifyCosRechargeRequest()
2286
2338
  model.from_json_string(json.dumps(args))
2287
2339
  start_time = time.time()
2288
2340
  while True:
2289
- rsp = client.PreviewKafkaRecharge(model)
2341
+ rsp = client.ModifyCosRecharge(model)
2290
2342
  result = rsp.to_json_string()
2291
2343
  try:
2292
2344
  json_obj = json.loads(result)
@@ -2773,6 +2825,58 @@ def doGetAlarmLog(args, parsed_globals):
2773
2825
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2774
2826
 
2775
2827
 
2828
+ def doCreateConsoleSharing(args, parsed_globals):
2829
+ g_param = parse_global_arg(parsed_globals)
2830
+
2831
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2832
+ cred = credential.CVMRoleCredential()
2833
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2834
+ cred = credential.STSAssumeRoleCredential(
2835
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2836
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2837
+ )
2838
+ 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):
2839
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2840
+ else:
2841
+ cred = credential.Credential(
2842
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2843
+ )
2844
+ http_profile = HttpProfile(
2845
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2846
+ reqMethod="POST",
2847
+ endpoint=g_param[OptionsDefine.Endpoint],
2848
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2849
+ )
2850
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2851
+ if g_param[OptionsDefine.Language]:
2852
+ profile.language = g_param[OptionsDefine.Language]
2853
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2854
+ client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
2855
+ client._sdkVersion += ("_CLI_" + __version__)
2856
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2857
+ model = models.CreateConsoleSharingRequest()
2858
+ model.from_json_string(json.dumps(args))
2859
+ start_time = time.time()
2860
+ while True:
2861
+ rsp = client.CreateConsoleSharing(model)
2862
+ result = rsp.to_json_string()
2863
+ try:
2864
+ json_obj = json.loads(result)
2865
+ except TypeError as e:
2866
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2867
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2868
+ break
2869
+ cur_time = time.time()
2870
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2871
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2872
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2873
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2874
+ else:
2875
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2876
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2877
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2878
+
2879
+
2776
2880
  def doDescribeMachineGroupConfigs(args, parsed_globals):
2777
2881
  g_param = parse_global_arg(parsed_globals)
2778
2882
 
@@ -3189,7 +3293,7 @@ def doAddMachineGroupInfo(args, parsed_globals):
3189
3293
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3190
3294
 
3191
3295
 
3192
- def doDescribeDataTransformInfo(args, parsed_globals):
3296
+ def doDeleteConsoleSharing(args, parsed_globals):
3193
3297
  g_param = parse_global_arg(parsed_globals)
3194
3298
 
3195
3299
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3218,11 +3322,11 @@ def doDescribeDataTransformInfo(args, parsed_globals):
3218
3322
  client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
3219
3323
  client._sdkVersion += ("_CLI_" + __version__)
3220
3324
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3221
- model = models.DescribeDataTransformInfoRequest()
3325
+ model = models.DeleteConsoleSharingRequest()
3222
3326
  model.from_json_string(json.dumps(args))
3223
3327
  start_time = time.time()
3224
3328
  while True:
3225
- rsp = client.DescribeDataTransformInfo(model)
3329
+ rsp = client.DeleteConsoleSharing(model)
3226
3330
  result = rsp.to_json_string()
3227
3331
  try:
3228
3332
  json_obj = json.loads(result)
@@ -3761,6 +3865,58 @@ def doSplitPartition(args, parsed_globals):
3761
3865
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3762
3866
 
3763
3867
 
3868
+ def doDescribeDataTransformInfo(args, parsed_globals):
3869
+ g_param = parse_global_arg(parsed_globals)
3870
+
3871
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
3872
+ cred = credential.CVMRoleCredential()
3873
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
3874
+ cred = credential.STSAssumeRoleCredential(
3875
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
3876
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
3877
+ )
3878
+ 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):
3879
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
3880
+ else:
3881
+ cred = credential.Credential(
3882
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
3883
+ )
3884
+ http_profile = HttpProfile(
3885
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
3886
+ reqMethod="POST",
3887
+ endpoint=g_param[OptionsDefine.Endpoint],
3888
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
3889
+ )
3890
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
3891
+ if g_param[OptionsDefine.Language]:
3892
+ profile.language = g_param[OptionsDefine.Language]
3893
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
3894
+ client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
3895
+ client._sdkVersion += ("_CLI_" + __version__)
3896
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
3897
+ model = models.DescribeDataTransformInfoRequest()
3898
+ model.from_json_string(json.dumps(args))
3899
+ start_time = time.time()
3900
+ while True:
3901
+ rsp = client.DescribeDataTransformInfo(model)
3902
+ result = rsp.to_json_string()
3903
+ try:
3904
+ json_obj = json.loads(result)
3905
+ except TypeError as e:
3906
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
3907
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
3908
+ break
3909
+ cur_time = time.time()
3910
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
3911
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
3912
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
3913
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
3914
+ else:
3915
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
3916
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
3917
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3918
+
3919
+
3764
3920
  def doDescribeMachineGroups(args, parsed_globals):
3765
3921
  g_param = parse_global_arg(parsed_globals)
3766
3922
 
@@ -4333,6 +4489,58 @@ def doDescribeShippers(args, parsed_globals):
4333
4489
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4334
4490
 
4335
4491
 
4492
+ def doModifyConsoleSharing(args, parsed_globals):
4493
+ g_param = parse_global_arg(parsed_globals)
4494
+
4495
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4496
+ cred = credential.CVMRoleCredential()
4497
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4498
+ cred = credential.STSAssumeRoleCredential(
4499
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4500
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4501
+ )
4502
+ 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):
4503
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4504
+ else:
4505
+ cred = credential.Credential(
4506
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4507
+ )
4508
+ http_profile = HttpProfile(
4509
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4510
+ reqMethod="POST",
4511
+ endpoint=g_param[OptionsDefine.Endpoint],
4512
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4513
+ )
4514
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4515
+ if g_param[OptionsDefine.Language]:
4516
+ profile.language = g_param[OptionsDefine.Language]
4517
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4518
+ client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
4519
+ client._sdkVersion += ("_CLI_" + __version__)
4520
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4521
+ model = models.ModifyConsoleSharingRequest()
4522
+ model.from_json_string(json.dumps(args))
4523
+ start_time = time.time()
4524
+ while True:
4525
+ rsp = client.ModifyConsoleSharing(model)
4526
+ result = rsp.to_json_string()
4527
+ try:
4528
+ json_obj = json.loads(result)
4529
+ except TypeError as e:
4530
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4531
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4532
+ break
4533
+ cur_time = time.time()
4534
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4535
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4536
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4537
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4538
+ else:
4539
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4540
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4541
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4542
+
4543
+
4336
4544
  def doDescribeDashboards(args, parsed_globals):
4337
4545
  g_param = parse_global_arg(parsed_globals)
4338
4546
 
@@ -4385,7 +4593,7 @@ def doDescribeDashboards(args, parsed_globals):
4385
4593
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4386
4594
 
4387
4595
 
4388
- def doModifyCosRecharge(args, parsed_globals):
4596
+ def doPreviewKafkaRecharge(args, parsed_globals):
4389
4597
  g_param = parse_global_arg(parsed_globals)
4390
4598
 
4391
4599
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4414,11 +4622,11 @@ def doModifyCosRecharge(args, parsed_globals):
4414
4622
  client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
4415
4623
  client._sdkVersion += ("_CLI_" + __version__)
4416
4624
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4417
- model = models.ModifyCosRechargeRequest()
4625
+ model = models.PreviewKafkaRechargeRequest()
4418
4626
  model.from_json_string(json.dumps(args))
4419
4627
  start_time = time.time()
4420
4628
  while True:
4421
- rsp = client.ModifyCosRecharge(model)
4629
+ rsp = client.PreviewKafkaRecharge(model)
4422
4630
  result = rsp.to_json_string()
4423
4631
  try:
4424
4632
  json_obj = json.loads(result)
@@ -5082,6 +5290,7 @@ ACTION_MAP = {
5082
5290
  "ModifyKafkaConsumer": doModifyKafkaConsumer,
5083
5291
  "CreateKafkaRecharge": doCreateKafkaRecharge,
5084
5292
  "DescribeExports": doDescribeExports,
5293
+ "DescribeConsoleSharingList": doDescribeConsoleSharingList,
5085
5294
  "CreateIndex": doCreateIndex,
5086
5295
  "QueryMetric": doQueryMetric,
5087
5296
  "ModifyShipper": doModifyShipper,
@@ -5122,7 +5331,7 @@ ACTION_MAP = {
5122
5331
  "ModifyDashboardSubscribe": doModifyDashboardSubscribe,
5123
5332
  "DeleteIndex": doDeleteIndex,
5124
5333
  "CreateAlarmNotice": doCreateAlarmNotice,
5125
- "PreviewKafkaRecharge": doPreviewKafkaRecharge,
5334
+ "ModifyCosRecharge": doModifyCosRecharge,
5126
5335
  "ModifyConfigExtra": doModifyConfigExtra,
5127
5336
  "ModifyAlarmShield": doModifyAlarmShield,
5128
5337
  "SearchDashboardSubscribe": doSearchDashboardSubscribe,
@@ -5132,6 +5341,7 @@ ACTION_MAP = {
5132
5341
  "CreateMachineGroup": doCreateMachineGroup,
5133
5342
  "DeleteMachineGroupInfo": doDeleteMachineGroupInfo,
5134
5343
  "GetAlarmLog": doGetAlarmLog,
5344
+ "CreateConsoleSharing": doCreateConsoleSharing,
5135
5345
  "DescribeMachineGroupConfigs": doDescribeMachineGroupConfigs,
5136
5346
  "DescribeShipperTasks": doDescribeShipperTasks,
5137
5347
  "SearchCosRechargeInfo": doSearchCosRechargeInfo,
@@ -5140,7 +5350,7 @@ ACTION_MAP = {
5140
5350
  "DeleteDashboardSubscribe": doDeleteDashboardSubscribe,
5141
5351
  "CreateDataTransform": doCreateDataTransform,
5142
5352
  "AddMachineGroupInfo": doAddMachineGroupInfo,
5143
- "DescribeDataTransformInfo": doDescribeDataTransformInfo,
5353
+ "DeleteConsoleSharing": doDeleteConsoleSharing,
5144
5354
  "DescribeAlarmNotices": doDescribeAlarmNotices,
5145
5355
  "DescribePartitions": doDescribePartitions,
5146
5356
  "DeleteConfigExtra": doDeleteConfigExtra,
@@ -5151,6 +5361,7 @@ ACTION_MAP = {
5151
5361
  "DescribeConfigMachineGroups": doDescribeConfigMachineGroups,
5152
5362
  "DeleteExport": doDeleteExport,
5153
5363
  "SplitPartition": doSplitPartition,
5364
+ "DescribeDataTransformInfo": doDescribeDataTransformInfo,
5154
5365
  "DescribeMachineGroups": doDescribeMachineGroups,
5155
5366
  "CreateConsumer": doCreateConsumer,
5156
5367
  "ModifyTopic": doModifyTopic,
@@ -5162,8 +5373,9 @@ ACTION_MAP = {
5162
5373
  "CheckRechargeKafkaServer": doCheckRechargeKafkaServer,
5163
5374
  "ModifyAlarm": doModifyAlarm,
5164
5375
  "DescribeShippers": doDescribeShippers,
5376
+ "ModifyConsoleSharing": doModifyConsoleSharing,
5165
5377
  "DescribeDashboards": doDescribeDashboards,
5166
- "ModifyCosRecharge": doModifyCosRecharge,
5378
+ "PreviewKafkaRecharge": doPreviewKafkaRecharge,
5167
5379
  "ModifyConfig": doModifyConfig,
5168
5380
  "UploadLog": doUploadLog,
5169
5381
  "DeleteTopic": doDeleteTopic,