@alicloud/adb20211201 5.1.0 → 5.1.1
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 +6 -6
- package/dist/client.js +9 -6
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeAuditLogRecordsRequest.d.ts +20 -12
- package/dist/models/DescribeAuditLogRecordsRequest.js +2 -0
- package/dist/models/DescribeAuditLogRecordsRequest.js.map +1 -1
- package/dist/models/DescribeAuditLogRecordsResponseBody.d.ts +9 -9
- package/package.json +1 -1
- package/src/client.ts +10 -6
- package/src/models/DescribeAuditLogRecordsRequest.ts +22 -12
- package/src/models/DescribeAuditLogRecordsResponseBody.ts +9 -9
|
@@ -3,8 +3,8 @@ export declare class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
5
|
* <props="china">The cluster ID of the Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
|
|
6
|
-
* <props="intl">The ID of the Data Lakehouse Edition cluster.
|
|
7
|
-
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/454250.html) operation to query the cluster IDs of all clusters in a region.
|
|
6
|
+
* <props="intl">The cluster ID of the Data Lakehouse Edition cluster.
|
|
7
|
+
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/454250.html) operation to query the cluster IDs of all clusters in a specified region.
|
|
8
8
|
*
|
|
9
9
|
* This parameter is required.
|
|
10
10
|
*
|
|
@@ -14,7 +14,7 @@ export declare class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
14
14
|
DBClusterId?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The name of the database on which the SQL statement
|
|
17
|
+
* The name of the database on which the SQL statement is executed.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* adb_demo
|
|
@@ -31,13 +31,20 @@ export declare class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
31
31
|
*/
|
|
32
32
|
endTime?: string;
|
|
33
33
|
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The engine type. Valid values:
|
|
36
|
+
* - XIHE: audit logs of the default compute engine.
|
|
37
|
+
* - AGENT_SERVERLESS: audit logs of the Serverless analytics feature.
|
|
38
|
+
*
|
|
39
|
+
* If this parameter is not specified, the default value is XIHE.
|
|
40
|
+
*
|
|
34
41
|
* @example
|
|
35
42
|
* XIHE
|
|
36
43
|
*/
|
|
37
44
|
engineType?: string;
|
|
38
45
|
/**
|
|
39
46
|
* @remarks
|
|
40
|
-
* The IP address and port number of the client that
|
|
47
|
+
* The IP address and port number of the client that executes the SQL statement.
|
|
41
48
|
*
|
|
42
49
|
* @example
|
|
43
50
|
* 100.104.XX.XX:43908
|
|
@@ -52,7 +59,7 @@ export declare class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
52
59
|
* * **ExecutionStartTime**: the execution start time of the SQL statement.
|
|
53
60
|
* * **QueryTime**: the execution duration of the SQL statement.
|
|
54
61
|
* * **PeakMemoryUsage**: the peak memory usage during the execution of the SQL statement.
|
|
55
|
-
* * **ScanRows**: the number of rows scanned by
|
|
62
|
+
* * **ScanRows**: the number of rows scanned by tasks with data sources.
|
|
56
63
|
* * **ScanSize**: the amount of scanned data.
|
|
57
64
|
* * **ScanTime**: the total time consumed for scanning data.
|
|
58
65
|
* * **PlanningTime**: the time consumed for generating the execution plan.
|
|
@@ -99,6 +106,7 @@ export declare class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
99
106
|
* 10
|
|
100
107
|
*/
|
|
101
108
|
pageSize?: number;
|
|
109
|
+
processId?: string;
|
|
102
110
|
/**
|
|
103
111
|
* @remarks
|
|
104
112
|
* A reserved parameter.
|
|
@@ -109,7 +117,7 @@ export declare class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
109
117
|
proxyUser?: string;
|
|
110
118
|
/**
|
|
111
119
|
* @remarks
|
|
112
|
-
* The keyword used to
|
|
120
|
+
* The keyword used to search the returned results.
|
|
113
121
|
*
|
|
114
122
|
* @example
|
|
115
123
|
* adb
|
|
@@ -139,7 +147,7 @@ export declare class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
139
147
|
* - **DROP**
|
|
140
148
|
* - **CREATE**
|
|
141
149
|
*
|
|
142
|
-
* > Only one type can be specified per request. If this parameter is
|
|
150
|
+
* > Only one type can be specified per request. If this parameter is not specified, all types are queried by default.
|
|
143
151
|
*
|
|
144
152
|
* @example
|
|
145
153
|
* SELECT
|
|
@@ -148,7 +156,7 @@ export declare class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
148
156
|
/**
|
|
149
157
|
* @remarks
|
|
150
158
|
* The beginning of the time range to query. Specify the time in UTC in the yyyy-MM-ddTHH:mmZ format.
|
|
151
|
-
* > SQL
|
|
159
|
+
* > SQL audit logs can be queried only when SQL audit is enabled, and only logs from the last 30 days are supported. If SQL audit is disabled and then re-enabled, only logs generated after re-enabling can be queried.
|
|
152
160
|
*
|
|
153
161
|
* @example
|
|
154
162
|
* 2022-08-12T04:17Z
|
|
@@ -156,9 +164,9 @@ export declare class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
156
164
|
startTime?: string;
|
|
157
165
|
/**
|
|
158
166
|
* @remarks
|
|
159
|
-
* Specifies whether the SQL statement
|
|
160
|
-
* * **true**:
|
|
161
|
-
* * **false**:
|
|
167
|
+
* Specifies whether the SQL statement is executed successfully. Valid values:
|
|
168
|
+
* * **true**: Executed successfully.
|
|
169
|
+
* * **false**: Execution failed.
|
|
162
170
|
*
|
|
163
171
|
* @example
|
|
164
172
|
* true
|
|
@@ -166,7 +174,7 @@ export declare class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
166
174
|
succeed?: string;
|
|
167
175
|
/**
|
|
168
176
|
* @remarks
|
|
169
|
-
* The username that
|
|
177
|
+
* The username that executes the SQL statement.
|
|
170
178
|
*
|
|
171
179
|
* @example
|
|
172
180
|
* test
|
|
@@ -50,6 +50,7 @@ class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
50
50
|
ownerId: 'OwnerId',
|
|
51
51
|
pageNumber: 'PageNumber',
|
|
52
52
|
pageSize: 'PageSize',
|
|
53
|
+
processId: 'ProcessId',
|
|
53
54
|
proxyUser: 'ProxyUser',
|
|
54
55
|
queryKeyword: 'QueryKeyword',
|
|
55
56
|
regionId: 'RegionId',
|
|
@@ -74,6 +75,7 @@ class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
74
75
|
ownerId: 'number',
|
|
75
76
|
pageNumber: 'number',
|
|
76
77
|
pageSize: 'number',
|
|
78
|
+
processId: 'string',
|
|
77
79
|
proxyUser: 'string',
|
|
78
80
|
queryKeyword: 'string',
|
|
79
81
|
regionId: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeAuditLogRecordsRequest.js","sourceRoot":"","sources":["../../src/models/DescribeAuditLogRecordsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DescribeAuditLogRecordsRequest.js","sourceRoot":"","sources":["../../src/models/DescribeAuditLogRecordsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAqL7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;YAC1B,KAAK,EAAE,OAAO;YACd,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,QAAQ;YACrB,KAAK,EAAE,QAAQ;YACf,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,QAAQ;YACjB,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhPD,wEAgPC"}
|
|
@@ -10,7 +10,7 @@ export declare class DescribeAuditLogRecordsResponseBodyItems extends $dara.Mode
|
|
|
10
10
|
connId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The name of the database on which the SQL statement
|
|
13
|
+
* The name of the database on which the SQL statement is executed.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* adb_demo
|
|
@@ -18,7 +18,7 @@ export declare class DescribeAuditLogRecordsResponseBodyItems extends $dara.Mode
|
|
|
18
18
|
DBName?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The execution start time of the SQL statement in local time.
|
|
21
|
+
* The execution start time of the SQL statement in local time. Format: yyyy-MM-dd HH:mm:ss.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* 2022-08-12 10:10:00
|
|
@@ -26,7 +26,7 @@ export declare class DescribeAuditLogRecordsResponseBodyItems extends $dara.Mode
|
|
|
26
26
|
executeTime?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The execution start time of the SQL statement
|
|
29
|
+
* The execution start time of the SQL statement. The value is a UNIX timestamp in milliseconds.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* 1774600396584
|
|
@@ -45,7 +45,7 @@ export declare class DescribeAuditLogRecordsResponseBodyItems extends $dara.Mode
|
|
|
45
45
|
hasDiagnosticInfo?: boolean;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The IP address and port number of the client that
|
|
48
|
+
* The IP address and port number of the client that executes the SQL statement.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 100.104.XX.XX:43908
|
|
@@ -77,9 +77,9 @@ export declare class DescribeAuditLogRecordsResponseBodyItems extends $dara.Mode
|
|
|
77
77
|
SQLType?: string;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
* Indicates whether the SQL statement
|
|
81
|
-
* - **true**:
|
|
82
|
-
* - **false**:
|
|
80
|
+
* Indicates whether the SQL statement is executed successfully. Valid values:
|
|
81
|
+
* - **true**: Executed successfully.
|
|
82
|
+
* - **false**: Execution failed.
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
85
|
* true
|
|
@@ -95,7 +95,7 @@ export declare class DescribeAuditLogRecordsResponseBodyItems extends $dara.Mode
|
|
|
95
95
|
totalTime?: string;
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
* The username that
|
|
98
|
+
* The username that executes the SQL statement.
|
|
99
99
|
*
|
|
100
100
|
* @example
|
|
101
101
|
* test
|
|
@@ -116,7 +116,7 @@ export declare class DescribeAuditLogRecordsResponseBody extends $dara.Model {
|
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
118
|
* <props="china">The cluster ID of the Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
|
|
119
|
-
* <props="intl">The ID of the Data Lakehouse Edition cluster.
|
|
119
|
+
* <props="intl">The cluster ID of the Data Lakehouse Edition cluster.
|
|
120
120
|
*
|
|
121
121
|
* @example
|
|
122
122
|
* amv-t4nj8619bz2w3****
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -5057,11 +5057,11 @@ export default class Client extends OpenApi {
|
|
|
5057
5057
|
}
|
|
5058
5058
|
|
|
5059
5059
|
/**
|
|
5060
|
-
* Queries the SQL
|
|
5060
|
+
* Queries the SQL audit logs of a cluster.
|
|
5061
5061
|
*
|
|
5062
5062
|
* @remarks
|
|
5063
|
-
* - SQL
|
|
5064
|
-
* - For the
|
|
5063
|
+
* - SQL audit logs can be queried only when SQL audit is enabled, and only logs from the last 30 days are supported. If SQL audit is shutdown and then re-enabled, only logs generated after re-enabling can be queried. SQL audit logs do not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
|
|
5064
|
+
* - For the service registration of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
|
|
5065
5065
|
*
|
|
5066
5066
|
* @param request - DescribeAuditLogRecordsRequest
|
|
5067
5067
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5114,6 +5114,10 @@ export default class Client extends OpenApi {
|
|
|
5114
5114
|
query["PageSize"] = request.pageSize;
|
|
5115
5115
|
}
|
|
5116
5116
|
|
|
5117
|
+
if (!$dara.isNull(request.processId)) {
|
|
5118
|
+
query["ProcessId"] = request.processId;
|
|
5119
|
+
}
|
|
5120
|
+
|
|
5117
5121
|
if (!$dara.isNull(request.proxyUser)) {
|
|
5118
5122
|
query["ProxyUser"] = request.proxyUser;
|
|
5119
5123
|
}
|
|
@@ -5168,11 +5172,11 @@ export default class Client extends OpenApi {
|
|
|
5168
5172
|
}
|
|
5169
5173
|
|
|
5170
5174
|
/**
|
|
5171
|
-
* Queries the SQL
|
|
5175
|
+
* Queries the SQL audit logs of a cluster.
|
|
5172
5176
|
*
|
|
5173
5177
|
* @remarks
|
|
5174
|
-
* - SQL
|
|
5175
|
-
* - For the
|
|
5178
|
+
* - SQL audit logs can be queried only when SQL audit is enabled, and only logs from the last 30 days are supported. If SQL audit is shutdown and then re-enabled, only logs generated after re-enabling can be queried. SQL audit logs do not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
|
|
5179
|
+
* - For the service registration of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
|
|
5176
5180
|
*
|
|
5177
5181
|
* @param request - DescribeAuditLogRecordsRequest
|
|
5178
5182
|
* @returns DescribeAuditLogRecordsResponse
|
|
@@ -6,8 +6,8 @@ export class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* <props="china">The cluster ID of the Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
|
|
9
|
-
* <props="intl">The ID of the Data Lakehouse Edition cluster.
|
|
10
|
-
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/454250.html) operation to query the cluster IDs of all clusters in a region.
|
|
9
|
+
* <props="intl">The cluster ID of the Data Lakehouse Edition cluster.
|
|
10
|
+
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/454250.html) operation to query the cluster IDs of all clusters in a specified region.
|
|
11
11
|
*
|
|
12
12
|
* This parameter is required.
|
|
13
13
|
*
|
|
@@ -17,7 +17,7 @@ export class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
17
17
|
DBClusterId?: string;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
* The name of the database on which the SQL statement
|
|
20
|
+
* The name of the database on which the SQL statement is executed.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* adb_demo
|
|
@@ -34,13 +34,20 @@ export class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
34
34
|
*/
|
|
35
35
|
endTime?: string;
|
|
36
36
|
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The engine type. Valid values:
|
|
39
|
+
* - XIHE: audit logs of the default compute engine.
|
|
40
|
+
* - AGENT_SERVERLESS: audit logs of the Serverless analytics feature.
|
|
41
|
+
*
|
|
42
|
+
* If this parameter is not specified, the default value is XIHE.
|
|
43
|
+
*
|
|
37
44
|
* @example
|
|
38
45
|
* XIHE
|
|
39
46
|
*/
|
|
40
47
|
engineType?: string;
|
|
41
48
|
/**
|
|
42
49
|
* @remarks
|
|
43
|
-
* The IP address and port number of the client that
|
|
50
|
+
* The IP address and port number of the client that executes the SQL statement.
|
|
44
51
|
*
|
|
45
52
|
* @example
|
|
46
53
|
* 100.104.XX.XX:43908
|
|
@@ -55,7 +62,7 @@ export class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
55
62
|
* * **ExecutionStartTime**: the execution start time of the SQL statement.
|
|
56
63
|
* * **QueryTime**: the execution duration of the SQL statement.
|
|
57
64
|
* * **PeakMemoryUsage**: the peak memory usage during the execution of the SQL statement.
|
|
58
|
-
* * **ScanRows**: the number of rows scanned by
|
|
65
|
+
* * **ScanRows**: the number of rows scanned by tasks with data sources.
|
|
59
66
|
* * **ScanSize**: the amount of scanned data.
|
|
60
67
|
* * **ScanTime**: the total time consumed for scanning data.
|
|
61
68
|
* * **PlanningTime**: the time consumed for generating the execution plan.
|
|
@@ -102,6 +109,7 @@ export class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
102
109
|
* 10
|
|
103
110
|
*/
|
|
104
111
|
pageSize?: number;
|
|
112
|
+
processId?: string;
|
|
105
113
|
/**
|
|
106
114
|
* @remarks
|
|
107
115
|
* A reserved parameter.
|
|
@@ -112,7 +120,7 @@ export class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
112
120
|
proxyUser?: string;
|
|
113
121
|
/**
|
|
114
122
|
* @remarks
|
|
115
|
-
* The keyword used to
|
|
123
|
+
* The keyword used to search the returned results.
|
|
116
124
|
*
|
|
117
125
|
* @example
|
|
118
126
|
* adb
|
|
@@ -142,7 +150,7 @@ export class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
142
150
|
* - **DROP**
|
|
143
151
|
* - **CREATE**
|
|
144
152
|
*
|
|
145
|
-
* > Only one type can be specified per request. If this parameter is
|
|
153
|
+
* > Only one type can be specified per request. If this parameter is not specified, all types are queried by default.
|
|
146
154
|
*
|
|
147
155
|
* @example
|
|
148
156
|
* SELECT
|
|
@@ -151,7 +159,7 @@ export class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
151
159
|
/**
|
|
152
160
|
* @remarks
|
|
153
161
|
* The beginning of the time range to query. Specify the time in UTC in the yyyy-MM-ddTHH:mmZ format.
|
|
154
|
-
* > SQL
|
|
162
|
+
* > SQL audit logs can be queried only when SQL audit is enabled, and only logs from the last 30 days are supported. If SQL audit is disabled and then re-enabled, only logs generated after re-enabling can be queried.
|
|
155
163
|
*
|
|
156
164
|
* @example
|
|
157
165
|
* 2022-08-12T04:17Z
|
|
@@ -159,9 +167,9 @@ export class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
159
167
|
startTime?: string;
|
|
160
168
|
/**
|
|
161
169
|
* @remarks
|
|
162
|
-
* Specifies whether the SQL statement
|
|
163
|
-
* * **true**:
|
|
164
|
-
* * **false**:
|
|
170
|
+
* Specifies whether the SQL statement is executed successfully. Valid values:
|
|
171
|
+
* * **true**: Executed successfully.
|
|
172
|
+
* * **false**: Execution failed.
|
|
165
173
|
*
|
|
166
174
|
* @example
|
|
167
175
|
* true
|
|
@@ -169,7 +177,7 @@ export class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
169
177
|
succeed?: string;
|
|
170
178
|
/**
|
|
171
179
|
* @remarks
|
|
172
|
-
* The username that
|
|
180
|
+
* The username that executes the SQL statement.
|
|
173
181
|
*
|
|
174
182
|
* @example
|
|
175
183
|
* test
|
|
@@ -188,6 +196,7 @@ export class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
188
196
|
ownerId: 'OwnerId',
|
|
189
197
|
pageNumber: 'PageNumber',
|
|
190
198
|
pageSize: 'PageSize',
|
|
199
|
+
processId: 'ProcessId',
|
|
191
200
|
proxyUser: 'ProxyUser',
|
|
192
201
|
queryKeyword: 'QueryKeyword',
|
|
193
202
|
regionId: 'RegionId',
|
|
@@ -213,6 +222,7 @@ export class DescribeAuditLogRecordsRequest extends $dara.Model {
|
|
|
213
222
|
ownerId: 'number',
|
|
214
223
|
pageNumber: 'number',
|
|
215
224
|
pageSize: 'number',
|
|
225
|
+
processId: 'string',
|
|
216
226
|
proxyUser: 'string',
|
|
217
227
|
queryKeyword: 'string',
|
|
218
228
|
regionId: 'string',
|
|
@@ -13,7 +13,7 @@ export class DescribeAuditLogRecordsResponseBodyItems extends $dara.Model {
|
|
|
13
13
|
connId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The name of the database on which the SQL statement
|
|
16
|
+
* The name of the database on which the SQL statement is executed.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* adb_demo
|
|
@@ -21,7 +21,7 @@ export class DescribeAuditLogRecordsResponseBodyItems extends $dara.Model {
|
|
|
21
21
|
DBName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The execution start time of the SQL statement in local time.
|
|
24
|
+
* The execution start time of the SQL statement in local time. Format: yyyy-MM-dd HH:mm:ss.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 2022-08-12 10:10:00
|
|
@@ -29,7 +29,7 @@ export class DescribeAuditLogRecordsResponseBodyItems extends $dara.Model {
|
|
|
29
29
|
executeTime?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The execution start time of the SQL statement
|
|
32
|
+
* The execution start time of the SQL statement. The value is a UNIX timestamp in milliseconds.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 1774600396584
|
|
@@ -48,7 +48,7 @@ export class DescribeAuditLogRecordsResponseBodyItems extends $dara.Model {
|
|
|
48
48
|
hasDiagnosticInfo?: boolean;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The IP address and port number of the client that
|
|
51
|
+
* The IP address and port number of the client that executes the SQL statement.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* 100.104.XX.XX:43908
|
|
@@ -80,9 +80,9 @@ export class DescribeAuditLogRecordsResponseBodyItems extends $dara.Model {
|
|
|
80
80
|
SQLType?: string;
|
|
81
81
|
/**
|
|
82
82
|
* @remarks
|
|
83
|
-
* Indicates whether the SQL statement
|
|
84
|
-
* - **true**:
|
|
85
|
-
* - **false**:
|
|
83
|
+
* Indicates whether the SQL statement is executed successfully. Valid values:
|
|
84
|
+
* - **true**: Executed successfully.
|
|
85
|
+
* - **false**: Execution failed.
|
|
86
86
|
*
|
|
87
87
|
* @example
|
|
88
88
|
* true
|
|
@@ -98,7 +98,7 @@ export class DescribeAuditLogRecordsResponseBodyItems extends $dara.Model {
|
|
|
98
98
|
totalTime?: string;
|
|
99
99
|
/**
|
|
100
100
|
* @remarks
|
|
101
|
-
* The username that
|
|
101
|
+
* The username that executes the SQL statement.
|
|
102
102
|
*
|
|
103
103
|
* @example
|
|
104
104
|
* test
|
|
@@ -151,7 +151,7 @@ export class DescribeAuditLogRecordsResponseBody extends $dara.Model {
|
|
|
151
151
|
/**
|
|
152
152
|
* @remarks
|
|
153
153
|
* <props="china">The cluster ID of the Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
|
|
154
|
-
* <props="intl">The ID of the Data Lakehouse Edition cluster.
|
|
154
|
+
* <props="intl">The cluster ID of the Data Lakehouse Edition cluster.
|
|
155
155
|
*
|
|
156
156
|
* @example
|
|
157
157
|
* amv-t4nj8619bz2w3****
|