@alicloud/openapiexplorer20241130 1.2.0 → 1.2.2
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.
- package/dist/client.d.ts +34 -34
- package/dist/client.js +37 -34
- package/dist/client.js.map +1 -1
- package/dist/models/ApiMcpServerValidateHclRequest.d.ts +3 -0
- package/dist/models/ApiMcpServerValidateHclRequest.js.map +1 -1
- package/dist/models/ApiMcpServerValidateHclResponseBody.d.ts +24 -0
- package/dist/models/ApiMcpServerValidateHclResponseBody.js.map +1 -1
- package/dist/models/CreateApiMcpServerRequest.d.ts +163 -0
- package/dist/models/CreateApiMcpServerRequest.js.map +1 -1
- package/dist/models/CreateApiMcpServerResponseBody.d.ts +30 -0
- package/dist/models/CreateApiMcpServerResponseBody.js.map +1 -1
- package/dist/models/DeleteApiMcpServerRequest.d.ts +5 -0
- package/dist/models/DeleteApiMcpServerRequest.js.map +1 -1
- package/dist/models/DeleteApiMcpServerResponseBody.d.ts +3 -0
- package/dist/models/DeleteApiMcpServerResponseBody.js.map +1 -1
- package/dist/models/GenerateClicommandRequest.d.ts +58 -0
- package/dist/models/GenerateClicommandRequest.js +2 -0
- package/dist/models/GenerateClicommandRequest.js.map +1 -1
- package/dist/models/GenerateClicommandResponseBody.d.ts +12 -0
- package/dist/models/GenerateClicommandResponseBody.js +4 -0
- package/dist/models/GenerateClicommandResponseBody.js.map +1 -1
- package/dist/models/GenerateClicommandShrinkRequest.d.ts +58 -0
- package/dist/models/GenerateClicommandShrinkRequest.js +2 -0
- package/dist/models/GenerateClicommandShrinkRequest.js.map +1 -1
- package/dist/models/GetApiDefinitionRequest.d.ts +11 -0
- package/dist/models/GetApiDefinitionRequest.js.map +1 -1
- package/dist/models/GetApiMcpServerRequest.d.ts +2 -0
- package/dist/models/GetApiMcpServerRequest.js.map +1 -1
- package/dist/models/GetApiMcpServerResponseBody.d.ts +255 -2
- package/dist/models/GetApiMcpServerResponseBody.js.map +1 -1
- package/dist/models/GetApiMcpServerUserConfigResponseBody.d.ts +19 -0
- package/dist/models/GetApiMcpServerUserConfigResponseBody.js.map +1 -1
- package/dist/models/GetErrorCodeSolutionsRequest.d.ts +6 -5
- package/dist/models/GetErrorCodeSolutionsRequest.js.map +1 -1
- package/dist/models/GetErrorCodeSolutionsResponseBody.d.ts +7 -1
- package/dist/models/GetErrorCodeSolutionsResponseBody.js.map +1 -1
- package/dist/models/GetOwnRequestLogRequest.d.ts +1 -1
- package/dist/models/GetOwnRequestLogResponseBody.d.ts +57 -46
- package/dist/models/GetOwnRequestLogResponseBody.js.map +1 -1
- package/dist/models/GetProductEndpointsRequest.d.ts +7 -0
- package/dist/models/GetProductEndpointsRequest.js.map +1 -1
- package/dist/models/GetRequestLogRequest.d.ts +1 -1
- package/dist/models/GetRequestLogResponseBody.d.ts +59 -48
- package/dist/models/GetRequestLogResponseBody.js.map +1 -1
- package/dist/models/ListApiDefinitionsRequest.d.ts +9 -0
- package/dist/models/ListApiDefinitionsRequest.js.map +1 -1
- package/dist/models/ListApiMcpServerSystemToolsRequest.d.ts +11 -0
- package/dist/models/ListApiMcpServerSystemToolsRequest.js.map +1 -1
- package/dist/models/ListApiMcpServerSystemToolsResponseBody.d.ts +24 -0
- package/dist/models/ListApiMcpServerSystemToolsResponseBody.js.map +1 -1
- package/dist/models/ListApiMcpServersRequest.d.ts +40 -0
- package/dist/models/ListApiMcpServersRequest.js.map +1 -1
- package/dist/models/ListApiMcpServersResponseBody.d.ts +241 -2
- package/dist/models/ListApiMcpServersResponseBody.js.map +1 -1
- package/dist/models/UpdateApiMcpServerRequest.d.ts +169 -0
- package/dist/models/UpdateApiMcpServerRequest.js.map +1 -1
- package/dist/models/UpdateApiMcpServerResponseBody.d.ts +3 -0
- package/dist/models/UpdateApiMcpServerResponseBody.js.map +1 -1
- package/dist/models/UpdateApiMcpServerUserConfigRequest.d.ts +7 -0
- package/dist/models/UpdateApiMcpServerUserConfigRequest.js.map +1 -1
- package/dist/models/UpdateApiMcpServerUserConfigResponseBody.d.ts +3 -0
- package/dist/models/UpdateApiMcpServerUserConfigResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +38 -34
- package/src/models/ApiMcpServerValidateHclRequest.ts +3 -0
- package/src/models/ApiMcpServerValidateHclResponseBody.ts +24 -0
- package/src/models/CreateApiMcpServerRequest.ts +163 -0
- package/src/models/CreateApiMcpServerResponseBody.ts +30 -0
- package/src/models/DeleteApiMcpServerRequest.ts +5 -0
- package/src/models/DeleteApiMcpServerResponseBody.ts +3 -0
- package/src/models/GenerateClicommandRequest.ts +60 -0
- package/src/models/GenerateClicommandResponseBody.ts +16 -0
- package/src/models/GenerateClicommandShrinkRequest.ts +60 -0
- package/src/models/GetApiDefinitionRequest.ts +11 -0
- package/src/models/GetApiMcpServerRequest.ts +2 -0
- package/src/models/GetApiMcpServerResponseBody.ts +255 -2
- package/src/models/GetApiMcpServerUserConfigResponseBody.ts +19 -0
- package/src/models/GetErrorCodeSolutionsRequest.ts +6 -5
- package/src/models/GetErrorCodeSolutionsResponseBody.ts +7 -1
- package/src/models/GetOwnRequestLogRequest.ts +1 -1
- package/src/models/GetOwnRequestLogResponseBody.ts +57 -46
- package/src/models/GetProductEndpointsRequest.ts +7 -0
- package/src/models/GetRequestLogRequest.ts +1 -1
- package/src/models/GetRequestLogResponseBody.ts +59 -48
- package/src/models/ListApiDefinitionsRequest.ts +9 -0
- package/src/models/ListApiMcpServerSystemToolsRequest.ts +11 -0
- package/src/models/ListApiMcpServerSystemToolsResponseBody.ts +24 -0
- package/src/models/ListApiMcpServersRequest.ts +40 -0
- package/src/models/ListApiMcpServersResponseBody.ts +241 -2
- package/src/models/UpdateApiMcpServerRequest.ts +169 -0
- package/src/models/UpdateApiMcpServerResponseBody.ts +3 -0
- package/src/models/UpdateApiMcpServerUserConfigRequest.ts +7 -0
- package/src/models/UpdateApiMcpServerUserConfigResponseBody.ts +3 -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
|
-
*
|
|
12
|
+
* Validates the syntax of HashiCorp Configuration Language (HCL) for Terraform.
|
|
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
|
-
*
|
|
23
|
+
* Validates the syntax of HashiCorp Configuration Language (HCL) for Terraform.
|
|
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
|
-
*
|
|
30
|
+
* Creates an API MCP service.
|
|
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
|
-
*
|
|
41
|
+
* Creates an API MCP service.
|
|
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
|
-
*
|
|
48
|
+
* Deletes an API MCP service.
|
|
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
|
-
*
|
|
59
|
+
* Deletes an API MCP service.
|
|
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
|
-
*
|
|
66
|
+
* Generates an Alibaba Cloud CLI command dynamically.
|
|
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
|
-
*
|
|
77
|
+
* Generates an Alibaba Cloud CLI command dynamically.
|
|
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
|
-
*
|
|
84
|
+
* Retrieves the OpenAPI metadata for an API in a product.
|
|
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
|
-
*
|
|
95
|
+
* Retrieves the OpenAPI metadata for an API in a product.
|
|
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
|
-
*
|
|
102
|
+
* Retrieves the details of a specific API MCP service.
|
|
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
|
-
*
|
|
113
|
+
* Retrieves the details of a specific API MCP service.
|
|
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
|
-
*
|
|
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.
|
|
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
|
-
*
|
|
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.
|
|
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
|
|
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.
|
|
160
160
|
*
|
|
161
161
|
* @remarks
|
|
162
|
-
*
|
|
162
|
+
* This API does not support authorization.
|
|
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
|
|
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.
|
|
174
174
|
*
|
|
175
175
|
* @remarks
|
|
176
|
-
*
|
|
176
|
+
* This API does not support authorization.
|
|
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
|
-
*
|
|
183
|
+
* Retrieves the endpoint information for a product.
|
|
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
|
-
*
|
|
194
|
+
* Retrieves the endpoint information for a product.
|
|
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
|
|
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.
|
|
202
202
|
*
|
|
203
203
|
* @remarks
|
|
204
|
-
* You can
|
|
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).
|
|
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
|
|
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.
|
|
216
216
|
*
|
|
217
217
|
* @remarks
|
|
218
|
-
* You can
|
|
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).
|
|
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
|
-
*
|
|
225
|
+
* Retrieves the OpenAPI metadata for a product.
|
|
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
|
-
*
|
|
236
|
+
* Retrieves the OpenAPI metadata for a product.
|
|
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
|
-
*
|
|
243
|
+
* Lists the system tools supported by the MCP service.
|
|
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
|
-
*
|
|
254
|
+
* Lists the system tools supported by the MCP service.
|
|
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
|
-
*
|
|
261
|
+
* This operation queries a list of all API MCP servers in an Alibaba Cloud account.
|
|
262
262
|
*
|
|
263
263
|
* @param request - ListApiMcpServersRequest
|
|
264
264
|
* @param headers - map
|
|
@@ -269,14 +269,14 @@ export default class Client extends OpenApi {
|
|
|
269
269
|
[key: string]: string;
|
|
270
270
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListApiMcpServersResponse>;
|
|
271
271
|
/**
|
|
272
|
-
*
|
|
272
|
+
* This operation queries a list of all API MCP servers in an Alibaba Cloud account.
|
|
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
|
-
*
|
|
279
|
+
* Updates an API MCP service.
|
|
280
280
|
*
|
|
281
281
|
* @param request - UpdateApiMcpServerRequest
|
|
282
282
|
* @param headers - map
|
|
@@ -287,14 +287,14 @@ export default class Client extends OpenApi {
|
|
|
287
287
|
[key: string]: string;
|
|
288
288
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateApiMcpServerResponse>;
|
|
289
289
|
/**
|
|
290
|
-
*
|
|
290
|
+
* Updates an API MCP service.
|
|
291
291
|
*
|
|
292
292
|
* @param request - UpdateApiMcpServerRequest
|
|
293
293
|
* @returns UpdateApiMcpServerResponse
|
|
294
294
|
*/
|
|
295
295
|
updateApiMcpServer(request: $_model.UpdateApiMcpServerRequest): Promise<$_model.UpdateApiMcpServerResponse>;
|
|
296
296
|
/**
|
|
297
|
-
*
|
|
297
|
+
* Updates the global API MCP Server configuration for a user.
|
|
298
298
|
*
|
|
299
299
|
* @param request - UpdateApiMcpServerUserConfigRequest
|
|
300
300
|
* @param headers - map
|
|
@@ -305,7 +305,7 @@ export default class Client extends OpenApi {
|
|
|
305
305
|
[key: string]: string;
|
|
306
306
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateApiMcpServerUserConfigResponse>;
|
|
307
307
|
/**
|
|
308
|
-
*
|
|
308
|
+
* Updates the global API MCP Server configuration for a user.
|
|
309
309
|
*
|
|
310
310
|
* @param request - UpdateApiMcpServerUserConfigRequest
|
|
311
311
|
* @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
|
-
*
|
|
69
|
+
* Validates the syntax of HashiCorp Configuration Language (HCL) for Terraform.
|
|
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
|
-
*
|
|
100
|
+
* Validates the syntax of HashiCorp Configuration Language (HCL) for Terraform.
|
|
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
|
-
*
|
|
111
|
+
* Creates an API MCP service.
|
|
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
|
-
*
|
|
190
|
+
* Creates an API MCP service.
|
|
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
|
-
*
|
|
201
|
+
* Deletes an API MCP service.
|
|
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
|
-
*
|
|
235
|
+
* Deletes an API MCP service.
|
|
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
|
-
*
|
|
246
|
+
* Generates an Alibaba Cloud CLI command dynamically.
|
|
247
247
|
*
|
|
248
248
|
* @param tmpReq - GenerateCLICommandRequest
|
|
249
249
|
* @param headers - map
|
|
@@ -258,6 +258,9 @@ class Client extends openapi_core_1.default {
|
|
|
258
258
|
request.apiParamsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.apiParams, "apiParams", "json");
|
|
259
259
|
}
|
|
260
260
|
let body = {};
|
|
261
|
+
if (!$dara.isNull(request.aggregatePagination)) {
|
|
262
|
+
body["aggregatePagination"] = request.aggregatePagination;
|
|
263
|
+
}
|
|
261
264
|
if (!$dara.isNull(request.api)) {
|
|
262
265
|
body["api"] = request.api;
|
|
263
266
|
}
|
|
@@ -294,7 +297,7 @@ class Client extends openapi_core_1.default {
|
|
|
294
297
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GenerateCLICommandResponse({}));
|
|
295
298
|
}
|
|
296
299
|
/**
|
|
297
|
-
*
|
|
300
|
+
* Generates an Alibaba Cloud CLI command dynamically.
|
|
298
301
|
*
|
|
299
302
|
* @param request - GenerateCLICommandRequest
|
|
300
303
|
* @returns GenerateCLICommandResponse
|
|
@@ -305,7 +308,7 @@ class Client extends openapi_core_1.default {
|
|
|
305
308
|
return await this.generateCLICommandWithOptions(request, headers, runtime);
|
|
306
309
|
}
|
|
307
310
|
/**
|
|
308
|
-
*
|
|
311
|
+
* Retrieves the OpenAPI metadata for an API in a product.
|
|
309
312
|
*
|
|
310
313
|
* @param request - GetApiDefinitionRequest
|
|
311
314
|
* @param headers - map
|
|
@@ -342,7 +345,7 @@ class Client extends openapi_core_1.default {
|
|
|
342
345
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetApiDefinitionResponse({}));
|
|
343
346
|
}
|
|
344
347
|
/**
|
|
345
|
-
*
|
|
348
|
+
* Retrieves the OpenAPI metadata for an API in a product.
|
|
346
349
|
*
|
|
347
350
|
* @param request - GetApiDefinitionRequest
|
|
348
351
|
* @returns GetApiDefinitionResponse
|
|
@@ -353,7 +356,7 @@ class Client extends openapi_core_1.default {
|
|
|
353
356
|
return await this.getApiDefinitionWithOptions(request, headers, runtime);
|
|
354
357
|
}
|
|
355
358
|
/**
|
|
356
|
-
*
|
|
359
|
+
* Retrieves the details of a specific API MCP service.
|
|
357
360
|
*
|
|
358
361
|
* @param request - GetApiMcpServerRequest
|
|
359
362
|
* @param headers - map
|
|
@@ -384,7 +387,7 @@ class Client extends openapi_core_1.default {
|
|
|
384
387
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetApiMcpServerResponse({}));
|
|
385
388
|
}
|
|
386
389
|
/**
|
|
387
|
-
*
|
|
390
|
+
* Retrieves the details of a specific API MCP service.
|
|
388
391
|
*
|
|
389
392
|
* @param request - GetApiMcpServerRequest
|
|
390
393
|
* @returns GetApiMcpServerResponse
|
|
@@ -395,7 +398,7 @@ class Client extends openapi_core_1.default {
|
|
|
395
398
|
return await this.getApiMcpServerWithOptions(request, headers, runtime);
|
|
396
399
|
}
|
|
397
400
|
/**
|
|
398
|
-
*
|
|
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.
|
|
399
402
|
*
|
|
400
403
|
* @param headers - map
|
|
401
404
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -419,7 +422,7 @@ class Client extends openapi_core_1.default {
|
|
|
419
422
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetApiMcpServerUserConfigResponse({}));
|
|
420
423
|
}
|
|
421
424
|
/**
|
|
422
|
-
*
|
|
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.
|
|
423
426
|
* @returns GetApiMcpServerUserConfigResponse
|
|
424
427
|
*/
|
|
425
428
|
async getApiMcpServerUserConfig() {
|
|
@@ -485,10 +488,10 @@ class Client extends openapi_core_1.default {
|
|
|
485
488
|
return await this.getErrorCodeSolutionsWithOptions(request, headers, runtime);
|
|
486
489
|
}
|
|
487
490
|
/**
|
|
488
|
-
* Queries the
|
|
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.
|
|
489
492
|
*
|
|
490
493
|
* @remarks
|
|
491
|
-
*
|
|
494
|
+
* This API does not support authorization.
|
|
492
495
|
*
|
|
493
496
|
* @param request - GetOwnRequestLogRequest
|
|
494
497
|
* @param headers - map
|
|
@@ -519,10 +522,10 @@ class Client extends openapi_core_1.default {
|
|
|
519
522
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetOwnRequestLogResponse({}));
|
|
520
523
|
}
|
|
521
524
|
/**
|
|
522
|
-
* Queries the
|
|
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.
|
|
523
526
|
*
|
|
524
527
|
* @remarks
|
|
525
|
-
*
|
|
528
|
+
* This API does not support authorization.
|
|
526
529
|
*
|
|
527
530
|
* @param request - GetOwnRequestLogRequest
|
|
528
531
|
* @returns GetOwnRequestLogResponse
|
|
@@ -533,7 +536,7 @@ class Client extends openapi_core_1.default {
|
|
|
533
536
|
return await this.getOwnRequestLogWithOptions(request, headers, runtime);
|
|
534
537
|
}
|
|
535
538
|
/**
|
|
536
|
-
*
|
|
539
|
+
* Retrieves the endpoint information for a product.
|
|
537
540
|
*
|
|
538
541
|
* @param request - GetProductEndpointsRequest
|
|
539
542
|
* @param headers - map
|
|
@@ -564,7 +567,7 @@ class Client extends openapi_core_1.default {
|
|
|
564
567
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetProductEndpointsResponse({}));
|
|
565
568
|
}
|
|
566
569
|
/**
|
|
567
|
-
*
|
|
570
|
+
* Retrieves the endpoint information for a product.
|
|
568
571
|
*
|
|
569
572
|
* @param request - GetProductEndpointsRequest
|
|
570
573
|
* @returns GetProductEndpointsResponse
|
|
@@ -575,10 +578,10 @@ class Client extends openapi_core_1.default {
|
|
|
575
578
|
return await this.getProductEndpointsWithOptions(request, headers, runtime);
|
|
576
579
|
}
|
|
577
580
|
/**
|
|
578
|
-
* Queries the
|
|
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.
|
|
579
582
|
*
|
|
580
583
|
* @remarks
|
|
581
|
-
* You can
|
|
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).
|
|
582
585
|
*
|
|
583
586
|
* @param request - GetRequestLogRequest
|
|
584
587
|
* @param headers - map
|
|
@@ -609,10 +612,10 @@ class Client extends openapi_core_1.default {
|
|
|
609
612
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetRequestLogResponse({}));
|
|
610
613
|
}
|
|
611
614
|
/**
|
|
612
|
-
* Queries the
|
|
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.
|
|
613
616
|
*
|
|
614
617
|
* @remarks
|
|
615
|
-
* You can
|
|
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).
|
|
616
619
|
*
|
|
617
620
|
* @param request - GetRequestLogRequest
|
|
618
621
|
* @returns GetRequestLogResponse
|
|
@@ -623,7 +626,7 @@ class Client extends openapi_core_1.default {
|
|
|
623
626
|
return await this.getRequestLogWithOptions(request, headers, runtime);
|
|
624
627
|
}
|
|
625
628
|
/**
|
|
626
|
-
*
|
|
629
|
+
* Retrieves the OpenAPI metadata for a product.
|
|
627
630
|
*
|
|
628
631
|
* @param request - ListApiDefinitionsRequest
|
|
629
632
|
* @param headers - map
|
|
@@ -657,7 +660,7 @@ class Client extends openapi_core_1.default {
|
|
|
657
660
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListApiDefinitionsResponse({}));
|
|
658
661
|
}
|
|
659
662
|
/**
|
|
660
|
-
*
|
|
663
|
+
* Retrieves the OpenAPI metadata for a product.
|
|
661
664
|
*
|
|
662
665
|
* @param request - ListApiDefinitionsRequest
|
|
663
666
|
* @returns ListApiDefinitionsResponse
|
|
@@ -668,7 +671,7 @@ class Client extends openapi_core_1.default {
|
|
|
668
671
|
return await this.listApiDefinitionsWithOptions(request, headers, runtime);
|
|
669
672
|
}
|
|
670
673
|
/**
|
|
671
|
-
*
|
|
674
|
+
* Lists the system tools supported by the MCP service.
|
|
672
675
|
*
|
|
673
676
|
* @param request - ListApiMcpServerSystemToolsRequest
|
|
674
677
|
* @param headers - map
|
|
@@ -705,7 +708,7 @@ class Client extends openapi_core_1.default {
|
|
|
705
708
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListApiMcpServerSystemToolsResponse({}));
|
|
706
709
|
}
|
|
707
710
|
/**
|
|
708
|
-
*
|
|
711
|
+
* Lists the system tools supported by the MCP service.
|
|
709
712
|
*
|
|
710
713
|
* @param request - ListApiMcpServerSystemToolsRequest
|
|
711
714
|
* @returns ListApiMcpServerSystemToolsResponse
|
|
@@ -716,7 +719,7 @@ class Client extends openapi_core_1.default {
|
|
|
716
719
|
return await this.listApiMcpServerSystemToolsWithOptions(request, headers, runtime);
|
|
717
720
|
}
|
|
718
721
|
/**
|
|
719
|
-
*
|
|
722
|
+
* This operation queries a list of all API MCP servers in an Alibaba Cloud account.
|
|
720
723
|
*
|
|
721
724
|
* @param request - ListApiMcpServersRequest
|
|
722
725
|
* @param headers - map
|
|
@@ -774,7 +777,7 @@ class Client extends openapi_core_1.default {
|
|
|
774
777
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListApiMcpServersResponse({}));
|
|
775
778
|
}
|
|
776
779
|
/**
|
|
777
|
-
*
|
|
780
|
+
* This operation queries a list of all API MCP servers in an Alibaba Cloud account.
|
|
778
781
|
*
|
|
779
782
|
* @param request - ListApiMcpServersRequest
|
|
780
783
|
* @returns ListApiMcpServersResponse
|
|
@@ -785,7 +788,7 @@ class Client extends openapi_core_1.default {
|
|
|
785
788
|
return await this.listApiMcpServersWithOptions(request, headers, runtime);
|
|
786
789
|
}
|
|
787
790
|
/**
|
|
788
|
-
*
|
|
791
|
+
* Updates an API MCP service.
|
|
789
792
|
*
|
|
790
793
|
* @param request - UpdateApiMcpServerRequest
|
|
791
794
|
* @param headers - map
|
|
@@ -866,7 +869,7 @@ class Client extends openapi_core_1.default {
|
|
|
866
869
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateApiMcpServerResponse({}));
|
|
867
870
|
}
|
|
868
871
|
/**
|
|
869
|
-
*
|
|
872
|
+
* Updates an API MCP service.
|
|
870
873
|
*
|
|
871
874
|
* @param request - UpdateApiMcpServerRequest
|
|
872
875
|
* @returns UpdateApiMcpServerResponse
|
|
@@ -877,7 +880,7 @@ class Client extends openapi_core_1.default {
|
|
|
877
880
|
return await this.updateApiMcpServerWithOptions(request, headers, runtime);
|
|
878
881
|
}
|
|
879
882
|
/**
|
|
880
|
-
*
|
|
883
|
+
* Updates the global API MCP Server configuration for a user.
|
|
881
884
|
*
|
|
882
885
|
* @param request - UpdateApiMcpServerUserConfigRequest
|
|
883
886
|
* @param headers - map
|
|
@@ -911,7 +914,7 @@ class Client extends openapi_core_1.default {
|
|
|
911
914
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateApiMcpServerUserConfigResponse({}));
|
|
912
915
|
}
|
|
913
916
|
/**
|
|
914
|
-
*
|
|
917
|
+
* Updates the global API MCP Server configuration for a user.
|
|
915
918
|
*
|
|
916
919
|
* @param request - UpdateApiMcpServerUserConfigRequest
|
|
917
920
|
* @returns UpdateApiMcpServerUserConfigResponse
|