tccli 3.0.1226.1__py2.py3-none-any.whl → 3.0.1227.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 (34) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/cam/v20190116/api.json +19 -13
  3. tccli/services/ckafka/v20190819/api.json +964 -759
  4. tccli/services/ckafka/v20190819/examples.json +22 -22
  5. tccli/services/cloudapp/v20220530/api.json +2 -2
  6. tccli/services/cloudapp/v20220530/examples.json +1 -1
  7. tccli/services/iotexplorer/iotexplorer_client.py +57 -4
  8. tccli/services/iotexplorer/v20190423/api.json +145 -0
  9. tccli/services/iotexplorer/v20190423/examples.json +14 -0
  10. tccli/services/ivld/v20210903/api.json +245 -192
  11. tccli/services/ivld/v20210903/examples.json +10 -10
  12. tccli/services/lcic/v20220817/api.json +1 -1
  13. tccli/services/lke/v20231130/api.json +19 -19
  14. tccli/services/mps/v20190612/api.json +12 -12
  15. tccli/services/organization/v20181225/api.json +75 -51
  16. tccli/services/organization/v20181225/examples.json +20 -20
  17. tccli/services/organization/v20210331/api.json +74 -61
  18. tccli/services/organization/v20210331/examples.json +14 -14
  19. tccli/services/rce/v20201103/api.json +1 -1
  20. tccli/services/redis/v20180412/api.json +1 -1
  21. tccli/services/teo/v20220901/api.json +3 -3
  22. tccli/services/tke/v20220501/api.json +109 -0
  23. tccli/services/tmt/v20180321/api.json +1 -1
  24. tccli/services/trtc/v20190722/api.json +84 -0
  25. tccli/services/vdb/v20230616/api.json +9 -0
  26. tccli/services/vod/v20180717/api.json +2 -2
  27. tccli/services/vpc/v20170312/api.json +134 -0
  28. tccli/services/vpc/v20170312/examples.json +8 -0
  29. tccli/services/vpc/vpc_client.py +53 -0
  30. {tccli-3.0.1226.1.dist-info → tccli-3.0.1227.1.dist-info}/METADATA +2 -2
  31. {tccli-3.0.1226.1.dist-info → tccli-3.0.1227.1.dist-info}/RECORD +34 -34
  32. {tccli-3.0.1226.1.dist-info → tccli-3.0.1227.1.dist-info}/WHEEL +0 -0
  33. {tccli-3.0.1226.1.dist-info → tccli-3.0.1227.1.dist-info}/entry_points.txt +0 -0
  34. {tccli-3.0.1226.1.dist-info → tccli-3.0.1227.1.dist-info}/license_files/LICENSE +0 -0
