tccli 3.0.1376.1__py2.py3-none-any.whl → 3.0.1378.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.
Files changed (58) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/autoscaling/v20180419/api.json +3 -3
  3. tccli/services/bi/bi_client.py +53 -0
  4. tccli/services/bi/v20220105/api.json +101 -0
  5. tccli/services/bi/v20220105/examples.json +8 -0
  6. tccli/services/cdb/v20170320/api.json +16 -6
  7. tccli/services/cdb/v20170320/examples.json +1 -1
  8. tccli/services/cfs/v20190719/api.json +1 -1
  9. tccli/services/cls/v20201016/api.json +19 -17
  10. tccli/services/cls/v20201016/examples.json +1 -1
  11. tccli/services/csip/v20221121/api.json +12 -12
  12. tccli/services/cwp/v20180228/api.json +39 -9
  13. tccli/services/cwp/v20180228/examples.json +6 -0
  14. tccli/services/cynosdb/v20190107/api.json +12 -12
  15. tccli/services/dc/v20180410/api.json +18 -0
  16. tccli/services/dlc/v20210125/api.json +28 -9
  17. tccli/services/dlc/v20210125/examples.json +2 -2
  18. tccli/services/dts/dts_client.py +79 -26
  19. tccli/services/dts/v20211206/api.json +34 -0
  20. tccli/services/dts/v20211206/examples.json +8 -0
  21. tccli/services/ess/ess_client.py +106 -0
  22. tccli/services/ess/v20201111/api.json +267 -11
  23. tccli/services/ess/v20201111/examples.json +16 -0
  24. tccli/services/essbasic/v20210526/api.json +6 -6
  25. tccli/services/faceid/v20180301/api.json +1 -1
  26. tccli/services/ioa/ioa_client.py +106 -0
  27. tccli/services/ioa/v20220601/api.json +498 -0
  28. tccli/services/ioa/v20220601/examples.json +16 -0
  29. tccli/services/iotexplorer/iotexplorer_client.py +53 -0
  30. tccli/services/iotexplorer/v20190423/api.json +261 -1
  31. tccli/services/iotexplorer/v20190423/examples.json +86 -6
  32. tccli/services/live/v20180801/api.json +1 -1
  33. tccli/services/lkeap/v20240522/api.json +17 -7
  34. tccli/services/mna/v20210119/api.json +1 -1
  35. tccli/services/mongodb/v20190725/api.json +22 -10
  36. tccli/services/mps/v20190612/api.json +112 -2
  37. tccli/services/mqtt/mqtt_client.py +265 -0
  38. tccli/services/mqtt/v20240516/api.json +480 -0
  39. tccli/services/mqtt/v20240516/examples.json +40 -0
  40. tccli/services/ocr/v20181119/api.json +5 -5
  41. tccli/services/partners/v20180321/api.json +15 -15
  42. tccli/services/rce/v20201103/api.json +1 -1
  43. tccli/services/tdmq/tdmq_client.py +53 -0
  44. tccli/services/tdmq/v20200217/api.json +156 -1
  45. tccli/services/tdmq/v20200217/examples.json +8 -0
  46. tccli/services/tione/v20211111/api.json +200 -20
  47. tccli/services/tione/v20211111/examples.json +1 -1
  48. tccli/services/tke/v20180525/api.json +10 -0
  49. tccli/services/tke/v20220501/api.json +20 -2
  50. tccli/services/trtc/v20190722/api.json +22 -11
  51. tccli/services/tsf/v20180326/api.json +4 -4
  52. tccli/services/vclm/v20240523/api.json +9 -0
  53. tccli/services/vpc/v20170312/api.json +11 -2
  54. {tccli-3.0.1376.1.dist-info → tccli-3.0.1378.1.dist-info}/METADATA +2 -2
  55. {tccli-3.0.1376.1.dist-info → tccli-3.0.1378.1.dist-info}/RECORD +58 -58
  56. {tccli-3.0.1376.1.dist-info → tccli-3.0.1378.1.dist-info}/WHEEL +0 -0
  57. {tccli-3.0.1376.1.dist-info → tccli-3.0.1378.1.dist-info}/entry_points.txt +0 -0
  58. {tccli-3.0.1376.1.dist-info → tccli-3.0.1378.1.dist-info}/license_files/LICENSE +0 -0
@@ -58,6 +58,14 @@
58
58
  "title": "查询账号分组列表"
59
59
  }
60
60
  ],
