tccli 3.0.1394.1__py2.py3-none-any.whl → 3.0.1396.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 (55) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/ai3d/v20250513/api.json +3 -3
  3. tccli/services/billing/v20180709/api.json +36 -24
  4. tccli/services/cam/v20190116/api.json +1 -1
  5. tccli/services/ccc/ccc_client.py +125 -72
  6. tccli/services/ccc/v20200210/api.json +97 -0
  7. tccli/services/ccc/v20200210/examples.json +8 -0
  8. tccli/services/cdn/cdn_client.py +4 -163
  9. tccli/services/cdn/v20180606/api.json +0 -297
  10. tccli/services/cdn/v20180606/examples.json +0 -24
  11. tccli/services/cfw/v20190904/api.json +121 -9
  12. tccli/services/ckafka/v20190819/api.json +21 -1
  13. tccli/services/ckafka/v20190819/examples.json +1 -1
  14. tccli/services/ctem/v20231128/api.json +290 -0
  15. tccli/services/ctem/v20231128/examples.json +3 -3
  16. tccli/services/emr/v20190103/api.json +36 -7
  17. tccli/services/ess/v20201111/api.json +7 -7
  18. tccli/services/ess/v20201111/examples.json +6 -6
  19. tccli/services/essbasic/v20210526/api.json +1 -1
  20. tccli/services/essbasic/v20210526/examples.json +2 -2
  21. tccli/services/iai/v20180301/api.json +131 -118
  22. tccli/services/iai/v20180301/examples.json +22 -22
  23. tccli/services/iai/v20200303/api.json +3 -3
  24. tccli/services/iai/v20200303/examples.json +1 -1
  25. tccli/services/iotexplorer/iotexplorer_client.py +57 -4
  26. tccli/services/iotexplorer/v20190423/api.json +87 -0
  27. tccli/services/iotexplorer/v20190423/examples.json +8 -0
  28. tccli/services/lcic/v20220817/api.json +6 -6
  29. tccli/services/lighthouse/v20200324/api.json +113 -9
  30. tccli/services/lighthouse/v20200324/examples.json +2 -2
  31. tccli/services/lke/lke_client.py +0 -106
  32. tccli/services/lke/v20231130/api.json +0 -106
  33. tccli/services/lke/v20231130/examples.json +0 -16
  34. tccli/services/lkeap/v20240522/api.json +1 -1
  35. tccli/services/mongodb/v20190725/api.json +38 -36
  36. tccli/services/mongodb/v20190725/examples.json +3 -3
  37. tccli/services/mps/mps_client.py +220 -8
  38. tccli/services/mps/v20190612/api.json +420 -3
  39. tccli/services/mps/v20190612/examples.json +50 -0
  40. tccli/services/organization/v20210331/api.json +6 -6
  41. tccli/services/redis/v20180412/api.json +12 -12
  42. tccli/services/tcss/v20201101/api.json +21 -1
  43. tccli/services/teo/v20220901/api.json +10 -0
  44. tccli/services/trtc/v20190722/api.json +10 -10
  45. tccli/services/tse/v20201207/api.json +39 -1
  46. tccli/services/tse/v20201207/examples.json +3 -3
  47. tccli/services/vpc/v20170312/api.json +3 -3
  48. tccli/services/waf/v20180125/api.json +792 -142
  49. tccli/services/waf/v20180125/examples.json +1 -1
  50. tccli/services/wedata/v20250806/api.json +5 -5
  51. {tccli-3.0.1394.1.dist-info → tccli-3.0.1396.1.dist-info}/METADATA +2 -2
  52. {tccli-3.0.1394.1.dist-info → tccli-3.0.1396.1.dist-info}/RECORD +55 -55
  53. {tccli-3.0.1394.1.dist-info → tccli-3.0.1396.1.dist-info}/WHEEL +0 -0
  54. {tccli-3.0.1394.1.dist-info → tccli-3.0.1396.1.dist-info}/entry_points.txt +0 -0
  55. {tccli-3.0.1394.1.dist-info → tccli-3.0.1396.1.dist-info}/license_files/LICENSE +0 -0
