tccli 3.0.1136.1__py2.py3-none-any.whl → 3.0.1138.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 (54) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/command.py +4 -1
  3. tccli/help_command.py +4 -1
  4. tccli/services/asr/v20190614/api.json +9 -0
  5. tccli/services/cdb/v20170320/api.json +3 -3
  6. tccli/services/cdwch/v20200915/api.json +1 -1
  7. tccli/services/ckafka/v20190819/api.json +25 -25
  8. tccli/services/ckafka/v20190819/examples.json +18 -18
  9. tccli/services/cls/v20201016/api.json +117 -5
  10. tccli/services/cls/v20201016/examples.json +1 -1
  11. tccli/services/cwp/cwp_client.py +0 -53
  12. tccli/services/cwp/v20180228/api.json +0 -43
  13. tccli/services/cwp/v20180228/examples.json +0 -8
  14. tccli/services/cynosdb/v20190107/api.json +10 -0
  15. tccli/services/dlc/v20210125/api.json +23 -23
  16. tccli/services/dlc/v20210125/examples.json +6 -6
  17. tccli/services/domain/v20180808/api.json +36 -0
  18. tccli/services/dts/v20211206/api.json +3 -3
  19. tccli/services/ess/v20201111/api.json +2 -2
  20. tccli/services/ess/v20201111/examples.json +2 -2
  21. tccli/services/essbasic/v20210526/api.json +4 -4
  22. tccli/services/essbasic/v20210526/examples.json +2 -2
  23. tccli/services/faceid/v20180301/api.json +1 -1
  24. tccli/services/ioa/ioa_client.py +159 -0
  25. tccli/services/ioa/v20220601/api.json +897 -80
  26. tccli/services/ioa/v20220601/examples.json +24 -0
  27. tccli/services/iotexplorer/iotexplorer_client.py +178 -19
  28. tccli/services/iotexplorer/v20190423/api.json +210 -0
  29. tccli/services/iotexplorer/v20190423/examples.json +24 -0
  30. tccli/services/live/v20180801/api.json +12 -6
  31. tccli/services/ocr/v20181119/api.json +2 -2
  32. tccli/services/partners/v20180321/api.json +26 -16
  33. tccli/services/redis/v20180412/api.json +23 -23
  34. tccli/services/ssl/v20191205/api.json +171 -5
  35. tccli/services/ssl/v20191205/examples.json +1 -1
  36. tccli/services/tcr/v20190924/api.json +57 -35
  37. tccli/services/tcr/v20190924/examples.json +4 -4
  38. tccli/services/tcss/v20201101/api.json +123 -13
  39. tccli/services/tcss/v20201101/examples.json +3 -3
  40. tccli/services/tdmq/v20200217/api.json +7 -5
  41. tccli/services/thpc/v20230321/api.json +42 -21
  42. tccli/services/tke/v20180525/api.json +162 -74
  43. tccli/services/tke/v20180525/examples.json +69 -57
  44. tccli/services/trtc/v20190722/api.json +1 -1
  45. tccli/services/tsf/v20180326/api.json +1 -1
  46. tccli/services/tts/v20190823/api.json +2 -2
  47. tccli/services/wedata/v20210820/api.json +377 -0
  48. tccli/services/wedata/v20210820/examples.json +8 -0
  49. tccli/services/wedata/wedata_client.py +61 -8
  50. {tccli-3.0.1136.1.dist-info → tccli-3.0.1138.1.dist-info}/METADATA +2 -2
  51. {tccli-3.0.1136.1.dist-info → tccli-3.0.1138.1.dist-info}/RECORD +54 -54
  52. {tccli-3.0.1136.1.dist-info → tccli-3.0.1138.1.dist-info}/WHEEL +0 -0
  53. {tccli-3.0.1136.1.dist-info → tccli-3.0.1138.1.dist-info}/entry_points.txt +0 -0
  54. {tccli-3.0.1136.1.dist-info → tccli-3.0.1138.1.dist-info}/license_files/LICENSE +0 -0
@@ -123,8 +123,8 @@
123
123
  "CreateDatahubTopic": [
124
124
  {
125
125
  "document": "",
126
- "input": "https://ckafka.tencentcloudapi.com/?Action=CreateDatahubTopic\n&Name=xxx\n&PartitionNum=1\n&RetentionMs=3600000\n&<公共请求参数>",
127
- "output": "{\n \"Response\": {\n \"Result\": {\n \"TopicName\": \"xx\"\n },\n \"RequestId\": \"xx\"\n }\n}",
126
+ "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDatahubTopic\n<公共请求参数>\n\n{\n \"Name\": \"12345-test\",\n \"PartitionNum\": \"1\",\n \"RetentionMs\": \"3600000\"\n}",
127
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"TopicName\": \"abc\",\n \"TopicId\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
128
128
  "title": "创建主题"
129
129
  }
130
130
  ],
@@ -181,8 +181,8 @@
181
181
  "CreatePrometheus": [
182
182
  {
183
183
  "document": "",
184
- "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrometheus\n<公共请求参数>\n\n{\n \"InstanceId\": \"xx\",\n \"SubnetId\": \"xx\",\n \"VpcId\": \"xx\"\n}",
185
- "output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnMessage\": \"xx\",\n \"ReturnCode\": \"xx\",\n \"Data\": {\n \"FlowId\": 0\n }\n },\n \"RequestId\": \"xx\"\n }\n}",
184
+ "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrometheus\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"VpcId\": \"abc\",\n \"SubnetId\": \"abc\"\n}",
185
+ "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}",
186
186
  "title": "打通普罗米修斯监控"
187
187
  }
188
188
  ],
@@ -246,15 +246,15 @@
246
246
  {
247
247
  "document": "",
248
248
  "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteConnectResource\n<公共请求参数>\n\n{\n \"ResourceId\": \"reource-xxx\"\n}",
249
- "output": "{\n \"Response\": {\n \"Result\": {\n \"ResourceId\": \"resource-xx\"\n },\n \"RequestId\": \"xx\"\n }\n}",
249
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"ResourceId\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
250
250
  "title": "删除Datahub连接源"
251
251
  }
252
252
  ],
253
253
  "DeleteDatahubTask": [
254
254
  {
255
255
  "document": "",
256
- "input": "https://ckafka.tencentcloudapi.com/?Action=DeleteDatahubTask\n&TaskId=xx\n&<公共请求参数>",
257
- "output": "{\n \"Response\": {\n \"Result\": {\n \"TaskId\": \"xx\"\n },\n \"RequestId\": \"xx\"\n }\n}",
256
+ "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteDatahubTask\n<公共请求参数>\n\n{\n \"TaskId\": \"abc\"\n}",
257
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"TaskId\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
258
258
  "title": "删除Datahub任务"
259
259
  }
260
260
  ],
