@alicloud/dms20250414 4.3.2 → 4.4.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 (112) hide show
  1. package/dist/client.d.ts +43 -22
  2. package/dist/client.js +98 -22
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddAgenticDataSourceRequest.d.ts +16 -27
  5. package/dist/models/AddAgenticDataSourceRequest.js +2 -0
  6. package/dist/models/AddAgenticDataSourceRequest.js.map +1 -1
  7. package/dist/models/AddAgenticDataSourceResponseBody.d.ts +23 -20
  8. package/dist/models/AddAgenticDataSourceResponseBody.js +2 -0
  9. package/dist/models/AddAgenticDataSourceResponseBody.js.map +1 -1
  10. package/dist/models/AgenticDatabaseEngineMeta.d.ts +28 -0
  11. package/dist/models/AgenticDatabaseEngineMeta.js.map +1 -1
  12. package/dist/models/CreateAgenticSqlExecuteCredentialResponseBody.d.ts +2 -2
  13. package/dist/models/CreateCustomAgentRequest.d.ts +53 -43
  14. package/dist/models/CreateCustomAgentRequest.js +2 -0
  15. package/dist/models/CreateCustomAgentRequest.js.map +1 -1
  16. package/dist/models/CreateCustomAgentResponseBody.d.ts +23 -23
  17. package/dist/models/CreateCustomAgentShrinkRequest.d.ts +47 -37
  18. package/dist/models/CreateCustomAgentShrinkRequest.js +2 -0
  19. package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -1
  20. package/dist/models/CreateDataAgentWorkspaceRequest.d.ts +11 -3
  21. package/dist/models/CreateDataAgentWorkspaceRequest.js +2 -0
  22. package/dist/models/CreateDataAgentWorkspaceRequest.js.map +1 -1
  23. package/dist/models/CreateDataAgentWorkspaceResponseBody.d.ts +16 -9
  24. package/dist/models/CreateDataAgentWorkspaceResponseBody.js +2 -0
  25. package/dist/models/CreateDataAgentWorkspaceResponseBody.js.map +1 -1
  26. package/dist/models/DeleteAgenticDataSourceRequest.d.ts +1 -1
  27. package/dist/models/DeleteAgenticDataSourceResponseBody.d.ts +5 -5
  28. package/dist/models/DeleteAgenticVpcEndpointRequest.d.ts +23 -0
  29. package/dist/models/DeleteAgenticVpcEndpointRequest.js +58 -0
  30. package/dist/models/DeleteAgenticVpcEndpointRequest.js.map +1 -0
  31. package/dist/models/DeleteAgenticVpcEndpointResponse.d.ts +19 -0
  32. package/dist/models/DeleteAgenticVpcEndpointResponse.js +69 -0
  33. package/dist/models/DeleteAgenticVpcEndpointResponse.js.map +1 -0
  34. package/dist/models/DeleteAgenticVpcEndpointResponseBody.d.ts +81 -0
  35. package/dist/models/DeleteAgenticVpcEndpointResponseBody.js +90 -0
  36. package/dist/models/DeleteAgenticVpcEndpointResponseBody.js.map +1 -0
  37. package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +577 -37
  38. package/dist/models/DescribeDataAgentSessionResponseBody.js +239 -1
  39. package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
  40. package/dist/models/GetAgenticDataSourceResponseBody.d.ts +43 -35
  41. package/dist/models/GetAgenticDataSourceResponseBody.js +2 -0
  42. package/dist/models/GetAgenticDataSourceResponseBody.js.map +1 -1
  43. package/dist/models/GetAgenticDatabaseRequest.d.ts +1 -1
  44. package/dist/models/GetAgenticDatabaseResponseBody.d.ts +3 -3
  45. package/dist/models/GetDataAgentWorkspaceInfoRequest.d.ts +1 -1
  46. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.d.ts +13 -5
  47. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js +2 -0
  48. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js.map +1 -1
  49. package/dist/models/GetListMcpServerToolsResultRequest.d.ts +3 -3
  50. package/dist/models/GetListMcpServerToolsResultResponseBody.d.ts +10 -15
  51. package/dist/models/GetListMcpServerToolsResultResponseBody.js.map +1 -1
  52. package/dist/models/ListAgenticSecurityPoliciesRequest.d.ts +8 -5
  53. package/dist/models/ListAgenticSecurityPoliciesRequest.js.map +1 -1
  54. package/dist/models/ListAgenticSecurityPoliciesResponseBody.d.ts +13 -13
  55. package/dist/models/ListDataAgentWorkspaceRequest.d.ts +3 -3
  56. package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +14 -6
  57. package/dist/models/ListDataAgentWorkspaceResponseBody.js +2 -0
  58. package/dist/models/ListDataAgentWorkspaceResponseBody.js.map +1 -1
  59. package/dist/models/TestAgenticDataSourceConnectionRequest.d.ts +32 -20
  60. package/dist/models/TestAgenticDataSourceConnectionRequest.js +2 -0
  61. package/dist/models/TestAgenticDataSourceConnectionRequest.js.map +1 -1
  62. package/dist/models/TestAgenticDataSourceConnectionResponseBody.d.ts +4 -4
  63. package/dist/models/UpdateAgenticDataSourceRequest.d.ts +50 -18
  64. package/dist/models/UpdateAgenticDataSourceRequest.js +8 -0
  65. package/dist/models/UpdateAgenticDataSourceRequest.js.map +1 -1
  66. package/dist/models/UpdateAgenticDataSourceResponseBody.d.ts +22 -14
  67. package/dist/models/UpdateAgenticDataSourceResponseBody.js +2 -0
  68. package/dist/models/UpdateAgenticDataSourceResponseBody.js.map +1 -1
  69. package/dist/models/UpdateDataAgentSpaceInfoRequest.d.ts +12 -4
  70. package/dist/models/UpdateDataAgentSpaceInfoRequest.js +2 -0
  71. package/dist/models/UpdateDataAgentSpaceInfoRequest.js.map +1 -1
  72. package/dist/models/UpdateDataAgentSpaceInfoResponseBody.d.ts +19 -11
  73. package/dist/models/UpdateDataAgentSpaceInfoResponseBody.js +2 -0
  74. package/dist/models/UpdateDataAgentSpaceInfoResponseBody.js.map +1 -1
  75. package/dist/models/model.d.ts +10 -0
  76. package/dist/models/model.js +38 -18
  77. package/dist/models/model.js.map +1 -1
  78. package/package.json +2 -1
  79. package/src/client.ts +110 -22
  80. package/src/models/AddAgenticDataSourceRequest.ts +18 -27
  81. package/src/models/AddAgenticDataSourceResponseBody.ts +25 -20
  82. package/src/models/AgenticDatabaseEngineMeta.ts +28 -0
  83. package/src/models/CreateAgenticSqlExecuteCredentialResponseBody.ts +2 -2
  84. package/src/models/CreateCustomAgentRequest.ts +55 -43
  85. package/src/models/CreateCustomAgentResponseBody.ts +23 -23
  86. package/src/models/CreateCustomAgentShrinkRequest.ts +49 -37
  87. package/src/models/CreateDataAgentWorkspaceRequest.ts +13 -3
  88. package/src/models/CreateDataAgentWorkspaceResponseBody.ts +18 -9
  89. package/src/models/DeleteAgenticDataSourceRequest.ts +1 -1
  90. package/src/models/DeleteAgenticDataSourceResponseBody.ts +5 -5
  91. package/src/models/DeleteAgenticVpcEndpointRequest.ts +36 -0
  92. package/src/models/DeleteAgenticVpcEndpointResponse.ts +40 -0
  93. package/src/models/DeleteAgenticVpcEndpointResponseBody.ts +117 -0
  94. package/src/models/DescribeDataAgentSessionResponseBody.ts +761 -37
  95. package/src/models/GetAgenticDataSourceResponseBody.ts +45 -35
  96. package/src/models/GetAgenticDatabaseRequest.ts +1 -1
  97. package/src/models/GetAgenticDatabaseResponseBody.ts +3 -3
  98. package/src/models/GetDataAgentWorkspaceInfoRequest.ts +1 -1
  99. package/src/models/GetDataAgentWorkspaceInfoResponseBody.ts +15 -5
  100. package/src/models/GetListMcpServerToolsResultRequest.ts +3 -3
  101. package/src/models/GetListMcpServerToolsResultResponseBody.ts +10 -15
  102. package/src/models/ListAgenticSecurityPoliciesRequest.ts +8 -5
  103. package/src/models/ListAgenticSecurityPoliciesResponseBody.ts +13 -13
  104. package/src/models/ListDataAgentWorkspaceRequest.ts +3 -3
  105. package/src/models/ListDataAgentWorkspaceResponseBody.ts +16 -6
  106. package/src/models/TestAgenticDataSourceConnectionRequest.ts +34 -20
  107. package/src/models/TestAgenticDataSourceConnectionResponseBody.ts +4 -4
  108. package/src/models/UpdateAgenticDataSourceRequest.ts +58 -18
  109. package/src/models/UpdateAgenticDataSourceResponseBody.ts +24 -14
  110. package/src/models/UpdateDataAgentSpaceInfoRequest.ts +14 -4
  111. package/src/models/UpdateDataAgentSpaceInfoResponseBody.ts +21 -11
  112. package/src/models/model.ts +10 -0
