tccli 3.0.1094.1__py2.py3-none-any.whl → 3.0.1096.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 (66) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/cls/v20201016/DeleteKafkaRecharge.md +3 -3
  3. tccli/examples/cls/v20201016/ModifyKafkaRecharge.md +23 -13
  4. tccli/examples/cls/v20201016/PreviewKafkaRecharge.md +47 -15
  5. tccli/examples/cynosdb/v20190107/AddClusterSlaveZone.md +2 -1
  6. tccli/examples/cynosdb/v20190107/DescribeClusterDetail.md +9 -2
  7. tccli/examples/cynosdb/v20190107/DescribeTasks.md +12 -0
  8. tccli/examples/cynosdb/v20190107/ModifyClusterSlaveZone.md +2 -1
  9. tccli/examples/dasb/v20191018/ModifyCmdTemplate.md +2 -2
  10. tccli/examples/es/v20180416/DescribeServerlessInstances.md +346 -0
  11. tccli/examples/mps/v20190612/CreateAdaptiveDynamicStreamingTemplate.md +1 -1
  12. tccli/examples/mps/v20190612/ModifyAdaptiveDynamicStreamingTemplate.md +1 -1
  13. tccli/examples/organization/v20210331/DescribeEffectivePolicy.md +25 -0
  14. tccli/examples/organization/v20210331/ListNonCompliantResource.md +43 -0
  15. tccli/examples/pts/v20210728/DescribeRegions.md +4 -2
  16. tccli/examples/ssl/v20191205/DescribeDeleteCertificatesTaskResult.md +72 -0
  17. tccli/examples/trocket/v20230308/DescribeMQTTClient.md +57 -49
  18. tccli/examples/trocket/v20230308/DescribeMQTTInsPublicEndpoints.md +38 -6
  19. tccli/examples/trocket/v20230308/DescribeMQTTInsVPCEndpoints.md +14 -12
  20. tccli/examples/trocket/v20230308/DescribeMQTTInstanceList.md +1 -121
  21. tccli/examples/trocket/v20230308/DescribeMQTTProductSKUList.md +0 -47
  22. tccli/examples/trocket/v20230308/DescribeMQTTUserList.md +1 -1
  23. tccli/services/aiart/v20221229/api.json +2 -2
  24. tccli/services/antiddos/v20200309/api.json +19 -0
  25. tccli/services/cdb/v20170320/api.json +3 -3
  26. tccli/services/cfw/v20190904/api.json +177 -0
  27. tccli/services/cls/v20201016/api.json +49 -49
  28. tccli/services/cls/v20201016/examples.json +13 -7
  29. tccli/services/cynosdb/v20190107/api.json +74 -0
  30. tccli/services/cynosdb/v20190107/examples.json +4 -4
  31. tccli/services/dasb/v20191018/examples.json +2 -2
  32. tccli/services/dnspod/v20210323/api.json +1 -0
  33. tccli/services/dts/v20211206/api.json +2 -2
  34. tccli/services/es/es_client.py +53 -0
  35. tccli/services/es/v20180416/api.json +429 -0
  36. tccli/services/es/v20180416/examples.json +8 -0
  37. tccli/services/essbasic/v20210526/api.json +9 -0
  38. tccli/services/faceid/v20180301/api.json +22 -3
  39. tccli/services/live/v20180801/api.json +58 -0
  40. tccli/services/monitor/v20180724/api.json +20 -2
  41. tccli/services/mps/v20190612/api.json +172 -92
  42. tccli/services/mps/v20190612/examples.json +2 -2
  43. tccli/services/oceanus/v20190422/api.json +1 -1
  44. tccli/services/omics/v20221128/api.json +20 -2
  45. tccli/services/organization/organization_client.py +106 -0
  46. tccli/services/organization/v20210331/api.json +261 -3
  47. tccli/services/organization/v20210331/examples.json +16 -0
  48. tccli/services/pts/v20210728/api.json +16 -3
  49. tccli/services/pts/v20210728/examples.json +2 -2
  50. tccli/services/redis/v20180412/api.json +11 -0
  51. tccli/services/ssl/ssl_client.py +53 -0
  52. tccli/services/ssl/v20191205/api.json +110 -0
  53. tccli/services/ssl/v20191205/examples.json +8 -0
  54. tccli/services/ssm/v20190923/api.json +1 -1
  55. tccli/services/tdmq/v20200217/api.json +1 -1
  56. tccli/services/trocket/v20230308/api.json +226 -108
  57. tccli/services/trocket/v20230308/examples.json +13 -25
  58. tccli/services/vod/v20180717/api.json +1 -1
  59. tccli/services/wedata/v20210820/api.json +2 -817
  60. tccli/services/wedata/v20210820/examples.json +0 -24
  61. tccli/services/wedata/wedata_client.py +0 -159
  62. {tccli-3.0.1094.1.dist-info → tccli-3.0.1096.1.dist-info}/METADATA +2 -2
  63. {tccli-3.0.1094.1.dist-info → tccli-3.0.1096.1.dist-info}/RECORD +66 -62
  64. {tccli-3.0.1094.1.dist-info → tccli-3.0.1096.1.dist-info}/WHEEL +0 -0
  65. {tccli-3.0.1094.1.dist-info → tccli-3.0.1096.1.dist-info}/entry_points.txt +0 -0
  66. {tccli-3.0.1094.1.dist-info → tccli-3.0.1096.1.dist-info}/license_files/LICENSE +0 -0
