@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.
Files changed (100) hide show
  1. package/dist/client.d.ts +26 -26
  2. package/dist/client.js +41 -26
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddAgenticDataSourceRequest.d.ts +16 -27
  5. package/dist/models/AddAgenticDataSourceRequest.js +2 -0
  6. package/dist/models/AddAgenticDataSourceRequest.js.map +1 -1
  7. package/dist/models/AddAgenticDataSourceResponseBody.d.ts +23 -20
  8. package/dist/models/AddAgenticDataSourceResponseBody.js +2 -0
  9. package/dist/models/AddAgenticDataSourceResponseBody.js.map +1 -1
  10. package/dist/models/AgenticDatabaseEngineMeta.d.ts +28 -0
  11. package/dist/models/AgenticDatabaseEngineMeta.js.map +1 -1
  12. package/dist/models/CreateAgenticSqlExecuteCredentialResponseBody.d.ts +2 -2
  13. package/dist/models/CreateDataAgentSkillMetaRequest.d.ts +8 -5
  14. package/dist/models/CreateDataAgentSkillMetaRequest.js.map +1 -1
  15. package/dist/models/CreateDataAgentSkillMetaResponseBody.d.ts +6 -6
  16. package/dist/models/CreateDataAgentSkillMetaResponseBody.js.map +1 -1
  17. package/dist/models/CreateDataAgentWorkspaceRequest.d.ts +11 -3
  18. package/dist/models/CreateDataAgentWorkspaceRequest.js +2 -0
  19. package/dist/models/CreateDataAgentWorkspaceRequest.js.map +1 -1
  20. package/dist/models/CreateDataAgentWorkspaceResponseBody.d.ts +16 -9
  21. package/dist/models/CreateDataAgentWorkspaceResponseBody.js +2 -0
  22. package/dist/models/CreateDataAgentWorkspaceResponseBody.js.map +1 -1
  23. package/dist/models/DeleteAgenticDataSourceRequest.d.ts +1 -1
  24. package/dist/models/DeleteAgenticDataSourceResponseBody.d.ts +5 -5
  25. package/dist/models/GetAgenticDataSourceResponseBody.d.ts +43 -35
  26. package/dist/models/GetAgenticDataSourceResponseBody.js +2 -0
  27. package/dist/models/GetAgenticDataSourceResponseBody.js.map +1 -1
  28. package/dist/models/GetAgenticDatabaseRequest.d.ts +1 -1
  29. package/dist/models/GetAgenticDatabaseResponseBody.d.ts +3 -3
  30. package/dist/models/GetDataAgentWorkspaceInfoRequest.d.ts +1 -1
  31. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.d.ts +13 -5
  32. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js +2 -0
  33. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js.map +1 -1
  34. package/dist/models/GetListMcpServerToolsResultRequest.d.ts +3 -3
  35. package/dist/models/GetListMcpServerToolsResultResponseBody.d.ts +10 -15
  36. package/dist/models/GetListMcpServerToolsResultResponseBody.js.map +1 -1
  37. package/dist/models/ListAgenticGlobalSqlExecutionHistoriesRequest.d.ts +9 -12
  38. package/dist/models/ListAgenticGlobalSqlExecutionHistoriesRequest.js.map +1 -1
  39. package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.d.ts +13 -20
  40. package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.js.map +1 -1
  41. package/dist/models/ListAgenticSecurityPoliciesRequest.d.ts +8 -5
  42. package/dist/models/ListAgenticSecurityPoliciesRequest.js.map +1 -1
  43. package/dist/models/ListAgenticSecurityPoliciesResponseBody.d.ts +13 -13
  44. package/dist/models/ListAgenticSqlExecutionHistoriesRequest.d.ts +7 -8
  45. package/dist/models/ListAgenticSqlExecutionHistoriesRequest.js.map +1 -1
  46. package/dist/models/ListAgenticSqlExecutionHistoriesResponseBody.d.ts +18 -16
  47. package/dist/models/ListAgenticSqlExecutionHistoriesResponseBody.js.map +1 -1
  48. package/dist/models/ListDataAgentWorkspaceRequest.d.ts +3 -3
  49. package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +14 -6
  50. package/dist/models/ListDataAgentWorkspaceResponseBody.js +2 -0
  51. package/dist/models/ListDataAgentWorkspaceResponseBody.js.map +1 -1
  52. package/dist/models/TestAgenticDataSourceConnectionRequest.d.ts +32 -20
  53. package/dist/models/TestAgenticDataSourceConnectionRequest.js +2 -0
  54. package/dist/models/TestAgenticDataSourceConnectionRequest.js.map +1 -1
  55. package/dist/models/TestAgenticDataSourceConnectionResponseBody.d.ts +4 -4
  56. package/dist/models/UpdateAgenticDataSourceRequest.d.ts +36 -28
  57. package/dist/models/UpdateAgenticDataSourceRequest.js +2 -0
  58. package/dist/models/UpdateAgenticDataSourceRequest.js.map +1 -1
  59. package/dist/models/UpdateAgenticDataSourceResponseBody.d.ts +19 -11
  60. package/dist/models/UpdateAgenticDataSourceResponseBody.js +2 -0
  61. package/dist/models/UpdateAgenticDataSourceResponseBody.js.map +1 -1
  62. package/dist/models/UpdateDataAgentSpaceInfoRequest.d.ts +12 -4
  63. package/dist/models/UpdateDataAgentSpaceInfoRequest.js +2 -0
  64. package/dist/models/UpdateDataAgentSpaceInfoRequest.js.map +1 -1
  65. package/dist/models/UpdateDataAgentSpaceInfoResponseBody.d.ts +19 -11
  66. package/dist/models/UpdateDataAgentSpaceInfoResponseBody.js +2 -0
  67. package/dist/models/UpdateDataAgentSpaceInfoResponseBody.js.map +1 -1
  68. package/package.json +1 -1
  69. package/src/client.ts +46 -26
  70. package/src/models/AddAgenticDataSourceRequest.ts +18 -27
  71. package/src/models/AddAgenticDataSourceResponseBody.ts +25 -20
  72. package/src/models/AgenticDatabaseEngineMeta.ts +28 -0
  73. package/src/models/CreateAgenticSqlExecuteCredentialResponseBody.ts +2 -2
  74. package/src/models/CreateDataAgentSkillMetaRequest.ts +8 -5
  75. package/src/models/CreateDataAgentSkillMetaResponseBody.ts +7 -7
  76. package/src/models/CreateDataAgentWorkspaceRequest.ts +13 -3
  77. package/src/models/CreateDataAgentWorkspaceResponseBody.ts +18 -9
  78. package/src/models/DeleteAgenticDataSourceRequest.ts +1 -1
  79. package/src/models/DeleteAgenticDataSourceResponseBody.ts +5 -5
  80. package/src/models/GetAgenticDataSourceResponseBody.ts +45 -35
  81. package/src/models/GetAgenticDatabaseRequest.ts +1 -1
  82. package/src/models/GetAgenticDatabaseResponseBody.ts +3 -3
  83. package/src/models/GetDataAgentWorkspaceInfoRequest.ts +1 -1
  84. package/src/models/GetDataAgentWorkspaceInfoResponseBody.ts +15 -5
  85. package/src/models/GetListMcpServerToolsResultRequest.ts +3 -3
  86. package/src/models/GetListMcpServerToolsResultResponseBody.ts +10 -15
  87. package/src/models/ListAgenticGlobalSqlExecutionHistoriesRequest.ts +9 -12
  88. package/src/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.ts +13 -20
  89. package/src/models/ListAgenticSecurityPoliciesRequest.ts +8 -5
  90. package/src/models/ListAgenticSecurityPoliciesResponseBody.ts +13 -13
  91. package/src/models/ListAgenticSqlExecutionHistoriesRequest.ts +7 -8
  92. package/src/models/ListAgenticSqlExecutionHistoriesResponseBody.ts +18 -16
  93. package/src/models/ListDataAgentWorkspaceRequest.ts +3 -3
  94. package/src/models/ListDataAgentWorkspaceResponseBody.ts +16 -6
  95. package/src/models/TestAgenticDataSourceConnectionRequest.ts +34 -20
  96. package/src/models/TestAgenticDataSourceConnectionResponseBody.ts +4 -4
  97. package/src/models/UpdateAgenticDataSourceRequest.ts +38 -28
  98. package/src/models/UpdateAgenticDataSourceResponseBody.ts +21 -11
  99. package/src/models/UpdateDataAgentSpaceInfoRequest.ts +14 -4
  100. 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 of user policies. Valid values:
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 querying archived policies, do not specify PolicyStatus. If ON or OFF is specified, only user policies in the corresponding state are returned. This parameter does not affect system default policies.
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 of the user policies to query. Pages start from 1. Default value: 1. Only user policies are paginated. System default policies are returned separately in each call.
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: ON (enabled) and OFF (disabled). 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.
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 items in the returned Data may be greater than Size.
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 value is empty if no inheritance relationship is configured. This value is not returned for system default policies.
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 request context.
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 contain a time zone offset.
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 contain a time zone offset.
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. A system default policy ID starts with sp-sys-, and a user policy ID starts with sp-usr-.
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 Policy Name of the security policy. The Policy Name of a system default policy is returned in the language of the request context.
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: Enabled.
66
- * - OFF: Disabled.
67
- * - ARCHIVED: 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
- * Specifies whether the policy is read-only. Valid values:
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 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.
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 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.
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 this call.
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 you do not specify this parameter, a user queries their own execution history and the execution history of their agents, while an agent queries only its own execution history. If you specify this parameter, exact matching is performed, and the value must be the ID of the current user or an agent owned by the current user.
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 and AGENT.
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. Specify the time in the yyyy-MM-dd HH:mm:ss format. If you do not specify this parameter, the default value is the current time. If the format cannot be parsed or the end time is earlier than the start time, the request fails.
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. Pages start from 1. Default value: 1.
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 executed through a workflow.
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. Specify the time in the yyyy-MM-dd HH:mm:ss format. If you do not specify this parameter, the default time range is the last 7 days. If the specified time is more than 730 days ago or the format cannot be parsed, the query is performed for the last 730 days.
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. HUMAN indicates a user, and AGENT indicates an agent.
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 which the agent belongs. The ID starts with usr_.
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 the execution belongs.
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 parameter is empty in workflow scenarios or when the IP address is not recorded.
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 the execution belongs.
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 returned when the execution fails.
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 actual SQL statement that was executed.
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 the execution.
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 executed through a workflow.
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 start time of the execution. The time is in the yyyy-MM-dd HH:mm:ss format.
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 parameter may be empty in non-workflow scenarios.
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 parameter is empty when the request is successful.
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 was successful. Valid values:
263
- * - true: The request was successful.
264
- * - false: The request failed.
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 query conditions.
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 maximum number of results per page.
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 entries per page.
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 to query.
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 creation time of the workspace. The value is a timestamp in milliseconds.
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 session sharing is enabled for the workspace.
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 last modification time of the workspace. The value is a timestamp in milliseconds.
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 role name of the user in the workspace.
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 maximum number of results per page.
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 ID.
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 alias. You can leave this parameter empty when testing a connection. This parameter does not create or modify a data source.
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: -1 (no authentication required), 0 (username and password), 1 (password only), and 2 (password-free).
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 parameter does not create a metadata catalog.
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. This parameter is required 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.
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 when you select an existing cloud instance and the endpoint is automatically populated.
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. This parameter is required when you select an existing cloud instance. You can leave this parameter empty when you enter a connection endpoint.
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: self-managed database connected over the Internet.
93
- * - ECS_OWN: self-managed database hosted on an ECS instance.
94
- * - GATEWAY: database connected through Database Gateway.
95
- * - VPC_IDC: database connected over a VPC or data center.
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 secret. This parameter is required when you use KMS to manage database credentials. Leave this parameter empty in other scenarios.
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 when you select an existing cloud instance and the port is automatically populated.
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. This parameter is required when you use an Alibaba Cloud RAM role to access the data source. Leave this parameter empty in other scenarios.
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, enter the database name. For ORACLE, enter the SID or service name, and prefix the service name with a forward slash (/). For POLARDB_ORACLE, enter the SID. For MAXCOMPUTE, enter the project name. Leave this parameter empty for other types.
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 parameter does not modify the data source name.
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 the default setting.
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. This parameter is required when you access MaxCompute over a VPC. Leave this parameter empty in other scenarios.
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. This parameter is required when you access MaxCompute over a VPC. Leave this parameter empty in other scenarios.
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 ID. This parameter is required when you access MaxCompute over a VPC. Leave this parameter empty in other scenarios.
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 connection endpoint
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 request ID, which is used to locate the current call.
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 current call is successful.
74
+ * Indicates whether the call is successful.
75
75
  */
76
76
  success?: boolean;
77
77
  static names(): { [key: string]: string } {