@alicloud/adb20211201 4.4.0 → 4.5.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 (113) hide show
  1. package/dist/client.d.ts +105 -0
  2. package/dist/client.js +430 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateApsWebhookRequest.d.ts +76 -0
  5. package/dist/models/CreateApsWebhookRequest.js +92 -0
  6. package/dist/models/CreateApsWebhookRequest.js.map +1 -0
  7. package/dist/models/CreateApsWebhookResponse.d.ts +19 -0
  8. package/dist/models/CreateApsWebhookResponse.js +69 -0
  9. package/dist/models/CreateApsWebhookResponse.js.map +1 -0
  10. package/dist/models/CreateApsWebhookResponseBody.d.ts +43 -0
  11. package/dist/models/CreateApsWebhookResponseBody.js +68 -0
  12. package/dist/models/CreateApsWebhookResponseBody.js.map +1 -0
  13. package/dist/models/CreateApsWebhookShrinkRequest.d.ts +38 -0
  14. package/dist/models/CreateApsWebhookShrinkRequest.js +64 -0
  15. package/dist/models/CreateApsWebhookShrinkRequest.js.map +1 -0
  16. package/dist/models/CreateMaterializedViewRecommendRequest.d.ts +72 -0
  17. package/dist/models/CreateMaterializedViewRecommendRequest.js +86 -0
  18. package/dist/models/CreateMaterializedViewRecommendRequest.js.map +1 -0
  19. package/dist/models/CreateMaterializedViewRecommendResponse.d.ts +19 -0
  20. package/dist/models/CreateMaterializedViewRecommendResponse.js +69 -0
  21. package/dist/models/CreateMaterializedViewRecommendResponse.js.map +1 -0
  22. package/dist/models/CreateMaterializedViewRecommendResponseBody.d.ts +21 -0
  23. package/dist/models/CreateMaterializedViewRecommendResponseBody.js +58 -0
  24. package/dist/models/CreateMaterializedViewRecommendResponseBody.js.map +1 -0
  25. package/dist/models/DeleteApsWebhookRequest.d.ts +37 -0
  26. package/dist/models/DeleteApsWebhookRequest.js +62 -0
  27. package/dist/models/DeleteApsWebhookRequest.js.map +1 -0
  28. package/dist/models/DeleteApsWebhookResponse.d.ts +19 -0
  29. package/dist/models/DeleteApsWebhookResponse.js +69 -0
  30. package/dist/models/DeleteApsWebhookResponse.js.map +1 -0
  31. package/dist/models/DeleteApsWebhookResponseBody.d.ts +44 -0
  32. package/dist/models/DeleteApsWebhookResponseBody.js +70 -0
  33. package/dist/models/DeleteApsWebhookResponseBody.js.map +1 -0
  34. package/dist/models/DescribeAuditLogRecordsResponseBody.d.ts +1 -0
  35. package/dist/models/DescribeAuditLogRecordsResponseBody.js +2 -0
  36. package/dist/models/DescribeAuditLogRecordsResponseBody.js.map +1 -1
  37. package/dist/models/DescribeDbresourceGroupResponseBody.d.ts +122 -0
  38. package/dist/models/DescribeDbresourceGroupResponseBody.js +81 -1
  39. package/dist/models/DescribeDbresourceGroupResponseBody.js.map +1 -1
  40. package/dist/models/ListApsWebhookRequest.d.ts +34 -0
  41. package/dist/models/ListApsWebhookRequest.js +62 -0
  42. package/dist/models/ListApsWebhookRequest.js.map +1 -0
  43. package/dist/models/ListApsWebhookResponse.d.ts +19 -0
  44. package/dist/models/ListApsWebhookResponse.js +69 -0
  45. package/dist/models/ListApsWebhookResponse.js.map +1 -0
  46. package/dist/models/ListApsWebhookResponseBody.d.ts +76 -0
  47. package/dist/models/ListApsWebhookResponseBody.js +98 -0
  48. package/dist/models/ListApsWebhookResponseBody.js.map +1 -0
  49. package/dist/models/ModifyDbresourceGroupRequest.d.ts +74 -0
  50. package/dist/models/ModifyDbresourceGroupRequest.js +81 -1
  51. package/dist/models/ModifyDbresourceGroupRequest.js.map +1 -1
  52. package/dist/models/ModifyMaterializedViewRecommendRequest.d.ts +66 -0
  53. package/dist/models/ModifyMaterializedViewRecommendRequest.js +86 -0
  54. package/dist/models/ModifyMaterializedViewRecommendRequest.js.map +1 -0
  55. package/dist/models/ModifyMaterializedViewRecommendResponse.d.ts +19 -0
  56. package/dist/models/ModifyMaterializedViewRecommendResponse.js +69 -0
  57. package/dist/models/ModifyMaterializedViewRecommendResponse.js.map +1 -0
  58. package/dist/models/ModifyMaterializedViewRecommendResponseBody.d.ts +21 -0
  59. package/dist/models/ModifyMaterializedViewRecommendResponseBody.js +58 -0
  60. package/dist/models/ModifyMaterializedViewRecommendResponseBody.js.map +1 -0
  61. package/dist/models/ModifyMaterializedViewRequest.d.ts +71 -0
  62. package/dist/models/ModifyMaterializedViewRequest.js +82 -0
  63. package/dist/models/ModifyMaterializedViewRequest.js.map +1 -0
  64. package/dist/models/ModifyMaterializedViewResponse.d.ts +19 -0
  65. package/dist/models/ModifyMaterializedViewResponse.js +69 -0
  66. package/dist/models/ModifyMaterializedViewResponse.js.map +1 -0
  67. package/dist/models/ModifyMaterializedViewResponseBody.d.ts +21 -0
  68. package/dist/models/ModifyMaterializedViewResponseBody.js +58 -0
  69. package/dist/models/ModifyMaterializedViewResponseBody.js.map +1 -0
  70. package/dist/models/UpdateApsWebhookRequest.d.ts +72 -0
  71. package/dist/models/UpdateApsWebhookRequest.js +92 -0
  72. package/dist/models/UpdateApsWebhookRequest.js.map +1 -0
  73. package/dist/models/UpdateApsWebhookResponse.d.ts +19 -0
  74. package/dist/models/UpdateApsWebhookResponse.js +69 -0
  75. package/dist/models/UpdateApsWebhookResponse.js.map +1 -0
  76. package/dist/models/UpdateApsWebhookResponseBody.d.ts +44 -0
  77. package/dist/models/UpdateApsWebhookResponseBody.js +70 -0
  78. package/dist/models/UpdateApsWebhookResponseBody.js.map +1 -0
  79. package/dist/models/UpdateApsWebhookShrinkRequest.d.ts +30 -0
  80. package/dist/models/UpdateApsWebhookShrinkRequest.js +62 -0
  81. package/dist/models/UpdateApsWebhookShrinkRequest.js.map +1 -0
  82. package/dist/models/model.d.ts +32 -0
  83. package/dist/models/model.js +96 -31
  84. package/dist/models/model.js.map +1 -1
  85. package/package.json +1 -1
  86. package/src/client.ts +502 -0
  87. package/src/models/CreateApsWebhookRequest.ts +114 -0
  88. package/src/models/CreateApsWebhookResponse.ts +40 -0
  89. package/src/models/CreateApsWebhookResponseBody.ts +66 -0
  90. package/src/models/CreateApsWebhookShrinkRequest.ts +57 -0
  91. package/src/models/CreateMaterializedViewRecommendRequest.ts +113 -0
  92. package/src/models/CreateMaterializedViewRecommendResponse.ts +40 -0
  93. package/src/models/CreateMaterializedViewRecommendResponseBody.ts +34 -0
  94. package/src/models/DeleteApsWebhookRequest.ts +54 -0
  95. package/src/models/DeleteApsWebhookResponse.ts +40 -0
  96. package/src/models/DeleteApsWebhookResponseBody.ts +69 -0
  97. package/src/models/DescribeAuditLogRecordsResponseBody.ts +3 -0
  98. package/src/models/DescribeDbresourceGroupResponseBody.ts +175 -0
  99. package/src/models/ListApsWebhookRequest.ts +51 -0
  100. package/src/models/ListApsWebhookResponse.ts +40 -0
  101. package/src/models/ListApsWebhookResponseBody.ts +120 -0
  102. package/src/models/ModifyDbresourceGroupRequest.ts +127 -0
  103. package/src/models/ModifyMaterializedViewRecommendRequest.ts +107 -0
  104. package/src/models/ModifyMaterializedViewRecommendResponse.ts +40 -0
  105. package/src/models/ModifyMaterializedViewRecommendResponseBody.ts +34 -0
  106. package/src/models/ModifyMaterializedViewRequest.ts +108 -0
  107. package/src/models/ModifyMaterializedViewResponse.ts +40 -0
  108. package/src/models/ModifyMaterializedViewResponseBody.ts +34 -0
  109. package/src/models/UpdateApsWebhookRequest.ts +110 -0
  110. package/src/models/UpdateApsWebhookResponse.ts +40 -0
  111. package/src/models/UpdateApsWebhookResponseBody.ts +69 -0
  112. package/src/models/UpdateApsWebhookShrinkRequest.ts +47 -0
  113. package/src/models/model.ts +32 -0