@@ -742,14 +742,6 @@
742
742
  "title": "样例"
743
743
  }
744
744
  ],
745
- "DescribeInstanceByCycleReport": [
746
- {
747
- "document": "实例状态1d增长趋势",
748
- "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceByCycleReport\n<公共请求参数>\n\n{\n \"Type\": \"1d\",\n \"ProjectId\": \"1460947878944567296\"\n}",
749
- "output": "{\n \"Response\": {\n \"Data\": [],\n \"RequestId\": \"DescribeInstanceByCycleReport\"\n }\n}",
750
- "title": "样例"
751
- }
752
- ],
753
745
  "DescribeInstanceLastLog": [
754
746
  {
755
747
  "document": "",
@@ -1316,14 +1308,6 @@
1316
1308
  "title": "任务状态趋势示例"
1317
1309
  }
1318
1310
  ],
1319
- "DescribeTaskDetail": [
1320
- {
1321
- "document": "",
1322
- "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTaskDetail\n<公共请求参数>\n\n{\n \"ProjectId\": \"1\",\n \"TaskId\": \"20220727140613327\"\n}",
1323
- "output": "{\n \"Response\": {\n \"RequestId\": \"0b3a6016-96d1-4832-8376-afb191a21a6a\",\n \"Data\": {\n \"TaskId\": \"20220727140613327\",\n \"VirtualTaskId\": null,\n \"VirtualFlag\": false,\n \"TaskName\": \"task2\",\n \"WorkflowId\": \"34e51bc4-0cd9-11ed-8909-bc97e105ba60\",\n \"RealWorkflowId\": null,\n \"WorkflowName\": \"work1\",\n \"FolderId\": null,\n \"FolderName\": null,\n \"CreateTime\": \"2022-07-27 14:06:13\",\n \"LastUpdate\": \"2022-07-27 17:40:31\",\n \"Status\": \"NS\",\n \"InCharge\": \"TBDS\",\n \"StartTime\": \"2022-09-03 11:00:00\",\n \"EndTime\": \"2099-12-31 23:59:59\",\n \"ExecutionStartTime\": null,\n \"ExecutionEndTime\": null,\n \"ProjectId\": \"1\",\n \"ProjectIdent\": \"test_dev_all\",\n \"ProjectName\": \"test_dev_all\",\n \"CycleType\": 1,\n \"CycleStep\": 10,\n \"CrontabExpression\": null,\n \"DelayTime\": 10,\n \"StartupTime\": 0,\n \"RetryWait\": 1,\n \"Retriable\": 1,\n \"TaskAction\": \"\",\n \"TryLimit\": 3,\n \"RunPriority\": 4,\n \"TaskType\": 35,\n \"BrokerIp\": \"any\",\n \"ClusterId\": null,\n \"MinDateTime\": null,\n \"MaxDateTime\": null,\n \"SelfDepend\": 1,\n \"Notes\": \"\",\n \"YarnQueue\": null,\n \"Submit\": false,\n \"LastSchedulerCommitTime\": null,\n \"NormalizedJobStartTime\": null,\n \"SourceServer\": null,\n \"TargetServer\": \"11\",\n \"Creater\": \"TBDS\",\n \"DependencyRel\": \"and\",\n \"DependencyWorkflow\": \"yes\",\n \"DependencyConfigs\": null,\n \"VirtualTaskStatus\": null,\n \"Params\": null,\n \"TaskExt\": [\n {\n \"Key\": \"aa\",\n \"Value\": \"bb\"\n },\n {\n \"Key\": \"bucket\",\n \"Value\": \"wedata-fusion-dev-1257305158\"\n },\n {\n \"Key\": \"python_type\",\n \"Value\": \"python2\"\n },\n {\n \"Key\": \"ftp.file.name\",\n \"Value\": \"https://wedata-fusion-dev-1257305158.cos.ap-nanjing.myqcloud.com/datastudio/project/1/wb555/work1/task2.sh\"\n },\n {\n \"Key\": \"region\",\n \"Value\": \"ap-nanjing\"\n },\n {\n \"Key\": \"extraInfo\",\n \"Value\": \"{}\"\n }\n ],\n \"UpdateUser\": \"fe\",\n \"UpdateTime\": \"2022-07-27 17:40:31\",\n \"UpdateUserId\": \"100022256608\",\n \"SchedulerDesc\": \"从2022年09月03日 11:10:00开始,每间隔10分钟执行一次\",\n \"ResourceGroup\": \"20220420160541973718\",\n \"VersionDesc\": null\n }\n }\n}",
1324
- "title": "范例"
1325
- }
1326
- ],
1327
1311
  "DescribeTaskLockStatus": [
1328
1312
  {
1329
1313
  "document": "查看任务锁状态信息",
@@ -1348,14 +1332,6 @@
1348
1332
  "title": "查询任务脚本范例"
1349
1333
  }
1350
1334
  ],
