tccli 3.0.1234.1__py2.py3-none-any.whl → 3.0.1236.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/cdb/v20170320/api.json +15 -15
  3. tccli/services/cls/v20201016/api.json +4 -4
  4. tccli/services/cwp/cwp_client.py +326 -8
  5. tccli/services/cwp/v20180228/api.json +488 -1
  6. tccli/services/cwp/v20180228/examples.json +48 -0
  7. tccli/services/essbasic/v20210526/api.json +10 -0
  8. tccli/services/faceid/v20180301/api.json +19 -0
  9. tccli/services/hunyuan/v20230901/api.json +12 -3
  10. tccli/services/iotexplorer/iotexplorer_client.py +159 -0
  11. tccli/services/iotexplorer/v20190423/api.json +298 -4
  12. tccli/services/iotexplorer/v20190423/examples.json +30 -0
  13. tccli/services/iotvideo/iotvideo_client.py +106 -0
  14. tccli/services/iotvideo/v20211125/api.json +169 -0
  15. tccli/services/iotvideo/v20211125/examples.json +16 -0
  16. tccli/services/ocr/v20181119/api.json +5 -5
  17. tccli/services/ocr/v20181119/examples.json +7 -7
  18. tccli/services/privatedns/v20201028/api.json +8 -8
  19. tccli/services/smh/v20210712/api.json +7 -7
  20. tccli/services/smh/v20210712/examples.json +1 -1
  21. tccli/services/sms/v20210111/api.json +1 -1
  22. tccli/services/ssl/v20191205/api.json +46 -33
  23. tccli/services/ssl/v20191205/examples.json +13 -13
  24. tccli/services/tcbr/v20220217/api.json +71 -71
  25. tccli/services/tcbr/v20220217/examples.json +13 -31
  26. tccli/services/teo/v20220901/api.json +1 -1
  27. tccli/services/trocket/v20230308/api.json +19 -0
  28. tccli/services/tsf/v20180326/api.json +1577 -1408
  29. tccli/services/tsf/v20180326/examples.json +55 -61
  30. tccli/services/vrs/v20200824/api.json +68 -6
  31. tccli/services/vrs/v20200824/examples.json +8 -0
  32. tccli/services/vrs/vrs_client.py +53 -0
  33. tccli/services/wedata/v20210820/api.json +76 -0
  34. {tccli-3.0.1234.1.dist-info → tccli-3.0.1236.1.dist-info}/METADATA +2 -2
  35. {tccli-3.0.1234.1.dist-info → tccli-3.0.1236.1.dist-info}/RECORD +38 -38
  36. {tccli-3.0.1234.1.dist-info → tccli-3.0.1236.1.dist-info}/WHEEL +0 -0
  37. {tccli-3.0.1234.1.dist-info → tccli-3.0.1236.1.dist-info}/entry_points.txt +0 -0
  38. {tccli-3.0.1234.1.dist-info → tccli-3.0.1236.1.dist-info}/license_files/LICENSE +0 -0
@@ -10,14 +10,14 @@
10
10
  "ChatCompletions": {
11
11
  "document": "腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。\n\n 1. 本接口暂不支持返回图片内容。\n 2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。\n 3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。\n 4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。",
12
12
  "input": "ChatCompletionsRequest",
13
- "name": "hunyuan",
13
+ "name": "对话",
14
14
  "output": "ChatCompletionsResponse",
15
15
  "status": "online"
16
16
  },
17
17
  "ChatTranslations": {
18
18
  "document": "腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。\n\n 1. 本接口暂不支持返回图片内容。\n 2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。\n 3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。\n 4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。",
19
19
  "input": "ChatTranslationsRequest",
20
- "name": "hunyuan-translations",
20
+ "name": "翻译",
21
21
  "output": "ChatTranslationsResponse",
22
22
  "status": "online"
23
23
  },
@@ -52,7 +52,7 @@
52
52
  "GetEmbedding": {
53
53
  "document": "腾讯混元 Embedding 接口,可以将文本转化为高质量的向量数据。向量维度为1024维。",
54
54
  "input": "GetEmbeddingRequest",
55
- "name": "hunyuan-embedding",
55
+ "name": "向量化",
56
56
  "output": "GetEmbeddingResponse",
57
57
  "status": "online"
58
58
  },