@@ -366,7 +366,7 @@
366
366
  {
367
367
  "document": "",
368
368
  "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConnectResource\n<公共请求参数>\n\n{\n \"ResourceId\": \"reource-xxx\"\n}",
369
- "output": "{\n \"Response\": {\n \"Result\": {\n \"Status\": 0,\n \"ResourceName\": \"xx\",\n \"Description\": \"xx\",\n \"ResourceId\": \"xx\",\n \"ErrorMessage\": \"xx\",\n \"CurrentStep\": \"xx\",\n \"StepList\": [\n \"xxx\",\n \"xxx\"\n ],\n \"DtsConnectParam\": {\n \"UserName\": \"xx\",\n \"Resource\": \"xx\",\n \"GroupId\": \"xx\",\n \"Password\": \"xx\",\n \"Port\": 0\n },\n \"Type\": \"DTS\",\n \"CreateTime\": \"xx\"\n },\n \"RequestId\": \"xx\"\n }\n}",
369
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"ResourceId\": \"abc\",\n \"ResourceName\": \"abc\",\n \"Description\": \"abc\",\n \"Type\": \"abc\",\n \"Status\": 0,\n \"CreateTime\": \"abc\",\n \"ErrorMessage\": \"abc\",\n \"CurrentStep\": \"abc\",\n \"StepList\": [\n \"abc\"\n ],\n \"MySQLConnectParam\": {\n \"Port\": 0,\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Resource\": \"abc\",\n \"IsUpdate\": true,\n \"ClusterId\": \"abc\",\n \"SelfBuilt\": true\n },\n \"PostgreSQLConnectParam\": {\n \"Port\": 0,\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Resource\": \"abc\",\n \"ClusterId\": \"abc\",\n \"IsUpdate\": true,\n \"SelfBuilt\": true\n },\n \"DtsConnectParam\": {\n \"Port\": 0,\n \"GroupId\": \"abc\",\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Resource\": \"abc\",\n \"IsUpdate\": true,\n \"Topic\": \"abc\"\n },\n \"MongoDBConnectParam\": {\n \"Port\": 0,\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Resource\": \"abc\",\n \"SelfBuilt\": true,\n \"IsUpdate\": true\n },\n \"EsConnectParam\": {\n \"Port\": 0,\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Resource\": \"abc\",\n \"SelfBuilt\": true,\n \"IsUpdate\": true\n },\n \"ClickHouseConnectParam\": {\n \"Port\": 0,\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Resource\": \"abc\",\n \"SelfBuilt\": true,\n \"IsUpdate\": true\n },\n \"MariaDBConnectParam\": {\n \"Port\": 0,\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Resource\": \"abc\",\n \"IsUpdate\": true\n },\n \"SQLServerConnectParam\": {\n \"Port\": 0,\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Resource\": \"abc\",\n \"IsUpdate\": true\n },\n \"CtsdbConnectParam\": {\n \"Port\": 0,\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Resource\": \"abc\"\n },\n \"DorisConnectParam\": {\n \"Port\": 0,\n \"ServiceVip\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Resource\": \"abc\",\n \"IsUpdate\": true,\n \"SelfBuilt\": true,\n \"BePort\": 0\n },\n \"KafkaConnectParam\": {\n \"Resource\": \"abc\",\n \"SelfBuilt\": true,\n \"IsUpdate\": true,\n \"BrokerAddress\": \"abc\",\n \"Region\": \"abc\"\n },\n \"MqttConnectParam\": {\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Resource\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"SelfBuilt\": true,\n \"IsUpdate\": true,\n \"Region\": \"abc\"\n }\n },\n \"RequestId\": \"abc\"\n }\n}",
370
370
  "title": "查询Datahub连接源"
371
371
  }
372
372
  ],
