@aws-sdk/client-outposts 3.312.0 → 3.316.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/Outposts.js +30 -364
- package/dist-cjs/protocols/Aws_restJson1.js +287 -634
- package/dist-es/Outposts.js +30 -364
- package/dist-es/protocols/Aws_restJson1.js +248 -595
- package/dist-types/Outposts.d.ts +37 -104
- package/dist-types/ts3.4/Outposts.d.ts +2 -1
- package/package.json +6 -6
|
@@ -30,12 +30,12 @@ const se_CreateOrderCommand = async (input, context) => {
|
|
|
30
30
|
};
|
|
31
31
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/orders";
|
|
32
32
|
let body;
|
|
33
|
-
body = JSON.stringify({
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
});
|
|
33
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
34
|
+
LineItems: (_) => (0, smithy_client_1._json)(_),
|
|
35
|
+
OutpostIdentifier: [],
|
|
36
|
+
PaymentOption: [],
|
|
37
|
+
PaymentTerm: [],
|
|
38
|
+
}));
|
|
39
39
|
return new protocol_http_1.HttpRequest({
|
|
40
40
|
protocol,
|
|
41
41
|
hostname,
|
|
@@ -54,15 +54,15 @@ const se_CreateOutpostCommand = async (input, context) => {
|
|
|
54
54
|
};
|
|
55
55
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/outposts";
|
|
56
56
|
let body;
|
|
57
|
-
body = JSON.stringify({
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
});
|
|
57
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
58
|
+
AvailabilityZone: [],
|
|
59
|
+
AvailabilityZoneId: [],
|
|
60
|
+
Description: [],
|
|
61
|
+
Name: [],
|
|
62
|
+
SiteId: [],
|
|
63
|
+
SupportedHardwareType: [],
|
|
64
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
65
|
+
}));
|
|
66
66
|
return new protocol_http_1.HttpRequest({
|
|
67
67
|
protocol,
|
|
68
68
|
hostname,
|
|
@@ -81,17 +81,15 @@ const se_CreateSiteCommand = async (input, context) => {
|
|
|
81
81
|
};
|
|
82
82
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sites";
|
|
83
83
|
let body;
|
|
84
|
-
body = JSON.stringify({
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
|
|
94
|
-
});
|
|
84
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
85
|
+
Description: [],
|
|
86
|
+
Name: [],
|
|
87
|
+
Notes: [],
|
|
88
|
+
OperatingAddress: (_) => (0, smithy_client_1._json)(_),
|
|
89
|
+
RackPhysicalProperties: (_) => (0, smithy_client_1._json)(_),
|
|
90
|
+
ShippingAddress: (_) => (0, smithy_client_1._json)(_),
|
|
91
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
92
|
+
}));
|
|
95
93
|
return new protocol_http_1.HttpRequest({
|
|
96
94
|
protocol,
|
|
97
95
|
hostname,
|
|
@@ -210,7 +208,7 @@ const se_GetOutpostInstanceTypesCommand = async (input, context) => {
|
|
|
210
208
|
const headers = {};
|
|
211
209
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/outposts/{OutpostId}/instanceTypes";
|
|
212
210
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "OutpostId", () => input.OutpostId, "{OutpostId}", false);
|
|
213
|
-
const query = map({
|
|
211
|
+
const query = (0, smithy_client_1.map)({
|
|
214
212
|
NextToken: [, input.NextToken],
|
|
215
213
|
MaxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
216
214
|
});
|
|
@@ -249,7 +247,7 @@ const se_GetSiteAddressCommand = async (input, context) => {
|
|
|
249
247
|
const headers = {};
|
|
250
248
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sites/{SiteId}/address";
|
|
251
249
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SiteId", () => input.SiteId, "{SiteId}", false);
|
|
252
|
-
const query = map({
|
|
250
|
+
const query = (0, smithy_client_1.map)({
|
|
253
251
|
AddressType: [, (0, smithy_client_1.expectNonNull)(input.AddressType, `AddressType`)],
|
|
254
252
|
});
|
|
255
253
|
let body;
|
|
@@ -270,7 +268,7 @@ const se_ListAssetsCommand = async (input, context) => {
|
|
|
270
268
|
const headers = {};
|
|
271
269
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/outposts/{OutpostIdentifier}/assets";
|
|
272
270
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
|
|
273
|
-
const query = map({
|
|
271
|
+
const query = (0, smithy_client_1.map)({
|
|
274
272
|
HostIdFilter: [
|
|
275
273
|
() => input.HostIdFilter !== void 0,
|
|
276
274
|
() => (input.HostIdFilter || []).map((_entry) => _entry),
|
|
@@ -299,7 +297,7 @@ const se_ListCatalogItemsCommand = async (input, context) => {
|
|
|
299
297
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
300
298
|
const headers = {};
|
|
301
299
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/catalog/items";
|
|
302
|
-
const query = map({
|
|
300
|
+
const query = (0, smithy_client_1.map)({
|
|
303
301
|
NextToken: [, input.NextToken],
|
|
304
302
|
MaxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
305
303
|
ItemClassFilter: [
|
|
@@ -332,7 +330,7 @@ const se_ListOrdersCommand = async (input, context) => {
|
|
|
332
330
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
333
331
|
const headers = {};
|
|
334
332
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-orders";
|
|
335
|
-
const query = map({
|
|
333
|
+
const query = (0, smithy_client_1.map)({
|
|
336
334
|
OutpostIdentifierFilter: [, input.OutpostIdentifierFilter],
|
|
337
335
|
NextToken: [, input.NextToken],
|
|
338
336
|
MaxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
@@ -354,7 +352,7 @@ const se_ListOutpostsCommand = async (input, context) => {
|
|
|
354
352
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
355
353
|
const headers = {};
|
|
356
354
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/outposts";
|
|
357
|
-
const query = map({
|
|
355
|
+
const query = (0, smithy_client_1.map)({
|
|
358
356
|
NextToken: [, input.NextToken],
|
|
359
357
|
MaxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
360
358
|
LifeCycleStatusFilter: [
|
|
@@ -387,7 +385,7 @@ const se_ListSitesCommand = async (input, context) => {
|
|
|
387
385
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
388
386
|
const headers = {};
|
|
389
387
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sites";
|
|
390
|
-
const query = map({
|
|
388
|
+
const query = (0, smithy_client_1.map)({
|
|
391
389
|
NextToken: [, input.NextToken],
|
|
392
390
|
MaxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
393
391
|
OperatingAddressCountryCodeFilter: [
|
|
@@ -440,14 +438,12 @@ const se_StartConnectionCommand = async (input, context) => {
|
|
|
440
438
|
};
|
|
441
439
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/connections";
|
|
442
440
|
let body;
|
|
443
|
-
body = JSON.stringify({
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
}),
|
|
450
|
-
});
|
|
441
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
442
|
+
AssetId: [],
|
|
443
|
+
ClientPublicKey: [],
|
|
444
|
+
DeviceSerialNumber: [],
|
|
445
|
+
NetworkInterfaceDeviceIndex: [],
|
|
446
|
+
}));
|
|
451
447
|
return new protocol_http_1.HttpRequest({
|
|
452
448
|
protocol,
|
|
453
449
|
hostname,
|
|
@@ -467,9 +463,9 @@ const se_TagResourceCommand = async (input, context) => {
|
|
|
467
463
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
|
|
468
464
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
469
465
|
let body;
|
|
470
|
-
body = JSON.stringify({
|
|
471
|
-
|
|
472
|
-
});
|
|
466
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
467
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
468
|
+
}));
|
|
473
469
|
return new protocol_http_1.HttpRequest({
|
|
474
470
|
protocol,
|
|
475
471
|
hostname,
|
|
@@ -486,7 +482,7 @@ const se_UntagResourceCommand = async (input, context) => {
|
|
|
486
482
|
const headers = {};
|
|
487
483
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
|
|
488
484
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
489
|
-
const query = map({
|
|
485
|
+
const query = (0, smithy_client_1.map)({
|
|
490
486
|
tagKeys: [
|
|
491
487
|
(0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
|
|
492
488
|
() => (input.TagKeys || []).map((_entry) => _entry),
|
|
@@ -513,11 +509,11 @@ const se_UpdateOutpostCommand = async (input, context) => {
|
|
|
513
509
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/outposts/{OutpostId}";
|
|
514
510
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "OutpostId", () => input.OutpostId, "{OutpostId}", false);
|
|
515
511
|
let body;
|
|
516
|
-
body = JSON.stringify({
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
});
|
|
512
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
513
|
+
Description: [],
|
|
514
|
+
Name: [],
|
|
515
|
+
SupportedHardwareType: [],
|
|
516
|
+
}));
|
|
521
517
|
return new protocol_http_1.HttpRequest({
|
|
522
518
|
protocol,
|
|
523
519
|
hostname,
|
|
@@ -537,11 +533,11 @@ const se_UpdateSiteCommand = async (input, context) => {
|
|
|
537
533
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sites/{SiteId}";
|
|
538
534
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SiteId", () => input.SiteId, "{SiteId}", false);
|
|
539
535
|
let body;
|
|
540
|
-
body = JSON.stringify({
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
});
|
|
536
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
537
|
+
Description: [],
|
|
538
|
+
Name: [],
|
|
539
|
+
Notes: [],
|
|
540
|
+
}));
|
|
545
541
|
return new protocol_http_1.HttpRequest({
|
|
546
542
|
protocol,
|
|
547
543
|
hostname,
|
|
@@ -561,10 +557,10 @@ const se_UpdateSiteAddressCommand = async (input, context) => {
|
|
|
561
557
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sites/{SiteId}/address";
|
|
562
558
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SiteId", () => input.SiteId, "{SiteId}", false);
|
|
563
559
|
let body;
|
|
564
|
-
body = JSON.stringify({
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
});
|
|
560
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
561
|
+
Address: (_) => (0, smithy_client_1._json)(_),
|
|
562
|
+
AddressType: [],
|
|
563
|
+
}));
|
|
568
564
|
return new protocol_http_1.HttpRequest({
|
|
569
565
|
protocol,
|
|
570
566
|
hostname,
|
|
@@ -584,17 +580,17 @@ const se_UpdateSiteRackPhysicalPropertiesCommand = async (input, context) => {
|
|
|
584
580
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sites/{SiteId}/rackPhysicalProperties";
|
|
585
581
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SiteId", () => input.SiteId, "{SiteId}", false);
|
|
586
582
|
let body;
|
|
587
|
-
body = JSON.stringify({
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
});
|
|
583
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
584
|
+
FiberOpticCableType: [],
|
|
585
|
+
MaximumSupportedWeightLbs: [],
|
|
586
|
+
OpticalStandard: [],
|
|
587
|
+
PowerConnector: [],
|
|
588
|
+
PowerDrawKva: [],
|
|
589
|
+
PowerFeedDrop: [],
|
|
590
|
+
PowerPhase: [],
|
|
591
|
+
UplinkCount: [],
|
|
592
|
+
UplinkGbps: [],
|
|
593
|
+
}));
|
|
598
594
|
return new protocol_http_1.HttpRequest({
|
|
599
595
|
protocol,
|
|
600
596
|
hostname,
|
|
@@ -610,7 +606,7 @@ const de_CancelOrderCommand = async (output, context) => {
|
|
|
610
606
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
611
607
|
return de_CancelOrderCommandError(output, context);
|
|
612
608
|
}
|
|
613
|
-
const contents = map({
|
|
609
|
+
const contents = (0, smithy_client_1.map)({
|
|
614
610
|
$metadata: deserializeMetadata(output),
|
|
615
611
|
});
|
|
616
612
|
await collectBody(output.body, context);
|
|
@@ -641,10 +637,9 @@ const de_CancelOrderCommandError = async (output, context) => {
|
|
|
641
637
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
642
638
|
default:
|
|
643
639
|
const parsedBody = parsedOutput.body;
|
|
644
|
-
|
|
640
|
+
return throwDefaultError({
|
|
645
641
|
output,
|
|
646
642
|
parsedBody,
|
|
647
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
648
643
|
errorCode,
|
|
649
644
|
});
|
|
650
645
|
}
|
|
@@ -653,13 +648,14 @@ const de_CreateOrderCommand = async (output, context) => {
|
|
|
653
648
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
654
649
|
return de_CreateOrderCommandError(output, context);
|
|
655
650
|
}
|
|
656
|
-
const contents = map({
|
|
651
|
+
const contents = (0, smithy_client_1.map)({
|
|
657
652
|
$metadata: deserializeMetadata(output),
|
|
658
653
|
});
|
|
659
654
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
}
|
|
655
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
656
|
+
Order: (_) => de_Order(_, context),
|
|
657
|
+
});
|
|
658
|
+
Object.assign(contents, doc);
|
|
663
659
|
return contents;
|
|
664
660
|
};
|
|
665
661
|
exports.de_CreateOrderCommand = de_CreateOrderCommand;
|
|
@@ -690,10 +686,9 @@ const de_CreateOrderCommandError = async (output, context) => {
|
|
|
690
686
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
691
687
|
default:
|
|
692
688
|
const parsedBody = parsedOutput.body;
|
|
693
|
-
|
|
689
|
+
return throwDefaultError({
|
|
694
690
|
output,
|
|
695
691
|
parsedBody,
|
|
696
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
697
692
|
errorCode,
|
|
698
693
|
});
|
|
699
694
|
}
|
|
@@ -702,13 +697,14 @@ const de_CreateOutpostCommand = async (output, context) => {
|
|
|
702
697
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
703
698
|
return de_CreateOutpostCommandError(output, context);
|
|
704
699
|
}
|
|
705
|
-
const contents = map({
|
|
700
|
+
const contents = (0, smithy_client_1.map)({
|
|
706
701
|
$metadata: deserializeMetadata(output),
|
|
707
702
|
});
|
|
708
703
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
}
|
|
704
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
705
|
+
Outpost: smithy_client_1._json,
|
|
706
|
+
});
|
|
707
|
+
Object.assign(contents, doc);
|
|
712
708
|
return contents;
|
|
713
709
|
};
|
|
714
710
|
exports.de_CreateOutpostCommand = de_CreateOutpostCommand;
|
|
@@ -739,10 +735,9 @@ const de_CreateOutpostCommandError = async (output, context) => {
|
|
|
739
735
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
740
736
|
default:
|
|
741
737
|
const parsedBody = parsedOutput.body;
|
|
742
|
-
|
|
738
|
+
return throwDefaultError({
|
|
743
739
|
output,
|
|
744
740
|
parsedBody,
|
|
745
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
746
741
|
errorCode,
|
|
747
742
|
});
|
|
748
743
|
}
|
|
@@ -751,13 +746,14 @@ const de_CreateSiteCommand = async (output, context) => {
|
|
|
751
746
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
752
747
|
return de_CreateSiteCommandError(output, context);
|
|
753
748
|
}
|
|
754
|
-
const contents = map({
|
|
749
|
+
const contents = (0, smithy_client_1.map)({
|
|
755
750
|
$metadata: deserializeMetadata(output),
|
|
756
751
|
});
|
|
757
752
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
}
|
|
753
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
754
|
+
Site: smithy_client_1._json,
|
|
755
|
+
});
|
|
756
|
+
Object.assign(contents, doc);
|
|
761
757
|
return contents;
|
|
762
758
|
};
|
|
763
759
|
exports.de_CreateSiteCommand = de_CreateSiteCommand;
|
|
@@ -785,10 +781,9 @@ const de_CreateSiteCommandError = async (output, context) => {
|
|
|
785
781
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
786
782
|
default:
|
|
787
783
|
const parsedBody = parsedOutput.body;
|
|
788
|
-
|
|
784
|
+
return throwDefaultError({
|
|
789
785
|
output,
|
|
790
786
|
parsedBody,
|
|
791
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
792
787
|
errorCode,
|
|
793
788
|
});
|
|
794
789
|
}
|
|
@@ -797,7 +792,7 @@ const de_DeleteOutpostCommand = async (output, context) => {
|
|
|
797
792
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
798
793
|
return de_DeleteOutpostCommandError(output, context);
|
|
799
794
|
}
|
|
800
|
-
const contents = map({
|
|
795
|
+
const contents = (0, smithy_client_1.map)({
|
|
801
796
|
$metadata: deserializeMetadata(output),
|
|
802
797
|
});
|
|
803
798
|
await collectBody(output.body, context);
|
|
@@ -828,10 +823,9 @@ const de_DeleteOutpostCommandError = async (output, context) => {
|
|
|
828
823
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
829
824
|
default:
|
|
830
825
|
const parsedBody = parsedOutput.body;
|
|
831
|
-
|
|
826
|
+
return throwDefaultError({
|
|
832
827
|
output,
|
|
833
828
|
parsedBody,
|
|
834
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
835
829
|
errorCode,
|
|
836
830
|
});
|
|
837
831
|
}
|
|
@@ -840,7 +834,7 @@ const de_DeleteSiteCommand = async (output, context) => {
|
|
|
840
834
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
841
835
|
return de_DeleteSiteCommandError(output, context);
|
|
842
836
|
}
|
|
843
|
-
const contents = map({
|
|
837
|
+
const contents = (0, smithy_client_1.map)({
|
|
844
838
|
$metadata: deserializeMetadata(output),
|
|
845
839
|
});
|
|
846
840
|
await collectBody(output.body, context);
|
|
@@ -871,10 +865,9 @@ const de_DeleteSiteCommandError = async (output, context) => {
|
|
|
871
865
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
872
866
|
default:
|
|
873
867
|
const parsedBody = parsedOutput.body;
|
|
874
|
-
|
|
868
|
+
return throwDefaultError({
|
|
875
869
|
output,
|
|
876
870
|
parsedBody,
|
|
877
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
878
871
|
errorCode,
|
|
879
872
|
});
|
|
880
873
|
}
|
|
@@ -883,13 +876,14 @@ const de_GetCatalogItemCommand = async (output, context) => {
|
|
|
883
876
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
884
877
|
return de_GetCatalogItemCommandError(output, context);
|
|
885
878
|
}
|
|
886
|
-
const contents = map({
|
|
879
|
+
const contents = (0, smithy_client_1.map)({
|
|
887
880
|
$metadata: deserializeMetadata(output),
|
|
888
881
|
});
|
|
889
882
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
}
|
|
883
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
884
|
+
CatalogItem: (_) => de_CatalogItem(_, context),
|
|
885
|
+
});
|
|
886
|
+
Object.assign(contents, doc);
|
|
893
887
|
return contents;
|
|
894
888
|
};
|
|
895
889
|
exports.de_GetCatalogItemCommand = de_GetCatalogItemCommand;
|
|
@@ -911,10 +905,9 @@ const de_GetCatalogItemCommandError = async (output, context) => {
|
|
|
911
905
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
912
906
|
default:
|
|
913
907
|
const parsedBody = parsedOutput.body;
|
|
914
|
-
|
|
908
|
+
return throwDefaultError({
|
|
915
909
|
output,
|
|
916
910
|
parsedBody,
|
|
917
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
918
911
|
errorCode,
|
|
919
912
|
});
|
|
920
913
|
}
|
|
@@ -923,16 +916,15 @@ const de_GetConnectionCommand = async (output, context) => {
|
|
|
923
916
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
924
917
|
return de_GetConnectionCommandError(output, context);
|
|
925
918
|
}
|
|
926
|
-
const contents = map({
|
|
919
|
+
const contents = (0, smithy_client_1.map)({
|
|
927
920
|
$metadata: deserializeMetadata(output),
|
|
928
921
|
});
|
|
929
922
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
}
|
|
923
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
924
|
+
ConnectionDetails: smithy_client_1._json,
|
|
925
|
+
ConnectionId: smithy_client_1.expectString,
|
|
926
|
+
});
|
|
927
|
+
Object.assign(contents, doc);
|
|
936
928
|
return contents;
|
|
937
929
|
};
|
|
938
930
|
exports.de_GetConnectionCommand = de_GetConnectionCommand;
|
|
@@ -957,10 +949,9 @@ const de_GetConnectionCommandError = async (output, context) => {
|
|
|
957
949
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
958
950
|
default:
|
|
959
951
|
const parsedBody = parsedOutput.body;
|
|
960
|
-
|
|
952
|
+
return throwDefaultError({
|
|
961
953
|
output,
|
|
962
954
|
parsedBody,
|
|
963
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
964
955
|
errorCode,
|
|
965
956
|
});
|
|
966
957
|
}
|
|
@@ -969,13 +960,14 @@ const de_GetOrderCommand = async (output, context) => {
|
|
|
969
960
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
970
961
|
return de_GetOrderCommandError(output, context);
|
|
971
962
|
}
|
|
972
|
-
const contents = map({
|
|
963
|
+
const contents = (0, smithy_client_1.map)({
|
|
973
964
|
$metadata: deserializeMetadata(output),
|
|
974
965
|
});
|
|
975
966
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
}
|
|
967
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
968
|
+
Order: (_) => de_Order(_, context),
|
|
969
|
+
});
|
|
970
|
+
Object.assign(contents, doc);
|
|
979
971
|
return contents;
|
|
980
972
|
};
|
|
981
973
|
exports.de_GetOrderCommand = de_GetOrderCommand;
|
|
@@ -997,10 +989,9 @@ const de_GetOrderCommandError = async (output, context) => {
|
|
|
997
989
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
998
990
|
default:
|
|
999
991
|
const parsedBody = parsedOutput.body;
|
|
1000
|
-
|
|
992
|
+
return throwDefaultError({
|
|
1001
993
|
output,
|
|
1002
994
|
parsedBody,
|
|
1003
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
1004
995
|
errorCode,
|
|
1005
996
|
});
|
|
1006
997
|
}
|
|
@@ -1009,13 +1000,14 @@ const de_GetOutpostCommand = async (output, context) => {
|
|
|
1009
1000
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1010
1001
|
return de_GetOutpostCommandError(output, context);
|
|
1011
1002
|
}
|
|
1012
|
-
const contents = map({
|
|
1003
|
+
const contents = (0, smithy_client_1.map)({
|
|
1013
1004
|
$metadata: deserializeMetadata(output),
|
|
1014
1005
|
});
|
|
1015
1006
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
}
|
|
1007
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1008
|
+
Outpost: smithy_client_1._json,
|
|
1009
|
+
});
|
|
1010
|
+
Object.assign(contents, doc);
|
|
1019
1011
|
return contents;
|
|
1020
1012
|
};
|
|
1021
1013
|
exports.de_GetOutpostCommand = de_GetOutpostCommand;
|
|
@@ -1040,10 +1032,9 @@ const de_GetOutpostCommandError = async (output, context) => {
|
|
|
1040
1032
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1041
1033
|
default:
|
|
1042
1034
|
const parsedBody = parsedOutput.body;
|
|
1043
|
-
|
|
1035
|
+
return throwDefaultError({
|
|
1044
1036
|
output,
|
|
1045
1037
|
parsedBody,
|
|
1046
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
1047
1038
|
errorCode,
|
|
1048
1039
|
});
|
|
1049
1040
|
}
|
|
@@ -1052,22 +1043,17 @@ const de_GetOutpostInstanceTypesCommand = async (output, context) => {
|
|
|
1052
1043
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1053
1044
|
return de_GetOutpostInstanceTypesCommandError(output, context);
|
|
1054
1045
|
}
|
|
1055
|
-
const contents = map({
|
|
1046
|
+
const contents = (0, smithy_client_1.map)({
|
|
1056
1047
|
$metadata: deserializeMetadata(output),
|
|
1057
1048
|
});
|
|
1058
1049
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
}
|
|
1065
|
-
|
|
1066
|
-
contents.OutpostArn = (0, smithy_client_1.expectString)(data.OutpostArn);
|
|
1067
|
-
}
|
|
1068
|
-
if (data.OutpostId != null) {
|
|
1069
|
-
contents.OutpostId = (0, smithy_client_1.expectString)(data.OutpostId);
|
|
1070
|
-
}
|
|
1050
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1051
|
+
InstanceTypes: smithy_client_1._json,
|
|
1052
|
+
NextToken: smithy_client_1.expectString,
|
|
1053
|
+
OutpostArn: smithy_client_1.expectString,
|
|
1054
|
+
OutpostId: smithy_client_1.expectString,
|
|
1055
|
+
});
|
|
1056
|
+
Object.assign(contents, doc);
|
|
1071
1057
|
return contents;
|
|
1072
1058
|
};
|
|
1073
1059
|
exports.de_GetOutpostInstanceTypesCommand = de_GetOutpostInstanceTypesCommand;
|
|
@@ -1092,10 +1078,9 @@ const de_GetOutpostInstanceTypesCommandError = async (output, context) => {
|
|
|
1092
1078
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1093
1079
|
default:
|
|
1094
1080
|
const parsedBody = parsedOutput.body;
|
|
1095
|
-
|
|
1081
|
+
return throwDefaultError({
|
|
1096
1082
|
output,
|
|
1097
1083
|
parsedBody,
|
|
1098
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
1099
1084
|
errorCode,
|
|
1100
1085
|
});
|
|
1101
1086
|
}
|
|
@@ -1104,13 +1089,14 @@ const de_GetSiteCommand = async (output, context) => {
|
|
|
1104
1089
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1105
1090
|
return de_GetSiteCommandError(output, context);
|
|
1106
1091
|
}
|
|
1107
|
-
const contents = map({
|
|
1092
|
+
const contents = (0, smithy_client_1.map)({
|
|
1108
1093
|
$metadata: deserializeMetadata(output),
|
|
1109
1094
|
});
|
|
1110
1095
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
}
|
|
1096
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1097
|
+
Site: smithy_client_1._json,
|
|
1098
|
+
});
|
|
1099
|
+
Object.assign(contents, doc);
|
|
1114
1100
|
return contents;
|
|
1115
1101
|
};
|
|
1116
1102
|
exports.de_GetSiteCommand = de_GetSiteCommand;
|
|
@@ -1135,10 +1121,9 @@ const de_GetSiteCommandError = async (output, context) => {
|
|
|
1135
1121
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1136
1122
|
default:
|
|
1137
1123
|
const parsedBody = parsedOutput.body;
|
|
1138
|
-
|
|
1124
|
+
return throwDefaultError({
|
|
1139
1125
|
output,
|
|
1140
1126
|
parsedBody,
|
|
1141
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
1142
1127
|
errorCode,
|
|
1143
1128
|
});
|
|
1144
1129
|
}
|
|
@@ -1147,19 +1132,16 @@ const de_GetSiteAddressCommand = async (output, context) => {
|
|
|
1147
1132
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1148
1133
|
return de_GetSiteAddressCommandError(output, context);
|
|
1149
1134
|
}
|
|
1150
|
-
const contents = map({
|
|
1135
|
+
const contents = (0, smithy_client_1.map)({
|
|
1151
1136
|
$metadata: deserializeMetadata(output),
|
|
1152
1137
|
});
|
|
1153
1138
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
if (data.SiteId != null) {
|
|
1161
|
-
contents.SiteId = (0, smithy_client_1.expectString)(data.SiteId);
|
|
1162
|
-
}
|
|
1139
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1140
|
+
Address: smithy_client_1._json,
|
|
1141
|
+
AddressType: smithy_client_1.expectString,
|
|
1142
|
+
SiteId: smithy_client_1.expectString,
|
|
1143
|
+
});
|
|
1144
|
+
Object.assign(contents, doc);
|
|
1163
1145
|
return contents;
|
|
1164
1146
|
};
|
|
1165
1147
|
exports.de_GetSiteAddressCommand = de_GetSiteAddressCommand;
|
|
@@ -1184,10 +1166,9 @@ const de_GetSiteAddressCommandError = async (output, context) => {
|
|
|
1184
1166
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1185
1167
|
default:
|
|
1186
1168
|
const parsedBody = parsedOutput.body;
|
|
1187
|
-
|
|
1169
|
+
return throwDefaultError({
|
|
1188
1170
|
output,
|
|
1189
1171
|
parsedBody,
|
|
1190
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
1191
1172
|
errorCode,
|
|
1192
1173
|
});
|
|
1193
1174
|
}
|
|
@@ -1196,16 +1177,15 @@ const de_ListAssetsCommand = async (output, context) => {
|
|
|
1196
1177
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1197
1178
|
return de_ListAssetsCommandError(output, context);
|
|
1198
1179
|
}
|
|
1199
|
-
const contents = map({
|
|
1180
|
+
const contents = (0, smithy_client_1.map)({
|
|
1200
1181
|
$metadata: deserializeMetadata(output),
|
|
1201
1182
|
});
|
|
1202
1183
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
}
|
|
1184
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1185
|
+
Assets: (_) => de_AssetListDefinition(_, context),
|
|
1186
|
+
NextToken: smithy_client_1.expectString,
|
|
1187
|
+
});
|
|
1188
|
+
Object.assign(contents, doc);
|
|
1209
1189
|
return contents;
|
|
1210
1190
|
};
|
|
1211
1191
|
exports.de_ListAssetsCommand = de_ListAssetsCommand;
|
|
@@ -1230,10 +1210,9 @@ const de_ListAssetsCommandError = async (output, context) => {
|
|
|
1230
1210
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1231
1211
|
default:
|
|
1232
1212
|
const parsedBody = parsedOutput.body;
|
|
1233
|
-
|
|
1213
|
+
return throwDefaultError({
|
|
1234
1214
|
output,
|
|
1235
1215
|
parsedBody,
|
|
1236
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
1237
1216
|
errorCode,
|
|
1238
1217
|
});
|
|
1239
1218
|
}
|
|
@@ -1242,16 +1221,15 @@ const de_ListCatalogItemsCommand = async (output, context) => {
|
|
|
1242
1221
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1243
1222
|
return de_ListCatalogItemsCommandError(output, context);
|
|
1244
1223
|
}
|
|
1245
|
-
const contents = map({
|
|
1224
|
+
const contents = (0, smithy_client_1.map)({
|
|
1246
1225
|
$metadata: deserializeMetadata(output),
|
|
1247
1226
|
});
|
|
1248
1227
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
}
|
|
1228
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1229
|
+
CatalogItems: (_) => de_CatalogItemListDefinition(_, context),
|
|
1230
|
+
NextToken: smithy_client_1.expectString,
|
|
1231
|
+
});
|
|
1232
|
+
Object.assign(contents, doc);
|
|
1255
1233
|
return contents;
|
|
1256
1234
|
};
|
|
1257
1235
|
exports.de_ListCatalogItemsCommand = de_ListCatalogItemsCommand;
|
|
@@ -1273,10 +1251,9 @@ const de_ListCatalogItemsCommandError = async (output, context) => {
|
|
|
1273
1251
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1274
1252
|
default:
|
|
1275
1253
|
const parsedBody = parsedOutput.body;
|
|
1276
|
-
|
|
1254
|
+
return throwDefaultError({
|
|
1277
1255
|
output,
|
|
1278
1256
|
parsedBody,
|
|
1279
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
1280
1257
|
errorCode,
|
|
1281
1258
|
});
|
|
1282
1259
|
}
|
|
@@ -1285,16 +1262,15 @@ const de_ListOrdersCommand = async (output, context) => {
|
|
|
1285
1262
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1286
1263
|
return de_ListOrdersCommandError(output, context);
|
|
1287
1264
|
}
|
|
1288
|
-
const contents = map({
|
|
1265
|
+
const contents = (0, smithy_client_1.map)({
|
|
1289
1266
|
$metadata: deserializeMetadata(output),
|
|
1290
1267
|
});
|
|
1291
1268
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
}
|
|
1269
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1270
|
+
NextToken: smithy_client_1.expectString,
|
|
1271
|
+
Orders: (_) => de_OrderSummaryListDefinition(_, context),
|
|
1272
|
+
});
|
|
1273
|
+
Object.assign(contents, doc);
|
|
1298
1274
|
return contents;
|
|
1299
1275
|
};
|
|
1300
1276
|
exports.de_ListOrdersCommand = de_ListOrdersCommand;
|
|
@@ -1319,10 +1295,9 @@ const de_ListOrdersCommandError = async (output, context) => {
|
|
|
1319
1295
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1320
1296
|
default:
|
|
1321
1297
|
const parsedBody = parsedOutput.body;
|
|
1322
|
-
|
|
1298
|
+
return throwDefaultError({
|
|
1323
1299
|
output,
|
|
1324
1300
|
parsedBody,
|
|
1325
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
1326
1301
|
errorCode,
|
|
1327
1302
|
});
|
|
1328
1303
|
}
|
|
@@ -1331,16 +1306,15 @@ const de_ListOutpostsCommand = async (output, context) => {
|
|
|
1331
1306
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1332
1307
|
return de_ListOutpostsCommandError(output, context);
|
|
1333
1308
|
}
|
|
1334
|
-
const contents = map({
|
|
1309
|
+
const contents = (0, smithy_client_1.map)({
|
|
1335
1310
|
$metadata: deserializeMetadata(output),
|
|
1336
1311
|
});
|
|
1337
1312
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
}
|
|
1313
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1314
|
+
NextToken: smithy_client_1.expectString,
|
|
1315
|
+
Outposts: smithy_client_1._json,
|
|
1316
|
+
});
|
|
1317
|
+
Object.assign(contents, doc);
|
|
1344
1318
|
return contents;
|
|
1345
1319
|
};
|
|
1346
1320
|
exports.de_ListOutpostsCommand = de_ListOutpostsCommand;
|
|
@@ -1362,10 +1336,9 @@ const de_ListOutpostsCommandError = async (output, context) => {
|
|
|
1362
1336
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1363
1337
|
default:
|
|
1364
1338
|
const parsedBody = parsedOutput.body;
|
|
1365
|
-
|
|
1339
|
+
return throwDefaultError({
|
|
1366
1340
|
output,
|
|
1367
1341
|
parsedBody,
|
|
1368
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
1369
1342
|
errorCode,
|
|
1370
1343
|
});
|
|
1371
1344
|
}
|
|
@@ -1374,16 +1347,15 @@ const de_ListSitesCommand = async (output, context) => {
|
|
|
1374
1347
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1375
1348
|
return de_ListSitesCommandError(output, context);
|
|
1376
1349
|
}
|
|
1377
|
-
const contents = map({
|
|
1350
|
+
const contents = (0, smithy_client_1.map)({
|
|
1378
1351
|
$metadata: deserializeMetadata(output),
|
|
1379
1352
|
});
|
|
1380
1353
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
}
|
|
1354
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1355
|
+
NextToken: smithy_client_1.expectString,
|
|
1356
|
+
Sites: smithy_client_1._json,
|
|
1357
|
+
});
|
|
1358
|
+
Object.assign(contents, doc);
|
|
1387
1359
|
return contents;
|
|
1388
1360
|
};
|
|
1389
1361
|
exports.de_ListSitesCommand = de_ListSitesCommand;
|
|
@@ -1405,10 +1377,9 @@ const de_ListSitesCommandError = async (output, context) => {
|
|
|
1405
1377
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1406
1378
|
default:
|
|
1407
1379
|
const parsedBody = parsedOutput.body;
|
|
1408
|
-
|
|
1380
|
+
return throwDefaultError({
|
|
1409
1381
|
output,
|
|
1410
1382
|
parsedBody,
|
|
1411
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
1412
1383
|
errorCode,
|
|
1413
1384
|
});
|
|
1414
1385
|
}
|
|
@@ -1417,13 +1388,14 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1417
1388
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1418
1389
|
return de_ListTagsForResourceCommandError(output, context);
|
|
1419
1390
|
}
|
|
1420
|
-
const contents = map({
|
|
1391
|
+
const contents = (0, smithy_client_1.map)({
|
|
1421
1392
|
$metadata: deserializeMetadata(output),
|
|
1422
1393
|
});
|
|
1423
1394
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
}
|
|
1395
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1396
|
+
Tags: smithy_client_1._json,
|
|
1397
|
+
});
|
|
1398
|
+
Object.assign(contents, doc);
|
|
1427
1399
|
return contents;
|
|
1428
1400
|
};
|
|
1429
1401
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
@@ -1445,10 +1417,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1445
1417
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1446
1418
|
default:
|
|
1447
1419
|
const parsedBody = parsedOutput.body;
|
|
1448
|
-
|
|
1420
|
+
return throwDefaultError({
|
|
1449
1421
|
output,
|
|
1450
1422
|
parsedBody,
|
|
1451
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
1452
1423
|
errorCode,
|
|
1453
1424
|
});
|
|
1454
1425
|
}
|
|
@@ -1457,16 +1428,15 @@ const de_StartConnectionCommand = async (output, context) => {
|
|
|
1457
1428
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1458
1429
|
return de_StartConnectionCommandError(output, context);
|
|
1459
1430
|
}
|
|
1460
|
-
const contents = map({
|
|
1431
|
+
const contents = (0, smithy_client_1.map)({
|
|
1461
1432
|
$metadata: deserializeMetadata(output),
|
|
1462
1433
|
});
|
|
1463
1434
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
}
|
|
1435
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1436
|
+
ConnectionId: smithy_client_1.expectString,
|
|
1437
|
+
UnderlayIpAddress: smithy_client_1.expectString,
|
|
1438
|
+
});
|
|
1439
|
+
Object.assign(contents, doc);
|
|
1470
1440
|
return contents;
|
|
1471
1441
|
};
|
|
1472
1442
|
exports.de_StartConnectionCommand = de_StartConnectionCommand;
|
|
@@ -1491,10 +1461,9 @@ const de_StartConnectionCommandError = async (output, context) => {
|
|
|
1491
1461
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1492
1462
|
default:
|
|
1493
1463
|
const parsedBody = parsedOutput.body;
|
|
1494
|
-
|
|
1464
|
+
return throwDefaultError({
|
|
1495
1465
|
output,
|
|
1496
1466
|
parsedBody,
|
|
1497
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
1498
1467
|
errorCode,
|
|
1499
1468
|
});
|
|
1500
1469
|
}
|
|
@@ -1503,7 +1472,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
1503
1472
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1504
1473
|
return de_TagResourceCommandError(output, context);
|
|
1505
1474
|
}
|
|
1506
|
-
const contents = map({
|
|
1475
|
+
const contents = (0, smithy_client_1.map)({
|
|
1507
1476
|
$metadata: deserializeMetadata(output),
|
|
1508
1477
|
});
|
|
1509
1478
|
await collectBody(output.body, context);
|
|
@@ -1528,10 +1497,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1528
1497
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1529
1498
|
default:
|
|
1530
1499
|
const parsedBody = parsedOutput.body;
|
|
1531
|
-
|
|
1500
|
+
return throwDefaultError({
|
|
1532
1501
|
output,
|
|
1533
1502
|
parsedBody,
|
|
1534
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
1535
1503
|
errorCode,
|
|
1536
1504
|
});
|
|
1537
1505
|
}
|
|
@@ -1540,7 +1508,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
1540
1508
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1541
1509
|
return de_UntagResourceCommandError(output, context);
|
|
1542
1510
|
}
|
|
1543
|
-
const contents = map({
|
|
1511
|
+
const contents = (0, smithy_client_1.map)({
|
|
1544
1512
|
$metadata: deserializeMetadata(output),
|
|
1545
1513
|
});
|
|
1546
1514
|
await collectBody(output.body, context);
|
|
@@ -1565,10 +1533,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1565
1533
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1566
1534
|
default:
|
|
1567
1535
|
const parsedBody = parsedOutput.body;
|
|
1568
|
-
|
|
1536
|
+
return throwDefaultError({
|
|
1569
1537
|
output,
|
|
1570
1538
|
parsedBody,
|
|
1571
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
1572
1539
|
errorCode,
|
|
1573
1540
|
});
|
|
1574
1541
|
}
|
|
@@ -1577,13 +1544,14 @@ const de_UpdateOutpostCommand = async (output, context) => {
|
|
|
1577
1544
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1578
1545
|
return de_UpdateOutpostCommandError(output, context);
|
|
1579
1546
|
}
|
|
1580
|
-
const contents = map({
|
|
1547
|
+
const contents = (0, smithy_client_1.map)({
|
|
1581
1548
|
$metadata: deserializeMetadata(output),
|
|
1582
1549
|
});
|
|
1583
1550
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
}
|
|
1551
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1552
|
+
Outpost: smithy_client_1._json,
|
|
1553
|
+
});
|
|
1554
|
+
Object.assign(contents, doc);
|
|
1587
1555
|
return contents;
|
|
1588
1556
|
};
|
|
1589
1557
|
exports.de_UpdateOutpostCommand = de_UpdateOutpostCommand;
|
|
@@ -1611,10 +1579,9 @@ const de_UpdateOutpostCommandError = async (output, context) => {
|
|
|
1611
1579
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1612
1580
|
default:
|
|
1613
1581
|
const parsedBody = parsedOutput.body;
|
|
1614
|
-
|
|
1582
|
+
return throwDefaultError({
|
|
1615
1583
|
output,
|
|
1616
1584
|
parsedBody,
|
|
1617
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
1618
1585
|
errorCode,
|
|
1619
1586
|
});
|
|
1620
1587
|
}
|
|
@@ -1623,13 +1590,14 @@ const de_UpdateSiteCommand = async (output, context) => {
|
|
|
1623
1590
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1624
1591
|
return de_UpdateSiteCommandError(output, context);
|
|
1625
1592
|
}
|
|
1626
|
-
const contents = map({
|
|
1593
|
+
const contents = (0, smithy_client_1.map)({
|
|
1627
1594
|
$metadata: deserializeMetadata(output),
|
|
1628
1595
|
});
|
|
1629
1596
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
}
|
|
1597
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1598
|
+
Site: smithy_client_1._json,
|
|
1599
|
+
});
|
|
1600
|
+
Object.assign(contents, doc);
|
|
1633
1601
|
return contents;
|
|
1634
1602
|
};
|
|
1635
1603
|
exports.de_UpdateSiteCommand = de_UpdateSiteCommand;
|
|
@@ -1657,10 +1625,9 @@ const de_UpdateSiteCommandError = async (output, context) => {
|
|
|
1657
1625
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1658
1626
|
default:
|
|
1659
1627
|
const parsedBody = parsedOutput.body;
|
|
1660
|
-
|
|
1628
|
+
return throwDefaultError({
|
|
1661
1629
|
output,
|
|
1662
1630
|
parsedBody,
|
|
1663
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
1664
1631
|
errorCode,
|
|
1665
1632
|
});
|
|
1666
1633
|
}
|
|
@@ -1669,16 +1636,15 @@ const de_UpdateSiteAddressCommand = async (output, context) => {
|
|
|
1669
1636
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1670
1637
|
return de_UpdateSiteAddressCommandError(output, context);
|
|
1671
1638
|
}
|
|
1672
|
-
const contents = map({
|
|
1639
|
+
const contents = (0, smithy_client_1.map)({
|
|
1673
1640
|
$metadata: deserializeMetadata(output),
|
|
1674
1641
|
});
|
|
1675
1642
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
}
|
|
1643
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1644
|
+
Address: smithy_client_1._json,
|
|
1645
|
+
AddressType: smithy_client_1.expectString,
|
|
1646
|
+
});
|
|
1647
|
+
Object.assign(contents, doc);
|
|
1682
1648
|
return contents;
|
|
1683
1649
|
};
|
|
1684
1650
|
exports.de_UpdateSiteAddressCommand = de_UpdateSiteAddressCommand;
|
|
@@ -1706,10 +1672,9 @@ const de_UpdateSiteAddressCommandError = async (output, context) => {
|
|
|
1706
1672
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1707
1673
|
default:
|
|
1708
1674
|
const parsedBody = parsedOutput.body;
|
|
1709
|
-
|
|
1675
|
+
return throwDefaultError({
|
|
1710
1676
|
output,
|
|
1711
1677
|
parsedBody,
|
|
1712
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
1713
1678
|
errorCode,
|
|
1714
1679
|
});
|
|
1715
1680
|
}
|
|
@@ -1718,13 +1683,14 @@ const de_UpdateSiteRackPhysicalPropertiesCommand = async (output, context) => {
|
|
|
1718
1683
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1719
1684
|
return de_UpdateSiteRackPhysicalPropertiesCommandError(output, context);
|
|
1720
1685
|
}
|
|
1721
|
-
const contents = map({
|
|
1686
|
+
const contents = (0, smithy_client_1.map)({
|
|
1722
1687
|
$metadata: deserializeMetadata(output),
|
|
1723
1688
|
});
|
|
1724
1689
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
}
|
|
1690
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1691
|
+
Site: smithy_client_1._json,
|
|
1692
|
+
});
|
|
1693
|
+
Object.assign(contents, doc);
|
|
1728
1694
|
return contents;
|
|
1729
1695
|
};
|
|
1730
1696
|
exports.de_UpdateSiteRackPhysicalPropertiesCommand = de_UpdateSiteRackPhysicalPropertiesCommand;
|
|
@@ -1752,21 +1718,21 @@ const de_UpdateSiteRackPhysicalPropertiesCommandError = async (output, context)
|
|
|
1752
1718
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1753
1719
|
default:
|
|
1754
1720
|
const parsedBody = parsedOutput.body;
|
|
1755
|
-
|
|
1721
|
+
return throwDefaultError({
|
|
1756
1722
|
output,
|
|
1757
1723
|
parsedBody,
|
|
1758
|
-
exceptionCtor: OutpostsServiceException_1.OutpostsServiceException,
|
|
1759
1724
|
errorCode,
|
|
1760
1725
|
});
|
|
1761
1726
|
}
|
|
1762
1727
|
};
|
|
1763
|
-
const
|
|
1728
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(OutpostsServiceException_1.OutpostsServiceException);
|
|
1764
1729
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1765
|
-
const contents = map({});
|
|
1730
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1766
1731
|
const data = parsedOutput.body;
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
}
|
|
1732
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1733
|
+
Message: smithy_client_1.expectString,
|
|
1734
|
+
});
|
|
1735
|
+
Object.assign(contents, doc);
|
|
1770
1736
|
const exception = new models_0_1.AccessDeniedException({
|
|
1771
1737
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1772
1738
|
...contents,
|
|
@@ -1774,17 +1740,14 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
1774
1740
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1775
1741
|
};
|
|
1776
1742
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1777
|
-
const contents = map({});
|
|
1743
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1778
1744
|
const data = parsedOutput.body;
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
if (data.ResourceType != null) {
|
|
1786
|
-
contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
|
|
1787
|
-
}
|
|
1745
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1746
|
+
Message: smithy_client_1.expectString,
|
|
1747
|
+
ResourceId: smithy_client_1.expectString,
|
|
1748
|
+
ResourceType: smithy_client_1.expectString,
|
|
1749
|
+
});
|
|
1750
|
+
Object.assign(contents, doc);
|
|
1788
1751
|
const exception = new models_0_1.ConflictException({
|
|
1789
1752
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1790
1753
|
...contents,
|
|
@@ -1792,11 +1755,12 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
1792
1755
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1793
1756
|
};
|
|
1794
1757
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1795
|
-
const contents = map({});
|
|
1758
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1796
1759
|
const data = parsedOutput.body;
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
}
|
|
1760
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1761
|
+
Message: smithy_client_1.expectString,
|
|
1762
|
+
});
|
|
1763
|
+
Object.assign(contents, doc);
|
|
1800
1764
|
const exception = new models_0_1.InternalServerException({
|
|
1801
1765
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1802
1766
|
...contents,
|
|
@@ -1804,11 +1768,12 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
1804
1768
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1805
1769
|
};
|
|
1806
1770
|
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1807
|
-
const contents = map({});
|
|
1771
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1808
1772
|
const data = parsedOutput.body;
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
}
|
|
1773
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1774
|
+
Message: smithy_client_1.expectString,
|
|
1775
|
+
});
|
|
1776
|
+
Object.assign(contents, doc);
|
|
1812
1777
|
const exception = new models_0_1.NotFoundException({
|
|
1813
1778
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1814
1779
|
...contents,
|
|
@@ -1816,11 +1781,12 @@ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1816
1781
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1817
1782
|
};
|
|
1818
1783
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1819
|
-
const contents = map({});
|
|
1784
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1820
1785
|
const data = parsedOutput.body;
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
}
|
|
1786
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1787
|
+
Message: smithy_client_1.expectString,
|
|
1788
|
+
});
|
|
1789
|
+
Object.assign(contents, doc);
|
|
1824
1790
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
1825
1791
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1826
1792
|
...contents,
|
|
@@ -1828,404 +1794,91 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
1828
1794
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1829
1795
|
};
|
|
1830
1796
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1831
|
-
const contents = map({});
|
|
1797
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1832
1798
|
const data = parsedOutput.body;
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
}
|
|
1799
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1800
|
+
Message: smithy_client_1.expectString,
|
|
1801
|
+
});
|
|
1802
|
+
Object.assign(contents, doc);
|
|
1836
1803
|
const exception = new models_0_1.ValidationException({
|
|
1837
1804
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1838
1805
|
...contents,
|
|
1839
1806
|
});
|
|
1840
1807
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1841
1808
|
};
|
|
1842
|
-
const se_Address = (input, context) => {
|
|
1843
|
-
return {
|
|
1844
|
-
...(input.AddressLine1 != null && { AddressLine1: input.AddressLine1 }),
|
|
1845
|
-
...(input.AddressLine2 != null && { AddressLine2: input.AddressLine2 }),
|
|
1846
|
-
...(input.AddressLine3 != null && { AddressLine3: input.AddressLine3 }),
|
|
1847
|
-
...(input.City != null && { City: input.City }),
|
|
1848
|
-
...(input.ContactName != null && { ContactName: input.ContactName }),
|
|
1849
|
-
...(input.ContactPhoneNumber != null && { ContactPhoneNumber: input.ContactPhoneNumber }),
|
|
1850
|
-
...(input.CountryCode != null && { CountryCode: input.CountryCode }),
|
|
1851
|
-
...(input.DistrictOrCounty != null && { DistrictOrCounty: input.DistrictOrCounty }),
|
|
1852
|
-
...(input.Municipality != null && { Municipality: input.Municipality }),
|
|
1853
|
-
...(input.PostalCode != null && { PostalCode: input.PostalCode }),
|
|
1854
|
-
...(input.StateOrRegion != null && { StateOrRegion: input.StateOrRegion }),
|
|
1855
|
-
};
|
|
1856
|
-
};
|
|
1857
|
-
const se_LineItemRequest = (input, context) => {
|
|
1858
|
-
return {
|
|
1859
|
-
...(input.CatalogItemId != null && { CatalogItemId: input.CatalogItemId }),
|
|
1860
|
-
...(input.Quantity != null && { Quantity: input.Quantity }),
|
|
1861
|
-
};
|
|
1862
|
-
};
|
|
1863
|
-
const se_LineItemRequestListDefinition = (input, context) => {
|
|
1864
|
-
return input
|
|
1865
|
-
.filter((e) => e != null)
|
|
1866
|
-
.map((entry) => {
|
|
1867
|
-
return se_LineItemRequest(entry, context);
|
|
1868
|
-
});
|
|
1869
|
-
};
|
|
1870
|
-
const se_RackPhysicalProperties = (input, context) => {
|
|
1871
|
-
return {
|
|
1872
|
-
...(input.FiberOpticCableType != null && { FiberOpticCableType: input.FiberOpticCableType }),
|
|
1873
|
-
...(input.MaximumSupportedWeightLbs != null && { MaximumSupportedWeightLbs: input.MaximumSupportedWeightLbs }),
|
|
1874
|
-
...(input.OpticalStandard != null && { OpticalStandard: input.OpticalStandard }),
|
|
1875
|
-
...(input.PowerConnector != null && { PowerConnector: input.PowerConnector }),
|
|
1876
|
-
...(input.PowerDrawKva != null && { PowerDrawKva: input.PowerDrawKva }),
|
|
1877
|
-
...(input.PowerFeedDrop != null && { PowerFeedDrop: input.PowerFeedDrop }),
|
|
1878
|
-
...(input.PowerPhase != null && { PowerPhase: input.PowerPhase }),
|
|
1879
|
-
...(input.UplinkCount != null && { UplinkCount: input.UplinkCount }),
|
|
1880
|
-
...(input.UplinkGbps != null && { UplinkGbps: input.UplinkGbps }),
|
|
1881
|
-
};
|
|
1882
|
-
};
|
|
1883
|
-
const se_TagMap = (input, context) => {
|
|
1884
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1885
|
-
if (value === null) {
|
|
1886
|
-
return acc;
|
|
1887
|
-
}
|
|
1888
|
-
acc[key] = value;
|
|
1889
|
-
return acc;
|
|
1890
|
-
}, {});
|
|
1891
|
-
};
|
|
1892
|
-
const de_Address = (output, context) => {
|
|
1893
|
-
return {
|
|
1894
|
-
AddressLine1: (0, smithy_client_1.expectString)(output.AddressLine1),
|
|
1895
|
-
AddressLine2: (0, smithy_client_1.expectString)(output.AddressLine2),
|
|
1896
|
-
AddressLine3: (0, smithy_client_1.expectString)(output.AddressLine3),
|
|
1897
|
-
City: (0, smithy_client_1.expectString)(output.City),
|
|
1898
|
-
ContactName: (0, smithy_client_1.expectString)(output.ContactName),
|
|
1899
|
-
ContactPhoneNumber: (0, smithy_client_1.expectString)(output.ContactPhoneNumber),
|
|
1900
|
-
CountryCode: (0, smithy_client_1.expectString)(output.CountryCode),
|
|
1901
|
-
DistrictOrCounty: (0, smithy_client_1.expectString)(output.DistrictOrCounty),
|
|
1902
|
-
Municipality: (0, smithy_client_1.expectString)(output.Municipality),
|
|
1903
|
-
PostalCode: (0, smithy_client_1.expectString)(output.PostalCode),
|
|
1904
|
-
StateOrRegion: (0, smithy_client_1.expectString)(output.StateOrRegion),
|
|
1905
|
-
};
|
|
1906
|
-
};
|
|
1907
1809
|
const de_AssetInfo = (output, context) => {
|
|
1908
|
-
return {
|
|
1909
|
-
AssetId:
|
|
1910
|
-
AssetLocation:
|
|
1911
|
-
AssetType:
|
|
1912
|
-
ComputeAttributes:
|
|
1913
|
-
RackId:
|
|
1914
|
-
};
|
|
1810
|
+
return (0, smithy_client_1.take)(output, {
|
|
1811
|
+
AssetId: smithy_client_1.expectString,
|
|
1812
|
+
AssetLocation: (_) => de_AssetLocation(_, context),
|
|
1813
|
+
AssetType: smithy_client_1.expectString,
|
|
1814
|
+
ComputeAttributes: smithy_client_1._json,
|
|
1815
|
+
RackId: smithy_client_1.expectString,
|
|
1816
|
+
});
|
|
1915
1817
|
};
|
|
1916
1818
|
const de_AssetListDefinition = (output, context) => {
|
|
1917
1819
|
const retVal = (output || [])
|
|
1918
1820
|
.filter((e) => e != null)
|
|
1919
1821
|
.map((entry) => {
|
|
1920
|
-
if (entry === null) {
|
|
1921
|
-
return null;
|
|
1922
|
-
}
|
|
1923
1822
|
return de_AssetInfo(entry, context);
|
|
1924
1823
|
});
|
|
1925
1824
|
return retVal;
|
|
1926
1825
|
};
|
|
1927
1826
|
const de_AssetLocation = (output, context) => {
|
|
1928
|
-
return {
|
|
1929
|
-
RackElevation:
|
|
1930
|
-
};
|
|
1827
|
+
return (0, smithy_client_1.take)(output, {
|
|
1828
|
+
RackElevation: smithy_client_1.limitedParseFloat32,
|
|
1829
|
+
});
|
|
1931
1830
|
};
|
|
1932
1831
|
const de_CatalogItem = (output, context) => {
|
|
1933
|
-
return {
|
|
1934
|
-
CatalogItemId:
|
|
1935
|
-
EC2Capacities:
|
|
1936
|
-
ItemStatus:
|
|
1937
|
-
PowerKva:
|
|
1938
|
-
SupportedStorage:
|
|
1939
|
-
SupportedUplinkGbps:
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
WeightLbs: (0, smithy_client_1.expectInt32)(output.WeightLbs),
|
|
1943
|
-
};
|
|
1832
|
+
return (0, smithy_client_1.take)(output, {
|
|
1833
|
+
CatalogItemId: smithy_client_1.expectString,
|
|
1834
|
+
EC2Capacities: smithy_client_1._json,
|
|
1835
|
+
ItemStatus: smithy_client_1.expectString,
|
|
1836
|
+
PowerKva: smithy_client_1.limitedParseFloat32,
|
|
1837
|
+
SupportedStorage: smithy_client_1._json,
|
|
1838
|
+
SupportedUplinkGbps: smithy_client_1._json,
|
|
1839
|
+
WeightLbs: smithy_client_1.expectInt32,
|
|
1840
|
+
});
|
|
1944
1841
|
};
|
|
1945
1842
|
const de_CatalogItemListDefinition = (output, context) => {
|
|
1946
1843
|
const retVal = (output || [])
|
|
1947
1844
|
.filter((e) => e != null)
|
|
1948
1845
|
.map((entry) => {
|
|
1949
|
-
if (entry === null) {
|
|
1950
|
-
return null;
|
|
1951
|
-
}
|
|
1952
1846
|
return de_CatalogItem(entry, context);
|
|
1953
1847
|
});
|
|
1954
1848
|
return retVal;
|
|
1955
1849
|
};
|
|
1956
|
-
const de_CIDRList = (output, context) => {
|
|
1957
|
-
const retVal = (output || [])
|
|
1958
|
-
.filter((e) => e != null)
|
|
1959
|
-
.map((entry) => {
|
|
1960
|
-
if (entry === null) {
|
|
1961
|
-
return null;
|
|
1962
|
-
}
|
|
1963
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1964
|
-
});
|
|
1965
|
-
return retVal;
|
|
1966
|
-
};
|
|
1967
|
-
const de_ComputeAttributes = (output, context) => {
|
|
1968
|
-
return {
|
|
1969
|
-
HostId: (0, smithy_client_1.expectString)(output.HostId),
|
|
1970
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
1971
|
-
};
|
|
1972
|
-
};
|
|
1973
|
-
const de_ConnectionDetails = (output, context) => {
|
|
1974
|
-
return {
|
|
1975
|
-
AllowedIps: output.AllowedIps != null ? de_CIDRList(output.AllowedIps, context) : undefined,
|
|
1976
|
-
ClientPublicKey: (0, smithy_client_1.expectString)(output.ClientPublicKey),
|
|
1977
|
-
ClientTunnelAddress: (0, smithy_client_1.expectString)(output.ClientTunnelAddress),
|
|
1978
|
-
ServerEndpoint: (0, smithy_client_1.expectString)(output.ServerEndpoint),
|
|
1979
|
-
ServerPublicKey: (0, smithy_client_1.expectString)(output.ServerPublicKey),
|
|
1980
|
-
ServerTunnelAddress: (0, smithy_client_1.expectString)(output.ServerTunnelAddress),
|
|
1981
|
-
};
|
|
1982
|
-
};
|
|
1983
|
-
const de_EC2Capacity = (output, context) => {
|
|
1984
|
-
return {
|
|
1985
|
-
Family: (0, smithy_client_1.expectString)(output.Family),
|
|
1986
|
-
MaxSize: (0, smithy_client_1.expectString)(output.MaxSize),
|
|
1987
|
-
Quantity: (0, smithy_client_1.expectString)(output.Quantity),
|
|
1988
|
-
};
|
|
1989
|
-
};
|
|
1990
|
-
const de_EC2CapacityListDefinition = (output, context) => {
|
|
1991
|
-
const retVal = (output || [])
|
|
1992
|
-
.filter((e) => e != null)
|
|
1993
|
-
.map((entry) => {
|
|
1994
|
-
if (entry === null) {
|
|
1995
|
-
return null;
|
|
1996
|
-
}
|
|
1997
|
-
return de_EC2Capacity(entry, context);
|
|
1998
|
-
});
|
|
1999
|
-
return retVal;
|
|
2000
|
-
};
|
|
2001
|
-
const de_InstanceTypeItem = (output, context) => {
|
|
2002
|
-
return {
|
|
2003
|
-
InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
|
|
2004
|
-
};
|
|
2005
|
-
};
|
|
2006
|
-
const de_InstanceTypeListDefinition = (output, context) => {
|
|
2007
|
-
const retVal = (output || [])
|
|
2008
|
-
.filter((e) => e != null)
|
|
2009
|
-
.map((entry) => {
|
|
2010
|
-
if (entry === null) {
|
|
2011
|
-
return null;
|
|
2012
|
-
}
|
|
2013
|
-
return de_InstanceTypeItem(entry, context);
|
|
2014
|
-
});
|
|
2015
|
-
return retVal;
|
|
2016
|
-
};
|
|
2017
|
-
const de_LineItem = (output, context) => {
|
|
2018
|
-
return {
|
|
2019
|
-
AssetInformationList: output.AssetInformationList != null
|
|
2020
|
-
? de_LineItemAssetInformationList(output.AssetInformationList, context)
|
|
2021
|
-
: undefined,
|
|
2022
|
-
CatalogItemId: (0, smithy_client_1.expectString)(output.CatalogItemId),
|
|
2023
|
-
LineItemId: (0, smithy_client_1.expectString)(output.LineItemId),
|
|
2024
|
-
PreviousLineItemId: (0, smithy_client_1.expectString)(output.PreviousLineItemId),
|
|
2025
|
-
PreviousOrderId: (0, smithy_client_1.expectString)(output.PreviousOrderId),
|
|
2026
|
-
Quantity: (0, smithy_client_1.expectInt32)(output.Quantity),
|
|
2027
|
-
ShipmentInformation: output.ShipmentInformation != null ? de_ShipmentInformation(output.ShipmentInformation, context) : undefined,
|
|
2028
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2029
|
-
};
|
|
2030
|
-
};
|
|
2031
|
-
const de_LineItemAssetInformation = (output, context) => {
|
|
2032
|
-
return {
|
|
2033
|
-
AssetId: (0, smithy_client_1.expectString)(output.AssetId),
|
|
2034
|
-
MacAddressList: output.MacAddressList != null ? de_MacAddressList(output.MacAddressList, context) : undefined,
|
|
2035
|
-
};
|
|
2036
|
-
};
|
|
2037
|
-
const de_LineItemAssetInformationList = (output, context) => {
|
|
2038
|
-
const retVal = (output || [])
|
|
2039
|
-
.filter((e) => e != null)
|
|
2040
|
-
.map((entry) => {
|
|
2041
|
-
if (entry === null) {
|
|
2042
|
-
return null;
|
|
2043
|
-
}
|
|
2044
|
-
return de_LineItemAssetInformation(entry, context);
|
|
2045
|
-
});
|
|
2046
|
-
return retVal;
|
|
2047
|
-
};
|
|
2048
|
-
const de_LineItemListDefinition = (output, context) => {
|
|
2049
|
-
const retVal = (output || [])
|
|
2050
|
-
.filter((e) => e != null)
|
|
2051
|
-
.map((entry) => {
|
|
2052
|
-
if (entry === null) {
|
|
2053
|
-
return null;
|
|
2054
|
-
}
|
|
2055
|
-
return de_LineItem(entry, context);
|
|
2056
|
-
});
|
|
2057
|
-
return retVal;
|
|
2058
|
-
};
|
|
2059
|
-
const de_LineItemStatusCounts = (output, context) => {
|
|
2060
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2061
|
-
if (value === null) {
|
|
2062
|
-
return acc;
|
|
2063
|
-
}
|
|
2064
|
-
acc[key] = (0, smithy_client_1.expectInt32)(value);
|
|
2065
|
-
return acc;
|
|
2066
|
-
}, {});
|
|
2067
|
-
};
|
|
2068
|
-
const de_MacAddressList = (output, context) => {
|
|
2069
|
-
const retVal = (output || [])
|
|
2070
|
-
.filter((e) => e != null)
|
|
2071
|
-
.map((entry) => {
|
|
2072
|
-
if (entry === null) {
|
|
2073
|
-
return null;
|
|
2074
|
-
}
|
|
2075
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2076
|
-
});
|
|
2077
|
-
return retVal;
|
|
2078
|
-
};
|
|
2079
1850
|
const de_Order = (output, context) => {
|
|
2080
|
-
return {
|
|
2081
|
-
LineItems:
|
|
2082
|
-
OrderFulfilledDate:
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
PaymentOption: (0, smithy_client_1.expectString)(output.PaymentOption),
|
|
2092
|
-
PaymentTerm: (0, smithy_client_1.expectString)(output.PaymentTerm),
|
|
2093
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2094
|
-
};
|
|
1851
|
+
return (0, smithy_client_1.take)(output, {
|
|
1852
|
+
LineItems: smithy_client_1._json,
|
|
1853
|
+
OrderFulfilledDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1854
|
+
OrderId: smithy_client_1.expectString,
|
|
1855
|
+
OrderSubmissionDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1856
|
+
OrderType: smithy_client_1.expectString,
|
|
1857
|
+
OutpostId: smithy_client_1.expectString,
|
|
1858
|
+
PaymentOption: smithy_client_1.expectString,
|
|
1859
|
+
PaymentTerm: smithy_client_1.expectString,
|
|
1860
|
+
Status: smithy_client_1.expectString,
|
|
1861
|
+
});
|
|
2095
1862
|
};
|
|
2096
1863
|
const de_OrderSummary = (output, context) => {
|
|
2097
|
-
return {
|
|
2098
|
-
LineItemCountsByStatus:
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.OrderSubmissionDate)))
|
|
2107
|
-
: undefined,
|
|
2108
|
-
OrderType: (0, smithy_client_1.expectString)(output.OrderType),
|
|
2109
|
-
OutpostId: (0, smithy_client_1.expectString)(output.OutpostId),
|
|
2110
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2111
|
-
};
|
|
1864
|
+
return (0, smithy_client_1.take)(output, {
|
|
1865
|
+
LineItemCountsByStatus: smithy_client_1._json,
|
|
1866
|
+
OrderFulfilledDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1867
|
+
OrderId: smithy_client_1.expectString,
|
|
1868
|
+
OrderSubmissionDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1869
|
+
OrderType: smithy_client_1.expectString,
|
|
1870
|
+
OutpostId: smithy_client_1.expectString,
|
|
1871
|
+
Status: smithy_client_1.expectString,
|
|
1872
|
+
});
|
|
2112
1873
|
};
|
|
2113
1874
|
const de_OrderSummaryListDefinition = (output, context) => {
|
|
2114
1875
|
const retVal = (output || [])
|
|
2115
1876
|
.filter((e) => e != null)
|
|
2116
1877
|
.map((entry) => {
|
|
2117
|
-
if (entry === null) {
|
|
2118
|
-
return null;
|
|
2119
|
-
}
|
|
2120
1878
|
return de_OrderSummary(entry, context);
|
|
2121
1879
|
});
|
|
2122
1880
|
return retVal;
|
|
2123
1881
|
};
|
|
2124
|
-
const de_Outpost = (output, context) => {
|
|
2125
|
-
return {
|
|
2126
|
-
AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
|
|
2127
|
-
AvailabilityZoneId: (0, smithy_client_1.expectString)(output.AvailabilityZoneId),
|
|
2128
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2129
|
-
LifeCycleStatus: (0, smithy_client_1.expectString)(output.LifeCycleStatus),
|
|
2130
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2131
|
-
OutpostArn: (0, smithy_client_1.expectString)(output.OutpostArn),
|
|
2132
|
-
OutpostId: (0, smithy_client_1.expectString)(output.OutpostId),
|
|
2133
|
-
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
2134
|
-
SiteArn: (0, smithy_client_1.expectString)(output.SiteArn),
|
|
2135
|
-
SiteId: (0, smithy_client_1.expectString)(output.SiteId),
|
|
2136
|
-
SupportedHardwareType: (0, smithy_client_1.expectString)(output.SupportedHardwareType),
|
|
2137
|
-
Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
|
|
2138
|
-
};
|
|
2139
|
-
};
|
|
2140
|
-
const de_outpostListDefinition = (output, context) => {
|
|
2141
|
-
const retVal = (output || [])
|
|
2142
|
-
.filter((e) => e != null)
|
|
2143
|
-
.map((entry) => {
|
|
2144
|
-
if (entry === null) {
|
|
2145
|
-
return null;
|
|
2146
|
-
}
|
|
2147
|
-
return de_Outpost(entry, context);
|
|
2148
|
-
});
|
|
2149
|
-
return retVal;
|
|
2150
|
-
};
|
|
2151
|
-
const de_RackPhysicalProperties = (output, context) => {
|
|
2152
|
-
return {
|
|
2153
|
-
FiberOpticCableType: (0, smithy_client_1.expectString)(output.FiberOpticCableType),
|
|
2154
|
-
MaximumSupportedWeightLbs: (0, smithy_client_1.expectString)(output.MaximumSupportedWeightLbs),
|
|
2155
|
-
OpticalStandard: (0, smithy_client_1.expectString)(output.OpticalStandard),
|
|
2156
|
-
PowerConnector: (0, smithy_client_1.expectString)(output.PowerConnector),
|
|
2157
|
-
PowerDrawKva: (0, smithy_client_1.expectString)(output.PowerDrawKva),
|
|
2158
|
-
PowerFeedDrop: (0, smithy_client_1.expectString)(output.PowerFeedDrop),
|
|
2159
|
-
PowerPhase: (0, smithy_client_1.expectString)(output.PowerPhase),
|
|
2160
|
-
UplinkCount: (0, smithy_client_1.expectString)(output.UplinkCount),
|
|
2161
|
-
UplinkGbps: (0, smithy_client_1.expectString)(output.UplinkGbps),
|
|
2162
|
-
};
|
|
2163
|
-
};
|
|
2164
|
-
const de_ShipmentInformation = (output, context) => {
|
|
2165
|
-
return {
|
|
2166
|
-
ShipmentCarrier: (0, smithy_client_1.expectString)(output.ShipmentCarrier),
|
|
2167
|
-
ShipmentTrackingNumber: (0, smithy_client_1.expectString)(output.ShipmentTrackingNumber),
|
|
2168
|
-
};
|
|
2169
|
-
};
|
|
2170
|
-
const de_Site = (output, context) => {
|
|
2171
|
-
return {
|
|
2172
|
-
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
2173
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2174
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2175
|
-
Notes: (0, smithy_client_1.expectString)(output.Notes),
|
|
2176
|
-
OperatingAddressCity: (0, smithy_client_1.expectString)(output.OperatingAddressCity),
|
|
2177
|
-
OperatingAddressCountryCode: (0, smithy_client_1.expectString)(output.OperatingAddressCountryCode),
|
|
2178
|
-
OperatingAddressStateOrRegion: (0, smithy_client_1.expectString)(output.OperatingAddressStateOrRegion),
|
|
2179
|
-
RackPhysicalProperties: output.RackPhysicalProperties != null
|
|
2180
|
-
? de_RackPhysicalProperties(output.RackPhysicalProperties, context)
|
|
2181
|
-
: undefined,
|
|
2182
|
-
SiteArn: (0, smithy_client_1.expectString)(output.SiteArn),
|
|
2183
|
-
SiteId: (0, smithy_client_1.expectString)(output.SiteId),
|
|
2184
|
-
Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
|
|
2185
|
-
};
|
|
2186
|
-
};
|
|
2187
|
-
const de_siteListDefinition = (output, context) => {
|
|
2188
|
-
const retVal = (output || [])
|
|
2189
|
-
.filter((e) => e != null)
|
|
2190
|
-
.map((entry) => {
|
|
2191
|
-
if (entry === null) {
|
|
2192
|
-
return null;
|
|
2193
|
-
}
|
|
2194
|
-
return de_Site(entry, context);
|
|
2195
|
-
});
|
|
2196
|
-
return retVal;
|
|
2197
|
-
};
|
|
2198
|
-
const de_SupportedStorageList = (output, context) => {
|
|
2199
|
-
const retVal = (output || [])
|
|
2200
|
-
.filter((e) => e != null)
|
|
2201
|
-
.map((entry) => {
|
|
2202
|
-
if (entry === null) {
|
|
2203
|
-
return null;
|
|
2204
|
-
}
|
|
2205
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2206
|
-
});
|
|
2207
|
-
return retVal;
|
|
2208
|
-
};
|
|
2209
|
-
const de_SupportedUplinkGbpsListDefinition = (output, context) => {
|
|
2210
|
-
const retVal = (output || [])
|
|
2211
|
-
.filter((e) => e != null)
|
|
2212
|
-
.map((entry) => {
|
|
2213
|
-
if (entry === null) {
|
|
2214
|
-
return null;
|
|
2215
|
-
}
|
|
2216
|
-
return (0, smithy_client_1.expectInt32)(entry);
|
|
2217
|
-
});
|
|
2218
|
-
return retVal;
|
|
2219
|
-
};
|
|
2220
|
-
const de_TagMap = (output, context) => {
|
|
2221
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2222
|
-
if (value === null) {
|
|
2223
|
-
return acc;
|
|
2224
|
-
}
|
|
2225
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
2226
|
-
return acc;
|
|
2227
|
-
}, {});
|
|
2228
|
-
};
|
|
2229
1882
|
const deserializeMetadata = (output) => ({
|
|
2230
1883
|
httpStatusCode: output.statusCode,
|
|
2231
1884
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|