tccli 3.0.1206.1__py2.py3-none-any.whl → 3.0.1208.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/advisor/v20200721/api.json +1 -1
- tccli/services/cbs/v20170312/api.json +5 -5
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/cdwch/v20200915/api.json +20 -0
- tccli/services/clb/v20180317/api.json +6 -6
- tccli/services/cls/v20201016/api.json +50 -0
- tccli/services/cls/v20201016/examples.json +7 -7
- tccli/services/cvm/v20170312/examples.json +1 -1
- tccli/services/cynosdb/v20190107/api.json +84 -2
- tccli/services/cynosdb/v20190107/examples.json +1 -1
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +273 -0
- tccli/services/dlc/v20210125/examples.json +8 -0
- tccli/services/dsgc/v20190723/api.json +150 -22
- tccli/services/dsgc/v20190723/examples.json +4 -4
- tccli/services/emr/v20190103/api.json +1 -1
- tccli/services/ess/v20201111/api.json +84 -26
- tccli/services/ess/v20201111/examples.json +2 -2
- tccli/services/essbasic/essbasic_client.py +53 -0
- tccli/services/essbasic/v20210526/api.json +95 -2
- tccli/services/essbasic/v20210526/examples.json +8 -0
- tccli/services/faceid/v20180301/api.json +1 -1
- tccli/services/ioa/v20220601/api.json +18 -1
- tccli/services/iotexplorer/iotexplorer_client.py +106 -0
- tccli/services/iotexplorer/v20190423/api.json +198 -0
- tccli/services/iotexplorer/v20190423/examples.json +22 -0
- tccli/services/lke/v20231130/api.json +1 -1
- tccli/services/mongodb/v20190725/api.json +1 -1
- tccli/services/mps/mps_client.py +220 -8
- tccli/services/mps/v20190612/api.json +627 -11
- tccli/services/mps/v20190612/examples.json +40 -2
- tccli/services/oceanus/oceanus_client.py +53 -0
- tccli/services/oceanus/v20190422/api.json +88 -0
- tccli/services/oceanus/v20190422/examples.json +8 -0
- tccli/services/redis/redis_client.py +53 -0
- tccli/services/redis/v20180412/api.json +75 -8
- tccli/services/redis/v20180412/examples.json +8 -0
- tccli/services/tcss/v20201101/api.json +10 -10
- tccli/services/tke/tke_client.py +4 -57
- tccli/services/tke/v20180525/api.json +0 -72
- tccli/services/tke/v20180525/examples.json +0 -8
- tccli/services/tms/v20201229/api.json +17 -17
- tccli/services/trtc/v20190722/api.json +24 -6
- tccli/services/vod/v20180717/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +23 -14
- tccli/services/vpc/v20170312/examples.json +1 -1
- tccli/services/waf/v20180125/api.json +655 -1
- tccli/services/waf/v20180125/examples.json +22 -0
- tccli/services/waf/waf_client.py +114 -8
- {tccli-3.0.1206.1.dist-info → tccli-3.0.1208.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1206.1.dist-info → tccli-3.0.1208.1.dist-info}/RECORD +55 -55
- {tccli-3.0.1206.1.dist-info → tccli-3.0.1208.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1206.1.dist-info → tccli-3.0.1208.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1206.1.dist-info → tccli-3.0.1208.1.dist-info}/license_files/LICENSE +0 -0
@@ -881,7 +881,7 @@
|
|
881
881
|
"example": "无",
|
882
882
|
"member": "GetAccountGroupData",
|
883
883
|
"name": "Data",
|
884
|
-
"
|
884
|
+
"output_required": true,
|
885
885
|
"type": "object",
|
886
886
|
"value_allowed_null": true
|
887
887
|
},
|
@@ -1438,6 +1438,7 @@
|
|
1438
1438
|
"example": "-",
|
1439
1439
|
"member": "string",
|
1440
1440
|
"name": "NamePath",
|
1441
|
+
"output_required": true,
|
1441
1442
|
"required": false,
|
1442
1443
|
"type": "string",
|
1443
1444
|
"value_allowed_null": true
|
@@ -1448,6 +1449,7 @@
|
|
1448
1449
|
"example": "-",
|
1449
1450
|
"member": "int64",
|
1450
1451
|
"name": "IdPathArr",
|
1452
|
+
"output_required": true,
|
1451
1453
|
"required": false,
|
1452
1454
|
"type": "list",
|
1453
1455
|
"value_allowed_null": true
|
@@ -1458,6 +1460,7 @@
|
|
1458
1460
|
"example": "-",
|
1459
1461
|
"member": "string",
|
1460
1462
|
"name": "ExtraInfo",
|
1463
|
+
"output_required": true,
|
1461
1464
|
"required": false,
|
1462
1465
|
"type": "string",
|
1463
1466
|
"value_allowed_null": true
|
@@ -1468,6 +1471,7 @@
|
|
1468
1471
|
"example": "-",
|
1469
1472
|
"member": "string",
|
1470
1473
|
"name": "Utime",
|
1474
|
+
"output_required": true,
|
1471
1475
|
"required": false,
|
1472
1476
|
"type": "string",
|
1473
1477
|
"value_allowed_null": true
|
@@ -1478,6 +1482,7 @@
|
|
1478
1482
|
"example": "-",
|
1479
1483
|
"member": "uint64",
|
1480
1484
|
"name": "ParentId",
|
1485
|
+
"output_required": true,
|
1481
1486
|
"required": false,
|
1482
1487
|
"type": "int",
|
1483
1488
|
"value_allowed_null": true
|
@@ -1488,6 +1493,7 @@
|
|
1488
1493
|
"example": "-",
|
1489
1494
|
"member": "string",
|
1490
1495
|
"name": "OrgId",
|
1496
|
+
"output_required": true,
|
1491
1497
|
"required": false,
|
1492
1498
|
"type": "string",
|
1493
1499
|
"value_allowed_null": true
|
@@ -1498,6 +1504,7 @@
|
|
1498
1504
|
"example": "-",
|
1499
1505
|
"member": "string",
|
1500
1506
|
"name": "Name",
|
1507
|
+
"output_required": true,
|
1501
1508
|
"required": false,
|
1502
1509
|
"type": "string",
|
1503
1510
|
"value_allowed_null": true
|
@@ -1508,6 +1515,7 @@
|
|
1508
1515
|
"example": "-",
|
1509
1516
|
"member": "uint64",
|
1510
1517
|
"name": "Id",
|
1518
|
+
"output_required": true,
|
1511
1519
|
"required": false,
|
1512
1520
|
"type": "int",
|
1513
1521
|
"value_allowed_null": true
|
@@ -1518,6 +1526,7 @@
|
|
1518
1526
|
"example": "-",
|
1519
1527
|
"member": "string",
|
1520
1528
|
"name": "Description",
|
1529
|
+
"output_required": true,
|
1521
1530
|
"required": false,
|
1522
1531
|
"type": "string",
|
1523
1532
|
"value_allowed_null": true
|
@@ -1528,6 +1537,7 @@
|
|
1528
1537
|
"example": "-",
|
1529
1538
|
"member": "uint64",
|
1530
1539
|
"name": "Source",
|
1540
|
+
"output_required": true,
|
1531
1541
|
"required": false,
|
1532
1542
|
"type": "int",
|
1533
1543
|
"value_allowed_null": true
|
@@ -1538,6 +1548,7 @@
|
|
1538
1548
|
"example": "-",
|
1539
1549
|
"member": "string",
|
1540
1550
|
"name": "IdPath",
|
1551
|
+
"output_required": true,
|
1541
1552
|
"required": false,
|
1542
1553
|
"type": "string",
|
1543
1554
|
"value_allowed_null": true
|
@@ -1548,6 +1559,7 @@
|
|
1548
1559
|
"example": "-",
|
1549
1560
|
"member": "string",
|
1550
1561
|
"name": "Itime",
|
1562
|
+
"output_required": true,
|
1551
1563
|
"required": false,
|
1552
1564
|
"type": "string",
|
1553
1565
|
"value_allowed_null": true
|
@@ -1558,6 +1570,7 @@
|
|
1558
1570
|
"example": "-",
|
1559
1571
|
"member": "string",
|
1560
1572
|
"name": "ParentOrgId",
|
1573
|
+
"output_required": true,
|
1561
1574
|
"required": false,
|
1562
1575
|
"type": "string",
|
1563
1576
|
"value_allowed_null": true
|
@@ -1568,6 +1581,7 @@
|
|
1568
1581
|
"example": "-",
|
1569
1582
|
"member": "string",
|
1570
1583
|
"name": "Import",
|
1584
|
+
"output_required": true,
|
1571
1585
|
"required": false,
|
1572
1586
|
"type": "string",
|
1573
1587
|
"value_allowed_null": true
|
@@ -1578,6 +1592,7 @@
|
|
1578
1592
|
"example": "-",
|
1579
1593
|
"member": "bool",
|
1580
1594
|
"name": "ImportEnable",
|
1595
|
+
"output_required": true,
|
1581
1596
|
"required": false,
|
1582
1597
|
"type": "bool",
|
1583
1598
|
"value_allowed_null": true
|
@@ -1588,6 +1603,7 @@
|
|
1588
1603
|
"example": "-",
|
1589
1604
|
"member": "string",
|
1590
1605
|
"name": "ImportType",
|
1606
|
+
"output_required": true,
|
1591
1607
|
"required": false,
|
1592
1608
|
"type": "string",
|
1593
1609
|
"value_allowed_null": true
|
@@ -1598,6 +1614,7 @@
|
|
1598
1614
|
"example": "-",
|
1599
1615
|
"member": "string",
|
1600
1616
|
"name": "MiniIamId",
|
1617
|
+
"output_required": true,
|
1601
1618
|
"required": false,
|
1602
1619
|
"type": "string",
|
1603
1620
|
"value_allowed_null": true
|
@@ -2773,6 +2773,58 @@ def doResetCloudStorage(args, parsed_globals):
|
|
2773
2773
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2774
2774
|
|
2775
2775
|
|
2776
|
+
def doInvokeExternalSourceAIServiceTask(args, parsed_globals):
|
2777
|
+
g_param = parse_global_arg(parsed_globals)
|
2778
|
+
|
2779
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2780
|
+
cred = credential.CVMRoleCredential()
|
2781
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2782
|
+
cred = credential.STSAssumeRoleCredential(
|
2783
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2784
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2785
|
+
)
|
2786
|
+
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):
|
2787
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2788
|
+
else:
|
2789
|
+
cred = credential.Credential(
|
2790
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2791
|
+
)
|
2792
|
+
http_profile = HttpProfile(
|
2793
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2794
|
+
reqMethod="POST",
|
2795
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2796
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2797
|
+
)
|
2798
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2799
|
+
if g_param[OptionsDefine.Language]:
|
2800
|
+
profile.language = g_param[OptionsDefine.Language]
|
2801
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2802
|
+
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
2803
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2804
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2805
|
+
model = models.InvokeExternalSourceAIServiceTaskRequest()
|
2806
|
+
model.from_json_string(json.dumps(args))
|
2807
|
+
start_time = time.time()
|
2808
|
+
while True:
|
2809
|
+
rsp = client.InvokeExternalSourceAIServiceTask(model)
|
2810
|
+
result = rsp.to_json_string()
|
2811
|
+
try:
|
2812
|
+
json_obj = json.loads(result)
|
2813
|
+
except TypeError as e:
|
2814
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2815
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2816
|
+
break
|
2817
|
+
cur_time = time.time()
|
2818
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2819
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2820
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2821
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2822
|
+
else:
|
2823
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2824
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2825
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2826
|
+
|
2827
|
+
|
2776
2828
|
def doDescribeLoRaFrequency(args, parsed_globals):
|
2777
2829
|
g_param = parse_global_arg(parsed_globals)
|
2778
2830
|
|
@@ -5477,6 +5529,58 @@ def doDescribeBatchProduction(args, parsed_globals):
|
|
5477
5529
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5478
5530
|
|
5479
5531
|
|
5532
|
+
def doCreateExternalSourceAIServiceTask(args, parsed_globals):
|
5533
|
+
g_param = parse_global_arg(parsed_globals)
|
5534
|
+
|
5535
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5536
|
+
cred = credential.CVMRoleCredential()
|
5537
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5538
|
+
cred = credential.STSAssumeRoleCredential(
|
5539
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5540
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5541
|
+
)
|
5542
|
+
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):
|
5543
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5544
|
+
else:
|
5545
|
+
cred = credential.Credential(
|
5546
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5547
|
+
)
|
5548
|
+
http_profile = HttpProfile(
|
5549
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5550
|
+
reqMethod="POST",
|
5551
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5552
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5553
|
+
)
|
5554
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5555
|
+
if g_param[OptionsDefine.Language]:
|
5556
|
+
profile.language = g_param[OptionsDefine.Language]
|
5557
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5558
|
+
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
5559
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5560
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5561
|
+
model = models.CreateExternalSourceAIServiceTaskRequest()
|
5562
|
+
model.from_json_string(json.dumps(args))
|
5563
|
+
start_time = time.time()
|
5564
|
+
while True:
|
5565
|
+
rsp = client.CreateExternalSourceAIServiceTask(model)
|
5566
|
+
result = rsp.to_json_string()
|
5567
|
+
try:
|
5568
|
+
json_obj = json.loads(result)
|
5569
|
+
except TypeError as e:
|
5570
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5571
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5572
|
+
break
|
5573
|
+
cur_time = time.time()
|
5574
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5575
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5576
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5577
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5578
|
+
else:
|
5579
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5580
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5581
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5582
|
+
|
5583
|
+
|
5480
5584
|
def doActivateTWeCallLicense(args, parsed_globals):
|
5481
5585
|
g_param = parse_global_arg(parsed_globals)
|
5482
5586
|
|
@@ -7517,6 +7621,7 @@ ACTION_MAP = {
|
|
7517
7621
|
"DescribeFirmwareTask": doDescribeFirmwareTask,
|
7518
7622
|
"GetPositionSpaceList": doGetPositionSpaceList,
|
7519
7623
|
"ResetCloudStorage": doResetCloudStorage,
|
7624
|
+
"InvokeExternalSourceAIServiceTask": doInvokeExternalSourceAIServiceTask,
|
7520
7625
|
"DescribeLoRaFrequency": doDescribeLoRaFrequency,
|
7521
7626
|
"ModifyPositionSpace": doModifyPositionSpace,
|
7522
7627
|
"DescribeCloudStorageTime": doDescribeCloudStorageTime,
|
@@ -7569,6 +7674,7 @@ ACTION_MAP = {
|
|
7569
7674
|
"GetStudioProductList": doGetStudioProductList,
|
7570
7675
|
"DescribeModelDefinition": doDescribeModelDefinition,
|
7571
7676
|
"DescribeBatchProduction": doDescribeBatchProduction,
|
7677
|
+
"CreateExternalSourceAIServiceTask": doCreateExternalSourceAIServiceTask,
|
7572
7678
|
"ActivateTWeCallLicense": doActivateTWeCallLicense,
|
7573
7679
|
"UpdateDeviceTWeCallAuthorizeStatus": doUpdateDeviceTWeCallAuthorizeStatus,
|
7574
7680
|
"DeleteCloudStorageEvent": doDeleteCloudStorageEvent,
|
@@ -91,6 +91,13 @@
|
|
91
91
|
"output": "CreateDeviceResponse",
|
92
92
|
"status": "online"
|
93
93
|
},
|
94
|
+
"CreateExternalSourceAIServiceTask": {
|
95
|
+
"document": "创建外部视频 AI 分析任务",
|
96
|
+
"input": "CreateExternalSourceAIServiceTaskRequest",
|
97
|
+
"name": "创建外部视频AI分析任务",
|
98
|
+
"output": "CreateExternalSourceAIServiceTaskResponse",
|
99
|
+
"status": "online"
|
100
|
+
},
|
94
101
|
"CreateFenceBind": {
|
95
102
|
"document": "创建围栏绑定信息",
|
96
103
|
"input": "CreateFenceBindRequest",
|
@@ -749,6 +756,13 @@
|
|
749
756
|
"output": "InheritCloudStorageUserResponse",
|
750
757
|
"status": "online"
|
751
758
|
},
|
759
|
+
"InvokeExternalSourceAIServiceTask": {
|
760
|
+
"document": "创建外部视频 AI 分析任务",
|
761
|
+
"input": "InvokeExternalSourceAIServiceTaskRequest",
|
762
|
+
"name": "同步执行外部视频AI分析任务",
|
763
|
+
"output": "InvokeExternalSourceAIServiceTaskResponse",
|
764
|
+
"status": "online"
|
765
|
+
},
|
752
766
|
"ListEventHistory": {
|
753
767
|
"document": "获取设备的历史事件",
|
754
768
|
"input": "ListEventHistoryRequest",
|
@@ -2545,6 +2559,88 @@
|
|
2545
2559
|
],
|
2546
2560
|
"type": "object"
|
2547
2561
|
},
|
2562
|
+
"CreateExternalSourceAIServiceTaskRequest": {
|
2563
|
+
"document": "CreateExternalSourceAIServiceTask请求参数结构体",
|
2564
|
+
"members": [
|
2565
|
+
{
|
2566
|
+
"disabled": false,
|
2567
|
+
"document": "产品 ID",
|
2568
|
+
"example": "TQBDY6RPI9",
|
2569
|
+
"member": "string",
|
2570
|
+
"name": "ProductId",
|
2571
|
+
"required": true,
|
2572
|
+
"type": "string"
|
2573
|
+
},
|
2574
|
+
{
|
2575
|
+
"disabled": false,
|
2576
|
+
"document": "云存 AI 服务类型。可选值:\n- `RealtimeObjectDetect`:目标检测\n- `Highlight`:视频浓缩\n- `VideoToText`:视频语义理解",
|
2577
|
+
"example": "Highlight",
|
2578
|
+
"member": "string",
|
2579
|
+
"name": "ServiceType",
|
2580
|
+
"required": true,
|
2581
|
+
"type": "string"
|
2582
|
+
},
|
2583
|
+
{
|
2584
|
+
"disabled": false,
|
2585
|
+
"document": "分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)",
|
2586
|
+
"example": "[\"https://example.com/timeshift.m3u8\"]",
|
2587
|
+
"member": "string",
|
2588
|
+
"name": "VideoURLs",
|
2589
|
+
"required": true,
|
2590
|
+
"type": "list"
|
2591
|
+
},
|
2592
|
+
{
|
2593
|
+
"disabled": false,
|
2594
|
+
"document": "自定义任务 ID",
|
2595
|
+
"example": "event-123",
|
2596
|
+
"member": "string",
|
2597
|
+
"name": "CustomId",
|
2598
|
+
"required": false,
|
2599
|
+
"type": "string"
|
2600
|
+
},
|
2601
|
+
{
|
2602
|
+
"disabled": false,
|
2603
|
+
"document": "视频分析配置参数",
|
2604
|
+
"example": "{\"param1\":\"value1\"}",
|
2605
|
+
"member": "string",
|
2606
|
+
"name": "Config",
|
2607
|
+
"required": false,
|
2608
|
+
"type": "string"
|
2609
|
+
},
|
2610
|
+
{
|
2611
|
+
"disabled": false,
|
2612
|
+
"document": "视频分析识别区域",
|
2613
|
+
"example": "{}",
|
2614
|
+
"member": "string",
|
2615
|
+
"name": "ROI",
|
2616
|
+
"required": false,
|
2617
|
+
"type": "string"
|
2618
|
+
}
|
2619
|
+
],
|
2620
|
+
"type": "object"
|
2621
|
+
},
|
2622
|
+
"CreateExternalSourceAIServiceTaskResponse": {
|
2623
|
+
"document": "CreateExternalSourceAIServiceTask返回参数结构体",
|
2624
|
+
"members": [
|
2625
|
+
{
|
2626
|
+
"disabled": false,
|
2627
|
+
"document": "任务 ID",
|
2628
|
+
"example": "fb066d7a-baac-4706-acda-058f56f82759",
|
2629
|
+
"member": "string",
|
2630
|
+
"name": "TaskId",
|
2631
|
+
"output_required": true,
|
2632
|
+
"type": "string",
|
2633
|
+
"value_allowed_null": false
|
2634
|
+
},
|
2635
|
+
{
|
2636
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2637
|
+
"member": "string",
|
2638
|
+
"name": "RequestId",
|
2639
|
+
"type": "string"
|
2640
|
+
}
|
2641
|
+
],
|
2642
|
+
"type": "object"
|
2643
|
+
},
|
2548
2644
|
"CreateFenceBindRequest": {
|
2549
2645
|
"document": "CreateFenceBind请求参数结构体",
|
2550
2646
|
"members": [
|
@@ -9972,6 +10068,108 @@
|
|
9972
10068
|
],
|
9973
10069
|
"usage": "out"
|
9974
10070
|
},
|
10071
|
+
"InvokeExternalSourceAIServiceTaskRequest": {
|
10072
|
+
"document": "InvokeExternalSourceAIServiceTask请求参数结构体",
|
10073
|
+
"members": [
|
10074
|
+
{
|
10075
|
+
"disabled": false,
|
10076
|
+
"document": "产品 ID",
|
10077
|
+
"example": "TQBDY6RPI9",
|
10078
|
+
"member": "string",
|
10079
|
+
"name": "ProductId",
|
10080
|
+
"required": true,
|
10081
|
+
"type": "string"
|
10082
|
+
},
|
10083
|
+
{
|
10084
|
+
"disabled": false,
|
10085
|
+
"document": "云存 AI 服务类型。可选值:\n- `RealtimeObjectDetect`:目标检测\n- `Highlight`:视频浓缩\n- `VideoToText`:视频语义理解",
|
10086
|
+
"example": "Highlight",
|
10087
|
+
"member": "string",
|
10088
|
+
"name": "ServiceType",
|
10089
|
+
"required": true,
|
10090
|
+
"type": "string"
|
10091
|
+
},
|
10092
|
+
{
|
10093
|
+
"disabled": false,
|
10094
|
+
"document": "分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)",
|
10095
|
+
"example": "[\"https://example.com/timeshift.m3u8\"]",
|
10096
|
+
"member": "string",
|
10097
|
+
"name": "VideoURLs",
|
10098
|
+
"required": true,
|
10099
|
+
"type": "list"
|
10100
|
+
},
|
10101
|
+
{
|
10102
|
+
"disabled": false,
|
10103
|
+
"document": "自定义任务 ID",
|
10104
|
+
"example": "event-123",
|
10105
|
+
"member": "string",
|
10106
|
+
"name": "CustomId",
|
10107
|
+
"required": false,
|
10108
|
+
"type": "string"
|
10109
|
+
},
|
10110
|
+
{
|
10111
|
+
"disabled": false,
|
10112
|
+
"document": "视频分析配置参数",
|
10113
|
+
"example": "{\"param1\":\"value1\"}",
|
10114
|
+
"member": "string",
|
10115
|
+
"name": "Config",
|
10116
|
+
"required": false,
|
10117
|
+
"type": "string"
|
10118
|
+
},
|
10119
|
+
{
|
10120
|
+
"disabled": false,
|
10121
|
+
"document": "视频分析识别区域",
|
10122
|
+
"example": "{}",
|
10123
|
+
"member": "string",
|
10124
|
+
"name": "ROI",
|
10125
|
+
"required": false,
|
10126
|
+
"type": "string"
|
10127
|
+
}
|
10128
|
+
],
|
10129
|
+
"type": "object"
|
10130
|
+
},
|
10131
|
+
"InvokeExternalSourceAIServiceTaskResponse": {
|
10132
|
+
"document": "InvokeExternalSourceAIServiceTask返回参数结构体",
|
10133
|
+
"members": [
|
10134
|
+
{
|
10135
|
+
"disabled": false,
|
10136
|
+
"document": "任务是否执行完成",
|
10137
|
+
"example": "true",
|
10138
|
+
"member": "bool",
|
10139
|
+
"name": "Completed",
|
10140
|
+
"output_required": true,
|
10141
|
+
"type": "bool",
|
10142
|
+
"value_allowed_null": false
|
10143
|
+
},
|
10144
|
+
{
|
10145
|
+
"disabled": false,
|
10146
|
+
"document": "任务 ID",
|
10147
|
+
"example": "fb066d7a-baac-4706-acda-058f56f82759",
|
10148
|
+
"member": "string",
|
10149
|
+
"name": "TaskId",
|
10150
|
+
"output_required": true,
|
10151
|
+
"type": "string",
|
10152
|
+
"value_allowed_null": false
|
10153
|
+
},
|
10154
|
+
{
|
10155
|
+
"disabled": false,
|
10156
|
+
"document": "任务信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
10157
|
+
"example": "无",
|
10158
|
+
"member": "CloudStorageAIServiceTask",
|
10159
|
+
"name": "TaskInfo",
|
10160
|
+
"output_required": true,
|
10161
|
+
"type": "object",
|
10162
|
+
"value_allowed_null": true
|
10163
|
+
},
|
10164
|
+
{
|
10165
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
10166
|
+
"member": "string",
|
10167
|
+
"name": "RequestId",
|
10168
|
+
"type": "string"
|
10169
|
+
}
|
10170
|
+
],
|
10171
|
+
"type": "object"
|
10172
|
+
},
|
9975
10173
|
"ListEventHistoryRequest": {
|
9976
10174
|
"document": "ListEventHistory请求参数结构体",
|
9977
10175
|
"members": [
|
@@ -176,6 +176,14 @@
|
|
176
176
|
"title": "创建手动指定psk的设备"
|
177
177
|
}
|
178
178
|
],
|
179
|
+
"CreateExternalSourceAIServiceTask": [
|
180
|
+
{
|
181
|
+
"document": "",
|
182
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateExternalSourceAIServiceTask\n<公共请求参数>\n\n{\n \"ProductId\": \"TQBDY6RPI9\",\n \"ServiceType\": \"Highlight\",\n \"VideoURLs\": [\n \"https://example.com/video.mp4\"\n ],\n \"Config\": \"{}\"\n}",
|
183
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c497cdcb-8eaf-46b0-8850-311cfb278798\",\n \"TaskId\": \"fb066d7a-baac-4706-acda-058f56f82759\"\n }\n}",
|
184
|
+
"title": "创建外部视频 AI 分析任务"
|
185
|
+
}
|
186
|
+
],
|
179
187
|
"CreateFenceBind": [
|
180
188
|
{
|
181
189
|
"document": "创建围栏绑定信息",
|
@@ -934,6 +942,20 @@
|
|
934
942
|
"title": "继承云存用户"
|
935
943
|
}
|
936
944
|
],
|
945
|
+
"InvokeExternalSourceAIServiceTask": [
|
946
|
+
{
|
947
|
+
"document": "",
|
948
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeExternalSourceAIServiceTask\n<公共请求参数>\n\n{\n \"ProductId\": \"TQBDY6RPI9\",\n \"ServiceType\": \"Highlight\",\n \"VideoURLs\": [\n \"https://example.com/video.mp4\"\n ],\n \"Config\": \"{}\"\n}",
|
949
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8b490930-d119-4ee2-963c-c58973a1ebe6\",\n \"Completed\": true,\n \"TaskId\": \"c31aa4f2-08c9-4088-9603-186d7311fdd8\",\n \"TaskInfo\": {\n \"ChannelId\": 0,\n \"CreateTime\": 1714240802,\n \"DeviceName\": \"dev001\",\n \"EndTime\": 1714233600,\n \"Files\": [\n \"output.mp4\"\n ],\n \"ProductId\": \"TSLFHRWDSD\",\n \"Result\": \"\",\n \"ServiceType\": \"Highlight\",\n \"StartTime\": 1714147200,\n \"Status\": 3,\n \"TaskId\": \"c31aa4f2-08c9-4088-9603-186d7311fdd8\",\n \"UpdateTime\": 1714240802\n }\n }\n}",
|
950
|
+
"title": "创建外部视频 AI 分析任务(执行成功)"
|
951
|
+
},
|
952
|
+
{
|
953
|
+
"document": "",
|
954
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeExternalSourceAIServiceTask\n<公共请求参数>\n\n{\n \"ProductId\": \"TQBDY6RPI9\",\n \"ServiceType\": \"Highlight\",\n \"VideoURLs\": [\n \"https://example.com/video.mp4\"\n ],\n \"Config\": \"{}\"\n}",
|
955
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8b490930-d119-4ee2-963c-c58973a1ebe6\",\n \"Completed\": false,\n \"TaskId\": \"c31aa4f2-08c9-4088-9603-186d7311fdd8\",\n \"TaskInfo\": {\n \"ChannelId\": 0,\n \"CreateTime\": 1714240802,\n \"DeviceName\": \"dev001\",\n \"EndTime\": 1714233600,\n \"Files\": [],\n \"ProductId\": \"TSLFHRWDSD\",\n \"Result\": \"\",\n \"ServiceType\": \"Highlight\",\n \"StartTime\": 1714147200,\n \"Status\": 4,\n \"TaskId\": \"c31aa4f2-08c9-4088-9603-186d7311fdd8\",\n \"UpdateTime\": 1714240802\n }\n }\n}",
|
956
|
+
"title": "创建外部视频 AI 分析任务(超时未完成,转异步)"
|
957
|
+
}
|
958
|
+
],
|
937
959
|
"ListEventHistory": [
|
938
960
|
{
|
939
961
|
"document": "用于查询设备上报的所有类型历史事件信息",
|
@@ -3158,7 +3158,7 @@
|
|
3158
3158
|
},
|
3159
3159
|
{
|
3160
3160
|
"disabled": false,
|
3161
|
-
"document": "
|
3161
|
+
"document": "文档状态: 1-未生成 2-生成中 3-生成成功 4-生成失败 5-删除中 6-删除成功 7-审核中 8-审核失败 9-审核成功 10-待发布 11-发布中 12-已发布 13-学习中 14-学习失败 15-更新中 16-更新失败 17-解析中 18-解析失败 19-导入失败 20-已过期 21-超量失效 22-超量失效恢复",
|
3162
3162
|
"example": "无",
|
3163
3163
|
"member": "int64",
|
3164
3164
|
"name": "Status",
|
@@ -1497,7 +1497,7 @@
|
|
1497
1497
|
},
|
1498
1498
|
{
|
1499
1499
|
"disabled": false,
|
1500
|
-
"document": "
|
1500
|
+
"document": "若多可用区部署云数据库实例,指定多可用区列表。\n- 多可用区部署实例,参数 **Zone** 指定实例主可用区信息;**AvailabilityZoneList** 指定所有可用区信息,包含主可用区。输入格式如:[ap-guangzhou-2,ap-guangzhou-3,ap-guangzhou-4]。\n- 通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 可获取云数据库不同地域规划的可用区信息,以便指定有效的可用区。\n- 多可用区部署节点只能部署在3个不同可用区。不支持将集群的大多数节点部署在同一个可用区。例如:3节点集群不支持2个节点部署在同一个区。",
|
1501
1501
|
"example": "无",
|
1502
1502
|
"member": "string",
|
1503
1503
|
"name": "AvailabilityZoneList",
|