tccli 3.0.1339.1__py2.py3-none-any.whl → 3.0.1341.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/bh/bh_client.py +326 -8
  3. tccli/services/bh/v20230418/api.json +547 -0
  4. tccli/services/bh/v20230418/examples.json +48 -0
  5. tccli/services/ccc/v20200210/api.json +1 -1
  6. tccli/services/cdb/v20170320/api.json +144 -144
  7. tccli/services/cdb/v20170320/examples.json +19 -19
  8. tccli/services/cdn/v20180606/examples.json +1 -1
  9. tccli/services/csip/v20221121/api.json +48 -10
  10. tccli/services/csip/v20221121/examples.json +11 -11
  11. tccli/services/cvm/v20170312/api.json +9 -0
  12. tccli/services/cwp/v20180228/api.json +106 -2
  13. tccli/services/cwp/v20180228/examples.json +12 -0
  14. tccli/services/cynosdb/v20190107/api.json +29 -2
  15. tccli/services/cynosdb/v20190107/examples.json +1 -1
  16. tccli/services/dsgc/v20190723/api.json +215 -17
  17. tccli/services/emr/emr_client.py +363 -310
  18. tccli/services/emr/v20190103/api.json +299 -0
  19. tccli/services/emr/v20190103/examples.json +8 -0
  20. tccli/services/ess/v20201111/api.json +16 -5
  21. tccli/services/essbasic/v20210526/api.json +1 -1
  22. tccli/services/gs/v20191118/api.json +10 -1
  23. tccli/services/ims/v20200713/api.json +1 -1
  24. tccli/services/ims/v20200713/examples.json +1 -1
  25. tccli/services/kms/kms_client.py +915 -120
  26. tccli/services/kms/v20190118/api.json +1104 -27
  27. tccli/services/kms/v20190118/examples.json +126 -0
  28. tccli/services/live/v20180801/api.json +9 -0
  29. tccli/services/live/v20180801/examples.json +4 -4
  30. tccli/services/lke/lke_client.py +228 -16
  31. tccli/services/lke/v20231130/api.json +1490 -217
  32. tccli/services/lke/v20231130/examples.json +33 -1
  33. tccli/services/mqtt/v20240516/api.json +80 -0
  34. tccli/services/mqtt/v20240516/examples.json +6 -0
  35. tccli/services/organization/v20210331/api.json +11 -0
  36. tccli/services/organization/v20210331/examples.json +1 -1
  37. tccli/services/partners/v20180321/api.json +2 -2
  38. tccli/services/postgres/v20170312/api.json +4 -4
  39. tccli/services/ses/v20201002/api.json +8 -8
  40. tccli/services/tcss/v20201101/api.json +10 -0
  41. tccli/services/thpc/v20230321/api.json +32 -2
  42. tccli/services/tione/v20211111/api.json +11 -0
  43. tccli/services/trocket/trocket_client.py +53 -0
  44. tccli/services/trocket/v20230308/api.json +233 -143
  45. tccli/services/trocket/v20230308/examples.json +14 -6
  46. tccli/services/vpc/v20170312/api.json +9 -0
  47. tccli/services/waf/v20180125/api.json +59 -21
  48. tccli/services/wedata/v20210820/api.json +432 -10
  49. tccli/services/wedata/v20210820/examples.json +17 -1
  50. tccli/services/wedata/wedata_client.py +114 -8
  51. {tccli-3.0.1339.1.dist-info → tccli-3.0.1341.1.dist-info}/METADATA +2 -2
  52. {tccli-3.0.1339.1.dist-info → tccli-3.0.1341.1.dist-info}/RECORD +55 -55
  53. {tccli-3.0.1339.1.dist-info → tccli-3.0.1341.1.dist-info}/WHEEL +0 -0
  54. {tccli-3.0.1339.1.dist-info → tccli-3.0.1341.1.dist-info}/entry_points.txt +0 -0
  55. {tccli-3.0.1339.1.dist-info → tccli-3.0.1341.1.dist-info}/license_files/LICENSE +0 -0
@@ -24,6 +24,14 @@
24
24
  "title": "文档转换示例"
25
25
  }
26
26
  ],
