@alicloud/waf-openapi20211001 4.4.0 → 4.5.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 (33) hide show
  1. package/dist/client.d.ts +30 -0
  2. package/dist/client.js +96 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateCertsRequest.d.ts +66 -0
  5. package/dist/models/CreateCertsRequest.js +68 -0
  6. package/dist/models/CreateCertsRequest.js.map +1 -0
  7. package/dist/models/CreateCertsResponse.d.ts +19 -0
  8. package/dist/models/CreateCertsResponse.js +69 -0
  9. package/dist/models/CreateCertsResponse.js.map +1 -0
  10. package/dist/models/CreateCertsResponseBody.d.ts +29 -0
  11. package/dist/models/CreateCertsResponseBody.js +60 -0
  12. package/dist/models/CreateCertsResponseBody.js.map +1 -0
  13. package/dist/models/DescribeDomainUsedPortsRequest.d.ts +26 -0
  14. package/dist/models/DescribeDomainUsedPortsRequest.js +60 -0
  15. package/dist/models/DescribeDomainUsedPortsRequest.js.map +1 -0
  16. package/dist/models/DescribeDomainUsedPortsResponse.d.ts +19 -0
  17. package/dist/models/DescribeDomainUsedPortsResponse.js +69 -0
  18. package/dist/models/DescribeDomainUsedPortsResponse.js.map +1 -0
  19. package/dist/models/DescribeDomainUsedPortsResponseBody.d.ts +19 -0
  20. package/dist/models/DescribeDomainUsedPortsResponseBody.js +63 -0
  21. package/dist/models/DescribeDomainUsedPortsResponseBody.js.map +1 -0
  22. package/dist/models/model.d.ts +6 -0
  23. package/dist/models/model.js +23 -11
  24. package/dist/models/model.js.map +1 -1
  25. package/package.json +1 -1
  26. package/src/client.ts +108 -0
  27. package/src/models/CreateCertsRequest.ts +89 -0
  28. package/src/models/CreateCertsResponse.ts +40 -0
  29. package/src/models/CreateCertsResponseBody.ts +44 -0
  30. package/src/models/DescribeDomainUsedPortsRequest.ts +41 -0
  31. package/src/models/DescribeDomainUsedPortsResponse.ts +40 -0
  32. package/src/models/DescribeDomainUsedPortsResponseBody.ts +37 -0
  33. package/src/models/model.ts +6 -0
