tccli 3.0.1163.1__py2.py3-none-any.whl → 3.0.1164.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 (43) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aiart/v20221229/api.json +5 -5
  3. tccli/services/cbs/v20170312/api.json +1 -1
  4. tccli/services/cdb/v20170320/api.json +48 -12
  5. tccli/services/cdwdoris/cdwdoris_client.py +1260 -94
  6. tccli/services/cdwdoris/v20211228/api.json +3331 -617
  7. tccli/services/cdwdoris/v20211228/examples.json +176 -0
  8. tccli/services/cfs/v20190719/api.json +26 -8
  9. tccli/services/csip/v20221121/api.json +20 -0
  10. tccli/services/emr/v20190103/api.json +21 -3
  11. tccli/services/emr/v20190103/examples.json +2 -2
  12. tccli/services/ess/v20201111/api.json +6 -6
  13. tccli/services/ess/v20201111/examples.json +3 -3
  14. tccli/services/essbasic/v20210526/api.json +4 -4
  15. tccli/services/essbasic/v20210526/examples.json +1 -1
  16. tccli/services/hunyuan/v20230901/api.json +10 -1
  17. tccli/services/hunyuan/v20230901/examples.json +1 -1
  18. tccli/services/iotexplorer/iotexplorer_client.py +110 -4
  19. tccli/services/iotexplorer/v20190423/api.json +190 -0
  20. tccli/services/iotexplorer/v20190423/examples.json +59 -1
  21. tccli/services/lcic/v20220817/api.json +20 -0
  22. tccli/services/monitor/v20180724/api.json +5 -5
  23. tccli/services/monitor/v20180724/examples.json +2 -2
  24. tccli/services/mps/v20190612/api.json +20 -0
  25. tccli/services/mps/v20190612/examples.json +2 -2
  26. tccli/services/organization/organization_client.py +53 -0
  27. tccli/services/organization/v20210331/api.json +208 -0
  28. tccli/services/organization/v20210331/examples.json +8 -0
  29. tccli/services/rce/rce_client.py +477 -0
  30. tccli/services/rce/v20201103/api.json +1749 -231
  31. tccli/services/rce/v20201103/examples.json +72 -0
  32. tccli/services/redis/redis_client.py +114 -8
  33. tccli/services/redis/v20180412/api.json +392 -0
  34. tccli/services/redis/v20180412/examples.json +17 -1
  35. tccli/services/tmt/v20180321/api.json +2 -2
  36. tccli/services/trtc/v20190722/api.json +10 -2
  37. tccli/services/tse/v20201207/api.json +11 -0
  38. tccli/services/tsi/v20210325/api.json +5 -5
  39. {tccli-3.0.1163.1.dist-info → tccli-3.0.1164.1.dist-info}/METADATA +2 -2
  40. {tccli-3.0.1163.1.dist-info → tccli-3.0.1164.1.dist-info}/RECORD +43 -43
  41. {tccli-3.0.1163.1.dist-info → tccli-3.0.1164.1.dist-info}/WHEEL +0 -0
  42. {tccli-3.0.1163.1.dist-info → tccli-3.0.1164.1.dist-info}/entry_points.txt +0 -0
  43. {tccli-3.0.1163.1.dist-info → tccli-3.0.1164.1.dist-info}/license_files/LICENSE +0 -0
@@ -50,7 +50,7 @@
50
50
  "title": "hunyuan-functioncall模型多轮对话示例"
51
51
  },
