@alicloud/dms20250414 4.2.2 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +29 -0
- package/dist/client.js +62 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AgenticDatabase.d.ts +0 -103
- package/dist/models/AgenticDatabase.js.map +1 -1
- package/dist/models/AgenticDatabaseEngineMeta.d.ts +0 -28
- package/dist/models/AgenticDatabaseEngineMeta.js.map +1 -1
- package/dist/models/AgenticTableBaseInfo.d.ts +0 -60
- package/dist/models/AgenticTableBaseInfo.js.map +1 -1
- package/dist/models/AgenticTableEngineMeta.d.ts +0 -84
- package/dist/models/AgenticTableEngineMeta.js.map +1 -1
- package/dist/models/AgenticTableIndex.d.ts +0 -49
- package/dist/models/AgenticTableIndex.js.map +1 -1
- package/dist/models/ListAgenticSecurityPoliciesRequest.d.ts +45 -0
- package/dist/models/ListAgenticSecurityPoliciesRequest.js +64 -0
- package/dist/models/ListAgenticSecurityPoliciesRequest.js.map +1 -0
- package/dist/models/ListAgenticSecurityPoliciesResponse.d.ts +19 -0
- package/dist/models/ListAgenticSecurityPoliciesResponse.js +69 -0
- package/dist/models/ListAgenticSecurityPoliciesResponse.js.map +1 -0
- package/dist/models/ListAgenticSecurityPoliciesResponseBody.d.ts +160 -0
- package/dist/models/ListAgenticSecurityPoliciesResponseBody.js +110 -0
- package/dist/models/ListAgenticSecurityPoliciesResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +20 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +68 -0
- package/src/models/AgenticDatabase.ts +0 -103
- package/src/models/AgenticDatabaseEngineMeta.ts +0 -28
- package/src/models/AgenticTableBaseInfo.ts +0 -60
- package/src/models/AgenticTableEngineMeta.ts +0 -84
- package/src/models/AgenticTableIndex.ts +0 -49
- package/src/models/ListAgenticSecurityPoliciesRequest.ts +64 -0
- package/src/models/ListAgenticSecurityPoliciesResponse.ts +40 -0
- package/src/models/ListAgenticSecurityPoliciesResponseBody.ts +216 -0
- package/src/models/model.ts +4 -0
package/dist/client.d.ts
CHANGED
|
@@ -1266,6 +1266,35 @@ export default class Client extends OpenApi {
|
|
|
1266
1266
|
* @returns ListAgenticGlobalSqlExecutionHistoriesResponse
|
|
1267
1267
|
*/
|
|
1268
1268
|
listAgenticGlobalSqlExecutionHistories(request: $_model.ListAgenticGlobalSqlExecutionHistoriesRequest): Promise<$_model.ListAgenticGlobalSqlExecutionHistoriesResponse>;
|
|
1269
|
+
/**
|
|
1270
|
+
* Queries the user security policy of the current Alibaba Cloud account by page and returns the enabled system default security policy.
|
|
1271
|
+
*
|
|
1272
|
+
* @remarks
|
|
1273
|
+
* 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.
|
|
1276
|
+
* - 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
|
+
* - 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
|
+
*
|
|
1279
|
+
* @param request - ListAgenticSecurityPoliciesRequest
|
|
1280
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1281
|
+
* @returns ListAgenticSecurityPoliciesResponse
|
|
1282
|
+
*/
|
|
1283
|
+
listAgenticSecurityPoliciesWithOptions(request: $_model.ListAgenticSecurityPoliciesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAgenticSecurityPoliciesResponse>;
|
|
1284
|
+
/**
|
|
1285
|
+
* Queries the user security policy of the current Alibaba Cloud account by page and returns the enabled system default security policy.
|
|
1286
|
+
*
|
|
1287
|
+
* @remarks
|
|
1288
|
+
* 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.
|
|
1291
|
+
* - 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
|
+
* - 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
|
+
*
|
|
1294
|
+
* @param request - ListAgenticSecurityPoliciesRequest
|
|
1295
|
+
* @returns ListAgenticSecurityPoliciesResponse
|
|
1296
|
+
*/
|
|
1297
|
+
listAgenticSecurityPolicies(request: $_model.ListAgenticSecurityPoliciesRequest): Promise<$_model.ListAgenticSecurityPoliciesResponse>;
|
|
1269
1298
|
/**
|
|
1270
1299
|
* Queries the SQL execution history visible to the current caller, sorted in descending order by execution start time. Only AGENT_QUERY and WORKFLOW_QUERY are included.
|
|
1271
1300
|
*
|
package/dist/client.js
CHANGED
|
@@ -3994,6 +3994,68 @@ class Client extends openapi_core_1.default {
|
|
|
3994
3994
|
let runtime = new $dara.RuntimeOptions({});
|
|
3995
3995
|
return await this.listAgenticGlobalSqlExecutionHistoriesWithOptions(request, runtime);
|
|
3996
3996
|
}
|
|
3997
|
+
/**
|
|
3998
|
+
* Queries the user security policy of the current Alibaba Cloud account by page and returns the enabled system default security policy.
|
|
3999
|
+
*
|
|
4000
|
+
* @remarks
|
|
4001
|
+
* 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.
|
|
4004
|
+
* - 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
|
+
* - 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
|
+
*
|
|
4007
|
+
* @param request - ListAgenticSecurityPoliciesRequest
|
|
4008
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4009
|
+
* @returns ListAgenticSecurityPoliciesResponse
|
|
4010
|
+
*/
|
|
4011
|
+
async listAgenticSecurityPoliciesWithOptions(request, runtime) {
|
|
4012
|
+
request.validate();
|
|
4013
|
+
let query = {};
|
|
4014
|
+
if (!$dara.isNull(request.includeArchived)) {
|
|
4015
|
+
query["IncludeArchived"] = request.includeArchived;
|
|
4016
|
+
}
|
|
4017
|
+
if (!$dara.isNull(request.page)) {
|
|
4018
|
+
query["Page"] = request.page;
|
|
4019
|
+
}
|
|
4020
|
+
if (!$dara.isNull(request.policyStatus)) {
|
|
4021
|
+
query["PolicyStatus"] = request.policyStatus;
|
|
4022
|
+
}
|
|
4023
|
+
if (!$dara.isNull(request.size)) {
|
|
4024
|
+
query["Size"] = request.size;
|
|
4025
|
+
}
|
|
4026
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4027
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4028
|
+
});
|
|
4029
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4030
|
+
action: "ListAgenticSecurityPolicies",
|
|
4031
|
+
version: "2025-04-14",
|
|
4032
|
+
protocol: "HTTPS",
|
|
4033
|
+
pathname: "/",
|
|
4034
|
+
method: "POST",
|
|
4035
|
+
authType: "AK",
|
|
4036
|
+
style: "RPC",
|
|
4037
|
+
reqBodyType: "formData",
|
|
4038
|
+
bodyType: "json",
|
|
4039
|
+
});
|
|
4040
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgenticSecurityPoliciesResponse({}));
|
|
4041
|
+
}
|
|
4042
|
+
/**
|
|
4043
|
+
* Queries the user security policy of the current Alibaba Cloud account by page and returns the enabled system default security policy.
|
|
4044
|
+
*
|
|
4045
|
+
* @remarks
|
|
4046
|
+
* 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.
|
|
4049
|
+
* - 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
|
+
* - 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
|
+
*
|
|
4052
|
+
* @param request - ListAgenticSecurityPoliciesRequest
|
|
4053
|
+
* @returns ListAgenticSecurityPoliciesResponse
|
|
4054
|
+
*/
|
|
4055
|
+
async listAgenticSecurityPolicies(request) {
|
|
4056
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4057
|
+
return await this.listAgenticSecurityPoliciesWithOptions(request, runtime);
|
|
4058
|
+
}
|
|
3997
4059
|
/**
|
|
3998
4060
|
* Queries the SQL execution history visible to the current caller, sorted in descending order by execution start time. Only AGENT_QUERY and WORKFLOW_QUERY are included.
|
|
3999
4061
|
*
|