tccli-intl-en 3.0.1269.1__py2.py3-none-any.whl → 3.0.1271.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.
Files changed (32) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +2 -1
  3. tccli/services/ccc/ccc_client.py +65 -12
  4. tccli/services/ccc/v20200210/api.json +112 -15
  5. tccli/services/ccc/v20200210/examples.json +8 -0
  6. tccli/services/clb/v20180317/api.json +29 -14
  7. tccli/services/cynosdb/cynosdb_client.py +114 -8
  8. tccli/services/cynosdb/v20190107/api.json +718 -54
  9. tccli/services/cynosdb/v20190107/examples.json +20 -4
  10. tccli/services/dlc/dlc_client.py +175 -16
  11. tccli/services/dlc/v20210125/api.json +282 -6
  12. tccli/services/dlc/v20210125/examples.json +24 -0
  13. tccli/services/faceid/v20180301/examples.json +1 -1
  14. tccli/services/mdl/v20200326/api.json +104 -0
  15. tccli/services/monitor/monitor_client.py +273 -8
  16. tccli/services/monitor/v20180724/api.json +649 -0
  17. tccli/services/monitor/v20180724/examples.json +40 -0
  18. tccli/services/mps/v20190612/api.json +179 -30
  19. tccli/services/mps/v20190612/examples.json +8 -8
  20. tccli/services/quota/v20241204/api.json +13 -2
  21. tccli/services/quota/v20241204/examples.json +4 -3
  22. tccli/services/redis/v20180412/api.json +225 -113
  23. tccli/services/redis/v20180412/examples.json +19 -19
  24. tccli/services/wedata/v20250806/api.json +13644 -0
  25. tccli/services/wedata/v20250806/examples.json +621 -0
  26. tccli/services/wedata/wedata_client.py +4663 -789
  27. {tccli_intl_en-3.0.1269.1.dist-info → tccli_intl_en-3.0.1271.1.dist-info}/METADATA +2 -2
  28. {tccli_intl_en-3.0.1269.1.dist-info → tccli_intl_en-3.0.1271.1.dist-info}/RECORD +32 -30
  29. {tccli_intl_en-3.0.1269.1.dist-info → tccli_intl_en-3.0.1271.1.dist-info}/LICENSE +0 -0
  30. {tccli_intl_en-3.0.1269.1.dist-info → tccli_intl_en-3.0.1271.1.dist-info}/WHEEL +0 -0
  31. {tccli_intl_en-3.0.1269.1.dist-info → tccli_intl_en-3.0.1271.1.dist-info}/entry_points.txt +0 -0
  32. {tccli_intl_en-3.0.1269.1.dist-info → tccli_intl_en-3.0.1271.1.dist-info}/top_level.txt +0 -0
@@ -128,6 +128,14 @@
128
128
  "title": "Purchasing a New Cluster"
129
129
  }
130
130
  ],
