tccli 3.0.1378.1__py2.py3-none-any.whl → 3.0.1379.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/apm/v20210622/api.json +22 -0
- tccli/services/dts/v20211206/api.json +78 -1
- tccli/services/dts/v20211206/examples.json +2 -2
- tccli/services/ess/v20201111/api.json +21 -1
- tccli/services/ocr/v20181119/api.json +8 -8
- tccli/services/waf/v20180125/api.json +3 -3
- tccli/services/wedata/v20210820/api.json +926 -555
- tccli/services/wedata/v20210820/examples.json +9 -17
- tccli/services/wedata/wedata_client.py +57 -110
- {tccli-3.0.1378.1.dist-info → tccli-3.0.1379.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1378.1.dist-info → tccli-3.0.1379.1.dist-info}/RECORD +15 -15
- {tccli-3.0.1378.1.dist-info → tccli-3.0.1379.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1378.1.dist-info → tccli-3.0.1379.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1378.1.dist-info → tccli-3.0.1379.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1379.1'
|
@@ -439,6 +439,28 @@
|
|
439
439
|
"required": false,
|
440
440
|
"type": "bool",
|
441
441
|
"value_allowed_null": false
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"disabled": false,
|
445
|
+
"document": "探针熔断内存阈值",
|
446
|
+
"example": "90",
|
447
|
+
"member": "int64",
|
448
|
+
"name": "DisableMemoryUsed",
|
449
|
+
"output_required": true,
|
450
|
+
"required": false,
|
451
|
+
"type": "int",
|
452
|
+
"value_allowed_null": false
|
453
|
+
},
|
454
|
+
{
|
455
|
+
"disabled": false,
|
456
|
+
"document": "探针熔断CPU阈值",
|
457
|
+
"example": "90",
|
458
|
+
"member": "int64",
|
459
|
+
"name": "DisableCpuUsed",
|
460
|
+
"output_required": true,
|
461
|
+
"required": false,
|
462
|
+
"type": "int",
|
463
|
+
"value_allowed_null": false
|
442
464
|
}
|
443
465
|
],
|
444
466
|
"usage": "both"
|
@@ -1435,6 +1435,24 @@
|
|
1435
1435
|
"name": "ExtraAttr",
|
1436
1436
|
"required": false,
|
1437
1437
|
"type": "list"
|
1438
|
+
},
|
1439
|
+
{
|
1440
|
+
"disabled": false,
|
1441
|
+
"document": "vpc id",
|
1442
|
+
"example": "vpc-2hfu26a7",
|
1443
|
+
"member": "string",
|
1444
|
+
"name": "ConsumerVpcId",
|
1445
|
+
"required": false,
|
1446
|
+
"type": "string"
|
1447
|
+
},
|
1448
|
+
{
|
1449
|
+
"disabled": false,
|
1450
|
+
"document": "subnet id",
|
1451
|
+
"example": "subnet-3gnpluam",
|
1452
|
+
"member": "string",
|
1453
|
+
"name": "ConsumerSubnetId",
|
1454
|
+
"required": false,
|
1455
|
+
"type": "string"
|
1438
1456
|
}
|
1439
1457
|
],
|
1440
1458
|
"type": "object"
|
@@ -2141,6 +2159,15 @@
|
|
2141
2159
|
"name": "Name",
|
2142
2160
|
"required": false,
|
2143
2161
|
"type": "string"
|
2162
|
+
},
|
2163
|
+
{
|
2164
|
+
"disabled": false,
|
2165
|
+
"document": "订阅实例规格,当前仅支持small、medium、large",
|
2166
|
+
"example": "small",
|
2167
|
+
"member": "string",
|
2168
|
+
"name": "InstanceClass",
|
2169
|
+
"required": false,
|
2170
|
+
"type": "string"
|
2144
2171
|
}
|
2145
2172
|
],
|
2146
2173
|
"type": "object"
|
@@ -4738,6 +4765,46 @@
|
|
4738
4765
|
"type": "list",
|
4739
4766
|
"value_allowed_null": false
|
4740
4767
|
},
|
4768
|
+
{
|
4769
|
+
"disabled": false,
|
4770
|
+
"document": "数据订阅版本, 当前支持kafka和kafkaPro(专业版)",
|
4771
|
+
"example": "kafka",
|
4772
|
+
"member": "string",
|
4773
|
+
"name": "SubscribeVersion",
|
4774
|
+
"output_required": false,
|
4775
|
+
"type": "string",
|
4776
|
+
"value_allowed_null": false
|
4777
|
+
},
|
4778
|
+
{
|
4779
|
+
"disabled": false,
|
4780
|
+
"document": "消费端地址所在vpc",
|
4781
|
+
"example": "vpc-r9rir3i9",
|
4782
|
+
"member": "string",
|
4783
|
+
"name": "ConsumerVpcId",
|
4784
|
+
"output_required": false,
|
4785
|
+
"type": "string",
|
4786
|
+
"value_allowed_null": false
|
4787
|
+
},
|
4788
|
+
{
|
4789
|
+
"disabled": false,
|
4790
|
+
"document": "消费端地址所在子网",
|
4791
|
+
"example": "subnet-jgyd4txs",
|
4792
|
+
"member": "string",
|
4793
|
+
"name": "ConsumerSubnetId",
|
4794
|
+
"output_required": false,
|
4795
|
+
"type": "string",
|
4796
|
+
"value_allowed_null": false
|
4797
|
+
},
|
4798
|
+
{
|
4799
|
+
"disabled": false,
|
4800
|
+
"document": "订阅实例规格",
|
4801
|
+
"example": "small",
|
4802
|
+
"member": "string",
|
4803
|
+
"name": "InstanceClass",
|
4804
|
+
"output_required": false,
|
4805
|
+
"type": "string",
|
4806
|
+
"value_allowed_null": false
|
4807
|
+
},
|
4741
4808
|
{
|
4742
4809
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4743
4810
|
"member": "string",
|
@@ -9855,7 +9922,7 @@
|
|
9855
9922
|
},
|
9856
9923
|
{
|
9857
9924
|
"disabled": false,
|
9858
|
-
"document": "数据订阅版本,
|
9925
|
+
"document": "数据订阅版本, 当前支持kafka和kafkaPro(专业版)",
|
9859
9926
|
"example": "kafka",
|
9860
9927
|
"member": "string",
|
9861
9928
|
"name": "SubscribeVersion",
|
@@ -9882,6 +9949,16 @@
|
|
9882
9949
|
"output_required": false,
|
9883
9950
|
"type": "list",
|
9884
9951
|
"value_allowed_null": true
|
9952
|
+
},
|
9953
|
+
{
|
9954
|
+
"disabled": false,
|
9955
|
+
"document": "订阅实例规格",
|
9956
|
+
"example": "small",
|
9957
|
+
"member": "string",
|
9958
|
+
"name": "InstanceClass",
|
9959
|
+
"output_required": false,
|
9960
|
+
"type": "string",
|
9961
|
+
"value_allowed_null": false
|
9885
9962
|
}
|
9886
9963
|
],
|
9887
9964
|
"usage": "out"
|
@@ -12,7 +12,7 @@
|
|
12
12
|
{
|
13
13
|
"document": "配置订阅一个cdb整实例的任务,其中db1.table1的数据根据id列值投递到不同的kafka分区,其他的数据根据表名投递",
|
14
14
|
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ConfigureSubscribeJob\n<公共请求参数>\n\n{\n \"SubscribeMode\": \"all\",\n \"SubscribeId\": \"subs-5ft0e2nrc0\",\n \"KafkaConfig\": {\n \"DistributeRules\": [\n {\n \"DbPattern\": \"db1\",\n \"RuleType\": \"cols\",\n \"TablePattern\": \"table1\",\n \"Columns\": [\n \"id\"\n ]\n }\n ],\n \"NumberOfPartitions\": 8,\n \"DefaultRuleType\": \"table\"\n },\n \"AccessType\": \"cdb\",\n \"Protocol\": \"json\",\n \"Endpoints\": [\n {\n \"InstanceId\": \"cdb-kdxona7h\",\n \"DatabaseRegion\": \"ap-guangzhou\",\n \"EncryptConn\": \"Encrypted\",\n \"User\": \"root\",\n \"Password\": \"******\"\n }\n ],\n \"ExtraAttr\": [\n {\n \"Value\": \"true\",\n \"Key\": \"ProcessXA\"\n }\n ]\n}",
|
15
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
15
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d8a1fc10-3547-11f0-92c2-d139ba775945\"\n }\n}",
|
16
16
|
"title": "配置订阅"
|
17
17
|
}
|
18
18
|
],
|
@@ -226,7 +226,7 @@
|
|
226
226
|
{
|
227
227
|
"document": "",
|
228
228
|
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSubscribeDetail\n<公共请求参数>\n\n{\n \"SubscribeId\": \"subs-0b2up6hk4u\"\n}",
|
229
|
-
"output": "{\n \"Response\": {\n \"Region\": \"ap-guangzhou\",\n \"AccessType\": \"cdb\",\n \"AutoRenewFlag\": 0,\n \"Broker\": \"guangzhoutest-kafka-3.cdb-dts.tencentcs.com.cn:32339\",\n \"CreateTime\": \"2023-12-06 14:31:27\",\n \"Endpoints\": [\n {\n \"DatabaseRegion\": \"ap-guangzhou\",\n \"EncryptConn\": \"UnEncrypted\",\n \"InstanceId\": \"cdb-kdxona7h\",\n \"User\": \"root\"\n }\n ],\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"InstanceId\": \"cdb-kdxona7h\",\n \"InstanceStatus\": \"running\",\n \"IsolateTime\": \"0000-00-00 00:00:00\",\n \"KafkaConfig\": {\n \"DistributeRules\": [\n {\n \"DbPattern\": \"db1\",\n \"RuleType\": \"cols\",\n \"TablePattern\": \"table1\",\n \"Columns\": [\n \"id\"\n ]\n },\n {\n \"DbPattern\": \".*\",\n \"RuleType\": \"table\",\n \"TablePattern\": \".*\",\n \"Columns\":
|
229
|
+
"output": "{\n \"Response\": {\n \"Region\": \"ap-guangzhou\",\n \"AccessType\": \"cdb\",\n \"AutoRenewFlag\": 0,\n \"Broker\": \"guangzhoutest-kafka-3.cdb-dts.tencentcs.com.cn:32339\",\n \"CreateTime\": \"2023-12-06 14:31:27\",\n \"Endpoints\": [\n {\n \"DatabaseRegion\": \"ap-guangzhou\",\n \"EncryptConn\": \"UnEncrypted\",\n \"InstanceId\": \"cdb-kdxona7h\",\n \"User\": \"root\"\n }\n ],\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"InstanceId\": \"cdb-kdxona7h\",\n \"InstanceStatus\": \"running\",\n \"IsolateTime\": \"0000-00-00 00:00:00\",\n \"KafkaConfig\": {\n \"DistributeRules\": [\n {\n \"DbPattern\": \"db1\",\n \"RuleType\": \"cols\",\n \"TablePattern\": \"table1\",\n \"Columns\": [\n \"id\"\n ]\n },\n {\n \"DbPattern\": \".*\",\n \"RuleType\": \"table\",\n \"TablePattern\": \".*\",\n \"Columns\": []\n }\n ],\n \"NumberOfPartitions\": 8\n },\n \"ModifyTime\": \"2023-12-06 14:33:47\",\n \"OfflineTime\": \"0000-00-00 00:00:00\",\n \"PayType\": 0,\n \"Product\": \"mysql\",\n \"Protocol\": \"json\",\n \"Status\": \"normal\",\n \"SubsStatus\": \"running\",\n \"SubscribeId\": \"subs-0b2up6hk4u\",\n \"SubscribeName\": \"binlog订阅\",\n \"SubscribeMode\": \"all\",\n \"Topic\": \"topic-subs-0b2up6hk4u-cdb-kdxona7h\",\n \"RequestId\": \"7bd11a40-9406-11ee-9689-216abbbe2107\"\n }\n}",
|
230
230
|
"title": "查询订阅任务详情"
|
231
231
|
}
|
232
232
|
],
|
@@ -9946,7 +9946,7 @@
|
|
9946
9946
|
},
|
9947
9947
|
{
|
9948
9948
|
"disabled": false,
|
9949
|
-
"document": "
|
9949
|
+
"document": "合同审查中的角色信息。注意: `如果用户没有配置审查角色时此值可能为null,需要等大模型根据合同内容推荐出审查角色信息。`\n注意:此字段可能返回 null,表示取不到有效值。",
|
9950
9950
|
"example": "无",
|
9951
9951
|
"member": "RiskIdentificationRoleInfo",
|
9952
9952
|
"name": "Role",
|
@@ -9994,6 +9994,26 @@
|
|
9994
9994
|
"type": "string",
|
9995
9995
|
"value_allowed_null": false
|
9996
9996
|
},
|
9997
|
+
{
|
9998
|
+
"disabled": false,
|
9999
|
+
"document": "合同审查出的高风险项数量",
|
10000
|
+
"example": "5",
|
10001
|
+
"member": "int64",
|
10002
|
+
"name": "HighRiskCount",
|
10003
|
+
"output_required": false,
|
10004
|
+
"type": "int",
|
10005
|
+
"value_allowed_null": false
|
10006
|
+
},
|
10007
|
+
{
|
10008
|
+
"disabled": false,
|
10009
|
+
"document": "合同审查出的风险总数",
|
10010
|
+
"example": "10",
|
10011
|
+
"member": "int64",
|
10012
|
+
"name": "TotalRiskCount",
|
10013
|
+
"output_required": false,
|
10014
|
+
"type": "int",
|
10015
|
+
"value_allowed_null": false
|
10016
|
+
},
|
9997
10017
|
{
|
9998
10018
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
9999
10019
|
"member": "string",
|
@@ -281,9 +281,9 @@
|
|
281
281
|
"status": "online"
|
282
282
|
},
|
283
283
|
"MLIDPassportOCR": {
|
284
|
-
"document": "
|
284
|
+
"document": "本接口支持中国大陆地区及中国港澳台地区、其他国家以及地区的护照识别。识别字段包括护照ID、姓名、出生日期、性别、有效期、发行国、国籍、国家地区代码,具备护照人像照片的裁剪功能和翻拍、复印件告警功能。\n本接口支持地区范围:可机读护照国家。包括中国大陆地区、中国港澳台地区、新加坡、马来西亚、泰国、美国、韩国、越南、澳大利亚、缅甸、印度尼西亚、日本、加拿大、老挝、巴基斯坦、哈萨克斯坦、法国、英国、德国、菲律宾、新西兰、印度、意大利、蒙古、孟加拉国、尼日利亚、柬埔寨、西班牙、摩洛哥、吉尔吉斯斯坦、埃及、荷兰、塔吉克斯坦、巴西、乌兹别克斯坦、伊拉克、阿尔及利亚、土耳其、南非、墨西哥、尼泊尔、白俄罗斯、叶门、阿富汗、沙特、肯尼亚、波兰、比利时、瑞典、奥地利、坦桑尼亚、委内瑞拉、阿根廷、喀麦隆、斯里兰卡、衣索比亚、约旦、瑞士、加纳、爱尔兰、哥伦比亚、苏丹、匈牙利、罗马尼亚、阿联酋、文莱、希腊、以色列、巴拿马、丹麦、伊朗、乌干达、挪威、秘鲁、葡萄牙、智利、塞尔维亚、芬兰、尚比亚、亚美尼亚、叙利亚、黎巴嫩、斯洛伐克、卡塔尔、古巴、朝鲜。\n\n默认接口请求频率限制:5次/秒。",
|
285
285
|
"input": "MLIDPassportOCRRequest",
|
286
|
-
"name": "
|
286
|
+
"name": "护照识别(多国多地区护照)",
|
287
287
|
"output": "MLIDPassportOCRResponse",
|
288
288
|
"status": "online"
|
289
289
|
},
|
@@ -9355,7 +9355,7 @@
|
|
9355
9355
|
{
|
9356
9356
|
"disabled": false,
|
9357
9357
|
"document": "出生日期(机读码区的解析结果)",
|
9358
|
-
"example": "
|
9358
|
+
"example": "20230415",
|
9359
9359
|
"member": "string",
|
9360
9360
|
"name": "DateOfBirth",
|
9361
9361
|
"output_required": true,
|
@@ -9445,7 +9445,7 @@
|
|
9445
9445
|
{
|
9446
9446
|
"disabled": false,
|
9447
9447
|
"document": "最下方第二行 MRZ Code 序列",
|
9448
|
-
"example": "
|
9448
|
+
"example": "1357",
|
9449
9449
|
"member": "string",
|
9450
9450
|
"name": "CodeCrc",
|
9451
9451
|
"output_required": true,
|
@@ -9485,7 +9485,7 @@
|
|
9485
9485
|
{
|
9486
9486
|
"disabled": false,
|
9487
9487
|
"document": "信息区证件内容",
|
9488
|
-
"example": "
|
9488
|
+
"example": "无",
|
9489
9489
|
"member": "PassportRecognizeInfos",
|
9490
9490
|
"name": "PassportRecognizeInfos",
|
9491
9491
|
"output_required": true,
|
@@ -11665,7 +11665,7 @@
|
|
11665
11665
|
{
|
11666
11666
|
"disabled": false,
|
11667
11667
|
"document": "护照号",
|
11668
|
-
"example": "
|
11668
|
+
"example": "EQ4024254",
|
11669
11669
|
"member": "string",
|
11670
11670
|
"name": "PassportNo",
|
11671
11671
|
"output_required": true,
|
@@ -11765,7 +11765,7 @@
|
|
11765
11765
|
{
|
11766
11766
|
"disabled": false,
|
11767
11767
|
"document": "最下方第二行 MRZ Code 序列",
|
11768
|
-
"example": "
|
11768
|
+
"example": "EQ65243780C**********************OMAMGLNA878",
|
11769
11769
|
"member": "string",
|
11770
11770
|
"name": "CodeCrc",
|
11771
11771
|
"output_required": true,
|
@@ -11805,7 +11805,7 @@
|
|
11805
11805
|
{
|
11806
11806
|
"disabled": false,
|
11807
11807
|
"document": "头像和坐标信息",
|
11808
|
-
"example": "
|
11808
|
+
"example": "无",
|
11809
11809
|
"member": "PortraitImageInfo",
|
11810
11810
|
"name": "PortraitImageInfo",
|
11811
11811
|
"output_required": false,
|
@@ -9439,7 +9439,7 @@
|
|
9439
9439
|
{
|
9440
9440
|
"disabled": false,
|
9441
9441
|
"document": "排序参数",
|
9442
|
-
"example": "
|
9442
|
+
"example": "timestamp:-1",
|
9443
9443
|
"member": "string",
|
9444
9444
|
"name": "Sort",
|
9445
9445
|
"required": true,
|
@@ -9502,7 +9502,7 @@
|
|
9502
9502
|
{
|
9503
9503
|
"disabled": false,
|
9504
9504
|
"document": "规则id",
|
9505
|
-
"example": "
|
9505
|
+
"example": "330000001",
|
9506
9506
|
"member": "string",
|
9507
9507
|
"name": "RuleId",
|
9508
9508
|
"required": false,
|
@@ -9517,7 +9517,7 @@
|
|
9517
9517
|
{
|
9518
9518
|
"disabled": false,
|
9519
9519
|
"document": "返回数据包",
|
9520
|
-
"example": "
|
9520
|
+
"example": "无",
|
9521
9521
|
"member": "DescribeBotUCBRuleRsp",
|
9522
9522
|
"name": "Data",
|
9523
9523
|
"output_required": false,
|