@@ -389,7 +389,7 @@
389
389
  "DescribeDatahubGroupOffsets": [
390
390
  {
391
391
  "document": "",
392
- "input": "https://ckafka.tencentcloudapi.com/?Action=DescribeDatahubGroupOffsets\n&Name=xxx\n&Group=\"group\"\n&<公共请求参数>",
392
+ "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDatahubGroupOffsets\n<公共请求参数>\n\n{\n \"Group\": \"\\\"group\\\"\",\n \"Name\": \"xxx\"\n}",
393
393
  "output": "{\n \"Response\": {\n \"Result\": {\n \"TotalCount\": 1,\n \"TopicList\": [\n {\n \"Topic\": \"test\",\n \"Partitions\": [\n {\n \"Partition\": 0,\n \"Offset\": 22689638,\n \"Metadata\": \"\",\n \"ErrorCode\": 0,\n \"LogEndOffset\": 207927929,\n \"Lag\": 185238291\n }\n ]\n }\n ]\n },\n \"RequestId\": \"fd9afa97-cc0f-4ea7-9da8-63914a0877e1\"\n }\n}",
394
394
  "title": "获取消费分组offset"
395
395
  }
@@ -397,8 +397,8 @@
397
397
  "DescribeDatahubTask": [
398
398
  {
399
399
  "document": "",
400
- "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDatahubTask\n<公共请求参数>\n\n{\n \"TaskId\": \"xx\"\n}",
401
- "output": "{\n \"Response\": {\n \"Result\": {\n \"Status\": 0,\n \"TransformsParam\": {\n \"KeepMetadata\": true,\n \"OutputFormat\": \"xx\",\n \"SourceType\": \"xx\",\n \"FilterParam\": [\n {\n \"MatchMode\": \"xx\",\n \"Type\": \"xx\",\n \"Value\": \"xx\",\n \"Key\": \"xx\"\n }\n ],\n \"FailureParam\": {\n \"RetryInterval\": 1,\n \"TopicParam\": {\n \"TopicId\": \"xx\",\n \"OffsetType\": \"xx\",\n \"Resource\": \"xx\",\n \"StartTime\": 1\n },\n \"KafkaParam\": {\n \"TopicId\": \"xx\",\n \"Resource\": \"xx\",\n \"PartitionNum\": 0,\n \"QpsLimit\": 1,\n \"EnableToleration\": true,\n \"SelfBuilt\": true,\n \"Topic\": \"xx\",\n \"OffsetType\": \"xx\",\n \"StartTime\": 1,\n \"UseTableMapping\": true,\n \"ResourceName\": \"xx\",\n \"ZoneId\": 0,\n \"TableMappings\": [\n {\n \"Topic\": \"xx\",\n \"Table\": \"xx\",\n \"TopicId\": \"xx\",\n \"Database\": \"xx\"\n }\n ]\n },\n \"MaxRetryAttempts\": 1,\n \"Type\": \"xx\",\n \"DlqType\": \"xx\"\n },\n \"Content\": \"xx\",\n \"Result\": \"xx\",\n \"FieldChain\": [\n {\n \"AnalyseJsonResult\": \"xx\",\n \"SecondaryAnalyseJsonResult\": \"xx\",\n \"Analyse\": {\n \"Regex\": \"xx\",\n \"InputValueType\": \"xx\",\n \"InputValue\": \"xx\",\n \"Format\": \"xx\"\n },\n \"SMT\": [\n {\n \"ValueOperates\": [\n {\n \"Result\": \"xx\",\n \"Replace\": {\n \"NewValue\": \"xx\",\n \"OldValue\": \"xx\"\n },\n \"Substr\": {\n \"Start\": 0,\n \"End\": 0\n },\n \"Split\": {\n \"Regex\": \"xx\"\n },\n \"KV\": {\n \"Regex\": \"xx\",\n \"KeepOriginalKey\": \"xx\",\n \"Delimiter\": \"xx\"\n },\n \"Date\": {\n \"TargetType\": \"xx\",\n \"TimeZone\": \"xx\",\n \"Format\": \"xx\"\n },\n \"Type\": \"xx\",\n \"RegexReplace\": {\n \"Regex\": \"xx\",\n \"NewValue\": \"xx\"\n }\n }\n ],\n \"Value\": \"xx\",\n \"SchemeType\": \"xx\",\n \"OriginalValue\": \"xx\",\n \"Key\": \"xx\",\n \"Operate\": \"xx\",\n \"ValueOperate\": {\n \"Result\": \"xx\",\n \"Replace\": {\n \"NewValue\": \"xx\",\n \"OldValue\": \"xx\"\n },\n \"Substr\": {\n \"Start\": 0,\n \"End\": 0\n },\n \"Split\": {\n \"Regex\": \"xx\"\n },\n \"KV\": {\n \"Regex\": \"xx\",\n \"KeepOriginalKey\": \"xx\",\n \"Delimiter\": \"xx\"\n },\n \"Date\": {\n \"TargetType\": \"xx\",\n \"TimeZone\": \"xx\",\n \"Format\": \"xx\"\n },\n \"Type\": \"xx\",\n \"RegexReplace\": {\n \"Regex\": \"xx\",\n \"NewValue\": \"xx\"\n }\n }\n }\n ],\n \"SecondaryAnalyseResult\": [\n {\n \"ValueOperates\": [\n {\n \"Result\": \"xx\",\n \"Replace\": {\n \"NewValue\": \"xx\",\n \"OldValue\": \"xx\"\n },\n \"Substr\": {\n \"Start\": 0,\n \"End\": 0\n },\n \"Split\": {\n \"Regex\": \"xx\"\n },\n \"KV\": {\n \"Regex\": \"xx\",\n \"KeepOriginalKey\": \"xx\",\n \"Delimiter\": \"xx\"\n },\n \"Date\": {\n \"TargetType\": \"xx\",\n \"TimeZone\": \"xx\",\n \"Format\": \"xx\"\n },\n \"Type\": \"xx\",\n \"RegexReplace\": {\n \"Regex\": \"xx\",\n \"NewValue\": \"xx\"\n }\n }\n ],\n \"Value\": \"xx\",\n \"SchemeType\": \"xx\",\n \"OriginalValue\": \"xx\",\n \"Key\": \"xx\",\n \"Operate\": \"xx\"\n }\n ],\n \"SecondaryAnalyse\": {\n \"Regex\": \"xx\"\n },\n \"Result\": \"xx\",\n \"AnalyseResult\": [\n {\n \"OriginalValue\": \"xx\",\n \"Operate\": \"xx\",\n \"Value\": \"xx\",\n \"Key\": \"xx\",\n \"SchemeType\": \"xx\"\n }\n ]\n }\n ],\n \"RowParam\": {\n \"RowContent\": \"xx\",\n \"KeyValueDelimiter\": \"xx\",\n \"EntryDelimiter\": \"xx\"\n }\n },\n \"Tags\": [\n {\n \"TagKey\": \"xx\",\n \"TagValue\": \"xx\"\n }\n ],\n \"SchemaId\": \"xx\",\n \"ErrorMessage\": \"xx\",\n \"TargetResource\": {\n \"EventBusParam\": {\n \"Resource\": \"xx\",\n \"FunctionName\": \"xx\",\n \"Namespace\": \"xx\",\n \"SelfBuilt\": true,\n \"Type\": \"xx\",\n \"Qualifier\": \"xx\"\n },\n \"ClickHouseParam\": {\n \"UserName\": \"xx\",\n \"Resource\": \"xx\",\n \"DropCls\": {\n \"DropInvalidMessageToCls\": true,\n \"DropClsTopicId\": \"xx\",\n \"DropClsRegion\": \"xx\",\n \"DropClsLogSet\": \"xx\",\n \"DropClsOwneruin\": \"xx\"\n },\n \"UniqVpcId\": \"xx\",\n \"Database\": \"xx\",\n \"Ip\": \"xx\",\n \"DropInvalidMessage\": true,\n \"SelfBuilt\": true,\n \"Cluster\": \"xx\",\n \"ServiceVip\": \"xx\",\n \"Table\": \"xx\",\n \"Password\": \"xx\",\n \"Type\": \"xx\",\n \"Port\": 0,\n \"Schema\": [\n {\n \"ColumnName\": \"xx\",\n \"Type\": \"xx\",\n \"JsonKey\": \"xx\",\n \"AllowNull\": true\n }\n ]\n },\n \"CtsdbParam\": {\n \"Resource\": \"xx\",\n \"CtsdbMetric\": \"xx\"\n },\n \"TdwParam\": {\n \"Tid\": \"xx\",\n \"Bid\": \"xx\",\n \"TdwHost\": \"xx\",\n \"IsDomestic\": true,\n \"TdwPort\": 0\n },\n \"MySQLParam\": {\n \"OutputFormat\": \"xx\",\n \"DropCls\": {\n \"DropInvalidMessageToCls\": true,\n \"DropClsTopicId\": \"xx\",\n \"DropClsRegion\": \"xx\",\n \"DropClsLogSet\": \"xx\",\n \"DropClsOwneruin\": \"xx\"\n },\n \"DataSourceIncrementMode\": \"xx\",\n \"DataSourceMonitorMode\": \"xx\",\n \"IncludeContentChanges\": \"xx\",\n \"DataTargetPrimaryKeyField\": \"xx\",\n \"TopicReplacement\": \"xx\",\n \"TopicRegex\": \"xx\",\n \"DataTargetInsertMode\": \"xx\",\n \"DataSourceIncrementColumn\": \"xx\",\n \"Resource\": \"xx\",\n \"Database\": \"xx\",\n \"DdlTopic\": \"xx\",\n \"IncludeQuery\": true,\n \"DataTargetRecordMapping\": [\n {\n \"JsonKey\": \"xx\",\n \"ColumnName\": \"xx\",\n \"AutoIncrement\": true,\n \"DefaultValue\": \"xx\",\n \"ExtraInfo\": \"xx\",\n \"AllowNull\": true,\n \"ColumnSize\": \"xx\",\n \"Type\": \"xx\",\n \"DecimalDigits\": \"xx\"\n }\n ],\n \"DataSourceMonitorResource\": \"xx\",\n \"KeyColumns\": \"xx\",\n \"RecordWithSchema\": true,\n \"DropInvalidMessage\": true,\n \"SnapshotMode\": \"xx\",\n \"IsTablePrefix\": true,\n \"Table\": \"xx\",\n \"DataSourceStartFrom\": \"xx\"\n },\n \"CosParam\": {\n \"FormatOutputType\": \"xx\",\n \"DirectoryTimeFormat\": \"xx\",\n \"ObjectKey\": \"xx\",\n \"BucketName\": \"xx\",\n \"AggregateBatchSize\": 1,\n \"ObjectKeyPrefix\": \"xx\",\n \"Region\": \"xx\",\n \"AggregateInterval\": 1\n },\n \"TopicParam\": {\n \"TopicId\": \"xx\",\n \"OffsetType\": \"xx\",\n \"Resource\": \"xx\",\n \"StartTime\": 1\n },\n \"KafkaParam\": {\n \"TopicId\": \"xx\",\n \"Resource\": \"xx\",\n \"PartitionNum\": 0,\n \"QpsLimit\": 1,\n \"EnableToleration\": true,\n \"SelfBuilt\": true,\n \"Topic\": \"xx\",\n \"OffsetType\": \"xx\",\n \"StartTime\": 1,\n \"UseTableMapping\": true,\n \"ResourceName\": \"xx\",\n \"ZoneId\": 0,\n \"TableMappings\": [\n {\n \"Topic\": \"xx\",\n \"Table\": \"xx\",\n \"TopicId\": \"xx\",\n \"Database\": \"xx\"\n }\n ]\n },\n \"EsParam\": {\n \"UserName\": \"xx\",\n \"Index\": \"xx\",\n \"Resource\": \"xx\",\n \"IndexType\": \"xx\",\n \"UniqVpcId\": \"xx\",\n \"DropInvalidMessage\": true,\n \"DateFormat\": \"xx\",\n \"SelfBuilt\": true,\n \"DropInvalidJsonMessage\": true,\n \"ServiceVip\": \"xx\",\n \"DropCls\": {\n \"DropInvalidMessageToCls\": true,\n \"DropClsTopicId\": \"xx\",\n \"DropClsRegion\": \"xx\",\n \"DropClsLogSet\": \"xx\",\n \"DropClsOwneruin\": \"xx\"\n },\n \"Password\": \"xx\",\n \"Port\": 0,\n \"DatabasePrimaryKey\": \"xx\",\n \"ContentKey\": \"xx\",\n \"DocumentIdField\": \"xx\"\n },\n \"DtsParam\": {\n \"Resource\": \"xx\",\n \"Ip\": \"xx\",\n \"TranSql\": true,\n \"GroupId\": \"xx\",\n \"Topic\": \"xx\",\n \"GroupUser\": \"xx\",\n \"GroupPassword\": \"xx\",\n \"Port\": 0\n },\n \"MongoDBParam\": {\n \"UserName\": \"xx\",\n \"CopyExisting\": true,\n \"Pipeline\": \"xx\",\n \"ListeningEvent\": \"xx\",\n \"Resource\": \"xx\",\n \"ReadPreference\": \"xx\",\n \"Database\": \"xx\",\n \"Ip\": \"xx\",\n \"Collection\": \"xx\",\n \"SelfBuilt\": true,\n \"Password\": \"xx\",\n \"Port\": 0\n },\n \"PostgreSQLParam\": {\n \"DataTargetInsertMode\": \"xx\",\n \"Resource\": \"xx\",\n \"Database\": \"xx\",\n \"DropInvalidMessage\": true,\n \"DataTargetRecordMapping\": [\n {\n \"JsonKey\": \"xx\",\n \"ColumnName\": \"xx\",\n \"AutoIncrement\": true,\n \"DefaultValue\": \"xx\",\n \"ExtraInfo\": \"xx\",\n \"AllowNull\": true,\n \"ColumnSize\": \"xx\",\n \"Type\": \"xx\",\n \"DecimalDigits\": \"xx\"\n }\n ],\n \"SnapshotMode\": \"xx\",\n \"PluginName\": \"xx\",\n \"DataFormat\": \"xx\",\n \"KeyColumns\": \"xx\",\n \"RecordWithSchema\": true,\n \"DataTargetPrimaryKeyField\": \"xx\",\n \"Table\": \"xx\",\n \"IsTableRegular\": true\n },\n \"SQLServerParam\": {\n \"Table\": \"xx\",\n \"SnapshotMode\": \"xx\",\n \"Resource\": \"xx\",\n \"Database\": \"xx\"\n },\n \"MariaDBParam\": {\n \"OutputFormat\": \"xx\",\n \"Resource\": \"xx\",\n \"Database\": \"xx\",\n \"IncludeQuery\": true,\n \"SnapshotMode\": \"xx\",\n \"KeyColumns\": \"xx\",\n \"IsTablePrefix\": true,\n \"IncludeContentChanges\": \"xx\",\n \"Table\": \"xx\",\n \"RecordWithSchema\": true\n },\n \"Type\": \"xx\",\n \"ClsParam\": {\n \"LogSet\": \"xx\",\n \"TimeField\": \"xx\",\n \"Resource\": \"xx\",\n \"ContentKey\": \"xx\",\n \"DecodeJson\": true\n }\n },\n \"TaskType\": \"xx\",\n \"Connections\": [\n {\n \"TopicId\": \"xx\",\n \"TopicName\": \"xx\",\n \"GroupId\": \"xx\"\n }\n ],\n \"TransformParam\": {\n \"Regex\": \"xx\",\n \"OutputFormat\": \"xx\",\n \"SourceType\": \"xx\",\n \"FilterParam\": [\n {\n \"MatchMode\": \"xx\",\n \"Type\": \"xx\",\n \"Value\": \"xx\",\n \"Key\": \"xx\"\n }\n ],\n \"UseEventBus\": true,\n \"FailureParam\": {\n \"RetryInterval\": 1,\n \"TopicParam\": {\n \"TopicId\": \"xx\",\n \"OffsetType\": \"xx\",\n \"Resource\": \"xx\",\n \"StartTime\": 1\n },\n \"KafkaParam\": {\n \"TopicId\": \"xx\",\n \"Resource\": \"xx\",\n \"PartitionNum\": 0,\n \"QpsLimit\": 1,\n \"EnableToleration\": true,\n \"SelfBuilt\": true,\n \"Topic\": \"xx\",\n \"OffsetType\": \"xx\",\n \"StartTime\": 1,\n \"UseTableMapping\": true,\n \"ResourceName\": \"xx\",\n \"ZoneId\": 0,\n \"TableMappings\": [\n {\n \"Topic\": \"xx\",\n \"Table\": \"xx\",\n \"TopicId\": \"xx\",\n \"Database\": \"xx\"\n }\n ]\n },\n \"MaxRetryAttempts\": 1,\n \"Type\": \"xx\",\n \"DlqType\": \"xx\"\n },\n \"Content\": \"xx\",\n \"AnalysisFormat\": \"xx\",\n \"MapParam\": [\n {\n \"Type\": \"xx\",\n \"Value\": \"xx\",\n \"Key\": \"xx\"\n }\n ],\n \"AnalyseResult\": [\n {\n \"Type\": \"xx\",\n \"Value\": \"xx\",\n \"Key\": \"xx\"\n }\n ],\n \"Result\": \"xx\"\n },\n \"TaskId\": \"xx\",\n \"DatahubId\": \"xx\",\n \"SourceResource\": {\n \"EventBusParam\": {\n \"Resource\": \"xx\",\n \"FunctionName\": \"xx\",\n \"Namespace\": \"xx\",\n \"SelfBuilt\": true,\n \"Type\": \"xx\",\n \"Qualifier\": \"xx\"\n },\n \"ClickHouseParam\": {\n \"UserName\": \"xx\",\n \"Resource\": \"xx\",\n \"UniqVpcId\": \"xx\",\n \"Database\": \"xx\",\n \"Ip\": \"xx\",\n \"DropInvalidMessage\": true,\n \"SelfBuilt\": true,\n \"Cluster\": \"xx\",\n \"ServiceVip\": \"xx\",\n \"Table\": \"xx\",\n \"Password\": \"xx\",\n \"Type\": \"xx\",\n \"Port\": 0,\n \"Schema\": [\n {\n \"ColumnName\": \"xx\",\n \"Type\": \"xx\",\n \"JsonKey\": \"xx\",\n \"AllowNull\": true\n }\n ]\n },\n \"CtsdbParam\": {\n \"Resource\": \"xx\",\n \"CtsdbMetric\": \"xx\"\n },\n \"TdwParam\": {\n \"Tid\": \"xx\",\n \"Bid\": \"xx\",\n \"TdwHost\": \"xx\",\n \"IsDomestic\": true,\n \"TdwPort\": 0\n },\n \"MySQLParam\": {\n \"OutputFormat\": \"xx\",\n \"DataSourceIncrementMode\": \"xx\",\n \"DataSourceMonitorMode\": \"xx\",\n \"IncludeContentChanges\": \"xx\",\n \"DataTargetPrimaryKeyField\": \"xx\",\n \"TopicReplacement\": \"xx\",\n \"TopicRegex\": \"xx\",\n \"DataTargetInsertMode\": \"xx\",\n \"DataSourceIncrementColumn\": \"xx\",\n \"Resource\": \"xx\",\n \"Database\": \"xx\",\n \"DdlTopic\": \"xx\",\n \"IncludeQuery\": true,\n \"DataTargetRecordMapping\": [\n {\n \"JsonKey\": \"xx\",\n \"ColumnName\": \"xx\",\n \"AutoIncrement\": true,\n \"DefaultValue\": \"xx\",\n \"ExtraInfo\": \"xx\",\n \"AllowNull\": true,\n \"ColumnSize\": \"xx\",\n \"Type\": \"xx\",\n \"DecimalDigits\": \"xx\"\n }\n ],\n \"DataSourceMonitorResource\": \"xx\",\n \"KeyColumns\": \"xx\",\n \"RecordWithSchema\": true,\n \"DropInvalidMessage\": true,\n \"SnapshotMode\": \"xx\",\n \"IsTablePrefix\": true,\n \"Table\": \"xx\",\n \"DataSourceStartFrom\": \"xx\"\n },\n \"CosParam\": {\n \"FormatOutputType\": \"xx\",\n \"DirectoryTimeFormat\": \"xx\",\n \"ObjectKey\": \"xx\",\n \"BucketName\": \"xx\",\n \"AggregateBatchSize\": 1,\n \"ObjectKeyPrefix\": \"xx\",\n \"Region\": \"xx\",\n \"AggregateInterval\": 1\n },\n \"EsParam\": {\n \"UserName\": \"xx\",\n \"Index\": \"xx\",\n \"Resource\": \"xx\",\n \"IndexType\": \"xx\",\n \"UniqVpcId\": \"xx\",\n \"DropInvalidMessage\": true,\n \"DateFormat\": \"xx\",\n \"SelfBuilt\": true,\n \"ServiceVip\": \"xx\",\n \"DatabasePrimaryKey\": \"xx\",\n \"Password\": \"xx\",\n \"DropInvalidJsonMessage\": true,\n \"Port\": 0,\n \"ContentKey\": \"xx\",\n \"DocumentIdField\": \"xx\"\n },\n \"DtsParam\": {\n \"Resource\": \"xx\",\n \"Ip\": \"xx\",\n \"TranSql\": true,\n \"GroupId\": \"xx\",\n \"Topic\": \"xx\",\n \"GroupUser\": \"xx\",\n \"GroupPassword\": \"xx\",\n \"Port\": 0\n },\n \"MongoDBParam\": {\n \"UserName\": \"xx\",\n \"CopyExisting\": true,\n \"Pipeline\": \"xx\",\n \"ListeningEvent\": \"xx\",\n \"Resource\": \"xx\",\n \"ReadPreference\": \"xx\",\n \"Database\": \"xx\",\n \"Ip\": \"xx\",\n \"Collection\": \"xx\",\n \"SelfBuilt\": true,\n \"Password\": \"xx\",\n \"Port\": 0\n },\n \"PostgreSQLParam\": {\n \"DataTargetInsertMode\": \"xx\",\n \"Resource\": \"xx\",\n \"Database\": \"xx\",\n \"DropInvalidMessage\": true,\n \"SnapshotMode\": \"xx\",\n \"PluginName\": \"xx\",\n \"DataFormat\": \"xx\",\n \"KeyColumns\": \"xx\",\n \"RecordWithSchema\": true,\n \"DataTargetPrimaryKeyField\": \"xx\",\n \"Table\": \"xx\",\n \"IsTableRegular\": true\n },\n \"SQLServerParam\": {\n \"Table\": \"xx\",\n \"SnapshotMode\": \"xx\",\n \"Resource\": \"xx\",\n \"Database\": \"xx\"\n },\n \"MariaDBParam\": {\n \"OutputFormat\": \"xx\",\n \"Resource\": \"xx\",\n \"Database\": \"xx\",\n \"IncludeQuery\": true,\n \"SnapshotMode\": \"xx\",\n \"KeyColumns\": \"xx\",\n \"IsTablePrefix\": true,\n \"IncludeContentChanges\": \"xx\",\n \"Table\": \"xx\",\n \"RecordWithSchema\": true\n },\n \"Type\": \"xx\",\n \"ClsParam\": {\n \"LogSet\": \"xx\",\n \"TimeField\": \"xx\",\n \"Resource\": \"xx\",\n \"ContentKey\": \"xx\",\n \"DecodeJson\": true\n }\n },\n \"SchemaName\": \"xx\",\n \"TaskName\": \"xx\",\n \"CreateTime\": \"xx\"\n },\n \"RequestId\": \"xx\"\n }\n}",
400
+ "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDatahubTask\n<公共请求参数>\n\n{\n \"TaskId\": \"abc\"\n}",
401
+ "output": "{\n \"Response\": {\n \"Result\": {\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 \"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 \"Connections\": [\n {\n \"TopicName\": \"abc\",\n \"GroupId\": \"abc\",\n \"TopicId\": \"abc\"\n }\n ],\n \"CreateTime\": \"abc\",\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 \"KafkaParam\": {\n \"SelfBuilt\": true,\n \"Resource\": \"ccc\",\n \"Topic\": \"ac\",\n \"OffsetType\": \"c\",\n \"StartTime\": 1703990000,\n \"ResourceName\": \"cnnnc\",\n \"ZoneId\": 120399,\n \"TopicId\": \"corooco\",\n \"PartitionNum\": 1,\n \"EnableToleration\": true,\n \"QpsLimit\": 133,\n \"TableMappings\": [],\n \"UseTableMapping\": true,\n \"UseAutoCreateTopic\": true,\n \"CompressionType\": \"\",\n \"MsgMultiple\": 1,\n \"ConnectorSyncType\": \"\",\n \"KeepPartition\": true\n },\n \"TopicParam\": {\n \"Resource\": \"\",\n \"OffsetType\": \"\",\n \"StartTime\": 139001030,\n \"CompressionType\": \"cc\",\n \"UseAutoCreateTopic\": true,\n \"MsgMultiple\": 1\n }\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 \"DatahubId\": \"abc\",\n \"SchemaId\": \"abc\",\n \"SchemaName\": \"abc\",\n \"TransformsParam\": {\n \"Content\": \"abc\",\n \"FailureParam\": {\n \"Type\": \"abc\",\n \"RetryInterval\": 1,\n \"MaxRetryAttempts\": 1,\n \"DlqType\": \"abc\",\n \"KafkaParam\": {\n \"SelfBuilt\": true,\n \"Resource\": \"ccc\",\n \"Topic\": \"ac\",\n \"OffsetType\": \"c\",\n \"StartTime\": 1703990000,\n \"ResourceName\": \"cnnnc\",\n \"ZoneId\": 120399,\n \"TopicId\": \"corooco\",\n \"PartitionNum\": 1,\n \"EnableToleration\": true,\n \"QpsLimit\": 133,\n \"TableMappings\": [],\n \"UseTableMapping\": true,\n \"UseAutoCreateTopic\": true,\n \"CompressionType\": \"\",\n \"MsgMultiple\": 1,\n \"ConnectorSyncType\": \"\",\n \"KeepPartition\": true\n },\n \"TopicParam\": {\n \"Resource\": \"\",\n \"OffsetType\": \"\",\n \"StartTime\": 139001030,\n \"CompressionType\": \"cc\",\n \"UseAutoCreateTopic\": true,\n \"MsgMultiple\": 1\n }\n },\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 \"ErrorMessage\": \"abc\",\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n },\n \"RequestId\": \"abc\"\n }\n}",
402
402
  "title": "查询Datahub任务信息"
403
403
  }
404
404
  ],
@@ -413,8 +413,8 @@
413
413
  "DescribeDatahubTopic": [
414
414
  {
415
415
  "document": "",
416
- "input": "https://ckafka.tencentcloudapi.com/?Action=DescribeDatahubTopic\n&Name=xxx\n&<公共请求参数>",
417
- "output": "{\n \"Response\": {\n \"Result\": {\n \"UserName\": \"xx\",\n \"TopicId\": \"xx\",\n \"Name\": \"xx\",\n \"PartitionNum\": 1,\n \"Status\": 1,\n \"Note\": \"xx\",\n \"RetentionMs\": 1,\n \"Password\": \"xx\",\n \"TopicName\": \"xx\"\n },\n \"RequestId\": \"xx\"\n }\n}",
416
+ "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDatahubTopic\n<公共请求参数>\n\n{\n \"Name\": \"xxx\"\n}",
417
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"Name\": \"abc\",\n \"TopicName\": \"abc\",\n \"TopicId\": \"abc\",\n \"PartitionNum\": 1,\n \"RetentionMs\": 1,\n \"Note\": \"abc\",\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Status\": 1,\n \"Address\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
418
418
  "title": "获取主题属性"
419
419
  }
420
420
  ],
@@ -582,7 +582,7 @@
582
582
  {
583
583
  "document": "",
584
584
  "input": "https://ckafka.tencentcloudapi.com/?Action=FetchLatestDatahubMessageList\n&Name=xxx\n&Partition=1\n&Offset=1\n&MessageCount=20\n&<公共请求参数>",
585
- "output": "{\n \"Response\": {\n \"Result\": [\n {\n \"Topic\": \"xxx\",\n \"Partition\": 2,\n \"Offset\": 1,\n \"Key\": \"xxx\",\n \"Value\": \"xxx\",\n \"Timestamp\": 1\n },\n {\n \"Topic\": \"xxx\",\n \"Partition\": 2,\n \"Offset\": 2,\n \"Key\": \"xxx\",\n \"Value\": \"xxx\",\n \"Timestamp\": 1\n }\n ],\n \"RequestId\": \"weqnhgf-dfsfdsdsg-fdsgyrttjh-jjfdasdsa\"\n }\n}",
585
+ "output": "{\n \"Response\": {\n \"Result\": [\n {\n \"Topic\": \"abc\",\n \"Partition\": 0,\n \"Offset\": 0,\n \"Key\": \"abc\",\n \"Value\": \"abc\",\n \"Timestamp\": 0,\n \"Headers\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
586
586
  "title": "根据offset查询消息"
587
587
  }
588
588
  ],