@@ -0,0 +1,66 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateCertsRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The content of the certificate.
6
+ *
7
+ * @example
8
+ * -----BEGIN CERTIFICATE----- 62EcYPWd2****s6MTXcJSfN9Z7rZ9fmxWr2BFN2XbahgnsSXM48ixZJ4krc+1M+j2kcubVpsE2cgHdj4v8H6jUz9Ji4mr7vMNS6dXv8PUkl/qoDeNGCNdyTS5NIL5ir+g92cL8IGOkjgvhlqt9vc65Cgb4mL+n5+DV9uOyTZTW/MojmlgfUekC2xiXa54nxJf17Y1TADGSbyJbsC0Q9nIrHsPl8YKkvRWvIAqYxXZ7wRwWWmv4TMxFhWRiNY7yZIo2ZUhl02S****gIEeg== -----END CERTIFICATE-----
9
+ */
10
+ certContent?: string;
11
+ /**
12
+ * @remarks
13
+ * The private key that corresponds to the certificate.
14
+ *
15
+ * @example
16
+ * -----BEGIN RSA PRIVATE KEY----- DADTPZoOHd9WtZ3U****RgNQmioPQn2bqdKHop+B/dn/4VZL7Jt8zSDGM9sTMThLyvsmLQKBgQCr+ujntC1kN6pGBj2Fw2l/EA/W3rYEce2tyhjgmG7rZ+A/jVE9fld5sQra6ZdwBcQJaiygoIYoaMF2EjRwc0qwHaluq0C15f6ujSoHh2e+D5zdmkTg/3NKNjqNv6xA2gYpinVDzFdZ9Zujxvuh9o4Vqf0YF8****K5G04RtKadOw== -----END RSA PRIVATE KEY-----
17
+ */
18
+ certKey?: string;
19
+ /**
20
+ * @remarks
21
+ * The name of the certificate.
22
+ *
23
+ * @example
24
+ * testrsa1
25
+ */
26
+ certName?: string;
27
+ /**
28
+ * @remarks
29
+ * The ID of the WAF instance.
30
+ *
31
+ * > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
32
+ *
33
+ * @example
34
+ * waf_v2_public_cn-20p****nw01
35
+ */
36
+ instanceId?: string;
37
+ /**
38
+ * @remarks
39
+ * The region in which the WAF instance is deployed. Valid values:
40
+ *
41
+ * * **cn-hangzhou**: Chinese mainland.
42
+ * * **ap-southeast-1**: outside the Chinese mainland.
43
+ *
44
+ * @example
45
+ * cn-hangzhou
46
+ */
47
+ regionId?: string;
48
+ /**
49
+ * @remarks
50
+ * The ID of the Alibaba Cloud resource group.
51
+ *
52
+ * @example
53
+ * rg-acfm***q
54
+ */
55
+ resourceManagerResourceGroupId?: string;
56
+ static names(): {
57
+ [key: string]: string;
58
+ };
59
+ static types(): {
60
+ [key: string]: any;
61
+ };
62
+ validate(): void;
63
+ constructor(map?: {
64
+ [key: string]: any;
65
+ });
66
+ }
@@ -0,0 +1,68 @@
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.CreateCertsRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateCertsRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ certContent: 'CertContent',
43
+ certKey: 'CertKey',
44
+ certName: 'CertName',
45
+ instanceId: 'InstanceId',
46
+ regionId: 'RegionId',
47
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
48
+ };
49
+ }
50
+ static types() {
51
+ return {
52
+ certContent: 'string',
53
+ certKey: 'string',
54
+ certName: 'string',
55
+ instanceId: 'string',
56
+ regionId: 'string',
57
+ resourceManagerResourceGroupId: 'string',
58
+ };
59
+ }
60
+ validate() {
61
+ super.validate();
62
+ }
63
+ constructor(map) {
64
+ super(map);
65
+ }
66
+ }
67
+ exports.CreateCertsRequest = CreateCertsRequest;
68
+ //# sourceMappingURL=CreateCertsRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateCertsRequest.js","sourceRoot":"","sources":["../../src/models/CreateCertsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kBAAmB,SAAQ,KAAK,CAAC,KAAK;IAsDjD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,8BAA8B,EAAE,gCAAgC;SACjE,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,8BAA8B,EAAE,QAAQ;SACzC,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;AAnFD,gDAmFC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { CreateCertsResponseBody } from "./CreateCertsResponseBody";
3
+ export declare class CreateCertsResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: CreateCertsResponseBody;
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.CreateCertsResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const CreateCertsResponseBody_1 = require("./CreateCertsResponseBody");
40
+ class CreateCertsResponse 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: CreateCertsResponseBody_1.CreateCertsResponseBody,
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.CreateCertsResponse = CreateCertsResponse;
69
+ //# sourceMappingURL=CreateCertsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateCertsResponse.js","sourceRoot":"","sources":["../../src/models/CreateCertsResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uEAAoE;AAGpE,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;IAIlD,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,iDAAuB;SAC9B,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,kDAiCC"}
@@ -0,0 +1,29 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateCertsResponseBody extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The ID of the certificate.
6
+ *
7
+ * @example
8
+ * 123456-cn-hangzhou
9
+ */
10
+ certIdentifier?: string;
11
+ /**
12
+ * @remarks
13
+ * The ID of the request.
14
+ *
15
+ * @example
16
+ * 5BBA38B1-07AE-559F-8766-AB50****C300
17
+ */
18
+ requestId?: string;
19
+ static names(): {
20
+ [key: string]: string;
21
+ };
22
+ static types(): {
23
+ [key: string]: any;
24
+ };
25
+ validate(): void;
26
+ constructor(map?: {
27
+ [key: string]: any;
28
+ });
29
+ }
@@ -0,0 +1,60 @@
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.CreateCertsResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateCertsResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ certIdentifier: 'CertIdentifier',
43
+ requestId: 'RequestId',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ certIdentifier: 'string',
49
+ requestId: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.CreateCertsResponseBody = CreateCertsResponseBody;
60
+ //# sourceMappingURL=CreateCertsResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateCertsResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateCertsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;IAiBtD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,QAAQ;YACxB,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;AAtCD,0DAsCC"}
@@ -0,0 +1,26 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeDomainUsedPortsRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * waf_elasticity-cn-0xldbqt****
9
+ */
10
+ instanceId?: string;
11
+ /**
12
+ * @example
13
+ * cn-hangzhou
14
+ */
15
+ regionId?: string;
16
+ static names(): {
17
+ [key: string]: string;
18
+ };
19
+ static types(): {
20
+ [key: string]: any;
21
+ };
22
+ validate(): void;
23
+ constructor(map?: {
24
+ [key: string]: any;
25
+ });
26
+ }
@@ -0,0 +1,60 @@
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.DescribeDomainUsedPortsRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeDomainUsedPortsRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ instanceId: 'InstanceId',
43
+ regionId: 'RegionId',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ instanceId: 'string',
49
+ regionId: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.DescribeDomainUsedPortsRequest = DescribeDomainUsedPortsRequest;
60
+ //# sourceMappingURL=DescribeDomainUsedPortsRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeDomainUsedPortsRequest.js","sourceRoot":"","sources":["../../src/models/DescribeDomainUsedPortsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAc7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,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;AAnCD,wEAmCC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribeDomainUsedPortsResponseBody } from "./DescribeDomainUsedPortsResponseBody";
3
+ export declare class DescribeDomainUsedPortsResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribeDomainUsedPortsResponseBody;
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.DescribeDomainUsedPortsResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribeDomainUsedPortsResponseBody_1 = require("./DescribeDomainUsedPortsResponseBody");
40
+ class DescribeDomainUsedPortsResponse 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: DescribeDomainUsedPortsResponseBody_1.DescribeDomainUsedPortsResponseBody,
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.DescribeDomainUsedPortsResponse = DescribeDomainUsedPortsResponse;
69
+ //# sourceMappingURL=DescribeDomainUsedPortsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeDomainUsedPortsResponse.js","sourceRoot":"","sources":["../../src/models/DescribeDomainUsedPortsResponse.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,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeDomainUsedPortsResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * D7861F61-5B61-*-A47C-*
6
+ */
7
+ requestId?: string;
8
+ usedPorts?: number[];
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,63 @@
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.DescribeDomainUsedPortsResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeDomainUsedPortsResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ requestId: 'RequestId',
43
+ usedPorts: 'UsedPorts',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ requestId: 'string',
49
+ usedPorts: { 'type': 'array', 'itemType': 'number' },
50
+ };
51
+ }
52
+ validate() {
53
+ if (Array.isArray(this.usedPorts)) {
54
+ $dara.Model.validateArray(this.usedPorts);
55
+ }
56
+ super.validate();
57
+ }
58
+ constructor(map) {
59
+ super(map);
60
+ }
61
+ }
62
+ exports.DescribeDomainUsedPortsResponseBody = DescribeDomainUsedPortsResponseBody;
63
+ //# sourceMappingURL=DescribeDomainUsedPortsResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeDomainUsedPortsResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeDomainUsedPortsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAOlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;SACrD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;YACjC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/BD,kFA+BC"}
@@ -179,6 +179,9 @@ export { CopyDefenseTemplateResponse } from './CopyDefenseTemplateResponse';
179
179
  export { CreateApiExportRequest } from './CreateApiExportRequest';