27
+ "CreateAgent": [
28
+ {
29
+ "document": "",
30
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAgent\n<公共请求参数>\n\n{\n \"AppBizId\": \"1906600044720291840\",\n \"Agent\": {\n \"Name\": \"浏览器控制 agent\",\n \"Instructions\": \"根据用户需求进行浏览器的控制\",\n \"HandoffDescription\": \"涉及到实际浏览器控制和操作的需求都可以交给我\",\n \"Model\": {\n \"ModelName\": \"function-call-pro\"\n }\n }\n}",
31
+ "output": "{\n \"Response\": {\n \"AgentId\": \"845c1ef7-5103-4e95-9e59-3d46fbeabe63\",\n \"RequestId\": \"84ec404b-729e-47af-9f64-7a3f590c8c27\"\n }\n}",
32
+ "title": "创建Agent"
33
+ }
34
+ ],
27
35
  "CreateApp": [
28
36
  {
29
37
  "document": "创建应用",
@@ -112,6 +120,14 @@
112
120
  "title": "创建工作流的异步运行实例"
113
121
  }
114
122
  ],
123
+ "DeleteAgent": [
124
+ {
125
+ "document": "",
126
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAgent\n<公共请求参数>\n\n{\n \"AgentId\": \"7594514a-c83a-4dd2-ab4c-3f26c3ed9c43\",\n \"AppBizId\": \"1906600044720291840\"\n}",
127
+ "output": "{\n \"Response\": {\n \"AgentId\": \"7594514a-c83a-4dd2-ab4c-3f26c3ed9c43\",\n \"RequestId\": \"fe602bed-e1a4-4e3c-9066-f64f77ed2052\"\n }\n}",
128
+ "title": "删除Agent"
129
+ }
130
+ ],
115
131
  "DeleteApp": [
116
132
  {
117
133
  "document": "删除应用",
@@ -192,6 +208,14 @@
192
208
  "title": "DescribeApp"
193
209
  }
194
210
  ],
211
+ "DescribeAppAgentList": [
212
+ {
213
+ "document": "查询指定应用下的Agent列表",
214
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAppAgentList\n<公共请求参数>\n\n{\n \"AppBizId\": \"1906600044720291840\"\n}",
215
+ "output": "{\n \"Response\": {\n \"Agents\": [\n {\n \"AgentId\": \"mainagent-1906600044720291840\",\n \"HandoffDescription\": \"处理不了的事情都可以转交给我处理\",\n \"Handoffs\": [],\n \"IconUrl\": \"https://cdn.xiaowei.qq.com/static/lke/app-default-avatar.png\",\n \"Instructions\": \"# 任务目标\\n扮演智能客服,向有特定要求的客户提供友好、简洁、智慧、客观且易于理解的回复。\\n\\n# 任务流程\\n1. 接收客户的问题或需求。\\n2. 使用简洁、智慧、客观且普通人可理解的语言来组织答案。\\n3. 在准备回复前,对自己的回答进行再次审查和确认,以确保信息的准确性。\\n4. 确保回复符合所有服务准则。\\n5. 向客户提供回复。\\n\\n# 限制条件\\n- 回答必须使用简洁、智慧、客观且普通人可理解的语言。\\n- 回答前需进行审查和确认,确保信息准确无误。\\n- 回答必须符合所有服务准则。\\n- 不得直接回答用户问题,仅提供回复的组织和审查服务。\",\n \"IsStartingAgent\": true,\n \"Model\": {\n \"HistoryLimit\": 0,\n \"IsEnabled\": true,\n \"ModelAliasName\": \"精调Function-call模型\",\n \"ModelContextWordsLimit\": \"8K\",\n \"ModelName\": \"function-call-pro\",\n \"Temperature\": 0.5,\n \"TopP\": 0.5\n },\n \"Name\": \"willzhen-test\",\n \"Plugins\": [\n {\n \"Headers\": [],\n \"PluginId\": \"4dcbd619-670c-403d-9f3f-8284880e2ffa\"\n },\n {\n \"Headers\": [],\n \"PluginId\": \"36b35d23-a020-4e48-b641-58d7ad92fba7\"\n },\n {\n \"Headers\": [],\n \"PluginId\": \"751ec82b-dd2b-4969-8ca0-3db674d29b94\"\n },\n {\n \"Headers\": [],\n \"PluginId\": \"99898f10-42e0-4186-afcc-2a9ec85db95b\"\n }\n ],\n \"Tools\": [\n {\n \"CreateType\": 0,\n \"Headers\": [],\n \"IconUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/plugin_files/%E7%A7%91%E5%AD%A6%E8%AE%A1%E7%AE%97.png\",\n \"Inputs\": [\n {\n \"AgentHidden\": false,\n \"DefaultValue\": \"\",\n \"Desc\": \"数学表达式,只能是数字或符号,示例: 2+2^5+8/3+66\",\n \"IsRequired\": true,\n \"Name\": \"Expression\",\n \"SubParams\": [],\n \"Type\": 0\n }\n ],\n \"IsBindingKnowledge\": false,\n \"McpServer\": {\n \"Headers\": [],\n \"McpServerUrl\": \"\",\n \"SseReadTimeout\": 0,\n \"Timeout\": 0\n },\n \"Outputs\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回码。0正常,非0异常\",\n \"Name\": \"Code\",\n \"SubParams\": [],\n \"Type\": 1\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回信息。Code为0:success,Code非0: 异常信息\",\n \"Name\": \"Msg\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回数据。Code为0:CalculationResult,Code非0:{}\",\n \"Name\": \"Data\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"计算结果\",\n \"Name\": \"Result\",\n \"SubParams\": [],\n \"Type\": 0\n }\n ],\n \"Type\": 4\n }\n ],\n \"PluginId\": \"4dcbd619-670c-403d-9f3f-8284880e2ffa\",\n \"PluginName\": \"科学计算\",\n \"PluginType\": 1,\n \"Status\": 0,\n \"ToolDesc\": \"科学计算\",\n \"ToolId\": \"7624299e-490c-4ca6-8378-0fe432421491\",\n \"ToolName\": \"Calculator\"\n },\n {\n \"CreateType\": 0,\n \"Headers\": [],\n \"IconUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/plugin_files/%E5%A4%A9%E6%B0%94.png\",\n \"Inputs\": [\n {\n \"AgentHidden\": false,\n \"DefaultValue\": \"\",\n \"Desc\": \"地点,可以包含省、市、区县等\",\n \"IsRequired\": true,\n \"Name\": \"Location\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"DefaultValue\": \"\",\n \"Desc\": \"查询开始时间,格式为2006-01-02\",\n \"IsRequired\": false,\n \"Name\": \"StartTime\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"DefaultValue\": \"\",\n \"Desc\": \"查询结束时间,格式为2006-01-02\",\n \"IsRequired\": false,\n \"Name\": \"EndTime\",\n \"SubParams\": [],\n \"Type\": 0\n }\n ],\n \"IsBindingKnowledge\": false,\n \"McpServer\": {\n \"Headers\": [],\n \"McpServerUrl\": \"\",\n \"SseReadTimeout\": 0,\n \"Timeout\": 0\n },\n \"Outputs\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回码。0正常,非0异常\",\n \"Name\": \"Code\",\n \"SubParams\": [],\n \"Type\": 1\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回信息。Code为0:success,Code非0: 异常信息\",\n \"Name\": \"Msg\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回数据。Code非0:{},Code为0:WeatherContent\",\n \"Name\": \"Data\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"天级别的天气,WeatherInfo\",\n \"Name\": \"Results\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"日期,格式为2006-01-02\",\n \"Name\": \"Date\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"天气\",\n \"Name\": \"Condition\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"当前温度\",\n \"Name\": \"Temperature\",\n \"SubParams\": [],\n \"Type\": 2\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"湿度\",\n \"Name\": \"Humidity\",\n \"SubParams\": [],\n \"Type\": 2\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"空气质量\",\n \"Name\": \"AQI\",\n \"SubParams\": [],\n \"Type\": 2\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"最高温度\",\n \"Name\": \"TemperatureHigh\",\n \"SubParams\": [],\n \"Type\": 2\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"最低温度\",\n \"Name\": \"TemperatureLow\",\n \"SubParams\": [],\n \"Type\": 2\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"当日天气情况\",\n \"Name\": \"WeatherDay\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"风速\",\n \"Name\": \"WindSpeed\",\n \"SubParams\": [],\n \"Type\": 2\n }\n ],\n \"Type\": 9\n }\n ],\n \"Type\": 4\n }\n ],\n \"PluginId\": \"36b35d23-a020-4e48-b641-58d7ad92fba7\",\n \"PluginName\": \"天气\",\n \"PluginType\": 1,\n \"Status\": 0,\n \"ToolDesc\": \"获取指定日期和地点的天气信息,只支持查询中国国内城市的天气\",\n \"ToolId\": \"09721e75-4e28-4953-a771-e1bd0e5a5927\",\n \"ToolName\": \"GetWeatherInfo\"\n },\n {\n \"CreateType\": 0,\n \"Headers\": [],\n \"IconUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/plugin_files/%E4%BB%A3%E7%A0%81%E8%A7%A3%E9%87%8A%E5%99%A8.png\",\n \"Inputs\": [\n {\n \"AgentHidden\": false,\n \"DefaultValue\": \"\",\n \"Desc\": \"待执行的code\",\n \"IsRequired\": true,\n \"Name\": \"Code\",\n \"SubParams\": [],\n \"Type\": 0\n }\n ],\n \"IsBindingKnowledge\": false,\n \"McpServer\": {\n \"Headers\": [],\n \"McpServerUrl\": \"\",\n \"SseReadTimeout\": 0,\n \"Timeout\": 0\n },\n \"Outputs\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回码。0正常,非0异常\",\n \"Name\": \"Code\",\n \"SubParams\": [],\n \"Type\": 1\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回信息。Code为0:success,Code非0: 异常信息\",\n \"Name\": \"Msg\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回数据。Code非0:{},Code为0:CodeContent\",\n \"Name\": \"Data\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"代码执行结果\",\n \"Name\": \"ExecResult\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"代码执行信息\",\n \"Name\": \"ExecMsg\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"代码执行状态。success:成功,fail:失败\",\n \"Name\": \"ExecState\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"处理后的图片列表\",\n \"Name\": \"Images\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"图片Url\",\n \"Name\": \"Url\",\n \"SubParams\": [],\n \"Type\": 0\n }\n ],\n \"Type\": 9\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"处理后的文件列表\",\n \"Name\": \"Files\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"文件Url\",\n \"Name\": \"Url\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"文件名称\",\n \"Name\": \"FileName\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"文件大小\",\n \"Name\": \"Size\",\n \"SubParams\": [],\n \"Type\": 1\n }\n ],\n \"Type\": 9\n }\n ],\n \"Type\": 4\n }\n ],\n \"PluginId\": \"751ec82b-dd2b-4969-8ca0-3db674d29b94\",\n \"PluginName\": \"代码解释器\",\n \"PluginType\": 1,\n \"Status\": 0,\n \"ToolDesc\": \"该工具用于代码执行\",\n \"ToolId\": \"3af56855-015a-48d8-a6e0-b3ad0a6eddcb\",\n \"ToolName\": \"CodeInterpreter\"\n },\n {\n \"CreateType\": 0,\n \"Headers\": [],\n \"IconUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/plugin_files/%E4%BB%A3%E7%A0%81%E8%A7%A3%E9%87%8A%E5%99%A8.png\",\n \"Inputs\": [\n {\n \"AgentHidden\": false,\n \"DefaultValue\": \"\",\n \"Desc\": \"Python code that uses pyecharts to create visualization, the input code should be a valid python command. The code should create a chart and render it, then save it as a html file containing the interactive chart. Do not pip install missing modules.\",\n \"IsRequired\": true,\n \"Name\": \"Code\",\n \"SubParams\": [],\n \"Type\": 0\n }\n ],\n \"IsBindingKnowledge\": false,\n \"McpServer\": {\n \"Headers\": [],\n \"McpServerUrl\": \"\",\n \"SseReadTimeout\": 0,\n \"Timeout\": 0\n },\n \"Outputs\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回码。0正常,非0异常\",\n \"Name\": \"Code\",\n \"SubParams\": [],\n \"Type\": 1\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回信息。Code为0:success,Code非0: 异常信息\",\n \"Name\": \"Msg\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回数据。Code非0:{},Code为0:CodeContent\",\n \"Name\": \"Data\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"代码执行结果\",\n \"Name\": \"ExecResult\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"代码执行信息\",\n \"Name\": \"ExecMsg\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"代码执行状态。success:成功,fail:失败\",\n \"Name\": \"ExecState\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"处理后的图片列表\",\n \"Name\": \"Images\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"图片Url\",\n \"Name\": \"Url\",\n \"SubParams\": [],\n \"Type\": 0\n }\n ],\n \"Type\": 9\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"处理后的文件列表\",\n \"Name\": \"Files\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"文件Url\",\n \"Name\": \"Url\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"文件名称\",\n \"Name\": \"FileName\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"文件大小\",\n \"Name\": \"Size\",\n \"SubParams\": [],\n \"Type\": 1\n }\n ],\n \"Type\": 9\n }\n ],\n \"Type\": 4\n }\n ],\n \"PluginId\": \"751ec82b-dd2b-4969-8ca0-3db674d29b94\",\n \"PluginName\": \"代码解释器\",\n \"PluginType\": 1,\n \"Status\": 0,\n \"ToolDesc\": \"适用于代码运行,并支持输出可交互式的图表\",\n \"ToolId\": \"3ea907b0-0978-4f37-a771-7c53383c9a8e\",\n \"ToolName\": \"GenerateCharts\"\n },\n {\n \"CreateType\": 0,\n \"Headers\": [],\n \"IconUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/plugin_files/03bigIcon%E5%A4%A7%E5%9B%BE%E6%A0%87%20%282%29.png\",\n \"Inputs\": [\n {\n \"AgentHidden\": false,\n \"DefaultValue\": \"\",\n \"Desc\": \"对于图片的文字描述,算法将根据输入的文本智能生成与之相关的图像。建议详细描述画面主体、细节、场景等,文本描述越丰富,生成效果越精美。\",\n \"IsRequired\": true,\n \"Name\": \"Prompt\",\n \"SubParams\": [],\n \"Type\": 0\n }\n ],\n \"IsBindingKnowledge\": false,\n \"McpServer\": {\n \"Headers\": [],\n \"McpServerUrl\": \"\",\n \"SseReadTimeout\": 0,\n \"Timeout\": 0\n },\n \"Outputs\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回码。0正常,非0异常\",\n \"Name\": \"Code\",\n \"SubParams\": [],\n \"Type\": 1\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回信息。Code为0:success,Code非0: 异常信息\",\n \"Name\": \"Msg\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回数据。Code不为0:{}\",\n \"Name\": \"Data\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"\",\n \"Name\": \"Results\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"生成的图片URL\",\n \"Name\": \"Url\",\n \"SubParams\": [],\n \"Type\": 0\n }\n ],\n \"Type\": 9\n }\n ],\n \"Type\": 4\n }\n ],\n \"PluginId\": \"99898f10-42e0-4186-afcc-2a9ec85db95b\",\n \"PluginName\": \"图片生成\",\n \"PluginType\": 1,\n \"Status\": 0,\n \"ToolDesc\": \"根据输入的文本描述,智能生成与之相关的结果图\",\n \"ToolId\": \"da9264a2-a7ed-4095-b2fa-e94265e370dc\",\n \"ToolName\": \"TextToImage\"\n }\n ],\n \"WorkflowId\": \"\"\n },\n {\n \"AgentId\": \"50d09c49-0497-43e8-a380-8a673ea70c81\",\n \"HandoffDescription\": \"财务小助手\",\n \"Handoffs\": [\n \"b07abb63-5c0b-4291-9eb6-b600d53bcc97\",\n \"3333b8ad-1a78-4c4e-af6e-0c4beffb1631\"\n ],\n \"IconUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/plugin_files/%E6%8F%92%E4%BB%B6-%E9%BB%98%E8%AE%A4.png\",\n \"Instructions\": \"帮助我完成一些财务上的事情\",\n \"IsStartingAgent\": true,\n \"Model\": {\n \"HistoryLimit\": 4,\n \"IsEnabled\": true,\n \"ModelAliasName\": \"精调Function-call模型\",\n \"ModelContextWordsLimit\": \"8K\",\n \"ModelName\": \"function-call-pro\",\n \"Temperature\": 0.5,\n \"TopP\": 0.5\n },\n \"Name\": \"财务小助手\",\n \"Plugins\": [],\n \"Tools\": [],\n \"WorkflowId\": \"\"\n },\n {\n \"AgentId\": \"db6fd2bb-c1ee-4173-8c94-327cd98f9293\",\n \"HandoffDescription\": \"当用户需要取消订单时触发此任务流程\",\n \"Handoffs\": [],\n \"IconUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/plugin_files/%E6%8F%92%E4%BB%B6-%E9%BB%98%E8%AE%A4.png\",\n \"Instructions\": \"{\\\"SLOTs\\\":\\\"- name: 订单id\\\\n desc: 指的是订单id,10位阿拉伯数字,例如:1234567890。\\\\n type: int\\\\n- name: 用户id\\\\n desc: 指的是用户身份id,4位数阿拉伯数字,如:1234。\\\\n type: int\\\\n\\\",\\\"APIs\\\":\\\"- name: 查询账户中是否有订单\\\\n precondition: []\\\\n- name: 代码1\\\\n precondition: []\\\\n- name: 判断是否已提交取消申请的SR工单\\\\n precondition:\\\\n - 查询账户中是否有订单\\\\n- name: 代码4\\\\n precondition: []\\\\n- name: 查询订单状态\\\\n precondition:\\\\n - 判断是否已提交取消申请的SR工单\\\\n- name: 代码3\\\\n precondition: []\\\\n- name: 识别SR单进度\\\\n precondition:\\\\n - 判断是否已提交取消申请的SR工单\\\\n- name: 代码2\\\\n precondition: []\\\\n\\\",\\\"ANSWERs\\\":\\\"- name: 参数收集\\\\n desc: 收集\\\\u003cSLOT\\\\u003e中定义的相关的参数. 若\\\\u003cconversation\\\\u003e中用户已经给出了参数值, 则跳过这一步; 否则, 以自然、连贯、亲切的方式询问用户.\\\\n- name: 工作流相关自由回复\\\\n desc: 若用户当前的询问和工作流相关, 但不在当前工作流范围内, 请基于常识来回复用户的问题.\\\\n- name: 已通过\\\\n desc: 您提交的取消订单申请,已通过。该订单已取消,取消后退款会1-3个工作日内原路返回。\\\\n- name: 未通过\\\\n desc: 您好,经过客服的申请,您的该笔订单未通过取消申请,建议您正常入住。\\\\n- name: 处理中\\\\n desc: 您好,您提交的取消订单申请正在处理中,客服会在30-60分钟内处理完成,处理完成后会通过短信或电话通知您,请您耐心等待。\\\\n- name: 未支付\\\\n desc: 您好,您的订单还未支付,30分钟内未支付,该订单会自动取消。\\\\n- name: 已确认-可免费取消\\\\n desc: 您好,您的订单已经确认,若您想取消的话,可点击下方按钮,直接取消。\\\\n- name: 已确定-有违约金\\\\n desc: 您好,您的订单已经确定,酒店将为您整晚保留订单,不可免费取消。您取消的话,需要收取违约金\\\\\\\\*\\\\\\\\*\\\\\\\\*,建议您正常入住。\\\\n- name: 已取消\\\\n desc: 您好,您的订单已取消,无需重复取消。\\\\n- name: 已入住\\\\n desc: 您好,您的订单显示已经入住,无法直接取消呢,您可以点击下方【申请取消】按钮,客服收到您的取消申请,会第一时间帮您和酒店协商处理。感谢您的选择,祝您开心每一天。\\\\n- name: 已结账\\\\n desc: 您好,您的订单显示已经完结,不可取消,请问还有什么可以帮您\\\\n- name: 客户不选择订单\\\\n desc: 您好,如果您想咨询其他订单,也可以直接输入订单号,这边帮您处理\\\\n- name: 结束回复1\\\\n desc: 抱歉,未查询到您账户下有订单,现在为您转接人工服务,请稍等\\\\n\\\"}\",\n \"IsStartingAgent\": false,\n \"Model\": {\n \"HistoryLimit\": 0,\n \"IsEnabled\": false,\n \"ModelAliasName\": \"精调Function-call模型\",\n \"ModelContextWordsLimit\": \"8K\",\n \"ModelName\": \"function-call-pro\",\n \"Temperature\": 0.5,\n \"TopP\": 0.5\n },\n \"Name\": \"开发票\",\n \"Plugins\": [],\n \"Tools\": [],\n \"WorkflowId\": \"8c2cf597-c77f-46b3-b9be-16c62ef8f96a\"\n },\n {\n \"AgentId\": \"881bcd68-a93c-4715-96f0-f7aff3a025ca\",\n \"HandoffDescription\": \"当用户需要取消订单时触发此任务流程\",\n \"Handoffs\": [],\n \"IconUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/plugin_files/%E6%8F%92%E4%BB%B6-%E9%BB%98%E8%AE%A4.png\",\n \"Instructions\": \"{\\\"SLOTs\\\":\\\"- name: 订单id\\\\n desc: 指的是订单id,10位阿拉伯数字,例如:1234567890。\\\\n type: int\\\\n- name: 用户id\\\\n desc: 指的是用户身份id,4位数阿拉伯数字,如:1234。\\\\n type: int\\\\n\\\",\\\"APIs\\\":\\\"- name: 查询账户中是否有订单\\\\n precondition: []\\\\n- name: 代码1\\\\n precondition: []\\\\n- name: 判断是否已提交取消申请的SR工单\\\\n precondition:\\\\n - 查询账户中是否有订单\\\\n- name: 代码4\\\\n precondition: []\\\\n- name: 查询订单状态\\\\n precondition:\\\\n - 判断是否已提交取消申请的SR工单\\\\n- name: 代码3\\\\n precondition: []\\\\n- name: 识别SR单进度\\\\n precondition:\\\\n - 判断是否已提交取消申请的SR工单\\\\n- name: 代码2\\\\n precondition: []\\\\n\\\",\\\"ANSWERs\\\":\\\"- name: 参数收集\\\\n desc: 收集\\\\u003cSLOT\\\\u003e中定义的相关的参数. 若\\\\u003cconversation\\\\u003e中用户已经给出了参数值, 则跳过这一步; 否则, 以自然、连贯、亲切的方式询问用户.\\\\n- name: 工作流相关自由回复\\\\n desc: 若用户当前的询问和工作流相关, 但不在当前工作流范围内, 请基于常识来回复用户的问题.\\\\n- name: 已通过\\\\n desc: 您提交的取消订单申请,已通过。该订单已取消,取消后退款会1-3个工作日内原路返回。\\\\n- name: 未通过\\\\n desc: 您好,经过客服的申请,您的该笔订单未通过取消申请,建议您正常入住。\\\\n- name: 处理中\\\\n desc: 您好,您提交的取消订单申请正在处理中,客服会在30-60分钟内处理完成,处理完成后会通过短信或电话通知您,请您耐心等待。\\\\n- name: 未支付\\\\n desc: 您好,您的订单还未支付,30分钟内未支付,该订单会自动取消。\\\\n- name: 已确认-可免费取消\\\\n desc: 您好,您的订单已经确认,若您想取消的话,可点击下方按钮,直接取消。\\\\n- name: 已确定-有违约金\\\\n desc: 您好,您的订单已经确定,酒店将为您整晚保留订单,不可免费取消。您取消的话,需要收取违约金\\\\\\\\*\\\\\\\\*\\\\\\\\*,建议您正常入住。\\\\n- name: 已取消\\\\n desc: 您好,您的订单已取消,无需重复取消。\\\\n- name: 已入住\\\\n desc: 您好,您的订单显示已经入住,无法直接取消呢,您可以点击下方【申请取消】按钮,客服收到您的取消申请,会第一时间帮您和酒店协商处理。感谢您的选择,祝您开心每一天。\\\\n- name: 已结账\\\\n desc: 您好,您的订单显示已经完结,不可取消,请问还有什么可以帮您\\\\n- name: 客户不选择订单\\\\n desc: 您好,如果您想咨询其他订单,也可以直接输入订单号,这边帮您处理\\\\n- name: 结束回复1\\\\n desc: 抱歉,未查询到您账户下有订单,现在为您转接人工服务,请稍等\\\\n\\\"}\",\n \"IsStartingAgent\": false,\n \"Model\": {\n \"HistoryLimit\": 0,\n \"IsEnabled\": false,\n \"ModelAliasName\": \"精调Function-call模型\",\n \"ModelContextWordsLimit\": \"32K\",\n \"ModelName\": \"function-call-pro\",\n \"Temperature\": 0.5,\n \"TopP\": 0.5\n },\n \"Name\": \"酒店取消预订\",\n \"Plugins\": [],\n \"Tools\": [],\n \"WorkflowId\": \"8c2cf597-c77f-46b3-b9be-16c62ef8f96a\"\n },\n {\n \"AgentId\": \"845c1ef7-5103-4e95-9e59-3d46fbeabe63\",\n \"HandoffDescription\": \"处理用户新闻搜索的需求\",\n \"Handoffs\": [],\n \"IconUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/plugin_files/%E6%8F%92%E4%BB%B6-%E9%BB%98%E8%AE%A4.png\",\n \"Instructions\": \"根据用户的输入,搜索相关新闻,提供相应的web访问地址\",\n \"IsStartingAgent\": false,\n \"Model\": {\n \"HistoryLimit\": 5,\n \"IsEnabled\": true,\n \"ModelAliasName\": \"精调Function-call模型\",\n \"ModelContextWordsLimit\": \"32K\",\n \"ModelName\": \"function-call-pro\",\n \"Temperature\": 0.5,\n \"TopP\": 0.5\n },\n \"Name\": \"新闻搜索agent\",\n \"Plugins\": [],\n \"Tools\": [],\n \"WorkflowId\": \"\"\n }\n ],\n \"RequestId\": \"0fe2c215-7e59-4f3d-a3c0-468d63c5d89e\",\n \"StaringAgentId\": \"mainagent-1906600044720291840\"\n }\n}",
216
+ "title": "查询指定应用下的Agent列表"
217
+ }
218
+ ],
195
219
  "DescribeAttributeLabel": [
196
220
  {
197
221
  "document": "查询知识标签",
@@ -236,7 +260,7 @@
236
260
  {
237
261
  "document": "",
238
262
  "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDoc\n<公共请求参数>\n\n{\n \"BotBizId\": \"1727231073371148288\",\n \"DocBizId\": \"1729099536210460672\"\n}",
239
- "output": "{\n \"Response\": {\n \"RequestId\": \"17467eb0-3f01-4bc8-af86-3f3b6b01a40c\",\n \"IsAllowDelete\": true,\n \"IsCreatedQa\": false,\n \"IsDeleted\": false,\n \"SourceDesc\": \"网页导入\",\n \"UpdateTime\": \"1701427403\",\n \"DocBizId\": \"1729099536210460672\",\n \"DocCharSize\": \"5\",\n \"FileName\": \"jkadslfjalkdfjaklsdfla.docx\",\n \"IsAllowEdit\": false,\n \"IsDeletedQa\": false,\n \"AttrLabels\": [],\n \"AttrRange\": 1,\n \"CosUrl\": \"/corp/137/doc/jkadslfjalkdfjaklsdfla.docx\",\n \"IsAllowRefer\": false,\n \"IsCreatingQa\": false,\n \"Source\": 1,\n \"QaNum\": 0,\n \"Reason\": \"\",\n \"Status\": 14,\n \"StatusDesc\": \"学习失败\",\n \"FileType\": \"docx\",\n \"IsAllowRestart\": true,\n \"IsRefer\": false\n }\n}",
263
+ "output": "{\n \"Response\": {\n \"RequestId\": \"17467eb0-3f01-4bc8-af86-3f3b6b01a40c\",\n \"IsAllowDelete\": true,\n \"IsCreatedQa\": false,\n \"IsDeleted\": false,\n \"SourceDesc\": \"网页导入\",\n \"UpdateTime\": \"1701427403\",\n \"DocBizId\": \"1729099536210460672\",\n \"DocCharSize\": \"5\",\n \"FileName\": \"jkadslfjalkdfjaklsdfla.docx\",\n \"IsAllowEdit\": false,\n \"IsDeletedQa\": false,\n \"AttrLabels\": [],\n \"AttrRange\": 1,\n \"CosUrl\": \"/corp/137/doc/jkadslfjalkdfjaklsdfla.docx\",\n \"IsAllowRefer\": false,\n \"IsCreatingQa\": false,\n \"Source\": 1,\n \"QaNum\": 0,\n \"Reason\": \"\",\n \"Status\": 14,\n \"StatusDesc\": \"学习失败\",\n \"FileType\": \"docx\",\n \"IsAllowRestart\": true,\n \"IsRefer\": false,\n \"IsDownload\": false\n }\n}",
240
264
  "title": "文档详情"
241
265
  }
242
266
  ],
@@ -700,6 +724,14 @@
700
724
  "title": "查询工作流异步运行实例的列表"
701
725
  }
702
726
  ],
727
+ "ModifyAgent": [
728
+ {
729
+ "document": "",
730
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAgent\n<公共请求参数>\n\n{\n \"AppBizId\": \"1906600044720291840\",\n \"Agent\": {\n \"AgentId\": \"845c1ef7-5103-4e95-9e59-3d46fbeabe63\",\n \"Name\": \"新闻搜索agent\",\n \"Instructions\": \"根据用户的输入,搜索相关新闻,提供相应的web访问地址\",\n \"HandoffDescription\": \"处理用户新闻搜索的需求\"\n }\n}",
731
+ "output": "{\n \"Response\": {\n \"RequestId\": \"47a5a3be-b6ad-48bc-aced-7af35781b2be\"\n }\n}",
732
+ "title": "修改Agent"
733
+ }
734
+ ],
703
735
  "ModifyApp": [
704
736
  {
705
737
  "document": "修改应用",
@@ -2965,6 +2965,46 @@
2965
2965
  "type": "bool",
2966
2966
  "value_allowed_null": false
2967
2967
  },
2968
+ {
2969
+ "disabled": false,
2970
+ "document": "共享订阅组数最大限制",
2971
+ "example": "20",
2972
+ "member": "int64",
2973
+ "name": "SharedSubscriptionGroupLimit",
2974
+ "output_required": false,
2975
+ "type": "int",
2976
+ "value_allowed_null": false
2977
+ },
2978
+ {
2979
+ "disabled": false,
2980
+ "document": "单个共享订阅组TopicFilter数限制",
2981
+ "example": "10",
2982
+ "member": "int64",
2983
+ "name": "MaxTopicFilterPerSharedSubscriptionGroup",
2984
+ "output_required": false,
2985
+ "type": "int",
2986
+ "value_allowed_null": false
2987
+ },
2988
+ {
2989
+ "disabled": false,
2990
+ "document": "自动订阅规则条数限制",
2991
+ "example": "10",
2992
+ "member": "int64",
2993
+ "name": "AutoSubscriptionPolicyLimit",
2994
+ "output_required": false,
2995
+ "type": "int",
2996
+ "value_allowed_null": false
2997
+ },
2998
+ {
2999
+ "disabled": false,
3000
+ "document": "单条自动订阅规则TopicFilter数限制",
3001
+ "example": "5",
3002
+ "member": "int64",
3003
+ "name": "MaxTopicFilterPerAutoSubscriptionPolicy",
3004
+ "output_required": false,
3005
+ "type": "int",
3006
+ "value_allowed_null": false
3007
+ },
2968
3008
  {
2969
3009
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2970
3010
  "member": "string",
@@ -4182,6 +4222,46 @@
4182
4222
  "output_required": false,
4183
4223
  "type": "int",
4184
4224
  "value_allowed_null": false
4225
+ },
4226
+ {
4227
+ "disabled": false,
4228
+ "document": "共享订阅组数最大限制",
4229
+ "example": "20",
4230
+ "member": "int64",
4231
+ "name": "SharedSubscriptionGroupLimit",
4232
+ "output_required": false,
4233
+ "type": "int",
4234
+ "value_allowed_null": false
4235
+ },
4236
+ {
4237
+ "disabled": false,
4238
+ "document": "单个共享订阅组TopicFilter数限制",
4239
+ "example": "10",
4240
+ "member": "int64",
4241
+ "name": "MaxTopicFilterPerSharedSubscriptionGroup",
4242
+ "output_required": false,
4243
+ "type": "int",
4244
+ "value_allowed_null": false
4245
+ },
4246
+ {
4247
+ "disabled": false,
4248
+ "document": "自动订阅规则条数限制",
4249
+ "example": "10",
4250
+ "member": "int64",
4251
+ "name": "AutoSubscriptionPolicyLimit",
4252
+ "output_required": false,
4253
+ "type": "int",
4254
+ "value_allowed_null": false
4255
+ },
4256
+ {
4257
+ "disabled": false,
4258
+ "document": "单条自动订阅规则TopicFilter数限制",
4259
+ "example": "5",
4260
+ "member": "int64",
4261
+ "name": "MaxTopicFilterPerAutoSubscriptionPolicy",
4262
+ "output_required": false,
4263
+ "type": "int",
4264
+ "value_allowed_null": false
4185
4265
  }
4186
4266
  ],
4187
4267
  "usage": "out"
@@ -246,6 +246,12 @@
246
246
  "input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-bg8k8v8o\"\n}",
247
247
  "output": "{\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"5a2634e3-effd-4380-a9ff-3658ec6c1fdc\",\n \"InstanceType\": \"PRO\",\n \"InstanceStatus\": \"RUNNING\",\n \"PayMode\": \"POSTPAID\",\n \"RenewFlag\": 1,\n \"DestroyTime\": 0,\n \"CreatedTime\": 1741832627,\n \"TpsLimit\": 6000,\n \"Remark\": \"\",\n \"SkuCode\": \"pro_10k_1\",\n \"MaxSubscriptionPerClient\": 30,\n \"MaxSubscription\": 180000,\n \"AuthorizationPolicyLimit\": 20,\n \"ClientNumLimit\": 6000,\n \"MaxCaNum\": 20,\n \"DeviceCertificateProvisionType\": \"JITP\",\n \"RegistrationCode\": \"66a00d75-8272-421f-be2a-166e2c2e7813\",\n \"AutomaticActivation\": true,\n \"X509Mode\": \"BYOC\",\n \"ExpiryTime\": 0,\n \"TopicNumLimit\": 300,\n \"InstanceId\": \"mqtt-zxjwkr98\",\n \"TopicNum\": 1,\n \"InstanceName\": \"mqtt-instance1\"\n },\n \"Error\": null\n}",
248
248
  "title": "示例"
249
+ },
250
+ {
251
+ "document": "查询MQTT实例详情信息",
252
+ "input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-zj944d74\"\n}",
253
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"AuthorizationPolicy\": true,\n \"AuthorizationPolicyLimit\": 20,\n \"AutoSubscriptionPolicyLimit\": 10,\n \"AutomaticActivation\": false,\n \"ClientNumLimit\": 6000,\n \"CreatedTime\": 1736236715,\n \"DestroyTime\": 0,\n \"DeviceCertificateProvisionType\": \"JITP\",\n \"ExpiryTime\": 0,\n \"InstanceId\": \"mqtt-zj944d74\",\n \"InstanceName\": \"seiroli-byoc-test-0107\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"PRO\",\n \"MaxCaNum\": 20,\n \"MaxSubscription\": 180000,\n \"MaxSubscriptionPerClient\": 30,\n \"MaxTopicFilterPerAutoSubscriptionPolicy\": 5,\n \"MaxTopicFilterPerSharedSubscriptionGroup\": 10,\n \"PayMode\": \"POSTPAID\",\n \"RegistrationCode\": \"bf2ead84-e9e2-478e-a153-3b6baa9b78b1\",\n \"Remark\": \"\",\n \"RenewFlag\": 1,\n \"RequestId\": \"a71557b4-34ca-46b0-ab51-2420bf4555c2\",\n \"SharedSubscriptionGroupLimit\": 20,\n \"SkuCode\": \"pro_6k_1\",\n \"TopicNum\": 2,\n \"TopicNumLimit\": 300,\n \"TpsLimit\": 6000,\n \"X509Mode\": \"BYOC\"\n }\n}",
254
+ "title": "查询MQTT实例详情信息"
249
255
  }
250
256
  ],
251
257
  "DescribeInstanceList": [
@@ -12391,6 +12391,17 @@
12391
12391
  "required": false,
12392
12392
  "type": "bool",
12393
12393
  "value_allowed_null": false
12394
+ },
12395
+ {
12396
+ "disabled": false,
12397
+ "document": "用户密码",
12398
+ "example": "d2!x93nesA",
12399
+ "member": "string",
12400
+ "name": "Password",
12401
+ "output_required": false,
12402
+ "required": false,
12403
+ "type": "string",
12404
+ "value_allowed_null": false
12394
12405
  }
12395
12406
  ],