@@ -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.ModifyMaterializedViewResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const ModifyMaterializedViewResponseBody_1 = require("./ModifyMaterializedViewResponseBody");
40
+ class ModifyMaterializedViewResponse 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: ModifyMaterializedViewResponseBody_1.ModifyMaterializedViewResponseBody,
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.ModifyMaterializedViewResponse = ModifyMaterializedViewResponse;
69
+ //# sourceMappingURL=ModifyMaterializedViewResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModifyMaterializedViewResponse.js","sourceRoot":"","sources":["../../src/models/ModifyMaterializedViewResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,6FAA0F;AAG1F,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAI7D,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,uEAAkC;SACzC,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,wEAiCC"}
@@ -0,0 +1,21 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ModifyMaterializedViewResponseBody extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * Id of the request
6
+ *
7
+ * @example
8
+ * CF8BA882-C9D8-5BEF-AAA3-AD03875F3E18
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.ModifyMaterializedViewResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ModifyMaterializedViewResponseBody 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.ModifyMaterializedViewResponseBody = ModifyMaterializedViewResponseBody;
58
+ //# sourceMappingURL=ModifyMaterializedViewResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModifyMaterializedViewResponseBody.js","sourceRoot":"","sources":["../../src/models/ModifyMaterializedViewResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IASjE,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,gFA4BC"}
@@ -0,0 +1,72 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class UpdateApsWebhookRequestWebhook extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * ABC**
6
+ */
7
+ key?: string;
8
+ /**
9
+ * @example
10
+ * exampleWebhookName
11
+ */
12
+ name?: string;
13
+ /**
14
+ * @example
15
+ * https://example.com/webhook
16
+ */
17
+ url?: string;
18
+ /**
19
+ * @remarks
20
+ * Webhook ID。
21
+ *
22
+ * This parameter is required.
23
+ *
24
+ * @example
25
+ * **355****
26
+ */
27
+ webhookId?: number;
28
+ /**
29
+ * @example
30
+ * dingtalk
31
+ */
32
+ webhookType?: string;
33
+ static names(): {
34
+ [key: string]: string;
35
+ };
36
+ static types(): {
37
+ [key: string]: any;
38
+ };
39
+ validate(): void;
40
+ constructor(map?: {
41
+ [key: string]: any;
42
+ });
43
+ }
44
+ export declare class UpdateApsWebhookRequest extends $dara.Model {
45
+ /**
46
+ * @remarks
47
+ * This parameter is required.
48
+ *
49
+ * @example
50
+ * exampleDBClusterId
51
+ */
52
+ DBClusterId?: string;
53
+ /**
54
+ * @remarks
55
+ * This parameter is required.
56
+ *
57
+ * @example
58
+ * exampleRegionId
59
+ */
60
+ regionId?: string;
61
+ webhook?: UpdateApsWebhookRequestWebhook[];
62
+ static names(): {
63
+ [key: string]: string;
64
+ };
65
+ static types(): {
66
+ [key: string]: any;
67
+ };
68
+ validate(): void;
69
+ constructor(map?: {
70
+ [key: string]: any;
71
+ });
72
+ }
@@ -0,0 +1,92 @@
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.UpdateApsWebhookRequest = exports.UpdateApsWebhookRequestWebhook = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class UpdateApsWebhookRequestWebhook extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ key: 'Key',
43
+ name: 'Name',
44
+ url: 'Url',
45
+ webhookId: 'WebhookId',
46
+ webhookType: 'WebhookType',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ key: 'string',
52
+ name: 'string',
53
+ url: 'string',
54
+ webhookId: 'number',
55
+ webhookType: 'string',
56
+ };
57
+ }
58
+ validate() {
59
+ super.validate();
60
+ }
61
+ constructor(map) {
62
+ super(map);
63
+ }
64
+ }
65
+ exports.UpdateApsWebhookRequestWebhook = UpdateApsWebhookRequestWebhook;
66
+ class UpdateApsWebhookRequest extends $dara.Model {
67
+ static names() {
68
+ return {
69
+ DBClusterId: 'DBClusterId',
70
+ regionId: 'RegionId',
71
+ webhook: 'Webhook',
72
+ };
73
+ }
74
+ static types() {
75
+ return {
76
+ DBClusterId: 'string',
77
+ regionId: 'string',
78
+ webhook: { 'type': 'array', 'itemType': UpdateApsWebhookRequestWebhook },
79
+ };
80
+ }
81
+ validate() {
82
+ if (Array.isArray(this.webhook)) {
83
+ $dara.Model.validateArray(this.webhook);
84
+ }
85
+ super.validate();
86
+ }
87
+ constructor(map) {
88
+ super(map);
89
+ }
90
+ }
91
+ exports.UpdateApsWebhookRequest = UpdateApsWebhookRequest;
92
+ //# sourceMappingURL=UpdateApsWebhookRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateApsWebhookRequest.js","sourceRoot":"","sources":["../../src/models/UpdateApsWebhookRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IA+B7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,KAAK;YACV,IAAI,EAAE,MAAM;YACZ,GAAG,EAAE,KAAK;YACV,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,QAAQ;YACb,IAAI,EAAE,QAAQ;YACd,GAAG,EAAE,QAAQ;YACb,SAAS,EAAE,QAAQ;YACnB,WAAW,EAAE,QAAQ;SACtB,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;AA1DD,wEA0DC;AAED,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;IAkBtD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,OAAO,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,8BAA8B,EAAE;SACzE,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;AA5CD,0DA4CC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { UpdateApsWebhookResponseBody } from "./UpdateApsWebhookResponseBody";
3
+ export declare class UpdateApsWebhookResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: UpdateApsWebhookResponseBody;
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.UpdateApsWebhookResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const UpdateApsWebhookResponseBody_1 = require("./UpdateApsWebhookResponseBody");
40
+ class UpdateApsWebhookResponse 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: UpdateApsWebhookResponseBody_1.UpdateApsWebhookResponseBody,
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.UpdateApsWebhookResponse = UpdateApsWebhookResponse;
69
+ //# sourceMappingURL=UpdateApsWebhookResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateApsWebhookResponse.js","sourceRoot":"","sources":["../../src/models/UpdateApsWebhookResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iFAA8E;AAG9E,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAIvD,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,2DAA4B;SACnC,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,4DAiCC"}
@@ -0,0 +1,44 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class UpdateApsWebhookResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * 200
6
+ */
7
+ code?: string;
8
+ /**
9
+ * @example
10
+ * amv-bp11q28kvl688****
11
+ */
12
+ DBClusterId?: string;
13
+ /**
14
+ * @example
15
+ * -
16
+ */
17
+ data?: string;
18
+ /**
19
+ * @example
20
+ * 200
21
+ */
22
+ httpStatusCode?: number;
23
+ message?: string;
24
+ /**
25
+ * @example
26
+ * exampleRequestId
27
+ */
28
+ requestId?: string;
29
+ /**
30
+ * @example
31
+ * true
32
+ */
33
+ success?: boolean;
34
+ static names(): {
35
+ [key: string]: string;
36
+ };
37
+ static types(): {
38
+ [key: string]: any;
39
+ };
40
+ validate(): void;
41
+ constructor(map?: {
42
+ [key: string]: any;
43
+ });
44
+ }
@@ -0,0 +1,70 @@
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.UpdateApsWebhookResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class UpdateApsWebhookResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ code: 'Code',
43
+ DBClusterId: 'DBClusterId',
44
+ data: 'Data',
45
+ httpStatusCode: 'HttpStatusCode',
46
+ message: 'Message',
47
+ requestId: 'RequestId',
48
+ success: 'Success',
49
+ };
50
+ }
51
+ static types() {
52
+ return {
53
+ code: 'string',
54
+ DBClusterId: 'string',
55
+ data: 'string',
56
+ httpStatusCode: 'number',
57
+ message: 'string',
58
+ requestId: 'string',
59
+ success: 'boolean',
60
+ };
61
+ }
62
+ validate() {
63
+ super.validate();
64
+ }
65
+ constructor(map) {
66
+ super(map);
67
+ }
68
+ }
69
+ exports.UpdateApsWebhookResponseBody = UpdateApsWebhookResponseBody;
70
+ //# sourceMappingURL=UpdateApsWebhookResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateApsWebhookResponseBody.js","sourceRoot":"","sources":["../../src/models/UpdateApsWebhookResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAgC3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,MAAM;YACZ,cAAc,EAAE,gBAAgB;YAChC,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,WAAW,EAAE,QAAQ;YACrB,IAAI,EAAE,QAAQ;YACd,cAAc,EAAE,QAAQ;YACxB,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;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;AA/DD,oEA+DC"}
@@ -0,0 +1,30 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class UpdateApsWebhookShrinkRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * exampleDBClusterId
9
+ */
10
+ DBClusterId?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * exampleRegionId
17
+ */
18
+ regionId?: string;
19
+ webhookShrink?: string;
20
+ static names(): {
21
+ [key: string]: string;
22
+ };
23
+ static types(): {
24
+ [key: string]: any;
25
+ };
26
+ validate(): void;
27
+ constructor(map?: {
28
+ [key: string]: any;
29
+ });
30
+ }
@@ -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.UpdateApsWebhookShrinkRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class UpdateApsWebhookShrinkRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ DBClusterId: 'DBClusterId',
43
+ regionId: 'RegionId',
44
+ webhookShrink: 'Webhook',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ DBClusterId: 'string',
50
+ regionId: 'string',
51
+ webhookShrink: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.UpdateApsWebhookShrinkRequest = UpdateApsWebhookShrinkRequest;
62
+ //# sourceMappingURL=UpdateApsWebhookShrinkRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateApsWebhookShrinkRequest.js","sourceRoot":"","sources":["../../src/models/UpdateApsWebhookShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAkB5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,aAAa,EAAE,SAAS;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,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;AAzCD,sEAyCC"}