61
+ "DescribeAggrSoftCategorySoftList": [
62
+ {
63
+ "document": "1",
64
+ "input": "POST / HTTP/1.1\nHost: ioa.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAggrSoftCategorySoftList\n<公共请求参数>\n\n{\n \"OsType\": 0\n}",
65
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"Page\": {\n \"PageSize\": 1,\n \"PageNum\": 1,\n \"PageCount\": 1,\n \"Total\": 1\n },\n \"Total\": 0,\n \"AggrSoftCategorySoftList\": [\n {\n \"ID\": 0,\n \"Name\": \"11\",\n \"PiracyRisk\": 0,\n \"OsType\": 0,\n \"CorpName\": \"11\",\n \"InstalledDeviceNum\": 0,\n \"PiracyInstalledDeviceNum\": 0,\n \"InstalledUserNum\": 0,\n \"PiracyInstalledUserNum\": 0,\n \"AuthNum\": 0,\n \"GenuineRate\": 0\n }\n ]\n },\n \"RequestId\": \"11\"\n }\n}",
66
+ "title": "1"
67
+ }
68
+ ],
61
69
  "DescribeDLPFileDetectResult": [
62
70
  {
63
71
  "document": "查询检测结果,结果失败",
@@ -72,6 +80,14 @@
72
80
  "title": "检测成功示例"
73
81
  }
74
82
  ],