12396
12407
  "usage": "both"
@@ -228,7 +228,7 @@
228
228
  {
229
229
  "document": "创建用户",
230
230
  "input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateUser\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-33w3je****\",\n \"UserName\": \"Alice\",\n \"FirstName\": \"Alice\",\n \"LastName\": \"Alice\",\n \"DisplayName\": \"Alice\",\n \"Description\": \"this is user\",\n \"Email\": \"Alice@example.com\",\n \"UserStatus\": \"Enabled\"\n}",
231
- "output": "{\n \"Response\": {\n \"UserInfo\": {\n \"UserName\": \"Alice\",\n \"FirstName\": \"Alice\",\n \"LastName\": \"Alice\",\n \"DisplayName\": \"Alice\",\n \"Description\": \"this is user\",\n \"Email\": \"Alice@example.com\",\n \"UserStatus\": \"Enabled\",\n \"UserType\": \"Manual\",\n \"UserId\": \"u-2342ds2s\",\n \"CreateTime\": \"2024-02-02 12:12:12\",\n \"UpdateTime\": \"2024-02-02 12:12:12\"\n },\n \"RequestId\": \"e297543a-80de-4039-83c8-9d35d4545\"\n }\n}",
231
+ "output": "{\n \"Response\": {\n \"UserInfo\": {\n \"UserName\": \"Alice\",\n \"FirstName\": \"Alice\",\n \"LastName\": \"Alice\",\n \"DisplayName\": \"Alice\",\n \"Description\": \"this is user\",\n \"Email\": \"Alice@example.com\",\n \"UserStatus\": \"Enabled\",\n \"UserType\": \"Manual\",\n \"UserId\": \"u-2342ds2s\",\n \"Password\": \"d893nd8!@HK&\",\n \"CreateTime\": \"2024-02-02 12:12:12\",\n \"UpdateTime\": \"2024-02-02 12:12:12\"\n },\n \"RequestId\": \"e297543a-80de-4039-83c8-9d35d4545\"\n }\n}",
232
232
  "title": "创建用户"
233
233
  }
