@alicloud/adb20211201 4.5.0 → 4.6.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 +163 -36
- package/dist/client.js +406 -36
- package/dist/client.js.map +1 -1
- package/dist/models/ConfigureResultExportRequest.d.ts +38 -0
- package/dist/models/ConfigureResultExportRequest.js.map +1 -1
- package/dist/models/ConfigureResultExportResponseBody.d.ts +57 -0
- package/dist/models/ConfigureResultExportResponseBody.js.map +1 -1
- package/dist/models/ConfigureResultExportShrinkRequest.d.ts +20 -0
- package/dist/models/ConfigureResultExportShrinkRequest.js.map +1 -1
- package/dist/models/CreateApsKafkaHudiJobRequest.d.ts +89 -0
- package/dist/models/CreateApsKafkaHudiJobRequest.js.map +1 -1
- package/dist/models/CreateApsKafkaHudiJobResponseBody.d.ts +18 -0
- package/dist/models/CreateApsKafkaHudiJobResponseBody.js.map +1 -1
- package/dist/models/CreateApsKafkaHudiJobShrinkRequest.d.ts +77 -0
- package/dist/models/CreateApsKafkaHudiJobShrinkRequest.js.map +1 -1
- package/dist/models/CreateApsWebhookRequest.d.ts +20 -0
- package/dist/models/CreateApsWebhookRequest.js.map +1 -1
- package/dist/models/CreateApsWebhookResponseBody.d.ts +18 -0
- package/dist/models/CreateApsWebhookResponseBody.js.map +1 -1
- package/dist/models/CreateApsWebhookShrinkRequest.d.ts +10 -0
- package/dist/models/CreateApsWebhookShrinkRequest.js.map +1 -1
- package/dist/models/CreateBackupRequest.d.ts +5 -0
- package/dist/models/CreateBackupRequest.js.map +1 -1
- package/dist/models/CreateDbresourceGroupRequest.d.ts +29 -0
- package/dist/models/CreateDbresourceGroupRequest.js +51 -1
- package/dist/models/CreateDbresourceGroupRequest.js.map +1 -1
- package/dist/models/CreateDbresourceGroupShrinkRequest.d.ts +1 -0
- package/dist/models/CreateDbresourceGroupShrinkRequest.js +2 -0
- package/dist/models/CreateDbresourceGroupShrinkRequest.js.map +1 -1
- package/dist/models/CreateMaterializedViewRecommendRequest.d.ts +55 -0
- package/dist/models/CreateMaterializedViewRecommendRequest.js.map +1 -1
- package/dist/models/DatabaseSummaryModel.d.ts +4 -0
- package/dist/models/DatabaseSummaryModel.js +8 -0
- package/dist/models/DatabaseSummaryModel.js.map +1 -1
- package/dist/models/DeleteApsWebhookRequest.d.ts +6 -0
- package/dist/models/DeleteApsWebhookRequest.js.map +1 -1
- package/dist/models/DeleteApsWebhookResponseBody.d.ts +22 -0
- package/dist/models/DeleteApsWebhookResponseBody.js.map +1 -1
- package/dist/models/DeleteMaterializedViewRecommendRequest.d.ts +45 -0
- package/dist/models/DeleteMaterializedViewRecommendRequest.js +70 -0
- package/dist/models/DeleteMaterializedViewRecommendRequest.js.map +1 -0
- package/dist/models/DeleteMaterializedViewRecommendResponse.d.ts +19 -0
- package/dist/models/DeleteMaterializedViewRecommendResponse.js +69 -0
- package/dist/models/DeleteMaterializedViewRecommendResponse.js.map +1 -0
- package/dist/models/DeleteMaterializedViewRecommendResponseBody.d.ts +21 -0
- package/dist/models/DeleteMaterializedViewRecommendResponseBody.js +58 -0
- package/dist/models/DeleteMaterializedViewRecommendResponseBody.js.map +1 -0
- package/dist/models/DescribeAuditLogRecordsResponseBody.d.ts +1 -0
- package/dist/models/DescribeAuditLogRecordsResponseBody.js +2 -0
- package/dist/models/DescribeAuditLogRecordsResponseBody.js.map +1 -1
- package/dist/models/DescribeDbclusterSslrequest.d.ts +9 -0
- package/dist/models/DescribeDbclusterSslrequest.js.map +1 -1
- package/dist/models/DescribeDbclusterSslresponseBody.d.ts +15 -0
- package/dist/models/DescribeDbclusterSslresponseBody.js.map +1 -1
- package/dist/models/DescribeDbresourceGroupResponseBody.d.ts +29 -0
- package/dist/models/DescribeDbresourceGroupResponseBody.js +51 -1
- package/dist/models/DescribeDbresourceGroupResponseBody.js.map +1 -1
- package/dist/models/DescribeHistoryTasksRequest.d.ts +47 -0
- package/dist/models/DescribeHistoryTasksRequest.js.map +1 -1
- package/dist/models/DescribeHistoryTasksResponseBody.d.ts +139 -0
- package/dist/models/DescribeHistoryTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeHistoryTasksStatRequest.d.ts +37 -0
- package/dist/models/DescribeHistoryTasksStatRequest.js.map +1 -1
- package/dist/models/DescribeHistoryTasksStatResponseBody.d.ts +73 -0
- package/dist/models/DescribeHistoryTasksStatResponseBody.js.map +1 -1
- package/dist/models/DescribeMvRecommendSubTasksRequest.d.ts +87 -0
- package/dist/models/DescribeMvRecommendSubTasksRequest.js +74 -0
- package/dist/models/DescribeMvRecommendSubTasksRequest.js.map +1 -0
- package/dist/models/DescribeMvRecommendSubTasksResponse.d.ts +19 -0
- package/dist/models/DescribeMvRecommendSubTasksResponse.js +69 -0
- package/dist/models/DescribeMvRecommendSubTasksResponse.js.map +1 -0
- package/dist/models/DescribeMvRecommendSubTasksResponseBody.d.ts +92 -0
- package/dist/models/DescribeMvRecommendSubTasksResponseBody.js +98 -0
- package/dist/models/DescribeMvRecommendSubTasksResponseBody.js.map +1 -0
- package/dist/models/DescribeMvRecommendTasksRequest.d.ts +63 -0
- package/dist/models/DescribeMvRecommendTasksRequest.js +70 -0
- package/dist/models/DescribeMvRecommendTasksRequest.js.map +1 -0
- package/dist/models/DescribeMvRecommendTasksResponse.d.ts +19 -0
- package/dist/models/DescribeMvRecommendTasksResponse.js +69 -0
- package/dist/models/DescribeMvRecommendTasksResponse.js.map +1 -0
- package/dist/models/DescribeMvRecommendTasksResponseBody.d.ts +92 -0
- package/dist/models/DescribeMvRecommendTasksResponseBody.js +98 -0
- package/dist/models/DescribeMvRecommendTasksResponseBody.js.map +1 -0
- package/dist/models/DescribeMvrecommendResultsRequest.d.ts +84 -0
- package/dist/models/DescribeMvrecommendResultsRequest.js +76 -0
- package/dist/models/DescribeMvrecommendResultsRequest.js.map +1 -0
- package/dist/models/DescribeMvrecommendResultsResponse.d.ts +19 -0
- package/dist/models/DescribeMvrecommendResultsResponse.js +69 -0
- package/dist/models/DescribeMvrecommendResultsResponse.js.map +1 -0
- package/dist/models/DescribeMvrecommendResultsResponseBody.d.ts +92 -0
- package/dist/models/DescribeMvrecommendResultsResponseBody.js +98 -0
- package/dist/models/DescribeMvrecommendResultsResponseBody.js.map +1 -0
- package/dist/models/DescribeResultExportConfigRequest.d.ts +12 -0
- package/dist/models/DescribeResultExportConfigRequest.js.map +1 -1
- package/dist/models/DescribeResultExportConfigResponseBody.d.ts +57 -0
- package/dist/models/DescribeResultExportConfigResponseBody.js.map +1 -1
- package/dist/models/DescribeSparkAuditLogRecordsRequest.d.ts +85 -1
- package/dist/models/DescribeSparkAuditLogRecordsRequest.js.map +1 -1
- package/dist/models/DescribeSparkAuditLogRecordsResponseBody.d.ts +77 -1
- package/dist/models/DescribeSparkAuditLogRecordsResponseBody.js.map +1 -1
- package/dist/models/DescribeViewJobsRequest.d.ts +102 -0
- package/dist/models/DescribeViewJobsRequest.js +74 -0
- package/dist/models/DescribeViewJobsRequest.js.map +1 -0
- package/dist/models/DescribeViewJobsResponse.d.ts +19 -0
- package/dist/models/DescribeViewJobsResponse.js +69 -0
- package/dist/models/DescribeViewJobsResponse.js.map +1 -0
- package/dist/models/DescribeViewJobsResponseBody.d.ts +92 -0
- package/dist/models/DescribeViewJobsResponseBody.js +98 -0
- package/dist/models/DescribeViewJobsResponseBody.js.map +1 -0
- package/dist/models/GetAdbsparkNecessaryRampermissionsRequest.d.ts +4 -0
- package/dist/models/GetAdbsparkNecessaryRampermissionsRequest.js.map +1 -1
- package/dist/models/GetAdbsparkNecessaryRampermissionsResponseBody.d.ts +50 -0
- package/dist/models/GetAdbsparkNecessaryRampermissionsResponseBody.js.map +1 -1
- package/dist/models/ListApsWebhookRequest.d.ts +8 -0
- package/dist/models/ListApsWebhookRequest.js.map +1 -1
- package/dist/models/ListApsWebhookResponseBody.d.ts +34 -0
- package/dist/models/ListApsWebhookResponseBody.js.map +1 -1
- package/dist/models/ModifyDbclusterSslrequest.d.ts +13 -0
- package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
- package/dist/models/ModifyDbclusterSslresponseBody.d.ts +3 -0
- package/dist/models/ModifyDbclusterSslresponseBody.js.map +1 -1
- package/dist/models/ModifyDbresourceGroupRequest.d.ts +29 -0
- package/dist/models/ModifyDbresourceGroupRequest.js +51 -1
- package/dist/models/ModifyDbresourceGroupRequest.js.map +1 -1
- package/dist/models/ModifyDbresourceGroupShrinkRequest.d.ts +1 -0
- package/dist/models/ModifyDbresourceGroupShrinkRequest.js +2 -0
- package/dist/models/ModifyDbresourceGroupShrinkRequest.js.map +1 -1
- package/dist/models/ModifyMaterializedViewRecommendRequest.d.ts +61 -0
- package/dist/models/ModifyMaterializedViewRecommendRequest.js.map +1 -1
- package/dist/models/ModifyMaterializedViewRecommendResponseBody.d.ts +1 -1
- package/dist/models/ModifyMaterializedViewRequest.d.ts +33 -0
- package/dist/models/ModifyMaterializedViewRequest.js.map +1 -1
- package/dist/models/ModifySqlTemplatePositionRequest.d.ts +8 -0
- package/dist/models/ModifySqlTemplatePositionRequest.js.map +1 -1
- package/dist/models/ModifySqlTemplatePositionResponseBody.d.ts +15 -0
- package/dist/models/ModifySqlTemplatePositionResponseBody.js.map +1 -1
- package/dist/models/TableDetailModel.d.ts +6 -0
- package/dist/models/TableDetailModel.js +11 -0
- package/dist/models/TableDetailModel.js.map +1 -1
- package/dist/models/TableModel.d.ts +2 -0
- package/dist/models/TableModel.js +4 -0
- package/dist/models/TableModel.js.map +1 -1
- package/dist/models/TableSummaryModel.d.ts +2 -0
- package/dist/models/TableSummaryModel.js +4 -0
- package/dist/models/TableSummaryModel.js.map +1 -1
- package/dist/models/UpdateApsWebhookRequest.d.ts +21 -1
- package/dist/models/UpdateApsWebhookRequest.js.map +1 -1
- package/dist/models/UpdateApsWebhookResponseBody.d.ts +22 -0
- package/dist/models/UpdateApsWebhookResponseBody.js.map +1 -1
- package/dist/models/UpdateApsWebhookShrinkRequest.d.ts +8 -0
- package/dist/models/UpdateApsWebhookShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +25 -0
- package/dist/models/model.js +93 -43
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +462 -36
- package/src/models/ConfigureResultExportRequest.ts +38 -0
- package/src/models/ConfigureResultExportResponseBody.ts +57 -0
- package/src/models/ConfigureResultExportShrinkRequest.ts +20 -0
- package/src/models/CreateApsKafkaHudiJobRequest.ts +89 -0
- package/src/models/CreateApsKafkaHudiJobResponseBody.ts +18 -0
- package/src/models/CreateApsKafkaHudiJobShrinkRequest.ts +77 -0
- package/src/models/CreateApsWebhookRequest.ts +20 -0
- package/src/models/CreateApsWebhookResponseBody.ts +18 -0
- package/src/models/CreateApsWebhookShrinkRequest.ts +10 -0
- package/src/models/CreateBackupRequest.ts +5 -0
- package/src/models/CreateDbresourceGroupRequest.ts +61 -0
- package/src/models/CreateDbresourceGroupShrinkRequest.ts +3 -0
- package/src/models/CreateMaterializedViewRecommendRequest.ts +55 -0
- package/src/models/DatabaseSummaryModel.ts +12 -0
- package/src/models/DeleteApsWebhookRequest.ts +6 -0
- package/src/models/DeleteApsWebhookResponseBody.ts +22 -0
- package/src/models/DeleteMaterializedViewRecommendRequest.ts +70 -0
- package/src/models/DeleteMaterializedViewRecommendResponse.ts +40 -0
- package/src/models/DeleteMaterializedViewRecommendResponseBody.ts +34 -0
- package/src/models/DescribeAuditLogRecordsResponseBody.ts +3 -0
- package/src/models/DescribeDbclusterSslrequest.ts +9 -0
- package/src/models/DescribeDbclusterSslresponseBody.ts +15 -0
- package/src/models/DescribeDbresourceGroupResponseBody.ts +61 -0
- package/src/models/DescribeHistoryTasksRequest.ts +47 -0
- package/src/models/DescribeHistoryTasksResponseBody.ts +139 -0
- package/src/models/DescribeHistoryTasksStatRequest.ts +37 -0
- package/src/models/DescribeHistoryTasksStatResponseBody.ts +73 -0
- package/src/models/DescribeMvRecommendSubTasksRequest.ts +116 -0
- package/src/models/DescribeMvRecommendSubTasksResponse.ts +40 -0
- package/src/models/DescribeMvRecommendSubTasksResponseBody.ts +135 -0
- package/src/models/DescribeMvRecommendTasksRequest.ts +88 -0
- package/src/models/DescribeMvRecommendTasksResponse.ts +40 -0
- package/src/models/DescribeMvRecommendTasksResponseBody.ts +135 -0
- package/src/models/DescribeMvrecommendResultsRequest.ts +115 -0
- package/src/models/DescribeMvrecommendResultsResponse.ts +40 -0
- package/src/models/DescribeMvrecommendResultsResponseBody.ts +135 -0
- package/src/models/DescribeResultExportConfigRequest.ts +12 -0
- package/src/models/DescribeResultExportConfigResponseBody.ts +57 -0
- package/src/models/DescribeSparkAuditLogRecordsRequest.ts +85 -1
- package/src/models/DescribeSparkAuditLogRecordsResponseBody.ts +77 -1
- package/src/models/DescribeViewJobsRequest.ts +131 -0
- package/src/models/DescribeViewJobsResponse.ts +40 -0
- package/src/models/DescribeViewJobsResponseBody.ts +135 -0
- package/src/models/GetAdbsparkNecessaryRampermissionsRequest.ts +4 -0
- package/src/models/GetAdbsparkNecessaryRampermissionsResponseBody.ts +50 -0
- package/src/models/ListApsWebhookRequest.ts +8 -0
- package/src/models/ListApsWebhookResponseBody.ts +34 -0
- package/src/models/ModifyDbclusterSslrequest.ts +13 -0
- package/src/models/ModifyDbclusterSslresponseBody.ts +3 -0
- package/src/models/ModifyDbresourceGroupRequest.ts +61 -0
- package/src/models/ModifyDbresourceGroupShrinkRequest.ts +3 -0
- package/src/models/ModifyMaterializedViewRecommendRequest.ts +61 -0
- package/src/models/ModifyMaterializedViewRecommendResponseBody.ts +1 -1
- package/src/models/ModifyMaterializedViewRequest.ts +33 -0
- package/src/models/ModifySqlTemplatePositionRequest.ts +8 -0
- package/src/models/ModifySqlTemplatePositionResponseBody.ts +15 -0
- package/src/models/TableDetailModel.ts +15 -0
- package/src/models/TableModel.ts +6 -0
- package/src/models/TableSummaryModel.ts +6 -0
- package/src/models/UpdateApsWebhookRequest.ts +21 -1
- package/src/models/UpdateApsWebhookResponseBody.ts +22 -0
- package/src/models/UpdateApsWebhookShrinkRequest.ts +8 -0
- package/src/models/model.ts +25 -0
|
@@ -4,16 +4,25 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DescribeResultExportConfigResponseBodyDataOssInfo extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The path of the OSS bucket to which the result sets are exported.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* oss://testBucketName/data_result
|
|
9
12
|
*/
|
|
10
13
|
exportBasePath?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The name of the resource group that runs the export SQL.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* aps
|
|
14
20
|
*/
|
|
15
21
|
resourceGroup?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The expiration period (in days) for the OSS file. The returned value is between 1 and 30 days (inclusive).
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* 10
|
|
19
28
|
*/
|
|
@@ -45,16 +54,25 @@ export class DescribeResultExportConfigResponseBodyDataOssInfo extends $dara.Mod
|
|
|
45
54
|
|
|
46
55
|
export class DescribeResultExportConfigResponseBodyDataSlsInfo extends $dara.Model {
|
|
47
56
|
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The expiration period (in days) for the temporary Logstore automatically created during result set export. The Logstore is automatically deleted after expiration. The returned value is between 1 and 30 days (inclusive).
|
|
59
|
+
*
|
|
48
60
|
* @example
|
|
49
61
|
* 10
|
|
50
62
|
*/
|
|
51
63
|
logstoreTtl?: number;
|
|
52
64
|
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The name of the resource group that runs the export SQL.
|
|
67
|
+
*
|
|
53
68
|
* @example
|
|
54
69
|
* aps
|
|
55
70
|
*/
|
|
56
71
|
resourceGroup?: string;
|
|
57
72
|
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The name of the SLS project.
|
|
75
|
+
*
|
|
58
76
|
* @example
|
|
59
77
|
* test-project
|
|
60
78
|
*/
|
|
@@ -86,11 +104,25 @@ export class DescribeResultExportConfigResponseBodyDataSlsInfo extends $dara.Mod
|
|
|
86
104
|
|
|
87
105
|
export class DescribeResultExportConfigResponseBodyData extends $dara.Model {
|
|
88
106
|
/**
|
|
107
|
+
* @remarks
|
|
108
|
+
* The export type. Valid values:
|
|
109
|
+
*
|
|
110
|
+
* * SLS: Indicates that the export destination is SLS.
|
|
111
|
+
* * OSS: Indicates that the export destination is OSS.
|
|
112
|
+
*
|
|
89
113
|
* @example
|
|
90
114
|
* OSS
|
|
91
115
|
*/
|
|
92
116
|
exportType?: string;
|
|
117
|
+
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* The configured OSS export settings, returned when the export destination is OSS.
|
|
120
|
+
*/
|
|
93
121
|
ossInfo?: DescribeResultExportConfigResponseBodyDataOssInfo;
|
|
122
|
+
/**
|
|
123
|
+
* @remarks
|
|
124
|
+
* The configured SLS export settings, returned when the export destination is SLS.
|
|
125
|
+
*/
|
|
94
126
|
slsInfo?: DescribeResultExportConfigResponseBodyDataSlsInfo;
|
|
95
127
|
static names(): { [key: string]: string } {
|
|
96
128
|
return {
|
|
@@ -125,27 +157,52 @@ export class DescribeResultExportConfigResponseBodyData extends $dara.Model {
|
|
|
125
157
|
|
|
126
158
|
export class DescribeResultExportConfigResponseBody extends $dara.Model {
|
|
127
159
|
/**
|
|
160
|
+
* @remarks
|
|
161
|
+
* API status or POP error code.
|
|
162
|
+
*
|
|
128
163
|
* @example
|
|
129
164
|
* InvalidInput
|
|
130
165
|
*/
|
|
131
166
|
code?: string;
|
|
167
|
+
/**
|
|
168
|
+
* @remarks
|
|
169
|
+
* The data returned.
|
|
170
|
+
*/
|
|
132
171
|
data?: DescribeResultExportConfigResponseBodyData;
|
|
133
172
|
/**
|
|
173
|
+
* @remarks
|
|
174
|
+
* The HTTP response status code. A value of 200 indicates that the request was successful.
|
|
175
|
+
*
|
|
134
176
|
* @example
|
|
135
177
|
* 200
|
|
136
178
|
*/
|
|
137
179
|
httpStatusCode?: number;
|
|
138
180
|
/**
|
|
181
|
+
* @remarks
|
|
182
|
+
* The returned message. Valid values:
|
|
183
|
+
*
|
|
184
|
+
* * The request succeeded, and the server returns **OK**.
|
|
185
|
+
* * The request failed, and the server returns an error message.
|
|
186
|
+
*
|
|
139
187
|
* @example
|
|
140
188
|
* OK
|
|
141
189
|
*/
|
|
142
190
|
message?: string;
|
|
143
191
|
/**
|
|
192
|
+
* @remarks
|
|
193
|
+
* Request ID.
|
|
194
|
+
*
|
|
144
195
|
* @example
|
|
145
196
|
* 1AD222E9-E606-4A42-BF6D-8A4442913CEF
|
|
146
197
|
*/
|
|
147
198
|
requestId?: string;
|
|
148
199
|
/**
|
|
200
|
+
* @remarks
|
|
201
|
+
* Indicates whether the call was successful. Valid values: Valid values:
|
|
202
|
+
*
|
|
203
|
+
* * **True: Succeeded.**
|
|
204
|
+
* * **False: Failed.
|
|
205
|
+
*
|
|
149
206
|
* @example
|
|
150
207
|
* true
|
|
151
208
|
*/
|
|
@@ -4,12 +4,21 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DescribeSparkAuditLogRecordsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The source IP address.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 192.168.XX.XX
|
|
9
12
|
*/
|
|
10
13
|
clientIp?: string;
|
|
11
14
|
/**
|
|
12
15
|
* @remarks
|
|
16
|
+
* The cluster ID.
|
|
17
|
+
*
|
|
18
|
+
* >
|
|
19
|
+
*
|
|
20
|
+
* * You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/454250.html) operation to query cluster IDs.
|
|
21
|
+
*
|
|
13
22
|
* This parameter is required.
|
|
14
23
|
*
|
|
15
24
|
* @example
|
|
@@ -17,11 +26,33 @@ export class DescribeSparkAuditLogRecordsRequest extends $dara.Model {
|
|
|
17
26
|
*/
|
|
18
27
|
DBClusterId?: string;
|
|
19
28
|
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* Query end time. The end time must be later than the start time, and the interval between them must be less than 1 day. Format: yyyy-MM-ddTHH:mmZ (UTC time).
|
|
31
|
+
*
|
|
20
32
|
* @example
|
|
21
33
|
* 2025-09-25T01:00Z
|
|
22
34
|
*/
|
|
23
35
|
endTime?: string;
|
|
24
36
|
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* Sort the SQL statements based on specified fields. The format is a JSON array that preserves order, and composite sorting is performed according to the sequence of objects in the array. Each object contains two fields: `Field` and `Type`. For example:`[{"Field":"CreateTime", "Type": "desc" }]`. Where:
|
|
39
|
+
*
|
|
40
|
+
* * `Field` specifies the field that is used to sort the SQL statements. Valid values:
|
|
41
|
+
*
|
|
42
|
+
* * `ResourceGroupName`: The name of the resource group.
|
|
43
|
+
* * `Status` :SQL execution status.
|
|
44
|
+
* * `User`: The username that is used to execute the SQL statement.
|
|
45
|
+
* * `ExecuteTime`: The start time of SQL execution.
|
|
46
|
+
* * `TotalTime`: The amount of time consumed to execute the SQL statement.
|
|
47
|
+
* * `ProcessId`: Query ID.
|
|
48
|
+
* * `ClientIp`: The source IP address.
|
|
49
|
+
* * `StatementSource`: The source from which the query was initiated.
|
|
50
|
+
*
|
|
51
|
+
* * `Type` specifies the sorting order. Valid values (case-insensitive):
|
|
52
|
+
*
|
|
53
|
+
* * `Desc`: Descending order.
|
|
54
|
+
* * `Asc`: Ascending order.
|
|
55
|
+
*
|
|
25
56
|
* @example
|
|
26
57
|
* [{\\"Field\\":\\"ExecuteTime\\",\\"Type\\":\\"Desc\\"}]
|
|
27
58
|
*/
|
|
@@ -29,27 +60,43 @@ export class DescribeSparkAuditLogRecordsRequest extends $dara.Model {
|
|
|
29
60
|
ownerAccount?: string;
|
|
30
61
|
ownerId?: number;
|
|
31
62
|
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The page number.
|
|
65
|
+
*
|
|
32
66
|
* @example
|
|
33
67
|
* 1
|
|
34
68
|
*/
|
|
35
69
|
pageNumber?: number;
|
|
36
70
|
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The number of entries to return on each page.
|
|
73
|
+
*
|
|
37
74
|
* @example
|
|
38
75
|
* 30
|
|
39
76
|
*/
|
|
40
77
|
pageSize?: number;
|
|
41
78
|
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The query ID.
|
|
81
|
+
*
|
|
42
82
|
* @example
|
|
43
83
|
* 999f2439-6b10-xxxx-a5d3-daf3b35c****
|
|
44
84
|
*/
|
|
45
85
|
processId?: string;
|
|
46
86
|
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* This parameter is deprecated.
|
|
89
|
+
*
|
|
47
90
|
* @example
|
|
48
91
|
* user
|
|
49
92
|
*/
|
|
50
93
|
proxyUser?: string;
|
|
51
94
|
/**
|
|
52
95
|
* @remarks
|
|
96
|
+
* The region ID.
|
|
97
|
+
*
|
|
98
|
+
* > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/612293.html) operation to query the available regions and zones, including region ID.
|
|
99
|
+
*
|
|
53
100
|
* This parameter is required.
|
|
54
101
|
*
|
|
55
102
|
* @example
|
|
@@ -57,6 +104,11 @@ export class DescribeSparkAuditLogRecordsRequest extends $dara.Model {
|
|
|
57
104
|
*/
|
|
58
105
|
regionId?: string;
|
|
59
106
|
/**
|
|
107
|
+
* @remarks
|
|
108
|
+
* The resource group name.
|
|
109
|
+
*
|
|
110
|
+
* > You can call the [DescribeDBResourceGroup](https://help.aliyun.com/document_detail/612410.html) operation to query the resource group ID within a cluster.
|
|
111
|
+
*
|
|
60
112
|
* @example
|
|
61
113
|
* test_job
|
|
62
114
|
*/
|
|
@@ -64,39 +116,71 @@ export class DescribeSparkAuditLogRecordsRequest extends $dara.Model {
|
|
|
64
116
|
resourceOwnerAccount?: string;
|
|
65
117
|
resourceOwnerId?: number;
|
|
66
118
|
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* The keyword in the SQL statement.
|
|
121
|
+
*
|
|
67
122
|
* @example
|
|
68
123
|
* test_table_name
|
|
69
124
|
*/
|
|
70
125
|
SQLText?: string;
|
|
71
126
|
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* Query start time. Format: *yyyy-MM-ddTHH:mmZ* (UTC time).
|
|
129
|
+
*
|
|
130
|
+
* > We recommend that you set the query start time to any point in time within 30 days.
|
|
131
|
+
*
|
|
72
132
|
* @example
|
|
73
133
|
* 2025-09-25T00:00Z
|
|
74
134
|
*/
|
|
75
135
|
startTime?: string;
|
|
76
136
|
/**
|
|
77
137
|
* @remarks
|
|
78
|
-
*
|
|
138
|
+
* The ID of the statement.
|
|
79
139
|
*
|
|
80
140
|
* @example
|
|
81
141
|
* fbd22066-1c03-xxxx-aa16-6ae28288****
|
|
82
142
|
*/
|
|
83
143
|
statementId?: string;
|
|
84
144
|
/**
|
|
145
|
+
* @remarks
|
|
146
|
+
* The source from which the query was initiated.
|
|
147
|
+
*
|
|
148
|
+
* Valid values:
|
|
149
|
+
*
|
|
150
|
+
* * SQL_EDITOR: SQL_EDITOR.
|
|
151
|
+
* * JDBC: JDBC.
|
|
152
|
+
*
|
|
85
153
|
* @example
|
|
86
154
|
* SQL_EDITOR
|
|
87
155
|
*/
|
|
88
156
|
statementSource?: string;
|
|
89
157
|
/**
|
|
158
|
+
* @remarks
|
|
159
|
+
* The execution status of the SQL statement.
|
|
160
|
+
*
|
|
161
|
+
* Valid values:
|
|
162
|
+
*
|
|
163
|
+
* * cancel: The task is canceled .
|
|
164
|
+
* * finished: The execution succeeds .
|
|
165
|
+
* * error:The execution fails .
|
|
166
|
+
* * timeout: The execution timed out .
|
|
167
|
+
*
|
|
90
168
|
* @example
|
|
91
169
|
* finish
|
|
92
170
|
*/
|
|
93
171
|
status?: string;
|
|
94
172
|
/**
|
|
173
|
+
* @remarks
|
|
174
|
+
* The duration of the SQL statement. Unit: milliseconds.
|
|
175
|
+
*
|
|
95
176
|
* @example
|
|
96
177
|
* 3000
|
|
97
178
|
*/
|
|
98
179
|
totalTime?: string;
|
|
99
180
|
/**
|
|
181
|
+
* @remarks
|
|
182
|
+
* The username that is used to execute SQL statements.
|
|
183
|
+
*
|
|
100
184
|
* @example
|
|
101
185
|
* test_user
|
|
102
186
|
*/
|
|
@@ -4,79 +4,133 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DescribeSparkAuditLogRecordsResponseBodyItems extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The Spark application ID.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* s202411061011hzc5d6476000****
|
|
9
12
|
*/
|
|
10
13
|
appId?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The source IP address.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* 192.168.XX.XX
|
|
14
20
|
*/
|
|
15
21
|
clientIp?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The SQL execution error message.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* notFoundIp
|
|
19
28
|
*/
|
|
20
29
|
errorMsg?: string;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The SQL execution error stack trace.
|
|
33
|
+
*
|
|
22
34
|
* @example
|
|
23
35
|
* notFoundIpException
|
|
24
36
|
*/
|
|
25
37
|
errorTrace?: string;
|
|
26
38
|
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The start time of the SQL statement. The time is in the yyyy-MM-ddTHH:mm:ssZ format. The time is in UTC.
|
|
41
|
+
*
|
|
27
42
|
* @example
|
|
28
43
|
* 2022-01-23T16:05:08Z
|
|
29
44
|
*/
|
|
30
45
|
executeTime?: string;
|
|
31
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The ID of the query executed within the Spark application.
|
|
49
|
+
*
|
|
32
50
|
* @example
|
|
33
51
|
* 1
|
|
34
52
|
*/
|
|
35
53
|
innerQueryId?: string;
|
|
36
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* Whether it can be diagnosed.
|
|
57
|
+
*
|
|
37
58
|
* @example
|
|
38
59
|
* true
|
|
39
60
|
*/
|
|
40
61
|
isDiagnosable?: boolean;
|
|
41
62
|
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The query ID.
|
|
65
|
+
*
|
|
42
66
|
* @example
|
|
43
67
|
* 999f2439-6b10-xxxx-a5d3-daf3b35c****
|
|
44
68
|
*/
|
|
45
69
|
processId?: string;
|
|
46
70
|
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The resource group name.
|
|
73
|
+
*
|
|
47
74
|
* @example
|
|
48
75
|
* test_job
|
|
49
76
|
*/
|
|
50
77
|
resourceGroupName?: string;
|
|
51
78
|
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The SQL statement.
|
|
81
|
+
*
|
|
52
82
|
* @example
|
|
53
83
|
* SELECT * FROM adb_hdfs_import_source
|
|
54
84
|
*/
|
|
55
85
|
SQLText?: string;
|
|
56
86
|
/**
|
|
57
87
|
* @remarks
|
|
58
|
-
*
|
|
88
|
+
* The ID of the statement.
|
|
59
89
|
*
|
|
60
90
|
* @example
|
|
61
91
|
* fbd22066-1c03-xxxx-aa16-6ae28288****
|
|
62
92
|
*/
|
|
63
93
|
statementId?: string;
|
|
64
94
|
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The source from which the query was initiated.
|
|
97
|
+
*
|
|
98
|
+
* Valid values:
|
|
99
|
+
*
|
|
100
|
+
* * SQL_EDITOR: SQL_EDITOR.
|
|
101
|
+
* * JDBC: JDBC.
|
|
102
|
+
*
|
|
65
103
|
* @example
|
|
66
104
|
* SQL_EDITOR
|
|
67
105
|
*/
|
|
68
106
|
statementSource?: string;
|
|
69
107
|
/**
|
|
108
|
+
* @remarks
|
|
109
|
+
* The execution status of the SQL statement.
|
|
110
|
+
*
|
|
111
|
+
* Valid values:
|
|
112
|
+
*
|
|
113
|
+
* * cancel: The task is canceled .
|
|
114
|
+
* * finished: The execution succeeds .
|
|
115
|
+
* * error: The execution fails .
|
|
116
|
+
* * timeout: The execution of the command timed out.
|
|
117
|
+
*
|
|
70
118
|
* @example
|
|
71
119
|
* finish
|
|
72
120
|
*/
|
|
73
121
|
status?: string;
|
|
74
122
|
/**
|
|
123
|
+
* @remarks
|
|
124
|
+
* The duration of the SQL statement. Unit: milliseconds.
|
|
125
|
+
*
|
|
75
126
|
* @example
|
|
76
127
|
* 40000
|
|
77
128
|
*/
|
|
78
129
|
totalTime?: number;
|
|
79
130
|
/**
|
|
131
|
+
* @remarks
|
|
132
|
+
* The username that is used to execute SQL statements.
|
|
133
|
+
*
|
|
80
134
|
* @example
|
|
81
135
|
* test_user
|
|
82
136
|
*/
|
|
@@ -132,6 +186,9 @@ export class DescribeSparkAuditLogRecordsResponseBodyItems extends $dara.Model {
|
|
|
132
186
|
|
|
133
187
|
export class DescribeSparkAuditLogRecordsResponseBody extends $dara.Model {
|
|
134
188
|
/**
|
|
189
|
+
* @remarks
|
|
190
|
+
* The details about the access denial. This parameter is returned only if Resource Access Management (RAM) permission verification failed.
|
|
191
|
+
*
|
|
135
192
|
* @example
|
|
136
193
|
* {
|
|
137
194
|
* "PolicyType": "AccountLevelIdentityBasedPolicy",
|
|
@@ -145,27 +202,46 @@ export class DescribeSparkAuditLogRecordsResponseBody extends $dara.Model {
|
|
|
145
202
|
*/
|
|
146
203
|
accessDeniedDetail?: string;
|
|
147
204
|
/**
|
|
205
|
+
* @remarks
|
|
206
|
+
* The cluster ID.
|
|
207
|
+
*
|
|
148
208
|
* @example
|
|
149
209
|
* amv-bp1j7******78j8i
|
|
150
210
|
*/
|
|
151
211
|
DBClusterId?: string;
|
|
212
|
+
/**
|
|
213
|
+
* @remarks
|
|
214
|
+
* The list of SQL audit logs.
|
|
215
|
+
*/
|
|
152
216
|
items?: DescribeSparkAuditLogRecordsResponseBodyItems[];
|
|
153
217
|
/**
|
|
218
|
+
* @remarks
|
|
219
|
+
* The page number.
|
|
220
|
+
*
|
|
154
221
|
* @example
|
|
155
222
|
* 1
|
|
156
223
|
*/
|
|
157
224
|
pageNumber?: string;
|
|
158
225
|
/**
|
|
226
|
+
* @remarks
|
|
227
|
+
* The number of entries to return per page.
|
|
228
|
+
*
|
|
159
229
|
* @example
|
|
160
230
|
* 30
|
|
161
231
|
*/
|
|
162
232
|
pageSize?: string;
|
|
163
233
|
/**
|
|
234
|
+
* @remarks
|
|
235
|
+
* The request ID.
|
|
236
|
+
*
|
|
164
237
|
* @example
|
|
165
238
|
* 2D5867CF-423F-559F-BBB1-199A289E****
|
|
166
239
|
*/
|
|
167
240
|
requestId?: string;
|
|
168
241
|
/**
|
|
242
|
+
* @remarks
|
|
243
|
+
* The total number of entries.
|
|
244
|
+
*
|
|
169
245
|
* @example
|
|
170
246
|
* 100
|
|
171
247
|
*/
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeViewJobsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The cluster ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* am-bp1ub9grke1****
|
|
12
|
+
*/
|
|
13
|
+
DBClusterId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The owner of the view.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* admin
|
|
20
|
+
*/
|
|
21
|
+
filterOwner?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The name of the view.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* test_mv
|
|
28
|
+
*/
|
|
29
|
+
filterViewName?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The type of the view.
|
|
33
|
+
*
|
|
34
|
+
* Valid values:
|
|
35
|
+
*
|
|
36
|
+
* \\-VIRTUAL_VIEW
|
|
37
|
+
*
|
|
38
|
+
* \\-MATERIALIZED_VIEW
|
|
39
|
+
*
|
|
40
|
+
* This parameter is empty by default.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* MATERIALIZED_VIEW
|
|
44
|
+
*/
|
|
45
|
+
filterViewType?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The field used for sorting. Valid values for Type:
|
|
49
|
+
*
|
|
50
|
+
* * Asc.
|
|
51
|
+
* * Desc.
|
|
52
|
+
*
|
|
53
|
+
* Valid values for Field:
|
|
54
|
+
*
|
|
55
|
+
* * StartTime.
|
|
56
|
+
* * EndTime;
|
|
57
|
+
* * ScheduledStartTime;
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* {\\"Field\\":\\"StartTime\\",\\"Type\\":\\"Desc\\"}
|
|
61
|
+
*/
|
|
62
|
+
orderBy?: string;
|
|
63
|
+
/**
|
|
64
|
+
* @remarks
|
|
65
|
+
* The page number.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* 1
|
|
69
|
+
*/
|
|
70
|
+
pageNumber?: number;
|
|
71
|
+
/**
|
|
72
|
+
* @remarks
|
|
73
|
+
* The number of entries to return on each page.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* 30
|
|
77
|
+
*/
|
|
78
|
+
pageSize?: number;
|
|
79
|
+
/**
|
|
80
|
+
* @remarks
|
|
81
|
+
* The region ID.
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* cn-hangzhou
|
|
85
|
+
*/
|
|
86
|
+
regionId?: string;
|
|
87
|
+
/**
|
|
88
|
+
* @remarks
|
|
89
|
+
* The database name.
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* demo_db
|
|
93
|
+
*/
|
|
94
|
+
schemaName?: string;
|
|
95
|
+
static names(): { [key: string]: string } {
|
|
96
|
+
return {
|
|
97
|
+
DBClusterId: 'DBClusterId',
|
|
98
|
+
filterOwner: 'FilterOwner',
|
|
99
|
+
filterViewName: 'FilterViewName',
|
|
100
|
+
filterViewType: 'FilterViewType',
|
|
101
|
+
orderBy: 'OrderBy',
|
|
102
|
+
pageNumber: 'PageNumber',
|
|
103
|
+
pageSize: 'PageSize',
|
|
104
|
+
regionId: 'RegionId',
|
|
105
|
+
schemaName: 'SchemaName',
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
static types(): { [key: string]: any } {
|
|
110
|
+
return {
|
|
111
|
+
DBClusterId: 'string',
|
|
112
|
+
filterOwner: 'string',
|
|
113
|
+
filterViewName: 'string',
|
|
114
|
+
filterViewType: 'string',
|
|
115
|
+
orderBy: 'string',
|
|
116
|
+
pageNumber: 'number',
|
|
117
|
+
pageSize: 'number',
|
|
118
|
+
regionId: 'string',
|
|
119
|
+
schemaName: 'string',
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
validate() {
|
|
124
|
+
super.validate();
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
constructor(map?: { [key: string]: any }) {
|
|
128
|
+
super(map);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeViewJobsResponseBody } from "./DescribeViewJobsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeViewJobsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeViewJobsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeViewJobsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|