tccli 3.0.1180.1__py2.py3-none-any.whl → 3.0.1182.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.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/batch/v20170312/api.json +1 -1
- tccli/services/cdb/cdb_client.py +106 -0
- tccli/services/cdb/v20170320/api.json +185 -0
- tccli/services/cdb/v20170320/examples.json +17 -1
- tccli/services/cdwdoris/v20211228/api.json +27 -0
- tccli/services/clb/v20180317/api.json +59 -1
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/controlcenter/__init__.py +4 -0
- tccli/services/controlcenter/controlcenter_client.py +195 -0
- tccli/services/controlcenter/v20230110/api.json +82 -0
- tccli/services/controlcenter/v20230110/examples.json +13 -0
- tccli/services/csip/v20221121/api.json +308 -1
- tccli/services/cvm/v20170312/api.json +20 -20
- tccli/services/cvm/v20170312/examples.json +1 -1
- tccli/services/cwp/v20180228/api.json +3 -3
- tccli/services/cwp/v20180228/examples.json +1 -1
- tccli/services/cynosdb/v20190107/api.json +51 -12
- tccli/services/cynosdb/v20190107/examples.json +3 -3
- tccli/services/dasb/v20191018/api.json +11 -1
- tccli/services/dsgc/v20190723/api.json +18 -0
- tccli/services/es/v20180416/api.json +39 -1
- tccli/services/ess/v20201111/api.json +12 -2
- tccli/services/ess/v20201111/examples.json +1 -1
- tccli/services/essbasic/v20210526/api.json +12 -2
- tccli/services/essbasic/v20210526/examples.json +1 -1
- tccli/services/hunyuan/hunyuan_client.py +106 -0
- tccli/services/hunyuan/v20230901/api.json +235 -0
- tccli/services/hunyuan/v20230901/examples.json +16 -0
- tccli/services/iotexplorer/v20190423/api.json +2 -2
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/organization/organization_client.py +53 -0
- tccli/services/organization/v20210331/api.json +43 -0
- tccli/services/organization/v20210331/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +16 -16
- tccli/services/scf/v20180416/api.json +29 -9
- tccli/services/ses/v20201002/api.json +148 -11
- tccli/services/sqlserver/v20180328/api.json +2 -2
- tccli/services/sqlserver/v20180328/examples.json +1 -1
- tccli/services/ssl/v20191205/api.json +10 -0
- tccli/services/tdmq/v20200217/api.json +10 -0
- tccli/services/tms/tms_client.py +0 -53
- tccli/services/tms/v20201229/api.json +2 -46
- tccli/services/tms/v20201229/examples.json +0 -8
- tccli/services/tmt/v20180321/api.json +3 -3
- tccli/services/wedata/v20210820/api.json +1568 -0
- tccli/services/wedata/v20210820/examples.json +54 -0
- tccli/services/wedata/wedata_client.py +334 -16
- {tccli-3.0.1180.1.dist-info → tccli-3.0.1182.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1180.1.dist-info → tccli-3.0.1182.1.dist-info}/RECORD +54 -50
- {tccli-3.0.1180.1.dist-info → tccli-3.0.1182.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1180.1.dist-info → tccli-3.0.1182.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1180.1.dist-info → tccli-3.0.1182.1.dist-info}/license_files/LICENSE +0 -0
@@ -8,6 +8,20 @@
|
|
8
8
|
"title": "BatchCreateIntegrationTaskAlarms"
|
9
9
|
}
|
10
10
|
],
|
11
|
+
"BatchCreateTaskVersionAsync": [
|
12
|
+
{
|
13
|
+
"document": "",
|
14
|
+
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BatchCreateTaskVersionAsync\n<公共请求参数>\n\n{\n \"Tasks\": [\n {\n \"TaskId\": \"abc\",\n \"VersionRemark\": \"abc\"\n }\n ],\n \"AutoRun\": true,\n \"AlarmWays\": \"abc\",\n \"AlarmRecipientTypes\": \"abc\",\n \"ProjectId\": \"abc\"\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"JobId\": 1\n },\n \"RequestId\": \"abc\"\n }\n}",
|
16
|
+
"title": "示例"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"document": "错误示例",
|
20
|
+
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BatchCreateTaskVersionAsync\n<公共请求参数>\n\n{\n \"Tasks\": [\n {\n \"TaskId\": \"20230425181533351\",\n \"VersionRemark\": \"1111\"\n }\n ],\n \"AutoRun\": true,\n \"AlarmWays\": \"email\",\n \"AlarmRecipientTypes\": \"2\",\n \"ProjectId\": \"1470561602745229312\"\n}",
|
21
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation\",\n \"Message\": \"操作失败\"\n },\n \"RequestId\": \"6218d665-282f-4e43-972a-262dc311618e\"\n }\n}",
|
22
|
+
"title": "错误示例"
|
23
|
+
}
|
24
|
+
],
|
11
25
|
"BatchDeleteIntegrationTasks": [
|
12
26
|
{
|
13
27
|
"document": "",
|
@@ -974,6 +988,14 @@
|
|
974
988
|
"title": "错误用例"
|
975
989
|
}
|
976
990
|
],
|
991
|
+
"DescribePendingSubmitTaskList": [
|
992
|
+
{
|
993
|
+
"document": "获取待提交任务预提交校验信息",
|
994
|
+
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePendingSubmitTaskList\n<公共请求参数>\n\n{\n \"ProjectId\": \"abc\",\n \"WorkflowId\": \"abc\",\n \"TaskIdList\": [\n \"abc\"\n ]\n}",
|
995
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"TaskId\": \"abc\",\n \"TaskName\": \"abc\",\n \"ModifyType\": \"abc\",\n \"TaskStatus\": \"abc\",\n \"SubmitPreCheck\": \"abc\",\n \"SubmitPreCheckDetailList\": [\n {\n \"TaskId\": \"abc\",\n \"TaskName\": \"abc\",\n \"ProjectId\": \"abc\",\n \"ProjectName\": \"abc\",\n \"InChargeId\": \"abc\",\n \"InCharge\": \"abc\"\n }\n ],\n \"ExecutorGroupId\": \"abc\",\n \"ExecutorGroupName\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
996
|
+
"title": "获取待提交任务预提交校验信息"
|
997
|
+
}
|
998
|
+
],
|
977
999
|
"DescribeProject": [
|
978
1000
|
{
|
979
1001
|
"document": "",
|
@@ -1446,6 +1468,14 @@
|
|
1446
1468
|
"title": "根据项目id 获取项目下所有工作流列表示例"
|
1447
1469
|
}
|
1448
1470
|
],
|
1471
|
+
"DescribeWorkflowSchedulerInfoDs": [
|
1472
|
+
{
|
1473
|
+
"document": "demo",
|
1474
|
+
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWorkflowSchedulerInfoDs\n<公共请求参数>\n\n{\n \"ProjectId\": \"1460947878944567296\",\n \"WorkflowId\": \"f5d1b42f-ed67-11ed-8909-bc97e105ba60\"\n}",
|
1475
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"CreateTime\": null,\n \"Creater\": null,\n \"CrontabExpression\": null,\n \"CycleStep\": 1,\n \"CycleType\": \"DAY_CYCLE\",\n \"DelayTime\": 0,\n \"DependencyWorkflow\": \"no\",\n \"EndTime\": \"2099-12-31 23:59:59\",\n \"ExecutionEndTime\": null,\n \"ExecutionStartTime\": null,\n \"FirstSubmitTime\": null,\n \"InstanceInitStrategy\": \"T_PLUS_0\",\n \"LatestSubmitTime\": null,\n \"ModifyTime\": null,\n \"ProjectId\": \"1460947878944567296\",\n \"SchedulerDesc\": \"每天00:00执行一次\",\n \"SelfDepend\": \"serial\",\n \"StartTime\": \"2023-05-12 12:04:17\",\n \"StartupTime\": 0,\n \"TaskAction\": \"\",\n \"WorkflowId\": \"f5d1b42f-ed67-11ed-8909-bc97e105ba60\"\n },\n \"RequestId\": \"4d12dcf0-83ef-40b9-a254-98bd6e168991\"\n }\n}",
|
1476
|
+
"title": "示例1"
|
1477
|
+
}
|
1478
|
+
],
|
1449
1479
|
"DescribeWorkflowTaskCount": [
|
1450
1480
|
{
|
1451
1481
|
"document": "查询工作流任务数",
|
@@ -1514,6 +1544,14 @@
|
|
1514
1544
|
"title": "GenHiveTableDDLSql"
|
1515
1545
|
}
|
1516
1546
|
],
|
1547
|
+
"GetCosToken": [
|
1548
|
+
{
|
1549
|
+
"document": "开发空间-获取cos token",
|
1550
|
+
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetCosToken\n<公共请求参数>\n\n{\n \"ProjectId\": \"abc\",\n \"OriginDomain\": \"abc\",\n \"BucketName\": \"abc\",\n \"RemotePath\": \"abc\",\n \"CrossFlag\": true\n}",
|
1551
|
+
"output": "{\n \"Response\": {\n \"Region\": \"abc\",\n \"Token\": {\n \"Id\": \"abc\",\n \"Token\": \"abc\",\n \"SecretId\": \"abc\",\n \"SecretKey\": \"abc\",\n \"Response\": \"abc\",\n \"OwnerUin\": \"abc\",\n \"ExpiredTime\": 1,\n \"CreateTime\": 1,\n \"UpdateTime\": 1,\n \"OperatorUin\": \"abc\"\n },\n \"Bucket\": \"abc\",\n \"EndPoint\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
1552
|
+
"title": "GetCosToken 示例"
|
1553
|
+
}
|
1554
|
+
],
|
1517
1555
|
"GetFileInfo": [
|
1518
1556
|
{
|
1519
1557
|
"document": "开发空间-获取数据开发脚本信息",
|
@@ -1546,6 +1584,14 @@
|
|
1546
1584
|
"title": "调试运行集成任务"
|
1547
1585
|
}
|
1548
1586
|
],
|
1587
|
+
"JudgeResourceFile": [
|
1588
|
+
{
|
1589
|
+
"document": "判断资源文件是否存在",
|
1590
|
+
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: JudgeResourceFile\n<公共请求参数>\n\n{\n \"ProjectId\": \"abc\",\n \"FilePath\": \"abc\"\n}",
|
1591
|
+
"output": "{\n \"Response\": {\n \"Data\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
1592
|
+
"title": "资源管理-判断资源文件是否存在"
|
1593
|
+
}
|
1594
|
+
],
|
1549
1595
|
"KillOpsMakePlanInstances": [
|
1550
1596
|
{
|
1551
1597
|
"document": "批量终止补录计划实例",
|
@@ -1764,6 +1810,14 @@
|
|
1764
1810
|
"title": "工作流不存在"
|
1765
1811
|
}
|
1766
1812
|
],
|
1813
|
+
"RenewWorkflowSchedulerInfoDs": [
|
1814
|
+
{
|
1815
|
+
"document": "demo",
|
1816
|
+
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RenewWorkflowSchedulerInfoDs\n<公共请求参数>\n\n{\n \"ProjectId\": \"1460947878944567296\",\n \"WorkflowId\": \"e5b0945c-ed6d-11ed-8909-bc97e105ba60\",\n \"DelayTime\": 0,\n \"SelfDepend\": \"serial\",\n \"StartTime\": \"2023-05-13 12:44:29\",\n \"EndTime\": \"2023-05-12 23:59:59\",\n \"TaskAction\": \"\",\n \"CycleType\": \"DAY_CYCLE\",\n \"CycleStep\": 1\n}",
|
1817
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"Failed\": 0,\n \"Success\": 0,\n \"Total\": 0\n },\n \"RequestId\": \"59a4462b-66f3-4cc2-80a2-46c416726c46\"\n }\n}",
|
1818
|
+
"title": "示例1"
|
1819
|
+
}
|
1820
|
+
],
|
1767
1821
|
"ResumeIntegrationTask": [
|
1768
1822
|
{
|
1769
1823
|
"document": "继续集成任务",
|
@@ -641,6 +641,58 @@ def doDescribeDataCheckStat(args, parsed_globals):
|
|
641
641
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
642
642
|
|
643
643
|
|
644
|
+
def doDescribeTableMeta(args, parsed_globals):
|
645
|
+
g_param = parse_global_arg(parsed_globals)
|
646
|
+
|
647
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
648
|
+
cred = credential.CVMRoleCredential()
|
649
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
650
|
+
cred = credential.STSAssumeRoleCredential(
|
651
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
652
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
653
|
+
)
|
654
|
+
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):
|
655
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
656
|
+
else:
|
657
|
+
cred = credential.Credential(
|
658
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
659
|
+
)
|
660
|
+
http_profile = HttpProfile(
|
661
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
662
|
+
reqMethod="POST",
|
663
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
664
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
665
|
+
)
|
666
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
667
|
+
if g_param[OptionsDefine.Language]:
|
668
|
+
profile.language = g_param[OptionsDefine.Language]
|
669
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
670
|
+
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
671
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
672
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
673
|
+
model = models.DescribeTableMetaRequest()
|
674
|
+
model.from_json_string(json.dumps(args))
|
675
|
+
start_time = time.time()
|
676
|
+
while True:
|
677
|
+
rsp = client.DescribeTableMeta(model)
|
678
|
+
result = rsp.to_json_string()
|
679
|
+
try:
|
680
|
+
json_obj = json.loads(result)
|
681
|
+
except TypeError as e:
|
682
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
683
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
684
|
+
break
|
685
|
+
cur_time = time.time()
|
686
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
687
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
688
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
689
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
690
|
+
else:
|
691
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
692
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
693
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
694
|
+
|
695
|
+
|
644
696
|
def doBatchKillIntegrationTaskInstances(args, parsed_globals):
|
645
697
|
g_param = parse_global_arg(parsed_globals)
|
646
698
|
|
@@ -745,7 +797,7 @@ def doModifyExecStrategy(args, parsed_globals):
|
|
745
797
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
746
798
|
|
747
799
|
|
748
|
-
def
|
800
|
+
def doRegisterEventListener(args, parsed_globals):
|
749
801
|
g_param = parse_global_arg(parsed_globals)
|
750
802
|
|
751
803
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -774,11 +826,11 @@ def doDescribeIntegrationStatisticsTaskStatusTrend(args, parsed_globals):
|
|
774
826
|
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
775
827
|
client._sdkVersion += ("_CLI_" + __version__)
|
776
828
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
777
|
-
model = models.
|
829
|
+
model = models.RegisterEventListenerRequest()
|
778
830
|
model.from_json_string(json.dumps(args))
|
779
831
|
start_time = time.time()
|
780
832
|
while True:
|
781
|
-
rsp = client.
|
833
|
+
rsp = client.RegisterEventListener(model)
|
782
834
|
result = rsp.to_json_string()
|
783
835
|
try:
|
784
836
|
json_obj = json.loads(result)
|
@@ -2201,6 +2253,58 @@ def doDescribeEventConsumeTasks(args, parsed_globals):
|
|
2201
2253
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2202
2254
|
|
2203
2255
|
|
2256
|
+
def doRegisterEvent(args, parsed_globals):
|
2257
|
+
g_param = parse_global_arg(parsed_globals)
|
2258
|
+
|
2259
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2260
|
+
cred = credential.CVMRoleCredential()
|
2261
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2262
|
+
cred = credential.STSAssumeRoleCredential(
|
2263
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2264
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2265
|
+
)
|
2266
|
+
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):
|
2267
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2268
|
+
else:
|
2269
|
+
cred = credential.Credential(
|
2270
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2271
|
+
)
|
2272
|
+
http_profile = HttpProfile(
|
2273
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2274
|
+
reqMethod="POST",
|
2275
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2276
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2277
|
+
)
|
2278
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2279
|
+
if g_param[OptionsDefine.Language]:
|
2280
|
+
profile.language = g_param[OptionsDefine.Language]
|
2281
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2282
|
+
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
2283
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2284
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2285
|
+
model = models.RegisterEventRequest()
|
2286
|
+
model.from_json_string(json.dumps(args))
|
2287
|
+
start_time = time.time()
|
2288
|
+
while True:
|
2289
|
+
rsp = client.RegisterEvent(model)
|
2290
|
+
result = rsp.to_json_string()
|
2291
|
+
try:
|
2292
|
+
json_obj = json.loads(result)
|
2293
|
+
except TypeError as e:
|
2294
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2295
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2296
|
+
break
|
2297
|
+
cur_time = time.time()
|
2298
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2299
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2300
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2301
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2302
|
+
else:
|
2303
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2304
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2305
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2306
|
+
|
2307
|
+
|
2204
2308
|
def doDescribeOfflineTaskToken(args, parsed_globals):
|
2205
2309
|
g_param = parse_global_arg(parsed_globals)
|
2206
2310
|
|
@@ -2669,6 +2773,58 @@ def doDescribeQualityScore(args, parsed_globals):
|
|
2669
2773
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2670
2774
|
|
2671
2775
|
|
2776
|
+
def doGetCosToken(args, parsed_globals):
|
2777
|
+
g_param = parse_global_arg(parsed_globals)
|
2778
|
+
|
2779
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2780
|
+
cred = credential.CVMRoleCredential()
|
2781
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2782
|
+
cred = credential.STSAssumeRoleCredential(
|
2783
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2784
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2785
|
+
)
|
2786
|
+
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):
|
2787
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2788
|
+
else:
|
2789
|
+
cred = credential.Credential(
|
2790
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2791
|
+
)
|
2792
|
+
http_profile = HttpProfile(
|
2793
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2794
|
+
reqMethod="POST",
|
2795
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2796
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2797
|
+
)
|
2798
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2799
|
+
if g_param[OptionsDefine.Language]:
|
2800
|
+
profile.language = g_param[OptionsDefine.Language]
|
2801
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2802
|
+
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
2803
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2804
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2805
|
+
model = models.GetCosTokenRequest()
|
2806
|
+
model.from_json_string(json.dumps(args))
|
2807
|
+
start_time = time.time()
|
2808
|
+
while True:
|
2809
|
+
rsp = client.GetCosToken(model)
|
2810
|
+
result = rsp.to_json_string()
|
2811
|
+
try:
|
2812
|
+
json_obj = json.loads(result)
|
2813
|
+
except TypeError as e:
|
2814
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2815
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2816
|
+
break
|
2817
|
+
cur_time = time.time()
|
2818
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2819
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2820
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2821
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2822
|
+
else:
|
2823
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2824
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2825
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2826
|
+
|
2827
|
+
|
2672
2828
|
def doCreateRule(args, parsed_globals):
|
2673
2829
|
g_param = parse_global_arg(parsed_globals)
|
2674
2830
|
|
@@ -5945,6 +6101,58 @@ def doDescribeDependOpsTasks(args, parsed_globals):
|
|
5945
6101
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5946
6102
|
|
5947
6103
|
|
6104
|
+
def doJudgeResourceFile(args, parsed_globals):
|
6105
|
+
g_param = parse_global_arg(parsed_globals)
|
6106
|
+
|
6107
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
6108
|
+
cred = credential.CVMRoleCredential()
|
6109
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
6110
|
+
cred = credential.STSAssumeRoleCredential(
|
6111
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
6112
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
6113
|
+
)
|
6114
|
+
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):
|
6115
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
6116
|
+
else:
|
6117
|
+
cred = credential.Credential(
|
6118
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
6119
|
+
)
|
6120
|
+
http_profile = HttpProfile(
|
6121
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
6122
|
+
reqMethod="POST",
|
6123
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
6124
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
6125
|
+
)
|
6126
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
6127
|
+
if g_param[OptionsDefine.Language]:
|
6128
|
+
profile.language = g_param[OptionsDefine.Language]
|
6129
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
6130
|
+
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
6131
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
6132
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
6133
|
+
model = models.JudgeResourceFileRequest()
|
6134
|
+
model.from_json_string(json.dumps(args))
|
6135
|
+
start_time = time.time()
|
6136
|
+
while True:
|
6137
|
+
rsp = client.JudgeResourceFile(model)
|
6138
|
+
result = rsp.to_json_string()
|
6139
|
+
try:
|
6140
|
+
json_obj = json.loads(result)
|
6141
|
+
except TypeError as e:
|
6142
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
6143
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
6144
|
+
break
|
6145
|
+
cur_time = time.time()
|
6146
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
6147
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
6148
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
6149
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
6150
|
+
else:
|
6151
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
6152
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
6153
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6154
|
+
|
6155
|
+
|
5948
6156
|
def doSubmitTask(args, parsed_globals):
|
5949
6157
|
g_param = parse_global_arg(parsed_globals)
|
5950
6158
|
|
@@ -7193,6 +7401,58 @@ def doUploadResource(args, parsed_globals):
|
|
7193
7401
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
7194
7402
|
|
7195
7403
|
|
7404
|
+
def doBatchCreateTaskVersionAsync(args, parsed_globals):
|
7405
|
+
g_param = parse_global_arg(parsed_globals)
|
7406
|
+
|
7407
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
7408
|
+
cred = credential.CVMRoleCredential()
|
7409
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
7410
|
+
cred = credential.STSAssumeRoleCredential(
|
7411
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
7412
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
7413
|
+
)
|
7414
|
+
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):
|
7415
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
7416
|
+
else:
|
7417
|
+
cred = credential.Credential(
|
7418
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
7419
|
+
)
|
7420
|
+
http_profile = HttpProfile(
|
7421
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
7422
|
+
reqMethod="POST",
|
7423
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
7424
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
7425
|
+
)
|
7426
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
7427
|
+
if g_param[OptionsDefine.Language]:
|
7428
|
+
profile.language = g_param[OptionsDefine.Language]
|
7429
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
7430
|
+
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
7431
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
7432
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
7433
|
+
model = models.BatchCreateTaskVersionAsyncRequest()
|
7434
|
+
model.from_json_string(json.dumps(args))
|
7435
|
+
start_time = time.time()
|
7436
|
+
while True:
|
7437
|
+
rsp = client.BatchCreateTaskVersionAsync(model)
|
7438
|
+
result = rsp.to_json_string()
|
7439
|
+
try:
|
7440
|
+
json_obj = json.loads(result)
|
7441
|
+
except TypeError as e:
|
7442
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
7443
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
7444
|
+
break
|
7445
|
+
cur_time = time.time()
|
7446
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
7447
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
7448
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
7449
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
7450
|
+
else:
|
7451
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
7452
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
7453
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
7454
|
+
|
7455
|
+
|
7196
7456
|
def doModifyMonitorStatus(args, parsed_globals):
|
7197
7457
|
g_param = parse_global_arg(parsed_globals)
|
7198
7458
|
|
@@ -7973,7 +8233,7 @@ def doModifyApproveStatus(args, parsed_globals):
|
|
7973
8233
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
7974
8234
|
|
7975
8235
|
|
7976
|
-
def
|
8236
|
+
def doDescribeIntegrationStatisticsTaskStatusTrend(args, parsed_globals):
|
7977
8237
|
g_param = parse_global_arg(parsed_globals)
|
7978
8238
|
|
7979
8239
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -8002,11 +8262,11 @@ def doRegisterEventListener(args, parsed_globals):
|
|
8002
8262
|
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
8003
8263
|
client._sdkVersion += ("_CLI_" + __version__)
|
8004
8264
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
8005
|
-
model = models.
|
8265
|
+
model = models.DescribeIntegrationStatisticsTaskStatusTrendRequest()
|
8006
8266
|
model.from_json_string(json.dumps(args))
|
8007
8267
|
start_time = time.time()
|
8008
8268
|
while True:
|
8009
|
-
rsp = client.
|
8269
|
+
rsp = client.DescribeIntegrationStatisticsTaskStatusTrend(model)
|
8010
8270
|
result = rsp.to_json_string()
|
8011
8271
|
try:
|
8012
8272
|
json_obj = json.loads(result)
|
@@ -9117,6 +9377,58 @@ def doDescribeRuleGroupExecResultsByPage(args, parsed_globals):
|
|
9117
9377
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
9118
9378
|
|
9119
9379
|
|
9380
|
+
def doDescribePendingSubmitTaskList(args, parsed_globals):
|
9381
|
+
g_param = parse_global_arg(parsed_globals)
|
9382
|
+
|
9383
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
9384
|
+
cred = credential.CVMRoleCredential()
|
9385
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
9386
|
+
cred = credential.STSAssumeRoleCredential(
|
9387
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
9388
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
9389
|
+
)
|
9390
|
+
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):
|
9391
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
9392
|
+
else:
|
9393
|
+
cred = credential.Credential(
|
9394
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
9395
|
+
)
|
9396
|
+
http_profile = HttpProfile(
|
9397
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
9398
|
+
reqMethod="POST",
|
9399
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
9400
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
9401
|
+
)
|
9402
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
9403
|
+
if g_param[OptionsDefine.Language]:
|
9404
|
+
profile.language = g_param[OptionsDefine.Language]
|
9405
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
9406
|
+
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
9407
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
9408
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
9409
|
+
model = models.DescribePendingSubmitTaskListRequest()
|
9410
|
+
model.from_json_string(json.dumps(args))
|
9411
|
+
start_time = time.time()
|
9412
|
+
while True:
|
9413
|
+
rsp = client.DescribePendingSubmitTaskList(model)
|
9414
|
+
result = rsp.to_json_string()
|
9415
|
+
try:
|
9416
|
+
json_obj = json.loads(result)
|
9417
|
+
except TypeError as e:
|
9418
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
9419
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
9420
|
+
break
|
9421
|
+
cur_time = time.time()
|
9422
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
9423
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
9424
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
9425
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
9426
|
+
else:
|
9427
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
9428
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
9429
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
9430
|
+
|
9431
|
+
|
9120
9432
|
def doDescribeRuleExecResults(args, parsed_globals):
|
9121
9433
|
g_param = parse_global_arg(parsed_globals)
|
9122
9434
|
|
@@ -9741,7 +10053,7 @@ def doModifyTaskAlarmRegular(args, parsed_globals):
|
|
9741
10053
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
9742
10054
|
|
9743
10055
|
|
9744
|
-
def
|
10056
|
+
def doDescribeWorkflowSchedulerInfoDs(args, parsed_globals):
|
9745
10057
|
g_param = parse_global_arg(parsed_globals)
|
9746
10058
|
|
9747
10059
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -9770,11 +10082,11 @@ def doDescribeTableMeta(args, parsed_globals):
|
|
9770
10082
|
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
9771
10083
|
client._sdkVersion += ("_CLI_" + __version__)
|
9772
10084
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
9773
|
-
model = models.
|
10085
|
+
model = models.DescribeWorkflowSchedulerInfoDsRequest()
|
9774
10086
|
model.from_json_string(json.dumps(args))
|
9775
10087
|
start_time = time.time()
|
9776
10088
|
while True:
|
9777
|
-
rsp = client.
|
10089
|
+
rsp = client.DescribeWorkflowSchedulerInfoDs(model)
|
9778
10090
|
result = rsp.to_json_string()
|
9779
10091
|
try:
|
9780
10092
|
json_obj = json.loads(result)
|
@@ -10417,7 +10729,7 @@ def doModifyTaskLinks(args, parsed_globals):
|
|
10417
10729
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
10418
10730
|
|
10419
10731
|
|
10420
|
-
def
|
10732
|
+
def doRenewWorkflowSchedulerInfoDs(args, parsed_globals):
|
10421
10733
|
g_param = parse_global_arg(parsed_globals)
|
10422
10734
|
|
10423
10735
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -10446,11 +10758,11 @@ def doRegisterEvent(args, parsed_globals):
|
|
10446
10758
|
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
10447
10759
|
client._sdkVersion += ("_CLI_" + __version__)
|
10448
10760
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
10449
|
-
model = models.
|
10761
|
+
model = models.RenewWorkflowSchedulerInfoDsRequest()
|
10450
10762
|
model.from_json_string(json.dumps(args))
|
10451
10763
|
start_time = time.time()
|
10452
10764
|
while True:
|
10453
|
-
rsp = client.
|
10765
|
+
rsp = client.RenewWorkflowSchedulerInfoDs(model)
|
10454
10766
|
result = rsp.to_json_string()
|
10455
10767
|
try:
|
10456
10768
|
json_obj = json.loads(result)
|
@@ -11792,9 +12104,10 @@ ACTION_MAP = {
|
|
11792
12104
|
"BatchStopOpsTasks": doBatchStopOpsTasks,
|
11793
12105
|
"DescribeTaskByCycleReport": doDescribeTaskByCycleReport,
|
11794
12106
|
"DescribeDataCheckStat": doDescribeDataCheckStat,
|
12107
|
+
"DescribeTableMeta": doDescribeTableMeta,
|
11795
12108
|
"BatchKillIntegrationTaskInstances": doBatchKillIntegrationTaskInstances,
|
11796
12109
|
"ModifyExecStrategy": doModifyExecStrategy,
|
11797
|
-
"
|
12110
|
+
"RegisterEventListener": doRegisterEventListener,
|
11798
12111
|
"CreateHiveTable": doCreateHiveTable,
|
11799
12112
|
"DescribeDrInstancePage": doDescribeDrInstancePage,
|
11800
12113
|
"DescribeOperateOpsTasks": doDescribeOperateOpsTasks,
|
@@ -11822,6 +12135,7 @@ ACTION_MAP = {
|
|
11822
12135
|
"CreateDataSource": doCreateDataSource,
|
11823
12136
|
"DescribeOpsInstanceLogList": doDescribeOpsInstanceLogList,
|
11824
12137
|
"DescribeEventConsumeTasks": doDescribeEventConsumeTasks,
|
12138
|
+
"RegisterEvent": doRegisterEvent,
|
11825
12139
|
"DescribeOfflineTaskToken": doDescribeOfflineTaskToken,
|
11826
12140
|
"DeleteRuleTemplate": doDeleteRuleTemplate,
|
11827
12141
|
"CreateDsFolder": doCreateDsFolder,
|
@@ -11831,6 +12145,7 @@ ACTION_MAP = {
|
|
11831
12145
|
"ModifyIntegrationTask": doModifyIntegrationTask,
|
11832
12146
|
"DescribeStreamTaskLogList": doDescribeStreamTaskLogList,
|
11833
12147
|
"DescribeQualityScore": doDescribeQualityScore,
|
12148
|
+
"GetCosToken": doGetCosToken,
|
11834
12149
|
"CreateRule": doCreateRule,
|
11835
12150
|
"GenHiveTableDDLSql": doGenHiveTableDDLSql,
|
11836
12151
|
"DescribeTaskRunHistory": doDescribeTaskRunHistory,
|
@@ -11894,6 +12209,7 @@ ACTION_MAP = {
|
|
11894
12209
|
"FindAllFolder": doFindAllFolder,
|
11895
12210
|
"DescribeDatabaseInfoList": doDescribeDatabaseInfoList,
|
11896
12211
|
"DescribeDependOpsTasks": doDescribeDependOpsTasks,
|
12212
|
+
"JudgeResourceFile": doJudgeResourceFile,
|
11897
12213
|
"SubmitTask": doSubmitTask,
|
11898
12214
|
"CommitIntegrationTask": doCommitIntegrationTask,
|
11899
12215
|
"DeleteOfflineTask": doDeleteOfflineTask,
|
@@ -11918,6 +12234,7 @@ ACTION_MAP = {
|
|
11918
12234
|
"CheckAlarmRegularNameExist": doCheckAlarmRegularNameExist,
|
11919
12235
|
"CheckIntegrationTaskNameExists": doCheckIntegrationTaskNameExists,
|
11920
12236
|
"UploadResource": doUploadResource,
|
12237
|
+
"BatchCreateTaskVersionAsync": doBatchCreateTaskVersionAsync,
|
11921
12238
|
"ModifyMonitorStatus": doModifyMonitorStatus,
|
11922
12239
|
"DeleteProjectUsers": doDeleteProjectUsers,
|
11923
12240
|
"DeleteFile": doDeleteFile,
|
@@ -11933,7 +12250,7 @@ ACTION_MAP = {
|
|
11933
12250
|
"DescribeRuleTemplatesByPage": doDescribeRuleTemplatesByPage,
|
11934
12251
|
"DagInstances": doDagInstances,
|
11935
12252
|
"ModifyApproveStatus": doModifyApproveStatus,
|
11936
|
-
"
|
12253
|
+
"DescribeIntegrationStatisticsTaskStatusTrend": doDescribeIntegrationStatisticsTaskStatusTrend,
|
11937
12254
|
"DescribeTaskLockStatus": doDescribeTaskLockStatus,
|
11938
12255
|
"DescribeAllByFolderNew": doDescribeAllByFolderNew,
|
11939
12256
|
"UpdateWorkflowOwner": doUpdateWorkflowOwner,
|
@@ -11955,6 +12272,7 @@ ACTION_MAP = {
|
|
11955
12272
|
"ModifyRuleGroupSubscription": doModifyRuleGroupSubscription,
|
11956
12273
|
"DescribeStatisticInstanceStatusTrendOps": doDescribeStatisticInstanceStatusTrendOps,
|
11957
12274
|
"DescribeRuleGroupExecResultsByPage": doDescribeRuleGroupExecResultsByPage,
|
12275
|
+
"DescribePendingSubmitTaskList": doDescribePendingSubmitTaskList,
|
11958
12276
|
"DescribeRuleExecResults": doDescribeRuleExecResults,
|
11959
12277
|
"TriggerEvent": doTriggerEvent,
|
11960
12278
|
"FreezeTasksByWorkflowIds": doFreezeTasksByWorkflowIds,
|
@@ -11967,7 +12285,7 @@ ACTION_MAP = {
|
|
11967
12285
|
"DescribeIntegrationVersionNodesInfo": doDescribeIntegrationVersionNodesInfo,
|
11968
12286
|
"UploadContent": doUploadContent,
|
11969
12287
|
"ModifyTaskAlarmRegular": doModifyTaskAlarmRegular,
|
11970
|
-
"
|
12288
|
+
"DescribeWorkflowSchedulerInfoDs": doDescribeWorkflowSchedulerInfoDs,
|
11971
12289
|
"DeleteCustomFunction": doDeleteCustomFunction,
|
11972
12290
|
"DescribeFolderWorkflowList": doDescribeFolderWorkflowList,
|
11973
12291
|
"DescribeIntegrationTask": doDescribeIntegrationTask,
|
@@ -11980,7 +12298,7 @@ ACTION_MAP = {
|
|
11980
12298
|
"CommitRuleGroupTask": doCommitRuleGroupTask,
|
11981
12299
|
"BatchRunOpsTask": doBatchRunOpsTask,
|
11982
12300
|
"ModifyTaskLinks": doModifyTaskLinks,
|
11983
|
-
"
|
12301
|
+
"RenewWorkflowSchedulerInfoDs": doRenewWorkflowSchedulerInfoDs,
|
11984
12302
|
"DescribeOpsMakePlans": doDescribeOpsMakePlans,
|
11985
12303
|
"DescribeRealTimeTaskInstanceNodeInfo": doDescribeRealTimeTaskInstanceNodeInfo,
|
11986
12304
|
"ModifyDimensionWeight": doModifyDimensionWeight,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1182.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.
|
16
|
+
Requires-Dist: tencentcloud-sdk-python>=3.0.1182
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|