@alicloud/vpc20160428 7.0.1 → 7.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 (51) hide show
  1. package/dist/client.d.ts +55 -8
  2. package/dist/client.js +211 -8
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateEnhancedVpnGatewayRequest.d.ts +76 -0
  5. package/dist/models/CreateEnhancedVpnGatewayRequest.js +84 -0
  6. package/dist/models/CreateEnhancedVpnGatewayRequest.js.map +1 -0
  7. package/dist/models/CreateEnhancedVpnGatewayResponse.d.ts +19 -0
  8. package/dist/models/CreateEnhancedVpnGatewayResponse.js +69 -0
  9. package/dist/models/CreateEnhancedVpnGatewayResponse.js.map +1 -0
  10. package/dist/models/CreateEnhancedVpnGatewayResponseBody.d.ts +28 -0
  11. package/dist/models/CreateEnhancedVpnGatewayResponseBody.js +62 -0
  12. package/dist/models/CreateEnhancedVpnGatewayResponseBody.js.map +1 -0
  13. package/dist/models/DeleteEnhancedVpnGatewayRequest.d.ts +38 -0
  14. package/dist/models/DeleteEnhancedVpnGatewayRequest.js +70 -0
  15. package/dist/models/DeleteEnhancedVpnGatewayRequest.js.map +1 -0
  16. package/dist/models/DeleteEnhancedVpnGatewayResponse.d.ts +19 -0
  17. package/dist/models/DeleteEnhancedVpnGatewayResponse.js +69 -0
  18. package/dist/models/DeleteEnhancedVpnGatewayResponse.js.map +1 -0
  19. package/dist/models/DeleteEnhancedVpnGatewayResponseBody.d.ts +18 -0
  20. package/dist/models/DeleteEnhancedVpnGatewayResponseBody.js +58 -0
  21. package/dist/models/DeleteEnhancedVpnGatewayResponseBody.js.map +1 -0
  22. package/dist/models/ModifyRouteEntryRequest.d.ts +3 -1
  23. package/dist/models/ModifyRouteEntryRequest.js.map +1 -1
  24. package/dist/models/UpdateEnhancedVpnGatewayRequest.d.ts +53 -0
  25. package/dist/models/UpdateEnhancedVpnGatewayRequest.js +76 -0
  26. package/dist/models/UpdateEnhancedVpnGatewayRequest.js.map +1 -0
  27. package/dist/models/UpdateEnhancedVpnGatewayResponse.d.ts +19 -0
  28. package/dist/models/UpdateEnhancedVpnGatewayResponse.js +69 -0
  29. package/dist/models/UpdateEnhancedVpnGatewayResponse.js.map +1 -0
  30. package/dist/models/UpdateEnhancedVpnGatewayResponseBody.d.ts +135 -0
  31. package/dist/models/UpdateEnhancedVpnGatewayResponseBody.js +163 -0
  32. package/dist/models/UpdateEnhancedVpnGatewayResponseBody.js.map +1 -0
  33. package/dist/models/UpdateNetworkAclEntriesRequest.d.ts +26 -22
  34. package/dist/models/UpdateNetworkAclEntriesRequest.js.map +1 -1
  35. package/dist/models/model.d.ts +12 -0
  36. package/dist/models/model.js +49 -25
  37. package/dist/models/model.js.map +1 -1
  38. package/package.json +1 -1
  39. package/src/client.ts +248 -8
  40. package/src/models/CreateEnhancedVpnGatewayRequest.ts +115 -0
  41. package/src/models/CreateEnhancedVpnGatewayResponse.ts +40 -0
  42. package/src/models/CreateEnhancedVpnGatewayResponseBody.ts +45 -0
  43. package/src/models/DeleteEnhancedVpnGatewayRequest.ts +63 -0
  44. package/src/models/DeleteEnhancedVpnGatewayResponse.ts +40 -0
  45. package/src/models/DeleteEnhancedVpnGatewayResponseBody.ts +31 -0
  46. package/src/models/ModifyRouteEntryRequest.ts +3 -1
  47. package/src/models/UpdateEnhancedVpnGatewayRequest.ts +84 -0
  48. package/src/models/UpdateEnhancedVpnGatewayResponse.ts +40 -0
  49. package/src/models/UpdateEnhancedVpnGatewayResponseBody.ts +226 -0
  50. package/src/models/UpdateNetworkAclEntriesRequest.ts +26 -22
  51. package/src/models/model.ts +12 -0