52
52
  {
53
- "document": "推荐使用 API Explorer 调用接口,见本文档顶部说明。该示例说明hunyuan-vision模型如何调用接口。",
53
+ "document": "推荐使用 API Explorer 调用接口,见本文档顶部说明。该示例说明hunyuan-vision模型如何调用接口。\n\nImageUrl.Url 支持图片链接以及图片 base64 两种方式\njpeg 图片转 base64 示例 (其他图片格式注意修改为对应的 MIME 类型, 如 image/png, image/webp, image/bmp 等):\n\n```python\nimport base64\n\nwith open(\"1.jpeg\", 'rb') as image_file:\n encoded_image = base64.b64encode(image_file.read())\n print(\"data:image/jpeg;base64,\"+encoded_image.decode('utf-8'))\n```",
54
54
  "input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChatCompletions\n<公共请求参数>\n\n{\n \"Model\": \"hunyuan-vision\",\n \"Messages\": [\n {\n \"Role\": \"user\",\n \"Contents\": [\n {\n \"Type\": \"text\",\n \"Text\": \"下面图片中是哪个公司的 Logo?\"\n },\n {\n \"Type\": \"image_url\",\n \"ImageUrl\": {\n \"Url\": \"https://cloudcache.tencent-cloud.com/qcloud/ui/portal-set/build/About/images/bg-product-series_87d.png\"\n }\n }\n ]\n }\n ],\n \"Stream\": false\n}",
55
55
  "output": "{\n \"Response\": {\n \"RequestId\": \"a21f9d7e-c18a-438b-bfb4-7941a2adf8ae\",\n \"Note\": \"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\n \"Choices\": [\n {\n \"Message\": {\n \"Role\": \"assistant\",\n \"Content\": \"这张图片中展示的Logo属于腾讯公司。\"\n },\n \"FinishReason\": \"stop\"\n }\n ],\n \"Created\": 1714290436,\n \"Id\": \"a21f9d7e-c18a-438b-bfb4-7941a2adf8ae\",\n \"Usage\": {\n \"PromptTokens\": 7,\n \"CompletionTokens\": 10,\n \"TotalTokens\": 17\n }\n }\n}",
56
56
  "title": "图片理解示例"
@@ -381,7 +381,7 @@ def doDescribeTopicPolicy(args, parsed_globals):
381
381
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
382
382
 
383
383
 
384
- def doModifyProductCloudStorageAIService(args, parsed_globals):
384
+ def doCreateCloudStorageAIService(args, parsed_globals):
385
385
  g_param = parse_global_arg(parsed_globals)
386
386
 
387
387
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -410,11 +410,11 @@ def doModifyProductCloudStorageAIService(args, parsed_globals):
410
410
  client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
411
411
  client._sdkVersion += ("_CLI_" + __version__)
412
412
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
413
- model = models.ModifyProductCloudStorageAIServiceRequest()
413
+ model = models.CreateCloudStorageAIServiceRequest()
414
414
  model.from_json_string(json.dumps(args))
415
415
  start_time = time.time()
416
416
  while True:
417
- rsp = client.ModifyProductCloudStorageAIService(model)
417
+ rsp = client.CreateCloudStorageAIService(model)
418
418
  result = rsp.to_json_string()
419
419
  try:
420
420
  json_obj = json.loads(result)
@@ -3033,6 +3033,58 @@ def doDescribeCloudStorageThumbnail(args, parsed_globals):
3033
3033
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3034
3034
 
3035
3035
 
3036
+ def doResetCloudStorageAIService(args, parsed_globals):
3037
+ g_param = parse_global_arg(parsed_globals)
3038
+
3039
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
3040
+ cred = credential.CVMRoleCredential()
3041
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
3042
+ cred = credential.STSAssumeRoleCredential(
3043
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
3044
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
3045
+ )
3046
+ 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):
3047
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
3048
+ else:
3049
+ cred = credential.Credential(
3050
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
3051
+ )
3052
+ http_profile = HttpProfile(
3053
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
3054
+ reqMethod="POST",
3055
+ endpoint=g_param[OptionsDefine.Endpoint],
3056
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
3057
+ )
3058
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
3059
+ if g_param[OptionsDefine.Language]:
3060
+ profile.language = g_param[OptionsDefine.Language]
3061
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
3062
+ client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
3063
+ client._sdkVersion += ("_CLI_" + __version__)
3064
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
3065
+ model = models.ResetCloudStorageAIServiceRequest()
3066
+ model.from_json_string(json.dumps(args))
3067
+ start_time = time.time()
3068
+ while True:
3069
+ rsp = client.ResetCloudStorageAIService(model)
3070
+ result = rsp.to_json_string()
3071
+ try:
3072
+ json_obj = json.loads(result)
3073
+ except TypeError as e:
3074
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
3075
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
3076
+ break
3077
+ cur_time = time.time()
3078
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
3079
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
3080
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
3081
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
3082
+ else:
3083
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
3084
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
3085
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3086
+
3087
+
3036
3088
  def doGetWechatDeviceTicket(args, parsed_globals):
3037
3089
  g_param = parse_global_arg(parsed_globals)
3038
3090
 
@@ -3813,6 +3865,58 @@ def doCreatePositionFence(args, parsed_globals):
3813
3865
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3814
3866
 
3815
3867
 
3868
+ def doModifyProductCloudStorageAIService(args, parsed_globals):
3869
+ g_param = parse_global_arg(parsed_globals)
3870
+
3871
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
3872
+ cred = credential.CVMRoleCredential()
3873
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
3874
+ cred = credential.STSAssumeRoleCredential(
3875
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
3876
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
3877
+ )
3878
+ 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):
3879
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
3880
+ else:
3881
+ cred = credential.Credential(
3882
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
3883
+ )
3884
+ http_profile = HttpProfile(
3885
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
3886
+ reqMethod="POST",
3887
+ endpoint=g_param[OptionsDefine.Endpoint],
3888
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
3889
+ )
3890
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
3891
+ if g_param[OptionsDefine.Language]:
3892
+ profile.language = g_param[OptionsDefine.Language]
3893
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
3894
+ client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
3895
+ client._sdkVersion += ("_CLI_" + __version__)
3896
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
3897
+ model = models.ModifyProductCloudStorageAIServiceRequest()
3898
+ model.from_json_string(json.dumps(args))
3899
+ start_time = time.time()
3900
+ while True:
3901
+ rsp = client.ModifyProductCloudStorageAIService(model)
3902
+ result = rsp.to_json_string()
3903
+ try:
3904
+ json_obj = json.loads(result)
3905
+ except TypeError as e:
3906
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
3907
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
3908
+ break
3909
+ cur_time = time.time()
3910
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
3911
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
3912
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
3913
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
3914
+ else:
3915
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
3916
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
3917
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3918
+
3919
+
3816
3920
  def doCreateLoRaGateway(args, parsed_globals):