@@ -637,16 +637,16 @@
637
637
  "ModifyDatahubTask": [
638
638
  {
639
639
  "document": "",
640
- "input": "https://ckafka.tencentcloudapi.com/?Action=ModifyDatahubTask\n&TaskId=xx\n&TaskName=xx\n&<公共请求参数>",
641
- "output": "{\n \"Response\": {\n \"Result\": {\n \"TaskId\": \"xx\"\n },\n \"RequestId\": \"xx\"\n }\n}",
640
+ "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDatahubTask\n<公共请求参数>\n\n{\n \"TaskId\": \"abc\",\n \"TaskName\": \"abc\"\n}",
641
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"TaskId\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
642
642
  "title": "修改Datahub任务"
643
643
  }
644
644
  ],
645
645
  "ModifyDatahubTopic": [
646
646
  {
647
647
  "document": "",
648
- "input": "https://ckafka.tencentcloudapi.com/?Action=ModifyDatahubTopic\n&Name=xxx\n&Note=xxx\n&RetentionMs=3600000\n&<公共请求参数>",
649
- "output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnMessage\": \"xx\",\n \"ReturnCode\": \"xx\",\n \"Data\": {\n \"FlowId\": 0\n }\n },\n \"RequestId\": \"xx\"\n }\n}",
648
+ "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDatahubTopic\n<公共请求参数>\n\n{\n \"Note\": \"xxx\",\n \"Name\": \"xxx\",\n \"RetentionMs\": \"3600000\"\n}",
649
+ "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}",
650
650
  "title": "设置主题属性"
651
651
  }
652
652
  ],