@@ -11,7 +11,7 @@
11
11
  "BatchCreateAcl": [
12
12
  {
13
13
  "document": "",
14
- "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BatchCreateAcl\n<公共请求参数>\n\n{\n \"InstanceId\": \"ckafka-xx\",\n \"ResourceType\": 2,\n \"RuleList\": [\n {\n \"Operation\": \"2\",\n \"PermissionType\": \"3\",\n \"Host\": \"*\",\n \"Principal\": \"User:*\"\n }\n ],\n \"ResourceNames\": [\n \"******\"\n ]\n}",
14
+ "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BatchCreateAcl\n<公共请求参数>\n\n{\n \"InstanceId\": \"ckafka-xx\",\n \"ResourceType\": 2,\n \"RuleList\": [\n {\n \"Operation\": \"2\",\n \"PermissionType\": \"3\",\n \"Host\": \"10.1.1.0/24\",\n \"Principal\": \"User:*\"\n }\n ],\n \"ResourceNames\": [\n \"rewr\",\n \"topic-1\"\n ]\n}",
15
15
  "output": "{\n \"Response\": {\n \"Result\": 0,\n \"RequestId\": \"20e995ed-75b9-43bb-84c0-35676567e1a8\"\n }\n}",
16
16
  "title": "批量创建ACL"
17
17
  }
@@ -19,16 +19,16 @@
19
19
  "BatchModifyGroupOffsets": [
20
20
  {
21
21
  "document": "批量设置Groups 消费分组offset",
22
- "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BatchModifyGroupOffsets\n<公共请求参数>\n\n{\n \"GroupName\": \"abc\",\n \"TopicName\": [\n \"abc\"\n ],\n \"InstanceId\": \"abc\",\n \"Partitions\": [\n {\n \"Partition\": 0,\n \"Offset\": 0\n }\n ]\n}",
23
- "output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnCode\": \"abc\",\n \"ReturnMessage\": \"abc\",\n \"Data\": {\n \"FlowId\": 0,\n \"RouteDTO\": {\n \"RouteId\": 0\n }\n }\n },\n \"RequestId\": \"abc\"\n }\n}",
22
+ "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BatchModifyGroupOffsets\n<公共请求参数>\n\n{\n \"GroupName\": \"group-test\",\n \"TopicName\": [\n \"topic-abc\"\n ],\n \"InstanceId\": \"ckafka-test\",\n \"Partitions\": [\n {\n \"Partition\": 0,\n \"Offset\": 0\n }\n ]\n}",
23
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnCode\": \"OK\",\n \"ReturnMessage\": \"success\",\n \"Data\": {\n \"FlowId\": 0,\n \"RouteDTO\": {\n \"RouteId\": 0\n }\n }\n },\n \"RequestId\": \"abc\"\n }\n}",
24
24
  "title": "批量设置Groups 消费分组offset"
25
25
  }
26
26
  ],
27
27
  "BatchModifyTopicAttributes": [
28
28
  {
29
29
  "document": "批量设置主题属性",
30
- "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BatchModifyTopicAttributes\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"Topic\": [\n {\n \"TopicName\": \"abc\",\n \"PartitionNum\": 0,\n \"Note\": \"abc\",\n \"ReplicaNum\": 0,\n \"CleanUpPolicy\": \"abc\",\n \"MinInsyncReplicas\": 0,\n \"UncleanLeaderElectionEnable\": true,\n \"RetentionMs\": 0,\n \"RetentionBytes\": 0,\n \"SegmentMs\": 0,\n \"MaxMessageBytes\": 0\n }\n ]\n}",
31
- "output": "{\n \"Response\": {\n \"Result\": [\n {\n \"InstanceId\": \"ckafka-jam3ao99\",\n \"TopicName\": \"test\",\n \"ReturnCode\": \"20018\",\n \"Message\": \"get topic information fail\"\n },\n {\n \"InstanceId\": \"ckafka-jam3ao99\",\n \"TopicName\": \"test1\",\n \"ReturnCode\": \"20018\",\n \"Message\": \"get topic information fail\"\n }\n ],\n \"RequestId\": \"xxxxxxxx0001\"\n }\n}",
30
+ "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BatchModifyTopicAttributes\n<公共请求参数>\n\n{\n \"InstanceId\": \"ckafka-test\",\n \"Topic\": [\n {\n \"TopicName\": \"topic-test\",\n \"PartitionNum\": 0,\n \"Note\": \"abc\",\n \"ReplicaNum\": 0,\n \"CleanUpPolicy\": \"policy\",\n \"MinInsyncReplicas\": 0,\n \"UncleanLeaderElectionEnable\": true,\n \"RetentionMs\": 0,\n \"RetentionBytes\": 0,\n \"SegmentMs\": 0,\n \"MaxMessageBytes\": 0\n }\n ]\n}",
31
+ "output": "{\n \"Response\": {\n \"Result\": [\n {\n \"InstanceId\": \"ckafka-jam3ao99\",\n \"TopicName\": \"topic-test\",\n \"ReturnCode\": \"20018\",\n \"Message\": \"get topic information fail\"\n },\n {\n \"InstanceId\": \"ckafka-jam3ao99\",\n \"TopicName\": \"topic-test1\",\n \"ReturnCode\": \"20018\",\n \"Message\": \"get topic information fail\"\n }\n ],\n \"RequestId\": \"qwer0001\"\n }\n}",
32
32
  "title": "批量设置主题属性"
33
33
  }
34
34
  ],
@@ -51,7 +51,7 @@
51
51
  "CreateAcl": [
52
52
  {
53
53
  "document": "",
54
- "input": "https://ckafka.tencentcloudapi.com/?Action=CreateAcl\n&InstanceId=xxx\n&ResourceType=2\n&ResourceName=test1\n&Operation=2\n&PermissionType=2\n&Host=1.1.1.1\n&Principal=User:user1\n&<公共请求参数>",
54
+ "input": "https://ckafka.tencentcloudapi.com/?Action=CreateAcl\n&InstanceId=ckafka-test\n&ResourceType=2\n&ResourceName=yourresourcetest1\n&Operation=2\n&PermissionType=2\n&Host=1.1.1.1\n&Principal=User:user1\n&<公共请求参数>",
55
55
  "output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnCode\": \"0\",\n \"ReturnMessage\": \"ok[apply ok]\",\n \"Data\": {\n \"FlowId\": 0,\n \"RouteDTO\": {\n \"RouteId\": 0\n }\n }\n },\n \"RequestId\": \"b1ce770b-3623-47d3-b31b-538f8941142d\"\n }\n}",
56
56
  "title": "添加 ACL 策略"
57
57
  }
@@ -75,22 +75,22 @@
75
75
  "CreateConnectResource": [
76
76
  {
77
77
  "document": "创建Datahub连接源(ES)",
78
- "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConnectResource\n<公共请求参数>\n\n{\n \"Description\": \"xxxx\",\n \"EsConnectParam\": {\n \"UserName\": \"elastic\",\n \"Resource\": \"es-xxx\",\n \"Password\": \"xxxx\",\n \"Port\": 9200,\n \"ServiceVip\": \"10.0.0.1\",\n \"UniqVpcId\": \"vpc-xxx\",\n \"SelfBuilt\": false\n },\n \"ResourceName\": \"xxxx\",\n \"Type\": \"ES\"\n}",
79
- "output": "{\n \"Response\": {\n \"Result\": {\n \"ResourceId\": \"resource-xx\"\n },\n \"RequestId\": \"xxxx\"\n }\n}",
78
+ "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConnectResource\n<公共请求参数>\n\n{\n \"Description\": \"your description\",\n \"EsConnectParam\": {\n \"UserName\": \"elastic\",\n \"Resource\": \"es-test\",\n \"Password\": \"yourpassword\",\n \"Port\": 9200,\n \"ServiceVip\": \"10.0.0.1\",\n \"UniqVpcId\": \"vpc-test\",\n \"SelfBuilt\": false\n },\n \"ResourceName\": \"yourresourcename\",\n \"Type\": \"ES\"\n}",
79
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"ResourceId\": \"resource-test\"\n },\n \"RequestId\": \"9e6d209b-69fd-4a00-b064-75131aa0a0f8\"\n }\n}",
80
80
  "title": "创建Datahub连接源(ES)"
81
81
  },
82
82
  {
83
83
  "document": "创建Datahub连接源(DTS)",
84
- "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConnectResource\n<公共请求参数>\n\n{\n \"Description\": \"xxxxx\",\n \"DtsConnectParam\": {\n \"UserName\": \"root\",\n \"Resource\": \"dts-xxx\",\n \"Topic\": \"topic\",\n \"GroupId\": \"group\",\n \"Password\": \"xxxx\",\n \"Port\": 0\n },\n \"ResourceName\": \"xxxx\",\n \"Type\": \"DTS\"\n}",
85
- "output": "{\n \"Response\": {\n \"Result\": {\n \"ResourceId\": \"resource-xx\"\n },\n \"RequestId\": \"xxxx\"\n }\n}",
84
+ "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConnectResource\n<公共请求参数>\n\n{\n \"Description\": \"your description\",\n \"DtsConnectParam\": {\n \"UserName\": \"root\",\n \"Resource\": \"dts-test\",\n \"Topic\": \"topic\",\n \"GroupId\": \"group\",\n \"Password\": \"yourpassword\",\n \"Port\": 0\n },\n \"ResourceName\": \"resourcename\",\n \"Type\": \"DTS\"\n}",
85
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"ResourceId\": \"resource-test\"\n },\n \"RequestId\": \"9e6d209b-69fd-4a00-b064-75131aa0a0f8\"\n }\n}",
86
86
  "title": "创建Datahub连接源(DTS)"
87
87
  }
88
88
  ],
89
89
  "CreateConsumer": [
90
90
  {
91
91
  "document": "创建消费者",
92
- "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConsumer\n<公共请求参数>\n\n{\n \"InstanceId\": \"ckafka-xxx\",\n \"TopicName\": \"topic-xxx\",\n \"GroupName\": \"group-xxx\"\n}",
93
- "output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnMessage\": \"abc\",\n \"ReturnCode\": \"abc\",\n \"Data\": {\n \"FlowId\": 0,\n \"RouteDTO\": {\n \"RouteId\": 0\n }\n }\n },\n \"RequestId\": \"abc\"\n }\n}",
92
+ "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConsumer\n<公共请求参数>\n\n{\n \"InstanceId\": \"ckafka-test\",\n \"TopicName\": \"topic-test\",\n \"GroupName\": \"group-test\"\n}",
93
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnMessage\": \"success\",\n \"ReturnCode\": \"ok\",\n \"Data\": {\n \"FlowId\": 0,\n \"RouteDTO\": {\n \"RouteId\": 0\n }\n }\n },\n \"RequestId\": \"9e6d209b-69fd-4a00-b064-75131aa0a0f8\"\n }\n}",
94
94
  "title": "创建消费者"
95
95
  }
96
96
  ],
@@ -98,25 +98,25 @@
98
98
  {
99
99
  "document": "SINK任务",
100
100
  "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDatahubTask\n<公共请求参数>\n\n{\n \"TaskName\": \"MyTaskName\",\n \"TaskType\": \"SINK\",\n \"SourceResource\": {\n \"Type\": \"KAFKA\",\n \"KafkaParam\": {\n \"SelfBuilt\": false,\n \"Resource\": \"ckafka-7kd5rzza\",\n \"Topic\": \"topic-test\",\n \"OffsetType\": \"timestamp\",\n \"StartTime\": 1635339533\n }\n },\n \"TargetResource\": {\n \"Type\": \"EB\",\n \"EventBusParam\": {\n \"Type\": \"COS\",\n \"SelfBuilt\": false,\n \"Resource\": \"target-resource\",\n \"Namespace\": \"default\",\n \"FunctionName\": \"ckafka-7kd5rzza_topic-0cus2p9z_task_1633501781881_schedule\",\n \"Qualifier\": \"$LATEST\"\n }\n }\n}",
101
- "output": "{\n \"Response\": {\n \"Result\": {\n \"TaskId\": \"datahub-xx\",\n \"DatahubId\": \"xx\"\n },\n \"RequestId\": \"xx\"\n }\n}",
101
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"TaskId\": \"abc\",\n \"DatahubId\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
102
102
  "title": "创建SINK任务"
103
103
  },
104
104
  {
105
105
  "document": "",
106
106
  "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDatahubTask\n<公共请求参数>\n\n{\n \"TaskName\": \"MyTaskName\",\n \"TaskType\": \"SINK\",\n \"SourceResource\": {\n \"Type\": \"KAFKA\",\n \"KafkaParam\": {\n \"SelfBuilt\": false,\n \"Resource\": \"ckafka-7kd5rzza\",\n \"Topic\": \"topic-test\",\n \"OffsetType\": \"earliest\"\n }\n },\n \"TargetResource\": {\n \"Type\": \"ES\",\n \"EsParam\": {\n \"Resource\": \"resource-xxx\",\n \"DropInvalidMessage\": true,\n \"Index\": \"xxx\",\n \"DropInvalidJsonMessage\": false\n }\n }\n}",
107
- "output": "{\n \"Response\": {\n \"Result\": {\n \"TaskId\": \"task-xx\",\n \"DatahubId\": \"xx\"\n },\n \"RequestId\": \"xx\"\n }\n}",
107
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"TaskId\": \"abc\",\n \"DatahubId\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
108
108
  "title": "创建SINK任务(ES)"
109
109
  },
110
110
  {
111
111
  "document": "TRANSFORM任务",
112
- "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDatahubTask\n<公共请求参数>\n\n{\n \"TaskName\": \"MyTaskName\",\n \"TaskType\": \"TRANSFORM\",\n \"SourceResource\": {\n \"Type\": \"KAFKA\",\n \"KafkaParam\": {\n \"SelfBuilt\": false,\n \"Resource\": \"ckafka-aaa\",\n \"Topic\": \"topic-source\"\n }\n },\n \"TargetResource\": {\n \"Type\": \"KAFKA\",\n \"KafkaParam\": {\n \"SelfBuilt\": false,\n \"Resource\": \"ckafka-bbb\",\n \"Topic\": \"topic-traget\"\n }\n },\n \"TransformParam\": {\n \"Regex\": \";\",\n \"AnalysisFormat\": \"DELIMITER\",\n \"OutputFormat\": \"JSON\",\n \"SourceType\": \"xx\",\n \"FilterParam\": [\n {\n \"MatchMode\": \"PREFIX\",\n \"Value\": \"cass\",\n \"Key\": \"0\"\n }\n ],\n \"FailureParam\": {\n \"Type\": \"DLQ\",\n \"MaxRetryAttempts\": 1,\n \"KafkaParam\": {\n \"Resource\": \"ckafka-xxx\",\n \"SelfBuilt\": false,\n \"Topic\": \"test-dlq\"\n }\n },\n \"Content\": \"xx\",\n \"MapParam\": [\n {\n \"Type\": \"DEFAULT\",\n \"Key\": \"1\"\n },\n {\n \"Type\": \"DEFAULT\",\n \"Key\": \"2\"\n },\n {\n \"Type\": \"DEFAULT\",\n \"Value\": \"abc\",\n \"Key\": \"3\"\n },\n {\n \"Type\": \"DATE\",\n \"Value\": \"\",\n \"Key\": \"5\"\n }\n ]\n }\n}",
113
- "output": "{\n \"Response\": {\n \"Result\": {\n \"TaskId\": \"datahub-xx\",\n \"DatahubId\": \"xx\"\n },\n \"RequestId\": \"xx\"\n }\n}",
112
+ "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDatahubTask\n<公共请求参数>\n\n{\n \"TaskName\": \"abc\",\n \"TaskType\": \"abc\",\n \"SourceResource\": {\n \"Type\": \"abc\",\n \"KafkaParam\": {\n \"SelfBuilt\": true,\n \"Resource\": \"abc\",\n \"Topic\": \"abc\",\n \"OffsetType\": \"abc\",\n \"StartTime\": 1,\n \"ResourceName\": \"abc\",\n \"ZoneId\": 0,\n \"TopicId\": \"abc\",\n \"PartitionNum\": 0,\n \"EnableToleration\": true,\n \"QpsLimit\": 1,\n \"TableMappings\": [\n {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Topic\": \"abc\",\n \"TopicId\": \"abc\"\n }\n ],\n \"UseTableMapping\": true,\n \"UseAutoCreateTopic\": true,\n \"CompressionType\": \"abc\",\n \"MsgMultiple\": 0,\n \"ConnectorSyncType\": \"abc\",\n \"KeepPartition\": true\n },\n \"EventBusParam\": {\n \"Type\": \"abc\",\n \"SelfBuilt\": true,\n \"Resource\": \"abc\",\n \"Namespace\": \"abc\",\n \"FunctionName\": \"abc\",\n \"Qualifier\": \"abc\"\n },\n \"MongoDBParam\": {\n \"Database\": \"abc\",\n \"Collection\": \"abc\",\n \"CopyExisting\": true,\n \"Resource\": \"abc\",\n \"Ip\": \"abc\",\n \"Port\": 0,\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"ListeningEvent\": \"abc\",\n \"ReadPreference\": \"abc\",\n \"Pipeline\": \"abc\",\n \"SelfBuilt\": true\n },\n \"EsParam\": {\n \"Resource\": \"abc\",\n \"Port\": 0,\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"SelfBuilt\": true,\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"DropInvalidMessage\": true,\n \"Index\": \"abc\",\n \"DateFormat\": \"abc\",\n \"ContentKey\": \"abc\",\n \"DropInvalidJsonMessage\": true,\n \"DocumentIdField\": \"abc\",\n \"IndexType\": \"abc\",\n \"DropCls\": {\n \"DropInvalidMessageToCls\": true,\n \"DropClsRegion\": \"abc\",\n \"DropClsOwneruin\": \"abc\",\n \"DropClsTopicId\": \"abc\",\n \"DropClsLogSet\": \"abc\"\n },\n \"DatabasePrimaryKey\": \"abc\",\n \"DropDlq\": {\n \"Type\": \"abc\",\n \"KafkaParam\": {\n \"SelfBuilt\": true,\n \"Resource\": \"abc\",\n \"Topic\": \"abc\",\n \"OffsetType\": \"abc\",\n \"StartTime\": 1,\n \"ResourceName\": \"abc\",\n \"ZoneId\": 0,\n \"TopicId\": \"abc\",\n \"PartitionNum\": 0,\n \"EnableToleration\": true,\n \"QpsLimit\": 1,\n \"TableMappings\": [\n {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Topic\": \"abc\",\n \"TopicId\": \"abc\"\n }\n ],\n \"UseTableMapping\": true,\n \"UseAutoCreateTopic\": true,\n \"CompressionType\": \"abc\",\n \"MsgMultiple\": 0,\n \"ConnectorSyncType\": \"abc\",\n \"KeepPartition\": true\n },\n \"RetryInterval\": 1,\n \"MaxRetryAttempts\": 1,\n \"TopicParam\": {\n \"Resource\": \"abc\",\n \"OffsetType\": \"abc\",\n \"StartTime\": 1,\n \"TopicId\": \"abc\",\n \"CompressionType\": \"abc\",\n \"UseAutoCreateTopic\": true,\n \"MsgMultiple\": 0\n },\n \"DlqType\": \"abc\"\n },\n \"RecordMappingList\": [\n {\n \"ColumnName\": \"abc\",\n \"JsonKey\": \"abc\"\n }\n ],\n \"DateField\": \"abc\",\n \"RecordMappingMode\": \"abc\"\n },\n \"TdwParam\": {\n \"Bid\": \"abc\",\n \"Tid\": \"abc\",\n \"IsDomestic\": true,\n \"TdwHost\": \"abc\",\n \"TdwPort\": 0\n },\n \"DtsParam\": {\n \"Resource\": \"abc\",\n \"Ip\": \"abc\",\n \"Port\": 0,\n \"Topic\": \"abc\",\n \"GroupId\": \"abc\",\n \"GroupUser\": \"abc\",\n \"GroupPassword\": \"abc\",\n \"TranSql\": true\n },\n \"ClickHouseParam\": {\n \"Ip\": \"abc\",\n \"Port\": 0,\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Cluster\": \"abc\",\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Schema\": [\n {\n \"ColumnName\": \"abc\",\n \"JsonKey\": \"abc\",\n \"Type\": \"abc\",\n \"AllowNull\": true\n }\n ],\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"Resource\": \"abc\",\n \"SelfBuilt\": true,\n \"DropInvalidMessage\": true,\n \"Type\": \"abc\",\n \"DropCls\": {\n \"DropInvalidMessageToCls\": true,\n \"DropClsRegion\": \"abc\",\n \"DropClsOwneruin\": \"abc\",\n \"DropClsTopicId\": \"abc\",\n \"DropClsLogSet\": \"abc\"\n },\n \"BatchSize\": 0,\n \"ConsumerFetchMinBytes\": 0,\n \"ConsumerFetchMaxWaitMs\": 0\n },\n \"ClsParam\": {\n \"DecodeJson\": true,\n \"Resource\": \"abc\",\n \"LogSet\": \"abc\",\n \"ContentKey\": \"abc\",\n \"TimeField\": \"abc\"\n },\n \"CosParam\": {\n \"BucketName\": \"abc\",\n \"Region\": \"abc\",\n \"ObjectKey\": \"abc\",\n \"AggregateBatchSize\": 1,\n \"AggregateInterval\": 1,\n \"FormatOutputType\": \"abc\",\n \"ObjectKeyPrefix\": \"abc\",\n \"DirectoryTimeFormat\": \"abc\"\n },\n \"MySQLParam\": {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Resource\": \"abc\",\n \"SnapshotMode\": \"abc\",\n \"DdlTopic\": \"abc\",\n \"DataSourceMonitorMode\": \"abc\",\n \"DataSourceMonitorResource\": \"abc\",\n \"DataSourceIncrementMode\": \"abc\",\n \"DataSourceIncrementColumn\": \"abc\",\n \"DataSourceStartFrom\": \"abc\",\n \"DataTargetInsertMode\": \"abc\",\n \"DataTargetPrimaryKeyField\": \"abc\",\n \"DataTargetRecordMapping\": [\n {\n \"JsonKey\": \"abc\",\n \"Type\": \"abc\",\n \"AllowNull\": true,\n \"ColumnName\": \"abc\",\n \"ExtraInfo\": \"abc\",\n \"ColumnSize\": \"abc\",\n \"DecimalDigits\": \"abc\",\n \"AutoIncrement\": true,\n \"DefaultValue\": \"abc\"\n }\n ],\n \"TopicRegex\": \"abc\",\n \"TopicReplacement\": \"abc\",\n \"KeyColumns\": \"abc\",\n \"DropInvalidMessage\": true,\n \"DropCls\": {\n \"DropInvalidMessageToCls\": true,\n \"DropClsRegion\": \"abc\",\n \"DropClsOwneruin\": \"abc\",\n \"DropClsTopicId\": \"abc\",\n \"DropClsLogSet\": \"abc\"\n },\n \"OutputFormat\": \"abc\",\n \"IsTablePrefix\": true,\n \"IncludeContentChanges\": \"abc\",\n \"IncludeQuery\": true,\n \"RecordWithSchema\": true,\n \"SignalDatabase\": \"abc\",\n \"IsTableRegular\": true,\n \"SignalTable\": \"abc\",\n \"DateTimeZone\": \"abc\",\n \"SelfBuilt\": true\n },\n \"PostgreSQLParam\": {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Resource\": \"abc\",\n \"PluginName\": \"abc\",\n \"SnapshotMode\": \"abc\",\n \"DataFormat\": \"abc\",\n \"DataTargetInsertMode\": \"abc\",\n \"DataTargetPrimaryKeyField\": \"abc\",\n \"DataTargetRecordMapping\": [\n {\n \"JsonKey\": \"abc\",\n \"Type\": \"abc\",\n \"AllowNull\": true,\n \"ColumnName\": \"abc\",\n \"ExtraInfo\": \"abc\",\n \"ColumnSize\": \"abc\",\n \"DecimalDigits\": \"abc\",\n \"AutoIncrement\": true,\n \"DefaultValue\": \"abc\"\n }\n ],\n \"DropInvalidMessage\": true,\n \"IsTableRegular\": true,\n \"KeyColumns\": \"abc\",\n \"RecordWithSchema\": true\n },\n \"TopicParam\": {\n \"Resource\": \"abc\",\n \"OffsetType\": \"abc\",\n \"StartTime\": 1,\n \"TopicId\": \"abc\",\n \"CompressionType\": \"abc\",\n \"UseAutoCreateTopic\": true,\n \"MsgMultiple\": 0\n },\n \"MariaDBParam\": {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Resource\": \"abc\",\n \"SnapshotMode\": \"abc\",\n \"KeyColumns\": \"abc\",\n \"IsTablePrefix\": true,\n \"OutputFormat\": \"abc\",\n \"IncludeContentChanges\": \"abc\",\n \"IncludeQuery\": true,\n \"RecordWithSchema\": true\n },\n \"SQLServerParam\": {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Resource\": \"abc\",\n \"SnapshotMode\": \"abc\"\n },\n \"CtsdbParam\": {\n \"Resource\": \"abc\",\n \"CtsdbMetric\": \"abc\"\n },\n \"ScfParam\": {\n \"FunctionName\": \"abc\",\n \"Namespace\": \"abc\",\n \"Qualifier\": \"abc\",\n \"BatchSize\": 0,\n \"MaxRetries\": 0\n },\n \"MqttParam\": {\n \"Topics\": \"abc\",\n \"CleanSession\": true,\n \"Resource\": \"abc\",\n \"Ip\": \"abc\",\n \"Port\": 0,\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Qos\": 0,\n \"MaxTasks\": 0,\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"SelfBuilt\": true\n }\n },\n \"TargetResource\": {\n \"Type\": \"abc\",\n \"KafkaParam\": {\n \"SelfBuilt\": true,\n \"Resource\": \"abc\",\n \"Topic\": \"abc\",\n \"OffsetType\": \"abc\",\n \"StartTime\": 1,\n \"ResourceName\": \"abc\",\n \"ZoneId\": 0,\n \"TopicId\": \"abc\",\n \"PartitionNum\": 0,\n \"EnableToleration\": true,\n \"QpsLimit\": 1,\n \"TableMappings\": [\n {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Topic\": \"abc\",\n \"TopicId\": \"abc\"\n }\n ],\n \"UseTableMapping\": true,\n \"UseAutoCreateTopic\": true,\n \"CompressionType\": \"abc\",\n \"MsgMultiple\": 0,\n \"ConnectorSyncType\": \"abc\",\n \"KeepPartition\": true\n },\n \"EventBusParam\": {\n \"Type\": \"abc\",\n \"SelfBuilt\": true,\n \"Resource\": \"abc\",\n \"Namespace\": \"abc\",\n \"FunctionName\": \"abc\",\n \"Qualifier\": \"abc\"\n },\n \"MongoDBParam\": {\n \"Database\": \"abc\",\n \"Collection\": \"abc\",\n \"CopyExisting\": true,\n \"Resource\": \"abc\",\n \"Ip\": \"abc\",\n \"Port\": 0,\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"ListeningEvent\": \"abc\",\n \"ReadPreference\": \"abc\",\n \"Pipeline\": \"abc\",\n \"SelfBuilt\": true\n },\n \"EsParam\": {\n \"Resource\": \"abc\",\n \"Port\": 0,\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"SelfBuilt\": true,\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"DropInvalidMessage\": true,\n \"Index\": \"abc\",\n \"DateFormat\": \"abc\",\n \"ContentKey\": \"abc\",\n \"DropInvalidJsonMessage\": true,\n \"DocumentIdField\": \"abc\",\n \"IndexType\": \"abc\",\n \"DatabasePrimaryKey\": \"abc\",\n \"DropDlq\": {\n \"Type\": \"abc\",\n \"RetryInterval\": 1,\n \"MaxRetryAttempts\": 1,\n \"TopicParam\": {\n \"Resource\": \"abc\",\n \"OffsetType\": \"abc\",\n \"StartTime\": 1,\n \"TopicId\": \"abc\",\n \"CompressionType\": \"abc\",\n \"UseAutoCreateTopic\": true,\n \"MsgMultiple\": 0\n },\n \"DlqType\": \"abc\"\n },\n \"RecordMappingList\": [\n {\n \"ColumnName\": \"abc\",\n \"JsonKey\": \"abc\"\n }\n ],\n \"DateField\": \"abc\",\n \"RecordMappingMode\": \"abc\"\n },\n \"TdwParam\": {\n \"Bid\": \"abc\",\n \"Tid\": \"abc\",\n \"IsDomestic\": true,\n \"TdwHost\": \"abc\",\n \"TdwPort\": 0\n },\n \"DtsParam\": {\n \"Resource\": \"abc\",\n \"Ip\": \"abc\",\n \"Port\": 0,\n \"Topic\": \"abc\",\n \"GroupId\": \"abc\",\n \"GroupUser\": \"abc\",\n \"GroupPassword\": \"abc\",\n \"TranSql\": true\n },\n \"ClickHouseParam\": {\n \"Ip\": \"abc\",\n \"Port\": 0,\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Cluster\": \"abc\",\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Schema\": [\n {\n \"ColumnName\": \"abc\",\n \"JsonKey\": \"abc\",\n \"Type\": \"abc\",\n \"AllowNull\": true\n }\n ],\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"Resource\": \"abc\",\n \"SelfBuilt\": true,\n \"DropInvalidMessage\": true,\n \"Type\": \"abc\",\n \"BatchSize\": 0,\n \"ConsumerFetchMinBytes\": 0,\n \"ConsumerFetchMaxWaitMs\": 0\n },\n \"ClsParam\": {\n \"DecodeJson\": true,\n \"Resource\": \"abc\",\n \"LogSet\": \"abc\",\n \"ContentKey\": \"abc\",\n \"TimeField\": \"abc\"\n },\n \"CosParam\": {\n \"BucketName\": \"abc\",\n \"Region\": \"abc\",\n \"ObjectKey\": \"abc\",\n \"AggregateBatchSize\": 1,\n \"AggregateInterval\": 1,\n \"FormatOutputType\": \"abc\",\n \"ObjectKeyPrefix\": \"abc\",\n \"DirectoryTimeFormat\": \"abc\"\n },\n \"MySQLParam\": {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Resource\": \"abc\",\n \"SnapshotMode\": \"abc\",\n \"DdlTopic\": \"abc\",\n \"DataSourceMonitorMode\": \"abc\",\n \"DataSourceMonitorResource\": \"abc\",\n \"DataSourceIncrementMode\": \"abc\",\n \"DataSourceIncrementColumn\": \"abc\",\n \"DataSourceStartFrom\": \"abc\",\n \"DataTargetInsertMode\": \"abc\",\n \"DataTargetPrimaryKeyField\": \"abc\",\n \"DataTargetRecordMapping\": [\n {\n \"JsonKey\": \"abc\",\n \"Type\": \"abc\",\n \"AllowNull\": true,\n \"ColumnName\": \"abc\",\n \"ExtraInfo\": \"abc\",\n \"ColumnSize\": \"abc\",\n \"DecimalDigits\": \"abc\",\n \"AutoIncrement\": true,\n \"DefaultValue\": \"abc\"\n }\n ],\n \"TopicRegex\": \"abc\",\n \"TopicReplacement\": \"abc\",\n \"KeyColumns\": \"abc\",\n \"DropInvalidMessage\": true,\n \"OutputFormat\": \"abc\",\n \"IsTablePrefix\": true,\n \"IncludeContentChanges\": \"abc\",\n \"IncludeQuery\": true,\n \"RecordWithSchema\": true,\n \"SignalDatabase\": \"abc\",\n \"IsTableRegular\": true,\n \"SignalTable\": \"abc\",\n \"DateTimeZone\": \"abc\",\n \"SelfBuilt\": true\n },\n \"PostgreSQLParam\": {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Resource\": \"abc\",\n \"PluginName\": \"abc\",\n \"SnapshotMode\": \"abc\",\n \"DataFormat\": \"abc\",\n \"DataTargetInsertMode\": \"abc\",\n \"DataTargetPrimaryKeyField\": \"abc\",\n \"DropInvalidMessage\": true,\n \"IsTableRegular\": true,\n \"KeyColumns\": \"abc\",\n \"RecordWithSchema\": true\n },\n \"MariaDBParam\": {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Resource\": \"abc\",\n \"SnapshotMode\": \"abc\",\n \"KeyColumns\": \"abc\",\n \"IsTablePrefix\": true,\n \"OutputFormat\": \"abc\",\n \"IncludeContentChanges\": \"abc\",\n \"IncludeQuery\": true,\n \"RecordWithSchema\": true\n },\n \"SQLServerParam\": {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Resource\": \"abc\",\n \"SnapshotMode\": \"abc\"\n },\n \"CtsdbParam\": {\n \"Resource\": \"abc\",\n \"CtsdbMetric\": \"abc\"\n },\n \"ScfParam\": {\n \"FunctionName\": \"abc\",\n \"Namespace\": \"abc\",\n \"Qualifier\": \"abc\",\n \"BatchSize\": 0,\n \"MaxRetries\": 0\n },\n \"MqttParam\": {\n \"Topics\": \"abc\",\n \"CleanSession\": true,\n \"Resource\": \"abc\",\n \"Ip\": \"abc\",\n \"Port\": 0,\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Qos\": 0,\n \"MaxTasks\": 0,\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"SelfBuilt\": true\n }\n },\n \"TransformParam\": {\n \"AnalysisFormat\": \"abc\",\n \"Regex\": \"abc\",\n \"MapParam\": [\n {\n \"Key\": \"abc\",\n \"Type\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"FilterParam\": [\n {\n \"Key\": \"abc\",\n \"Type\": \"abc\",\n \"MatchMode\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"OutputFormat\": \"abc\",\n \"FailureParam\": {\n \"Type\": \"abc\",\n \"RetryInterval\": 1,\n \"MaxRetryAttempts\": 1,\n \"DlqType\": \"abc\"\n },\n \"Content\": \"abc\",\n \"SourceType\": \"abc\",\n \"Result\": \"abc\",\n \"AnalyseResult\": [\n {\n \"Key\": \"abc\",\n \"Type\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"UseEventBus\": true\n },\n \"PrivateLinkParam\": {\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\"\n },\n \"SchemaId\": \"abc\",\n \"TransformsParam\": {\n \"Content\": \"abc\",\n \"FieldChain\": [\n {\n \"Analyse\": {\n \"Format\": \"abc\",\n \"Regex\": \"abc\",\n \"InputValueType\": \"abc\",\n \"InputValue\": \"abc\"\n },\n \"SecondaryAnalyse\": {\n \"Regex\": \"abc\"\n },\n \"SMT\": [\n {\n \"Key\": \"abc\",\n \"Operate\": \"abc\",\n \"SchemeType\": \"abc\",\n \"Value\": \"abc\",\n \"ValueOperate\": {\n \"Type\": \"abc\",\n \"Replace\": {\n \"OldValue\": \"abc\",\n \"NewValue\": \"abc\"\n },\n \"Substr\": {\n \"Start\": 0,\n \"End\": 0\n },\n \"Date\": {\n \"Format\": \"abc\",\n \"TargetType\": \"abc\",\n \"TimeZone\": \"abc\"\n },\n \"RegexReplace\": {\n \"Regex\": \"abc\",\n \"NewValue\": \"abc\"\n },\n \"Split\": {\n \"Regex\": \"abc\"\n },\n \"KV\": {\n \"Delimiter\": \"abc\",\n \"Regex\": \"abc\",\n \"KeepOriginalKey\": \"abc\"\n },\n \"Result\": \"abc\",\n \"JsonPathReplace\": {\n \"OldValue\": \"abc\",\n \"NewValue\": \"abc\"\n },\n \"UrlDecode\": {\n \"CharsetName\": \"abc\"\n },\n \"Lowercase\": {}\n },\n \"OriginalValue\": \"abc\",\n \"ValueOperates\": [\n {\n \"Type\": \"abc\",\n \"Replace\": {\n \"OldValue\": \"abc\",\n \"NewValue\": \"abc\"\n },\n \"Substr\": {\n \"Start\": 0,\n \"End\": 0\n },\n \"Date\": {\n \"Format\": \"abc\",\n \"TargetType\": \"abc\",\n \"TimeZone\": \"abc\"\n },\n \"RegexReplace\": {\n \"Regex\": \"abc\",\n \"NewValue\": \"abc\"\n },\n \"Split\": {\n \"Regex\": \"abc\"\n },\n \"KV\": {\n \"Delimiter\": \"abc\",\n \"Regex\": \"abc\",\n \"KeepOriginalKey\": \"abc\"\n },\n \"Result\": \"abc\",\n \"JsonPathReplace\": {\n \"OldValue\": \"abc\",\n \"NewValue\": \"abc\"\n },\n \"UrlDecode\": {\n \"CharsetName\": \"abc\"\n },\n \"Lowercase\": {}\n }\n ]\n }\n ],\n \"Result\": \"abc\",\n \"AnalyseResult\": [\n {\n \"Key\": \"abc\",\n \"Operate\": \"abc\",\n \"SchemeType\": \"abc\",\n \"Value\": \"abc\",\n \"ValueOperate\": {\n \"Type\": \"abc\",\n \"Replace\": {\n \"OldValue\": \"abc\",\n \"NewValue\": \"abc\"\n },\n \"Substr\": {\n \"Start\": 0,\n \"End\": 0\n },\n \"Date\": {\n \"Format\": \"abc\",\n \"TargetType\": \"abc\",\n \"TimeZone\": \"abc\"\n },\n \"RegexReplace\": {\n \"Regex\": \"abc\",\n \"NewValue\": \"abc\"\n },\n \"Split\": {\n \"Regex\": \"abc\"\n },\n \"KV\": {\n \"Delimiter\": \"abc\",\n \"Regex\": \"abc\",\n \"KeepOriginalKey\": \"abc\"\n },\n \"Result\": \"abc\",\n \"JsonPathReplace\": {\n \"OldValue\": \"abc\",\n \"NewValue\": \"abc\"\n },\n \"UrlDecode\": {\n \"CharsetName\": \"abc\"\n },\n \"Lowercase\": {}\n },\n \"OriginalValue\": \"abc\"\n }\n ],\n \"SecondaryAnalyseResult\": [\n {\n \"Key\": \"abc\",\n \"Operate\": \"abc\",\n \"SchemeType\": \"abc\",\n \"Value\": \"abc\",\n \"OriginalValue\": \"abc\"\n }\n ],\n \"AnalyseJsonResult\": \"abc\",\n \"SecondaryAnalyseJsonResult\": \"abc\"\n }\n ],\n \"FilterParam\": [\n {\n \"Key\": \"abc\",\n \"Type\": \"abc\",\n \"MatchMode\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"Result\": \"abc\",\n \"SourceType\": \"abc\",\n \"OutputFormat\": \"abc\",\n \"RowParam\": {\n \"RowContent\": \"abc\",\n \"KeyValueDelimiter\": \"abc\",\n \"EntryDelimiter\": \"abc\"\n },\n \"KeepMetadata\": true,\n \"BatchAnalyse\": {\n \"Format\": \"abc\"\n }\n },\n \"TaskId\": \"abc\",\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n}",
113
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"TaskId\": \"abc\",\n \"DatahubId\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
114
114
  "title": "创建TRANSFORM任务"
115
115
  },
116
116
  {
117
117
  "document": "",
118
118
  "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDatahubTask\n<公共请求参数>\n\n{\n \"TaskName\": \"MyTaskName\",\n \"TaskType\": \"SINK\",\n \"SourceResource\": {\n \"Type\": \"TOPIC\",\n \"TopicParam\": {\n \"Resource\": \"12345-xxx\",\n \"OffsetType\": \"earliest\"\n }\n },\n \"TargetResource\": {\n \"Type\": \"ES\",\n \"EsParam\": {\n \"Resource\": \"resource-xxx\",\n \"DropInvalidMessage\": true,\n \"Index\": \"xxx\",\n \"DropInvalidJsonMessage\": false\n }\n }\n}",
119
- "output": "{\n \"Response\": {\n \"Result\": {\n \"TaskId\": \"task-xx\",\n \"DatahubId\": \"xx\"\n },\n \"RequestId\": \"xx\"\n }\n}",
119
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"TaskId\": \"abc\",\n \"DatahubId\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
120
120
  "title": "创建SINK任务(DIP Topic to ES)"
121
121
  }
122
122
  ],
@@ -214,7 +214,7 @@
214
214
  {
215
215
  "document": "",
216
216
  "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTopicIpWhiteList\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"TopicName\": \"abc\",\n \"IpWhiteList\": [\n \"abc\"\n ]\n}",
217
- "output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnCode\": \"0\",\n \"ReturnMessage\": \"ok[apply success]\"\n },\n \"RequestId\": \"7a6f7927-a435-4e55-8687-f24a8838f744\"\n }\n}",
217
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnCode\": \"0\",\n \"ReturnMessage\": \"ok[apply success]\",\n \"Data\": {\n \"FlowId\": 0\n }\n },\n \"RequestId\": \"b800c966-083a-40f5-8d54-44f40c6b364f\"\n }\n}",
218
218
  "title": "创建主题IP白名单"
219
219
  }
220
220
  ],