@@ -323,6 +323,15 @@
323
323
  "name": "ForceSearchEnhancement",
324
324
  "required": false,
325
325
  "type": "bool"
326
+ },
327
+ {
328
+ "disabled": false,
329
+ "document": "自定义结束生成字符串",
330
+ "example": "无",
331
+ "member": "string",
332
+ "name": "Stop",
333
+ "required": false,
334
+ "type": "list"
326
335
  }
327
336
  ],
328
337
  "type": "object"
@@ -4385,6 +4385,58 @@ def doGetProjectList(args, parsed_globals):
4385
4385
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4386
4386
 
4387
4387
 
4388
+ def doCreateFreeCloudStorage(args, parsed_globals):
4389
+ g_param = parse_global_arg(parsed_globals)
4390
+
4391
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4392
+ cred = credential.CVMRoleCredential()
4393
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4394
+ cred = credential.STSAssumeRoleCredential(
4395
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4396
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4397
+ )
4398
+ 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):
4399
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4400
+ else:
4401
+ cred = credential.Credential(
4402
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4403
+ )
4404
+ http_profile = HttpProfile(
4405
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4406
+ reqMethod="POST",
4407
+ endpoint=g_param[OptionsDefine.Endpoint],
4408
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4409
+ )
4410
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4411
+ if g_param[OptionsDefine.Language]:
4412
+ profile.language = g_param[OptionsDefine.Language]
4413
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4414
+ client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
4415
+ client._sdkVersion += ("_CLI_" + __version__)
4416
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4417
+ model = models.CreateFreeCloudStorageRequest()
4418
+ model.from_json_string(json.dumps(args))
4419
+ start_time = time.time()
4420
+ while True:
4421
+ rsp = client.CreateFreeCloudStorage(model)
4422
+ result = rsp.to_json_string()
4423
+ try:
4424
+ json_obj = json.loads(result)
4425
+ except TypeError as e:
4426
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4427
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4428
+ break
4429
+ cur_time = time.time()
4430
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4431
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4432
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4433
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4434
+ else:
4435
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4436
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4437
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4438
+
4439
+
4388
4440
  def doGetTWeCallPkgList(args, parsed_globals):
4389
4441
  g_param = parse_global_arg(parsed_globals)
4390
4442
 
@@ -5269,6 +5321,58 @@ def doCreateBatchProduction(args, parsed_globals):
5269
5321
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5270
5322
 
5271
5323
 
5324
+ def doCreateCloudStorageAIServiceTask(args, parsed_globals):
5325
+ g_param = parse_global_arg(parsed_globals)
5326
+
5327
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
5328
+ cred = credential.CVMRoleCredential()
5329
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
5330
+ cred = credential.STSAssumeRoleCredential(
5331
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
5332
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
5333
+ )
5334
+ 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):
5335
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
5336
+ else:
5337
+ cred = credential.Credential(
5338
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
5339
+ )
5340
+ http_profile = HttpProfile(
5341
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
5342
+ reqMethod="POST",
5343
+ endpoint=g_param[OptionsDefine.Endpoint],
5344
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
5345
+ )
5346
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
5347
+ if g_param[OptionsDefine.Language]:
5348
+ profile.language = g_param[OptionsDefine.Language]
5349
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
5350
+ client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
5351
+ client._sdkVersion += ("_CLI_" + __version__)
5352
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
5353
+ model = models.CreateCloudStorageAIServiceTaskRequest()
5354
+ model.from_json_string(json.dumps(args))
5355
+ start_time = time.time()
5356
+ while True:
5357
+ rsp = client.CreateCloudStorageAIServiceTask(model)
5358
+ result = rsp.to_json_string()
5359
+ try:
5360
+ json_obj = json.loads(result)
5361
+ except TypeError as e:
5362
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
5363
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
5364
+ break
5365
+ cur_time = time.time()
5366
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
5367
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
5368
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
5369
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
5370
+ else:
5371
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
5372
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
5373
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5374
+
5375
+
5272
5376
  def doDisableTopicRule(args, parsed_globals):
5273
5377
  g_param = parse_global_arg(parsed_globals)