@@ -241,53 +241,53 @@
241
241
  "GetPersonGroupInfo": [
242
242
  {
243
243
  "document": "人员ID不存在",
244
- "input": "https://iai.tencentcloudapi.com/?Action=GetPersonGroupInfo\r\n&PersonId=1002\r\n&Offset=0\r\n&Limit=10\r\n&Version=2018-03-01\r\n&<公共请求参数>",
244
+ "input": "https://iai.tencentcloudapi.com/?Action=GetPersonGroupInfo\n&PersonId=1002\n&Offset=0\n&Limit=10\n&<公共请求参数>",
245
245
  "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.PersonIdNotExist\",\n \"Message\": \"人员ID不存在。\"\n },\n \"RequestId\": \"98330f25-eb2e-432a-a30c-3830774210c1\"\n }\n}",
246
246
  "title": "错误示例"
247
247
  },
248
248
  {
249
249
  "document": "",
250
- "input": "https://iai.tencentcloudapi.com/?Action=GetPersonGroupInfo\r\n&PersonId=2001\r\n&Offset=0\r\n&Limit=10\r\n&Version=2018-03-01\r\n&<公共请求参数>",
251
- "output": "{\n \"Response\": {\n \"PersonGroupInfos\": [\n {\n \"GroupId\": \"ZhuYuanDormitoryNo1\",\n \"PersonExDescriptions\": [\n \"计算机学院\",\n \"软件工程\",\n \"15级\",\n \"3150108080\"\n ]\n }\n ],\n \"RequestId\": \"671f0a1d-2b35-47c4-b9d1-b18053f71a04\"\n }\n}",
250
+ "input": "https://iai.tencentcloudapi.com/?Action=GetPersonGroupInfo\n&PersonId=2001\n&Offset=0\n&Limit=10\n&<公共请求参数>",
251
+ "output": "{\n \"Response\": {\n \"GroupNum\": \"1\",\n \"PersonGroupInfos\": [\n {\n \"GroupId\": \"ZhuYuanDormitoryNo1\",\n \"PersonExDescriptions\": [\n \"计算机学院\",\n \"软件工程\",\n \"15级\",\n \"3150108080\"\n ]\n }\n ],\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"671f0a1d-2b35-47c4-b9d1-b18053f71a04\"\n }\n}",
252
252
  "title": "获取人员归属信息接口"
253
253
  },
254
254
  {
255
255
  "document": "",
256
- "input": "https://iai.tencentcloudapi.com/?Action=GetPersonGroupInfo\r\n&PersonId=1001\r\n&Offset=0\r\n&Limit=10\r\n&Version=2018-03-01\r\n&<公共请求参数>",
257
- "output": "{\n \"Response\": {\n \"PersonGroupInfos\": [\n {\n \"GroupId\": \"TencentShenZhenEmployee\",\n \"PersonExDescriptions\": [\n \"云与智慧产业事业群\",\n \"大数据及人工智能产品中心\",\n \"人脸识别产品组\"\n ]\n }\n ],\n \"RequestId\": \"b7a505ad-4a85-42da-97b3-886c7999fb76\"\n }\n}",
256
+ "input": "https://iai.tencentcloudapi.com/?Action=GetPersonGroupInfo\n&PersonId=1001\n&Offset=0\n&Limit=10\n&<公共请求参数>",
257
+ "output": "{\n \"Response\": {\n \"GroupNum\": \"1\",\n \"PersonGroupInfos\": [\n {\n \"GroupId\": \"TencentShenZhenEmployee\",\n \"PersonExDescriptions\": [\n \"云与智慧产业事业群\",\n \"大数据及人工智能产品中心\",\n \"人脸识别产品组\"\n ]\n }\n ],\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"b7a505ad-4a85-42da-97b3-886c7999fb76\"\n }\n}",
258
258
  "title": "获取人员归属信息接口-2"
259
259
  }
260
260
  ],
