@alicloud/dms20250414 4.3.1 → 4.3.3
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 +26 -26
- package/dist/client.js +41 -26
- package/dist/client.js.map +1 -1
- package/dist/models/AddAgenticDataSourceRequest.d.ts +16 -27
- package/dist/models/AddAgenticDataSourceRequest.js +2 -0
- package/dist/models/AddAgenticDataSourceRequest.js.map +1 -1
- package/dist/models/AddAgenticDataSourceResponseBody.d.ts +23 -20
- package/dist/models/AddAgenticDataSourceResponseBody.js +2 -0
- package/dist/models/AddAgenticDataSourceResponseBody.js.map +1 -1
- package/dist/models/AgenticDatabaseEngineMeta.d.ts +28 -0
- package/dist/models/AgenticDatabaseEngineMeta.js.map +1 -1
- package/dist/models/CreateAgenticSqlExecuteCredentialResponseBody.d.ts +2 -2
- package/dist/models/CreateDataAgentSkillMetaRequest.d.ts +8 -5
- package/dist/models/CreateDataAgentSkillMetaRequest.js.map +1 -1
- package/dist/models/CreateDataAgentSkillMetaResponseBody.d.ts +6 -6
- package/dist/models/CreateDataAgentSkillMetaResponseBody.js.map +1 -1
- package/dist/models/CreateDataAgentWorkspaceRequest.d.ts +11 -3
- package/dist/models/CreateDataAgentWorkspaceRequest.js +2 -0
- package/dist/models/CreateDataAgentWorkspaceRequest.js.map +1 -1
- package/dist/models/CreateDataAgentWorkspaceResponseBody.d.ts +16 -9
- package/dist/models/CreateDataAgentWorkspaceResponseBody.js +2 -0
- package/dist/models/CreateDataAgentWorkspaceResponseBody.js.map +1 -1
- package/dist/models/DeleteAgenticDataSourceRequest.d.ts +1 -1
- package/dist/models/DeleteAgenticDataSourceResponseBody.d.ts +5 -5
- package/dist/models/GetAgenticDataSourceResponseBody.d.ts +43 -35
- package/dist/models/GetAgenticDataSourceResponseBody.js +2 -0
- package/dist/models/GetAgenticDataSourceResponseBody.js.map +1 -1
- package/dist/models/GetAgenticDatabaseRequest.d.ts +1 -1
- package/dist/models/GetAgenticDatabaseResponseBody.d.ts +3 -3
- package/dist/models/GetDataAgentWorkspaceInfoRequest.d.ts +1 -1
- package/dist/models/GetDataAgentWorkspaceInfoResponseBody.d.ts +13 -5
- package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js +2 -0
- package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js.map +1 -1
- package/dist/models/GetListMcpServerToolsResultRequest.d.ts +3 -3
- package/dist/models/GetListMcpServerToolsResultResponseBody.d.ts +10 -15
- package/dist/models/GetListMcpServerToolsResultResponseBody.js.map +1 -1
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesRequest.d.ts +9 -12
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesRequest.js.map +1 -1
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.d.ts +13 -20
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.js.map +1 -1
- package/dist/models/ListAgenticSecurityPoliciesRequest.d.ts +8 -5
- package/dist/models/ListAgenticSecurityPoliciesRequest.js.map +1 -1
- package/dist/models/ListAgenticSecurityPoliciesResponseBody.d.ts +13 -13
- package/dist/models/ListAgenticSqlExecutionHistoriesRequest.d.ts +7 -8
- package/dist/models/ListAgenticSqlExecutionHistoriesRequest.js.map +1 -1
- package/dist/models/ListAgenticSqlExecutionHistoriesResponseBody.d.ts +18 -16
- package/dist/models/ListAgenticSqlExecutionHistoriesResponseBody.js.map +1 -1
- package/dist/models/ListDataAgentWorkspaceRequest.d.ts +3 -3
- package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +14 -6
- package/dist/models/ListDataAgentWorkspaceResponseBody.js +2 -0
- package/dist/models/ListDataAgentWorkspaceResponseBody.js.map +1 -1
- package/dist/models/TestAgenticDataSourceConnectionRequest.d.ts +32 -20
- package/dist/models/TestAgenticDataSourceConnectionRequest.js +2 -0
- package/dist/models/TestAgenticDataSourceConnectionRequest.js.map +1 -1
- package/dist/models/TestAgenticDataSourceConnectionResponseBody.d.ts +4 -4
- package/dist/models/UpdateAgenticDataSourceRequest.d.ts +36 -28
- package/dist/models/UpdateAgenticDataSourceRequest.js +2 -0
- package/dist/models/UpdateAgenticDataSourceRequest.js.map +1 -1
- package/dist/models/UpdateAgenticDataSourceResponseBody.d.ts +19 -11
- package/dist/models/UpdateAgenticDataSourceResponseBody.js +2 -0
- package/dist/models/UpdateAgenticDataSourceResponseBody.js.map +1 -1
- package/dist/models/UpdateDataAgentSpaceInfoRequest.d.ts +12 -4
- package/dist/models/UpdateDataAgentSpaceInfoRequest.js +2 -0
- package/dist/models/UpdateDataAgentSpaceInfoRequest.js.map +1 -1
- package/dist/models/UpdateDataAgentSpaceInfoResponseBody.d.ts +19 -11
- package/dist/models/UpdateDataAgentSpaceInfoResponseBody.js +2 -0
- package/dist/models/UpdateDataAgentSpaceInfoResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +46 -26
- package/src/models/AddAgenticDataSourceRequest.ts +18 -27
- package/src/models/AddAgenticDataSourceResponseBody.ts +25 -20
- package/src/models/AgenticDatabaseEngineMeta.ts +28 -0
- package/src/models/CreateAgenticSqlExecuteCredentialResponseBody.ts +2 -2
- package/src/models/CreateDataAgentSkillMetaRequest.ts +8 -5
- package/src/models/CreateDataAgentSkillMetaResponseBody.ts +7 -7
- package/src/models/CreateDataAgentWorkspaceRequest.ts +13 -3
- package/src/models/CreateDataAgentWorkspaceResponseBody.ts +18 -9
- package/src/models/DeleteAgenticDataSourceRequest.ts +1 -1
- package/src/models/DeleteAgenticDataSourceResponseBody.ts +5 -5
- package/src/models/GetAgenticDataSourceResponseBody.ts +45 -35
- package/src/models/GetAgenticDatabaseRequest.ts +1 -1
- package/src/models/GetAgenticDatabaseResponseBody.ts +3 -3
- package/src/models/GetDataAgentWorkspaceInfoRequest.ts +1 -1
- package/src/models/GetDataAgentWorkspaceInfoResponseBody.ts +15 -5
- package/src/models/GetListMcpServerToolsResultRequest.ts +3 -3
- package/src/models/GetListMcpServerToolsResultResponseBody.ts +10 -15
- package/src/models/ListAgenticGlobalSqlExecutionHistoriesRequest.ts +9 -12
- package/src/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.ts +13 -20
- package/src/models/ListAgenticSecurityPoliciesRequest.ts +8 -5
- package/src/models/ListAgenticSecurityPoliciesResponseBody.ts +13 -13
- package/src/models/ListAgenticSqlExecutionHistoriesRequest.ts +7 -8
- package/src/models/ListAgenticSqlExecutionHistoriesResponseBody.ts +18 -16
- package/src/models/ListDataAgentWorkspaceRequest.ts +3 -3
- package/src/models/ListDataAgentWorkspaceResponseBody.ts +16 -6
- package/src/models/TestAgenticDataSourceConnectionRequest.ts +34 -20
- package/src/models/TestAgenticDataSourceConnectionResponseBody.ts +4 -4
- package/src/models/UpdateAgenticDataSourceRequest.ts +38 -28
- package/src/models/UpdateAgenticDataSourceResponseBody.ts +21 -11
- package/src/models/UpdateDataAgentSpaceInfoRequest.ts +14 -4
- package/src/models/UpdateDataAgentSpaceInfoResponseBody.ts +21 -11
|
@@ -5,15 +5,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListAgenticSecurityPoliciesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to include archived policies in the query scope
|
|
8
|
+
* Specifies whether to include archived policies in the user policy query scope. Valid values:
|
|
9
9
|
* - true: Includes archived policies.
|
|
10
10
|
* - false: Does not include archived policies.
|
|
11
|
-
* Default value: false. When
|
|
11
|
+
* Default value: false. When you query archived policies, do not specify PolicyStatus. If you specify ON or OFF, only user policies in the corresponding state are returned. This parameter does not affect system default policies.
|
|
12
12
|
*/
|
|
13
13
|
includeArchived?: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The page number
|
|
16
|
+
* The page number for querying user policies. Pages start from 1. Default value: 1. Only user policies are paginated. System default policies are returned separately in each call.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 1
|
|
@@ -21,7 +21,10 @@ export class ListAgenticSecurityPoliciesRequest extends $dara.Model {
|
|
|
21
21
|
page?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The filter condition for the user policy status. Valid values:
|
|
24
|
+
* The filter condition for the user policy status. Valid values:
|
|
25
|
+
* - ON: The policy is enabled.
|
|
26
|
+
* - OFF: The policy is disabled.
|
|
27
|
+
* If this parameter is not specified or contains only whitespace characters, policies are not filtered by status. You cannot specify ARCHIVED. To query archived user policies, do not specify this parameter and set IncludeArchived to true. This parameter does not affect system default policies.
|
|
25
28
|
*
|
|
26
29
|
* @example
|
|
27
30
|
* ON
|
|
@@ -29,7 +32,7 @@ export class ListAgenticSecurityPoliciesRequest extends $dara.Model {
|
|
|
29
32
|
policyStatus?: string;
|
|
30
33
|
/**
|
|
31
34
|
* @remarks
|
|
32
|
-
* The number of user policies to query on each page. Valid values: 1 to 100. Default value: 20. In addition, each call returns up to Size enabled system default policies. Therefore, the number of
|
|
35
|
+
* The number of user policies to query on each page. Valid values: 1 to 100. Default value: 20. In addition, each call returns up to Size enabled system default policies. Therefore, the number of returned Data entries may be greater than Size.
|
|
33
36
|
*
|
|
34
37
|
* @example
|
|
35
38
|
* 20
|
|
@@ -13,7 +13,7 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
13
13
|
aliyunAccountUid?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID of the system default policy inherited by the user policy. This
|
|
16
|
+
* The ID of the system default policy inherited by the user policy. This parameter is empty when no inheritance relationship is configured. This value is not returned for system default policies.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* sp-sys-default
|
|
@@ -21,7 +21,7 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
21
21
|
basePolicyId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The description of the security policy. The description of a system default policy is returned in the language of the
|
|
24
|
+
* The description of the security policy. The description of a system default policy is returned in the language of the call context.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* Read-only access policy for analytics
|
|
@@ -29,7 +29,7 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
29
29
|
description?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The time when the security policy was created. The time is in the yyyy-MM-dd HH:mm:ss format and does not
|
|
32
|
+
* The time when the security policy was created. The time is in the yyyy-MM-dd HH:mm:ss format and does not include a time zone offset.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 2026-10-13 14:30:00
|
|
@@ -37,7 +37,7 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
37
37
|
gmtCreate?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The time when the security policy was last modified. The time is in the yyyy-MM-dd HH:mm:ss format and does not
|
|
40
|
+
* The time when the security policy was last modified. The time is in the yyyy-MM-dd HH:mm:ss format and does not include a time zone offset.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* 2026-10-13 14:35:00
|
|
@@ -45,7 +45,7 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
45
45
|
gmtModified?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The business ID of the security policy.
|
|
48
|
+
* The business ID of the security policy. The ID of a system default policy starts with sp-sys-, and the ID of a user policy starts with sp-usr-.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* sp-sys-default
|
|
@@ -53,7 +53,7 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
53
53
|
policyId?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The
|
|
56
|
+
* The policy name. The name of a system default policy is returned in the language of the call context.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* team-readonly-policy
|
|
@@ -62,9 +62,9 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
64
|
* The current state of the security policy. Valid values:
|
|
65
|
-
* - ON:
|
|
66
|
-
* - OFF:
|
|
67
|
-
* - ARCHIVED:
|
|
65
|
+
* - ON: The policy is enabled.
|
|
66
|
+
* - OFF: The policy is disabled.
|
|
67
|
+
* - ARCHIVED: The policy is archived.
|
|
68
68
|
* All system default policies returned by this operation are in the ON state.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
@@ -73,7 +73,7 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
73
73
|
policyStatus?: string;
|
|
74
74
|
/**
|
|
75
75
|
* @remarks
|
|
76
|
-
*
|
|
76
|
+
* Indicates whether the policy is read-only. Valid values:
|
|
77
77
|
* - true: The policy is a system default policy.
|
|
78
78
|
* - false: The policy is a user policy of the current account.
|
|
79
79
|
*/
|
|
@@ -88,7 +88,7 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
88
88
|
tags?: string;
|
|
89
89
|
/**
|
|
90
90
|
* @remarks
|
|
91
|
-
* The identifier of the operator
|
|
91
|
+
* The identifier of the operator who last modified the policy. For user policies, the operator ID is recorded first. If no operator ID is available, the UID of the current Alibaba Cloud account is recorded.
|
|
92
92
|
*
|
|
93
93
|
* @example
|
|
94
94
|
* system
|
|
@@ -138,7 +138,7 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
138
138
|
export class ListAgenticSecurityPoliciesResponseBody extends $dara.Model {
|
|
139
139
|
/**
|
|
140
140
|
* @remarks
|
|
141
|
-
* The list of security policies returned by
|
|
141
|
+
* The list of security policies returned by the current 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.
|
|
142
142
|
*/
|
|
143
143
|
data?: ListAgenticSecurityPoliciesResponseBodyData[];
|
|
144
144
|
/**
|
|
@@ -159,7 +159,7 @@ export class ListAgenticSecurityPoliciesResponseBody extends $dara.Model {
|
|
|
159
159
|
errorMessage?: string;
|
|
160
160
|
/**
|
|
161
161
|
* @remarks
|
|
162
|
-
* The request ID, which is used to locate and trace
|
|
162
|
+
* The request ID, which is used to locate and trace the call.
|
|
163
163
|
*
|
|
164
164
|
* @example
|
|
165
165
|
* request-1234567890
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListAgenticSqlExecutionHistoriesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the actor. User IDs start with usr_, and agent IDs start with agt_. If
|
|
8
|
+
* The ID of the actor. User IDs start with usr_, and agent IDs start with agt_. If not specified, a user queries their own history and the history of their agents, while an agent queries only its own history. If specified, exact matching is applied, and the value must be the ID of the current user or an agent owned by the current user.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* usr_10001
|
|
@@ -21,7 +21,7 @@ export class ListAgenticSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
21
21
|
actorName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The type of the actor for exact matching. Valid values: HUMAN
|
|
24
|
+
* The type of the actor for exact matching. Valid values: HUMAN, AGENT.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* HUMAN
|
|
@@ -45,7 +45,7 @@ export class ListAgenticSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
45
45
|
databaseUuid?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The end time of the query
|
|
48
|
+
* The end time of the query, in the yyyy-MM-dd HH:mm:ss format. If not specified, the default is the current time. If the format cannot be parsed or the end time is earlier than the start time, the request fails.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 2026-06-01 00:00:00
|
|
@@ -53,7 +53,7 @@ export class ListAgenticSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
53
53
|
endTime?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The page number
|
|
56
|
+
* The page number, starting from 1. Default value: 1.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* 1
|
|
@@ -61,10 +61,9 @@ export class ListAgenticSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
61
61
|
page?: number;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The execution scenario for exact matching. Valid values:
|
|
64
|
+
* The execution scenario for exact matching. If not specified, both scenarios are queried. Valid values:
|
|
65
65
|
* - AGENT_QUERY: The agent directly executes the SQL statement.
|
|
66
|
-
* - WORKFLOW_QUERY: The SQL statement is asynchronously
|
|
67
|
-
* If you do not specify this parameter, both scenarios are queried.
|
|
66
|
+
* - WORKFLOW_QUERY: The SQL statement is executed asynchronously through a workflow.
|
|
68
67
|
*
|
|
69
68
|
* @example
|
|
70
69
|
* AGENT_QUERY
|
|
@@ -96,7 +95,7 @@ export class ListAgenticSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
96
95
|
sqlType?: string;
|
|
97
96
|
/**
|
|
98
97
|
* @remarks
|
|
99
|
-
* The start time of the query
|
|
98
|
+
* The start time of the query, in the yyyy-MM-dd HH:mm:ss format. If not specified, the default is the last 7 days. If the time is earlier than 730 days ago or the format cannot be parsed, the query starts from 730 days ago.
|
|
100
99
|
*
|
|
101
100
|
* @example
|
|
102
101
|
* 2026-01-01 00:00:00
|
|
@@ -21,7 +21,9 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
21
21
|
actorName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The type of the actor.
|
|
24
|
+
* The type of the actor. Valid values:
|
|
25
|
+
* - HUMAN: User.
|
|
26
|
+
* - AGENT: Agent.
|
|
25
27
|
*
|
|
26
28
|
* @example
|
|
27
29
|
* HUMAN
|
|
@@ -37,7 +39,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
37
39
|
affectedRows?: number;
|
|
38
40
|
/**
|
|
39
41
|
* @remarks
|
|
40
|
-
* The ID of the user to
|
|
42
|
+
* The ID of the user to whom the agent belongs, starting with usr_.
|
|
41
43
|
*
|
|
42
44
|
* @example
|
|
43
45
|
* usr_10001
|
|
@@ -45,7 +47,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
45
47
|
agentOwnerId?: string;
|
|
46
48
|
/**
|
|
47
49
|
* @remarks
|
|
48
|
-
* The catalog UUID to which
|
|
50
|
+
* The catalog UUID to which this execution belongs.
|
|
49
51
|
*
|
|
50
52
|
* @example
|
|
51
53
|
* mc-HZ-OfjcNc2z***
|
|
@@ -53,7 +55,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
53
55
|
catalogUuid?: string;
|
|
54
56
|
/**
|
|
55
57
|
* @remarks
|
|
56
|
-
* The IP address of the client that initiated the execution, excluding the port. This
|
|
58
|
+
* The IP address of the client that initiated the execution, excluding the port. This field is empty in workflow scenarios or when not recorded.
|
|
57
59
|
*
|
|
58
60
|
* @example
|
|
59
61
|
* 203.0.113.10
|
|
@@ -77,7 +79,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
77
79
|
databaseSearchName?: string;
|
|
78
80
|
/**
|
|
79
81
|
* @remarks
|
|
80
|
-
* The database UUID to which
|
|
82
|
+
* The database UUID to which this execution belongs.
|
|
81
83
|
*
|
|
82
84
|
* @example
|
|
83
85
|
* md-HZ-fp9K7r***
|
|
@@ -85,7 +87,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
85
87
|
databaseUuid?: string;
|
|
86
88
|
/**
|
|
87
89
|
* @remarks
|
|
88
|
-
* The error message
|
|
90
|
+
* The error message when the execution fails.
|
|
89
91
|
*
|
|
90
92
|
* @example
|
|
91
93
|
* syntax error
|
|
@@ -93,7 +95,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
93
95
|
error?: string;
|
|
94
96
|
/**
|
|
95
97
|
* @remarks
|
|
96
|
-
* The
|
|
98
|
+
* The actually executed SQL statement.
|
|
97
99
|
*
|
|
98
100
|
* @example
|
|
99
101
|
* SELECT 1
|
|
@@ -120,7 +122,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
120
122
|
originalSql?: string;
|
|
121
123
|
/**
|
|
122
124
|
* @remarks
|
|
123
|
-
* The query ID of
|
|
125
|
+
* The query ID of this execution.
|
|
124
126
|
*
|
|
125
127
|
* @example
|
|
126
128
|
* trace-10001
|
|
@@ -138,7 +140,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
138
140
|
* @remarks
|
|
139
141
|
* The execution scenario. Valid values:
|
|
140
142
|
* - AGENT_QUERY: The agent directly executes the SQL statement.
|
|
141
|
-
* - WORKFLOW_QUERY: The SQL statement is asynchronously
|
|
143
|
+
* - WORKFLOW_QUERY: The SQL statement is executed asynchronously through a workflow.
|
|
142
144
|
*
|
|
143
145
|
* @example
|
|
144
146
|
* AGENT_QUERY
|
|
@@ -154,7 +156,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
154
156
|
sqlType?: string;
|
|
155
157
|
/**
|
|
156
158
|
* @remarks
|
|
157
|
-
* The
|
|
159
|
+
* The execution start time, in the yyyy-MM-dd HH:mm:ss format.
|
|
158
160
|
*
|
|
159
161
|
* @example
|
|
160
162
|
* 2026-01-01 00:00:00
|
|
@@ -162,7 +164,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
162
164
|
startTime?: string;
|
|
163
165
|
/**
|
|
164
166
|
* @remarks
|
|
165
|
-
* The workflow ID. This
|
|
167
|
+
* The workflow ID. This field may be empty in non-workflow scenarios.
|
|
166
168
|
*
|
|
167
169
|
* @example
|
|
168
170
|
* wf-10001
|
|
@@ -235,7 +237,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBody extends $dara.Model {
|
|
|
235
237
|
data?: ListAgenticSqlExecutionHistoriesResponseBodyData[];
|
|
236
238
|
/**
|
|
237
239
|
* @remarks
|
|
238
|
-
* The error code. This
|
|
240
|
+
* The error code. This field is empty when the request is successful.
|
|
239
241
|
*
|
|
240
242
|
* @example
|
|
241
243
|
* INVALID_PARAMETER
|
|
@@ -259,14 +261,14 @@ export class ListAgenticSqlExecutionHistoriesResponseBody extends $dara.Model {
|
|
|
259
261
|
requestId?: string;
|
|
260
262
|
/**
|
|
261
263
|
* @remarks
|
|
262
|
-
* Indicates whether the request
|
|
263
|
-
* - true: The request
|
|
264
|
-
* - false: The request
|
|
264
|
+
* Indicates whether the request is successful. Valid values:
|
|
265
|
+
* - true: The request is successful.
|
|
266
|
+
* - false: The request fails.
|
|
265
267
|
*/
|
|
266
268
|
success?: boolean;
|
|
267
269
|
/**
|
|
268
270
|
* @remarks
|
|
269
|
-
* The total number of entries that meet the
|
|
271
|
+
* The total number of entries that meet the conditions.
|
|
270
272
|
*
|
|
271
273
|
* @example
|
|
272
274
|
* 1
|
|
@@ -21,7 +21,7 @@ export class ListDataAgentWorkspaceRequest extends $dara.Model {
|
|
|
21
21
|
DMSUnit?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The
|
|
24
|
+
* The page size.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* no use
|
|
@@ -63,7 +63,7 @@ export class ListDataAgentWorkspaceRequest extends $dara.Model {
|
|
|
63
63
|
pageNumber?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The number of
|
|
66
|
+
* The number of records per page.
|
|
67
67
|
*
|
|
68
68
|
* This parameter is required.
|
|
69
69
|
*
|
|
@@ -81,7 +81,7 @@ export class ListDataAgentWorkspaceRequest extends $dara.Model {
|
|
|
81
81
|
workspaceName?: string;
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
|
-
* The workspace type
|
|
84
|
+
* The workspace type.
|
|
85
85
|
*
|
|
86
86
|
* This parameter is required.
|
|
87
87
|
*
|
|
@@ -5,7 +5,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The workspace configuration items.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* {sql_config:null}
|
|
12
|
+
*/
|
|
13
|
+
config?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The time when the workspace was created. The value is a timestamp in milliseconds.
|
|
9
17
|
*
|
|
10
18
|
* @example
|
|
11
19
|
* 1765960516000
|
|
@@ -45,7 +53,7 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
|
|
|
45
53
|
description?: string;
|
|
46
54
|
/**
|
|
47
55
|
* @remarks
|
|
48
|
-
* Indicates whether
|
|
56
|
+
* Indicates whether workspace sessions are shared.
|
|
49
57
|
*
|
|
50
58
|
* @example
|
|
51
59
|
* true
|
|
@@ -53,7 +61,7 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
|
|
|
53
61
|
isSessionShareEnabled?: boolean;
|
|
54
62
|
/**
|
|
55
63
|
* @remarks
|
|
56
|
-
* The
|
|
64
|
+
* The time when the workspace was last modified. The value is a timestamp in milliseconds.
|
|
57
65
|
*
|
|
58
66
|
* @example
|
|
59
67
|
* 1765961516000
|
|
@@ -61,7 +69,7 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
|
|
|
61
69
|
modifyTime?: number;
|
|
62
70
|
/**
|
|
63
71
|
* @remarks
|
|
64
|
-
* The
|
|
72
|
+
* The name of the user\\"s role in the workspace.
|
|
65
73
|
*
|
|
66
74
|
* @example
|
|
67
75
|
* admin
|
|
@@ -125,6 +133,7 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
|
|
|
125
133
|
workspaceStatus?: string;
|
|
126
134
|
static names(): { [key: string]: string } {
|
|
127
135
|
return {
|
|
136
|
+
config: 'Config',
|
|
128
137
|
createTime: 'CreateTime',
|
|
129
138
|
creator: 'Creator',
|
|
130
139
|
creatorName: 'CreatorName',
|
|
@@ -145,6 +154,7 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
|
|
|
145
154
|
|
|
146
155
|
static types(): { [key: string]: any } {
|
|
147
156
|
return {
|
|
157
|
+
config: 'string',
|
|
148
158
|
createTime: 'number',
|
|
149
159
|
creator: 'string',
|
|
150
160
|
creatorName: 'string',
|
|
@@ -266,7 +276,7 @@ export class ListDataAgentWorkspaceResponseBody extends $dara.Model {
|
|
|
266
276
|
errorMessage?: string;
|
|
267
277
|
/**
|
|
268
278
|
* @remarks
|
|
269
|
-
* The
|
|
279
|
+
* The page size.
|
|
270
280
|
*
|
|
271
281
|
* @example
|
|
272
282
|
* nu use
|
|
@@ -282,7 +292,7 @@ export class ListDataAgentWorkspaceResponseBody extends $dara.Model {
|
|
|
282
292
|
nextToken?: string;
|
|
283
293
|
/**
|
|
284
294
|
* @remarks
|
|
285
|
-
* The request
|
|
295
|
+
* The ID of the request.
|
|
286
296
|
*
|
|
287
297
|
* @example
|
|
288
298
|
* E0D2-*****-A63B6
|
|
@@ -5,7 +5,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The name of the AnalyticDB for MySQL Spark resource group. This parameter takes effect only when DbType is set to ADB_MYSQL_SPARK. You must specify a resource group when connecting to this type of data source. This parameter is independent of Schema (database name) and they cannot replace each other.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* resourceGroup1
|
|
12
|
+
*/
|
|
13
|
+
adbSparkResourceGroup?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The alias. You can leave this parameter empty when testing a connection. This operation does not create or modify a data source.
|
|
9
17
|
*
|
|
10
18
|
* @example
|
|
11
19
|
* demo_mysql
|
|
@@ -29,7 +37,11 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
|
29
37
|
authPassword?: string;
|
|
30
38
|
/**
|
|
31
39
|
* @remarks
|
|
32
|
-
* The authentication type. This parameter is optional. Valid values:
|
|
40
|
+
* The authentication type. This parameter is optional. Valid values:
|
|
41
|
+
* - -1: No authentication required.
|
|
42
|
+
* - 0: Username and password.
|
|
43
|
+
* - 1: Password only.
|
|
44
|
+
* - 2: Password-free.
|
|
33
45
|
*
|
|
34
46
|
* @example
|
|
35
47
|
* 0
|
|
@@ -37,7 +49,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
|
37
49
|
authType?: number;
|
|
38
50
|
/**
|
|
39
51
|
* @remarks
|
|
40
|
-
* The catalog name. You can leave this parameter empty when testing a connection. This
|
|
52
|
+
* The catalog name. You can leave this parameter empty when testing a connection. This operation does not create a metadata catalog.
|
|
41
53
|
*
|
|
42
54
|
* @example
|
|
43
55
|
* demo_catalog
|
|
@@ -45,7 +57,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
|
45
57
|
catalogName?: string;
|
|
46
58
|
/**
|
|
47
59
|
* @remarks
|
|
48
|
-
* The UUID of the data source.
|
|
60
|
+
* The UUID of the data source. Specify this parameter when testing an existing data source. If no new password is passed, the saved password is reused. Leave this parameter empty when testing a new data source.
|
|
49
61
|
*
|
|
50
62
|
* @example
|
|
51
63
|
* cn-hangzhou_a1b2c3d4e5f6
|
|
@@ -53,7 +65,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
|
53
65
|
dataSourceUuid?: string;
|
|
54
66
|
/**
|
|
55
67
|
* @remarks
|
|
56
|
-
* The type of the data source. Use uppercase letters. Do not pass numbers. Valid values: MYSQL, POSTGRESQL, ORACLE, SQLSERVER, MARIADB, POLARDB, POLARDB_POSTGRESQL, POLARDB_ORACLE, OCEANBASEX, DRDS, ADB_MYSQL, ADB_POSTGRESQL, CLICKHOUSE, SELECTDB, STARROCKS, HOLOGRES, MAXCOMPUTE, ES_REST, and TRINO.
|
|
68
|
+
* The type of the data source. Use uppercase letters for the identifier. Do not pass numbers. Valid values: MYSQL, POSTGRESQL, ORACLE, SQLSERVER, MARIADB, POLARDB, POLARDB_POSTGRESQL, POLARDB_ORACLE, OCEANBASEX, DRDS, ADB_MYSQL, ADB_POSTGRESQL, CLICKHOUSE, SELECTDB, STARROCKS, HOLOGRES, MAXCOMPUTE, ES_REST, and TRINO.
|
|
57
69
|
*
|
|
58
70
|
* This parameter is required.
|
|
59
71
|
*
|
|
@@ -71,7 +83,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
|
71
83
|
envType?: string;
|
|
72
84
|
/**
|
|
73
85
|
* @remarks
|
|
74
|
-
* The domain name or IP address of the database. Do not include the protocol, path, or port. This parameter is optional. You can leave this parameter empty
|
|
86
|
+
* The domain name or IP address of the database. Do not include the protocol, path, or port. This parameter is optional. You can leave this parameter empty if you select an existing cloud instance and the address is automatically populated.
|
|
75
87
|
*
|
|
76
88
|
* @example
|
|
77
89
|
* mysql.example.com
|
|
@@ -79,7 +91,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
|
79
91
|
host?: string;
|
|
80
92
|
/**
|
|
81
93
|
* @remarks
|
|
82
|
-
* The ID of the cloud resource instance.
|
|
94
|
+
* The ID of the cloud resource instance. Specify this parameter when you select an existing cloud instance. You can leave this parameter empty when you enter an endpoint.
|
|
83
95
|
*
|
|
84
96
|
* @example
|
|
85
97
|
* rm-bp1234567890
|
|
@@ -89,10 +101,10 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
|
89
101
|
* @remarks
|
|
90
102
|
* The source of the data source. Valid values:
|
|
91
103
|
* - RDS: ApsaraDB instance.
|
|
92
|
-
* - PUBLIC_OWN:
|
|
93
|
-
* - ECS_OWN:
|
|
94
|
-
* - GATEWAY:
|
|
95
|
-
* - VPC_IDC:
|
|
104
|
+
* - PUBLIC_OWN: Self-managed database connected over the Internet.
|
|
105
|
+
* - ECS_OWN: Self-managed database hosted on an ECS instance.
|
|
106
|
+
* - GATEWAY: Database connected through Database Gateway.
|
|
107
|
+
* - VPC_IDC: Database connected through a VPC or data center.
|
|
96
108
|
*
|
|
97
109
|
* This parameter is required.
|
|
98
110
|
*
|
|
@@ -102,7 +114,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
|
102
114
|
instanceSource?: string;
|
|
103
115
|
/**
|
|
104
116
|
* @remarks
|
|
105
|
-
* The name of the KMS
|
|
117
|
+
* The name of the credential managed by Key Management Service (KMS). Specify this parameter when you use KMS to manage database credentials. Leave this parameter empty in other scenarios.
|
|
106
118
|
*
|
|
107
119
|
* @example
|
|
108
120
|
* datasource-secret
|
|
@@ -110,7 +122,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
|
110
122
|
kmsSecret?: string;
|
|
111
123
|
/**
|
|
112
124
|
* @remarks
|
|
113
|
-
* The service port of the database. This parameter is optional. You can leave this parameter empty
|
|
125
|
+
* The service port of the database. This parameter is optional. You can leave this parameter empty if you select an existing cloud instance and the port is automatically populated.
|
|
114
126
|
*
|
|
115
127
|
* @example
|
|
116
128
|
* 3306
|
|
@@ -118,7 +130,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
|
118
130
|
port?: number;
|
|
119
131
|
/**
|
|
120
132
|
* @remarks
|
|
121
|
-
* The complete ARN of the RAM role.
|
|
133
|
+
* The complete ARN of the Resource Access Management (RAM) role. Specify this parameter when you use an Alibaba Cloud RAM role to access the data source. Leave this parameter empty in other scenarios.
|
|
122
134
|
*
|
|
123
135
|
* @example
|
|
124
136
|
* acs:ram::123456789012****:role/DataSourceRole
|
|
@@ -126,7 +138,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
|
126
138
|
roleArn?: string;
|
|
127
139
|
/**
|
|
128
140
|
* @remarks
|
|
129
|
-
* The schema name. This parameter is optional. For ADB_POSTGRESQL, DRDS, POSTGRESQL, and POLARDB_POSTGRESQL,
|
|
141
|
+
* The schema name. This parameter is 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. Leave this parameter empty for other types.
|
|
130
142
|
*
|
|
131
143
|
* @example
|
|
132
144
|
* postgres
|
|
@@ -150,7 +162,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
|
150
162
|
snowflakeWarehouse?: string;
|
|
151
163
|
/**
|
|
152
164
|
* @remarks
|
|
153
|
-
* Specifies whether to synchronize the alias. This parameter is optional when testing a connection. This
|
|
165
|
+
* Specifies whether to synchronize the alias. This parameter is optional when testing a connection. This operation does not modify the data source name.
|
|
154
166
|
*
|
|
155
167
|
* @example
|
|
156
168
|
* 0
|
|
@@ -161,7 +173,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
|
161
173
|
* Specifies whether to enable SSL. Valid values:
|
|
162
174
|
* - 1: Enable.
|
|
163
175
|
* - 0: Disable.
|
|
164
|
-
* - -1: Use
|
|
176
|
+
* - -1: Use default settings.
|
|
165
177
|
* SSL is supported only for ADB_MYSQL, CLICKHOUSE, MARIADB, MYSQL, OCEANBASEX, POLARDB, SELECTDB, and STARROCKS. Leave this parameter empty for other types.
|
|
166
178
|
*
|
|
167
179
|
* @example
|
|
@@ -170,7 +182,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
|
170
182
|
useSsl?: number;
|
|
171
183
|
/**
|
|
172
184
|
* @remarks
|
|
173
|
-
* The ID of the vSwitch.
|
|
185
|
+
* The ID of the vSwitch. Specify this parameter when you access MaxCompute through a VPC. Leave this parameter empty in other scenarios.
|
|
174
186
|
*
|
|
175
187
|
* @example
|
|
176
188
|
* vsw-bp1234567890
|
|
@@ -178,7 +190,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
|
178
190
|
vSwitchId?: string;
|
|
179
191
|
/**
|
|
180
192
|
* @remarks
|
|
181
|
-
* The ID of the VPC.
|
|
193
|
+
* The ID of the VPC. Specify this parameter when you access MaxCompute through a VPC. Leave this parameter empty in other scenarios.
|
|
182
194
|
*
|
|
183
195
|
* @example
|
|
184
196
|
* vpc-bp1234567890
|
|
@@ -186,7 +198,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
|
186
198
|
vpcId?: string;
|
|
187
199
|
/**
|
|
188
200
|
* @remarks
|
|
189
|
-
* The zone
|
|
201
|
+
* The ID of the zone. Specify this parameter when you access MaxCompute through a VPC. Leave this parameter empty in other scenarios.
|
|
190
202
|
*
|
|
191
203
|
* @example
|
|
192
204
|
* cn-hangzhou-h
|
|
@@ -194,6 +206,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
|
194
206
|
zoneId?: string;
|
|
195
207
|
static names(): { [key: string]: string } {
|
|
196
208
|
return {
|
|
209
|
+
adbSparkResourceGroup: 'AdbSparkResourceGroup',
|
|
197
210
|
alias: 'Alias',
|
|
198
211
|
authAccount: 'AuthAccount',
|
|
199
212
|
authPassword: 'AuthPassword',
|
|
@@ -221,6 +234,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
|
221
234
|
|
|
222
235
|
static types(): { [key: string]: any } {
|
|
223
236
|
return {
|
|
237
|
+
adbSparkResourceGroup: 'string',
|
|
224
238
|
alias: 'string',
|
|
225
239
|
authAccount: 'string',
|
|
226
240
|
authPassword: 'string',
|
|
@@ -8,12 +8,12 @@ export class TestAgenticDataSourceConnectionResponseBodyData extends $dara.Model
|
|
|
8
8
|
* The description of the connection test result. This parameter is usually empty when the connection is successful, and returns the cause when the connection fails.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
* Connection timed out. Check the
|
|
11
|
+
* Connection timed out. Check the endpoint.
|
|
12
12
|
*/
|
|
13
13
|
message?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* Indicates whether the data source is connected.
|
|
16
|
+
* Indicates whether the data source is connected successfully.
|
|
17
17
|
*/
|
|
18
18
|
success?: boolean;
|
|
19
19
|
static names(): { [key: string]: string } {
|
|
@@ -63,7 +63,7 @@ export class TestAgenticDataSourceConnectionResponseBody extends $dara.Model {
|
|
|
63
63
|
errorMessage?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The
|
|
66
|
+
* The ID of the request.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* request-1234567890
|
|
@@ -71,7 +71,7 @@ export class TestAgenticDataSourceConnectionResponseBody extends $dara.Model {
|
|
|
71
71
|
requestId?: string;
|
|
72
72
|
/**
|
|
73
73
|
* @remarks
|
|
74
|
-
* Indicates whether the
|
|
74
|
+
* Indicates whether the call is successful.
|
|
75
75
|
*/
|
|
76
76
|
success?: boolean;
|
|
77
77
|
static names(): { [key: string]: string } {
|