@alicloud/adb20211201 5.0.3 → 5.1.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.
Files changed (48) hide show
  1. package/dist/client.d.ts +75 -0
  2. package/dist/client.js +183 -12
  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 +4 -0
  14. package/dist/models/DescribeAuditLogRecordsRequest.js.map +1 -1
  15. package/dist/models/GetLogSyncToSlsrequest.d.ts +46 -0
  16. package/dist/models/GetLogSyncToSlsrequest.js +62 -0
  17. package/dist/models/GetLogSyncToSlsrequest.js.map +1 -0
  18. package/dist/models/GetLogSyncToSlsresponse.d.ts +19 -0
  19. package/dist/models/GetLogSyncToSlsresponse.js +69 -0
  20. package/dist/models/GetLogSyncToSlsresponse.js.map +1 -0
  21. package/dist/models/GetLogSyncToSlsresponseBody.d.ts +64 -0
  22. package/dist/models/GetLogSyncToSlsresponseBody.js +86 -0
  23. package/dist/models/GetLogSyncToSlsresponseBody.js.map +1 -0
  24. package/dist/models/OpenLogSyncToSlsrequest.d.ts +66 -0
  25. package/dist/models/OpenLogSyncToSlsrequest.js +66 -0
  26. package/dist/models/OpenLogSyncToSlsrequest.js.map +1 -0
  27. package/dist/models/OpenLogSyncToSlsresponse.d.ts +19 -0
  28. package/dist/models/OpenLogSyncToSlsresponse.js +69 -0
  29. package/dist/models/OpenLogSyncToSlsresponse.js.map +1 -0
  30. package/dist/models/OpenLogSyncToSlsresponseBody.d.ts +21 -0
  31. package/dist/models/OpenLogSyncToSlsresponseBody.js +58 -0
  32. package/dist/models/OpenLogSyncToSlsresponseBody.js.map +1 -0
  33. package/dist/models/model.d.ts +10 -0
  34. package/dist/models/model.js +39 -19
  35. package/dist/models/model.js.map +1 -1
  36. package/package.json +1 -1
  37. package/src/client.ts +200 -12
  38. package/src/models/CloseLogSyncToSlsrequest.ts +63 -0
  39. package/src/models/CloseLogSyncToSlsresponse.ts +40 -0
  40. package/src/models/CloseLogSyncToSlsresponseBody.ts +34 -0
  41. package/src/models/DescribeAuditLogRecordsRequest.ts +4 -0
  42. package/src/models/GetLogSyncToSlsrequest.ts +63 -0
  43. package/src/models/GetLogSyncToSlsresponse.ts +40 -0
  44. package/src/models/GetLogSyncToSlsresponseBody.ts +96 -0
  45. package/src/models/OpenLogSyncToSlsrequest.ts +87 -0
  46. package/src/models/OpenLogSyncToSlsresponse.ts +40 -0
  47. package/src/models/OpenLogSyncToSlsresponseBody.ts +34 -0
  48. 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"}
