@alicloud/adb20211201 5.0.3 → 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.
Files changed (51) hide show
  1. package/dist/client.d.ts +81 -6
  2. package/dist/client.js +192 -18
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CloseLogSyncToSlsrequest.d.ts +46 -0
  5. package/dist/models/CloseLogSyncToSlsrequest.js +62 -0
  6. package/dist/models/CloseLogSyncToSlsrequest.js.map +1 -0
  7. package/dist/models/CloseLogSyncToSlsresponse.d.ts +19 -0
  8. package/dist/models/CloseLogSyncToSlsresponse.js +69 -0
  9. package/dist/models/CloseLogSyncToSlsresponse.js.map +1 -0
  10. package/dist/models/CloseLogSyncToSlsresponseBody.d.ts +21 -0
  11. package/dist/models/CloseLogSyncToSlsresponseBody.js +58 -0
  12. package/dist/models/CloseLogSyncToSlsresponseBody.js.map +1 -0
  13. package/dist/models/DescribeAuditLogRecordsRequest.d.ts +24 -12
  14. package/dist/models/DescribeAuditLogRecordsRequest.js +2 -0
  15. package/dist/models/DescribeAuditLogRecordsRequest.js.map +1 -1
  16. package/dist/models/DescribeAuditLogRecordsResponseBody.d.ts +9 -9
  17. package/dist/models/GetLogSyncToSlsrequest.d.ts +46 -0
  18. package/dist/models/GetLogSyncToSlsrequest.js +62 -0
  19. package/dist/models/GetLogSyncToSlsrequest.js.map +1 -0
  20. package/dist/models/GetLogSyncToSlsresponse.d.ts +19 -0
  21. package/dist/models/GetLogSyncToSlsresponse.js +69 -0
  22. package/dist/models/GetLogSyncToSlsresponse.js.map +1 -0
  23. package/dist/models/GetLogSyncToSlsresponseBody.d.ts +64 -0
  24. package/dist/models/GetLogSyncToSlsresponseBody.js +86 -0
  25. package/dist/models/GetLogSyncToSlsresponseBody.js.map +1 -0
  26. package/dist/models/OpenLogSyncToSlsrequest.d.ts +66 -0
  27. package/dist/models/OpenLogSyncToSlsrequest.js +66 -0
  28. package/dist/models/OpenLogSyncToSlsrequest.js.map +1 -0
  29. package/dist/models/OpenLogSyncToSlsresponse.d.ts +19 -0
  30. package/dist/models/OpenLogSyncToSlsresponse.js +69 -0
  31. package/dist/models/OpenLogSyncToSlsresponse.js.map +1 -0
  32. package/dist/models/OpenLogSyncToSlsresponseBody.d.ts +21 -0
  33. package/dist/models/OpenLogSyncToSlsresponseBody.js +58 -0
  34. package/dist/models/OpenLogSyncToSlsresponseBody.js.map +1 -0
  35. package/dist/models/model.d.ts +10 -0
  36. package/dist/models/model.js +39 -19
  37. package/dist/models/model.js.map +1 -1
  38. package/package.json +1 -1
  39. package/src/client.ts +210 -18
  40. package/src/models/CloseLogSyncToSlsrequest.ts +63 -0
  41. package/src/models/CloseLogSyncToSlsresponse.ts +40 -0
  42. package/src/models/CloseLogSyncToSlsresponseBody.ts +34 -0
  43. package/src/models/DescribeAuditLogRecordsRequest.ts +26 -12
  44. package/src/models/DescribeAuditLogRecordsResponseBody.ts +9 -9
  45. package/src/models/GetLogSyncToSlsrequest.ts +63 -0
  46. package/src/models/GetLogSyncToSlsresponse.ts +40 -0
  47. package/src/models/GetLogSyncToSlsresponseBody.ts +96 -0
  48. package/src/models/OpenLogSyncToSlsrequest.ts +87 -0
  49. package/src/models/OpenLogSyncToSlsresponse.ts +40 -0
  50. package/src/models/OpenLogSyncToSlsresponseBody.ts +34 -0
  51. package/src/models/model.ts +10 -0
