@alicloud/das20200116 2.3.4 → 2.4.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 (33) hide show
  1. package/dist/client.d.ts +15 -0
  2. package/dist/client.js +60 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeErrorLogRecordsRequest.d.ts +80 -0
  5. package/dist/models/DescribeErrorLogRecordsRequest.js +96 -0
  6. package/dist/models/DescribeErrorLogRecordsRequest.js.map +1 -0
  7. package/dist/models/DescribeErrorLogRecordsResponse.d.ts +19 -0
  8. package/dist/models/DescribeErrorLogRecordsResponse.js +69 -0
  9. package/dist/models/DescribeErrorLogRecordsResponse.js.map +1 -0
  10. package/dist/models/DescribeErrorLogRecordsResponseBody.d.ts +114 -0
  11. package/dist/models/DescribeErrorLogRecordsResponseBody.js +130 -0
  12. package/dist/models/DescribeErrorLogRecordsResponseBody.js.map +1 -0
  13. package/dist/models/DescribeHotBigKeysResponseBody.d.ts +36 -0
  14. package/dist/models/DescribeHotBigKeysResponseBody.js +65 -1
  15. package/dist/models/DescribeHotBigKeysResponseBody.js.map +1 -1
  16. package/dist/models/DescribeHotKeysResponseBody.d.ts +4 -0
  17. package/dist/models/DescribeHotKeysResponseBody.js +8 -0
  18. package/dist/models/DescribeHotKeysResponseBody.js.map +1 -1
  19. package/dist/models/DescribeTopHotKeysResponseBody.d.ts +3 -0
  20. package/dist/models/DescribeTopHotKeysResponseBody.js +6 -0
  21. package/dist/models/DescribeTopHotKeysResponseBody.js.map +1 -1
  22. package/dist/models/model.d.ts +8 -0
  23. package/dist/models/model.js +32 -16
  24. package/dist/models/model.js.map +1 -1
  25. package/package.json +1 -1
  26. package/src/client.ts +70 -0
  27. package/src/models/DescribeErrorLogRecordsRequest.ts +122 -0
  28. package/src/models/DescribeErrorLogRecordsResponse.ts +40 -0
  29. package/src/models/DescribeErrorLogRecordsResponseBody.ts +181 -0
  30. package/src/models/DescribeHotBigKeysResponseBody.ts +82 -0
  31. package/src/models/DescribeHotKeysResponseBody.ts +12 -0
  32. package/src/models/DescribeTopHotKeysResponseBody.ts +9 -0
  33. package/src/models/model.ts +8 -0