3817
3921
  g_param = parse_global_arg(parsed_globals)
3818
3922
 
@@ -7367,7 +7471,7 @@ ACTION_MAP = {
7367
7471
  "DescribeFirmwareUpdateStatus": doDescribeFirmwareUpdateStatus,
7368
7472
  "DescribeDevice": doDescribeDevice,
7369
7473
  "DescribeTopicPolicy": doDescribeTopicPolicy,
7370
- "ModifyProductCloudStorageAIService": doModifyProductCloudStorageAIService,
7474
+ "CreateCloudStorageAIService": doCreateCloudStorageAIService,
7371
7475
  "GetProjectList": doGetProjectList,
7372
7476
  "CallDeviceActionSync": doCallDeviceActionSync,
7373
7477
  "DescribeGatewayBindDevices": doDescribeGatewayBindDevices,
@@ -7418,6 +7522,7 @@ ACTION_MAP = {
7418
7522
  "DescribeCloudStorageTime": doDescribeCloudStorageTime,
7419
7523
  "GetTopicRuleList": doGetTopicRuleList,
7420
7524
  "DescribeCloudStorageThumbnail": doDescribeCloudStorageThumbnail,
7525
+ "ResetCloudStorageAIService": doResetCloudStorageAIService,
7421
7526
  "GetWechatDeviceTicket": doGetWechatDeviceTicket,
7422
7527
  "DescribeCloudStorageMultiThumbnail": doDescribeCloudStorageMultiThumbnail,
7423
7528
  "CallDeviceActionAsync": doCallDeviceActionAsync,
@@ -7433,6 +7538,7 @@ ACTION_MAP = {
7433
7538
  "DirectBindDeviceInFamily": doDirectBindDeviceInFamily,
7434
7539
  "DismissRoomByStrRoomIdFromTRTC": doDismissRoomByStrRoomIdFromTRTC,
7435
7540
  "CreatePositionFence": doCreatePositionFence,
7541
+ "ModifyProductCloudStorageAIService": doModifyProductCloudStorageAIService,
7436
7542
  "CreateLoRaGateway": doCreateLoRaGateway,
7437
7543
  "CreateTopicRule": doCreateTopicRule,
7438
7544
  "CreateLoRaFrequency": doCreateLoRaFrequency,
@@ -77,6 +77,13 @@
77
77
  "output": "CreateBatchProductionResponse",
78
78
  "status": "online"
79
79
  },
80
+ "CreateCloudStorageAIService": {
81
+ "document": "开通设备云存AI分析服务",
82
+ "input": "CreateCloudStorageAIServiceRequest",
83
+ "name": "开通设备云存AI分析服务",
84
+ "output": "CreateCloudStorageAIServiceResponse",
85
+ "status": "online"
86
+ },
80
87
  "CreateDevice": {
81
88
  "document": "创建设备",
82
89
  "input": "CreateDeviceRequest",
@@ -910,6 +917,13 @@
910
917
  "output": "ResetCloudStorageResponse",
911
918
  "status": "online"
912
919
  },
920
+ "ResetCloudStorageAIService": {
921
+ "document": "重置指定设备的云存 AI 服务",
922
+ "input": "ResetCloudStorageAIServiceRequest",
923
+ "name": "重置设备云存AI分析服务",
924
+ "output": "ResetCloudStorageAIServiceResponse",
925
+ "status": "online"
926
+ },
913
927
  "ResetCloudStorageEvent": {
914
928
  "document": "重置云存事件",
915
929
  "input": "ResetCloudStorageEventRequest",
@@ -2328,6 +2342,79 @@
2328
2342
  ],
2329
2343
  "type": "object"
2330
2344
  },
2345
+ "CreateCloudStorageAIServiceRequest": {
2346
+ "document": "CreateCloudStorageAIService请求参数结构体",
2347
+ "members": [
2348
+ {
2349
+ "disabled": false,
2350
+ "document": "产品 ID",
2351
+ "example": "H541SOP191",
2352
+ "member": "string",
2353
+ "name": "ProductId",
2354
+ "required": true,
2355
+ "type": "string"
2356
+ },
2357
+ {
2358
+ "disabled": false,
2359
+ "document": "设备名称",
2360
+ "example": "event_36502632_1",
2361
+ "member": "string",
2362
+ "name": "DeviceName",
2363
+ "required": true,
2364
+ "type": "string"
2365
+ },
2366
+ {
2367
+ "disabled": false,
2368
+ "document": "云存 AI 套餐 ID。可选值:\n\n- `1m_low_od`:低功耗目标检测月套餐\n- `1y_low_od`:低功耗目标检测年套餐\n- `1m_ev_od`:事件目标检测月套餐\n- `1y_ev_od`:事件目标检测年套餐\n- `1m_ft_od`:全时目标检测月套餐\n- `1y_ft_od`:全时目标检测年套餐\n- `1m_low_hl`:低功耗视频浓缩月套餐\n- `1y_low_hl`:低功耗视频浓缩年套餐\n- `1m_ev_hl`:事件视频浓缩月套餐\n- `1y_ev_hl`:事件视频浓缩年套餐\n- `1m_ft_hl`:全时视频浓缩月套餐\n- `1y_ft_hl`:全时视频浓缩年套餐",
2369
+ "example": "1m_ev_hl",
2370
+ "member": "string",
2371
+ "name": "PackageId",
2372
+ "required": true,
2373
+ "type": "string"
2374
+ },
2375
+ {
2376
+ "disabled": false,
2377
+ "document": "通道 ID",
2378
+ "example": "1",
2379
+ "member": "uint64",
2380
+ "name": "ChannelId",
2381
+ "required": false,
2382
+ "type": "int"
2383
+ },
2384
+ {
2385
+ "disabled": false,
2386
+ "document": "订单 ID",
2387
+ "example": "20240208123456",
2388
+ "member": "string",
2389
+ "name": "OrderId",
2390
+ "required": false,
2391
+ "type": "string"
2392
+ }
2393
+ ],
2394
+ "type": "object"
2395
+ },
2396
+ "CreateCloudStorageAIServiceResponse": {
2397
+ "document": "CreateCloudStorageAIService返回参数结构体",
2398
+ "members": [
2399
+ {
2400
+ "disabled": false,
2401
+ "document": "订单 ID",
2402
+ "example": "20240208123456",
2403
+ "member": "string",
2404
+ "name": "OrderId",
2405
+ "output_required": true,
2406
+ "type": "string",
2407
+ "value_allowed_null": false
2408
+ },
2409
+ {
2410
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2411
+ "member": "string",
2412
+ "name": "RequestId",
2413
+ "type": "string"
2414
+ }
2415
+ ],
2416
+ "type": "object"
2417
+ },
2331
2418
  "CreateDeviceRequest": {
2332
2419
  "document": "CreateDevice请求参数结构体",
2333
2420
  "members": [
@@ -3916,6 +4003,46 @@
3916
4003
  "DescribeCloudStorageAIServiceResponse": {
3917
4004
  "document": "DescribeCloudStorageAIService返回参数结构体",
3918
4005
  "members": [
4006
+ {
4007
+ "disabled": false,
4008
+ "document": "云存 AI 套餐类型。可能取值:\n\n- `1`:全时套餐\n- `2`:事件套餐\n- `3`:低功耗套餐\n注意:此字段可能返回 null,表示取不到有效值。",
4009
+ "example": "1",
4010
+ "member": "uint64",
4011
+ "name": "Type",
4012
+ "output_required": true,
4013
+ "type": "int",
4014
+ "value_allowed_null": true
4015
+ },
4016
+ {
4017
+ "disabled": false,
4018
+ "document": "云存 AI 套餐生效状态。可能取值:\n\n- `0`:未开通或已过期\n- `1`:生效中\n注意:此字段可能返回 null,表示取不到有效值。",
4019
+ "example": "1",
4020
+ "member": "uint64",
4021
+ "name": "Status",
4022
+ "output_required": true,
4023
+ "type": "int",
4024
+ "value_allowed_null": true
4025
+ },
4026
+ {
4027
+ "disabled": false,
4028
+ "document": "云存 AI 套餐过期时间 UNIX 时间戳\n注意:此字段可能返回 null,表示取不到有效值。",
4029
+ "example": "1719294987",
4030
+ "member": "uint64",
4031
+ "name": "ExpireTime",
4032
+ "output_required": true,
4033
+ "type": "int",
4034
+ "value_allowed_null": true
4035
+ },
4036
+ {
4037
+ "disabled": false,
4038
+ "document": "用户 ID\n注意:此字段可能返回 null,表示取不到有效值。",
4039
+ "example": "user1",
4040
+ "member": "string",
4041
+ "name": "UserId",
4042
+ "output_required": true,
4043
+ "type": "string",
4044
+ "value_allowed_null": true
4045
+ },
3919
4046
  {
3920
4047
  "disabled": false,
3921
4048
  "document": "视频分析启用状态",
@@ -12385,6 +12512,69 @@
12385
12512
  ],
12386
12513
  "type": "object"
12387
12514
  },
12515
+ "ResetCloudStorageAIServiceRequest": {
12516
+ "document": "ResetCloudStorageAIService请求参数结构体",
12517
+ "members": [
12518
+ {
12519
+ "disabled": false,
12520
+ "document": "产品 ID",
12521
+ "example": "TQBDY6RPI9",
12522
+ "member": "string",
12523
+ "name": "ProductId",
12524
+ "required": true,
12525
+ "type": "string"
12526
+ },
12527
+ {
12528
+ "disabled": false,
12529
+ "document": "设备名称",
12530
+ "example": "cs_112114601_2",
12531
+ "member": "string",
12532
+ "name": "DeviceName",
12533
+ "required": true,
12534
+ "type": "string"
12535
+ },
12536
+ {
12537
+ "disabled": false,
12538
+ "document": "云存 AI 服务类型。可选值:\n- `RealtimeObjectDetect`:目标检测\n- `Highlight`:视频浓缩",
12539
+ "example": "Highlight",
12540
+ "member": "string",
12541
+ "name": "ServiceType",
12542
+ "required": true,
12543
+ "type": "string"
12544
+ },
12545
+ {
12546
+ "disabled": false,
12547
+ "document": "通道 ID",
12548
+ "example": "0",
12549
+ "member": "uint64",
12550
+ "name": "ChannelId",
12551
+ "required": false,
12552
+ "type": "int"
12553
+ },
12554
+ {
12555
+ "disabled": false,
12556
+ "document": "用户 ID",
12557
+ "example": "user1",
12558
+ "member": "string",
12559
+ "name": "UserId",
12560
+ "required": false,
12561
+ "type": "string"
12562
+ }
12563
+ ],
12564
+ "type": "object"
12565
+ },
12566
+ "ResetCloudStorageAIServiceResponse": {
12567
+ "document": "ResetCloudStorageAIService返回参数结构体",
12568
+ "members": [
12569
+ {
12570
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
12571
+ "member": "string",
12572
+ "name": "RequestId",
12573
+ "type": "string"
12574
+ }
12575
+ ],
12576
+ "type": "object"
12577
+ },
12388
12578
  "ResetCloudStorageEventRequest": {
12389
12579
  "document": "ResetCloudStorageEvent请求参数结构体",
12390
12580
  "members": [
@@ -118,6 +118,44 @@
118
118
  "title": "新建量产 - 系统生成"
119
119
  }
120
120
  ],
121
+ "CreateCloudStorageAIService": [
122
+ {
123
+ "document": "",
124
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudStorageAIService\n<公共请求参数>\n\n{\n \"ProductId\": \"H541SOP191\",\n \"DeviceName\": \"event_36502632_1\",\n \"PackageId\": \"1m_ev_hl\"\n}",
125
+ "output": "{\n \"Response\": {\n \"RequestId\": \"a9a9d232-01c0-494a-baa3-57c384463c3f\",\n \"OrderId\": \"3c189db8-4637-4f7d-aee5-9d6172c2c9ec\"\n }\n}",
126
+ "title": "开通成功"
127
+ },
128
+ {
129
+ "document": "",
130
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudStorageAIService\n<公共请求参数>\n\n{\n \"ProductId\": \"H541SOP191\",\n \"DeviceName\": \"event_36502632_1\",\n \"PackageId\": \"1m_ev_hl\"\n}",
131
+ "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameter\",\n \"Message\": \"设备未创建或已删除,请检查后重新操作\"\n },\n \"RequestId\": \"053656d4-7694-47c4-9ed3-1d853454f8c7\"\n }\n}",
132
+ "title": "开通失败:指定的设备不存在"
133
+ },
134
+ {
135
+ "document": "设备当前无生效的云存套餐,尝试开通云存 AI 套餐时开通失败",
136
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudStorageAIService\n<公共请求参数>\n\n{\n \"ProductId\": \"H541SOP191\",\n \"DeviceName\": \"event_36502632_1\",\n \"PackageId\": \"1m_ev_hl\"\n}",
137
+ "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.CloudStoragePackageRequired\",\n \"Message\": \"需先开通云存套餐\"\n },\n \"RequestId\": \"4d85001c-1f75-486e-b96c-f75e37b2b9a9\"\n }\n}",
138
+ "title": "开通失败:设备未开通云存套餐"
139
+ },
140
+ {
141
+ "document": "设备当前生效云存月套餐,尝试开通云存 AI 年套餐时开通失败",
142
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudStorageAIService\n<公共请求参数>\n\n{\n \"ProductId\": \"H541SOP191\",\n \"DeviceName\": \"event_36502632_1\",\n \"PackageId\": \"1y_ft_od\"\n}",
143
+ "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"UnsupportedOperation.CloudStoragePackageTimeMismatch\",\n \"Message\": \"云存套餐与云存 AI 套餐时长不匹配\"\n },\n \"RequestId\": \"703a2a1d-1d7b-4625-a151-a985b17f32a5\"\n }\n}",
144
+ "title": "开通失败:云存套餐与云存 AI 套餐时长不匹配"
145
+ },
146
+ {
147
+ "document": "设备当前生效全时云存套餐,尝试开通事件云存 AI 套餐时开通失败",
148
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudStorageAIService\n<公共请求参数>\n\n{\n \"ProductId\": \"H541SOP191\",\n \"DeviceName\": \"event_36502632_1\",\n \"PackageId\": \"1m_ev_od\"\n}",
149
+ "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"UnsupportedOperation.CloudStoragePackageTypeMismatch\",\n \"Message\": \"云存套餐与云存 AI 套餐类型不匹配\"\n },\n \"RequestId\": \"884a9ffd-426f-48bf-ab6a-79a5bb1631c1\"\n }\n}",
150
+ "title": "开通失败:云存套餐与云存 AI 套餐类型不匹配"
151
+ },
152
+ {
153
+ "document": "设备当前生效事件云存月套餐(过期时间为 2024年12月1日 00:00:00),且设备当前生效云存 AI 事件视频浓缩月套餐(过期时间同样为 2024年12月1日 00:00:00),尝试继续追加开通云存 AI 事件视频浓缩月套餐时开通失败",
154
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudStorageAIService\n<公共请求参数>\n\n{\n \"ProductId\": \"H541SOP191\",\n \"DeviceName\": \"event_36502632_1\",\n \"PackageId\": \"1m_ev_hl\"\n}",
155
+ "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.CloudStorageAIPackageExpireTimeExceeded\",\n \"Message\": \"云存 AI 套餐生效时长不能超过当前云存套餐生效时长\"\n },\n \"RequestId\": \"4d85001c-1f75-486e-b96c-f75e37b2b9a9\"\n }\n}",
156
+ "title": "开通失败:云存 AI 套餐有效时长超过云存套餐的有效时长"
157
+ }
158
+ ],
121
159
  "CreateDevice": [
122
160
  {
123
161
  "document": "创建设备",
@@ -350,7 +388,7 @@
350
388
  {
351
389
  "document": "",
352
390
  "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudStorageAIService\n<公共请求参数>\n\n{\n \"ProductId\": \"KH6Q8C4N0D\",\n \"DeviceName\": \"aaa_31400554_1\",\n \"ServiceType\": \"Highlight\"\n}",
353
- "output": "{\n \"Response\": {\n \"Enabled\": true,\n \"ROI\": \"{}\",\n \"Config\": \"{\\\"param1\\\":\\\"value1\\\"}\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
391
+ "output": "{\n \"Response\": {\n \"Enabled\": true,\n \"ROI\": \"{}\",\n \"Config\": \"{\\\"param1\\\":\\\"value1\\\"}\",\n \"Type\": 1,\n \"Status\": 1,\n \"ExpireTime\": 1719294987,\n \"UserId\": \"user1\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
354
392
  "title": "查询设备云存AI服务"
355
393
  }
356
394
  ],
@@ -1100,6 +1138,26 @@
1100
1138
  "title": "ResetCloudStorage"
1101
1139
  }
1102
1140
  ],
1141
+ "ResetCloudStorageAIService": [
1142
+ {
1143
+ "document": "",
1144
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetCloudStorageAIService\n<公共请求参数>\n\n{\n \"ProductId\": \"H541SOP191\",\n \"DeviceName\": \"event_36502632_1\",\n \"ServiceType\": \"RealtimeObjectDetect\"\n}",
1145
+ "output": "{\n \"Response\": {\n \"RequestId\": \"a9a9d232-01c0-494a-baa3-57c384463c3f\"\n }\n}",
1146
+ "title": "重置目标检测服务"
1147
+ },
1148
+ {
1149
+ "document": "",
1150
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetCloudStorageAIService\n<公共请求参数>\n\n{\n \"ProductId\": \"H541SOP191\",\n \"DeviceName\": \"event_36502632_1\",\n \"ServiceType\": \"Highlight\"\n}",
1151
+ "output": "{\n \"Response\": {\n \"RequestId\": \"a9a9d232-01c0-494a-baa3-57c384463c3f\"\n }\n}",
1152
+ "title": "重置视频浓缩服务"
1153
+ },
1154
+ {
1155
+ "document": "传入 ChannelId 指定要操作的通道",
1156
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetCloudStorageAIService\n<公共请求参数>\n\n{\n \"ProductId\": \"H541SOP191\",\n \"DeviceName\": \"event_36502632_1\",\n \"ServiceType\": \"Highlight\",\n \"ChannelId\": 0\n}",
1157
+ "output": "{\n \"Response\": {\n \"RequestId\": \"a9a9d232-01c0-494a-baa3-57c384463c3f\"\n }\n}",
1158
+ "title": "重置指定通道的云存 AI 服务"
1159
+ }
1160
+ ],
1103
1161
  "ResetCloudStorageEvent": [
1104
1162
  {
1105
1163
  "document": "",
@@ -3462,6 +3462,26 @@
3462
3462
  "type": "string",
3463
3463
  "value_allowed_null": false
3464
3464
  },
3465
+ {
3466
+ "disabled": false,
3467
+ "document": "录制类型 0 仅录制混流(默认) ;1 录制混流+单流,该模式下除混流录制基础上,分别录制老师、台上学生的音视频流,每路录制都会产生相应的录制费用 。示例:0",
3468
+ "example": "1",
3469
+ "member": "uint64",
3470
+ "name": "RecordStream",
3471
+ "output_required": false,
3472
+ "type": "int",
3473
+ "value_allowed_null": false
3474
+ },
3475
+ {
3476
+ "disabled": false,
3477
+ "document": "录制模板。房间子类型为视频+白板(SubType=videodoc)时默认为3,房间子类型为纯视频(SubType=video)时默认为0。录制模板枚举值参考:https://cloud.tencent.com/document/product/1639/89744",
3478
+ "example": "3",
3479
+ "member": "uint64",
3480
+ "name": "RecordLayout",
3481
+ "output_required": false,
3482
+ "type": "int",
3483
+ "value_allowed_null": false
3484
+ },
3465
3485
  {
3466
3486
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
3467
3487
  "member": "string",
@@ -3246,7 +3246,7 @@
3246
3246
  },
3247
3247
  {
3248
3248
  "disabled": false,
3249
- "document": "回调通知 最多3个",
3249
+ "document": "回调通知 最多6个",
3250
3250
  "example": "无",
3251
3251
  "member": "URLNotice",
3252
3252
  "name": "URLNotices",
@@ -3283,7 +3283,7 @@
3283
3283
  "example": "notice-abcdef",
3284
3284
  "member": "string",
3285
3285
  "name": "NoticeId",
3286
- "required": true,
3286
+ "output_required": true,
3287
3287
  "type": "string",
3288
3288
  "value_allowed_null": false
3289
3289
  },
@@ -8056,7 +8056,7 @@
8056
8056
  "example": "1",
8057
8057
  "member": "int64",
8058
8058
  "name": "Total",
8059
- "required": true,
8059
+ "output_required": true,
8060
8060
  "type": "int",
8061
8061
  "value_allowed_null": false
8062
8062
  },
@@ -8066,7 +8066,7 @@
8066
8066
  "example": "无",
8067
8067
  "member": "TemplateGroup",
8068
8068
  "name": "TemplateGroupList",
8069
- "required": true,
8069
+ "output_required": true,
8070
8070
  "type": "list",
8071
8071
  "value_allowed_null": true
8072
8072
  },
@@ -15010,7 +15010,7 @@
15010
15010
  },
15011
15011
  {
15012
15012
  "disabled": false,
15013
- "document": "回调通知 最多3个",
15013
+ "document": "回调通知 最多6个",
15014
15014
  "example": "无",
15015
15015
  "member": "URLNotice",
15016
15016
  "name": "URLNotices",
@@ -641,8 +641,8 @@
641
641
  "DescribeConditionsTemplateList": [
642
642
  {
643
643
  "document": "",
644
- "input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConditionsTemplateList\n<公共请求参数>\n\n{\n \"ViewName\": \"cvm_device\",\n \"Module\": \"monitor\",\n \"UpdateTimeOrder\": \"desc\",\n \"GroupName\": \"test\",\n \"Limit\": \"1\",\n \"Offset\": \"0\",\n \"GroupID\": \" 1998658\"\n}",
645
- "output": "{\n \"Response\": {\n \"RequestId\": \"853dafdc-22d4-4e9d-88a7-ebc43abf7cef\",\n \"TemplateGroupList\": [\n {\n \"Conditions\": [\n {\n \"AlarmNotifyPeriod\": 0,\n \"AlarmNotifyType\": 0,\n \"CalcType\": \"\",\n \"CalcValue\": \"\",\n \"ContinueTime\": \"\",\n \"MetricDisplayName\": \"机器重启\",\n \"MetricID\": 25,\n \"Period\": 60,\n \"RuleID\": 5001158,\n \"Unit\": \"\"\n }\n ],\n \"EventConditions\": [\n {\n \"AlarmNotifyPeriod\": \"0\",\n \"AlarmNotifyType\": \"0\",\n \"EventDisplayName\": \"ping不可达\",\n \"EventID\": \"42\",\n \"RuleID\": \"5001160\"\n }\n ],\n \"GroupID\": 1998664,\n \"GroupName\": \"test\",\n \"InsertTime\": 1567074714,\n \"LastEditUin\": 1500000687,\n \"IsUnionRule\": 0,\n \"PolicyGroups\": [\n {\n \"CanSetDefault\": true,\n \"Enable\": true,\n \"GroupID\": 1998665,\n \"GroupName\": \"test2\",\n \"InsertTime\": 1567075011,\n \"IsDefault\": 0,\n \"LastEditUin\": 1500000687,\n \"NoShieldedInstanceCount\": 1,\n \"ParentGroupID\": 1998664,\n \"ProjectID\": 0,\n \"ReceiverInfos\": [\n {\n \"EndTime\": 57599,\n \"NeedSendNotice\": 1,\n \"NotifyWay\": [\n \"EMAIL\",\n \"SMS\"\n ],\n \"PersonInterval\": 60,\n \"ReceiverGroupList\": null,\n \"ReceiverType\": \"group\",\n \"ReceiverUserList\": null,\n \"RecoverNotify\": [\n \"SMS\"\n ],\n \"RoundInterval\": 60,\n \"RoundNumber\": 2,\n \"SendFor\": null,\n \"StartTime\": 57600,\n \"UIDList\": null\n }\n ],\n \"Remark\": \"test2\",\n \"TotalInstanceCount\": 1,\n \"UpdateTime\": 1567075012,\n \"ViewName\": \"cvm_device\"\n }\n ],\n \"Remark\": \"test\",\n \"UpdateTime\": 1567074881,\n \"ViewName\": \"cvm_device\"\n }\n ],\n \"Total\": 1\n }\n}",
644
+ "input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConditionsTemplateList\n<公共请求参数>\n\n{\n \"ViewName\": \"cvm_device\",\n \"Module\": \"monitor\",\n \"UpdateTimeOrder\": \"desc\",\n \"GroupName\": \"test\",\n \"Limit\": 1,\n \"Offset\": 0,\n \"GroupID\": \" 1998658\"\n}",
645
+ "output": "{\n \"Response\": {\n \"Total\": 0,\n \"TemplateGroupList\": [\n {\n \"Conditions\": [\n {\n \"AlarmNotifyPeriod\": 0,\n \"AlarmNotifyType\": 0,\n \"CalcType\": \"abc\",\n \"CalcValue\": \"abc\",\n \"ContinueTime\": \"abc\",\n \"MetricID\": 0,\n \"MetricDisplayName\": \"abc\",\n \"Period\": 0,\n \"RuleID\": 0,\n \"Unit\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n }\n }\n ],\n \"EventConditions\": [\n {\n \"AlarmNotifyPeriod\": \"abc\",\n \"AlarmNotifyType\": \"abc\",\n \"EventID\": \"abc\",\n \"EventDisplayName\": \"abc\",\n \"RuleID\": \"abc\",\n \"MetricName\": \"abc\"\n }\n ],\n \"PolicyGroups\": [\n {\n \"CanSetDefault\": true,\n \"GroupID\": 0,\n \"GroupName\": \"abc\",\n \"InsertTime\": 0,\n \"IsDefault\": 0,\n \"Enable\": true,\n \"LastEditUin\": 0,\n \"NoShieldedInstanceCount\": 0,\n \"ParentGroupID\": 0,\n \"ProjectID\": 0,\n \"ReceiverInfos\": [\n {\n \"EndTime\": 0,\n \"NeedSendNotice\": 0,\n \"NotifyWay\": [\n \"abc\"\n ],\n \"PersonInterval\": 0,\n \"ReceiverGroupList\": [\n 0\n ],\n \"ReceiverType\": \"abc\",\n \"ReceiverUserList\": [\n 0\n ],\n \"RecoverNotify\": [\n \"abc\"\n ],\n \"RoundInterval\": 0,\n \"RoundNumber\": 0,\n \"SendFor\": [\n \"abc\"\n ],\n \"StartTime\": 0,\n \"UIDList\": [\n 0\n ]\n }\n ],\n \"Remark\": \"abc\",\n \"UpdateTime\": 0,\n \"TotalInstanceCount\": 0,\n \"ViewName\": \"abc\",\n \"IsUnionRule\": 0\n }\n ],\n \"GroupID\": 0,\n \"GroupName\": \"abc\",\n \"InsertTime\": 0,\n \"LastEditUin\": 0,\n \"Remark\": \"abc\",\n \"UpdateTime\": 0,\n \"ViewName\": \"abc\",\n \"IsUnionRule\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
646
646
  "title": "获取告警策略模板列表"
647
647
  }
648
648
  ],
@@ -26184,6 +26184,17 @@
26184
26184
  "required": false,
26185
26185
  "type": "string",
26186
26186
  "value_allowed_null": false
26187
+ },
26188
+ {
26189
+ "disabled": false,
26190
+ "document": "生成的字幕文件格式,填空字符串表示不生成字幕文件,可选值:\n<li>vtt:生成 WebVTT 字幕文件。</li>\n注意:此字段可能返回 null,表示取不到有效值。",
26191
+ "example": "无",
26192
+ "member": "string",
26193
+ "name": "SubtitleFormat",
26194
+ "output_required": false,
26195
+ "required": false,
26196
+ "type": "string",
26197
+ "value_allowed_null": true
26187
26198
  }
26188
26199
  ],
26189
26200
  "usage": "both"
@@ -26217,6 +26228,15 @@
26217
26228
  "name": "DestinationLanguage",
26218
26229
  "required": false,
26219
26230
  "type": "string"
26231
+ },
26232
+ {
26233
+ "disabled": false,
26234
+ "document": "生成的字幕文件格式,填空字符串表示不生成字幕文件,可选值:\n<li>vtt:生成 WebVTT 字幕文件。</li>",
26235
+ "example": "无",
26236
+ "member": "string",
26237
+ "name": "SubtitleFormat",
26238
+ "required": false,
26239
+ "type": "string"
26220
26240
  }
26221
26241
  ],
26222
26242
  "usage": "in"