@alicloud/openapiexplorer20241130 1.2.1 → 1.3.0

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 (107) hide show
  1. package/dist/client.d.ts +52 -34
  2. package/dist/client.js +76 -34
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ApiMcpServerValidateHclRequest.d.ts +0 -3
  5. package/dist/models/ApiMcpServerValidateHclRequest.js.map +1 -1
  6. package/dist/models/ApiMcpServerValidateHclResponseBody.d.ts +0 -24
  7. package/dist/models/ApiMcpServerValidateHclResponseBody.js.map +1 -1
  8. package/dist/models/CreateApiMcpServerRequest.d.ts +0 -163
  9. package/dist/models/CreateApiMcpServerRequest.js.map +1 -1
  10. package/dist/models/CreateApiMcpServerResponseBody.d.ts +0 -30
  11. package/dist/models/CreateApiMcpServerResponseBody.js.map +1 -1
  12. package/dist/models/DeleteApiMcpServerRequest.d.ts +0 -5
  13. package/dist/models/DeleteApiMcpServerRequest.js.map +1 -1
  14. package/dist/models/DeleteApiMcpServerResponseBody.d.ts +0 -3
  15. package/dist/models/DeleteApiMcpServerResponseBody.js.map +1 -1
  16. package/dist/models/GenerateClicommandRequest.d.ts +0 -58
  17. package/dist/models/GenerateClicommandRequest.js.map +1 -1
  18. package/dist/models/GenerateClicommandResponseBody.d.ts +1 -10
  19. package/dist/models/GenerateClicommandResponseBody.js +2 -0
  20. package/dist/models/GenerateClicommandResponseBody.js.map +1 -1
  21. package/dist/models/GenerateClicommandShrinkRequest.d.ts +0 -58
  22. package/dist/models/GenerateClicommandShrinkRequest.js.map +1 -1
  23. package/dist/models/GetApiDefinitionRequest.d.ts +0 -11
  24. package/dist/models/GetApiDefinitionRequest.js.map +1 -1
  25. package/dist/models/GetApiMcpServerRequest.d.ts +0 -2
  26. package/dist/models/GetApiMcpServerRequest.js.map +1 -1
  27. package/dist/models/GetApiMcpServerResponseBody.d.ts +2 -255
  28. package/dist/models/GetApiMcpServerResponseBody.js.map +1 -1
  29. package/dist/models/GetApiMcpServerUserConfigResponseBody.d.ts +0 -19
  30. package/dist/models/GetApiMcpServerUserConfigResponseBody.js.map +1 -1
  31. package/dist/models/GetErrorCodeSolutionsRequest.d.ts +5 -6
  32. package/dist/models/GetErrorCodeSolutionsRequest.js.map +1 -1
  33. package/dist/models/GetErrorCodeSolutionsResponseBody.d.ts +1 -7
  34. package/dist/models/GetErrorCodeSolutionsResponseBody.js.map +1 -1
  35. package/dist/models/GetOwnRequestLogRequest.d.ts +1 -1
  36. package/dist/models/GetOwnRequestLogResponseBody.d.ts +46 -57
  37. package/dist/models/GetOwnRequestLogResponseBody.js.map +1 -1
  38. package/dist/models/GetProductEndpointsRequest.d.ts +0 -7
  39. package/dist/models/GetProductEndpointsRequest.js.map +1 -1
  40. package/dist/models/GetRequestLogRequest.d.ts +1 -1
  41. package/dist/models/GetRequestLogResponseBody.d.ts +48 -59
  42. package/dist/models/GetRequestLogResponseBody.js.map +1 -1
  43. package/dist/models/ListApiDefinitionsRequest.d.ts +0 -9
  44. package/dist/models/ListApiDefinitionsRequest.js.map +1 -1
  45. package/dist/models/ListApiMcpServerSystemToolsRequest.d.ts +0 -11
  46. package/dist/models/ListApiMcpServerSystemToolsRequest.js.map +1 -1
  47. package/dist/models/ListApiMcpServerSystemToolsResponseBody.d.ts +0 -24
  48. package/dist/models/ListApiMcpServerSystemToolsResponseBody.js.map +1 -1
  49. package/dist/models/ListApiMcpServersRequest.d.ts +0 -40
  50. package/dist/models/ListApiMcpServersRequest.js.map +1 -1
  51. package/dist/models/ListApiMcpServersResponseBody.d.ts +2 -241
  52. package/dist/models/ListApiMcpServersResponseBody.js.map +1 -1
  53. package/dist/models/ListProductsRequest.d.ts +18 -0
  54. package/dist/models/ListProductsRequest.js +58 -0
  55. package/dist/models/ListProductsRequest.js.map +1 -0
  56. package/dist/models/ListProductsResponse.d.ts +19 -0
  57. package/dist/models/ListProductsResponse.js +69 -0
  58. package/dist/models/ListProductsResponse.js.map +1 -0
  59. package/dist/models/ListProductsResponseBody.d.ts +57 -0
  60. package/dist/models/ListProductsResponseBody.js +103 -0
  61. package/dist/models/ListProductsResponseBody.js.map +1 -0
  62. package/dist/models/UpdateApiMcpServerRequest.d.ts +0 -169
  63. package/dist/models/UpdateApiMcpServerRequest.js.map +1 -1
  64. package/dist/models/UpdateApiMcpServerResponseBody.d.ts +0 -3
  65. package/dist/models/UpdateApiMcpServerResponseBody.js.map +1 -1
  66. package/dist/models/UpdateApiMcpServerUserConfigRequest.d.ts +0 -7
  67. package/dist/models/UpdateApiMcpServerUserConfigRequest.js.map +1 -1
  68. package/dist/models/UpdateApiMcpServerUserConfigResponseBody.d.ts +0 -3
  69. package/dist/models/UpdateApiMcpServerUserConfigResponseBody.js.map +1 -1
  70. package/dist/models/model.d.ts +4 -0
  71. package/dist/models/model.js +10 -2
  72. package/dist/models/model.js.map +1 -1
  73. package/package.json +1 -1
  74. package/src/client.ts +79 -34
  75. package/src/models/ApiMcpServerValidateHclRequest.ts +0 -3
  76. package/src/models/ApiMcpServerValidateHclResponseBody.ts +0 -24
  77. package/src/models/CreateApiMcpServerRequest.ts +0 -163
  78. package/src/models/CreateApiMcpServerResponseBody.ts +0 -30
  79. package/src/models/DeleteApiMcpServerRequest.ts +0 -5
  80. package/src/models/DeleteApiMcpServerResponseBody.ts +0 -3
  81. package/src/models/GenerateClicommandRequest.ts +0 -58
  82. package/src/models/GenerateClicommandResponseBody.ts +3 -10
  83. package/src/models/GenerateClicommandShrinkRequest.ts +0 -58
  84. package/src/models/GetApiDefinitionRequest.ts +0 -11
  85. package/src/models/GetApiMcpServerRequest.ts +0 -2
  86. package/src/models/GetApiMcpServerResponseBody.ts +2 -255
  87. package/src/models/GetApiMcpServerUserConfigResponseBody.ts +0 -19
  88. package/src/models/GetErrorCodeSolutionsRequest.ts +5 -6
  89. package/src/models/GetErrorCodeSolutionsResponseBody.ts +1 -7
  90. package/src/models/GetOwnRequestLogRequest.ts +1 -1
  91. package/src/models/GetOwnRequestLogResponseBody.ts +46 -57
  92. package/src/models/GetProductEndpointsRequest.ts +0 -7
  93. package/src/models/GetRequestLogRequest.ts +1 -1
  94. package/src/models/GetRequestLogResponseBody.ts +48 -59
  95. package/src/models/ListApiDefinitionsRequest.ts +0 -9
  96. package/src/models/ListApiMcpServerSystemToolsRequest.ts +0 -11
  97. package/src/models/ListApiMcpServerSystemToolsResponseBody.ts +0 -24
  98. package/src/models/ListApiMcpServersRequest.ts +0 -40
  99. package/src/models/ListApiMcpServersResponseBody.ts +2 -241
  100. package/src/models/ListProductsRequest.ts +31 -0
  101. package/src/models/ListProductsResponse.ts +40 -0
  102. package/src/models/ListProductsResponseBody.ts +106 -0
  103. package/src/models/UpdateApiMcpServerRequest.ts +0 -169
  104. package/src/models/UpdateApiMcpServerResponseBody.ts +0 -3
  105. package/src/models/UpdateApiMcpServerUserConfigRequest.ts +0 -7
  106. package/src/models/UpdateApiMcpServerUserConfigResponseBody.ts +0 -3
  107. package/src/models/model.ts +4 -0