package/src/client.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  // This file is auto-generated, don't edit it
2
2
  import * as $dara from '@darabonba/typescript';
3
+ import GatewayClient from '@alicloud/gateway-pop';
3
4
  import OpenApi from '@alicloud/openapi-core';
4
5
  import { OpenApiUtil, $OpenApiUtil }from '@alicloud/openapi-core';
5
6
 
@@ -11,6 +12,9 @@ export default class Client extends OpenApi {
11
12
 
12
13
  constructor(config: $OpenApiUtil.Config) {
13
14
  super(config);
15
+ this._productId = "Dms";
16
+ let gatewayClient = new GatewayClient();
17
+ this._spi = gatewayClient;
14
18
  this._endpointRule = "regional";
15
19
  this.checkConfig(config);
16
20
  this._endpoint = this.getEndpoint("dms", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
@@ -30,7 +34,7 @@ export default class Client extends OpenApi {
30
34
  }
31
35
 
32
36
  /**
33
- * Creates a data source accessible by the Agent data gateway.
37
+ * Creates a data source that can be accessed by the Agent data gateway.
34
38
  *
35
39
  * @remarks
36
40
  * Enter the connection and authentication information for the data source. The connection is automatically tested before saving. If the test succeeds, the data source is created and metadata synchronization starts.
@@ -42,6 +46,10 @@ export default class Client extends OpenApi {
42
46
  async addAgenticDataSourceWithOptions(request: $_model.AddAgenticDataSourceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddAgenticDataSourceResponse> {
43
47
  request.validate();
44
48
  let query = { };
49
+ if (!$dara.isNull(request.adbSparkResourceGroup)) {
50
+ query["AdbSparkResourceGroup"] = request.adbSparkResourceGroup;
51
+ }
52
+
45
53
  if (!$dara.isNull(request.alias)) {
46
54
  query["Alias"] = request.alias;
47
55
  }
@@ -152,7 +160,7 @@ export default class Client extends OpenApi {
152
160
  }
153
161
 
154
162
  /**
155
- * Creates a data source accessible by the Agent data gateway.
163
+ * Creates a data source that can be accessed by the Agent data gateway.
156
164
  *
157
165
  * @remarks
158
166
  * Enter the connection and authentication information for the data source. The connection is automatically tested before saving. If the test succeeds, the data source is created and metadata synchronization starts.
@@ -775,6 +783,10 @@ export default class Client extends OpenApi {
775
783
  query["CallbackConfig"] = request.callbackConfigShrink;
776
784
  }
777
785
 
786
+ if (!$dara.isNull(request.createFrom)) {
787
+ query["CreateFrom"] = request.createFrom;
788
+ }
789
+
778
790
  if (!$dara.isNull(request.DMSUnit)) {
779
791
  query["DMSUnit"] = request.DMSUnit;
780
792
  }
@@ -1282,7 +1294,7 @@ export default class Client extends OpenApi {
1282
1294
  }
1283
1295
 
1284
1296
  /**
1285
- * Creates a DataAgent workspace.
1297
+ * Creates a DataAgent collaborative workspace.
1286
1298
  *
1287
1299
  * @param request - CreateDataAgentWorkspaceRequest
1288
1300
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1291,6 +1303,10 @@ export default class Client extends OpenApi {
1291
1303
  async createDataAgentWorkspaceWithOptions(request: $_model.CreateDataAgentWorkspaceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateDataAgentWorkspaceResponse> {
1292
1304
  request.validate();
1293
1305
  let query = { };
1306
+ if (!$dara.isNull(request.config)) {
1307
+ query["Config"] = request.config;
1308
+ }
1309
+
1294
1310
  if (!$dara.isNull(request.DMSUnit)) {
1295
1311
  query["DMSUnit"] = request.DMSUnit;
1296
1312
  }
@@ -1325,7 +1341,7 @@ export default class Client extends OpenApi {
1325
1341
  }
1326
1342
 
1327
1343
  /**
1328
- * Creates a DataAgent workspace.
1344
+ * Creates a DataAgent collaborative workspace.
1329
1345
  *
1330
1346
  * @param request - CreateDataAgentWorkspaceRequest
1331
1347
  * @returns CreateDataAgentWorkspaceResponse
@@ -1409,7 +1425,7 @@ export default class Client extends OpenApi {
1409
1425
  * Deletes a data source and its associated metadata catalog.
1410
1426
  *
1411
1427
  * @remarks
1412
- * After deletion, the data source cannot establish connections and cannot be restored by calling the enable API operation.
1428
+ * After deletion, the data source can no longer establish connections and cannot be recovered by calling the enable API operation.
1413
1429
  *
1414
1430
  * @param request - DeleteAgenticDataSourceRequest
1415
1431
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1443,7 +1459,7 @@ export default class Client extends OpenApi {
1443
1459
  * Deletes a data source and its associated metadata catalog.
1444
1460
  *
1445
1461
  * @remarks
1446
- * After deletion, the data source cannot establish connections and cannot be restored by calling the enable API operation.
1462
+ * After deletion, the data source can no longer establish connections and cannot be recovered by calling the enable API operation.
1447
1463
  *
1448
1464
  * @param request - DeleteAgenticDataSourceRequest
1449
1465
  * @returns DeleteAgenticDataSourceResponse
@@ -1453,6 +1469,54 @@ export default class Client extends OpenApi {
1453
1469
  return await this.deleteAgenticDataSourceWithOptions(request, runtime);
1454
1470
  }
1455
1471
 
1472
+ /**
1473
+ * Submits an asynchronous deletion request for a VPC endpoint and returns the acceptance result.
1474
+ *
1475
+ * @remarks
1476
+ * After the reverse endpoint is deleted, the data source can no longer establish connections and cannot be restored by calling the enable API.
1477
+ *
1478
+ * @param request - DeleteAgenticVpcEndpointRequest
1479
+ * @param runtime - runtime options for this request RuntimeOptions
1480
+ * @returns DeleteAgenticVpcEndpointResponse
1481
+ */
1482
+ async deleteAgenticVpcEndpointWithOptions(request: $_model.DeleteAgenticVpcEndpointRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAgenticVpcEndpointResponse> {
1483
+ request.validate();
1484
+ let query = { };
1485
+ if (!$dara.isNull(request.endpointId)) {
1486
+ query["EndpointId"] = request.endpointId;
1487
+ }
1488
+
1489
+ let req = new $OpenApiUtil.OpenApiRequest({
1490
+ query: OpenApiUtil.query(query),
1491
+ });
1492
+ let params = new $OpenApiUtil.Params({
1493
+ action: "DeleteAgenticVpcEndpoint",
1494
+ version: "2025-04-14",
1495
+ protocol: "HTTPS",
1496
+ pathname: "/",
1497
+ method: "POST",
1498
+ authType: "AK",
1499
+ style: "RPC",
1500
+ reqBodyType: "formData",
1501
+ bodyType: "json",
1502
+ });
1503
+ return $dara.cast<$_model.DeleteAgenticVpcEndpointResponse>(await this.callApi(params, req, runtime), new $_model.DeleteAgenticVpcEndpointResponse({}));
1504
+ }
1505
+
1506
+ /**
1507
+ * Submits an asynchronous deletion request for a VPC endpoint and returns the acceptance result.
1508
+ *
1509
+ * @remarks
1510
+ * After the reverse endpoint is deleted, the data source can no longer establish connections and cannot be restored by calling the enable API.
1511
+ *
1512
+ * @param request - DeleteAgenticVpcEndpointRequest
1513
+ * @returns DeleteAgenticVpcEndpointResponse
1514
+ */
1515
+ async deleteAgenticVpcEndpoint(request: $_model.DeleteAgenticVpcEndpointRequest): Promise<$_model.DeleteAgenticVpcEndpointResponse> {
1516
+ let runtime = new $dara.RuntimeOptions({ });
1517
+ return await this.deleteAgenticVpcEndpointWithOptions(request, runtime);
1518
+ }
1519
+
1456
1520
  /**
1457
1521
  * Deletes an Airflow instance.
1458
1522
  *
@@ -2820,7 +2884,7 @@ export default class Client extends OpenApi {
2820
2884
  }
2821
2885
 
2822
2886
  /**
2823
- * Queries the details of a data source by its UUID.
2887
+ * Queries the details of a data source by UUID.
2824
2888
  *
2825
2889
  * @remarks
2826
2890
  * Queries the connection, authentication, status, and metadata catalog information of a specified data source under the current account. Only masked values are returned for passwords.
@@ -2854,7 +2918,7 @@ export default class Client extends OpenApi {
2854
2918
  }
2855
2919
 
2856
2920
  /**
2857
- * Queries the details of a data source by its UUID.
2921
+ * Queries the details of a data source by UUID.
2858
2922
  *
2859
2923
  * @remarks
2860
2924
  * Queries the connection, authentication, status, and metadata catalog information of a specified data source under the current account. Only masked values are returned for passwords.
@@ -3458,7 +3522,7 @@ export default class Client extends OpenApi {
3458
3522
  }
3459
3523
 
3460
3524
  /**
3461
- * Queries the details of a workspace.
3525
+ * Retrieves the details of a collaborative workspace.
3462
3526
  *
3463
3527
  * @param request - GetDataAgentWorkspaceInfoRequest
3464
3528
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3493,7 +3557,7 @@ export default class Client extends OpenApi {
3493
3557
  }
3494
3558
 
3495
3559
  /**
3496
- * Queries the details of a workspace.
3560
+ * Retrieves the details of a collaborative workspace.
3497
3561
  *
3498
3562
  * @param request - GetDataAgentWorkspaceInfoRequest
3499
3563
  * @returns GetDataAgentWorkspaceInfoResponse
@@ -3504,7 +3568,7 @@ export default class Client extends OpenApi {
3504
3568
  }
3505
3569
 
3506
3570
  /**
3507
- * Queries the MCP Server connectivity and tool list results by the Session ID returned when the detection was started.
3571
+ * Queries the connectivity and tool list results of an MCP server based on the session ID returned when the detection was started.
3508
3572
  *
3509
3573
  * @param request - GetListMcpServerToolsResultRequest
3510
3574
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3543,7 +3607,7 @@ export default class Client extends OpenApi {
3543
3607
  }
3544
3608
 
3545
3609
  /**
3546
- * Queries the MCP Server connectivity and tool list results by the Session ID returned when the detection was started.
3610
+ * Queries the connectivity and tool list results of an MCP server based on the session ID returned when the detection was started.
3547
3611
  *
3548
3612
  * @param request - GetListMcpServerToolsResultRequest
3549
3613
  * @returns GetListMcpServerToolsResultResponse
@@ -4420,12 +4484,12 @@ export default class Client extends OpenApi {
4420
4484
  }
4421
4485
 
4422
4486
  /**
4423
- * Queries the user security policy of the current Alibaba Cloud account by page and returns the enabled system default security policy.
4487
+ * Queries the user security policy of the current Alibaba Cloud account by using paging and returns the enabled system default security policy.
4424
4488
  *
4425
4489
  * @remarks
4426
4490
  * This operation returns the enabled system default policies and the user policies of the current Alibaba Cloud account.
4427
- * - System default policies are placed at the beginning of the list. Only policies in the ON (enabled) state are returned. They are not filtered by PolicyStatus or IncludeArchived.
4428
- * - Page and Size are used to paginate user policies. Each call also returns up to Size enabled system default policies. Therefore, the number of items in Data may be greater than Size, and the same system default policies may be repeatedly returned during pagination.
4491
+ * - System default policies are placed at the beginning of the list. Only policies in the ON (enabled) state are returned, and they are not filtered by PolicyStatus or IncludeArchived.
4492
+ * - Page and Size are used to paginate user policies. Each call also returns up to Size enabled system default policies. Therefore, the number of entries in Data may be greater than Size, and the same system default policies may be repeatedly returned during pagination.
4429
4493
  * - TotalCount is the sum of the number of all enabled system default policies and the number of user policies that meet the filter conditions.
4430
4494
  * - You can use Readonly to distinguish between the two types of policies: true indicates a system default policy, and false indicates a user policy.
4431
4495
  *
@@ -4470,12 +4534,12 @@ export default class Client extends OpenApi {
4470
4534
  }
4471
4535
 
4472
4536
  /**
4473
- * Queries the user security policy of the current Alibaba Cloud account by page and returns the enabled system default security policy.
4537
+ * Queries the user security policy of the current Alibaba Cloud account by using paging and returns the enabled system default security policy.
4474
4538
  *
4475
4539
  * @remarks
4476
4540
  * This operation returns the enabled system default policies and the user policies of the current Alibaba Cloud account.
4477
- * - System default policies are placed at the beginning of the list. Only policies in the ON (enabled) state are returned. They are not filtered by PolicyStatus or IncludeArchived.
4478
- * - Page and Size are used to paginate user policies. Each call also returns up to Size enabled system default policies. Therefore, the number of items in Data may be greater than Size, and the same system default policies may be repeatedly returned during pagination.
4541
+ * - System default policies are placed at the beginning of the list. Only policies in the ON (enabled) state are returned, and they are not filtered by PolicyStatus or IncludeArchived.
4542
+ * - Page and Size are used to paginate user policies. Each call also returns up to Size enabled system default policies. Therefore, the number of entries in Data may be greater than Size, and the same system default policies may be repeatedly returned during pagination.
4479
4543
  * - TotalCount is the sum of the number of all enabled system default policies and the number of user policies that meet the filter conditions.
4480
4544
  * - You can use Readonly to distinguish between the two types of policies: true indicates a system default policy, and false indicates a user policy.
4481
4545
  *
@@ -7410,6 +7474,10 @@ export default class Client extends OpenApi {
7410
7474
  async testAgenticDataSourceConnectionWithOptions(request: $_model.TestAgenticDataSourceConnectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TestAgenticDataSourceConnectionResponse> {
7411
7475
  request.validate();
7412
7476
  let query = { };
7477
+ if (!$dara.isNull(request.adbSparkResourceGroup)) {
7478
+ query["AdbSparkResourceGroup"] = request.adbSparkResourceGroup;
7479
+ }
7480
+
7413
7481
  if (!$dara.isNull(request.alias)) {
7414
7482
  query["Alias"] = request.alias;
7415
7483
  }
@@ -7533,7 +7601,7 @@ export default class Client extends OpenApi {
7533
7601
  * Updates the connection, authentication, or display information of an existing data source.
7534
7602
  *
7535
7603
  * @remarks
7536
- * Only the parameters passed in the current request are modified. Unspecified parameters remain unchanged. The data source type cannot be modified.
7604
+ * Only the parameters passed in the current request are modified. Unpassed parameters remain unchanged. The data source type cannot be modified.
7537
7605
  *
7538
7606
  * @param request - UpdateAgenticDataSourceRequest
7539
7607
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7542,6 +7610,10 @@ export default class Client extends OpenApi {
7542
7610
  async updateAgenticDataSourceWithOptions(request: $_model.UpdateAgenticDataSourceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateAgenticDataSourceResponse> {
7543
7611
  request.validate();
7544
7612
  let query = { };
7613
+ if (!$dara.isNull(request.adbSparkResourceGroup)) {
7614
+ query["AdbSparkResourceGroup"] = request.adbSparkResourceGroup;
7615
+ }
7616
+
7545
7617
  if (!$dara.isNull(request.alias)) {
7546
7618
  query["Alias"] = request.alias;
7547
7619
  }
@@ -7622,6 +7694,18 @@ export default class Client extends OpenApi {
7622
7694
  query["UseSsl"] = request.useSsl;
7623
7695
  }
7624
7696
 
7697
+ if (!$dara.isNull(request.vSwitchId)) {
7698
+ query["VSwitchId"] = request.vSwitchId;
7699
+ }
7700
+
7701
+ if (!$dara.isNull(request.vpcId)) {
7702
+ query["VpcId"] = request.vpcId;
7703
+ }
7704
+
7705
+ if (!$dara.isNull(request.zoneId)) {
7706
+ query["ZoneId"] = request.zoneId;
7707
+ }
7708
+
7625
7709
  let req = new $OpenApiUtil.OpenApiRequest({
7626
7710
  query: OpenApiUtil.query(query),
7627
7711
  });
@@ -7643,7 +7727,7 @@ export default class Client extends OpenApi {
7643
7727
  * Updates the connection, authentication, or display information of an existing data source.
7644
7728
  *
7645
7729
  * @remarks
7646
- * Only the parameters passed in the current request are modified. Unspecified parameters remain unchanged. The data source type cannot be modified.
7730
+ * Only the parameters passed in the current request are modified. Unpassed parameters remain unchanged. The data source type cannot be modified.
7647
7731
  *
7648
7732
  * @param request - UpdateAgenticDataSourceRequest
7649
7733
  * @returns UpdateAgenticDataSourceResponse
@@ -7918,7 +8002,7 @@ export default class Client extends OpenApi {
7918
8002
  }
7919
8003
 
7920
8004
  /**
7921
- * Updates workspace information.
8005
+ * Updates the information of a workspace.
7922
8006
  *
7923
8007
  * @param request - UpdateDataAgentSpaceInfoRequest
7924
8008
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7927,6 +8011,10 @@ export default class Client extends OpenApi {
7927
8011
  async updateDataAgentSpaceInfoWithOptions(request: $_model.UpdateDataAgentSpaceInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateDataAgentSpaceInfoResponse> {
7928
8012
  request.validate();
7929
8013
  let query = { };
8014
+ if (!$dara.isNull(request.config)) {
8015
+ query["Config"] = request.config;
8016
+ }
8017
+
7930
8018
  if (!$dara.isNull(request.DMSUnit)) {
7931
8019
  query["DMSUnit"] = request.DMSUnit;
7932
8020
  }
@@ -7965,7 +8053,7 @@ export default class Client extends OpenApi {
7965
8053
  }
7966
8054
 
7967
8055
  /**
7968
- * Updates workspace information.
8056
+ * Updates the information of a workspace.
7969
8057
  *
7970
8058
  * @param request - UpdateDataAgentSpaceInfoRequest
7971
8059
  * @returns UpdateDataAgentSpaceInfoResponse
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class AddAgenticDataSourceRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The name of the ADB MySQL Spark resource group. This parameter takes effect only when DbType is set to ADB_MYSQL_SPARK. You must specify a resource group for this connection type. This parameter is independent of Schema (database name) and they cannot replace each other.
9
+ *
10
+ * @example
11
+ * resourceGroup1
12
+ */
13
+ adbSparkResourceGroup?: string;
6
14
  /**
7
15
  * @remarks
8
16
  * The display name of the data source. If you do not specify this parameter, the server generates a name.
@@ -13,7 +21,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
13
21
  alias?: string;
14
22
  /**
15
23
  * @remarks
16
- * The logon username. You can leave this parameter empty for authentication methods that do not require a username.
24
+ * The logon username. You can leave this parameter empty if the authentication method does not require a username.
17
25
  *
18
26
  * @example
19
27
  * db_user
@@ -29,11 +37,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
29
37
  authPassword?: string;
30
38
  /**
31
39
  * @remarks
32
- * Optional. The authentication type. Valid values:
33
- * - -1: No authentication required.
34
- * - 0: Username and password.
35
- * - 1: Password only.
36
- * - 2: Password-free.
40
+ * Optional. The authentication type. Valid values: -1: no authentication required, 0: username and password, 1: password only, and 2: password-free.
37
41
  *
38
42
  * @example
39
43
  * 0
@@ -41,7 +45,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
41
45
  authType?: number;
42
46
  /**
43
47
  * @remarks
44
- * The name of the metadata catalog. If you do not specify this parameter, the name is automatically generated. The name can be up to 128 characters in length. It must start with a Chinese character, a letter, or an underscore, and can contain digits and hyphens. It cannot contain only digits.
48
+ * The name of the metadata catalog. If you do not specify this parameter, the name is automatically generated. The name can be up to 128 characters in length. It must start with a letter, Chinese character, or underscore, and can contain digits and hyphens. It cannot contain only digits.
45
49
  *
46
50
  * @example
47
51
  * demo_catalog
@@ -49,10 +53,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
49
53
  catalogName?: string;
50
54
  /**
51
55
  * @remarks
52
- * The entry method. Valid values:
53
- * - INSTANCE_ID: Select an existing cloud instance.
54
- * - HOST_PORT: Enter the endpoint and port.
55
- * If you do not specify this parameter, HOST_PORT is used.
56
+ * The entry method. Valid values: INSTANCE_ID: select an existing cloud instance, and HOST_PORT: enter an endpoint and port. If you do not specify this parameter, HOST_PORT is used.
56
57
  *
57
58
  * @example
58
59
  * HOST_PORT
@@ -94,12 +95,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
94
95
  instanceResourceId?: string;
95
96
  /**
96
97
  * @remarks
97
- * The source of the data source. Valid values:
98
- * - RDS: An ApsaraDB instance.
99
- * - PUBLIC_OWN: A self-managed database on the Internet.
100
- * - ECS_OWN: A self-managed database on an ECS instance.
101
- * - GATEWAY: A database accessed through Database Gateway.
102
- * - VPC_IDC: A database accessed through a VPC or data center.
98
+ * The source of the data source. Valid values: RDS: ApsaraDB instance, PUBLIC_OWN: self-managed database connected over the Internet, ECS_OWN: self-managed database hosted on an ECS instance, GATEWAY: database connected through Database Gateway, and VPC_IDC: database connected through a VPC or IDC.
103
99
  *
104
100
  * This parameter is required.
105
101
  *
@@ -117,7 +113,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
117
113
  kmsSecret?: string;
118
114
  /**
119
115
  * @remarks
120
- * Optional. The ID of the data access security policy. This policy is used to control the access and protection rules for the data source.
116
+ * Optional. The ID of the data access security policy. This policy is used to control access and protection rules for the data source.
121
117
  *
122
118
  * @example
123
119
  * sp-usr-example
@@ -165,10 +161,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
165
161
  snowflakeWarehouse?: string;
166
162
  /**
167
163
  * @remarks
168
- * Specifies whether to use the cloud instance name as the data source name. Valid values:
169
- * - 1: Yes.
170
- * - 0: No.
171
- * This parameter takes effect only when you select a cloud database instance.
164
+ * Specifies whether to use the cloud instance name as the data source name. Valid values: 1: yes, and 0: no. This parameter takes effect only when you select a cloud database instance.
172
165
  *
173
166
  * @example
174
167
  * 0
@@ -176,11 +169,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
176
169
  syncAlias?: number;
177
170
  /**
178
171
  * @remarks
179
- * Specifies whether to use SSL. Valid values:
180
- * - 1: Enable.
181
- * - 0: Disable.
182
- * - -1: Use the default setting.
183
- * Only ADB_MYSQL, CLICKHOUSE, MARIADB, MYSQL, OCEANBASEX, POLARDB, SELECTDB, and STARROCKS support SSL. Leave this parameter empty for other types.
172
+ * Specifies whether to use SSL. Valid values: 1: enabled, 0: disabled, and -1: default settings. Only ADB_MYSQL, CLICKHOUSE, MARIADB, MYSQL, OCEANBASEX, POLARDB, SELECTDB, and STARROCKS support SSL. Leave this parameter empty for other types.
184
173
  *
185
174
  * @example
186
175
  * 1
@@ -212,6 +201,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
212
201
  zoneId?: string;
213
202
  static names(): { [key: string]: string } {
214
203
  return {
204
+ adbSparkResourceGroup: 'AdbSparkResourceGroup',
215
205
  alias: 'Alias',
216
206
  authAccount: 'AuthAccount',
217
207
  authPassword: 'AuthPassword',
@@ -240,6 +230,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
240
230
 
241
231
  static types(): { [key: string]: any } {
242
232
  return {
233
+ adbSparkResourceGroup: 'string',
243
234
  alias: 'string',
244
235
  authAccount: 'string',
245
236
  authPassword: 'string',
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The name of the ADB MySQL Spark resource group. This field is returned only for data sources whose DbType is ADB_MYSQL_SPARK. It is independent of the Schema (database name).
9
+ *
10
+ * @example
11
+ * resourceGroup1
12
+ */
13
+ adbSparkResourceGroup?: string;
6
14
  /**
7
15
  * @remarks
8
16
  * The display name of the data source.
@@ -13,7 +21,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
13
21
  alias?: string;
14
22
  /**
15
23
  * @remarks
16
- * The logon username for the data source. This parameter is empty if username authentication is not used.
24
+ * The logon username for the data source. This field is empty if username authentication is not used.
17
25
  *
18
26
  * @example
19
27
  * db_user
@@ -83,7 +91,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
83
91
  envType?: string;
84
92
  /**
85
93
  * @remarks
86
- * The time when the data source was created. The time is in the yyyy-MM-dd HH:mm:ss format.
94
+ * The time when the data source was created. The format is yyyy-MM-dd HH:mm:ss.
87
95
  *
88
96
  * @example
89
97
  * 2026-10-13 14:30:00
@@ -91,7 +99,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
91
99
  gmtCreate?: string;
92
100
  /**
93
101
  * @remarks
94
- * The time when the data source was last modified. The time is in the yyyy-MM-dd HH:mm:ss format.
102
+ * The time when the data source was last modified. The format is yyyy-MM-dd HH:mm:ss.
95
103
  *
96
104
  * @example
97
105
  * 2026-10-13 14:35:00
@@ -107,7 +115,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
107
115
  host?: string;
108
116
  /**
109
117
  * @remarks
110
- * The ID of the cloud resource instance. This parameter may be empty for data sources registered by endpoint.
118
+ * The ID of the cloud resource instance. This field may be empty for data sources registered by endpoint.
111
119
  *
112
120
  * @example
113
121
  * rm-bp1234567890
@@ -115,12 +123,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
115
123
  instanceResourceId?: string;
116
124
  /**
117
125
  * @remarks
118
- * The source of the data source. Valid values:
119
- * - RDS: An ApsaraDB instance.
120
- * - PUBLIC_OWN: A self-managed database on the Internet.
121
- * - ECS_OWN: A self-managed database on an ECS instance.
122
- * - GATEWAY: A database accessed through Database Gateway.
123
- * - VPC_IDC: A database accessed through a VPC or data center.
126
+ * The source of the data source. Valid values: RDS: ApsaraDB instance, PUBLIC_OWN: self-managed database connected over the Internet, ECS_OWN: self-managed database hosted on an ECS instance, GATEWAY: database connected through Database Gateway, and VPC_IDC: database connected through a VPC or IDC.
124
127
  *
125
128
  * @example
126
129
  * RDS
@@ -128,7 +131,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
128
131
  instanceSource?: string;
129
132
  /**
130
133
  * @remarks
131
- * The name of the KMS-managed credential. This parameter is empty if KMS is not used. This is sensitive information.
134
+ * The name of the Key Management Service (KMS) managed credential. This field is empty if KMS is not used and is considered sensitive information.
132
135
  *
133
136
  * @example
134
137
  * datasource-secret
@@ -136,7 +139,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
136
139
  kmsSecret?: string;
137
140
  /**
138
141
  * @remarks
139
- * The ID of the data access security policy in use. This parameter is empty if no policy is configured.
142
+ * The ID of the data access security policy currently in use. This field is empty if no policy is configured.
140
143
  *
141
144
  * @example
142
145
  * sp-usr-example
@@ -152,7 +155,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
152
155
  port?: number;
153
156
  /**
154
157
  * @remarks
155
- * The region where the data source resides.
158
+ * The region where the data source is located.
156
159
  *
157
160
  * @example
158
161
  * cn-hangzhou
@@ -168,7 +171,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
168
171
  resourceAccountId?: string;
169
172
  /**
170
173
  * @remarks
171
- * The ARN of the RAM role used to access the data source. This parameter is empty if role authorization is not used.
174
+ * The Alibaba Cloud Resource Name (ARN) of the Resource Access Management (RAM) role used to access the data source. This field is empty if role-based authorization is not used.
172
175
  *
173
176
  * @example
174
177
  * acs:ram::123456789012****:role/DataSourceRole
@@ -176,7 +179,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
176
179
  roleArn?: string;
177
180
  /**
178
181
  * @remarks
179
- * The name of the connection target. For ADB_POSTGRESQL, DRDS, POSTGRESQL, and POLARDB_POSTGRESQL, this indicates the database name. For ORACLE, this indicates the SID or service name. For POLARDB_ORACLE, this indicates the SID. For MAXCOMPUTE, this indicates the project. For other types, this parameter is usually empty.
182
+ * The name of the connection target. For ADB_POSTGRESQL, DRDS, POSTGRESQL, and POLARDB_POSTGRESQL, this indicates the database name. For ORACLE, this indicates the SID or service name. For POLARDB_ORACLE, this indicates the SID. For MAXCOMPUTE, this indicates the project. For other types, this field is usually empty.
180
183
  *
181
184
  * @example
182
185
  * postgres
@@ -195,7 +198,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
195
198
  state?: number;
196
199
  /**
197
200
  * @remarks
198
- * Indicates whether the cloud instance name is used as the data source name. Valid values:
201
+ * Specifies whether to use the cloud instance name as the data source name. Valid values:
199
202
  * - 1: yes
200
203
  * - 0: no
201
204
  *
@@ -216,6 +219,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
216
219
  useSsl?: number;
217
220
  static names(): { [key: string]: string } {
218
221
  return {
222
+ adbSparkResourceGroup: 'AdbSparkResourceGroup',
219
223
  alias: 'Alias',
220
224
  authAccount: 'AuthAccount',
221
225
  authPassword: 'AuthPassword',
@@ -245,6 +249,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
245
249
 
246
250
  static types(): { [key: string]: any } {
247
251
  return {
252
+ adbSparkResourceGroup: 'string',
248
253
  alias: 'string',
249
254
  authAccount: 'string',
250
255
  authPassword: 'string',
@@ -289,7 +294,7 @@ export class AddAgenticDataSourceResponseBody extends $dara.Model {
289
294
  data?: AddAgenticDataSourceResponseBodyData;
290
295
  /**
291
296
  * @remarks
292
- * The error code returned when the call fails. This parameter is empty if the call is successful.
297
+ * The error code returned when the call fails. This field is empty when the call is successful.
293
298
  *
294
299
  * @example
295
300
  * InvalidParameter
@@ -297,7 +302,7 @@ export class AddAgenticDataSourceResponseBody extends $dara.Model {
297
302
  errorCode?: string;
298
303
  /**
299
304
  * @remarks
300
- * The error message returned when the call fails. This parameter is empty if the call is successful.
305
+ * The error message returned when the call fails. This field is empty when the call is successful.
301
306
  *
302
307
  * @example
303
308
  * The parameter is invalid
@@ -305,7 +310,7 @@ export class AddAgenticDataSourceResponseBody extends $dara.Model {
305
310
  errorMessage?: string;
306
311
  /**
307
312
  * @remarks
308
- * The request ID, which is used to trace the call.
313
+ * The ID of the request.
309
314
  *
310
315
  * @example
311
316
  * request-1234567890
@@ -313,7 +318,7 @@ export class AddAgenticDataSourceResponseBody extends $dara.Model {
313
318
  requestId?: string;
314
319
  /**
315
320
  * @remarks
316
- * Indicates whether the call was successful.
321
+ * Indicates whether the call is successful.
317
322
  */
318
323
  success?: boolean;
319
324
  static names(): { [key: string]: string } {
@@ -3,9 +3,37 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class AgenticDatabaseEngineMeta extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The catalog name in the database engine.
9
+ *
10
+ * @example
11
+ * def
12
+ */
6
13
  catalogName?: string;
14
+ /**
15
+ * @remarks
16
+ * The character set encoding of the database.
17
+ *
18
+ * @example
19
+ * utf8mb4
20
+ */
7
21
  encoding?: string;
22
+ /**
23
+ * @remarks
24
+ * The schema name.
25
+ *
26
+ * @example
27
+ * public
28
+ */
8
29
  schemaName?: string;
30
+ /**
31
+ * @remarks
32
+ * The storage capacity of the database, in MB.
33
+ *
34
+ * @example
35
+ * 1024
36
+ */
9
37
  storageCapacity?: number;
10
38
  static names(): { [key: string]: string } {
11
39
  return {
@@ -13,7 +13,7 @@ export class CreateAgenticSqlExecuteCredentialResponseBodyData extends $dara.Mod
13
13
  accessKey?: string;
14
14
  /**
15
15
  * @remarks
16
- * The AccessKey secret of the credential. This value is returned only once when the credential is created. Keep it secure.
16
+ * The AccessSecret of the credential. This value is returned only once when the credential is created. Keep it secure.
17
17
  *
18
18
  * @example
19
19
  * xxxxxxxx
@@ -126,7 +126,7 @@ export class CreateAgenticSqlExecuteCredentialResponseBody extends $dara.Model {
126
126
  errorMessage?: string;
127
127
  /**
128
128
  * @remarks
129
- * The request ID.
129
+ * The ID of the request.
130
130
  *
131
131
  * @example
132
132
  * 34E01EDD-6A16-4CF0-9541-C644D1BE01AA