131
+ "CreateIntegrateCluster": [
132
+ {
133
+ "document": "Create Integrate Cluster",
134
+ "input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateIntegrateCluster\n<Common request parameters>\n\n{\n \"DbVersion\": \"8.0\",\n \"InstanceInitInfos\": [\n {\n \"Cpu\": 1,\n \"DeviceType\": \"common\",\n \"InstanceCount\": 1,\n \"InstanceType\": \"rw\",\n \"Memory\": 2\n }\n ],\n \"IntegrateCreateClusterConfig\": {\n \"BackupSaveDays\": 7,\n \"BinlogSaveDays\": 8,\n \"SemiSyncTimeout\": 1000\n },\n \"SubnetId\": \"subnet-3du8lpau\",\n \"VpcId\": \"vpc-r2dqqiyv\",\n \"Zone\": \"ap-guangzhou-4\"\n}",
135
+ "output": "{\n \"Response\": {\n \"BigDealIds\": [],\n \"ClusterIds\": [],\n \"DealNames\": [\n \"20250909448021542853581\"\n ],\n \"RequestId\": \"081ec9cb-d476-4202-8943-966e1e552e3f\",\n \"ResourceIds\": [],\n \"TranId\": \"20250909448021542853591\"\n }\n}",
136
+ "title": "Creating an Integrated Cluster"
137
+ }
138
+ ],
131
139
  "CreateParamTemplate": [
132
140
  {
133
141
  "document": "This example shows you how to create a parameter template.",
@@ -240,10 +248,10 @@
240
248
  ],
241
249
  "DescribeBackupConfig": [
242
250
  {
243
- "document": " ",
244
- "input": "https://cynosdb.tencentcloudapi.com/?Action=DescribeBackupConfig\n&ClusterId=cynosdbmysql-45knmnra\n&<Common request parameters>",
245
- "output": "{\n \"Response\": {\n \"BackupFreq\": [\n \"full\",\n \"increment\",\n \"increment\",\n \"increment\",\n \"increment\",\n \"increment\",\n \"increment\"\n ],\n \"BackupType\": \"\",\n \"BackupTimeEnd\": 21600,\n \"BackupTimeBeg\": 7200,\n \"RequestId\": \"180877\",\n \"ReserveDuration\": 604800\n }\n}",
246
- "title": "Querying the backup configuration information"
251
+ "document": "Describe Backup Config",
252
+ "input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupConfig\n<common request parameters>\n\n{\n \"ClusterId\": \"cynosdbmysql-aws1kpv6\"\n}",
253
+ "output": "{\n \"Response\": {\n \"BackupFreq\": [\n \"full\",\n \"full\",\n \"full\",\n \"full\",\n \"full\",\n \"full\",\n \"full\"\n ],\n \"BackupTimeBeg\": 7200,\n \"BackupTimeEnd\": 21600,\n \"BackupType\": \"snapshot\",\n \"LogicBackupConfig\": {\n \"LogicBackupEnable\": \"OFF\",\n \"LogicBackupTimeBeg\": 0,\n \"LogicBackupTimeEnd\": 0,\n \"LogicCrossRegions\": null,\n \"LogicCrossRegionsEnable\": \"\",\n \"LogicReserveDuration\": 0\n },\n \"LogicCrossRegionsConfigUpdateTime\": \"\",\n \"RequestId\": \"e0127059-bb40-4308-a67d-c3bcddba372e\",\n \"ReserveDuration\": 604800\n }\n}",
254
+ "title": ""
247
255
  }
248
256
  ],
249
257
  "DescribeBackupDownloadRestriction": [
@@ -454,6 +462,14 @@
454
462
  "title": "Query the Instance ID List Within the Unified Cluster"
455
463
  }
456
464
  ],
465
+ "DescribeIntegrateTask": [
466
+ {
467
+ "document": "Describe Integrate Task",
468
+ "input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIntegrateTask\n<Common request parameters>\n\n{\n \"DealNames\": [\n \"20250922456021575003931\"\n ]\n}",
469
+ "output": "{\n \"Response\": {\n \"CurrentProgress\": \"5/5\",\n \"CurrentStep\": \"FinishTask\",\n \"RequestId\": \"de351c1d-72fa-477b-997a-8ae045f90da2\",\n \"TaskStatus\": \"success\"\n }\n}",
470
+ "title": "Querying an Integration Task"
471
+ }
472
+ ],
457
473
  "DescribeIsolatedInstances": [
458
474
  {
459
475
  "document": " ",
@@ -381,6 +381,58 @@ def doDescribeWorkGroupInfo(args, parsed_globals):
381
381
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
382
382
 
383
383
 
384
+ def doDescribeDataMaskStrategies(args, parsed_globals):
385
+ g_param = parse_global_arg(parsed_globals)
386
+
387
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
388
+ cred = credential.CVMRoleCredential()
389
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
390
+ cred = credential.STSAssumeRoleCredential(
391
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
392
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
393
+ )
394
+ 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):
395
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
396
+ else:
397
+ cred = credential.Credential(
398
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
399
+ )
400
+ http_profile = HttpProfile(
401
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
402
+ reqMethod="POST",
403
+ endpoint=g_param[OptionsDefine.Endpoint],
404
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
405
+ )
406
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
407
+ if g_param[OptionsDefine.Language]:
408
+ profile.language = g_param[OptionsDefine.Language]
409
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
410
+ client = mod.DlcClient(cred, g_param[OptionsDefine.Region], profile)
411
+ client._sdkVersion += ("_CLI_" + __version__)
412
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
413
+ model = models.DescribeDataMaskStrategiesRequest()
414
+ model.from_json_string(json.dumps(args))
415
+ start_time = time.time()
416
+ while True:
417
+ rsp = client.DescribeDataMaskStrategies(model)
418
+ result = rsp.to_json_string()
419
+ try:
420
+ json_obj = json.loads(result)
421
+ except TypeError as e:
422
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
423
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
424
+ break
425
+ cur_time = time.time()
426
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
427
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
428
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
429
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
430
+ else:
431
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
432
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
433
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
434
+
435
+
384
436
  def doDeleteWorkGroup(args, parsed_globals):
385
437
  g_param = parse_global_arg(parsed_globals)
386
438
 
@@ -641,6 +693,58 @@ def doDescribeSparkSessionBatchSqlLog(args, parsed_globals):
641
693
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
642
694
 
643
695
 
696
+ def doDeleteDataMaskStrategy(args, parsed_globals):
697
+ g_param = parse_global_arg(parsed_globals)
698
+
699
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
700
+ cred = credential.CVMRoleCredential()
701
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
702
+ cred = credential.STSAssumeRoleCredential(
703
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
704
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
705
+ )
706
+ 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):
707
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
708
+ else:
709
+ cred = credential.Credential(
710
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
711
+ )
712
+ http_profile = HttpProfile(
713
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
714
+ reqMethod="POST",
715
+ endpoint=g_param[OptionsDefine.Endpoint],
716
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
717
+ )
718
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
719
+ if g_param[OptionsDefine.Language]:
720
+ profile.language = g_param[OptionsDefine.Language]
721
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
722
+ client = mod.DlcClient(cred, g_param[OptionsDefine.Region], profile)
723
+ client._sdkVersion += ("_CLI_" + __version__)
724
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
725
+ model = models.DeleteDataMaskStrategyRequest()
726
+ model.from_json_string(json.dumps(args))
727
+ start_time = time.time()
728
+ while True:
729
+ rsp = client.DeleteDataMaskStrategy(model)
730
+ result = rsp.to_json_string()
731
+ try:
732
+ json_obj = json.loads(result)
733
+ except TypeError as e:
734
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
735
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
736
+ break
737
+ cur_time = time.time()
738
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
739
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
740
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
741
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
742
+ else:
743
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
744
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
745
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
746
+
747
+
644
748
  def doDescribeDLCCatalogAccess(args, parsed_globals):