83
+ "DescribeDeviceChildGroups": [
84
+ {
85
+ "document": "测试",
86
+ "input": "POST / HTTP/1.1\nHost: ioa.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDeviceChildGroups\n<公共请求参数>\n\n{\n \"ParentId\": 92,\n \"OsType\": 0\n}",
87
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"Items\": [\n {\n \"BindAccount\": 0,\n \"Count\": 11,\n \"Description\": \"\",\n \"FromAuto\": 0,\n \"HasIp\": false,\n \"Icon\": \"\",\n \"Id\": 93,\n \"IdPath\": \"92.93\",\n \"IsLeaf\": true,\n \"Locked\": 0,\n \"Name\": \"未分组终端\",\n \"NamePath\": \"全网终端.未分组终端\",\n \"OsType\": 0,\n \"ParentId\": 92,\n \"ReadOnly\": false,\n \"Sort\": 0,\n \"WithIp\": 0\n },\n {\n \"BindAccount\": 0,\n \"Count\": 0,\n \"Description\": \"\",\n \"FromAuto\": 0,\n \"HasIp\": false,\n \"Icon\": \"\",\n \"Id\": 94,\n \"IdPath\": \"92.94\",\n \"IsLeaf\": true,\n \"Locked\": 0,\n \"Name\": \"服务器\",\n \"NamePath\": \"全网终端.服务器\",\n \"OsType\": 0,\n \"ParentId\": 92,\n \"ReadOnly\": false,\n \"Sort\": 0,\n \"WithIp\": 0\n },\n {\n \"BindAccount\": 0,\n \"Count\": 4,\n \"Description\": \"\",\n \"FromAuto\": 0,\n \"HasIp\": false,\n \"Icon\": \"\",\n \"Id\": 74700,\n \"IdPath\": \"92.74700\",\n \"IsLeaf\": false,\n \"Locked\": 2,\n \"Name\": \"TestBone\",\n \"NamePath\": \"全网终端.TestBone\",\n \"OsType\": 0,\n \"ParentId\": 92,\n \"ReadOnly\": false,\n \"Sort\": 0,\n \"WithIp\": 0\n },\n {\n \"BindAccount\": 1,\n \"Count\": 11,\n \"Description\": \"\",\n \"FromAuto\": 0,\n \"HasIp\": false,\n \"Icon\": \"\",\n \"Id\": 74699,\n \"IdPath\": \"92.74699\",\n \"IsLeaf\": false,\n \"Locked\": 2,\n \"Name\": \"Test-New\",\n \"NamePath\": \"全网终端.Test-New\",\n \"OsType\": 0,\n \"ParentId\": 92,\n \"ReadOnly\": false,\n \"Sort\": 0,\n \"WithIp\": 0\n }\n ]\n },\n \"RequestId\": \"73d262a9-4c0f-4f68-bce2-3718f98c6494\"\n }\n}",
88
+ "title": "测试"
89
+ }
90
+ ],
75
91
  "DescribeDeviceHardwareInfoList": [
76
92
  {
77
93
  "document": "查询终端硬件信息列表",
@@ -6413,6 +6413,58 @@ def doInvokeVideosKeywordsAnalyzer(args, parsed_globals):
6413
6413
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6414
6414
 
6415
6415
 
6416
+ def doDescribeTWeSeeRecognitionTask(args, parsed_globals):
6417
+ g_param = parse_global_arg(parsed_globals)
6418
+
6419
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
6420
+ cred = credential.CVMRoleCredential()
6421
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
6422
+ cred = credential.STSAssumeRoleCredential(
6423
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
6424
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
6425
+ )
6426
+ 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):
6427
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
6428
+ else:
6429
+ cred = credential.Credential(
6430
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
6431
+ )
6432
+ http_profile = HttpProfile(
6433
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
6434
+ reqMethod="POST",
6435
+ endpoint=g_param[OptionsDefine.Endpoint],
6436
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
6437
+ )
6438
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
6439
+ if g_param[OptionsDefine.Language]:
6440
+ profile.language = g_param[OptionsDefine.Language]
6441
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
6442
+ client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
6443
+ client._sdkVersion += ("_CLI_" + __version__)
6444
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
6445
+ model = models.DescribeTWeSeeRecognitionTaskRequest()
6446
+ model.from_json_string(json.dumps(args))
6447
+ start_time = time.time()
6448
+ while True:
6449
+ rsp = client.DescribeTWeSeeRecognitionTask(model)
6450
+ result = rsp.to_json_string()
6451
+ try:
6452
+ json_obj = json.loads(result)
6453
+ except TypeError as e:
6454
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
6455
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
6456
+ break
6457
+ cur_time = time.time()
6458
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
6459
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
6460
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
6461
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
6462
+ else:
6463
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
6464
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
6465
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6466
+
6467
+
6416
6468
  def doDescribeBatchProduction(args, parsed_globals):
6417
6469
  g_param = parse_global_arg(parsed_globals)
6418
6470
 
@@ -8939,6 +8991,7 @@ ACTION_MAP = {
8939
8991
  "DescribeProject": doDescribeProject,
8940
8992
  "GetStudioProductList": doGetStudioProductList,
8941
8993
  "InvokeVideosKeywordsAnalyzer": doInvokeVideosKeywordsAnalyzer,
8994
+ "DescribeTWeSeeRecognitionTask": doDescribeTWeSeeRecognitionTask,
8942
8995
  "DescribeBatchProduction": doDescribeBatchProduction,
8943
8996
  "CreateExternalSourceAIServiceTask": doCreateExternalSourceAIServiceTask,
8944
8997
  "ActivateTWeCallLicense": doActivateTWeCallLicense,
@@ -665,6 +665,13 @@
665
665
  "output": "DescribeTWeSeeConfigResponse",
666
666
  "status": "online"
667
667
  },
668
+ "DescribeTWeSeeRecognitionTask": {
669
+ "document": "查询 TWeSee 语义理解任务",
670
+ "input": "DescribeTWeSeeRecognitionTaskRequest",
671
+ "name": "查询 TWeSee 语义理解任务",
672
+ "output": "DescribeTWeSeeRecognitionTaskResponse",
673
+ "status": "online"
674
+ },
668
675
  "DescribeTopicPolicy": {
669
676
  "document": "本接口(DescribeTopicPolicy)用于查看Topic详细信息",
670
677
  "input": "DescribeTopicPolicyRequest",
@@ -4389,11 +4396,29 @@
4389
4396
  {
4390
4397
  "disabled": false,
4391
4398
  "document": "摘要输出配置",
4392
- "example": "{\"OutputLang\": \"en\"}",
4399
+ "example": "",
4393
4400
  "member": "VisionSummaryConfig",
4394
4401
  "name": "SummaryConfig",
4395
4402
  "required": false,
4396
4403
  "type": "object"
4404
+ },
4405
+ {
4406
+ "disabled": false,
4407
+ "document": "算法类型,可能取值:\n- `Summary`:视频/图片摘要\n- `ObjectDetect`:目标检测",
4408
+ "example": "Summary",
4409
+ "member": "string",
4410
+ "name": "ServiceType",
4411
+ "required": false,
4412
+ "type": "string"
4413
+ },
4414
+ {
4415
+ "disabled": false,
4416
+ "document": "目标检测配置",
4417
+ "example": "无",
4418
+ "member": "VisionObjectDetectConfig",
4419
+ "name": "ObjectDetectConfig",
4420
+ "required": false,
4421
+ "type": "object"
4397
4422
  }
4398
4423
  ],
4399
4424
  "type": "object"
@@ -8897,6 +8922,52 @@
8897
8922
  ],
8898
8923
  "type": "object"
8899
8924
  },