5274
5378
 
@@ -5841,6 +5945,58 @@ def doDeleteDevices(args, parsed_globals):
5841
5945
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5842
5946
 
5843
5947
 
5948
+ def doCreateDeviceChannel(args, parsed_globals):
5949
+ g_param = parse_global_arg(parsed_globals)
5950
+
5951
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
5952
+ cred = credential.CVMRoleCredential()
5953
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
5954
+ cred = credential.STSAssumeRoleCredential(
5955
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
5956
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
5957
+ )
5958
+ 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):
5959
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
5960
+ else:
5961
+ cred = credential.Credential(
5962
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
5963
+ )
5964
+ http_profile = HttpProfile(
5965
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
5966
+ reqMethod="POST",
5967
+ endpoint=g_param[OptionsDefine.Endpoint],
5968
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
5969
+ )
5970
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
5971
+ if g_param[OptionsDefine.Language]:
5972
+ profile.language = g_param[OptionsDefine.Language]
5973
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
5974
+ client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
5975
+ client._sdkVersion += ("_CLI_" + __version__)
5976
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
5977
+ model = models.CreateDeviceChannelRequest()
5978
+ model.from_json_string(json.dumps(args))
5979
+ start_time = time.time()
5980
+ while True:
5981
+ rsp = client.CreateDeviceChannel(model)
5982
+ result = rsp.to_json_string()
5983
+ try:
5984
+ json_obj = json.loads(result)
5985
+ except TypeError as e:
5986
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
5987
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
5988
+ break
5989
+ cur_time = time.time()
5990
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
5991
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
5992
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
5993
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
5994
+ else:
5995
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
5996
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
5997
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5998
+
5999
+
5844
6000
  def doCheckFirmwareUpdate(args, parsed_globals):
5845
6001
  g_param = parse_global_arg(parsed_globals)
5846
6002
 