package/dist/client.d.ts CHANGED
@@ -9,7 +9,7 @@ export default class Client extends OpenApi {
9
9
  [key: string]: string;
10
10
  }, endpoint: string): string;
11
11
  /**
12
- * Validates the syntax of HashiCorp Configuration Language (HCL) for Terraform.
12
+ * 验证 Terraform HCL 语法
13
13
  *
14
14
  * @param request - ApiMcpServerValidateHclRequest
15
15
  * @param headers - map
@@ -20,14 +20,14 @@ export default class Client extends OpenApi {
20
20
  [key: string]: string;
21
21
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ApiMcpServerValidateHclResponse>;
22
22
  /**
23
- * Validates the syntax of HashiCorp Configuration Language (HCL) for Terraform.
23
+ * 验证 Terraform HCL 语法
24
24
  *
25
25
  * @param request - ApiMcpServerValidateHclRequest
26
26
  * @returns ApiMcpServerValidateHclResponse
27
27
  */
28
28
  apiMcpServerValidateHcl(request: $_model.ApiMcpServerValidateHclRequest): Promise<$_model.ApiMcpServerValidateHclResponse>;
29
29
  /**
30
- * Creates an API MCP service.
30
+ * 创建ApiMcpServer
31
31
  *
32
32
  * @param request - CreateApiMcpServerRequest
33
33
  * @param headers - map
@@ -38,14 +38,14 @@ export default class Client extends OpenApi {
38
38
  [key: string]: string;
39
39
  }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateApiMcpServerResponse>;
40
40
  /**
41
- * Creates an API MCP service.
41
+ * 创建ApiMcpServer
42
42
  *
43
43
  * @param request - CreateApiMcpServerRequest
44
44
  * @returns CreateApiMcpServerResponse
45
45
  */