@@ -30,6 +30,10 @@ export declare class DescribeAuditLogRecordsRequest extends $dara.Model {
30
30
  * 2022-08-12T17:08Z
31
31
  */
32
32
  endTime?: string;
33
+ /**
34
+ * @example
35
+ * XIHE
36
+ */
33
37
  engineType?: string;
34
38
  /**
35
39
  * @remarks
@@ -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;YACpB,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,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;AAlOD,wEAkOC"}
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;IA6K7D,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,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,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;AAtOD,wEAsOC"}
@@ -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
+ }
@@ -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.GetLogSyncToSLSResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const GetLogSyncToSlsresponseBody_1 = require("./GetLogSyncToSlsresponseBody");
40
+ class GetLogSyncToSLSResponse 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: GetLogSyncToSlsresponseBody_1.GetLogSyncToSLSResponseBody,
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.GetLogSyncToSLSResponse = GetLogSyncToSLSResponse;
69
+ //# sourceMappingURL=GetLogSyncToSlsresponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetLogSyncToSlsresponse.js","sourceRoot":"","sources":["../../src/models/GetLogSyncToSlsresponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+EAA4E;AAG5E,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;IAItD,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,yDAA2B;SAClC,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,0DAiCC"}
@@ -0,0 +1,64 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class GetLogSyncToSLSResponseBodyData extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The log synchronization status. Valid values:
6
+ * - on: Synchronization is enabled.
7
+ * - off: Synchronization is disabled.
8
+ *
9
+ * @example
10
+ * off
11
+ */
12
+ status?: string;
13
+ /**
14
+ * @remarks
15
+ * The Simple Log Service Logstore.
16
+ *
17
+ * @example
18
+ * adbmysql-audit-log
19
+ */
20
+ targetLogStore?: string;
21
+ /**
22
+ * @remarks
23
+ * The Simple Log Service project.
24
+ *
25
+ * @example
26
+ * log-service-****-cn-shenzhen
27
+ */
28
+ targetProject?: string;
29
+ static names(): {
30
+ [key: string]: string;
31
+ };
32
+ static types(): {
33
+ [key: string]: any;
34
+ };
35
+ validate(): void;
36
+ constructor(map?: {
37
+ [key: string]: any;
38
+ });
39
+ }
40
+ export declare class GetLogSyncToSLSResponseBody extends $dara.Model {
41
+ /**
42
+ * @remarks
43
+ * The returned data.
44
+ */
45
+ data?: GetLogSyncToSLSResponseBodyData;
46
+ /**
47
+ * @remarks
48
+ * The request ID.
49
+ *
50
+ * @example
51
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
52
+ */
53
+ requestId?: string;
54
+ static names(): {
55
+ [key: string]: string;
56
+ };
57
+ static types(): {
58
+ [key: string]: any;
59
+ };
60
+ validate(): void;
61
+ constructor(map?: {
62
+ [key: string]: any;
63
+ });
64
+ }
@@ -0,0 +1,86 @@
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.GetLogSyncToSLSResponseBody = exports.GetLogSyncToSLSResponseBodyData = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class GetLogSyncToSLSResponseBodyData extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ status: 'Status',
43
+ targetLogStore: 'TargetLogStore',
44
+ targetProject: 'TargetProject',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ status: 'string',
50
+ targetLogStore: 'string',
51
+ targetProject: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.GetLogSyncToSLSResponseBodyData = GetLogSyncToSLSResponseBodyData;
62
+ class GetLogSyncToSLSResponseBody extends $dara.Model {
63
+ static names() {
64
+ return {
65
+ data: 'Data',
66
+ requestId: 'RequestId',
67
+ };
68
+ }
69
+ static types() {
70
+ return {
71
+ data: GetLogSyncToSLSResponseBodyData,
72
+ requestId: 'string',
73
+ };
74
+ }
75
+ validate() {
76
+ if (this.data && typeof this.data.validate === 'function') {
77
+ this.data.validate();
78
+ }
79
+ super.validate();
80
+ }
81
+ constructor(map) {
82
+ super(map);
83
+ }
84
+ }
85
+ exports.GetLogSyncToSLSResponseBody = GetLogSyncToSLSResponseBody;
86
+ //# sourceMappingURL=GetLogSyncToSlsresponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetLogSyncToSlsresponseBody.js","sourceRoot":"","sources":["../../src/models/GetLogSyncToSlsresponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IA2B9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,cAAc,EAAE,gBAAgB;YAChC,aAAa,EAAE,eAAe;SAC/B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,cAAc,EAAE,QAAQ;YACxB,aAAa,EAAE,QAAQ;SACxB,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;AAlDD,0EAkDC;AAED,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAc1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,+BAA+B;YACrC,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,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;AAtCD,kEAsCC"}