234
234
  ],
@@ -1823,7 +1823,7 @@
1823
1823
  },
1824
1824
  {
1825
1825
  "disabled": false,
1826
- "document": "下单时间范围起始点【请保持时间范围最大90天】",
1826
+ "document": "下单时间范围起始点【*请必传并控制时间范围最大90天,避免出现超时】",
1827
1827
  "example": "2020-01-01 00:00:00",
1828
1828
  "member": "datetime",
1829
1829
  "name": "CreatTimeRangeStart",
@@ -1832,7 +1832,7 @@
1832
1832
  },
1833
1833
  {
1834
1834
  "disabled": false,
1835
- "document": "下单时间范围终止点【请保持时间范围最大90天】",
1835
+ "document": "下单时间范围终止点【*请必传并控制时间范围最大90天,避免出现超时】",
1836
1836
  "example": "2020-01-01 00:00:00",
1837
1837
  "member": "datetime",
1838
1838
  "name": "CreatTimeRangeEnd",
@@ -4821,7 +4821,7 @@
4821
4821
  },
4822
4822
  {
4823
4823
  "disabled": false,
4824
- "document": "按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:\ndb-instance-id:按照实例ID过滤,类型为string。\ndb-instance-name:按照实例名过滤,类型为string。\ndb-instance-ip:按照实例私有网络IP地址过滤,类型为string。\nbase-backup-id:按照备份集ID过滤,类型为string",
4824
+ "document": "按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:\ndb-instance-id:按照实例ID过滤,类型为string。\ndb-instance-name:按照实例名过滤,类型为string。\ndb-instance-ip:按照实例私有网络IP地址过滤,类型为string。\nbase-backup-id:按照备份集ID过滤,类型为string。\ndb-instance-status:按实例状态过滤,类型为string。取值参考DBInstance结构的DBInstanceStatus字段。",
4825
4825
  "example": "[ { \"Values\": [ \"postgres-jdlmoll9\" ], \"Name\": \"db-instance-id\" } ]",
4826
4826
  "member": "Filter",
4827
4827
  "name": "Filters",
@@ -4883,7 +4883,7 @@
4883
4883
  {
4884
4884
  "disabled": false,
4885
4885
  "document": "数据备份详细信息列表。",
4886
- "example": "[ { \"BackupMethod\": \"physical\", \"BackupMode\": \"manual\", \"DBInstanceId\": \"postgres-9n26zs6n\", \"ExpireTime\": \"2023-02-18 23:59:59\", \"FinishTime\": \"2023-02-15 19:09:36\", \"Id\": \"88d3a71e-b822-5728-9d41-d8cfc0d0556e\", \"Name\": \"manual-20230215190924.tar.gz\", \"Size\": 39845888, \"StartTime\": \"2023-02-15 19:09:24\", \"State\": \"finished\" } ]",
4886
+ "example": "",
4887
4887
  "member": "BaseBackup",
4888
4888
  "name": "BaseBackupSet",
4889
4889
  "output_required": true,
@@ -6126,7 +6126,7 @@
6126
6126
  },
6127
6127
  {
6128
6128
  "disabled": false,
6129
- "document": "按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:\ndb-instance-id:按照实例ID过滤,类型为string。\ndb-instance-name:按照实例名过滤,类型为string。\ndb-instance-ip:按照实例私有网络IP地址过滤,类型为string",
6129
+ "document": "按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:\ndb-instance-id:按照实例ID过滤,类型为string。\ndb-instance-name:按照实例名过滤,类型为string。\ndb-instance-ip:按照实例私有网络IP地址过滤,类型为string。\ndb-instance-status:按实例状态过滤,类型为string。取值参考DBInstance结构的DBInstanceStatus字段。",
6130
6130
  "example": "[ { \"Values\": [ \"postgres-xxxxxxxx\" ], \"Name\": \"db-instance-id\" } ]",
6131
6131
  "member": "Filter",
6132
6132
  "name": "Filters",
@@ -6188,7 +6188,7 @@
6188
6188
  {
6189
6189
  "disabled": false,
6190
6190
  "document": "日志备份详细信息列表。",
6191
- "example": "[ { \"BackupMethod\": \"physical\", \"BackupMode\": \"automatic\", \"DBInstanceId\": \"postgres-jdlmoll9\", \"ExpireTime\": \"2023-02-22 21:10:52\", \"FinishTime\": \"2023-02-15 21:10:52\", \"Id\": \"2628bcde-ce13-554a-b47d-2b15187a02ec\", \"Name\": \"******.tar.gz\", \"Size\": 16783360, \"StartTime\": \"2023-02-15 21:10:52\", \"State\": \"finished\" } ]",
6191
+ "example": "",
6192
6192
  "member": "LogBackup",
6193
6193
  "name": "LogBackupSet",
6194
6194
  "output_required": true,
@@ -2900,13 +2900,13 @@
2900
2900
  },
2901
2901
  {
2902
2902
  "disabled": false,
2903
- "document": "模板和模板数据\n注意:此字段可能返回 null,表示取不到有效值。",
2903
+ "document": "模板和模板数据",
2904
2904
  "example": "无",
2905
2905
  "member": "Template",
2906
2906
  "name": "Template",
2907
2907
  "output_required": true,
2908
2908
  "type": "object",
2909
- "value_allowed_null": true
2909
+ "value_allowed_null": false
2910
2910
  },
2911
2911
  {
2912
2912
  "disabled": false,
@@ -2930,13 +2930,13 @@
2930
2930
  },
2931
2931
  {
2932
2932
  "disabled": false,
2933
- "document": "任务异常信息\n注意:此字段可能返回 null,表示取不到有效值。",
2933
+ "document": "任务异常信息",
2934
2934
  "example": "余额不足",
2935
2935
  "member": "string",
2936
2936
  "name": "ErrMsg",
2937
2937
  "output_required": true,
2938
2938
  "type": "string",
2939
- "value_allowed_null": true
2939
+ "value_allowed_null": false
2940
2940
  },
2941
2941
  {
2942
2942
  "disabled": false,
@@ -3337,13 +3337,13 @@
3337
3337
  "members": [
3338
3338
  {
3339
3339
  "disabled": false,
3340
- "document": "日期\n注意:此字段可能返回 null,表示取不到有效值。",
3340
+ "document": "日期",
3341
3341
  "example": "2024-08-08",
3342
3342
  "member": "date",
3343
3343
  "name": "SendDate",
3344
3344
  "output_required": true,
3345
3345
  "type": "string",
3346
- "value_allowed_null": true
3346
+ "value_allowed_null": false
3347
3347
  },
3348
3348
  {
3349
3349
  "disabled": false,
@@ -3407,13 +3407,13 @@
3407
3407
  },
3408
3408
  {
3409
3409
  "disabled": false,
3410
- "document": "取消订阅的用户数量\n注意:此字段可能返回 null,表示取不到有效值。",
3410
+ "document": "取消订阅的用户数量",
3411
3411
  "example": "0",
3412
3412
  "member": "uint64",
3413
3413
  "name": "UnsubscribeCount",
3414
3414
  "output_required": true,
3415
3415
  "type": "int",
3416
- "value_allowed_null": true
3416
+ "value_allowed_null": false
3417
3417
  }
3418
3418
  ],
3419
3419
  "usage": "out"
@@ -23528,6 +23528,16 @@
23528
23528
  "type": "string",
23529
23529
  "value_allowed_null": false
23530
23530
  },
23531
+ {
23532
+ "disabled": false,
23533
+ "document": "漏洞是否支持防御 0:不支持 1:支持",
23534
+ "example": "1",
23535
+ "member": "int64",
23536
+ "name": "SupportDefense",
23537
+ "output_required": false,
23538
+ "type": "int",
23539
+ "value_allowed_null": false
23540
+ },
23531
23541
  {
23532
23542
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
23533
23543
  "member": "string",
@@ -1336,7 +1336,7 @@
1336
1336
  },
1337
1337
  {
1338
1338
  "disabled": false,
1339
- "document": "购买工作空间数量",
1339
+ "document": "购买工作空间实例的数量",
1340
1340
  "example": "1",
1341
1341
  "member": "int64",
1342
1342
  "name": "SpaceCount",
@@ -1911,7 +1911,7 @@
1911
1911
  "example": "hpc-5lyv94lq",
1912
1912
  "member": "string",
1913
1913
  "name": "ClusterId",
1914
- "required": true,
1914
+ "required": false,
1915
1915
  "type": "string"
1916
1916
  },
1917
1917
  {
@@ -2921,6 +2921,16 @@
2921
2921
  "NodeOverview": {
2922
2922
  "document": "节点概览信息。",
2923
2923
  "members": [
2924
+ {
2925
+ "disabled": false,
2926
+ "document": "集群ID",
2927
+ "example": "hpc-xxx",
2928
+ "member": "string",
2929
+ "name": "ClusterId",
2930
+ "output_required": false,
2931
+ "type": "string",
2932
+ "value_allowed_null": false
2933
+ },
2924
2934
  {
2925
2935
  "disabled": false,
2926
2936
  "document": "节点实例ID。\n注意:此字段可能返回 null,表示取不到有效值。",
@@ -3010,6 +3020,26 @@
3010
3020
  "output_required": false,
3011
3021
  "type": "string",
3012
3022
  "value_allowed_null": false
3023
+ },
3024
+ {
3025
+ "disabled": false,
3026
+ "document": "节点的名称",
3027
+ "example": "unnamed",
3028
+ "member": "string",
3029
+ "name": "NodeName",
3030
+ "output_required": false,
3031
+ "type": "string",
3032
+ "value_allowed_null": false
3033
+ },
3034
+ {
3035
+ "disabled": false,
3036
+ "document": "节点的创建时间",
3037
+ "example": "2024-12-18T13:46:34Z",
3038
+ "member": "datetime_iso",
3039
+ "name": "CreateTime",
3040
+ "output_required": false,
3041
+ "type": "string",
3042
+ "value_allowed_null": false
3013
3043
  }
3014
3044
  ],
3015
3045
  "usage": "out"
@@ -8772,6 +8772,17 @@
8772
8772
  "required": false,
8773
8773
  "type": "string",
8774
8774
  "value_allowed_null": false
8775
+ },
8776
+ {
8777
+ "disabled": false,
8778
+ "document": "当前实例所在的节点 IP",
8779
+ "example": "9.0.0.8",
8780
+ "member": "string",
8781
+ "name": "NodeIP",
8782
+ "output_required": false,
8783
+ "required": false,
8784
+ "type": "string",
8785
+ "value_allowed_null": false
8775
8786
  }
8776
8787
  ],
8777
8788
  "usage": "both"
@@ -1577,6 +1577,58 @@ def doModifyMQTTInstance(args, parsed_globals):
1577
1577
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1578
1578
 
1579
1579
 
1580
+ def doDescribeConsumerClientList(args, parsed_globals):
1581
+ g_param = parse_global_arg(parsed_globals)
1582
+
1583
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1584
+ cred = credential.CVMRoleCredential()
1585
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1586
+ cred = credential.STSAssumeRoleCredential(
1587
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1588
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1589
+ )
1590
+ 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):
1591
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1592
+ else:
1593
+ cred = credential.Credential(
1594
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1595
+ )
1596
+ http_profile = HttpProfile(
1597
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1598
+ reqMethod="POST",
1599
+ endpoint=g_param[OptionsDefine.Endpoint],
1600
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1601
+ )
1602
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1603
+ if g_param[OptionsDefine.Language]:
1604
+ profile.language = g_param[OptionsDefine.Language]
1605
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1606
+ client = mod.TrocketClient(cred, g_param[OptionsDefine.Region], profile)
1607
+ client._sdkVersion += ("_CLI_" + __version__)
1608
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1609
+ model = models.DescribeConsumerClientListRequest()
1610
+ model.from_json_string(json.dumps(args))
1611
+ start_time = time.time()
1612
+ while True:
1613
+ rsp = client.DescribeConsumerClientList(model)
1614
+ result = rsp.to_json_string()
1615
+ try:
1616
+ json_obj = json.loads(result)
1617
+ except TypeError as e:
1618
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1619
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1620
+ break
1621
+ cur_time = time.time()
1622
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1623
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1624
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1625
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1626
+ else:
1627
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1628
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1629
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1630
+
1631
+
1580
1632
  def doDescribeConsumerLag(args, parsed_globals):
1581
1633
  g_param = parse_global_arg(parsed_globals)
1582
1634
 
@@ -3594,6 +3646,7 @@ ACTION_MAP = {
3594
3646
  "DescribeMQTTUserList": doDescribeMQTTUserList,
3595
3647
  "DescribeProductSKUs": doDescribeProductSKUs,
3596
3648
  "ModifyMQTTInstance": doModifyMQTTInstance,
3649
+ "DescribeConsumerClientList": doDescribeConsumerClientList,
3597
3650
  "DescribeConsumerLag": doDescribeConsumerLag,
3598
3651
  "ImportSourceClusterTopics": doImportSourceClusterTopics,
3599
3652
  "ModifyMQTTInsPublicEndpoint": doModifyMQTTInsPublicEndpoint,