@scaleway/sdk-s2s-vpn 1.1.0 → 2.1.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.
@@ -1,475 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const sdkClient = require("@scaleway/sdk-client");
4
- const content_gen = require("./content.gen.cjs");
5
- const marshalling_gen = require("./marshalling.gen.cjs");
6
- const jsonContentHeaders = {
7
- "Content-Type": "application/json; charset=utf-8"
8
- };
9
- class API extends sdkClient.API {
10
- /**
11
- * Locality of this API.
12
- * type ∈ {'zone','region','global','unspecified'}
13
- */
14
- static LOCALITY = sdkClient.toApiLocality({
15
- regions: ["fr-par", "nl-ams", "pl-waw"]
16
- });
17
- pageOfListVpnGatewayTypes = (request = {}) => this.client.fetch(
18
- {
19
- method: "GET",
20
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/vpn-gateway-types`,
21
- urlParams: sdkClient.urlParams(
22
- ["page", request.page],
23
- [
24
- "page_size",
25
- request.pageSize ?? this.client.settings.defaultPageSize
26
- ]
27
- )
28
- },
29
- marshalling_gen.unmarshalListVpnGatewayTypesResponse
30
- );
31
- /**
32
- * List VPN gateway types. List the different VPN gateway commercial offer types available at Scaleway. The response is an array of objects describing the name and technical details of each available VPN gateway type.
33
- *
34
- * @param request - The request {@link ListVpnGatewayTypesRequest}
35
- * @returns A Promise of ListVpnGatewayTypesResponse
36
- */
37
- listVpnGatewayTypes = (request = {}) => sdkClient.enrichForPagination("gatewayTypes", this.pageOfListVpnGatewayTypes, request);
38
- pageOfListVpnGateways = (request = {}) => this.client.fetch(
39
- {
40
- method: "GET",
41
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/vpn-gateways`,
42
- urlParams: sdkClient.urlParams(
43
- ["gateway_types", request.gatewayTypes],
44
- ["name", request.name],
45
- ["order_by", request.orderBy],
46
- ["page", request.page],
47
- [
48
- "page_size",
49
- request.pageSize ?? this.client.settings.defaultPageSize
50
- ],
51
- ["private_network_ids", request.privateNetworkIds],
52
- ["project_id", request.projectId],
53
- ["statuses", request.statuses],
54
- ["tags", request.tags]
55
- )
56
- },
57
- marshalling_gen.unmarshalListVpnGatewaysResponse
58
- );
59
- /**
60
- * List VPN gateways. List all your VPN gateways. A number of filters are available, including Project ID, name, tags and status.
61
- *
62
- * @param request - The request {@link ListVpnGatewaysRequest}
63
- * @returns A Promise of ListVpnGatewaysResponse
64
- */
65
- listVpnGateways = (request = {}) => sdkClient.enrichForPagination("gateways", this.pageOfListVpnGateways, request);
66
- /**
67
- * Get a VPN gateway. Get a VPN gateway for the given VPN gateway ID.
68
- *
69
- * @param request - The request {@link GetVpnGatewayRequest}
70
- * @returns A Promise of VpnGateway
71
- */
72
- getVpnGateway = (request) => this.client.fetch(
73
- {
74
- method: "GET",
75
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/vpn-gateways/${sdkClient.validatePathParam("gatewayId", request.gatewayId)}`
76
- },
77
- marshalling_gen.unmarshalVpnGateway
78
- );
79
- /**
80
- * Waits for {@link VpnGateway} to be in a final state.
81
- *
82
- * @param request - The request {@link GetVpnGatewayRequest}
83
- * @param options - The waiting options
84
- * @returns A Promise of VpnGateway
85
- */
86
- waitForVpnGateway = (request, options) => sdkClient.waitForResource(
87
- options?.stop ?? ((res) => Promise.resolve(
88
- !content_gen.VPN_GATEWAY_TRANSIENT_STATUSES.includes(res.status)
89
- )),
90
- this.getVpnGateway,
91
- request,
92
- options
93
- );
94
- /**
95
- * Create VPN gateway.
96
- *
97
- * @param request - The request {@link CreateVpnGatewayRequest}
98
- * @returns A Promise of VpnGateway
99
- */
100
- createVpnGateway = (request) => this.client.fetch(
101
- {
102
- body: JSON.stringify(
103
- marshalling_gen.marshalCreateVpnGatewayRequest(request, this.client.settings)
104
- ),
105
- headers: jsonContentHeaders,
106
- method: "POST",
107
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/vpn-gateways`
108
- },
109
- marshalling_gen.unmarshalVpnGateway
110
- );
111
- /**
112
- * Update a VPN gateway. Update an existing VPN gateway, specified by its VPN gateway ID. Only its name and tags can be updated.
113
- *
114
- * @param request - The request {@link UpdateVpnGatewayRequest}
115
- * @returns A Promise of VpnGateway
116
- */
117
- updateVpnGateway = (request) => this.client.fetch(
118
- {
119
- body: JSON.stringify(
120
- marshalling_gen.marshalUpdateVpnGatewayRequest(request, this.client.settings)
121
- ),
122
- headers: jsonContentHeaders,
123
- method: "PATCH",
124
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/vpn-gateways/${sdkClient.validatePathParam("gatewayId", request.gatewayId)}`
125
- },
126
- marshalling_gen.unmarshalVpnGateway
127
- );
128
- /**
129
- * Delete a VPN gateway. Delete an existing VPN gateway, specified by its VPN gateway ID.
130
- *
131
- * @param request - The request {@link DeleteVpnGatewayRequest}
132
- * @returns A Promise of VpnGateway
133
- */
134
- deleteVpnGateway = (request) => this.client.fetch(
135
- {
136
- method: "DELETE",
137
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/vpn-gateways/${sdkClient.validatePathParam("gatewayId", request.gatewayId)}`
138
- },
139
- marshalling_gen.unmarshalVpnGateway
140
- );
141
- pageOfListConnections = (request = {}) => this.client.fetch(
142
- {
143
- method: "GET",
144
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/connections`,
145
- urlParams: sdkClient.urlParams(
146
- ["customer_gateway_ids", request.customerGatewayIds],
147
- ["is_ipv6", request.isIpv6],
148
- ["name", request.name],
149
- ["order_by", request.orderBy],
150
- ["page", request.page],
151
- [
152
- "page_size",
153
- request.pageSize ?? this.client.settings.defaultPageSize
154
- ],
155
- ["project_id", request.projectId],
156
- ["route_propagation_enabled", request.routePropagationEnabled],
157
- ["routing_policy_ids", request.routingPolicyIds],
158
- ["statuses", request.statuses],
159
- ["tags", request.tags],
160
- ["vpn_gateway_ids", request.vpnGatewayIds]
161
- )
162
- },
163
- marshalling_gen.unmarshalListConnectionsResponse
164
- );
165
- /**
166
- * List connections. List all your connections. A number of filters are available, including Project ID, name, tags and status.
167
- *
168
- * @param request - The request {@link ListConnectionsRequest}
169
- * @returns A Promise of ListConnectionsResponse
170
- */
171
- listConnections = (request = {}) => sdkClient.enrichForPagination("connections", this.pageOfListConnections, request);
172
- /**
173
- * Get a connection. Get a connection for the given connection ID. The response object includes information about the connection's various configuration details.
174
- *
175
- * @param request - The request {@link GetConnectionRequest}
176
- * @returns A Promise of Connection
177
- */
178
- getConnection = (request) => this.client.fetch(
179
- {
180
- method: "GET",
181
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/connections/${sdkClient.validatePathParam("connectionId", request.connectionId)}`
182
- },
183
- marshalling_gen.unmarshalConnection
184
- );
185
- /**
186
- * Create a connection.
187
- *
188
- * @param request - The request {@link CreateConnectionRequest}
189
- * @returns A Promise of CreateConnectionResponse
190
- */
191
- createConnection = (request) => this.client.fetch(
192
- {
193
- body: JSON.stringify(
194
- marshalling_gen.marshalCreateConnectionRequest(request, this.client.settings)
195
- ),
196
- headers: jsonContentHeaders,
197
- method: "POST",
198
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/connections`
199
- },
200
- marshalling_gen.unmarshalCreateConnectionResponse
201
- );
202
- /**
203
- * Update a connection. Update an existing connection, specified by its connection ID.
204
- *
205
- * @param request - The request {@link UpdateConnectionRequest}
206
- * @returns A Promise of Connection
207
- */
208
- updateConnection = (request) => this.client.fetch(
209
- {
210
- body: JSON.stringify(
211
- marshalling_gen.marshalUpdateConnectionRequest(request, this.client.settings)
212
- ),
213
- headers: jsonContentHeaders,
214
- method: "PATCH",
215
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/connections/${sdkClient.validatePathParam("connectionId", request.connectionId)}`
216
- },
217
- marshalling_gen.unmarshalConnection
218
- );
219
- /**
220
- * Delete a connection. Delete an existing connection, specified by its connection ID.
221
- *
222
- * @param request - The request {@link DeleteConnectionRequest}
223
- */
224
- deleteConnection = (request) => this.client.fetch({
225
- method: "DELETE",
226
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/connections/${sdkClient.validatePathParam("connectionId", request.connectionId)}`
227
- });
228
- /**
229
- * Renew pre-shared key. Renew pre-shared key for a given connection.
230
- *
231
- * @param request - The request {@link RenewConnectionPskRequest}
232
- * @returns A Promise of RenewConnectionPskResponse
233
- */
234
- renewConnectionPsk = (request) => this.client.fetch(
235
- {
236
- body: "{}",
237
- headers: jsonContentHeaders,
238
- method: "POST",
239
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/connections/${sdkClient.validatePathParam("connectionId", request.connectionId)}/renew-psk`
240
- },
241
- marshalling_gen.unmarshalRenewConnectionPskResponse
242
- );
243
- /**
244
- * Set a new routing policy. Set a new routing policy on a connection, overriding the existing one if present, specified by its connection ID.
245
- *
246
- * @param request - The request {@link SetRoutingPolicyRequest}
247
- * @returns A Promise of Connection
248
- */
249
- setRoutingPolicy = (request) => this.client.fetch(
250
- {
251
- body: JSON.stringify(
252
- marshalling_gen.marshalSetRoutingPolicyRequest(request, this.client.settings)
253
- ),
254
- headers: jsonContentHeaders,
255
- method: "POST",
256
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/connections/${sdkClient.validatePathParam("connectionId", request.connectionId)}/set-routing-policy`
257
- },
258
- marshalling_gen.unmarshalConnection
259
- );
260
- /**
261
- * Detach a routing policy. Detach an existing routing policy from a connection, specified by its connection ID.
262
- *
263
- * @param request - The request {@link DetachRoutingPolicyRequest}
264
- * @returns A Promise of Connection
265
- */
266
- detachRoutingPolicy = (request) => this.client.fetch(
267
- {
268
- body: JSON.stringify(
269
- marshalling_gen.marshalDetachRoutingPolicyRequest(request, this.client.settings)
270
- ),
271
- headers: jsonContentHeaders,
272
- method: "POST",
273
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/connections/${sdkClient.validatePathParam("connectionId", request.connectionId)}/detach-routing-policy`
274
- },
275
- marshalling_gen.unmarshalConnection
276
- );
277
- /**
278
- * Enable route propagation. Enable all allowed prefixes (defined in a routing policy) to be announced in the BGP session. This allows traffic to flow between the attached VPC and the on-premises infrastructure along the announced routes. Note that by default, even when route propagation is enabled, all routes are blocked. It is essential to attach a routing policy to define the ranges of routes to announce.
279
- *
280
- * @param request - The request {@link EnableRoutePropagationRequest}
281
- * @returns A Promise of Connection
282
- */
283
- enableRoutePropagation = (request) => this.client.fetch(
284
- {
285
- body: "{}",
286
- headers: jsonContentHeaders,
287
- method: "POST",
288
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/connections/${sdkClient.validatePathParam("connectionId", request.connectionId)}/enable-route-propagation`
289
- },
290
- marshalling_gen.unmarshalConnection
291
- );
292
- /**
293
- * Disable route propagation. Prevent any prefixes from being announced in the BGP session. Traffic will not be able to flow over the VPN Gateway until route propagation is re-enabled.
294
- *
295
- * @param request - The request {@link DisableRoutePropagationRequest}
296
- * @returns A Promise of Connection
297
- */
298
- disableRoutePropagation = (request) => this.client.fetch(
299
- {
300
- body: "{}",
301
- headers: jsonContentHeaders,
302
- method: "POST",
303
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/connections/${sdkClient.validatePathParam("connectionId", request.connectionId)}/disable-route-propagation`
304
- },
305
- marshalling_gen.unmarshalConnection
306
- );
307
- pageOfListCustomerGateways = (request = {}) => this.client.fetch(
308
- {
309
- method: "GET",
310
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/customer-gateways`,
311
- urlParams: sdkClient.urlParams(
312
- ["name", request.name],
313
- ["order_by", request.orderBy],
314
- ["page", request.page],
315
- [
316
- "page_size",
317
- request.pageSize ?? this.client.settings.defaultPageSize
318
- ],
319
- ["project_id", request.projectId],
320
- ["tags", request.tags]
321
- )
322
- },
323
- marshalling_gen.unmarshalListCustomerGatewaysResponse
324
- );
325
- /**
326
- * List customer gateways. List all your customer gateways. A number of filters are available, including Project ID, name, and tags.
327
- *
328
- * @param request - The request {@link ListCustomerGatewaysRequest}
329
- * @returns A Promise of ListCustomerGatewaysResponse
330
- */
331
- listCustomerGateways = (request = {}) => sdkClient.enrichForPagination("gateways", this.pageOfListCustomerGateways, request);
332
- /**
333
- * Get a customer gateway. Get a customer gateway for the given customer gateway ID.
334
- *
335
- * @param request - The request {@link GetCustomerGatewayRequest}
336
- * @returns A Promise of CustomerGateway
337
- */
338
- getCustomerGateway = (request) => this.client.fetch(
339
- {
340
- method: "GET",
341
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/customer-gateways/${sdkClient.validatePathParam("gatewayId", request.gatewayId)}`
342
- },
343
- marshalling_gen.unmarshalCustomerGateway
344
- );
345
- /**
346
- * Create a customer gateway.
347
- *
348
- * @param request - The request {@link CreateCustomerGatewayRequest}
349
- * @returns A Promise of CustomerGateway
350
- */
351
- createCustomerGateway = (request) => this.client.fetch(
352
- {
353
- body: JSON.stringify(
354
- marshalling_gen.marshalCreateCustomerGatewayRequest(request, this.client.settings)
355
- ),
356
- headers: jsonContentHeaders,
357
- method: "POST",
358
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/customer-gateways`
359
- },
360
- marshalling_gen.unmarshalCustomerGateway
361
- );
362
- /**
363
- * Update a customer gateway. Update an existing customer gateway, specified by its customer gateway ID. You can update its name, tags, public IPv4 & IPv6 address and AS Number.
364
- *
365
- * @param request - The request {@link UpdateCustomerGatewayRequest}
366
- * @returns A Promise of CustomerGateway
367
- */
368
- updateCustomerGateway = (request) => this.client.fetch(
369
- {
370
- body: JSON.stringify(
371
- marshalling_gen.marshalUpdateCustomerGatewayRequest(request, this.client.settings)
372
- ),
373
- headers: jsonContentHeaders,
374
- method: "PATCH",
375
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/customer-gateways/${sdkClient.validatePathParam("gatewayId", request.gatewayId)}`
376
- },
377
- marshalling_gen.unmarshalCustomerGateway
378
- );
379
- /**
380
- * Delete a customer gateway. Delete an existing customer gateway, specified by its customer gateway ID.
381
- *
382
- * @param request - The request {@link DeleteCustomerGatewayRequest}
383
- */
384
- deleteCustomerGateway = (request) => this.client.fetch({
385
- method: "DELETE",
386
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/customer-gateways/${sdkClient.validatePathParam("gatewayId", request.gatewayId)}`
387
- });
388
- pageOfListRoutingPolicies = (request = {}) => this.client.fetch(
389
- {
390
- method: "GET",
391
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/routing-policies`,
392
- urlParams: sdkClient.urlParams(
393
- ["ipv6", request.ipv6],
394
- ["name", request.name],
395
- ["order_by", request.orderBy],
396
- ["page", request.page],
397
- [
398
- "page_size",
399
- request.pageSize ?? this.client.settings.defaultPageSize
400
- ],
401
- ["project_id", request.projectId],
402
- ["tags", request.tags]
403
- )
404
- },
405
- marshalling_gen.unmarshalListRoutingPoliciesResponse
406
- );
407
- /**
408
- * List routing policies. List all routing policies in a given region. A routing policy can be attached to one or multiple connections (S2S VPN connections).
409
- *
410
- * @param request - The request {@link ListRoutingPoliciesRequest}
411
- * @returns A Promise of ListRoutingPoliciesResponse
412
- */
413
- listRoutingPolicies = (request = {}) => sdkClient.enrichForPagination(
414
- "routingPolicies",
415
- this.pageOfListRoutingPolicies,
416
- request
417
- );
418
- /**
419
- * Get routing policy. Get a routing policy for the given routing policy ID. The response object gives information including the policy's name, tags and prefix filters.
420
- *
421
- * @param request - The request {@link GetRoutingPolicyRequest}
422
- * @returns A Promise of RoutingPolicy
423
- */
424
- getRoutingPolicy = (request) => this.client.fetch(
425
- {
426
- method: "GET",
427
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/routing-policies/${sdkClient.validatePathParam("routingPolicyId", request.routingPolicyId)}`
428
- },
429
- marshalling_gen.unmarshalRoutingPolicy
430
- );
431
- /**
432
- * Create a routing policy. Create a routing policy. Routing policies allow you to set IP prefix filters to define the incoming route announcements to accept from the customer gateway, and the outgoing routes to announce to the customer gateway.
433
- *
434
- * @param request - The request {@link CreateRoutingPolicyRequest}
435
- * @returns A Promise of RoutingPolicy
436
- */
437
- createRoutingPolicy = (request) => this.client.fetch(
438
- {
439
- body: JSON.stringify(
440
- marshalling_gen.marshalCreateRoutingPolicyRequest(request, this.client.settings)
441
- ),
442
- headers: jsonContentHeaders,
443
- method: "POST",
444
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/routing-policies`
445
- },
446
- marshalling_gen.unmarshalRoutingPolicy
447
- );
448
- /**
449
- * Update a routing policy. Update an existing routing policy, specified by its routing policy ID. Its name, tags and incoming/outgoing prefix filters can be updated.
450
- *
451
- * @param request - The request {@link UpdateRoutingPolicyRequest}
452
- * @returns A Promise of RoutingPolicy
453
- */
454
- updateRoutingPolicy = (request) => this.client.fetch(
455
- {
456
- body: JSON.stringify(
457
- marshalling_gen.marshalUpdateRoutingPolicyRequest(request, this.client.settings)
458
- ),
459
- headers: jsonContentHeaders,
460
- method: "PATCH",
461
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/routing-policies/${sdkClient.validatePathParam("routingPolicyId", request.routingPolicyId)}`
462
- },
463
- marshalling_gen.unmarshalRoutingPolicy
464
- );
465
- /**
466
- * Delete a routing policy. Delete an existing routing policy, specified by its routing policy ID.
467
- *
468
- * @param request - The request {@link DeleteRoutingPolicyRequest}
469
- */
470
- deleteRoutingPolicy = (request) => this.client.fetch({
471
- method: "DELETE",
472
- path: `/s2s-vpn/v1alpha1/regions/${sdkClient.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/routing-policies/${sdkClient.validatePathParam("routingPolicyId", request.routingPolicyId)}`
473
- });
474
- }
475
- exports.API = API;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const VPN_GATEWAY_TRANSIENT_STATUSES = [
4
- "configuring",
5
- "provisioning",
6
- "deprovisioning"
7
- ];
8
- exports.VPN_GATEWAY_TRANSIENT_STATUSES = VPN_GATEWAY_TRANSIENT_STATUSES;
@@ -1,30 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const api_gen = require("./api.gen.cjs");
4
- const content_gen = require("./content.gen.cjs");
5
- const marshalling_gen = require("./marshalling.gen.cjs");
6
- const validationRules_gen = require("./validation-rules.gen.cjs");
7
- exports.API = api_gen.API;
8
- exports.VPN_GATEWAY_TRANSIENT_STATUSES = content_gen.VPN_GATEWAY_TRANSIENT_STATUSES;
9
- exports.marshalCreateConnectionRequest = marshalling_gen.marshalCreateConnectionRequest;
10
- exports.marshalCreateCustomerGatewayRequest = marshalling_gen.marshalCreateCustomerGatewayRequest;
11
- exports.marshalCreateRoutingPolicyRequest = marshalling_gen.marshalCreateRoutingPolicyRequest;
12
- exports.marshalCreateVpnGatewayRequest = marshalling_gen.marshalCreateVpnGatewayRequest;
13
- exports.marshalDetachRoutingPolicyRequest = marshalling_gen.marshalDetachRoutingPolicyRequest;
14
- exports.marshalSetRoutingPolicyRequest = marshalling_gen.marshalSetRoutingPolicyRequest;
15
- exports.marshalUpdateConnectionRequest = marshalling_gen.marshalUpdateConnectionRequest;
16
- exports.marshalUpdateCustomerGatewayRequest = marshalling_gen.marshalUpdateCustomerGatewayRequest;
17
- exports.marshalUpdateRoutingPolicyRequest = marshalling_gen.marshalUpdateRoutingPolicyRequest;
18
- exports.marshalUpdateVpnGatewayRequest = marshalling_gen.marshalUpdateVpnGatewayRequest;
19
- exports.unmarshalConnection = marshalling_gen.unmarshalConnection;
20
- exports.unmarshalCreateConnectionResponse = marshalling_gen.unmarshalCreateConnectionResponse;
21
- exports.unmarshalCustomerGateway = marshalling_gen.unmarshalCustomerGateway;
22
- exports.unmarshalListConnectionsResponse = marshalling_gen.unmarshalListConnectionsResponse;
23
- exports.unmarshalListCustomerGatewaysResponse = marshalling_gen.unmarshalListCustomerGatewaysResponse;
24
- exports.unmarshalListRoutingPoliciesResponse = marshalling_gen.unmarshalListRoutingPoliciesResponse;
25
- exports.unmarshalListVpnGatewayTypesResponse = marshalling_gen.unmarshalListVpnGatewayTypesResponse;
26
- exports.unmarshalListVpnGatewaysResponse = marshalling_gen.unmarshalListVpnGatewaysResponse;
27
- exports.unmarshalRenewConnectionPskResponse = marshalling_gen.unmarshalRenewConnectionPskResponse;
28
- exports.unmarshalRoutingPolicy = marshalling_gen.unmarshalRoutingPolicy;
29
- exports.unmarshalVpnGateway = marshalling_gen.unmarshalVpnGateway;
30
- exports.ValidationRules = validationRules_gen;