@@ -0,0 +1,76 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateEnhancedVpnGatewayRequest extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * 02fb3da4****
6
+ */
7
+ clientToken?: string;
8
+ /**
9
+ * @example
10
+ * vsw-p0wiz7obm0tbimu4r****
11
+ */
12
+ disasterRecoveryVSwitchId?: string;
13
+ /**
14
+ * @remarks
15
+ * This parameter is required.
16
+ *
17
+ * @example
18
+ * Enhanced.SiteToSite
19
+ */
20
+ gatewayType?: string;
21
+ /**
22
+ * @example
23
+ * MYVPN
24
+ */
25
+ name?: string;
26
+ /**
27
+ * @example
28
+ * public
29
+ */
30
+ networkType?: string;
31
+ ownerAccount?: string;
32
+ ownerId?: number;
33
+ /**
34
+ * @remarks
35
+ * This parameter is required.
36
+ *
37
+ * @example
38
+ * cn-hangzhou
39
+ */
40
+ regionId?: string;
41
+ /**
42
+ * @example
43
+ * rg-acfmzs372yg****
44
+ */
45
+ resourceGroupId?: string;
46
+ resourceOwnerAccount?: string;
47
+ resourceOwnerId?: number;
48
+ /**
49
+ * @example
50
+ * vsw-bp1j5miw2bae9s2vt****
51
+ */
52
+ vSwitchId?: string;
53
+ /**
54
+ * @remarks
55
+ * This parameter is required.
56
+ *
57
+ * @example
58
+ * vpc-bp1ub1yt9cvakoelj****
59
+ */
60
+ vpcId?: string;
61
+ /**
62
+ * @example
63
+ * Normal
64
+ */
65
+ vpnType?: string;
66
+ static names(): {
67
+ [key: string]: string;
68
+ };
69
+ static types(): {
70
+ [key: string]: any;
71
+ };
72
+ validate(): void;
73
+ constructor(map?: {
74
+ [key: string]: any;
75
+ });
76
+ }
@@ -0,0 +1,84 @@
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.CreateEnhancedVpnGatewayRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateEnhancedVpnGatewayRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ clientToken: 'ClientToken',
43
+ disasterRecoveryVSwitchId: 'DisasterRecoveryVSwitchId',
44
+ gatewayType: 'GatewayType',
45
+ name: 'Name',
46
+ networkType: 'NetworkType',
47
+ ownerAccount: 'OwnerAccount',
48
+ ownerId: 'OwnerId',
49
+ regionId: 'RegionId',
50
+ resourceGroupId: 'ResourceGroupId',
51
+ resourceOwnerAccount: 'ResourceOwnerAccount',
52
+ resourceOwnerId: 'ResourceOwnerId',
53
+ vSwitchId: 'VSwitchId',
54
+ vpcId: 'VpcId',
55
+ vpnType: 'VpnType',
56
+ };
57
+ }
58
+ static types() {
59
+ return {
60
+ clientToken: 'string',
61
+ disasterRecoveryVSwitchId: 'string',
62
+ gatewayType: 'string',
63
+ name: 'string',
64
+ networkType: 'string',
65
+ ownerAccount: 'string',
66
+ ownerId: 'number',
67
+ regionId: 'string',
68
+ resourceGroupId: 'string',
69
+ resourceOwnerAccount: 'string',
70
+ resourceOwnerId: 'number',
71
+ vSwitchId: 'string',
72
+ vpcId: 'string',
73
+ vpnType: 'string',
74
+ };
75
+ }
76
+ validate() {
77
+ super.validate();
78
+ }
79
+ constructor(map) {
80
+ super(map);
81
+ }
82
+ }
83
+ exports.CreateEnhancedVpnGatewayRequest = CreateEnhancedVpnGatewayRequest;
84
+ //# sourceMappingURL=CreateEnhancedVpnGatewayRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateEnhancedVpnGatewayRequest.js","sourceRoot":"","sources":["../../src/models/CreateEnhancedVpnGatewayRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAgE9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,yBAAyB,EAAE,2BAA2B;YACtD,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;YAClC,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,yBAAyB,EAAE,QAAQ;YACnC,WAAW,EAAE,QAAQ;YACrB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,SAAS,EAAE,QAAQ;YACnB,KAAK,EAAE,QAAQ;YACf,OAAO,EAAE,QAAQ;SAClB,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;AA7GD,0EA6GC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { CreateEnhancedVpnGatewayResponseBody } from "./CreateEnhancedVpnGatewayResponseBody";
3
+ export declare class CreateEnhancedVpnGatewayResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: CreateEnhancedVpnGatewayResponseBody;
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.CreateEnhancedVpnGatewayResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const CreateEnhancedVpnGatewayResponseBody_1 = require("./CreateEnhancedVpnGatewayResponseBody");
40
+ class CreateEnhancedVpnGatewayResponse 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: CreateEnhancedVpnGatewayResponseBody_1.CreateEnhancedVpnGatewayResponseBody,
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.CreateEnhancedVpnGatewayResponse = CreateEnhancedVpnGatewayResponse;
69
+ //# sourceMappingURL=CreateEnhancedVpnGatewayResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateEnhancedVpnGatewayResponse.js","sourceRoot":"","sources":["../../src/models/CreateEnhancedVpnGatewayResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iGAA8F;AAG9F,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAI/D,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,2EAAoC;SAC3C,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,4EAiCC"}
@@ -0,0 +1,28 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateEnhancedVpnGatewayResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * MYVPN
6
+ */
7
+ name?: string;
8
+ /**
9
+ * @example
10
+ * EB2C156A-41F8-49CC-A756-D55AFC8BFD69
11
+ */
12
+ requestId?: string;
13
+ /**
14
+ * @example
15
+ * vpn-uf68lxhgr7ftbqr3p****
16
+ */
17
+ vpnGatewayId?: string;
18
+ static names(): {
19
+ [key: string]: string;
20
+ };
21
+ static types(): {
22
+ [key: string]: any;
23
+ };
24
+ validate(): void;
25
+ constructor(map?: {
26
+ [key: string]: any;
27
+ });
28
+ }
@@ -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.CreateEnhancedVpnGatewayResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateEnhancedVpnGatewayResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ name: 'Name',
43
+ requestId: 'RequestId',
44
+ vpnGatewayId: 'VpnGatewayId',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ name: 'string',
50
+ requestId: 'string',
51
+ vpnGatewayId: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.CreateEnhancedVpnGatewayResponseBody = CreateEnhancedVpnGatewayResponseBody;
62
+ //# sourceMappingURL=CreateEnhancedVpnGatewayResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateEnhancedVpnGatewayResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateEnhancedVpnGatewayResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAgBnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;SACvB,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;AAvCD,oFAuCC"}
@@ -0,0 +1,38 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteEnhancedVpnGatewayRequest extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * 02fb3da4-130e-11e9-8e44-0016e04115b
6
+ */
7
+ clientToken?: string;
8
+ ownerAccount?: string;
9
+ ownerId?: number;
10
+ /**
11
+ * @remarks
12
+ * This parameter is required.
13
+ *
14
+ * @example
15
+ * cn-hangzhou
16
+ */
17
+ regionId?: string;
18
+ resourceOwnerAccount?: string;
19
+ resourceOwnerId?: number;
20
+ /**
21
+ * @remarks
22
+ * This parameter is required.
23
+ *
24
+ * @example
25
+ * vpn-bp1q8bgx4xnkm2ogj****
26
+ */
27
+ vpnGatewayId?: 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
+ }
@@ -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.DeleteEnhancedVpnGatewayRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DeleteEnhancedVpnGatewayRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ clientToken: 'ClientToken',
43
+ ownerAccount: 'OwnerAccount',
44
+ ownerId: 'OwnerId',
45
+ regionId: 'RegionId',
46
+ resourceOwnerAccount: 'ResourceOwnerAccount',
47
+ resourceOwnerId: 'ResourceOwnerId',
48
+ vpnGatewayId: 'VpnGatewayId',
49
+ };
50
+ }
51
+ static types() {
52
+ return {
53
+ clientToken: 'string',
54
+ ownerAccount: 'string',
55
+ ownerId: 'number',
56
+ regionId: 'string',
57
+ resourceOwnerAccount: 'string',
58
+ resourceOwnerId: 'number',
59
+ vpnGatewayId: 'string',
60
+ };
61
+ }
62
+ validate() {
63
+ super.validate();
64
+ }
65
+ constructor(map) {
66
+ super(map);
67
+ }
68
+ }
69
+ exports.DeleteEnhancedVpnGatewayRequest = DeleteEnhancedVpnGatewayRequest;
70
+ //# sourceMappingURL=DeleteEnhancedVpnGatewayRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteEnhancedVpnGatewayRequest.js","sourceRoot":"","sources":["../../src/models/DeleteEnhancedVpnGatewayRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IA0B9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,YAAY,EAAE,QAAQ;SACvB,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,0EAyDC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DeleteEnhancedVpnGatewayResponseBody } from "./DeleteEnhancedVpnGatewayResponseBody";
3
+ export declare class DeleteEnhancedVpnGatewayResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DeleteEnhancedVpnGatewayResponseBody;
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.DeleteEnhancedVpnGatewayResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DeleteEnhancedVpnGatewayResponseBody_1 = require("./DeleteEnhancedVpnGatewayResponseBody");
40
+ class DeleteEnhancedVpnGatewayResponse 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: DeleteEnhancedVpnGatewayResponseBody_1.DeleteEnhancedVpnGatewayResponseBody,
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.DeleteEnhancedVpnGatewayResponse = DeleteEnhancedVpnGatewayResponse;
69
+ //# sourceMappingURL=DeleteEnhancedVpnGatewayResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteEnhancedVpnGatewayResponse.js","sourceRoot":"","sources":["../../src/models/DeleteEnhancedVpnGatewayResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iGAA8F;AAG9F,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAI/D,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,2EAAoC;SAC3C,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,4EAiCC"}
@@ -0,0 +1,18 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteEnhancedVpnGatewayResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * E9A8AABE-A84B-4AF2-A68A-8E2EA190E7AE
6
+ */
7
+ requestId?: string;
8
+ static names(): {
9
+ [key: string]: string;
10
+ };
11
+ static types(): {
12
+ [key: string]: any;
13
+ };
14
+ validate(): void;
15
+ constructor(map?: {
16
+ [key: string]: any;
17
+ });
18
+ }
@@ -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.DeleteEnhancedVpnGatewayResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DeleteEnhancedVpnGatewayResponseBody 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.DeleteEnhancedVpnGatewayResponseBody = DeleteEnhancedVpnGatewayResponseBody;
58
+ //# sourceMappingURL=DeleteEnhancedVpnGatewayResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteEnhancedVpnGatewayResponseBody.js","sourceRoot":"","sources":["../../src/models/DeleteEnhancedVpnGatewayResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAMnE,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;AAzBD,oFAyBC"}
@@ -12,7 +12,9 @@ export declare class ModifyRouteEntryRequest extends $dara.Model {
12
12
  description?: string;
13
13
  /**
14
14
  * @remarks
15
- * The destination CIDR block of the route entry. Only IPv4 CIDR blocks, IPv6 CIDR blocks, and prefix lists are supported.
15
+ * The destination CIDR block of the route entry, which supports IPv4 CIDR blocks and IPv6 CIDR blocks.
16
+ * > When the **RouteEntryId** parameter is not provided, both the **DestinationCidrBlock** and **RouteTableId** parameters are required.
17
+ * When modifying a route whose destination CIDR block points to a prefix list, the **RouteEntryId** parameter is required, and the **DestinationCidrBlock** parameter does not support prefix list CIDR blocks or prefix list instance IDs.
16
18
  *
17
19
  * @example
18
20
  * 192.168.0.0/24
@@ -1 +1 @@
1
- {"version":3,"file":"ModifyRouteEntryRequest.js","sourceRoot":"","sources":["../../src/models/ModifyRouteEntryRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;IAwFtD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,sBAAsB;YAC5C,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,cAAc;YAC5B,cAAc,EAAE,gBAAgB;YAChC,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,YAAY,EAAE,cAAc;YAC5B,cAAc,EAAE,gBAAgB;YAChC,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,QAAQ;YAC9B,MAAM,EAAE,SAAS;YACjB,YAAY,EAAE,QAAQ;YACtB,cAAc,EAAE,QAAQ;YACxB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,YAAY,EAAE,QAAQ;YACtB,cAAc,EAAE,QAAQ;YACxB,YAAY,EAAE,QAAQ;SACvB,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;AAnID,0DAmIC"}
1
+ {"version":3,"file":"ModifyRouteEntryRequest.js","sourceRoot":"","sources":["../../src/models/ModifyRouteEntryRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;IA0FtD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,sBAAsB;YAC5C,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,cAAc;YAC5B,cAAc,EAAE,gBAAgB;YAChC,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,YAAY,EAAE,cAAc;YAC5B,cAAc,EAAE,gBAAgB;YAChC,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,QAAQ;YAC9B,MAAM,EAAE,SAAS;YACjB,YAAY,EAAE,QAAQ;YACtB,cAAc,EAAE,QAAQ;YACxB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,YAAY,EAAE,QAAQ;YACtB,cAAc,EAAE,QAAQ;YACxB,YAAY,EAAE,QAAQ;SACvB,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;AArID,0DAqIC"}