@@ -0,0 +1,46 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CloseLogSyncToSLSRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The cluster ID.
6
+ *
7
+ * This parameter is required.
8
+ *
9
+ * @example
10
+ * am-bp198m028ih55****
11
+ */
12
+ DBClusterId?: string;
13
+ /**
14
+ * @remarks
15
+ * The log type. Valid values:
16
+ *
17
+ * - **ADBMYSQL_AUDIT_LOG**
18
+ * - **ADBMYSQL_INSERT_LOG**
19
+ *
20
+ * Default value: `ADBMYSQL_AUDIT_LOG`.
21
+ *
22
+ * @example
23
+ * ADBMYSQL_AUDIT_LOG
24
+ */
25
+ logType?: string;
26
+ /**
27
+ * @remarks
28
+ * The region ID.
29
+ *
30
+ * This parameter is required.
31
+ *
32
+ * @example
33
+ * cn-hangzhou
34
+ */
35
+ regionId?: string;
36
+ static names(): {
37
+ [key: string]: string;
38
+ };
39
+ static types(): {
40
+ [key: string]: any;
41
+ };
42
+ validate(): void;
43
+ constructor(map?: {
44
+ [key: string]: any;
45
+ });
46
+ }
@@ -0,0 +1,62 @@
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.CloseLogSyncToSLSRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CloseLogSyncToSLSRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ DBClusterId: 'DBClusterId',
43
+ logType: 'LogType',
44
+ regionId: 'RegionId',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ DBClusterId: 'string',
50
+ logType: 'string',
51
+ regionId: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.CloseLogSyncToSLSRequest = CloseLogSyncToSLSRequest;
62
+ //# sourceMappingURL=CloseLogSyncToSlsrequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloseLogSyncToSlsrequest.js","sourceRoot":"","sources":["../../src/models/CloseLogSyncToSlsrequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAkCvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,OAAO,EAAE,QAAQ;YACjB,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;AAzDD,4DAyDC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { CloseLogSyncToSLSResponseBody } from "./CloseLogSyncToSlsresponseBody";
3
+ export declare class CloseLogSyncToSLSResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: CloseLogSyncToSLSResponseBody;
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.CloseLogSyncToSLSResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const CloseLogSyncToSlsresponseBody_1 = require("./CloseLogSyncToSlsresponseBody");
40
+ class CloseLogSyncToSLSResponse 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: CloseLogSyncToSlsresponseBody_1.CloseLogSyncToSLSResponseBody,
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.CloseLogSyncToSLSResponse = CloseLogSyncToSLSResponse;
69
+ //# sourceMappingURL=CloseLogSyncToSlsresponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloseLogSyncToSlsresponse.js","sourceRoot":"","sources":["../../src/models/CloseLogSyncToSlsresponse.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,21 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CloseLogSyncToSLSResponseBody extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The request ID.
6
+ *
7
+ * @example
8
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
9
+ */
10
+ requestId?: string;
11
+ static names(): {
12
+ [key: string]: string;
13
+ };
14
+ static types(): {
15
+ [key: string]: any;
16
+ };
17
+ validate(): void;
18
+ constructor(map?: {
19
+ [key: string]: any;
20
+ });
21
+ }
@@ -0,0 +1,58 @@
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.CloseLogSyncToSLSResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CloseLogSyncToSLSResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ requestId: 'RequestId',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ requestId: 'string',
48
+ };
49
+ }
50
+ validate() {
51
+ super.validate();
52
+ }
53
+ constructor(map) {
54
+ super(map);
55
+ }
56
+ }
57
+ exports.CloseLogSyncToSLSResponseBody = CloseLogSyncToSLSResponseBody;
58
+ //# sourceMappingURL=CloseLogSyncToSlsresponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloseLogSyncToSlsresponseBody.js","sourceRoot":"","sources":["../../src/models/CloseLogSyncToSlsresponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAS5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;SACpB,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;AA5BD,sEA4BC"}
@@ -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 was executed.
17
+ * The name of the database on which the SQL statement is executed.
18
18
  *
19
19
  * @example
20
20
  * adb_demo
