@alicloud/dms20250414 4.5.1 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +71 -26
- package/dist/client.js +173 -26
- package/dist/client.js.map +1 -1
- package/dist/models/AddUserToDataAgentWorkspaceRequest.d.ts +1 -1
- package/dist/models/AddUserToDataAgentWorkspaceResponseBody.d.ts +1 -1
- package/dist/models/CreateAirflowRequest.d.ts +31 -10
- package/dist/models/CreateAirflowRequest.js +6 -0
- package/dist/models/CreateAirflowRequest.js.map +1 -1
- package/dist/models/CreateAirflowResponseBody.d.ts +36 -15
- package/dist/models/CreateAirflowResponseBody.js +6 -0
- package/dist/models/CreateAirflowResponseBody.js.map +1 -1
- package/dist/models/CreateAirflowShrinkRequest.d.ts +31 -10
- package/dist/models/CreateAirflowShrinkRequest.js +6 -0
- package/dist/models/CreateAirflowShrinkRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +38 -38
- package/dist/models/CreateCustomAgentResponseBody.d.ts +18 -18
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +30 -30
- package/dist/models/CreateDataAgentAccuracyTestRequest.d.ts +6 -6
- package/dist/models/CreateDataAgentAccuracyTestResponseBody.d.ts +5 -5
- package/dist/models/CreateDataAgentWorkspaceResponseBody.d.ts +1 -1
- package/dist/models/DataAgentApplication.d.ts +124 -2
- package/dist/models/DataAgentApplication.js +45 -1
- package/dist/models/DataAgentApplication.js.map +1 -1
- package/dist/models/DataAgentApplicationAgreement.d.ts +53 -0
- package/dist/models/DataAgentApplicationAgreement.js +66 -0
- package/dist/models/DataAgentApplicationAgreement.js.map +1 -0
- package/dist/models/DeleteAgenticVpcEndpointResponseBody.d.ts +2 -2
- package/dist/models/DescribeCustomAgentResponseBody.d.ts +32 -32
- package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +38 -37
- package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
- package/dist/models/DmsGatewayOrder.d.ts +1 -0
- package/dist/models/DmsGatewayOrder.js +2 -0
- package/dist/models/DmsGatewayOrder.js.map +1 -1
- package/dist/models/FileUploadCallbackRequest.d.ts +2 -2
- package/dist/models/GetAirflowRequest.d.ts +2 -2
- package/dist/models/GetAirflowResponseBody.d.ts +37 -17
- package/dist/models/GetAirflowResponseBody.js +6 -0
- package/dist/models/GetAirflowResponseBody.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.d.ts +3 -3
- package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.d.ts +10 -2
- package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.js +2 -0
- package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.d.ts +3 -3
- package/dist/models/GetDataAgentTaskModelUsageRequest.d.ts +2 -2
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.d.ts +21 -5
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.js +4 -0
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageShrinkRequest.d.ts +2 -2
- package/dist/models/GetDataAgentThemeUploadSignatureResponseBody.d.ts +1 -1
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.d.ts +23 -0
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.js +58 -0
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.js.map +1 -0
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.d.ts +19 -0
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.js +69 -0
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.js.map +1 -0
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.d.ts +77 -0
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.js +90 -0
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.js.map +1 -0
- package/dist/models/GetNotebookAndSubmitTaskRequest.d.ts +2 -2
- package/dist/models/ListAirflowsRequest.d.ts +5 -5
- package/dist/models/ListAirflowsResponseBody.d.ts +43 -23
- package/dist/models/ListAirflowsResponseBody.js +6 -0
- package/dist/models/ListAirflowsResponseBody.js.map +1 -1
- package/dist/models/ListCustomAgentRequest.d.ts +2 -2
- package/dist/models/ListCustomAgentResponseBody.d.ts +37 -37
- package/dist/models/ListDataAgentAccuracyTestResultsResponseBody.d.ts +3 -3
- package/dist/models/ListDataAgentAccuracyTestTasksResponseBody.d.ts +1 -1
- package/dist/models/ListDataAgentWorkspaceMemberResponseBody.d.ts +3 -3
- package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +1 -1
- package/dist/models/ListDataCenterDatabaseResponseBody.d.ts +2 -2
- package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.d.ts +37 -0
- package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.js +62 -0
- package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.js.map +1 -0
- package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.d.ts +19 -0
- package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.js +69 -0
- package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.js.map +1 -0
- package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.d.ts +98 -0
- package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.js +99 -0
- package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.js.map +1 -0
- package/dist/models/ModifyCustomAgentRequest.d.ts +40 -40
- package/dist/models/ModifyCustomAgentResponseBody.d.ts +17 -17
- package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +33 -33
- package/dist/models/RedeployAirflowResponseBody.d.ts +1 -1
- package/dist/models/ResetAgenticApiKeyResponseBody.d.ts +1 -1
- package/dist/models/RetrieveKnowledgeBaseRequest.d.ts +2 -2
- package/dist/models/SendChatMessageRequest.d.ts +70 -76
- package/dist/models/SendChatMessageRequest.js.map +1 -1
- package/dist/models/SendChatMessageShrinkRequest.d.ts +18 -21
- package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
- package/dist/models/SetWorkspaceQuotaRequest.d.ts +5 -5
- package/dist/models/SetWorkspaceQuotaResponseBody.d.ts +9 -9
- package/dist/models/UpdateAirflowRequest.d.ts +26 -5
- package/dist/models/UpdateAirflowRequest.js +6 -0
- package/dist/models/UpdateAirflowRequest.js.map +1 -1
- package/dist/models/UpdateAirflowResponseBody.d.ts +28 -7
- package/dist/models/UpdateAirflowResponseBody.js +6 -0
- package/dist/models/UpdateAirflowResponseBody.js.map +1 -1
- package/dist/models/UpdateAirflowShrinkRequest.d.ts +26 -5
- package/dist/models/UpdateAirflowShrinkRequest.js +6 -0
- package/dist/models/UpdateAirflowShrinkRequest.js.map +1 -1
- package/dist/models/UpdateDataAgentAccuracyTestRequest.d.ts +4 -4
- package/dist/models/UpdateDataAgentAccuracyTestResponseBody.d.ts +4 -4
- package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.d.ts +36 -0
- package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.js +62 -0
- package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.js.map +1 -0
- package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.d.ts +19 -0
- package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.js +69 -0
- package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.js.map +1 -0
- package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.d.ts +82 -0
- package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.js +95 -0
- package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.js.map +1 -0
- package/dist/models/UpdateOneMetaSqlTemplateRequest.d.ts +1 -1
- package/dist/models/WorkspaceActionStatusResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +14 -0
- package/dist/models/model.js +44 -15
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +192 -26
- package/src/models/AddUserToDataAgentWorkspaceRequest.ts +1 -1
- package/src/models/AddUserToDataAgentWorkspaceResponseBody.ts +1 -1
- package/src/models/CreateAirflowRequest.ts +37 -10
- package/src/models/CreateAirflowResponseBody.ts +42 -15
- package/src/models/CreateAirflowShrinkRequest.ts +37 -10
- package/src/models/CreateCustomAgentRequest.ts +38 -38
- package/src/models/CreateCustomAgentResponseBody.ts +18 -18
- package/src/models/CreateCustomAgentShrinkRequest.ts +30 -30
- package/src/models/CreateDataAgentAccuracyTestRequest.ts +6 -6
- package/src/models/CreateDataAgentAccuracyTestResponseBody.ts +5 -5
- package/src/models/CreateDataAgentWorkspaceResponseBody.ts +1 -1
- package/src/models/DataAgentApplication.ts +159 -2
- package/src/models/DataAgentApplicationAgreement.ts +74 -0
- package/src/models/DeleteAgenticVpcEndpointResponseBody.ts +2 -2
- package/src/models/DescribeCustomAgentResponseBody.ts +32 -32
- package/src/models/DescribeDataAgentSessionResponseBody.ts +38 -37
- package/src/models/DmsGatewayOrder.ts +3 -0
- package/src/models/FileUploadCallbackRequest.ts +2 -2
- package/src/models/GetAirflowRequest.ts +2 -2
- package/src/models/GetAirflowResponseBody.ts +43 -17
- package/src/models/GetDataAgentTaskModelUsageMetricsRequest.ts +3 -3
- package/src/models/GetDataAgentTaskModelUsageMetricsResponseBody.ts +12 -2
- package/src/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.ts +3 -3
- package/src/models/GetDataAgentTaskModelUsageRequest.ts +2 -2
- package/src/models/GetDataAgentTaskModelUsageResponseBody.ts +25 -5
- package/src/models/GetDataAgentTaskModelUsageShrinkRequest.ts +2 -2
- package/src/models/GetDataAgentThemeUploadSignatureResponseBody.ts +1 -1
- package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.ts +36 -0
- package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.ts +40 -0
- package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.ts +113 -0
- package/src/models/GetNotebookAndSubmitTaskRequest.ts +2 -2
- package/src/models/ListAirflowsRequest.ts +5 -5
- package/src/models/ListAirflowsResponseBody.ts +49 -23
- package/src/models/ListCustomAgentRequest.ts +2 -2
- package/src/models/ListCustomAgentResponseBody.ts +37 -37
- package/src/models/ListDataAgentAccuracyTestResultsResponseBody.ts +3 -3
- package/src/models/ListDataAgentAccuracyTestTasksResponseBody.ts +1 -1
- package/src/models/ListDataAgentWorkspaceMemberResponseBody.ts +3 -3
- package/src/models/ListDataAgentWorkspaceResponseBody.ts +1 -1
- package/src/models/ListDataCenterDatabaseResponseBody.ts +2 -2
- package/src/models/ListMyAgenticNotificationChannelConfigsRequest.ts +54 -0
- package/src/models/ListMyAgenticNotificationChannelConfigsResponse.ts +40 -0
- package/src/models/ListMyAgenticNotificationChannelConfigsResponseBody.ts +141 -0
- package/src/models/ModifyCustomAgentRequest.ts +40 -40
- package/src/models/ModifyCustomAgentResponseBody.ts +17 -17
- package/src/models/ModifyCustomAgentShrinkRequest.ts +33 -33
- package/src/models/RedeployAirflowResponseBody.ts +1 -1
- package/src/models/ResetAgenticApiKeyResponseBody.ts +1 -1
- package/src/models/RetrieveKnowledgeBaseRequest.ts +2 -2
- package/src/models/SendChatMessageRequest.ts +70 -76
- package/src/models/SendChatMessageShrinkRequest.ts +18 -21
- package/src/models/SetWorkspaceQuotaRequest.ts +5 -5
- package/src/models/SetWorkspaceQuotaResponseBody.ts +9 -9
- package/src/models/UpdateAirflowRequest.ts +32 -5
- package/src/models/UpdateAirflowResponseBody.ts +34 -7
- package/src/models/UpdateAirflowShrinkRequest.ts +32 -5
- package/src/models/UpdateDataAgentAccuracyTestRequest.ts +4 -4
- package/src/models/UpdateDataAgentAccuracyTestResponseBody.ts +4 -4
- package/src/models/UpdateMyAgenticNotificationChannelConfigRequest.ts +53 -0
- package/src/models/UpdateMyAgenticNotificationChannelConfigResponse.ts +40 -0
- package/src/models/UpdateMyAgenticNotificationChannelConfigResponseBody.ts +121 -0
- package/src/models/UpdateOneMetaSqlTemplateRequest.ts +1 -1
- package/src/models/WorkspaceActionStatusResponseBody.ts +1 -1
- package/src/models/model.ts +14 -0
|
@@ -6,8 +6,8 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* The type of the custom agent. Valid values:
|
|
9
|
-
* - Default:
|
|
10
|
-
* - Common:
|
|
9
|
+
* - Default: the system-built-in custom agent. Each workspace can have at most one Default agent, which cannot be deleted.
|
|
10
|
+
* - Common: a common custom agent.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* Common
|
|
@@ -21,8 +21,8 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
23
|
* The creation source. Valid values:
|
|
24
|
-
* -
|
|
25
|
-
* - SmartNew:
|
|
24
|
+
* - Default (leave empty): created by using a form.
|
|
25
|
+
* - SmartNew: intelligent development.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* SmartNew
|
|
@@ -38,19 +38,19 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
38
38
|
DMSUnit?: string;
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The specified data scope in **JSON
|
|
41
|
+
* The specified data scope in **JSON string format**.
|
|
42
42
|
* - General parameter description:
|
|
43
|
-
* - tableFlag:
|
|
44
|
-
* - scope:
|
|
45
|
-
* - personal:
|
|
43
|
+
* - tableFlag: true indicates that the data scope is specified.
|
|
44
|
+
* - scope: personal is a fixed value.
|
|
45
|
+
* - personal: the parameters passed for file and database types.
|
|
46
46
|
*
|
|
47
47
|
* **File type**. Pass parameters in the following format:
|
|
48
|
-
* - DataSourceType:
|
|
49
|
-
* - FileId:
|
|
50
|
-
* - Database:
|
|
51
|
-
* - Tables:
|
|
52
|
-
* - TableIds:
|
|
53
|
-
* - RegionId:
|
|
48
|
+
* - DataSourceType: remote_data_center is a fixed value.
|
|
49
|
+
* - FileId: the file ID.
|
|
50
|
+
* - Database: the database name returned by the ListDataCenterTable operation, which is usually the file name.
|
|
51
|
+
* - Tables: the table names returned by the ListDataCenterTable operation.
|
|
52
|
+
* - TableIds: the table IDs returned by the ListDataCenterTable operation.
|
|
53
|
+
* - RegionId: the current region.
|
|
54
54
|
* ```
|
|
55
55
|
* {
|
|
56
56
|
* "tableFlag": true,
|
|
@@ -71,16 +71,16 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
71
71
|
* ```
|
|
72
72
|
*
|
|
73
73
|
* **Database type**. Pass parameters in the following format:
|
|
74
|
-
* - DataSourceType:
|
|
75
|
-
* - DmsInstanceId:
|
|
76
|
-
* - DmsDatabaseId:
|
|
77
|
-
* - FileId:
|
|
78
|
-
* - DbName:
|
|
79
|
-
* - Database:
|
|
80
|
-
* - Tables:
|
|
81
|
-
* - TableIds:
|
|
82
|
-
* - Engine:
|
|
83
|
-
* - RegionId:
|
|
74
|
+
* - DataSourceType: database is a fixed value.
|
|
75
|
+
* - DmsInstanceId: the DMS instance ID returned by the data center operation.
|
|
76
|
+
* - DmsDatabaseId: the DMS database ID returned by the data center operation.
|
|
77
|
+
* - FileId: the instance name. (Deprecated)
|
|
78
|
+
* - DbName: the database name returned by the data center operation.
|
|
79
|
+
* - Database: the database name returned by the data center operation.
|
|
80
|
+
* - Tables: the table names returned by the data center operation.
|
|
81
|
+
* - TableIds: the table IDs returned by the data center operation.
|
|
82
|
+
* - Engine: the engine type (mysql or postgresql).
|
|
83
|
+
* - RegionId: the current region.
|
|
84
84
|
* ```
|
|
85
85
|
* {
|
|
86
86
|
* "tableFlag": true,
|
|
@@ -135,27 +135,27 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
135
135
|
/**
|
|
136
136
|
* @remarks
|
|
137
137
|
* The instruction.
|
|
138
|
-
* - Input limit:
|
|
138
|
+
* - Input limit: up to 10,000 characters.
|
|
139
139
|
*
|
|
140
140
|
* @example
|
|
141
141
|
* Core metric definitions:
|
|
142
142
|
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
143
|
-
* 2. Order volume
|
|
143
|
+
* 2. Order volume is the number of valid orders placed per day.
|
|
144
144
|
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
145
|
-
* 4. Conversion rate = Number of paid orders / UV,
|
|
145
|
+
* 4. Conversion rate = Number of paid orders / UV, which reflects the traffic conversion efficiency
|
|
146
146
|
*/
|
|
147
147
|
instruction?: string;
|
|
148
148
|
/**
|
|
149
149
|
* @remarks
|
|
150
150
|
* The knowledge.
|
|
151
|
-
* - Input limit:
|
|
151
|
+
* - Input limit: up to 10,000 characters.
|
|
152
152
|
*
|
|
153
153
|
* @example
|
|
154
154
|
* Core metric definitions:
|
|
155
155
|
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
156
|
-
* 2. Order volume
|
|
156
|
+
* 2. Order volume is the number of valid orders placed per day.
|
|
157
157
|
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
158
|
-
* 4. Conversion rate = Number of paid orders / UV,
|
|
158
|
+
* 4. Conversion rate = Number of paid orders / UV, which reflects the traffic conversion efficiency
|
|
159
159
|
*/
|
|
160
160
|
knowledge?: string;
|
|
161
161
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateDataAgentAccuracyTestRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the custom agent
|
|
8
|
+
* The ID of the custom agent that requires accuracy testing.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ca-xxxxxxxxxxxxxxxxxxxx
|
|
@@ -13,7 +13,7 @@ export class CreateDataAgentAccuracyTestRequest extends $dara.Model {
|
|
|
13
13
|
customAgentId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* Deprecated
|
|
16
|
+
* **[Deprecated]**.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* null
|
|
@@ -21,7 +21,7 @@ export class CreateDataAgentAccuracyTestRequest extends $dara.Model {
|
|
|
21
21
|
dataset?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The data source.
|
|
24
|
+
* The data source. Configure it in the custom agent.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* [{"isInternal":"N","TableIds":["51***70","51***71"],"DataSourceType":"database","Database":"internal_data_employees","DmsInstanceId":"27***5","DmsDatabaseId":"71***04","Tables":["employees","salaries"],"FileId":"rm-
|
|
@@ -94,10 +94,10 @@ export class CreateDataAgentAccuracyTestRequest extends $dara.Model {
|
|
|
94
94
|
name?: string;
|
|
95
95
|
/**
|
|
96
96
|
* @remarks
|
|
97
|
-
* Specifies whether
|
|
97
|
+
* Specifies whether to display sessions after analysis. This feature is not supported.
|
|
98
98
|
*
|
|
99
99
|
* @example
|
|
100
|
-
*
|
|
100
|
+
* false
|
|
101
101
|
*/
|
|
102
102
|
needDelete?: boolean;
|
|
103
103
|
/**
|
|
@@ -113,7 +113,7 @@ export class CreateDataAgentAccuracyTestRequest extends $dara.Model {
|
|
|
113
113
|
* The workspace ID.
|
|
114
114
|
*
|
|
115
115
|
* @example
|
|
116
|
-
*
|
|
116
|
+
* 1abc2de34fg56hijk7l8mnopq
|
|
117
117
|
*/
|
|
118
118
|
workspaceId?: string;
|
|
119
119
|
static names(): { [key: string]: string } {
|
|
@@ -40,7 +40,7 @@ export class CreateDataAgentAccuracyTestResponseBody extends $dara.Model {
|
|
|
40
40
|
data?: CreateDataAgentAccuracyTestResponseBodyData;
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
* The error code returned
|
|
43
|
+
* The error code returned when an exception occurs.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
46
|
* UnknownError
|
|
@@ -48,7 +48,7 @@ export class CreateDataAgentAccuracyTestResponseBody extends $dara.Model {
|
|
|
48
48
|
errorCode?: string;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The error message returned
|
|
51
|
+
* The error message returned when the call fails.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* UnknownError
|
|
@@ -64,10 +64,10 @@ export class CreateDataAgentAccuracyTestResponseBody extends $dara.Model {
|
|
|
64
64
|
requestId?: string;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* Indicates whether the request
|
|
67
|
+
* Indicates whether the request is successful. Valid values:
|
|
68
68
|
*
|
|
69
|
-
* - **true**: The request
|
|
70
|
-
* - **false**: The request
|
|
69
|
+
* - **true**: The request is successful.
|
|
70
|
+
* - **false**: The request fails.
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
73
|
* true
|
|
@@ -2,6 +2,60 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class DataAgentApplicationLastRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The control action. Valid values:
|
|
9
|
+
* - DEPLOY
|
|
10
|
+
* - STOP
|
|
11
|
+
* - RESTART
|
|
12
|
+
* - DELETE
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* RESTART
|
|
16
|
+
*/
|
|
17
|
+
action?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* The error code for the failure of the most recent user control request. If no error occurs, this parameter is empty.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* SCRIPT_EXIT_FAILED
|
|
24
|
+
*/
|
|
25
|
+
errorCode?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The summary of the failure cause for the most recent user control request. If no error occurs, this parameter is empty.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* stage=script, exitCode=2
|
|
32
|
+
*/
|
|
33
|
+
errorMessage?: string;
|
|
34
|
+
static names(): { [key: string]: string } {
|
|
35
|
+
return {
|
|
36
|
+
action: 'Action',
|
|
37
|
+
errorCode: 'ErrorCode',
|
|
38
|
+
errorMessage: 'ErrorMessage',
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
static types(): { [key: string]: any } {
|
|
43
|
+
return {
|
|
44
|
+
action: 'string',
|
|
45
|
+
errorCode: 'string',
|
|
46
|
+
errorMessage: 'string',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
5
59
|
export class DataAgentApplication extends $dara.Model {
|
|
6
60
|
/**
|
|
7
61
|
* @remarks
|
|
@@ -29,12 +83,44 @@ export class DataAgentApplication extends $dara.Model {
|
|
|
29
83
|
appName?: string;
|
|
30
84
|
/**
|
|
31
85
|
* @remarks
|
|
32
|
-
* The
|
|
86
|
+
* The access URL of the application. This URL is generated and returned as-is by RM when the deployment snapshot ready=true, and is not filtered again based on Status or ObservationStale. If not provided, this parameter is empty or omitted.
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* https://abc123.app.pre.datapaw-app.cloud
|
|
90
|
+
*/
|
|
91
|
+
appUrl?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* The extended information of the application.
|
|
33
95
|
*
|
|
34
96
|
* @example
|
|
35
97
|
* {}
|
|
36
98
|
*/
|
|
37
99
|
applicationExtraInfo?: string;
|
|
100
|
+
/**
|
|
101
|
+
* @remarks
|
|
102
|
+
* The control revision number of the application. The initial value is 0. This number increments after a control request is accepted and can be passed as ExpectedRevision.
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* 6
|
|
106
|
+
*/
|
|
107
|
+
applicationRevision?: number;
|
|
108
|
+
/**
|
|
109
|
+
* @remarks
|
|
110
|
+
* The error code for the current service unavailability, which is expressed separately from the error code of the most recent control request. If no error occurs, this parameter is empty.
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
* SCRIPT_EXIT_FAILED
|
|
114
|
+
*/
|
|
115
|
+
availabilityErrorCode?: string;
|
|
116
|
+
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* The summary of the cause for the current service unavailability. If no error occurs, this parameter is empty.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* stage=script, exitCode=2
|
|
122
|
+
*/
|
|
123
|
+
availabilityErrorMessage?: string;
|
|
38
124
|
/**
|
|
39
125
|
* @remarks
|
|
40
126
|
* The name of the application creator.
|
|
@@ -53,7 +139,7 @@ export class DataAgentApplication extends $dara.Model {
|
|
|
53
139
|
creatorUid?: string;
|
|
54
140
|
/**
|
|
55
141
|
* @remarks
|
|
56
|
-
* The description of the application
|
|
142
|
+
* The description of the application, which can be up to 250 characters in length.
|
|
57
143
|
*
|
|
58
144
|
* @example
|
|
59
145
|
* this is a test application
|
|
@@ -75,6 +161,11 @@ export class DataAgentApplication extends $dara.Model {
|
|
|
75
161
|
* 2026-09-12T10:40:12.000+00:00
|
|
76
162
|
*/
|
|
77
163
|
gmtModified?: string;
|
|
164
|
+
/**
|
|
165
|
+
* @remarks
|
|
166
|
+
* The most recent user control request. If no control request has been made, this parameter is empty.
|
|
167
|
+
*/
|
|
168
|
+
lastRequest?: DataAgentApplicationLastRequest;
|
|
78
169
|
/**
|
|
79
170
|
* @remarks
|
|
80
171
|
* The UID of the Alibaba Cloud account.
|
|
@@ -83,6 +174,22 @@ export class DataAgentApplication extends $dara.Model {
|
|
|
83
174
|
* 1673828888852166
|
|
84
175
|
*/
|
|
85
176
|
mainUid?: string;
|
|
177
|
+
/**
|
|
178
|
+
* @remarks
|
|
179
|
+
* Specifies whether the runtime or service observation is missing or stale. If this parameter is set to true, the availability information may be outdated.
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* false
|
|
183
|
+
*/
|
|
184
|
+
observationStale?: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* @remarks
|
|
187
|
+
* Specifies whether the current platform service is available. This does not indicate whether the most recent control request succeeded or whether the business components are healthy.
|
|
188
|
+
*
|
|
189
|
+
* @example
|
|
190
|
+
* true
|
|
191
|
+
*/
|
|
192
|
+
ready?: boolean;
|
|
86
193
|
/**
|
|
87
194
|
* @remarks
|
|
88
195
|
* The region.
|
|
@@ -103,13 +210,42 @@ export class DataAgentApplication extends $dara.Model {
|
|
|
103
210
|
* @remarks
|
|
104
211
|
* The status of the application. Valid values:
|
|
105
212
|
* - REGISTERED
|
|
213
|
+
* - PREPARING
|
|
214
|
+
* - WAITING_AGREEMENT: Indicates that the system is waiting for the owner of the target workspace to sign a valid agreement. The original deployment or restart request is still being executed. After the agreement is signed, RM automatically resumes the original request.
|
|
215
|
+
* - SEALING
|
|
216
|
+
* - REVIEWING
|
|
106
217
|
* - DEPLOYING
|
|
107
218
|
* - DEPLOYED
|
|
219
|
+
* - DEPLOY_FAILED
|
|
220
|
+
* - STOPPING
|
|
221
|
+
* - STOPPED
|
|
222
|
+
* - STOP_FAILED
|
|
223
|
+
* - RECOVERING
|
|
224
|
+
* - UNAVAILABLE
|
|
225
|
+
* - DELETING
|
|
226
|
+
* - DELETE_FAILED
|
|
227
|
+
* - DELETED: The logical deletion terminal state. The application no longer appears in List or Describe operations.
|
|
108
228
|
*
|
|
109
229
|
* @example
|
|
110
230
|
* REGISTERED
|
|
111
231
|
*/
|
|
112
232
|
status?: string;
|
|
233
|
+
/**
|
|
234
|
+
* @remarks
|
|
235
|
+
* The ID of the vSwitch used for the actual deployment of the currently running application. If no resources are currently running, this parameter is empty.
|
|
236
|
+
*
|
|
237
|
+
* @example
|
|
238
|
+
* vsw-example
|
|
239
|
+
*/
|
|
240
|
+
vSwitchId?: string;
|
|
241
|
+
/**
|
|
242
|
+
* @remarks
|
|
243
|
+
* The ID of the VPC used for the actual deployment of the currently running application. If no resources are currently running, this parameter is empty.
|
|
244
|
+
*
|
|
245
|
+
* @example
|
|
246
|
+
* vpc-example
|
|
247
|
+
*/
|
|
248
|
+
vpcId?: string;
|
|
113
249
|
/**
|
|
114
250
|
* @remarks
|
|
115
251
|
* The ID of the workspace.
|
|
@@ -123,16 +259,25 @@ export class DataAgentApplication extends $dara.Model {
|
|
|
123
259
|
agentId: 'AgentId',
|
|
124
260
|
appId: 'AppId',
|
|
125
261
|
appName: 'AppName',
|
|
262
|
+
appUrl: 'AppUrl',
|
|
126
263
|
applicationExtraInfo: 'ApplicationExtraInfo',
|
|
264
|
+
applicationRevision: 'ApplicationRevision',
|
|
265
|
+
availabilityErrorCode: 'AvailabilityErrorCode',
|
|
266
|
+
availabilityErrorMessage: 'AvailabilityErrorMessage',
|
|
127
267
|
creatorName: 'CreatorName',
|
|
128
268
|
creatorUid: 'CreatorUid',
|
|
129
269
|
description: 'Description',
|
|
130
270
|
gmtCreated: 'GmtCreated',
|
|
131
271
|
gmtModified: 'GmtModified',
|
|
272
|
+
lastRequest: 'LastRequest',
|
|
132
273
|
mainUid: 'MainUid',
|
|
274
|
+
observationStale: 'ObservationStale',
|
|
275
|
+
ready: 'Ready',
|
|
133
276
|
region: 'Region',
|
|
134
277
|
sessionId: 'SessionId',
|
|
135
278
|
status: 'Status',
|
|
279
|
+
vSwitchId: 'VSwitchId',
|
|
280
|
+
vpcId: 'VpcId',
|
|
136
281
|
workspaceId: 'WorkspaceId',
|
|
137
282
|
};
|
|
138
283
|
}
|
|
@@ -142,21 +287,33 @@ export class DataAgentApplication extends $dara.Model {
|
|
|
142
287
|
agentId: 'string',
|
|
143
288
|
appId: 'string',
|
|
144
289
|
appName: 'string',
|
|
290
|
+
appUrl: 'string',
|
|
145
291
|
applicationExtraInfo: 'string',
|
|
292
|
+
applicationRevision: 'number',
|
|
293
|
+
availabilityErrorCode: 'string',
|
|
294
|
+
availabilityErrorMessage: 'string',
|
|
146
295
|
creatorName: 'string',
|
|
147
296
|
creatorUid: 'string',
|
|
148
297
|
description: 'string',
|
|
149
298
|
gmtCreated: 'string',
|
|
150
299
|
gmtModified: 'string',
|
|
300
|
+
lastRequest: DataAgentApplicationLastRequest,
|
|
151
301
|
mainUid: 'string',
|
|
302
|
+
observationStale: 'boolean',
|
|
303
|
+
ready: 'boolean',
|
|
152
304
|
region: 'string',
|
|
153
305
|
sessionId: 'string',
|
|
154
306
|
status: 'string',
|
|
307
|
+
vSwitchId: 'string',
|
|
308
|
+
vpcId: 'string',
|
|
155
309
|
workspaceId: 'string',
|
|
156
310
|
};
|
|
157
311
|
}
|
|
158
312
|
|
|
159
313
|
validate() {
|
|
314
|
+
if(this.lastRequest && typeof (this.lastRequest as any).validate === 'function') {
|
|
315
|
+
(this.lastRequest as any).validate();
|
|
316
|
+
}
|
|
160
317
|
super.validate();
|
|
161
318
|
}
|
|
162
319
|
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DataAgentApplicationAgreement extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The expiration time of the agreement in ISO 8601 UTC string format. This field is omitted if the agreement is unsigned. The agreement expires when this time is reached. The default validity period is 10 calendar years from the signing date.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 2036-11-23T08:00:00Z
|
|
12
|
+
*/
|
|
13
|
+
expiresAt?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The region of the workspace to which the agreement belongs.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* cn-hangzhou
|
|
20
|
+
*/
|
|
21
|
+
regionId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The signing time in ISO 8601 UTC string format. This field is omitted if the agreement is unsigned. Repeated signing within the validity period retains the original time, and re-signing after expiration updates the time.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 2026-11-23T08:00:00Z
|
|
28
|
+
*/
|
|
29
|
+
signedAt?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The agreement status. Valid values: NOT_SIGNED (unsigned), EXPIRED (expired), and SIGNED (signed and valid). Both NOT_SIGNED and EXPIRED are business statuses returned upon a successful query.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* SIGNED
|
|
36
|
+
*/
|
|
37
|
+
status?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The stable identifier of the workspace to which the agreement belongs.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* 62q1xxxxxxxxxxxxxxxxxxx0
|
|
44
|
+
*/
|
|
45
|
+
workspaceId?: string;
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
expiresAt: 'ExpiresAt',
|
|
49
|
+
regionId: 'RegionId',
|
|
50
|
+
signedAt: 'SignedAt',
|
|
51
|
+
status: 'Status',
|
|
52
|
+
workspaceId: 'WorkspaceId',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static types(): { [key: string]: any } {
|
|
57
|
+
return {
|
|
58
|
+
expiresAt: 'string',
|
|
59
|
+
regionId: 'string',
|
|
60
|
+
signedAt: 'string',
|
|
61
|
+
status: 'string',
|
|
62
|
+
workspaceId: 'string',
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
validate() {
|
|
67
|
+
super.validate();
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
constructor(map?: { [key: string]: any }) {
|
|
71
|
+
super(map);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -13,7 +13,7 @@ export class DeleteAgenticVpcEndpointResponseBodyData extends $dara.Model {
|
|
|
13
13
|
endpointId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The deletion status. A value of DELETING only indicates that the asynchronous deletion request is accepted, not that the deletion in the cloud is complete.
|
|
16
|
+
* The deletion status. A value of DELETING only indicates that the asynchronous deletion request is accepted, and does not indicate that the deletion in the cloud is complete.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* RELEASED
|
|
@@ -45,7 +45,7 @@ export class DeleteAgenticVpcEndpointResponseBodyData extends $dara.Model {
|
|
|
45
45
|
export class DeleteAgenticVpcEndpointResponseBody extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The deletion acceptance result. For duplicate requests, downstream errors are retained and idempotence is not guaranteed.
|
|
48
|
+
* The deletion acceptance result. For duplicate requests, downstream errors are retained, and idempotence is not guaranteed.
|
|
49
49
|
*/
|
|
50
50
|
data?: DeleteAgenticVpcEndpointResponseBodyData;
|
|
51
51
|
/**
|