@alicloud/dms20250414 4.3.3 → 4.5.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.
- package/dist/client.d.ts +36 -0
- package/dist/client.js +103 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +53 -43
- package/dist/models/CreateCustomAgentRequest.js +2 -0
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +23 -23
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +47 -37
- package/dist/models/CreateCustomAgentShrinkRequest.js +2 -0
- package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -1
- package/dist/models/DeleteAgenticVpcEndpointRequest.d.ts +23 -0
- package/dist/models/DeleteAgenticVpcEndpointRequest.js +58 -0
- package/dist/models/DeleteAgenticVpcEndpointRequest.js.map +1 -0
- package/dist/models/DeleteAgenticVpcEndpointResponse.d.ts +19 -0
- package/dist/models/DeleteAgenticVpcEndpointResponse.js +69 -0
- package/dist/models/DeleteAgenticVpcEndpointResponse.js.map +1 -0
- package/dist/models/DeleteAgenticVpcEndpointResponseBody.d.ts +81 -0
- package/dist/models/DeleteAgenticVpcEndpointResponseBody.js +90 -0
- package/dist/models/DeleteAgenticVpcEndpointResponseBody.js.map +1 -0
- package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +577 -37
- package/dist/models/DescribeDataAgentSessionResponseBody.js +239 -1
- package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
- package/dist/models/DescribeDataAgentSkillDownloadRequest.d.ts +29 -0
- package/dist/models/DescribeDataAgentSkillDownloadRequest.js +60 -0
- package/dist/models/DescribeDataAgentSkillDownloadRequest.js.map +1 -0
- package/dist/models/DescribeDataAgentSkillDownloadResponse.d.ts +19 -0
- package/dist/models/DescribeDataAgentSkillDownloadResponse.js +69 -0
- package/dist/models/DescribeDataAgentSkillDownloadResponse.js.map +1 -0
- package/dist/models/DescribeDataAgentSkillDownloadResponseBody.d.ts +97 -0
- package/dist/models/DescribeDataAgentSkillDownloadResponseBody.js +94 -0
- package/dist/models/DescribeDataAgentSkillDownloadResponseBody.js.map +1 -0
- package/dist/models/UpdateAgenticDataSourceRequest.d.ts +52 -28
- package/dist/models/UpdateAgenticDataSourceRequest.js +6 -0
- package/dist/models/UpdateAgenticDataSourceRequest.js.map +1 -1
- package/dist/models/UpdateAgenticDataSourceResponseBody.d.ts +20 -20
- package/dist/models/model.d.ts +14 -0
- package/dist/models/model.js +46 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +114 -0
- package/src/models/CreateCustomAgentRequest.ts +55 -43
- package/src/models/CreateCustomAgentResponseBody.ts +23 -23
- package/src/models/CreateCustomAgentShrinkRequest.ts +49 -37
- package/src/models/DeleteAgenticVpcEndpointRequest.ts +36 -0
- package/src/models/DeleteAgenticVpcEndpointResponse.ts +40 -0
- package/src/models/DeleteAgenticVpcEndpointResponseBody.ts +117 -0
- package/src/models/DescribeDataAgentSessionResponseBody.ts +761 -37
- package/src/models/DescribeDataAgentSkillDownloadRequest.ts +44 -0
- package/src/models/DescribeDataAgentSkillDownloadResponse.ts +40 -0
- package/src/models/DescribeDataAgentSkillDownloadResponseBody.ts +137 -0
- package/src/models/UpdateAgenticDataSourceRequest.ts +58 -28
- package/src/models/UpdateAgenticDataSourceResponseBody.ts +20 -20
- package/src/models/model.ts +14 -0
package/dist/client.d.ts
CHANGED
|
@@ -344,6 +344,27 @@ export default class Client extends OpenApi {
|
|
|
344
344
|
* @returns DeleteAgenticDataSourceResponse
|
|
345
345
|
*/
|
|
346
346
|
deleteAgenticDataSource(request: $_model.DeleteAgenticDataSourceRequest): Promise<$_model.DeleteAgenticDataSourceResponse>;
|
|
347
|
+
/**
|
|
348
|
+
* Submits an asynchronous deletion request for a VPC endpoint and returns the acceptance result.
|
|
349
|
+
*
|
|
350
|
+
* @remarks
|
|
351
|
+
* After the reverse endpoint is deleted, the data source can no longer establish connections and cannot be restored by calling the enable API.
|
|
352
|
+
*
|
|
353
|
+
* @param request - DeleteAgenticVpcEndpointRequest
|
|
354
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
355
|
+
* @returns DeleteAgenticVpcEndpointResponse
|
|
356
|
+
*/
|
|
357
|
+
deleteAgenticVpcEndpointWithOptions(request: $_model.DeleteAgenticVpcEndpointRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAgenticVpcEndpointResponse>;
|
|
358
|
+
/**
|
|
359
|
+
* Submits an asynchronous deletion request for a VPC endpoint and returns the acceptance result.
|
|
360
|
+
*
|
|
361
|
+
* @remarks
|
|
362
|
+
* After the reverse endpoint is deleted, the data source can no longer establish connections and cannot be restored by calling the enable API.
|
|
363
|
+
*
|
|
364
|
+
* @param request - DeleteAgenticVpcEndpointRequest
|
|
365
|
+
* @returns DeleteAgenticVpcEndpointResponse
|
|
366
|
+
*/
|
|
367
|
+
deleteAgenticVpcEndpoint(request: $_model.DeleteAgenticVpcEndpointRequest): Promise<$_model.DeleteAgenticVpcEndpointResponse>;
|
|
347
368
|
/**
|
|
348
369
|
* Deletes an Airflow instance.
|
|
349
370
|
*
|
|
@@ -641,6 +662,21 @@ export default class Client extends OpenApi {
|
|
|
641
662
|
* @returns DescribeDataAgentSessionResponse
|
|
642
663
|
*/
|
|
643
664
|
describeDataAgentSession(request: $_model.DescribeDataAgentSessionRequest): Promise<$_model.DescribeDataAgentSessionResponse>;
|
|
665
|
+
/**
|
|
666
|
+
* Retrieves the download link for a DataAgent skill.
|
|
667
|
+
*
|
|
668
|
+
* @param request - DescribeDataAgentSkillDownloadRequest
|
|
669
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
670
|
+
* @returns DescribeDataAgentSkillDownloadResponse
|
|
671
|
+
*/
|
|
672
|
+
describeDataAgentSkillDownloadWithOptions(request: $_model.DescribeDataAgentSkillDownloadRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDataAgentSkillDownloadResponse>;
|
|
673
|
+
/**
|
|
674
|
+
* Retrieves the download link for a DataAgent skill.
|
|
675
|
+
*
|
|
676
|
+
* @param request - DescribeDataAgentSkillDownloadRequest
|
|
677
|
+
* @returns DescribeDataAgentSkillDownloadResponse
|
|
678
|
+
*/
|
|
679
|
+
describeDataAgentSkillDownload(request: $_model.DescribeDataAgentSkillDownloadRequest): Promise<$_model.DescribeDataAgentSkillDownloadResponse>;
|
|
644
680
|
/**
|
|
645
681
|
* Invokes the DescribeDataAgentTheme operation to query the details of a specific DataAgent theme, including the theme name, stage, source, common scenarios, description, and creation and modification time.
|
|
646
682
|
*
|
package/dist/client.js
CHANGED
|
@@ -61,6 +61,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
61
61
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62
62
|
// This file is auto-generated, don't edit it
|
|
63
63
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
64
|
+
const gateway_pop_1 = __importDefault(require("@alicloud/gateway-pop"));
|
|
64
65
|
const openapi_core_1 = __importDefault(require("@alicloud/openapi-core"));
|
|
65
66
|
const openapi_core_2 = require("@alicloud/openapi-core");
|
|
66
67
|
const $_model = __importStar(require("./models/model"));
|
|
@@ -68,6 +69,9 @@ __exportStar(require("./models/model"), exports);
|
|
|
68
69
|
class Client extends openapi_core_1.default {
|
|
69
70
|
constructor(config) {
|
|
70
71
|
super(config);
|
|
72
|
+
this._productId = "Dms";
|
|
73
|
+
let gatewayClient = new gateway_pop_1.default();
|
|
74
|
+
this._spi = gatewayClient;
|
|
71
75
|
this._endpointRule = "regional";
|
|
72
76
|
this.checkConfig(config);
|
|
73
77
|
this._endpoint = this.getEndpoint("dms", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -730,6 +734,9 @@ class Client extends openapi_core_1.default {
|
|
|
730
734
|
if (!$dara.isNull(request.callbackConfigShrink)) {
|
|
731
735
|
query["CallbackConfig"] = request.callbackConfigShrink;
|
|
732
736
|
}
|
|
737
|
+
if (!$dara.isNull(request.createFrom)) {
|
|
738
|
+
query["CreateFrom"] = request.createFrom;
|
|
739
|
+
}
|
|
733
740
|
if (!$dara.isNull(request.DMSUnit)) {
|
|
734
741
|
query["DMSUnit"] = request.DMSUnit;
|
|
735
742
|
}
|
|
@@ -1316,6 +1323,51 @@ class Client extends openapi_core_1.default {
|
|
|
1316
1323
|
let runtime = new $dara.RuntimeOptions({});
|
|
1317
1324
|
return await this.deleteAgenticDataSourceWithOptions(request, runtime);
|
|
1318
1325
|
}
|
|
1326
|
+
/**
|
|
1327
|
+
* Submits an asynchronous deletion request for a VPC endpoint and returns the acceptance result.
|
|
1328
|
+
*
|
|
1329
|
+
* @remarks
|
|
1330
|
+
* After the reverse endpoint is deleted, the data source can no longer establish connections and cannot be restored by calling the enable API.
|
|
1331
|
+
*
|
|
1332
|
+
* @param request - DeleteAgenticVpcEndpointRequest
|
|
1333
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1334
|
+
* @returns DeleteAgenticVpcEndpointResponse
|
|
1335
|
+
*/
|
|
1336
|
+
async deleteAgenticVpcEndpointWithOptions(request, runtime) {
|
|
1337
|
+
request.validate();
|
|
1338
|
+
let query = {};
|
|
1339
|
+
if (!$dara.isNull(request.endpointId)) {
|
|
1340
|
+
query["EndpointId"] = request.endpointId;
|
|
1341
|
+
}
|
|
1342
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1343
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1344
|
+
});
|
|
1345
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1346
|
+
action: "DeleteAgenticVpcEndpoint",
|
|
1347
|
+
version: "2025-04-14",
|
|
1348
|
+
protocol: "HTTPS",
|
|
1349
|
+
pathname: "/",
|
|
1350
|
+
method: "POST",
|
|
1351
|
+
authType: "AK",
|
|
1352
|
+
style: "RPC",
|
|
1353
|
+
reqBodyType: "formData",
|
|
1354
|
+
bodyType: "json",
|
|
1355
|
+
});
|
|
1356
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAgenticVpcEndpointResponse({}));
|
|
1357
|
+
}
|
|
1358
|
+
/**
|
|
1359
|
+
* Submits an asynchronous deletion request for a VPC endpoint and returns the acceptance result.
|
|
1360
|
+
*
|
|
1361
|
+
* @remarks
|
|
1362
|
+
* After the reverse endpoint is deleted, the data source can no longer establish connections and cannot be restored by calling the enable API.
|
|
1363
|
+
*
|
|
1364
|
+
* @param request - DeleteAgenticVpcEndpointRequest
|
|
1365
|
+
* @returns DeleteAgenticVpcEndpointResponse
|
|
1366
|
+
*/
|
|
1367
|
+
async deleteAgenticVpcEndpoint(request) {
|
|
1368
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1369
|
+
return await this.deleteAgenticVpcEndpointWithOptions(request, runtime);
|
|
1370
|
+
}
|
|
1319
1371
|
/**
|
|
1320
1372
|
* Deletes an Airflow instance.
|
|
1321
1373
|
*
|
|
@@ -2172,6 +2224,48 @@ class Client extends openapi_core_1.default {
|
|
|
2172
2224
|
let runtime = new $dara.RuntimeOptions({});
|
|
2173
2225
|
return await this.describeDataAgentSessionWithOptions(request, runtime);
|
|
2174
2226
|
}
|
|
2227
|
+
/**
|
|
2228
|
+
* Retrieves the download link for a DataAgent skill.
|
|
2229
|
+
*
|
|
2230
|
+
* @param request - DescribeDataAgentSkillDownloadRequest
|
|
2231
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2232
|
+
* @returns DescribeDataAgentSkillDownloadResponse
|
|
2233
|
+
*/
|
|
2234
|
+
async describeDataAgentSkillDownloadWithOptions(request, runtime) {
|
|
2235
|
+
request.validate();
|
|
2236
|
+
let query = {};
|
|
2237
|
+
if (!$dara.isNull(request.skillId)) {
|
|
2238
|
+
query["SkillId"] = request.skillId;
|
|
2239
|
+
}
|
|
2240
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
2241
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
2242
|
+
}
|
|
2243
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2244
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2245
|
+
});
|
|
2246
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2247
|
+
action: "DescribeDataAgentSkillDownload",
|
|
2248
|
+
version: "2025-04-14",
|
|
2249
|
+
protocol: "HTTPS",
|
|
2250
|
+
pathname: "/",
|
|
2251
|
+
method: "POST",
|
|
2252
|
+
authType: "AK",
|
|
2253
|
+
style: "RPC",
|
|
2254
|
+
reqBodyType: "formData",
|
|
2255
|
+
bodyType: "json",
|
|
2256
|
+
});
|
|
2257
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDataAgentSkillDownloadResponse({}));
|
|
2258
|
+
}
|
|
2259
|
+
/**
|
|
2260
|
+
* Retrieves the download link for a DataAgent skill.
|
|
2261
|
+
*
|
|
2262
|
+
* @param request - DescribeDataAgentSkillDownloadRequest
|
|
2263
|
+
* @returns DescribeDataAgentSkillDownloadResponse
|
|
2264
|
+
*/
|
|
2265
|
+
async describeDataAgentSkillDownload(request) {
|
|
2266
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2267
|
+
return await this.describeDataAgentSkillDownloadWithOptions(request, runtime);
|
|
2268
|
+
}
|
|
2175
2269
|
/**
|
|
2176
2270
|
* Invokes the DescribeDataAgentTheme operation to query the details of a specific DataAgent theme, including the theme name, stage, source, common scenarios, description, and creation and modification time.
|
|
2177
2271
|
*
|
|
@@ -6770,6 +6864,15 @@ class Client extends openapi_core_1.default {
|
|
|
6770
6864
|
if (!$dara.isNull(request.useSsl)) {
|
|
6771
6865
|
query["UseSsl"] = request.useSsl;
|
|
6772
6866
|
}
|
|
6867
|
+
if (!$dara.isNull(request.vSwitchId)) {
|
|
6868
|
+
query["VSwitchId"] = request.vSwitchId;
|
|
6869
|
+
}
|
|
6870
|
+
if (!$dara.isNull(request.vpcId)) {
|
|
6871
|
+
query["VpcId"] = request.vpcId;
|
|
6872
|
+
}
|
|
6873
|
+
if (!$dara.isNull(request.zoneId)) {
|
|
6874
|
+
query["ZoneId"] = request.zoneId;
|
|
6875
|
+
}
|
|
6773
6876
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6774
6877
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6775
6878
|
});
|