@@ -30,10 +30,21 @@ export declare class DescribeAuditLogRecordsRequest extends $dara.Model {
30
30
  * 2022-08-12T17:08Z
31
31
  */
32
32
  endTime?: string;
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
+ *
41
+ * @example
42
+ * XIHE
43
+ */
33
44
  engineType?: string;
34
45
  /**
35
46
  * @remarks
36
- * The IP address and port number of the client that executed the SQL statement.
47
+ * The IP address and port number of the client that executes the SQL statement.
37
48
  *
38
49
  * @example
39
50
  * 100.104.XX.XX:43908
@@ -48,7 +59,7 @@ export declare class DescribeAuditLogRecordsRequest extends $dara.Model {
48
59
  * * **ExecutionStartTime**: the execution start time of the SQL statement.
49
60
  * * **QueryTime**: the execution duration of the SQL statement.
50
61
  * * **PeakMemoryUsage**: the peak memory usage during the execution of the SQL statement.
51
- * * **ScanRows**: the number of rows scanned by the task with a data source.
62
+ * * **ScanRows**: the number of rows scanned by tasks with data sources.
52
63
  * * **ScanSize**: the amount of scanned data.
53
64
  * * **ScanTime**: the total time consumed for scanning data.
54
65
  * * **PlanningTime**: the time consumed for generating the execution plan.
@@ -95,6 +106,7 @@ export declare class DescribeAuditLogRecordsRequest extends $dara.Model {
95
106
  * 10
96
107
  */
97
108
  pageSize?: number;
109
+ processId?: string;
98
110
  /**
99
111
  * @remarks
100
112
  * A reserved parameter.
@@ -105,7 +117,7 @@ export declare class DescribeAuditLogRecordsRequest extends $dara.Model {
105
117
  proxyUser?: string;
106
118
  /**
107
119
  * @remarks
108
- * The keyword used to filter the returned results.
120
+ * The keyword used to search the returned results.
109
121
  *
110
122
  * @example
111
123
  * adb
@@ -135,7 +147,7 @@ export declare class DescribeAuditLogRecordsRequest extends $dara.Model {
135
147
  * - **DROP**
136
148
  * - **CREATE**
137
149
  *
138
- * > Only one type can be specified per request. If this parameter is left empty, all types are queried by default.
150
+ * > Only one type can be specified per request. If this parameter is not specified, all types are queried by default.
139
151
  *
140
152
  * @example
141
153
  * SELECT
@@ -144,7 +156,7 @@ export declare class DescribeAuditLogRecordsRequest extends $dara.Model {
144
156
  /**
145
157
  * @remarks
146
158
  * The beginning of the time range to query. Specify the time in UTC in the yyyy-MM-ddTHH:mmZ format.
147
- * > SQL Audit Log entries can be queried only when SQL audit is enabled, and only entries from the last 30 days are supported. If SQL audit is disabled and then re-enabled, only entries recorded after re-enabling are available.
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.
148
160
  *
149
161
  * @example
150
162
  * 2022-08-12T04:17Z
@@ -152,9 +164,9 @@ export declare class DescribeAuditLogRecordsRequest extends $dara.Model {
152
164
  startTime?: string;
153
165
  /**
154
166
  * @remarks
155
- * Specifies whether the SQL statement was executed successfully. Valid values:
156
- * * **true**: The SQL statement was executed successfully.
157
- * * **false**: The SQL statement failed to be executed.
167
+ * Specifies whether the SQL statement is executed successfully. Valid values:
168
+ * * **true**: Executed successfully.
169
+ * * **false**: Execution failed.
158
170
  *
159
171
  * @example
160
172
  * true
@@ -162,7 +174,7 @@ export declare class DescribeAuditLogRecordsRequest extends $dara.Model {
162
174
  succeed?: string;
163
175
  /**
164
176
  * @remarks
165
- * The username that executed the SQL statement.
177
+ * The username that executes the SQL statement.
166
178
  *
167
179
  * @example
168
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;IAyK7D,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;YAC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C;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 was executed.
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. The time is in the yyyy-MM-dd HH:mm:ss format.
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, in millisecond-precision UNIX timestamp.
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 executed the SQL statement.
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 was executed successfully. Valid values:
81
- * - **true**: The SQL statement was executed successfully.
82
- * - **false**: The SQL statement failed to be executed.
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 executed the SQL statement.
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****
@@ -0,0 +1,46 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class GetLogSyncToSLSRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The cluster ID.
6
+ *
7
+ * This parameter is required.
8
+ *
9
+ * @example
10
+ * am-uf6g8w25jacm7****
11
+ */
12
+ DBClusterId?: string;
13
+ /**
14
+ * @remarks
15
+ * The log type. Valid values:
16
+ *
17
+ * - **ADBMYSQL_AUDIT_LOG**
18
+ * - **ADBMYSQL_INSERT_LOG**
19
+ *
20
+ * Default value: `ADBMYSQL_AUDIT_LOG`.
21
+ *
22
+ * @example
23
+ * ADBMYSQL_AUDIT_LOG
24
+ */
25
+ logType?: string;
26
+ /**
27
+ * @remarks
28
+ * The region ID.
29
+ *
30
+ * This parameter is required.
31
+ *
32
+ * @example
33
+ * cn-hangzhou
34
+ */
35
+ regionId?: string;
36
+ static names(): {
37
+ [key: string]: string;
38
+ };
39
+ static types(): {
40
+ [key: string]: any;
41
+ };
42
+ validate(): void;
43
+ constructor(map?: {
44
+ [key: string]: any;
45
+ });
46
+ }
@@ -0,0 +1,62 @@
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.GetLogSyncToSLSRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class GetLogSyncToSLSRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ DBClusterId: 'DBClusterId',
43
+ logType: 'LogType',
44
+ regionId: 'RegionId',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ DBClusterId: 'string',
50
+ logType: 'string',
51
+ regionId: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.GetLogSyncToSLSRequest = GetLogSyncToSLSRequest;
62
+ //# sourceMappingURL=GetLogSyncToSlsrequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetLogSyncToSlsrequest.js","sourceRoot":"","sources":["../../src/models/GetLogSyncToSlsrequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sBAAuB,SAAQ,KAAK,CAAC,KAAK;IAkCrD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,OAAO,EAAE,QAAQ;YACjB,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;AAzDD,wDAyDC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { GetLogSyncToSLSResponseBody } from "./GetLogSyncToSlsresponseBody";
3
+ export declare class GetLogSyncToSLSResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: GetLogSyncToSLSResponseBody;
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
+ }