@alicloud/dms20250414 4.2.1 → 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.
Files changed (48) hide show
  1. package/dist/client.d.ts +31 -2
  2. package/dist/client.js +67 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AgenticDatabase.d.ts +0 -103
  5. package/dist/models/AgenticDatabase.js.map +1 -1
  6. package/dist/models/AgenticDatabaseEngineMeta.d.ts +0 -28
  7. package/dist/models/AgenticDatabaseEngineMeta.js.map +1 -1
  8. package/dist/models/AgenticTableBaseInfo.d.ts +0 -60
  9. package/dist/models/AgenticTableBaseInfo.js.map +1 -1
  10. package/dist/models/AgenticTableEngineMeta.d.ts +0 -84
  11. package/dist/models/AgenticTableEngineMeta.js.map +1 -1
  12. package/dist/models/AgenticTableIndex.d.ts +0 -49
  13. package/dist/models/AgenticTableIndex.js.map +1 -1
  14. package/dist/models/CreateDataAgentSkillMetaRequest.d.ts +12 -6
  15. package/dist/models/CreateDataAgentSkillMetaRequest.js +2 -0
  16. package/dist/models/CreateDataAgentSkillMetaRequest.js.map +1 -1
  17. package/dist/models/CreateDataAgentSkillMetaResponseBody.d.ts +5 -8
  18. package/dist/models/CreateDataAgentSkillMetaResponseBody.js.map +1 -1
  19. package/dist/models/ListAgenticSecurityPoliciesRequest.d.ts +45 -0
  20. package/dist/models/ListAgenticSecurityPoliciesRequest.js +64 -0
  21. package/dist/models/ListAgenticSecurityPoliciesRequest.js.map +1 -0
  22. package/dist/models/ListAgenticSecurityPoliciesResponse.d.ts +19 -0
  23. package/dist/models/ListAgenticSecurityPoliciesResponse.js +69 -0
  24. package/dist/models/ListAgenticSecurityPoliciesResponse.js.map +1 -0
  25. package/dist/models/ListAgenticSecurityPoliciesResponseBody.d.ts +160 -0
  26. package/dist/models/ListAgenticSecurityPoliciesResponseBody.js +110 -0
  27. package/dist/models/ListAgenticSecurityPoliciesResponseBody.js.map +1 -0
  28. package/dist/models/UpdateAgenticDataSourceRequest.d.ts +31 -16
  29. package/dist/models/UpdateAgenticDataSourceRequest.js.map +1 -1
  30. package/dist/models/UpdateAgenticDataSourceResponseBody.d.ts +21 -21
  31. package/dist/models/model.d.ts +4 -0
  32. package/dist/models/model.js +20 -12
  33. package/dist/models/model.js.map +1 -1
  34. package/package.json +1 -1
  35. package/src/client.ts +74 -2
  36. package/src/models/AgenticDatabase.ts +0 -103
  37. package/src/models/AgenticDatabaseEngineMeta.ts +0 -28
  38. package/src/models/AgenticTableBaseInfo.ts +0 -60
  39. package/src/models/AgenticTableEngineMeta.ts +0 -84
  40. package/src/models/AgenticTableIndex.ts +0 -49
  41. package/src/models/CreateDataAgentSkillMetaRequest.ts +14 -6
  42. package/src/models/CreateDataAgentSkillMetaResponseBody.ts +5 -8
  43. package/src/models/ListAgenticSecurityPoliciesRequest.ts +64 -0
  44. package/src/models/ListAgenticSecurityPoliciesResponse.ts +40 -0
  45. package/src/models/ListAgenticSecurityPoliciesResponseBody.ts +216 -0
  46. package/src/models/UpdateAgenticDataSourceRequest.ts +31 -16
  47. package/src/models/UpdateAgenticDataSourceResponseBody.ts +21 -21
  48. package/src/models/model.ts +4 -0
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { ListAgenticSecurityPoliciesResponseBody } from "./ListAgenticSecurityPoliciesResponseBody";
3
+ export declare class ListAgenticSecurityPoliciesResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: ListAgenticSecurityPoliciesResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.ListAgenticSecurityPoliciesResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const ListAgenticSecurityPoliciesResponseBody_1 = require("./ListAgenticSecurityPoliciesResponseBody");
40
+ class ListAgenticSecurityPoliciesResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: ListAgenticSecurityPoliciesResponseBody_1.ListAgenticSecurityPoliciesResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.ListAgenticSecurityPoliciesResponse = ListAgenticSecurityPoliciesResponse;
69
+ //# sourceMappingURL=ListAgenticSecurityPoliciesResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListAgenticSecurityPoliciesResponse.js","sourceRoot":"","sources":["../../src/models/ListAgenticSecurityPoliciesResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uGAAoG;AAGpG,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAIlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,iFAAuC;SAC9C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,kFAiCC"}
@@ -0,0 +1,160 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The UID of the Alibaba Cloud account to which the user policy belongs. This value is not returned for system default policies.
6
+ *
7
+ * @example
8
+ * 123456789012****
9
+ */
10
+ aliyunAccountUid?: string;
11
+ /**
12
+ * @remarks
13
+ * The ID of the system default policy inherited by the user policy. This value is empty if no inheritance relationship is configured. This value is not returned for system default policies.
14
+ *
15
+ * @example
16
+ * sp-sys-default
17
+ */
18
+ basePolicyId?: string;
19
+ /**
20
+ * @remarks
21
+ * The description of the security policy. The description of a system default policy is returned in the language of the request context.
22
+ *
23
+ * @example
24
+ * Read-only access policy for analytics
25
+ */
26
+ description?: string;
27
+ /**
28
+ * @remarks
29
+ * The time when the security policy was created. The time is in the yyyy-MM-dd HH:mm:ss format and does not contain a time zone offset.
30
+ *
31
+ * @example
32
+ * 2026-10-13 14:30:00
33
+ */
34
+ gmtCreate?: string;
35
+ /**
36
+ * @remarks
37
+ * The time when the security policy was last modified. The time is in the yyyy-MM-dd HH:mm:ss format and does not contain a time zone offset.
38
+ *
39
+ * @example
40
+ * 2026-10-13 14:35:00
41
+ */
42
+ gmtModified?: string;
43
+ /**
44
+ * @remarks
45
+ * The business ID of the security policy. A system default policy ID starts with sp-sys-, and a user policy ID starts with sp-usr-.
46
+ *
47
+ * @example
48
+ * sp-sys-default
49
+ */
50
+ policyId?: string;
51
+ /**
52
+ * @remarks
53
+ * The Policy Name of the security policy. The Policy Name of a system default policy is returned in the language of the request context.
54
+ *
55
+ * @example
56
+ * team-readonly-policy
57
+ */
58
+ policyName?: string;
59
+ /**
60
+ * @remarks
61
+ * The current state of the security policy. Valid values:
62
+ * - ON: Enabled.
63
+ * - OFF: Disabled.
64
+ * - ARCHIVED: Archived.
65
+ * All system default policies returned by this operation are in the ON state.
66
+ *
67
+ * @example
68
+ * ON
69
+ */
70
+ policyStatus?: string;
71
+ /**
72
+ * @remarks
73
+ * Specifies whether the policy is read-only. Valid values:
74
+ * - true: The policy is a system default policy.
75
+ * - false: The policy is a user policy of the current account.
76
+ */
77
+ readonly?: boolean;
78
+ /**
79
+ * @remarks
80
+ * The tags of the system default policy. Multiple tags are separated by commas (,). This value is not returned for user policies.
81
+ *
82
+ * @example
83
+ * default,phase1
84
+ */
85
+ tags?: string;
86
+ /**
87
+ * @remarks
88
+ * The identifier of the operator that last modified the policy. For a user policy, the operator ID is recorded first. If no operator ID is available, the UID of the current Alibaba Cloud account is recorded.
89
+ *
90
+ * @example
91
+ * system
92
+ */
93
+ updatedBy?: string;
94
+ static names(): {
95
+ [key: string]: string;
96
+ };
97
+ static types(): {
98
+ [key: string]: any;
99
+ };
100
+ validate(): void;
101
+ constructor(map?: {
102
+ [key: string]: any;
103
+ });
104
+ }
105
+ export declare class ListAgenticSecurityPoliciesResponseBody extends $dara.Model {
106
+ /**
107
+ * @remarks
108
+ * The list of security policies returned by this query. Enabled system default policies are placed at the beginning, followed by the user policies on the current page. You can use Readonly to distinguish between the two types of policies.
109
+ */
110
+ data?: ListAgenticSecurityPoliciesResponseBodyData[];
111
+ /**
112
+ * @remarks
113
+ * The error code returned when the request fails. This parameter is empty when the request is successful.
114
+ *
115
+ * @example
116
+ * INVALID_PARAMETER
117
+ */
118
+ errorCode?: string;
119
+ /**
120
+ * @remarks
121
+ * The error message returned when the request fails. This parameter is empty when the request is successful.
122
+ *
123
+ * @example
124
+ * invalid policyStatus: ARCHIVED
125
+ */
126
+ errorMessage?: string;
127
+ /**
128
+ * @remarks
129
+ * The request ID, which is used to locate and trace this call.
130
+ *
131
+ * @example
132
+ * request-1234567890
133
+ */
134
+ requestId?: string;
135
+ /**
136
+ * @remarks
137
+ * Indicates whether the request is successful. Valid values:
138
+ * - true: The request is successful.
139
+ * - false: The request fails.
140
+ */
141
+ success?: boolean;
142
+ /**
143
+ * @remarks
144
+ * The total number of policies that meet the query conditions. The value is the sum of the number of all enabled system default policies and the number of user policies of the current account that meet the filter conditions.
145
+ *
146
+ * @example
147
+ * 2
148
+ */
149
+ totalCount?: number;
150
+ static names(): {
151
+ [key: string]: string;
152
+ };
153
+ static types(): {
154
+ [key: string]: any;
155
+ };
156
+ validate(): void;
157
+ constructor(map?: {
158
+ [key: string]: any;
159
+ });
160
+ }
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.ListAgenticSecurityPoliciesResponseBody = exports.ListAgenticSecurityPoliciesResponseBodyData = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ aliyunAccountUid: 'AliyunAccountUid',
43
+ basePolicyId: 'BasePolicyId',
44
+ description: 'Description',
45
+ gmtCreate: 'GmtCreate',
46
+ gmtModified: 'GmtModified',
47
+ policyId: 'PolicyId',
48
+ policyName: 'PolicyName',
49
+ policyStatus: 'PolicyStatus',
50
+ readonly: 'Readonly',
51
+ tags: 'Tags',
52
+ updatedBy: 'UpdatedBy',
53
+ };
54
+ }
55
+ static types() {
56
+ return {
57
+ aliyunAccountUid: 'string',
58
+ basePolicyId: 'string',
59
+ description: 'string',
60
+ gmtCreate: 'string',
61
+ gmtModified: 'string',
62
+ policyId: 'string',
63
+ policyName: 'string',
64
+ policyStatus: 'string',
65
+ readonly: 'boolean',
66
+ tags: 'string',
67
+ updatedBy: 'string',
68
+ };
69
+ }
70
+ validate() {
71
+ super.validate();
72
+ }
73
+ constructor(map) {
74
+ super(map);
75
+ }
76
+ }
77
+ exports.ListAgenticSecurityPoliciesResponseBodyData = ListAgenticSecurityPoliciesResponseBodyData;
78
+ class ListAgenticSecurityPoliciesResponseBody extends $dara.Model {
79
+ static names() {
80
+ return {
81
+ data: 'Data',
82
+ errorCode: 'ErrorCode',
83
+ errorMessage: 'ErrorMessage',
84
+ requestId: 'RequestId',
85
+ success: 'Success',
86
+ totalCount: 'TotalCount',
87
+ };
88
+ }
89
+ static types() {
90
+ return {
91
+ data: { 'type': 'array', 'itemType': ListAgenticSecurityPoliciesResponseBodyData },
92
+ errorCode: 'string',
93
+ errorMessage: 'string',
94
+ requestId: 'string',
95
+ success: 'boolean',
96
+ totalCount: 'number',
97
+ };
98
+ }
99
+ validate() {
100
+ if (Array.isArray(this.data)) {
101
+ $dara.Model.validateArray(this.data);
102
+ }
103
+ super.validate();
104
+ }
105
+ constructor(map) {
106
+ super(map);
107
+ }
108
+ }
109
+ exports.ListAgenticSecurityPoliciesResponseBody = ListAgenticSecurityPoliciesResponseBody;
110
+ //# sourceMappingURL=ListAgenticSecurityPoliciesResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListAgenticSecurityPoliciesResponseBody.js","sourceRoot":"","sources":["../../src/models/ListAgenticSecurityPoliciesResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;IA4F1E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,kBAAkB;YACpC,YAAY,EAAE,cAAc;YAC5B,WAAW,EAAE,aAAa;YAC1B,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,QAAQ;YAC1B,YAAY,EAAE,QAAQ;YACtB,WAAW,EAAE,QAAQ;YACrB,SAAS,EAAE,QAAQ;YACnB,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnID,kGAmIC;AAED,MAAa,uCAAwC,SAAQ,KAAK,CAAC,KAAK;IA6CtE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,2CAA2C,EAAE;YAClF,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YAC5B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7ED,0FA6EC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The new display name of the data source. If this parameter is not specified, the value is not updated.
5
+ * The new display name of the data source. If you do not specify this parameter, the alias is not updated.
6
6
  *