@@ -262,7 +262,7 @@
262
262
  {
263
263
  "document": "",
264
264
  "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteDatahubTopic\n<公共请求参数>\n\n{\n \"Name\": \"12345-test\"\n}",
265
- "output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnMessage\": \"xx\",\n \"ReturnCode\": \"xx\",\n \"Data\": {\n \"FlowId\": 0\n }\n },\n \"RequestId\": \"xx\"\n }\n}",
265
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnCode\": \"abc\",\n \"ReturnMessage\": \"abc\",\n \"Data\": {\n \"FlowId\": 0,\n \"RouteDTO\": {\n \"RouteId\": 0\n }\n }\n },\n \"RequestId\": \"abc\"\n }\n}",
266
266
  "title": "删除主题"
267
267
  }
268
268
  ],
@@ -318,7 +318,7 @@
318
318
  {
319
319
  "document": "",
320
320
  "input": "POST / HTTP/1.1\nHost: xxx.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteTopicIpWhiteList\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"TopicName\": \"abc\",\n \"IpWhiteList\": [\n \"abc\"\n ]\n}",
321
- "output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnCode\": \"0\",\n \"ReturnMessage\": \"ok[apply success]\"\n },\n \"RequestId\": \"b800c966-083a-40f5-8d54-44f40c6b364f\"\n }\n}",
321
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnCode\": \"0\",\n \"ReturnMessage\": \"ok[apply success]\",\n \"Data\": {\n \"FlowId\": 0\n }\n },\n \"RequestId\": \"b800c966-083a-40f5-8d54-44f40c6b364f\"\n }\n}",
322
322
  "title": "删除主题IP白名单"
323
323
  }