645
749
  g_param = parse_global_arg(parsed_globals)
646
750
 
@@ -1265,6 +1369,58 @@ def doCreateUser(args, parsed_globals):
1265
1369
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1266
1370
 
1267
1371
 
1372
+ def doDescribeSparkAppTasks(args, parsed_globals):
1373
+ g_param = parse_global_arg(parsed_globals)
1374
+
1375
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1376
+ cred = credential.CVMRoleCredential()
1377
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1378
+ cred = credential.STSAssumeRoleCredential(
1379
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1380
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1381
+ )
1382
+ 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):
1383
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1384
+ else:
1385
+ cred = credential.Credential(
1386
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1387
+ )
1388
+ http_profile = HttpProfile(
1389
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1390
+ reqMethod="POST",
1391
+ endpoint=g_param[OptionsDefine.Endpoint],
1392
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1393
+ )
1394
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1395
+ if g_param[OptionsDefine.Language]:
1396
+ profile.language = g_param[OptionsDefine.Language]
1397
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1398
+ client = mod.DlcClient(cred, g_param[OptionsDefine.Region], profile)
1399
+ client._sdkVersion += ("_CLI_" + __version__)
1400
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1401
+ model = models.DescribeSparkAppTasksRequest()
1402
+ model.from_json_string(json.dumps(args))
1403
+ start_time = time.time()
1404
+ while True:
1405
+ rsp = client.DescribeSparkAppTasks(model)
1406
+ result = rsp.to_json_string()
1407
+ try:
1408
+ json_obj = json.loads(result)
1409
+ except TypeError as e:
1410
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1411
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1412
+ break
1413
+ cur_time = time.time()
1414
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1415
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1416
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1417
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1418
+ else:
1419
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1420
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1421
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1422
+
1423
+
1268
1424
  def doDescribeDataEngineImageVersions(args, parsed_globals):
1269
1425
  g_param = parse_global_arg(parsed_globals)
1270
1426
 
@@ -2721,7 +2877,7 @@ def doAttachUserPolicy(args, parsed_globals):
2721
2877
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2722
2878
 
2723
2879
 
2724
- def doModifyGovernEventRule(args, parsed_globals):
2880
+ def doCopyDLCTable(args, parsed_globals):
2725
2881
  g_param = parse_global_arg(parsed_globals)
