@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/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
- * Creates a data source accessible by the Agent data gateway.
12
+ * Creates a data source that can be accessed by the Agent data gateway.
13
13
  *
14
14
  * @remarks
15
15
  * 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.
@@ -20,7 +20,7 @@ export default class Client extends OpenApi {
20
20
  */
21
21
  addAgenticDataSourceWithOptions(request: $_model.AddAgenticDataSourceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddAgenticDataSourceResponse>;
22
22
  /**
23
- * Creates a data source accessible by the Agent data gateway.
23
+ * Creates a data source that can be accessed by the Agent data gateway.
24
24
  *
25
25
  * @remarks
26
26
  * 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.
@@ -294,7 +294,7 @@ export default class Client extends OpenApi {
294
294
  */
295
295
  createDataAgentTheme(request: $_model.CreateDataAgentThemeRequest): Promise<$_model.CreateDataAgentThemeResponse>;
296
296
  /**
297
- * Creates a DataAgent workspace.
297
+ * Creates a DataAgent collaborative workspace.
298
298
  *
299
299
  * @param request - CreateDataAgentWorkspaceRequest
300
300
  * @param runtime - runtime options for this request RuntimeOptions
@@ -302,7 +302,7 @@ export default class Client extends OpenApi {
302
302
  */
303
303
  createDataAgentWorkspaceWithOptions(request: $_model.CreateDataAgentWorkspaceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateDataAgentWorkspaceResponse>;
304
304
  /**
305
- * Creates a DataAgent workspace.
305
+ * Creates a DataAgent collaborative workspace.
306
306
  *
307
307
  * @param request - CreateDataAgentWorkspaceRequest
308
308
  * @returns CreateDataAgentWorkspaceResponse
@@ -327,7 +327,7 @@ export default class Client extends OpenApi {
327
327
  * Deletes a data source and its associated metadata catalog.
328
328
  *
329
329
  * @remarks
330
- * After deletion, the data source cannot establish connections and cannot be restored by calling the enable API operation.
330
+ * After deletion, the data source can no longer establish connections and cannot be recovered by calling the enable API operation.
331
331
  *
332
332
  * @param request - DeleteAgenticDataSourceRequest
333
333
  * @param runtime - runtime options for this request RuntimeOptions
@@ -338,12 +338,33 @@ export default class Client extends OpenApi {
338
338
  * Deletes a data source and its associated metadata catalog.
339
339
  *
340
340
  * @remarks
341
- * After deletion, the data source cannot establish connections and cannot be restored by calling the enable API operation.
341
+ * After deletion, the data source can no longer establish connections and cannot be recovered by calling the enable API operation.
342
342
  *
343
343
  * @param request - DeleteAgenticDataSourceRequest
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
  *
@@ -783,7 +804,7 @@ export default class Client extends OpenApi {
783
804
  */
784
805
  getAgenticCatalog(request: $_model.GetAgenticCatalogRequest): Promise<$_model.GetAgenticCatalogResponse>;
785
806
  /**
786
- * Queries the details of a data source by its UUID.
807
+ * Queries the details of a data source by UUID.
787
808
  *
788
809
  * @remarks
789
810
  * 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.
@@ -794,7 +815,7 @@ export default class Client extends OpenApi {
794
815
  */
795
816
  getAgenticDataSourceWithOptions(request: $_model.GetAgenticDataSourceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAgenticDataSourceResponse>;
796
817
  /**
797
- * Queries the details of a data source by its UUID.
818
+ * Queries the details of a data source by UUID.
798
819
  *
799
820
  * @remarks
800
821
  * 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.
@@ -991,7 +1012,7 @@ export default class Client extends OpenApi {
991
1012
  */
992
1013
  getDataAgentThemeUploadSignature(request: $_model.GetDataAgentThemeUploadSignatureRequest): Promise<$_model.GetDataAgentThemeUploadSignatureResponse>;
993
1014
  /**
994
- * Queries the details of a workspace.
1015
+ * Retrieves the details of a collaborative workspace.
995
1016
  *
996
1017
  * @param request - GetDataAgentWorkspaceInfoRequest
997
1018
  * @param runtime - runtime options for this request RuntimeOptions
@@ -999,14 +1020,14 @@ export default class Client extends OpenApi {
999
1020
  */
1000
1021
  getDataAgentWorkspaceInfoWithOptions(request: $_model.GetDataAgentWorkspaceInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetDataAgentWorkspaceInfoResponse>;
1001
1022
  /**
1002
- * Queries the details of a workspace.
1023
+ * Retrieves the details of a collaborative workspace.
1003
1024
  *
1004
1025
  * @param request - GetDataAgentWorkspaceInfoRequest
1005
1026
  * @returns GetDataAgentWorkspaceInfoResponse
1006
1027
  */
1007
1028
  getDataAgentWorkspaceInfo(request: $_model.GetDataAgentWorkspaceInfoRequest): Promise<$_model.GetDataAgentWorkspaceInfoResponse>;
1008
1029
  /**
1009
- * Queries the MCP Server connectivity and tool list results by the Session ID returned when the detection was started.
1030
+ * Queries the connectivity and tool list results of an MCP server based on the session ID returned when the detection was started.
1010
1031
  *
1011
1032
  * @param request - GetListMcpServerToolsResultRequest
1012
1033
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1014,7 +1035,7 @@ export default class Client extends OpenApi {
1014
1035
  */
1015
1036
  getListMcpServerToolsResultWithOptions(request: $_model.GetListMcpServerToolsResultRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetListMcpServerToolsResultResponse>;
1016
1037
  /**
1017
- * Queries the MCP Server connectivity and tool list results by the Session ID returned when the detection was started.
1038
+ * Queries the connectivity and tool list results of an MCP server based on the session ID returned when the detection was started.
1018
1039
  *
1019
1040
  * @param request - GetListMcpServerToolsResultRequest
1020
1041
  * @returns GetListMcpServerToolsResultResponse
@@ -1267,12 +1288,12 @@ export default class Client extends OpenApi {
1267
1288
  */
1268
1289
  listAgenticGlobalSqlExecutionHistories(request: $_model.ListAgenticGlobalSqlExecutionHistoriesRequest): Promise<$_model.ListAgenticGlobalSqlExecutionHistoriesResponse>;
1269
1290
  /**
1270
- * Queries the user security policy of the current Alibaba Cloud account by page and returns the enabled system default security policy.
1291
+ * Queries the user security policy of the current Alibaba Cloud account by using paging and returns the enabled system default security policy.
1271
1292
  *
1272
1293
  * @remarks
1273
1294
  * This operation returns the enabled system default policies and the user policies of the current Alibaba Cloud account.
1274
- * - 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.
1275
- * - 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.
1295
+ * - 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.
1296
+ * - 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.
1276
1297
  * - TotalCount is the sum of the number of all enabled system default policies and the number of user policies that meet the filter conditions.
1277
1298
  * - You can use Readonly to distinguish between the two types of policies: true indicates a system default policy, and false indicates a user policy.
1278
1299
  *
@@ -1282,12 +1303,12 @@ export default class Client extends OpenApi {
1282
1303
  */
1283
1304
  listAgenticSecurityPoliciesWithOptions(request: $_model.ListAgenticSecurityPoliciesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAgenticSecurityPoliciesResponse>;
1284
1305
  /**
1285
- * Queries the user security policy of the current Alibaba Cloud account by page and returns the enabled system default security policy.
1306
+ * Queries the user security policy of the current Alibaba Cloud account by using paging and returns the enabled system default security policy.
1286
1307
  *
1287
1308
  * @remarks
1288
1309
  * This operation returns the enabled system default policies and the user policies of the current Alibaba Cloud account.
1289
- * - 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.
1290
- * - 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.
1310
+ * - 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.
1311
+ * - 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.
1291
1312
  * - TotalCount is the sum of the number of all enabled system default policies and the number of user policies that meet the filter conditions.
1292
1313
  * - You can use Readonly to distinguish between the two types of policies: true indicates a system default policy, and false indicates a user policy.
1293
1314
  *
@@ -2036,7 +2057,7 @@ export default class Client extends OpenApi {
2036
2057
  * Updates the connection, authentication, or display information of an existing data source.
2037
2058
  *
2038
2059
  * @remarks
2039
- * Only the parameters passed in the current request are modified. Unspecified parameters remain unchanged. The data source type cannot be modified.
2060
+ * Only the parameters passed in the current request are modified. Unpassed parameters remain unchanged. The data source type cannot be modified.
2040
2061
  *
2041
2062
  * @param request - UpdateAgenticDataSourceRequest
2042
2063
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2047,7 +2068,7 @@ export default class Client extends OpenApi {
2047
2068
  * Updates the connection, authentication, or display information of an existing data source.
2048
2069
  *
2049
2070
  * @remarks
2050
- * Only the parameters passed in the current request are modified. Unspecified parameters remain unchanged. The data source type cannot be modified.
2071
+ * Only the parameters passed in the current request are modified. Unpassed parameters remain unchanged. The data source type cannot be modified.
2051
2072
  *
2052
2073
  * @param request - UpdateAgenticDataSourceRequest
2053
2074
  * @returns UpdateAgenticDataSourceResponse
@@ -2111,7 +2132,7 @@ export default class Client extends OpenApi {
2111
2132
  */
2112
2133
  updateDataAgentMemory(request: $_model.UpdateDataAgentMemoryRequest): Promise<$_model.UpdateDataAgentMemoryResponse>;
2113
2134
  /**
2114
- * Updates workspace information.
2135
+ * Updates the information of a workspace.
2115
2136
  *
2116
2137
  * @param request - UpdateDataAgentSpaceInfoRequest
2117
2138
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2119,7 +2140,7 @@ export default class Client extends OpenApi {
2119
2140
  */
2120
2141
  updateDataAgentSpaceInfoWithOptions(request: $_model.UpdateDataAgentSpaceInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateDataAgentSpaceInfoResponse>;
2121
2142
  /**
2122
- * Updates workspace information.
2143
+ * Updates the information of a workspace.
2123
2144
  *
2124
2145
  * @param request - UpdateDataAgentSpaceInfoRequest
2125
2146
  * @returns UpdateDataAgentSpaceInfoResponse
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);
@@ -82,7 +86,7 @@ class Client extends openapi_core_1.default {
82
86
  return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
83
87
  }
84
88
  /**
85
- * Creates a data source accessible by the Agent data gateway.
89
+ * Creates a data source that can be accessed by the Agent data gateway.
86
90
  *
87
91
  * @remarks
88
92
  * 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.
@@ -94,6 +98,9 @@ class Client extends openapi_core_1.default {
94
98
  async addAgenticDataSourceWithOptions(request, runtime) {
95
99
  request.validate();
96
100
  let query = {};
101
+ if (!$dara.isNull(request.adbSparkResourceGroup)) {
102
+ query["AdbSparkResourceGroup"] = request.adbSparkResourceGroup;
103
+ }
97
104
  if (!$dara.isNull(request.alias)) {
98
105
  query["Alias"] = request.alias;
99
106
  }
@@ -180,7 +187,7 @@ class Client extends openapi_core_1.default {
180
187
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddAgenticDataSourceResponse({}));
181
188
  }
182
189
  /**
183
- * Creates a data source accessible by the Agent data gateway.
190
+ * Creates a data source that can be accessed by the Agent data gateway.
184
191
  *
185
192
  * @remarks
186
193
  * 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.
@@ -727,6 +734,9 @@ class Client extends openapi_core_1.default {
727
734
  if (!$dara.isNull(request.callbackConfigShrink)) {
728
735
  query["CallbackConfig"] = request.callbackConfigShrink;
729
736
  }
737
+ if (!$dara.isNull(request.createFrom)) {
738
+ query["CreateFrom"] = request.createFrom;
739
+ }
730
740
  if (!$dara.isNull(request.DMSUnit)) {
731
741
  query["DMSUnit"] = request.DMSUnit;
732
742
  }
@@ -1158,7 +1168,7 @@ class Client extends openapi_core_1.default {
1158
1168
  return await this.createDataAgentThemeWithOptions(request, runtime);
1159
1169
  }
1160
1170
  /**
1161
- * Creates a DataAgent workspace.
1171
+ * Creates a DataAgent collaborative workspace.
1162
1172
  *
1163
1173
  * @param request - CreateDataAgentWorkspaceRequest
1164
1174
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1167,6 +1177,9 @@ class Client extends openapi_core_1.default {
1167
1177
  async createDataAgentWorkspaceWithOptions(request, runtime) {
1168
1178
  request.validate();
1169
1179
  let query = {};
1180
+ if (!$dara.isNull(request.config)) {
1181
+ query["Config"] = request.config;
1182
+ }
1170
1183
  if (!$dara.isNull(request.DMSUnit)) {
1171
1184
  query["DMSUnit"] = request.DMSUnit;
1172
1185
  }
@@ -1196,7 +1209,7 @@ class Client extends openapi_core_1.default {
1196
1209
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDataAgentWorkspaceResponse({}));
1197
1210
  }
1198
1211
  /**
1199
- * Creates a DataAgent workspace.
1212
+ * Creates a DataAgent collaborative workspace.
1200
1213
  *
1201
1214
  * @param request - CreateDataAgentWorkspaceRequest
1202
1215
  * @returns CreateDataAgentWorkspaceResponse
@@ -1269,7 +1282,7 @@ class Client extends openapi_core_1.default {
1269
1282
  * Deletes a data source and its associated metadata catalog.
1270
1283
  *
1271
1284
  * @remarks
1272
- * After deletion, the data source cannot establish connections and cannot be restored by calling the enable API operation.
1285
+ * After deletion, the data source can no longer establish connections and cannot be recovered by calling the enable API operation.
1273
1286
  *
1274
1287
  * @param request - DeleteAgenticDataSourceRequest
1275
1288
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1301,7 +1314,7 @@ class Client extends openapi_core_1.default {
1301
1314
  * Deletes a data source and its associated metadata catalog.
1302
1315
  *
1303
1316
  * @remarks
1304
- * After deletion, the data source cannot establish connections and cannot be restored by calling the enable API operation.
1317
+ * After deletion, the data source can no longer establish connections and cannot be recovered by calling the enable API operation.
1305
1318
  *
1306
1319
  * @param request - DeleteAgenticDataSourceRequest
1307
1320
  * @returns DeleteAgenticDataSourceResponse
@@ -1310,6 +1323,51 @@ class Client extends openapi_core_1.default {
1310
1323
  let runtime = new $dara.RuntimeOptions({});
1311
1324
  return await this.deleteAgenticDataSourceWithOptions(request, runtime);
1312
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
+ }
1313
1371
  /**
1314
1372
  * Deletes an Airflow instance.
1315
1373
  *
@@ -2551,7 +2609,7 @@ class Client extends openapi_core_1.default {
2551
2609
  return await this.getAgenticCatalogWithOptions(request, runtime);
2552
2610
  }
2553
2611
  /**
2554
- * Queries the details of a data source by its UUID.
2612
+ * Queries the details of a data source by UUID.
2555
2613
  *
2556
2614
  * @remarks
2557
2615
  * 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.
@@ -2583,7 +2641,7 @@ class Client extends openapi_core_1.default {
2583
2641
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgenticDataSourceResponse({}));
2584
2642
  }
2585
2643
  /**
2586
- * Queries the details of a data source by its UUID.
2644
+ * Queries the details of a data source by UUID.
2587
2645
  *
2588
2646
  * @remarks
2589
2647
  * 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.
@@ -3144,7 +3202,7 @@ class Client extends openapi_core_1.default {
3144
3202
  return await this.getDataAgentThemeUploadSignatureWithOptions(request, runtime);
3145
3203
  }
3146
3204
  /**
3147
- * Queries the details of a workspace.
3205
+ * Retrieves the details of a collaborative workspace.
3148
3206
  *
3149
3207
  * @param request - GetDataAgentWorkspaceInfoRequest
3150
3208
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3176,7 +3234,7 @@ class Client extends openapi_core_1.default {
3176
3234
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataAgentWorkspaceInfoResponse({}));
3177
3235
  }
3178
3236
  /**
3179
- * Queries the details of a workspace.
3237
+ * Retrieves the details of a collaborative workspace.
3180
3238
  *
3181
3239
  * @param request - GetDataAgentWorkspaceInfoRequest
3182
3240
  * @returns GetDataAgentWorkspaceInfoResponse
@@ -3186,7 +3244,7 @@ class Client extends openapi_core_1.default {
3186
3244
  return await this.getDataAgentWorkspaceInfoWithOptions(request, runtime);
3187
3245
  }
3188
3246
  /**
3189
- * Queries the MCP Server connectivity and tool list results by the Session ID returned when the detection was started.
3247
+ * Queries the connectivity and tool list results of an MCP server based on the session ID returned when the detection was started.
3190
3248
  *
3191
3249
  * @param request - GetListMcpServerToolsResultRequest
3192
3250
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3221,7 +3279,7 @@ class Client extends openapi_core_1.default {
3221
3279
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetListMcpServerToolsResultResponse({}));
3222
3280
  }
3223
3281
  /**
3224
- * Queries the MCP Server connectivity and tool list results by the Session ID returned when the detection was started.
3282
+ * Queries the connectivity and tool list results of an MCP server based on the session ID returned when the detection was started.
3225
3283
  *
3226
3284
  * @param request - GetListMcpServerToolsResultRequest
3227
3285
  * @returns GetListMcpServerToolsResultResponse
@@ -3995,12 +4053,12 @@ class Client extends openapi_core_1.default {
3995
4053
  return await this.listAgenticGlobalSqlExecutionHistoriesWithOptions(request, runtime);
3996
4054
  }
3997
4055
  /**
3998
- * Queries the user security policy of the current Alibaba Cloud account by page and returns the enabled system default security policy.
4056
+ * Queries the user security policy of the current Alibaba Cloud account by using paging and returns the enabled system default security policy.
3999
4057
  *
4000
4058
  * @remarks
4001
4059
  * This operation returns the enabled system default policies and the user policies of the current Alibaba Cloud account.
4002
- * - 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.
4003
- * - 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.
4060
+ * - 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.
4061
+ * - 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.
4004
4062
  * - TotalCount is the sum of the number of all enabled system default policies and the number of user policies that meet the filter conditions.
4005
4063
  * - You can use Readonly to distinguish between the two types of policies: true indicates a system default policy, and false indicates a user policy.
4006
4064
  *
@@ -4040,12 +4098,12 @@ class Client extends openapi_core_1.default {
4040
4098
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgenticSecurityPoliciesResponse({}));
4041
4099
  }
4042
4100
  /**
4043
- * Queries the user security policy of the current Alibaba Cloud account by page and returns the enabled system default security policy.
4101
+ * Queries the user security policy of the current Alibaba Cloud account by using paging and returns the enabled system default security policy.
4044
4102
  *
4045
4103
  * @remarks
4046
4104
  * This operation returns the enabled system default policies and the user policies of the current Alibaba Cloud account.
4047
- * - 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.
4048
- * - 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.
4105
+ * - 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.
4106
+ * - 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.
4049
4107
  * - TotalCount is the sum of the number of all enabled system default policies and the number of user policies that meet the filter conditions.
4050
4108
  * - You can use Readonly to distinguish between the two types of policies: true indicates a system default policy, and false indicates a user policy.
4051
4109
  *
@@ -6590,6 +6648,9 @@ class Client extends openapi_core_1.default {
6590
6648
  async testAgenticDataSourceConnectionWithOptions(request, runtime) {
6591
6649
  request.validate();
6592
6650
  let query = {};
6651
+ if (!$dara.isNull(request.adbSparkResourceGroup)) {
6652
+ query["AdbSparkResourceGroup"] = request.adbSparkResourceGroup;
6653
+ }
6593
6654
  if (!$dara.isNull(request.alias)) {
6594
6655
  query["Alias"] = request.alias;
6595
6656
  }
@@ -6689,7 +6750,7 @@ class Client extends openapi_core_1.default {
6689
6750
  * Updates the connection, authentication, or display information of an existing data source.
6690
6751
  *
6691
6752
  * @remarks
6692
- * Only the parameters passed in the current request are modified. Unspecified parameters remain unchanged. The data source type cannot be modified.
6753
+ * Only the parameters passed in the current request are modified. Unpassed parameters remain unchanged. The data source type cannot be modified.
6693
6754
  *
6694
6755
  * @param request - UpdateAgenticDataSourceRequest
6695
6756
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6698,6 +6759,9 @@ class Client extends openapi_core_1.default {
6698
6759
  async updateAgenticDataSourceWithOptions(request, runtime) {
6699
6760
  request.validate();
6700
6761
  let query = {};
6762
+ if (!$dara.isNull(request.adbSparkResourceGroup)) {
6763
+ query["AdbSparkResourceGroup"] = request.adbSparkResourceGroup;
6764
+ }
6701
6765
  if (!$dara.isNull(request.alias)) {
6702
6766
  query["Alias"] = request.alias;
6703
6767
  }
@@ -6758,6 +6822,15 @@ class Client extends openapi_core_1.default {
6758
6822
  if (!$dara.isNull(request.useSsl)) {
6759
6823
  query["UseSsl"] = request.useSsl;
6760
6824
  }
6825
+ if (!$dara.isNull(request.vSwitchId)) {
6826
+ query["VSwitchId"] = request.vSwitchId;
6827
+ }
6828
+ if (!$dara.isNull(request.vpcId)) {
6829
+ query["VpcId"] = request.vpcId;
6830
+ }
6831
+ if (!$dara.isNull(request.zoneId)) {
6832
+ query["ZoneId"] = request.zoneId;
6833
+ }
6761
6834
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
6762
6835
  query: openapi_core_2.OpenApiUtil.query(query),
6763
6836
  });
@@ -6778,7 +6851,7 @@ class Client extends openapi_core_1.default {
6778
6851
  * Updates the connection, authentication, or display information of an existing data source.
6779
6852
  *
6780
6853
  * @remarks
6781
- * Only the parameters passed in the current request are modified. Unspecified parameters remain unchanged. The data source type cannot be modified.
6854
+ * Only the parameters passed in the current request are modified. Unpassed parameters remain unchanged. The data source type cannot be modified.
6782
6855
  *
6783
6856
  * @param request - UpdateAgenticDataSourceRequest
6784
6857
  * @returns UpdateAgenticDataSourceResponse
@@ -7012,7 +7085,7 @@ class Client extends openapi_core_1.default {
7012
7085
  return await this.updateDataAgentMemoryWithOptions(request, runtime);
7013
7086
  }
7014
7087
  /**
7015
- * Updates workspace information.
7088
+ * Updates the information of a workspace.
7016
7089
  *
7017
7090
  * @param request - UpdateDataAgentSpaceInfoRequest
7018
7091
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7021,6 +7094,9 @@ class Client extends openapi_core_1.default {
7021
7094
  async updateDataAgentSpaceInfoWithOptions(request, runtime) {
7022
7095
  request.validate();
7023
7096
  let query = {};
7097
+ if (!$dara.isNull(request.config)) {
7098
+ query["Config"] = request.config;
7099
+ }
7024
7100
  if (!$dara.isNull(request.DMSUnit)) {
7025
7101
  query["DMSUnit"] = request.DMSUnit;
7026
7102
  }
@@ -7053,7 +7129,7 @@ class Client extends openapi_core_1.default {
7053
7129
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateDataAgentSpaceInfoResponse({}));
7054
7130
  }
7055
7131
  /**
7056
- * Updates workspace information.
7132
+ * Updates the information of a workspace.
7057
7133
  *
7058
7134
  * @param request - UpdateDataAgentSpaceInfoRequest
7059
7135
  * @returns UpdateDataAgentSpaceInfoResponse