324
324
  ],
@@ -406,7 +406,7 @@
406
406
  {
407
407
  "document": "",
408
408
  "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDatahubTasks\n<公共请求参数>\n\n{\n \"TaskType\": \"SINK\",\n \"Limit\": \"20\",\n \"Offset\": \"0\"\n}",
409
- "output": "{\n \"Response\": {\n \"Result\": {\n \"TotalCount\": 0,\n \"TaskList\": [\n {\n \"Status\": 0,\n \"TaskId\": \"xx\",\n \"TaskName\": \"MyTaskName\",\n \"TaskType\": \"SINK\",\n \"SourceResource\": {\n \"Type\": \"KAFKA\",\n \"KafkaParam\": {\n \"SelfBuilt\": false,\n \"Resource\": \"ckafka-7kd5rzza\",\n \"Topic\": \"topic-test\",\n \"OffsetType\": \"timestamp\",\n \"StartTime\": 1635339533,\n \"ResourceName\": \"MyCkafkaName\",\n \"ZoneId\": 200005\n }\n },\n \"TargetResource\": {\n \"Type\": \"EB\",\n \"EventBusParam\": {\n \"Type\": \"COS\",\n \"SelfBuilt\": false,\n \"Resource\": \"target-resource\",\n \"Namespace\": \"default\",\n \"FunctionName\": \"ckafka-7kd5rzza_topic-0cus2p9z_task_1633501781881_schedule\",\n \"Qualifier\": \"$LATEST\"\n }\n }\n }\n ]\n },\n \"RequestId\": \"xx\"\n }\n}",
409
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"TotalCount\": 0,\n \"TaskList\": [\n {\n \"TaskId\": \"abc\",\n \"TaskName\": \"abc\",\n \"TaskType\": \"abc\",\n \"Status\": 0,\n \"SourceResource\": {\n \"Type\": \"abc\",\n \"KafkaParam\": {\n \"SelfBuilt\": true,\n \"Resource\": \"abc\",\n \"Topic\": \"abc\",\n \"OffsetType\": \"abc\",\n \"StartTime\": 1,\n \"ResourceName\": \"abc\",\n \"ZoneId\": 0,\n \"TopicId\": \"abc\",\n \"PartitionNum\": 0,\n \"EnableToleration\": true,\n \"QpsLimit\": 1,\n \"TableMappings\": [\n {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Topic\": \"abc\",\n \"TopicId\": \"abc\"\n }\n ],\n \"UseTableMapping\": true,\n \"UseAutoCreateTopic\": true,\n \"CompressionType\": \"abc\",\n \"MsgMultiple\": 0,\n \"ConnectorSyncType\": \"abc\",\n \"KeepPartition\": true\n },\n \"EventBusParam\": {\n \"Type\": \"abc\",\n \"SelfBuilt\": true,\n \"Resource\": \"abc\",\n \"Namespace\": \"abc\",\n \"FunctionName\": \"abc\",\n \"Qualifier\": \"abc\"\n },\n \"MongoDBParam\": {\n \"Database\": \"abc\",\n \"Collection\": \"abc\",\n \"CopyExisting\": true,\n \"Resource\": \"abc\",\n \"Ip\": \"abc\",\n \"Port\": 0,\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"ListeningEvent\": \"abc\",\n \"ReadPreference\": \"abc\",\n \"Pipeline\": \"abc\",\n \"SelfBuilt\": true\n },\n \"EsParam\": {\n \"Resource\": \"abc\",\n \"Port\": 0,\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"SelfBuilt\": true,\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"DropInvalidMessage\": true,\n \"Index\": \"abc\",\n \"DateFormat\": \"abc\",\n \"ContentKey\": \"abc\",\n \"DropInvalidJsonMessage\": true,\n \"DocumentIdField\": \"abc\",\n \"IndexType\": \"abc\",\n \"DropCls\": {\n \"DropInvalidMessageToCls\": true,\n \"DropClsRegion\": \"abc\",\n \"DropClsOwneruin\": \"abc\",\n \"DropClsTopicId\": \"abc\",\n \"DropClsLogSet\": \"abc\"\n },\n \"DatabasePrimaryKey\": \"abc\",\n \"DropDlq\": {\n \"Type\": \"abc\",\n \"KafkaParam\": {\n \"SelfBuilt\": true,\n \"Resource\": \"abc\",\n \"Topic\": \"abc\",\n \"OffsetType\": \"abc\",\n \"StartTime\": 1,\n \"ResourceName\": \"abc\",\n \"ZoneId\": 0,\n \"TopicId\": \"abc\",\n \"PartitionNum\": 0,\n \"EnableToleration\": true,\n \"QpsLimit\": 1,\n \"TableMappings\": [\n {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Topic\": \"abc\",\n \"TopicId\": \"abc\"\n }\n ],\n \"UseTableMapping\": true,\n \"UseAutoCreateTopic\": true,\n \"CompressionType\": \"abc\",\n \"MsgMultiple\": 0,\n \"ConnectorSyncType\": \"abc\",\n \"KeepPartition\": true\n },\n \"RetryInterval\": 1,\n \"MaxRetryAttempts\": 1,\n \"TopicParam\": {\n \"Resource\": \"abc\",\n \"OffsetType\": \"abc\",\n \"StartTime\": 1,\n \"TopicId\": \"abc\",\n \"CompressionType\": \"abc\",\n \"UseAutoCreateTopic\": true,\n \"MsgMultiple\": 0\n },\n \"DlqType\": \"abc\"\n },\n \"RecordMappingList\": [\n {\n \"ColumnName\": \"abc\",\n \"JsonKey\": \"abc\"\n }\n ],\n \"DateField\": \"abc\",\n \"RecordMappingMode\": \"abc\"\n },\n \"TdwParam\": {\n \"Bid\": \"abc\",\n \"Tid\": \"abc\",\n \"IsDomestic\": true,\n \"TdwHost\": \"abc\",\n \"TdwPort\": 0\n },\n \"DtsParam\": {\n \"Resource\": \"abc\",\n \"Ip\": \"abc\",\n \"Port\": 0,\n \"Topic\": \"abc\",\n \"GroupId\": \"abc\",\n \"GroupUser\": \"abc\",\n \"GroupPassword\": \"abc\",\n \"TranSql\": true\n },\n \"ClickHouseParam\": {\n \"Cluster\": \"abc\",\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Schema\": [\n {\n \"ColumnName\": \"abc\",\n \"JsonKey\": \"abc\",\n \"Type\": \"abc\",\n \"AllowNull\": true\n }\n ],\n \"Resource\": \"abc\",\n \"Ip\": \"abc\",\n \"Port\": 0,\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"SelfBuilt\": true,\n \"DropInvalidMessage\": true,\n \"Type\": \"abc\",\n \"DropCls\": {\n \"DropInvalidMessageToCls\": true,\n \"DropClsRegion\": \"abc\",\n \"DropClsOwneruin\": \"abc\",\n \"DropClsTopicId\": \"abc\",\n \"DropClsLogSet\": \"abc\"\n },\n \"BatchSize\": 0,\n \"ConsumerFetchMinBytes\": 0,\n \"ConsumerFetchMaxWaitMs\": 0\n },\n \"ClsParam\": {\n \"DecodeJson\": true,\n \"Resource\": \"abc\",\n \"LogSet\": \"abc\",\n \"ContentKey\": \"abc\",\n \"TimeField\": \"abc\"\n },\n \"CosParam\": {\n \"BucketName\": \"abc\",\n \"Region\": \"abc\",\n \"ObjectKey\": \"abc\",\n \"AggregateBatchSize\": 1,\n \"AggregateInterval\": 1,\n \"FormatOutputType\": \"abc\",\n \"ObjectKeyPrefix\": \"abc\",\n \"DirectoryTimeFormat\": \"abc\"\n },\n \"MySQLParam\": {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Resource\": \"abc\",\n \"SnapshotMode\": \"abc\",\n \"DdlTopic\": \"abc\",\n \"DataSourceMonitorMode\": \"abc\",\n \"DataSourceMonitorResource\": \"abc\",\n \"DataSourceIncrementMode\": \"abc\",\n \"DataSourceIncrementColumn\": \"abc\",\n \"DataSourceStartFrom\": \"abc\",\n \"DataTargetInsertMode\": \"abc\",\n \"DataTargetPrimaryKeyField\": \"abc\",\n \"DataTargetRecordMapping\": [\n {\n \"JsonKey\": \"abc\",\n \"Type\": \"abc\",\n \"AllowNull\": true,\n \"ColumnName\": \"abc\",\n \"ExtraInfo\": \"abc\",\n \"ColumnSize\": \"abc\",\n \"DecimalDigits\": \"abc\",\n \"AutoIncrement\": true,\n \"DefaultValue\": \"abc\"\n }\n ],\n \"TopicRegex\": \"abc\",\n \"TopicReplacement\": \"abc\",\n \"KeyColumns\": \"abc\",\n \"DropInvalidMessage\": true,\n \"DropCls\": {\n \"DropInvalidMessageToCls\": true,\n \"DropClsRegion\": \"abc\",\n \"DropClsOwneruin\": \"abc\",\n \"DropClsTopicId\": \"abc\",\n \"DropClsLogSet\": \"abc\"\n },\n \"OutputFormat\": \"abc\",\n \"IsTablePrefix\": true,\n \"IncludeContentChanges\": \"abc\",\n \"IncludeQuery\": true,\n \"RecordWithSchema\": true,\n \"SignalDatabase\": \"abc\",\n \"IsTableRegular\": true,\n \"SignalTable\": \"abc\",\n \"DateTimeZone\": \"abc\",\n \"SelfBuilt\": true\n },\n \"PostgreSQLParam\": {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Resource\": \"abc\",\n \"PluginName\": \"abc\",\n \"SnapshotMode\": \"abc\",\n \"DataFormat\": \"abc\",\n \"DataTargetInsertMode\": \"abc\",\n \"DataTargetPrimaryKeyField\": \"abc\",\n \"DataTargetRecordMapping\": [\n {\n \"JsonKey\": \"abc\",\n \"Type\": \"abc\",\n \"AllowNull\": true,\n \"ColumnName\": \"abc\",\n \"ExtraInfo\": \"abc\",\n \"ColumnSize\": \"abc\",\n \"DecimalDigits\": \"abc\",\n \"AutoIncrement\": true,\n \"DefaultValue\": \"abc\"\n }\n ],\n \"DropInvalidMessage\": true,\n \"IsTableRegular\": true,\n \"KeyColumns\": \"abc\",\n \"RecordWithSchema\": true\n },\n \"TopicParam\": {\n \"Resource\": \"abc\",\n \"OffsetType\": \"abc\",\n \"StartTime\": 1,\n \"TopicId\": \"abc\",\n \"CompressionType\": \"abc\",\n \"UseAutoCreateTopic\": true,\n \"MsgMultiple\": 0\n },\n \"MariaDBParam\": {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Resource\": \"abc\",\n \"SnapshotMode\": \"abc\",\n \"KeyColumns\": \"abc\",\n \"IsTablePrefix\": true,\n \"OutputFormat\": \"abc\",\n \"IncludeContentChanges\": \"abc\",\n \"IncludeQuery\": true,\n \"RecordWithSchema\": true\n },\n \"SQLServerParam\": {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Resource\": \"abc\",\n \"SnapshotMode\": \"abc\"\n },\n \"CtsdbParam\": {\n \"Resource\": \"abc\",\n \"CtsdbMetric\": \"abc\"\n },\n \"ScfParam\": {\n \"FunctionName\": \"abc\",\n \"Namespace\": \"abc\",\n \"Qualifier\": \"abc\",\n \"BatchSize\": 0,\n \"MaxRetries\": 0\n },\n \"MqttParam\": {\n \"Topics\": \"abc\",\n \"CleanSession\": true,\n \"Resource\": \"abc\",\n \"Ip\": \"abc\",\n \"Port\": 0,\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Qos\": 0,\n \"MaxTasks\": 0,\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"SelfBuilt\": true\n }\n },\n \"TargetResource\": {\n \"Type\": \"abc\",\n \"KafkaParam\": {\n \"SelfBuilt\": true,\n \"Resource\": \"abc\",\n \"Topic\": \"abc\",\n \"OffsetType\": \"abc\",\n \"StartTime\": 1,\n \"ResourceName\": \"abc\",\n \"ZoneId\": 0,\n \"TopicId\": \"abc\",\n \"PartitionNum\": 0,\n \"EnableToleration\": true,\n \"QpsLimit\": 1,\n \"TableMappings\": [\n {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Topic\": \"abc\",\n \"TopicId\": \"abc\"\n }\n ],\n \"UseTableMapping\": true,\n \"UseAutoCreateTopic\": true,\n \"CompressionType\": \"abc\",\n \"MsgMultiple\": 0,\n \"ConnectorSyncType\": \"abc\",\n \"KeepPartition\": true\n },\n \"EventBusParam\": {\n \"Type\": \"abc\",\n \"SelfBuilt\": true,\n \"Resource\": \"abc\",\n \"Namespace\": \"abc\",\n \"FunctionName\": \"abc\",\n \"Qualifier\": \"abc\"\n },\n \"MongoDBParam\": {\n \"Database\": \"abc\",\n \"Collection\": \"abc\",\n \"CopyExisting\": true,\n \"Resource\": \"abc\",\n \"Ip\": \"abc\",\n \"Port\": 0,\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"ListeningEvent\": \"abc\",\n \"ReadPreference\": \"abc\",\n \"Pipeline\": \"abc\",\n \"SelfBuilt\": true\n },\n \"EsParam\": {\n \"Resource\": \"abc\",\n \"Port\": 0,\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"SelfBuilt\": true,\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"DropInvalidMessage\": true,\n \"Index\": \"abc\",\n \"DateFormat\": \"abc\",\n \"ContentKey\": \"abc\",\n \"DropInvalidJsonMessage\": true,\n \"DocumentIdField\": \"abc\",\n \"IndexType\": \"abc\",\n \"DatabasePrimaryKey\": \"abc\",\n \"DropDlq\": {\n \"Type\": \"abc\",\n \"RetryInterval\": 1,\n \"MaxRetryAttempts\": 1,\n \"TopicParam\": {\n \"Resource\": \"abc\",\n \"OffsetType\": \"abc\",\n \"StartTime\": 1,\n \"TopicId\": \"abc\",\n \"CompressionType\": \"abc\",\n \"UseAutoCreateTopic\": true,\n \"MsgMultiple\": 0\n },\n \"DlqType\": \"abc\"\n },\n \"RecordMappingList\": [\n {\n \"ColumnName\": \"abc\",\n \"JsonKey\": \"abc\"\n }\n ],\n \"DateField\": \"abc\",\n \"RecordMappingMode\": \"abc\"\n },\n \"TdwParam\": {\n \"Bid\": \"abc\",\n \"Tid\": \"abc\",\n \"IsDomestic\": true,\n \"TdwHost\": \"abc\",\n \"TdwPort\": 0\n },\n \"DtsParam\": {\n \"Resource\": \"abc\",\n \"Ip\": \"abc\",\n \"Port\": 0,\n \"Topic\": \"abc\",\n \"GroupId\": \"abc\",\n \"GroupUser\": \"abc\",\n \"GroupPassword\": \"abc\",\n \"TranSql\": true\n },\n \"ClickHouseParam\": {\n \"Cluster\": \"abc\",\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Schema\": [\n {\n \"ColumnName\": \"abc\",\n \"JsonKey\": \"abc\",\n \"Type\": \"abc\",\n \"AllowNull\": true\n }\n ],\n \"Resource\": \"abc\",\n \"Ip\": \"abc\",\n \"Port\": 0,\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"SelfBuilt\": true,\n \"DropInvalidMessage\": true,\n \"Type\": \"abc\",\n \"BatchSize\": 0,\n \"ConsumerFetchMinBytes\": 0,\n \"ConsumerFetchMaxWaitMs\": 0\n },\n \"ClsParam\": {\n \"DecodeJson\": true,\n \"Resource\": \"abc\",\n \"LogSet\": \"abc\",\n \"ContentKey\": \"abc\",\n \"TimeField\": \"abc\"\n },\n \"CosParam\": {\n \"BucketName\": \"abc\",\n \"Region\": \"abc\",\n \"ObjectKey\": \"abc\",\n \"AggregateBatchSize\": 1,\n \"AggregateInterval\": 1,\n \"FormatOutputType\": \"abc\",\n \"ObjectKeyPrefix\": \"abc\",\n \"DirectoryTimeFormat\": \"abc\"\n },\n \"MySQLParam\": {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Resource\": \"abc\",\n \"SnapshotMode\": \"abc\",\n \"DdlTopic\": \"abc\",\n \"DataSourceMonitorMode\": \"abc\",\n \"DataSourceMonitorResource\": \"abc\",\n \"DataSourceIncrementMode\": \"abc\",\n \"DataSourceIncrementColumn\": \"abc\",\n \"DataSourceStartFrom\": \"abc\",\n \"DataTargetInsertMode\": \"abc\",\n \"DataTargetPrimaryKeyField\": \"abc\",\n \"DataTargetRecordMapping\": [\n {\n \"JsonKey\": \"abc\",\n \"Type\": \"abc\",\n \"AllowNull\": true,\n \"ColumnName\": \"abc\",\n \"ExtraInfo\": \"abc\",\n \"ColumnSize\": \"abc\",\n \"DecimalDigits\": \"abc\",\n \"AutoIncrement\": true,\n \"DefaultValue\": \"abc\"\n }\n ],\n \"TopicRegex\": \"abc\",\n \"TopicReplacement\": \"abc\",\n \"KeyColumns\": \"abc\",\n \"DropInvalidMessage\": true,\n \"OutputFormat\": \"abc\",\n \"IsTablePrefix\": true,\n \"IncludeContentChanges\": \"abc\",\n \"IncludeQuery\": true,\n \"RecordWithSchema\": true,\n \"SignalDatabase\": \"abc\",\n \"IsTableRegular\": true,\n \"SignalTable\": \"abc\",\n \"DateTimeZone\": \"abc\",\n \"SelfBuilt\": true\n },\n \"PostgreSQLParam\": {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Resource\": \"abc\",\n \"PluginName\": \"abc\",\n \"SnapshotMode\": \"abc\",\n \"DataFormat\": \"abc\",\n \"DataTargetInsertMode\": \"abc\",\n \"DataTargetPrimaryKeyField\": \"abc\",\n \"DropInvalidMessage\": true,\n \"IsTableRegular\": true,\n \"KeyColumns\": \"abc\",\n \"RecordWithSchema\": true\n },\n \"MariaDBParam\": {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Resource\": \"abc\",\n \"SnapshotMode\": \"abc\",\n \"KeyColumns\": \"abc\",\n \"IsTablePrefix\": true,\n \"OutputFormat\": \"abc\",\n \"IncludeContentChanges\": \"abc\",\n \"IncludeQuery\": true,\n \"RecordWithSchema\": true\n },\n \"SQLServerParam\": {\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"Resource\": \"abc\",\n \"SnapshotMode\": \"abc\"\n },\n \"CtsdbParam\": {\n \"Resource\": \"abc\",\n \"CtsdbMetric\": \"abc\"\n },\n \"ScfParam\": {\n \"FunctionName\": \"abc\",\n \"Namespace\": \"abc\",\n \"Qualifier\": \"abc\",\n \"BatchSize\": 0,\n \"MaxRetries\": 0\n },\n \"MqttParam\": {\n \"Topics\": \"abc\",\n \"CleanSession\": true,\n \"Resource\": \"abc\",\n \"Ip\": \"abc\",\n \"Port\": 0,\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Qos\": 0,\n \"MaxTasks\": 0,\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"SelfBuilt\": true\n }\n },\n \"CreateTime\": \"abc\",\n \"ErrorMessage\": \"abc\",\n \"TaskProgress\": 0,\n \"TaskCurrentStep\": \"abc\",\n \"DatahubId\": \"abc\",\n \"StepList\": [\n \"abc\"\n ]\n }\n ]\n },\n \"RequestId\": \"abc\"\n }\n}",
410
410
  "title": "查询Datahub任务列表"
411
411
  }