261
261
  "GetPersonList": [
262
262
  {
263
263
  "document": "人员库ID不存在",
264
- "input": "https://iai.tencentcloudapi.com/?Action=GetPersonList\r\n&GroupId=ZhuYuanDormitory\r\n&Offset=0\r\n&Limit=10\r\n&Version=2018-03-01\r\n&<公共请求参数>",
264
+ "input": "https://iai.tencentcloudapi.com/?Action=GetPersonList\n&GroupId=ZhuYuanDormitory\n&Offset=0\n&Limit=10\n&<公共请求参数>",
265
265
  "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.GroupIdNotExist\",\n \"Message\": \"人员库ID不存在。\"\n },\n \"RequestId\": \"b7c0cd81-d621-465f-8fd6-86a6b49e67be\"\n }\n}",
266
266
  "title": "错误示例"
267
267
  },
268
268
  {
269
269
  "document": "",
270
- "input": "https://iai.tencentcloudapi.com/?Action=GetPersonList\r\n&GroupId=ZhuYuanDormitoryNo1\r\n&Offset=0\r\n&Limit=10\r\n&Version=2018-03-01\r\n&<公共请求参数>",
271
- "output": "{\n \"Response\": {\n \"PersonInfos\": [\n {\n \"PersonName\": \"Junly\",\n \"PersonId\": \"2001\",\n \"Gender\": 1,\n \"PersonExDescriptions\": [\n \"计算机学院\",\n \"软件工程\",\n \"15级\",\n \"3150108080\"\n ],\n \"FaceIds\": [\n \"2877244861637985315\"\n ]\n }\n ],\n \"PersonNum\": 1,\n \"FaceNum\": 1,\n \"RequestId\": \"337d1bb5-3f88-4681-9291-5194f478f0d1\"\n }\n}",
270
+ "input": "https://iai.tencentcloudapi.com/?Action=GetPersonList\n&GroupId=ZhuYuanDormitoryNo1\n&Offset=0\n&Limit=10\n&<公共请求参数>",
271
+ "output": "{\n \"Response\": {\n \"PersonInfos\": [\n {\n \"PersonName\": \"Junly\",\n \"PersonId\": \"2001\",\n \"Gender\": 1,\n \"PersonExDescriptions\": [\n \"计算机学院\",\n \"软件工程\",\n \"15级\",\n \"3150108080\"\n ],\n \"FaceIds\": [\n \"2877244861637985315\"\n ]\n }\n ],\n \"PersonNum\": 1,\n \"FaceNum\": 1,\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"337d1bb5-3f88-4681-9291-5194f478f0d1\"\n }\n}",
272
272
  "title": "获取人员列表接口"
273
273
  },
274
274
  {
275
275
  "document": "获取指定人员库中的人员列表",
276
- "input": "https://iai.tencentcloudapi.com/?Action=GetPersonList\r\n&GroupId=TencentShenZhenEmployee\r\n&Offset=0\r\n&Limit=10\r\n&Version=2018-03-01\r\n&<公共请求参数>",
277
- "output": "{\n \"Response\": {\n \"PersonInfos\": [\n {\n \"PersonName\": \"evanliao\",\n \"PersonId\": \"1001\",\n \"Gender\": 1,\n \"PersonExDescriptions\": [\n \"云与智慧产业事业群\",\n \"大数据及人工智能产品中心\",\n \"人脸识别产品组\"\n ],\n \"FaceIds\": [\n \"2877242150180891493\"\n ]\n }\n ],\n \"PersonNum\": 1,\n \"FaceNum\": 1,\n \"RequestId\": \"aa292f16-27d9-423b-9048-cdd43f6e4156\"\n }\n}",
276
+ "input": "https://iai.tencentcloudapi.com/?Action=GetPersonList\n&GroupId=TencentShenZhenEmployee\n&Offset=0\n&Limit=10\n&<公共请求参数>",
277
+ "output": "{\n \"Response\": {\n \"PersonInfos\": [\n {\n \"PersonName\": \"evanliao\",\n \"PersonId\": \"1001\",\n \"Gender\": 1,\n \"PersonExDescriptions\": [\n \"云与智慧产业事业群\",\n \"大数据及人工智能产品中心\",\n \"人脸识别产品组\"\n ],\n \"FaceIds\": [\n \"2877242150180891493\"\n ]\n }\n ],\n \"PersonNum\": 1,\n \"FaceNum\": 1,\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"aa292f16-27d9-423b-9048-cdd43f6e4156\"\n }\n}",
278
278
  "title": "获取人员列表接口-2"
279
279
  }
280
280
  ],