180
180
  export { CreateApiExportResponseBody } from './CreateApiExportResponseBody';
181
181
  export { CreateApiExportResponse } from './CreateApiExportResponse';
182
+ export { CreateCertsRequest } from './CreateCertsRequest';
183
+ export { CreateCertsResponseBody } from './CreateCertsResponseBody';
184
+ export { CreateCertsResponse } from './CreateCertsResponse';
182
185
  export { CreateCloudResourceRequest } from './CreateCloudResourceRequest';
183
186
  export { CreateCloudResourceShrinkRequest } from './CreateCloudResourceShrinkRequest';
184
187
  export { CreateCloudResourceResponseBody } from './CreateCloudResourceResponseBody';
@@ -371,6 +374,9 @@ export { DescribeDomainDNSRecordResponse } from './DescribeDomainDnsrecordRespon
371
374
  export { DescribeDomainDetailRequest } from './DescribeDomainDetailRequest';
372
375
  export { DescribeDomainDetailResponseBody } from './DescribeDomainDetailResponseBody';
373
376
  export { DescribeDomainDetailResponse } from './DescribeDomainDetailResponse';
377
+ export { DescribeDomainUsedPortsRequest } from './DescribeDomainUsedPortsRequest';
378
+ export { DescribeDomainUsedPortsResponseBody } from './DescribeDomainUsedPortsResponseBody';
379
+ export { DescribeDomainUsedPortsResponse } from './DescribeDomainUsedPortsResponse';
374
380
  export { DescribeDomainsRequest } from './DescribeDomainsRequest';
375
381
  export { DescribeDomainsResponseBody } from './DescribeDomainsResponseBody';
376
382
  export { DescribeDomainsResponse } from './DescribeDomainsResponse';