412
412
  ],
@@ -574,7 +574,7 @@
574
574
  {
575
575
  "document": "",
576
576
  "input": "https://ckafka.tencentcloudapi.com/?Action=FetchDatahubMessageByOffset\n&Name=xxx\n&Partition=1\n&Offset=1\n&<公共请求参数>",
577
- "output": "{\n \"Response\": {\n \"Result\": {\n \"Timestamp\": 0,\n \"Topic\": \"xxx\",\n \"Partition\": 2,\n \"Offset\": 2,\n \"Key\": \"xxx\",\n \"Value\": \"xxx\"\n },\n \"RequestId\": \"62d589e0-53d5-47e0-95ff-237c48b8fb77\"\n }\n}",
577
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"Topic\": \"abc\",\n \"Partition\": 0,\n \"Offset\": 0,\n \"Key\": \"abc\",\n \"Value\": \"abc\",\n \"Timestamp\": 0,\n \"Headers\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
578
578
  "title": "消息查询"
579
579
  }
580
580
  ],
@@ -40,7 +40,7 @@
40
40
  },
41
41
  {
42
42
  "disabled": false,
43
- "document": "软件的授权状态。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Issued</td><td>已颁发,等待激活。一般来说,如果软件已经在运行,不会出现该状态。</td></tr><tr><td>Active</td><td>授权在有效期内,这是软件运行期间最常见的状态。</td></tr><tr><td>Expired</td><td>授权已过期。订阅类的软件授权有有效期,如果服务器时间已晚于有效期,则会进入过期状态。</td></tr><tr><td>Deactivated</td><td>授权已失效。用户如果退货软件,则授权会自动失效。</td></tr></tbody></table>",
43
+ "document": "软件的授权状态。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Issued</td><td>已颁发,等待激活。一般来说,如果软件已经在运行,不会出现该状态。</td></tr><tr><td>Active</td><td>授权在有效期内,这是软件运行期间最常见的状态。</td></tr><tr><td>Expired</td><td>授权已过期。订阅类的软件授权有有效期,如果服务器时间已晚于有效期,则会进入过期状态。</td></tr><tr><td>Isolated</td><td>授权已隔离。有截止日期的授权,当用户授权到期时,先进入此状态,用户可以去续费,超过7天不续费则授权进入Destroyed状态。</td></tr><tr><td>Destroyed</td><td>授权已失效/销毁。用户如果退货软件,则授权会自动失效。</td></tr></tbody></table>",
44
44
  "example": "Active",
45
45
  "member": "string",
46
46
  "name": "LicenseStatus",
@@ -160,7 +160,7 @@
160
160
  },