8925
+ "DescribeTWeSeeRecognitionTaskRequest": {
8926
+ "document": "DescribeTWeSeeRecognitionTask请求参数结构体",
8927
+ "members": [
8928
+ {
8929
+ "disabled": false,
8930
+ "document": "任务 ID",
8931
+ "example": "01985f3b-1781-75e6-aed5-d6510855f086",
8932
+ "member": "string",
8933
+ "name": "TaskId",
8934
+ "required": true,
8935
+ "type": "string"
8936
+ },
8937
+ {
8938
+ "disabled": false,
8939
+ "document": "下载 URL 的过期时间。\n\n若传入该参数,则响应中将包含所有文件的下载 URL",
8940
+ "example": "1743436800",
8941
+ "member": "int64",
8942
+ "name": "FileURLExpireTime",
8943
+ "required": false,
8944
+ "type": "int"
8945
+ }
8946
+ ],
8947
+ "type": "object"
8948
+ },
8949
+ "DescribeTWeSeeRecognitionTaskResponse": {
8950
+ "document": "DescribeTWeSeeRecognitionTask返回参数结构体",
8951
+ "members": [
8952
+ {
8953
+ "disabled": false,
8954
+ "document": "任务信息",
8955
+ "example": "无",
8956
+ "member": "VisionRecognitionTask",
8957
+ "name": "TaskInfo",
8958
+ "output_required": true,
8959
+ "type": "object",
8960
+ "value_allowed_null": false
8961
+ },
8962
+ {
8963
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
8964
+ "member": "string",
8965
+ "name": "RequestId",
8966
+ "type": "string"
8967
+ }
8968
+ ],
8969
+ "type": "object"
8970
+ },
8900
8971
  "DescribeTopicPolicyRequest": {
8901
8972
  "document": "DescribeTopicPolicy请求参数结构体",
8902
8973
  "members": [
@@ -12418,6 +12489,24 @@
12418
12489
  "name": "SummaryConfig",
12419
12490
  "required": false,
12420
12491
  "type": "object"
12492
+ },
12493
+ {
12494
+ "disabled": false,
12495
+ "document": "算法类型,可能取值:\n- `Summary`:视频/图片摘要\n- `ObjectDetect`:目标检测",
12496
+ "example": "Summary",
12497
+ "member": "string",
12498
+ "name": "ServiceType",
12499
+ "required": false,
12500
+ "type": "string"
12501
+ },
12502
+ {
12503
+ "disabled": false,
12504
+ "document": "目标检测配置",
12505
+ "example": "无",
12506
+ "member": "VisionObjectDetectConfig",
12507
+ "name": "ObjectDetectConfig",
12508
+ "required": false,
12509
+ "type": "object"
12421
12510
  }
12422
12511
  ],
12423
12512
  "type": "object"
@@ -17289,6 +17378,21 @@
17289
17378
  ],
17290
17379
  "usage": "out"
17291
17380
  },
17381
+ "VisionObjectDetectConfig": {
17382
+ "document": "目标检测配置",
17383
+ "members": [
17384
+ {
17385
+ "disabled": false,
17386
+ "document": "检测类别,可选值:\n- `adult`:成年人\n- `child`:儿童",
17387
+ "example": "[\"adult\", \"child\"]",
17388
+ "member": "string",
17389
+ "name": "DetectTypes",
17390
+ "required": false,
17391
+ "type": "list"
17392
+ }
17393
+ ],
17394
+ "usage": "in"
17395
+ },
17292
17396
  "VisionRecognitionResult": {
17293
17397
  "document": "TWeSee 语义理解结果",
17294
17398
  "members": [
@@ -17345,6 +17449,162 @@
17345
17449
  ],
17346
17450
  "usage": "out"
17347
17451
  },