@@ -1596,6 +1596,34 @@
1596
1596
  ],
1597
1597
  "usage": "both"
1598
1598
  },
1599
+ "AnonymousInfo": {
1600
+ "document": "免鉴权信息",
1601
+ "members": [
1602
+ {
1603
+ "disabled": false,
1604
+ "document": "操作列表,支持trackLog(JS/HTTP上传日志 )和realtimeProducer(kafka协议上传日志)",
1605
+ "example": "无",
1606
+ "member": "string",
1607
+ "name": "Operations",
1608
+ "output_required": false,
1609
+ "required": false,
1610
+ "type": "list",
1611
+ "value_allowed_null": false
1612
+ },
1613
+ {
1614
+ "disabled": false,
1615
+ "document": "条件列表",
1616
+ "example": "无",
1617
+ "member": "ConditionInfo",
1618
+ "name": "Conditions",
1619
+ "output_required": false,
1620
+ "required": false,
1621
+ "type": "list",
1622
+ "value_allowed_null": false
1623
+ }
1624
+ ],
1625
+ "usage": "both"
1626
+ },
1599
1627
  "ApplyConfigToMachineGroupRequest": {
1600
1628
  "document": "ApplyConfigToMachineGroup请求参数结构体",
1601
1629
  "members": [
@@ -1984,6 +2012,45 @@
1984
2012
  ],
1985
2013
  "usage": "both"
1986
2014
  },