2726
2882
 
2727
2883
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2750,11 +2906,11 @@ def doModifyGovernEventRule(args, parsed_globals):
2750
2906
  client = mod.DlcClient(cred, g_param[OptionsDefine.Region], profile)
2751
2907
  client._sdkVersion += ("_CLI_" + __version__)
2752
2908
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2753
- model = models.ModifyGovernEventRuleRequest()
2909
+ model = models.CopyDLCTableRequest()
2754
2910
  model.from_json_string(json.dumps(args))
2755
2911
  start_time = time.time()
2756
2912
  while True:
2757
- rsp = client.ModifyGovernEventRule(model)
2913
+ rsp = client.CopyDLCTable(model)
2758
2914
  result = rsp.to_json_string()
2759
2915
  try:
2760
2916
  json_obj = json.loads(result)
@@ -4333,7 +4489,7 @@ def doQueryResult(args, parsed_globals):
4333
4489
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4334
4490
 
4335
4491
 
4336
- def doCopyDLCTable(args, parsed_globals):
4492
+ def doModifyGovernEventRule(args, parsed_globals):
4337
4493
  g_param = parse_global_arg(parsed_globals)
4338
4494
 
4339
4495
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4362,11 +4518,11 @@ def doCopyDLCTable(args, parsed_globals):
4362
4518
  client = mod.DlcClient(cred, g_param[OptionsDefine.Region], profile)
4363
4519
  client._sdkVersion += ("_CLI_" + __version__)
4364
4520
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4365
- model = models.CopyDLCTableRequest()
4521
+ model = models.ModifyGovernEventRuleRequest()
4366
4522
  model.from_json_string(json.dumps(args))
4367
4523
  start_time = time.time()
4368
4524
  while True:
4369
- rsp = client.CopyDLCTable(model)
4525
+ rsp = client.ModifyGovernEventRule(model)
4370
4526
  result = rsp.to_json_string()
4371
4527
  try:
4372
4528
  json_obj = json.loads(result)
@@ -4541,7 +4697,7 @@ def doDeleteUsersFromWorkGroup(args, parsed_globals):
4541
4697
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4542
4698
 
4543
4699
 
4544
- def doDescribeSparkAppTasks(args, parsed_globals):
4700
+ def doCreateDataEngine(args, parsed_globals):
4545
4701
  g_param = parse_global_arg(parsed_globals)
4546
4702
 
4547
4703
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4570,11 +4726,11 @@ def doDescribeSparkAppTasks(args, parsed_globals):
4570
4726
  client = mod.DlcClient(cred, g_param[OptionsDefine.Region], profile)
4571
4727
  client._sdkVersion += ("_CLI_" + __version__)
4572
4728
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4573
- model = models.DescribeSparkAppTasksRequest()
4729
+ model = models.CreateDataEngineRequest()
4574
4730
  model.from_json_string(json.dumps(args))
4575
4731
  start_time = time.time()
4576
4732
  while True:
4577
- rsp = client.DescribeSparkAppTasks(model)
4733
+ rsp = client.CreateDataEngine(model)
4578
4734
  result = rsp.to_json_string()
4579
4735
  try:
4580
4736
  json_obj = json.loads(result)
@@ -5373,7 +5529,7 @@ def doDescribeSparkAppJob(args, parsed_globals):
5373
5529
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5374
5530
 
5375
5531
 
5376
- def doCreateDataEngine(args, parsed_globals):
5532
+ def doUpdateDataMaskStrategy(args, parsed_globals):
5377
5533
  g_param = parse_global_arg(parsed_globals)
5378
5534
 
5379
5535
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -5402,11 +5558,11 @@ def doCreateDataEngine(args, parsed_globals):
5402
5558
  client = mod.DlcClient(cred, g_param[OptionsDefine.Region], profile)
5403
5559
  client._sdkVersion += ("_CLI_" + __version__)
5404
5560
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
5405
- model = models.CreateDataEngineRequest()
5561
+ model = models.UpdateDataMaskStrategyRequest()
5406
5562
  model.from_json_string(json.dumps(args))
5407
5563
  start_time = time.time()
5408
5564
  while True:
5409
- rsp = client.CreateDataEngine(model)
5565
+ rsp = client.UpdateDataMaskStrategy(model)
5410
5566
  result = rsp.to_json_string()
5411
5567
  try:
5412
5568
  json_obj = json.loads(result)