@@ -0,0 +1,80 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeErrorLogRecordsRequestFilters extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * filters
6
+ */
7
+ key?: string;
8
+ /**
9
+ * @example
10
+ * deadlock
11
+ */
12
+ value?: string;
13
+ static names(): {
14
+ [key: string]: string;
15
+ };
16
+ static types(): {
17
+ [key: string]: any;
18
+ };
19
+ validate(): void;
20
+ constructor(map?: {
21
+ [key: string]: any;
22
+ });
23
+ }
24
+ export declare class DescribeErrorLogRecordsRequest extends $dara.Model {
25
+ /**
26
+ * @remarks
27
+ * This parameter is required.
28
+ *
29
+ * @example
30
+ * 1732069466000
31
+ */
32
+ endTime?: number;
33
+ filters?: DescribeErrorLogRecordsRequestFilters[];
34
+ /**
35
+ * @remarks
36
+ * This parameter is required.
37
+ *
38
+ * @example
39
+ * pc-bp1u5mas9exx7****
40
+ */
41
+ instanceId?: string;
42
+ /**
43
+ * @example
44
+ * pi-bp16v3824rt73****
45
+ */
46
+ nodeId?: string;
47
+ /**
48
+ * @example
49
+ * 1
50
+ */
51
+ pageNumber?: number;
52
+ /**
53
+ * @example
54
+ * 10
55
+ */
56
+ pageSize?: number;
57
+ /**
58
+ * @example
59
+ * db
60
+ */
61
+ role?: string;
62
+ /**
63
+ * @remarks
64
+ * This parameter is required.
65
+ *
66
+ * @example
67
+ * 1731983066000
68
+ */
69
+ startTime?: number;
70
+ static names(): {
71
+ [key: string]: string;
72
+ };
73
+ static types(): {
74
+ [key: string]: any;
75
+ };
76
+ validate(): void;
77
+ constructor(map?: {
78
+ [key: string]: any;
79
+ });
80
+ }
@@ -0,0 +1,96 @@
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.DescribeErrorLogRecordsRequest = exports.DescribeErrorLogRecordsRequestFilters = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeErrorLogRecordsRequestFilters extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ key: 'Key',
43
+ value: 'Value',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ key: 'string',
49
+ value: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.DescribeErrorLogRecordsRequestFilters = DescribeErrorLogRecordsRequestFilters;
60
+ class DescribeErrorLogRecordsRequest extends $dara.Model {
61
+ static names() {
62
+ return {
63
+ endTime: 'EndTime',
64
+ filters: 'Filters',
65
+ instanceId: 'InstanceId',
66
+ nodeId: 'NodeId',
67
+ pageNumber: 'PageNumber',
68
+ pageSize: 'PageSize',
69
+ role: 'Role',
70
+ startTime: 'StartTime',
71
+ };
72
+ }
73
+ static types() {
74
+ return {
75
+ endTime: 'number',
76
+ filters: { 'type': 'array', 'itemType': DescribeErrorLogRecordsRequestFilters },
77
+ instanceId: 'string',
78
+ nodeId: 'string',
79
+ pageNumber: 'number',
80
+ pageSize: 'number',
81
+ role: 'string',
82
+ startTime: 'number',
83
+ };
84
+ }
85
+ validate() {
86
+ if (Array.isArray(this.filters)) {
87
+ $dara.Model.validateArray(this.filters);
88
+ }
89
+ super.validate();
90
+ }
91
+ constructor(map) {
92
+ super(map);
93
+ }
94
+ }
95
+ exports.DescribeErrorLogRecordsRequest = DescribeErrorLogRecordsRequest;
96
+ //# sourceMappingURL=DescribeErrorLogRecordsRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeErrorLogRecordsRequest.js","sourceRoot":"","sources":["../../src/models/DescribeErrorLogRecordsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAWpE,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;AAhCD,sFAgCC;AAED,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IA8C7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,qCAAqC,EAAE;YAC/E,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;YAC/B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlFD,wEAkFC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribeErrorLogRecordsResponseBody } from "./DescribeErrorLogRecordsResponseBody";
3
+ export declare class DescribeErrorLogRecordsResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribeErrorLogRecordsResponseBody;
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.DescribeErrorLogRecordsResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribeErrorLogRecordsResponseBody_1 = require("./DescribeErrorLogRecordsResponseBody");
40
+ class DescribeErrorLogRecordsResponse 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: DescribeErrorLogRecordsResponseBody_1.DescribeErrorLogRecordsResponseBody,
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.DescribeErrorLogRecordsResponse = DescribeErrorLogRecordsResponse;
69
+ //# sourceMappingURL=DescribeErrorLogRecordsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeErrorLogRecordsResponse.js","sourceRoot":"","sources":["../../src/models/DescribeErrorLogRecordsResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+FAA4F;AAG5F,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAI9D,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,yEAAmC;SAC1C,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,0EAiCC"}
@@ -0,0 +1,114 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeErrorLogRecordsResponseBodyDataLogs extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * NETWORK
6
+ */
7
+ category?: string;
8
+ /**
9
+ * @example
10
+ * conn18xxxxxx
11
+ */
12
+ connInfo?: string;
13
+ /**
14
+ * @example
15
+ * 2025-07-15T15:14:27.175188+08:00 0 [Note] [MY-012468] [InnoDB] Transactions deadlock detected, dumping detailed information.
16
+ */
17
+ content?: string;
18
+ /**
19
+ * @example
20
+ * 1731983067000
21
+ */
22
+ createTime?: string;
23
+ /**
24
+ * @example
25
+ * d-bp128a003436****
26
+ */
27
+ DBInstanceName?: string;
28
+ static names(): {
29
+ [key: string]: string;
30
+ };
31
+ static types(): {
32
+ [key: string]: any;
33
+ };
34
+ validate(): void;
35
+ constructor(map?: {
36
+ [key: string]: any;
37
+ });
38
+ }
39
+ export declare class DescribeErrorLogRecordsResponseBodyData extends $dara.Model {
40
+ /**
41
+ * @example
42
+ * 2025-07-23T05:48:43Z
43
+ */
44
+ endTime?: string;
45
+ /**
46
+ * @example
47
+ * 10
48
+ */
49
+ itemsNumbers?: number;
50
+ logs?: DescribeErrorLogRecordsResponseBodyDataLogs[];
51
+ /**
52
+ * @example
53
+ * 10
54
+ */
55
+ maxRecordsPerPage?: number;
56
+ /**
57
+ * @example
58
+ * 1
59
+ */
60
+ pageNumbers?: number;
61
+ /**
62
+ * @example
63
+ * 2025-07-22T05:48:43Z
64
+ */
65
+ startTime?: string;
66
+ /**
67
+ * @example
68
+ * 100
69
+ */
70
+ totalRecords?: number;
71
+ static names(): {
72
+ [key: string]: string;
73
+ };
74
+ static types(): {
75
+ [key: string]: any;
76
+ };
77
+ validate(): void;
78
+ constructor(map?: {
79
+ [key: string]: any;
80
+ });
81
+ }
82
+ export declare class DescribeErrorLogRecordsResponseBody extends $dara.Model {
83
+ /**
84
+ * @example
85
+ * 200
86
+ */
87
+ code?: number;
88
+ data?: DescribeErrorLogRecordsResponseBodyData;
89
+ /**
90
+ * @example
91
+ * Successful
92
+ */
93
+ message?: string;
94
+ /**
95
+ * @example
96
+ * AAA17591-B48B-4D31-9CD6-9B9796B2****
97
+ */
98
+ requestId?: string;
99
+ /**
100
+ * @example
101
+ * true
102
+ */
103
+ success?: boolean;
104
+ static names(): {
105
+ [key: string]: string;
106
+ };
107
+ static types(): {
108
+ [key: string]: any;
109
+ };
110
+ validate(): void;
111
+ constructor(map?: {
112
+ [key: string]: any;
113
+ });
114
+ }
@@ -0,0 +1,130 @@
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.DescribeErrorLogRecordsResponseBody = exports.DescribeErrorLogRecordsResponseBodyData = exports.DescribeErrorLogRecordsResponseBodyDataLogs = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeErrorLogRecordsResponseBodyDataLogs extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ category: 'Category',
43
+ connInfo: 'ConnInfo',
44
+ content: 'Content',
45
+ createTime: 'CreateTime',
46
+ DBInstanceName: 'DBInstanceName',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ category: 'string',
52
+ connInfo: 'string',
53
+ content: 'string',
54
+ createTime: 'string',
55
+ DBInstanceName: 'string',
56
+ };
57
+ }
58
+ validate() {
59
+ super.validate();
60
+ }
61
+ constructor(map) {
62
+ super(map);
63
+ }
64
+ }
65
+ exports.DescribeErrorLogRecordsResponseBodyDataLogs = DescribeErrorLogRecordsResponseBodyDataLogs;
66
+ class DescribeErrorLogRecordsResponseBodyData extends $dara.Model {
67
+ static names() {
68
+ return {
69
+ endTime: 'EndTime',
70
+ itemsNumbers: 'ItemsNumbers',
71
+ logs: 'Logs',
72
+ maxRecordsPerPage: 'MaxRecordsPerPage',
73
+ pageNumbers: 'PageNumbers',
74
+ startTime: 'StartTime',
75
+ totalRecords: 'TotalRecords',
76
+ };
77
+ }
78
+ static types() {
79
+ return {
80
+ endTime: 'string',
81
+ itemsNumbers: 'number',
82
+ logs: { 'type': 'array', 'itemType': DescribeErrorLogRecordsResponseBodyDataLogs },
83
+ maxRecordsPerPage: 'number',
84
+ pageNumbers: 'number',
85
+ startTime: 'string',
86
+ totalRecords: 'number',
87
+ };
88
+ }
89
+ validate() {
90
+ if (Array.isArray(this.logs)) {
91
+ $dara.Model.validateArray(this.logs);
92
+ }
93
+ super.validate();
94
+ }
95
+ constructor(map) {
96
+ super(map);
97
+ }
98
+ }
99
+ exports.DescribeErrorLogRecordsResponseBodyData = DescribeErrorLogRecordsResponseBodyData;
100
+ class DescribeErrorLogRecordsResponseBody extends $dara.Model {
101
+ static names() {
102
+ return {
103
+ code: 'Code',
104
+ data: 'Data',
105
+ message: 'Message',
106
+ requestId: 'RequestId',
107
+ success: 'Success',
108
+ };
109
+ }
110
+ static types() {
111
+ return {
112
+ code: 'number',
113
+ data: DescribeErrorLogRecordsResponseBodyData,
114
+ message: 'string',
115
+ requestId: 'string',
116
+ success: 'boolean',
117
+ };
118
+ }
119
+ validate() {
120
+ if (this.data && typeof this.data.validate === 'function') {
121
+ this.data.validate();
122
+ }
123
+ super.validate();
124
+ }
125
+ constructor(map) {
126
+ super(map);
127
+ }
128
+ }
129
+ exports.DescribeErrorLogRecordsResponseBody = DescribeErrorLogRecordsResponseBody;
130
+ //# sourceMappingURL=DescribeErrorLogRecordsResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeErrorLogRecordsResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeErrorLogRecordsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;IA0B1E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,cAAc,EAAE,QAAQ;SACzB,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;AArDD,kGAqDC;AAED,MAAa,uCAAwC,SAAQ,KAAK,CAAC,KAAK;IAgCtE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,YAAY,EAAE,cAAc;YAC5B,IAAI,EAAE,MAAM;YACZ,iBAAiB,EAAE,mBAAmB;YACtC,WAAW,EAAE,aAAa;YAC1B,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,YAAY,EAAE,QAAQ;YACtB,IAAI,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,2CAA2C,EAAE;YAClF,iBAAiB,EAAE,QAAQ;YAC3B,WAAW,EAAE,QAAQ;YACrB,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;SACvB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YAC5B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlED,0FAkEC;AAED,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAsBlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,uCAAuC;YAC7C,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,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;AApDD,kFAoDC"}
@@ -64,6 +64,39 @@ export declare class DescribeHotBigKeysResponseBodyDataBigKeys extends $dara.Mod
64
64
  [key: string]: any;