17452
+ "VisionRecognitionTask": {
17453
+ "document": "TWeSee 语义理解任务信息",
17454
+ "members": [
17455
+ {
17456
+ "disabled": false,
17457
+ "document": "云存 AI 服务任务 ID",
17458
+ "example": "fb066d7a-baac-4706-acda-058f56f82759",
17459
+ "member": "string",
17460
+ "name": "TaskId",
17461
+ "output_required": true,
17462
+ "type": "string",
17463
+ "value_allowed_null": false
17464
+ },
17465
+ {
17466
+ "disabled": false,
17467
+ "document": "产品 ID",
17468
+ "example": "TQBDY6RPI9",
17469
+ "member": "string",
17470
+ "name": "ProductId",
17471
+ "output_required": true,
17472
+ "type": "string",
17473
+ "value_allowed_null": false
17474
+ },
17475
+ {
17476
+ "disabled": false,
17477
+ "document": "设备名称",
17478
+ "example": "cs_112114601_2",
17479
+ "member": "string",
17480
+ "name": "DeviceName",
17481
+ "output_required": true,
17482
+ "type": "string",
17483
+ "value_allowed_null": false
17484
+ },
17485
+ {
17486
+ "disabled": false,
17487
+ "document": "通道 ID",
17488
+ "example": "0",
17489
+ "member": "uint64",
17490
+ "name": "ChannelId",
17491
+ "output_required": true,
17492
+ "type": "int",
17493
+ "value_allowed_null": false
17494
+ },
17495
+ {
17496
+ "disabled": false,
17497
+ "document": "对应云存视频的起始时间(秒级 UNIX 时间戳)",
17498
+ "example": "1710487888",
17499
+ "member": "int64",
17500
+ "name": "StartTime",
17501
+ "output_required": true,
17502
+ "type": "int",
17503
+ "value_allowed_null": false
17504
+ },
17505
+ {
17506
+ "disabled": false,
17507
+ "document": "对应云存视频的起始时间(毫秒级 UNIX 时间戳)",
17508
+ "example": "1710487888270",
17509
+ "member": "int64",
17510
+ "name": "StartTimeMs",
17511
+ "output_required": false,
17512
+ "type": "int",
17513
+ "value_allowed_null": false
17514
+ },
17515
+ {
17516
+ "disabled": false,
17517
+ "document": "对应云存视频的结束时间(秒级 UNIX 时间戳)",
17518
+ "example": "1710487898",
17519
+ "member": "int64",
17520
+ "name": "EndTime",
17521
+ "output_required": true,
17522
+ "type": "int",
17523
+ "value_allowed_null": false
17524
+ },
17525
+ {
17526
+ "disabled": false,
17527
+ "document": "对应云存视频的结束时间(毫秒级 UNIX 时间戳)",
17528
+ "example": "1710487898990",
17529
+ "member": "int64",
17530
+ "name": "EndTimeMs",
17531
+ "output_required": false,
17532
+ "type": "int",
17533
+ "value_allowed_null": false
17534
+ },
17535
+ {
17536
+ "disabled": false,
17537
+ "document": "任务状态(1:分析失败;2:下载/读取视频/图片失败;3:成功;4:执行中)",
17538
+ "example": "3",
17539
+ "member": "uint64",
17540
+ "name": "Status",
17541
+ "output_required": true,
17542
+ "type": "int",
17543
+ "value_allowed_null": false
17544
+ },
17545
+ {
17546
+ "disabled": false,
17547
+ "document": "任务结果",
17548
+ "example": "无",
17549
+ "member": "VisionRecognitionResult",
17550
+ "name": "Result",
17551
+ "output_required": true,
17552
+ "type": "object",
17553
+ "value_allowed_null": false
17554
+ },
17555
+ {
17556
+ "disabled": false,
17557
+ "document": "创建时间",
17558
+ "example": "1711338476",
17559
+ "member": "int64",
17560
+ "name": "CreateTime",
17561
+ "output_required": true,
17562
+ "type": "int",
17563
+ "value_allowed_null": false
17564
+ },
17565
+ {
17566
+ "disabled": false,
17567
+ "document": "最后更新时间",
17568
+ "example": "1711338476",
17569
+ "member": "int64",
17570
+ "name": "UpdateTime",
17571
+ "output_required": true,
17572
+ "type": "int",
17573
+ "value_allowed_null": false
17574
+ },
17575
+ {
17576
+ "disabled": false,
17577
+ "document": "自定义任务 ID",
17578
+ "example": "your-custom-id",
17579
+ "member": "string",
17580
+ "name": "CustomId",
17581
+ "output_required": false,
17582
+ "type": "string",
17583
+ "value_allowed_null": false
17584
+ },
17585
+ {
17586
+ "disabled": false,
17587
+ "document": "任务输出文件列表",
17588
+ "example": "[\"thumbnail.jpg\"]",
17589
+ "member": "string",
17590
+ "name": "Files",
17591
+ "output_required": true,
17592
+ "type": "list",
17593
+ "value_allowed_null": false
17594
+ },
17595
+ {
17596
+ "disabled": false,
17597
+ "document": "任务输出文件信息列表",
17598
+ "example": "无",
17599
+ "member": "CloudStorageAIServiceTaskFileInfo",
17600
+ "name": "FilesInfo",
17601
+ "output_required": false,
17602
+ "type": "list",
17603
+ "value_allowed_null": false
17604
+ }
17605
+ ],
17606
+ "usage": "out"
17607
+ },
17348
17608
  "VisionSummaryConfig": {
17349
17609
  "document": "视频摘要配置",
17350
17610
  "members": [
@@ -297,9 +297,39 @@
297
297
  "CreateTWeSeeRecognitionTask": [
298
298
  {
299
299
  "document": "",
300
- "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"dev001\",\n \"InputURL\": \"hhttps://example.com/video.mp4\",\n \"CustomId\": \"event-1\",\n \"EnableSearch\": true,\n \"StartTimeMs\": 1744389074077,\n \"EndTimeMs\": 1744389075077\n}",
301
- "output": "{\n \"Response\": {\n \"RequestId\": \"26083bec-a7bd-491f-b6df-45e7f143638c\",\n \"TaskId\": \"019625b1-15d6-72d8-a5d6-388b45c92c67\"\n }\n}",
302
- "title": "创建 TWeSee 语义理解任务"
300
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"ServiceType\": \"Summary\"\n}",
301
+ "output": "{\n \"Response\": {\n \"RequestId\": \"f3d7d0eb-d28d-43b0-9b8c-676f785edcb3\",\n \"TaskId\": \"0198cbc3-8c89-70f2-a07a-5a39b606bc92\"\n }\n}",
302
+ "title": "创建视频摘要任务"
303
+ },
304
+ {
305
+ "document": "",
306
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"EnableSearch\": true,\n \"StartTimeMs\": 1755765320366,\n \"EndTimeMs\": 1755765328366,\n \"ServiceType\": \"Summary\"\n}",
307
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7a2ea4f-8a8c-484c-afde-c82005c643fb\",\n \"TaskId\": \"0198cbc4-eca1-78dd-b8ff-c150b97e081f\"\n }\n}",
308
+ "title": "创建视频摘要任务且使该视频可被搜索"
309
+ },
310
+ {
311
+ "document": "",
312
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"not_exist_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"IsCustomDevice\": true,\n \"ServiceType\": \"Summary\"\n}",
313
+ "output": "{\n \"Response\": {\n \"RequestId\": \"988080c5-b74a-4185-a404-f2877e08f97e\",\n \"TaskId\": \"0198cbc6-e472-79c6-953a-5240495d7640\"\n }\n}",
314
+ "title": "使用未创建的设备名创建视频摘要任务"
315
+ },
316
+ {
317
+ "document": "",
318
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/image.jpg\",\n \"InputType\": \"image\",\n \"ServiceType\": \"Summary\"\n}",
319
+ "output": "{\n \"Response\": {\n \"RequestId\": \"65dcf25f-385a-4b63-9a60-c99caa28f45a\",\n \"TaskId\": \"0198cbc8-8680-7b0a-bd4f-4dbff77853cd\"\n }\n}",
320
+ "title": "创建图片摘要任务"
321
+ },
322
+ {
323
+ "document": "",
324
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"SummaryConfig\": {\n \"MultiCameraLayout\": \"Vertical,Num=2,Index=0;1\"\n },\n \"ServiceType\": \"Summary\"\n}",
325
+ "output": "{\n \"Response\": {\n \"RequestId\": \"35044438-d9b8-42ee-a169-a40d9ecd96cc\",\n \"TaskId\": \"0198cbc5-e684-7335-a168-593d91d5d89f\"\n }\n}",
326
+ "title": "创建视频摘要任务(包含多路摄像头的视频)"
327
+ },
328
+ {
329
+ "document": "",
330
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"ServiceType\": \"ObjectDetect\",\n \"ObjectDetectConfig\": {\n \"DetectTypes\": [\n \"adult\",\n \"child\"\n ]\n }\n}",
331
+ "output": "{\n \"Response\": {\n \"RequestId\": \"57096151-fd04-4558-a2f9-280943e9682d\",\n \"TaskId\": \"0198cbc2-91df-79cd-96ca-0f73ef661632\"\n }\n}",
332
+ "title": "创建目标检测任务"
303
333
  }
304
334
  ],
305
335
  "CreateTopicPolicy": [
@@ -844,6 +874,14 @@
844
874
  "title": "查询 TWeSee 配置"
845
875
  }
846
876
  ],
877
+ "DescribeTWeSeeRecognitionTask": [
878
+ {
879
+ "document": "",
880
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"TaskId\": \"01985f3b-1781-75e6-aed5-d6510855f086\"\n}",
881
+ "output": "{\n \"Response\": {\n \"RequestId\": \"a8632226-fe3c-4f70-86d9-eb995cefeae8\",\n \"TaskInfo\": {\n \"ChannelId\": 0,\n \"CreateTime\": 1753944365,\n \"DeviceName\": \"dev002\",\n \"EndTime\": 1753944365,\n \"EndTimeMs\": 1753944365774,\n \"Files\": [],\n \"FilesInfo\": [],\n \"ProductId\": \"4AHMY9X89Y\",\n \"Result\": {\n \"DetectedClassifications\": [\n \"person\",\n \"vehicle\"\n ],\n \"Status\": 3,\n \"Summary\": \"一穿蓝上衣的人驾驶蓝卡车在道路上行驶。\"\n },\n \"StartTime\": 1753944364,\n \"StartTimeMs\": 1753944364774,\n \"Status\": 3,\n \"TaskId\": \"01985f3b-1781-75e6-aed5-d6510855f086\",\n \"UpdateTime\": 1753944368\n }\n }\n}",
882
+ "title": "查询 TWeSee 语义理解任务"
883
+ }
884
+ ],
847
885
  "DescribeTopicPolicy": [
848
886
  {
849
887
  "document": "",
@@ -1103,11 +1141,53 @@
1103
1141
  }
1104
1142
  ],
1105
1143
  "InvokeTWeSeeRecognitionTask": [
1144
+ {
1145
+ "document": "最大超时时间为 20 秒",
1146
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"ServiceType\": \"Summary\"\n}",
1147
+ "output": "{\n \"Response\": {\n \"Completed\": true,\n \"RequestId\": \"dc51b72e-872d-4908-82c3-f2e2794f2f60\",\n \"Result\": {\n \"DetectedClassifications\": [\n \"person\"\n ],\n \"Status\": 3,\n \"Summary\": \"穿白衣服的人正在公园的小路上行走\"\n },\n \"TaskId\": \"0198cbcc-d65f-7606-b4ac-664381086005\"\n }\n}",
1148
+ "title": "创建视频摘要任务并等待结果返回"
1149
+ },
1150
+ {
1151
+ "document": "",
1152
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"EnableSearch\": true,\n \"StartTimeMs\": 1755765320366,\n \"EndTimeMs\": 1755765328366,\n \"ServiceType\": \"Summary\"\n}",
1153
+ "output": "{\n \"Response\": {\n \"Completed\": true,\n \"RequestId\": \"dc51b72e-872d-4908-82c3-f2e2794f2f60\",\n \"Result\": {\n \"DetectedClassifications\": [\n \"person\"\n ],\n \"Status\": 3,\n \"Summary\": \"穿白衣服的人正在公园的小路上行走\"\n },\n \"TaskId\": \"0198cbcc-d65f-7606-b4ac-664381086005\"\n }\n}",
1154
+ "title": "创建视频摘要任务并等待结果返回(使该视频可被搜索)"
1155
+ },
1156
+ {
1157
+ "document": "",
1158
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"not_exist_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"IsCustomDevice\": true,\n \"ServiceType\": \"Summary\"\n}",
1159
+ "output": "{\n \"Response\": {\n \"Completed\": true,\n \"RequestId\": \"dc51b72e-872d-4908-82c3-f2e2794f2f60\",\n \"Result\": {\n \"DetectedClassifications\": [\n \"person\"\n ],\n \"Status\": 3,\n \"Summary\": \"穿白衣服的人正在公园的小路上行走\"\n },\n \"TaskId\": \"0198cbcc-d65f-7606-b4ac-664381086005\"\n }\n}",
1160
+ "title": "创建视频摘要任务并等待结果返回(使用未创建的设备名)"
1161
+ },
1106
1162
  {
1107
1163
  "document": "",
1108
- "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"dev001\",\n \"InputURL\": \"hhttps://example.com/video.mp4\",\n \"CustomId\": \"event-1\",\n \"EnableSearch\": true,\n \"StartTimeMs\": 1744389074077,\n \"EndTimeMs\": 1744389075077\n}",
1109
- "output": "{\n \"Response\": {\n \"Completed\": true,\n \"RequestId\": \"26083bec-a7bd-491f-b6df-45e7f143638c\",\n \"Result\": {\n \"DetectedClassifications\": [\n \"person\"\n ],\n \"Status\": 3,\n \"Summary\": \"一个人在雨中行走\"\n },\n \"TaskId\": \"019625b1-15d6-72d8-a5d6-388b45c92c67\"\n }\n}",
1110
- "title": "同步执行 TWeSee 语义理解任务"
1164
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/image.jpg\",\n \"InputType\": \"image\",\n \"ServiceType\": \"Summary\"\n}",
1165
+ "output": "{\n \"Response\": {\n \"Completed\": true,\n \"RequestId\": \"dc51b72e-872d-4908-82c3-f2e2794f2f60\",\n \"Result\": {\n \"DetectedClassifications\": [\n \"person\"\n ],\n \"Status\": 3,\n \"Summary\": \"穿白衣服的人正在公园的小路上行走\"\n },\n \"TaskId\": \"0198cbcc-d65f-7606-b4ac-664381086005\"\n }\n}",
1166
+ "title": "创建图片摘要任务并等待结果返回"
1167
+ },
1168
+ {
1169
+ "document": "",
1170
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"SummaryConfig\": {\n \"MultiCameraLayout\": \"Vertical,Num=2,Index=0;1\"\n },\n \"ServiceType\": \"Summary\"\n}",
1171
+ "output": "{\n \"Response\": {\n \"Completed\": true,\n \"RequestId\": \"dc51b72e-872d-4908-82c3-f2e2794f2f60\",\n \"Result\": {\n \"DetectedClassifications\": [\n \"person\"\n ],\n \"Status\": 3,\n \"Summary\": \"穿白衣服的人正在公园的小路上行走\"\n },\n \"TaskId\": \"0198cbcc-d65f-7606-b4ac-664381086005\"\n }\n}",
1172
+ "title": "创建视频摘要任务并等待结果返回(包含多路摄像头的视频)"
1173
+ },
1174
+ {
1175
+ "document": "最大超时时间为 20 秒",
1176
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"ServiceType\": \"ObjectDetect\",\n \"ObjectDetectConfig\": {\n \"DetectTypes\": [\n \"adult\",\n \"child\"\n ]\n }\n}",
1177
+ "output": "{\n \"Response\": {\n \"Completed\": true,\n \"RequestId\": \"dc51b72e-872d-4908-82c3-f2e2794f2f60\",\n \"Result\": {\n \"DetectedClassifications\": [\n \"adult\"\n ],\n \"Status\": 3\n },\n \"TaskId\": \"0198cbcc-d65f-7606-b4ac-664381086005\"\n }\n}",
1178
+ "title": "创建目标检测任务并等待结果返回"
1179
+ },
1180
+ {
1181
+ "document": "下载/读取视频/图片失败时,返回 Status = 2,ErrorCode 字段指出具体错误原因",
1182
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"ServiceType\": \"Summary\"\n}",
1183
+ "output": "{\n \"Response\": {\n \"Completed\": true,\n \"RequestId\": \"dc51b72e-872d-4908-82c3-f2e2794f2f60\",\n \"Result\": {\n \"ErrorCode\": \"DownloadFailed\",\n \"Status\": 2\n },\n \"TaskId\": \"0198cbcc-d65f-7606-b4ac-664381086005\"\n }\n}",
1184
+ "title": "创建视频摘要任务后任务执行失败的情况"
1185
+ },
1186
+ {
1187
+ "document": "任务执行 20 秒仍未返回结果,返回 Completed = false,任务将继续执行,后续可凭 TaskId 通过 DescribeTWeSeeRecognitionTask 重新查询该任务的结果",
1188
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"ServiceType\": \"Summary\"\n}",
1189
+ "output": "{\n \"Response\": {\n \"Completed\": false,\n \"RequestId\": \"dc51b72e-872d-4908-82c3-f2e2794f2f60\",\n \"TaskId\": \"0198cbcc-d65f-7606-b4ac-664381086005\"\n }\n}",
1190
+ "title": "创建视频摘要任务后任务执行超时的情况"
1111
1191
  }
1112
1192
  ],
1113
1193
  "InvokeVideosKeywordsAnalyzer": [
@@ -19521,7 +19521,7 @@
19521
19521
  "members": [
19522
19522
  {
19523
19523
  "disabled": false,
19524
- "document": "录制间隔。\n单位秒,默认:1800。\n取值范围:30-7200。\n此参数对 HLS 无效,当录制 HLS 时从推流到断流生成一个文件。",
19524
+ "document": "录制间隔。\n单位秒,默认:1800。\nFLV、MP4取值范围: 60-43200, AAC取值范围: 60-7200 。\n此参数对 HLS 无效,当录制 HLS 时从推流到断流生成一个文件。",
19525
19525
  "example": "400",
19526
19526
  "member": "int64",
19527
19527
  "name": "RecordInterval",