tccli 3.0.1267.1__py2.py3-none-any.whl → 3.0.1269.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 (101) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +5 -1
  3. tccli/services/aiart/aiart_client.py +106 -0
  4. tccli/services/aiart/v20221229/api.json +275 -0
  5. tccli/services/aiart/v20221229/examples.json +16 -0
  6. tccli/services/antiddos/v20200309/api.json +194 -136
  7. tccli/services/antiddos/v20200309/examples.json +15 -15
  8. tccli/services/bi/v20220105/api.json +1 -1
  9. tccli/services/billing/billing_client.py +4 -163
  10. tccli/services/billing/v20180709/api.json +0 -489
  11. tccli/services/billing/v20180709/examples.json +0 -24
  12. tccli/services/cat/v20180409/api.json +3 -1
  13. tccli/services/cbs/v20170312/api.json +27 -0
  14. tccli/services/ccc/v20200210/api.json +11 -11
  15. tccli/services/ccc/v20200210/examples.json +2 -2
  16. tccli/services/cdb/v20170320/api.json +48 -18
  17. tccli/services/cdn/v20180606/api.json +3 -0
  18. tccli/services/cfw/v20190904/api.json +30 -30
  19. tccli/services/ckafka/v20190819/api.json +10 -0
  20. tccli/services/cloudaudit/v20190319/api.json +3 -3
  21. tccli/services/cloudaudit/v20190319/examples.json +1 -1
  22. tccli/services/csip/v20221121/api.json +38 -38
  23. tccli/services/cwp/cwp_client.py +4 -57
  24. tccli/services/cwp/v20180228/api.json +11 -185
  25. tccli/services/cwp/v20180228/examples.json +0 -8
  26. tccli/services/cynosdb/v20190107/api.json +1 -1
  27. tccli/services/cynosdb/v20190107/examples.json +1 -1
  28. tccli/services/dcdb/dcdb_client.py +122 -16
  29. tccli/services/dcdb/v20180411/api.json +222 -0
  30. tccli/services/dcdb/v20180411/examples.json +16 -0
  31. tccli/services/dlc/v20210125/api.json +145 -26
  32. tccli/services/dlc/v20210125/examples.json +18 -18
  33. tccli/services/domain/v20180808/api.json +8 -8
  34. tccli/services/domain/v20180808/examples.json +3 -3
  35. tccli/services/es/v20180416/api.json +9 -9
  36. tccli/services/ess/v20201111/api.json +1 -1
  37. tccli/services/essbasic/v20210526/api.json +3 -3
  38. tccli/services/essbasic/v20210526/examples.json +2 -2
  39. tccli/services/facefusion/v20220927/api.json +4 -4
  40. tccli/services/faceid/v20180301/api.json +5 -5
  41. tccli/services/faceid/v20180301/examples.json +6 -0
  42. tccli/services/gme/v20180711/api.json +118 -115
  43. tccli/services/gme/v20180711/examples.json +6 -6
  44. tccli/services/hunyuan/v20230901/api.json +9 -0
  45. tccli/services/iotexplorer/v20190423/api.json +4 -4
  46. tccli/services/iotexplorer/v20190423/examples.json +5 -5
  47. tccli/services/keewidb/v20220308/api.json +2 -2
  48. tccli/services/lcic/lcic_client.py +61 -8
  49. tccli/services/lcic/v20220817/api.json +230 -177
  50. tccli/services/lcic/v20220817/examples.json +10 -2
  51. tccli/services/lighthouse/v20200324/api.json +80 -71
  52. tccli/services/live/v20180801/api.json +60 -4
  53. tccli/services/lke/v20231130/api.json +31 -0
  54. tccli/services/lkeap/v20240522/api.json +55 -9
  55. tccli/services/lkeap/v20240522/examples.json +1 -1
  56. tccli/services/mna/mna_client.py +106 -0
  57. tccli/services/mna/v20210119/api.json +246 -0
  58. tccli/services/mna/v20210119/examples.json +16 -0
  59. tccli/services/monitor/monitor_client.py +62 -57
  60. tccli/services/monitor/v20230616/api.json +266 -0
  61. tccli/services/monitor/v20230616/examples.json +19 -0
  62. tccli/services/mqtt/mqtt_client.py +489 -12
  63. tccli/services/mqtt/v20240516/api.json +864 -3
  64. tccli/services/mqtt/v20240516/examples.json +72 -0
  65. tccli/services/ocr/ocr_client.py +53 -0
  66. tccli/services/ocr/v20181119/api.json +287 -23
  67. tccli/services/ocr/v20181119/examples.json +8 -0
  68. tccli/services/postgres/postgres_client.py +334 -16
  69. tccli/services/postgres/v20170312/api.json +718 -35
  70. tccli/services/postgres/v20170312/examples.json +72 -0
  71. tccli/services/rum/v20210622/api.json +1 -1
  72. tccli/services/smh/v20210712/api.json +50 -30
  73. tccli/services/ssl/v20191205/api.json +496 -493
  74. tccli/services/ssl/v20191205/examples.json +144 -24
  75. tccli/services/taf/taf_client.py +0 -159
  76. tccli/services/taf/v20200210/api.json +0 -665
  77. tccli/services/taf/v20200210/examples.json +0 -24
  78. tccli/services/tdmq/v20200217/api.json +97 -0
  79. tccli/services/teo/v20220901/api.json +5 -5
  80. tccli/services/thpc/v20230321/api.json +19 -0
  81. tccli/services/tione/v20211111/api.json +14 -3
  82. tccli/services/trabbit/__init__.py +4 -0
  83. tccli/services/trabbit/trabbit_client.py +1691 -0
  84. tccli/services/trabbit/v20230418/api.json +4773 -0
  85. tccli/services/trabbit/v20230418/examples.json +237 -0
  86. tccli/services/trocket/v20230308/api.json +130 -11
  87. tccli/services/trtc/v20190722/api.json +8 -8
  88. tccli/services/trtc/v20190722/examples.json +2 -2
  89. tccli/services/vclm/v20240523/api.json +0 -450
  90. tccli/services/vclm/v20240523/examples.json +0 -48
  91. tccli/services/vclm/vclm_client.py +0 -159
  92. tccli/services/vpc/v20170312/api.json +46 -39
  93. tccli/services/vpc/v20170312/examples.json +3 -3
  94. tccli/services/wedata/v20210820/api.json +240 -42
  95. tccli/services/wedata/v20210820/examples.json +17 -3
  96. tccli/services/wedata/wedata_client.py +53 -0
  97. {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/METADATA +2 -2
  98. {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/RECORD +101 -95
  99. {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/WHEEL +0 -0
  100. {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/entry_points.txt +0 -0
  101. {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/license_files/LICENSE +0 -0
@@ -11,8 +11,8 @@
11
11
  "CreateApp": [
12
12
  {
13
13
  "document": "创建GME应用123,开启实时语音服务,使用高音质;开启离线语音服务; 关闭语音过滤服务;关闭ASR语音转文本服务。",
14
- "input": "POST / HTTP/1.1\nHost: gme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateApp\n<公共请求参数>\n\n{\n \"AppName\": \"123\",\n \"ProjectId\": 0,\n \"EngineList\": [\n \"android\"\n ],\n \"RegionList\": [\n \"mainland\"\n ],\n \"RealtimeSpeechConf\": {\n \"Status\": \"open\",\n \"Quality\": \"high\"\n },\n \"VoiceMessageConf\": {\n \"Status\": \"open\",\n \"Language\": \"all\"\n },\n \"VoiceFilterConf\": {\n \"Status\": \"close\",\n \"SceneInfos\": [\n {\n \"CallbackUrl\": \"http://xxx.xxxrealtimexxx.com\",\n \"SceneId\": \"RealTime\",\n \"Status\": false\n },\n {\n \"CallbackUrl\": \"http://xxx.xxxvoicemessagexxx.com\",\n \"SceneId\": \"VoiceMessage\",\n \"Status\": false\n },\n {\n \"CallbackUrl\": \"http://xxx.xxxgmeapixxx.com\",\n \"SceneId\": \"GMECloudApi\",\n \"Status\": false\n }\n ]\n },\n \"AsrConf\": {\n \"Status\": \"close\"\n },\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n}",
15
- "output": "{\n \"Response\": {\n \"Data\": {\n \"AppName\": \"123\",\n \"AsrConf\": {\n \"Status\": \"close\"\n },\n \"BizId\": 1410000000,\n \"CreateTime\": 1681894000,\n \"ProjectId\": 0,\n \"RealtimeSpeechConf\": {\n \"Quality\": \"high\",\n \"Status\": \"open\"\n },\n \"SecretKey\": \"7f9xxac16axxx49x\",\n \"VoiceFilterConf\": {\n \"SceneInfos\": [\n {\n \"CallbackUrl\": \"http://xxx.xxxrealtimexxx.com\",\n \"SceneId\": \"RealTime\",\n \"Status\": false\n },\n {\n \"CallbackUrl\": \"http://xxx.xxxvoicemessagexxx.com\",\n \"SceneId\": \"VoiceMessage\",\n \"Status\": false\n },\n {\n \"CallbackUrl\": \"http://xxx.xxxgmeapixxx.com\",\n \"SceneId\": \"GMECloudApi\",\n \"Status\": false\n }\n ],\n \"Status\": \"close\"\n },\n \"VoiceMessageConf\": {\n \"Language\": \"all\",\n \"Status\": \"open\"\n }\n },\n \"RequestId\": \"f28xxxfe-8xx8-4xx6-bcxx-22xxxfd00xxx\"\n }\n}",
14
+ "input": "POST / HTTP/1.1\nHost: gme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateApp\n<公共请求参数>\n\n{\n \"AppName\": \"simple_gme_application\",\n \"ProjectId\": 0,\n \"EngineList\": [\n \"android\"\n ],\n \"RegionList\": [\n \"mainland\"\n ],\n \"RealtimeSpeechConf\": {\n \"Status\": \"open\",\n \"Quality\": \"high\"\n },\n \"VoiceMessageConf\": {\n \"Status\": \"open\",\n \"Language\": \"all\"\n },\n \"VoiceFilterConf\": {\n \"Status\": \"close\",\n \"SceneInfos\": [\n {\n \"CallbackUrl\": \"http://xxx.xxxrealtimexxx.com\",\n \"SceneId\": \"RealTime\",\n \"Status\": false\n },\n {\n \"CallbackUrl\": \"http://xxx.xxxvoicemessagexxx.com\",\n \"SceneId\": \"VoiceMessage\",\n \"Status\": false\n },\n {\n \"CallbackUrl\": \"http://xxx.xxxgmeapixxx.com\",\n \"SceneId\": \"GMECloudApi\",\n \"Status\": false\n }\n ]\n },\n \"AsrConf\": {\n \"Status\": \"close\"\n },\n \"Tags\": [\n {\n \"TagKey\": \"tag_key_1\",\n \"TagValue\": \"tag_value\"\n }\n ]\n}",
15
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"AppName\": \"simple_gme_application\",\n \"AsrConf\": {\n \"Status\": \"close\"\n },\n \"BizId\": 1410000000,\n \"CreateTime\": 1681894000,\n \"ProjectId\": 0,\n \"RealtimeSpeechConf\": {\n \"Quality\": \"high\",\n \"Status\": \"open\"\n },\n \"SecretKey\": \"7f9xxac16axxx49x\",\n \"VoiceFilterConf\": {\n \"SceneInfos\": [\n {\n \"CallbackUrl\": \"http://xxx.xxxrealtimexxx.com\",\n \"SceneId\": \"RealTime\",\n \"Status\": false\n },\n {\n \"CallbackUrl\": \"http://xxx.xxxvoicemessagexxx.com\",\n \"SceneId\": \"VoiceMessage\",\n \"Status\": false\n },\n {\n \"CallbackUrl\": \"http://xxx.xxxgmeapixxx.com\",\n \"SceneId\": \"GMECloudApi\",\n \"Status\": false\n }\n ],\n \"Status\": \"close\"\n },\n \"VoiceMessageConf\": {\n \"Language\": \"all\",\n \"Status\": \"open\"\n }\n },\n \"RequestId\": \"f28xxxfe-8xx8-4xx6-bcxx-22xxxfd00xxx\"\n }\n}",
16
16
  "title": "使用自定义配置,创建一个GME应用"
17
17
  }
18
18
  ],
@@ -82,10 +82,10 @@
82
82
  ],
83
83
  "DescribeApplicationList": [
84
84
  {
85
- "document": "https://gme.tencentcloudapi.com/?Action=DescribeApplicationList\n&ProjectId=0\n&PageNo=0\n&PageSize=10\n&SearchText=测试\n&<公共请求参数>",
86
- "input": "POST / HTTP/1.1\nHost: gme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApplicationList\n<公共请求参数>\n\n{\n \"ProjectId\": \"0\",\n \"SearchText\": \"测试\",\n \"PageSize\": \"10\",\n \"PageNo\": \"0\"\n}",
87
- "output": "{\n \"Response\": {\n \"ApplicationList\": [\n {\n \"ServiceConf\": {\n \"Porn\": {\n \"Status\": 1\n },\n \"Live\": {\n \"Status\": 1\n },\n \"RealTimeSpeech\": {\n \"Status\": 1\n },\n \"RealTimeAsr\": {\n \"Status\": 1\n },\n \"VoiceMessage\": {\n \"Status\": 1\n },\n \"TextTranslate\": {\n \"Status\": 1\n }\n },\n \"BizId\": 1400000000,\n \"AppType\": 1,\n \"AppName\": \"test\",\n \"ProjectId\": 1,\n \"AppStatus\": 1,\n \"CreateTime\": 1\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"65ba570f-dbbb-4e3b-a412-5e285a2fecc9\"\n }\n}",
88
- "title": "获取自己名下名称中含有“测试”字样的应用列表"
85
+ "document": "https://gme.tencentcloudapi.com/?Action=DescribeApplicationList\n&ProjectId=0\n&PageNo=0\n&PageSize=10\n&SearchText=app_game\n&<公共请求参数>",
86
+ "input": "POST / HTTP/1.1\nHost: gme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApplicationList\n<公共请求参数>\n\n{\n \"ProjectId\": \"0\",\n \"SearchText\": \"app_game\",\n \"PageSize\": \"10\",\n \"PageNo\": \"0\"\n}",
87
+ "output": "{\n \"Response\": {\n \"ApplicationList\": [\n {\n \"ServiceConf\": {\n \"Porn\": {\n \"Status\": 1\n },\n \"Live\": {\n \"Status\": 1\n },\n \"RealTimeSpeech\": {\n \"Status\": 1\n },\n \"RealTimeAsr\": {\n \"Status\": 1\n },\n \"VoiceMessage\": {\n \"Status\": 1\n },\n \"TextTranslate\": {\n \"Status\": 1\n }\n },\n \"BizId\": 1400000000,\n \"AppType\": 1,\n \"AppName\": \"app_game_187\",\n \"ProjectId\": 1,\n \"AppStatus\": 1,\n \"CreateTime\": 1\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"65ba570f-dbbb-4e3b-a412-5e285a2fecc9\"\n }\n}",
88
+ "title": "获取自己名下名称中含有“app_game”字样的应用列表"
89
89
  }
90
90
  ],
91
91
  "DescribeRealtimeScanConfig": [
@@ -341,6 +341,15 @@
341
341
  "name": "EnableRecommendedQuestions",
342
342
  "required": false,
343
343
  "type": "bool"
344
+ },
345
+ {
346
+ "disabled": false,
347
+ "document": "是否开启深度阅读,默认是false,在值为true时,会返回深度阅读的结果信息。说明:1.深度阅读需要开启插件增强,即设置EnableEnhancement为true,当设置EnableDeepRead为true时EnableEnhancement默认为true;2.目前暂时只支持单文档单轮的深度阅读;3.深度阅读功能的文件上传可以使用FilesUploads接口,具体参数详见FilesUploads接口文档",
348
+ "example": "false",
349
+ "member": "bool",
350
+ "name": "EnableDeepRead",
351
+ "required": false,
352
+ "type": "bool"
344
353
  }
345
354
  ],
346
355
  "type": "object"
@@ -2797,7 +2797,7 @@
2797
2797
  {
2798
2798
  "disabled": false,
2799
2799
  "document": "视频分析识别区域",
2800
- "example": "{}",
2800
+ "example": "{”x0\":0,\"x1\":640,\"y0\":0,\"y1\":480}",
2801
2801
  "member": "string",
2802
2802
  "name": "ROI",
2803
2803
  "required": false,
@@ -3042,7 +3042,7 @@
3042
3042
  {
3043
3043
  "disabled": false,
3044
3044
  "document": "视频分析识别区域",
3045
- "example": "{}",
3045
+ "example": "{”x0\":0,\"x1\":640,\"y0\":0,\"y1\":480}",
3046
3046
  "member": "string",
3047
3047
  "name": "ROI",
3048
3048
  "required": false,
@@ -11120,7 +11120,7 @@
11120
11120
  {
11121
11121
  "disabled": false,
11122
11122
  "document": "视频分析识别区域",
11123
- "example": "{}",
11123
+ "example": "{”x0\":0,\"x1\":640,\"y0\":0,\"y1\":480}",
11124
11124
  "member": "string",
11125
11125
  "name": "ROI",
11126
11126
  "required": false,
@@ -11240,7 +11240,7 @@
11240
11240
  {
11241
11241
  "disabled": false,
11242
11242
  "document": "视频分析识别区域",
11243
- "example": "{}",
11243
+ "example": "{”x0\":0,\"x1\":640,\"y0\":0,\"y1\":480}",
11244
11244
  "member": "string",
11245
11245
  "name": "ROI",
11246
11246
  "required": false,
@@ -159,13 +159,13 @@
159
159
  "CreateCloudStorageAIServiceTask": [
160
160
  {
161
161
  "document": "",
162
- "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudStorageAIServiceTask\n<公共请求参数>\n\n{\n \"ProductId\": \"TQBDY6RPI9\",\n \"DeviceName\": \"cs_112114601_2\",\n \"ServiceType\": \"Highlight\",\n \"StartTime\": 1710487888,\n \"EndTime\": 1710487898,\n \"ChannelId\": 0,\n \"Config\": \"{}\"\n}",
162
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudStorageAIServiceTask\n<公共请求参数>\n\n{\n \"ProductId\": \"TQBDY6RPI9\",\n \"DeviceName\": \"cs_112114601_2\",\n \"ServiceType\": \"Highlight\",\n \"StartTime\": 1710487888,\n \"EndTime\": 1710487898,\n \"ChannelId\": 0\n}",
163
163
  "output": "{\n \"Response\": {\n \"RequestId\": \"c497cdcb-8eaf-46b0-8850-311cfb278798\",\n \"TaskId\": \"fb066d7a-baac-4706-acda-058f56f82759\"\n }\n}",
164
164
  "title": "创建设备云存 AI 分析任务"
165
165
  },
166
166
  {
167
167
  "document": "",
168
- "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudStorageAIServiceTask\n<公共请求参数>\n\n{\n \"ProductId\": \"TQBDY6RPI9\",\n \"DeviceName\": \"cs_112114601_2\",\n \"ServiceType\": \"Highlight\",\n \"StartTime\": 1710487888,\n \"EndTime\": 1710487898,\n \"ChannelId\": 0,\n \"Config\": \"{}\",\n \"VideoURLs\": [\n \"https://example.com/video.mp4\"\n ]\n}",
168
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudStorageAIServiceTask\n<公共请求参数>\n\n{\n \"ProductId\": \"TQBDY6RPI9\",\n \"DeviceName\": \"cs_112114601_2\",\n \"ServiceType\": \"Highlight\",\n \"StartTime\": 1710487888,\n \"EndTime\": 1710487898,\n \"ChannelId\": 0,\n \"VideoURLs\": [\n \"https://example.com/video.mp4\"\n ]\n}",
169
169
  "output": "{\n \"Response\": {\n \"RequestId\": \"c497cdcb-8eaf-46b0-8850-311cfb278798\",\n \"TaskId\": \"fb066d7a-baac-4706-acda-058f56f82759\"\n }\n}",
170
170
  "title": "使用外部数据源创建云存 AI 分析任务"
171
171
  }
@@ -201,7 +201,7 @@
201
201
  "CreateExternalSourceAIServiceTask": [
202
202
  {
203
203
  "document": "",
204
- "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateExternalSourceAIServiceTask\n<公共请求参数>\n\n{\n \"ProductId\": \"TQBDY6RPI9\",\n \"ServiceType\": \"Highlight\",\n \"VideoURLs\": [\n \"https://example.com/video.mp4\"\n ],\n \"Config\": \"{}\"\n}",
204
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateExternalSourceAIServiceTask\n<公共请求参数>\n\n{\n \"ProductId\": \"TQBDY6RPI9\",\n \"ServiceType\": \"Highlight\",\n \"VideoURLs\": [\n \"https://example.com/video.mp4\"\n ]\n}",
205
205
  "output": "{\n \"Response\": {\n \"RequestId\": \"c497cdcb-8eaf-46b0-8850-311cfb278798\",\n \"TaskId\": \"fb066d7a-baac-4706-acda-058f56f82759\"\n }\n}",
206
206
  "title": "创建外部视频 AI 分析任务"
207
207
  }
@@ -1035,13 +1035,13 @@
1035
1035
  "InvokeExternalSourceAIServiceTask": [
1036
1036
  {
1037
1037
  "document": "",
1038
- "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeExternalSourceAIServiceTask\n<公共请求参数>\n\n{\n \"ProductId\": \"TQBDY6RPI9\",\n \"ServiceType\": \"Highlight\",\n \"VideoURLs\": [\n \"https://example.com/video.mp4\"\n ],\n \"Config\": \"{}\"\n}",
1038
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeExternalSourceAIServiceTask\n<公共请求参数>\n\n{\n \"ProductId\": \"TQBDY6RPI9\",\n \"ServiceType\": \"Highlight\",\n \"VideoURLs\": [\n \"https://example.com/video.mp4\"\n ]\n}",
1039
1039
  "output": "{\n \"Response\": {\n \"RequestId\": \"8b490930-d119-4ee2-963c-c58973a1ebe6\",\n \"Completed\": true,\n \"TaskId\": \"c31aa4f2-08c9-4088-9603-186d7311fdd8\",\n \"TaskInfo\": {\n \"ChannelId\": 0,\n \"CreateTime\": 1714240802,\n \"DeviceName\": \"dev001\",\n \"EndTime\": 1714233600,\n \"Files\": [\n \"output.mp4\"\n ],\n \"ProductId\": \"TSLFHRWDSD\",\n \"Result\": \"\",\n \"ServiceType\": \"Highlight\",\n \"StartTime\": 1714147200,\n \"Status\": 3,\n \"TaskId\": \"c31aa4f2-08c9-4088-9603-186d7311fdd8\",\n \"UpdateTime\": 1714240802\n }\n }\n}",
1040
1040
  "title": "创建外部视频 AI 分析任务(执行成功)"
1041
1041
  },
1042
1042
  {
1043
1043
  "document": "",
1044
- "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeExternalSourceAIServiceTask\n<公共请求参数>\n\n{\n \"ProductId\": \"TQBDY6RPI9\",\n \"ServiceType\": \"Highlight\",\n \"VideoURLs\": [\n \"https://example.com/video.mp4\"\n ],\n \"Config\": \"{}\"\n}",
1044
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeExternalSourceAIServiceTask\n<公共请求参数>\n\n{\n \"ProductId\": \"TQBDY6RPI9\",\n \"ServiceType\": \"Highlight\",\n \"VideoURLs\": [\n \"https://example.com/video.mp4\"\n ]\n}",
1045
1045
  "output": "{\n \"Response\": {\n \"RequestId\": \"8b490930-d119-4ee2-963c-c58973a1ebe6\",\n \"Completed\": false,\n \"TaskId\": \"c31aa4f2-08c9-4088-9603-186d7311fdd8\",\n \"TaskInfo\": {\n \"ChannelId\": 0,\n \"CreateTime\": 1714240802,\n \"DeviceName\": \"dev001\",\n \"EndTime\": 1714233600,\n \"Files\": [],\n \"ProductId\": \"TSLFHRWDSD\",\n \"Result\": \"\",\n \"ServiceType\": \"Highlight\",\n \"StartTime\": 1714147200,\n \"Status\": 4,\n \"TaskId\": \"c31aa4f2-08c9-4088-9603-186d7311fdd8\",\n \"UpdateTime\": 1714240802\n }\n }\n}",
1046
1046
  "title": "创建外部视频 AI 分析任务(超时未完成,转异步)"
1047
1047
  }
@@ -22,7 +22,7 @@
22
22
  "status": "online"
23
23
  },
24
24
  "ClearInstance": {
25
- "document": "本接口(ClearInstance)用于清空实例数据。",
25
+ "document": "本接口(ClearInstance)用于清空实例数据。\n> **说明**:在清空数据流程中,系统将自动进行数据备份,耗时较长,请您耐心等待并提前做好时间规划。",
26
26
  "input": "ClearInstanceRequest",
27
27
  "name": "清空实例数据",
28
28
  "output": "ClearInstanceResponse",
@@ -557,7 +557,7 @@
557
557
  "example": "10856",
558
558
  "member": "int64",
559
559
  "name": "TaskId",
560
- "required": true,
560
+ "output_required": true,
561
561
  "type": "int",
562
562
  "value_allowed_null": false
563
563
  },
@@ -1473,6 +1473,58 @@ def doGetRoomEvent(args, parsed_globals):
1473
1473
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1474
1474
 
1475
1475
 
1476
+ def doDeleteUser(args, parsed_globals):
1477
+ g_param = parse_global_arg(parsed_globals)
1478
+
1479
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1480
+ cred = credential.CVMRoleCredential()
1481
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1482
+ cred = credential.STSAssumeRoleCredential(
1483
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1484
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1485
+ )
1486
+ 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):
1487
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1488
+ else:
1489
+ cred = credential.Credential(
1490
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1491
+ )
1492
+ http_profile = HttpProfile(
1493
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1494
+ reqMethod="POST",
1495
+ endpoint=g_param[OptionsDefine.Endpoint],
1496
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1497
+ )
1498
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1499
+ if g_param[OptionsDefine.Language]:
1500
+ profile.language = g_param[OptionsDefine.Language]
1501
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1502
+ client = mod.LcicClient(cred, g_param[OptionsDefine.Region], profile)
1503
+ client._sdkVersion += ("_CLI_" + __version__)
1504
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1505
+ model = models.DeleteUserRequest()
1506
+ model.from_json_string(json.dumps(args))
1507
+ start_time = time.time()
1508
+ while True:
1509
+ rsp = client.DeleteUser(model)
1510
+ result = rsp.to_json_string()
1511
+ try:
1512
+ json_obj = json.loads(result)
1513
+ except TypeError as e:
1514
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1515
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1516
+ break
1517
+ cur_time = time.time()
1518
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1519
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1520
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1521
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1522
+ else:
1523
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1524
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1525
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1526
+
1527
+
1476
1528
  def doDescribeRoom(args, parsed_globals):
1477
1529
  g_param = parse_global_arg(parsed_globals)
1478
1530
 
@@ -1837,7 +1889,7 @@ def doDeleteSupervisor(args, parsed_globals):
1837
1889
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1838
1890
 
1839
1891
 
1840
- def doDeleteUser(args, parsed_globals):
1892
+ def doDescribeRoomStatistics(args, parsed_globals):
1841
1893
  g_param = parse_global_arg(parsed_globals)
1842
1894
 
1843
1895
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1866,11 +1918,11 @@ def doDeleteUser(args, parsed_globals):
1866
1918
  client = mod.LcicClient(cred, g_param[OptionsDefine.Region], profile)
1867
1919
  client._sdkVersion += ("_CLI_" + __version__)
1868
1920
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1869
- model = models.DeleteUserRequest()
1921
+ model = models.DescribeRoomStatisticsRequest()
1870
1922
  model.from_json_string(json.dumps(args))
1871
1923
  start_time = time.time()
1872
1924
  while True:
1873
- rsp = client.DeleteUser(model)
1925
+ rsp = client.DescribeRoomStatistics(model)
1874
1926
  result = rsp.to_json_string()
1875
1927
  try:
1876
1928
  json_obj = json.loads(result)
@@ -1941,7 +1993,7 @@ def doRegisterUser(args, parsed_globals):
1941
1993
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1942
1994
 
1943
1995
 
1944
- def doDescribeRoomStatistics(args, parsed_globals):
1996
+ def doDescribeRecordTask(args, parsed_globals):
1945
1997
  g_param = parse_global_arg(parsed_globals)
1946
1998
 
1947
1999
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1970,11 +2022,11 @@ def doDescribeRoomStatistics(args, parsed_globals):
1970
2022
  client = mod.LcicClient(cred, g_param[OptionsDefine.Region], profile)
1971
2023
  client._sdkVersion += ("_CLI_" + __version__)
1972
2024
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1973
- model = models.DescribeRoomStatisticsRequest()
2025
+ model = models.DescribeRecordTaskRequest()
1974
2026
  model.from_json_string(json.dumps(args))
1975
2027
  start_time = time.time()
1976
2028
  while True:
1977
- rsp = client.DescribeRoomStatistics(model)
2029
+ rsp = client.DescribeRecordTask(model)
1978
2030
  result = rsp.to_json_string()
1979
2031
  try:
1980
2032
  json_obj = json.loads(result)
@@ -3540,6 +3592,7 @@ ACTION_MAP = {
3540
3592
  "ModifyUserProfile": doModifyUserProfile,
3541
3593
  "BatchDeleteGroupMember": doBatchDeleteGroupMember,
3542
3594
  "GetRoomEvent": doGetRoomEvent,
3595
+ "DeleteUser": doDeleteUser,
3543
3596
  "DescribeRoom": doDescribeRoom,
3544
3597
  "DescribeDocuments": doDescribeDocuments,
3545
3598
  "SendRoomNormalMessage": doSendRoomNormalMessage,
@@ -3547,9 +3600,9 @@ ACTION_MAP = {
3547
3600
  "CreateGroupWithSubGroup": doCreateGroupWithSubGroup,
3548
3601
  "GetRoomMessage": doGetRoomMessage,
3549
3602
  "DeleteSupervisor": doDeleteSupervisor,
3550
- "DeleteUser": doDeleteUser,
3551
- "RegisterUser": doRegisterUser,
3552
3603
  "DescribeRoomStatistics": doDescribeRoomStatistics,
3604
+ "RegisterUser": doRegisterUser,
3605
+ "DescribeRecordTask": doDescribeRecordTask,
3553
3606
  "BindDocumentToRoom": doBindDocumentToRoom,
3554
3607
  "LoginOriginId": doLoginOriginId,
3555
3608
  "ForbidSendMsg": doForbidSendMsg,