161
161
  {
162
162
  "disabled": false,
163
- "document": "授权过期时间,如未过期或者是永久授权,则返回 null。\n注意:此字段可能返回 null,表示取不到有效值。",
163
+ "document": "授权过期时间\n注意:此字段可能返回 null,表示取不到有效值。",
164
164
  "example": "2025-06-30T00:00:00+08:00",
165
165
  "member": "datetime_iso",
166
166
  "name": "ExpirationDate",
@@ -4,7 +4,7 @@
4
4
  {
5
5
  "document": "",
6
6
  "input": "POST / HTTP/1.1\nHost: cloudapp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyLicense\n<公共请求参数>\n\n{}",
7
- "output": "{\n \"Response\": {\n \"License\": {\n \"LicenseId\": \"abc\",\n \"LicenseMode\": \"abc\",\n \"LicenseStatus\": \"abc\",\n \"ProviderId\": 1,\n \"SoftwarePackageId\": \"abc\",\n \"SoftwarePackageVersion\": \"abc\",\n \"AuthorizedUserUin\": \"abc\",\n \"AuthorizedCloudappId\": \"abc\",\n \"AuthorizedCloudappRoleId\": \"abc\",\n \"AuthorizedSpecification\": [\n {\n \"ParamKey\": \"abc\",\n \"ParamValue\": \"abc\",\n \"ParamKeyName\": \"abc\",\n \"ParamValueName\": \"abc\"\n }\n ],\n \"BillingMode\": 0,\n \"LifeSpan\": 0,\n \"IssueDate\": \"2020-09-22T00:00:00+00:00\",\n \"ActivationDate\": \"2020-09-22T00:00:00+00:00\",\n \"ExpirationDate\": \"2020-09-22T00:00:00+00:00\",\n \"LifeSpanUnit\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
7
+ "output": "{\n \"Response\": {\n \"License\": {\n \"LicenseId\": \"LICENSE_CLOUDAPP_A95275D8\",\n \"LicenseMode\": \"Subscription\",\n \"LicenseStatus\": \"Active\",\n \"ProviderId\": 1,\n \"SoftwarePackageId\": \"pkg-kby01bv4\",\n \"SoftwarePackageVersion\": \"1.0.0\",\n \"AuthorizedUserUin\": \"100008888888\",\n \"AuthorizedCloudappId\": \"cloudapp\",\n \"AuthorizedCloudappRoleId\": \"4000008000060000\",\n \"AuthorizedSpecification\": [\n {\n \"ParamKey\": \"user_scale\",\n \"ParamValue\": \"100\",\n \"ParamKeyName\": \"用户规模\",\n \"ParamValueName\": \"100人\"\n }\n ],\n \"BillingMode\": 1,\n \"LifeSpan\": 1,\n \"IssueDate\": \"2020-09-22T00:00:00+00:00\",\n \"ActivationDate\": \"2020-09-22T00:00:00+00:00\",\n \"ExpirationDate\": \"2020-09-23T00:00:00+00:00\",\n \"LifeSpanUnit\": \"D\"\n },\n \"RequestId\": \"abc\"\n }\n}",
8
8
  "title": "通过运行时roleId查询对应的软件 LICENSE"
9
9
  }
10
10
  ]