2015
+ "ConditionInfo": {
2016
+ "document": "免鉴权条件信息",
2017
+ "members": [
2018
+ {
2019
+ "disabled": false,
2020
+ "document": "条件属性,目前只支持VpcID",
2021
+ "example": "VpcID",
2022
+ "member": "string",
2023
+ "name": "Attributes",
2024
+ "output_required": false,
2025
+ "required": false,
2026
+ "type": "string",
2027
+ "value_allowed_null": false
2028
+ },
2029
+ {
2030
+ "disabled": false,
2031
+ "document": "条件规则,1:等于,2:不等于",
2032
+ "example": "1",
2033
+ "member": "uint64",
2034
+ "name": "Rule",
2035
+ "output_required": false,
2036
+ "required": false,
2037
+ "type": "int",
2038
+ "value_allowed_null": false
2039
+ },
2040
+ {
2041
+ "disabled": false,
2042
+ "document": "对应条件属性的值",
2043
+ "example": "vpc-6jfhit1t",
2044
+ "member": "string",
2045
+ "name": "ConditionValue",
2046
+ "output_required": false,
2047
+ "required": false,
2048
+ "type": "string",
2049
+ "value_allowed_null": false
2050
+ }
2051
+ ],
2052
+ "usage": "both"
2053
+ },
1987
2054
  "ConfigExtraInfo": {
1988
2055
  "document": "特殊采集规则配置信息",
1989
2056
  "members": [
@@ -2970,7 +3037,7 @@
2970
3037
  },
2971
3038
  {
2972
3039
  "disabled": false,
2973
- "document": "持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10。",
3040
+ "document": "持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为2000。",
2974
3041
  "example": "1",
2975
3042
  "member": "int64",
2976
3043
  "name": "TriggerCount",
@@ -4759,6 +4826,15 @@
4759
4826
  "name": "IsWebTracking",
4760
4827
  "required": false,
4761
4828
  "type": "bool"
4829
+ },
4830
+ {
4831
+ "disabled": false,
4832
+ "document": "日志主题扩展信息",
4833
+ "example": "无",
4834
+ "member": "TopicExtendInfo",
4835
+ "name": "Extends",
4836
+ "required": false,
4837
+ "type": "object"
4762
4838
  }
4763
4839
  ],