@@ -7704,6 +7860,7 @@ ACTION_MAP = {
7704
7860
  "DescribeCloudStorage": doDescribeCloudStorage,
7705
7861
  "UploadFirmware": doUploadFirmware,
7706
7862
  "GetProjectList": doGetProjectList,
7863
+ "CreateFreeCloudStorage": doCreateFreeCloudStorage,
7707
7864
  "GetTWeCallPkgList": doGetTWeCallPkgList,
7708
7865
  "UpdateDevicesEnableState": doUpdateDevicesEnableState,
7709
7866
  "ModifyProject": doModifyProject,
@@ -7721,6 +7878,7 @@ ACTION_MAP = {
7721
7878
  "DescribeDeviceFirmwares": doDescribeDeviceFirmwares,
7722
7879
  "BindDevices": doBindDevices,
7723
7880
  "CreateBatchProduction": doCreateBatchProduction,
7881
+ "CreateCloudStorageAIServiceTask": doCreateCloudStorageAIServiceTask,
7724
7882
  "DisableTopicRule": doDisableTopicRule,
7725
7883
  "GetFamilyDeviceUserList": doGetFamilyDeviceUserList,
7726
7884
  "ModifyCloudStorageAIService": doModifyCloudStorageAIService,
@@ -7732,6 +7890,7 @@ ACTION_MAP = {
7732
7890
  "UpdateDeviceTWeCallAuthorizeStatus": doUpdateDeviceTWeCallAuthorizeStatus,
7733
7891
  "DeleteCloudStorageEvent": doDeleteCloudStorageEvent,
7734
7892
  "DeleteDevices": doDeleteDevices,
7893
+ "CreateDeviceChannel": doCreateDeviceChannel,
7735
7894
  "CheckFirmwareUpdate": doCheckFirmwareUpdate,
7736
7895
  "GetGatewaySubDeviceList": doGetGatewaySubDeviceList,
7737
7896
  "GenerateCloudStorageAIServiceTaskFileURL": doGenerateCloudStorageAIServiceTaskFileURL,
@@ -84,6 +84,13 @@
84
84
  "output": "CreateCloudStorageAIServiceResponse",
85
85
  "status": "online"
86
86
  },
87
+ "CreateCloudStorageAIServiceTask": {
88
+ "document": "创建设备云存 AI 分析任务",
89
+ "input": "CreateCloudStorageAIServiceTaskRequest",
90
+ "name": "创建设备云存AI分析任务",
91
+ "output": "CreateCloudStorageAIServiceTaskResponse",
92
+ "status": "online"
93
+ },
87
94
  "CreateDevice": {
88
95
  "document": "创建设备",
89
96
  "input": "CreateDeviceRequest",
@@ -91,6 +98,13 @@
91
98
  "output": "CreateDeviceResponse",
92
99
  "status": "online"
93
100
  },
101
+ "CreateDeviceChannel": {
102
+ "document": "创建设备通道",
103
+ "input": "CreateDeviceChannelRequest",
104
+ "name": "创建设备通道",
105
+ "output": "CreateDeviceChannelResponse",
106
+ "status": "online"
107
+ },
94
108
  "CreateExternalSourceAIServiceTask": {
95
109
  "document": "创建外部视频 AI 分析任务",
96
110
  "input": "CreateExternalSourceAIServiceTaskRequest",
@@ -105,6 +119,13 @@
105
119
  "output": "CreateFenceBindResponse",
106
120
  "status": "online"
107
121
  },
122
+ "CreateFreeCloudStorage": {
123
+ "document": "开通免费云存服务",
124
+ "input": "CreateFreeCloudStorageRequest",
125
+ "name": "开通云存卡服务",
126
+ "output": "CreateFreeCloudStorageResponse",
127
+ "status": "online"
128
+ },
108
129
  "CreateIotVideoCloudStorage": {
109
130
  "document": "开通云存服务",
110
131
  "input": "CreateIotVideoCloudStorageRequest",
@@ -890,11 +911,11 @@
890
911
  "status": "online"
891
912
  },
892
913
  "PublishBroadcastMessage": {
893
- "document": "发布广播消息",
914
+ "document": "发布广播消息、发布RRPC消息属于早期服务,目前已停止维护,需要从官网下线。\n\n发布广播消息",
894
915
  "input": "PublishBroadcastMessageRequest",
895
916
  "name": "发布广播消息",
896
917
  "output": "PublishBroadcastMessageResponse",
897
- "status": "online"
918
+ "status": "deprecated"
898
919
  },
899
920
  "PublishFirmwareUpdateMessage": {
900
921
  "document": "本接口(PublishFirmwareUpdateMessage)用于用户确认升级后,云端向设备发起固件升级请求。",
@@ -911,11 +932,11 @@
911
932
  "status": "online"
912
933
  },
913
934
  "PublishRRPCMessage": {
914
- "document": "下发RRPC消息",
935
+ "document": "发布广播消息、发布RRPC消息属于早期服务,目前已停止维护,需要从官网下线。\n\n下发RRPC消息",
915
936
  "input": "PublishRRPCMessageRequest",
916
937
  "name": "发布RRPC消息",
917
938
  "output": "PublishRRPCMessageResponse",
918
- "status": "online"
939
+ "status": "deprecated"
919
940
  },
920
941
  "ReleaseStudioProduct": {
921
942
  "document": "产品开发完成并测试通过后,通过发布产品将产品设置为发布状态",
@@ -2466,6 +2487,169 @@
2466
2487
  ],
2467
2488
  "type": "object"
2468
2489
  },
2490
+ "CreateCloudStorageAIServiceTaskRequest": {
2491
+ "document": "CreateCloudStorageAIServiceTask请求参数结构体",
2492
+ "members": [
2493
+ {
2494
+ "disabled": false,
2495
+ "document": "产品 ID",
2496
+ "example": "TQBDY6RPI9",
2497
+ "member": "string",
2498
+ "name": "ProductId",
2499
+ "required": true,
2500
+ "type": "string"
2501
+ },
2502
+ {
2503
+ "disabled": false,
2504
+ "document": "设备名称",
2505
+ "example": "cs_112114601_2",
2506
+ "member": "string",
2507
+ "name": "DeviceName",
2508
+ "required": true,
2509
+ "type": "string"
2510
+ },
2511
+ {
2512
+ "disabled": false,
2513
+ "document": "云存 AI 服务类型。可选值:\n- `RealtimeObjectDetect`:目标检测\n- `Highlight`:视频浓缩\n- `VideoToText`:视频语义理解",
2514
+ "example": "Highlight",
2515
+ "member": "string",
2516
+ "name": "ServiceType",
2517
+ "required": true,
2518
+ "type": "string"
2519
+ },
2520
+ {
2521
+ "disabled": false,
2522
+ "document": "待分析云存的起始时间",
2523
+ "example": "1704038400",
2524
+ "member": "uint64",
2525
+ "name": "StartTime",
2526
+ "required": true,
2527
+ "type": "int"
2528
+ },
2529
+ {
2530
+ "disabled": false,
2531
+ "document": "待分析云存的结束时间",
2532
+ "example": "1704124800",
2533
+ "member": "uint64",
2534
+ "name": "EndTime",
2535
+ "required": true,
2536
+ "type": "int"
2537
+ },
2538
+ {
2539
+ "disabled": false,
2540
+ "document": "通道 ID",
2541
+ "example": "1",
2542
+ "member": "uint64",
2543
+ "name": "ChannelId",
2544
+ "required": false,
2545
+ "type": "int"
2546
+ },
2547
+ {
2548
+ "disabled": false,
2549
+ "document": "视频分析配置参数",
2550
+ "example": "{\"param1\":\"value1\"}",
2551
+ "member": "string",
2552
+ "name": "Config",
2553
+ "required": false,
2554
+ "type": "string"
2555
+ },
2556
+ {
2557
+ "disabled": false,
2558
+ "document": "视频分析识别区域",
2559
+ "example": "{}",
2560
+ "member": "string",
2561
+ "name": "ROI",
2562
+ "required": false,
2563
+ "type": "string"
2564
+ },
2565
+ {
2566
+ "disabled": false,
2567
+ "document": "分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)",
2568
+ "example": "[\"https://example.com/timeshift.m3u8\"]",
2569
+ "member": "string",
2570
+ "name": "VideoURLs",
2571
+ "required": false,
2572
+ "type": "list"
2573
+ },
2574
+ {
2575
+ "disabled": false,
2576
+ "document": "自定义任务 ID",
2577
+ "example": "event-123",
2578
+ "member": "string",
2579
+ "name": "CustomId",
2580
+ "required": false,
2581
+ "type": "string"
2582
+ }
2583
+ ],
2584
+ "type": "object"
2585
+ },
2586
+ "CreateCloudStorageAIServiceTaskResponse": {
2587
+ "document": "CreateCloudStorageAIServiceTask返回参数结构体",
2588
+ "members": [
2589
+ {
2590
+ "disabled": false,
2591
+ "document": "任务 ID",
2592
+ "example": "fb066d7a-baac-4706-acda-058f56f82759",
2593
+ "member": "string",
2594
+ "name": "TaskId",
2595
+ "output_required": true,
2596
+ "type": "string",
2597
+ "value_allowed_null": false
2598
+ },
2599
+ {
2600
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2601
+ "member": "string",
2602
+ "name": "RequestId",
2603
+ "type": "string"
2604
+ }
2605
+ ],
2606
+ "type": "object"
2607
+ },
2608
+ "CreateDeviceChannelRequest": {
2609
+ "document": "CreateDeviceChannel请求参数结构体",
2610
+ "members": [
2611
+ {
2612
+ "disabled": false,
2613
+ "document": "产品ID",
2614
+ "example": "H541SOP191",
2615
+ "member": "string",
2616
+ "name": "ProductId",
2617
+ "required": true,
2618
+ "type": "string"
2619
+ },
2620
+ {
2621
+ "disabled": false,
2622
+ "document": "设备名称",
2623
+ "example": "event_36502632_1",
2624
+ "member": "string",
2625
+ "name": "DeviceName",
2626
+ "required": true,
2627
+ "type": "string"
2628
+ },
2629
+ {
2630
+ "disabled": false,
2631
+ "document": "通道ID",
2632
+ "example": "1",
2633
+ "member": "uint64",
2634
+ "name": "ChannelId",
2635
+ "required": true,
2636
+ "type": "int"
2637
+ }
2638
+ ],
2639
+ "type": "object"
2640
+ },
2641
+ "CreateDeviceChannelResponse": {
2642
+ "document": "CreateDeviceChannel返回参数结构体",
2643
+ "members": [
2644
+ {
2645
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2646
+ "member": "string",
2647
+ "name": "RequestId",
2648
+ "type": "string"
2649
+ }
2650
+ ],
2651
+ "type": "object"
2652
+ },
2469
2653
  "CreateDeviceRequest": {
2470
2654
  "document": "CreateDevice请求参数结构体",
2471
2655
  "members": [
@@ -2684,6 +2868,116 @@
2684
2868
  ],
2685
2869
  "type": "object"
2686
2870
  },
2871
+ "CreateFreeCloudStorageRequest": {
2872
+ "document": "CreateFreeCloudStorage请求参数结构体",
2873
+ "members": [
2874
+ {
2875
+ "disabled": false,
2876
+ "document": "产品ID",
2877
+ "example": "H541SOP191",
2878
+ "member": "string",
2879
+ "name": "ProductId",
2880
+ "required": true,
2881
+ "type": "string"
2882
+ },
2883
+ {
2884
+ "disabled": false,
2885
+ "document": "设备名称",
2886
+ "example": "event_36502632_1",
2887
+ "member": "string",
2888
+ "name": "DeviceName",
2889
+ "required": true,
2890
+ "type": "string"
2891
+ },
2892
+ {
2893
+ "disabled": false,
2894
+ "document": "云存套餐ID:\nlye1w3d:低功耗事件3天周套餐。\nye1w3d:事件3天周套餐",
2895
+ "example": "lye1w3d",
2896
+ "member": "string",
2897
+ "name": "PackageId",
2898
+ "required": true,
2899
+ "type": "string"
2900
+ },
2901
+ {
2902
+ "disabled": false,
2903
+ "document": "如果当前设备已开启云存套餐,Override=1会使用新套餐覆盖原有套餐。不传此参数则默认为0。",
2904
+ "example": "0",
2905
+ "member": "uint64",
2906
+ "name": "Override",
2907
+ "required": false,
2908
+ "type": "int"
2909
+ },
2910
+ {
2911
+ "disabled": false,
2912
+ "document": "套餐列表顺序:PackageQueue=front会立即使用新购买的套餐,新购套餐结束后,列表中下一个未过期的套餐继续生效;PackageQueue=end会等设备当前所有已购买套餐过期后才会生效新购套餐。与Override参数不能同时使用。",
2913
+ "example": "front",
2914
+ "member": "string",
2915
+ "name": "PackageQueue",
2916
+ "required": false,
2917
+ "type": "string"
2918
+ },
2919
+ {
2920
+ "disabled": false,
2921
+ "document": "订单id",
2922
+ "example": "slfie21321",
2923
+ "member": "string",
2924
+ "name": "OrderId",
2925
+ "required": false,
2926
+ "type": "string"
2927
+ },
2928
+ {
2929
+ "disabled": false,
2930
+ "document": "通道ID",
2931
+ "example": "1",
2932
+ "member": "uint64",
2933
+ "name": "ChannelId",
2934
+ "required": false,
2935
+ "type": "int"
2936
+ },
2937
+ {
2938
+ "disabled": false,
2939
+ "document": "云存视频存储区域,国内默认为ap-guangzhou。海外默认为东南亚ap-singapore,可选美东na-ashburn、欧洲eu-frankfurt。",
2940
+ "example": "ap-guangzhou",
2941
+ "member": "string",
2942
+ "name": "StorageRegion",
2943
+ "required": false,
2944
+ "type": "string"
2945
+ }
2946
+ ],
2947
+ "type": "object"
2948
+ },
2949
+ "CreateFreeCloudStorageResponse": {
2950
+ "document": "CreateFreeCloudStorage返回参数结构体",
2951
+ "members": [
2952
+ {
2953
+ "disabled": false,
2954
+ "document": "订单金额,单位为分\n注意:此字段可能返回 null,表示取不到有效值。",
2955
+ "example": "100",
2956
+ "member": "uint64",
2957
+ "name": "Price",
2958
+ "output_required": false,
2959
+ "type": "int",
2960
+ "value_allowed_null": true
2961
+ },
2962
+ {
2963
+ "disabled": false,
2964
+ "document": "支付金额,单位为分\n注意:此字段可能返回 null,表示取不到有效值。",
2965
+ "example": "100",
2966
+ "member": "uint64",
2967
+ "name": "Amount",
2968
+ "output_required": false,
2969
+ "type": "int",
2970
+ "value_allowed_null": true
2971
+ },
2972
+ {
2973
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2974
+ "member": "string",
2975
+ "name": "RequestId",
2976
+ "type": "string"
2977
+ }
2978
+ ],
2979
+ "type": "object"
2980
+ },
2687
2981
  "CreateIotVideoCloudStorageRequest": {
2688
2982
  "document": "CreateIotVideoCloudStorage请求参数结构体",
2689
2983
  "members": [
@@ -156,6 +156,20 @@
156
156
  "title": "开通失败:云存 AI 套餐有效时长超过云存套餐的有效时长"
157
157
  }
158
158
  ],
159
+ "CreateCloudStorageAIServiceTask": [
160
+ {
161
+ "document": "",
162
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudStorageAIServiceTask\n<公共请求参数>\n\n{\n \"ProductId\": \"TQBDY6RPI9\",\n \"DeviceName\": \"cs_112114601_2\",\n \"ServiceType\": \"Highlight\",\n \"StartTime\": 1710487888,\n \"EndTime\": 1710487898,\n \"ChannelId\": 0,\n \"Config\": \"{}\"\n}",
163
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c497cdcb-8eaf-46b0-8850-311cfb278798\",\n \"TaskId\": \"fb066d7a-baac-4706-acda-058f56f82759\"\n }\n}",
164
+ "title": "创建设备云存 AI 分析任务"
165
+ },
166
+ {
167
+ "document": "",
168
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudStorageAIServiceTask\n<公共请求参数>\n\n{\n \"ProductId\": \"TQBDY6RPI9\",\n \"DeviceName\": \"cs_112114601_2\",\n \"ServiceType\": \"Highlight\",\n \"StartTime\": 1710487888,\n \"EndTime\": 1710487898,\n \"ChannelId\": 0,\n \"Config\": \"{}\",\n \"VideoURLs\": [\n \"https://example.com/video.mp4\"\n ]\n}",
169
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c497cdcb-8eaf-46b0-8850-311cfb278798\",\n \"TaskId\": \"fb066d7a-baac-4706-acda-058f56f82759\"\n }\n}",
170
+ "title": "使用外部数据源创建云存 AI 分析任务"
171
+ }
172
+ ],
159
173
  "CreateDevice": [
160
174
  {
161
175
  "document": "创建设备",
@@ -176,6 +190,14 @@
176
190
  "title": "创建手动指定psk的设备"
177
191
  }
178
192
  ],
193
+ "CreateDeviceChannel": [
194
+ {
195
+ "document": "",
196
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudStorage\n<公共请求参数>\n\n{\n \"ProductId\": \"H541SOP191\",\n \"DeviceName\": \"event_36502632_1\",\n \"ChannelId\": 1\n}",
197
+ "output": "{\n \"Response\": {\n \"RequestId\": \"a9a9d232-01c0-494a-baa3-57c384463c3f\"\n }\n}",
198
+ "title": "创建设备通道示例"
199
+ }
200
+ ],
179
201
  "CreateExternalSourceAIServiceTask": [
180
202
  {
181
203
  "document": "",
@@ -192,6 +214,14 @@
192
214
  "title": "CreateFenceBind"
193
215
  }
194
216
  ],
217
+ "CreateFreeCloudStorage": [
218
+ {
219
+ "document": "",
220
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudStorage\n<公共请求参数>\n\n{\n \"ProductId\": \"H541SOP191\",\n \"DeviceName\": \"event_36502632_1\",\n \"PackageId\": \"yc1m3d\"\n}",
221
+ "output": "{\n \"Response\": {\n \"Amount\": 0,\n \"Price\": 0,\n \"RequestId\": \"a9a9d232-01c0-494a-baa3-57c384463c3f\"\n }\n}",
222
+ "title": "开通免费实例"
223
+ }
224
+ ],
195
225
  "CreateIotVideoCloudStorage": [
196
226
  {
197
227
  "document": "",