1351
- "DescribeTasksByPage": [
1352
- {
1353
- "document": "",
1354
- "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTasksByPage\n<公共请求参数>\n\n{\n \"ProjectId\": \"1\",\n \"WorkflowId\": \"34e51bc4-0cd9-11ed-8909-bc97e105ba60\",\n \"PageNumber\": \"1\",\n \"PageSize\": \"10\"\n}",
1355
- "output": "{\n \"Response\": {\n \"RequestId\": \"75164e96-e1aa-45b3-be14-aac909d67b11\",\n \"Data\": {\n \"TotalCount\": 1,\n \"PageNumber\": 1,\n \"PageSize\": 10,\n \"Items\": [\n {\n \"TaskId\": \"20220727140613327\",\n \"VirtualTaskId\": null,\n \"VirtualFlag\": false,\n \"TaskName\": \"task2\",\n \"WorkflowId\": \"34e51bc4-0cd9-11ed-8909-bc97e105ba60\",\n \"RealWorkflowId\": null,\n \"WorkflowName\": \"work1\",\n \"FolderId\": null,\n \"FolderName\": null,\n \"CreateTime\": \"2022-07-27 14:06:13\",\n \"LastUpdate\": \"2022-07-27 17:40:31\",\n \"Status\": \"NS\",\n \"InCharge\": \"TBDS\",\n \"StartTime\": \"2022-09-03 11:00:00\",\n \"EndTime\": \"2099-12-31 23:59:59\",\n \"ExecutionStartTime\": null,\n \"ExecutionEndTime\": null,\n \"ProjectId\": \"1\",\n \"ProjectIdent\": null,\n \"ProjectName\": null,\n \"CycleType\": 1,\n \"CycleStep\": 10,\n \"CrontabExpression\": null,\n \"DelayTime\": 10,\n \"StartupTime\": 0,\n \"RetryWait\": 1,\n \"Retriable\": 1,\n \"TaskAction\": \"\",\n \"TryLimit\": 3,\n \"RunPriority\": 4,\n \"TaskType\": 35,\n \"BrokerIp\": \"any\",\n \"ClusterId\": null,\n \"MinDateTime\": null,\n \"MaxDateTime\": null,\n \"SelfDepend\": 1,\n \"Notes\": \"\",\n \"YarnQueue\": null,\n \"Submit\": false,\n \"LastSchedulerCommitTime\": null,\n \"NormalizedJobStartTime\": null,\n \"SourceServer\": null,\n \"TargetServer\": \"11\",\n \"Creater\": \"TBDS\",\n \"DependencyRel\": \"and\",\n \"DependencyWorkflow\": \"yes\",\n \"DependencyConfigs\": null,\n \"VirtualTaskStatus\": null,\n \"Params\": null,\n \"TaskExt\": null,\n \"UpdateUser\": \"fe\",\n \"UpdateTime\": \"2022-07-27 17:40:31\",\n \"UpdateUserId\": \"100022256608\",\n \"SchedulerDesc\": \"从2022年09月03日 11:10:00开始,每间隔10分钟执行一次\",\n \"ResourceGroup\": \"20220420160541973718\",\n \"VersionDesc\": null\n }\n ]\n }\n }\n}",
1356
- "title": "范例"
1357
- }
1358
- ],
1359
1335
  "DescribeTemplateDimCount": [
1360
1336
  {
1361
1337
  "document": "查询规则模板维度分布情况",
@@ -1057,58 +1057,6 @@ def doDescribeIntegrationNode(args, parsed_globals):
1057
1057
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1058
1058
 
1059
1059
 
1060
- def doDescribeTaskDetail(args, parsed_globals):
1061
- g_param = parse_global_arg(parsed_globals)
1062
-
1063
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1064
- cred = credential.CVMRoleCredential()
1065
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1066
- cred = credential.STSAssumeRoleCredential(
1067
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1068
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1069
- )
1070
- 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):
1071
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1072
- else:
1073
- cred = credential.Credential(
1074
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1075
- )
1076
- http_profile = HttpProfile(
1077
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1078
- reqMethod="POST",
1079
- endpoint=g_param[OptionsDefine.Endpoint],
1080
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1081
- )
1082
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1083
- if g_param[OptionsDefine.Language]:
1084
- profile.language = g_param[OptionsDefine.Language]
1085
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1086
- client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
1087
- client._sdkVersion += ("_CLI_" + __version__)
1088
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
1089
- model = models.DescribeTaskDetailRequest()
1090
- model.from_json_string(json.dumps(args))
1091
- start_time = time.time()
1092
- while True:
1093
- rsp = client.DescribeTaskDetail(model)
1094
- result = rsp.to_json_string()
1095
- try:
1096
- json_obj = json.loads(result)
1097
- except TypeError as e:
1098
- json_obj = json.loads(result.decode('utf-8')) # python3.3
1099
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1100
- break
1101
- cur_time = time.time()
1102
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1103
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1104
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1105
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1106
- else:
1107
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1108
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1109
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1110
-
1111
-
1112
1060
  def doDescribeDatabaseMetas(args, parsed_globals):
1113
1061
  g_param = parse_global_arg(parsed_globals)
1114
1062
 
@@ -4593,58 +4541,6 @@ def doDescribeSchedulerTaskCntByStatus(args, parsed_globals):
4593
4541
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4594
4542
 
4595
4543
 
4596
- def doDescribeTasksByPage(args, parsed_globals):
4597
- g_param = parse_global_arg(parsed_globals)
4598
-
4599
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4600
- cred = credential.CVMRoleCredential()
4601
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4602
- cred = credential.STSAssumeRoleCredential(
4603
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4604
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4605
- )
4606
- elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
4607
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4608
- else:
4609
- cred = credential.Credential(
4610
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4611
- )
4612
- http_profile = HttpProfile(
4613
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4614
- reqMethod="POST",
4615
- endpoint=g_param[OptionsDefine.Endpoint],
4616
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4617
- )
4618
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4619
- if g_param[OptionsDefine.Language]:
4620
- profile.language = g_param[OptionsDefine.Language]
4621
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4622
- client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
4623
- client._sdkVersion += ("_CLI_" + __version__)
4624
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
4625
- model = models.DescribeTasksByPageRequest()
4626
- model.from_json_string(json.dumps(args))
4627
- start_time = time.time()
4628
- while True:
4629
- rsp = client.DescribeTasksByPage(model)
4630
- result = rsp.to_json_string()
4631
- try:
4632
- json_obj = json.loads(result)
4633
- except TypeError as e:
4634
- json_obj = json.loads(result.decode('utf-8')) # python3.3
4635
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4636
- break
4637
- cur_time = time.time()
4638
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4639
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4640
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4641
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4642
- else:
4643
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4644
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4645
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4646
-
4647
-
4648
4544
  def doModifyWorkflowSchedule(args, parsed_globals):
4649
4545
  g_param = parse_global_arg(parsed_globals)
4650
4546
 
@@ -8025,58 +7921,6 @@ def doDescribeExecStrategy(args, parsed_globals):
8025
7921
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
8026
7922
 
8027
7923
 
8028
- def doDescribeInstanceByCycleReport(args, parsed_globals):
8029
- g_param = parse_global_arg(parsed_globals)
8030
-
8031
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
8032
- cred = credential.CVMRoleCredential()
8033
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
8034
- cred = credential.STSAssumeRoleCredential(
8035
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
8036
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
8037
- )
8038
- 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):
8039
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
8040
- else:
8041
- cred = credential.Credential(
8042
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
8043
- )
8044
- http_profile = HttpProfile(
8045
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
8046
- reqMethod="POST",
8047
- endpoint=g_param[OptionsDefine.Endpoint],
8048
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
8049
- )
8050
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
8051
- if g_param[OptionsDefine.Language]:
8052
- profile.language = g_param[OptionsDefine.Language]
8053
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
8054
- client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
8055
- client._sdkVersion += ("_CLI_" + __version__)
8056
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
8057
- model = models.DescribeInstanceByCycleReportRequest()
8058
- model.from_json_string(json.dumps(args))
8059
- start_time = time.time()
8060
- while True:
8061
- rsp = client.DescribeInstanceByCycleReport(model)
8062
- result = rsp.to_json_string()
8063
- try:
8064
- json_obj = json.loads(result)
8065
- except TypeError as e:
8066
- json_obj = json.loads(result.decode('utf-8')) # python3.3
8067
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
8068
- break
8069
- cur_time = time.time()
8070
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
8071
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
8072
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
8073
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
8074
- else:
8075
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
8076
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
8077
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
8078
-
8079
-
8080
7924
  def doUpdateWorkflowOwner(args, parsed_globals):
