tccli 3.0.1131.1__py2.py3-none-any.whl → 3.0.1133.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 (60) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/apm/v20210622/api.json +1 -0
  3. tccli/services/apm/v20210622/examples.json +1 -1
  4. tccli/services/cdwch/v20200915/api.json +9 -9
  5. tccli/services/cdwch/v20200915/examples.json +1 -1
  6. tccli/services/cdwdoris/v20211228/api.json +18 -0
  7. tccli/services/cfw/v20190904/api.json +4 -4
  8. tccli/services/ckafka/v20190819/api.json +133 -76
  9. tccli/services/ckafka/v20190819/examples.json +17 -17
  10. tccli/services/cms/v20190321/api.json +2 -0
  11. tccli/services/cms/v20190321/examples.json +1 -1
  12. tccli/services/csip/csip_client.py +106 -0
  13. tccli/services/csip/v20221121/api.json +862 -129
  14. tccli/services/csip/v20221121/examples.json +20 -4
  15. tccli/services/cynosdb/v20190107/api.json +340 -0
  16. tccli/services/dlc/dlc_client.py +53 -0
  17. tccli/services/dlc/v20210125/api.json +34 -0
  18. tccli/services/dlc/v20210125/examples.json +8 -0
  19. tccli/services/dsgc/v20190723/api.json +20 -18
  20. tccli/services/dsgc/v20190723/examples.json +5 -5
  21. tccli/services/eb/v20210416/examples.json +1 -1
  22. tccli/services/emr/v20190103/api.json +1 -1
  23. tccli/services/ess/v20201111/api.json +3 -3
  24. tccli/services/essbasic/v20210526/api.json +6 -6
  25. tccli/services/gaap/v20180529/api.json +21 -1
  26. tccli/services/gaap/v20180529/examples.json +0 -6
  27. tccli/services/iecp/v20210914/api.json +40 -40
  28. tccli/services/ims/v20201229/api.json +2 -2
  29. tccli/services/lke/lke_client.py +171 -12
  30. tccli/services/lke/v20231130/api.json +524 -0
  31. tccli/services/lke/v20231130/examples.json +24 -0
  32. tccli/services/monitor/v20180724/api.json +47 -19
  33. tccli/services/monitor/v20180724/examples.json +4 -4
  34. tccli/services/ocr/v20181119/api.json +2 -2
  35. tccli/services/ocr/v20181119/examples.json +2 -2
  36. tccli/services/pts/v20210728/api.json +1 -1
  37. tccli/services/pts/v20210728/examples.json +1 -1
  38. tccli/services/redis/v20180412/api.json +33 -29
  39. tccli/services/redis/v20180412/examples.json +8 -8
  40. tccli/services/rum/v20210622/api.json +2 -0
  41. tccli/services/rum/v20210622/examples.json +1 -1
  42. tccli/services/sms/v20210111/api.json +26 -26
  43. tccli/services/tcr/v20190924/api.json +13 -10
  44. tccli/services/tcr/v20190924/examples.json +2 -2
  45. tccli/services/tke/tke_client.py +53 -0
  46. tccli/services/tke/v20180525/api.json +227 -41
  47. tccli/services/tke/v20180525/examples.json +26 -0
  48. tccli/services/tse/v20201207/api.json +13 -2
  49. tccli/services/tsf/v20180326/api.json +10 -8
  50. tccli/services/tsf/v20180326/examples.json +3 -3
  51. tccli/services/waf/v20180125/api.json +65 -9
  52. tccli/services/waf/v20180125/examples.json +1 -1
  53. tccli/services/wedata/v20210820/api.json +111 -20
  54. tccli/services/wedata/v20210820/examples.json +8 -0
  55. tccli/services/wedata/wedata_client.py +53 -0
  56. {tccli-3.0.1131.1.dist-info → tccli-3.0.1133.1.dist-info}/METADATA +2 -2
  57. {tccli-3.0.1131.1.dist-info → tccli-3.0.1133.1.dist-info}/RECORD +60 -60
  58. {tccli-3.0.1131.1.dist-info → tccli-3.0.1133.1.dist-info}/WHEEL +0 -0
  59. {tccli-3.0.1131.1.dist-info → tccli-3.0.1133.1.dist-info}/entry_points.txt +0 -0
  60. {tccli-3.0.1131.1.dist-info → tccli-3.0.1133.1.dist-info}/license_files/LICENSE +0 -0