4764
4840
  "type": "object"
@@ -9856,7 +9932,7 @@
9856
9932
  },
9857
9933
  {
9858
9934
  "disabled": false,
9859
- "document": "持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10。",
9935
+ "document": "持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为2000。",
9860
9936
  "example": "1",
9861
9937
  "member": "int64",
9862
9938
  "name": "TriggerCount",
@@ -11383,6 +11459,15 @@
11383
11459
  "required": false,
11384
11460
  "type": "bool"
11385
11461
  },
11462
+ {
11463
+ "disabled": false,
11464
+ "document": "日志主题扩展信息",
11465
+ "example": "无",
11466
+ "member": "TopicExtendInfo",
11467
+ "name": "Extends",
11468
+ "required": false,
11469
+ "type": "object"
11470
+ },
11386
11471
  {
11387
11472
  "disabled": false,
11388
11473
  "document": "日志主题分区数量",
@@ -11412,7 +11497,7 @@
11412
11497
  "members": [
11413
11498
  {
11414
11499
  "disabled": false,
11415
- "document": "执行周期, 可选值:PeriodFixed。\n\n- Period:固定频率\n- Fixed:固定时间",
11500
+ "document": "执行周期, 可选值:`Period`、`Fixed`。\n\n- Period:固定频率\n- Fixed:固定时间",
11416
11501
  "example": "无",
11417
11502
  "member": "string",
11418
11503
  "name": "Type",
@@ -11423,12 +11508,12 @@
11423
11508
  },
11424
11509
  {
11425
11510
  "disabled": false,
11426
- "document": "执行的周期,或者定制执行的时间节点。单位为分钟,取值范围为1~1440",
11511
+ "document": "执行的周期,或者定制执行的时间节点。单位为分钟,取值范围为1~1440。\n当type为`Period`,`Fixed`时,time字段生效。",
11427
11512
  "example": "无",
11428
11513
  "member": "int64",
11429
11514
  "name": "Time",
11430
11515
  "output_required": true,
11431
- "required": true,
11516
+ "required": false,
11432
11517
  "type": "int",
11433
11518
  "value_allowed_null": false
11434
11519
  }
@@ -13441,6 +13526,23 @@
13441
13526
  ],
13442
13527
  "usage": "both"
13443
13528
  },