8081
7925
  g_param = parse_global_arg(parsed_globals)
8082
7926
 
@@ -11644,7 +11488,6 @@ ACTION_MAP = {
11644
11488
  "DescribeOperateOpsTasks": doDescribeOperateOpsTasks,
11645
11489
  "DescribeInstanceByCycle": doDescribeInstanceByCycle,
11646
11490
  "DescribeIntegrationNode": doDescribeIntegrationNode,
11647
- "DescribeTaskDetail": doDescribeTaskDetail,
11648
11491
  "DescribeDatabaseMetas": doDescribeDatabaseMetas,
11649
11492
  "DescribeTaskByCycle": doDescribeTaskByCycle,
11650
11493
  "DescribeInstanceLogFile": doDescribeInstanceLogFile,
@@ -11712,7 +11555,6 @@ ACTION_MAP = {
11712
11555
  "DescribeTaskByStatusReport": doDescribeTaskByStatusReport,
11713
11556
  "BatchRerunIntegrationTaskInstances": doBatchRerunIntegrationTaskInstances,
11714
11557
  "DescribeSchedulerTaskCntByStatus": doDescribeSchedulerTaskCntByStatus,
11715
- "DescribeTasksByPage": doDescribeTasksByPage,
11716
11558
  "ModifyWorkflowSchedule": doModifyWorkflowSchedule,
11717
11559
  "DescribeTableSchemaInfo": doDescribeTableSchemaInfo,
11718
11560
  "ModifyRule": doModifyRule,
@@ -11778,7 +11620,6 @@ ACTION_MAP = {
11778
11620
  "RegisterEventListener": doRegisterEventListener,
11779
11621
  "DescribeTaskLockStatus": doDescribeTaskLockStatus,
11780
11622
  "DescribeExecStrategy": doDescribeExecStrategy,
11781
- "DescribeInstanceByCycleReport": doDescribeInstanceByCycleReport,
11782
11623
  "UpdateWorkflowOwner": doUpdateWorkflowOwner,
11783
11624
  "DescribeTableLineage": doDescribeTableLineage,
11784
11625
  "DescribeEventCases": doDescribeEventCases,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tccli
3
- Version: 3.0.1094.1
3
+ Version: 3.0.1096.1
4
4
  Summary: Universal Command Line Environment for Tencent Cloud
5
5
  Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
6
6
  Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
13
13
  Classifier: Programming Language :: Python :: 3
14
14
  Requires-Dist: jmespath==0.10.0
15
15
  Requires-Dist: six==1.16.0
16
- Requires-Dist: tencentcloud-sdk-python>=3.0.1094
16
+ Requires-Dist: tencentcloud-sdk-python>=3.0.1096
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # 命令行工具简介