46
46
  createApiMcpServer(request: $_model.CreateApiMcpServerRequest): Promise<$_model.CreateApiMcpServerResponse>;
47
47
  /**
48
- * Deletes an API MCP service.
48
+ * 删除ApiMcpServer
49
49
  *
50
50
  * @param request - DeleteApiMcpServerRequest
51
51
  * @param headers - map
@@ -56,14 +56,14 @@ export default class Client extends OpenApi {
56
56
  [key: string]: string;
57
57
  }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteApiMcpServerResponse>;
58
58
  /**
59
- * Deletes an API MCP service.
59
+ * 删除ApiMcpServer
60
60
  *
61
61
  * @param request - DeleteApiMcpServerRequest
62
62
  * @returns DeleteApiMcpServerResponse
63
63
  */
64
64
  deleteApiMcpServer(request: $_model.DeleteApiMcpServerRequest): Promise<$_model.DeleteApiMcpServerResponse>;
65
65
  /**
66
- * Generates commands for the Alibaba Cloud command-line interface (CLI).
66
+ * 动态生成Aliyun CLI命令
67
67
  *
68
68
  * @param tmpReq - GenerateCLICommandRequest
69
69
  * @param headers - map
@@ -74,14 +74,14 @@ export default class Client extends OpenApi {
74
74
  [key: string]: string;
75
75
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GenerateCLICommandResponse>;
76
76
  /**
77
- * Generates commands for the Alibaba Cloud command-line interface (CLI).
77
+ * 动态生成Aliyun CLI命令
78
78
  *
79
79
  * @param request - GenerateCLICommandRequest
80
80
  * @returns GenerateCLICommandResponse
81
81
  */
82
82
  generateCLICommand(request: $_model.GenerateCLICommandRequest): Promise<$_model.GenerateCLICommandResponse>;
83
83
  /**
84
- * Retrieves the OpenAPI metadata for an API in a product.
84
+ * 获取产品相关接口的开放元数据
85
85
  *
86
86
  * @param request - GetApiDefinitionRequest
87
87
  * @param headers - map
@@ -92,14 +92,14 @@ export default class Client extends OpenApi {
92
92
  [key: string]: string;
93
93
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetApiDefinitionResponse>;
94
94
  /**
95
- * Retrieves the OpenAPI metadata for an API in a product.
95
+ * 获取产品相关接口的开放元数据
96
96
  *
97
97
  * @param request - GetApiDefinitionRequest
98
98
  * @returns GetApiDefinitionResponse
99
99
  */
100
100
  getApiDefinition(request: $_model.GetApiDefinitionRequest): Promise<$_model.GetApiDefinitionResponse>;
101
101
  /**
102
- * Retrieves the details of a specific API MCP service.
102
+ * 查询 ApiMcpServer
103
103
  *
104
104
  * @param request - GetApiMcpServerRequest
105
105
  * @param headers - map
@@ -110,14 +110,14 @@ export default class Client extends OpenApi {
110
110
  [key: string]: string;
111
111
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetApiMcpServerResponse>;
112
112
  /**
113
- * Retrieves the details of a specific API MCP service.
113
+ * 查询 ApiMcpServer
114
114
  *
115
115
  * @param request - GetApiMcpServerRequest
116
116
  * @returns GetApiMcpServerResponse
117
117
  */
118
118
  getApiMcpServer(request: $_model.GetApiMcpServerRequest): Promise<$_model.GetApiMcpServerResponse>;
119
119
  /**
120
- * Queries the global API MCP Server configuration for a user. The configuration includes settings for public network access and the whitelist of source VPC IDs for requests from a VPC.
120
+ * 查询用户全局API MCP Server配置
121
121
  *
122
122
  * @param headers - map
123
123
  * @param runtime - runtime options for this request RuntimeOptions
@@ -127,7 +127,7 @@ export default class Client extends OpenApi {
127
127
  [key: string]: string;
128
128
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetApiMcpServerUserConfigResponse>;
129
129
  /**
130
- * Queries the global API MCP Server configuration for a user. The configuration includes settings for public network access and the whitelist of source VPC IDs for requests from a VPC.
130
+ * 查询用户全局API MCP Server配置
131
131
  * @returns GetApiMcpServerUserConfigResponse
132
132
  */
133
133
  getApiMcpServerUserConfig(): Promise<$_model.GetApiMcpServerUserConfigResponse>;