@@ -433,7 +433,7 @@ def doCreateCloudStorageAIService(args, parsed_globals):
433
433
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
434
434
 
435
435
 
436
- def doGetProjectList(args, parsed_globals):
436
+ def doInvokeCloudStorageAIServiceTask(args, parsed_globals):
437
437
  g_param = parse_global_arg(parsed_globals)
438
438
 
439
439
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -462,11 +462,11 @@ def doGetProjectList(args, parsed_globals):
462
462
  client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
463
463
  client._sdkVersion += ("_CLI_" + __version__)
464
464
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
465
- model = models.GetProjectListRequest()
465
+ model = models.InvokeCloudStorageAIServiceTaskRequest()
466
466
  model.from_json_string(json.dumps(args))
467
467
  start_time = time.time()
468
468
  while True:
469
- rsp = client.GetProjectList(model)
469
+ rsp = client.InvokeCloudStorageAIServiceTask(model)
470
470
  result = rsp.to_json_string()
471
471
  try:
472
472
  json_obj = json.loads(result)
@@ -4333,6 +4333,58 @@ def doUploadFirmware(args, parsed_globals):
4333
4333
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4334
4334
 
4335
4335
 
4336
+ def doGetProjectList(args, parsed_globals):
4337
+ g_param = parse_global_arg(parsed_globals)
4338
+
4339
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4340
+ cred = credential.CVMRoleCredential()
4341
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4342
+ cred = credential.STSAssumeRoleCredential(
4343
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4344
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4345
+ )
4346
+ 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):
4347
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4348
+ else:
4349
+ cred = credential.Credential(
4350
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4351
+ )
4352
+ http_profile = HttpProfile(
4353
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4354
+ reqMethod="POST",
4355
+ endpoint=g_param[OptionsDefine.Endpoint],
4356
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4357
+ )
4358
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4359
+ if g_param[OptionsDefine.Language]:
4360
+ profile.language = g_param[OptionsDefine.Language]
4361
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4362
+ client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
4363
+ client._sdkVersion += ("_CLI_" + __version__)
4364
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4365
+ model = models.GetProjectListRequest()
4366
+ model.from_json_string(json.dumps(args))
4367
+ start_time = time.time()
4368
+ while True:
4369
+ rsp = client.GetProjectList(model)
4370
+ result = rsp.to_json_string()
4371
+ try:
4372
+ json_obj = json.loads(result)
4373
+ except TypeError as e:
4374
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4375
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4376
+ break
4377
+ cur_time = time.time()
4378
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4379
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4380
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4381
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4382
+ else:
4383
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4384
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4385
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4386
+
4387
+
4336
4388
  def doGetTWeCallPkgList(args, parsed_globals):
