@alicloud/das20200116 3.0.0 → 3.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 +15 -0
- package/dist/client.js +114 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateSqlLogTaskRequest.d.ts +4 -0
- package/dist/models/CreateSqlLogTaskRequest.js.map +1 -1
- package/dist/models/DescribeAuditLogsRequest.d.ts +139 -0
- package/dist/models/DescribeAuditLogsRequest.js +108 -0
- package/dist/models/DescribeAuditLogsRequest.js.map +1 -0
- package/dist/models/DescribeAuditLogsResponse.d.ts +19 -0
- package/dist/models/DescribeAuditLogsResponse.js +69 -0
- package/dist/models/DescribeAuditLogsResponse.js.map +1 -0
- package/dist/models/DescribeAuditLogsResponseBody.d.ts +199 -0
- package/dist/models/DescribeAuditLogsResponseBody.js +152 -0
- package/dist/models/DescribeAuditLogsResponseBody.js.map +1 -0
- package/dist/models/DescribeSlowLogRecordsResponseBody.d.ts +1 -0
- package/dist/models/DescribeSlowLogRecordsResponseBody.js +2 -0
- package/dist/models/DescribeSlowLogRecordsResponseBody.js.map +1 -1
- package/dist/models/DescribeSqlLogRecordsRequest.d.ts +4 -0
- package/dist/models/DescribeSqlLogRecordsRequest.js.map +1 -1
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +20 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +142 -0
- package/src/models/CreateSqlLogTaskRequest.ts +4 -0
- package/src/models/DescribeAuditLogsRequest.ts +202 -0
- package/src/models/DescribeAuditLogsResponse.ts +40 -0
- package/src/models/DescribeAuditLogsResponseBody.ts +297 -0
- package/src/models/DescribeSlowLogRecordsResponseBody.ts +3 -0
- package/src/models/DescribeSqlLogRecordsRequest.ts +4 -0
- package/src/models/model.ts +4 -0
|
@@ -34,6 +34,8 @@ export declare class CreateSqlLogTaskRequest extends $dara.Model {
|
|
|
34
34
|
* @remarks
|
|
35
35
|
* The end of the time range to query. Specify the time in the UNIX timestamp format. Unit: milliseconds.
|
|
36
36
|
*
|
|
37
|
+
* This parameter is required.
|
|
38
|
+
*
|
|
37
39
|
* @example
|
|
38
40
|
* 1608888296000
|
|
39
41
|
*/
|
|
@@ -84,6 +86,8 @@ export declare class CreateSqlLogTaskRequest extends $dara.Model {
|
|
|
84
86
|
* @remarks
|
|
85
87
|
* The beginning of the time range to query. Specify the time in the UNIX timestamp format. Unit: milliseconds.
|
|
86
88
|
*
|
|
89
|
+
* This parameter is required.
|
|
90
|
+
*
|
|
87
91
|
* @example
|
|
88
92
|
* 1596177993000
|
|
89
93
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateSqlLogTaskRequest.js","sourceRoot":"","sources":["../../src/models/CreateSqlLogTaskRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAmB7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,KAAK;YACV,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,QAAQ;YACb,KAAK,EAAE,QAAQ;SAChB,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;AAxCD,wEAwCC;AAED,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateSqlLogTaskRequest.js","sourceRoot":"","sources":["../../src/models/CreateSqlLogTaskRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MA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QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/GD,0DA+GC"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DescribeAuditLogsRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* 2c548e83-1473-4fda-b3dc-5a189074ead5
|
|
6
|
+
*/
|
|
7
|
+
asyncRequestId?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* 11.26.118.7
|
|
11
|
+
*/
|
|
12
|
+
clientIp?: string;
|
|
13
|
+
clientUa?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* 3
|
|
17
|
+
*/
|
|
18
|
+
currentPage?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* TestDB
|
|
22
|
+
*/
|
|
23
|
+
databaseName?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* in[1 33]
|
|
27
|
+
*/
|
|
28
|
+
effectRowRange?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @example
|
|
31
|
+
* 15682887991222
|
|
32
|
+
*/
|
|
33
|
+
endTime?: number;
|
|
34
|
+
/**
|
|
35
|
+
* @example
|
|
36
|
+
* in[1000 2000]
|
|
37
|
+
*/
|
|
38
|
+
executeTimeRange?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @example
|
|
41
|
+
* rm-t4ni1cezz5y3xxxx
|
|
42
|
+
*/
|
|
43
|
+
instanceName?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @example
|
|
46
|
+
* aliyun
|
|
47
|
+
*/
|
|
48
|
+
ipType?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @example
|
|
51
|
+
* zh-CN
|
|
52
|
+
*/
|
|
53
|
+
lang?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* false
|
|
57
|
+
*/
|
|
58
|
+
loadWhiteList?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* SLOW_SQL
|
|
62
|
+
*/
|
|
63
|
+
logSource?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @example
|
|
66
|
+
* Insert
|
|
67
|
+
*/
|
|
68
|
+
operateType?: string;
|
|
69
|
+
/**
|
|
70
|
+
* @example
|
|
71
|
+
* N.A
|
|
72
|
+
*/
|
|
73
|
+
ossObjectKey?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* 30
|
|
77
|
+
*/
|
|
78
|
+
pageSize?: number;
|
|
79
|
+
/**
|
|
80
|
+
* @example
|
|
81
|
+
* RDS
|
|
82
|
+
*/
|
|
83
|
+
productCode?: string;
|
|
84
|
+
/**
|
|
85
|
+
* @example
|
|
86
|
+
* 5
|
|
87
|
+
*/
|
|
88
|
+
productId?: number;
|
|
89
|
+
/**
|
|
90
|
+
* @example
|
|
91
|
+
* true
|
|
92
|
+
*/
|
|
93
|
+
ruleAggQuery?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* @example
|
|
96
|
+
* 10
|
|
97
|
+
*/
|
|
98
|
+
ruleCategory?: string;
|
|
99
|
+
/**
|
|
100
|
+
* @example
|
|
101
|
+
* 9953411
|
|
102
|
+
*/
|
|
103
|
+
ruleID?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @example
|
|
106
|
+
* 867028
|
|
107
|
+
*/
|
|
108
|
+
ruleId?: string;
|
|
109
|
+
/**
|
|
110
|
+
* @example
|
|
111
|
+
* test_rule
|
|
112
|
+
*/
|
|
113
|
+
ruleName?: string;
|
|
114
|
+
/**
|
|
115
|
+
* @example
|
|
116
|
+
* SELECT * FROM test where name = \\"das\\"
|
|
117
|
+
*/
|
|
118
|
+
sqlText?: string;
|
|
119
|
+
/**
|
|
120
|
+
* @example
|
|
121
|
+
* 1608888296000
|
|
122
|
+
*/
|
|
123
|
+
startTime?: number;
|
|
124
|
+
/**
|
|
125
|
+
* @example
|
|
126
|
+
* admin
|
|
127
|
+
*/
|
|
128
|
+
userName?: string;
|
|
129
|
+
static names(): {
|
|
130
|
+
[key: string]: string;
|
|
131
|
+
};
|
|
132
|
+
static types(): {
|
|
133
|
+
[key: string]: any;
|
|
134
|
+
};
|
|
135
|
+
validate(): void;
|
|
136
|
+
constructor(map?: {
|
|
137
|
+
[key: string]: any;
|
|
138
|
+
});
|
|
139
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DescribeAuditLogsRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class DescribeAuditLogsRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
asyncRequestId: 'AsyncRequestId',
|
|
43
|
+
clientIp: 'ClientIp',
|
|
44
|
+
clientUa: 'ClientUa',
|
|
45
|
+
currentPage: 'CurrentPage',
|
|
46
|
+
databaseName: 'DatabaseName',
|
|
47
|
+
effectRowRange: 'EffectRowRange',
|
|
48
|
+
endTime: 'EndTime',
|
|
49
|
+
executeTimeRange: 'ExecuteTimeRange',
|
|
50
|
+
instanceName: 'InstanceName',
|
|
51
|
+
ipType: 'IpType',
|
|
52
|
+
lang: 'Lang',
|
|
53
|
+
loadWhiteList: 'LoadWhiteList',
|
|
54
|
+
logSource: 'LogSource',
|
|
55
|
+
operateType: 'OperateType',
|
|
56
|
+
ossObjectKey: 'OssObjectKey',
|
|
57
|
+
pageSize: 'PageSize',
|
|
58
|
+
productCode: 'ProductCode',
|
|
59
|
+
productId: 'ProductId',
|
|
60
|
+
ruleAggQuery: 'RuleAggQuery',
|
|
61
|
+
ruleCategory: 'RuleCategory',
|
|
62
|
+
ruleID: 'RuleID',
|
|
63
|
+
ruleId: 'RuleId',
|
|
64
|
+
ruleName: 'RuleName',
|
|
65
|
+
sqlText: 'SqlText',
|
|
66
|
+
startTime: 'StartTime',
|
|
67
|
+
userName: 'UserName',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
static types() {
|
|
71
|
+
return {
|
|
72
|
+
asyncRequestId: 'string',
|
|
73
|
+
clientIp: 'string',
|
|
74
|
+
clientUa: 'string',
|
|
75
|
+
currentPage: 'number',
|
|
76
|
+
databaseName: 'string',
|
|
77
|
+
effectRowRange: 'string',
|
|
78
|
+
endTime: 'number',
|
|
79
|
+
executeTimeRange: 'string',
|
|
80
|
+
instanceName: 'string',
|
|
81
|
+
ipType: 'string',
|
|
82
|
+
lang: 'string',
|
|
83
|
+
loadWhiteList: 'boolean',
|
|
84
|
+
logSource: 'string',
|
|
85
|
+
operateType: 'string',
|
|
86
|
+
ossObjectKey: 'string',
|
|
87
|
+
pageSize: 'number',
|
|
88
|
+
productCode: 'string',
|
|
89
|
+
productId: 'number',
|
|
90
|
+
ruleAggQuery: 'boolean',
|
|
91
|
+
ruleCategory: 'string',
|
|
92
|
+
ruleID: 'string',
|
|
93
|
+
ruleId: 'string',
|
|
94
|
+
ruleName: 'string',
|
|
95
|
+
sqlText: 'string',
|
|
96
|
+
startTime: 'number',
|
|
97
|
+
userName: 'string',
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
validate() {
|
|
101
|
+
super.validate();
|
|
102
|
+
}
|
|
103
|
+
constructor(map) {
|
|
104
|
+
super(map);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.DescribeAuditLogsRequest = DescribeAuditLogsRequest;
|
|
108
|
+
//# sourceMappingURL=DescribeAuditLogsRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeAuditLogsRequest.js","sourceRoot":"","sources":["../../src/models/DescribeAuditLogsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IA+HvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,WAAW,E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;YACjB,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;SACnB,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;AApMD,4DAoMC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { DescribeAuditLogsResponseBody } from "./DescribeAuditLogsResponseBody";
|
|
3
|
+
export declare class DescribeAuditLogsResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: DescribeAuditLogsResponseBody;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DescribeAuditLogsResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const DescribeAuditLogsResponseBody_1 = require("./DescribeAuditLogsResponseBody");
|
|
40
|
+
class DescribeAuditLogsResponse extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
headers: 'headers',
|
|
44
|
+
statusCode: 'statusCode',
|
|
45
|
+
body: 'body',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
statusCode: 'number',
|
|
52
|
+
body: DescribeAuditLogsResponseBody_1.DescribeAuditLogsResponseBody,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (this.headers) {
|
|
57
|
+
$dara.Model.validateMap(this.headers);
|
|
58
|
+
}
|
|
59
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
60
|
+
this.body.validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
constructor(map) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.DescribeAuditLogsResponse = DescribeAuditLogsResponse;
|
|
69
|
+
//# sourceMappingURL=DescribeAuditLogsResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeAuditLogsResponse.js","sourceRoot":"","sources":["../../src/models/DescribeAuditLogsResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mFAAgF;AAGhF,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAIxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,6DAA6B;SACpC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,8DAiCC"}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DescribeAuditLogsResponseBodyItems extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* 100.104.16.251
|
|
6
|
+
*/
|
|
7
|
+
clientIp?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* 53815
|
|
11
|
+
*/
|
|
12
|
+
clientPort?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* mysql
|
|
16
|
+
*/
|
|
17
|
+
clientUa?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* ds
|
|
21
|
+
*/
|
|
22
|
+
columnName?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* 1536751124000
|
|
26
|
+
*/
|
|
27
|
+
creationTime?: number;
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* chngc_b2b_migration_sh
|
|
31
|
+
*/
|
|
32
|
+
databaseName?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @example
|
|
35
|
+
* 10
|
|
36
|
+
*/
|
|
37
|
+
effectRow?: number;
|
|
38
|
+
/**
|
|
39
|
+
* @example
|
|
40
|
+
* 1
|
|
41
|
+
*/
|
|
42
|
+
executeStatus?: number;
|
|
43
|
+
/**
|
|
44
|
+
* @example
|
|
45
|
+
* 1751870592000
|
|
46
|
+
*/
|
|
47
|
+
executeTime?: number;
|
|
48
|
+
id?: number;
|
|
49
|
+
/**
|
|
50
|
+
* @example
|
|
51
|
+
* True
|
|
52
|
+
*/
|
|
53
|
+
inWhiteList?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* 2
|
|
57
|
+
*/
|
|
58
|
+
instanceAuditStatus?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* instance dscription
|
|
62
|
+
*/
|
|
63
|
+
instanceDescription?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @example
|
|
66
|
+
* test-instance-003
|
|
67
|
+
*/
|
|
68
|
+
instanceName?: string;
|
|
69
|
+
/**
|
|
70
|
+
* @example
|
|
71
|
+
* aliyun
|
|
72
|
+
*/
|
|
73
|
+
ipType?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* SLOW_SQL
|
|
77
|
+
*/
|
|
78
|
+
logSource?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @example
|
|
81
|
+
* 1751870592000
|
|
82
|
+
*/
|
|
83
|
+
logTime?: number;
|
|
84
|
+
/**
|
|
85
|
+
* @example
|
|
86
|
+
* success
|
|
87
|
+
*/
|
|
88
|
+
message?: string;
|
|
89
|
+
/**
|
|
90
|
+
* @example
|
|
91
|
+
* Drop
|
|
92
|
+
*/
|
|
93
|
+
operateType?: string;
|
|
94
|
+
ossObjectKey?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @example
|
|
97
|
+
* test01
|
|
98
|
+
*/
|
|
99
|
+
packageName?: string;
|
|
100
|
+
/**
|
|
101
|
+
* @example
|
|
102
|
+
* RDS
|
|
103
|
+
*/
|
|
104
|
+
productCode?: string;
|
|
105
|
+
/**
|
|
106
|
+
* @example
|
|
107
|
+
* 5
|
|
108
|
+
*/
|
|
109
|
+
productId?: number;
|
|
110
|
+
/**
|
|
111
|
+
* @example
|
|
112
|
+
* 10
|
|
113
|
+
*/
|
|
114
|
+
ruleCategory?: string;
|
|
115
|
+
/**
|
|
116
|
+
* @example
|
|
117
|
+
* 9953411
|
|
118
|
+
*/
|
|
119
|
+
ruleId?: string;
|
|
120
|
+
/**
|
|
121
|
+
* @example
|
|
122
|
+
* name
|
|
123
|
+
*/
|
|
124
|
+
ruleName?: string;
|
|
125
|
+
/**
|
|
126
|
+
* @example
|
|
127
|
+
* select * from test03
|
|
128
|
+
*/
|
|
129
|
+
sqlText?: string;
|
|
130
|
+
/**
|
|
131
|
+
* @example
|
|
132
|
+
* it_table
|
|
133
|
+
*/
|
|
134
|
+
tableName?: string;
|
|
135
|
+
/**
|
|
136
|
+
* @example
|
|
137
|
+
* 19********94
|
|
138
|
+
*/
|
|
139
|
+
userId?: string;
|
|
140
|
+
/**
|
|
141
|
+
* @example
|
|
142
|
+
* admin
|
|
143
|
+
*/
|
|
144
|
+
userName?: string;
|
|
145
|
+
/**
|
|
146
|
+
* @example
|
|
147
|
+
* 1
|
|
148
|
+
*/
|
|
149
|
+
warnLevel?: string;
|
|
150
|
+
warnLevelName?: string;
|
|
151
|
+
static names(): {
|
|
152
|
+
[key: string]: string;
|
|
153
|
+
};
|
|
154
|
+
static types(): {
|
|
155
|
+
[key: string]: any;
|
|
156
|
+
};
|
|
157
|
+
validate(): void;
|
|
158
|
+
constructor(map?: {
|
|
159
|
+
[key: string]: any;
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
export declare class DescribeAuditLogsResponseBody extends $dara.Model {
|
|
163
|
+
/**
|
|
164
|
+
* @example
|
|
165
|
+
* 3926fba5-1774-44f4-af2d-ac7b33e86c3b
|
|
166
|
+
*/
|
|
167
|
+
asyncRequestId?: string;
|
|
168
|
+
/**
|
|
169
|
+
* @example
|
|
170
|
+
* 1
|
|
171
|
+
*/
|
|
172
|
+
currentPage?: number;
|
|
173
|
+
items?: DescribeAuditLogsResponseBodyItems[];
|
|
174
|
+
/**
|
|
175
|
+
* @example
|
|
176
|
+
* 10
|
|
177
|
+
*/
|
|
178
|
+
pageSize?: number;
|
|
179
|
+
/**
|
|
180
|
+
* @example
|
|
181
|
+
* A7021857-AFD9-5AD6-979D-AA7DFC5AFADF
|
|
182
|
+
*/
|
|
183
|
+
requestId?: string;
|
|
184
|
+
/**
|
|
185
|
+
* @example
|
|
186
|
+
* 12
|
|
187
|
+
*/
|
|
188
|
+
totalCount?: number;
|
|
189
|
+
static names(): {
|
|
190
|
+
[key: string]: string;
|
|
191
|
+
};
|
|
192
|
+
static types(): {
|
|
193
|
+
[key: string]: any;
|
|
194
|
+
};
|
|
195
|
+
validate(): void;
|
|
196
|
+
constructor(map?: {
|
|
197
|
+
[key: string]: any;
|
|
198
|
+
});
|
|
199
|
+
}
|