@@ -156,10 +156,10 @@ export default class Client extends OpenApi {
156
156
  */
157
157
  getErrorCodeSolutions(request: $_model.GetErrorCodeSolutionsRequest): Promise<$_model.GetErrorCodeSolutionsResponse>;
158
158
  /**
159
- * Queries the details of an OpenAPI call log for your account using the request ID returned from an API call. This operation is used for troubleshooting.
159
+ * Queries the log of an API call performed by using the current account based on the returned request ID of the API to troubleshoot issues.
160
160
  *
161
161
  * @remarks
162
- * This API does not support authorization.
162
+ * Permissions on this API cannot be granted to other members.
163
163
  *
164
164
  * @param request - GetOwnRequestLogRequest
165
165
  * @param headers - map
@@ -170,17 +170,17 @@ export default class Client extends OpenApi {
170
170
  [key: string]: string;
171
171
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetOwnRequestLogResponse>;
172
172
  /**
173
- * Queries the details of an OpenAPI call log for your account using the request ID returned from an API call. This operation is used for troubleshooting.
173
+ * Queries the log of an API call performed by using the current account based on the returned request ID of the API to troubleshoot issues.
174
174
  *
175
175
  * @remarks
176
- * This API does not support authorization.
176
+ * Permissions on this API cannot be granted to other members.
177
177
  *
178
178
  * @param request - GetOwnRequestLogRequest
179
179
  * @returns GetOwnRequestLogResponse
180
180
  */
181
181
  getOwnRequestLog(request: $_model.GetOwnRequestLogRequest): Promise<$_model.GetOwnRequestLogResponse>;
182
182
  /**
183
- * Retrieves the endpoint information for a product.
183
+ * 获取产品的接入点信息
184
184
  *
185
185
  * @param request - GetProductEndpointsRequest
186
186
  * @param headers - map
@@ -191,17 +191,17 @@ export default class Client extends OpenApi {
191
191
  [key: string]: string;
192
192
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetProductEndpointsResponse>;
193
193
  /**
194
- * Retrieves the endpoint information for a product.
194
+ * 获取产品的接入点信息
195
195
  *
196
196
  * @param request - GetProductEndpointsRequest
197
197
  * @returns GetProductEndpointsResponse
198
198
  */
199
199
  getProductEndpoints(request: $_model.GetProductEndpointsRequest): Promise<$_model.GetProductEndpointsResponse>;
200
200
  /**
201
- * Queries the details of a request log using the request ID that is returned from an API call. This operation is useful for troubleshooting.
201
+ * Queries the log of an API call based on the returned request ID of the API to troubleshoot issues.
202
202
  *
203
203
  * @remarks
204
- * You can query call logs across different RAM users or Alibaba Cloud accounts using RAM authorization or role assumption. For more information, see [Cross-account API error diagnosis authorization](https://help.aliyun.com/document_detail/2868101.html).
204
+ * You can grant permissions to a Resource Access Management (RAM) user or assume a role to query the log of an API call across RAM users or Alibaba Cloud accounts. For more information, see [Grant permissions to troubleshoot API errors across accounts](https://help.aliyun.com/document_detail/2868101.html).
205
205
  *
206
206
  * @param request - GetRequestLogRequest
207
207
  * @param headers - map
@@ -212,17 +212,17 @@ export default class Client extends OpenApi {
212
212
  [key: string]: string;
213
213
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetRequestLogResponse>;
214
214
  /**
215
- * Queries the details of a request log using the request ID that is returned from an API call. This operation is useful for troubleshooting.
215
+ * Queries the log of an API call based on the returned request ID of the API to troubleshoot issues.
216
216
  *
217
217
  * @remarks
218
- * You can query call logs across different RAM users or Alibaba Cloud accounts using RAM authorization or role assumption. For more information, see [Cross-account API error diagnosis authorization](https://help.aliyun.com/document_detail/2868101.html).
218
+ * You can grant permissions to a Resource Access Management (RAM) user or assume a role to query the log of an API call across RAM users or Alibaba Cloud accounts. For more information, see [Grant permissions to troubleshoot API errors across accounts](https://help.aliyun.com/document_detail/2868101.html).
219
219
  *
220
220
  * @param request - GetRequestLogRequest
221
221
  * @returns GetRequestLogResponse
222
222
  */
223
223
  getRequestLog(request: $_model.GetRequestLogRequest): Promise<$_model.GetRequestLogResponse>;
224
224
  /**
225
- * Retrieves the OpenAPI metadata for a product.
225
+ * 获取产品的开放元数据
226
226
  *
227
227
  * @param request - ListApiDefinitionsRequest
228
228
  * @param headers - map
@@ -233,14 +233,14 @@ export default class Client extends OpenApi {
233
233
  [key: string]: string;
234
234
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListApiDefinitionsResponse>;
235
235
  /**
236
- * Retrieves the OpenAPI metadata for a product.
236
+ * 获取产品的开放元数据
237
237
  *
238
238
  * @param request - ListApiDefinitionsRequest
239
239
  * @returns ListApiDefinitionsResponse
240
240
  */
241
241
  listApiDefinitions(request: $_model.ListApiDefinitionsRequest): Promise<$_model.ListApiDefinitionsResponse>;
242
242
  /**
243
- * Lists the system tools supported by the MCP service.
243
+ * 查询系统工具列表
244
244
  *
245
245
  * @param request - ListApiMcpServerSystemToolsRequest
246
246
  * @param headers - map
@@ -251,14 +251,14 @@ export default class Client extends OpenApi {
251
251
  [key: string]: string;
252
252
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListApiMcpServerSystemToolsResponse>;
253
253
  /**
254
- * Lists the system tools supported by the MCP service.
254
+ * 查询系统工具列表
255
255
  *
256
256
  * @param request - ListApiMcpServerSystemToolsRequest
257
257
  * @returns ListApiMcpServerSystemToolsResponse
258
258
  */
259
259
  listApiMcpServerSystemTools(request: $_model.ListApiMcpServerSystemToolsRequest): Promise<$_model.ListApiMcpServerSystemToolsResponse>;
260
260
  /**
261
- * This operation queries a list of all API MCP servers in an Alibaba Cloud account.
261
+ * 列出资源ApiMcpServer
262
262
  *
263
263
  * @param request - ListApiMcpServersRequest
264
264
  * @param headers - map
@@ -269,14 +269,32 @@ export default class Client extends OpenApi {
269
269
  [key: string]: string;
270
270
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListApiMcpServersResponse>;
271
271
  /**
272
- * This operation queries a list of all API MCP servers in an Alibaba Cloud account.
272
+ * 列出资源ApiMcpServer
273
273
  *
274
274
  * @param request - ListApiMcpServersRequest
275
275
  * @returns ListApiMcpServersResponse
276
276
  */
277
277
  listApiMcpServers(request: $_model.ListApiMcpServersRequest): Promise<$_model.ListApiMcpServersResponse>;
278
278
  /**
279
- * Updates an API MCP service.
279
+ * 列举云产品
280
+ *
281
+ * @param request - ListProductsRequest
282
+ * @param headers - map
283
+ * @param runtime - runtime options for this request RuntimeOptions
284
+ * @returns ListProductsResponse
285
+ */
286
+ listProductsWithOptions(request: $_model.ListProductsRequest, headers: {
287
+ [key: string]: string;
288
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListProductsResponse>;
289
+ /**
290
+ * 列举云产品
291
+ *
292
+ * @param request - ListProductsRequest
293
+ * @returns ListProductsResponse
294
+ */
295
+ listProducts(request: $_model.ListProductsRequest): Promise<$_model.ListProductsResponse>;
296
+ /**
297
+ * 更新UpdateApiMcpServer
280
298
  *
281
299
  * @param request - UpdateApiMcpServerRequest
282
300
  * @param headers - map
@@ -287,14 +305,14 @@ export default class Client extends OpenApi {
287
305
  [key: string]: string;
288
306
  }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateApiMcpServerResponse>;
289
307
  /**
290
- * Updates an API MCP service.
308
+ * 更新UpdateApiMcpServer
291
309
  *
292
310
  * @param request - UpdateApiMcpServerRequest
293
311
  * @returns UpdateApiMcpServerResponse
294
312
  */
295
313
  updateApiMcpServer(request: $_model.UpdateApiMcpServerRequest): Promise<$_model.UpdateApiMcpServerResponse>;
296
314
  /**
297
- * Updates the global API MCP Server configuration for a user.
315
+ * 修改用户全局API MCP Server配置
298
316
  *
299
317
  * @param request - UpdateApiMcpServerUserConfigRequest
300
318
  * @param headers - map
@@ -305,7 +323,7 @@ export default class Client extends OpenApi {
305
323
  [key: string]: string;
306
324
  }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateApiMcpServerUserConfigResponse>;
307
325
  /**
308
- * Updates the global API MCP Server configuration for a user.
326
+ * 修改用户全局API MCP Server配置
309
327
  *
310
328
  * @param request - UpdateApiMcpServerUserConfigRequest
311
329
  * @returns UpdateApiMcpServerUserConfigResponse
package/dist/client.js CHANGED
@@ -66,7 +66,7 @@ class Client extends openapi_core_1.default {
66
66
  return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
67
67
  }
68
68
  /**
69
- * Validates the syntax of HashiCorp Configuration Language (HCL) for Terraform.
69
+ * 验证 Terraform HCL 语法
70
70
  *
71
71
  * @param request - ApiMcpServerValidateHclRequest
72
72
  * @param headers - map
@@ -97,7 +97,7 @@ class Client extends openapi_core_1.default {
97
97
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ApiMcpServerValidateHclResponse({}));
98
98
  }
99
99
  /**
100
- * Validates the syntax of HashiCorp Configuration Language (HCL) for Terraform.
100
+ * 验证 Terraform HCL 语法
101
101
  *
102
102
  * @param request - ApiMcpServerValidateHclRequest
103
103
  * @returns ApiMcpServerValidateHclResponse
@@ -108,7 +108,7 @@ class Client extends openapi_core_1.default {
108
108
  return await this.apiMcpServerValidateHclWithOptions(request, headers, runtime);
109
109
  }
110
110
  /**
111
- * Creates an API MCP service.
111
+ * 创建ApiMcpServer
112
112
  *
113
113
  * @param request - CreateApiMcpServerRequest
114
114
  * @param headers - map
@@ -187,7 +187,7 @@ class Client extends openapi_core_1.default {
187
187
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateApiMcpServerResponse({}));
188
188
  }
189
189
  /**
190
- * Creates an API MCP service.
190
+ * 创建ApiMcpServer
191
191
  *
192
192
  * @param request - CreateApiMcpServerRequest
193
193
  * @returns CreateApiMcpServerResponse
@@ -198,7 +198,7 @@ class Client extends openapi_core_1.default {
198
198
  return await this.createApiMcpServerWithOptions(request, headers, runtime);
199
199
  }
200
200
  /**
201
- * Deletes an API MCP service.
201
+ * 删除ApiMcpServer
202
202
  *
203
203
  * @param request - DeleteApiMcpServerRequest
204
204
  * @param headers - map
@@ -232,7 +232,7 @@ class Client extends openapi_core_1.default {
232
232
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteApiMcpServerResponse({}));
233
233
  }
234
234
  /**
235
- * Deletes an API MCP service.
235
+ * 删除ApiMcpServer
236
236
  *
237
237
  * @param request - DeleteApiMcpServerRequest
238
238
  * @returns DeleteApiMcpServerResponse
@@ -243,7 +243,7 @@ class Client extends openapi_core_1.default {
243
243
  return await this.deleteApiMcpServerWithOptions(request, headers, runtime);
244
244
  }
245
245
  /**
246
- * Generates commands for the Alibaba Cloud command-line interface (CLI).
246
+ * 动态生成Aliyun CLI命令
247
247
  *
248
248
  * @param tmpReq - GenerateCLICommandRequest
249
249
  * @param headers - map
@@ -297,7 +297,7 @@ class Client extends openapi_core_1.default {
297
297
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GenerateCLICommandResponse({}));
298
298
  }
299
299
  /**
300
- * Generates commands for the Alibaba Cloud command-line interface (CLI).
300
+ * 动态生成Aliyun CLI命令
301
301
  *
302
302
  * @param request - GenerateCLICommandRequest
303
303
  * @returns GenerateCLICommandResponse
@@ -308,7 +308,7 @@ class Client extends openapi_core_1.default {
308
308
  return await this.generateCLICommandWithOptions(request, headers, runtime);
309
309
  }
310
310
  /**
311
- * Retrieves the OpenAPI metadata for an API in a product.
311
+ * 获取产品相关接口的开放元数据
312
312
  *
313
313
  * @param request - GetApiDefinitionRequest
314
314
  * @param headers - map
@@ -345,7 +345,7 @@ class Client extends openapi_core_1.default {
345
345
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetApiDefinitionResponse({}));
346
346
  }
347
347
  /**
348
- * Retrieves the OpenAPI metadata for an API in a product.
348
+ * 获取产品相关接口的开放元数据
349
349
  *
350
350
  * @param request - GetApiDefinitionRequest
351
351
  * @returns GetApiDefinitionResponse
@@ -356,7 +356,7 @@ class Client extends openapi_core_1.default {
356
356
  return await this.getApiDefinitionWithOptions(request, headers, runtime);
357
357
  }
358
358
  /**
359
- * Retrieves the details of a specific API MCP service.
359
+ * 查询 ApiMcpServer
360
360
  *
361
361
  * @param request - GetApiMcpServerRequest
362
362
  * @param headers - map
@@ -387,7 +387,7 @@ class Client extends openapi_core_1.default {
387
387
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetApiMcpServerResponse({}));
388
388
  }
389
389
  /**
390
- * Retrieves the details of a specific API MCP service.
390
+ * 查询 ApiMcpServer
391
391
  *
392
392
  * @param request - GetApiMcpServerRequest
393
393
  * @returns GetApiMcpServerResponse
@@ -398,7 +398,7 @@ class Client extends openapi_core_1.default {
398
398
  return await this.getApiMcpServerWithOptions(request, headers, runtime);
399
399
  }
400
400
  /**
401
- * Queries the global API MCP Server configuration for a user. The configuration includes settings for public network access and the whitelist of source VPC IDs for requests from a VPC.
401
+ * 查询用户全局API MCP Server配置
402
402
  *
403
403
  * @param headers - map
404
404
  * @param runtime - runtime options for this request RuntimeOptions
@@ -422,7 +422,7 @@ class Client extends openapi_core_1.default {
422
422
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetApiMcpServerUserConfigResponse({}));
423
423
  }
424
424
  /**
425
- * Queries the global API MCP Server configuration for a user. The configuration includes settings for public network access and the whitelist of source VPC IDs for requests from a VPC.
425
+ * 查询用户全局API MCP Server配置
426
426
  * @returns GetApiMcpServerUserConfigResponse
427
427
  */
428
428
  async getApiMcpServerUserConfig() {
@@ -488,10 +488,10 @@ class Client extends openapi_core_1.default {
488
488
  return await this.getErrorCodeSolutionsWithOptions(request, headers, runtime);
489
489
  }
490
490
  /**
491
- * Queries the details of an OpenAPI call log for your account using the request ID returned from an API call. This operation is used for troubleshooting.
491
+ * Queries the log of an API call performed by using the current account based on the returned request ID of the API to troubleshoot issues.
492
492
  *
493
493
  * @remarks
494
- * This API does not support authorization.
494
+ * Permissions on this API cannot be granted to other members.
495
495
  *
496
496
  * @param request - GetOwnRequestLogRequest
497
497
  * @param headers - map
@@ -522,10 +522,10 @@ class Client extends openapi_core_1.default {
522
522
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetOwnRequestLogResponse({}));
523
523
  }
524
524
  /**
525
- * Queries the details of an OpenAPI call log for your account using the request ID returned from an API call. This operation is used for troubleshooting.
525
+ * Queries the log of an API call performed by using the current account based on the returned request ID of the API to troubleshoot issues.
526
526
  *
527
527
  * @remarks
528
- * This API does not support authorization.
528
+ * Permissions on this API cannot be granted to other members.
529
529
  *
530
530
  * @param request - GetOwnRequestLogRequest
531
531
  * @returns GetOwnRequestLogResponse
@@ -536,7 +536,7 @@ class Client extends openapi_core_1.default {
536
536
  return await this.getOwnRequestLogWithOptions(request, headers, runtime);
537
537
  }
538
538
  /**
539
- * Retrieves the endpoint information for a product.
539
+ * 获取产品的接入点信息
540
540
  *
541
541
  * @param request - GetProductEndpointsRequest
542
542
  * @param headers - map
@@ -567,7 +567,7 @@ class Client extends openapi_core_1.default {
567
567
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetProductEndpointsResponse({}));
568
568
  }
569
569
  /**
570
- * Retrieves the endpoint information for a product.
570
+ * 获取产品的接入点信息
571
571
  *
572
572
  * @param request - GetProductEndpointsRequest
573
573
  * @returns GetProductEndpointsResponse
@@ -578,10 +578,10 @@ class Client extends openapi_core_1.default {
578
578
  return await this.getProductEndpointsWithOptions(request, headers, runtime);
579
579
  }
580
580
  /**
581
- * Queries the details of a request log using the request ID that is returned from an API call. This operation is useful for troubleshooting.
581
+ * Queries the log of an API call based on the returned request ID of the API to troubleshoot issues.
582
582
  *
583
583
  * @remarks
584
- * You can query call logs across different RAM users or Alibaba Cloud accounts using RAM authorization or role assumption. For more information, see [Cross-account API error diagnosis authorization](https://help.aliyun.com/document_detail/2868101.html).
584
+ * You can grant permissions to a Resource Access Management (RAM) user or assume a role to query the log of an API call across RAM users or Alibaba Cloud accounts. For more information, see [Grant permissions to troubleshoot API errors across accounts](https://help.aliyun.com/document_detail/2868101.html).
585
585
  *
586
586
  * @param request - GetRequestLogRequest
587
587
  * @param headers - map
@@ -612,10 +612,10 @@ class Client extends openapi_core_1.default {
612
612
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetRequestLogResponse({}));
613
613
  }
614
614
  /**
615
- * Queries the details of a request log using the request ID that is returned from an API call. This operation is useful for troubleshooting.
615
+ * Queries the log of an API call based on the returned request ID of the API to troubleshoot issues.
616
616
  *
617
617
  * @remarks
618
- * You can query call logs across different RAM users or Alibaba Cloud accounts using RAM authorization or role assumption. For more information, see [Cross-account API error diagnosis authorization](https://help.aliyun.com/document_detail/2868101.html).
618
+ * You can grant permissions to a Resource Access Management (RAM) user or assume a role to query the log of an API call across RAM users or Alibaba Cloud accounts. For more information, see [Grant permissions to troubleshoot API errors across accounts](https://help.aliyun.com/document_detail/2868101.html).
619
619
  *
620
620
  * @param request - GetRequestLogRequest
621
621
  * @returns GetRequestLogResponse
@@ -626,7 +626,7 @@ class Client extends openapi_core_1.default {
626
626
  return await this.getRequestLogWithOptions(request, headers, runtime);
627
627
  }
628
628
  /**
629
- * Retrieves the OpenAPI metadata for a product.
629
+ * 获取产品的开放元数据
630
630
  *
631
631
  * @param request - ListApiDefinitionsRequest
632
632
  * @param headers - map
@@ -660,7 +660,7 @@ class Client extends openapi_core_1.default {
660
660
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListApiDefinitionsResponse({}));
661
661
  }
662
662
  /**
663
- * Retrieves the OpenAPI metadata for a product.
663
+ * 获取产品的开放元数据
664
664
  *
665
665
  * @param request - ListApiDefinitionsRequest
666
666
  * @returns ListApiDefinitionsResponse
@@ -671,7 +671,7 @@ class Client extends openapi_core_1.default {
671
671
  return await this.listApiDefinitionsWithOptions(request, headers, runtime);
672
672
  }
673
673
  /**
674
- * Lists the system tools supported by the MCP service.
674
+ * 查询系统工具列表
675
675
  *
676
676
  * @param request - ListApiMcpServerSystemToolsRequest
677
677
  * @param headers - map
@@ -708,7 +708,7 @@ class Client extends openapi_core_1.default {
708
708
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListApiMcpServerSystemToolsResponse({}));
709
709
  }
710
710
  /**
711
- * Lists the system tools supported by the MCP service.
711
+ * 查询系统工具列表
712
712
  *
713
713
  * @param request - ListApiMcpServerSystemToolsRequest
714
714
  * @returns ListApiMcpServerSystemToolsResponse
@@ -719,7 +719,7 @@ class Client extends openapi_core_1.default {
719
719
  return await this.listApiMcpServerSystemToolsWithOptions(request, headers, runtime);
720
720
  }
721
721
  /**
722
- * This operation queries a list of all API MCP servers in an Alibaba Cloud account.
722
+ * 列出资源ApiMcpServer
723
723
  *
724
724
  * @param request - ListApiMcpServersRequest
725
725
  * @param headers - map
@@ -777,7 +777,7 @@ class Client extends openapi_core_1.default {
777
777
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListApiMcpServersResponse({}));
778
778
  }
779
779
  /**
780
- * This operation queries a list of all API MCP servers in an Alibaba Cloud account.
780
+ * 列出资源ApiMcpServer
781
781
  *
782
782
  * @param request - ListApiMcpServersRequest
783
783
  * @returns ListApiMcpServersResponse
@@ -788,7 +788,49 @@ class Client extends openapi_core_1.default {
788
788
  return await this.listApiMcpServersWithOptions(request, headers, runtime);
789
789
  }
790
790
  /**
791
- * Updates an API MCP service.
791
+ * 列举云产品
792
+ *
793
+ * @param request - ListProductsRequest
794
+ * @param headers - map
795
+ * @param runtime - runtime options for this request RuntimeOptions
796
+ * @returns ListProductsResponse
797
+ */
798
+ async listProductsWithOptions(request, headers, runtime) {
799
+ request.validate();
800
+ let query = {};
801
+ if (!$dara.isNull(request.filter)) {
802
+ query["filter"] = request.filter;
803
+ }
804
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
805
+ headers: headers,
806
+ query: openapi_core_2.OpenApiUtil.query(query),
807
+ });
808
+ let params = new openapi_core_2.$OpenApiUtil.Params({
809
+ action: "ListProducts",
810
+ version: "2024-11-30",
811
+ protocol: "HTTPS",
812
+ pathname: `/listProducts`,
813
+ method: "GET",
814
+ authType: "AK",
815
+ style: "ROA",
816
+ reqBodyType: "json",
817
+ bodyType: "json",
818
+ });
819
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListProductsResponse({}));
820
+ }
821
+ /**
822
+ * 列举云产品
823
+ *
824
+ * @param request - ListProductsRequest
825
+ * @returns ListProductsResponse
826
+ */
827
+ async listProducts(request) {
828
+ let runtime = new $dara.RuntimeOptions({});
829
+ let headers = {};
830
+ return await this.listProductsWithOptions(request, headers, runtime);
831
+ }
832
+ /**
833
+ * 更新UpdateApiMcpServer
792
834
  *
793
835
  * @param request - UpdateApiMcpServerRequest
794
836
  * @param headers - map
@@ -869,7 +911,7 @@ class Client extends openapi_core_1.default {
869
911
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateApiMcpServerResponse({}));
870
912
  }
871
913
  /**
872
- * Updates an API MCP service.
914
+ * 更新UpdateApiMcpServer
873
915
  *
874
916
  * @param request - UpdateApiMcpServerRequest
875
917
  * @returns UpdateApiMcpServerResponse
@@ -880,7 +922,7 @@ class Client extends openapi_core_1.default {
880
922
  return await this.updateApiMcpServerWithOptions(request, headers, runtime);
881
923
  }
882
924
  /**
883
- * Updates the global API MCP Server configuration for a user.
925
+ * 修改用户全局API MCP Server配置
884
926
  *
885
927
  * @param request - UpdateApiMcpServerUserConfigRequest
886
928
  * @param headers - map
@@ -914,7 +956,7 @@ class Client extends openapi_core_1.default {
914
956
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateApiMcpServerUserConfigResponse({}));
915
957
  }
916
958
  /**
917
- * Updates the global API MCP Server configuration for a user.
959
+ * 修改用户全局API MCP Server配置
918
960
  *
919
961
  * @param request - UpdateApiMcpServerUserConfigRequest
920
962
  * @returns UpdateApiMcpServerUserConfigResponse