13529
+ "TopicExtendInfo": {
13530
+ "document": "日志主题扩展信息",
13531
+ "members": [
13532
+ {
13533
+ "disabled": false,
13534
+ "document": "日志主题免鉴权配置信息\n注意:此字段可能返回 null,表示取不到有效值。",
13535
+ "example": "无",
13536
+ "member": "AnonymousInfo",
13537
+ "name": "AnonymousAccess",
13538
+ "output_required": false,
13539
+ "required": false,
13540
+ "type": "object",
13541
+ "value_allowed_null": true
13542
+ }
13543
+ ],
13544
+ "usage": "both"
13545
+ },
13444
13546
  "TopicIdAndRegion": {
13445
13547
  "document": "仪表盘 topic与地域信息",
13446
13548
  "members": [
@@ -13647,6 +13749,16 @@
13647
13749
  "output_required": true,
13648
13750
  "type": "bool",
13649
13751
  "value_allowed_null": true
13752
+ },
13753
+ {
13754
+ "disabled": false,
13755
+ "document": "日志主题扩展信息\n注意:此字段可能返回 null,表示取不到有效值。",
13756
+ "example": "无",
13757
+ "member": "TopicExtendInfo",
13758
+ "name": "Extends",
13759
+ "output_required": false,
13760
+ "type": "object",
13761
+ "value_allowed_null": true
13650
13762
  }
13651
13763
  ],
13652
13764
  "usage": "out"
@@ -564,7 +564,7 @@
564
564
  {
565
565
  "document": "获取日志主题列表",
566
566
  "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopics\n<公共请求参数>\n\n{\n \"Filters\": [],\n \"Offset\": 10,\n \"Limit\": 30\n}",
567
- "output": "{\n \"Response\": {\n \"Topics\": [\n {\n \"LogsetId\": \"46c34030-f7fd-xxxx-91ee-053215c2bf9c\",\n \"TopicId\": \"305f8be8-25a9-xxxx-8f05-361dafab39fe\",\n \"TopicName\": \"test\",\n \"PartitionCount\": 1,\n \"Index\": true,\n \"AssumerName\": \"\",\n \"SubAssumerName\": \"\",\n \"CreateTime\": \"2022-12-30 16:02:52\",\n \"Status\": true,\n \"Tags\": [],\n \"AutoSplit\": true,\n \"MaxSplitPartitions\": 50,\n \"StorageType\": \"hot\",\n \"Period\": 27,\n \"Describes\": \"\",\n \"HotPeriod\": 0,\n \"BizType\": 0,\n \"IsWebTracking\": false\n }\n ],\n \"RequestId\": \"cdb48d76-9be0-xxxx-8654-56290de7442e\",\n \"TotalCount\": 1\n }\n}",
567
+ "output": "{\n \"Response\": {\n \"Topics\": [\n {\n \"LogsetId\": \"46c34030-f7fd-xxxx-91ee-053215c2bf9c\",\n \"TopicId\": \"305f8be8-25a9-xxxx-8f05-361dafab39fe\",\n \"TopicName\": \"test\",\n \"PartitionCount\": 1,\n \"Index\": true,\n \"AssumerName\": \"\",\n \"SubAssumerName\": \"\",\n \"CreateTime\": \"2022-12-30 16:02:52\",\n \"Status\": true,\n \"Tags\": [],\n \"AutoSplit\": true,\n \"MaxSplitPartitions\": 50,\n \"StorageType\": \"hot\",\n \"Period\": 27,\n \"Describes\": \"\",\n \"HotPeriod\": 0,\n \"BizType\": 0,\n \"IsWebTracking\": false,\n \"Extends\": {\n \"AnonymousAccess\": null\n }\n }\n ],\n \"RequestId\": \"cdb48d76-9be0-xxxx-8654-56290de7442e\",\n \"TotalCount\": 1\n }\n}",
568
568
  "title": "获取日志主题列表"
569
569
  }
570
570
  ],
@@ -21129,58 +21129,6 @@ def doDescribeAssetTypes(args, parsed_globals):
21129
21129
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
21130
21130
 
21131
21131
 
21132
- def doDeleteAttackLogs(args, parsed_globals):
21133
- g_param = parse_global_arg(parsed_globals)
21134
-
21135
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
21136
- cred = credential.CVMRoleCredential()
21137
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
21138
- cred = credential.STSAssumeRoleCredential(
21139
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
21140
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
21141
- )
21142
- 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):
21143
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
21144
- else:
21145
- cred = credential.Credential(
21146
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
21147
- )
21148
- http_profile = HttpProfile(
21149
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
21150
- reqMethod="POST",
21151
- endpoint=g_param[OptionsDefine.Endpoint],
21152
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
21153
- )
21154
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
21155
- if g_param[OptionsDefine.Language]:
21156
- profile.language = g_param[OptionsDefine.Language]
21157
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
21158
- client = mod.CwpClient(cred, g_param[OptionsDefine.Region], profile)
21159
- client._sdkVersion += ("_CLI_" + __version__)
21160
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
21161
- model = models.DeleteAttackLogsRequest()
21162
- model.from_json_string(json.dumps(args))
21163
- start_time = time.time()
21164
- while True:
21165
- rsp = client.DeleteAttackLogs(model)
21166
- result = rsp.to_json_string()
21167
- try:
21168
- json_obj = json.loads(result)
21169
- except TypeError as e:
21170
- json_obj = json.loads(result.decode('utf-8')) # python3.3
21171
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
21172
- break
21173
- cur_time = time.time()
21174
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
21175
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
21176
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
21177
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
21178
- else:
21179
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
21180
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
21181
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
21182
-
21183
-
21184
21132
  def doDescribeVulLabels(args, parsed_globals):
21185
21133
  g_param = parse_global_arg(parsed_globals)
21186
21134
 
@@ -27318,7 +27266,6 @@ ACTION_MAP = {
27318
27266
  "DescribeAssetSystemPackageList": doDescribeAssetSystemPackageList,
27319
27267
  "DescribeSecurityBroadcasts": doDescribeSecurityBroadcasts,
27320
27268
  "DescribeAssetTypes": doDescribeAssetTypes,
27321
- "DeleteAttackLogs": doDeleteAttackLogs,
27322
27269
  "DescribeVulLabels": doDescribeVulLabels,
27323
27270
  "DescribeHistoryService": doDescribeHistoryService,
27324
27271
  "StopBaselineDetect": doStopBaselineDetect,