65
65
  });
66
66
  }
67
+ export declare class DescribeHotBigKeysResponseBodyDataHighTrafficKeysHighTrafficKey extends $dara.Model {
68
+ db?: number;
69
+ hot?: string;
70
+ key?: string;
71
+ keyType?: string;
72
+ nodeId?: string;
73
+ size?: number;
74
+ inBytes?: number;
75
+ outBytes?: number;
76
+ static names(): {
77
+ [key: string]: string;
78
+ };
79
+ static types(): {
80
+ [key: string]: any;
81
+ };
82
+ validate(): void;
83
+ constructor(map?: {
84
+ [key: string]: any;
85
+ });
86
+ }
87
+ export declare class DescribeHotBigKeysResponseBodyDataHighTrafficKeys extends $dara.Model {
88
+ highTrafficKey?: DescribeHotBigKeysResponseBodyDataHighTrafficKeysHighTrafficKey[];
89
+ static names(): {
90
+ [key: string]: string;
91
+ };
92
+ static types(): {
93
+ [key: string]: any;
94
+ };
95
+ validate(): void;
96
+ constructor(map?: {
97
+ [key: string]: any;
98
+ });
99
+ }
67
100
  export declare class DescribeHotBigKeysResponseBodyDataHotKeysHotKey extends $dara.Model {
68
101
  /**
69
102
  * @remarks
@@ -113,6 +146,7 @@ export declare class DescribeHotBigKeysResponseBodyDataHotKeysHotKey extends $da
113
146
  * r-x****-db-0
114
147
  */
115
148
  nodeId?: string;
149
+ size?: number;
116
150
  static names(): {
117
151
  [key: string]: string;
118
152
  };
@@ -151,6 +185,8 @@ export declare class DescribeHotBigKeysResponseBodyData extends $dara.Model {
151
185
  * The list of large keys.
152
186
  */
153
187
  bigKeys?: DescribeHotBigKeysResponseBodyDataBigKeys;
188
+ highTrafficKeyMsg?: string;
189
+ highTrafficKeys?: DescribeHotBigKeysResponseBodyDataHighTrafficKeys;
154
190
  /**
155
191
  * @remarks
156
192
  * The reason why the hot key failed to be queried.
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.DescribeHotBigKeysResponseBody = exports.DescribeHotBigKeysResponseBodyData = exports.DescribeHotBigKeysResponseBodyDataHotKeys = exports.DescribeHotBigKeysResponseBodyDataHotKeysHotKey = exports.DescribeHotBigKeysResponseBodyDataBigKeys = exports.DescribeHotBigKeysResponseBodyDataBigKeysBigKey = void 0;
36
+ exports.DescribeHotBigKeysResponseBody = exports.DescribeHotBigKeysResponseBodyData = exports.DescribeHotBigKeysResponseBodyDataHotKeys = exports.DescribeHotBigKeysResponseBodyDataHotKeysHotKey = exports.DescribeHotBigKeysResponseBodyDataHighTrafficKeys = exports.DescribeHotBigKeysResponseBodyDataHighTrafficKeysHighTrafficKey = exports.DescribeHotBigKeysResponseBodyDataBigKeys = exports.DescribeHotBigKeysResponseBodyDataBigKeysBigKey = void 0;
37
37
  // This file is auto-generated, don't edit it
38
38
  const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class DescribeHotBigKeysResponseBodyDataBigKeysBigKey extends $dara.Model {
@@ -85,6 +85,61 @@ class DescribeHotBigKeysResponseBodyDataBigKeys extends $dara.Model {
85
85
  }
86
86
  }
87
87
  exports.DescribeHotBigKeysResponseBodyDataBigKeys = DescribeHotBigKeysResponseBodyDataBigKeys;
88
+ class DescribeHotBigKeysResponseBodyDataHighTrafficKeysHighTrafficKey extends $dara.Model {
89
+ static names() {
90
+ return {
91
+ db: 'Db',
92
+ hot: 'Hot',
93
+ key: 'Key',
94
+ keyType: 'KeyType',
95
+ nodeId: 'NodeId',
96
+ size: 'Size',
97
+ inBytes: 'inBytes',
98
+ outBytes: 'outBytes',
99
+ };
100
+ }
101
+ static types() {
102
+ return {
103
+ db: 'number',
104
+ hot: 'string',
105
+ key: 'string',
106
+ keyType: 'string',
107
+ nodeId: 'string',
108
+ size: 'number',
109
+ inBytes: 'number',
110
+ outBytes: 'number',
111
+ };
112
+ }
113
+ validate() {
114
+ super.validate();
115
+ }
116
+ constructor(map) {
117
+ super(map);
118
+ }
119
+ }
120
+ exports.DescribeHotBigKeysResponseBodyDataHighTrafficKeysHighTrafficKey = DescribeHotBigKeysResponseBodyDataHighTrafficKeysHighTrafficKey;
121
+ class DescribeHotBigKeysResponseBodyDataHighTrafficKeys extends $dara.Model {
122
+ static names() {
123
+ return {
124
+ highTrafficKey: 'HighTrafficKey',
125
+ };
126
+ }
127
+ static types() {
128
+ return {
129
+ highTrafficKey: { 'type': 'array', 'itemType': DescribeHotBigKeysResponseBodyDataHighTrafficKeysHighTrafficKey },
130
+ };
131
+ }
132
+ validate() {
133
+ if (Array.isArray(this.highTrafficKey)) {
134
+ $dara.Model.validateArray(this.highTrafficKey);
135
+ }
136
+ super.validate();
137
+ }
138
+ constructor(map) {
139
+ super(map);
140
+ }
141
+ }
142
+ exports.DescribeHotBigKeysResponseBodyDataHighTrafficKeys = DescribeHotBigKeysResponseBodyDataHighTrafficKeys;
88
143
  class DescribeHotBigKeysResponseBodyDataHotKeysHotKey extends $dara.Model {
89
144
  static names() {
90
145
  return {
@@ -94,6 +149,7 @@ class DescribeHotBigKeysResponseBodyDataHotKeysHotKey extends $dara.Model {
94
149
  keyType: 'KeyType',
95
150
  lfu: 'Lfu',
96
151
  nodeId: 'NodeId',
152
+ size: 'Size',
97
153
  };
98
154
  }
99
155
  static types() {
@@ -104,6 +160,7 @@ class DescribeHotBigKeysResponseBodyDataHotKeysHotKey extends $dara.Model {
104
160
  keyType: 'string',
105
161
  lfu: 'number',
106
162
  nodeId: 'string',
163
+ size: 'number',
107
164
  };
108
165
  }
109
166
  validate() {
@@ -141,6 +198,8 @@ class DescribeHotBigKeysResponseBodyData extends $dara.Model {
141
198
  return {
142
199
  bigKeyMsg: 'BigKeyMsg',
143
200
  bigKeys: 'BigKeys',
201
+ highTrafficKeyMsg: 'HighTrafficKeyMsg',
202
+ highTrafficKeys: 'HighTrafficKeys',
144
203
  hotKeyMsg: 'HotKeyMsg',
145
204
  hotKeys: 'HotKeys',
146
205
  };
@@ -149,6 +208,8 @@ class DescribeHotBigKeysResponseBodyData extends $dara.Model {
149
208
  return {
150
209
  bigKeyMsg: 'string',
151
210
  bigKeys: DescribeHotBigKeysResponseBodyDataBigKeys,
211
+ highTrafficKeyMsg: 'string',
212
+ highTrafficKeys: DescribeHotBigKeysResponseBodyDataHighTrafficKeys,
152
213
  hotKeyMsg: 'string',
153
214
  hotKeys: DescribeHotBigKeysResponseBodyDataHotKeys,
154
215
  };
@@ -157,6 +218,9 @@ class DescribeHotBigKeysResponseBodyData extends $dara.Model {
157
218
  if (this.bigKeys && typeof this.bigKeys.validate === 'function') {
158
219
  this.bigKeys.validate();
159
220
  }
221
+ if (this.highTrafficKeys && typeof this.highTrafficKeys.validate === 'function') {
222
+ this.highTrafficKeys.validate();
223
+ }
160
224
  if (this.hotKeys && typeof this.hotKeys.validate === 'function') {
161
225
  this.hotKeys.validate();
162
226
  }