tccli 3.0.1163.1__py2.py3-none-any.whl → 3.0.1165.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 (46) 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 +56 -9
  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 +13 -13
  23. tccli/services/monitor/v20180724/examples.json +8 -8
  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/sqlserver/sqlserver_client.py +53 -0
  36. tccli/services/sqlserver/v20180328/api.json +34 -0
  37. tccli/services/sqlserver/v20180328/examples.json +8 -0
  38. tccli/services/tmt/v20180321/api.json +2 -2
  39. tccli/services/trtc/v20190722/api.json +14 -6
  40. tccli/services/tse/v20201207/api.json +11 -0
  41. tccli/services/tsi/v20210325/api.json +5 -5
  42. {tccli-3.0.1163.1.dist-info → tccli-3.0.1165.1.dist-info}/METADATA +2 -2
  43. {tccli-3.0.1163.1.dist-info → tccli-3.0.1165.1.dist-info}/RECORD +46 -46
  44. {tccli-3.0.1163.1.dist-info → tccli-3.0.1165.1.dist-info}/WHEEL +0 -0
  45. {tccli-3.0.1163.1.dist-info → tccli-3.0.1165.1.dist-info}/entry_points.txt +0 -0
  46. {tccli-3.0.1163.1.dist-info → tccli-3.0.1165.1.dist-info}/license_files/LICENSE +0 -0
@@ -309,7 +309,7 @@
309
309
  "status": "online"
310
310
  },
311
311
  "ChannelVerifyPdf": {
312
- "document": "对合同流程文件进行数字签名验证,判断数字签名是否有效,合同文件内容是否被篡改。",
312
+ "document": "对合同流程文件进行数字签名验证,判断数字签名是否有效,合同文件内容是否被篡改。\n\n**补充**: 可以到控制台[合同验签](https://qian.tencent.com/verifySign)体验验签功能,界面如下\n![image](https://qcloudimg.tencent-cloud.cn/raw/81c333ccb07f0c5fbaf840d9cee61333.png)",
313
313
  "input": "ChannelVerifyPdfRequest",
314
314
  "name": "合同验签",
315
315
  "output": "ChannelVerifyPdfResponse",
@@ -344,7 +344,7 @@
344
344
  "status": "online"
345
345
  },
346
346
  "CreateEmployeeQualificationSealQrCode": {
347
- "document": "该接口用于获取个人授权执业章给企业的二维码,需要个人用户通过微信扫码。扫描后将跳转到腾讯电子签小程序,进入到授权执业章的流程。个人用户授权成功后,企业印章管理员需对印章进行审核,审核通过后,即可使用个人授权的执业章进行盖章操作。\n\n**注意**\n1. 该二维码**有效期为7天**,过期后将失效,可重新创建。",
347
+ "document": "该接口用于获取个人授权执业章给企业的二维码,需要个人用户通过微信扫码。\n\n扫描后将跳转到腾讯电子签小程序,进入到授权执业章的流程。\n\n个人用户授权成功后,企业印章管理员需对印章进行审核,审核通过后,即可使用个人授权的执业章进行盖章操作。\n\n**注意**\n1. 该二维码**有效期为7天**,过期后将失效,可重新创建。\n \n\n整体流程入下图\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/21b6b56dbc796c9d6f402d6ce6febb07.png)",
348
348
  "input": "CreateEmployeeQualificationSealQrCodeRequest",
349
349
  "name": "创建个人印章授权给企业使用的授权二维码",
350
350
  "output": "CreateEmployeeQualificationSealQrCodeResponse",
@@ -6252,8 +6252,8 @@
6252
6252
  },
6253
6253
  {
6254
6254
  "disabled": false,
6255
- "document": "提示信息,扫码后此信息会展示给扫描用户,用来提示用户授权操作的目的",
6256
- "example": "",
6255
+ "document": "提示信息,扫码后此信息会展示给扫描用户,用来提示用户授权操作的目的,会在授权界面下面的位置展示。\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/8436ffd78c20605e6b133ff4bc4d2ac7.png)",
6256
+ "example": "请授权注册消防工程师执业印章",
6257
6257
  "member": "string",
6258
6258
  "name": "HintText",
6259
6259
  "required": false,
@@ -756,7 +756,7 @@
756
756
  {
757
757
  "document": "企业需要员工授权执业章使用权限给企业时,调用接口产生二维码",
758
758
  "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEmployeeQualificationSealQrCode\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"yDwfwUUgygormhg1UuS2eARxjMT0mxAw\",\n \"ProxyOrganizationOpenId\": \"org_zhangsan\",\n \"ProxyOperator\": {\n \"OpenId\": \"n02468\"\n }\n },\n \"HintText\": \"我是提示文字\"\n}",
759
- "output": "{\n \"Response\": {\n \"QrcodeBase64\": \"/9ji1/Z**************/2Q==\",\n \"RequestId\": \"s1720524882444991481\"\n }\n}",
759
+ "output": "{\n \"Response\": {\n \"QrcodeBase64\": \"/9j/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQ(剩余的其他图片base64字符串省略)\",\n \"RequestId\": \"5e94bc41-4767-4e98-943d-b9a455499847\"\n }\n}",
760
760
  "title": "生成员工执业章授权二维码"
761
761
  }
762
762
  ],
@@ -151,6 +151,15 @@
151
151
  "name": "SearchInfo",
152
152
  "required": false,
153
153
  "type": "bool"
154
+ },
155
+ {
156
+ "disabled": false,
157
+ "document": "搜索引文角标开关。\n说明:\n1. 配合EnableEnhancement和SearchInfo参数使用。打开后,回答中命中搜索的结果会在片段后增加角标标志,对应SearchInfo列表中的链接。\n2. false:开关关闭,true:开关打开。\n3. 未传值时默认开关关闭(false)。",
158
+ "example": "false",
159
+ "member": "bool",
160
+ "name": "Citation",
161
+ "required": false,
162
+ "type": "bool"
154
163
  }
155
164
  ],
156
165
  "type": "object"
@@ -190,7 +199,7 @@
190
199
  },
191
200
  {
192
201
  "disabled": false,
193
- "document": "本轮对话的 ID。",
202
+ "document": "本次请求的 RequestId。",
194
203
  "example": "9c772634-8824-43e8-bc24-8bc4c19b9151",
195
204
  "member": "string",
196
205
  "name": "Id",
@@ -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",