7
7
  * @example
8
8
  * demo_mysql
@@ -10,7 +10,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
10
10
  alias?: string;
11
11
  /**
12
12
  * @remarks
13
- * The new logon username. If this parameter is not specified, the value is not updated.
13
+ * The new logon username. If you do not specify this parameter, the authentication account is not updated.
14
14
  *
15
15
  * @example
16
16
  * db_user
@@ -18,7 +18,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
18
18
  authAccount?: string;
19
19
  /**
20
20
  * @remarks
21
- * The new logon password. If this parameter is not specified, the value is not updated. This is sensitive information. Do not record or disclose it.
21
+ * The new logon password. If you do not specify this parameter, the authentication password is not updated. This is sensitive information. Do not record or disclose it.
22
22
  *
23
23
  * @example
24
24
  * P@ss****
@@ -26,7 +26,12 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
26
26
  authPassword?: string;
27
27
  /**
28
28
  * @remarks
29
- * Optional. The authentication type. Valid values: -1: No authentication required. 0: Username and password. 1: Password only. 2: Password-free. If this parameter is not specified, the value is not updated.
29
+ * Optional. Valid values:
30
+ * - -1: No authentication required.
31
+ * - 0: Username and password.
32
+ * - 1: Password only.
33
+ * - 2: Password-free.
34
+ * If you do not specify this parameter, the authentication type is not updated.
30
35
  *
31
36
  * @example
32
37
  * 0
@@ -34,7 +39,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
34
39
  authType?: number;
35
40
  /**
36
41
  * @remarks
37
- * The new metadata catalog name. If this parameter is not specified, the value is not updated. 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.
42
+ * The new name of the metadata catalog. If you do not specify this parameter, the catalog name is not updated. 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.
38
43
  *
39
44
  * @example
40
45
  * demo_catalog
@@ -42,7 +47,10 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
42
47
  catalogName?: string;
43
48
  /**
44
49
  * @remarks
45
- * The registration method. Valid values: INSTANCE_ID: Select an existing cloud instance. HOST_PORT: Register by endpoint and port. If this parameter is not specified, the value is not updated.
50
+ * The registration method. Valid values:
51
+ * - INSTANCE_ID: Select an existing cloud instance.
52
+ * - HOST_PORT: Register by endpoint and port.
53
+ * If you do not specify this parameter, the creation mode is not updated.
46
54
  *
47
55
  * @example
48
56
  * HOST_PORT
@@ -68,7 +76,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
68
76
  dbType?: string;
69
77
  /**
70
78
  * @remarks
71
- * The environment type. Valid values: product, pre, dev, test, sit, uat, pet, and stag. If this parameter is not specified, the value is not updated.
79
+ * The environment type. Valid values: product, pre, dev, test, sit, uat, pet, and stag. If you do not specify this parameter, the environment type is not updated.
72
80
  *
73
81
  * @example
74
82
  * product
@@ -76,7 +84,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
76
84
  envType?: string;
77
85
  /**
78
86
  * @remarks
79
- * Optional. The new database domain name or IP address. Do not include the protocol, path, or port. If this parameter is not specified, the value is not updated.
87
+ * Optional. The new domain name or IP address of the database. Do not include the protocol, path, or port. If you do not specify this parameter, the host is not updated.
80
88
  *
81
89
  * @example
82
90
  * mysql.example.com
@@ -84,7 +92,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
84
92
  host?: string;
85
93
  /**
86
94
  * @remarks
87
- * The new cloud resource instance ID. If this parameter is not specified, the value is not updated.
95
+ * The new ID of the cloud resource instance. If you do not specify this parameter, the instance resource ID is not updated.
88
96
  *
89
97
  * @example
90
98
  * rm-bp1234567890
@@ -92,7 +100,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
92
100
  instanceResourceId?: string;
93
101
  /**
94
102
  * @remarks
95
- * The new KMS managed credential name. If this parameter is not specified, the value is not updated.
103
+ * The new name of the KMS-managed credential. If you do not specify this parameter, the KMS secret is not updated.
96
104
  *
97
105
  * @example
98
106
  * datasource-secret
@@ -100,7 +108,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
100
108
  kmsSecret?: string;
101
109
  /**
102
110
  * @remarks
103
- * Optional. The new data access security policy ID. If this parameter is not specified, the value is not updated.
111
+ * Optional. The new ID of the data access security policy. If you do not specify this parameter, the policy ID is not updated.
104
112
  *
105
113
  * @example
106
114
  * sp-usr-example
@@ -108,7 +116,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
108
116
  policyId?: string;
109
117
  /**
110
118
  * @remarks
111
- * Optional. The new database service port. If this parameter is not specified, the value is not updated.
119
+ * Optional. The new service port of the database. If you do not specify this parameter, the service port is not updated.
112
120
  *
113
121
  * @example
114
122
  * 3306
@@ -116,7 +124,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
116
124
  port?: number;
117
125
  /**
118
126
  * @remarks
119
- * The new Alibaba Cloud RAM role ARN. If this parameter is not specified, the value is not updated.
127
+ * The new ARN of the Alibaba Cloud RAM role. If you do not specify this parameter, the role ARN is not updated.
120
128
  *
121
129
  * @example
122
130
  * acs:ram::123456789012****:role/DataSourceRole
@@ -124,7 +132,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
124
132
  roleArn?: string;
125
133
  /**
126
134
  * @remarks
127
- * Optional. For ADB_POSTGRESQL, DRDS, POSTGRESQL, and POLARDB_POSTGRESQL, specify the database name. For ORACLE, specify the SID or service name, and prefix the service name with a forward slash (/). For POLARDB_ORACLE, specify the SID. For MAXCOMPUTE, specify the project name. For other types, leave this parameter empty. If this parameter is not specified, the value is not updated.
135
+ * Optional. For ADB_POSTGRESQL, DRDS, POSTGRESQL, and POLARDB_POSTGRESQL, specify the database name. For ORACLE, specify the SID or service name, and prefix the service name with a forward slash (/). For POLARDB_ORACLE, specify the SID. For MAXCOMPUTE, specify the project name. For other types, leave this parameter empty. If you do not specify this parameter, the schema is not updated.
128
136
  *
129
137
  * @example
130
138
  * postgres
@@ -148,7 +156,10 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
148
156
  snowflakeWarehouse?: string;
149
157
  /**
150
158
  * @remarks
151
- * Specifies whether to use the cloud instance name as the data source name. Valid values: 1: Yes. 0: No. If this parameter is not specified, the value is not updated.
159
+ * Specifies whether to use the cloud instance name as the data source name. Valid values:
160
+ * - 1: Yes.
161
+ * - 0: No.
162
+ * If you do not specify this parameter, the sync alias setting is not updated.
152
163
  *
153
164
  * @example
154
165
  * 0
@@ -156,7 +167,11 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
156
167
  syncAlias?: number;
157
168
  /**
158
169
  * @remarks
159
- * The new SSL setting. Valid values: 1: Enable. 0: Disable. -1: Use the default setting. If this parameter is not specified, the value is not updated. SSL is supported only for ADB_MYSQL, CLICKHOUSE, MARIADB, MYSQL, OCEANBASEX, POLARDB, SELECTDB, and STARROCKS.
170
+ * The new SSL setting. Valid values:
171
+ * - 1: Enable.
172
+ * - 0: Disable.
173
+ * - -1: Use default settings.
174
+ * If you do not specify this parameter, the SSL setting is not updated. SSL is supported only for ADB_MYSQL, CLICKHOUSE, MARIADB, MYSQL, OCEANBASEX, POLARDB, SELECTDB, and STARROCKS.
160
175
  *
161
176
  * @example
162
177
  * 1
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateAgenticDataSourceRequest.js","sourceRoot":"","sources":["../../src/models/UpdateAgenticDataSourceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAmK7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,cAAc,EAAE,gBAAgB;YAChC,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,MAAM;YACZ,kBAAkB,EAAE,oBAAoB;YACxC,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,eAAe;YAC9B,kBAAkB,EAAE,oBAAoB;YACxC,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,cAAc,EAAE,QAAQ;YACxB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,QAAQ;YACjB,IAAI,EAAE,QAAQ;YACd,kBAAkB,EAAE,QAAQ;YAC5B,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,QAAQ;YACvB,kBAAkB,EAAE,QAAQ;YAC5B,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5ND,wEA4NC"}
1
+ {"version":3,"file":"UpdateAgenticDataSourceRequest.js","sourceRoot":"","sources":["../../src/models/UpdateAgenticDataSourceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAkL7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,cAAc,EAAE,gBAAgB;YAChC,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,MAAM;YACZ,kBAAkB,EAAE,oBAAoB;YACxC,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,eAAe;YAC9B,kBAAkB,EAAE,oBAAoB;YACxC,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,cAAc,EAAE,QAAQ;YACxB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,QAAQ;YACjB,IAAI,EAAE,QAAQ;YACd,kBAAkB,EAAE,QAAQ;YAC5B,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,QAAQ;YACvB,kBAAkB,EAAE,QAAQ;YAC5B,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3OD,wEA2OC"}
@@ -27,10 +27,10 @@ export declare class UpdateAgenticDataSourceResponseBodyData extends $dara.Model
27
27
  /**
28
28
  * @remarks
29
29
  * The authentication method. Valid values:
30
- * - -1: No authentication required.
31
- * - 0: Username and password.
32
- * - 1: Password only.
33
- * - 2: Password-free.
30
+ * - -1: no authentication required
31
+ * - 0: username and password
32
+ * - 1: password only
33
+ * - 2: password-free
34
34
  *
35
35
  * @example
36
36
  * 0
@@ -47,8 +47,8 @@ export declare class UpdateAgenticDataSourceResponseBodyData extends $dara.Model
47
47
  /**
48
48
  * @remarks
49
49
  * The registration method of the data source. Valid values:
50
- * - INSTANCE_ID: Select an existing cloud instance.
51
- * - HOST_PORT: Register by endpoint and port.
50
+ * - INSTANCE_ID: select an existing cloud instance
51
+ * - HOST_PORT: register by endpoint and port
52
52
  *
53
53
  * @example
54
54
  * HOST_PORT
@@ -113,11 +113,11 @@ export declare class UpdateAgenticDataSourceResponseBodyData extends $dara.Model
113
113
  /**
114
114
  * @remarks
115
115
  * The source of the data source. Valid values:
116
- * - RDS: ApsaraDB instance.
117
- * - PUBLIC_OWN: Self-managed database on the Internet.
118
- * - ECS_OWN: Self-managed database on an ECS instance.
119
- * - GATEWAY: Connected through Database Gateway.
120
- * - VPC_IDC: Connected through a VPC or IDC.
116
+ * - RDS: ApsaraDB instance
117
+ * - PUBLIC_OWN: self-managed database on the Internet
118
+ * - ECS_OWN: self-managed database on an ECS instance
119
+ * - GATEWAY: connected through Database Gateway
120
+ * - VPC_IDC: connected through a VPC or IDC
121
121
  *
122
122
  * @example
123
123
  * RDS
@@ -165,7 +165,7 @@ export declare class UpdateAgenticDataSourceResponseBodyData extends $dara.Model
165
165
  resourceAccountId?: string;
166
166
  /**
167
167
  * @remarks
168
- * The ARN of the RAM role used to access the data source. This parameter is empty if role-based authorization is not used.
168
+ * The ARN of the RAM role used to access the data source. This parameter is empty if role authorization is not used.
169
169
  *
170
170
  * @example
171
171
  * acs:ram::123456789012****:role/DataSourceRole
@@ -182,9 +182,9 @@ export declare class UpdateAgenticDataSourceResponseBodyData extends $dara.Model
182
182
  /**
183
183
  * @remarks
184
184
  * The status of the data source. Valid values:
185
- * - 0: Normal.
186
- * - -1: Deleted.
187
- * - -2: Disabled.
185
+ * - 0: normal
186
+ * - -1: deleted
187
+ * - -2: disabled
188
188
  *
189
189
  * @example
190
190
  * 0
@@ -193,8 +193,8 @@ export declare class UpdateAgenticDataSourceResponseBodyData extends $dara.Model
193
193
  /**
194
194
  * @remarks
195
195
  * Specifies whether to use the cloud instance name as the data source name. Valid values:
196
- * - 1: Yes.
197
- * - 0: No.
196
+ * - 1: yes
197
+ * - 0: no
198
198
  *
199
199
  * @example
200
200
  * 0
@@ -203,9 +203,9 @@ export declare class UpdateAgenticDataSourceResponseBodyData extends $dara.Model
203
203
  /**
204
204
  * @remarks
205
205
  * The SSL settings. Valid values:
206
- * - 1: Enabled.
207
- * - 0: Disabled.
208
- * - -1: Use default settings.
206
+ * - 1: enabled
207
+ * - 0: disabled
208
+ * - -1: default settings
209
209
  *
210
210
  * @example
211
211
  * 1
@@ -246,7 +246,7 @@ export declare class UpdateAgenticDataSourceResponseBody extends $dara.Model {
246
246
  errorMessage?: string;
247
247
  /**
248
248
  * @remarks
249
- * The request ID, which is used to trace the call.
249
+ * The ID of the request.
250
250
  *
251
251
  * @example
252
252
  * request-1234567890
@@ -83,6 +83,7 @@ export { GetWorkspaceCodePublishSettingResponseBodyData } from './GetWorkspaceCo
83
83
  export { GetWorkspaceQuotaResponseBodyData } from './GetWorkspaceQuotaResponseBody';
84
84
  export { ListAgenticDataSourcesResponseBodyData } from './ListAgenticDataSourcesResponseBody';
85
85
  export { ListAgenticGlobalSqlExecutionHistoriesResponseBodyData } from './ListAgenticGlobalSqlExecutionHistoriesResponseBody';
86
+ export { ListAgenticSecurityPoliciesResponseBodyData } from './ListAgenticSecurityPoliciesResponseBody';
86
87
  export { ListAgenticSqlExecutionHistoriesResponseBodyData } from './ListAgenticSqlExecutionHistoriesResponseBody';
87
88
  export { ListAirflowsResponseBodyRootList } from './ListAirflowsResponseBody';
88
89
  export { ListAirflowsResponseBodyRoot } from './ListAirflowsResponseBody';
@@ -446,6 +447,9 @@ export { ListAgenticDatabaseResponse } from './ListAgenticDatabaseResponse';
446
447
  export { ListAgenticGlobalSqlExecutionHistoriesRequest } from './ListAgenticGlobalSqlExecutionHistoriesRequest';
447
448
  export { ListAgenticGlobalSqlExecutionHistoriesResponseBody } from './ListAgenticGlobalSqlExecutionHistoriesResponseBody';
448
449
  export { ListAgenticGlobalSqlExecutionHistoriesResponse } from './ListAgenticGlobalSqlExecutionHistoriesResponse';
450
+ export { ListAgenticSecurityPoliciesRequest } from './ListAgenticSecurityPoliciesRequest';
451
+ export { ListAgenticSecurityPoliciesResponseBody } from './ListAgenticSecurityPoliciesResponseBody';
452
+ export { ListAgenticSecurityPoliciesResponse } from './ListAgenticSecurityPoliciesResponse';
449
453
  export { ListAgenticSqlExecutionHistoriesRequest } from './ListAgenticSqlExecutionHistoriesRequest';
450
454
  export { ListAgenticSqlExecutionHistoriesResponseBody } from './ListAgenticSqlExecutionHistoriesResponseBody';
451
455
  export { ListAgenticSqlExecutionHistoriesResponse } from './ListAgenticSqlExecutionHistoriesResponse';