281
281
  "GetPersonListNum": [
282
282
  {
283
283
  "document": "人员库ID不存在",
284
- "input": "https://iai.tencentcloudapi.com/?Action=GetPersonListNum\r\n&GroupId=Tencent\r\n&Version=2018-03-01\r\n&<公共请求参数>",
284
+ "input": "https://iai.tencentcloudapi.com/?Action=GetPersonListNum\n&GroupId=Tencent\n&<公共请求参数>",
285
285
  "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.GroupIdNotExist\",\n \"Message\": \"人员库ID不存在。\"\n },\n \"RequestId\": \"2865a458-4db1-46bd-ae52-b7507c9f4e62\"\n }\n}",
286
286
  "title": "错误示例"
287
287
  },
288
288
  {
289
289
  "document": "获取指定人员库中人员数量",
290
- "input": "https://iai.tencentcloudapi.com/?Action=GetPersonListNum\r\n&GroupId=TencentShenZhenEmployee\r\n&Version=2018-03-01\r\n&<公共请求参数>",
290
+ "input": "https://iai.tencentcloudapi.com/?Action=GetPersonListNum\n&GroupId=TencentShenZhenEmployee\n&<公共请求参数>",
291
291
  "output": "{\n \"Response\": {\n \"PersonNum\": 2,\n \"FaceNum\": 2,\n \"RequestId\": \"18fb1e31-0d33-4371-9f41-b1fd59e0c781\"\n }\n}",
292
292
  "title": "获取人员列表长度接口"
293
293
  }
@@ -311,25 +311,25 @@
311
311
  "ModifyGroup": [
312
312
  {
313
313
  "document": "",
314
- "input": "https://iai.tencentcloudapi.com/?Action=ModifyGroup\r\n&GroupId=TencentShenZhenEmployee\r\n&GroupExDescriptionInfos.0.GroupExDescriptionIndex=0\r\n&GroupExDescriptionInfos.0.GroupExDescription=部门\r\n&Version=2018-03-01\r\n&<公共请求参数>",
314
+ "input": "https://iai.tencentcloudapi.com/?Action=ModifyGroup\n&GroupId=TencentShenZhenEmployee\n&GroupExDescriptionInfos.0.GroupExDescriptionIndex=0\n&GroupExDescriptionInfos.0.GroupExDescription=部门\n&<公共请求参数>",
315
315
  "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.DuplicatedGroupDescription\",\n \"Message\": \"同一人员库中自定义描述字段不可重复。\"\n },\n \"RequestId\": \"4b483679-3f08-4a7c-b827-4a6332dc030f\"\n }\n}",
316
316
  "title": "错误示例"
317
317
  },
318
318
  {
319
319
  "document": "人员库名称不可重复",
320
- "input": "https://iai.tencentcloudapi.com/?Action=ModifyGroup\r\n&GroupId=TencentShenZhenEmployee\r\n&GroupName=某某大学竹园1号宿舍楼\r\n&Version=2018-03-01\r\n&<公共请求参数>",
320
+ "input": "https://iai.tencentcloudapi.com/?Action=ModifyGroup\n&GroupId=TencentShenZhenEmployee\n&GroupName=某某大学竹园1号宿舍楼\n&<公共请求参数>",
321
321
  "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.GroupNameAlreadyExist\",\n \"Message\": \"人员库名称已经存在。人员库名称不可重复。\"\n },\n \"RequestId\": \"2dcce170-30cf-4078-9b3c-309362fbad21\"\n }\n}",
322
322
  "title": "错误示例-2"
323
323
  },
324
324
  {
325
325
  "document": "",
326
- "input": "https://iai.tencentcloudapi.com/?Action=ModifyGroup\r\n&GroupId=ZhuYuanDormitoryNo1\r\n&GroupName=某某大学竹园1号宿舍楼\r\n&Tag=研究生入住\r\n&GroupExDescriptionInfos.0.GroupExDescriptionIndex=0\r\n&GroupExDescriptionInfos.0.GroupExDescription=学院\r\n&Version=2018-03-01\r\n&<公共请求参数>",
326
+ "input": "https://iai.tencentcloudapi.com/?Action=ModifyGroup\n&GroupId=ZhuYuanDormitoryNo1\n&GroupName=某某大学竹园1号宿舍楼\n&Tag=研究生入住\n&GroupExDescriptionInfos.0.GroupExDescriptionIndex=0\n&GroupExDescriptionInfos.0.GroupExDescription=学院\n&<公共请求参数>",
327
327
  "output": "{\n \"Response\": {\n \"RequestId\": \"da051f16-0400-49d4-9832-2cfd3b51866f\"\n }\n}",
328
328
  "title": "修改人员库接口"
329
329
  },
330
330
  {
331
331
  "document": "修改人员库名称、备注、自定义描述字段名称",
332
- "input": "https://iai.tencentcloudapi.com/?Action=ModifyGroup\r\n&GroupId=TencentShenZhenEmployee\r\n&GroupName=腾讯深圳在职人员库\r\n&Tag=包含实习生\r\n&GroupExDescriptionInfos.0.GroupExDescriptionIndex=1\r\n&GroupExDescriptionInfos.0.GroupExDescription=部门\r\n&GroupExDescriptionInfos.1.GroupExDescriptionIndex=2\r\n&GroupExDescriptionInfos.1.GroupExDescription=项目组\r\n&Version=2018-03-01\r\n&<公共请求参数>",
332
+ "input": "https://iai.tencentcloudapi.com/?Action=ModifyGroup\n&GroupId=TencentShenZhenEmployee\n&GroupName=腾讯深圳在职人员库\n&Tag=包含实习生\n&GroupExDescriptionInfos.0.GroupExDescriptionIndex=1\n&GroupExDescriptionInfos.0.GroupExDescription=部门\n&GroupExDescriptionInfos.1.GroupExDescriptionIndex=2\n&GroupExDescriptionInfos.1.GroupExDescription=项目组\n&<公共请求参数>",
333
333
  "output": "{\n \"Response\": {\n \"RequestId\": \"98381738-509f-4749-8a66-dbf54247333d\"\n }\n}",
334
334
  "title": "修改人员库接口-2"
335
335
  }
@@ -337,19 +337,19 @@
337
337
  "ModifyPersonBaseInfo": [
338
338
  {
339
339
  "document": "人员性别设置错误",
340
- "input": "https://iai.tencentcloudapi.com/?Action=ModifyPersonBaseInfo\r\n&PersonId=1001\r\n&Gender=-1\r\n&Version=2018-03-01\r\n&<公共请求参数>",
340
+ "input": "https://iai.tencentcloudapi.com/?Action=ModifyPersonBaseInfo\n&PersonId=1001\n&Gender=-1\n&<公共请求参数>",
341
341
  "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.PersonGenderIllegal\",\n \"Message\": \"人员性别设置出错。0代表未填写,1代表男性,2代表女性。\"\n },\n \"RequestId\": \"f40bf659-0283-4773-abe8-945f643d5015\"\n }\n}",
342
342
  "title": "错误示例"
343
343
  },
344
344
  {
345
345
  "document": "",
346
- "input": "https://iai.tencentcloudapi.com/?Action=ModifyPersonBaseInfo\r\n&PersonId=2001\r\n&PersonName=JunlyWang\r\n&Gender=1\r\n&Version=2018-03-01\r\n&<公共请求参数>",
346
+ "input": "https://iai.tencentcloudapi.com/?Action=ModifyPersonBaseInfo\n&PersonId=2001\n&PersonName=JunlyWang\n&Gender=1\n&<公共请求参数>",
347
347
  "output": "{\n \"Response\": {\n \"RequestId\": \"6e2a0fb7-7c9e-45c7-abf1-338457d1def7\"\n }\n}",
348
348
  "title": "修改人员基础信息接口"
349
349
  },
350
350
  {
351
351
  "document": "",
352
- "input": "https://iai.tencentcloudapi.com/?Action=ModifyPersonBaseInfo\r\n&PersonId=1001\r\n&PersonName=EvanLiao\r\n&Gender=1\r\n&Version=2018-03-01\r\n&<公共请求参数>",
352
+ "input": "https://iai.tencentcloudapi.com/?Action=ModifyPersonBaseInfo\n&PersonId=1001\n&PersonName=EvanLiao\n&Gender=1\n&<公共请求参数>",
353
353
  "output": "{\n \"Response\": {\n \"RequestId\": \"6e2a0fb7-7c9e-45c7-abf1-338457d1def7\"\n }\n}",
354
354
  "title": "修改人员基础信息接口-2"
355
355
  }
@@ -357,19 +357,19 @@
357
357
  "ModifyPersonGroupInfo": [
358
358
  {
359
359
  "document": "下标不合法",
360
- "input": "https://iai.tencentcloudapi.com/?Action=ModifyPersonGroupInfo\r\n&GroupId=TencentShenZhenEmployee\r\n&PersonId=1001\r\n&PersonExDescriptionInfos.0.PersonExDescriptionIndex=-1\r\n&PersonExDescriptionInfos.0.PersonExDescription=人工智能实验室\r\n&Version=2018-03-01\r\n&<公共请求参数>",
360
+ "input": "https://iai.tencentcloudapi.com/?Action=ModifyPersonGroupInfo\n&GroupId=TencentShenZhenEmployee\n&PersonId=1001\n&PersonExDescriptionInfos.0.PersonExDescriptionIndex=1\n&PersonExDescriptionInfos.0.PersonExDescription=人工智能实验室\n&<公共请求参数>",
361
361
  "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameter\",\n \"Message\": \"The value type of parameter `PersonExDescriptionInfos.0.PersonExDescriptionIndex` is not valid.\"\n },\n \"RequestId\": \"f944657d-6260-4a2e-a4d8-9c1845f39e56\"\n }\n}",
362
362
  "title": "错误示例"
363
363
  },
364
364
  {
365
365
  "document": "",
366
- "input": "https://iai.tencentcloudapi.com/?Action=ModifyPersonGroupInfo\r\n&GroupId=ZhuYuanDormitoryNo1\r\n&PersonId=2001\r\n&PersonExDescriptionInfos.0.PersonExDescriptionIndex=3\r\n&PersonExDescriptionInfos.0.PersonExDescription=3150108080\r\n&Version=2018-03-01\r\n&<公共请求参数>",
366
+ "input": "https://iai.tencentcloudapi.com/?Action=ModifyPersonGroupInfo\n&GroupId=ZhuYuanDormitoryNo1\n&PersonId=2001\n&PersonExDescriptionInfos.0.PersonExDescriptionIndex=3\n&PersonExDescriptionInfos.0.PersonExDescription=3150108080\n&<公共请求参数>",
367
367
  "output": "{\n \"Response\": {\n \"RequestId\": \"77e11a2d-0fc0-4fba-ab25-016e998221c3\"\n }\n}",
368
368
  "title": "修改人员描述信息接口"
369
369
  },
370
370
  {
371
371
  "document": "",
372
- "input": "https://iai.tencentcloudapi.com/?Action=ModifyPersonGroupInfo\r\n&GroupId=TencentShenZhenEmployee\r\n&PersonId=1001\r\n&PersonExDescriptionInfos.0.PersonExDescriptionIndex=1\r\n&PersonExDescriptionInfos.0.PersonExDescription=大数据及人工智能产品中心\r\n&Version=2018-03-01\r\n&<公共请求参数>",
372
+ "input": "https://iai.tencentcloudapi.com/?Action=ModifyPersonGroupInfo\n&GroupId=TencentShenZhenEmployee\n&PersonId=1001\n&PersonExDescriptionInfos.0.PersonExDescriptionIndex=1\n&PersonExDescriptionInfos.0.PersonExDescription=大数据及人工智能产品中心\n&<公共请求参数>",
373
373
  "output": "{\n \"Response\": {\n \"RequestId\": \"77e11a2d-0fc0-4fba-ab25-016e998221c3\"\n }\n}",
374
374
  "title": "修改人员描述信息接口-2"
375
375
  }
@@ -3316,7 +3316,7 @@
3316
3316
  {
3317
3317
  "disabled": false,
3318
3318
  "document": "人员库自定义描述字段Index,从0开始。",
3319
- "example": "",
3319
+ "example": "3",
3320
3320
  "member": "uint64",
3321
3321
  "name": "GroupExDescriptionIndex",
3322
3322
  "required": true,
@@ -3862,7 +3862,7 @@
3862
3862
  {
3863
3863
  "disabled": false,
3864
3864
  "document": "检测出的人脸图片状态返回码。\n- 0 表示正常。 \n- -1601代表不符合图片质量控制要求,此时Candidate内容为空。",
3865
- "example": "",
3865
+ "example": "0",
3866
3866
  "member": "int64",
3867
3867
  "name": "RetCode",
3868
3868
  "output_required": true,
@@ -3977,7 +3977,7 @@
3977
3977
  {
3978
3978
  "disabled": false,
3979
3979
  "document": "出参Score中,只有超过FaceMatchThreshold值的结果才会返回。默认为0。",
3980
- "example": "0",
3980
+ "example": "0.0",
3981
3981
  "member": "float",
3982
3982
  "name": "FaceMatchThreshold",
3983
3983
  "required": false,
@@ -428,7 +428,7 @@
428
428
  {
429
429
  "document": "",
430
430
  "input": "https://iai.tencentcloudapi.com/?Action=SearchFaces\n&Url=http://test.image.myqcloud.com/testA.jpg\n&MaxFaceNum=1\n&MinFaceSize=40\n&MaxPersonNum=5\n&GroupIds.0=TencentShenZhenEmployee\n&<公共请求参数>",
431
- "output": "{\n \"Response\": {\n \"Results\": [\n {\n \"RetCode\": 0,\n \"Candidates\": [\n {\n \"PersonId\": \"1001\",\n \"FaceId\": \"2875093635484912302\",\n \"PersonName\": \"Jerry\",\n \"Gender\": 0,\n \"Score\": 100,\n \"PersonGroupInfos\": [\n {\n \"GroupId\": \"abc\",\n \"PersonExDescriptions\": [\n \"description1\",\n \"description2\"\n ]\n }\n ]\n }\n ],\n \"FaceRect\": {\n \"X\": 370,\n \"Y\": 46,\n \"Width\": 75,\n \"Height\": 75\n }\n }\n ],\n \"FaceNum\": 1,\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"57b42b73-b978-45b9-8095-8f50e9642d35\"\n }\n}",
431
+ "output": "{\n \"Response\": {\n \"Results\": [\n {\n \"RetCode\": 0,\n \"Candidates\": [\n {\n \"PersonId\": \"1001\",\n \"FaceId\": \"2875093635484912302\",\n \"PersonName\": \"Jerry\",\n \"Gender\": 0,\n \"Score\": 100,\n \"PersonGroupInfos\": [\n {\n \"GroupId\": \"TencentShenZhenEmployee\",\n \"PersonExDescriptions\": [\n \"description1\",\n \"description2\"\n ]\n }\n ]\n }\n ],\n \"FaceRect\": {\n \"X\": 370,\n \"Y\": 46,\n \"Width\": 75,\n \"Height\": 75\n }\n }\n ],\n \"FaceNum\": 1,\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"57b42b73-b978-45b9-8095-8f50e9642d35\"\n }\n}",
432
432
  "title": "人脸搜索成功示例"
433
433
  },
434
434
  {
@@ -5841,7 +5841,7 @@ def doBindProducts(args, parsed_globals):
5841
5841
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5842
5842
 
5843
5843
 
5844
- def doRemoveUserByRoomIdFromTRTC(args, parsed_globals):
5844
+ def doDescribeSubscribedTopicPolicy(args, parsed_globals):
5845
5845
  g_param = parse_global_arg(parsed_globals)
5846
5846
 
5847
5847
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -5870,11 +5870,11 @@ def doRemoveUserByRoomIdFromTRTC(args, parsed_globals):
5870
5870
  client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
5871
5871
  client._sdkVersion += ("_CLI_" + __version__)
5872
5872
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
5873
- model = models.RemoveUserByRoomIdFromTRTCRequest()
5873
+ model = models.DescribeSubscribedTopicPolicyRequest()
5874
5874
  model.from_json_string(json.dumps(args))
5875
5875
  start_time = time.time()
5876
5876
  while True:
5877
- rsp = client.RemoveUserByRoomIdFromTRTC(model)
5877
+ rsp = client.DescribeSubscribedTopicPolicy(model)
5878
5878
  result = rsp.to_json_string()
5879
5879
  try:
5880
5880
  json_obj = json.loads(result)
@@ -6465,6 +6465,58 @@ def doDescribeDeviceFirmwares(args, parsed_globals):
6465
6465
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6466
6466
 
6467
6467
 
6468
+ def doRemoveUserByRoomIdFromTRTC(args, parsed_globals):
6469
+ g_param = parse_global_arg(parsed_globals)
6470
+
6471
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
6472
+ cred = credential.CVMRoleCredential()
6473
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
6474
+ cred = credential.STSAssumeRoleCredential(
6475
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
6476
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
6477
+ )
6478
+ 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):
6479
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
6480
+ else:
6481
+ cred = credential.Credential(
6482
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
6483
+ )
6484
+ http_profile = HttpProfile(
6485
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
6486
+ reqMethod="POST",
6487
+ endpoint=g_param[OptionsDefine.Endpoint],
6488
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
6489
+ )
6490
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
6491
+ if g_param[OptionsDefine.Language]:
6492
+ profile.language = g_param[OptionsDefine.Language]
6493
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
6494
+ client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
6495
+ client._sdkVersion += ("_CLI_" + __version__)
6496
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
6497
+ model = models.RemoveUserByRoomIdFromTRTCRequest()
6498
+ model.from_json_string(json.dumps(args))
6499
+ start_time = time.time()
6500
+ while True:
6501
+ rsp = client.RemoveUserByRoomIdFromTRTC(model)
6502
+ result = rsp.to_json_string()
6503
+ try:
6504
+ json_obj = json.loads(result)
6505
+ except TypeError as e:
6506
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
6507
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
6508
+ break
6509
+ cur_time = time.time()
6510
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
6511
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
6512
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
6513
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
6514
+ else:
6515
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
6516
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
6517
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6518
+
6519
+
6468
6520
  def doBindDevices(args, parsed_globals):
6469
6521
  g_param = parse_global_arg(parsed_globals)
6470
6522
 
@@ -9604,7 +9656,7 @@ ACTION_MAP = {
9604
9656
  "UpdateDevicesEnableState": doUpdateDevicesEnableState,
9605
9657
  "ModifyProject": doModifyProject,
9606
9658
  "BindProducts": doBindProducts,
9607
- "RemoveUserByRoomIdFromTRTC": doRemoveUserByRoomIdFromTRTC,
9659
+ "DescribeSubscribedTopicPolicy": doDescribeSubscribedTopicPolicy,
9608
9660
  "SearchPositionSpace": doSearchPositionSpace,
9609
9661
  "ResetTWeCallDevice": doResetTWeCallDevice,
9610
9662
  "ModifyTopicPolicy": doModifyTopicPolicy,
@@ -9616,6 +9668,7 @@ ACTION_MAP = {
9616
9668
  "DescribeDevicePositionList": doDescribeDevicePositionList,
9617
9669
  "DescribeFirmware": doDescribeFirmware,
9618
9670
  "DescribeDeviceFirmwares": doDescribeDeviceFirmwares,
9671
+ "RemoveUserByRoomIdFromTRTC": doRemoveUserByRoomIdFromTRTC,
9619
9672
  "BindDevices": doBindDevices,
9620
9673
  "CreateBatchProduction": doCreateBatchProduction,
9621
9674
  "CreateCloudStorageAIServiceTask": doCreateCloudStorageAIServiceTask,
@@ -700,6 +700,13 @@
700
700
  "output": "DescribeStudioProductResponse",
701
701
  "status": "online"
702
702
  },
703
+ "DescribeSubscribedTopicPolicy": {
704
+ "document": "本接口(DescribeSubscribedTopicPolicy)用于获取设备已订阅Topic列表",
705
+ "input": "DescribeSubscribedTopicPolicyRequest",
706
+ "name": "获取设备已订阅Topic列表",
707
+ "output": "DescribeSubscribedTopicPolicyResponse",
708
+ "status": "online"
709
+ },
703
710
  "DescribeTWeSeeConfig": {
704
711
  "document": "拉取 TWeSee 配置",
705
712
  "input": "DescribeTWeSeeConfigRequest",
@@ -4794,6 +4801,15 @@
4794
4801
  "required": false,
4795
4802
  "type": "int"
4796
4803
  },
4804
+ {
4805
+ "disabled": false,
4806
+ "document": "复刻音色",
4807
+ "example": "WCIH",
4808
+ "member": "string",
4809
+ "name": "FastVoiceType",
4810
+ "required": false,
4811
+ "type": "string"
4812
+ },
4797
4813
  {
4798
4814
  "disabled": false,
4799
4815
  "document": "支持的语言,zh-中文;en-英文;默认zh",
@@ -9538,6 +9554,52 @@
9538
9554
  ],
9539
9555
  "type": "object"
9540
9556
  },
9557
+ "DescribeSubscribedTopicPolicyRequest": {
9558
+ "document": "DescribeSubscribedTopicPolicy请求参数结构体",
9559
+ "members": [
9560
+ {
9561
+ "disabled": false,
9562
+ "document": "产品ID",
9563
+ "example": "TRTC3ZCK",
9564
+ "member": "string",
9565
+ "name": "ProductId",
9566
+ "required": true,
9567
+ "type": "string"
9568
+ },
9569
+ {
9570
+ "disabled": false,
9571
+ "document": "设备名称",
9572
+ "example": "device001",
9573
+ "member": "string",
9574
+ "name": "DeviceName",
9575
+ "required": true,
9576
+ "type": "string"
9577
+ }
9578
+ ],
9579
+ "type": "object"
9580
+ },
9581
+ "DescribeSubscribedTopicPolicyResponse": {
9582
+ "document": "DescribeSubscribedTopicPolicy返回参数结构体",
9583
+ "members": [
9584
+ {
9585
+ "disabled": false,
9586
+ "document": "已订阅Topic信息",
9587
+ "example": "无",
9588
+ "member": "SubscribedTopicItem",
9589
+ "name": "Topics",
9590
+ "output_required": false,
9591
+ "type": "list",
9592
+ "value_allowed_null": false
9593
+ },
9594
+ {
9595
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
9596
+ "member": "string",
9597
+ "name": "RequestId",
9598
+ "type": "string"
9599
+ }
9600
+ ],
9601
+ "type": "object"
9602
+ },
9541
9603
  "DescribeTWeSeeConfigRequest": {
9542
9604
  "document": "DescribeTWeSeeConfig请求参数结构体",
9543
9605
  "members": [
@@ -15681,6 +15743,15 @@
15681
15743
  "required": false,
15682
15744
  "type": "int"
15683
15745
  },
15746
+ {
15747
+ "disabled": false,
15748
+ "document": "复刻音色",
15749
+ "example": "WHCH",
15750
+ "member": "string",
15751
+ "name": "FastVoiceType",
15752
+ "required": false,
15753
+ "type": "string"
15754
+ },
15684
15755
  {
15685
15756
  "disabled": false,
15686
15757
  "document": "支持的语言,zh-中文;en-英文;默认zh",
@@ -17731,6 +17802,22 @@
17731
17802
  ],
17732
17803
  "type": "object"
17733
17804
  },
17805
+ "SubscribedTopicItem": {
17806
+ "document": "已订阅Topic信息",
17807
+ "members": [
17808
+ {
17809
+ "disabled": false,
17810
+ "document": "Topic名称",
17811
+ "example": "$thing/down/property/TRTC3ZC/dev",
17812
+ "member": "string",
17813
+ "name": "TopicName",
17814
+ "output_required": true,
17815
+ "type": "string",
17816
+ "value_allowed_null": false
17817
+ }
17818
+ ],
17819
+ "usage": "out"
17820
+ },
17734
17821
  "TRTCParams": {
17735
17822
  "document": "TRTC 的参数 可以用来加入房间",
17736
17823
  "members": [
@@ -914,6 +914,14 @@
914
914
  "title": "获取产品详情"
915
915
  }
916
916
  ],
917
+ "DescribeSubscribedTopicPolicy": [
918
+ {
919
+ "document": "",
920
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSubscribedTopicPolicy\n<公共请求参数>\n\n{\n \"ProductId\": \"TRTC3ZCK4P\",\n \"DeviceName\": \"dev002\"\n}",
921
+ "output": "{\n \"Response\": {\n \"RequestId\": \"request-id\",\n \"Topics\": [\n {\n \"TopicName\": \"$thing/down/property/TRTC3ZCK4P/dev002\"\n },\n {\n \"TopicName\": \"$video/down/service/TRTC3ZCK4P/dev002\"\n }\n ]\n }\n}",
922
+ "title": "获取设备已订阅Topic列表"
923
+ }
924
+ ],
917
925
  "DescribeTWeSeeConfig": [
918
926
  {
919
927
  "document": "查询 TWeSee 配置",
@@ -1580,7 +1580,7 @@
1580
1580
  "members": [
1581
1581
  {
1582
1582
  "disabled": false,
1583
- "document": "课堂名称。",
1583
+ "document": "课堂名称。\n字符数不超过256",
1584
1584
  "example": "房间名称",
1585
1585
  "member": "string",
1586
1586
  "name": "Name",
@@ -1868,7 +1868,7 @@
1868
1868
  },
1869
1869
  {
1870
1870
  "disabled": false,
1871
- "document": "字幕转写功能开关:0关闭,1开启,默认关闭",
1871
+ "document": "字幕转写功能开关。可以有以下取值:\n0 不开启字幕转写功能(默认值)\n1 自动转写模式:上课自动开启,下课自动停止",
1872
1872
  "example": "0",
1873
1873
  "member": "uint64",
1874
1874
  "name": "SubtitlesTranscription",
@@ -6127,7 +6127,7 @@
6127
6127
  "members": [
6128
6128
  {
6129
6129
  "disabled": false,
6130
- "document": "房间ID",
6130
+ "document": "房间ID。\n字符数不超过256",
6131
6131
  "example": "312345678",
6132
6132
  "member": "uint64",
6133
6133
  "name": "RoomId",
@@ -6370,7 +6370,7 @@
6370
6370
  },
6371
6371
  {
6372
6372
  "disabled": false,
6373
- "document": "字幕转写功能开关:0关闭,1开启,默认关闭",
6373
+ "document": "字幕转写功能开关。可以有以下取值:\n0 不开启字幕转写功能(默认值)\n1 自动转写模式:上课自动开启,下课自动停止",
6374
6374
  "example": "0",
6375
6375
  "member": "uint64",
6376
6376
  "name": "SubtitlesTranscription",
@@ -6667,7 +6667,7 @@
6667
6667
  "members": [
6668
6668
  {
6669
6669
  "disabled": false,
6670
- "document": "房间名称。",
6670
+ "document": "房间名称。\n字符数不超过256",
6671
6671
  "example": "房间名称",
6672
6672
  "member": "string",
6673
6673
  "name": "Name",
@@ -6937,7 +6937,7 @@
6937
6937
  },
6938
6938
  {
6939
6939
  "disabled": false,
6940
- "document": "字幕转写功能开关:0关闭,1开启,默认关闭",
6940
+ "document": "字幕转写功能开关。可以有以下取值:\n0 不开启字幕转写功能(默认值)\n1 自动转写模式:上课自动开启,下课自动停止",
6941
6941
  "example": "0",
6942
6942
  "member": "uint64",
6943
6943
  "name": "SubtitlesTranscription",