@@ -498,11 +498,11 @@
498
498
  "status": "online"
499
499
  },
500
500
  "DescribeApplicationBusinessLogConfig": {
501
- "document": "查询应用关联日志配置项信息",
501
+ "document": "接口未使用,废弃录用\n\n查询应用关联日志配置项信息",
502
502
  "input": "DescribeApplicationBusinessLogConfigRequest",
503
503
  "name": "查询应用关联日志配置项信息",
504
504
  "output": "DescribeApplicationBusinessLogConfigResponse",
505
- "status": "online"
505
+ "status": "deprecated"
506
506
  },
507
507
  "DescribeApplications": {
508
508
  "document": "获取应用列表",
@@ -15272,7 +15272,7 @@
15272
15272
  "example": "无",
15273
15273
  "member": "PkgList",
15274
15274
  "name": "Result",
15275
- "required": true,
15275
+ "output_required": true,
15276
15276
  "type": "object",
15277
15277
  "value_allowed_null": false
15278
15278
  },
@@ -15871,7 +15871,7 @@
15871
15871
  {
15872
15872
  "disabled": false,
15873
15873
  "document": "查询关键字(按照仓库名称搜索)",
15874
- "example": "",
15874
+ "example": "demo",
15875
15875
  "member": "string",
15876
15876
  "name": "SearchWord",
15877
15877
  "required": false,
@@ -15880,7 +15880,7 @@
15880
15880
  {
15881
15881
  "disabled": false,
15882
15882
  "document": "查询起始偏移",
15883
- "example": "",
15883
+ "example": "0",
15884
15884
  "member": "uint64",
15885
15885
  "name": "Offset",
15886
15886
  "required": false,
@@ -15889,7 +15889,7 @@
15889
15889
  {
15890
15890
  "disabled": false,
15891
15891
  "document": "返回数量限制",
15892
- "example": "",
15892
+ "example": "10",
15893
15893
  "member": "uint64",
15894
15894
  "name": "Limit",
15895
15895
  "required": false,
@@ -15898,7 +15898,7 @@
15898
15898
  {
15899
15899
  "disabled": false,
15900
15900
  "document": "仓库类型(默认仓库:default,私有仓库:private)",
15901
- "example": "",
15901
+ "example": "default",
15902
15902
  "member": "string",
15903
15903
  "name": "RepositoryType",
15904
15904
  "required": false,
@@ -15913,9 +15913,10 @@
15913
15913
  {
15914
15914
  "disabled": false,
15915
15915
  "document": "符合查询仓库信息列表",
15916
- "example": "",
15916
+ "example": " ",
15917
15917
  "member": "RepositoryList",
15918
15918
  "name": "Result",
15919
+ "output_required": true,
15919
15920
  "type": "object",
15920
15921
  "value_allowed_null": false
15921
15922
  },
@@ -15952,6 +15953,7 @@
15952
15953
  "example": "",
15953
15954
  "member": "RepositoryInfo",
15954
15955
  "name": "Result",
15956
+ "output_required": true,
15955
15957
  "type": "object",
15956
15958
  "value_allowed_null": true
15957
15959
  },
@@ -1046,7 +1046,7 @@
1046
1046
  {
1047
1047
  "document": "获取应用application-jy9w6lka下的程序包信息",
1048
1048
  "input": "https://tsf.tencentcloudapi.com/?Action=DescribePkgs\n&ApplicationId=application-xxxxxxxx\n&Offset=0\n&Limit=20\n&<公共请求参数>",
1049
- "output": "{\n \"Response\": {\n \"Result\": {\n \"Content\": [\n {\n \"PkgId\": \"xx\",\n \"PkgType\": \"xx\",\n \"UploadTime\": \"xx\",\n \"PkgName\": \"xx\",\n \"PkgDesc\": \"xx\",\n \"PkgBindInfo\": [\n {\n \"ApplicationId\": \"xx\",\n \"GroupId\": \"xx\"\n }\n ],\n \"PkgVersion\": \"xx\",\n \"PkgPubStatus\": 1,\n \"Md5\": \"xx\"\n },\n {\n \"PkgId\": \"xx\",\n \"PkgType\": \"xx\",\n \"UploadTime\": \"xx\",\n \"PkgName\": \"xx\",\n \"PkgDesc\": \"xx\",\n \"PkgBindInfo\": [\n {\n \"ApplicationId\": \"xx\",\n \"GroupId\": \"xx\"\n }\n ],\n \"PkgVersion\": \"xx\",\n \"PkgPubStatus\": 1,\n \"Md5\": \"xx\"\n }\n ],\n \"TotalCount\": 2,\n \"RepositoryType\": \"xx\",\n \"RepositoryName\": \"xx\",\n \"RepositoryId\": \"xx\"\n },\n \"RequestId\": \"xx\"\n }\n}",
1049
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"TotalCount\": 0,\n \"Content\": [\n {\n \"PkgId\": \"abc\",\n \"PkgName\": \"abc\",\n \"PkgType\": \"abc\",\n \"PkgVersion\": \"abc\",\n \"PkgDesc\": \"abc\",\n \"UploadTime\": \"abc\",\n \"Md5\": \"abc\",\n \"PkgPubStatus\": 0,\n \"PkgBindInfo\": [\n {\n \"ApplicationId\": \"abc\",\n \"GroupId\": \"abc\"\n }\n ]\n }\n ],\n \"RepositoryId\": \"abc\",\n \"RepositoryType\": \"abc\",\n \"RepositoryName\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
1050
1050
  "title": "获取应用下程序包列表"
1051
1051
  }
1052
1052
  ],
@@ -1125,8 +1125,8 @@
1125
1125
  "DescribeRepositories": [
1126
1126
  {
1127
1127
  "document": "",
1128
- "input": "https://tsf.tencentcloudapi.com/?Action=DescribeRepositories\r\n&Offset=0\r\n&Limit=20\r\n&<公共请求参数>",
1129
- "output": "{\n \"Response\": {\n \"RequestId\": \"58998bc6-b283-4242-94e9-4d1b75e47a01\",\n \"Result\": {}\n }\n}",
1128
+ "input": "https://tsf.tencentcloudapi.com/?Action=DescribeRepositories\n&Offset=0\n&Limit=20\n&SearchWord=demo\n&RepositoryType=default\n&<公共请求参数>",
1129
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"TotalCount\": 0,\n \"Content\": [\n {\n \"RepositoryId\": \"abc\",\n \"RepositoryName\": \"abc\",\n \"RepositoryType\": \"abc\",\n \"RepositoryDesc\": \"abc\",\n \"IsUsed\": true,\n \"CreateTime\": \"abc\",\n \"BucketName\": \"abc\",\n \"BucketRegion\": \"abc\",\n \"Directory\": \"abc\"\n }\n ]\n },\n \"RequestId\": \"abc\"\n }\n}",
1130
1130
  "title": "获取所有仓库列表"
1131
1131
  }
1132
1132
  ],
@@ -995,6 +995,42 @@
995
995
  "serviceShortName": "waf"
996
996
  },
997
997
  "objects": {
998
+ "AccessFieldValueRatioInfo": {
999
+ "document": "DescribeAccessFastAnalysis接口的出参",
1000
+ "members": [
1001
+ {
1002
+ "disabled": false,
1003
+ "document": "日志条数",
1004
+ "example": "100",
1005
+ "member": "int64",
1006
+ "name": "Count",
1007
+ "output_required": true,
1008
+ "type": "int",
1009
+ "value_allowed_null": false
1010
+ },
1011
+ {
1012
+ "disabled": false,
1013
+ "document": "对应的Value值的百分比",
1014
+ "example": "0.2711782671596206",
1015
+ "member": "float",
1016
+ "name": "Ratio",
1017
+ "output_required": true,
1018
+ "type": "float",
1019
+ "value_allowed_null": false
1020
+ },
1021
+ {
1022
+ "disabled": false,
1023
+ "document": "字段对应的值",
1024
+ "example": "\"\"",
1025
+ "member": "string",
1026
+ "name": "Value",
1027
+ "output_required": true,
1028
+ "type": "string",
1029
+ "value_allowed_null": false
1030
+ }
1031
+ ],
1032
+ "usage": "out"
1033
+ },
998
1034
  "AccessFullTextInfo": {
999
1035
  "document": "DescribeAccessIndex",
1000
1036
  "members": [
@@ -5244,15 +5280,6 @@
5244
5280
  "DescribeAccessFastAnalysisRequest": {
5245
5281
  "document": "DescribeAccessFastAnalysis请求参数结构体",
5246
5282
  "members": [
5247
- {
5248
- "disabled": false,
5249
- "document": "客户要查询的日志主题ID,每个客户都有对应的一个主题",
5250
- "example": "\"1ae37c76-df99-4e2b-998c-20f39eba6226\"",
5251
- "member": "string",
5252
- "name": "TopicId",
5253
- "required": true,
5254
- "type": "string"
5255
- },
5256
5283
  {
5257
5284
  "disabled": false,
5258
5285
  "document": "要查询的日志的起始时间,Unix时间戳,单位ms",
@@ -5289,6 +5316,15 @@
5289
5316
  "required": true,
5290
5317
  "type": "string"
5291
5318
  },
5319
+ {
5320
+ "disabled": true,
5321
+ "document": "客户要查询的日志主题ID,每个客户都有对应的一个主题",
5322
+ "example": "\"1ae37c76-df99-4e2b-998c-20f39eba6226\"",
5323
+ "member": "string",
5324
+ "name": "TopicId",
5325
+ "required": false,
5326
+ "type": "string"
5327
+ },
5292
5328
  {
5293
5329
  "disabled": false,
5294
5330
  "document": "排序字段,升序asc,降序desc,默认降序desc ",
@@ -5313,6 +5349,26 @@
5313
5349
  "DescribeAccessFastAnalysisResponse": {
5314
5350
  "document": "DescribeAccessFastAnalysis返回参数结构体",
5315
5351
  "members": [
5352
+ {
5353
+ "disabled": false,
5354
+ "document": "注意:此字段可能返回 null,表示取不到有效值\n注意:此字段可能返回 null,表示取不到有效值。",
5355
+ "example": "[]",
5356
+ "member": "AccessFieldValueRatioInfo",
5357
+ "name": "FieldValueRatioInfos",
5358
+ "output_required": true,
5359
+ "type": "list",
5360
+ "value_allowed_null": true
5361
+ },
5362
+ {
5363
+ "disabled": false,
5364
+ "document": "日志条数",
5365
+ "example": "1000",
5366
+ "member": "int64",
5367
+ "name": "TotalCount",
5368
+ "output_required": true,
5369
+ "type": "int",
5370
+ "value_allowed_null": false
5371
+ },
5316
5372
  {
5317
5373
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
5318
5374
  "member": "string",
@@ -236,7 +236,7 @@
236
236
  {
237
237
  "document": "",
238
238
  "input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccessFastAnalysis\n<公共请求参数>\n\n{\n \"TopicId\": \"1ae37c76-df99-4e2b-998c-20f39eba6226\",\n \"From\": 1625395948532,\n \"To\": 1626000748532,\n \"Query\": \"*\",\n \"FieldName\": \"host\"\n}",
239
- "output": "{\n \"Response\": {\n \"RequestId\": \"9b02bf9e-c89c-42c3-9ae1-685f968fa02d\"\n }\n}",
239
+ "output": "{\n \"Response\": {\n \"FieldValueRatioInfos\": [\n {\n \"Count\": 4451,\n \"Ratio\": 0.7154798263944704,\n \"Value\": \"bluehha.qcloudwaf.com\"\n },\n {\n \"Count\": 1687,\n \"Ratio\": 0.2711782671596206,\n \"Value\": \"qhy.17173.com\"\n },\n {\n \"Count\": 48,\n \"Ratio\": 0.007715801318116058,\n \"Value\": \"qqq323.qcloudwaf.com\"\n },\n {\n \"Count\": 20,\n \"Ratio\": 0.003214917215881691,\n \"Value\": \"0709.qcloudwaf.com\"\n },\n {\n \"Count\": 7,\n \"Ratio\": 0.001125221025558592,\n \"Value\": \"attack_log.qcloudwaf.com\"\n },\n {\n \"Count\": 7,\n \"Ratio\": 0.001125221025558592,\n \"Value\": \"bangskt.qcloudwaf.com\"\n },\n {\n \"Count\": 1,\n \"Ratio\": 0.00016074586079408456,\n \"Value\": \"zjm-mt.qcloudwaf.com\"\n }\n ],\n \"TotalCount\": 7,\n \"RequestId\": \"9b02bf9e-c89c-42c3-9ae1-685f968fa02d\"\n }\n}",
240
240
  "title": "访问日志快速分析"
241
241
  }
242
242
  ],
@@ -1163,7 +1163,7 @@
1163
1163
  "status": "online"
1164
1164
  },
1165
1165
  "DiagnosePro": {
1166
- "document": "实例诊断",
1166
+ "document": "实例诊断,用于诊断 INITIAL、DEPENDENCE、ALLOCATED、LAUNCHED、EVENT_LISTENING、BEFORE_ASPECT、EXPIRED、FAILED状态的实例",
1167
1167
  "input": "DiagnoseProRequest",
1168
1168
  "name": "实例诊断信息-新",
1169
1169
  "output": "DiagnoseProResponse",
@@ -1379,6 +1379,13 @@
1379
1379
  "output": "ModifyWorkflowScheduleResponse",
1380
1380
  "status": "online"
1381
1381
  },
1382
+ "MoveTasksToFolder": {
1383
+ "document": "编排空间-工作流-移动任务到工作流文件夹",
1384
+ "input": "MoveTasksToFolderRequest",
1385
+ "name": "移动任务到工作流文件夹",
1386
+ "output": "MoveTasksToFolderResponse",
1387
+ "status": "online"
1388
+ },
1382
1389
  "RegisterEvent": {
1383
1390
  "document": "<p style=\"color:red;\">[注意:该版本只满足广州区部分白名单客户使用]</p>\n注册事件",
1384
1391
  "input": "RegisterEventRequest",
@@ -19094,6 +19101,24 @@
19094
19101
  "DiagnoseProRequest": {
19095
19102
  "document": "DiagnosePro请求参数结构体",
19096
19103
  "members": [
19104
+ {
19105
+ "disabled": false,
19106
+ "document": "查询条件(当前接口TaskId和CurRunDate需要填充在该字段方可诊断)",
19107
+ "example": "{\"Instance\":{\"TaskId\":\"20231221111821390\",\"CurRunDate\":\"2024-04-1105:00:00\"}}",
19108
+ "member": "InstanceApiOpsRequest",
19109
+ "name": "SearchCondition",
19110
+ "required": true,
19111
+ "type": "object"
19112
+ },
19113
+ {
19114
+ "disabled": false,
19115
+ "document": "项目id",
19116
+ "example": "\"155477816885681\"",
19117
+ "member": "string",
19118
+ "name": "ProjectId",
19119
+ "required": true,
19120
+ "type": "string"
19121
+ },
19097
19122
  {
19098
19123
  "disabled": false,
19099
19124
  "document": "实例列表",
@@ -19148,15 +19173,6 @@
19148
19173
  "required": false,
19149
19174
  "type": "string"
19150
19175
  },
19151
- {
19152
- "disabled": false,
19153
- "document": "查询条件(当前接口TaskId和CurRunDate需要填充在该字段方可诊断)",
19154
- "example": "{\"Instance\":{\"TaskId\":\"20231221111821390\",\"CurRunDate\":\"2024-04-1105:00:00\"}}",
19155
- "member": "InstanceApiOpsRequest",
19156
- "name": "SearchCondition",
19157
- "required": false,
19158
- "type": "object"
19159
- },
19160
19176
  {
19161
19177
  "disabled": false,
19162
19178
  "document": "访问类型",
@@ -19184,15 +19200,6 @@
19184
19200
  "required": false,
19185
19201
  "type": "string"
19186
19202
  },
19187
- {
19188
- "disabled": false,
19189
- "document": "项目id",
19190
- "example": "\"155477816885681\"",
19191
- "member": "string",
19192
- "name": "ProjectId",
19193
- "required": false,
19194
- "type": "string"
19195
- },
19196
19203
  {
19197
19204
  "disabled": false,
19198
19205
  "document": "项目标志",
@@ -28013,6 +28020,79 @@
28013
28020
  ],
28014
28021
  "type": "object"
28015
28022
  },
28023
+ "MoveTasksToFolderRequest": {
28024
+ "document": "MoveTasksToFolder请求参数结构体",
28025
+ "members": [
28026
+ {
28027
+ "disabled": false,
28028
+ "document": "项目Id",
28029
+ "example": "无",
28030
+ "member": "string",
28031
+ "name": "ProjectId",
28032
+ "required": true,
28033
+ "type": "string"
28034
+ },
28035
+ {
28036
+ "disabled": false,
28037
+ "document": "工作流ID",
28038
+ "example": "无",
28039
+ "member": "string",
28040
+ "name": "WorkflowId",
28041
+ "required": true,
28042
+ "type": "string"
28043
+ },
28044
+ {
28045
+ "disabled": false,
28046
+ "document": "任务文件夹ID",
28047
+ "example": "无",
28048
+ "member": "string",
28049
+ "name": "TaskFolderId",
28050
+ "required": true,
28051
+ "type": "string"
28052
+ },
28053
+ {
28054
+ "disabled": false,
28055
+ "document": "任务ID",
28056
+ "example": "无",
28057
+ "member": "string",
28058
+ "name": "TaskIds",
28059
+ "required": true,
28060
+ "type": "list"
28061
+ },
28062
+ {
28063
+ "disabled": false,
28064
+ "document": "虚拟任务ID",
28065
+ "example": "无",
28066
+ "member": "string",
28067
+ "name": "VirtualTaskIds",
28068
+ "required": true,
28069
+ "type": "list"
28070
+ }
28071
+ ],
28072
+ "type": "object"
28073
+ },
28074
+ "MoveTasksToFolderResponse": {
28075
+ "document": "MoveTasksToFolder返回参数结构体",
28076
+ "members": [
28077
+ {
28078
+ "disabled": false,
28079
+ "document": "true代表成功\n注意:此字段可能返回 null,表示取不到有效值。",
28080
+ "example": "true",
28081
+ "member": "bool",
28082
+ "name": "Data",
28083
+ "output_required": true,
28084
+ "type": "bool",
28085
+ "value_allowed_null": true
28086
+ },
28087
+ {
28088
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
28089
+ "member": "string",
28090
+ "name": "RequestId",
28091
+ "type": "string"
28092
+ }
28093
+ ],
28094
+ "type": "object"
28095
+ },
28016
28096
  "OfflineInstance": {
28017
28097
  "document": "离线实例",
28018
28098
  "members": [
@@ -28796,7 +28876,7 @@
28796
28876
  "member": "OpsTaskCanvasDto",
28797
28877
  "name": "CirculateTaskList",
28798
28878
  "output_required": false,
28799
- "type": "object",
28879
+ "type": "list",
28800
28880
  "value_allowed_null": true
28801
28881
  }
28802
28882
  ],
@@ -38217,6 +38297,17 @@
38217
38297
  "required": false,
38218
38298
  "type": "string",
38219
38299
  "value_allowed_null": true
38300
+ },
38301
+ {
38302
+ "disabled": false,
38303
+ "document": "钉钉群Hook地址,多个hook地址使用,隔开\n注意:此字段可能返回 null,表示取不到有效值。",
38304
+ "example": "https://www.dingtalk.com/",
38305
+ "member": "string",
38306
+ "name": "DingDingWebHooks",
38307
+ "output_required": false,
38308
+ "required": false,
38309
+ "type": "string",
38310
+ "value_allowed_null": true
38220
38311
  }
38221
38312
  ],
38222
38313
  "usage": "both"
@@ -1684,6 +1684,14 @@
1684
1684
  "title": "更新工作流调度范例2"
1685
1685
  }
1686
1686
  ],
1687
+ "MoveTasksToFolder": [
1688
+ {
1689
+ "document": "",
1690
+ "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MoveTasksToFolder\n<公共请求参数>\n\n{\n \"ProjectId\": \"1522676572149563392\",\n \"WorkflowId\": \"63b3878f-0602-11ee-b7fc-043f72e73c62\",\n \"TaskFolderId\": \"1029cb2d-58f4-4400-b65a-6a3db680955f\",\n \"TaskIds\": [\n \"bf8c8d93-da0b-4665-aec9-92890baa9a18\"\n ],\n \"VirtualTaskIds\": []\n}",
1691
+ "output": "{\n \"Response\": {\n \"Data\": true,\n \"RequestId\": \"bf8c8d93-da0b-4665-aec9-92890baa9a18\"\n }\n}",
1692
+ "title": "编排空间-工作流-移动任务到工作流文件夹示例"
1693
+ }
1694
+ ],
1687
1695
  "RegisterEvent": [
1688
1696
  {
1689
1697
  "document": "注册事件",
@@ -1889,6 +1889,58 @@ def doDeleteProjectParamDs(args, parsed_globals):
1889
1889
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1890
1890
 
1891
1891
 
1892
+ def doMoveTasksToFolder(args, parsed_globals):
1893
+ g_param = parse_global_arg(parsed_globals)
1894
+
1895
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1896
+ cred = credential.CVMRoleCredential()
1897
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1898
+ cred = credential.STSAssumeRoleCredential(
1899
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1900
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1901
+ )
1902
+ 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):
1903
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1904
+ else:
1905
+ cred = credential.Credential(
1906
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1907
+ )
1908
+ http_profile = HttpProfile(
1909
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1910
+ reqMethod="POST",
1911
+ endpoint=g_param[OptionsDefine.Endpoint],
1912
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1913
+ )
1914
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1915
+ if g_param[OptionsDefine.Language]:
1916
+ profile.language = g_param[OptionsDefine.Language]
1917
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1918
+ client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
1919
+ client._sdkVersion += ("_CLI_" + __version__)
1920
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1921
+ model = models.MoveTasksToFolderRequest()
1922
+ model.from_json_string(json.dumps(args))
1923
+ start_time = time.time()
1924
+ while True:
1925
+ rsp = client.MoveTasksToFolder(model)
1926
+ result = rsp.to_json_string()
1927
+ try:
1928
+ json_obj = json.loads(result)
1929
+ except TypeError as e:
1930
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1931
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1932
+ break
1933
+ cur_time = time.time()
1934
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1935
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1936
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1937
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1938
+ else:
1939
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1940
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1941
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1942
+
1943
+
1892
1944
  def doDescribeWorkflowListByProjectId(args, parsed_globals):
1893
1945
  g_param = parse_global_arg(parsed_globals)
1894
1946
 
@@ -11556,6 +11608,7 @@ ACTION_MAP = {
11556
11608
  "BatchStopIntegrationTasks": doBatchStopIntegrationTasks,
11557
11609
  "DescribeSchedulerTaskTypeCnt": doDescribeSchedulerTaskTypeCnt,
11558
11610
  "DeleteProjectParamDs": doDeleteProjectParamDs,
11611
+ "MoveTasksToFolder": doMoveTasksToFolder,
11559
11612
  "DescribeWorkflowListByProjectId": doDescribeWorkflowListByProjectId,
11560
11613
  "CreateDataSource": doCreateDataSource,
11561
11614
  "DescribeOpsInstanceLogList": doDescribeOpsInstanceLogList,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tccli
3
- Version: 3.0.1131.1
3
+ Version: 3.0.1133.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.1131
16
+ Requires-Dist: tencentcloud-sdk-python>=3.0.1133
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # 命令行工具简介