@aws-sdk/client-networkmanager 3.312.0 → 3.315.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.
- package/dist-cjs/protocols/Aws_restJson1.js +981 -1775
- package/dist-es/protocols/Aws_restJson1.js +864 -1658
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, LazyJsonString as __LazyJsonString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { AccessDeniedException, ConflictException, CoreNetworkPolicyException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
5
|
import { NetworkManagerServiceException as __BaseException } from "../models/NetworkManagerServiceException";
|
|
@@ -28,11 +28,11 @@ export const se_AssociateConnectPeerCommand = async (input, context) => {
|
|
|
28
28
|
"/global-networks/{GlobalNetworkId}/connect-peer-associations";
|
|
29
29
|
resolvedPath = __resolvedPath(resolvedPath, input, "GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
|
|
30
30
|
let body;
|
|
31
|
-
body = JSON.stringify({
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
});
|
|
31
|
+
body = JSON.stringify(take(input, {
|
|
32
|
+
ConnectPeerId: [],
|
|
33
|
+
DeviceId: [],
|
|
34
|
+
LinkId: [],
|
|
35
|
+
}));
|
|
36
36
|
return new __HttpRequest({
|
|
37
37
|
protocol,
|
|
38
38
|
hostname,
|
|
@@ -52,11 +52,11 @@ export const se_AssociateCustomerGatewayCommand = async (input, context) => {
|
|
|
52
52
|
"/global-networks/{GlobalNetworkId}/customer-gateway-associations";
|
|
53
53
|
resolvedPath = __resolvedPath(resolvedPath, input, "GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
|
|
54
54
|
let body;
|
|
55
|
-
body = JSON.stringify({
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
});
|
|
55
|
+
body = JSON.stringify(take(input, {
|
|
56
|
+
CustomerGatewayArn: [],
|
|
57
|
+
DeviceId: [],
|
|
58
|
+
LinkId: [],
|
|
59
|
+
}));
|
|
60
60
|
return new __HttpRequest({
|
|
61
61
|
protocol,
|
|
62
62
|
hostname,
|
|
@@ -76,10 +76,10 @@ export const se_AssociateLinkCommand = async (input, context) => {
|
|
|
76
76
|
"/global-networks/{GlobalNetworkId}/link-associations";
|
|
77
77
|
resolvedPath = __resolvedPath(resolvedPath, input, "GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
|
|
78
78
|
let body;
|
|
79
|
-
body = JSON.stringify({
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
});
|
|
79
|
+
body = JSON.stringify(take(input, {
|
|
80
|
+
DeviceId: [],
|
|
81
|
+
LinkId: [],
|
|
82
|
+
}));
|
|
83
83
|
return new __HttpRequest({
|
|
84
84
|
protocol,
|
|
85
85
|
hostname,
|
|
@@ -99,13 +99,11 @@ export const se_AssociateTransitGatewayConnectPeerCommand = async (input, contex
|
|
|
99
99
|
"/global-networks/{GlobalNetworkId}/transit-gateway-connect-peer-associations";
|
|
100
100
|
resolvedPath = __resolvedPath(resolvedPath, input, "GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
|
|
101
101
|
let body;
|
|
102
|
-
body = JSON.stringify({
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}),
|
|
108
|
-
});
|
|
102
|
+
body = JSON.stringify(take(input, {
|
|
103
|
+
DeviceId: [],
|
|
104
|
+
LinkId: [],
|
|
105
|
+
TransitGatewayConnectPeerArn: [],
|
|
106
|
+
}));
|
|
109
107
|
return new __HttpRequest({
|
|
110
108
|
protocol,
|
|
111
109
|
hostname,
|
|
@@ -123,14 +121,14 @@ export const se_CreateConnectAttachmentCommand = async (input, context) => {
|
|
|
123
121
|
};
|
|
124
122
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/connect-attachments";
|
|
125
123
|
let body;
|
|
126
|
-
body = JSON.stringify({
|
|
127
|
-
ClientToken:
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
});
|
|
124
|
+
body = JSON.stringify(take(input, {
|
|
125
|
+
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
126
|
+
CoreNetworkId: [],
|
|
127
|
+
EdgeLocation: [],
|
|
128
|
+
Options: (_) => _json(_),
|
|
129
|
+
Tags: (_) => _json(_),
|
|
130
|
+
TransportAttachmentId: [],
|
|
131
|
+
}));
|
|
134
132
|
return new __HttpRequest({
|
|
135
133
|
protocol,
|
|
136
134
|
hostname,
|
|
@@ -150,14 +148,14 @@ export const se_CreateConnectionCommand = async (input, context) => {
|
|
|
150
148
|
"/global-networks/{GlobalNetworkId}/connections";
|
|
151
149
|
resolvedPath = __resolvedPath(resolvedPath, input, "GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
|
|
152
150
|
let body;
|
|
153
|
-
body = JSON.stringify({
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
});
|
|
151
|
+
body = JSON.stringify(take(input, {
|
|
152
|
+
ConnectedDeviceId: [],
|
|
153
|
+
ConnectedLinkId: [],
|
|
154
|
+
Description: [],
|
|
155
|
+
DeviceId: [],
|
|
156
|
+
LinkId: [],
|
|
157
|
+
Tags: (_) => _json(_),
|
|
158
|
+
}));
|
|
161
159
|
return new __HttpRequest({
|
|
162
160
|
protocol,
|
|
163
161
|
hostname,
|
|
@@ -175,17 +173,15 @@ export const se_CreateConnectPeerCommand = async (input, context) => {
|
|
|
175
173
|
};
|
|
176
174
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/connect-peers";
|
|
177
175
|
let body;
|
|
178
|
-
body = JSON.stringify({
|
|
179
|
-
|
|
180
|
-
ClientToken:
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
188
|
-
});
|
|
176
|
+
body = JSON.stringify(take(input, {
|
|
177
|
+
BgpOptions: (_) => _json(_),
|
|
178
|
+
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
179
|
+
ConnectAttachmentId: [],
|
|
180
|
+
CoreNetworkAddress: [],
|
|
181
|
+
InsideCidrBlocks: (_) => _json(_),
|
|
182
|
+
PeerAddress: [],
|
|
183
|
+
Tags: (_) => _json(_),
|
|
184
|
+
}));
|
|
189
185
|
return new __HttpRequest({
|
|
190
186
|
protocol,
|
|
191
187
|
hostname,
|
|
@@ -203,13 +199,13 @@ export const se_CreateCoreNetworkCommand = async (input, context) => {
|
|
|
203
199
|
};
|
|
204
200
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/core-networks";
|
|
205
201
|
let body;
|
|
206
|
-
body = JSON.stringify({
|
|
207
|
-
ClientToken:
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
});
|
|
202
|
+
body = JSON.stringify(take(input, {
|
|
203
|
+
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
204
|
+
Description: [],
|
|
205
|
+
GlobalNetworkId: [],
|
|
206
|
+
PolicyDocument: [],
|
|
207
|
+
Tags: (_) => _json(_),
|
|
208
|
+
}));
|
|
213
209
|
return new __HttpRequest({
|
|
214
210
|
protocol,
|
|
215
211
|
hostname,
|
|
@@ -229,17 +225,17 @@ export const se_CreateDeviceCommand = async (input, context) => {
|
|
|
229
225
|
"/global-networks/{GlobalNetworkId}/devices";
|
|
230
226
|
resolvedPath = __resolvedPath(resolvedPath, input, "GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
|
|
231
227
|
let body;
|
|
232
|
-
body = JSON.stringify({
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
});
|
|
228
|
+
body = JSON.stringify(take(input, {
|
|
229
|
+
AWSLocation: (_) => _json(_),
|
|
230
|
+
Description: [],
|
|
231
|
+
Location: (_) => _json(_),
|
|
232
|
+
Model: [],
|
|
233
|
+
SerialNumber: [],
|
|
234
|
+
SiteId: [],
|
|
235
|
+
Tags: (_) => _json(_),
|
|
236
|
+
Type: [],
|
|
237
|
+
Vendor: [],
|
|
238
|
+
}));
|
|
243
239
|
return new __HttpRequest({
|
|
244
240
|
protocol,
|
|
245
241
|
hostname,
|
|
@@ -257,10 +253,10 @@ export const se_CreateGlobalNetworkCommand = async (input, context) => {
|
|
|
257
253
|
};
|
|
258
254
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/global-networks";
|
|
259
255
|
let body;
|
|
260
|
-
body = JSON.stringify({
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
});
|
|
256
|
+
body = JSON.stringify(take(input, {
|
|
257
|
+
Description: [],
|
|
258
|
+
Tags: (_) => _json(_),
|
|
259
|
+
}));
|
|
264
260
|
return new __HttpRequest({
|
|
265
261
|
protocol,
|
|
266
262
|
hostname,
|
|
@@ -279,14 +275,14 @@ export const se_CreateLinkCommand = async (input, context) => {
|
|
|
279
275
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/global-networks/{GlobalNetworkId}/links";
|
|
280
276
|
resolvedPath = __resolvedPath(resolvedPath, input, "GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
|
|
281
277
|
let body;
|
|
282
|
-
body = JSON.stringify({
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
});
|
|
278
|
+
body = JSON.stringify(take(input, {
|
|
279
|
+
Bandwidth: (_) => _json(_),
|
|
280
|
+
Description: [],
|
|
281
|
+
Provider: [],
|
|
282
|
+
SiteId: [],
|
|
283
|
+
Tags: (_) => _json(_),
|
|
284
|
+
Type: [],
|
|
285
|
+
}));
|
|
290
286
|
return new __HttpRequest({
|
|
291
287
|
protocol,
|
|
292
288
|
hostname,
|
|
@@ -305,11 +301,11 @@ export const se_CreateSiteCommand = async (input, context) => {
|
|
|
305
301
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/global-networks/{GlobalNetworkId}/sites";
|
|
306
302
|
resolvedPath = __resolvedPath(resolvedPath, input, "GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
|
|
307
303
|
let body;
|
|
308
|
-
body = JSON.stringify({
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
});
|
|
304
|
+
body = JSON.stringify(take(input, {
|
|
305
|
+
Description: [],
|
|
306
|
+
Location: (_) => _json(_),
|
|
307
|
+
Tags: (_) => _json(_),
|
|
308
|
+
}));
|
|
313
309
|
return new __HttpRequest({
|
|
314
310
|
protocol,
|
|
315
311
|
hostname,
|
|
@@ -327,12 +323,12 @@ export const se_CreateSiteToSiteVpnAttachmentCommand = async (input, context) =>
|
|
|
327
323
|
};
|
|
328
324
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/site-to-site-vpn-attachments";
|
|
329
325
|
let body;
|
|
330
|
-
body = JSON.stringify({
|
|
331
|
-
ClientToken:
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
});
|
|
326
|
+
body = JSON.stringify(take(input, {
|
|
327
|
+
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
328
|
+
CoreNetworkId: [],
|
|
329
|
+
Tags: (_) => _json(_),
|
|
330
|
+
VpnConnectionArn: [],
|
|
331
|
+
}));
|
|
336
332
|
return new __HttpRequest({
|
|
337
333
|
protocol,
|
|
338
334
|
hostname,
|
|
@@ -350,12 +346,12 @@ export const se_CreateTransitGatewayPeeringCommand = async (input, context) => {
|
|
|
350
346
|
};
|
|
351
347
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/transit-gateway-peerings";
|
|
352
348
|
let body;
|
|
353
|
-
body = JSON.stringify({
|
|
354
|
-
ClientToken:
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
});
|
|
349
|
+
body = JSON.stringify(take(input, {
|
|
350
|
+
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
351
|
+
CoreNetworkId: [],
|
|
352
|
+
Tags: (_) => _json(_),
|
|
353
|
+
TransitGatewayArn: [],
|
|
354
|
+
}));
|
|
359
355
|
return new __HttpRequest({
|
|
360
356
|
protocol,
|
|
361
357
|
hostname,
|
|
@@ -373,14 +369,12 @@ export const se_CreateTransitGatewayRouteTableAttachmentCommand = async (input,
|
|
|
373
369
|
};
|
|
374
370
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/transit-gateway-route-table-attachments";
|
|
375
371
|
let body;
|
|
376
|
-
body = JSON.stringify({
|
|
377
|
-
ClientToken:
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
}),
|
|
383
|
-
});
|
|
372
|
+
body = JSON.stringify(take(input, {
|
|
373
|
+
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
374
|
+
PeeringId: [],
|
|
375
|
+
Tags: (_) => _json(_),
|
|
376
|
+
TransitGatewayRouteTableArn: [],
|
|
377
|
+
}));
|
|
384
378
|
return new __HttpRequest({
|
|
385
379
|
protocol,
|
|
386
380
|
hostname,
|
|
@@ -398,14 +392,14 @@ export const se_CreateVpcAttachmentCommand = async (input, context) => {
|
|
|
398
392
|
};
|
|
399
393
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/vpc-attachments";
|
|
400
394
|
let body;
|
|
401
|
-
body = JSON.stringify({
|
|
402
|
-
ClientToken:
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
});
|
|
395
|
+
body = JSON.stringify(take(input, {
|
|
396
|
+
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
397
|
+
CoreNetworkId: [],
|
|
398
|
+
Options: (_) => _json(_),
|
|
399
|
+
SubnetArns: (_) => _json(_),
|
|
400
|
+
Tags: (_) => _json(_),
|
|
401
|
+
VpcArn: [],
|
|
402
|
+
}));
|
|
409
403
|
return new __HttpRequest({
|
|
410
404
|
protocol,
|
|
411
405
|
hostname,
|
|
@@ -1094,25 +1088,17 @@ export const se_GetNetworkRoutesCommand = async (input, context) => {
|
|
|
1094
1088
|
"/global-networks/{GlobalNetworkId}/network-routes";
|
|
1095
1089
|
resolvedPath = __resolvedPath(resolvedPath, input, "GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
|
|
1096
1090
|
let body;
|
|
1097
|
-
body = JSON.stringify({
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
}),
|
|
1109
|
-
...(input.States != null && { States: se_RouteStateList(input.States, context) }),
|
|
1110
|
-
...(input.SubnetOfMatches != null && { SubnetOfMatches: se_ConstrainedStringList(input.SubnetOfMatches, context) }),
|
|
1111
|
-
...(input.SupernetOfMatches != null && {
|
|
1112
|
-
SupernetOfMatches: se_ConstrainedStringList(input.SupernetOfMatches, context),
|
|
1113
|
-
}),
|
|
1114
|
-
...(input.Types != null && { Types: se_RouteTypeList(input.Types, context) }),
|
|
1115
|
-
});
|
|
1091
|
+
body = JSON.stringify(take(input, {
|
|
1092
|
+
DestinationFilters: (_) => _json(_),
|
|
1093
|
+
ExactCidrMatches: (_) => _json(_),
|
|
1094
|
+
LongestPrefixMatches: (_) => _json(_),
|
|
1095
|
+
PrefixListIds: (_) => _json(_),
|
|
1096
|
+
RouteTableIdentifier: (_) => _json(_),
|
|
1097
|
+
States: (_) => _json(_),
|
|
1098
|
+
SubnetOfMatches: (_) => _json(_),
|
|
1099
|
+
SupernetOfMatches: (_) => _json(_),
|
|
1100
|
+
Types: (_) => _json(_),
|
|
1101
|
+
}));
|
|
1116
1102
|
return new __HttpRequest({
|
|
1117
1103
|
protocol,
|
|
1118
1104
|
hostname,
|
|
@@ -1482,12 +1468,12 @@ export const se_PutCoreNetworkPolicyCommand = async (input, context) => {
|
|
|
1482
1468
|
"/core-networks/{CoreNetworkId}/core-network-policy";
|
|
1483
1469
|
resolvedPath = __resolvedPath(resolvedPath, input, "CoreNetworkId", () => input.CoreNetworkId, "{CoreNetworkId}", false);
|
|
1484
1470
|
let body;
|
|
1485
|
-
body = JSON.stringify({
|
|
1486
|
-
ClientToken:
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
});
|
|
1471
|
+
body = JSON.stringify(take(input, {
|
|
1472
|
+
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
1473
|
+
Description: [],
|
|
1474
|
+
LatestVersionId: [],
|
|
1475
|
+
PolicyDocument: (_) => __LazyJsonString.fromObject(_),
|
|
1476
|
+
}));
|
|
1491
1477
|
return new __HttpRequest({
|
|
1492
1478
|
protocol,
|
|
1493
1479
|
hostname,
|
|
@@ -1506,9 +1492,9 @@ export const se_PutResourcePolicyCommand = async (input, context) => {
|
|
|
1506
1492
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/resource-policy/{ResourceArn}";
|
|
1507
1493
|
resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
1508
1494
|
let body;
|
|
1509
|
-
body = JSON.stringify({
|
|
1510
|
-
|
|
1511
|
-
});
|
|
1495
|
+
body = JSON.stringify(take(input, {
|
|
1496
|
+
PolicyDocument: (_) => __LazyJsonString.fromObject(_),
|
|
1497
|
+
}));
|
|
1512
1498
|
return new __HttpRequest({
|
|
1513
1499
|
protocol,
|
|
1514
1500
|
hostname,
|
|
@@ -1528,9 +1514,9 @@ export const se_RegisterTransitGatewayCommand = async (input, context) => {
|
|
|
1528
1514
|
"/global-networks/{GlobalNetworkId}/transit-gateway-registrations";
|
|
1529
1515
|
resolvedPath = __resolvedPath(resolvedPath, input, "GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
|
|
1530
1516
|
let body;
|
|
1531
|
-
body = JSON.stringify({
|
|
1532
|
-
|
|
1533
|
-
});
|
|
1517
|
+
body = JSON.stringify(take(input, {
|
|
1518
|
+
TransitGatewayArn: [],
|
|
1519
|
+
}));
|
|
1534
1520
|
return new __HttpRequest({
|
|
1535
1521
|
protocol,
|
|
1536
1522
|
hostname,
|
|
@@ -1582,9 +1568,9 @@ export const se_StartOrganizationServiceAccessUpdateCommand = async (input, cont
|
|
|
1582
1568
|
};
|
|
1583
1569
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/organizations/service-access";
|
|
1584
1570
|
let body;
|
|
1585
|
-
body = JSON.stringify({
|
|
1586
|
-
|
|
1587
|
-
});
|
|
1571
|
+
body = JSON.stringify(take(input, {
|
|
1572
|
+
Action: [],
|
|
1573
|
+
}));
|
|
1588
1574
|
return new __HttpRequest({
|
|
1589
1575
|
protocol,
|
|
1590
1576
|
hostname,
|
|
@@ -1604,14 +1590,12 @@ export const se_StartRouteAnalysisCommand = async (input, context) => {
|
|
|
1604
1590
|
"/global-networks/{GlobalNetworkId}/route-analyses";
|
|
1605
1591
|
resolvedPath = __resolvedPath(resolvedPath, input, "GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
|
|
1606
1592
|
let body;
|
|
1607
|
-
body = JSON.stringify({
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
...(input.UseMiddleboxes != null && { UseMiddleboxes: input.UseMiddleboxes }),
|
|
1614
|
-
});
|
|
1593
|
+
body = JSON.stringify(take(input, {
|
|
1594
|
+
Destination: (_) => _json(_),
|
|
1595
|
+
IncludeReturnPath: [],
|
|
1596
|
+
Source: (_) => _json(_),
|
|
1597
|
+
UseMiddleboxes: [],
|
|
1598
|
+
}));
|
|
1615
1599
|
return new __HttpRequest({
|
|
1616
1600
|
protocol,
|
|
1617
1601
|
hostname,
|
|
@@ -1630,9 +1614,9 @@ export const se_TagResourceCommand = async (input, context) => {
|
|
|
1630
1614
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
|
|
1631
1615
|
resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
1632
1616
|
let body;
|
|
1633
|
-
body = JSON.stringify({
|
|
1634
|
-
|
|
1635
|
-
});
|
|
1617
|
+
body = JSON.stringify(take(input, {
|
|
1618
|
+
Tags: (_) => _json(_),
|
|
1619
|
+
}));
|
|
1636
1620
|
return new __HttpRequest({
|
|
1637
1621
|
protocol,
|
|
1638
1622
|
hostname,
|
|
@@ -1676,11 +1660,11 @@ export const se_UpdateConnectionCommand = async (input, context) => {
|
|
|
1676
1660
|
resolvedPath = __resolvedPath(resolvedPath, input, "GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
|
|
1677
1661
|
resolvedPath = __resolvedPath(resolvedPath, input, "ConnectionId", () => input.ConnectionId, "{ConnectionId}", false);
|
|
1678
1662
|
let body;
|
|
1679
|
-
body = JSON.stringify({
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
});
|
|
1663
|
+
body = JSON.stringify(take(input, {
|
|
1664
|
+
ConnectedLinkId: [],
|
|
1665
|
+
Description: [],
|
|
1666
|
+
LinkId: [],
|
|
1667
|
+
}));
|
|
1684
1668
|
return new __HttpRequest({
|
|
1685
1669
|
protocol,
|
|
1686
1670
|
hostname,
|
|
@@ -1699,9 +1683,9 @@ export const se_UpdateCoreNetworkCommand = async (input, context) => {
|
|
|
1699
1683
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/core-networks/{CoreNetworkId}";
|
|
1700
1684
|
resolvedPath = __resolvedPath(resolvedPath, input, "CoreNetworkId", () => input.CoreNetworkId, "{CoreNetworkId}", false);
|
|
1701
1685
|
let body;
|
|
1702
|
-
body = JSON.stringify({
|
|
1703
|
-
|
|
1704
|
-
});
|
|
1686
|
+
body = JSON.stringify(take(input, {
|
|
1687
|
+
Description: [],
|
|
1688
|
+
}));
|
|
1705
1689
|
return new __HttpRequest({
|
|
1706
1690
|
protocol,
|
|
1707
1691
|
hostname,
|
|
@@ -1722,16 +1706,16 @@ export const se_UpdateDeviceCommand = async (input, context) => {
|
|
|
1722
1706
|
resolvedPath = __resolvedPath(resolvedPath, input, "GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
|
|
1723
1707
|
resolvedPath = __resolvedPath(resolvedPath, input, "DeviceId", () => input.DeviceId, "{DeviceId}", false);
|
|
1724
1708
|
let body;
|
|
1725
|
-
body = JSON.stringify({
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
});
|
|
1709
|
+
body = JSON.stringify(take(input, {
|
|
1710
|
+
AWSLocation: (_) => _json(_),
|
|
1711
|
+
Description: [],
|
|
1712
|
+
Location: (_) => _json(_),
|
|
1713
|
+
Model: [],
|
|
1714
|
+
SerialNumber: [],
|
|
1715
|
+
SiteId: [],
|
|
1716
|
+
Type: [],
|
|
1717
|
+
Vendor: [],
|
|
1718
|
+
}));
|
|
1735
1719
|
return new __HttpRequest({
|
|
1736
1720
|
protocol,
|
|
1737
1721
|
hostname,
|
|
@@ -1750,9 +1734,9 @@ export const se_UpdateGlobalNetworkCommand = async (input, context) => {
|
|
|
1750
1734
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/global-networks/{GlobalNetworkId}";
|
|
1751
1735
|
resolvedPath = __resolvedPath(resolvedPath, input, "GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
|
|
1752
1736
|
let body;
|
|
1753
|
-
body = JSON.stringify({
|
|
1754
|
-
|
|
1755
|
-
});
|
|
1737
|
+
body = JSON.stringify(take(input, {
|
|
1738
|
+
Description: [],
|
|
1739
|
+
}));
|
|
1756
1740
|
return new __HttpRequest({
|
|
1757
1741
|
protocol,
|
|
1758
1742
|
hostname,
|
|
@@ -1773,12 +1757,12 @@ export const se_UpdateLinkCommand = async (input, context) => {
|
|
|
1773
1757
|
resolvedPath = __resolvedPath(resolvedPath, input, "GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
|
|
1774
1758
|
resolvedPath = __resolvedPath(resolvedPath, input, "LinkId", () => input.LinkId, "{LinkId}", false);
|
|
1775
1759
|
let body;
|
|
1776
|
-
body = JSON.stringify({
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
});
|
|
1760
|
+
body = JSON.stringify(take(input, {
|
|
1761
|
+
Bandwidth: (_) => _json(_),
|
|
1762
|
+
Description: [],
|
|
1763
|
+
Provider: [],
|
|
1764
|
+
Type: [],
|
|
1765
|
+
}));
|
|
1782
1766
|
return new __HttpRequest({
|
|
1783
1767
|
protocol,
|
|
1784
1768
|
hostname,
|
|
@@ -1799,9 +1783,9 @@ export const se_UpdateNetworkResourceMetadataCommand = async (input, context) =>
|
|
|
1799
1783
|
resolvedPath = __resolvedPath(resolvedPath, input, "GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
|
|
1800
1784
|
resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
1801
1785
|
let body;
|
|
1802
|
-
body = JSON.stringify({
|
|
1803
|
-
|
|
1804
|
-
});
|
|
1786
|
+
body = JSON.stringify(take(input, {
|
|
1787
|
+
Metadata: (_) => _json(_),
|
|
1788
|
+
}));
|
|
1805
1789
|
return new __HttpRequest({
|
|
1806
1790
|
protocol,
|
|
1807
1791
|
hostname,
|
|
@@ -1822,10 +1806,10 @@ export const se_UpdateSiteCommand = async (input, context) => {
|
|
|
1822
1806
|
resolvedPath = __resolvedPath(resolvedPath, input, "GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false);
|
|
1823
1807
|
resolvedPath = __resolvedPath(resolvedPath, input, "SiteId", () => input.SiteId, "{SiteId}", false);
|
|
1824
1808
|
let body;
|
|
1825
|
-
body = JSON.stringify({
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
});
|
|
1809
|
+
body = JSON.stringify(take(input, {
|
|
1810
|
+
Description: [],
|
|
1811
|
+
Location: (_) => _json(_),
|
|
1812
|
+
}));
|
|
1829
1813
|
return new __HttpRequest({
|
|
1830
1814
|
protocol,
|
|
1831
1815
|
hostname,
|
|
@@ -1844,11 +1828,11 @@ export const se_UpdateVpcAttachmentCommand = async (input, context) => {
|
|
|
1844
1828
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/vpc-attachments/{AttachmentId}";
|
|
1845
1829
|
resolvedPath = __resolvedPath(resolvedPath, input, "AttachmentId", () => input.AttachmentId, "{AttachmentId}", false);
|
|
1846
1830
|
let body;
|
|
1847
|
-
body = JSON.stringify({
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
});
|
|
1831
|
+
body = JSON.stringify(take(input, {
|
|
1832
|
+
AddSubnetArns: (_) => _json(_),
|
|
1833
|
+
Options: (_) => _json(_),
|
|
1834
|
+
RemoveSubnetArns: (_) => _json(_),
|
|
1835
|
+
}));
|
|
1852
1836
|
return new __HttpRequest({
|
|
1853
1837
|
protocol,
|
|
1854
1838
|
hostname,
|
|
@@ -1867,9 +1851,10 @@ export const de_AcceptAttachmentCommand = async (output, context) => {
|
|
|
1867
1851
|
$metadata: deserializeMetadata(output),
|
|
1868
1852
|
});
|
|
1869
1853
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
}
|
|
1854
|
+
const doc = take(data, {
|
|
1855
|
+
Attachment: (_) => de_Attachment(_, context),
|
|
1856
|
+
});
|
|
1857
|
+
Object.assign(contents, doc);
|
|
1873
1858
|
return contents;
|
|
1874
1859
|
};
|
|
1875
1860
|
const de_AcceptAttachmentCommandError = async (output, context) => {
|
|
@@ -1899,10 +1884,9 @@ const de_AcceptAttachmentCommandError = async (output, context) => {
|
|
|
1899
1884
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1900
1885
|
default:
|
|
1901
1886
|
const parsedBody = parsedOutput.body;
|
|
1902
|
-
throwDefaultError({
|
|
1887
|
+
return throwDefaultError({
|
|
1903
1888
|
output,
|
|
1904
1889
|
parsedBody,
|
|
1905
|
-
exceptionCtor: __BaseException,
|
|
1906
1890
|
errorCode,
|
|
1907
1891
|
});
|
|
1908
1892
|
}
|
|
@@ -1915,9 +1899,10 @@ export const de_AssociateConnectPeerCommand = async (output, context) => {
|
|
|
1915
1899
|
$metadata: deserializeMetadata(output),
|
|
1916
1900
|
});
|
|
1917
1901
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
}
|
|
1902
|
+
const doc = take(data, {
|
|
1903
|
+
ConnectPeerAssociation: _json,
|
|
1904
|
+
});
|
|
1905
|
+
Object.assign(contents, doc);
|
|
1921
1906
|
return contents;
|
|
1922
1907
|
};
|
|
1923
1908
|
const de_AssociateConnectPeerCommandError = async (output, context) => {
|
|
@@ -1950,10 +1935,9 @@ const de_AssociateConnectPeerCommandError = async (output, context) => {
|
|
|
1950
1935
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1951
1936
|
default:
|
|
1952
1937
|
const parsedBody = parsedOutput.body;
|
|
1953
|
-
throwDefaultError({
|
|
1938
|
+
return throwDefaultError({
|
|
1954
1939
|
output,
|
|
1955
1940
|
parsedBody,
|
|
1956
|
-
exceptionCtor: __BaseException,
|
|
1957
1941
|
errorCode,
|
|
1958
1942
|
});
|
|
1959
1943
|
}
|
|
@@ -1966,9 +1950,10 @@ export const de_AssociateCustomerGatewayCommand = async (output, context) => {
|
|
|
1966
1950
|
$metadata: deserializeMetadata(output),
|
|
1967
1951
|
});
|
|
1968
1952
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
}
|
|
1953
|
+
const doc = take(data, {
|
|
1954
|
+
CustomerGatewayAssociation: _json,
|
|
1955
|
+
});
|
|
1956
|
+
Object.assign(contents, doc);
|
|
1972
1957
|
return contents;
|
|
1973
1958
|
};
|
|
1974
1959
|
const de_AssociateCustomerGatewayCommandError = async (output, context) => {
|
|
@@ -2001,10 +1986,9 @@ const de_AssociateCustomerGatewayCommandError = async (output, context) => {
|
|
|
2001
1986
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2002
1987
|
default:
|
|
2003
1988
|
const parsedBody = parsedOutput.body;
|
|
2004
|
-
throwDefaultError({
|
|
1989
|
+
return throwDefaultError({
|
|
2005
1990
|
output,
|
|
2006
1991
|
parsedBody,
|
|
2007
|
-
exceptionCtor: __BaseException,
|
|
2008
1992
|
errorCode,
|
|
2009
1993
|
});
|
|
2010
1994
|
}
|
|
@@ -2017,9 +2001,10 @@ export const de_AssociateLinkCommand = async (output, context) => {
|
|
|
2017
2001
|
$metadata: deserializeMetadata(output),
|
|
2018
2002
|
});
|
|
2019
2003
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
}
|
|
2004
|
+
const doc = take(data, {
|
|
2005
|
+
LinkAssociation: _json,
|
|
2006
|
+
});
|
|
2007
|
+
Object.assign(contents, doc);
|
|
2023
2008
|
return contents;
|
|
2024
2009
|
};
|
|
2025
2010
|
const de_AssociateLinkCommandError = async (output, context) => {
|
|
@@ -2052,10 +2037,9 @@ const de_AssociateLinkCommandError = async (output, context) => {
|
|
|
2052
2037
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2053
2038
|
default:
|
|
2054
2039
|
const parsedBody = parsedOutput.body;
|
|
2055
|
-
throwDefaultError({
|
|
2040
|
+
return throwDefaultError({
|
|
2056
2041
|
output,
|
|
2057
2042
|
parsedBody,
|
|
2058
|
-
exceptionCtor: __BaseException,
|
|
2059
2043
|
errorCode,
|
|
2060
2044
|
});
|
|
2061
2045
|
}
|
|
@@ -2068,9 +2052,10 @@ export const de_AssociateTransitGatewayConnectPeerCommand = async (output, conte
|
|
|
2068
2052
|
$metadata: deserializeMetadata(output),
|
|
2069
2053
|
});
|
|
2070
2054
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
}
|
|
2055
|
+
const doc = take(data, {
|
|
2056
|
+
TransitGatewayConnectPeerAssociation: _json,
|
|
2057
|
+
});
|
|
2058
|
+
Object.assign(contents, doc);
|
|
2074
2059
|
return contents;
|
|
2075
2060
|
};
|
|
2076
2061
|
const de_AssociateTransitGatewayConnectPeerCommandError = async (output, context) => {
|
|
@@ -2103,10 +2088,9 @@ const de_AssociateTransitGatewayConnectPeerCommandError = async (output, context
|
|
|
2103
2088
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2104
2089
|
default:
|
|
2105
2090
|
const parsedBody = parsedOutput.body;
|
|
2106
|
-
throwDefaultError({
|
|
2091
|
+
return throwDefaultError({
|
|
2107
2092
|
output,
|
|
2108
2093
|
parsedBody,
|
|
2109
|
-
exceptionCtor: __BaseException,
|
|
2110
2094
|
errorCode,
|
|
2111
2095
|
});
|
|
2112
2096
|
}
|
|
@@ -2119,9 +2103,10 @@ export const de_CreateConnectAttachmentCommand = async (output, context) => {
|
|
|
2119
2103
|
$metadata: deserializeMetadata(output),
|
|
2120
2104
|
});
|
|
2121
2105
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
}
|
|
2106
|
+
const doc = take(data, {
|
|
2107
|
+
ConnectAttachment: (_) => de_ConnectAttachment(_, context),
|
|
2108
|
+
});
|
|
2109
|
+
Object.assign(contents, doc);
|
|
2125
2110
|
return contents;
|
|
2126
2111
|
};
|
|
2127
2112
|
const de_CreateConnectAttachmentCommandError = async (output, context) => {
|
|
@@ -2151,10 +2136,9 @@ const de_CreateConnectAttachmentCommandError = async (output, context) => {
|
|
|
2151
2136
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2152
2137
|
default:
|
|
2153
2138
|
const parsedBody = parsedOutput.body;
|
|
2154
|
-
throwDefaultError({
|
|
2139
|
+
return throwDefaultError({
|
|
2155
2140
|
output,
|
|
2156
2141
|
parsedBody,
|
|
2157
|
-
exceptionCtor: __BaseException,
|
|
2158
2142
|
errorCode,
|
|
2159
2143
|
});
|
|
2160
2144
|
}
|
|
@@ -2167,9 +2151,10 @@ export const de_CreateConnectionCommand = async (output, context) => {
|
|
|
2167
2151
|
$metadata: deserializeMetadata(output),
|
|
2168
2152
|
});
|
|
2169
2153
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
}
|
|
2154
|
+
const doc = take(data, {
|
|
2155
|
+
Connection: (_) => de_Connection(_, context),
|
|
2156
|
+
});
|
|
2157
|
+
Object.assign(contents, doc);
|
|
2173
2158
|
return contents;
|
|
2174
2159
|
};
|
|
2175
2160
|
const de_CreateConnectionCommandError = async (output, context) => {
|
|
@@ -2199,10 +2184,9 @@ const de_CreateConnectionCommandError = async (output, context) => {
|
|
|
2199
2184
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2200
2185
|
default:
|
|
2201
2186
|
const parsedBody = parsedOutput.body;
|
|
2202
|
-
throwDefaultError({
|
|
2187
|
+
return throwDefaultError({
|
|
2203
2188
|
output,
|
|
2204
2189
|
parsedBody,
|
|
2205
|
-
exceptionCtor: __BaseException,
|
|
2206
2190
|
errorCode,
|
|
2207
2191
|
});
|
|
2208
2192
|
}
|
|
@@ -2215,9 +2199,10 @@ export const de_CreateConnectPeerCommand = async (output, context) => {
|
|
|
2215
2199
|
$metadata: deserializeMetadata(output),
|
|
2216
2200
|
});
|
|
2217
2201
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
}
|
|
2202
|
+
const doc = take(data, {
|
|
2203
|
+
ConnectPeer: (_) => de_ConnectPeer(_, context),
|
|
2204
|
+
});
|
|
2205
|
+
Object.assign(contents, doc);
|
|
2221
2206
|
return contents;
|
|
2222
2207
|
};
|
|
2223
2208
|
const de_CreateConnectPeerCommandError = async (output, context) => {
|
|
@@ -2247,10 +2232,9 @@ const de_CreateConnectPeerCommandError = async (output, context) => {
|
|
|
2247
2232
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2248
2233
|
default:
|
|
2249
2234
|
const parsedBody = parsedOutput.body;
|
|
2250
|
-
throwDefaultError({
|
|
2235
|
+
return throwDefaultError({
|
|
2251
2236
|
output,
|
|
2252
2237
|
parsedBody,
|
|
2253
|
-
exceptionCtor: __BaseException,
|
|
2254
2238
|
errorCode,
|
|
2255
2239
|
});
|
|
2256
2240
|
}
|
|
@@ -2263,9 +2247,10 @@ export const de_CreateCoreNetworkCommand = async (output, context) => {
|
|
|
2263
2247
|
$metadata: deserializeMetadata(output),
|
|
2264
2248
|
});
|
|
2265
2249
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
}
|
|
2250
|
+
const doc = take(data, {
|
|
2251
|
+
CoreNetwork: (_) => de_CoreNetwork(_, context),
|
|
2252
|
+
});
|
|
2253
|
+
Object.assign(contents, doc);
|
|
2269
2254
|
return contents;
|
|
2270
2255
|
};
|
|
2271
2256
|
const de_CreateCoreNetworkCommandError = async (output, context) => {
|
|
@@ -2298,10 +2283,9 @@ const de_CreateCoreNetworkCommandError = async (output, context) => {
|
|
|
2298
2283
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2299
2284
|
default:
|
|
2300
2285
|
const parsedBody = parsedOutput.body;
|
|
2301
|
-
throwDefaultError({
|
|
2286
|
+
return throwDefaultError({
|
|
2302
2287
|
output,
|
|
2303
2288
|
parsedBody,
|
|
2304
|
-
exceptionCtor: __BaseException,
|
|
2305
2289
|
errorCode,
|
|
2306
2290
|
});
|
|
2307
2291
|
}
|
|
@@ -2314,9 +2298,10 @@ export const de_CreateDeviceCommand = async (output, context) => {
|
|
|
2314
2298
|
$metadata: deserializeMetadata(output),
|
|
2315
2299
|
});
|
|
2316
2300
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
}
|
|
2301
|
+
const doc = take(data, {
|
|
2302
|
+
Device: (_) => de_Device(_, context),
|
|
2303
|
+
});
|
|
2304
|
+
Object.assign(contents, doc);
|
|
2320
2305
|
return contents;
|
|
2321
2306
|
};
|
|
2322
2307
|
const de_CreateDeviceCommandError = async (output, context) => {
|
|
@@ -2349,10 +2334,9 @@ const de_CreateDeviceCommandError = async (output, context) => {
|
|
|
2349
2334
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2350
2335
|
default:
|
|
2351
2336
|
const parsedBody = parsedOutput.body;
|
|
2352
|
-
throwDefaultError({
|
|
2337
|
+
return throwDefaultError({
|
|
2353
2338
|
output,
|
|
2354
2339
|
parsedBody,
|
|
2355
|
-
exceptionCtor: __BaseException,
|
|
2356
2340
|
errorCode,
|
|
2357
2341
|
});
|
|
2358
2342
|
}
|
|
@@ -2365,9 +2349,10 @@ export const de_CreateGlobalNetworkCommand = async (output, context) => {
|
|
|
2365
2349
|
$metadata: deserializeMetadata(output),
|
|
2366
2350
|
});
|
|
2367
2351
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
}
|
|
2352
|
+
const doc = take(data, {
|
|
2353
|
+
GlobalNetwork: (_) => de_GlobalNetwork(_, context),
|
|
2354
|
+
});
|
|
2355
|
+
Object.assign(contents, doc);
|
|
2371
2356
|
return contents;
|
|
2372
2357
|
};
|
|
2373
2358
|
const de_CreateGlobalNetworkCommandError = async (output, context) => {
|
|
@@ -2397,10 +2382,9 @@ const de_CreateGlobalNetworkCommandError = async (output, context) => {
|
|
|
2397
2382
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2398
2383
|
default:
|
|
2399
2384
|
const parsedBody = parsedOutput.body;
|
|
2400
|
-
throwDefaultError({
|
|
2385
|
+
return throwDefaultError({
|
|
2401
2386
|
output,
|
|
2402
2387
|
parsedBody,
|
|
2403
|
-
exceptionCtor: __BaseException,
|
|
2404
2388
|
errorCode,
|
|
2405
2389
|
});
|
|
2406
2390
|
}
|
|
@@ -2413,9 +2397,10 @@ export const de_CreateLinkCommand = async (output, context) => {
|
|
|
2413
2397
|
$metadata: deserializeMetadata(output),
|
|
2414
2398
|
});
|
|
2415
2399
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
}
|
|
2400
|
+
const doc = take(data, {
|
|
2401
|
+
Link: (_) => de_Link(_, context),
|
|
2402
|
+
});
|
|
2403
|
+
Object.assign(contents, doc);
|
|
2419
2404
|
return contents;
|
|
2420
2405
|
};
|
|
2421
2406
|
const de_CreateLinkCommandError = async (output, context) => {
|
|
@@ -2448,10 +2433,9 @@ const de_CreateLinkCommandError = async (output, context) => {
|
|
|
2448
2433
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2449
2434
|
default:
|
|
2450
2435
|
const parsedBody = parsedOutput.body;
|
|
2451
|
-
throwDefaultError({
|
|
2436
|
+
return throwDefaultError({
|
|
2452
2437
|
output,
|
|
2453
2438
|
parsedBody,
|
|
2454
|
-
exceptionCtor: __BaseException,
|
|
2455
2439
|
errorCode,
|
|
2456
2440
|
});
|
|
2457
2441
|
}
|
|
@@ -2464,9 +2448,10 @@ export const de_CreateSiteCommand = async (output, context) => {
|
|
|
2464
2448
|
$metadata: deserializeMetadata(output),
|
|
2465
2449
|
});
|
|
2466
2450
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
}
|
|
2451
|
+
const doc = take(data, {
|
|
2452
|
+
Site: (_) => de_Site(_, context),
|
|
2453
|
+
});
|
|
2454
|
+
Object.assign(contents, doc);
|
|
2470
2455
|
return contents;
|
|
2471
2456
|
};
|
|
2472
2457
|
const de_CreateSiteCommandError = async (output, context) => {
|
|
@@ -2499,10 +2484,9 @@ const de_CreateSiteCommandError = async (output, context) => {
|
|
|
2499
2484
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2500
2485
|
default:
|
|
2501
2486
|
const parsedBody = parsedOutput.body;
|
|
2502
|
-
throwDefaultError({
|
|
2487
|
+
return throwDefaultError({
|
|
2503
2488
|
output,
|
|
2504
2489
|
parsedBody,
|
|
2505
|
-
exceptionCtor: __BaseException,
|
|
2506
2490
|
errorCode,
|
|
2507
2491
|
});
|
|
2508
2492
|
}
|
|
@@ -2515,9 +2499,10 @@ export const de_CreateSiteToSiteVpnAttachmentCommand = async (output, context) =
|
|
|
2515
2499
|
$metadata: deserializeMetadata(output),
|
|
2516
2500
|
});
|
|
2517
2501
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
}
|
|
2502
|
+
const doc = take(data, {
|
|
2503
|
+
SiteToSiteVpnAttachment: (_) => de_SiteToSiteVpnAttachment(_, context),
|
|
2504
|
+
});
|
|
2505
|
+
Object.assign(contents, doc);
|
|
2521
2506
|
return contents;
|
|
2522
2507
|
};
|
|
2523
2508
|
const de_CreateSiteToSiteVpnAttachmentCommandError = async (output, context) => {
|
|
@@ -2547,10 +2532,9 @@ const de_CreateSiteToSiteVpnAttachmentCommandError = async (output, context) =>
|
|
|
2547
2532
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2548
2533
|
default:
|
|
2549
2534
|
const parsedBody = parsedOutput.body;
|
|
2550
|
-
throwDefaultError({
|
|
2535
|
+
return throwDefaultError({
|
|
2551
2536
|
output,
|
|
2552
2537
|
parsedBody,
|
|
2553
|
-
exceptionCtor: __BaseException,
|
|
2554
2538
|
errorCode,
|
|
2555
2539
|
});
|
|
2556
2540
|
}
|
|
@@ -2563,9 +2547,10 @@ export const de_CreateTransitGatewayPeeringCommand = async (output, context) =>
|
|
|
2563
2547
|
$metadata: deserializeMetadata(output),
|
|
2564
2548
|
});
|
|
2565
2549
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
}
|
|
2550
|
+
const doc = take(data, {
|
|
2551
|
+
TransitGatewayPeering: (_) => de_TransitGatewayPeering(_, context),
|
|
2552
|
+
});
|
|
2553
|
+
Object.assign(contents, doc);
|
|
2569
2554
|
return contents;
|
|
2570
2555
|
};
|
|
2571
2556
|
const de_CreateTransitGatewayPeeringCommandError = async (output, context) => {
|
|
@@ -2595,10 +2580,9 @@ const de_CreateTransitGatewayPeeringCommandError = async (output, context) => {
|
|
|
2595
2580
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2596
2581
|
default:
|
|
2597
2582
|
const parsedBody = parsedOutput.body;
|
|
2598
|
-
throwDefaultError({
|
|
2583
|
+
return throwDefaultError({
|
|
2599
2584
|
output,
|
|
2600
2585
|
parsedBody,
|
|
2601
|
-
exceptionCtor: __BaseException,
|
|
2602
2586
|
errorCode,
|
|
2603
2587
|
});
|
|
2604
2588
|
}
|
|
@@ -2611,9 +2595,10 @@ export const de_CreateTransitGatewayRouteTableAttachmentCommand = async (output,
|
|
|
2611
2595
|
$metadata: deserializeMetadata(output),
|
|
2612
2596
|
});
|
|
2613
2597
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
}
|
|
2598
|
+
const doc = take(data, {
|
|
2599
|
+
TransitGatewayRouteTableAttachment: (_) => de_TransitGatewayRouteTableAttachment(_, context),
|
|
2600
|
+
});
|
|
2601
|
+
Object.assign(contents, doc);
|
|
2617
2602
|
return contents;
|
|
2618
2603
|
};
|
|
2619
2604
|
const de_CreateTransitGatewayRouteTableAttachmentCommandError = async (output, context) => {
|
|
@@ -2643,10 +2628,9 @@ const de_CreateTransitGatewayRouteTableAttachmentCommandError = async (output, c
|
|
|
2643
2628
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2644
2629
|
default:
|
|
2645
2630
|
const parsedBody = parsedOutput.body;
|
|
2646
|
-
throwDefaultError({
|
|
2631
|
+
return throwDefaultError({
|
|
2647
2632
|
output,
|
|
2648
2633
|
parsedBody,
|
|
2649
|
-
exceptionCtor: __BaseException,
|
|
2650
2634
|
errorCode,
|
|
2651
2635
|
});
|
|
2652
2636
|
}
|
|
@@ -2659,9 +2643,10 @@ export const de_CreateVpcAttachmentCommand = async (output, context) => {
|
|
|
2659
2643
|
$metadata: deserializeMetadata(output),
|
|
2660
2644
|
});
|
|
2661
2645
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
}
|
|
2646
|
+
const doc = take(data, {
|
|
2647
|
+
VpcAttachment: (_) => de_VpcAttachment(_, context),
|
|
2648
|
+
});
|
|
2649
|
+
Object.assign(contents, doc);
|
|
2665
2650
|
return contents;
|
|
2666
2651
|
};
|
|
2667
2652
|
const de_CreateVpcAttachmentCommandError = async (output, context) => {
|
|
@@ -2691,10 +2676,9 @@ const de_CreateVpcAttachmentCommandError = async (output, context) => {
|
|
|
2691
2676
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2692
2677
|
default:
|
|
2693
2678
|
const parsedBody = parsedOutput.body;
|
|
2694
|
-
throwDefaultError({
|
|
2679
|
+
return throwDefaultError({
|
|
2695
2680
|
output,
|
|
2696
2681
|
parsedBody,
|
|
2697
|
-
exceptionCtor: __BaseException,
|
|
2698
2682
|
errorCode,
|
|
2699
2683
|
});
|
|
2700
2684
|
}
|
|
@@ -2707,9 +2691,10 @@ export const de_DeleteAttachmentCommand = async (output, context) => {
|
|
|
2707
2691
|
$metadata: deserializeMetadata(output),
|
|
2708
2692
|
});
|
|
2709
2693
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
}
|
|
2694
|
+
const doc = take(data, {
|
|
2695
|
+
Attachment: (_) => de_Attachment(_, context),
|
|
2696
|
+
});
|
|
2697
|
+
Object.assign(contents, doc);
|
|
2713
2698
|
return contents;
|
|
2714
2699
|
};
|
|
2715
2700
|
const de_DeleteAttachmentCommandError = async (output, context) => {
|
|
@@ -2739,10 +2724,9 @@ const de_DeleteAttachmentCommandError = async (output, context) => {
|
|
|
2739
2724
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2740
2725
|
default:
|
|
2741
2726
|
const parsedBody = parsedOutput.body;
|
|
2742
|
-
throwDefaultError({
|
|
2727
|
+
return throwDefaultError({
|
|
2743
2728
|
output,
|
|
2744
2729
|
parsedBody,
|
|
2745
|
-
exceptionCtor: __BaseException,
|
|
2746
2730
|
errorCode,
|
|
2747
2731
|
});
|
|
2748
2732
|
}
|
|
@@ -2755,9 +2739,10 @@ export const de_DeleteConnectionCommand = async (output, context) => {
|
|
|
2755
2739
|
$metadata: deserializeMetadata(output),
|
|
2756
2740
|
});
|
|
2757
2741
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
}
|
|
2742
|
+
const doc = take(data, {
|
|
2743
|
+
Connection: (_) => de_Connection(_, context),
|
|
2744
|
+
});
|
|
2745
|
+
Object.assign(contents, doc);
|
|
2761
2746
|
return contents;
|
|
2762
2747
|
};
|
|
2763
2748
|
const de_DeleteConnectionCommandError = async (output, context) => {
|
|
@@ -2787,10 +2772,9 @@ const de_DeleteConnectionCommandError = async (output, context) => {
|
|
|
2787
2772
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2788
2773
|
default:
|
|
2789
2774
|
const parsedBody = parsedOutput.body;
|
|
2790
|
-
throwDefaultError({
|
|
2775
|
+
return throwDefaultError({
|
|
2791
2776
|
output,
|
|
2792
2777
|
parsedBody,
|
|
2793
|
-
exceptionCtor: __BaseException,
|
|
2794
2778
|
errorCode,
|
|
2795
2779
|
});
|
|
2796
2780
|
}
|
|
@@ -2803,9 +2787,10 @@ export const de_DeleteConnectPeerCommand = async (output, context) => {
|
|
|
2803
2787
|
$metadata: deserializeMetadata(output),
|
|
2804
2788
|
});
|
|
2805
2789
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
}
|
|
2790
|
+
const doc = take(data, {
|
|
2791
|
+
ConnectPeer: (_) => de_ConnectPeer(_, context),
|
|
2792
|
+
});
|
|
2793
|
+
Object.assign(contents, doc);
|
|
2809
2794
|
return contents;
|
|
2810
2795
|
};
|
|
2811
2796
|
const de_DeleteConnectPeerCommandError = async (output, context) => {
|
|
@@ -2835,10 +2820,9 @@ const de_DeleteConnectPeerCommandError = async (output, context) => {
|
|
|
2835
2820
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2836
2821
|
default:
|
|
2837
2822
|
const parsedBody = parsedOutput.body;
|
|
2838
|
-
throwDefaultError({
|
|
2823
|
+
return throwDefaultError({
|
|
2839
2824
|
output,
|
|
2840
2825
|
parsedBody,
|
|
2841
|
-
exceptionCtor: __BaseException,
|
|
2842
2826
|
errorCode,
|
|
2843
2827
|
});
|
|
2844
2828
|
}
|
|
@@ -2851,9 +2835,10 @@ export const de_DeleteCoreNetworkCommand = async (output, context) => {
|
|
|
2851
2835
|
$metadata: deserializeMetadata(output),
|
|
2852
2836
|
});
|
|
2853
2837
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
}
|
|
2838
|
+
const doc = take(data, {
|
|
2839
|
+
CoreNetwork: (_) => de_CoreNetwork(_, context),
|
|
2840
|
+
});
|
|
2841
|
+
Object.assign(contents, doc);
|
|
2857
2842
|
return contents;
|
|
2858
2843
|
};
|
|
2859
2844
|
const de_DeleteCoreNetworkCommandError = async (output, context) => {
|
|
@@ -2883,10 +2868,9 @@ const de_DeleteCoreNetworkCommandError = async (output, context) => {
|
|
|
2883
2868
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2884
2869
|
default:
|
|
2885
2870
|
const parsedBody = parsedOutput.body;
|
|
2886
|
-
throwDefaultError({
|
|
2871
|
+
return throwDefaultError({
|
|
2887
2872
|
output,
|
|
2888
2873
|
parsedBody,
|
|
2889
|
-
exceptionCtor: __BaseException,
|
|
2890
2874
|
errorCode,
|
|
2891
2875
|
});
|
|
2892
2876
|
}
|
|
@@ -2899,9 +2883,10 @@ export const de_DeleteCoreNetworkPolicyVersionCommand = async (output, context)
|
|
|
2899
2883
|
$metadata: deserializeMetadata(output),
|
|
2900
2884
|
});
|
|
2901
2885
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
}
|
|
2886
|
+
const doc = take(data, {
|
|
2887
|
+
CoreNetworkPolicy: (_) => de_CoreNetworkPolicy(_, context),
|
|
2888
|
+
});
|
|
2889
|
+
Object.assign(contents, doc);
|
|
2905
2890
|
return contents;
|
|
2906
2891
|
};
|
|
2907
2892
|
const de_DeleteCoreNetworkPolicyVersionCommandError = async (output, context) => {
|
|
@@ -2931,10 +2916,9 @@ const de_DeleteCoreNetworkPolicyVersionCommandError = async (output, context) =>
|
|
|
2931
2916
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2932
2917
|
default:
|
|
2933
2918
|
const parsedBody = parsedOutput.body;
|
|
2934
|
-
throwDefaultError({
|
|
2919
|
+
return throwDefaultError({
|
|
2935
2920
|
output,
|
|
2936
2921
|
parsedBody,
|
|
2937
|
-
exceptionCtor: __BaseException,
|
|
2938
2922
|
errorCode,
|
|
2939
2923
|
});
|
|
2940
2924
|
}
|
|
@@ -2947,9 +2931,10 @@ export const de_DeleteDeviceCommand = async (output, context) => {
|
|
|
2947
2931
|
$metadata: deserializeMetadata(output),
|
|
2948
2932
|
});
|
|
2949
2933
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
}
|
|
2934
|
+
const doc = take(data, {
|
|
2935
|
+
Device: (_) => de_Device(_, context),
|
|
2936
|
+
});
|
|
2937
|
+
Object.assign(contents, doc);
|
|
2953
2938
|
return contents;
|
|
2954
2939
|
};
|
|
2955
2940
|
const de_DeleteDeviceCommandError = async (output, context) => {
|
|
@@ -2979,10 +2964,9 @@ const de_DeleteDeviceCommandError = async (output, context) => {
|
|
|
2979
2964
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2980
2965
|
default:
|
|
2981
2966
|
const parsedBody = parsedOutput.body;
|
|
2982
|
-
throwDefaultError({
|
|
2967
|
+
return throwDefaultError({
|
|
2983
2968
|
output,
|
|
2984
2969
|
parsedBody,
|
|
2985
|
-
exceptionCtor: __BaseException,
|
|
2986
2970
|
errorCode,
|
|
2987
2971
|
});
|
|
2988
2972
|
}
|
|
@@ -2995,9 +2979,10 @@ export const de_DeleteGlobalNetworkCommand = async (output, context) => {
|
|
|
2995
2979
|
$metadata: deserializeMetadata(output),
|
|
2996
2980
|
});
|
|
2997
2981
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
}
|
|
2982
|
+
const doc = take(data, {
|
|
2983
|
+
GlobalNetwork: (_) => de_GlobalNetwork(_, context),
|
|
2984
|
+
});
|
|
2985
|
+
Object.assign(contents, doc);
|
|
3001
2986
|
return contents;
|
|
3002
2987
|
};
|
|
3003
2988
|
const de_DeleteGlobalNetworkCommandError = async (output, context) => {
|
|
@@ -3027,10 +3012,9 @@ const de_DeleteGlobalNetworkCommandError = async (output, context) => {
|
|
|
3027
3012
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3028
3013
|
default:
|
|
3029
3014
|
const parsedBody = parsedOutput.body;
|
|
3030
|
-
throwDefaultError({
|
|
3015
|
+
return throwDefaultError({
|
|
3031
3016
|
output,
|
|
3032
3017
|
parsedBody,
|
|
3033
|
-
exceptionCtor: __BaseException,
|
|
3034
3018
|
errorCode,
|
|
3035
3019
|
});
|
|
3036
3020
|
}
|
|
@@ -3043,9 +3027,10 @@ export const de_DeleteLinkCommand = async (output, context) => {
|
|
|
3043
3027
|
$metadata: deserializeMetadata(output),
|
|
3044
3028
|
});
|
|
3045
3029
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
}
|
|
3030
|
+
const doc = take(data, {
|
|
3031
|
+
Link: (_) => de_Link(_, context),
|
|
3032
|
+
});
|
|
3033
|
+
Object.assign(contents, doc);
|
|
3049
3034
|
return contents;
|
|
3050
3035
|
};
|
|
3051
3036
|
const de_DeleteLinkCommandError = async (output, context) => {
|
|
@@ -3075,10 +3060,9 @@ const de_DeleteLinkCommandError = async (output, context) => {
|
|
|
3075
3060
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3076
3061
|
default:
|
|
3077
3062
|
const parsedBody = parsedOutput.body;
|
|
3078
|
-
throwDefaultError({
|
|
3063
|
+
return throwDefaultError({
|
|
3079
3064
|
output,
|
|
3080
3065
|
parsedBody,
|
|
3081
|
-
exceptionCtor: __BaseException,
|
|
3082
3066
|
errorCode,
|
|
3083
3067
|
});
|
|
3084
3068
|
}
|
|
@@ -3091,9 +3075,10 @@ export const de_DeletePeeringCommand = async (output, context) => {
|
|
|
3091
3075
|
$metadata: deserializeMetadata(output),
|
|
3092
3076
|
});
|
|
3093
3077
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
}
|
|
3078
|
+
const doc = take(data, {
|
|
3079
|
+
Peering: (_) => de_Peering(_, context),
|
|
3080
|
+
});
|
|
3081
|
+
Object.assign(contents, doc);
|
|
3097
3082
|
return contents;
|
|
3098
3083
|
};
|
|
3099
3084
|
const de_DeletePeeringCommandError = async (output, context) => {
|
|
@@ -3123,10 +3108,9 @@ const de_DeletePeeringCommandError = async (output, context) => {
|
|
|
3123
3108
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3124
3109
|
default:
|
|
3125
3110
|
const parsedBody = parsedOutput.body;
|
|
3126
|
-
throwDefaultError({
|
|
3111
|
+
return throwDefaultError({
|
|
3127
3112
|
output,
|
|
3128
3113
|
parsedBody,
|
|
3129
|
-
exceptionCtor: __BaseException,
|
|
3130
3114
|
errorCode,
|
|
3131
3115
|
});
|
|
3132
3116
|
}
|
|
@@ -3165,10 +3149,9 @@ const de_DeleteResourcePolicyCommandError = async (output, context) => {
|
|
|
3165
3149
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3166
3150
|
default:
|
|
3167
3151
|
const parsedBody = parsedOutput.body;
|
|
3168
|
-
throwDefaultError({
|
|
3152
|
+
return throwDefaultError({
|
|
3169
3153
|
output,
|
|
3170
3154
|
parsedBody,
|
|
3171
|
-
exceptionCtor: __BaseException,
|
|
3172
3155
|
errorCode,
|
|
3173
3156
|
});
|
|
3174
3157
|
}
|
|
@@ -3181,9 +3164,10 @@ export const de_DeleteSiteCommand = async (output, context) => {
|
|
|
3181
3164
|
$metadata: deserializeMetadata(output),
|
|
3182
3165
|
});
|
|
3183
3166
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
}
|
|
3167
|
+
const doc = take(data, {
|
|
3168
|
+
Site: (_) => de_Site(_, context),
|
|
3169
|
+
});
|
|
3170
|
+
Object.assign(contents, doc);
|
|
3187
3171
|
return contents;
|
|
3188
3172
|
};
|
|
3189
3173
|
const de_DeleteSiteCommandError = async (output, context) => {
|
|
@@ -3213,10 +3197,9 @@ const de_DeleteSiteCommandError = async (output, context) => {
|
|
|
3213
3197
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3214
3198
|
default:
|
|
3215
3199
|
const parsedBody = parsedOutput.body;
|
|
3216
|
-
throwDefaultError({
|
|
3200
|
+
return throwDefaultError({
|
|
3217
3201
|
output,
|
|
3218
3202
|
parsedBody,
|
|
3219
|
-
exceptionCtor: __BaseException,
|
|
3220
3203
|
errorCode,
|
|
3221
3204
|
});
|
|
3222
3205
|
}
|
|
@@ -3229,9 +3212,10 @@ export const de_DeregisterTransitGatewayCommand = async (output, context) => {
|
|
|
3229
3212
|
$metadata: deserializeMetadata(output),
|
|
3230
3213
|
});
|
|
3231
3214
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
}
|
|
3215
|
+
const doc = take(data, {
|
|
3216
|
+
TransitGatewayRegistration: _json,
|
|
3217
|
+
});
|
|
3218
|
+
Object.assign(contents, doc);
|
|
3235
3219
|
return contents;
|
|
3236
3220
|
};
|
|
3237
3221
|
const de_DeregisterTransitGatewayCommandError = async (output, context) => {
|
|
@@ -3261,10 +3245,9 @@ const de_DeregisterTransitGatewayCommandError = async (output, context) => {
|
|
|
3261
3245
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3262
3246
|
default:
|
|
3263
3247
|
const parsedBody = parsedOutput.body;
|
|
3264
|
-
throwDefaultError({
|
|
3248
|
+
return throwDefaultError({
|
|
3265
3249
|
output,
|
|
3266
3250
|
parsedBody,
|
|
3267
|
-
exceptionCtor: __BaseException,
|
|
3268
3251
|
errorCode,
|
|
3269
3252
|
});
|
|
3270
3253
|
}
|
|
@@ -3277,12 +3260,11 @@ export const de_DescribeGlobalNetworksCommand = async (output, context) => {
|
|
|
3277
3260
|
$metadata: deserializeMetadata(output),
|
|
3278
3261
|
});
|
|
3279
3262
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
}
|
|
3263
|
+
const doc = take(data, {
|
|
3264
|
+
GlobalNetworks: (_) => de_GlobalNetworkList(_, context),
|
|
3265
|
+
NextToken: __expectString,
|
|
3266
|
+
});
|
|
3267
|
+
Object.assign(contents, doc);
|
|
3286
3268
|
return contents;
|
|
3287
3269
|
};
|
|
3288
3270
|
const de_DescribeGlobalNetworksCommandError = async (output, context) => {
|
|
@@ -3309,10 +3291,9 @@ const de_DescribeGlobalNetworksCommandError = async (output, context) => {
|
|
|
3309
3291
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3310
3292
|
default:
|
|
3311
3293
|
const parsedBody = parsedOutput.body;
|
|
3312
|
-
throwDefaultError({
|
|
3294
|
+
return throwDefaultError({
|
|
3313
3295
|
output,
|
|
3314
3296
|
parsedBody,
|
|
3315
|
-
exceptionCtor: __BaseException,
|
|
3316
3297
|
errorCode,
|
|
3317
3298
|
});
|
|
3318
3299
|
}
|
|
@@ -3325,9 +3306,10 @@ export const de_DisassociateConnectPeerCommand = async (output, context) => {
|
|
|
3325
3306
|
$metadata: deserializeMetadata(output),
|
|
3326
3307
|
});
|
|
3327
3308
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
}
|
|
3309
|
+
const doc = take(data, {
|
|
3310
|
+
ConnectPeerAssociation: _json,
|
|
3311
|
+
});
|
|
3312
|
+
Object.assign(contents, doc);
|
|
3331
3313
|
return contents;
|
|
3332
3314
|
};
|
|
3333
3315
|
const de_DisassociateConnectPeerCommandError = async (output, context) => {
|
|
@@ -3357,10 +3339,9 @@ const de_DisassociateConnectPeerCommandError = async (output, context) => {
|
|
|
3357
3339
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3358
3340
|
default:
|
|
3359
3341
|
const parsedBody = parsedOutput.body;
|
|
3360
|
-
throwDefaultError({
|
|
3342
|
+
return throwDefaultError({
|
|
3361
3343
|
output,
|
|
3362
3344
|
parsedBody,
|
|
3363
|
-
exceptionCtor: __BaseException,
|
|
3364
3345
|
errorCode,
|
|
3365
3346
|
});
|
|
3366
3347
|
}
|
|
@@ -3373,9 +3354,10 @@ export const de_DisassociateCustomerGatewayCommand = async (output, context) =>
|
|
|
3373
3354
|
$metadata: deserializeMetadata(output),
|
|
3374
3355
|
});
|
|
3375
3356
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
}
|
|
3357
|
+
const doc = take(data, {
|
|
3358
|
+
CustomerGatewayAssociation: _json,
|
|
3359
|
+
});
|
|
3360
|
+
Object.assign(contents, doc);
|
|
3379
3361
|
return contents;
|
|
3380
3362
|
};
|
|
3381
3363
|
const de_DisassociateCustomerGatewayCommandError = async (output, context) => {
|
|
@@ -3405,10 +3387,9 @@ const de_DisassociateCustomerGatewayCommandError = async (output, context) => {
|
|
|
3405
3387
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3406
3388
|
default:
|
|
3407
3389
|
const parsedBody = parsedOutput.body;
|
|
3408
|
-
throwDefaultError({
|
|
3390
|
+
return throwDefaultError({
|
|
3409
3391
|
output,
|
|
3410
3392
|
parsedBody,
|
|
3411
|
-
exceptionCtor: __BaseException,
|
|
3412
3393
|
errorCode,
|
|
3413
3394
|
});
|
|
3414
3395
|
}
|
|
@@ -3421,9 +3402,10 @@ export const de_DisassociateLinkCommand = async (output, context) => {
|
|
|
3421
3402
|
$metadata: deserializeMetadata(output),
|
|
3422
3403
|
});
|
|
3423
3404
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
}
|
|
3405
|
+
const doc = take(data, {
|
|
3406
|
+
LinkAssociation: _json,
|
|
3407
|
+
});
|
|
3408
|
+
Object.assign(contents, doc);
|
|
3427
3409
|
return contents;
|
|
3428
3410
|
};
|
|
3429
3411
|
const de_DisassociateLinkCommandError = async (output, context) => {
|
|
@@ -3453,10 +3435,9 @@ const de_DisassociateLinkCommandError = async (output, context) => {
|
|
|
3453
3435
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3454
3436
|
default:
|
|
3455
3437
|
const parsedBody = parsedOutput.body;
|
|
3456
|
-
throwDefaultError({
|
|
3438
|
+
return throwDefaultError({
|
|
3457
3439
|
output,
|
|
3458
3440
|
parsedBody,
|
|
3459
|
-
exceptionCtor: __BaseException,
|
|
3460
3441
|
errorCode,
|
|
3461
3442
|
});
|
|
3462
3443
|
}
|
|
@@ -3469,9 +3450,10 @@ export const de_DisassociateTransitGatewayConnectPeerCommand = async (output, co
|
|
|
3469
3450
|
$metadata: deserializeMetadata(output),
|
|
3470
3451
|
});
|
|
3471
3452
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
}
|
|
3453
|
+
const doc = take(data, {
|
|
3454
|
+
TransitGatewayConnectPeerAssociation: _json,
|
|
3455
|
+
});
|
|
3456
|
+
Object.assign(contents, doc);
|
|
3475
3457
|
return contents;
|
|
3476
3458
|
};
|
|
3477
3459
|
const de_DisassociateTransitGatewayConnectPeerCommandError = async (output, context) => {
|
|
@@ -3501,10 +3483,9 @@ const de_DisassociateTransitGatewayConnectPeerCommandError = async (output, cont
|
|
|
3501
3483
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3502
3484
|
default:
|
|
3503
3485
|
const parsedBody = parsedOutput.body;
|
|
3504
|
-
throwDefaultError({
|
|
3486
|
+
return throwDefaultError({
|
|
3505
3487
|
output,
|
|
3506
3488
|
parsedBody,
|
|
3507
|
-
exceptionCtor: __BaseException,
|
|
3508
3489
|
errorCode,
|
|
3509
3490
|
});
|
|
3510
3491
|
}
|
|
@@ -3546,10 +3527,9 @@ const de_ExecuteCoreNetworkChangeSetCommandError = async (output, context) => {
|
|
|
3546
3527
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3547
3528
|
default:
|
|
3548
3529
|
const parsedBody = parsedOutput.body;
|
|
3549
|
-
throwDefaultError({
|
|
3530
|
+
return throwDefaultError({
|
|
3550
3531
|
output,
|
|
3551
3532
|
parsedBody,
|
|
3552
|
-
exceptionCtor: __BaseException,
|
|
3553
3533
|
errorCode,
|
|
3554
3534
|
});
|
|
3555
3535
|
}
|
|
@@ -3562,9 +3542,10 @@ export const de_GetConnectAttachmentCommand = async (output, context) => {
|
|
|
3562
3542
|
$metadata: deserializeMetadata(output),
|
|
3563
3543
|
});
|
|
3564
3544
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
}
|
|
3545
|
+
const doc = take(data, {
|
|
3546
|
+
ConnectAttachment: (_) => de_ConnectAttachment(_, context),
|
|
3547
|
+
});
|
|
3548
|
+
Object.assign(contents, doc);
|
|
3568
3549
|
return contents;
|
|
3569
3550
|
};
|
|
3570
3551
|
const de_GetConnectAttachmentCommandError = async (output, context) => {
|
|
@@ -3591,10 +3572,9 @@ const de_GetConnectAttachmentCommandError = async (output, context) => {
|
|
|
3591
3572
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3592
3573
|
default:
|
|
3593
3574
|
const parsedBody = parsedOutput.body;
|
|
3594
|
-
throwDefaultError({
|
|
3575
|
+
return throwDefaultError({
|
|
3595
3576
|
output,
|
|
3596
3577
|
parsedBody,
|
|
3597
|
-
exceptionCtor: __BaseException,
|
|
3598
3578
|
errorCode,
|
|
3599
3579
|
});
|
|
3600
3580
|
}
|
|
@@ -3607,12 +3587,11 @@ export const de_GetConnectionsCommand = async (output, context) => {
|
|
|
3607
3587
|
$metadata: deserializeMetadata(output),
|
|
3608
3588
|
});
|
|
3609
3589
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
}
|
|
3590
|
+
const doc = take(data, {
|
|
3591
|
+
Connections: (_) => de_ConnectionList(_, context),
|
|
3592
|
+
NextToken: __expectString,
|
|
3593
|
+
});
|
|
3594
|
+
Object.assign(contents, doc);
|
|
3616
3595
|
return contents;
|
|
3617
3596
|
};
|
|
3618
3597
|
const de_GetConnectionsCommandError = async (output, context) => {
|
|
@@ -3639,10 +3618,9 @@ const de_GetConnectionsCommandError = async (output, context) => {
|
|
|
3639
3618
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3640
3619
|
default:
|
|
3641
3620
|
const parsedBody = parsedOutput.body;
|
|
3642
|
-
throwDefaultError({
|
|
3621
|
+
return throwDefaultError({
|
|
3643
3622
|
output,
|
|
3644
3623
|
parsedBody,
|
|
3645
|
-
exceptionCtor: __BaseException,
|
|
3646
3624
|
errorCode,
|
|
3647
3625
|
});
|
|
3648
3626
|
}
|
|
@@ -3655,9 +3633,10 @@ export const de_GetConnectPeerCommand = async (output, context) => {
|
|
|
3655
3633
|
$metadata: deserializeMetadata(output),
|
|
3656
3634
|
});
|
|
3657
3635
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
}
|
|
3636
|
+
const doc = take(data, {
|
|
3637
|
+
ConnectPeer: (_) => de_ConnectPeer(_, context),
|
|
3638
|
+
});
|
|
3639
|
+
Object.assign(contents, doc);
|
|
3661
3640
|
return contents;
|
|
3662
3641
|
};
|
|
3663
3642
|
const de_GetConnectPeerCommandError = async (output, context) => {
|
|
@@ -3684,10 +3663,9 @@ const de_GetConnectPeerCommandError = async (output, context) => {
|
|
|
3684
3663
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3685
3664
|
default:
|
|
3686
3665
|
const parsedBody = parsedOutput.body;
|
|
3687
|
-
throwDefaultError({
|
|
3666
|
+
return throwDefaultError({
|
|
3688
3667
|
output,
|
|
3689
3668
|
parsedBody,
|
|
3690
|
-
exceptionCtor: __BaseException,
|
|
3691
3669
|
errorCode,
|
|
3692
3670
|
});
|
|
3693
3671
|
}
|
|
@@ -3700,12 +3678,11 @@ export const de_GetConnectPeerAssociationsCommand = async (output, context) => {
|
|
|
3700
3678
|
$metadata: deserializeMetadata(output),
|
|
3701
3679
|
});
|
|
3702
3680
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
}
|
|
3681
|
+
const doc = take(data, {
|
|
3682
|
+
ConnectPeerAssociations: _json,
|
|
3683
|
+
NextToken: __expectString,
|
|
3684
|
+
});
|
|
3685
|
+
Object.assign(contents, doc);
|
|
3709
3686
|
return contents;
|
|
3710
3687
|
};
|
|
3711
3688
|
const de_GetConnectPeerAssociationsCommandError = async (output, context) => {
|
|
@@ -3735,10 +3712,9 @@ const de_GetConnectPeerAssociationsCommandError = async (output, context) => {
|
|
|
3735
3712
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3736
3713
|
default:
|
|
3737
3714
|
const parsedBody = parsedOutput.body;
|
|
3738
|
-
throwDefaultError({
|
|
3715
|
+
return throwDefaultError({
|
|
3739
3716
|
output,
|
|
3740
3717
|
parsedBody,
|
|
3741
|
-
exceptionCtor: __BaseException,
|
|
3742
3718
|
errorCode,
|
|
3743
3719
|
});
|
|
3744
3720
|
}
|
|
@@ -3751,9 +3727,10 @@ export const de_GetCoreNetworkCommand = async (output, context) => {
|
|
|
3751
3727
|
$metadata: deserializeMetadata(output),
|
|
3752
3728
|
});
|
|
3753
3729
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
}
|
|
3730
|
+
const doc = take(data, {
|
|
3731
|
+
CoreNetwork: (_) => de_CoreNetwork(_, context),
|
|
3732
|
+
});
|
|
3733
|
+
Object.assign(contents, doc);
|
|
3757
3734
|
return contents;
|
|
3758
3735
|
};
|
|
3759
3736
|
const de_GetCoreNetworkCommandError = async (output, context) => {
|
|
@@ -3780,10 +3757,9 @@ const de_GetCoreNetworkCommandError = async (output, context) => {
|
|
|
3780
3757
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3781
3758
|
default:
|
|
3782
3759
|
const parsedBody = parsedOutput.body;
|
|
3783
|
-
throwDefaultError({
|
|
3760
|
+
return throwDefaultError({
|
|
3784
3761
|
output,
|
|
3785
3762
|
parsedBody,
|
|
3786
|
-
exceptionCtor: __BaseException,
|
|
3787
3763
|
errorCode,
|
|
3788
3764
|
});
|
|
3789
3765
|
}
|
|
@@ -3796,12 +3772,11 @@ export const de_GetCoreNetworkChangeEventsCommand = async (output, context) => {
|
|
|
3796
3772
|
$metadata: deserializeMetadata(output),
|
|
3797
3773
|
});
|
|
3798
3774
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
}
|
|
3775
|
+
const doc = take(data, {
|
|
3776
|
+
CoreNetworkChangeEvents: (_) => de_CoreNetworkChangeEventList(_, context),
|
|
3777
|
+
NextToken: __expectString,
|
|
3778
|
+
});
|
|
3779
|
+
Object.assign(contents, doc);
|
|
3805
3780
|
return contents;
|
|
3806
3781
|
};
|
|
3807
3782
|
const de_GetCoreNetworkChangeEventsCommandError = async (output, context) => {
|
|
@@ -3828,10 +3803,9 @@ const de_GetCoreNetworkChangeEventsCommandError = async (output, context) => {
|
|
|
3828
3803
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3829
3804
|
default:
|
|
3830
3805
|
const parsedBody = parsedOutput.body;
|
|
3831
|
-
throwDefaultError({
|
|
3806
|
+
return throwDefaultError({
|
|
3832
3807
|
output,
|
|
3833
3808
|
parsedBody,
|
|
3834
|
-
exceptionCtor: __BaseException,
|
|
3835
3809
|
errorCode,
|
|
3836
3810
|
});
|
|
3837
3811
|
}
|
|
@@ -3844,12 +3818,11 @@ export const de_GetCoreNetworkChangeSetCommand = async (output, context) => {
|
|
|
3844
3818
|
$metadata: deserializeMetadata(output),
|
|
3845
3819
|
});
|
|
3846
3820
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
}
|
|
3821
|
+
const doc = take(data, {
|
|
3822
|
+
CoreNetworkChanges: _json,
|
|
3823
|
+
NextToken: __expectString,
|
|
3824
|
+
});
|
|
3825
|
+
Object.assign(contents, doc);
|
|
3853
3826
|
return contents;
|
|
3854
3827
|
};
|
|
3855
3828
|
const de_GetCoreNetworkChangeSetCommandError = async (output, context) => {
|
|
@@ -3876,10 +3849,9 @@ const de_GetCoreNetworkChangeSetCommandError = async (output, context) => {
|
|
|
3876
3849
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3877
3850
|
default:
|
|
3878
3851
|
const parsedBody = parsedOutput.body;
|
|
3879
|
-
throwDefaultError({
|
|
3852
|
+
return throwDefaultError({
|
|
3880
3853
|
output,
|
|
3881
3854
|
parsedBody,
|
|
3882
|
-
exceptionCtor: __BaseException,
|
|
3883
3855
|
errorCode,
|
|
3884
3856
|
});
|
|
3885
3857
|
}
|
|
@@ -3892,9 +3864,10 @@ export const de_GetCoreNetworkPolicyCommand = async (output, context) => {
|
|
|
3892
3864
|
$metadata: deserializeMetadata(output),
|
|
3893
3865
|
});
|
|
3894
3866
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
}
|
|
3867
|
+
const doc = take(data, {
|
|
3868
|
+
CoreNetworkPolicy: (_) => de_CoreNetworkPolicy(_, context),
|
|
3869
|
+
});
|
|
3870
|
+
Object.assign(contents, doc);
|
|
3898
3871
|
return contents;
|
|
3899
3872
|
};
|
|
3900
3873
|
const de_GetCoreNetworkPolicyCommandError = async (output, context) => {
|
|
@@ -3921,10 +3894,9 @@ const de_GetCoreNetworkPolicyCommandError = async (output, context) => {
|
|
|
3921
3894
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3922
3895
|
default:
|
|
3923
3896
|
const parsedBody = parsedOutput.body;
|
|
3924
|
-
throwDefaultError({
|
|
3897
|
+
return throwDefaultError({
|
|
3925
3898
|
output,
|
|
3926
3899
|
parsedBody,
|
|
3927
|
-
exceptionCtor: __BaseException,
|
|
3928
3900
|
errorCode,
|
|
3929
3901
|
});
|
|
3930
3902
|
}
|
|
@@ -3937,12 +3909,11 @@ export const de_GetCustomerGatewayAssociationsCommand = async (output, context)
|
|
|
3937
3909
|
$metadata: deserializeMetadata(output),
|
|
3938
3910
|
});
|
|
3939
3911
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
}
|
|
3912
|
+
const doc = take(data, {
|
|
3913
|
+
CustomerGatewayAssociations: _json,
|
|
3914
|
+
NextToken: __expectString,
|
|
3915
|
+
});
|
|
3916
|
+
Object.assign(contents, doc);
|
|
3946
3917
|
return contents;
|
|
3947
3918
|
};
|
|
3948
3919
|
const de_GetCustomerGatewayAssociationsCommandError = async (output, context) => {
|
|
@@ -3972,10 +3943,9 @@ const de_GetCustomerGatewayAssociationsCommandError = async (output, context) =>
|
|
|
3972
3943
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3973
3944
|
default:
|
|
3974
3945
|
const parsedBody = parsedOutput.body;
|
|
3975
|
-
throwDefaultError({
|
|
3946
|
+
return throwDefaultError({
|
|
3976
3947
|
output,
|
|
3977
3948
|
parsedBody,
|
|
3978
|
-
exceptionCtor: __BaseException,
|
|
3979
3949
|
errorCode,
|
|
3980
3950
|
});
|
|
3981
3951
|
}
|
|
@@ -3988,12 +3958,11 @@ export const de_GetDevicesCommand = async (output, context) => {
|
|
|
3988
3958
|
$metadata: deserializeMetadata(output),
|
|
3989
3959
|
});
|
|
3990
3960
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
}
|
|
3961
|
+
const doc = take(data, {
|
|
3962
|
+
Devices: (_) => de_DeviceList(_, context),
|
|
3963
|
+
NextToken: __expectString,
|
|
3964
|
+
});
|
|
3965
|
+
Object.assign(contents, doc);
|
|
3997
3966
|
return contents;
|
|
3998
3967
|
};
|
|
3999
3968
|
const de_GetDevicesCommandError = async (output, context) => {
|
|
@@ -4020,10 +3989,9 @@ const de_GetDevicesCommandError = async (output, context) => {
|
|
|
4020
3989
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4021
3990
|
default:
|
|
4022
3991
|
const parsedBody = parsedOutput.body;
|
|
4023
|
-
throwDefaultError({
|
|
3992
|
+
return throwDefaultError({
|
|
4024
3993
|
output,
|
|
4025
3994
|
parsedBody,
|
|
4026
|
-
exceptionCtor: __BaseException,
|
|
4027
3995
|
errorCode,
|
|
4028
3996
|
});
|
|
4029
3997
|
}
|
|
@@ -4036,12 +4004,11 @@ export const de_GetLinkAssociationsCommand = async (output, context) => {
|
|
|
4036
4004
|
$metadata: deserializeMetadata(output),
|
|
4037
4005
|
});
|
|
4038
4006
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
}
|
|
4007
|
+
const doc = take(data, {
|
|
4008
|
+
LinkAssociations: _json,
|
|
4009
|
+
NextToken: __expectString,
|
|
4010
|
+
});
|
|
4011
|
+
Object.assign(contents, doc);
|
|
4045
4012
|
return contents;
|
|
4046
4013
|
};
|
|
4047
4014
|
const de_GetLinkAssociationsCommandError = async (output, context) => {
|
|
@@ -4068,10 +4035,9 @@ const de_GetLinkAssociationsCommandError = async (output, context) => {
|
|
|
4068
4035
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4069
4036
|
default:
|
|
4070
4037
|
const parsedBody = parsedOutput.body;
|
|
4071
|
-
throwDefaultError({
|
|
4038
|
+
return throwDefaultError({
|
|
4072
4039
|
output,
|
|
4073
4040
|
parsedBody,
|
|
4074
|
-
exceptionCtor: __BaseException,
|
|
4075
4041
|
errorCode,
|
|
4076
4042
|
});
|
|
4077
4043
|
}
|
|
@@ -4084,12 +4050,11 @@ export const de_GetLinksCommand = async (output, context) => {
|
|
|
4084
4050
|
$metadata: deserializeMetadata(output),
|
|
4085
4051
|
});
|
|
4086
4052
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
}
|
|
4053
|
+
const doc = take(data, {
|
|
4054
|
+
Links: (_) => de_LinkList(_, context),
|
|
4055
|
+
NextToken: __expectString,
|
|
4056
|
+
});
|
|
4057
|
+
Object.assign(contents, doc);
|
|
4093
4058
|
return contents;
|
|
4094
4059
|
};
|
|
4095
4060
|
const de_GetLinksCommandError = async (output, context) => {
|
|
@@ -4116,10 +4081,9 @@ const de_GetLinksCommandError = async (output, context) => {
|
|
|
4116
4081
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4117
4082
|
default:
|
|
4118
4083
|
const parsedBody = parsedOutput.body;
|
|
4119
|
-
throwDefaultError({
|
|
4084
|
+
return throwDefaultError({
|
|
4120
4085
|
output,
|
|
4121
4086
|
parsedBody,
|
|
4122
|
-
exceptionCtor: __BaseException,
|
|
4123
4087
|
errorCode,
|
|
4124
4088
|
});
|
|
4125
4089
|
}
|
|
@@ -4132,12 +4096,11 @@ export const de_GetNetworkResourceCountsCommand = async (output, context) => {
|
|
|
4132
4096
|
$metadata: deserializeMetadata(output),
|
|
4133
4097
|
});
|
|
4134
4098
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
}
|
|
4099
|
+
const doc = take(data, {
|
|
4100
|
+
NetworkResourceCounts: _json,
|
|
4101
|
+
NextToken: __expectString,
|
|
4102
|
+
});
|
|
4103
|
+
Object.assign(contents, doc);
|
|
4141
4104
|
return contents;
|
|
4142
4105
|
};
|
|
4143
4106
|
const de_GetNetworkResourceCountsCommandError = async (output, context) => {
|
|
@@ -4161,10 +4124,9 @@ const de_GetNetworkResourceCountsCommandError = async (output, context) => {
|
|
|
4161
4124
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4162
4125
|
default:
|
|
4163
4126
|
const parsedBody = parsedOutput.body;
|
|
4164
|
-
throwDefaultError({
|
|
4127
|
+
return throwDefaultError({
|
|
4165
4128
|
output,
|
|
4166
4129
|
parsedBody,
|
|
4167
|
-
exceptionCtor: __BaseException,
|
|
4168
4130
|
errorCode,
|
|
4169
4131
|
});
|
|
4170
4132
|
}
|
|
@@ -4177,12 +4139,11 @@ export const de_GetNetworkResourceRelationshipsCommand = async (output, context)
|
|
|
4177
4139
|
$metadata: deserializeMetadata(output),
|
|
4178
4140
|
});
|
|
4179
4141
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
}
|
|
4142
|
+
const doc = take(data, {
|
|
4143
|
+
NextToken: __expectString,
|
|
4144
|
+
Relationships: _json,
|
|
4145
|
+
});
|
|
4146
|
+
Object.assign(contents, doc);
|
|
4186
4147
|
return contents;
|
|
4187
4148
|
};
|
|
4188
4149
|
const de_GetNetworkResourceRelationshipsCommandError = async (output, context) => {
|
|
@@ -4209,10 +4170,9 @@ const de_GetNetworkResourceRelationshipsCommandError = async (output, context) =
|
|
|
4209
4170
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4210
4171
|
default:
|
|
4211
4172
|
const parsedBody = parsedOutput.body;
|
|
4212
|
-
throwDefaultError({
|
|
4173
|
+
return throwDefaultError({
|
|
4213
4174
|
output,
|
|
4214
4175
|
parsedBody,
|
|
4215
|
-
exceptionCtor: __BaseException,
|
|
4216
4176
|
errorCode,
|
|
4217
4177
|
});
|
|
4218
4178
|
}
|
|
@@ -4225,12 +4185,11 @@ export const de_GetNetworkResourcesCommand = async (output, context) => {
|
|
|
4225
4185
|
$metadata: deserializeMetadata(output),
|
|
4226
4186
|
});
|
|
4227
4187
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
}
|
|
4188
|
+
const doc = take(data, {
|
|
4189
|
+
NetworkResources: (_) => de_NetworkResourceList(_, context),
|
|
4190
|
+
NextToken: __expectString,
|
|
4191
|
+
});
|
|
4192
|
+
Object.assign(contents, doc);
|
|
4234
4193
|
return contents;
|
|
4235
4194
|
};
|
|
4236
4195
|
const de_GetNetworkResourcesCommandError = async (output, context) => {
|
|
@@ -4257,10 +4216,9 @@ const de_GetNetworkResourcesCommandError = async (output, context) => {
|
|
|
4257
4216
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4258
4217
|
default:
|
|
4259
4218
|
const parsedBody = parsedOutput.body;
|
|
4260
|
-
throwDefaultError({
|
|
4219
|
+
return throwDefaultError({
|
|
4261
4220
|
output,
|
|
4262
4221
|
parsedBody,
|
|
4263
|
-
exceptionCtor: __BaseException,
|
|
4264
4222
|
errorCode,
|
|
4265
4223
|
});
|
|
4266
4224
|
}
|
|
@@ -4273,21 +4231,14 @@ export const de_GetNetworkRoutesCommand = async (output, context) => {
|
|
|
4273
4231
|
$metadata: deserializeMetadata(output),
|
|
4274
4232
|
});
|
|
4275
4233
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
}
|
|
4285
|
-
if (data.RouteTableTimestamp != null) {
|
|
4286
|
-
contents.RouteTableTimestamp = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.RouteTableTimestamp)));
|
|
4287
|
-
}
|
|
4288
|
-
if (data.RouteTableType != null) {
|
|
4289
|
-
contents.RouteTableType = __expectString(data.RouteTableType);
|
|
4290
|
-
}
|
|
4234
|
+
const doc = take(data, {
|
|
4235
|
+
CoreNetworkSegmentEdge: _json,
|
|
4236
|
+
NetworkRoutes: _json,
|
|
4237
|
+
RouteTableArn: __expectString,
|
|
4238
|
+
RouteTableTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4239
|
+
RouteTableType: __expectString,
|
|
4240
|
+
});
|
|
4241
|
+
Object.assign(contents, doc);
|
|
4291
4242
|
return contents;
|
|
4292
4243
|
};
|
|
4293
4244
|
const de_GetNetworkRoutesCommandError = async (output, context) => {
|
|
@@ -4314,10 +4265,9 @@ const de_GetNetworkRoutesCommandError = async (output, context) => {
|
|
|
4314
4265
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4315
4266
|
default:
|
|
4316
4267
|
const parsedBody = parsedOutput.body;
|
|
4317
|
-
throwDefaultError({
|
|
4268
|
+
return throwDefaultError({
|
|
4318
4269
|
output,
|
|
4319
4270
|
parsedBody,
|
|
4320
|
-
exceptionCtor: __BaseException,
|
|
4321
4271
|
errorCode,
|
|
4322
4272
|
});
|
|
4323
4273
|
}
|
|
@@ -4330,12 +4280,11 @@ export const de_GetNetworkTelemetryCommand = async (output, context) => {
|
|
|
4330
4280
|
$metadata: deserializeMetadata(output),
|
|
4331
4281
|
});
|
|
4332
4282
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
}
|
|
4283
|
+
const doc = take(data, {
|
|
4284
|
+
NetworkTelemetry: (_) => de_NetworkTelemetryList(_, context),
|
|
4285
|
+
NextToken: __expectString,
|
|
4286
|
+
});
|
|
4287
|
+
Object.assign(contents, doc);
|
|
4339
4288
|
return contents;
|
|
4340
4289
|
};
|
|
4341
4290
|
const de_GetNetworkTelemetryCommandError = async (output, context) => {
|
|
@@ -4362,10 +4311,9 @@ const de_GetNetworkTelemetryCommandError = async (output, context) => {
|
|
|
4362
4311
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4363
4312
|
default:
|
|
4364
4313
|
const parsedBody = parsedOutput.body;
|
|
4365
|
-
throwDefaultError({
|
|
4314
|
+
return throwDefaultError({
|
|
4366
4315
|
output,
|
|
4367
4316
|
parsedBody,
|
|
4368
|
-
exceptionCtor: __BaseException,
|
|
4369
4317
|
errorCode,
|
|
4370
4318
|
});
|
|
4371
4319
|
}
|
|
@@ -4378,9 +4326,10 @@ export const de_GetResourcePolicyCommand = async (output, context) => {
|
|
|
4378
4326
|
$metadata: deserializeMetadata(output),
|
|
4379
4327
|
});
|
|
4380
4328
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
}
|
|
4329
|
+
const doc = take(data, {
|
|
4330
|
+
PolicyDocument: (_) => new __LazyJsonString(_),
|
|
4331
|
+
});
|
|
4332
|
+
Object.assign(contents, doc);
|
|
4384
4333
|
return contents;
|
|
4385
4334
|
};
|
|
4386
4335
|
const de_GetResourcePolicyCommandError = async (output, context) => {
|
|
@@ -4404,10 +4353,9 @@ const de_GetResourcePolicyCommandError = async (output, context) => {
|
|
|
4404
4353
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4405
4354
|
default:
|
|
4406
4355
|
const parsedBody = parsedOutput.body;
|
|
4407
|
-
throwDefaultError({
|
|
4356
|
+
return throwDefaultError({
|
|
4408
4357
|
output,
|
|
4409
4358
|
parsedBody,
|
|
4410
|
-
exceptionCtor: __BaseException,
|
|
4411
4359
|
errorCode,
|
|
4412
4360
|
});
|
|
4413
4361
|
}
|
|
@@ -4420,9 +4368,10 @@ export const de_GetRouteAnalysisCommand = async (output, context) => {
|
|
|
4420
4368
|
$metadata: deserializeMetadata(output),
|
|
4421
4369
|
});
|
|
4422
4370
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
}
|
|
4371
|
+
const doc = take(data, {
|
|
4372
|
+
RouteAnalysis: (_) => de_RouteAnalysis(_, context),
|
|
4373
|
+
});
|
|
4374
|
+
Object.assign(contents, doc);
|
|
4426
4375
|
return contents;
|
|
4427
4376
|
};
|
|
4428
4377
|
const de_GetRouteAnalysisCommandError = async (output, context) => {
|
|
@@ -4449,10 +4398,9 @@ const de_GetRouteAnalysisCommandError = async (output, context) => {
|
|
|
4449
4398
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4450
4399
|
default:
|
|
4451
4400
|
const parsedBody = parsedOutput.body;
|
|
4452
|
-
throwDefaultError({
|
|
4401
|
+
return throwDefaultError({
|
|
4453
4402
|
output,
|
|
4454
4403
|
parsedBody,
|
|
4455
|
-
exceptionCtor: __BaseException,
|
|
4456
4404
|
errorCode,
|
|
4457
4405
|
});
|
|
4458
4406
|
}
|
|
@@ -4465,12 +4413,11 @@ export const de_GetSitesCommand = async (output, context) => {
|
|
|
4465
4413
|
$metadata: deserializeMetadata(output),
|
|
4466
4414
|
});
|
|
4467
4415
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
}
|
|
4416
|
+
const doc = take(data, {
|
|
4417
|
+
NextToken: __expectString,
|
|
4418
|
+
Sites: (_) => de_SiteList(_, context),
|
|
4419
|
+
});
|
|
4420
|
+
Object.assign(contents, doc);
|
|
4474
4421
|
return contents;
|
|
4475
4422
|
};
|
|
4476
4423
|
const de_GetSitesCommandError = async (output, context) => {
|
|
@@ -4497,10 +4444,9 @@ const de_GetSitesCommandError = async (output, context) => {
|
|
|
4497
4444
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4498
4445
|
default:
|
|
4499
4446
|
const parsedBody = parsedOutput.body;
|
|
4500
|
-
throwDefaultError({
|
|
4447
|
+
return throwDefaultError({
|
|
4501
4448
|
output,
|
|
4502
4449
|
parsedBody,
|
|
4503
|
-
exceptionCtor: __BaseException,
|
|
4504
4450
|
errorCode,
|
|
4505
4451
|
});
|
|
4506
4452
|
}
|
|
@@ -4513,9 +4459,10 @@ export const de_GetSiteToSiteVpnAttachmentCommand = async (output, context) => {
|
|
|
4513
4459
|
$metadata: deserializeMetadata(output),
|
|
4514
4460
|
});
|
|
4515
4461
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
}
|
|
4462
|
+
const doc = take(data, {
|
|
4463
|
+
SiteToSiteVpnAttachment: (_) => de_SiteToSiteVpnAttachment(_, context),
|
|
4464
|
+
});
|
|
4465
|
+
Object.assign(contents, doc);
|
|
4519
4466
|
return contents;
|
|
4520
4467
|
};
|
|
4521
4468
|
const de_GetSiteToSiteVpnAttachmentCommandError = async (output, context) => {
|
|
@@ -4542,10 +4489,9 @@ const de_GetSiteToSiteVpnAttachmentCommandError = async (output, context) => {
|
|
|
4542
4489
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4543
4490
|
default:
|
|
4544
4491
|
const parsedBody = parsedOutput.body;
|
|
4545
|
-
throwDefaultError({
|
|
4492
|
+
return throwDefaultError({
|
|
4546
4493
|
output,
|
|
4547
4494
|
parsedBody,
|
|
4548
|
-
exceptionCtor: __BaseException,
|
|
4549
4495
|
errorCode,
|
|
4550
4496
|
});
|
|
4551
4497
|
}
|
|
@@ -4558,12 +4504,11 @@ export const de_GetTransitGatewayConnectPeerAssociationsCommand = async (output,
|
|
|
4558
4504
|
$metadata: deserializeMetadata(output),
|
|
4559
4505
|
});
|
|
4560
4506
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
}
|
|
4507
|
+
const doc = take(data, {
|
|
4508
|
+
NextToken: __expectString,
|
|
4509
|
+
TransitGatewayConnectPeerAssociations: _json,
|
|
4510
|
+
});
|
|
4511
|
+
Object.assign(contents, doc);
|
|
4567
4512
|
return contents;
|
|
4568
4513
|
};
|
|
4569
4514
|
const de_GetTransitGatewayConnectPeerAssociationsCommandError = async (output, context) => {
|
|
@@ -4593,10 +4538,9 @@ const de_GetTransitGatewayConnectPeerAssociationsCommandError = async (output, c
|
|
|
4593
4538
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4594
4539
|
default:
|
|
4595
4540
|
const parsedBody = parsedOutput.body;
|
|
4596
|
-
throwDefaultError({
|
|
4541
|
+
return throwDefaultError({
|
|
4597
4542
|
output,
|
|
4598
4543
|
parsedBody,
|
|
4599
|
-
exceptionCtor: __BaseException,
|
|
4600
4544
|
errorCode,
|
|
4601
4545
|
});
|
|
4602
4546
|
}
|
|
@@ -4609,9 +4553,10 @@ export const de_GetTransitGatewayPeeringCommand = async (output, context) => {
|
|
|
4609
4553
|
$metadata: deserializeMetadata(output),
|
|
4610
4554
|
});
|
|
4611
4555
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
}
|
|
4556
|
+
const doc = take(data, {
|
|
4557
|
+
TransitGatewayPeering: (_) => de_TransitGatewayPeering(_, context),
|
|
4558
|
+
});
|
|
4559
|
+
Object.assign(contents, doc);
|
|
4615
4560
|
return contents;
|
|
4616
4561
|
};
|
|
4617
4562
|
const de_GetTransitGatewayPeeringCommandError = async (output, context) => {
|
|
@@ -4638,10 +4583,9 @@ const de_GetTransitGatewayPeeringCommandError = async (output, context) => {
|
|
|
4638
4583
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4639
4584
|
default:
|
|
4640
4585
|
const parsedBody = parsedOutput.body;
|
|
4641
|
-
throwDefaultError({
|
|
4586
|
+
return throwDefaultError({
|
|
4642
4587
|
output,
|
|
4643
4588
|
parsedBody,
|
|
4644
|
-
exceptionCtor: __BaseException,
|
|
4645
4589
|
errorCode,
|
|
4646
4590
|
});
|
|
4647
4591
|
}
|
|
@@ -4654,12 +4598,11 @@ export const de_GetTransitGatewayRegistrationsCommand = async (output, context)
|
|
|
4654
4598
|
$metadata: deserializeMetadata(output),
|
|
4655
4599
|
});
|
|
4656
4600
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
}
|
|
4601
|
+
const doc = take(data, {
|
|
4602
|
+
NextToken: __expectString,
|
|
4603
|
+
TransitGatewayRegistrations: _json,
|
|
4604
|
+
});
|
|
4605
|
+
Object.assign(contents, doc);
|
|
4663
4606
|
return contents;
|
|
4664
4607
|
};
|
|
4665
4608
|
const de_GetTransitGatewayRegistrationsCommandError = async (output, context) => {
|
|
@@ -4686,10 +4629,9 @@ const de_GetTransitGatewayRegistrationsCommandError = async (output, context) =>
|
|
|
4686
4629
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4687
4630
|
default:
|
|
4688
4631
|
const parsedBody = parsedOutput.body;
|
|
4689
|
-
throwDefaultError({
|
|
4632
|
+
return throwDefaultError({
|
|
4690
4633
|
output,
|
|
4691
4634
|
parsedBody,
|
|
4692
|
-
exceptionCtor: __BaseException,
|
|
4693
4635
|
errorCode,
|
|
4694
4636
|
});
|
|
4695
4637
|
}
|
|
@@ -4702,9 +4644,10 @@ export const de_GetTransitGatewayRouteTableAttachmentCommand = async (output, co
|
|
|
4702
4644
|
$metadata: deserializeMetadata(output),
|
|
4703
4645
|
});
|
|
4704
4646
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
}
|
|
4647
|
+
const doc = take(data, {
|
|
4648
|
+
TransitGatewayRouteTableAttachment: (_) => de_TransitGatewayRouteTableAttachment(_, context),
|
|
4649
|
+
});
|
|
4650
|
+
Object.assign(contents, doc);
|
|
4708
4651
|
return contents;
|
|
4709
4652
|
};
|
|
4710
4653
|
const de_GetTransitGatewayRouteTableAttachmentCommandError = async (output, context) => {
|
|
@@ -4731,10 +4674,9 @@ const de_GetTransitGatewayRouteTableAttachmentCommandError = async (output, cont
|
|
|
4731
4674
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4732
4675
|
default:
|
|
4733
4676
|
const parsedBody = parsedOutput.body;
|
|
4734
|
-
throwDefaultError({
|
|
4677
|
+
return throwDefaultError({
|
|
4735
4678
|
output,
|
|
4736
4679
|
parsedBody,
|
|
4737
|
-
exceptionCtor: __BaseException,
|
|
4738
4680
|
errorCode,
|
|
4739
4681
|
});
|
|
4740
4682
|
}
|
|
@@ -4747,9 +4689,10 @@ export const de_GetVpcAttachmentCommand = async (output, context) => {
|
|
|
4747
4689
|
$metadata: deserializeMetadata(output),
|
|
4748
4690
|
});
|
|
4749
4691
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
}
|
|
4692
|
+
const doc = take(data, {
|
|
4693
|
+
VpcAttachment: (_) => de_VpcAttachment(_, context),
|
|
4694
|
+
});
|
|
4695
|
+
Object.assign(contents, doc);
|
|
4753
4696
|
return contents;
|
|
4754
4697
|
};
|
|
4755
4698
|
const de_GetVpcAttachmentCommandError = async (output, context) => {
|
|
@@ -4776,10 +4719,9 @@ const de_GetVpcAttachmentCommandError = async (output, context) => {
|
|
|
4776
4719
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4777
4720
|
default:
|
|
4778
4721
|
const parsedBody = parsedOutput.body;
|
|
4779
|
-
throwDefaultError({
|
|
4722
|
+
return throwDefaultError({
|
|
4780
4723
|
output,
|
|
4781
4724
|
parsedBody,
|
|
4782
|
-
exceptionCtor: __BaseException,
|
|
4783
4725
|
errorCode,
|
|
4784
4726
|
});
|
|
4785
4727
|
}
|
|
@@ -4792,12 +4734,11 @@ export const de_ListAttachmentsCommand = async (output, context) => {
|
|
|
4792
4734
|
$metadata: deserializeMetadata(output),
|
|
4793
4735
|
});
|
|
4794
4736
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
}
|
|
4737
|
+
const doc = take(data, {
|
|
4738
|
+
Attachments: (_) => de_AttachmentList(_, context),
|
|
4739
|
+
NextToken: __expectString,
|
|
4740
|
+
});
|
|
4741
|
+
Object.assign(contents, doc);
|
|
4801
4742
|
return contents;
|
|
4802
4743
|
};
|
|
4803
4744
|
const de_ListAttachmentsCommandError = async (output, context) => {
|
|
@@ -4821,10 +4762,9 @@ const de_ListAttachmentsCommandError = async (output, context) => {
|
|
|
4821
4762
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4822
4763
|
default:
|
|
4823
4764
|
const parsedBody = parsedOutput.body;
|
|
4824
|
-
throwDefaultError({
|
|
4765
|
+
return throwDefaultError({
|
|
4825
4766
|
output,
|
|
4826
4767
|
parsedBody,
|
|
4827
|
-
exceptionCtor: __BaseException,
|
|
4828
4768
|
errorCode,
|
|
4829
4769
|
});
|
|
4830
4770
|
}
|
|
@@ -4837,12 +4777,11 @@ export const de_ListConnectPeersCommand = async (output, context) => {
|
|
|
4837
4777
|
$metadata: deserializeMetadata(output),
|
|
4838
4778
|
});
|
|
4839
4779
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
}
|
|
4780
|
+
const doc = take(data, {
|
|
4781
|
+
ConnectPeers: (_) => de_ConnectPeerSummaryList(_, context),
|
|
4782
|
+
NextToken: __expectString,
|
|
4783
|
+
});
|
|
4784
|
+
Object.assign(contents, doc);
|
|
4846
4785
|
return contents;
|
|
4847
4786
|
};
|
|
4848
4787
|
const de_ListConnectPeersCommandError = async (output, context) => {
|
|
@@ -4866,10 +4805,9 @@ const de_ListConnectPeersCommandError = async (output, context) => {
|
|
|
4866
4805
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4867
4806
|
default:
|
|
4868
4807
|
const parsedBody = parsedOutput.body;
|
|
4869
|
-
throwDefaultError({
|
|
4808
|
+
return throwDefaultError({
|
|
4870
4809
|
output,
|
|
4871
4810
|
parsedBody,
|
|
4872
|
-
exceptionCtor: __BaseException,
|
|
4873
4811
|
errorCode,
|
|
4874
4812
|
});
|
|
4875
4813
|
}
|
|
@@ -4882,12 +4820,11 @@ export const de_ListCoreNetworkPolicyVersionsCommand = async (output, context) =
|
|
|
4882
4820
|
$metadata: deserializeMetadata(output),
|
|
4883
4821
|
});
|
|
4884
4822
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
}
|
|
4823
|
+
const doc = take(data, {
|
|
4824
|
+
CoreNetworkPolicyVersions: (_) => de_CoreNetworkPolicyVersionList(_, context),
|
|
4825
|
+
NextToken: __expectString,
|
|
4826
|
+
});
|
|
4827
|
+
Object.assign(contents, doc);
|
|
4891
4828
|
return contents;
|
|
4892
4829
|
};
|
|
4893
4830
|
const de_ListCoreNetworkPolicyVersionsCommandError = async (output, context) => {
|
|
@@ -4914,10 +4851,9 @@ const de_ListCoreNetworkPolicyVersionsCommandError = async (output, context) =>
|
|
|
4914
4851
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4915
4852
|
default:
|
|
4916
4853
|
const parsedBody = parsedOutput.body;
|
|
4917
|
-
throwDefaultError({
|
|
4854
|
+
return throwDefaultError({
|
|
4918
4855
|
output,
|
|
4919
4856
|
parsedBody,
|
|
4920
|
-
exceptionCtor: __BaseException,
|
|
4921
4857
|
errorCode,
|
|
4922
4858
|
});
|
|
4923
4859
|
}
|
|
@@ -4930,12 +4866,11 @@ export const de_ListCoreNetworksCommand = async (output, context) => {
|
|
|
4930
4866
|
$metadata: deserializeMetadata(output),
|
|
4931
4867
|
});
|
|
4932
4868
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
}
|
|
4869
|
+
const doc = take(data, {
|
|
4870
|
+
CoreNetworks: _json,
|
|
4871
|
+
NextToken: __expectString,
|
|
4872
|
+
});
|
|
4873
|
+
Object.assign(contents, doc);
|
|
4939
4874
|
return contents;
|
|
4940
4875
|
};
|
|
4941
4876
|
const de_ListCoreNetworksCommandError = async (output, context) => {
|
|
@@ -4959,10 +4894,9 @@ const de_ListCoreNetworksCommandError = async (output, context) => {
|
|
|
4959
4894
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4960
4895
|
default:
|
|
4961
4896
|
const parsedBody = parsedOutput.body;
|
|
4962
|
-
throwDefaultError({
|
|
4897
|
+
return throwDefaultError({
|
|
4963
4898
|
output,
|
|
4964
4899
|
parsedBody,
|
|
4965
|
-
exceptionCtor: __BaseException,
|
|
4966
4900
|
errorCode,
|
|
4967
4901
|
});
|
|
4968
4902
|
}
|
|
@@ -4975,12 +4909,11 @@ export const de_ListOrganizationServiceAccessStatusCommand = async (output, cont
|
|
|
4975
4909
|
$metadata: deserializeMetadata(output),
|
|
4976
4910
|
});
|
|
4977
4911
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
}
|
|
4912
|
+
const doc = take(data, {
|
|
4913
|
+
NextToken: __expectString,
|
|
4914
|
+
OrganizationStatus: _json,
|
|
4915
|
+
});
|
|
4916
|
+
Object.assign(contents, doc);
|
|
4984
4917
|
return contents;
|
|
4985
4918
|
};
|
|
4986
4919
|
const de_ListOrganizationServiceAccessStatusCommandError = async (output, context) => {
|
|
@@ -4990,10 +4923,9 @@ const de_ListOrganizationServiceAccessStatusCommandError = async (output, contex
|
|
|
4990
4923
|
};
|
|
4991
4924
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4992
4925
|
const parsedBody = parsedOutput.body;
|
|
4993
|
-
throwDefaultError({
|
|
4926
|
+
return throwDefaultError({
|
|
4994
4927
|
output,
|
|
4995
4928
|
parsedBody,
|
|
4996
|
-
exceptionCtor: __BaseException,
|
|
4997
4929
|
errorCode,
|
|
4998
4930
|
});
|
|
4999
4931
|
};
|
|
@@ -5005,12 +4937,11 @@ export const de_ListPeeringsCommand = async (output, context) => {
|
|
|
5005
4937
|
$metadata: deserializeMetadata(output),
|
|
5006
4938
|
});
|
|
5007
4939
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
}
|
|
4940
|
+
const doc = take(data, {
|
|
4941
|
+
NextToken: __expectString,
|
|
4942
|
+
Peerings: (_) => de_PeeringList(_, context),
|
|
4943
|
+
});
|
|
4944
|
+
Object.assign(contents, doc);
|
|
5014
4945
|
return contents;
|
|
5015
4946
|
};
|
|
5016
4947
|
const de_ListPeeringsCommandError = async (output, context) => {
|
|
@@ -5034,10 +4965,9 @@ const de_ListPeeringsCommandError = async (output, context) => {
|
|
|
5034
4965
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5035
4966
|
default:
|
|
5036
4967
|
const parsedBody = parsedOutput.body;
|
|
5037
|
-
throwDefaultError({
|
|
4968
|
+
return throwDefaultError({
|
|
5038
4969
|
output,
|
|
5039
4970
|
parsedBody,
|
|
5040
|
-
exceptionCtor: __BaseException,
|
|
5041
4971
|
errorCode,
|
|
5042
4972
|
});
|
|
5043
4973
|
}
|
|
@@ -5050,9 +4980,10 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
5050
4980
|
$metadata: deserializeMetadata(output),
|
|
5051
4981
|
});
|
|
5052
4982
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
}
|
|
4983
|
+
const doc = take(data, {
|
|
4984
|
+
TagList: _json,
|
|
4985
|
+
});
|
|
4986
|
+
Object.assign(contents, doc);
|
|
5056
4987
|
return contents;
|
|
5057
4988
|
};
|
|
5058
4989
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -5079,10 +5010,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
5079
5010
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5080
5011
|
default:
|
|
5081
5012
|
const parsedBody = parsedOutput.body;
|
|
5082
|
-
throwDefaultError({
|
|
5013
|
+
return throwDefaultError({
|
|
5083
5014
|
output,
|
|
5084
5015
|
parsedBody,
|
|
5085
|
-
exceptionCtor: __BaseException,
|
|
5086
5016
|
errorCode,
|
|
5087
5017
|
});
|
|
5088
5018
|
}
|
|
@@ -5095,9 +5025,10 @@ export const de_PutCoreNetworkPolicyCommand = async (output, context) => {
|
|
|
5095
5025
|
$metadata: deserializeMetadata(output),
|
|
5096
5026
|
});
|
|
5097
5027
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
}
|
|
5028
|
+
const doc = take(data, {
|
|
5029
|
+
CoreNetworkPolicy: (_) => de_CoreNetworkPolicy(_, context),
|
|
5030
|
+
});
|
|
5031
|
+
Object.assign(contents, doc);
|
|
5101
5032
|
return contents;
|
|
5102
5033
|
};
|
|
5103
5034
|
const de_PutCoreNetworkPolicyCommandError = async (output, context) => {
|
|
@@ -5130,10 +5061,9 @@ const de_PutCoreNetworkPolicyCommandError = async (output, context) => {
|
|
|
5130
5061
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5131
5062
|
default:
|
|
5132
5063
|
const parsedBody = parsedOutput.body;
|
|
5133
|
-
throwDefaultError({
|
|
5064
|
+
return throwDefaultError({
|
|
5134
5065
|
output,
|
|
5135
5066
|
parsedBody,
|
|
5136
|
-
exceptionCtor: __BaseException,
|
|
5137
5067
|
errorCode,
|
|
5138
5068
|
});
|
|
5139
5069
|
}
|
|
@@ -5175,10 +5105,9 @@ const de_PutResourcePolicyCommandError = async (output, context) => {
|
|
|
5175
5105
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5176
5106
|
default:
|
|
5177
5107
|
const parsedBody = parsedOutput.body;
|
|
5178
|
-
throwDefaultError({
|
|
5108
|
+
return throwDefaultError({
|
|
5179
5109
|
output,
|
|
5180
5110
|
parsedBody,
|
|
5181
|
-
exceptionCtor: __BaseException,
|
|
5182
5111
|
errorCode,
|
|
5183
5112
|
});
|
|
5184
5113
|
}
|
|
@@ -5191,9 +5120,10 @@ export const de_RegisterTransitGatewayCommand = async (output, context) => {
|
|
|
5191
5120
|
$metadata: deserializeMetadata(output),
|
|
5192
5121
|
});
|
|
5193
5122
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
}
|
|
5123
|
+
const doc = take(data, {
|
|
5124
|
+
TransitGatewayRegistration: _json,
|
|
5125
|
+
});
|
|
5126
|
+
Object.assign(contents, doc);
|
|
5197
5127
|
return contents;
|
|
5198
5128
|
};
|
|
5199
5129
|
const de_RegisterTransitGatewayCommandError = async (output, context) => {
|
|
@@ -5223,10 +5153,9 @@ const de_RegisterTransitGatewayCommandError = async (output, context) => {
|
|
|
5223
5153
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5224
5154
|
default:
|
|
5225
5155
|
const parsedBody = parsedOutput.body;
|
|
5226
|
-
throwDefaultError({
|
|
5156
|
+
return throwDefaultError({
|
|
5227
5157
|
output,
|
|
5228
5158
|
parsedBody,
|
|
5229
|
-
exceptionCtor: __BaseException,
|
|
5230
5159
|
errorCode,
|
|
5231
5160
|
});
|
|
5232
5161
|
}
|
|
@@ -5239,9 +5168,10 @@ export const de_RejectAttachmentCommand = async (output, context) => {
|
|
|
5239
5168
|
$metadata: deserializeMetadata(output),
|
|
5240
5169
|
});
|
|
5241
5170
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
}
|
|
5171
|
+
const doc = take(data, {
|
|
5172
|
+
Attachment: (_) => de_Attachment(_, context),
|
|
5173
|
+
});
|
|
5174
|
+
Object.assign(contents, doc);
|
|
5245
5175
|
return contents;
|
|
5246
5176
|
};
|
|
5247
5177
|
const de_RejectAttachmentCommandError = async (output, context) => {
|
|
@@ -5271,10 +5201,9 @@ const de_RejectAttachmentCommandError = async (output, context) => {
|
|
|
5271
5201
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5272
5202
|
default:
|
|
5273
5203
|
const parsedBody = parsedOutput.body;
|
|
5274
|
-
throwDefaultError({
|
|
5204
|
+
return throwDefaultError({
|
|
5275
5205
|
output,
|
|
5276
5206
|
parsedBody,
|
|
5277
|
-
exceptionCtor: __BaseException,
|
|
5278
5207
|
errorCode,
|
|
5279
5208
|
});
|
|
5280
5209
|
}
|
|
@@ -5287,9 +5216,10 @@ export const de_RestoreCoreNetworkPolicyVersionCommand = async (output, context)
|
|
|
5287
5216
|
$metadata: deserializeMetadata(output),
|
|
5288
5217
|
});
|
|
5289
5218
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
}
|
|
5219
|
+
const doc = take(data, {
|
|
5220
|
+
CoreNetworkPolicy: (_) => de_CoreNetworkPolicy(_, context),
|
|
5221
|
+
});
|
|
5222
|
+
Object.assign(contents, doc);
|
|
5293
5223
|
return contents;
|
|
5294
5224
|
};
|
|
5295
5225
|
const de_RestoreCoreNetworkPolicyVersionCommandError = async (output, context) => {
|
|
@@ -5319,10 +5249,9 @@ const de_RestoreCoreNetworkPolicyVersionCommandError = async (output, context) =
|
|
|
5319
5249
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5320
5250
|
default:
|
|
5321
5251
|
const parsedBody = parsedOutput.body;
|
|
5322
|
-
throwDefaultError({
|
|
5252
|
+
return throwDefaultError({
|
|
5323
5253
|
output,
|
|
5324
5254
|
parsedBody,
|
|
5325
|
-
exceptionCtor: __BaseException,
|
|
5326
5255
|
errorCode,
|
|
5327
5256
|
});
|
|
5328
5257
|
}
|
|
@@ -5335,9 +5264,10 @@ export const de_StartOrganizationServiceAccessUpdateCommand = async (output, con
|
|
|
5335
5264
|
$metadata: deserializeMetadata(output),
|
|
5336
5265
|
});
|
|
5337
5266
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
}
|
|
5267
|
+
const doc = take(data, {
|
|
5268
|
+
OrganizationStatus: _json,
|
|
5269
|
+
});
|
|
5270
|
+
Object.assign(contents, doc);
|
|
5341
5271
|
return contents;
|
|
5342
5272
|
};
|
|
5343
5273
|
const de_StartOrganizationServiceAccessUpdateCommandError = async (output, context) => {
|
|
@@ -5367,10 +5297,9 @@ const de_StartOrganizationServiceAccessUpdateCommandError = async (output, conte
|
|
|
5367
5297
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5368
5298
|
default:
|
|
5369
5299
|
const parsedBody = parsedOutput.body;
|
|
5370
|
-
throwDefaultError({
|
|
5300
|
+
return throwDefaultError({
|
|
5371
5301
|
output,
|
|
5372
5302
|
parsedBody,
|
|
5373
|
-
exceptionCtor: __BaseException,
|
|
5374
5303
|
errorCode,
|
|
5375
5304
|
});
|
|
5376
5305
|
}
|
|
@@ -5383,9 +5312,10 @@ export const de_StartRouteAnalysisCommand = async (output, context) => {
|
|
|
5383
5312
|
$metadata: deserializeMetadata(output),
|
|
5384
5313
|
});
|
|
5385
5314
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
}
|
|
5315
|
+
const doc = take(data, {
|
|
5316
|
+
RouteAnalysis: (_) => de_RouteAnalysis(_, context),
|
|
5317
|
+
});
|
|
5318
|
+
Object.assign(contents, doc);
|
|
5389
5319
|
return contents;
|
|
5390
5320
|
};
|
|
5391
5321
|
const de_StartRouteAnalysisCommandError = async (output, context) => {
|
|
@@ -5415,10 +5345,9 @@ const de_StartRouteAnalysisCommandError = async (output, context) => {
|
|
|
5415
5345
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5416
5346
|
default:
|
|
5417
5347
|
const parsedBody = parsedOutput.body;
|
|
5418
|
-
throwDefaultError({
|
|
5348
|
+
return throwDefaultError({
|
|
5419
5349
|
output,
|
|
5420
5350
|
parsedBody,
|
|
5421
|
-
exceptionCtor: __BaseException,
|
|
5422
5351
|
errorCode,
|
|
5423
5352
|
});
|
|
5424
5353
|
}
|
|
@@ -5463,10 +5392,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
5463
5392
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5464
5393
|
default:
|
|
5465
5394
|
const parsedBody = parsedOutput.body;
|
|
5466
|
-
throwDefaultError({
|
|
5395
|
+
return throwDefaultError({
|
|
5467
5396
|
output,
|
|
5468
5397
|
parsedBody,
|
|
5469
|
-
exceptionCtor: __BaseException,
|
|
5470
5398
|
errorCode,
|
|
5471
5399
|
});
|
|
5472
5400
|
}
|
|
@@ -5508,10 +5436,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
5508
5436
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5509
5437
|
default:
|
|
5510
5438
|
const parsedBody = parsedOutput.body;
|
|
5511
|
-
throwDefaultError({
|
|
5439
|
+
return throwDefaultError({
|
|
5512
5440
|
output,
|
|
5513
5441
|
parsedBody,
|
|
5514
|
-
exceptionCtor: __BaseException,
|
|
5515
5442
|
errorCode,
|
|
5516
5443
|
});
|
|
5517
5444
|
}
|
|
@@ -5524,9 +5451,10 @@ export const de_UpdateConnectionCommand = async (output, context) => {
|
|
|
5524
5451
|
$metadata: deserializeMetadata(output),
|
|
5525
5452
|
});
|
|
5526
5453
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
}
|
|
5454
|
+
const doc = take(data, {
|
|
5455
|
+
Connection: (_) => de_Connection(_, context),
|
|
5456
|
+
});
|
|
5457
|
+
Object.assign(contents, doc);
|
|
5530
5458
|
return contents;
|
|
5531
5459
|
};
|
|
5532
5460
|
const de_UpdateConnectionCommandError = async (output, context) => {
|
|
@@ -5556,10 +5484,9 @@ const de_UpdateConnectionCommandError = async (output, context) => {
|
|
|
5556
5484
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5557
5485
|
default:
|
|
5558
5486
|
const parsedBody = parsedOutput.body;
|
|
5559
|
-
throwDefaultError({
|
|
5487
|
+
return throwDefaultError({
|
|
5560
5488
|
output,
|
|
5561
5489
|
parsedBody,
|
|
5562
|
-
exceptionCtor: __BaseException,
|
|
5563
5490
|
errorCode,
|
|
5564
5491
|
});
|
|
5565
5492
|
}
|
|
@@ -5572,9 +5499,10 @@ export const de_UpdateCoreNetworkCommand = async (output, context) => {
|
|
|
5572
5499
|
$metadata: deserializeMetadata(output),
|
|
5573
5500
|
});
|
|
5574
5501
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
}
|
|
5502
|
+
const doc = take(data, {
|
|
5503
|
+
CoreNetwork: (_) => de_CoreNetwork(_, context),
|
|
5504
|
+
});
|
|
5505
|
+
Object.assign(contents, doc);
|
|
5578
5506
|
return contents;
|
|
5579
5507
|
};
|
|
5580
5508
|
const de_UpdateCoreNetworkCommandError = async (output, context) => {
|
|
@@ -5604,10 +5532,9 @@ const de_UpdateCoreNetworkCommandError = async (output, context) => {
|
|
|
5604
5532
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5605
5533
|
default:
|
|
5606
5534
|
const parsedBody = parsedOutput.body;
|
|
5607
|
-
throwDefaultError({
|
|
5535
|
+
return throwDefaultError({
|
|
5608
5536
|
output,
|
|
5609
5537
|
parsedBody,
|
|
5610
|
-
exceptionCtor: __BaseException,
|
|
5611
5538
|
errorCode,
|
|
5612
5539
|
});
|
|
5613
5540
|
}
|
|
@@ -5620,9 +5547,10 @@ export const de_UpdateDeviceCommand = async (output, context) => {
|
|
|
5620
5547
|
$metadata: deserializeMetadata(output),
|
|
5621
5548
|
});
|
|
5622
5549
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
}
|
|
5550
|
+
const doc = take(data, {
|
|
5551
|
+
Device: (_) => de_Device(_, context),
|
|
5552
|
+
});
|
|
5553
|
+
Object.assign(contents, doc);
|
|
5626
5554
|
return contents;
|
|
5627
5555
|
};
|
|
5628
5556
|
const de_UpdateDeviceCommandError = async (output, context) => {
|
|
@@ -5652,10 +5580,9 @@ const de_UpdateDeviceCommandError = async (output, context) => {
|
|
|
5652
5580
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5653
5581
|
default:
|
|
5654
5582
|
const parsedBody = parsedOutput.body;
|
|
5655
|
-
throwDefaultError({
|
|
5583
|
+
return throwDefaultError({
|
|
5656
5584
|
output,
|
|
5657
5585
|
parsedBody,
|
|
5658
|
-
exceptionCtor: __BaseException,
|
|
5659
5586
|
errorCode,
|
|
5660
5587
|
});
|
|
5661
5588
|
}
|
|
@@ -5668,9 +5595,10 @@ export const de_UpdateGlobalNetworkCommand = async (output, context) => {
|
|
|
5668
5595
|
$metadata: deserializeMetadata(output),
|
|
5669
5596
|
});
|
|
5670
5597
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
}
|
|
5598
|
+
const doc = take(data, {
|
|
5599
|
+
GlobalNetwork: (_) => de_GlobalNetwork(_, context),
|
|
5600
|
+
});
|
|
5601
|
+
Object.assign(contents, doc);
|
|
5674
5602
|
return contents;
|
|
5675
5603
|
};
|
|
5676
5604
|
const de_UpdateGlobalNetworkCommandError = async (output, context) => {
|
|
@@ -5700,10 +5628,9 @@ const de_UpdateGlobalNetworkCommandError = async (output, context) => {
|
|
|
5700
5628
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5701
5629
|
default:
|
|
5702
5630
|
const parsedBody = parsedOutput.body;
|
|
5703
|
-
throwDefaultError({
|
|
5631
|
+
return throwDefaultError({
|
|
5704
5632
|
output,
|
|
5705
5633
|
parsedBody,
|
|
5706
|
-
exceptionCtor: __BaseException,
|
|
5707
5634
|
errorCode,
|
|
5708
5635
|
});
|
|
5709
5636
|
}
|
|
@@ -5716,9 +5643,10 @@ export const de_UpdateLinkCommand = async (output, context) => {
|
|
|
5716
5643
|
$metadata: deserializeMetadata(output),
|
|
5717
5644
|
});
|
|
5718
5645
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
}
|
|
5646
|
+
const doc = take(data, {
|
|
5647
|
+
Link: (_) => de_Link(_, context),
|
|
5648
|
+
});
|
|
5649
|
+
Object.assign(contents, doc);
|
|
5722
5650
|
return contents;
|
|
5723
5651
|
};
|
|
5724
5652
|
const de_UpdateLinkCommandError = async (output, context) => {
|
|
@@ -5751,10 +5679,9 @@ const de_UpdateLinkCommandError = async (output, context) => {
|
|
|
5751
5679
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5752
5680
|
default:
|
|
5753
5681
|
const parsedBody = parsedOutput.body;
|
|
5754
|
-
throwDefaultError({
|
|
5682
|
+
return throwDefaultError({
|
|
5755
5683
|
output,
|
|
5756
5684
|
parsedBody,
|
|
5757
|
-
exceptionCtor: __BaseException,
|
|
5758
5685
|
errorCode,
|
|
5759
5686
|
});
|
|
5760
5687
|
}
|
|
@@ -5767,12 +5694,11 @@ export const de_UpdateNetworkResourceMetadataCommand = async (output, context) =
|
|
|
5767
5694
|
$metadata: deserializeMetadata(output),
|
|
5768
5695
|
});
|
|
5769
5696
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
}
|
|
5697
|
+
const doc = take(data, {
|
|
5698
|
+
Metadata: _json,
|
|
5699
|
+
ResourceArn: __expectString,
|
|
5700
|
+
});
|
|
5701
|
+
Object.assign(contents, doc);
|
|
5776
5702
|
return contents;
|
|
5777
5703
|
};
|
|
5778
5704
|
const de_UpdateNetworkResourceMetadataCommandError = async (output, context) => {
|
|
@@ -5802,10 +5728,9 @@ const de_UpdateNetworkResourceMetadataCommandError = async (output, context) =>
|
|
|
5802
5728
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5803
5729
|
default:
|
|
5804
5730
|
const parsedBody = parsedOutput.body;
|
|
5805
|
-
throwDefaultError({
|
|
5731
|
+
return throwDefaultError({
|
|
5806
5732
|
output,
|
|
5807
5733
|
parsedBody,
|
|
5808
|
-
exceptionCtor: __BaseException,
|
|
5809
5734
|
errorCode,
|
|
5810
5735
|
});
|
|
5811
5736
|
}
|
|
@@ -5818,9 +5743,10 @@ export const de_UpdateSiteCommand = async (output, context) => {
|
|
|
5818
5743
|
$metadata: deserializeMetadata(output),
|
|
5819
5744
|
});
|
|
5820
5745
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
}
|
|
5746
|
+
const doc = take(data, {
|
|
5747
|
+
Site: (_) => de_Site(_, context),
|
|
5748
|
+
});
|
|
5749
|
+
Object.assign(contents, doc);
|
|
5824
5750
|
return contents;
|
|
5825
5751
|
};
|
|
5826
5752
|
const de_UpdateSiteCommandError = async (output, context) => {
|
|
@@ -5850,10 +5776,9 @@ const de_UpdateSiteCommandError = async (output, context) => {
|
|
|
5850
5776
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5851
5777
|
default:
|
|
5852
5778
|
const parsedBody = parsedOutput.body;
|
|
5853
|
-
throwDefaultError({
|
|
5779
|
+
return throwDefaultError({
|
|
5854
5780
|
output,
|
|
5855
5781
|
parsedBody,
|
|
5856
|
-
exceptionCtor: __BaseException,
|
|
5857
5782
|
errorCode,
|
|
5858
5783
|
});
|
|
5859
5784
|
}
|
|
@@ -5866,9 +5791,10 @@ export const de_UpdateVpcAttachmentCommand = async (output, context) => {
|
|
|
5866
5791
|
$metadata: deserializeMetadata(output),
|
|
5867
5792
|
});
|
|
5868
5793
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
}
|
|
5794
|
+
const doc = take(data, {
|
|
5795
|
+
VpcAttachment: (_) => de_VpcAttachment(_, context),
|
|
5796
|
+
});
|
|
5797
|
+
Object.assign(contents, doc);
|
|
5872
5798
|
return contents;
|
|
5873
5799
|
};
|
|
5874
5800
|
const de_UpdateVpcAttachmentCommandError = async (output, context) => {
|
|
@@ -5898,21 +5824,21 @@ const de_UpdateVpcAttachmentCommandError = async (output, context) => {
|
|
|
5898
5824
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5899
5825
|
default:
|
|
5900
5826
|
const parsedBody = parsedOutput.body;
|
|
5901
|
-
throwDefaultError({
|
|
5827
|
+
return throwDefaultError({
|
|
5902
5828
|
output,
|
|
5903
5829
|
parsedBody,
|
|
5904
|
-
exceptionCtor: __BaseException,
|
|
5905
5830
|
errorCode,
|
|
5906
5831
|
});
|
|
5907
5832
|
}
|
|
5908
5833
|
};
|
|
5909
|
-
const
|
|
5834
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
5910
5835
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
5911
5836
|
const contents = map({});
|
|
5912
5837
|
const data = parsedOutput.body;
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
}
|
|
5838
|
+
const doc = take(data, {
|
|
5839
|
+
Message: __expectString,
|
|
5840
|
+
});
|
|
5841
|
+
Object.assign(contents, doc);
|
|
5916
5842
|
const exception = new AccessDeniedException({
|
|
5917
5843
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5918
5844
|
...contents,
|
|
@@ -5922,15 +5848,12 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
5922
5848
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
5923
5849
|
const contents = map({});
|
|
5924
5850
|
const data = parsedOutput.body;
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
if (data.ResourceType != null) {
|
|
5932
|
-
contents.ResourceType = __expectString(data.ResourceType);
|
|
5933
|
-
}
|
|
5851
|
+
const doc = take(data, {
|
|
5852
|
+
Message: __expectString,
|
|
5853
|
+
ResourceId: __expectString,
|
|
5854
|
+
ResourceType: __expectString,
|
|
5855
|
+
});
|
|
5856
|
+
Object.assign(contents, doc);
|
|
5934
5857
|
const exception = new ConflictException({
|
|
5935
5858
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5936
5859
|
...contents,
|
|
@@ -5940,12 +5863,11 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
5940
5863
|
const de_CoreNetworkPolicyExceptionRes = async (parsedOutput, context) => {
|
|
5941
5864
|
const contents = map({});
|
|
5942
5865
|
const data = parsedOutput.body;
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
}
|
|
5866
|
+
const doc = take(data, {
|
|
5867
|
+
Errors: _json,
|
|
5868
|
+
Message: __expectString,
|
|
5869
|
+
});
|
|
5870
|
+
Object.assign(contents, doc);
|
|
5949
5871
|
const exception = new CoreNetworkPolicyException({
|
|
5950
5872
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5951
5873
|
...contents,
|
|
@@ -5960,9 +5882,10 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
5960
5882
|
],
|
|
5961
5883
|
});
|
|
5962
5884
|
const data = parsedOutput.body;
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
}
|
|
5885
|
+
const doc = take(data, {
|
|
5886
|
+
Message: __expectString,
|
|
5887
|
+
});
|
|
5888
|
+
Object.assign(contents, doc);
|
|
5966
5889
|
const exception = new InternalServerException({
|
|
5967
5890
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5968
5891
|
...contents,
|
|
@@ -5972,18 +5895,13 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
5972
5895
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
5973
5896
|
const contents = map({});
|
|
5974
5897
|
const data = parsedOutput.body;
|
|
5975
|
-
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
}
|
|
5981
|
-
|
|
5982
|
-
contents.ResourceId = __expectString(data.ResourceId);
|
|
5983
|
-
}
|
|
5984
|
-
if (data.ResourceType != null) {
|
|
5985
|
-
contents.ResourceType = __expectString(data.ResourceType);
|
|
5986
|
-
}
|
|
5898
|
+
const doc = take(data, {
|
|
5899
|
+
Context: _json,
|
|
5900
|
+
Message: __expectString,
|
|
5901
|
+
ResourceId: __expectString,
|
|
5902
|
+
ResourceType: __expectString,
|
|
5903
|
+
});
|
|
5904
|
+
Object.assign(contents, doc);
|
|
5987
5905
|
const exception = new ResourceNotFoundException({
|
|
5988
5906
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5989
5907
|
...contents,
|
|
@@ -5993,21 +5911,14 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
5993
5911
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
5994
5912
|
const contents = map({});
|
|
5995
5913
|
const data = parsedOutput.body;
|
|
5996
|
-
|
|
5997
|
-
|
|
5998
|
-
|
|
5999
|
-
|
|
6000
|
-
|
|
6001
|
-
|
|
6002
|
-
|
|
6003
|
-
|
|
6004
|
-
}
|
|
6005
|
-
if (data.ResourceType != null) {
|
|
6006
|
-
contents.ResourceType = __expectString(data.ResourceType);
|
|
6007
|
-
}
|
|
6008
|
-
if (data.ServiceCode != null) {
|
|
6009
|
-
contents.ServiceCode = __expectString(data.ServiceCode);
|
|
6010
|
-
}
|
|
5914
|
+
const doc = take(data, {
|
|
5915
|
+
LimitCode: __expectString,
|
|
5916
|
+
Message: __expectString,
|
|
5917
|
+
ResourceId: __expectString,
|
|
5918
|
+
ResourceType: __expectString,
|
|
5919
|
+
ServiceCode: __expectString,
|
|
5920
|
+
});
|
|
5921
|
+
Object.assign(contents, doc);
|
|
6011
5922
|
const exception = new ServiceQuotaExceededException({
|
|
6012
5923
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6013
5924
|
...contents,
|
|
@@ -6022,9 +5933,10 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
6022
5933
|
],
|
|
6023
5934
|
});
|
|
6024
5935
|
const data = parsedOutput.body;
|
|
6025
|
-
|
|
6026
|
-
|
|
6027
|
-
}
|
|
5936
|
+
const doc = take(data, {
|
|
5937
|
+
Message: __expectString,
|
|
5938
|
+
});
|
|
5939
|
+
Object.assign(contents, doc);
|
|
6028
5940
|
const exception = new ThrottlingException({
|
|
6029
5941
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6030
5942
|
...contents,
|
|
@@ -6034,1073 +5946,367 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
6034
5946
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
6035
5947
|
const contents = map({});
|
|
6036
5948
|
const data = parsedOutput.body;
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6041
|
-
|
|
6042
|
-
|
|
6043
|
-
if (data.Reason != null) {
|
|
6044
|
-
contents.Reason = __expectString(data.Reason);
|
|
6045
|
-
}
|
|
5949
|
+
const doc = take(data, {
|
|
5950
|
+
Fields: _json,
|
|
5951
|
+
Message: __expectString,
|
|
5952
|
+
Reason: __expectString,
|
|
5953
|
+
});
|
|
5954
|
+
Object.assign(contents, doc);
|
|
6046
5955
|
const exception = new ValidationException({
|
|
6047
5956
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6048
5957
|
...contents,
|
|
6049
5958
|
});
|
|
6050
5959
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
6051
5960
|
};
|
|
6052
|
-
const
|
|
6053
|
-
return {
|
|
6054
|
-
|
|
6055
|
-
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6063
|
-
|
|
6064
|
-
|
|
6065
|
-
|
|
6066
|
-
|
|
6067
|
-
|
|
6068
|
-
};
|
|
6069
|
-
const se_ConnectAttachmentOptions = (input, context) => {
|
|
6070
|
-
return {
|
|
6071
|
-
...(input.Protocol != null && { Protocol: input.Protocol }),
|
|
6072
|
-
};
|
|
5961
|
+
const de_Attachment = (output, context) => {
|
|
5962
|
+
return take(output, {
|
|
5963
|
+
AttachmentId: __expectString,
|
|
5964
|
+
AttachmentPolicyRuleNumber: __expectInt32,
|
|
5965
|
+
AttachmentType: __expectString,
|
|
5966
|
+
CoreNetworkArn: __expectString,
|
|
5967
|
+
CoreNetworkId: __expectString,
|
|
5968
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5969
|
+
EdgeLocation: __expectString,
|
|
5970
|
+
OwnerAccountId: __expectString,
|
|
5971
|
+
ProposedSegmentChange: _json,
|
|
5972
|
+
ResourceArn: __expectString,
|
|
5973
|
+
SegmentName: __expectString,
|
|
5974
|
+
State: __expectString,
|
|
5975
|
+
Tags: _json,
|
|
5976
|
+
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5977
|
+
});
|
|
6073
5978
|
};
|
|
6074
|
-
const
|
|
6075
|
-
|
|
5979
|
+
const de_AttachmentList = (output, context) => {
|
|
5980
|
+
const retVal = (output || [])
|
|
6076
5981
|
.filter((e) => e != null)
|
|
6077
5982
|
.map((entry) => {
|
|
6078
|
-
return entry;
|
|
6079
|
-
});
|
|
6080
|
-
};
|
|
6081
|
-
const se_CoreNetworkSegmentEdgeIdentifier = (input, context) => {
|
|
6082
|
-
return {
|
|
6083
|
-
...(input.CoreNetworkId != null && { CoreNetworkId: input.CoreNetworkId }),
|
|
6084
|
-
...(input.EdgeLocation != null && { EdgeLocation: input.EdgeLocation }),
|
|
6085
|
-
...(input.SegmentName != null && { SegmentName: input.SegmentName }),
|
|
6086
|
-
};
|
|
6087
|
-
};
|
|
6088
|
-
const se_FilterMap = (input, context) => {
|
|
6089
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
6090
|
-
if (value === null) {
|
|
6091
|
-
return acc;
|
|
6092
|
-
}
|
|
6093
|
-
acc[key] = se_FilterValues(value, context);
|
|
6094
|
-
return acc;
|
|
6095
|
-
}, {});
|
|
6096
|
-
};
|
|
6097
|
-
const se_FilterValues = (input, context) => {
|
|
6098
|
-
return input
|
|
6099
|
-
.filter((e) => e != null)
|
|
6100
|
-
.map((entry) => {
|
|
6101
|
-
return entry;
|
|
6102
|
-
});
|
|
6103
|
-
};
|
|
6104
|
-
const se_Location = (input, context) => {
|
|
6105
|
-
return {
|
|
6106
|
-
...(input.Address != null && { Address: input.Address }),
|
|
6107
|
-
...(input.Latitude != null && { Latitude: input.Latitude }),
|
|
6108
|
-
...(input.Longitude != null && { Longitude: input.Longitude }),
|
|
6109
|
-
};
|
|
6110
|
-
};
|
|
6111
|
-
const se_NetworkResourceMetadataMap = (input, context) => {
|
|
6112
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
6113
|
-
if (value === null) {
|
|
6114
|
-
return acc;
|
|
6115
|
-
}
|
|
6116
|
-
acc[key] = value;
|
|
6117
|
-
return acc;
|
|
6118
|
-
}, {});
|
|
6119
|
-
};
|
|
6120
|
-
const se_RouteAnalysisEndpointOptionsSpecification = (input, context) => {
|
|
6121
|
-
return {
|
|
6122
|
-
...(input.IpAddress != null && { IpAddress: input.IpAddress }),
|
|
6123
|
-
...(input.TransitGatewayAttachmentArn != null && {
|
|
6124
|
-
TransitGatewayAttachmentArn: input.TransitGatewayAttachmentArn,
|
|
6125
|
-
}),
|
|
6126
|
-
};
|
|
6127
|
-
};
|
|
6128
|
-
const se_RouteStateList = (input, context) => {
|
|
6129
|
-
return input
|
|
6130
|
-
.filter((e) => e != null)
|
|
6131
|
-
.map((entry) => {
|
|
6132
|
-
return entry;
|
|
6133
|
-
});
|
|
6134
|
-
};
|
|
6135
|
-
const se_RouteTableIdentifier = (input, context) => {
|
|
6136
|
-
return {
|
|
6137
|
-
...(input.CoreNetworkSegmentEdge != null && {
|
|
6138
|
-
CoreNetworkSegmentEdge: se_CoreNetworkSegmentEdgeIdentifier(input.CoreNetworkSegmentEdge, context),
|
|
6139
|
-
}),
|
|
6140
|
-
...(input.TransitGatewayRouteTableArn != null && {
|
|
6141
|
-
TransitGatewayRouteTableArn: input.TransitGatewayRouteTableArn,
|
|
6142
|
-
}),
|
|
6143
|
-
};
|
|
6144
|
-
};
|
|
6145
|
-
const se_RouteTypeList = (input, context) => {
|
|
6146
|
-
return input
|
|
6147
|
-
.filter((e) => e != null)
|
|
6148
|
-
.map((entry) => {
|
|
6149
|
-
return entry;
|
|
6150
|
-
});
|
|
6151
|
-
};
|
|
6152
|
-
const se_SubnetArnList = (input, context) => {
|
|
6153
|
-
return input
|
|
6154
|
-
.filter((e) => e != null)
|
|
6155
|
-
.map((entry) => {
|
|
6156
|
-
return entry;
|
|
6157
|
-
});
|
|
6158
|
-
};
|
|
6159
|
-
const se_Tag = (input, context) => {
|
|
6160
|
-
return {
|
|
6161
|
-
...(input.Key != null && { Key: input.Key }),
|
|
6162
|
-
...(input.Value != null && { Value: input.Value }),
|
|
6163
|
-
};
|
|
6164
|
-
};
|
|
6165
|
-
const se_TagList = (input, context) => {
|
|
6166
|
-
return input
|
|
6167
|
-
.filter((e) => e != null)
|
|
6168
|
-
.map((entry) => {
|
|
6169
|
-
return se_Tag(entry, context);
|
|
6170
|
-
});
|
|
6171
|
-
};
|
|
6172
|
-
const se_VpcOptions = (input, context) => {
|
|
6173
|
-
return {
|
|
6174
|
-
...(input.ApplianceModeSupport != null && { ApplianceModeSupport: input.ApplianceModeSupport }),
|
|
6175
|
-
...(input.Ipv6Support != null && { Ipv6Support: input.Ipv6Support }),
|
|
6176
|
-
};
|
|
6177
|
-
};
|
|
6178
|
-
const de_AccountStatus = (output, context) => {
|
|
6179
|
-
return {
|
|
6180
|
-
AccountId: __expectString(output.AccountId),
|
|
6181
|
-
SLRDeploymentStatus: __expectString(output.SLRDeploymentStatus),
|
|
6182
|
-
};
|
|
6183
|
-
};
|
|
6184
|
-
const de_AccountStatusList = (output, context) => {
|
|
6185
|
-
const retVal = (output || [])
|
|
6186
|
-
.filter((e) => e != null)
|
|
6187
|
-
.map((entry) => {
|
|
6188
|
-
if (entry === null) {
|
|
6189
|
-
return null;
|
|
6190
|
-
}
|
|
6191
|
-
return de_AccountStatus(entry, context);
|
|
6192
|
-
});
|
|
6193
|
-
return retVal;
|
|
6194
|
-
};
|
|
6195
|
-
const de_Attachment = (output, context) => {
|
|
6196
|
-
return {
|
|
6197
|
-
AttachmentId: __expectString(output.AttachmentId),
|
|
6198
|
-
AttachmentPolicyRuleNumber: __expectInt32(output.AttachmentPolicyRuleNumber),
|
|
6199
|
-
AttachmentType: __expectString(output.AttachmentType),
|
|
6200
|
-
CoreNetworkArn: __expectString(output.CoreNetworkArn),
|
|
6201
|
-
CoreNetworkId: __expectString(output.CoreNetworkId),
|
|
6202
|
-
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
6203
|
-
EdgeLocation: __expectString(output.EdgeLocation),
|
|
6204
|
-
OwnerAccountId: __expectString(output.OwnerAccountId),
|
|
6205
|
-
ProposedSegmentChange: output.ProposedSegmentChange != null
|
|
6206
|
-
? de_ProposedSegmentChange(output.ProposedSegmentChange, context)
|
|
6207
|
-
: undefined,
|
|
6208
|
-
ResourceArn: __expectString(output.ResourceArn),
|
|
6209
|
-
SegmentName: __expectString(output.SegmentName),
|
|
6210
|
-
State: __expectString(output.State),
|
|
6211
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
6212
|
-
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
6213
|
-
};
|
|
6214
|
-
};
|
|
6215
|
-
const de_AttachmentList = (output, context) => {
|
|
6216
|
-
const retVal = (output || [])
|
|
6217
|
-
.filter((e) => e != null)
|
|
6218
|
-
.map((entry) => {
|
|
6219
|
-
if (entry === null) {
|
|
6220
|
-
return null;
|
|
6221
|
-
}
|
|
6222
|
-
return de_Attachment(entry, context);
|
|
5983
|
+
return de_Attachment(entry, context);
|
|
6223
5984
|
});
|
|
6224
5985
|
return retVal;
|
|
6225
5986
|
};
|
|
6226
|
-
const de_AWSLocation = (output, context) => {
|
|
6227
|
-
return {
|
|
6228
|
-
SubnetArn: __expectString(output.SubnetArn),
|
|
6229
|
-
Zone: __expectString(output.Zone),
|
|
6230
|
-
};
|
|
6231
|
-
};
|
|
6232
|
-
const de_Bandwidth = (output, context) => {
|
|
6233
|
-
return {
|
|
6234
|
-
DownloadSpeed: __expectInt32(output.DownloadSpeed),
|
|
6235
|
-
UploadSpeed: __expectInt32(output.UploadSpeed),
|
|
6236
|
-
};
|
|
6237
|
-
};
|
|
6238
5987
|
const de_ConnectAttachment = (output, context) => {
|
|
6239
|
-
return {
|
|
6240
|
-
Attachment:
|
|
6241
|
-
Options:
|
|
6242
|
-
TransportAttachmentId: __expectString
|
|
6243
|
-
};
|
|
6244
|
-
};
|
|
6245
|
-
const de_ConnectAttachmentOptions = (output, context) => {
|
|
6246
|
-
return {
|
|
6247
|
-
Protocol: __expectString(output.Protocol),
|
|
6248
|
-
};
|
|
5988
|
+
return take(output, {
|
|
5989
|
+
Attachment: (_) => de_Attachment(_, context),
|
|
5990
|
+
Options: _json,
|
|
5991
|
+
TransportAttachmentId: __expectString,
|
|
5992
|
+
});
|
|
6249
5993
|
};
|
|
6250
5994
|
const de_Connection = (output, context) => {
|
|
6251
|
-
return {
|
|
6252
|
-
ConnectedDeviceId: __expectString
|
|
6253
|
-
ConnectedLinkId: __expectString
|
|
6254
|
-
ConnectionArn: __expectString
|
|
6255
|
-
ConnectionId: __expectString
|
|
6256
|
-
CreatedAt:
|
|
6257
|
-
Description: __expectString
|
|
6258
|
-
DeviceId: __expectString
|
|
6259
|
-
GlobalNetworkId: __expectString
|
|
6260
|
-
LinkId: __expectString
|
|
6261
|
-
State: __expectString
|
|
6262
|
-
Tags:
|
|
6263
|
-
};
|
|
5995
|
+
return take(output, {
|
|
5996
|
+
ConnectedDeviceId: __expectString,
|
|
5997
|
+
ConnectedLinkId: __expectString,
|
|
5998
|
+
ConnectionArn: __expectString,
|
|
5999
|
+
ConnectionId: __expectString,
|
|
6000
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6001
|
+
Description: __expectString,
|
|
6002
|
+
DeviceId: __expectString,
|
|
6003
|
+
GlobalNetworkId: __expectString,
|
|
6004
|
+
LinkId: __expectString,
|
|
6005
|
+
State: __expectString,
|
|
6006
|
+
Tags: _json,
|
|
6007
|
+
});
|
|
6264
6008
|
};
|
|
6265
6009
|
const de_ConnectionHealth = (output, context) => {
|
|
6266
|
-
return {
|
|
6267
|
-
Status: __expectString
|
|
6268
|
-
Timestamp:
|
|
6269
|
-
Type: __expectString
|
|
6270
|
-
};
|
|
6010
|
+
return take(output, {
|
|
6011
|
+
Status: __expectString,
|
|
6012
|
+
Timestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6013
|
+
Type: __expectString,
|
|
6014
|
+
});
|
|
6271
6015
|
};
|
|
6272
6016
|
const de_ConnectionList = (output, context) => {
|
|
6273
6017
|
const retVal = (output || [])
|
|
6274
6018
|
.filter((e) => e != null)
|
|
6275
6019
|
.map((entry) => {
|
|
6276
|
-
if (entry === null) {
|
|
6277
|
-
return null;
|
|
6278
|
-
}
|
|
6279
6020
|
return de_Connection(entry, context);
|
|
6280
6021
|
});
|
|
6281
6022
|
return retVal;
|
|
6282
6023
|
};
|
|
6283
6024
|
const de_ConnectPeer = (output, context) => {
|
|
6284
|
-
return {
|
|
6285
|
-
Configuration:
|
|
6286
|
-
ConnectAttachmentId: __expectString
|
|
6287
|
-
ConnectPeerId: __expectString
|
|
6288
|
-
CoreNetworkId: __expectString
|
|
6289
|
-
CreatedAt:
|
|
6290
|
-
EdgeLocation: __expectString
|
|
6291
|
-
State: __expectString
|
|
6292
|
-
Tags:
|
|
6293
|
-
};
|
|
6294
|
-
};
|
|
6295
|
-
const de_ConnectPeerAssociation = (output, context) => {
|
|
6296
|
-
return {
|
|
6297
|
-
ConnectPeerId: __expectString(output.ConnectPeerId),
|
|
6298
|
-
DeviceId: __expectString(output.DeviceId),
|
|
6299
|
-
GlobalNetworkId: __expectString(output.GlobalNetworkId),
|
|
6300
|
-
LinkId: __expectString(output.LinkId),
|
|
6301
|
-
State: __expectString(output.State),
|
|
6302
|
-
};
|
|
6303
|
-
};
|
|
6304
|
-
const de_ConnectPeerAssociationList = (output, context) => {
|
|
6305
|
-
const retVal = (output || [])
|
|
6306
|
-
.filter((e) => e != null)
|
|
6307
|
-
.map((entry) => {
|
|
6308
|
-
if (entry === null) {
|
|
6309
|
-
return null;
|
|
6310
|
-
}
|
|
6311
|
-
return de_ConnectPeerAssociation(entry, context);
|
|
6025
|
+
return take(output, {
|
|
6026
|
+
Configuration: _json,
|
|
6027
|
+
ConnectAttachmentId: __expectString,
|
|
6028
|
+
ConnectPeerId: __expectString,
|
|
6029
|
+
CoreNetworkId: __expectString,
|
|
6030
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6031
|
+
EdgeLocation: __expectString,
|
|
6032
|
+
State: __expectString,
|
|
6033
|
+
Tags: _json,
|
|
6312
6034
|
});
|
|
6313
|
-
return retVal;
|
|
6314
|
-
};
|
|
6315
|
-
const de_ConnectPeerBgpConfiguration = (output, context) => {
|
|
6316
|
-
return {
|
|
6317
|
-
CoreNetworkAddress: __expectString(output.CoreNetworkAddress),
|
|
6318
|
-
CoreNetworkAsn: __expectLong(output.CoreNetworkAsn),
|
|
6319
|
-
PeerAddress: __expectString(output.PeerAddress),
|
|
6320
|
-
PeerAsn: __expectLong(output.PeerAsn),
|
|
6321
|
-
};
|
|
6322
|
-
};
|
|
6323
|
-
const de_ConnectPeerBgpConfigurationList = (output, context) => {
|
|
6324
|
-
const retVal = (output || [])
|
|
6325
|
-
.filter((e) => e != null)
|
|
6326
|
-
.map((entry) => {
|
|
6327
|
-
if (entry === null) {
|
|
6328
|
-
return null;
|
|
6329
|
-
}
|
|
6330
|
-
return de_ConnectPeerBgpConfiguration(entry, context);
|
|
6331
|
-
});
|
|
6332
|
-
return retVal;
|
|
6333
|
-
};
|
|
6334
|
-
const de_ConnectPeerConfiguration = (output, context) => {
|
|
6335
|
-
return {
|
|
6336
|
-
BgpConfigurations: output.BgpConfigurations != null
|
|
6337
|
-
? de_ConnectPeerBgpConfigurationList(output.BgpConfigurations, context)
|
|
6338
|
-
: undefined,
|
|
6339
|
-
CoreNetworkAddress: __expectString(output.CoreNetworkAddress),
|
|
6340
|
-
InsideCidrBlocks: output.InsideCidrBlocks != null ? de_ConstrainedStringList(output.InsideCidrBlocks, context) : undefined,
|
|
6341
|
-
PeerAddress: __expectString(output.PeerAddress),
|
|
6342
|
-
Protocol: __expectString(output.Protocol),
|
|
6343
|
-
};
|
|
6344
6035
|
};
|
|
6345
6036
|
const de_ConnectPeerSummary = (output, context) => {
|
|
6346
|
-
return {
|
|
6347
|
-
ConnectAttachmentId: __expectString
|
|
6348
|
-
ConnectPeerId: __expectString
|
|
6349
|
-
ConnectPeerState: __expectString
|
|
6350
|
-
CoreNetworkId: __expectString
|
|
6351
|
-
CreatedAt:
|
|
6352
|
-
EdgeLocation: __expectString
|
|
6353
|
-
Tags:
|
|
6354
|
-
};
|
|
6037
|
+
return take(output, {
|
|
6038
|
+
ConnectAttachmentId: __expectString,
|
|
6039
|
+
ConnectPeerId: __expectString,
|
|
6040
|
+
ConnectPeerState: __expectString,
|
|
6041
|
+
CoreNetworkId: __expectString,
|
|
6042
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6043
|
+
EdgeLocation: __expectString,
|
|
6044
|
+
Tags: _json,
|
|
6045
|
+
});
|
|
6355
6046
|
};
|
|
6356
6047
|
const de_ConnectPeerSummaryList = (output, context) => {
|
|
6357
6048
|
const retVal = (output || [])
|
|
6358
6049
|
.filter((e) => e != null)
|
|
6359
6050
|
.map((entry) => {
|
|
6360
|
-
if (entry === null) {
|
|
6361
|
-
return null;
|
|
6362
|
-
}
|
|
6363
6051
|
return de_ConnectPeerSummary(entry, context);
|
|
6364
6052
|
});
|
|
6365
6053
|
return retVal;
|
|
6366
6054
|
};
|
|
6367
|
-
const de_ConstrainedStringList = (output, context) => {
|
|
6368
|
-
const retVal = (output || [])
|
|
6369
|
-
.filter((e) => e != null)
|
|
6370
|
-
.map((entry) => {
|
|
6371
|
-
if (entry === null) {
|
|
6372
|
-
return null;
|
|
6373
|
-
}
|
|
6374
|
-
return __expectString(entry);
|
|
6375
|
-
});
|
|
6376
|
-
return retVal;
|
|
6377
|
-
};
|
|
6378
6055
|
const de_CoreNetwork = (output, context) => {
|
|
6379
|
-
return {
|
|
6380
|
-
CoreNetworkArn: __expectString
|
|
6381
|
-
CoreNetworkId: __expectString
|
|
6382
|
-
CreatedAt:
|
|
6383
|
-
Description: __expectString
|
|
6384
|
-
Edges:
|
|
6385
|
-
GlobalNetworkId: __expectString
|
|
6386
|
-
Segments:
|
|
6387
|
-
State: __expectString
|
|
6388
|
-
Tags:
|
|
6389
|
-
};
|
|
6390
|
-
};
|
|
6391
|
-
const de_CoreNetworkChange = (output, context) => {
|
|
6392
|
-
return {
|
|
6393
|
-
Action: __expectString(output.Action),
|
|
6394
|
-
Identifier: __expectString(output.Identifier),
|
|
6395
|
-
IdentifierPath: __expectString(output.IdentifierPath),
|
|
6396
|
-
NewValues: output.NewValues != null ? de_CoreNetworkChangeValues(output.NewValues, context) : undefined,
|
|
6397
|
-
PreviousValues: output.PreviousValues != null ? de_CoreNetworkChangeValues(output.PreviousValues, context) : undefined,
|
|
6398
|
-
Type: __expectString(output.Type),
|
|
6399
|
-
};
|
|
6056
|
+
return take(output, {
|
|
6057
|
+
CoreNetworkArn: __expectString,
|
|
6058
|
+
CoreNetworkId: __expectString,
|
|
6059
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6060
|
+
Description: __expectString,
|
|
6061
|
+
Edges: _json,
|
|
6062
|
+
GlobalNetworkId: __expectString,
|
|
6063
|
+
Segments: _json,
|
|
6064
|
+
State: __expectString,
|
|
6065
|
+
Tags: _json,
|
|
6066
|
+
});
|
|
6400
6067
|
};
|
|
6401
6068
|
const de_CoreNetworkChangeEvent = (output, context) => {
|
|
6402
|
-
return {
|
|
6403
|
-
Action: __expectString
|
|
6404
|
-
EventTime:
|
|
6405
|
-
IdentifierPath: __expectString
|
|
6406
|
-
Status: __expectString
|
|
6407
|
-
Type: __expectString
|
|
6408
|
-
Values:
|
|
6409
|
-
};
|
|
6069
|
+
return take(output, {
|
|
6070
|
+
Action: __expectString,
|
|
6071
|
+
EventTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6072
|
+
IdentifierPath: __expectString,
|
|
6073
|
+
Status: __expectString,
|
|
6074
|
+
Type: __expectString,
|
|
6075
|
+
Values: _json,
|
|
6076
|
+
});
|
|
6410
6077
|
};
|
|
6411
6078
|
const de_CoreNetworkChangeEventList = (output, context) => {
|
|
6412
6079
|
const retVal = (output || [])
|
|
6413
6080
|
.filter((e) => e != null)
|
|
6414
6081
|
.map((entry) => {
|
|
6415
|
-
if (entry === null) {
|
|
6416
|
-
return null;
|
|
6417
|
-
}
|
|
6418
6082
|
return de_CoreNetworkChangeEvent(entry, context);
|
|
6419
6083
|
});
|
|
6420
6084
|
return retVal;
|
|
6421
6085
|
};
|
|
6422
|
-
const de_CoreNetworkChangeEventValues = (output, context) => {
|
|
6423
|
-
return {
|
|
6424
|
-
AttachmentId: __expectString(output.AttachmentId),
|
|
6425
|
-
Cidr: __expectString(output.Cidr),
|
|
6426
|
-
EdgeLocation: __expectString(output.EdgeLocation),
|
|
6427
|
-
SegmentName: __expectString(output.SegmentName),
|
|
6428
|
-
};
|
|
6429
|
-
};
|
|
6430
|
-
const de_CoreNetworkChangeList = (output, context) => {
|
|
6431
|
-
const retVal = (output || [])
|
|
6432
|
-
.filter((e) => e != null)
|
|
6433
|
-
.map((entry) => {
|
|
6434
|
-
if (entry === null) {
|
|
6435
|
-
return null;
|
|
6436
|
-
}
|
|
6437
|
-
return de_CoreNetworkChange(entry, context);
|
|
6438
|
-
});
|
|
6439
|
-
return retVal;
|
|
6440
|
-
};
|
|
6441
|
-
const de_CoreNetworkChangeValues = (output, context) => {
|
|
6442
|
-
return {
|
|
6443
|
-
Asn: __expectLong(output.Asn),
|
|
6444
|
-
Cidr: __expectString(output.Cidr),
|
|
6445
|
-
DestinationIdentifier: __expectString(output.DestinationIdentifier),
|
|
6446
|
-
EdgeLocations: output.EdgeLocations != null ? de_ExternalRegionCodeList(output.EdgeLocations, context) : undefined,
|
|
6447
|
-
InsideCidrBlocks: output.InsideCidrBlocks != null ? de_ConstrainedStringList(output.InsideCidrBlocks, context) : undefined,
|
|
6448
|
-
SegmentName: __expectString(output.SegmentName),
|
|
6449
|
-
SharedSegments: output.SharedSegments != null ? de_ConstrainedStringList(output.SharedSegments, context) : undefined,
|
|
6450
|
-
};
|
|
6451
|
-
};
|
|
6452
|
-
const de_CoreNetworkEdge = (output, context) => {
|
|
6453
|
-
return {
|
|
6454
|
-
Asn: __expectLong(output.Asn),
|
|
6455
|
-
EdgeLocation: __expectString(output.EdgeLocation),
|
|
6456
|
-
InsideCidrBlocks: output.InsideCidrBlocks != null ? de_ConstrainedStringList(output.InsideCidrBlocks, context) : undefined,
|
|
6457
|
-
};
|
|
6458
|
-
};
|
|
6459
|
-
const de_CoreNetworkEdgeList = (output, context) => {
|
|
6460
|
-
const retVal = (output || [])
|
|
6461
|
-
.filter((e) => e != null)
|
|
6462
|
-
.map((entry) => {
|
|
6463
|
-
if (entry === null) {
|
|
6464
|
-
return null;
|
|
6465
|
-
}
|
|
6466
|
-
return de_CoreNetworkEdge(entry, context);
|
|
6467
|
-
});
|
|
6468
|
-
return retVal;
|
|
6469
|
-
};
|
|
6470
6086
|
const de_CoreNetworkPolicy = (output, context) => {
|
|
6471
|
-
return {
|
|
6472
|
-
Alias: __expectString
|
|
6473
|
-
ChangeSetState: __expectString
|
|
6474
|
-
CoreNetworkId: __expectString
|
|
6475
|
-
CreatedAt:
|
|
6476
|
-
Description: __expectString
|
|
6477
|
-
PolicyDocument:
|
|
6478
|
-
PolicyErrors:
|
|
6479
|
-
PolicyVersionId: __expectInt32
|
|
6480
|
-
};
|
|
6481
|
-
};
|
|
6482
|
-
const de_CoreNetworkPolicyError = (output, context) => {
|
|
6483
|
-
return {
|
|
6484
|
-
ErrorCode: __expectString(output.ErrorCode),
|
|
6485
|
-
Message: __expectString(output.Message),
|
|
6486
|
-
Path: __expectString(output.Path),
|
|
6487
|
-
};
|
|
6488
|
-
};
|
|
6489
|
-
const de_CoreNetworkPolicyErrorList = (output, context) => {
|
|
6490
|
-
const retVal = (output || [])
|
|
6491
|
-
.filter((e) => e != null)
|
|
6492
|
-
.map((entry) => {
|
|
6493
|
-
if (entry === null) {
|
|
6494
|
-
return null;
|
|
6495
|
-
}
|
|
6496
|
-
return de_CoreNetworkPolicyError(entry, context);
|
|
6087
|
+
return take(output, {
|
|
6088
|
+
Alias: __expectString,
|
|
6089
|
+
ChangeSetState: __expectString,
|
|
6090
|
+
CoreNetworkId: __expectString,
|
|
6091
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6092
|
+
Description: __expectString,
|
|
6093
|
+
PolicyDocument: (_) => new __LazyJsonString(_),
|
|
6094
|
+
PolicyErrors: _json,
|
|
6095
|
+
PolicyVersionId: __expectInt32,
|
|
6497
6096
|
});
|
|
6498
|
-
return retVal;
|
|
6499
6097
|
};
|
|
6500
6098
|
const de_CoreNetworkPolicyVersion = (output, context) => {
|
|
6501
|
-
return {
|
|
6502
|
-
Alias: __expectString
|
|
6503
|
-
ChangeSetState: __expectString
|
|
6504
|
-
CoreNetworkId: __expectString
|
|
6505
|
-
CreatedAt:
|
|
6506
|
-
Description: __expectString
|
|
6507
|
-
PolicyVersionId: __expectInt32
|
|
6508
|
-
};
|
|
6099
|
+
return take(output, {
|
|
6100
|
+
Alias: __expectString,
|
|
6101
|
+
ChangeSetState: __expectString,
|
|
6102
|
+
CoreNetworkId: __expectString,
|
|
6103
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6104
|
+
Description: __expectString,
|
|
6105
|
+
PolicyVersionId: __expectInt32,
|
|
6106
|
+
});
|
|
6509
6107
|
};
|
|
6510
6108
|
const de_CoreNetworkPolicyVersionList = (output, context) => {
|
|
6511
6109
|
const retVal = (output || [])
|
|
6512
6110
|
.filter((e) => e != null)
|
|
6513
6111
|
.map((entry) => {
|
|
6514
|
-
if (entry === null) {
|
|
6515
|
-
return null;
|
|
6516
|
-
}
|
|
6517
6112
|
return de_CoreNetworkPolicyVersion(entry, context);
|
|
6518
6113
|
});
|
|
6519
6114
|
return retVal;
|
|
6520
6115
|
};
|
|
6521
|
-
const de_CoreNetworkSegment = (output, context) => {
|
|
6522
|
-
return {
|
|
6523
|
-
EdgeLocations: output.EdgeLocations != null ? de_ExternalRegionCodeList(output.EdgeLocations, context) : undefined,
|
|
6524
|
-
Name: __expectString(output.Name),
|
|
6525
|
-
SharedSegments: output.SharedSegments != null ? de_ConstrainedStringList(output.SharedSegments, context) : undefined,
|
|
6526
|
-
};
|
|
6527
|
-
};
|
|
6528
|
-
const de_CoreNetworkSegmentEdgeIdentifier = (output, context) => {
|
|
6529
|
-
return {
|
|
6530
|
-
CoreNetworkId: __expectString(output.CoreNetworkId),
|
|
6531
|
-
EdgeLocation: __expectString(output.EdgeLocation),
|
|
6532
|
-
SegmentName: __expectString(output.SegmentName),
|
|
6533
|
-
};
|
|
6534
|
-
};
|
|
6535
|
-
const de_CoreNetworkSegmentList = (output, context) => {
|
|
6536
|
-
const retVal = (output || [])
|
|
6537
|
-
.filter((e) => e != null)
|
|
6538
|
-
.map((entry) => {
|
|
6539
|
-
if (entry === null) {
|
|
6540
|
-
return null;
|
|
6541
|
-
}
|
|
6542
|
-
return de_CoreNetworkSegment(entry, context);
|
|
6543
|
-
});
|
|
6544
|
-
return retVal;
|
|
6545
|
-
};
|
|
6546
|
-
const de_CoreNetworkSummary = (output, context) => {
|
|
6547
|
-
return {
|
|
6548
|
-
CoreNetworkArn: __expectString(output.CoreNetworkArn),
|
|
6549
|
-
CoreNetworkId: __expectString(output.CoreNetworkId),
|
|
6550
|
-
Description: __expectString(output.Description),
|
|
6551
|
-
GlobalNetworkId: __expectString(output.GlobalNetworkId),
|
|
6552
|
-
OwnerAccountId: __expectString(output.OwnerAccountId),
|
|
6553
|
-
State: __expectString(output.State),
|
|
6554
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
6555
|
-
};
|
|
6556
|
-
};
|
|
6557
|
-
const de_CoreNetworkSummaryList = (output, context) => {
|
|
6558
|
-
const retVal = (output || [])
|
|
6559
|
-
.filter((e) => e != null)
|
|
6560
|
-
.map((entry) => {
|
|
6561
|
-
if (entry === null) {
|
|
6562
|
-
return null;
|
|
6563
|
-
}
|
|
6564
|
-
return de_CoreNetworkSummary(entry, context);
|
|
6565
|
-
});
|
|
6566
|
-
return retVal;
|
|
6567
|
-
};
|
|
6568
|
-
const de_CustomerGatewayAssociation = (output, context) => {
|
|
6569
|
-
return {
|
|
6570
|
-
CustomerGatewayArn: __expectString(output.CustomerGatewayArn),
|
|
6571
|
-
DeviceId: __expectString(output.DeviceId),
|
|
6572
|
-
GlobalNetworkId: __expectString(output.GlobalNetworkId),
|
|
6573
|
-
LinkId: __expectString(output.LinkId),
|
|
6574
|
-
State: __expectString(output.State),
|
|
6575
|
-
};
|
|
6576
|
-
};
|
|
6577
|
-
const de_CustomerGatewayAssociationList = (output, context) => {
|
|
6578
|
-
const retVal = (output || [])
|
|
6579
|
-
.filter((e) => e != null)
|
|
6580
|
-
.map((entry) => {
|
|
6581
|
-
if (entry === null) {
|
|
6582
|
-
return null;
|
|
6583
|
-
}
|
|
6584
|
-
return de_CustomerGatewayAssociation(entry, context);
|
|
6585
|
-
});
|
|
6586
|
-
return retVal;
|
|
6587
|
-
};
|
|
6588
6116
|
const de_Device = (output, context) => {
|
|
6589
|
-
return {
|
|
6590
|
-
AWSLocation:
|
|
6591
|
-
CreatedAt:
|
|
6592
|
-
Description: __expectString
|
|
6593
|
-
DeviceArn: __expectString
|
|
6594
|
-
DeviceId: __expectString
|
|
6595
|
-
GlobalNetworkId: __expectString
|
|
6596
|
-
Location:
|
|
6597
|
-
Model: __expectString
|
|
6598
|
-
SerialNumber: __expectString
|
|
6599
|
-
SiteId: __expectString
|
|
6600
|
-
State: __expectString
|
|
6601
|
-
Tags:
|
|
6602
|
-
Type: __expectString
|
|
6603
|
-
Vendor: __expectString
|
|
6604
|
-
};
|
|
6117
|
+
return take(output, {
|
|
6118
|
+
AWSLocation: _json,
|
|
6119
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6120
|
+
Description: __expectString,
|
|
6121
|
+
DeviceArn: __expectString,
|
|
6122
|
+
DeviceId: __expectString,
|
|
6123
|
+
GlobalNetworkId: __expectString,
|
|
6124
|
+
Location: _json,
|
|
6125
|
+
Model: __expectString,
|
|
6126
|
+
SerialNumber: __expectString,
|
|
6127
|
+
SiteId: __expectString,
|
|
6128
|
+
State: __expectString,
|
|
6129
|
+
Tags: _json,
|
|
6130
|
+
Type: __expectString,
|
|
6131
|
+
Vendor: __expectString,
|
|
6132
|
+
});
|
|
6605
6133
|
};
|
|
6606
6134
|
const de_DeviceList = (output, context) => {
|
|
6607
6135
|
const retVal = (output || [])
|
|
6608
6136
|
.filter((e) => e != null)
|
|
6609
6137
|
.map((entry) => {
|
|
6610
|
-
if (entry === null) {
|
|
6611
|
-
return null;
|
|
6612
|
-
}
|
|
6613
6138
|
return de_Device(entry, context);
|
|
6614
6139
|
});
|
|
6615
6140
|
return retVal;
|
|
6616
6141
|
};
|
|
6617
|
-
const de_ExceptionContextMap = (output, context) => {
|
|
6618
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
6619
|
-
if (value === null) {
|
|
6620
|
-
return acc;
|
|
6621
|
-
}
|
|
6622
|
-
acc[key] = __expectString(value);
|
|
6623
|
-
return acc;
|
|
6624
|
-
}, {});
|
|
6625
|
-
};
|
|
6626
|
-
const de_ExternalRegionCodeList = (output, context) => {
|
|
6627
|
-
const retVal = (output || [])
|
|
6628
|
-
.filter((e) => e != null)
|
|
6629
|
-
.map((entry) => {
|
|
6630
|
-
if (entry === null) {
|
|
6631
|
-
return null;
|
|
6632
|
-
}
|
|
6633
|
-
return __expectString(entry);
|
|
6634
|
-
});
|
|
6635
|
-
return retVal;
|
|
6636
|
-
};
|
|
6637
6142
|
const de_GlobalNetwork = (output, context) => {
|
|
6638
|
-
return {
|
|
6639
|
-
CreatedAt:
|
|
6640
|
-
Description: __expectString
|
|
6641
|
-
GlobalNetworkArn: __expectString
|
|
6642
|
-
GlobalNetworkId: __expectString
|
|
6643
|
-
State: __expectString
|
|
6644
|
-
Tags:
|
|
6645
|
-
};
|
|
6143
|
+
return take(output, {
|
|
6144
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6145
|
+
Description: __expectString,
|
|
6146
|
+
GlobalNetworkArn: __expectString,
|
|
6147
|
+
GlobalNetworkId: __expectString,
|
|
6148
|
+
State: __expectString,
|
|
6149
|
+
Tags: _json,
|
|
6150
|
+
});
|
|
6646
6151
|
};
|
|
6647
6152
|
const de_GlobalNetworkList = (output, context) => {
|
|
6648
6153
|
const retVal = (output || [])
|
|
6649
6154
|
.filter((e) => e != null)
|
|
6650
6155
|
.map((entry) => {
|
|
6651
|
-
if (entry === null) {
|
|
6652
|
-
return null;
|
|
6653
|
-
}
|
|
6654
6156
|
return de_GlobalNetwork(entry, context);
|
|
6655
6157
|
});
|
|
6656
6158
|
return retVal;
|
|
6657
6159
|
};
|
|
6658
6160
|
const de_Link = (output, context) => {
|
|
6659
|
-
return {
|
|
6660
|
-
Bandwidth:
|
|
6661
|
-
CreatedAt:
|
|
6662
|
-
Description: __expectString
|
|
6663
|
-
GlobalNetworkId: __expectString
|
|
6664
|
-
LinkArn: __expectString
|
|
6665
|
-
LinkId: __expectString
|
|
6666
|
-
Provider: __expectString
|
|
6667
|
-
SiteId: __expectString
|
|
6668
|
-
State: __expectString
|
|
6669
|
-
Tags:
|
|
6670
|
-
Type: __expectString
|
|
6671
|
-
};
|
|
6672
|
-
};
|
|
6673
|
-
const de_LinkAssociation = (output, context) => {
|
|
6674
|
-
return {
|
|
6675
|
-
DeviceId: __expectString(output.DeviceId),
|
|
6676
|
-
GlobalNetworkId: __expectString(output.GlobalNetworkId),
|
|
6677
|
-
LinkAssociationState: __expectString(output.LinkAssociationState),
|
|
6678
|
-
LinkId: __expectString(output.LinkId),
|
|
6679
|
-
};
|
|
6680
|
-
};
|
|
6681
|
-
const de_LinkAssociationList = (output, context) => {
|
|
6682
|
-
const retVal = (output || [])
|
|
6683
|
-
.filter((e) => e != null)
|
|
6684
|
-
.map((entry) => {
|
|
6685
|
-
if (entry === null) {
|
|
6686
|
-
return null;
|
|
6687
|
-
}
|
|
6688
|
-
return de_LinkAssociation(entry, context);
|
|
6161
|
+
return take(output, {
|
|
6162
|
+
Bandwidth: _json,
|
|
6163
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6164
|
+
Description: __expectString,
|
|
6165
|
+
GlobalNetworkId: __expectString,
|
|
6166
|
+
LinkArn: __expectString,
|
|
6167
|
+
LinkId: __expectString,
|
|
6168
|
+
Provider: __expectString,
|
|
6169
|
+
SiteId: __expectString,
|
|
6170
|
+
State: __expectString,
|
|
6171
|
+
Tags: _json,
|
|
6172
|
+
Type: __expectString,
|
|
6689
6173
|
});
|
|
6690
|
-
return retVal;
|
|
6691
6174
|
};
|
|
6692
6175
|
const de_LinkList = (output, context) => {
|
|
6693
6176
|
const retVal = (output || [])
|
|
6694
6177
|
.filter((e) => e != null)
|
|
6695
6178
|
.map((entry) => {
|
|
6696
|
-
if (entry === null) {
|
|
6697
|
-
return null;
|
|
6698
|
-
}
|
|
6699
6179
|
return de_Link(entry, context);
|
|
6700
6180
|
});
|
|
6701
6181
|
return retVal;
|
|
6702
6182
|
};
|
|
6703
|
-
const de_Location = (output, context) => {
|
|
6704
|
-
return {
|
|
6705
|
-
Address: __expectString(output.Address),
|
|
6706
|
-
Latitude: __expectString(output.Latitude),
|
|
6707
|
-
Longitude: __expectString(output.Longitude),
|
|
6708
|
-
};
|
|
6709
|
-
};
|
|
6710
6183
|
const de_NetworkResource = (output, context) => {
|
|
6711
|
-
return {
|
|
6712
|
-
AccountId: __expectString
|
|
6713
|
-
AwsRegion: __expectString
|
|
6714
|
-
CoreNetworkId: __expectString
|
|
6715
|
-
Definition: __expectString
|
|
6716
|
-
DefinitionTimestamp:
|
|
6717
|
-
|
|
6718
|
-
|
|
6719
|
-
|
|
6720
|
-
|
|
6721
|
-
|
|
6722
|
-
|
|
6723
|
-
ResourceType: __expectString(output.ResourceType),
|
|
6724
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
6725
|
-
};
|
|
6726
|
-
};
|
|
6727
|
-
const de_NetworkResourceCount = (output, context) => {
|
|
6728
|
-
return {
|
|
6729
|
-
Count: __expectInt32(output.Count),
|
|
6730
|
-
ResourceType: __expectString(output.ResourceType),
|
|
6731
|
-
};
|
|
6732
|
-
};
|
|
6733
|
-
const de_NetworkResourceCountList = (output, context) => {
|
|
6734
|
-
const retVal = (output || [])
|
|
6735
|
-
.filter((e) => e != null)
|
|
6736
|
-
.map((entry) => {
|
|
6737
|
-
if (entry === null) {
|
|
6738
|
-
return null;
|
|
6739
|
-
}
|
|
6740
|
-
return de_NetworkResourceCount(entry, context);
|
|
6184
|
+
return take(output, {
|
|
6185
|
+
AccountId: __expectString,
|
|
6186
|
+
AwsRegion: __expectString,
|
|
6187
|
+
CoreNetworkId: __expectString,
|
|
6188
|
+
Definition: __expectString,
|
|
6189
|
+
DefinitionTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6190
|
+
Metadata: _json,
|
|
6191
|
+
RegisteredGatewayArn: __expectString,
|
|
6192
|
+
ResourceArn: __expectString,
|
|
6193
|
+
ResourceId: __expectString,
|
|
6194
|
+
ResourceType: __expectString,
|
|
6195
|
+
Tags: _json,
|
|
6741
6196
|
});
|
|
6742
|
-
return retVal;
|
|
6743
6197
|
};
|
|
6744
6198
|
const de_NetworkResourceList = (output, context) => {
|
|
6745
6199
|
const retVal = (output || [])
|
|
6746
6200
|
.filter((e) => e != null)
|
|
6747
6201
|
.map((entry) => {
|
|
6748
|
-
if (entry === null) {
|
|
6749
|
-
return null;
|
|
6750
|
-
}
|
|
6751
6202
|
return de_NetworkResource(entry, context);
|
|
6752
6203
|
});
|
|
6753
6204
|
return retVal;
|
|
6754
6205
|
};
|
|
6755
|
-
const de_NetworkResourceMetadataMap = (output, context) => {
|
|
6756
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
6757
|
-
if (value === null) {
|
|
6758
|
-
return acc;
|
|
6759
|
-
}
|
|
6760
|
-
acc[key] = __expectString(value);
|
|
6761
|
-
return acc;
|
|
6762
|
-
}, {});
|
|
6763
|
-
};
|
|
6764
|
-
const de_NetworkResourceSummary = (output, context) => {
|
|
6765
|
-
return {
|
|
6766
|
-
Definition: __expectString(output.Definition),
|
|
6767
|
-
IsMiddlebox: __expectBoolean(output.IsMiddlebox),
|
|
6768
|
-
NameTag: __expectString(output.NameTag),
|
|
6769
|
-
RegisteredGatewayArn: __expectString(output.RegisteredGatewayArn),
|
|
6770
|
-
ResourceArn: __expectString(output.ResourceArn),
|
|
6771
|
-
ResourceType: __expectString(output.ResourceType),
|
|
6772
|
-
};
|
|
6773
|
-
};
|
|
6774
|
-
const de_NetworkRoute = (output, context) => {
|
|
6775
|
-
return {
|
|
6776
|
-
DestinationCidrBlock: __expectString(output.DestinationCidrBlock),
|
|
6777
|
-
Destinations: output.Destinations != null ? de_NetworkRouteDestinationList(output.Destinations, context) : undefined,
|
|
6778
|
-
PrefixListId: __expectString(output.PrefixListId),
|
|
6779
|
-
State: __expectString(output.State),
|
|
6780
|
-
Type: __expectString(output.Type),
|
|
6781
|
-
};
|
|
6782
|
-
};
|
|
6783
|
-
const de_NetworkRouteDestination = (output, context) => {
|
|
6784
|
-
return {
|
|
6785
|
-
CoreNetworkAttachmentId: __expectString(output.CoreNetworkAttachmentId),
|
|
6786
|
-
EdgeLocation: __expectString(output.EdgeLocation),
|
|
6787
|
-
ResourceId: __expectString(output.ResourceId),
|
|
6788
|
-
ResourceType: __expectString(output.ResourceType),
|
|
6789
|
-
SegmentName: __expectString(output.SegmentName),
|
|
6790
|
-
TransitGatewayAttachmentId: __expectString(output.TransitGatewayAttachmentId),
|
|
6791
|
-
};
|
|
6792
|
-
};
|
|
6793
|
-
const de_NetworkRouteDestinationList = (output, context) => {
|
|
6794
|
-
const retVal = (output || [])
|
|
6795
|
-
.filter((e) => e != null)
|
|
6796
|
-
.map((entry) => {
|
|
6797
|
-
if (entry === null) {
|
|
6798
|
-
return null;
|
|
6799
|
-
}
|
|
6800
|
-
return de_NetworkRouteDestination(entry, context);
|
|
6801
|
-
});
|
|
6802
|
-
return retVal;
|
|
6803
|
-
};
|
|
6804
|
-
const de_NetworkRouteList = (output, context) => {
|
|
6805
|
-
const retVal = (output || [])
|
|
6806
|
-
.filter((e) => e != null)
|
|
6807
|
-
.map((entry) => {
|
|
6808
|
-
if (entry === null) {
|
|
6809
|
-
return null;
|
|
6810
|
-
}
|
|
6811
|
-
return de_NetworkRoute(entry, context);
|
|
6812
|
-
});
|
|
6813
|
-
return retVal;
|
|
6814
|
-
};
|
|
6815
6206
|
const de_NetworkTelemetry = (output, context) => {
|
|
6816
|
-
return {
|
|
6817
|
-
AccountId: __expectString
|
|
6818
|
-
Address: __expectString
|
|
6819
|
-
AwsRegion: __expectString
|
|
6820
|
-
CoreNetworkId: __expectString
|
|
6821
|
-
Health:
|
|
6822
|
-
RegisteredGatewayArn: __expectString
|
|
6823
|
-
ResourceArn: __expectString
|
|
6824
|
-
ResourceId: __expectString
|
|
6825
|
-
ResourceType: __expectString
|
|
6826
|
-
};
|
|
6207
|
+
return take(output, {
|
|
6208
|
+
AccountId: __expectString,
|
|
6209
|
+
Address: __expectString,
|
|
6210
|
+
AwsRegion: __expectString,
|
|
6211
|
+
CoreNetworkId: __expectString,
|
|
6212
|
+
Health: (_) => de_ConnectionHealth(_, context),
|
|
6213
|
+
RegisteredGatewayArn: __expectString,
|
|
6214
|
+
ResourceArn: __expectString,
|
|
6215
|
+
ResourceId: __expectString,
|
|
6216
|
+
ResourceType: __expectString,
|
|
6217
|
+
});
|
|
6827
6218
|
};
|
|
6828
6219
|
const de_NetworkTelemetryList = (output, context) => {
|
|
6829
6220
|
const retVal = (output || [])
|
|
6830
6221
|
.filter((e) => e != null)
|
|
6831
6222
|
.map((entry) => {
|
|
6832
|
-
if (entry === null) {
|
|
6833
|
-
return null;
|
|
6834
|
-
}
|
|
6835
6223
|
return de_NetworkTelemetry(entry, context);
|
|
6836
6224
|
});
|
|
6837
6225
|
return retVal;
|
|
6838
6226
|
};
|
|
6839
|
-
const de_OrganizationStatus = (output, context) => {
|
|
6840
|
-
return {
|
|
6841
|
-
AccountStatusList: output.AccountStatusList != null ? de_AccountStatusList(output.AccountStatusList, context) : undefined,
|
|
6842
|
-
OrganizationAwsServiceAccessStatus: __expectString(output.OrganizationAwsServiceAccessStatus),
|
|
6843
|
-
OrganizationId: __expectString(output.OrganizationId),
|
|
6844
|
-
SLRDeploymentStatus: __expectString(output.SLRDeploymentStatus),
|
|
6845
|
-
};
|
|
6846
|
-
};
|
|
6847
|
-
const de_PathComponent = (output, context) => {
|
|
6848
|
-
return {
|
|
6849
|
-
DestinationCidrBlock: __expectString(output.DestinationCidrBlock),
|
|
6850
|
-
Resource: output.Resource != null ? de_NetworkResourceSummary(output.Resource, context) : undefined,
|
|
6851
|
-
Sequence: __expectInt32(output.Sequence),
|
|
6852
|
-
};
|
|
6853
|
-
};
|
|
6854
|
-
const de_PathComponentList = (output, context) => {
|
|
6855
|
-
const retVal = (output || [])
|
|
6856
|
-
.filter((e) => e != null)
|
|
6857
|
-
.map((entry) => {
|
|
6858
|
-
if (entry === null) {
|
|
6859
|
-
return null;
|
|
6860
|
-
}
|
|
6861
|
-
return de_PathComponent(entry, context);
|
|
6862
|
-
});
|
|
6863
|
-
return retVal;
|
|
6864
|
-
};
|
|
6865
6227
|
const de_Peering = (output, context) => {
|
|
6866
|
-
return {
|
|
6867
|
-
CoreNetworkArn: __expectString
|
|
6868
|
-
CoreNetworkId: __expectString
|
|
6869
|
-
CreatedAt:
|
|
6870
|
-
EdgeLocation: __expectString
|
|
6871
|
-
OwnerAccountId: __expectString
|
|
6872
|
-
PeeringId: __expectString
|
|
6873
|
-
PeeringType: __expectString
|
|
6874
|
-
ResourceArn: __expectString
|
|
6875
|
-
State: __expectString
|
|
6876
|
-
Tags:
|
|
6877
|
-
};
|
|
6228
|
+
return take(output, {
|
|
6229
|
+
CoreNetworkArn: __expectString,
|
|
6230
|
+
CoreNetworkId: __expectString,
|
|
6231
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6232
|
+
EdgeLocation: __expectString,
|
|
6233
|
+
OwnerAccountId: __expectString,
|
|
6234
|
+
PeeringId: __expectString,
|
|
6235
|
+
PeeringType: __expectString,
|
|
6236
|
+
ResourceArn: __expectString,
|
|
6237
|
+
State: __expectString,
|
|
6238
|
+
Tags: _json,
|
|
6239
|
+
});
|
|
6878
6240
|
};
|
|
6879
6241
|
const de_PeeringList = (output, context) => {
|
|
6880
6242
|
const retVal = (output || [])
|
|
6881
6243
|
.filter((e) => e != null)
|
|
6882
6244
|
.map((entry) => {
|
|
6883
|
-
if (entry === null) {
|
|
6884
|
-
return null;
|
|
6885
|
-
}
|
|
6886
6245
|
return de_Peering(entry, context);
|
|
6887
6246
|
});
|
|
6888
6247
|
return retVal;
|
|
6889
6248
|
};
|
|
6890
|
-
const de_ProposedSegmentChange = (output, context) => {
|
|
6891
|
-
return {
|
|
6892
|
-
AttachmentPolicyRuleNumber: __expectInt32(output.AttachmentPolicyRuleNumber),
|
|
6893
|
-
SegmentName: __expectString(output.SegmentName),
|
|
6894
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
6895
|
-
};
|
|
6896
|
-
};
|
|
6897
|
-
const de_ReasonContextMap = (output, context) => {
|
|
6898
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
6899
|
-
if (value === null) {
|
|
6900
|
-
return acc;
|
|
6901
|
-
}
|
|
6902
|
-
acc[key] = __expectString(value);
|
|
6903
|
-
return acc;
|
|
6904
|
-
}, {});
|
|
6905
|
-
};
|
|
6906
|
-
const de_Relationship = (output, context) => {
|
|
6907
|
-
return {
|
|
6908
|
-
From: __expectString(output.From),
|
|
6909
|
-
To: __expectString(output.To),
|
|
6910
|
-
};
|
|
6911
|
-
};
|
|
6912
|
-
const de_RelationshipList = (output, context) => {
|
|
6913
|
-
const retVal = (output || [])
|
|
6914
|
-
.filter((e) => e != null)
|
|
6915
|
-
.map((entry) => {
|
|
6916
|
-
if (entry === null) {
|
|
6917
|
-
return null;
|
|
6918
|
-
}
|
|
6919
|
-
return de_Relationship(entry, context);
|
|
6920
|
-
});
|
|
6921
|
-
return retVal;
|
|
6922
|
-
};
|
|
6923
6249
|
const de_RouteAnalysis = (output, context) => {
|
|
6924
|
-
return {
|
|
6925
|
-
Destination:
|
|
6926
|
-
ForwardPath:
|
|
6927
|
-
GlobalNetworkId: __expectString
|
|
6928
|
-
IncludeReturnPath: __expectBoolean
|
|
6929
|
-
OwnerAccountId: __expectString
|
|
6930
|
-
ReturnPath:
|
|
6931
|
-
RouteAnalysisId: __expectString
|
|
6932
|
-
Source:
|
|
6933
|
-
StartTimestamp:
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
UseMiddleboxes: __expectBoolean(output.UseMiddleboxes),
|
|
6938
|
-
};
|
|
6939
|
-
};
|
|
6940
|
-
const de_RouteAnalysisCompletion = (output, context) => {
|
|
6941
|
-
return {
|
|
6942
|
-
ReasonCode: __expectString(output.ReasonCode),
|
|
6943
|
-
ReasonContext: output.ReasonContext != null ? de_ReasonContextMap(output.ReasonContext, context) : undefined,
|
|
6944
|
-
ResultCode: __expectString(output.ResultCode),
|
|
6945
|
-
};
|
|
6946
|
-
};
|
|
6947
|
-
const de_RouteAnalysisEndpointOptions = (output, context) => {
|
|
6948
|
-
return {
|
|
6949
|
-
IpAddress: __expectString(output.IpAddress),
|
|
6950
|
-
TransitGatewayArn: __expectString(output.TransitGatewayArn),
|
|
6951
|
-
TransitGatewayAttachmentArn: __expectString(output.TransitGatewayAttachmentArn),
|
|
6952
|
-
};
|
|
6953
|
-
};
|
|
6954
|
-
const de_RouteAnalysisPath = (output, context) => {
|
|
6955
|
-
return {
|
|
6956
|
-
CompletionStatus: output.CompletionStatus != null ? de_RouteAnalysisCompletion(output.CompletionStatus, context) : undefined,
|
|
6957
|
-
Path: output.Path != null ? de_PathComponentList(output.Path, context) : undefined,
|
|
6958
|
-
};
|
|
6250
|
+
return take(output, {
|
|
6251
|
+
Destination: _json,
|
|
6252
|
+
ForwardPath: _json,
|
|
6253
|
+
GlobalNetworkId: __expectString,
|
|
6254
|
+
IncludeReturnPath: __expectBoolean,
|
|
6255
|
+
OwnerAccountId: __expectString,
|
|
6256
|
+
ReturnPath: _json,
|
|
6257
|
+
RouteAnalysisId: __expectString,
|
|
6258
|
+
Source: _json,
|
|
6259
|
+
StartTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6260
|
+
Status: __expectString,
|
|
6261
|
+
UseMiddleboxes: __expectBoolean,
|
|
6262
|
+
});
|
|
6959
6263
|
};
|
|
6960
6264
|
const de_Site = (output, context) => {
|
|
6961
|
-
return {
|
|
6962
|
-
CreatedAt:
|
|
6963
|
-
Description: __expectString
|
|
6964
|
-
GlobalNetworkId: __expectString
|
|
6965
|
-
Location:
|
|
6966
|
-
SiteArn: __expectString
|
|
6967
|
-
SiteId: __expectString
|
|
6968
|
-
State: __expectString
|
|
6969
|
-
Tags:
|
|
6970
|
-
};
|
|
6265
|
+
return take(output, {
|
|
6266
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6267
|
+
Description: __expectString,
|
|
6268
|
+
GlobalNetworkId: __expectString,
|
|
6269
|
+
Location: _json,
|
|
6270
|
+
SiteArn: __expectString,
|
|
6271
|
+
SiteId: __expectString,
|
|
6272
|
+
State: __expectString,
|
|
6273
|
+
Tags: _json,
|
|
6274
|
+
});
|
|
6971
6275
|
};
|
|
6972
6276
|
const de_SiteList = (output, context) => {
|
|
6973
6277
|
const retVal = (output || [])
|
|
6974
6278
|
.filter((e) => e != null)
|
|
6975
6279
|
.map((entry) => {
|
|
6976
|
-
if (entry === null) {
|
|
6977
|
-
return null;
|
|
6978
|
-
}
|
|
6979
6280
|
return de_Site(entry, context);
|
|
6980
6281
|
});
|
|
6981
6282
|
return retVal;
|
|
6982
6283
|
};
|
|
6983
6284
|
const de_SiteToSiteVpnAttachment = (output, context) => {
|
|
6984
|
-
return {
|
|
6985
|
-
Attachment:
|
|
6986
|
-
VpnConnectionArn: __expectString
|
|
6987
|
-
};
|
|
6988
|
-
};
|
|
6989
|
-
const de_SubnetArnList = (output, context) => {
|
|
6990
|
-
const retVal = (output || [])
|
|
6991
|
-
.filter((e) => e != null)
|
|
6992
|
-
.map((entry) => {
|
|
6993
|
-
if (entry === null) {
|
|
6994
|
-
return null;
|
|
6995
|
-
}
|
|
6996
|
-
return __expectString(entry);
|
|
6997
|
-
});
|
|
6998
|
-
return retVal;
|
|
6999
|
-
};
|
|
7000
|
-
const de_Tag = (output, context) => {
|
|
7001
|
-
return {
|
|
7002
|
-
Key: __expectString(output.Key),
|
|
7003
|
-
Value: __expectString(output.Value),
|
|
7004
|
-
};
|
|
7005
|
-
};
|
|
7006
|
-
const de_TagList = (output, context) => {
|
|
7007
|
-
const retVal = (output || [])
|
|
7008
|
-
.filter((e) => e != null)
|
|
7009
|
-
.map((entry) => {
|
|
7010
|
-
if (entry === null) {
|
|
7011
|
-
return null;
|
|
7012
|
-
}
|
|
7013
|
-
return de_Tag(entry, context);
|
|
7014
|
-
});
|
|
7015
|
-
return retVal;
|
|
7016
|
-
};
|
|
7017
|
-
const de_TransitGatewayConnectPeerAssociation = (output, context) => {
|
|
7018
|
-
return {
|
|
7019
|
-
DeviceId: __expectString(output.DeviceId),
|
|
7020
|
-
GlobalNetworkId: __expectString(output.GlobalNetworkId),
|
|
7021
|
-
LinkId: __expectString(output.LinkId),
|
|
7022
|
-
State: __expectString(output.State),
|
|
7023
|
-
TransitGatewayConnectPeerArn: __expectString(output.TransitGatewayConnectPeerArn),
|
|
7024
|
-
};
|
|
7025
|
-
};
|
|
7026
|
-
const de_TransitGatewayConnectPeerAssociationList = (output, context) => {
|
|
7027
|
-
const retVal = (output || [])
|
|
7028
|
-
.filter((e) => e != null)
|
|
7029
|
-
.map((entry) => {
|
|
7030
|
-
if (entry === null) {
|
|
7031
|
-
return null;
|
|
7032
|
-
}
|
|
7033
|
-
return de_TransitGatewayConnectPeerAssociation(entry, context);
|
|
6285
|
+
return take(output, {
|
|
6286
|
+
Attachment: (_) => de_Attachment(_, context),
|
|
6287
|
+
VpnConnectionArn: __expectString,
|
|
7034
6288
|
});
|
|
7035
|
-
return retVal;
|
|
7036
6289
|
};
|
|
7037
6290
|
const de_TransitGatewayPeering = (output, context) => {
|
|
7038
|
-
return {
|
|
7039
|
-
Peering:
|
|
7040
|
-
TransitGatewayArn: __expectString
|
|
7041
|
-
TransitGatewayPeeringAttachmentId: __expectString
|
|
7042
|
-
};
|
|
7043
|
-
};
|
|
7044
|
-
const de_TransitGatewayRegistration = (output, context) => {
|
|
7045
|
-
return {
|
|
7046
|
-
GlobalNetworkId: __expectString(output.GlobalNetworkId),
|
|
7047
|
-
State: output.State != null ? de_TransitGatewayRegistrationStateReason(output.State, context) : undefined,
|
|
7048
|
-
TransitGatewayArn: __expectString(output.TransitGatewayArn),
|
|
7049
|
-
};
|
|
7050
|
-
};
|
|
7051
|
-
const de_TransitGatewayRegistrationList = (output, context) => {
|
|
7052
|
-
const retVal = (output || [])
|
|
7053
|
-
.filter((e) => e != null)
|
|
7054
|
-
.map((entry) => {
|
|
7055
|
-
if (entry === null) {
|
|
7056
|
-
return null;
|
|
7057
|
-
}
|
|
7058
|
-
return de_TransitGatewayRegistration(entry, context);
|
|
6291
|
+
return take(output, {
|
|
6292
|
+
Peering: (_) => de_Peering(_, context),
|
|
6293
|
+
TransitGatewayArn: __expectString,
|
|
6294
|
+
TransitGatewayPeeringAttachmentId: __expectString,
|
|
7059
6295
|
});
|
|
7060
|
-
return retVal;
|
|
7061
|
-
};
|
|
7062
|
-
const de_TransitGatewayRegistrationStateReason = (output, context) => {
|
|
7063
|
-
return {
|
|
7064
|
-
Code: __expectString(output.Code),
|
|
7065
|
-
Message: __expectString(output.Message),
|
|
7066
|
-
};
|
|
7067
6296
|
};
|
|
7068
6297
|
const de_TransitGatewayRouteTableAttachment = (output, context) => {
|
|
7069
|
-
return {
|
|
7070
|
-
Attachment:
|
|
7071
|
-
PeeringId: __expectString
|
|
7072
|
-
TransitGatewayRouteTableArn: __expectString
|
|
7073
|
-
};
|
|
7074
|
-
};
|
|
7075
|
-
const de_ValidationExceptionField = (output, context) => {
|
|
7076
|
-
return {
|
|
7077
|
-
Message: __expectString(output.Message),
|
|
7078
|
-
Name: __expectString(output.Name),
|
|
7079
|
-
};
|
|
7080
|
-
};
|
|
7081
|
-
const de_ValidationExceptionFieldList = (output, context) => {
|
|
7082
|
-
const retVal = (output || [])
|
|
7083
|
-
.filter((e) => e != null)
|
|
7084
|
-
.map((entry) => {
|
|
7085
|
-
if (entry === null) {
|
|
7086
|
-
return null;
|
|
7087
|
-
}
|
|
7088
|
-
return de_ValidationExceptionField(entry, context);
|
|
6298
|
+
return take(output, {
|
|
6299
|
+
Attachment: (_) => de_Attachment(_, context),
|
|
6300
|
+
PeeringId: __expectString,
|
|
6301
|
+
TransitGatewayRouteTableArn: __expectString,
|
|
7089
6302
|
});
|
|
7090
|
-
return retVal;
|
|
7091
6303
|
};
|
|
7092
6304
|
const de_VpcAttachment = (output, context) => {
|
|
7093
|
-
return {
|
|
7094
|
-
Attachment:
|
|
7095
|
-
Options:
|
|
7096
|
-
SubnetArns:
|
|
7097
|
-
};
|
|
7098
|
-
};
|
|
7099
|
-
const de_VpcOptions = (output, context) => {
|
|
7100
|
-
return {
|
|
7101
|
-
ApplianceModeSupport: __expectBoolean(output.ApplianceModeSupport),
|
|
7102
|
-
Ipv6Support: __expectBoolean(output.Ipv6Support),
|
|
7103
|
-
};
|
|
6305
|
+
return take(output, {
|
|
6306
|
+
Attachment: (_) => de_Attachment(_, context),
|
|
6307
|
+
Options: _json,
|
|
6308
|
+
SubnetArns: _json,
|
|
6309
|
+
});
|
|
7104
6310
|
};
|
|
7105
6311
|
const deserializeMetadata = (output) => ({
|
|
7106
6312
|
httpStatusCode: output.statusCode,
|