@@ -5547,11 +5703,13 @@ ACTION_MAP = {
5547
5703
  "DescribeUserRoles": doDescribeUserRoles,
5548
5704
  "ModifyUserType": doModifyUserType,
5549
5705
  "DescribeWorkGroupInfo": doDescribeWorkGroupInfo,
5706
+ "DescribeDataMaskStrategies": doDescribeDataMaskStrategies,
5550
5707
  "DeleteWorkGroup": doDeleteWorkGroup,
5551
5708
  "DescribeDataEngine": doDescribeDataEngine,
5552
5709
  "CreateStoreLocation": doCreateStoreLocation,
5553
5710
  "SwitchDataEngine": doSwitchDataEngine,
5554
5711
  "DescribeSparkSessionBatchSqlLog": doDescribeSparkSessionBatchSqlLog,
5712
+ "DeleteDataMaskStrategy": doDeleteDataMaskStrategy,
5555
5713
  "DescribeDLCCatalogAccess": doDescribeDLCCatalogAccess,
5556
5714
  "DescribeUserType": doDescribeUserType,
5557
5715
  "DescribeTasks": doDescribeTasks,
@@ -5564,6 +5722,7 @@ ACTION_MAP = {
5564
5722
  "CheckGrantedPermission": doCheckGrantedPermission,
5565
5723
  "RevokeDLCCatalogAccess": doRevokeDLCCatalogAccess,
5566
5724
  "CreateUser": doCreateUser,
5725
+ "DescribeSparkAppTasks": doDescribeSparkAppTasks,
5567
5726
  "DescribeDataEngineImageVersions": doDescribeDataEngineImageVersions,
5568
5727
  "DescribeAdvancedStoreLocation": doDescribeAdvancedStoreLocation,
5569
5728
  "DescribeSparkAppJobs": doDescribeSparkAppJobs,
@@ -5592,7 +5751,7 @@ ACTION_MAP = {
5592
5751
  "SuspendResumeDataEngine": doSuspendResumeDataEngine,
5593
5752
  "CreateDMSDatabase": doCreateDMSDatabase,
5594
5753
  "AttachUserPolicy": doAttachUserPolicy,
5595
- "ModifyGovernEventRule": doModifyGovernEventRule,
5754
+ "CopyDLCTable": doCopyDLCTable,
5596
5755
  "CreateResultDownload": doCreateResultDownload,
5597
5756
  "ModifyAdvancedStoreLocation": doModifyAdvancedStoreLocation,
5598
5757
  "AlterDMSDatabase": doAlterDMSDatabase,
@@ -5623,11 +5782,11 @@ ACTION_MAP = {
5623
5782
  "DetachUserPolicy": doDetachUserPolicy,
5624
5783
  "DetachWorkGroupPolicy": doDetachWorkGroupPolicy,
5625
5784
  "QueryResult": doQueryResult,
5626
- "CopyDLCTable": doCopyDLCTable,
5785
+ "ModifyGovernEventRule": doModifyGovernEventRule,
5627
5786
  "DescribeJobs": doDescribeJobs,
5628
5787
  "RegisterThirdPartyAccessUser": doRegisterThirdPartyAccessUser,
5629
5788
  "DeleteUsersFromWorkGroup": doDeleteUsersFromWorkGroup,
5630
- "DescribeSparkAppTasks": doDescribeSparkAppTasks,
5789
+ "CreateDataEngine": doCreateDataEngine,
5631
5790
  "UnbindWorkGroupsFromUser": doUnbindWorkGroupsFromUser,
5632
5791
  "DescribeWorkGroups": doDescribeWorkGroups,
5633
5792
  "RestartDataEngine": doRestartDataEngine,
@@ -5643,7 +5802,7 @@ ACTION_MAP = {
5643
5802
  "CreateDataMaskStrategy": doCreateDataMaskStrategy,
5644
5803
  "DescribeStoreLocation": doDescribeStoreLocation,
5645
5804
  "DescribeSparkAppJob": doDescribeSparkAppJob,
5646
- "CreateDataEngine": doCreateDataEngine,
5805
+ "UpdateDataMaskStrategy": doUpdateDataMaskStrategy,
5647
5806
  "DescribeDataEnginePythonSparkImages": doDescribeDataEnginePythonSparkImages,
5648
5807
  "DescribeLakeFsInfo": doDescribeLakeFsInfo,
5649
5808