4337
4389
  g_param = parse_global_arg(parsed_globals)
4338
4390
 
@@ -7576,7 +7628,7 @@ ACTION_MAP = {
7576
7628
  "DescribeDevice": doDescribeDevice,
7577
7629
  "DescribeTopicPolicy": doDescribeTopicPolicy,
7578
7630
  "CreateCloudStorageAIService": doCreateCloudStorageAIService,
7579
- "GetProjectList": doGetProjectList,
7631
+ "InvokeCloudStorageAIServiceTask": doInvokeCloudStorageAIServiceTask,
7580
7632
  "CallDeviceActionSync": doCallDeviceActionSync,
7581
7633
  "DescribeGatewayBindDevices": doDescribeGatewayBindDevices,
7582
7634
  "DeleteStudioProduct": doDeleteStudioProduct,
@@ -7651,6 +7703,7 @@ ACTION_MAP = {
7651
7703
  "PublishRRPCMessage": doPublishRRPCMessage,
7652
7704
  "DescribeCloudStorage": doDescribeCloudStorage,
7653
7705
  "UploadFirmware": doUploadFirmware,
7706
+ "GetProjectList": doGetProjectList,
7654
7707
  "GetTWeCallPkgList": doGetTWeCallPkgList,
7655
7708
  "UpdateDevicesEnableState": doUpdateDevicesEnableState,
7656
7709
  "ModifyProject": doModifyProject,