@alicloud/dms20250414 4.2.1 → 4.2.2
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 +2 -2
- package/dist/client.js +5 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDataAgentSkillMetaRequest.d.ts +12 -6
- package/dist/models/CreateDataAgentSkillMetaRequest.js +2 -0
- package/dist/models/CreateDataAgentSkillMetaRequest.js.map +1 -1
- package/dist/models/CreateDataAgentSkillMetaResponseBody.d.ts +5 -8
- package/dist/models/CreateDataAgentSkillMetaResponseBody.js.map +1 -1
- package/dist/models/UpdateAgenticDataSourceRequest.d.ts +31 -16
- package/dist/models/UpdateAgenticDataSourceRequest.js.map +1 -1
- package/dist/models/UpdateAgenticDataSourceResponseBody.d.ts +21 -21
- package/package.json +1 -1
- package/src/client.ts +6 -2
- package/src/models/CreateDataAgentSkillMetaRequest.ts +14 -6
- package/src/models/CreateDataAgentSkillMetaResponseBody.ts +5 -8
- package/src/models/UpdateAgenticDataSourceRequest.ts +31 -16
- package/src/models/UpdateAgenticDataSourceResponseBody.ts +21 -21
|
@@ -2,8 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateDataAgentSkillMetaRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The skill description.
|
|
6
|
-
* - Optional. If not specified, the system parses the ZIP package specified by UploadLocation to obtain the skill description.
|
|
5
|
+
* The skill description. This parameter is optional. If not specified, the backend parses the ZIP package specified by UploadLocation to obtain the skill description.
|
|
7
6
|
*
|
|
8
7
|
* @example
|
|
9
8
|
* This is a demo skill description.
|
|
@@ -11,8 +10,15 @@ export declare class CreateDataAgentSkillMetaRequest extends $dara.Model {
|
|
|
11
10
|
description?: string;
|
|
12
11
|
/**
|
|
13
12
|
* @remarks
|
|
14
|
-
* The skill name.
|
|
15
|
-
*
|
|
13
|
+
* The skill ID. If you specify this parameter, the uploaded skill overwrites the existing skill and replaces the original skill content. Note: The name of the original skill and the newly uploaded skill must be identical.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ski-04pomiln*************j0
|
|
17
|
+
*/
|
|
18
|
+
skillId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The skill name. This parameter is optional. If not specified, the backend parses the ZIP package specified by UploadLocation to obtain the skill name.
|
|
16
22
|
*
|
|
17
23
|
* @example
|
|
18
24
|
* data-query-skill
|
|
@@ -20,8 +26,8 @@ export declare class CreateDataAgentSkillMetaRequest extends $dara.Model {
|
|
|
20
26
|
skillName?: string;
|
|
21
27
|
/**
|
|
22
28
|
* @remarks
|
|
23
|
-
* The full path
|
|
24
|
-
* - Format:
|
|
29
|
+
* The full path for the skill ZIP file upload.
|
|
30
|
+
* - Format: The UploadDir field returned by the DescribeSkillFileUploadSignature operation concatenated with the file name.
|
|
25
31
|
* - Example: ${UploadDir}/${Filename}
|
|
26
32
|
*/
|
|
27
33
|
uploadLocation?: string;
|
|
@@ -40,6 +40,7 @@ class CreateDataAgentSkillMetaRequest extends $dara.Model {
|
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
42
|
description: 'Description',
|
|
43
|
+
skillId: 'SkillId',
|
|
43
44
|
skillName: 'SkillName',
|
|
44
45
|
uploadLocation: 'UploadLocation',
|
|
45
46
|
workspaceId: 'WorkspaceId',
|
|
@@ -48,6 +49,7 @@ class CreateDataAgentSkillMetaRequest extends $dara.Model {
|
|
|
48
49
|
static types() {
|
|
49
50
|
return {
|
|
50
51
|
description: 'string',
|
|
52
|
+
skillId: 'string',
|
|
51
53
|
skillName: 'string',
|
|
52
54
|
uploadLocation: 'string',
|
|
53
55
|
workspaceId: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateDataAgentSkillMetaRequest.js","sourceRoot":"","sources":["../../src/models/CreateDataAgentSkillMetaRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateDataAgentSkillMetaRequest.js","sourceRoot":"","sources":["../../src/models/CreateDataAgentSkillMetaRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAwC9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,cAAc,EAAE,gBAAgB;YAChC,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,cAAc,EAAE,QAAQ;YACxB,WAAW,EAAE,QAAQ;SACtB,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;AAnED,0EAmEC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateDataAgentSkillMetaResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The Alibaba Cloud account
|
|
5
|
+
* The ID of the parent Alibaba Cloud account.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 16738266********
|
|
@@ -10,7 +10,7 @@ export declare class CreateDataAgentSkillMetaResponseBodyData extends $dara.Mode
|
|
|
10
10
|
aliyunParentUid?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The Alibaba Cloud
|
|
13
|
+
* The Alibaba Cloud account ID.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 20372822********
|
|
@@ -34,9 +34,7 @@ export declare class CreateDataAgentSkillMetaResponseBodyData extends $dara.Mode
|
|
|
34
34
|
description?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* Indicates whether the skill is available. Valid values:
|
|
38
|
-
* - true: The skill is available.
|
|
39
|
-
* - false: The skill is not available.
|
|
37
|
+
* Indicates whether the skill is available. Valid values: true and false.
|
|
40
38
|
*
|
|
41
39
|
* @example
|
|
42
40
|
* true
|
|
@@ -52,7 +50,7 @@ export declare class CreateDataAgentSkillMetaResponseBodyData extends $dara.Mode
|
|
|
52
50
|
gmtCreated?: string;
|
|
53
51
|
/**
|
|
54
52
|
* @remarks
|
|
55
|
-
* The
|
|
53
|
+
* The modification time.
|
|
56
54
|
*
|
|
57
55
|
* @example
|
|
58
56
|
* 2025-12-11T14:04:32.000+00:00
|
|
@@ -60,8 +58,7 @@ export declare class CreateDataAgentSkillMetaResponseBodyData extends $dara.Mode
|
|
|
60
58
|
gmtModified?: string;
|
|
61
59
|
/**
|
|
62
60
|
* @remarks
|
|
63
|
-
* The skill parsing
|
|
64
|
-
* - This message is returned when the skill status is INVALID.
|
|
61
|
+
* The error message for skill parsing. This message is returned when the skill status is INVALID.
|
|
65
62
|
*
|
|
66
63
|
* @example
|
|
67
64
|
* SKILL.md file not exist.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateDataAgentSkillMetaResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateDataAgentSkillMetaResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateDataA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KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,wCAAwC;YAC9C,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,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;AAvED,oFAuEC"}
|
|
@@ -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
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
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:
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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:
|
|
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:
|
|
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;
|
|
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,EA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
@@ -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:
|
|
31
|
-
* - 0:
|
|
32
|
-
* - 1:
|
|
33
|
-
* - 2:
|
|
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:
|
|
51
|
-
* - HOST_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:
|
|
118
|
-
* - ECS_OWN:
|
|
119
|
-
* - GATEWAY:
|
|
120
|
-
* - VPC_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
|
|
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:
|
|
186
|
-
* - -1:
|
|
187
|
-
* - -2:
|
|
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:
|
|
197
|
-
* - 0:
|
|
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:
|
|
207
|
-
* - 0:
|
|
208
|
-
* - -1:
|
|
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
|
|
249
|
+
* The ID of the request.
|
|
250
250
|
*
|
|
251
251
|
* @example
|
|
252
252
|
* request-1234567890
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1171,6 +1171,10 @@ export default class Client extends OpenApi {
|
|
|
1171
1171
|
query["Description"] = request.description;
|
|
1172
1172
|
}
|
|
1173
1173
|
|
|
1174
|
+
if (!$dara.isNull(request.skillId)) {
|
|
1175
|
+
query["SkillId"] = request.skillId;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1174
1178
|
if (!$dara.isNull(request.skillName)) {
|
|
1175
1179
|
query["SkillName"] = request.skillName;
|
|
1176
1180
|
}
|
|
@@ -7461,7 +7465,7 @@ export default class Client extends OpenApi {
|
|
|
7461
7465
|
* Updates the connection, authentication, or display information of an existing data source.
|
|
7462
7466
|
*
|
|
7463
7467
|
* @remarks
|
|
7464
|
-
* Only the parameters passed in the current request are modified.
|
|
7468
|
+
* Only the parameters passed in the current request are modified. Unspecified parameters remain unchanged. The data source type cannot be modified.
|
|
7465
7469
|
*
|
|
7466
7470
|
* @param request - UpdateAgenticDataSourceRequest
|
|
7467
7471
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7571,7 +7575,7 @@ export default class Client extends OpenApi {
|
|
|
7571
7575
|
* Updates the connection, authentication, or display information of an existing data source.
|
|
7572
7576
|
*
|
|
7573
7577
|
* @remarks
|
|
7574
|
-
* Only the parameters passed in the current request are modified.
|
|
7578
|
+
* Only the parameters passed in the current request are modified. Unspecified parameters remain unchanged. The data source type cannot be modified.
|
|
7575
7579
|
*
|
|
7576
7580
|
* @param request - UpdateAgenticDataSourceRequest
|
|
7577
7581
|
* @returns UpdateAgenticDataSourceResponse
|
|
@@ -5,8 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateDataAgentSkillMetaRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The skill description.
|
|
9
|
-
* - Optional. If not specified, the system parses the ZIP package specified by UploadLocation to obtain the skill description.
|
|
8
|
+
* The skill description. This parameter is optional. If not specified, the backend parses the ZIP package specified by UploadLocation to obtain the skill description.
|
|
10
9
|
*
|
|
11
10
|
* @example
|
|
12
11
|
* This is a demo skill description.
|
|
@@ -14,8 +13,15 @@ export class CreateDataAgentSkillMetaRequest extends $dara.Model {
|
|
|
14
13
|
description?: string;
|
|
15
14
|
/**
|
|
16
15
|
* @remarks
|
|
17
|
-
* The skill name.
|
|
18
|
-
*
|
|
16
|
+
* The skill ID. If you specify this parameter, the uploaded skill overwrites the existing skill and replaces the original skill content. Note: The name of the original skill and the newly uploaded skill must be identical.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ski-04pomiln*************j0
|
|
20
|
+
*/
|
|
21
|
+
skillId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The skill name. This parameter is optional. If not specified, the backend parses the ZIP package specified by UploadLocation to obtain the skill name.
|
|
19
25
|
*
|
|
20
26
|
* @example
|
|
21
27
|
* data-query-skill
|
|
@@ -23,8 +29,8 @@ export class CreateDataAgentSkillMetaRequest extends $dara.Model {
|
|
|
23
29
|
skillName?: string;
|
|
24
30
|
/**
|
|
25
31
|
* @remarks
|
|
26
|
-
* The full path
|
|
27
|
-
* - Format:
|
|
32
|
+
* The full path for the skill ZIP file upload.
|
|
33
|
+
* - Format: The UploadDir field returned by the DescribeSkillFileUploadSignature operation concatenated with the file name.
|
|
28
34
|
* - Example: ${UploadDir}/${Filename}
|
|
29
35
|
*/
|
|
30
36
|
uploadLocation?: string;
|
|
@@ -39,6 +45,7 @@ export class CreateDataAgentSkillMetaRequest extends $dara.Model {
|
|
|
39
45
|
static names(): { [key: string]: string } {
|
|
40
46
|
return {
|
|
41
47
|
description: 'Description',
|
|
48
|
+
skillId: 'SkillId',
|
|
42
49
|
skillName: 'SkillName',
|
|
43
50
|
uploadLocation: 'UploadLocation',
|
|
44
51
|
workspaceId: 'WorkspaceId',
|
|
@@ -48,6 +55,7 @@ export class CreateDataAgentSkillMetaRequest extends $dara.Model {
|
|
|
48
55
|
static types(): { [key: string]: any } {
|
|
49
56
|
return {
|
|
50
57
|
description: 'string',
|
|
58
|
+
skillId: 'string',
|
|
51
59
|
skillName: 'string',
|
|
52
60
|
uploadLocation: 'string',
|
|
53
61
|
workspaceId: 'string',
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateDataAgentSkillMetaResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The Alibaba Cloud account
|
|
8
|
+
* The ID of the parent Alibaba Cloud account.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 16738266********
|
|
@@ -13,7 +13,7 @@ export class CreateDataAgentSkillMetaResponseBodyData extends $dara.Model {
|
|
|
13
13
|
aliyunParentUid?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The Alibaba Cloud
|
|
16
|
+
* The Alibaba Cloud account ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 20372822********
|
|
@@ -37,9 +37,7 @@ export class CreateDataAgentSkillMetaResponseBodyData extends $dara.Model {
|
|
|
37
37
|
description?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* Indicates whether the skill is available. Valid values:
|
|
41
|
-
* - true: The skill is available.
|
|
42
|
-
* - false: The skill is not available.
|
|
40
|
+
* Indicates whether the skill is available. Valid values: true and false.
|
|
43
41
|
*
|
|
44
42
|
* @example
|
|
45
43
|
* true
|
|
@@ -55,7 +53,7 @@ export class CreateDataAgentSkillMetaResponseBodyData extends $dara.Model {
|
|
|
55
53
|
gmtCreated?: string;
|
|
56
54
|
/**
|
|
57
55
|
* @remarks
|
|
58
|
-
* The
|
|
56
|
+
* The modification time.
|
|
59
57
|
*
|
|
60
58
|
* @example
|
|
61
59
|
* 2025-12-11T14:04:32.000+00:00
|
|
@@ -63,8 +61,7 @@ export class CreateDataAgentSkillMetaResponseBodyData extends $dara.Model {
|
|
|
63
61
|
gmtModified?: string;
|
|
64
62
|
/**
|
|
65
63
|
* @remarks
|
|
66
|
-
* The skill parsing
|
|
67
|
-
* - This message is returned when the skill status is INVALID.
|
|
64
|
+
* The error message for skill parsing. This message is returned when the skill status is INVALID.
|
|
68
65
|
*
|
|
69
66
|
* @example
|
|
70
67
|
* SKILL.md file not exist.
|