tccli 3.0.1247.1__py2.py3-none-any.whl → 3.0.1249.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/aca/v20210323/api.json +9 -9
- tccli/services/aiart/aiart_client.py +113 -7
- tccli/services/aiart/v20221229/api.json +191 -0
- tccli/services/aiart/v20221229/examples.json +16 -0
- tccli/services/autoscaling/v20180419/api.json +11 -0
- tccli/services/batch/v20170312/api.json +1 -1
- tccli/services/bh/v20230418/api.json +2 -2
- tccli/services/cbs/v20170312/api.json +6 -0
- tccli/services/cdb/v20170320/api.json +9 -0
- tccli/services/cfw/v20190904/api.json +3 -1
- tccli/services/clb/v20180317/api.json +29 -1
- tccli/services/clb/v20180317/examples.json +2 -2
- tccli/services/cloudapp/v20220530/api.json +43 -12
- tccli/services/cloudapp/v20220530/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +17 -7
- tccli/services/cls/v20201016/examples.json +4 -4
- tccli/services/cmq/cmq_client.py +4 -799
- tccli/services/cmq/v20190304/api.json +135 -1329
- tccli/services/cmq/v20190304/examples.json +0 -120
- tccli/services/config/config_client.py +110 -4
- tccli/services/config/v20220802/api.json +374 -0
- tccli/services/config/v20220802/examples.json +16 -0
- tccli/services/cvm/v20170312/api.json +1 -1
- tccli/services/cynosdb/v20190107/api.json +64 -0
- tccli/services/cynosdb/v20190107/examples.json +1 -1
- tccli/services/dc/v20180410/api.json +202 -171
- tccli/services/drm/v20181115/api.json +18 -7
- tccli/services/dts/v20211206/api.json +37 -1
- tccli/services/ecm/v20190719/api.json +64 -62
- tccli/services/ecm/v20190719/examples.json +5 -5
- tccli/services/emr/v20190103/api.json +639 -514
- tccli/services/emr/v20190103/examples.json +10 -10
- tccli/services/ess/v20201111/api.json +184 -165
- tccli/services/ess/v20201111/examples.json +15 -21
- tccli/services/essbasic/v20210526/api.json +109 -90
- tccli/services/essbasic/v20210526/examples.json +2 -2
- tccli/services/gaap/v20180529/api.json +12 -11
- tccli/services/gaap/v20180529/examples.json +2 -8
- tccli/services/gme/v20180711/api.json +110 -100
- tccli/services/gme/v20180711/examples.json +2 -2
- tccli/services/gwlb/v20240906/api.json +1 -1
- tccli/services/hai/hai_client.py +121 -15
- tccli/services/hai/v20230812/api.json +259 -2
- tccli/services/hai/v20230812/examples.json +18 -2
- tccli/services/iotexplorer/iotexplorer_client.py +228 -16
- tccli/services/iotexplorer/v20190423/api.json +536 -0
- tccli/services/iotexplorer/v20190423/examples.json +32 -0
- tccli/services/iotvideo/iotvideo_client.py +53 -0
- tccli/services/iotvideo/v20211125/api.json +80 -0
- tccli/services/iotvideo/v20211125/examples.json +8 -0
- tccli/services/keewidb/v20220308/api.json +17 -17
- tccli/services/lcic/v20220817/api.json +1 -1
- tccli/services/lkeap/v20240522/api.json +13 -13
- tccli/services/lkeap/v20240522/examples.json +2 -2
- tccli/services/mna/v20210119/api.json +22 -22
- tccli/services/mongodb/v20180408/api.json +52 -50
- tccli/services/mongodb/v20180408/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +39 -44
- tccli/services/ocr/v20181119/api.json +7 -7
- tccli/services/postgres/postgres_client.py +106 -0
- tccli/services/postgres/v20170312/api.json +135 -0
- tccli/services/postgres/v20170312/examples.json +16 -0
- tccli/services/redis/v20180412/api.json +172 -172
- tccli/services/redis/v20180412/examples.json +1 -1
- tccli/services/scf/v20180416/api.json +2 -2
- tccli/services/sms/v20190711/api.json +48 -0
- tccli/services/sms/v20210111/api.json +48 -0
- tccli/services/ssl/v20191205/api.json +6 -6
- tccli/services/ssl/v20191205/examples.json +71 -5
- tccli/services/tcb/v20180608/api.json +828 -631
- tccli/services/tcb/v20180608/examples.json +19 -19
- tccli/services/tcbr/v20220217/examples.json +1 -1
- tccli/services/tcr/v20190924/api.json +18 -17
- tccli/services/tcr/v20190924/examples.json +6 -6
- tccli/services/tione/v20211111/api.json +23 -3
- tccli/services/trro/v20220325/api.json +12 -2
- tccli/services/trtc/v20190722/api.json +165 -163
- tccli/services/trtc/v20190722/examples.json +2 -2
- tccli/services/tse/v20201207/api.json +18 -0
- tccli/services/vpc/v20170312/api.json +40 -30
- tccli/services/vpc/v20170312/examples.json +13 -13
- tccli/services/wedata/v20210820/api.json +80 -2
- tccli/services/wedata/v20210820/examples.json +1 -1
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/RECORD +89 -89
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/license_files/LICENSE +0 -0
@@ -2413,6 +2413,58 @@ def doDescribeCloudStorageDate(args, parsed_globals):
|
|
2413
2413
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2414
2414
|
|
2415
2415
|
|
2416
|
+
def doDescribeFreeCloudStorageNum(args, parsed_globals):
|
2417
|
+
g_param = parse_global_arg(parsed_globals)
|
2418
|
+
|
2419
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2420
|
+
cred = credential.CVMRoleCredential()
|
2421
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2422
|
+
cred = credential.STSAssumeRoleCredential(
|
2423
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2424
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2425
|
+
)
|
2426
|
+
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):
|
2427
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2428
|
+
else:
|
2429
|
+
cred = credential.Credential(
|
2430
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2431
|
+
)
|
2432
|
+
http_profile = HttpProfile(
|
2433
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2434
|
+
reqMethod="POST",
|
2435
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2436
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2437
|
+
)
|
2438
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2439
|
+
if g_param[OptionsDefine.Language]:
|
2440
|
+
profile.language = g_param[OptionsDefine.Language]
|
2441
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2442
|
+
client = mod.IotvideoClient(cred, g_param[OptionsDefine.Region], profile)
|
2443
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2444
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2445
|
+
model = models.DescribeFreeCloudStorageNumRequest()
|
2446
|
+
model.from_json_string(json.dumps(args))
|
2447
|
+
start_time = time.time()
|
2448
|
+
while True:
|
2449
|
+
rsp = client.DescribeFreeCloudStorageNum(model)
|
2450
|
+
result = rsp.to_json_string()
|
2451
|
+
try:
|
2452
|
+
json_obj = json.loads(result)
|
2453
|
+
except TypeError as e:
|
2454
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2455
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2456
|
+
break
|
2457
|
+
cur_time = time.time()
|
2458
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2459
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2460
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2461
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2462
|
+
else:
|
2463
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2464
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2465
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2466
|
+
|
2467
|
+
|
2416
2468
|
def doResetCloudStorageEvent(args, parsed_globals):
|
2417
2469
|
g_param = parse_global_arg(parsed_globals)
|
2418
2470
|
|
@@ -8558,6 +8610,7 @@ ACTION_MAP = {
|
|
8558
8610
|
"ModifyDeviceLogLevel": doModifyDeviceLogLevel,
|
8559
8611
|
"DescribeFirmware": doDescribeFirmware,
|
8560
8612
|
"DescribeCloudStorageDate": doDescribeCloudStorageDate,
|
8613
|
+
"DescribeFreeCloudStorageNum": doDescribeFreeCloudStorageNum,
|
8561
8614
|
"ResetCloudStorageEvent": doResetCloudStorageEvent,
|
8562
8615
|
"DescribeCloudStorageUsers": doDescribeCloudStorageUsers,
|
8563
8616
|
"TransferCloudStorage": doTransferCloudStorage,
|
@@ -462,6 +462,13 @@
|
|
462
462
|
"output": "DescribeForwardRuleResponse",
|
463
463
|
"status": "online"
|
464
464
|
},
|
465
|
+
"DescribeFreeCloudStorageNum": {
|
466
|
+
"document": "查询云存卡套餐信息",
|
467
|
+
"input": "DescribeFreeCloudStorageNumRequest",
|
468
|
+
"name": "查询云存卡套餐信息",
|
469
|
+
"output": "DescribeFreeCloudStorageNumResponse",
|
470
|
+
"status": "online"
|
471
|
+
},
|
465
472
|
"DescribeMessageDataStats": {
|
466
473
|
"document": "查询设备消息数量统计",
|
467
474
|
"input": "DescribeMessageDataStatsRequest",
|
@@ -1778,6 +1785,52 @@
|
|
1778
1785
|
],
|
1779
1786
|
"usage": "both"
|
1780
1787
|
},
|
1788
|
+
"CloudStoragePackageInfo": {
|
1789
|
+
"document": "云存套餐包信息",
|
1790
|
+
"members": [
|
1791
|
+
{
|
1792
|
+
"disabled": false,
|
1793
|
+
"document": "套餐包id",
|
1794
|
+
"example": "lye1w3d",
|
1795
|
+
"member": "string",
|
1796
|
+
"name": "PackageId",
|
1797
|
+
"output_required": true,
|
1798
|
+
"type": "string",
|
1799
|
+
"value_allowed_null": false
|
1800
|
+
},
|
1801
|
+
{
|
1802
|
+
"disabled": false,
|
1803
|
+
"document": "套餐包名字",
|
1804
|
+
"example": "低功耗3天会看周套餐",
|
1805
|
+
"member": "string",
|
1806
|
+
"name": "PackageName",
|
1807
|
+
"output_required": true,
|
1808
|
+
"type": "string",
|
1809
|
+
"value_allowed_null": false
|
1810
|
+
},
|
1811
|
+
{
|
1812
|
+
"disabled": false,
|
1813
|
+
"document": "套餐包数量",
|
1814
|
+
"example": "10",
|
1815
|
+
"member": "int64",
|
1816
|
+
"name": "Num",
|
1817
|
+
"output_required": true,
|
1818
|
+
"type": "int",
|
1819
|
+
"value_allowed_null": false
|
1820
|
+
},
|
1821
|
+
{
|
1822
|
+
"disabled": false,
|
1823
|
+
"document": "已使用数量",
|
1824
|
+
"example": "5",
|
1825
|
+
"member": "int64",
|
1826
|
+
"name": "UsedNum",
|
1827
|
+
"output_required": true,
|
1828
|
+
"type": "int",
|
1829
|
+
"value_allowed_null": false
|
1830
|
+
}
|
1831
|
+
],
|
1832
|
+
"usage": "out"
|
1833
|
+
},
|
1781
1834
|
"CloudStorageTimeData": {
|
1782
1835
|
"document": "云存时间轴接口返回数据",
|
1783
1836
|
"members": [
|
@@ -6484,6 +6537,33 @@
|
|
6484
6537
|
],
|
6485
6538
|
"type": "object"
|
6486
6539
|
},
|
6540
|
+
"DescribeFreeCloudStorageNumRequest": {
|
6541
|
+
"document": "DescribeFreeCloudStorageNum请求参数结构体",
|
6542
|
+
"members": [],
|
6543
|
+
"type": "object"
|
6544
|
+
},
|
6545
|
+
"DescribeFreeCloudStorageNumResponse": {
|
6546
|
+
"document": "DescribeFreeCloudStorageNum返回参数结构体",
|
6547
|
+
"members": [
|
6548
|
+
{
|
6549
|
+
"disabled": false,
|
6550
|
+
"document": "套餐包信息",
|
6551
|
+
"example": "无",
|
6552
|
+
"member": "CloudStoragePackageInfo",
|
6553
|
+
"name": "PackageInfos",
|
6554
|
+
"output_required": false,
|
6555
|
+
"type": "list",
|
6556
|
+
"value_allowed_null": false
|
6557
|
+
},
|
6558
|
+
{
|
6559
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
6560
|
+
"member": "string",
|
6561
|
+
"name": "RequestId",
|
6562
|
+
"type": "string"
|
6563
|
+
}
|
6564
|
+
],
|
6565
|
+
"type": "object"
|
6566
|
+
},
|
6487
6567
|
"DescribeMessageDataStatsRequest": {
|
6488
6568
|
"document": "DescribeMessageDataStats请求参数结构体",
|
6489
6569
|
"members": [
|
@@ -528,6 +528,14 @@
|
|
528
528
|
"title": "获取产品转发规则"
|
529
529
|
}
|
530
530
|
],
|
531
|
+
"DescribeFreeCloudStorageNum": [
|
532
|
+
{
|
533
|
+
"document": "",
|
534
|
+
"input": "POST / HTTP/1.1\nHost: iotvideo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudStorage\n<公共请求参数>\n\n{}",
|
535
|
+
"output": "{\n \"Response\": {\n \"PackageInfos\": [\n {\n \"Num\": 10,\n \"PackageId\": \"lye1w3d\",\n \"PackageName\": \"低功耗3天会看周套餐\",\n \"UsedNum\": 5\n },\n {\n \"Num\": 10,\n \"PackageId\": \"lye1w3d\",\n \"PackageName\": \"低功耗3天会看两周套餐\",\n \"UsedNum\": 3\n }\n ],\n \"RequestId\": \"c2cc1650-17bb-4996-a88a-8f8471c7d6d5\"\n }\n}",
|
536
|
+
"title": "查询云存卡套餐信息"
|
537
|
+
}
|
538
|
+
],
|
531
539
|
"DescribeMessageDataStats": [
|
532
540
|
{
|
533
541
|
"document": "",
|
@@ -2583,85 +2583,85 @@
|
|
2583
2583
|
"usage": "out"
|
2584
2584
|
},
|
2585
2585
|
"InstanceEnumParam": {
|
2586
|
-
"document": "
|
2586
|
+
"document": "实例枚举类型参数描述,keewidb暂无枚举值",
|
2587
2587
|
"members": [
|
2588
2588
|
{
|
2589
2589
|
"disabled": false,
|
2590
2590
|
"document": "参数名",
|
2591
|
-
"example": "
|
2591
|
+
"example": "lazyfree-lazy-eviction",
|
2592
2592
|
"member": "string",
|
2593
2593
|
"name": "ParamName",
|
2594
|
-
"
|
2594
|
+
"output_required": true,
|
2595
2595
|
"type": "string",
|
2596
2596
|
"value_allowed_null": false
|
2597
2597
|
},
|
2598
2598
|
{
|
2599
2599
|
"disabled": false,
|
2600
2600
|
"document": "参数类型:enum",
|
2601
|
-
"example": "
|
2601
|
+
"example": "enum",
|
2602
2602
|
"member": "string",
|
2603
2603
|
"name": "ValueType",
|
2604
|
-
"
|
2604
|
+
"output_required": true,
|
2605
2605
|
"type": "string",
|
2606
2606
|
"value_allowed_null": false
|
2607
2607
|
},
|
2608
2608
|
{
|
2609
2609
|
"disabled": false,
|
2610
2610
|
"document": "修改后是否需要重启:true,false",
|
2611
|
-
"example": "
|
2611
|
+
"example": "false",
|
2612
2612
|
"member": "string",
|
2613
2613
|
"name": "NeedRestart",
|
2614
|
-
"
|
2614
|
+
"output_required": true,
|
2615
2615
|
"type": "string",
|
2616
2616
|
"value_allowed_null": false
|
2617
2617
|
},
|
2618
2618
|
{
|
2619
2619
|
"disabled": false,
|
2620
2620
|
"document": "参数默认值",
|
2621
|
-
"example": "
|
2621
|
+
"example": "yes",
|
2622
2622
|
"member": "string",
|
2623
2623
|
"name": "DefaultValue",
|
2624
|
-
"
|
2624
|
+
"output_required": true,
|
2625
2625
|
"type": "string",
|
2626
2626
|
"value_allowed_null": false
|
2627
2627
|
},
|
2628
2628
|
{
|
2629
2629
|
"disabled": false,
|
2630
2630
|
"document": "当前运行参数值",
|
2631
|
-
"example": "
|
2631
|
+
"example": "yes",
|
2632
2632
|
"member": "string",
|
2633
2633
|
"name": "CurrentValue",
|
2634
|
-
"
|
2634
|
+
"output_required": true,
|
2635
2635
|
"type": "string",
|
2636
2636
|
"value_allowed_null": false
|
2637
2637
|
},
|
2638
2638
|
{
|
2639
2639
|
"disabled": false,
|
2640
2640
|
"document": "参数说明",
|
2641
|
-
"example": "
|
2641
|
+
"example": "lazyfree switch on eviction",
|
2642
2642
|
"member": "string",
|
2643
2643
|
"name": "Tips",
|
2644
|
-
"
|
2644
|
+
"output_required": true,
|
2645
2645
|
"type": "string",
|
2646
2646
|
"value_allowed_null": false
|
2647
2647
|
},
|
2648
2648
|
{
|
2649
2649
|
"disabled": false,
|
2650
2650
|
"document": "参数可取值",
|
2651
|
-
"example": "
|
2651
|
+
"example": "[\"yes\", \"no\"]",
|
2652
2652
|
"member": "string",
|
2653
2653
|
"name": "EnumValue",
|
2654
|
-
"
|
2654
|
+
"output_required": true,
|
2655
2655
|
"type": "list",
|
2656
2656
|
"value_allowed_null": false
|
2657
2657
|
},
|
2658
2658
|
{
|
2659
2659
|
"disabled": false,
|
2660
2660
|
"document": "参数状态, 1: 修改中, 2:修改完成",
|
2661
|
-
"example": "
|
2661
|
+
"example": "2",
|
2662
2662
|
"member": "int64",
|
2663
2663
|
"name": "Status",
|
2664
|
-
"
|
2664
|
+
"output_required": true,
|
2665
2665
|
"type": "int",
|
2666
2666
|
"value_allowed_null": false
|
2667
2667
|
}
|
@@ -29,7 +29,7 @@
|
|
29
29
|
"status": "online"
|
30
30
|
},
|
31
31
|
"CreateSplitDocumentFlow": {
|
32
|
-
"document": "
|
32
|
+
"document": "用于创建一个文档拆分任务,支持多种文件类型,具备mllm能力,能够解析并深入理解图表中的信息。",
|
33
33
|
"input": "CreateSplitDocumentFlowRequest",
|
34
34
|
"name": "创建文档拆分任务",
|
35
35
|
"output": "CreateSplitDocumentFlowResponse",
|
@@ -523,7 +523,7 @@
|
|
523
523
|
"members": [
|
524
524
|
{
|
525
525
|
"disabled": false,
|
526
|
-
"document": "
|
526
|
+
"document": "文件类型。\n\n**支持的文件类型:**\n- `PDF`、`DOC`、`DOCX`、`XLS`、`XLSX`、`PPT`、`PPTX`、`MD`、`TXT`、`PNG`、`JPG`、`JPEG`、`CSV`、`HTML`、`EPUB`\n\n**支持的文件大小:**\n - `PDF`、`DOCX`、`DOC`、`PPT`、`PPTX` 最大 200M\n - `TXT`、`MD` 最大10M\n - 其他 最大20M\n",
|
527
527
|
"example": "PDF",
|
528
528
|
"member": "string",
|
529
529
|
"name": "FileType",
|
@@ -532,8 +532,8 @@
|
|
532
532
|
},
|
533
533
|
{
|
534
534
|
"disabled": false,
|
535
|
-
"document": "文件的
|
536
|
-
"example": "
|
535
|
+
"document": "文件的 URL 地址。\n文件存储于腾讯云的 URL 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 URL 速度和稳定性可能受一定影响。\n参考:[腾讯云COS文档](https://cloud.tencent.com/document/product/436/7749)",
|
536
|
+
"example": "https://example.com/example.pdf",
|
537
537
|
"member": "string",
|
538
538
|
"name": "FileUrl",
|
539
539
|
"required": true,
|
@@ -541,8 +541,8 @@
|
|
541
541
|
},
|
542
542
|
{
|
543
543
|
"disabled": false,
|
544
|
-
"document": "
|
545
|
-
"example": "
|
544
|
+
"document": "文件名,可选。\n**需带文件类型后缀**,当文件名无法从传入的`FileUrl`获取时需要通过该字段来明确。",
|
545
|
+
"example": "example.pdf",
|
546
546
|
"member": "string",
|
547
547
|
"name": "FileName",
|
548
548
|
"required": false,
|
@@ -550,7 +550,7 @@
|
|
550
550
|
},
|
551
551
|
{
|
552
552
|
"disabled": true,
|
553
|
-
"document": "文件的 Base64
|
553
|
+
"document": "文件的 Base64 值。\n支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。\n支持的图片像素:单边介于20-10000px之间。\n文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。",
|
554
554
|
"example": "无",
|
555
555
|
"member": "string",
|
556
556
|
"name": "FileBase64",
|
@@ -559,7 +559,7 @@
|
|
559
559
|
},
|
560
560
|
{
|
561
561
|
"disabled": false,
|
562
|
-
"document": "当传入文件是PDF
|
562
|
+
"document": "文档的起始页码。\n当传入文件是PDF、PDF、PPT、PPTX、DOC类型时,用来指定识别的起始页码,识别的页码包含当前值。",
|
563
563
|
"example": "1",
|
564
564
|
"member": "int64",
|
565
565
|
"name": "FileStartPageNumber",
|
@@ -568,7 +568,7 @@
|
|
568
568
|
},
|
569
569
|
{
|
570
570
|
"disabled": false,
|
571
|
-
"document": "当传入文件是PDF
|
571
|
+
"document": "文档的结束页码。\n当传入文件是PDF、PDF、PPT、PPTX、DOC类型时,用来指定识别的结束页码,识别的页码包含当前值。",
|
572
572
|
"example": "100",
|
573
573
|
"member": "int64",
|
574
574
|
"name": "FileEndPageNumber",
|
@@ -577,8 +577,8 @@
|
|
577
577
|
},
|
578
578
|
{
|
579
579
|
"disabled": false,
|
580
|
-
"document": "
|
581
|
-
"example": "{\"
|
580
|
+
"document": "文档拆分任务的配置信息。\n",
|
581
|
+
"example": "{\"EnableMllm\":true,\"MaxChunkSize\":4800}\t",
|
582
582
|
"member": "CreateSplitDocumentFlowConfig",
|
583
583
|
"name": "Config",
|
584
584
|
"required": false,
|
@@ -592,8 +592,8 @@
|
|
592
592
|
"members": [
|
593
593
|
{
|
594
594
|
"disabled": false,
|
595
|
-
"document": "
|
596
|
-
"example": "
|
595
|
+
"document": "拆分任务唯一ID。\n30天内可以通过`GetSplitDocumentResult`接口查询TaskId对应的拆分结果。",
|
596
|
+
"example": "236e51fd-827b-41cb-b303-56003a817ce5",
|
597
597
|
"member": "string",
|
598
598
|
"name": "TaskId",
|
599
599
|
"output_required": true,
|
@@ -41,8 +41,8 @@
|
|
41
41
|
"CreateSplitDocumentFlow": [
|
42
42
|
{
|
43
43
|
"document": "对外部在线文档进行拆分",
|
44
|
-
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSplitDocumentFlow\n<公共请求参数>\n\n{\n \"FileType\": \"PDF\",\n \"FileUrl\": \"https://
|
45
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"5e148c27-9c21-43cd-992c-799117bb4216\",\n \"TaskId\": \"
|
44
|
+
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSplitDocumentFlow\n<公共请求参数>\n\n{\n \"FileType\": \"PDF\",\n \"FileName\": \"example.pdf\",\n \"FileUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/example/example.pdf\",\n \"FileStartPageNumber\": 1,\n \"FileEndPageNumber\": 2,\n \"Config\": {\n \"EnableMllm\": true\n }\n}",
|
45
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"5e148c27-9c21-43cd-992c-799117bb4216\",\n \"TaskId\": \"236e51fd-827b-41cb-b303-56003a817ce5\"\n }\n}",
|
46
46
|
"title": "创建PDF拆分任务"
|
47
47
|
}
|
48
48
|
],
|
@@ -300,14 +300,14 @@
|
|
300
300
|
"members": [
|
301
301
|
{
|
302
302
|
"disabled": false,
|
303
|
-
"document": "
|
303
|
+
"document": "厂商名称",
|
304
304
|
"example": "vendor1",
|
305
305
|
"member": "string",
|
306
306
|
"name": "Vendor",
|
307
307
|
"output_required": true,
|
308
308
|
"required": true,
|
309
309
|
"type": "string",
|
310
|
-
"value_allowed_null":
|
310
|
+
"value_allowed_null": false
|
311
311
|
},
|
312
312
|
{
|
313
313
|
"disabled": false,
|
@@ -322,25 +322,25 @@
|
|
322
322
|
},
|
323
323
|
{
|
324
324
|
"disabled": false,
|
325
|
-
"document": "
|
325
|
+
"document": "设备名称",
|
326
326
|
"example": "mna-w795bzezug",
|
327
327
|
"member": "string",
|
328
328
|
"name": "DeviceName",
|
329
|
-
"output_required":
|
329
|
+
"output_required": false,
|
330
330
|
"required": true,
|
331
331
|
"type": "string",
|
332
|
-
"value_allowed_null":
|
332
|
+
"value_allowed_null": false
|
333
333
|
},
|
334
334
|
{
|
335
335
|
"disabled": false,
|
336
|
-
"document": "
|
336
|
+
"document": "备注",
|
337
337
|
"example": "this is descript",
|
338
338
|
"member": "string",
|
339
339
|
"name": "Description",
|
340
|
-
"output_required":
|
340
|
+
"output_required": false,
|
341
341
|
"required": false,
|
342
342
|
"type": "string",
|
343
|
-
"value_allowed_null":
|
343
|
+
"value_allowed_null": false
|
344
344
|
},
|
345
345
|
{
|
346
346
|
"disabled": false,
|
@@ -366,58 +366,58 @@
|
|
366
366
|
},
|
367
367
|
{
|
368
368
|
"disabled": false,
|
369
|
-
"document": "当付费方为租户时,可选择租户license付费方式:\n0,月度授权\n1,永久授权\n若不传则默认为月度授权。\n当付费方为厂商时,此参数无效\n
|
369
|
+
"document": "当付费方为租户时,可选择租户license付费方式:\n0,月度授权\n1,永久授权\n若不传则默认为月度授权。\n当付费方为厂商时,此参数无效\n",
|
370
370
|
"example": "0",
|
371
371
|
"member": "int64",
|
372
372
|
"name": "LicensePayMode",
|
373
373
|
"output_required": true,
|
374
374
|
"required": false,
|
375
375
|
"type": "int",
|
376
|
-
"value_allowed_null":
|
376
|
+
"value_allowed_null": false
|
377
377
|
},
|
378
378
|
{
|
379
379
|
"disabled": false,
|
380
|
-
"document": "设备分组ID
|
380
|
+
"document": "设备分组ID",
|
381
381
|
"example": "cliGrp-xf8rboasbh",
|
382
382
|
"member": "string",
|
383
383
|
"name": "GroupId",
|
384
384
|
"output_required": false,
|
385
385
|
"required": false,
|
386
386
|
"type": "string",
|
387
|
-
"value_allowed_null":
|
387
|
+
"value_allowed_null": false
|
388
388
|
},
|
389
389
|
{
|
390
390
|
"disabled": false,
|
391
|
-
"document": "设备分组名称,预留参数,需要分组时传入GroupId
|
391
|
+
"document": "设备分组名称,预留参数,需要分组时传入GroupId",
|
392
392
|
"example": "group-name",
|
393
393
|
"member": "string",
|
394
394
|
"name": "GroupName",
|
395
395
|
"output_required": false,
|
396
396
|
"required": false,
|
397
397
|
"type": "string",
|
398
|
-
"value_allowed_null":
|
398
|
+
"value_allowed_null": false
|
399
399
|
},
|
400
400
|
{
|
401
401
|
"disabled": false,
|
402
|
-
"document": "设备无流量包处理方式,0: 按量付费,1:
|
402
|
+
"document": "设备无流量包处理方式,0: 按量付费,1: 截断加速",
|
403
403
|
"example": "0",
|
404
404
|
"member": "int64",
|
405
405
|
"name": "FlowTrunc",
|
406
406
|
"output_required": false,
|
407
407
|
"required": false,
|
408
408
|
"type": "int",
|
409
|
-
"value_allowed_null":
|
409
|
+
"value_allowed_null": false
|
410
410
|
},
|
411
411
|
{
|
412
412
|
"disabled": false,
|
413
|
-
"document": "激活后的设备ID
|
413
|
+
"document": "激活后的设备ID",
|
414
414
|
"example": "mna-w795bzezug",
|
415
415
|
"member": "string",
|
416
416
|
"name": "DeviceId",
|
417
417
|
"output_required": false,
|
418
418
|
"required": false,
|
419
419
|
"type": "string",
|
420
|
-
"value_allowed_null":
|
420
|
+
"value_allowed_null": false
|
421
421
|
}
|
422
422
|
],
|
423
423
|
"usage": "both"
|
@@ -1246,23 +1246,23 @@
|
|
1246
1246
|
},
|
1247
1247
|
{
|
1248
1248
|
"disabled": false,
|
1249
|
-
"document": "license授权有效期 0:月度授权 1
|
1249
|
+
"document": "license授权有效期 0:月度授权 1:永久授权",
|
1250
1250
|
"example": "1",
|
1251
1251
|
"member": "int64",
|
1252
1252
|
"name": "LicensePayMode",
|
1253
1253
|
"output_required": false,
|
1254
1254
|
"type": "int",
|
1255
|
-
"value_allowed_null":
|
1255
|
+
"value_allowed_null": false
|
1256
1256
|
},
|
1257
1257
|
{
|
1258
1258
|
"disabled": false,
|
1259
|
-
"document": "付费方 0:厂商付费 1
|
1259
|
+
"document": "付费方 0:厂商付费 1:客户付费",
|
1260
1260
|
"example": "1",
|
1261
1261
|
"member": "int64",
|
1262
1262
|
"name": "Payer",
|
1263
1263
|
"output_required": false,
|
1264
1264
|
"type": "int",
|
1265
|
-
"value_allowed_null":
|
1265
|
+
"value_allowed_null": false
|
1266
1266
|
},
|
1267
1267
|
{
|
1268
1268
|
"disabled": false,
|