tccli 3.0.1283.1__py2.py3-none-any.whl → 3.0.1285.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/acp/v20220105/api.json +23 -23
- tccli/services/acp/v20220105/examples.json +2 -8
- tccli/services/advisor/v20200721/api.json +4 -2
- tccli/services/apm/v20210622/api.json +1 -1
- tccli/services/autoscaling/v20180419/api.json +88 -86
- tccli/services/bh/bh_client.py +53 -0
- tccli/services/bh/v20230418/api.json +199 -0
- tccli/services/bh/v20230418/examples.json +8 -0
- tccli/services/cdn/v20180606/api.json +4 -2
- tccli/services/cdwch/v20200915/api.json +19 -9
- tccli/services/cdwch/v20200915/examples.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +18 -0
- tccli/services/cfg/v20210820/api.json +48 -24
- tccli/services/cfg/v20210820/examples.json +8 -2
- tccli/services/clb/v20180317/api.json +21 -3
- tccli/services/cmq/v20190304/api.json +92 -92
- tccli/services/cynosdb/v20190107/api.json +389 -379
- tccli/services/dbbrain/v20191016/api.json +17 -17
- tccli/services/dbbrain/v20210527/api.json +22 -22
- tccli/services/dcdb/v20180411/api.json +14 -4
- tccli/services/dcdb/v20180411/examples.json +1 -1
- tccli/services/dlc/v20210125/api.json +130 -58
- tccli/services/dlc/v20210125/examples.json +5 -5
- tccli/services/domain/v20180808/api.json +160 -160
- tccli/services/dsgc/v20190723/api.json +2 -2
- tccli/services/dts/v20180330/api.json +19 -19
- tccli/services/dts/v20211206/api.json +829 -818
- tccli/services/emr/emr_client.py +53 -0
- tccli/services/emr/v20190103/api.json +247 -0
- tccli/services/emr/v20190103/examples.json +8 -0
- tccli/services/es/v20180416/api.json +13 -3
- tccli/services/es/v20180416/examples.json +2 -2
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +122 -1
- tccli/services/ess/v20201111/examples.json +26 -0
- tccli/services/essbasic/essbasic_client.py +57 -4
- tccli/services/essbasic/v20210526/api.json +163 -0
- tccli/services/essbasic/v20210526/examples.json +26 -0
- tccli/services/fmu/fmu_client.py +8 -167
- tccli/services/fmu/v20191213/api.json +0 -292
- tccli/services/fmu/v20191213/examples.json +0 -24
- tccli/services/goosefs/v20220519/api.json +26 -24
- tccli/services/goosefs/v20220519/examples.json +2 -2
- tccli/services/iotcloud/v20210408/api.json +27 -27
- tccli/services/iotcloud/v20210408/examples.json +6 -6
- tccli/services/iotexplorer/iotexplorer_client.py +0 -106
- tccli/services/iotexplorer/v20190423/api.json +0 -274
- tccli/services/iotexplorer/v20190423/examples.json +0 -16
- tccli/services/iss/v20230517/api.json +547 -537
- tccli/services/iss/v20230517/examples.json +2 -2
- tccli/services/kms/v20190118/api.json +20 -0
- tccli/services/lcic/lcic_client.py +114 -8
- tccli/services/lcic/v20220817/api.json +108 -0
- tccli/services/lcic/v20220817/examples.json +16 -0
- tccli/services/lke/v20231130/api.json +8 -8
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/lowcode/v20210108/api.json +165 -165
- tccli/services/lowcode/v20210108/examples.json +5 -5
- tccli/services/mariadb/v20170312/api.json +12 -2
- tccli/services/mariadb/v20170312/examples.json +4 -4
- tccli/services/mongodb/mongodb_client.py +57 -4
- tccli/services/mongodb/v20190725/api.json +63 -0
- tccli/services/mongodb/v20190725/examples.json +14 -0
- tccli/services/monitor/v20180724/api.json +36 -36
- tccli/services/monitor/v20180724/examples.json +10 -10
- tccli/services/ocr/v20181119/api.json +2 -2
- tccli/services/ocr/v20181119/examples.json +2 -2
- tccli/services/organization/organization_client.py +53 -0
- tccli/services/organization/v20210331/api.json +61 -0
- tccli/services/organization/v20210331/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +11 -2
- tccli/services/redis/v20180412/examples.json +1 -1
- tccli/services/scf/v20180416/api.json +40 -0
- tccli/services/svp/svp_client.py +57 -4
- tccli/services/svp/v20240125/api.json +319 -0
- tccli/services/svp/v20240125/examples.json +8 -0
- tccli/services/tdmq/tdmq_client.py +4 -57
- tccli/services/tdmq/v20200217/api.json +118 -212
- tccli/services/tdmq/v20200217/examples.json +0 -8
- tccli/services/tds/v20220801/api.json +2 -2
- tccli/services/tione/v20211111/api.json +41 -1
- tccli/services/trtc/v20190722/api.json +16 -5
- tccli/services/tse/v20201207/api.json +207 -104
- tccli/services/tsf/tsf_client.py +53 -0
- tccli/services/tsf/v20180326/api.json +48 -4
- tccli/services/tsf/v20180326/examples.json +8 -0
- tccli/services/vclm/v20240523/api.json +20 -2
- tccli/services/vdb/v20230616/api.json +62 -62
- tccli/services/vdb/v20230616/examples.json +2 -2
- tccli/services/vpc/v20170312/api.json +54 -0
- tccli/services/vpc/v20170312/examples.json +8 -0
- tccli/services/vpc/vpc_client.py +53 -0
- tccli/services/waf/v20180125/api.json +143 -0
- tccli/services/waf/v20180125/examples.json +16 -0
- tccli/services/waf/waf_client.py +106 -0
- tccli/services/wedata/v20210820/api.json +1220 -5
- tccli/services/wedata/v20210820/examples.json +32 -8
- tccli/services/wedata/wedata_client.py +159 -0
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/RECORD +104 -104
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/license_files/LICENSE +0 -0
@@ -589,8 +589,8 @@
|
|
589
589
|
"DescribeColumnLineage": [
|
590
590
|
{
|
591
591
|
"document": "列出表血缘信息",
|
592
|
-
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeColumnLineage\n<公共请求参数>\n\n{\n \"Direction\": \"
|
593
|
-
"output": "{\n \"Response\": {\n \"
|
592
|
+
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeColumnLineage\n<公共请求参数>\n\n{\n \"Direction\": \"BOTH\",\n \"Data\": {\n \"Id\": \"12395550416\",\n \"ColumnType\": \"INT\",\n \"ColumnName\": \"col_a1\",\n \"ColumnNameCn\": \"\",\n \"Description\": \"\",\n \"DatasourceId\": \"-\",\n \"QualifiedName\": \"-\",\n \"TableName\": \"0210_biao1\",\n \"DownStreamCount\": 0,\n \"UpStreamCount\": 0,\n \"TableId\": \"JqDviGd3SJKP1Dzlaabbcc\",\n \"ExtParams\": [\n {\n \"Value\": \"00000000-0000-0000-0000-000000000000\",\n \"Name\": \"nodeid\"\n },\n {\n \"Value\": \"true\",\n \"Name\": \"flag\"\n }\n ]\n },\n \"IgnoreTemp\": true\n}",
|
593
|
+
"output": "{\n \"Response\": {\n \"ColumnAggregationLineage\": {\n \"ChildSet\": null,\n \"ColumnInfoSet\": [\n {\n \"ColumnName\": \"a\",\n \"ColumnNameCn\": \"\",\n \"ColumnType\": \"\",\n \"CreateTime\": \"\",\n \"DatasourceId\": \"\",\n \"Description\": \"\",\n \"DownStreamCount\": 0,\n \"Id\": null,\n \"ModifyTime\": \"\",\n \"Params\": \"\",\n \"PrefixPath\": \"\",\n \"QualifiedName\": null,\n \"RelationParams\": \"\",\n \"Tasks\": [],\n \"UpStreamCount\": 0\n }\n ],\n \"MetastoreType\": null,\n \"ParentId\": \"-\",\n \"ParentSet\": null,\n \"TableName\": \"0210_biao1\"\n },\n \"RequestId\": \"08e65bec-dbd8-4dde-b682-6734b5137557\"\n }\n}",
|
594
594
|
"title": "列出表血缘信息"
|
595
595
|
}
|
596
596
|
],
|
@@ -1112,6 +1112,22 @@
|
|
1112
1112
|
"title": "实时任务同步速度趋势"
|
1113
1113
|
}
|
1114
1114
|
],
|
1115
|
+
"DescribeReportTaskDetail": [
|
1116
|
+
{
|
1117
|
+
"document": "成功调用",
|
1118
|
+
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReportTaskDetail\n<公共请求参数>\n\n{\n \"PageNum\": 1,\n \"PageSize\": 10,\n \"EngineTaskId\": \"fd04099ecc1611ef9abe525400eda0b2\"\n}",
|
1119
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"BusinessInfo\": null,\n \"EngineExeEndTime\": \"2025-01-06 18:14:18\",\n \"EngineExeStartTime\": \"2025-01-06 18:14:17\",\n \"EngineExeStatus\": null,\n \"EngineTaskId\": \"fd04099ecc1611ef9abe525400eda0b2\",\n \"EngineTaskInfo\": {\n \"CmdArgs\": \"\",\n \"CuConsume\": null,\n \"EngineExeStatus\": null,\n \"EngineExeTime\": null,\n \"EngineExeTimes\": null,\n \"EngineName\": \"DLC_Standard_Presto\",\n \"EngineSubmitTime\": null,\n \"InputBytesSum\": null,\n \"OutputBytesSum\": null,\n \"OutputFilesNum\": null,\n \"OutputRecordsSum\": null,\n \"OutputSmallFilesNum\": null,\n \"QueryResultTime\": null,\n \"ResourceUsage\": -1,\n \"ShuffleReadBytesSum\": null,\n \"ShuffleReadRecordsSum\": null,\n \"TaskContent\": \"SELECT id\\nFROM \\\"DataLakeCatalog\\\".\\\"a0a0a\\\".\\\"kuantest1\\\"\\nlimit 10\",\n \"TaskKind\": \"KyuubiSQLTask\",\n \"TaskType\": \"StandardPrestoSQLTask\",\n \"WaitTime\": null\n },\n \"TaskTypeId\": null\n },\n \"RequestId\": \"92c0c30f-286f-4a8c-a167-a5f22df82ae8\"\n }\n}",
|
1120
|
+
"title": "成功调用"
|
1121
|
+
}
|
1122
|
+
],
|
1123
|
+
"DescribeReportTaskList": [
|
1124
|
+
{
|
1125
|
+
"document": "正常调用",
|
1126
|
+
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReportTaskList\n<公共请求参数>\n\n{\n \"PageNum\": 1,\n \"PageSize\": 10,\n \"EngineTaskId\": \"4dfedddfcc1611efa2b9525400942df5\"\n}",
|
1127
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"PageNum\": 1,\n \"PageSize\": 10,\n \"Rows\": [\n {\n \"AppID\": \"1315051789\",\n \"EngineExeEndTime\": \"2025-01-06 18:09:25\",\n \"EngineExeStartTime\": \"2025-01-06 18:09:24\",\n \"EngineExeStatus\": \"SUCCESS\",\n \"EngineExeUser\": null,\n \"EngineName\": \"DLC_Standard_Presto\",\n \"EngineSubType\": \"DLC_Standard_Presto\",\n \"EngineTaskId\": \"4dfedddfcc1611efa2b9525400942df5\",\n \"EngineType\": \"DLC\",\n \"InChargeId\": null,\n \"InstanceId\": \"ffda85b9-5258-477c-a965-380b3d4d3f64\",\n \"JobId\": \"a93d192c-96f0-487e-9a81-7e7b964d22ef\",\n \"OnwerUid\": null,\n \"ProductSource\": \"DATA_EXPLORATION\",\n \"ProjectId\": \"1460947878944567296\",\n \"TaskId\": null,\n \"TaskName\": null,\n \"TaskTypeId\": null\n }\n ],\n \"TotalCount\": 1,\n \"TotalPageNumber\": 1\n },\n \"RequestId\": \"cf410329-1b40-46cb-91ea-8d6d970c819b\"\n }\n}",
|
1128
|
+
"title": "正常调用"
|
1129
|
+
}
|
1130
|
+
],
|
1115
1131
|
"DescribeResourceManagePathTrees": [
|
1116
1132
|
{
|
1117
1133
|
"document": "",
|
@@ -1337,15 +1353,15 @@
|
|
1337
1353
|
"DescribeTableLineage": [
|
1338
1354
|
{
|
1339
1355
|
"document": "表血缘信息",
|
1340
|
-
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTableLineage\n<公共请求参数>\n\n{\n \"Direction\": \"INPUT\",\n \"
|
1341
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1356
|
+
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTableLineage\n<公共请求参数>\n\n{\n \"Direction\": \"INPUT\",\n \"Data\": {\n \"MetastoreType\": \"HIVE\",\n \"PrefixPath\": \"\",\n \"TableId\": \"JqDviGd3SJKP1DzlUbbccdd\"\n },\n \"IgnoreTemp\": true,\n \"InputDepth\": 1,\n \"OutputDepth\": 1\n}",
|
1357
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e269b107-113c-4e21-a268-75da4abbf9a4\",\n \"TableLineage\": {\n \"ChannelType\": null,\n \"ChildSet\": null,\n \"CreateTime\": \"\",\n \"DatabaseId\": \"1-zla91ZRLOUNMC9aabbcc\",\n \"DatabaseName\": \"box\",\n \"DatasourceId\": \"9323\",\n \"DatasourceName\": \"hive_emr-cvdaabbcc\",\n \"Description\": \"\",\n \"DisplayType\": null,\n \"DownStreamCount\": 0,\n \"ExtParams\": [],\n \"Id\": null,\n \"MetastoreType\": null,\n \"MetastoreTypeName\": null,\n \"ModifyTime\": \"\",\n \"Params\": [],\n \"ParentSet\": null,\n \"PrefixPath\": \"\",\n \"ProjectId\": null,\n \"QualifiedName\": null,\n \"TableId\": \"JqDviGd3SJKP1DzlUXaabbcc\",\n \"TableName\": \"0210_biao1\",\n \"TableType\": null,\n \"Tasks\": [],\n \"UpStreamCount\": 0\n }\n }\n}",
|
1342
1358
|
"title": "表血缘信息"
|
1343
1359
|
},
|
1344
1360
|
{
|
1345
|
-
"document": "
|
1346
|
-
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTableLineage\n<公共请求参数>\n\n{\n \"Direction\": \"
|
1347
|
-
"output": "{\n \"Response\": {\n \"TableLineage\": {\n \"
|
1348
|
-
"title": "
|
1361
|
+
"document": "表血缘信息2",
|
1362
|
+
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTableLineage\n<公共请求参数>\n\n{\n \"Direction\": \"OUTPUT\",\n \"InputDepth\": 1,\n \"OutputDepth\": 1,\n \"Data\": {\n \"MetastoreType\": \"HIVE\",\n \"PrefixPath\": \"\",\n \"TableId\": \"Qvkit5nqSYqTmn3IAQrpYQ\"\n },\n \"IgnoreTemp\": true\n}",
|
1363
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ca391b2a-be9d-4412-a699-98ecd6479a06\",\n \"TableLineage\": {\n \"ChannelType\": null,\n \"ChildSet\": \"[{\\\"ProjectId\\\":\\\"180589\\\",\\\"Params\\\":[],\\\"Id\\\":\\\"5be96928b52c8db567cbe90d7bac1e10\\\",\\\"MetastoreType\\\":\\\"HIVE\\\",\\\"MetastoreTypeName\\\":\\\"HIVE\\\",\\\"TableType\\\":\\\"TABLE\\\",\\\"TableName\\\":\\\"student_table_copy\\\",\\\"Guid\\\":\\\"u_bLpJpLQ06sUMCkZNhSyQ\\\",\\\"QualifiedName\\\":\\\"guldan_ods.student_table_copy\\\",\\\"DownStreamCount\\\":1,\\\"UpStreamCount\\\":1,\\\"Description\\\":\\\"\\\",\\\"PrefixPath\\\":\\\"f208bc03544797d08ef9d9eca39bdafb@5be96928b52c8db567cbe90d7bac1e10\\\",\\\"CreateTime\\\":\\\"2023-09-14 23:22:40\\\",\\\"ModifyTime\\\":\\\"2024-03-06 19:40:40\\\",\\\"Tasks\\\":[\\\"6202404301808319831\\\",\\\"6202404301730219946\\\",\\\"6202309150003168701\\\",\\\"6202311061201443094\\\",\\\"20230824011039676\\\",\\\"6202408030252238415\\\",\\\"6202404301807395098\\\"],\\\"SyncTasks\\\":\\\"[]\\\",\\\"ParentSet\\\":[],\\\"ChildSet\\\":[],\\\"ExtParams\\\":[{\\\"Name\\\":\\\"flag\\\",\\\"Value\\\":\\\"false\\\"},{\\\"Name\\\":\\\"nodeid\\\",\\\"Value\\\":\\\"fef4da76-c810-4fa7-b26b-b257c4c322dd\\\"}],\\\"DatasourceId\\\":\\\"43392\\\"}]\",\n \"CreateTime\": \"2023-09-14 23:22:40\",\n \"DatabaseId\": \"a2x29pNmQbysZRaTCoZaUA\",\n \"DatabaseName\": \"guldan_ods\",\n \"DatasourceId\": \"43392\",\n \"DatasourceName\": \"hive_emr-foxwi67c\",\n \"Description\": \"\",\n \"DisplayType\": null,\n \"DownStreamCount\": 1,\n \"EngineType\": null,\n \"ExtParams\": [\n {\n \"Name\": \"flag\",\n \"Value\": \"true\"\n },\n {\n \"Name\": \"nodeid\",\n \"Value\": \"dfde51fb-dd33-48a3-ab26-22ea610ba7b3\"\n }\n ],\n \"Id\": \"f208bc03544797d08ef9d9eca39bdafb\",\n \"MetastoreType\": \"HIVE\",\n \"MetastoreTypeName\": \"HIVE\",\n \"ModifyTime\": \"2024-03-06 19:40:40\",\n \"Params\": [],\n \"ParentSet\": \"\",\n \"PrefixPath\": \"f208bc03544797d08ef9d9eca39bdafb\",\n \"ProjectId\": \"180589\",\n \"QualifiedName\": \"guldan_ods.student_table\",\n \"TableId\": \"Qvkit5nqSYqTmn3IAQrpYQ\",\n \"TableName\": \"student_table\",\n \"TableType\": \"TABLE\",\n \"Tasks\": [\n \"6202404301808319831\",\n \"6202404301730219946\",\n \"6202309150003168701\",\n \"6202311061201443094\",\n \"20230824011039676\",\n \"6202408030252238415\",\n \"6202404301807395098\"\n ],\n \"UpStreamCount\": 0\n }\n }\n}",
|
1364
|
+
"title": "表血缘信息2"
|
1349
1365
|
}
|
1350
1366
|
],
|
1351
1367
|
"DescribeTableLineageInfo": [
|
@@ -2052,6 +2068,14 @@
|
|
2052
2068
|
"title": "触发事件"
|
2053
2069
|
}
|
2054
2070
|
],
|
2071
|
+
"TriggerManualTasks": [
|
2072
|
+
{
|
2073
|
+
"document": "手动任务触发运行",
|
2074
|
+
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TriggerManualTasks\n<公共请求参数>\n\n{\n \"ProjectId\": \"1464962169590902784\",\n \"TriggerName\": \"test_name\",\n \"TriggerScope\": \"ENTIRE_WORKFLOW\",\n \"DataTimeList\": [\n \"2025-01-14 00:00:00\",\n \"2025-01-14 01:00:00\"\n ],\n \"WorkflowId\": \"d4d7e9a7-0649-4410-a2ae-89818043c58a\",\n \"Remark\": \"\",\n \"TaskIds\": [],\n \"SchedulerResourceGroup\": \"20240703113703331017\",\n \"IntegrationResourceGroup\": \"\",\n \"ExecOrder\": \"RAND\",\n \"CustomParams\": [\n {\n \"K\": \"param1\",\n \"V\": \"10\"\n }\n ]\n}",
|
2075
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"CreateTime\": \"2025-01-14T17:42:37.069\",\n \"DatetimeList\": [\n \"2025-01-14 00:00:00\",\n \"2025-01-14 01:00:00\"\n ],\n \"FinishedInstanceCnt\": null,\n \"InstanceCnt\": null,\n \"OwnerUin\": \"100028448903\",\n \"ProjectId\": \"1464962169590902784\",\n \"Remark\": \"\",\n \"Status\": \"INIT\",\n \"SuccessInstanceCnt\": null,\n \"TaskCnt\": null,\n \"TenantId\": \"1315051789\",\n \"TriggerId\": \"9a350a12-40bd-4610-9d9e-445ee8730d6e\",\n \"TriggerName\": \"test_name\",\n \"TriggerParams\": \"{\\\"ProjectId\\\":\\\"1464962169590902784\\\",\\\"TriggerName\\\":\\\"test_name\\\",\\\"Remark\\\":\\\"\\\",\\\"TriggerScope\\\":\\\"ENTIRE_WORKFLOW\\\",\\\"WorkflowId\\\":\\\"d4d7e9a7-0649-4410-a2ae-89818043c58a\\\",\\\"TaskIds\\\":[\\\"20241223224113778\\\",\\\"20241224171752455\\\",\\\"20241223224056125\\\"],\\\"DataTimeList\\\":[\\\"2025-01-14 00:00:00\\\",\\\"2025-01-14 01:00:00\\\"],\\\"SchedulerResourceGroup\\\":\\\"20240703113703331017\\\",\\\"IntegrationResourceGroup\\\":\\\"\\\",\\\"ExecOrder\\\":\\\"RAND\\\",\\\"CustomParams\\\":[{\\\"K\\\":\\\"param1\\\",\\\"V\\\":\\\"10\\\"}],\\\"ExtraParams\\\":null}\",\n \"UserName\": \"wenjieyao\",\n \"UserUin\": \"100028579606\"\n },\n \"RequestId\": \"da12b6d9-fd32-4b3e-8716-5085722e06e5\"\n }\n}",
|
2076
|
+
"title": "手动任务触发运行"
|
2077
|
+
}
|
2078
|
+
],
|
2055
2079
|
"UnlockIntegrationTask": [
|
2056
2080
|
{
|
2057
2081
|
"document": "",
|
@@ -3345,6 +3345,58 @@ def doCreateRuleTemplate(args, parsed_globals):
|
|
3345
3345
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3346
3346
|
|
3347
3347
|
|
3348
|
+
def doTriggerManualTasks(args, parsed_globals):
|
3349
|
+
g_param = parse_global_arg(parsed_globals)
|
3350
|
+
|
3351
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3352
|
+
cred = credential.CVMRoleCredential()
|
3353
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3354
|
+
cred = credential.STSAssumeRoleCredential(
|
3355
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3356
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3357
|
+
)
|
3358
|
+
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):
|
3359
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3360
|
+
else:
|
3361
|
+
cred = credential.Credential(
|
3362
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3363
|
+
)
|
3364
|
+
http_profile = HttpProfile(
|
3365
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3366
|
+
reqMethod="POST",
|
3367
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3368
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3369
|
+
)
|
3370
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3371
|
+
if g_param[OptionsDefine.Language]:
|
3372
|
+
profile.language = g_param[OptionsDefine.Language]
|
3373
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3374
|
+
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
3375
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3376
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3377
|
+
model = models.TriggerManualTasksRequest()
|
3378
|
+
model.from_json_string(json.dumps(args))
|
3379
|
+
start_time = time.time()
|
3380
|
+
while True:
|
3381
|
+
rsp = client.TriggerManualTasks(model)
|
3382
|
+
result = rsp.to_json_string()
|
3383
|
+
try:
|
3384
|
+
json_obj = json.loads(result)
|
3385
|
+
except TypeError as e:
|
3386
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3387
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3388
|
+
break
|
3389
|
+
cur_time = time.time()
|
3390
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3391
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3392
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3393
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3394
|
+
else:
|
3395
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3396
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3397
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3398
|
+
|
3399
|
+
|
3348
3400
|
def doSubmitTaskTestRun(args, parsed_globals):
|
3349
3401
|
g_param = parse_global_arg(parsed_globals)
|
3350
3402
|
|
@@ -9117,6 +9169,58 @@ def doDeleteResourceFiles(args, parsed_globals):
|
|
9117
9169
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
9118
9170
|
|
9119
9171
|
|
9172
|
+
def doDescribeReportTaskList(args, parsed_globals):
|
9173
|
+
g_param = parse_global_arg(parsed_globals)
|
9174
|
+
|
9175
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
9176
|
+
cred = credential.CVMRoleCredential()
|
9177
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
9178
|
+
cred = credential.STSAssumeRoleCredential(
|
9179
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
9180
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
9181
|
+
)
|
9182
|
+
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):
|
9183
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
9184
|
+
else:
|
9185
|
+
cred = credential.Credential(
|
9186
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
9187
|
+
)
|
9188
|
+
http_profile = HttpProfile(
|
9189
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
9190
|
+
reqMethod="POST",
|
9191
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
9192
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
9193
|
+
)
|
9194
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
9195
|
+
if g_param[OptionsDefine.Language]:
|
9196
|
+
profile.language = g_param[OptionsDefine.Language]
|
9197
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
9198
|
+
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
9199
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
9200
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
9201
|
+
model = models.DescribeReportTaskListRequest()
|
9202
|
+
model.from_json_string(json.dumps(args))
|
9203
|
+
start_time = time.time()
|
9204
|
+
while True:
|
9205
|
+
rsp = client.DescribeReportTaskList(model)
|
9206
|
+
result = rsp.to_json_string()
|
9207
|
+
try:
|
9208
|
+
json_obj = json.loads(result)
|
9209
|
+
except TypeError as e:
|
9210
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
9211
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
9212
|
+
break
|
9213
|
+
cur_time = time.time()
|
9214
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
9215
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
9216
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
9217
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
9218
|
+
else:
|
9219
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
9220
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
9221
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
9222
|
+
|
9223
|
+
|
9120
9224
|
def doSubmitWorkflow(args, parsed_globals):
|
9121
9225
|
g_param = parse_global_arg(parsed_globals)
|
9122
9226
|
|
@@ -12445,6 +12549,58 @@ def doDescribeIntegrationStatistics(args, parsed_globals):
|
|
12445
12549
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
12446
12550
|
|
12447
12551
|
|
12552
|
+
def doDescribeReportTaskDetail(args, parsed_globals):
|
12553
|
+
g_param = parse_global_arg(parsed_globals)
|
12554
|
+
|
12555
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
12556
|
+
cred = credential.CVMRoleCredential()
|
12557
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
12558
|
+
cred = credential.STSAssumeRoleCredential(
|
12559
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
12560
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
12561
|
+
)
|
12562
|
+
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):
|
12563
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
12564
|
+
else:
|
12565
|
+
cred = credential.Credential(
|
12566
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
12567
|
+
)
|
12568
|
+
http_profile = HttpProfile(
|
12569
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
12570
|
+
reqMethod="POST",
|
12571
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
12572
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
12573
|
+
)
|
12574
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
12575
|
+
if g_param[OptionsDefine.Language]:
|
12576
|
+
profile.language = g_param[OptionsDefine.Language]
|
12577
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
12578
|
+
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
12579
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
12580
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
12581
|
+
model = models.DescribeReportTaskDetailRequest()
|
12582
|
+
model.from_json_string(json.dumps(args))
|
12583
|
+
start_time = time.time()
|
12584
|
+
while True:
|
12585
|
+
rsp = client.DescribeReportTaskDetail(model)
|
12586
|
+
result = rsp.to_json_string()
|
12587
|
+
try:
|
12588
|
+
json_obj = json.loads(result)
|
12589
|
+
except TypeError as e:
|
12590
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
12591
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
12592
|
+
break
|
12593
|
+
cur_time = time.time()
|
12594
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
12595
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
12596
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
12597
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
12598
|
+
else:
|
12599
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
12600
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
12601
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
12602
|
+
|
12603
|
+
|
12448
12604
|
def doDescribeTemplateDimCount(args, parsed_globals):
|
12449
12605
|
g_param = parse_global_arg(parsed_globals)
|
12450
12606
|
|
@@ -12676,6 +12832,7 @@ ACTION_MAP = {
|
|
12676
12832
|
"DescribeOrganizationalFunctions": doDescribeOrganizationalFunctions,
|
12677
12833
|
"DescribeDsFolderTree": doDescribeDsFolderTree,
|
12678
12834
|
"CreateRuleTemplate": doCreateRuleTemplate,
|
12835
|
+
"TriggerManualTasks": doTriggerManualTasks,
|
12679
12836
|
"SubmitTaskTestRun": doSubmitTaskTestRun,
|
12680
12837
|
"DescribeApproveTypeList": doDescribeApproveTypeList,
|
12681
12838
|
"DescribeRuleExecLog": doDescribeRuleExecLog,
|
@@ -12787,6 +12944,7 @@ ACTION_MAP = {
|
|
12787
12944
|
"DescribeRules": doDescribeRules,
|
12788
12945
|
"StartIntegrationTask": doStartIntegrationTask,
|
12789
12946
|
"DeleteResourceFiles": doDeleteResourceFiles,
|
12947
|
+
"DescribeReportTaskList": doDescribeReportTaskList,
|
12790
12948
|
"SubmitWorkflow": doSubmitWorkflow,
|
12791
12949
|
"BatchDeleteIntegrationTasks": doBatchDeleteIntegrationTasks,
|
12792
12950
|
"DescribeTableBasicInfo": doDescribeTableBasicInfo,
|
@@ -12851,6 +13009,7 @@ ACTION_MAP = {
|
|
12851
13009
|
"SubmitCustomFunction": doSubmitCustomFunction,
|
12852
13010
|
"DescribeWorkflowCanvasInfo": doDescribeWorkflowCanvasInfo,
|
12853
13011
|
"DescribeIntegrationStatistics": doDescribeIntegrationStatistics,
|
13012
|
+
"DescribeReportTaskDetail": doDescribeReportTaskDetail,
|
12854
13013
|
"DescribeTemplateDimCount": doDescribeTemplateDimCount,
|
12855
13014
|
"DescribeTrendStat": doDescribeTrendStat,
|
12856
13015
|
"DeleteDataModel": doDeleteDataModel,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1285.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.1285
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|