@aws-sdk/client-opensearch 3.54.0 → 3.56.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/CHANGELOG.md +24 -0
- package/dist-cjs/OpenSearchClient.js +13 -13
- package/dist-cjs/commands/AcceptInboundConnectionCommand.js +3 -3
- package/dist-cjs/commands/AddTagsCommand.js +3 -3
- package/dist-cjs/commands/AssociatePackageCommand.js +3 -3
- package/dist-cjs/commands/CancelServiceSoftwareUpdateCommand.js +3 -3
- package/dist-cjs/commands/CreateDomainCommand.js +3 -3
- package/dist-cjs/commands/CreateOutboundConnectionCommand.js +3 -3
- package/dist-cjs/commands/CreatePackageCommand.js +3 -3
- package/dist-cjs/commands/DeleteDomainCommand.js +3 -3
- package/dist-cjs/commands/DeleteInboundConnectionCommand.js +3 -3
- package/dist-cjs/commands/DeleteOutboundConnectionCommand.js +3 -3
- package/dist-cjs/commands/DeletePackageCommand.js +3 -3
- package/dist-cjs/commands/DescribeDomainAutoTunesCommand.js +3 -3
- package/dist-cjs/commands/DescribeDomainChangeProgressCommand.js +3 -3
- package/dist-cjs/commands/DescribeDomainCommand.js +3 -3
- package/dist-cjs/commands/DescribeDomainConfigCommand.js +3 -3
- package/dist-cjs/commands/DescribeDomainsCommand.js +3 -3
- package/dist-cjs/commands/DescribeInboundConnectionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeInstanceTypeLimitsCommand.js +3 -3
- package/dist-cjs/commands/DescribeOutboundConnectionsCommand.js +3 -3
- package/dist-cjs/commands/DescribePackagesCommand.js +3 -3
- package/dist-cjs/commands/DescribeReservedInstanceOfferingsCommand.js +3 -3
- package/dist-cjs/commands/DescribeReservedInstancesCommand.js +3 -3
- package/dist-cjs/commands/DissociatePackageCommand.js +3 -3
- package/dist-cjs/commands/GetCompatibleVersionsCommand.js +3 -3
- package/dist-cjs/commands/GetPackageVersionHistoryCommand.js +3 -3
- package/dist-cjs/commands/GetUpgradeHistoryCommand.js +3 -3
- package/dist-cjs/commands/GetUpgradeStatusCommand.js +3 -3
- package/dist-cjs/commands/ListDomainNamesCommand.js +3 -3
- package/dist-cjs/commands/ListDomainsForPackageCommand.js +3 -3
- package/dist-cjs/commands/ListInstanceTypeDetailsCommand.js +3 -3
- package/dist-cjs/commands/ListPackagesForDomainCommand.js +3 -3
- package/dist-cjs/commands/ListTagsCommand.js +3 -3
- package/dist-cjs/commands/ListVersionsCommand.js +3 -3
- package/dist-cjs/commands/PurchaseReservedInstanceOfferingCommand.js +3 -3
- package/dist-cjs/commands/RejectInboundConnectionCommand.js +3 -3
- package/dist-cjs/commands/RemoveTagsCommand.js +3 -3
- package/dist-cjs/commands/StartServiceSoftwareUpdateCommand.js +3 -3
- package/dist-cjs/commands/UpdateDomainConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdatePackageCommand.js +3 -3
- package/dist-cjs/commands/UpgradeDomainCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +327 -327
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/OpenSearch.js +40 -40
- package/dist-es/pagination/DescribeDomainAutoTunesPaginator.js +4 -4
- package/dist-es/pagination/DescribeInboundConnectionsPaginator.js +4 -4
- package/dist-es/pagination/DescribeOutboundConnectionsPaginator.js +4 -4
- package/dist-es/pagination/DescribePackagesPaginator.js +4 -4
- package/dist-es/pagination/DescribeReservedInstanceOfferingsPaginator.js +4 -4
- package/dist-es/pagination/DescribeReservedInstancesPaginator.js +4 -4
- package/dist-es/pagination/GetPackageVersionHistoryPaginator.js +4 -4
- package/dist-es/pagination/GetUpgradeHistoryPaginator.js +4 -4
- package/dist-es/pagination/ListDomainsForPackagePaginator.js +4 -4
- package/dist-es/pagination/ListInstanceTypeDetailsPaginator.js +4 -4
- package/dist-es/pagination/ListPackagesForDomainPaginator.js +4 -4
- package/dist-es/pagination/ListVersionsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +40 -40
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -16,7 +16,7 @@ const serializeAws_restJson1AcceptInboundConnectionCommand = async (input, conte
|
|
|
16
16
|
if (labelValue.length <= 0) {
|
|
17
17
|
throw new Error("Empty value provided for input HTTP label: ConnectionId.");
|
|
18
18
|
}
|
|
19
|
-
resolvedPath = resolvedPath.replace("{ConnectionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
19
|
+
resolvedPath = resolvedPath.replace("{ConnectionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
20
20
|
}
|
|
21
21
|
else {
|
|
22
22
|
throw new Error("No value provided for input HTTP label: ConnectionId.");
|
|
@@ -66,7 +66,7 @@ const serializeAws_restJson1AssociatePackageCommand = async (input, context) =>
|
|
|
66
66
|
if (labelValue.length <= 0) {
|
|
67
67
|
throw new Error("Empty value provided for input HTTP label: PackageID.");
|
|
68
68
|
}
|
|
69
|
-
resolvedPath = resolvedPath.replace("{PackageID}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
69
|
+
resolvedPath = resolvedPath.replace("{PackageID}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
70
70
|
}
|
|
71
71
|
else {
|
|
72
72
|
throw new Error("No value provided for input HTTP label: PackageID.");
|
|
@@ -76,7 +76,7 @@ const serializeAws_restJson1AssociatePackageCommand = async (input, context) =>
|
|
|
76
76
|
if (labelValue.length <= 0) {
|
|
77
77
|
throw new Error("Empty value provided for input HTTP label: DomainName.");
|
|
78
78
|
}
|
|
79
|
-
resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
79
|
+
resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
80
80
|
}
|
|
81
81
|
else {
|
|
82
82
|
throw new Error("No value provided for input HTTP label: DomainName.");
|
|
@@ -254,7 +254,7 @@ const serializeAws_restJson1DeleteDomainCommand = async (input, context) => {
|
|
|
254
254
|
if (labelValue.length <= 0) {
|
|
255
255
|
throw new Error("Empty value provided for input HTTP label: DomainName.");
|
|
256
256
|
}
|
|
257
|
-
resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
257
|
+
resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
258
258
|
}
|
|
259
259
|
else {
|
|
260
260
|
throw new Error("No value provided for input HTTP label: DomainName.");
|
|
@@ -281,7 +281,7 @@ const serializeAws_restJson1DeleteInboundConnectionCommand = async (input, conte
|
|
|
281
281
|
if (labelValue.length <= 0) {
|
|
282
282
|
throw new Error("Empty value provided for input HTTP label: ConnectionId.");
|
|
283
283
|
}
|
|
284
|
-
resolvedPath = resolvedPath.replace("{ConnectionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
284
|
+
resolvedPath = resolvedPath.replace("{ConnectionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
285
285
|
}
|
|
286
286
|
else {
|
|
287
287
|
throw new Error("No value provided for input HTTP label: ConnectionId.");
|
|
@@ -308,7 +308,7 @@ const serializeAws_restJson1DeleteOutboundConnectionCommand = async (input, cont
|
|
|
308
308
|
if (labelValue.length <= 0) {
|
|
309
309
|
throw new Error("Empty value provided for input HTTP label: ConnectionId.");
|
|
310
310
|
}
|
|
311
|
-
resolvedPath = resolvedPath.replace("{ConnectionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
311
|
+
resolvedPath = resolvedPath.replace("{ConnectionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
312
312
|
}
|
|
313
313
|
else {
|
|
314
314
|
throw new Error("No value provided for input HTTP label: ConnectionId.");
|
|
@@ -334,7 +334,7 @@ const serializeAws_restJson1DeletePackageCommand = async (input, context) => {
|
|
|
334
334
|
if (labelValue.length <= 0) {
|
|
335
335
|
throw new Error("Empty value provided for input HTTP label: PackageID.");
|
|
336
336
|
}
|
|
337
|
-
resolvedPath = resolvedPath.replace("{PackageID}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
337
|
+
resolvedPath = resolvedPath.replace("{PackageID}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
338
338
|
}
|
|
339
339
|
else {
|
|
340
340
|
throw new Error("No value provided for input HTTP label: PackageID.");
|
|
@@ -361,7 +361,7 @@ const serializeAws_restJson1DescribeDomainCommand = async (input, context) => {
|
|
|
361
361
|
if (labelValue.length <= 0) {
|
|
362
362
|
throw new Error("Empty value provided for input HTTP label: DomainName.");
|
|
363
363
|
}
|
|
364
|
-
resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
364
|
+
resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
365
365
|
}
|
|
366
366
|
else {
|
|
367
367
|
throw new Error("No value provided for input HTTP label: DomainName.");
|
|
@@ -390,7 +390,7 @@ const serializeAws_restJson1DescribeDomainAutoTunesCommand = async (input, conte
|
|
|
390
390
|
if (labelValue.length <= 0) {
|
|
391
391
|
throw new Error("Empty value provided for input HTTP label: DomainName.");
|
|
392
392
|
}
|
|
393
|
-
resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
393
|
+
resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
394
394
|
}
|
|
395
395
|
else {
|
|
396
396
|
throw new Error("No value provided for input HTTP label: DomainName.");
|
|
@@ -421,7 +421,7 @@ const serializeAws_restJson1DescribeDomainChangeProgressCommand = async (input,
|
|
|
421
421
|
if (labelValue.length <= 0) {
|
|
422
422
|
throw new Error("Empty value provided for input HTTP label: DomainName.");
|
|
423
423
|
}
|
|
424
|
-
resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
424
|
+
resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
425
425
|
}
|
|
426
426
|
else {
|
|
427
427
|
throw new Error("No value provided for input HTTP label: DomainName.");
|
|
@@ -452,7 +452,7 @@ const serializeAws_restJson1DescribeDomainConfigCommand = async (input, context)
|
|
|
452
452
|
if (labelValue.length <= 0) {
|
|
453
453
|
throw new Error("Empty value provided for input HTTP label: DomainName.");
|
|
454
454
|
}
|
|
455
|
-
resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
455
|
+
resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
456
456
|
}
|
|
457
457
|
else {
|
|
458
458
|
throw new Error("No value provided for input HTTP label: DomainName.");
|
|
@@ -526,7 +526,7 @@ const serializeAws_restJson1DescribeInstanceTypeLimitsCommand = async (input, co
|
|
|
526
526
|
if (labelValue.length <= 0) {
|
|
527
527
|
throw new Error("Empty value provided for input HTTP label: InstanceType.");
|
|
528
528
|
}
|
|
529
|
-
resolvedPath = resolvedPath.replace("{InstanceType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
529
|
+
resolvedPath = resolvedPath.replace("{InstanceType}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
530
530
|
}
|
|
531
531
|
else {
|
|
532
532
|
throw new Error("No value provided for input HTTP label: InstanceType.");
|
|
@@ -536,7 +536,7 @@ const serializeAws_restJson1DescribeInstanceTypeLimitsCommand = async (input, co
|
|
|
536
536
|
if (labelValue.length <= 0) {
|
|
537
537
|
throw new Error("Empty value provided for input HTTP label: EngineVersion.");
|
|
538
538
|
}
|
|
539
|
-
resolvedPath = resolvedPath.replace("{EngineVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
539
|
+
resolvedPath = resolvedPath.replace("{EngineVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
540
540
|
}
|
|
541
541
|
else {
|
|
542
542
|
throw new Error("No value provided for input HTTP label: EngineVersion.");
|
|
@@ -661,7 +661,7 @@ const serializeAws_restJson1DissociatePackageCommand = async (input, context) =>
|
|
|
661
661
|
if (labelValue.length <= 0) {
|
|
662
662
|
throw new Error("Empty value provided for input HTTP label: PackageID.");
|
|
663
663
|
}
|
|
664
|
-
resolvedPath = resolvedPath.replace("{PackageID}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
664
|
+
resolvedPath = resolvedPath.replace("{PackageID}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
665
665
|
}
|
|
666
666
|
else {
|
|
667
667
|
throw new Error("No value provided for input HTTP label: PackageID.");
|
|
@@ -671,7 +671,7 @@ const serializeAws_restJson1DissociatePackageCommand = async (input, context) =>
|
|
|
671
671
|
if (labelValue.length <= 0) {
|
|
672
672
|
throw new Error("Empty value provided for input HTTP label: DomainName.");
|
|
673
673
|
}
|
|
674
|
-
resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
674
|
+
resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
675
675
|
}
|
|
676
676
|
else {
|
|
677
677
|
throw new Error("No value provided for input HTTP label: DomainName.");
|
|
@@ -717,7 +717,7 @@ const serializeAws_restJson1GetPackageVersionHistoryCommand = async (input, cont
|
|
|
717
717
|
if (labelValue.length <= 0) {
|
|
718
718
|
throw new Error("Empty value provided for input HTTP label: PackageID.");
|
|
719
719
|
}
|
|
720
|
-
resolvedPath = resolvedPath.replace("{PackageID}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
720
|
+
resolvedPath = resolvedPath.replace("{PackageID}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
721
721
|
}
|
|
722
722
|
else {
|
|
723
723
|
throw new Error("No value provided for input HTTP label: PackageID.");
|
|
@@ -749,7 +749,7 @@ const serializeAws_restJson1GetUpgradeHistoryCommand = async (input, context) =>
|
|
|
749
749
|
if (labelValue.length <= 0) {
|
|
750
750
|
throw new Error("Empty value provided for input HTTP label: DomainName.");
|
|
751
751
|
}
|
|
752
|
-
resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
752
|
+
resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
753
753
|
}
|
|
754
754
|
else {
|
|
755
755
|
throw new Error("No value provided for input HTTP label: DomainName.");
|
|
@@ -781,7 +781,7 @@ const serializeAws_restJson1GetUpgradeStatusCommand = async (input, context) =>
|
|
|
781
781
|
if (labelValue.length <= 0) {
|
|
782
782
|
throw new Error("Empty value provided for input HTTP label: DomainName.");
|
|
783
783
|
}
|
|
784
|
-
resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
784
|
+
resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
785
785
|
}
|
|
786
786
|
else {
|
|
787
787
|
throw new Error("No value provided for input HTTP label: DomainName.");
|
|
@@ -827,7 +827,7 @@ const serializeAws_restJson1ListDomainsForPackageCommand = async (input, context
|
|
|
827
827
|
if (labelValue.length <= 0) {
|
|
828
828
|
throw new Error("Empty value provided for input HTTP label: PackageID.");
|
|
829
829
|
}
|
|
830
|
-
resolvedPath = resolvedPath.replace("{PackageID}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
830
|
+
resolvedPath = resolvedPath.replace("{PackageID}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
831
831
|
}
|
|
832
832
|
else {
|
|
833
833
|
throw new Error("No value provided for input HTTP label: PackageID.");
|
|
@@ -859,7 +859,7 @@ const serializeAws_restJson1ListInstanceTypeDetailsCommand = async (input, conte
|
|
|
859
859
|
if (labelValue.length <= 0) {
|
|
860
860
|
throw new Error("Empty value provided for input HTTP label: EngineVersion.");
|
|
861
861
|
}
|
|
862
|
-
resolvedPath = resolvedPath.replace("{EngineVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
862
|
+
resolvedPath = resolvedPath.replace("{EngineVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
863
863
|
}
|
|
864
864
|
else {
|
|
865
865
|
throw new Error("No value provided for input HTTP label: EngineVersion.");
|
|
@@ -891,7 +891,7 @@ const serializeAws_restJson1ListPackagesForDomainCommand = async (input, context
|
|
|
891
891
|
if (labelValue.length <= 0) {
|
|
892
892
|
throw new Error("Empty value provided for input HTTP label: DomainName.");
|
|
893
893
|
}
|
|
894
|
-
resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
894
|
+
resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
895
895
|
}
|
|
896
896
|
else {
|
|
897
897
|
throw new Error("No value provided for input HTTP label: DomainName.");
|
|
@@ -990,7 +990,7 @@ const serializeAws_restJson1RejectInboundConnectionCommand = async (input, conte
|
|
|
990
990
|
if (labelValue.length <= 0) {
|
|
991
991
|
throw new Error("Empty value provided for input HTTP label: ConnectionId.");
|
|
992
992
|
}
|
|
993
|
-
resolvedPath = resolvedPath.replace("{ConnectionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
993
|
+
resolvedPath = resolvedPath.replace("{ConnectionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
994
994
|
}
|
|
995
995
|
else {
|
|
996
996
|
throw new Error("No value provided for input HTTP label: ConnectionId.");
|
|
@@ -1064,7 +1064,7 @@ const serializeAws_restJson1UpdateDomainConfigCommand = async (input, context) =
|
|
|
1064
1064
|
if (labelValue.length <= 0) {
|
|
1065
1065
|
throw new Error("Empty value provided for input HTTP label: DomainName.");
|
|
1066
1066
|
}
|
|
1067
|
-
resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1067
|
+
resolvedPath = resolvedPath.replace("{DomainName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1068
1068
|
}
|
|
1069
1069
|
else {
|
|
1070
1070
|
throw new Error("No value provided for input HTTP label: DomainName.");
|
|
@@ -1194,7 +1194,7 @@ const deserializeAws_restJson1AcceptInboundConnectionCommand = async (output, co
|
|
|
1194
1194
|
$metadata: deserializeMetadata(output),
|
|
1195
1195
|
Connection: undefined,
|
|
1196
1196
|
};
|
|
1197
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1197
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1198
1198
|
if (data.Connection !== undefined && data.Connection !== null) {
|
|
1199
1199
|
contents.Connection = deserializeAws_restJson1InboundConnection(data.Connection, context);
|
|
1200
1200
|
}
|
|
@@ -1226,7 +1226,7 @@ const deserializeAws_restJson1AcceptInboundConnectionCommandError = async (outpu
|
|
|
1226
1226
|
$fault: "client",
|
|
1227
1227
|
$metadata: deserializeMetadata(output),
|
|
1228
1228
|
});
|
|
1229
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1229
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1230
1230
|
}
|
|
1231
1231
|
};
|
|
1232
1232
|
const deserializeAws_restJson1AddTagsCommand = async (output, context) => {
|
|
@@ -1268,7 +1268,7 @@ const deserializeAws_restJson1AddTagsCommandError = async (output, context) => {
|
|
|
1268
1268
|
$fault: "client",
|
|
1269
1269
|
$metadata: deserializeMetadata(output),
|
|
1270
1270
|
});
|
|
1271
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1271
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1272
1272
|
}
|
|
1273
1273
|
};
|
|
1274
1274
|
const deserializeAws_restJson1AssociatePackageCommand = async (output, context) => {
|
|
@@ -1279,7 +1279,7 @@ const deserializeAws_restJson1AssociatePackageCommand = async (output, context)
|
|
|
1279
1279
|
$metadata: deserializeMetadata(output),
|
|
1280
1280
|
DomainPackageDetails: undefined,
|
|
1281
1281
|
};
|
|
1282
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1282
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1283
1283
|
if (data.DomainPackageDetails !== undefined && data.DomainPackageDetails !== null) {
|
|
1284
1284
|
contents.DomainPackageDetails = deserializeAws_restJson1DomainPackageDetails(data.DomainPackageDetails, context);
|
|
1285
1285
|
}
|
|
@@ -1320,7 +1320,7 @@ const deserializeAws_restJson1AssociatePackageCommandError = async (output, cont
|
|
|
1320
1320
|
$fault: "client",
|
|
1321
1321
|
$metadata: deserializeMetadata(output),
|
|
1322
1322
|
});
|
|
1323
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1323
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1324
1324
|
}
|
|
1325
1325
|
};
|
|
1326
1326
|
const deserializeAws_restJson1CancelServiceSoftwareUpdateCommand = async (output, context) => {
|
|
@@ -1331,7 +1331,7 @@ const deserializeAws_restJson1CancelServiceSoftwareUpdateCommand = async (output
|
|
|
1331
1331
|
$metadata: deserializeMetadata(output),
|
|
1332
1332
|
ServiceSoftwareOptions: undefined,
|
|
1333
1333
|
};
|
|
1334
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1334
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1335
1335
|
if (data.ServiceSoftwareOptions !== undefined && data.ServiceSoftwareOptions !== null) {
|
|
1336
1336
|
contents.ServiceSoftwareOptions = deserializeAws_restJson1ServiceSoftwareOptions(data.ServiceSoftwareOptions, context);
|
|
1337
1337
|
}
|
|
@@ -1366,7 +1366,7 @@ const deserializeAws_restJson1CancelServiceSoftwareUpdateCommandError = async (o
|
|
|
1366
1366
|
$fault: "client",
|
|
1367
1367
|
$metadata: deserializeMetadata(output),
|
|
1368
1368
|
});
|
|
1369
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1369
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1370
1370
|
}
|
|
1371
1371
|
};
|
|
1372
1372
|
const deserializeAws_restJson1CreateDomainCommand = async (output, context) => {
|
|
@@ -1377,7 +1377,7 @@ const deserializeAws_restJson1CreateDomainCommand = async (output, context) => {
|
|
|
1377
1377
|
$metadata: deserializeMetadata(output),
|
|
1378
1378
|
DomainStatus: undefined,
|
|
1379
1379
|
};
|
|
1380
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1380
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1381
1381
|
if (data.DomainStatus !== undefined && data.DomainStatus !== null) {
|
|
1382
1382
|
contents.DomainStatus = deserializeAws_restJson1DomainStatus(data.DomainStatus, context);
|
|
1383
1383
|
}
|
|
@@ -1421,7 +1421,7 @@ const deserializeAws_restJson1CreateDomainCommandError = async (output, context)
|
|
|
1421
1421
|
$fault: "client",
|
|
1422
1422
|
$metadata: deserializeMetadata(output),
|
|
1423
1423
|
});
|
|
1424
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1424
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1425
1425
|
}
|
|
1426
1426
|
};
|
|
1427
1427
|
const deserializeAws_restJson1CreateOutboundConnectionCommand = async (output, context) => {
|
|
@@ -1436,12 +1436,12 @@ const deserializeAws_restJson1CreateOutboundConnectionCommand = async (output, c
|
|
|
1436
1436
|
LocalDomainInfo: undefined,
|
|
1437
1437
|
RemoteDomainInfo: undefined,
|
|
1438
1438
|
};
|
|
1439
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1439
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1440
1440
|
if (data.ConnectionAlias !== undefined && data.ConnectionAlias !== null) {
|
|
1441
|
-
contents.ConnectionAlias = smithy_client_1.expectString(data.ConnectionAlias);
|
|
1441
|
+
contents.ConnectionAlias = (0, smithy_client_1.expectString)(data.ConnectionAlias);
|
|
1442
1442
|
}
|
|
1443
1443
|
if (data.ConnectionId !== undefined && data.ConnectionId !== null) {
|
|
1444
|
-
contents.ConnectionId = smithy_client_1.expectString(data.ConnectionId);
|
|
1444
|
+
contents.ConnectionId = (0, smithy_client_1.expectString)(data.ConnectionId);
|
|
1445
1445
|
}
|
|
1446
1446
|
if (data.ConnectionStatus !== undefined && data.ConnectionStatus !== null) {
|
|
1447
1447
|
contents.ConnectionStatus = deserializeAws_restJson1OutboundConnectionStatus(data.ConnectionStatus, context);
|
|
@@ -1483,7 +1483,7 @@ const deserializeAws_restJson1CreateOutboundConnectionCommandError = async (outp
|
|
|
1483
1483
|
$fault: "client",
|
|
1484
1484
|
$metadata: deserializeMetadata(output),
|
|
1485
1485
|
});
|
|
1486
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1486
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1487
1487
|
}
|
|
1488
1488
|
};
|
|
1489
1489
|
const deserializeAws_restJson1CreatePackageCommand = async (output, context) => {
|
|
@@ -1494,7 +1494,7 @@ const deserializeAws_restJson1CreatePackageCommand = async (output, context) =>
|
|
|
1494
1494
|
$metadata: deserializeMetadata(output),
|
|
1495
1495
|
PackageDetails: undefined,
|
|
1496
1496
|
};
|
|
1497
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1497
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1498
1498
|
if (data.PackageDetails !== undefined && data.PackageDetails !== null) {
|
|
1499
1499
|
contents.PackageDetails = deserializeAws_restJson1PackageDetails(data.PackageDetails, context);
|
|
1500
1500
|
}
|
|
@@ -1538,7 +1538,7 @@ const deserializeAws_restJson1CreatePackageCommandError = async (output, context
|
|
|
1538
1538
|
$fault: "client",
|
|
1539
1539
|
$metadata: deserializeMetadata(output),
|
|
1540
1540
|
});
|
|
1541
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1541
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1542
1542
|
}
|
|
1543
1543
|
};
|
|
1544
1544
|
const deserializeAws_restJson1DeleteDomainCommand = async (output, context) => {
|
|
@@ -1549,7 +1549,7 @@ const deserializeAws_restJson1DeleteDomainCommand = async (output, context) => {
|
|
|
1549
1549
|
$metadata: deserializeMetadata(output),
|
|
1550
1550
|
DomainStatus: undefined,
|
|
1551
1551
|
};
|
|
1552
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1552
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1553
1553
|
if (data.DomainStatus !== undefined && data.DomainStatus !== null) {
|
|
1554
1554
|
contents.DomainStatus = deserializeAws_restJson1DomainStatus(data.DomainStatus, context);
|
|
1555
1555
|
}
|
|
@@ -1584,7 +1584,7 @@ const deserializeAws_restJson1DeleteDomainCommandError = async (output, context)
|
|
|
1584
1584
|
$fault: "client",
|
|
1585
1585
|
$metadata: deserializeMetadata(output),
|
|
1586
1586
|
});
|
|
1587
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1587
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1588
1588
|
}
|
|
1589
1589
|
};
|
|
1590
1590
|
const deserializeAws_restJson1DeleteInboundConnectionCommand = async (output, context) => {
|
|
@@ -1595,7 +1595,7 @@ const deserializeAws_restJson1DeleteInboundConnectionCommand = async (output, co
|
|
|
1595
1595
|
$metadata: deserializeMetadata(output),
|
|
1596
1596
|
Connection: undefined,
|
|
1597
1597
|
};
|
|
1598
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1598
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1599
1599
|
if (data.Connection !== undefined && data.Connection !== null) {
|
|
1600
1600
|
contents.Connection = deserializeAws_restJson1InboundConnection(data.Connection, context);
|
|
1601
1601
|
}
|
|
@@ -1624,7 +1624,7 @@ const deserializeAws_restJson1DeleteInboundConnectionCommandError = async (outpu
|
|
|
1624
1624
|
$fault: "client",
|
|
1625
1625
|
$metadata: deserializeMetadata(output),
|
|
1626
1626
|
});
|
|
1627
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1627
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1628
1628
|
}
|
|
1629
1629
|
};
|
|
1630
1630
|
const deserializeAws_restJson1DeleteOutboundConnectionCommand = async (output, context) => {
|
|
@@ -1635,7 +1635,7 @@ const deserializeAws_restJson1DeleteOutboundConnectionCommand = async (output, c
|
|
|
1635
1635
|
$metadata: deserializeMetadata(output),
|
|
1636
1636
|
Connection: undefined,
|
|
1637
1637
|
};
|
|
1638
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1638
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1639
1639
|
if (data.Connection !== undefined && data.Connection !== null) {
|
|
1640
1640
|
contents.Connection = deserializeAws_restJson1OutboundConnection(data.Connection, context);
|
|
1641
1641
|
}
|
|
@@ -1664,7 +1664,7 @@ const deserializeAws_restJson1DeleteOutboundConnectionCommandError = async (outp
|
|
|
1664
1664
|
$fault: "client",
|
|
1665
1665
|
$metadata: deserializeMetadata(output),
|
|
1666
1666
|
});
|
|
1667
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1667
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1668
1668
|
}
|
|
1669
1669
|
};
|
|
1670
1670
|
const deserializeAws_restJson1DeletePackageCommand = async (output, context) => {
|
|
@@ -1675,7 +1675,7 @@ const deserializeAws_restJson1DeletePackageCommand = async (output, context) =>
|
|
|
1675
1675
|
$metadata: deserializeMetadata(output),
|
|
1676
1676
|
PackageDetails: undefined,
|
|
1677
1677
|
};
|
|
1678
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1678
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1679
1679
|
if (data.PackageDetails !== undefined && data.PackageDetails !== null) {
|
|
1680
1680
|
contents.PackageDetails = deserializeAws_restJson1PackageDetails(data.PackageDetails, context);
|
|
1681
1681
|
}
|
|
@@ -1716,7 +1716,7 @@ const deserializeAws_restJson1DeletePackageCommandError = async (output, context
|
|
|
1716
1716
|
$fault: "client",
|
|
1717
1717
|
$metadata: deserializeMetadata(output),
|
|
1718
1718
|
});
|
|
1719
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1719
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1720
1720
|
}
|
|
1721
1721
|
};
|
|
1722
1722
|
const deserializeAws_restJson1DescribeDomainCommand = async (output, context) => {
|
|
@@ -1727,7 +1727,7 @@ const deserializeAws_restJson1DescribeDomainCommand = async (output, context) =>
|
|
|
1727
1727
|
$metadata: deserializeMetadata(output),
|
|
1728
1728
|
DomainStatus: undefined,
|
|
1729
1729
|
};
|
|
1730
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1730
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1731
1731
|
if (data.DomainStatus !== undefined && data.DomainStatus !== null) {
|
|
1732
1732
|
contents.DomainStatus = deserializeAws_restJson1DomainStatus(data.DomainStatus, context);
|
|
1733
1733
|
}
|
|
@@ -1762,7 +1762,7 @@ const deserializeAws_restJson1DescribeDomainCommandError = async (output, contex
|
|
|
1762
1762
|
$fault: "client",
|
|
1763
1763
|
$metadata: deserializeMetadata(output),
|
|
1764
1764
|
});
|
|
1765
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1765
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1766
1766
|
}
|
|
1767
1767
|
};
|
|
1768
1768
|
const deserializeAws_restJson1DescribeDomainAutoTunesCommand = async (output, context) => {
|
|
@@ -1774,12 +1774,12 @@ const deserializeAws_restJson1DescribeDomainAutoTunesCommand = async (output, co
|
|
|
1774
1774
|
AutoTunes: undefined,
|
|
1775
1775
|
NextToken: undefined,
|
|
1776
1776
|
};
|
|
1777
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1777
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1778
1778
|
if (data.AutoTunes !== undefined && data.AutoTunes !== null) {
|
|
1779
1779
|
contents.AutoTunes = deserializeAws_restJson1AutoTuneList(data.AutoTunes, context);
|
|
1780
1780
|
}
|
|
1781
1781
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1782
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1782
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1783
1783
|
}
|
|
1784
1784
|
return Promise.resolve(contents);
|
|
1785
1785
|
};
|
|
@@ -1812,7 +1812,7 @@ const deserializeAws_restJson1DescribeDomainAutoTunesCommandError = async (outpu
|
|
|
1812
1812
|
$fault: "client",
|
|
1813
1813
|
$metadata: deserializeMetadata(output),
|
|
1814
1814
|
});
|
|
1815
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1815
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1816
1816
|
}
|
|
1817
1817
|
};
|
|
1818
1818
|
const deserializeAws_restJson1DescribeDomainChangeProgressCommand = async (output, context) => {
|
|
@@ -1823,7 +1823,7 @@ const deserializeAws_restJson1DescribeDomainChangeProgressCommand = async (outpu
|
|
|
1823
1823
|
$metadata: deserializeMetadata(output),
|
|
1824
1824
|
ChangeProgressStatus: undefined,
|
|
1825
1825
|
};
|
|
1826
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1826
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1827
1827
|
if (data.ChangeProgressStatus !== undefined && data.ChangeProgressStatus !== null) {
|
|
1828
1828
|
contents.ChangeProgressStatus = deserializeAws_restJson1ChangeProgressStatusDetails(data.ChangeProgressStatus, context);
|
|
1829
1829
|
}
|
|
@@ -1858,7 +1858,7 @@ const deserializeAws_restJson1DescribeDomainChangeProgressCommandError = async (
|
|
|
1858
1858
|
$fault: "client",
|
|
1859
1859
|
$metadata: deserializeMetadata(output),
|
|
1860
1860
|
});
|
|
1861
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1861
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1862
1862
|
}
|
|
1863
1863
|
};
|
|
1864
1864
|
const deserializeAws_restJson1DescribeDomainConfigCommand = async (output, context) => {
|
|
@@ -1869,7 +1869,7 @@ const deserializeAws_restJson1DescribeDomainConfigCommand = async (output, conte
|
|
|
1869
1869
|
$metadata: deserializeMetadata(output),
|
|
1870
1870
|
DomainConfig: undefined,
|
|
1871
1871
|
};
|
|
1872
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1872
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1873
1873
|
if (data.DomainConfig !== undefined && data.DomainConfig !== null) {
|
|
1874
1874
|
contents.DomainConfig = deserializeAws_restJson1DomainConfig(data.DomainConfig, context);
|
|
1875
1875
|
}
|
|
@@ -1904,7 +1904,7 @@ const deserializeAws_restJson1DescribeDomainConfigCommandError = async (output,
|
|
|
1904
1904
|
$fault: "client",
|
|
1905
1905
|
$metadata: deserializeMetadata(output),
|
|
1906
1906
|
});
|
|
1907
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1907
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1908
1908
|
}
|
|
1909
1909
|
};
|
|
1910
1910
|
const deserializeAws_restJson1DescribeDomainsCommand = async (output, context) => {
|
|
@@ -1915,7 +1915,7 @@ const deserializeAws_restJson1DescribeDomainsCommand = async (output, context) =
|
|
|
1915
1915
|
$metadata: deserializeMetadata(output),
|
|
1916
1916
|
DomainStatusList: undefined,
|
|
1917
1917
|
};
|
|
1918
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1918
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1919
1919
|
if (data.DomainStatusList !== undefined && data.DomainStatusList !== null) {
|
|
1920
1920
|
contents.DomainStatusList = deserializeAws_restJson1DomainStatusList(data.DomainStatusList, context);
|
|
1921
1921
|
}
|
|
@@ -1947,7 +1947,7 @@ const deserializeAws_restJson1DescribeDomainsCommandError = async (output, conte
|
|
|
1947
1947
|
$fault: "client",
|
|
1948
1948
|
$metadata: deserializeMetadata(output),
|
|
1949
1949
|
});
|
|
1950
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1950
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1951
1951
|
}
|
|
1952
1952
|
};
|
|
1953
1953
|
const deserializeAws_restJson1DescribeInboundConnectionsCommand = async (output, context) => {
|
|
@@ -1959,12 +1959,12 @@ const deserializeAws_restJson1DescribeInboundConnectionsCommand = async (output,
|
|
|
1959
1959
|
Connections: undefined,
|
|
1960
1960
|
NextToken: undefined,
|
|
1961
1961
|
};
|
|
1962
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1962
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1963
1963
|
if (data.Connections !== undefined && data.Connections !== null) {
|
|
1964
1964
|
contents.Connections = deserializeAws_restJson1InboundConnections(data.Connections, context);
|
|
1965
1965
|
}
|
|
1966
1966
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1967
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1967
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1968
1968
|
}
|
|
1969
1969
|
return Promise.resolve(contents);
|
|
1970
1970
|
};
|
|
@@ -1991,7 +1991,7 @@ const deserializeAws_restJson1DescribeInboundConnectionsCommandError = async (ou
|
|
|
1991
1991
|
$fault: "client",
|
|
1992
1992
|
$metadata: deserializeMetadata(output),
|
|
1993
1993
|
});
|
|
1994
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1994
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1995
1995
|
}
|
|
1996
1996
|
};
|
|
1997
1997
|
const deserializeAws_restJson1DescribeInstanceTypeLimitsCommand = async (output, context) => {
|
|
@@ -2002,7 +2002,7 @@ const deserializeAws_restJson1DescribeInstanceTypeLimitsCommand = async (output,
|
|
|
2002
2002
|
$metadata: deserializeMetadata(output),
|
|
2003
2003
|
LimitsByRole: undefined,
|
|
2004
2004
|
};
|
|
2005
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2005
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2006
2006
|
if (data.LimitsByRole !== undefined && data.LimitsByRole !== null) {
|
|
2007
2007
|
contents.LimitsByRole = deserializeAws_restJson1LimitsByRole(data.LimitsByRole, context);
|
|
2008
2008
|
}
|
|
@@ -2043,7 +2043,7 @@ const deserializeAws_restJson1DescribeInstanceTypeLimitsCommandError = async (ou
|
|
|
2043
2043
|
$fault: "client",
|
|
2044
2044
|
$metadata: deserializeMetadata(output),
|
|
2045
2045
|
});
|
|
2046
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2046
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2047
2047
|
}
|
|
2048
2048
|
};
|
|
2049
2049
|
const deserializeAws_restJson1DescribeOutboundConnectionsCommand = async (output, context) => {
|
|
@@ -2055,12 +2055,12 @@ const deserializeAws_restJson1DescribeOutboundConnectionsCommand = async (output
|
|
|
2055
2055
|
Connections: undefined,
|
|
2056
2056
|
NextToken: undefined,
|
|
2057
2057
|
};
|
|
2058
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2058
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2059
2059
|
if (data.Connections !== undefined && data.Connections !== null) {
|
|
2060
2060
|
contents.Connections = deserializeAws_restJson1OutboundConnections(data.Connections, context);
|
|
2061
2061
|
}
|
|
2062
2062
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2063
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2063
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2064
2064
|
}
|
|
2065
2065
|
return Promise.resolve(contents);
|
|
2066
2066
|
};
|
|
@@ -2087,7 +2087,7 @@ const deserializeAws_restJson1DescribeOutboundConnectionsCommandError = async (o
|
|
|
2087
2087
|
$fault: "client",
|
|
2088
2088
|
$metadata: deserializeMetadata(output),
|
|
2089
2089
|
});
|
|
2090
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2090
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2091
2091
|
}
|
|
2092
2092
|
};
|
|
2093
2093
|
const deserializeAws_restJson1DescribePackagesCommand = async (output, context) => {
|
|
@@ -2099,9 +2099,9 @@ const deserializeAws_restJson1DescribePackagesCommand = async (output, context)
|
|
|
2099
2099
|
NextToken: undefined,
|
|
2100
2100
|
PackageDetailsList: undefined,
|
|
2101
2101
|
};
|
|
2102
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2102
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2103
2103
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2104
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2104
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2105
2105
|
}
|
|
2106
2106
|
if (data.PackageDetailsList !== undefined && data.PackageDetailsList !== null) {
|
|
2107
2107
|
contents.PackageDetailsList = deserializeAws_restJson1PackageDetailsList(data.PackageDetailsList, context);
|
|
@@ -2140,7 +2140,7 @@ const deserializeAws_restJson1DescribePackagesCommandError = async (output, cont
|
|
|
2140
2140
|
$fault: "client",
|
|
2141
2141
|
$metadata: deserializeMetadata(output),
|
|
2142
2142
|
});
|
|
2143
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2143
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2144
2144
|
}
|
|
2145
2145
|
};
|
|
2146
2146
|
const deserializeAws_restJson1DescribeReservedInstanceOfferingsCommand = async (output, context) => {
|
|
@@ -2152,9 +2152,9 @@ const deserializeAws_restJson1DescribeReservedInstanceOfferingsCommand = async (
|
|
|
2152
2152
|
NextToken: undefined,
|
|
2153
2153
|
ReservedInstanceOfferings: undefined,
|
|
2154
2154
|
};
|
|
2155
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2155
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2156
2156
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2157
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2157
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2158
2158
|
}
|
|
2159
2159
|
if (data.ReservedInstanceOfferings !== undefined && data.ReservedInstanceOfferings !== null) {
|
|
2160
2160
|
contents.ReservedInstanceOfferings = deserializeAws_restJson1ReservedInstanceOfferingList(data.ReservedInstanceOfferings, context);
|
|
@@ -2190,7 +2190,7 @@ const deserializeAws_restJson1DescribeReservedInstanceOfferingsCommandError = as
|
|
|
2190
2190
|
$fault: "client",
|
|
2191
2191
|
$metadata: deserializeMetadata(output),
|
|
2192
2192
|
});
|
|
2193
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2193
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2194
2194
|
}
|
|
2195
2195
|
};
|
|
2196
2196
|
const deserializeAws_restJson1DescribeReservedInstancesCommand = async (output, context) => {
|
|
@@ -2202,9 +2202,9 @@ const deserializeAws_restJson1DescribeReservedInstancesCommand = async (output,
|
|
|
2202
2202
|
NextToken: undefined,
|
|
2203
2203
|
ReservedInstances: undefined,
|
|
2204
2204
|
};
|
|
2205
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2205
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2206
2206
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2207
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2207
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2208
2208
|
}
|
|
2209
2209
|
if (data.ReservedInstances !== undefined && data.ReservedInstances !== null) {
|
|
2210
2210
|
contents.ReservedInstances = deserializeAws_restJson1ReservedInstanceList(data.ReservedInstances, context);
|
|
@@ -2240,7 +2240,7 @@ const deserializeAws_restJson1DescribeReservedInstancesCommandError = async (out
|
|
|
2240
2240
|
$fault: "client",
|
|
2241
2241
|
$metadata: deserializeMetadata(output),
|
|
2242
2242
|
});
|
|
2243
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2243
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2244
2244
|
}
|
|
2245
2245
|
};
|
|
2246
2246
|
const deserializeAws_restJson1DissociatePackageCommand = async (output, context) => {
|
|
@@ -2251,7 +2251,7 @@ const deserializeAws_restJson1DissociatePackageCommand = async (output, context)
|
|
|
2251
2251
|
$metadata: deserializeMetadata(output),
|
|
2252
2252
|
DomainPackageDetails: undefined,
|
|
2253
2253
|
};
|
|
2254
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2254
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2255
2255
|
if (data.DomainPackageDetails !== undefined && data.DomainPackageDetails !== null) {
|
|
2256
2256
|
contents.DomainPackageDetails = deserializeAws_restJson1DomainPackageDetails(data.DomainPackageDetails, context);
|
|
2257
2257
|
}
|
|
@@ -2292,7 +2292,7 @@ const deserializeAws_restJson1DissociatePackageCommandError = async (output, con
|
|
|
2292
2292
|
$fault: "client",
|
|
2293
2293
|
$metadata: deserializeMetadata(output),
|
|
2294
2294
|
});
|
|
2295
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2295
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2296
2296
|
}
|
|
2297
2297
|
};
|
|
2298
2298
|
const deserializeAws_restJson1GetCompatibleVersionsCommand = async (output, context) => {
|
|
@@ -2303,7 +2303,7 @@ const deserializeAws_restJson1GetCompatibleVersionsCommand = async (output, cont
|
|
|
2303
2303
|
$metadata: deserializeMetadata(output),
|
|
2304
2304
|
CompatibleVersions: undefined,
|
|
2305
2305
|
};
|
|
2306
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2306
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2307
2307
|
if (data.CompatibleVersions !== undefined && data.CompatibleVersions !== null) {
|
|
2308
2308
|
contents.CompatibleVersions = deserializeAws_restJson1CompatibleVersionsList(data.CompatibleVersions, context);
|
|
2309
2309
|
}
|
|
@@ -2341,7 +2341,7 @@ const deserializeAws_restJson1GetCompatibleVersionsCommandError = async (output,
|
|
|
2341
2341
|
$fault: "client",
|
|
2342
2342
|
$metadata: deserializeMetadata(output),
|
|
2343
2343
|
});
|
|
2344
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2344
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2345
2345
|
}
|
|
2346
2346
|
};
|
|
2347
2347
|
const deserializeAws_restJson1GetPackageVersionHistoryCommand = async (output, context) => {
|
|
@@ -2354,12 +2354,12 @@ const deserializeAws_restJson1GetPackageVersionHistoryCommand = async (output, c
|
|
|
2354
2354
|
PackageID: undefined,
|
|
2355
2355
|
PackageVersionHistoryList: undefined,
|
|
2356
2356
|
};
|
|
2357
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2357
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2358
2358
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2359
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2359
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2360
2360
|
}
|
|
2361
2361
|
if (data.PackageID !== undefined && data.PackageID !== null) {
|
|
2362
|
-
contents.PackageID = smithy_client_1.expectString(data.PackageID);
|
|
2362
|
+
contents.PackageID = (0, smithy_client_1.expectString)(data.PackageID);
|
|
2363
2363
|
}
|
|
2364
2364
|
if (data.PackageVersionHistoryList !== undefined && data.PackageVersionHistoryList !== null) {
|
|
2365
2365
|
contents.PackageVersionHistoryList = deserializeAws_restJson1PackageVersionHistoryList(data.PackageVersionHistoryList, context);
|
|
@@ -2398,7 +2398,7 @@ const deserializeAws_restJson1GetPackageVersionHistoryCommandError = async (outp
|
|
|
2398
2398
|
$fault: "client",
|
|
2399
2399
|
$metadata: deserializeMetadata(output),
|
|
2400
2400
|
});
|
|
2401
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2401
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2402
2402
|
}
|
|
2403
2403
|
};
|
|
2404
2404
|
const deserializeAws_restJson1GetUpgradeHistoryCommand = async (output, context) => {
|
|
@@ -2410,9 +2410,9 @@ const deserializeAws_restJson1GetUpgradeHistoryCommand = async (output, context)
|
|
|
2410
2410
|
NextToken: undefined,
|
|
2411
2411
|
UpgradeHistories: undefined,
|
|
2412
2412
|
};
|
|
2413
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2413
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2414
2414
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2415
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2415
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2416
2416
|
}
|
|
2417
2417
|
if (data.UpgradeHistories !== undefined && data.UpgradeHistories !== null) {
|
|
2418
2418
|
contents.UpgradeHistories = deserializeAws_restJson1UpgradeHistoryList(data.UpgradeHistories, context);
|
|
@@ -2451,7 +2451,7 @@ const deserializeAws_restJson1GetUpgradeHistoryCommandError = async (output, con
|
|
|
2451
2451
|
$fault: "client",
|
|
2452
2452
|
$metadata: deserializeMetadata(output),
|
|
2453
2453
|
});
|
|
2454
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2454
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2455
2455
|
}
|
|
2456
2456
|
};
|
|
2457
2457
|
const deserializeAws_restJson1GetUpgradeStatusCommand = async (output, context) => {
|
|
@@ -2464,15 +2464,15 @@ const deserializeAws_restJson1GetUpgradeStatusCommand = async (output, context)
|
|
|
2464
2464
|
UpgradeName: undefined,
|
|
2465
2465
|
UpgradeStep: undefined,
|
|
2466
2466
|
};
|
|
2467
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2467
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2468
2468
|
if (data.StepStatus !== undefined && data.StepStatus !== null) {
|
|
2469
|
-
contents.StepStatus = smithy_client_1.expectString(data.StepStatus);
|
|
2469
|
+
contents.StepStatus = (0, smithy_client_1.expectString)(data.StepStatus);
|
|
2470
2470
|
}
|
|
2471
2471
|
if (data.UpgradeName !== undefined && data.UpgradeName !== null) {
|
|
2472
|
-
contents.UpgradeName = smithy_client_1.expectString(data.UpgradeName);
|
|
2472
|
+
contents.UpgradeName = (0, smithy_client_1.expectString)(data.UpgradeName);
|
|
2473
2473
|
}
|
|
2474
2474
|
if (data.UpgradeStep !== undefined && data.UpgradeStep !== null) {
|
|
2475
|
-
contents.UpgradeStep = smithy_client_1.expectString(data.UpgradeStep);
|
|
2475
|
+
contents.UpgradeStep = (0, smithy_client_1.expectString)(data.UpgradeStep);
|
|
2476
2476
|
}
|
|
2477
2477
|
return Promise.resolve(contents);
|
|
2478
2478
|
};
|
|
@@ -2508,7 +2508,7 @@ const deserializeAws_restJson1GetUpgradeStatusCommandError = async (output, cont
|
|
|
2508
2508
|
$fault: "client",
|
|
2509
2509
|
$metadata: deserializeMetadata(output),
|
|
2510
2510
|
});
|
|
2511
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2511
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2512
2512
|
}
|
|
2513
2513
|
};
|
|
2514
2514
|
const deserializeAws_restJson1ListDomainNamesCommand = async (output, context) => {
|
|
@@ -2519,7 +2519,7 @@ const deserializeAws_restJson1ListDomainNamesCommand = async (output, context) =
|
|
|
2519
2519
|
$metadata: deserializeMetadata(output),
|
|
2520
2520
|
DomainNames: undefined,
|
|
2521
2521
|
};
|
|
2522
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2522
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2523
2523
|
if (data.DomainNames !== undefined && data.DomainNames !== null) {
|
|
2524
2524
|
contents.DomainNames = deserializeAws_restJson1DomainInfoList(data.DomainNames, context);
|
|
2525
2525
|
}
|
|
@@ -2548,7 +2548,7 @@ const deserializeAws_restJson1ListDomainNamesCommandError = async (output, conte
|
|
|
2548
2548
|
$fault: "client",
|
|
2549
2549
|
$metadata: deserializeMetadata(output),
|
|
2550
2550
|
});
|
|
2551
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2551
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2552
2552
|
}
|
|
2553
2553
|
};
|
|
2554
2554
|
const deserializeAws_restJson1ListDomainsForPackageCommand = async (output, context) => {
|
|
@@ -2560,12 +2560,12 @@ const deserializeAws_restJson1ListDomainsForPackageCommand = async (output, cont
|
|
|
2560
2560
|
DomainPackageDetailsList: undefined,
|
|
2561
2561
|
NextToken: undefined,
|
|
2562
2562
|
};
|
|
2563
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2563
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2564
2564
|
if (data.DomainPackageDetailsList !== undefined && data.DomainPackageDetailsList !== null) {
|
|
2565
2565
|
contents.DomainPackageDetailsList = deserializeAws_restJson1DomainPackageDetailsList(data.DomainPackageDetailsList, context);
|
|
2566
2566
|
}
|
|
2567
2567
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2568
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2568
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2569
2569
|
}
|
|
2570
2570
|
return Promise.resolve(contents);
|
|
2571
2571
|
};
|
|
@@ -2601,7 +2601,7 @@ const deserializeAws_restJson1ListDomainsForPackageCommandError = async (output,
|
|
|
2601
2601
|
$fault: "client",
|
|
2602
2602
|
$metadata: deserializeMetadata(output),
|
|
2603
2603
|
});
|
|
2604
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2604
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2605
2605
|
}
|
|
2606
2606
|
};
|
|
2607
2607
|
const deserializeAws_restJson1ListInstanceTypeDetailsCommand = async (output, context) => {
|
|
@@ -2613,12 +2613,12 @@ const deserializeAws_restJson1ListInstanceTypeDetailsCommand = async (output, co
|
|
|
2613
2613
|
InstanceTypeDetails: undefined,
|
|
2614
2614
|
NextToken: undefined,
|
|
2615
2615
|
};
|
|
2616
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2616
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2617
2617
|
if (data.InstanceTypeDetails !== undefined && data.InstanceTypeDetails !== null) {
|
|
2618
2618
|
contents.InstanceTypeDetails = deserializeAws_restJson1InstanceTypeDetailsList(data.InstanceTypeDetails, context);
|
|
2619
2619
|
}
|
|
2620
2620
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2621
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2621
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2622
2622
|
}
|
|
2623
2623
|
return Promise.resolve(contents);
|
|
2624
2624
|
};
|
|
@@ -2651,7 +2651,7 @@ const deserializeAws_restJson1ListInstanceTypeDetailsCommandError = async (outpu
|
|
|
2651
2651
|
$fault: "client",
|
|
2652
2652
|
$metadata: deserializeMetadata(output),
|
|
2653
2653
|
});
|
|
2654
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2654
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2655
2655
|
}
|
|
2656
2656
|
};
|
|
2657
2657
|
const deserializeAws_restJson1ListPackagesForDomainCommand = async (output, context) => {
|
|
@@ -2663,12 +2663,12 @@ const deserializeAws_restJson1ListPackagesForDomainCommand = async (output, cont
|
|
|
2663
2663
|
DomainPackageDetailsList: undefined,
|
|
2664
2664
|
NextToken: undefined,
|
|
2665
2665
|
};
|
|
2666
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2666
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2667
2667
|
if (data.DomainPackageDetailsList !== undefined && data.DomainPackageDetailsList !== null) {
|
|
2668
2668
|
contents.DomainPackageDetailsList = deserializeAws_restJson1DomainPackageDetailsList(data.DomainPackageDetailsList, context);
|
|
2669
2669
|
}
|
|
2670
2670
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2671
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2671
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2672
2672
|
}
|
|
2673
2673
|
return Promise.resolve(contents);
|
|
2674
2674
|
};
|
|
@@ -2704,7 +2704,7 @@ const deserializeAws_restJson1ListPackagesForDomainCommandError = async (output,
|
|
|
2704
2704
|
$fault: "client",
|
|
2705
2705
|
$metadata: deserializeMetadata(output),
|
|
2706
2706
|
});
|
|
2707
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2707
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2708
2708
|
}
|
|
2709
2709
|
};
|
|
2710
2710
|
const deserializeAws_restJson1ListTagsCommand = async (output, context) => {
|
|
@@ -2715,7 +2715,7 @@ const deserializeAws_restJson1ListTagsCommand = async (output, context) => {
|
|
|
2715
2715
|
$metadata: deserializeMetadata(output),
|
|
2716
2716
|
TagList: undefined,
|
|
2717
2717
|
};
|
|
2718
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2718
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2719
2719
|
if (data.TagList !== undefined && data.TagList !== null) {
|
|
2720
2720
|
contents.TagList = deserializeAws_restJson1TagList(data.TagList, context);
|
|
2721
2721
|
}
|
|
@@ -2750,7 +2750,7 @@ const deserializeAws_restJson1ListTagsCommandError = async (output, context) =>
|
|
|
2750
2750
|
$fault: "client",
|
|
2751
2751
|
$metadata: deserializeMetadata(output),
|
|
2752
2752
|
});
|
|
2753
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2753
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2754
2754
|
}
|
|
2755
2755
|
};
|
|
2756
2756
|
const deserializeAws_restJson1ListVersionsCommand = async (output, context) => {
|
|
@@ -2762,9 +2762,9 @@ const deserializeAws_restJson1ListVersionsCommand = async (output, context) => {
|
|
|
2762
2762
|
NextToken: undefined,
|
|
2763
2763
|
Versions: undefined,
|
|
2764
2764
|
};
|
|
2765
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2765
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2766
2766
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2767
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2767
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2768
2768
|
}
|
|
2769
2769
|
if (data.Versions !== undefined && data.Versions !== null) {
|
|
2770
2770
|
contents.Versions = deserializeAws_restJson1VersionList(data.Versions, context);
|
|
@@ -2800,7 +2800,7 @@ const deserializeAws_restJson1ListVersionsCommandError = async (output, context)
|
|
|
2800
2800
|
$fault: "client",
|
|
2801
2801
|
$metadata: deserializeMetadata(output),
|
|
2802
2802
|
});
|
|
2803
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2803
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2804
2804
|
}
|
|
2805
2805
|
};
|
|
2806
2806
|
const deserializeAws_restJson1PurchaseReservedInstanceOfferingCommand = async (output, context) => {
|
|
@@ -2812,12 +2812,12 @@ const deserializeAws_restJson1PurchaseReservedInstanceOfferingCommand = async (o
|
|
|
2812
2812
|
ReservationName: undefined,
|
|
2813
2813
|
ReservedInstanceId: undefined,
|
|
2814
2814
|
};
|
|
2815
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2815
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2816
2816
|
if (data.ReservationName !== undefined && data.ReservationName !== null) {
|
|
2817
|
-
contents.ReservationName = smithy_client_1.expectString(data.ReservationName);
|
|
2817
|
+
contents.ReservationName = (0, smithy_client_1.expectString)(data.ReservationName);
|
|
2818
2818
|
}
|
|
2819
2819
|
if (data.ReservedInstanceId !== undefined && data.ReservedInstanceId !== null) {
|
|
2820
|
-
contents.ReservedInstanceId = smithy_client_1.expectString(data.ReservedInstanceId);
|
|
2820
|
+
contents.ReservedInstanceId = (0, smithy_client_1.expectString)(data.ReservedInstanceId);
|
|
2821
2821
|
}
|
|
2822
2822
|
return Promise.resolve(contents);
|
|
2823
2823
|
};
|
|
@@ -2856,7 +2856,7 @@ const deserializeAws_restJson1PurchaseReservedInstanceOfferingCommandError = asy
|
|
|
2856
2856
|
$fault: "client",
|
|
2857
2857
|
$metadata: deserializeMetadata(output),
|
|
2858
2858
|
});
|
|
2859
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2859
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2860
2860
|
}
|
|
2861
2861
|
};
|
|
2862
2862
|
const deserializeAws_restJson1RejectInboundConnectionCommand = async (output, context) => {
|
|
@@ -2867,7 +2867,7 @@ const deserializeAws_restJson1RejectInboundConnectionCommand = async (output, co
|
|
|
2867
2867
|
$metadata: deserializeMetadata(output),
|
|
2868
2868
|
Connection: undefined,
|
|
2869
2869
|
};
|
|
2870
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2870
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2871
2871
|
if (data.Connection !== undefined && data.Connection !== null) {
|
|
2872
2872
|
contents.Connection = deserializeAws_restJson1InboundConnection(data.Connection, context);
|
|
2873
2873
|
}
|
|
@@ -2896,7 +2896,7 @@ const deserializeAws_restJson1RejectInboundConnectionCommandError = async (outpu
|
|
|
2896
2896
|
$fault: "client",
|
|
2897
2897
|
$metadata: deserializeMetadata(output),
|
|
2898
2898
|
});
|
|
2899
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2899
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2900
2900
|
}
|
|
2901
2901
|
};
|
|
2902
2902
|
const deserializeAws_restJson1RemoveTagsCommand = async (output, context) => {
|
|
@@ -2935,7 +2935,7 @@ const deserializeAws_restJson1RemoveTagsCommandError = async (output, context) =
|
|
|
2935
2935
|
$fault: "client",
|
|
2936
2936
|
$metadata: deserializeMetadata(output),
|
|
2937
2937
|
});
|
|
2938
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2938
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2939
2939
|
}
|
|
2940
2940
|
};
|
|
2941
2941
|
const deserializeAws_restJson1StartServiceSoftwareUpdateCommand = async (output, context) => {
|
|
@@ -2946,7 +2946,7 @@ const deserializeAws_restJson1StartServiceSoftwareUpdateCommand = async (output,
|
|
|
2946
2946
|
$metadata: deserializeMetadata(output),
|
|
2947
2947
|
ServiceSoftwareOptions: undefined,
|
|
2948
2948
|
};
|
|
2949
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2949
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2950
2950
|
if (data.ServiceSoftwareOptions !== undefined && data.ServiceSoftwareOptions !== null) {
|
|
2951
2951
|
contents.ServiceSoftwareOptions = deserializeAws_restJson1ServiceSoftwareOptions(data.ServiceSoftwareOptions, context);
|
|
2952
2952
|
}
|
|
@@ -2981,7 +2981,7 @@ const deserializeAws_restJson1StartServiceSoftwareUpdateCommandError = async (ou
|
|
|
2981
2981
|
$fault: "client",
|
|
2982
2982
|
$metadata: deserializeMetadata(output),
|
|
2983
2983
|
});
|
|
2984
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2984
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2985
2985
|
}
|
|
2986
2986
|
};
|
|
2987
2987
|
const deserializeAws_restJson1UpdateDomainConfigCommand = async (output, context) => {
|
|
@@ -2993,7 +2993,7 @@ const deserializeAws_restJson1UpdateDomainConfigCommand = async (output, context
|
|
|
2993
2993
|
DomainConfig: undefined,
|
|
2994
2994
|
DryRunResults: undefined,
|
|
2995
2995
|
};
|
|
2996
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2996
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2997
2997
|
if (data.DomainConfig !== undefined && data.DomainConfig !== null) {
|
|
2998
2998
|
contents.DomainConfig = deserializeAws_restJson1DomainConfig(data.DomainConfig, context);
|
|
2999
2999
|
}
|
|
@@ -3037,7 +3037,7 @@ const deserializeAws_restJson1UpdateDomainConfigCommandError = async (output, co
|
|
|
3037
3037
|
$fault: "client",
|
|
3038
3038
|
$metadata: deserializeMetadata(output),
|
|
3039
3039
|
});
|
|
3040
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3040
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3041
3041
|
}
|
|
3042
3042
|
};
|
|
3043
3043
|
const deserializeAws_restJson1UpdatePackageCommand = async (output, context) => {
|
|
@@ -3048,7 +3048,7 @@ const deserializeAws_restJson1UpdatePackageCommand = async (output, context) =>
|
|
|
3048
3048
|
$metadata: deserializeMetadata(output),
|
|
3049
3049
|
PackageDetails: undefined,
|
|
3050
3050
|
};
|
|
3051
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3051
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3052
3052
|
if (data.PackageDetails !== undefined && data.PackageDetails !== null) {
|
|
3053
3053
|
contents.PackageDetails = deserializeAws_restJson1PackageDetails(data.PackageDetails, context);
|
|
3054
3054
|
}
|
|
@@ -3089,7 +3089,7 @@ const deserializeAws_restJson1UpdatePackageCommandError = async (output, context
|
|
|
3089
3089
|
$fault: "client",
|
|
3090
3090
|
$metadata: deserializeMetadata(output),
|
|
3091
3091
|
});
|
|
3092
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3092
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3093
3093
|
}
|
|
3094
3094
|
};
|
|
3095
3095
|
const deserializeAws_restJson1UpgradeDomainCommand = async (output, context) => {
|
|
@@ -3105,7 +3105,7 @@ const deserializeAws_restJson1UpgradeDomainCommand = async (output, context) =>
|
|
|
3105
3105
|
TargetVersion: undefined,
|
|
3106
3106
|
UpgradeId: undefined,
|
|
3107
3107
|
};
|
|
3108
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3108
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3109
3109
|
if (data.AdvancedOptions !== undefined && data.AdvancedOptions !== null) {
|
|
3110
3110
|
contents.AdvancedOptions = deserializeAws_restJson1AdvancedOptions(data.AdvancedOptions, context);
|
|
3111
3111
|
}
|
|
@@ -3113,16 +3113,16 @@ const deserializeAws_restJson1UpgradeDomainCommand = async (output, context) =>
|
|
|
3113
3113
|
contents.ChangeProgressDetails = deserializeAws_restJson1ChangeProgressDetails(data.ChangeProgressDetails, context);
|
|
3114
3114
|
}
|
|
3115
3115
|
if (data.DomainName !== undefined && data.DomainName !== null) {
|
|
3116
|
-
contents.DomainName = smithy_client_1.expectString(data.DomainName);
|
|
3116
|
+
contents.DomainName = (0, smithy_client_1.expectString)(data.DomainName);
|
|
3117
3117
|
}
|
|
3118
3118
|
if (data.PerformCheckOnly !== undefined && data.PerformCheckOnly !== null) {
|
|
3119
|
-
contents.PerformCheckOnly = smithy_client_1.expectBoolean(data.PerformCheckOnly);
|
|
3119
|
+
contents.PerformCheckOnly = (0, smithy_client_1.expectBoolean)(data.PerformCheckOnly);
|
|
3120
3120
|
}
|
|
3121
3121
|
if (data.TargetVersion !== undefined && data.TargetVersion !== null) {
|
|
3122
|
-
contents.TargetVersion = smithy_client_1.expectString(data.TargetVersion);
|
|
3122
|
+
contents.TargetVersion = (0, smithy_client_1.expectString)(data.TargetVersion);
|
|
3123
3123
|
}
|
|
3124
3124
|
if (data.UpgradeId !== undefined && data.UpgradeId !== null) {
|
|
3125
|
-
contents.UpgradeId = smithy_client_1.expectString(data.UpgradeId);
|
|
3125
|
+
contents.UpgradeId = (0, smithy_client_1.expectString)(data.UpgradeId);
|
|
3126
3126
|
}
|
|
3127
3127
|
return Promise.resolve(contents);
|
|
3128
3128
|
};
|
|
@@ -3161,140 +3161,140 @@ const deserializeAws_restJson1UpgradeDomainCommandError = async (output, context
|
|
|
3161
3161
|
$fault: "client",
|
|
3162
3162
|
$metadata: deserializeMetadata(output),
|
|
3163
3163
|
});
|
|
3164
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3164
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3165
3165
|
}
|
|
3166
3166
|
};
|
|
3167
3167
|
const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
3168
3168
|
const contents = {};
|
|
3169
3169
|
const data = parsedOutput.body;
|
|
3170
3170
|
if (data.message !== undefined && data.message !== null) {
|
|
3171
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3171
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3172
3172
|
}
|
|
3173
3173
|
const exception = new models_0_1.AccessDeniedException({
|
|
3174
3174
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3175
3175
|
...contents,
|
|
3176
3176
|
});
|
|
3177
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3177
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3178
3178
|
};
|
|
3179
3179
|
const deserializeAws_restJson1BaseExceptionResponse = async (parsedOutput, context) => {
|
|
3180
3180
|
const contents = {};
|
|
3181
3181
|
const data = parsedOutput.body;
|
|
3182
3182
|
if (data.message !== undefined && data.message !== null) {
|
|
3183
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3183
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3184
3184
|
}
|
|
3185
3185
|
const exception = new models_0_1.BaseException({
|
|
3186
3186
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3187
3187
|
...contents,
|
|
3188
3188
|
});
|
|
3189
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3189
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3190
3190
|
};
|
|
3191
3191
|
const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
3192
3192
|
const contents = {};
|
|
3193
3193
|
const data = parsedOutput.body;
|
|
3194
3194
|
if (data.message !== undefined && data.message !== null) {
|
|
3195
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3195
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3196
3196
|
}
|
|
3197
3197
|
const exception = new models_0_1.ConflictException({
|
|
3198
3198
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3199
3199
|
...contents,
|
|
3200
3200
|
});
|
|
3201
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3201
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3202
3202
|
};
|
|
3203
3203
|
const deserializeAws_restJson1DisabledOperationExceptionResponse = async (parsedOutput, context) => {
|
|
3204
3204
|
const contents = {};
|
|
3205
3205
|
const data = parsedOutput.body;
|
|
3206
3206
|
if (data.message !== undefined && data.message !== null) {
|
|
3207
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3207
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3208
3208
|
}
|
|
3209
3209
|
const exception = new models_0_1.DisabledOperationException({
|
|
3210
3210
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3211
3211
|
...contents,
|
|
3212
3212
|
});
|
|
3213
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3213
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3214
3214
|
};
|
|
3215
3215
|
const deserializeAws_restJson1InternalExceptionResponse = async (parsedOutput, context) => {
|
|
3216
3216
|
const contents = {};
|
|
3217
3217
|
const data = parsedOutput.body;
|
|
3218
3218
|
if (data.message !== undefined && data.message !== null) {
|
|
3219
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3219
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3220
3220
|
}
|
|
3221
3221
|
const exception = new models_0_1.InternalException({
|
|
3222
3222
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3223
3223
|
...contents,
|
|
3224
3224
|
});
|
|
3225
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3225
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3226
3226
|
};
|
|
3227
3227
|
const deserializeAws_restJson1InvalidPaginationTokenExceptionResponse = async (parsedOutput, context) => {
|
|
3228
3228
|
const contents = {};
|
|
3229
3229
|
const data = parsedOutput.body;
|
|
3230
3230
|
if (data.message !== undefined && data.message !== null) {
|
|
3231
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3231
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3232
3232
|
}
|
|
3233
3233
|
const exception = new models_0_1.InvalidPaginationTokenException({
|
|
3234
3234
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3235
3235
|
...contents,
|
|
3236
3236
|
});
|
|
3237
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3237
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3238
3238
|
};
|
|
3239
3239
|
const deserializeAws_restJson1InvalidTypeExceptionResponse = async (parsedOutput, context) => {
|
|
3240
3240
|
const contents = {};
|
|
3241
3241
|
const data = parsedOutput.body;
|
|
3242
3242
|
if (data.message !== undefined && data.message !== null) {
|
|
3243
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3243
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3244
3244
|
}
|
|
3245
3245
|
const exception = new models_0_1.InvalidTypeException({
|
|
3246
3246
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3247
3247
|
...contents,
|
|
3248
3248
|
});
|
|
3249
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3249
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3250
3250
|
};
|
|
3251
3251
|
const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
3252
3252
|
const contents = {};
|
|
3253
3253
|
const data = parsedOutput.body;
|
|
3254
3254
|
if (data.message !== undefined && data.message !== null) {
|
|
3255
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3255
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3256
3256
|
}
|
|
3257
3257
|
const exception = new models_0_1.LimitExceededException({
|
|
3258
3258
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3259
3259
|
...contents,
|
|
3260
3260
|
});
|
|
3261
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3261
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3262
3262
|
};
|
|
3263
3263
|
const deserializeAws_restJson1ResourceAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
3264
3264
|
const contents = {};
|
|
3265
3265
|
const data = parsedOutput.body;
|
|
3266
3266
|
if (data.message !== undefined && data.message !== null) {
|
|
3267
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3267
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3268
3268
|
}
|
|
3269
3269
|
const exception = new models_0_1.ResourceAlreadyExistsException({
|
|
3270
3270
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3271
3271
|
...contents,
|
|
3272
3272
|
});
|
|
3273
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3273
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3274
3274
|
};
|
|
3275
3275
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
3276
3276
|
const contents = {};
|
|
3277
3277
|
const data = parsedOutput.body;
|
|
3278
3278
|
if (data.message !== undefined && data.message !== null) {
|
|
3279
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3279
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3280
3280
|
}
|
|
3281
3281
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
3282
3282
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3283
3283
|
...contents,
|
|
3284
3284
|
});
|
|
3285
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3285
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3286
3286
|
};
|
|
3287
3287
|
const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
3288
3288
|
const contents = {};
|
|
3289
3289
|
const data = parsedOutput.body;
|
|
3290
3290
|
if (data.message !== undefined && data.message !== null) {
|
|
3291
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3291
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3292
3292
|
}
|
|
3293
3293
|
const exception = new models_0_1.ValidationException({
|
|
3294
3294
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3295
3295
|
...contents,
|
|
3296
3296
|
});
|
|
3297
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3297
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3298
3298
|
};
|
|
3299
3299
|
const serializeAws_restJson1AdvancedOptions = (input, context) => {
|
|
3300
3300
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
@@ -3626,7 +3626,7 @@ const serializeAws_restJson1ZoneAwarenessConfig = (input, context) => {
|
|
|
3626
3626
|
};
|
|
3627
3627
|
const deserializeAws_restJson1AccessPoliciesStatus = (output, context) => {
|
|
3628
3628
|
return {
|
|
3629
|
-
Options: smithy_client_1.expectString(output.Options),
|
|
3629
|
+
Options: (0, smithy_client_1.expectString)(output.Options),
|
|
3630
3630
|
Status: output.Status !== undefined && output.Status !== null
|
|
3631
3631
|
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
3632
3632
|
: undefined,
|
|
@@ -3634,7 +3634,7 @@ const deserializeAws_restJson1AccessPoliciesStatus = (output, context) => {
|
|
|
3634
3634
|
};
|
|
3635
3635
|
const deserializeAws_restJson1AdditionalLimit = (output, context) => {
|
|
3636
3636
|
return {
|
|
3637
|
-
LimitName: smithy_client_1.expectString(output.LimitName),
|
|
3637
|
+
LimitName: (0, smithy_client_1.expectString)(output.LimitName),
|
|
3638
3638
|
LimitValues: output.LimitValues !== undefined && output.LimitValues !== null
|
|
3639
3639
|
? deserializeAws_restJson1LimitValueList(output.LimitValues, context)
|
|
3640
3640
|
: undefined,
|
|
@@ -3658,7 +3658,7 @@ const deserializeAws_restJson1AdvancedOptions = (output, context) => {
|
|
|
3658
3658
|
}
|
|
3659
3659
|
return {
|
|
3660
3660
|
...acc,
|
|
3661
|
-
[key]: smithy_client_1.expectString(value),
|
|
3661
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
3662
3662
|
};
|
|
3663
3663
|
}, {});
|
|
3664
3664
|
};
|
|
@@ -3675,11 +3675,11 @@ const deserializeAws_restJson1AdvancedOptionsStatus = (output, context) => {
|
|
|
3675
3675
|
const deserializeAws_restJson1AdvancedSecurityOptions = (output, context) => {
|
|
3676
3676
|
return {
|
|
3677
3677
|
AnonymousAuthDisableDate: output.AnonymousAuthDisableDate !== undefined && output.AnonymousAuthDisableDate !== null
|
|
3678
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.AnonymousAuthDisableDate)))
|
|
3678
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.AnonymousAuthDisableDate)))
|
|
3679
3679
|
: undefined,
|
|
3680
|
-
AnonymousAuthEnabled: smithy_client_1.expectBoolean(output.AnonymousAuthEnabled),
|
|
3681
|
-
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
3682
|
-
InternalUserDatabaseEnabled: smithy_client_1.expectBoolean(output.InternalUserDatabaseEnabled),
|
|
3680
|
+
AnonymousAuthEnabled: (0, smithy_client_1.expectBoolean)(output.AnonymousAuthEnabled),
|
|
3681
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
3682
|
+
InternalUserDatabaseEnabled: (0, smithy_client_1.expectBoolean)(output.InternalUserDatabaseEnabled),
|
|
3683
3683
|
SAMLOptions: output.SAMLOptions !== undefined && output.SAMLOptions !== null
|
|
3684
3684
|
? deserializeAws_restJson1SAMLOptionsOutput(output.SAMLOptions, context)
|
|
3685
3685
|
: undefined,
|
|
@@ -3700,7 +3700,7 @@ const deserializeAws_restJson1AutoTune = (output, context) => {
|
|
|
3700
3700
|
AutoTuneDetails: output.AutoTuneDetails !== undefined && output.AutoTuneDetails !== null
|
|
3701
3701
|
? deserializeAws_restJson1AutoTuneDetails(output.AutoTuneDetails, context)
|
|
3702
3702
|
: undefined,
|
|
3703
|
-
AutoTuneType: smithy_client_1.expectString(output.AutoTuneType),
|
|
3703
|
+
AutoTuneType: (0, smithy_client_1.expectString)(output.AutoTuneType),
|
|
3704
3704
|
};
|
|
3705
3705
|
};
|
|
3706
3706
|
const deserializeAws_restJson1AutoTuneDetails = (output, context) => {
|
|
@@ -3723,12 +3723,12 @@ const deserializeAws_restJson1AutoTuneList = (output, context) => {
|
|
|
3723
3723
|
};
|
|
3724
3724
|
const deserializeAws_restJson1AutoTuneMaintenanceSchedule = (output, context) => {
|
|
3725
3725
|
return {
|
|
3726
|
-
CronExpressionForRecurrence: smithy_client_1.expectString(output.CronExpressionForRecurrence),
|
|
3726
|
+
CronExpressionForRecurrence: (0, smithy_client_1.expectString)(output.CronExpressionForRecurrence),
|
|
3727
3727
|
Duration: output.Duration !== undefined && output.Duration !== null
|
|
3728
3728
|
? deserializeAws_restJson1Duration(output.Duration, context)
|
|
3729
3729
|
: undefined,
|
|
3730
3730
|
StartAt: output.StartAt !== undefined && output.StartAt !== null
|
|
3731
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartAt)))
|
|
3731
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartAt)))
|
|
3732
3732
|
: undefined,
|
|
3733
3733
|
};
|
|
3734
3734
|
};
|
|
@@ -3745,17 +3745,17 @@ const deserializeAws_restJson1AutoTuneMaintenanceScheduleList = (output, context
|
|
|
3745
3745
|
};
|
|
3746
3746
|
const deserializeAws_restJson1AutoTuneOptions = (output, context) => {
|
|
3747
3747
|
return {
|
|
3748
|
-
DesiredState: smithy_client_1.expectString(output.DesiredState),
|
|
3748
|
+
DesiredState: (0, smithy_client_1.expectString)(output.DesiredState),
|
|
3749
3749
|
MaintenanceSchedules: output.MaintenanceSchedules !== undefined && output.MaintenanceSchedules !== null
|
|
3750
3750
|
? deserializeAws_restJson1AutoTuneMaintenanceScheduleList(output.MaintenanceSchedules, context)
|
|
3751
3751
|
: undefined,
|
|
3752
|
-
RollbackOnDisable: smithy_client_1.expectString(output.RollbackOnDisable),
|
|
3752
|
+
RollbackOnDisable: (0, smithy_client_1.expectString)(output.RollbackOnDisable),
|
|
3753
3753
|
};
|
|
3754
3754
|
};
|
|
3755
3755
|
const deserializeAws_restJson1AutoTuneOptionsOutput = (output, context) => {
|
|
3756
3756
|
return {
|
|
3757
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
3758
|
-
State: smithy_client_1.expectString(output.State),
|
|
3757
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
3758
|
+
State: (0, smithy_client_1.expectString)(output.State),
|
|
3759
3759
|
};
|
|
3760
3760
|
};
|
|
3761
3761
|
const deserializeAws_restJson1AutoTuneOptionsStatus = (output, context) => {
|
|
@@ -3771,38 +3771,38 @@ const deserializeAws_restJson1AutoTuneOptionsStatus = (output, context) => {
|
|
|
3771
3771
|
const deserializeAws_restJson1AutoTuneStatus = (output, context) => {
|
|
3772
3772
|
return {
|
|
3773
3773
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
3774
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
3774
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
3775
3775
|
: undefined,
|
|
3776
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
3777
|
-
PendingDeletion: smithy_client_1.expectBoolean(output.PendingDeletion),
|
|
3778
|
-
State: smithy_client_1.expectString(output.State),
|
|
3776
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
3777
|
+
PendingDeletion: (0, smithy_client_1.expectBoolean)(output.PendingDeletion),
|
|
3778
|
+
State: (0, smithy_client_1.expectString)(output.State),
|
|
3779
3779
|
UpdateDate: output.UpdateDate !== undefined && output.UpdateDate !== null
|
|
3780
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdateDate)))
|
|
3780
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateDate)))
|
|
3781
3781
|
: undefined,
|
|
3782
|
-
UpdateVersion: smithy_client_1.expectInt32(output.UpdateVersion),
|
|
3782
|
+
UpdateVersion: (0, smithy_client_1.expectInt32)(output.UpdateVersion),
|
|
3783
3783
|
};
|
|
3784
3784
|
};
|
|
3785
3785
|
const deserializeAws_restJson1AWSDomainInformation = (output, context) => {
|
|
3786
3786
|
return {
|
|
3787
|
-
DomainName: smithy_client_1.expectString(output.DomainName),
|
|
3788
|
-
OwnerId: smithy_client_1.expectString(output.OwnerId),
|
|
3789
|
-
Region: smithy_client_1.expectString(output.Region),
|
|
3787
|
+
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
3788
|
+
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
3789
|
+
Region: (0, smithy_client_1.expectString)(output.Region),
|
|
3790
3790
|
};
|
|
3791
3791
|
};
|
|
3792
3792
|
const deserializeAws_restJson1ChangeProgressDetails = (output, context) => {
|
|
3793
3793
|
return {
|
|
3794
|
-
ChangeId: smithy_client_1.expectString(output.ChangeId),
|
|
3795
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3794
|
+
ChangeId: (0, smithy_client_1.expectString)(output.ChangeId),
|
|
3795
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3796
3796
|
};
|
|
3797
3797
|
};
|
|
3798
3798
|
const deserializeAws_restJson1ChangeProgressStage = (output, context) => {
|
|
3799
3799
|
return {
|
|
3800
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
3800
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3801
3801
|
LastUpdated: output.LastUpdated !== undefined && output.LastUpdated !== null
|
|
3802
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdated)))
|
|
3802
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdated)))
|
|
3803
3803
|
: undefined,
|
|
3804
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3805
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
3804
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3805
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3806
3806
|
};
|
|
3807
3807
|
};
|
|
3808
3808
|
const deserializeAws_restJson1ChangeProgressStageList = (output, context) => {
|
|
@@ -3818,7 +3818,7 @@ const deserializeAws_restJson1ChangeProgressStageList = (output, context) => {
|
|
|
3818
3818
|
};
|
|
3819
3819
|
const deserializeAws_restJson1ChangeProgressStatusDetails = (output, context) => {
|
|
3820
3820
|
return {
|
|
3821
|
-
ChangeId: smithy_client_1.expectString(output.ChangeId),
|
|
3821
|
+
ChangeId: (0, smithy_client_1.expectString)(output.ChangeId),
|
|
3822
3822
|
ChangeProgressStages: output.ChangeProgressStages !== undefined && output.ChangeProgressStages !== null
|
|
3823
3823
|
? deserializeAws_restJson1ChangeProgressStageList(output.ChangeProgressStages, context)
|
|
3824
3824
|
: undefined,
|
|
@@ -3829,10 +3829,10 @@ const deserializeAws_restJson1ChangeProgressStatusDetails = (output, context) =>
|
|
|
3829
3829
|
? deserializeAws_restJson1StringList(output.PendingProperties, context)
|
|
3830
3830
|
: undefined,
|
|
3831
3831
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
3832
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
3832
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
3833
3833
|
: undefined,
|
|
3834
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
3835
|
-
TotalNumberOfStages: smithy_client_1.expectInt32(output.TotalNumberOfStages),
|
|
3834
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3835
|
+
TotalNumberOfStages: (0, smithy_client_1.expectInt32)(output.TotalNumberOfStages),
|
|
3836
3836
|
};
|
|
3837
3837
|
};
|
|
3838
3838
|
const deserializeAws_restJson1ClusterConfig = (output, context) => {
|
|
@@ -3840,18 +3840,18 @@ const deserializeAws_restJson1ClusterConfig = (output, context) => {
|
|
|
3840
3840
|
ColdStorageOptions: output.ColdStorageOptions !== undefined && output.ColdStorageOptions !== null
|
|
3841
3841
|
? deserializeAws_restJson1ColdStorageOptions(output.ColdStorageOptions, context)
|
|
3842
3842
|
: undefined,
|
|
3843
|
-
DedicatedMasterCount: smithy_client_1.expectInt32(output.DedicatedMasterCount),
|
|
3844
|
-
DedicatedMasterEnabled: smithy_client_1.expectBoolean(output.DedicatedMasterEnabled),
|
|
3845
|
-
DedicatedMasterType: smithy_client_1.expectString(output.DedicatedMasterType),
|
|
3846
|
-
InstanceCount: smithy_client_1.expectInt32(output.InstanceCount),
|
|
3847
|
-
InstanceType: smithy_client_1.expectString(output.InstanceType),
|
|
3848
|
-
WarmCount: smithy_client_1.expectInt32(output.WarmCount),
|
|
3849
|
-
WarmEnabled: smithy_client_1.expectBoolean(output.WarmEnabled),
|
|
3850
|
-
WarmType: smithy_client_1.expectString(output.WarmType),
|
|
3843
|
+
DedicatedMasterCount: (0, smithy_client_1.expectInt32)(output.DedicatedMasterCount),
|
|
3844
|
+
DedicatedMasterEnabled: (0, smithy_client_1.expectBoolean)(output.DedicatedMasterEnabled),
|
|
3845
|
+
DedicatedMasterType: (0, smithy_client_1.expectString)(output.DedicatedMasterType),
|
|
3846
|
+
InstanceCount: (0, smithy_client_1.expectInt32)(output.InstanceCount),
|
|
3847
|
+
InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
|
|
3848
|
+
WarmCount: (0, smithy_client_1.expectInt32)(output.WarmCount),
|
|
3849
|
+
WarmEnabled: (0, smithy_client_1.expectBoolean)(output.WarmEnabled),
|
|
3850
|
+
WarmType: (0, smithy_client_1.expectString)(output.WarmType),
|
|
3851
3851
|
ZoneAwarenessConfig: output.ZoneAwarenessConfig !== undefined && output.ZoneAwarenessConfig !== null
|
|
3852
3852
|
? deserializeAws_restJson1ZoneAwarenessConfig(output.ZoneAwarenessConfig, context)
|
|
3853
3853
|
: undefined,
|
|
3854
|
-
ZoneAwarenessEnabled: smithy_client_1.expectBoolean(output.ZoneAwarenessEnabled),
|
|
3854
|
+
ZoneAwarenessEnabled: (0, smithy_client_1.expectBoolean)(output.ZoneAwarenessEnabled),
|
|
3855
3855
|
};
|
|
3856
3856
|
};
|
|
3857
3857
|
const deserializeAws_restJson1ClusterConfigStatus = (output, context) => {
|
|
@@ -3866,10 +3866,10 @@ const deserializeAws_restJson1ClusterConfigStatus = (output, context) => {
|
|
|
3866
3866
|
};
|
|
3867
3867
|
const deserializeAws_restJson1CognitoOptions = (output, context) => {
|
|
3868
3868
|
return {
|
|
3869
|
-
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
3870
|
-
IdentityPoolId: smithy_client_1.expectString(output.IdentityPoolId),
|
|
3871
|
-
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
3872
|
-
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
3869
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
3870
|
+
IdentityPoolId: (0, smithy_client_1.expectString)(output.IdentityPoolId),
|
|
3871
|
+
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
3872
|
+
UserPoolId: (0, smithy_client_1.expectString)(output.UserPoolId),
|
|
3873
3873
|
};
|
|
3874
3874
|
};
|
|
3875
3875
|
const deserializeAws_restJson1CognitoOptionsStatus = (output, context) => {
|
|
@@ -3884,7 +3884,7 @@ const deserializeAws_restJson1CognitoOptionsStatus = (output, context) => {
|
|
|
3884
3884
|
};
|
|
3885
3885
|
const deserializeAws_restJson1ColdStorageOptions = (output, context) => {
|
|
3886
3886
|
return {
|
|
3887
|
-
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
3887
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
3888
3888
|
};
|
|
3889
3889
|
};
|
|
3890
3890
|
const deserializeAws_restJson1CompatibleVersionsList = (output, context) => {
|
|
@@ -3900,7 +3900,7 @@ const deserializeAws_restJson1CompatibleVersionsList = (output, context) => {
|
|
|
3900
3900
|
};
|
|
3901
3901
|
const deserializeAws_restJson1CompatibleVersionsMap = (output, context) => {
|
|
3902
3902
|
return {
|
|
3903
|
-
SourceVersion: smithy_client_1.expectString(output.SourceVersion),
|
|
3903
|
+
SourceVersion: (0, smithy_client_1.expectString)(output.SourceVersion),
|
|
3904
3904
|
TargetVersions: output.TargetVersions !== undefined && output.TargetVersions !== null
|
|
3905
3905
|
? deserializeAws_restJson1VersionList(output.TargetVersions, context)
|
|
3906
3906
|
: undefined,
|
|
@@ -3957,11 +3957,11 @@ const deserializeAws_restJson1DomainConfig = (output, context) => {
|
|
|
3957
3957
|
};
|
|
3958
3958
|
const deserializeAws_restJson1DomainEndpointOptions = (output, context) => {
|
|
3959
3959
|
return {
|
|
3960
|
-
CustomEndpoint: smithy_client_1.expectString(output.CustomEndpoint),
|
|
3961
|
-
CustomEndpointCertificateArn: smithy_client_1.expectString(output.CustomEndpointCertificateArn),
|
|
3962
|
-
CustomEndpointEnabled: smithy_client_1.expectBoolean(output.CustomEndpointEnabled),
|
|
3963
|
-
EnforceHTTPS: smithy_client_1.expectBoolean(output.EnforceHTTPS),
|
|
3964
|
-
TLSSecurityPolicy: smithy_client_1.expectString(output.TLSSecurityPolicy),
|
|
3960
|
+
CustomEndpoint: (0, smithy_client_1.expectString)(output.CustomEndpoint),
|
|
3961
|
+
CustomEndpointCertificateArn: (0, smithy_client_1.expectString)(output.CustomEndpointCertificateArn),
|
|
3962
|
+
CustomEndpointEnabled: (0, smithy_client_1.expectBoolean)(output.CustomEndpointEnabled),
|
|
3963
|
+
EnforceHTTPS: (0, smithy_client_1.expectBoolean)(output.EnforceHTTPS),
|
|
3964
|
+
TLSSecurityPolicy: (0, smithy_client_1.expectString)(output.TLSSecurityPolicy),
|
|
3965
3965
|
};
|
|
3966
3966
|
};
|
|
3967
3967
|
const deserializeAws_restJson1DomainEndpointOptionsStatus = (output, context) => {
|
|
@@ -3976,8 +3976,8 @@ const deserializeAws_restJson1DomainEndpointOptionsStatus = (output, context) =>
|
|
|
3976
3976
|
};
|
|
3977
3977
|
const deserializeAws_restJson1DomainInfo = (output, context) => {
|
|
3978
3978
|
return {
|
|
3979
|
-
DomainName: smithy_client_1.expectString(output.DomainName),
|
|
3980
|
-
EngineType: smithy_client_1.expectString(output.EngineType),
|
|
3979
|
+
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
3980
|
+
EngineType: (0, smithy_client_1.expectString)(output.EngineType),
|
|
3981
3981
|
};
|
|
3982
3982
|
};
|
|
3983
3983
|
const deserializeAws_restJson1DomainInfoList = (output, context) => {
|
|
@@ -4000,19 +4000,19 @@ const deserializeAws_restJson1DomainInformationContainer = (output, context) =>
|
|
|
4000
4000
|
};
|
|
4001
4001
|
const deserializeAws_restJson1DomainPackageDetails = (output, context) => {
|
|
4002
4002
|
return {
|
|
4003
|
-
DomainName: smithy_client_1.expectString(output.DomainName),
|
|
4004
|
-
DomainPackageStatus: smithy_client_1.expectString(output.DomainPackageStatus),
|
|
4003
|
+
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
4004
|
+
DomainPackageStatus: (0, smithy_client_1.expectString)(output.DomainPackageStatus),
|
|
4005
4005
|
ErrorDetails: output.ErrorDetails !== undefined && output.ErrorDetails !== null
|
|
4006
4006
|
? deserializeAws_restJson1ErrorDetails(output.ErrorDetails, context)
|
|
4007
4007
|
: undefined,
|
|
4008
4008
|
LastUpdated: output.LastUpdated !== undefined && output.LastUpdated !== null
|
|
4009
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdated)))
|
|
4009
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdated)))
|
|
4010
4010
|
: undefined,
|
|
4011
|
-
PackageID: smithy_client_1.expectString(output.PackageID),
|
|
4012
|
-
PackageName: smithy_client_1.expectString(output.PackageName),
|
|
4013
|
-
PackageType: smithy_client_1.expectString(output.PackageType),
|
|
4014
|
-
PackageVersion: smithy_client_1.expectString(output.PackageVersion),
|
|
4015
|
-
ReferencePath: smithy_client_1.expectString(output.ReferencePath),
|
|
4011
|
+
PackageID: (0, smithy_client_1.expectString)(output.PackageID),
|
|
4012
|
+
PackageName: (0, smithy_client_1.expectString)(output.PackageName),
|
|
4013
|
+
PackageType: (0, smithy_client_1.expectString)(output.PackageType),
|
|
4014
|
+
PackageVersion: (0, smithy_client_1.expectString)(output.PackageVersion),
|
|
4015
|
+
ReferencePath: (0, smithy_client_1.expectString)(output.ReferencePath),
|
|
4016
4016
|
};
|
|
4017
4017
|
};
|
|
4018
4018
|
const deserializeAws_restJson1DomainPackageDetailsList = (output, context) => {
|
|
@@ -4028,8 +4028,8 @@ const deserializeAws_restJson1DomainPackageDetailsList = (output, context) => {
|
|
|
4028
4028
|
};
|
|
4029
4029
|
const deserializeAws_restJson1DomainStatus = (output, context) => {
|
|
4030
4030
|
return {
|
|
4031
|
-
ARN: smithy_client_1.expectString(output.ARN),
|
|
4032
|
-
AccessPolicies: smithy_client_1.expectString(output.AccessPolicies),
|
|
4031
|
+
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
4032
|
+
AccessPolicies: (0, smithy_client_1.expectString)(output.AccessPolicies),
|
|
4033
4033
|
AdvancedOptions: output.AdvancedOptions !== undefined && output.AdvancedOptions !== null
|
|
4034
4034
|
? deserializeAws_restJson1AdvancedOptions(output.AdvancedOptions, context)
|
|
4035
4035
|
: undefined,
|
|
@@ -4048,38 +4048,38 @@ const deserializeAws_restJson1DomainStatus = (output, context) => {
|
|
|
4048
4048
|
CognitoOptions: output.CognitoOptions !== undefined && output.CognitoOptions !== null
|
|
4049
4049
|
? deserializeAws_restJson1CognitoOptions(output.CognitoOptions, context)
|
|
4050
4050
|
: undefined,
|
|
4051
|
-
Created: smithy_client_1.expectBoolean(output.Created),
|
|
4052
|
-
Deleted: smithy_client_1.expectBoolean(output.Deleted),
|
|
4051
|
+
Created: (0, smithy_client_1.expectBoolean)(output.Created),
|
|
4052
|
+
Deleted: (0, smithy_client_1.expectBoolean)(output.Deleted),
|
|
4053
4053
|
DomainEndpointOptions: output.DomainEndpointOptions !== undefined && output.DomainEndpointOptions !== null
|
|
4054
4054
|
? deserializeAws_restJson1DomainEndpointOptions(output.DomainEndpointOptions, context)
|
|
4055
4055
|
: undefined,
|
|
4056
|
-
DomainId: smithy_client_1.expectString(output.DomainId),
|
|
4057
|
-
DomainName: smithy_client_1.expectString(output.DomainName),
|
|
4056
|
+
DomainId: (0, smithy_client_1.expectString)(output.DomainId),
|
|
4057
|
+
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
4058
4058
|
EBSOptions: output.EBSOptions !== undefined && output.EBSOptions !== null
|
|
4059
4059
|
? deserializeAws_restJson1EBSOptions(output.EBSOptions, context)
|
|
4060
4060
|
: undefined,
|
|
4061
4061
|
EncryptionAtRestOptions: output.EncryptionAtRestOptions !== undefined && output.EncryptionAtRestOptions !== null
|
|
4062
4062
|
? deserializeAws_restJson1EncryptionAtRestOptions(output.EncryptionAtRestOptions, context)
|
|
4063
4063
|
: undefined,
|
|
4064
|
-
Endpoint: smithy_client_1.expectString(output.Endpoint),
|
|
4064
|
+
Endpoint: (0, smithy_client_1.expectString)(output.Endpoint),
|
|
4065
4065
|
Endpoints: output.Endpoints !== undefined && output.Endpoints !== null
|
|
4066
4066
|
? deserializeAws_restJson1EndpointsMap(output.Endpoints, context)
|
|
4067
4067
|
: undefined,
|
|
4068
|
-
EngineVersion: smithy_client_1.expectString(output.EngineVersion),
|
|
4068
|
+
EngineVersion: (0, smithy_client_1.expectString)(output.EngineVersion),
|
|
4069
4069
|
LogPublishingOptions: output.LogPublishingOptions !== undefined && output.LogPublishingOptions !== null
|
|
4070
4070
|
? deserializeAws_restJson1LogPublishingOptions(output.LogPublishingOptions, context)
|
|
4071
4071
|
: undefined,
|
|
4072
4072
|
NodeToNodeEncryptionOptions: output.NodeToNodeEncryptionOptions !== undefined && output.NodeToNodeEncryptionOptions !== null
|
|
4073
4073
|
? deserializeAws_restJson1NodeToNodeEncryptionOptions(output.NodeToNodeEncryptionOptions, context)
|
|
4074
4074
|
: undefined,
|
|
4075
|
-
Processing: smithy_client_1.expectBoolean(output.Processing),
|
|
4075
|
+
Processing: (0, smithy_client_1.expectBoolean)(output.Processing),
|
|
4076
4076
|
ServiceSoftwareOptions: output.ServiceSoftwareOptions !== undefined && output.ServiceSoftwareOptions !== null
|
|
4077
4077
|
? deserializeAws_restJson1ServiceSoftwareOptions(output.ServiceSoftwareOptions, context)
|
|
4078
4078
|
: undefined,
|
|
4079
4079
|
SnapshotOptions: output.SnapshotOptions !== undefined && output.SnapshotOptions !== null
|
|
4080
4080
|
? deserializeAws_restJson1SnapshotOptions(output.SnapshotOptions, context)
|
|
4081
4081
|
: undefined,
|
|
4082
|
-
UpgradeProcessing: smithy_client_1.expectBoolean(output.UpgradeProcessing),
|
|
4082
|
+
UpgradeProcessing: (0, smithy_client_1.expectBoolean)(output.UpgradeProcessing),
|
|
4083
4083
|
VPCOptions: output.VPCOptions !== undefined && output.VPCOptions !== null
|
|
4084
4084
|
? deserializeAws_restJson1VPCDerivedInfo(output.VPCOptions, context)
|
|
4085
4085
|
: undefined,
|
|
@@ -4098,22 +4098,22 @@ const deserializeAws_restJson1DomainStatusList = (output, context) => {
|
|
|
4098
4098
|
};
|
|
4099
4099
|
const deserializeAws_restJson1DryRunResults = (output, context) => {
|
|
4100
4100
|
return {
|
|
4101
|
-
DeploymentType: smithy_client_1.expectString(output.DeploymentType),
|
|
4102
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
4101
|
+
DeploymentType: (0, smithy_client_1.expectString)(output.DeploymentType),
|
|
4102
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4103
4103
|
};
|
|
4104
4104
|
};
|
|
4105
4105
|
const deserializeAws_restJson1Duration = (output, context) => {
|
|
4106
4106
|
return {
|
|
4107
|
-
Unit: smithy_client_1.expectString(output.Unit),
|
|
4108
|
-
Value: smithy_client_1.expectLong(output.Value),
|
|
4107
|
+
Unit: (0, smithy_client_1.expectString)(output.Unit),
|
|
4108
|
+
Value: (0, smithy_client_1.expectLong)(output.Value),
|
|
4109
4109
|
};
|
|
4110
4110
|
};
|
|
4111
4111
|
const deserializeAws_restJson1EBSOptions = (output, context) => {
|
|
4112
4112
|
return {
|
|
4113
|
-
EBSEnabled: smithy_client_1.expectBoolean(output.EBSEnabled),
|
|
4114
|
-
Iops: smithy_client_1.expectInt32(output.Iops),
|
|
4115
|
-
VolumeSize: smithy_client_1.expectInt32(output.VolumeSize),
|
|
4116
|
-
VolumeType: smithy_client_1.expectString(output.VolumeType),
|
|
4113
|
+
EBSEnabled: (0, smithy_client_1.expectBoolean)(output.EBSEnabled),
|
|
4114
|
+
Iops: (0, smithy_client_1.expectInt32)(output.Iops),
|
|
4115
|
+
VolumeSize: (0, smithy_client_1.expectInt32)(output.VolumeSize),
|
|
4116
|
+
VolumeType: (0, smithy_client_1.expectString)(output.VolumeType),
|
|
4117
4117
|
};
|
|
4118
4118
|
};
|
|
4119
4119
|
const deserializeAws_restJson1EBSOptionsStatus = (output, context) => {
|
|
@@ -4128,8 +4128,8 @@ const deserializeAws_restJson1EBSOptionsStatus = (output, context) => {
|
|
|
4128
4128
|
};
|
|
4129
4129
|
const deserializeAws_restJson1EncryptionAtRestOptions = (output, context) => {
|
|
4130
4130
|
return {
|
|
4131
|
-
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
4132
|
-
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
4131
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
4132
|
+
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
4133
4133
|
};
|
|
4134
4134
|
};
|
|
4135
4135
|
const deserializeAws_restJson1EncryptionAtRestOptionsStatus = (output, context) => {
|
|
@@ -4149,19 +4149,19 @@ const deserializeAws_restJson1EndpointsMap = (output, context) => {
|
|
|
4149
4149
|
}
|
|
4150
4150
|
return {
|
|
4151
4151
|
...acc,
|
|
4152
|
-
[key]: smithy_client_1.expectString(value),
|
|
4152
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
4153
4153
|
};
|
|
4154
4154
|
}, {});
|
|
4155
4155
|
};
|
|
4156
4156
|
const deserializeAws_restJson1ErrorDetails = (output, context) => {
|
|
4157
4157
|
return {
|
|
4158
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
4159
|
-
ErrorType: smithy_client_1.expectString(output.ErrorType),
|
|
4158
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
4159
|
+
ErrorType: (0, smithy_client_1.expectString)(output.ErrorType),
|
|
4160
4160
|
};
|
|
4161
4161
|
};
|
|
4162
4162
|
const deserializeAws_restJson1InboundConnection = (output, context) => {
|
|
4163
4163
|
return {
|
|
4164
|
-
ConnectionId: smithy_client_1.expectString(output.ConnectionId),
|
|
4164
|
+
ConnectionId: (0, smithy_client_1.expectString)(output.ConnectionId),
|
|
4165
4165
|
ConnectionStatus: output.ConnectionStatus !== undefined && output.ConnectionStatus !== null
|
|
4166
4166
|
? deserializeAws_restJson1InboundConnectionStatus(output.ConnectionStatus, context)
|
|
4167
4167
|
: undefined,
|
|
@@ -4186,14 +4186,14 @@ const deserializeAws_restJson1InboundConnections = (output, context) => {
|
|
|
4186
4186
|
};
|
|
4187
4187
|
const deserializeAws_restJson1InboundConnectionStatus = (output, context) => {
|
|
4188
4188
|
return {
|
|
4189
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
4190
|
-
StatusCode: smithy_client_1.expectString(output.StatusCode),
|
|
4189
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4190
|
+
StatusCode: (0, smithy_client_1.expectString)(output.StatusCode),
|
|
4191
4191
|
};
|
|
4192
4192
|
};
|
|
4193
4193
|
const deserializeAws_restJson1InstanceCountLimits = (output, context) => {
|
|
4194
4194
|
return {
|
|
4195
|
-
MaximumInstanceCount: smithy_client_1.expectInt32(output.MaximumInstanceCount),
|
|
4196
|
-
MinimumInstanceCount: smithy_client_1.expectInt32(output.MinimumInstanceCount),
|
|
4195
|
+
MaximumInstanceCount: (0, smithy_client_1.expectInt32)(output.MaximumInstanceCount),
|
|
4196
|
+
MinimumInstanceCount: (0, smithy_client_1.expectInt32)(output.MinimumInstanceCount),
|
|
4197
4197
|
};
|
|
4198
4198
|
};
|
|
4199
4199
|
const deserializeAws_restJson1InstanceLimits = (output, context) => {
|
|
@@ -4210,21 +4210,21 @@ const deserializeAws_restJson1InstanceRoleList = (output, context) => {
|
|
|
4210
4210
|
if (entry === null) {
|
|
4211
4211
|
return null;
|
|
4212
4212
|
}
|
|
4213
|
-
return smithy_client_1.expectString(entry);
|
|
4213
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4214
4214
|
});
|
|
4215
4215
|
return retVal;
|
|
4216
4216
|
};
|
|
4217
4217
|
const deserializeAws_restJson1InstanceTypeDetails = (output, context) => {
|
|
4218
4218
|
return {
|
|
4219
|
-
AdvancedSecurityEnabled: smithy_client_1.expectBoolean(output.AdvancedSecurityEnabled),
|
|
4220
|
-
AppLogsEnabled: smithy_client_1.expectBoolean(output.AppLogsEnabled),
|
|
4221
|
-
CognitoEnabled: smithy_client_1.expectBoolean(output.CognitoEnabled),
|
|
4222
|
-
EncryptionEnabled: smithy_client_1.expectBoolean(output.EncryptionEnabled),
|
|
4219
|
+
AdvancedSecurityEnabled: (0, smithy_client_1.expectBoolean)(output.AdvancedSecurityEnabled),
|
|
4220
|
+
AppLogsEnabled: (0, smithy_client_1.expectBoolean)(output.AppLogsEnabled),
|
|
4221
|
+
CognitoEnabled: (0, smithy_client_1.expectBoolean)(output.CognitoEnabled),
|
|
4222
|
+
EncryptionEnabled: (0, smithy_client_1.expectBoolean)(output.EncryptionEnabled),
|
|
4223
4223
|
InstanceRole: output.InstanceRole !== undefined && output.InstanceRole !== null
|
|
4224
4224
|
? deserializeAws_restJson1InstanceRoleList(output.InstanceRole, context)
|
|
4225
4225
|
: undefined,
|
|
4226
|
-
InstanceType: smithy_client_1.expectString(output.InstanceType),
|
|
4227
|
-
WarmEnabled: smithy_client_1.expectBoolean(output.WarmEnabled),
|
|
4226
|
+
InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
|
|
4227
|
+
WarmEnabled: (0, smithy_client_1.expectBoolean)(output.WarmEnabled),
|
|
4228
4228
|
};
|
|
4229
4229
|
};
|
|
4230
4230
|
const deserializeAws_restJson1InstanceTypeDetailsList = (output, context) => {
|
|
@@ -4245,7 +4245,7 @@ const deserializeAws_restJson1Issues = (output, context) => {
|
|
|
4245
4245
|
if (entry === null) {
|
|
4246
4246
|
return null;
|
|
4247
4247
|
}
|
|
4248
|
-
return smithy_client_1.expectString(entry);
|
|
4248
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4249
4249
|
});
|
|
4250
4250
|
return retVal;
|
|
4251
4251
|
};
|
|
@@ -4280,14 +4280,14 @@ const deserializeAws_restJson1LimitValueList = (output, context) => {
|
|
|
4280
4280
|
if (entry === null) {
|
|
4281
4281
|
return null;
|
|
4282
4282
|
}
|
|
4283
|
-
return smithy_client_1.expectString(entry);
|
|
4283
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4284
4284
|
});
|
|
4285
4285
|
return retVal;
|
|
4286
4286
|
};
|
|
4287
4287
|
const deserializeAws_restJson1LogPublishingOption = (output, context) => {
|
|
4288
4288
|
return {
|
|
4289
|
-
CloudWatchLogsLogGroupArn: smithy_client_1.expectString(output.CloudWatchLogsLogGroupArn),
|
|
4290
|
-
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
4289
|
+
CloudWatchLogsLogGroupArn: (0, smithy_client_1.expectString)(output.CloudWatchLogsLogGroupArn),
|
|
4290
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
4291
4291
|
};
|
|
4292
4292
|
};
|
|
4293
4293
|
const deserializeAws_restJson1LogPublishingOptions = (output, context) => {
|
|
@@ -4313,7 +4313,7 @@ const deserializeAws_restJson1LogPublishingOptionsStatus = (output, context) =>
|
|
|
4313
4313
|
};
|
|
4314
4314
|
const deserializeAws_restJson1NodeToNodeEncryptionOptions = (output, context) => {
|
|
4315
4315
|
return {
|
|
4316
|
-
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
4316
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
4317
4317
|
};
|
|
4318
4318
|
};
|
|
4319
4319
|
const deserializeAws_restJson1NodeToNodeEncryptionOptionsStatus = (output, context) => {
|
|
@@ -4329,20 +4329,20 @@ const deserializeAws_restJson1NodeToNodeEncryptionOptionsStatus = (output, conte
|
|
|
4329
4329
|
const deserializeAws_restJson1OptionStatus = (output, context) => {
|
|
4330
4330
|
return {
|
|
4331
4331
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
4332
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
4332
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
4333
4333
|
: undefined,
|
|
4334
|
-
PendingDeletion: smithy_client_1.expectBoolean(output.PendingDeletion),
|
|
4335
|
-
State: smithy_client_1.expectString(output.State),
|
|
4334
|
+
PendingDeletion: (0, smithy_client_1.expectBoolean)(output.PendingDeletion),
|
|
4335
|
+
State: (0, smithy_client_1.expectString)(output.State),
|
|
4336
4336
|
UpdateDate: output.UpdateDate !== undefined && output.UpdateDate !== null
|
|
4337
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdateDate)))
|
|
4337
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateDate)))
|
|
4338
4338
|
: undefined,
|
|
4339
|
-
UpdateVersion: smithy_client_1.expectInt32(output.UpdateVersion),
|
|
4339
|
+
UpdateVersion: (0, smithy_client_1.expectInt32)(output.UpdateVersion),
|
|
4340
4340
|
};
|
|
4341
4341
|
};
|
|
4342
4342
|
const deserializeAws_restJson1OutboundConnection = (output, context) => {
|
|
4343
4343
|
return {
|
|
4344
|
-
ConnectionAlias: smithy_client_1.expectString(output.ConnectionAlias),
|
|
4345
|
-
ConnectionId: smithy_client_1.expectString(output.ConnectionId),
|
|
4344
|
+
ConnectionAlias: (0, smithy_client_1.expectString)(output.ConnectionAlias),
|
|
4345
|
+
ConnectionId: (0, smithy_client_1.expectString)(output.ConnectionId),
|
|
4346
4346
|
ConnectionStatus: output.ConnectionStatus !== undefined && output.ConnectionStatus !== null
|
|
4347
4347
|
? deserializeAws_restJson1OutboundConnectionStatus(output.ConnectionStatus, context)
|
|
4348
4348
|
: undefined,
|
|
@@ -4367,27 +4367,27 @@ const deserializeAws_restJson1OutboundConnections = (output, context) => {
|
|
|
4367
4367
|
};
|
|
4368
4368
|
const deserializeAws_restJson1OutboundConnectionStatus = (output, context) => {
|
|
4369
4369
|
return {
|
|
4370
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
4371
|
-
StatusCode: smithy_client_1.expectString(output.StatusCode),
|
|
4370
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4371
|
+
StatusCode: (0, smithy_client_1.expectString)(output.StatusCode),
|
|
4372
4372
|
};
|
|
4373
4373
|
};
|
|
4374
4374
|
const deserializeAws_restJson1PackageDetails = (output, context) => {
|
|
4375
4375
|
return {
|
|
4376
|
-
AvailablePackageVersion: smithy_client_1.expectString(output.AvailablePackageVersion),
|
|
4376
|
+
AvailablePackageVersion: (0, smithy_client_1.expectString)(output.AvailablePackageVersion),
|
|
4377
4377
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
4378
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
4378
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
4379
4379
|
: undefined,
|
|
4380
4380
|
ErrorDetails: output.ErrorDetails !== undefined && output.ErrorDetails !== null
|
|
4381
4381
|
? deserializeAws_restJson1ErrorDetails(output.ErrorDetails, context)
|
|
4382
4382
|
: undefined,
|
|
4383
4383
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
4384
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
4384
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedAt)))
|
|
4385
4385
|
: undefined,
|
|
4386
|
-
PackageDescription: smithy_client_1.expectString(output.PackageDescription),
|
|
4387
|
-
PackageID: smithy_client_1.expectString(output.PackageID),
|
|
4388
|
-
PackageName: smithy_client_1.expectString(output.PackageName),
|
|
4389
|
-
PackageStatus: smithy_client_1.expectString(output.PackageStatus),
|
|
4390
|
-
PackageType: smithy_client_1.expectString(output.PackageType),
|
|
4386
|
+
PackageDescription: (0, smithy_client_1.expectString)(output.PackageDescription),
|
|
4387
|
+
PackageID: (0, smithy_client_1.expectString)(output.PackageID),
|
|
4388
|
+
PackageName: (0, smithy_client_1.expectString)(output.PackageName),
|
|
4389
|
+
PackageStatus: (0, smithy_client_1.expectString)(output.PackageStatus),
|
|
4390
|
+
PackageType: (0, smithy_client_1.expectString)(output.PackageType),
|
|
4391
4391
|
};
|
|
4392
4392
|
};
|
|
4393
4393
|
const deserializeAws_restJson1PackageDetailsList = (output, context) => {
|
|
@@ -4403,11 +4403,11 @@ const deserializeAws_restJson1PackageDetailsList = (output, context) => {
|
|
|
4403
4403
|
};
|
|
4404
4404
|
const deserializeAws_restJson1PackageVersionHistory = (output, context) => {
|
|
4405
4405
|
return {
|
|
4406
|
-
CommitMessage: smithy_client_1.expectString(output.CommitMessage),
|
|
4406
|
+
CommitMessage: (0, smithy_client_1.expectString)(output.CommitMessage),
|
|
4407
4407
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
4408
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
4408
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
4409
4409
|
: undefined,
|
|
4410
|
-
PackageVersion: smithy_client_1.expectString(output.PackageVersion),
|
|
4410
|
+
PackageVersion: (0, smithy_client_1.expectString)(output.PackageVersion),
|
|
4411
4411
|
};
|
|
4412
4412
|
};
|
|
4413
4413
|
const deserializeAws_restJson1PackageVersionHistoryList = (output, context) => {
|
|
@@ -4423,8 +4423,8 @@ const deserializeAws_restJson1PackageVersionHistoryList = (output, context) => {
|
|
|
4423
4423
|
};
|
|
4424
4424
|
const deserializeAws_restJson1RecurringCharge = (output, context) => {
|
|
4425
4425
|
return {
|
|
4426
|
-
RecurringChargeAmount: smithy_client_1.limitedParseDouble(output.RecurringChargeAmount),
|
|
4427
|
-
RecurringChargeFrequency: smithy_client_1.expectString(output.RecurringChargeFrequency),
|
|
4426
|
+
RecurringChargeAmount: (0, smithy_client_1.limitedParseDouble)(output.RecurringChargeAmount),
|
|
4427
|
+
RecurringChargeFrequency: (0, smithy_client_1.expectString)(output.RecurringChargeFrequency),
|
|
4428
4428
|
};
|
|
4429
4429
|
};
|
|
4430
4430
|
const deserializeAws_restJson1RecurringChargeList = (output, context) => {
|
|
@@ -4440,24 +4440,24 @@ const deserializeAws_restJson1RecurringChargeList = (output, context) => {
|
|
|
4440
4440
|
};
|
|
4441
4441
|
const deserializeAws_restJson1ReservedInstance = (output, context) => {
|
|
4442
4442
|
return {
|
|
4443
|
-
BillingSubscriptionId: smithy_client_1.expectLong(output.BillingSubscriptionId),
|
|
4444
|
-
CurrencyCode: smithy_client_1.expectString(output.CurrencyCode),
|
|
4445
|
-
Duration: smithy_client_1.expectInt32(output.Duration),
|
|
4446
|
-
FixedPrice: smithy_client_1.limitedParseDouble(output.FixedPrice),
|
|
4447
|
-
InstanceCount: smithy_client_1.expectInt32(output.InstanceCount),
|
|
4448
|
-
InstanceType: smithy_client_1.expectString(output.InstanceType),
|
|
4449
|
-
PaymentOption: smithy_client_1.expectString(output.PaymentOption),
|
|
4443
|
+
BillingSubscriptionId: (0, smithy_client_1.expectLong)(output.BillingSubscriptionId),
|
|
4444
|
+
CurrencyCode: (0, smithy_client_1.expectString)(output.CurrencyCode),
|
|
4445
|
+
Duration: (0, smithy_client_1.expectInt32)(output.Duration),
|
|
4446
|
+
FixedPrice: (0, smithy_client_1.limitedParseDouble)(output.FixedPrice),
|
|
4447
|
+
InstanceCount: (0, smithy_client_1.expectInt32)(output.InstanceCount),
|
|
4448
|
+
InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
|
|
4449
|
+
PaymentOption: (0, smithy_client_1.expectString)(output.PaymentOption),
|
|
4450
4450
|
RecurringCharges: output.RecurringCharges !== undefined && output.RecurringCharges !== null
|
|
4451
4451
|
? deserializeAws_restJson1RecurringChargeList(output.RecurringCharges, context)
|
|
4452
4452
|
: undefined,
|
|
4453
|
-
ReservationName: smithy_client_1.expectString(output.ReservationName),
|
|
4454
|
-
ReservedInstanceId: smithy_client_1.expectString(output.ReservedInstanceId),
|
|
4455
|
-
ReservedInstanceOfferingId: smithy_client_1.expectString(output.ReservedInstanceOfferingId),
|
|
4453
|
+
ReservationName: (0, smithy_client_1.expectString)(output.ReservationName),
|
|
4454
|
+
ReservedInstanceId: (0, smithy_client_1.expectString)(output.ReservedInstanceId),
|
|
4455
|
+
ReservedInstanceOfferingId: (0, smithy_client_1.expectString)(output.ReservedInstanceOfferingId),
|
|
4456
4456
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
4457
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
4457
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
4458
4458
|
: undefined,
|
|
4459
|
-
State: smithy_client_1.expectString(output.State),
|
|
4460
|
-
UsagePrice: smithy_client_1.limitedParseDouble(output.UsagePrice),
|
|
4459
|
+
State: (0, smithy_client_1.expectString)(output.State),
|
|
4460
|
+
UsagePrice: (0, smithy_client_1.limitedParseDouble)(output.UsagePrice),
|
|
4461
4461
|
};
|
|
4462
4462
|
};
|
|
4463
4463
|
const deserializeAws_restJson1ReservedInstanceList = (output, context) => {
|
|
@@ -4473,16 +4473,16 @@ const deserializeAws_restJson1ReservedInstanceList = (output, context) => {
|
|
|
4473
4473
|
};
|
|
4474
4474
|
const deserializeAws_restJson1ReservedInstanceOffering = (output, context) => {
|
|
4475
4475
|
return {
|
|
4476
|
-
CurrencyCode: smithy_client_1.expectString(output.CurrencyCode),
|
|
4477
|
-
Duration: smithy_client_1.expectInt32(output.Duration),
|
|
4478
|
-
FixedPrice: smithy_client_1.limitedParseDouble(output.FixedPrice),
|
|
4479
|
-
InstanceType: smithy_client_1.expectString(output.InstanceType),
|
|
4480
|
-
PaymentOption: smithy_client_1.expectString(output.PaymentOption),
|
|
4476
|
+
CurrencyCode: (0, smithy_client_1.expectString)(output.CurrencyCode),
|
|
4477
|
+
Duration: (0, smithy_client_1.expectInt32)(output.Duration),
|
|
4478
|
+
FixedPrice: (0, smithy_client_1.limitedParseDouble)(output.FixedPrice),
|
|
4479
|
+
InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
|
|
4480
|
+
PaymentOption: (0, smithy_client_1.expectString)(output.PaymentOption),
|
|
4481
4481
|
RecurringCharges: output.RecurringCharges !== undefined && output.RecurringCharges !== null
|
|
4482
4482
|
? deserializeAws_restJson1RecurringChargeList(output.RecurringCharges, context)
|
|
4483
4483
|
: undefined,
|
|
4484
|
-
ReservedInstanceOfferingId: smithy_client_1.expectString(output.ReservedInstanceOfferingId),
|
|
4485
|
-
UsagePrice: smithy_client_1.limitedParseDouble(output.UsagePrice),
|
|
4484
|
+
ReservedInstanceOfferingId: (0, smithy_client_1.expectString)(output.ReservedInstanceOfferingId),
|
|
4485
|
+
UsagePrice: (0, smithy_client_1.limitedParseDouble)(output.UsagePrice),
|
|
4486
4486
|
};
|
|
4487
4487
|
};
|
|
4488
4488
|
const deserializeAws_restJson1ReservedInstanceOfferingList = (output, context) => {
|
|
@@ -4498,48 +4498,48 @@ const deserializeAws_restJson1ReservedInstanceOfferingList = (output, context) =
|
|
|
4498
4498
|
};
|
|
4499
4499
|
const deserializeAws_restJson1SAMLIdp = (output, context) => {
|
|
4500
4500
|
return {
|
|
4501
|
-
EntityId: smithy_client_1.expectString(output.EntityId),
|
|
4502
|
-
MetadataContent: smithy_client_1.expectString(output.MetadataContent),
|
|
4501
|
+
EntityId: (0, smithy_client_1.expectString)(output.EntityId),
|
|
4502
|
+
MetadataContent: (0, smithy_client_1.expectString)(output.MetadataContent),
|
|
4503
4503
|
};
|
|
4504
4504
|
};
|
|
4505
4505
|
const deserializeAws_restJson1SAMLOptionsOutput = (output, context) => {
|
|
4506
4506
|
return {
|
|
4507
|
-
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
4507
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
4508
4508
|
Idp: output.Idp !== undefined && output.Idp !== null
|
|
4509
4509
|
? deserializeAws_restJson1SAMLIdp(output.Idp, context)
|
|
4510
4510
|
: undefined,
|
|
4511
|
-
RolesKey: smithy_client_1.expectString(output.RolesKey),
|
|
4512
|
-
SessionTimeoutMinutes: smithy_client_1.expectInt32(output.SessionTimeoutMinutes),
|
|
4513
|
-
SubjectKey: smithy_client_1.expectString(output.SubjectKey),
|
|
4511
|
+
RolesKey: (0, smithy_client_1.expectString)(output.RolesKey),
|
|
4512
|
+
SessionTimeoutMinutes: (0, smithy_client_1.expectInt32)(output.SessionTimeoutMinutes),
|
|
4513
|
+
SubjectKey: (0, smithy_client_1.expectString)(output.SubjectKey),
|
|
4514
4514
|
};
|
|
4515
4515
|
};
|
|
4516
4516
|
const deserializeAws_restJson1ScheduledAutoTuneDetails = (output, context) => {
|
|
4517
4517
|
return {
|
|
4518
|
-
Action: smithy_client_1.expectString(output.Action),
|
|
4519
|
-
ActionType: smithy_client_1.expectString(output.ActionType),
|
|
4518
|
+
Action: (0, smithy_client_1.expectString)(output.Action),
|
|
4519
|
+
ActionType: (0, smithy_client_1.expectString)(output.ActionType),
|
|
4520
4520
|
Date: output.Date !== undefined && output.Date !== null
|
|
4521
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Date)))
|
|
4521
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Date)))
|
|
4522
4522
|
: undefined,
|
|
4523
|
-
Severity: smithy_client_1.expectString(output.Severity),
|
|
4523
|
+
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
4524
4524
|
};
|
|
4525
4525
|
};
|
|
4526
4526
|
const deserializeAws_restJson1ServiceSoftwareOptions = (output, context) => {
|
|
4527
4527
|
return {
|
|
4528
4528
|
AutomatedUpdateDate: output.AutomatedUpdateDate !== undefined && output.AutomatedUpdateDate !== null
|
|
4529
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.AutomatedUpdateDate)))
|
|
4529
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.AutomatedUpdateDate)))
|
|
4530
4530
|
: undefined,
|
|
4531
|
-
Cancellable: smithy_client_1.expectBoolean(output.Cancellable),
|
|
4532
|
-
CurrentVersion: smithy_client_1.expectString(output.CurrentVersion),
|
|
4533
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
4534
|
-
NewVersion: smithy_client_1.expectString(output.NewVersion),
|
|
4535
|
-
OptionalDeployment: smithy_client_1.expectBoolean(output.OptionalDeployment),
|
|
4536
|
-
UpdateAvailable: smithy_client_1.expectBoolean(output.UpdateAvailable),
|
|
4537
|
-
UpdateStatus: smithy_client_1.expectString(output.UpdateStatus),
|
|
4531
|
+
Cancellable: (0, smithy_client_1.expectBoolean)(output.Cancellable),
|
|
4532
|
+
CurrentVersion: (0, smithy_client_1.expectString)(output.CurrentVersion),
|
|
4533
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
4534
|
+
NewVersion: (0, smithy_client_1.expectString)(output.NewVersion),
|
|
4535
|
+
OptionalDeployment: (0, smithy_client_1.expectBoolean)(output.OptionalDeployment),
|
|
4536
|
+
UpdateAvailable: (0, smithy_client_1.expectBoolean)(output.UpdateAvailable),
|
|
4537
|
+
UpdateStatus: (0, smithy_client_1.expectString)(output.UpdateStatus),
|
|
4538
4538
|
};
|
|
4539
4539
|
};
|
|
4540
4540
|
const deserializeAws_restJson1SnapshotOptions = (output, context) => {
|
|
4541
4541
|
return {
|
|
4542
|
-
AutomatedSnapshotStartHour: smithy_client_1.expectInt32(output.AutomatedSnapshotStartHour),
|
|
4542
|
+
AutomatedSnapshotStartHour: (0, smithy_client_1.expectInt32)(output.AutomatedSnapshotStartHour),
|
|
4543
4543
|
};
|
|
4544
4544
|
};
|
|
4545
4545
|
const deserializeAws_restJson1SnapshotOptionsStatus = (output, context) => {
|
|
@@ -4554,16 +4554,16 @@ const deserializeAws_restJson1SnapshotOptionsStatus = (output, context) => {
|
|
|
4554
4554
|
};
|
|
4555
4555
|
const deserializeAws_restJson1StorageType = (output, context) => {
|
|
4556
4556
|
return {
|
|
4557
|
-
StorageSubTypeName: smithy_client_1.expectString(output.StorageSubTypeName),
|
|
4557
|
+
StorageSubTypeName: (0, smithy_client_1.expectString)(output.StorageSubTypeName),
|
|
4558
4558
|
StorageTypeLimits: output.StorageTypeLimits !== undefined && output.StorageTypeLimits !== null
|
|
4559
4559
|
? deserializeAws_restJson1StorageTypeLimitList(output.StorageTypeLimits, context)
|
|
4560
4560
|
: undefined,
|
|
4561
|
-
StorageTypeName: smithy_client_1.expectString(output.StorageTypeName),
|
|
4561
|
+
StorageTypeName: (0, smithy_client_1.expectString)(output.StorageTypeName),
|
|
4562
4562
|
};
|
|
4563
4563
|
};
|
|
4564
4564
|
const deserializeAws_restJson1StorageTypeLimit = (output, context) => {
|
|
4565
4565
|
return {
|
|
4566
|
-
LimitName: smithy_client_1.expectString(output.LimitName),
|
|
4566
|
+
LimitName: (0, smithy_client_1.expectString)(output.LimitName),
|
|
4567
4567
|
LimitValues: output.LimitValues !== undefined && output.LimitValues !== null
|
|
4568
4568
|
? deserializeAws_restJson1LimitValueList(output.LimitValues, context)
|
|
4569
4569
|
: undefined,
|
|
@@ -4598,14 +4598,14 @@ const deserializeAws_restJson1StringList = (output, context) => {
|
|
|
4598
4598
|
if (entry === null) {
|
|
4599
4599
|
return null;
|
|
4600
4600
|
}
|
|
4601
|
-
return smithy_client_1.expectString(entry);
|
|
4601
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4602
4602
|
});
|
|
4603
4603
|
return retVal;
|
|
4604
4604
|
};
|
|
4605
4605
|
const deserializeAws_restJson1Tag = (output, context) => {
|
|
4606
4606
|
return {
|
|
4607
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
4608
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
4607
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
4608
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
4609
4609
|
};
|
|
4610
4610
|
};
|
|
4611
4611
|
const deserializeAws_restJson1TagList = (output, context) => {
|
|
@@ -4622,13 +4622,13 @@ const deserializeAws_restJson1TagList = (output, context) => {
|
|
|
4622
4622
|
const deserializeAws_restJson1UpgradeHistory = (output, context) => {
|
|
4623
4623
|
return {
|
|
4624
4624
|
StartTimestamp: output.StartTimestamp !== undefined && output.StartTimestamp !== null
|
|
4625
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTimestamp)))
|
|
4625
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTimestamp)))
|
|
4626
4626
|
: undefined,
|
|
4627
4627
|
StepsList: output.StepsList !== undefined && output.StepsList !== null
|
|
4628
4628
|
? deserializeAws_restJson1UpgradeStepsList(output.StepsList, context)
|
|
4629
4629
|
: undefined,
|
|
4630
|
-
UpgradeName: smithy_client_1.expectString(output.UpgradeName),
|
|
4631
|
-
UpgradeStatus: smithy_client_1.expectString(output.UpgradeStatus),
|
|
4630
|
+
UpgradeName: (0, smithy_client_1.expectString)(output.UpgradeName),
|
|
4631
|
+
UpgradeStatus: (0, smithy_client_1.expectString)(output.UpgradeStatus),
|
|
4632
4632
|
};
|
|
4633
4633
|
};
|
|
4634
4634
|
const deserializeAws_restJson1UpgradeHistoryList = (output, context) => {
|
|
@@ -4647,9 +4647,9 @@ const deserializeAws_restJson1UpgradeStepItem = (output, context) => {
|
|
|
4647
4647
|
Issues: output.Issues !== undefined && output.Issues !== null
|
|
4648
4648
|
? deserializeAws_restJson1Issues(output.Issues, context)
|
|
4649
4649
|
: undefined,
|
|
4650
|
-
ProgressPercent: smithy_client_1.limitedParseDouble(output.ProgressPercent),
|
|
4651
|
-
UpgradeStep: smithy_client_1.expectString(output.UpgradeStep),
|
|
4652
|
-
UpgradeStepStatus: smithy_client_1.expectString(output.UpgradeStepStatus),
|
|
4650
|
+
ProgressPercent: (0, smithy_client_1.limitedParseDouble)(output.ProgressPercent),
|
|
4651
|
+
UpgradeStep: (0, smithy_client_1.expectString)(output.UpgradeStep),
|
|
4652
|
+
UpgradeStepStatus: (0, smithy_client_1.expectString)(output.UpgradeStepStatus),
|
|
4653
4653
|
};
|
|
4654
4654
|
};
|
|
4655
4655
|
const deserializeAws_restJson1UpgradeStepsList = (output, context) => {
|
|
@@ -4670,13 +4670,13 @@ const deserializeAws_restJson1VersionList = (output, context) => {
|
|
|
4670
4670
|
if (entry === null) {
|
|
4671
4671
|
return null;
|
|
4672
4672
|
}
|
|
4673
|
-
return smithy_client_1.expectString(entry);
|
|
4673
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4674
4674
|
});
|
|
4675
4675
|
return retVal;
|
|
4676
4676
|
};
|
|
4677
4677
|
const deserializeAws_restJson1VersionStatus = (output, context) => {
|
|
4678
4678
|
return {
|
|
4679
|
-
Options: smithy_client_1.expectString(output.Options),
|
|
4679
|
+
Options: (0, smithy_client_1.expectString)(output.Options),
|
|
4680
4680
|
Status: output.Status !== undefined && output.Status !== null
|
|
4681
4681
|
? deserializeAws_restJson1OptionStatus(output.Status, context)
|
|
4682
4682
|
: undefined,
|
|
@@ -4693,7 +4693,7 @@ const deserializeAws_restJson1VPCDerivedInfo = (output, context) => {
|
|
|
4693
4693
|
SubnetIds: output.SubnetIds !== undefined && output.SubnetIds !== null
|
|
4694
4694
|
? deserializeAws_restJson1StringList(output.SubnetIds, context)
|
|
4695
4695
|
: undefined,
|
|
4696
|
-
VPCId: smithy_client_1.expectString(output.VPCId),
|
|
4696
|
+
VPCId: (0, smithy_client_1.expectString)(output.VPCId),
|
|
4697
4697
|
};
|
|
4698
4698
|
};
|
|
4699
4699
|
const deserializeAws_restJson1VPCDerivedInfoStatus = (output, context) => {
|
|
@@ -4708,7 +4708,7 @@ const deserializeAws_restJson1VPCDerivedInfoStatus = (output, context) => {
|
|
|
4708
4708
|
};
|
|
4709
4709
|
const deserializeAws_restJson1ZoneAwarenessConfig = (output, context) => {
|
|
4710
4710
|
return {
|
|
4711
|
-
AvailabilityZoneCount: smithy_client_1.expectInt32(output.AvailabilityZoneCount),
|
|
4711
|
+
AvailabilityZoneCount: (0, smithy_client_1.expectInt32)(output.AvailabilityZoneCount),
|
|
4712
4712
|
};
|
|
4713
4713
|
};
|
|
4714
4714
|
const deserializeMetadata = (output) => {
|