@aws-sdk/client-migrationhubstrategy 3.54.1 → 3.55.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 +8 -0
- package/dist-cjs/MigrationHubStrategyClient.js +13 -13
- package/dist-cjs/commands/GetApplicationComponentDetailsCommand.js +3 -3
- package/dist-cjs/commands/GetApplicationComponentStrategiesCommand.js +3 -3
- package/dist-cjs/commands/GetAssessmentCommand.js +3 -3
- package/dist-cjs/commands/GetImportFileTaskCommand.js +3 -3
- package/dist-cjs/commands/GetPortfolioPreferencesCommand.js +3 -3
- package/dist-cjs/commands/GetPortfolioSummaryCommand.js +3 -3
- package/dist-cjs/commands/GetRecommendationReportDetailsCommand.js +3 -3
- package/dist-cjs/commands/GetServerDetailsCommand.js +3 -3
- package/dist-cjs/commands/GetServerStrategiesCommand.js +3 -3
- package/dist-cjs/commands/ListApplicationComponentsCommand.js +3 -3
- package/dist-cjs/commands/ListCollectorsCommand.js +3 -3
- package/dist-cjs/commands/ListImportFileTaskCommand.js +3 -3
- package/dist-cjs/commands/ListServersCommand.js +3 -3
- package/dist-cjs/commands/PutPortfolioPreferencesCommand.js +3 -3
- package/dist-cjs/commands/StartAssessmentCommand.js +3 -3
- package/dist-cjs/commands/StartImportFileTaskCommand.js +3 -3
- package/dist-cjs/commands/StartRecommendationReportGenerationCommand.js +3 -3
- package/dist-cjs/commands/StopAssessmentCommand.js +3 -3
- package/dist-cjs/commands/UpdateApplicationComponentConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateServerConfigCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +185 -185
- 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/MigrationHubStrategy.js +20 -20
- package/dist-es/pagination/GetServerDetailsPaginator.js +4 -4
- package/dist-es/pagination/ListApplicationComponentsPaginator.js +4 -4
- package/dist-es/pagination/ListCollectorsPaginator.js +4 -4
- package/dist-es/pagination/ListImportFileTaskPaginator.js +4 -4
- package/dist-es/pagination/ListServersPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +20 -20
- 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
|
@@ -15,7 +15,7 @@ const serializeAws_restJson1GetApplicationComponentDetailsCommand = async (input
|
|
|
15
15
|
if (labelValue.length <= 0) {
|
|
16
16
|
throw new Error("Empty value provided for input HTTP label: applicationComponentId.");
|
|
17
17
|
}
|
|
18
|
-
resolvedPath = resolvedPath.replace("{applicationComponentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
18
|
+
resolvedPath = resolvedPath.replace("{applicationComponentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
19
19
|
}
|
|
20
20
|
else {
|
|
21
21
|
throw new Error("No value provided for input HTTP label: applicationComponentId.");
|
|
@@ -42,7 +42,7 @@ const serializeAws_restJson1GetApplicationComponentStrategiesCommand = async (in
|
|
|
42
42
|
if (labelValue.length <= 0) {
|
|
43
43
|
throw new Error("Empty value provided for input HTTP label: applicationComponentId.");
|
|
44
44
|
}
|
|
45
|
-
resolvedPath = resolvedPath.replace("{applicationComponentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
45
|
+
resolvedPath = resolvedPath.replace("{applicationComponentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
46
46
|
}
|
|
47
47
|
else {
|
|
48
48
|
throw new Error("No value provided for input HTTP label: applicationComponentId.");
|
|
@@ -68,7 +68,7 @@ const serializeAws_restJson1GetAssessmentCommand = async (input, context) => {
|
|
|
68
68
|
if (labelValue.length <= 0) {
|
|
69
69
|
throw new Error("Empty value provided for input HTTP label: id.");
|
|
70
70
|
}
|
|
71
|
-
resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
71
|
+
resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
72
72
|
}
|
|
73
73
|
else {
|
|
74
74
|
throw new Error("No value provided for input HTTP label: id.");
|
|
@@ -94,7 +94,7 @@ const serializeAws_restJson1GetImportFileTaskCommand = async (input, context) =>
|
|
|
94
94
|
if (labelValue.length <= 0) {
|
|
95
95
|
throw new Error("Empty value provided for input HTTP label: id.");
|
|
96
96
|
}
|
|
97
|
-
resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
97
|
+
resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
98
98
|
}
|
|
99
99
|
else {
|
|
100
100
|
throw new Error("No value provided for input HTTP label: id.");
|
|
@@ -158,7 +158,7 @@ const serializeAws_restJson1GetRecommendationReportDetailsCommand = async (input
|
|
|
158
158
|
if (labelValue.length <= 0) {
|
|
159
159
|
throw new Error("Empty value provided for input HTTP label: id.");
|
|
160
160
|
}
|
|
161
|
-
resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
161
|
+
resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
162
162
|
}
|
|
163
163
|
else {
|
|
164
164
|
throw new Error("No value provided for input HTTP label: id.");
|
|
@@ -184,7 +184,7 @@ const serializeAws_restJson1GetServerDetailsCommand = async (input, context) =>
|
|
|
184
184
|
if (labelValue.length <= 0) {
|
|
185
185
|
throw new Error("Empty value provided for input HTTP label: serverId.");
|
|
186
186
|
}
|
|
187
|
-
resolvedPath = resolvedPath.replace("{serverId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
187
|
+
resolvedPath = resolvedPath.replace("{serverId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
188
188
|
}
|
|
189
189
|
else {
|
|
190
190
|
throw new Error("No value provided for input HTTP label: serverId.");
|
|
@@ -215,7 +215,7 @@ const serializeAws_restJson1GetServerStrategiesCommand = async (input, context)
|
|
|
215
215
|
if (labelValue.length <= 0) {
|
|
216
216
|
throw new Error("Empty value provided for input HTTP label: serverId.");
|
|
217
217
|
}
|
|
218
|
-
resolvedPath = resolvedPath.replace("{serverId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
218
|
+
resolvedPath = resolvedPath.replace("{serverId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
219
219
|
}
|
|
220
220
|
else {
|
|
221
221
|
throw new Error("No value provided for input HTTP label: serverId.");
|
|
@@ -531,7 +531,7 @@ const deserializeAws_restJson1GetApplicationComponentDetailsCommand = async (out
|
|
|
531
531
|
associatedServerIds: undefined,
|
|
532
532
|
moreApplicationResource: undefined,
|
|
533
533
|
};
|
|
534
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
534
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
535
535
|
if (data.applicationComponentDetail !== undefined && data.applicationComponentDetail !== null) {
|
|
536
536
|
contents.applicationComponentDetail = deserializeAws_restJson1ApplicationComponentDetail(data.applicationComponentDetail, context);
|
|
537
537
|
}
|
|
@@ -542,7 +542,7 @@ const deserializeAws_restJson1GetApplicationComponentDetailsCommand = async (out
|
|
|
542
542
|
contents.associatedServerIds = deserializeAws_restJson1AssociatedServerIDs(data.associatedServerIds, context);
|
|
543
543
|
}
|
|
544
544
|
if (data.moreApplicationResource !== undefined && data.moreApplicationResource !== null) {
|
|
545
|
-
contents.moreApplicationResource = smithy_client_1.expectBoolean(data.moreApplicationResource);
|
|
545
|
+
contents.moreApplicationResource = (0, smithy_client_1.expectBoolean)(data.moreApplicationResource);
|
|
546
546
|
}
|
|
547
547
|
return Promise.resolve(contents);
|
|
548
548
|
};
|
|
@@ -572,7 +572,7 @@ const deserializeAws_restJson1GetApplicationComponentDetailsCommandError = async
|
|
|
572
572
|
$fault: "client",
|
|
573
573
|
$metadata: deserializeMetadata(output),
|
|
574
574
|
});
|
|
575
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
575
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
576
576
|
}
|
|
577
577
|
};
|
|
578
578
|
const deserializeAws_restJson1GetApplicationComponentStrategiesCommand = async (output, context) => {
|
|
@@ -583,7 +583,7 @@ const deserializeAws_restJson1GetApplicationComponentStrategiesCommand = async (
|
|
|
583
583
|
$metadata: deserializeMetadata(output),
|
|
584
584
|
applicationComponentStrategies: undefined,
|
|
585
585
|
};
|
|
586
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
586
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
587
587
|
if (data.applicationComponentStrategies !== undefined && data.applicationComponentStrategies !== null) {
|
|
588
588
|
contents.applicationComponentStrategies = deserializeAws_restJson1ApplicationComponentStrategies(data.applicationComponentStrategies, context);
|
|
589
589
|
}
|
|
@@ -615,7 +615,7 @@ const deserializeAws_restJson1GetApplicationComponentStrategiesCommandError = as
|
|
|
615
615
|
$fault: "client",
|
|
616
616
|
$metadata: deserializeMetadata(output),
|
|
617
617
|
});
|
|
618
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
618
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
619
619
|
}
|
|
620
620
|
};
|
|
621
621
|
const deserializeAws_restJson1GetAssessmentCommand = async (output, context) => {
|
|
@@ -627,12 +627,12 @@ const deserializeAws_restJson1GetAssessmentCommand = async (output, context) =>
|
|
|
627
627
|
dataCollectionDetails: undefined,
|
|
628
628
|
id: undefined,
|
|
629
629
|
};
|
|
630
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
630
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
631
631
|
if (data.dataCollectionDetails !== undefined && data.dataCollectionDetails !== null) {
|
|
632
632
|
contents.dataCollectionDetails = deserializeAws_restJson1DataCollectionDetails(data.dataCollectionDetails, context);
|
|
633
633
|
}
|
|
634
634
|
if (data.id !== undefined && data.id !== null) {
|
|
635
|
-
contents.id = smithy_client_1.expectString(data.id);
|
|
635
|
+
contents.id = (0, smithy_client_1.expectString)(data.id);
|
|
636
636
|
}
|
|
637
637
|
return Promise.resolve(contents);
|
|
638
638
|
};
|
|
@@ -665,7 +665,7 @@ const deserializeAws_restJson1GetAssessmentCommandError = async (output, context
|
|
|
665
665
|
$fault: "client",
|
|
666
666
|
$metadata: deserializeMetadata(output),
|
|
667
667
|
});
|
|
668
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
668
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
669
669
|
}
|
|
670
670
|
};
|
|
671
671
|
const deserializeAws_restJson1GetImportFileTaskCommand = async (output, context) => {
|
|
@@ -686,39 +686,39 @@ const deserializeAws_restJson1GetImportFileTaskCommand = async (output, context)
|
|
|
686
686
|
statusReportS3Bucket: undefined,
|
|
687
687
|
statusReportS3Key: undefined,
|
|
688
688
|
};
|
|
689
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
689
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
690
690
|
if (data.completionTime !== undefined && data.completionTime !== null) {
|
|
691
|
-
contents.completionTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.completionTime)));
|
|
691
|
+
contents.completionTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.completionTime)));
|
|
692
692
|
}
|
|
693
693
|
if (data.id !== undefined && data.id !== null) {
|
|
694
|
-
contents.id = smithy_client_1.expectString(data.id);
|
|
694
|
+
contents.id = (0, smithy_client_1.expectString)(data.id);
|
|
695
695
|
}
|
|
696
696
|
if (data.importName !== undefined && data.importName !== null) {
|
|
697
|
-
contents.importName = smithy_client_1.expectString(data.importName);
|
|
697
|
+
contents.importName = (0, smithy_client_1.expectString)(data.importName);
|
|
698
698
|
}
|
|
699
699
|
if (data.inputS3Bucket !== undefined && data.inputS3Bucket !== null) {
|
|
700
|
-
contents.inputS3Bucket = smithy_client_1.expectString(data.inputS3Bucket);
|
|
700
|
+
contents.inputS3Bucket = (0, smithy_client_1.expectString)(data.inputS3Bucket);
|
|
701
701
|
}
|
|
702
702
|
if (data.inputS3Key !== undefined && data.inputS3Key !== null) {
|
|
703
|
-
contents.inputS3Key = smithy_client_1.expectString(data.inputS3Key);
|
|
703
|
+
contents.inputS3Key = (0, smithy_client_1.expectString)(data.inputS3Key);
|
|
704
704
|
}
|
|
705
705
|
if (data.numberOfRecordsFailed !== undefined && data.numberOfRecordsFailed !== null) {
|
|
706
|
-
contents.numberOfRecordsFailed = smithy_client_1.expectInt32(data.numberOfRecordsFailed);
|
|
706
|
+
contents.numberOfRecordsFailed = (0, smithy_client_1.expectInt32)(data.numberOfRecordsFailed);
|
|
707
707
|
}
|
|
708
708
|
if (data.numberOfRecordsSuccess !== undefined && data.numberOfRecordsSuccess !== null) {
|
|
709
|
-
contents.numberOfRecordsSuccess = smithy_client_1.expectInt32(data.numberOfRecordsSuccess);
|
|
709
|
+
contents.numberOfRecordsSuccess = (0, smithy_client_1.expectInt32)(data.numberOfRecordsSuccess);
|
|
710
710
|
}
|
|
711
711
|
if (data.startTime !== undefined && data.startTime !== null) {
|
|
712
|
-
contents.startTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.startTime)));
|
|
712
|
+
contents.startTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.startTime)));
|
|
713
713
|
}
|
|
714
714
|
if (data.status !== undefined && data.status !== null) {
|
|
715
|
-
contents.status = smithy_client_1.expectString(data.status);
|
|
715
|
+
contents.status = (0, smithy_client_1.expectString)(data.status);
|
|
716
716
|
}
|
|
717
717
|
if (data.statusReportS3Bucket !== undefined && data.statusReportS3Bucket !== null) {
|
|
718
|
-
contents.statusReportS3Bucket = smithy_client_1.expectString(data.statusReportS3Bucket);
|
|
718
|
+
contents.statusReportS3Bucket = (0, smithy_client_1.expectString)(data.statusReportS3Bucket);
|
|
719
719
|
}
|
|
720
720
|
if (data.statusReportS3Key !== undefined && data.statusReportS3Key !== null) {
|
|
721
|
-
contents.statusReportS3Key = smithy_client_1.expectString(data.statusReportS3Key);
|
|
721
|
+
contents.statusReportS3Key = (0, smithy_client_1.expectString)(data.statusReportS3Key);
|
|
722
722
|
}
|
|
723
723
|
return Promise.resolve(contents);
|
|
724
724
|
};
|
|
@@ -754,7 +754,7 @@ const deserializeAws_restJson1GetImportFileTaskCommandError = async (output, con
|
|
|
754
754
|
$fault: "client",
|
|
755
755
|
$metadata: deserializeMetadata(output),
|
|
756
756
|
});
|
|
757
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
757
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
758
758
|
}
|
|
759
759
|
};
|
|
760
760
|
const deserializeAws_restJson1GetPortfolioPreferencesCommand = async (output, context) => {
|
|
@@ -767,7 +767,7 @@ const deserializeAws_restJson1GetPortfolioPreferencesCommand = async (output, co
|
|
|
767
767
|
databasePreferences: undefined,
|
|
768
768
|
prioritizeBusinessGoals: undefined,
|
|
769
769
|
};
|
|
770
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
770
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
771
771
|
if (data.applicationPreferences !== undefined && data.applicationPreferences !== null) {
|
|
772
772
|
contents.applicationPreferences = deserializeAws_restJson1ApplicationPreferences(data.applicationPreferences, context);
|
|
773
773
|
}
|
|
@@ -808,7 +808,7 @@ const deserializeAws_restJson1GetPortfolioPreferencesCommandError = async (outpu
|
|
|
808
808
|
$fault: "client",
|
|
809
809
|
$metadata: deserializeMetadata(output),
|
|
810
810
|
});
|
|
811
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
811
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
812
812
|
}
|
|
813
813
|
};
|
|
814
814
|
const deserializeAws_restJson1GetPortfolioSummaryCommand = async (output, context) => {
|
|
@@ -819,7 +819,7 @@ const deserializeAws_restJson1GetPortfolioSummaryCommand = async (output, contex
|
|
|
819
819
|
$metadata: deserializeMetadata(output),
|
|
820
820
|
assessmentSummary: undefined,
|
|
821
821
|
};
|
|
822
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
822
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
823
823
|
if (data.assessmentSummary !== undefined && data.assessmentSummary !== null) {
|
|
824
824
|
contents.assessmentSummary = deserializeAws_restJson1AssessmentSummary(data.assessmentSummary, context);
|
|
825
825
|
}
|
|
@@ -851,7 +851,7 @@ const deserializeAws_restJson1GetPortfolioSummaryCommandError = async (output, c
|
|
|
851
851
|
$fault: "client",
|
|
852
852
|
$metadata: deserializeMetadata(output),
|
|
853
853
|
});
|
|
854
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
854
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
855
855
|
}
|
|
856
856
|
};
|
|
857
857
|
const deserializeAws_restJson1GetRecommendationReportDetailsCommand = async (output, context) => {
|
|
@@ -863,9 +863,9 @@ const deserializeAws_restJson1GetRecommendationReportDetailsCommand = async (out
|
|
|
863
863
|
id: undefined,
|
|
864
864
|
recommendationReportDetails: undefined,
|
|
865
865
|
};
|
|
866
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
866
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
867
867
|
if (data.id !== undefined && data.id !== null) {
|
|
868
|
-
contents.id = smithy_client_1.expectString(data.id);
|
|
868
|
+
contents.id = (0, smithy_client_1.expectString)(data.id);
|
|
869
869
|
}
|
|
870
870
|
if (data.recommendationReportDetails !== undefined && data.recommendationReportDetails !== null) {
|
|
871
871
|
contents.recommendationReportDetails = deserializeAws_restJson1RecommendationReportDetails(data.recommendationReportDetails, context);
|
|
@@ -904,7 +904,7 @@ const deserializeAws_restJson1GetRecommendationReportDetailsCommandError = async
|
|
|
904
904
|
$fault: "client",
|
|
905
905
|
$metadata: deserializeMetadata(output),
|
|
906
906
|
});
|
|
907
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
907
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
908
908
|
}
|
|
909
909
|
};
|
|
910
910
|
const deserializeAws_restJson1GetServerDetailsCommand = async (output, context) => {
|
|
@@ -917,12 +917,12 @@ const deserializeAws_restJson1GetServerDetailsCommand = async (output, context)
|
|
|
917
917
|
nextToken: undefined,
|
|
918
918
|
serverDetail: undefined,
|
|
919
919
|
};
|
|
920
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
920
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
921
921
|
if (data.associatedApplications !== undefined && data.associatedApplications !== null) {
|
|
922
922
|
contents.associatedApplications = deserializeAws_restJson1AssociatedApplications(data.associatedApplications, context);
|
|
923
923
|
}
|
|
924
924
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
925
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
925
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
926
926
|
}
|
|
927
927
|
if (data.serverDetail !== undefined && data.serverDetail !== null) {
|
|
928
928
|
contents.serverDetail = deserializeAws_restJson1ServerDetail(data.serverDetail, context);
|
|
@@ -961,7 +961,7 @@ const deserializeAws_restJson1GetServerDetailsCommandError = async (output, cont
|
|
|
961
961
|
$fault: "client",
|
|
962
962
|
$metadata: deserializeMetadata(output),
|
|
963
963
|
});
|
|
964
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
964
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
965
965
|
}
|
|
966
966
|
};
|
|
967
967
|
const deserializeAws_restJson1GetServerStrategiesCommand = async (output, context) => {
|
|
@@ -972,7 +972,7 @@ const deserializeAws_restJson1GetServerStrategiesCommand = async (output, contex
|
|
|
972
972
|
$metadata: deserializeMetadata(output),
|
|
973
973
|
serverStrategies: undefined,
|
|
974
974
|
};
|
|
975
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
975
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
976
976
|
if (data.serverStrategies !== undefined && data.serverStrategies !== null) {
|
|
977
977
|
contents.serverStrategies = deserializeAws_restJson1ServerStrategies(data.serverStrategies, context);
|
|
978
978
|
}
|
|
@@ -1010,7 +1010,7 @@ const deserializeAws_restJson1GetServerStrategiesCommandError = async (output, c
|
|
|
1010
1010
|
$fault: "client",
|
|
1011
1011
|
$metadata: deserializeMetadata(output),
|
|
1012
1012
|
});
|
|
1013
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1013
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1014
1014
|
}
|
|
1015
1015
|
};
|
|
1016
1016
|
const deserializeAws_restJson1ListApplicationComponentsCommand = async (output, context) => {
|
|
@@ -1022,12 +1022,12 @@ const deserializeAws_restJson1ListApplicationComponentsCommand = async (output,
|
|
|
1022
1022
|
applicationComponentInfos: undefined,
|
|
1023
1023
|
nextToken: undefined,
|
|
1024
1024
|
};
|
|
1025
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1025
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1026
1026
|
if (data.applicationComponentInfos !== undefined && data.applicationComponentInfos !== null) {
|
|
1027
1027
|
contents.applicationComponentInfos = deserializeAws_restJson1ApplicationComponentDetails(data.applicationComponentInfos, context);
|
|
1028
1028
|
}
|
|
1029
1029
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1030
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1030
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1031
1031
|
}
|
|
1032
1032
|
return Promise.resolve(contents);
|
|
1033
1033
|
};
|
|
@@ -1060,7 +1060,7 @@ const deserializeAws_restJson1ListApplicationComponentsCommandError = async (out
|
|
|
1060
1060
|
$fault: "client",
|
|
1061
1061
|
$metadata: deserializeMetadata(output),
|
|
1062
1062
|
});
|
|
1063
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1063
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1064
1064
|
}
|
|
1065
1065
|
};
|
|
1066
1066
|
const deserializeAws_restJson1ListCollectorsCommand = async (output, context) => {
|
|
@@ -1072,12 +1072,12 @@ const deserializeAws_restJson1ListCollectorsCommand = async (output, context) =>
|
|
|
1072
1072
|
Collectors: undefined,
|
|
1073
1073
|
nextToken: undefined,
|
|
1074
1074
|
};
|
|
1075
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1075
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1076
1076
|
if (data.Collectors !== undefined && data.Collectors !== null) {
|
|
1077
1077
|
contents.Collectors = deserializeAws_restJson1Collectors(data.Collectors, context);
|
|
1078
1078
|
}
|
|
1079
1079
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1080
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1080
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1081
1081
|
}
|
|
1082
1082
|
return Promise.resolve(contents);
|
|
1083
1083
|
};
|
|
@@ -1110,7 +1110,7 @@ const deserializeAws_restJson1ListCollectorsCommandError = async (output, contex
|
|
|
1110
1110
|
$fault: "client",
|
|
1111
1111
|
$metadata: deserializeMetadata(output),
|
|
1112
1112
|
});
|
|
1113
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1113
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1114
1114
|
}
|
|
1115
1115
|
};
|
|
1116
1116
|
const deserializeAws_restJson1ListImportFileTaskCommand = async (output, context) => {
|
|
@@ -1122,9 +1122,9 @@ const deserializeAws_restJson1ListImportFileTaskCommand = async (output, context
|
|
|
1122
1122
|
nextToken: undefined,
|
|
1123
1123
|
taskInfos: undefined,
|
|
1124
1124
|
};
|
|
1125
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1125
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1126
1126
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1127
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1127
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1128
1128
|
}
|
|
1129
1129
|
if (data.taskInfos !== undefined && data.taskInfos !== null) {
|
|
1130
1130
|
contents.taskInfos = deserializeAws_restJson1ListImportFileTaskInformation(data.taskInfos, context);
|
|
@@ -1160,7 +1160,7 @@ const deserializeAws_restJson1ListImportFileTaskCommandError = async (output, co
|
|
|
1160
1160
|
$fault: "client",
|
|
1161
1161
|
$metadata: deserializeMetadata(output),
|
|
1162
1162
|
});
|
|
1163
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1163
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1164
1164
|
}
|
|
1165
1165
|
};
|
|
1166
1166
|
const deserializeAws_restJson1ListServersCommand = async (output, context) => {
|
|
@@ -1172,9 +1172,9 @@ const deserializeAws_restJson1ListServersCommand = async (output, context) => {
|
|
|
1172
1172
|
nextToken: undefined,
|
|
1173
1173
|
serverInfos: undefined,
|
|
1174
1174
|
};
|
|
1175
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1175
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1176
1176
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1177
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1177
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1178
1178
|
}
|
|
1179
1179
|
if (data.serverInfos !== undefined && data.serverInfos !== null) {
|
|
1180
1180
|
contents.serverInfos = deserializeAws_restJson1ServerDetails(data.serverInfos, context);
|
|
@@ -1210,7 +1210,7 @@ const deserializeAws_restJson1ListServersCommandError = async (output, context)
|
|
|
1210
1210
|
$fault: "client",
|
|
1211
1211
|
$metadata: deserializeMetadata(output),
|
|
1212
1212
|
});
|
|
1213
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1213
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1214
1214
|
}
|
|
1215
1215
|
};
|
|
1216
1216
|
const deserializeAws_restJson1PutPortfolioPreferencesCommand = async (output, context) => {
|
|
@@ -1255,7 +1255,7 @@ const deserializeAws_restJson1PutPortfolioPreferencesCommandError = async (outpu
|
|
|
1255
1255
|
$fault: "client",
|
|
1256
1256
|
$metadata: deserializeMetadata(output),
|
|
1257
1257
|
});
|
|
1258
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1258
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1259
1259
|
}
|
|
1260
1260
|
};
|
|
1261
1261
|
const deserializeAws_restJson1StartAssessmentCommand = async (output, context) => {
|
|
@@ -1266,9 +1266,9 @@ const deserializeAws_restJson1StartAssessmentCommand = async (output, context) =
|
|
|
1266
1266
|
$metadata: deserializeMetadata(output),
|
|
1267
1267
|
assessmentId: undefined,
|
|
1268
1268
|
};
|
|
1269
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1269
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1270
1270
|
if (data.assessmentId !== undefined && data.assessmentId !== null) {
|
|
1271
|
-
contents.assessmentId = smithy_client_1.expectString(data.assessmentId);
|
|
1271
|
+
contents.assessmentId = (0, smithy_client_1.expectString)(data.assessmentId);
|
|
1272
1272
|
}
|
|
1273
1273
|
return Promise.resolve(contents);
|
|
1274
1274
|
};
|
|
@@ -1301,7 +1301,7 @@ const deserializeAws_restJson1StartAssessmentCommandError = async (output, conte
|
|
|
1301
1301
|
$fault: "client",
|
|
1302
1302
|
$metadata: deserializeMetadata(output),
|
|
1303
1303
|
});
|
|
1304
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1304
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1305
1305
|
}
|
|
1306
1306
|
};
|
|
1307
1307
|
const deserializeAws_restJson1StartImportFileTaskCommand = async (output, context) => {
|
|
@@ -1312,9 +1312,9 @@ const deserializeAws_restJson1StartImportFileTaskCommand = async (output, contex
|
|
|
1312
1312
|
$metadata: deserializeMetadata(output),
|
|
1313
1313
|
id: undefined,
|
|
1314
1314
|
};
|
|
1315
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1315
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1316
1316
|
if (data.id !== undefined && data.id !== null) {
|
|
1317
|
-
contents.id = smithy_client_1.expectString(data.id);
|
|
1317
|
+
contents.id = (0, smithy_client_1.expectString)(data.id);
|
|
1318
1318
|
}
|
|
1319
1319
|
return Promise.resolve(contents);
|
|
1320
1320
|
};
|
|
@@ -1350,7 +1350,7 @@ const deserializeAws_restJson1StartImportFileTaskCommandError = async (output, c
|
|
|
1350
1350
|
$fault: "client",
|
|
1351
1351
|
$metadata: deserializeMetadata(output),
|
|
1352
1352
|
});
|
|
1353
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1353
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1354
1354
|
}
|
|
1355
1355
|
};
|
|
1356
1356
|
const deserializeAws_restJson1StartRecommendationReportGenerationCommand = async (output, context) => {
|
|
@@ -1361,9 +1361,9 @@ const deserializeAws_restJson1StartRecommendationReportGenerationCommand = async
|
|
|
1361
1361
|
$metadata: deserializeMetadata(output),
|
|
1362
1362
|
id: undefined,
|
|
1363
1363
|
};
|
|
1364
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1364
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1365
1365
|
if (data.id !== undefined && data.id !== null) {
|
|
1366
|
-
contents.id = smithy_client_1.expectString(data.id);
|
|
1366
|
+
contents.id = (0, smithy_client_1.expectString)(data.id);
|
|
1367
1367
|
}
|
|
1368
1368
|
return Promise.resolve(contents);
|
|
1369
1369
|
};
|
|
@@ -1399,7 +1399,7 @@ const deserializeAws_restJson1StartRecommendationReportGenerationCommandError =
|
|
|
1399
1399
|
$fault: "client",
|
|
1400
1400
|
$metadata: deserializeMetadata(output),
|
|
1401
1401
|
});
|
|
1402
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1402
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1403
1403
|
}
|
|
1404
1404
|
};
|
|
1405
1405
|
const deserializeAws_restJson1StopAssessmentCommand = async (output, context) => {
|
|
@@ -1441,7 +1441,7 @@ const deserializeAws_restJson1StopAssessmentCommandError = async (output, contex
|
|
|
1441
1441
|
$fault: "client",
|
|
1442
1442
|
$metadata: deserializeMetadata(output),
|
|
1443
1443
|
});
|
|
1444
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1444
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1445
1445
|
}
|
|
1446
1446
|
};
|
|
1447
1447
|
const deserializeAws_restJson1UpdateApplicationComponentConfigCommand = async (output, context) => {
|
|
@@ -1483,7 +1483,7 @@ const deserializeAws_restJson1UpdateApplicationComponentConfigCommandError = asy
|
|
|
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_restJson1UpdateServerConfigCommand = async (output, context) => {
|
|
@@ -1525,104 +1525,104 @@ const deserializeAws_restJson1UpdateServerConfigCommandError = async (output, co
|
|
|
1525
1525
|
$fault: "client",
|
|
1526
1526
|
$metadata: deserializeMetadata(output),
|
|
1527
1527
|
});
|
|
1528
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1528
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1529
1529
|
}
|
|
1530
1530
|
};
|
|
1531
1531
|
const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
1532
1532
|
const contents = {};
|
|
1533
1533
|
const data = parsedOutput.body;
|
|
1534
1534
|
if (data.message !== undefined && data.message !== null) {
|
|
1535
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1535
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1536
1536
|
}
|
|
1537
1537
|
const exception = new models_0_1.AccessDeniedException({
|
|
1538
1538
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1539
1539
|
...contents,
|
|
1540
1540
|
});
|
|
1541
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1541
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1542
1542
|
};
|
|
1543
1543
|
const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
1544
1544
|
const contents = {};
|
|
1545
1545
|
const data = parsedOutput.body;
|
|
1546
1546
|
if (data.message !== undefined && data.message !== null) {
|
|
1547
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1547
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1548
1548
|
}
|
|
1549
1549
|
const exception = new models_0_1.ConflictException({
|
|
1550
1550
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1551
1551
|
...contents,
|
|
1552
1552
|
});
|
|
1553
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1553
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1554
1554
|
};
|
|
1555
1555
|
const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
1556
1556
|
const contents = {};
|
|
1557
1557
|
const data = parsedOutput.body;
|
|
1558
1558
|
if (data.message !== undefined && data.message !== null) {
|
|
1559
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1559
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1560
1560
|
}
|
|
1561
1561
|
const exception = new models_0_1.InternalServerException({
|
|
1562
1562
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1563
1563
|
...contents,
|
|
1564
1564
|
});
|
|
1565
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1565
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1566
1566
|
};
|
|
1567
1567
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1568
1568
|
const contents = {};
|
|
1569
1569
|
const data = parsedOutput.body;
|
|
1570
1570
|
if (data.message !== undefined && data.message !== null) {
|
|
1571
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1571
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1572
1572
|
}
|
|
1573
1573
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1574
1574
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1575
1575
|
...contents,
|
|
1576
1576
|
});
|
|
1577
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1577
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1578
1578
|
};
|
|
1579
1579
|
const deserializeAws_restJson1ServiceLinkedRoleLockClientExceptionResponse = async (parsedOutput, context) => {
|
|
1580
1580
|
const contents = {};
|
|
1581
1581
|
const data = parsedOutput.body;
|
|
1582
1582
|
if (data.message !== undefined && data.message !== null) {
|
|
1583
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1583
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1584
1584
|
}
|
|
1585
1585
|
const exception = new models_0_1.ServiceLinkedRoleLockClientException({
|
|
1586
1586
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1587
1587
|
...contents,
|
|
1588
1588
|
});
|
|
1589
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1589
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1590
1590
|
};
|
|
1591
1591
|
const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
1592
1592
|
const contents = {};
|
|
1593
1593
|
const data = parsedOutput.body;
|
|
1594
1594
|
if (data.message !== undefined && data.message !== null) {
|
|
1595
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1595
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1596
1596
|
}
|
|
1597
1597
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
1598
1598
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1599
1599
|
...contents,
|
|
1600
1600
|
});
|
|
1601
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1601
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1602
1602
|
};
|
|
1603
1603
|
const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
1604
1604
|
const contents = {};
|
|
1605
1605
|
const data = parsedOutput.body;
|
|
1606
1606
|
if (data.message !== undefined && data.message !== null) {
|
|
1607
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1607
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1608
1608
|
}
|
|
1609
1609
|
const exception = new models_0_1.ThrottlingException({
|
|
1610
1610
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1611
1611
|
...contents,
|
|
1612
1612
|
});
|
|
1613
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1613
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1614
1614
|
};
|
|
1615
1615
|
const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
1616
1616
|
const contents = {};
|
|
1617
1617
|
const data = parsedOutput.body;
|
|
1618
1618
|
if (data.message !== undefined && data.message !== null) {
|
|
1619
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1619
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1620
1620
|
}
|
|
1621
1621
|
const exception = new models_0_1.ValidationException({
|
|
1622
1622
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1623
1623
|
...contents,
|
|
1624
1624
|
});
|
|
1625
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1625
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1626
1626
|
};
|
|
1627
1627
|
const serializeAws_restJson1ApplicationPreferences = (input, context) => {
|
|
1628
1628
|
return {
|
|
@@ -1841,43 +1841,43 @@ const serializeAws_restJson1TargetDatabaseEngines = (input, context) => {
|
|
|
1841
1841
|
};
|
|
1842
1842
|
const deserializeAws_restJson1AntipatternSeveritySummary = (output, context) => {
|
|
1843
1843
|
return {
|
|
1844
|
-
count: smithy_client_1.expectInt32(output.count),
|
|
1845
|
-
severity: smithy_client_1.expectString(output.severity),
|
|
1844
|
+
count: (0, smithy_client_1.expectInt32)(output.count),
|
|
1845
|
+
severity: (0, smithy_client_1.expectString)(output.severity),
|
|
1846
1846
|
};
|
|
1847
1847
|
};
|
|
1848
1848
|
const deserializeAws_restJson1ApplicationComponentDetail = (output, context) => {
|
|
1849
1849
|
return {
|
|
1850
|
-
analysisStatus: smithy_client_1.expectString(output.analysisStatus),
|
|
1850
|
+
analysisStatus: (0, smithy_client_1.expectString)(output.analysisStatus),
|
|
1851
1851
|
antipatternReportS3Object: output.antipatternReportS3Object !== undefined && output.antipatternReportS3Object !== null
|
|
1852
1852
|
? deserializeAws_restJson1S3Object(output.antipatternReportS3Object, context)
|
|
1853
1853
|
: undefined,
|
|
1854
|
-
antipatternReportStatus: smithy_client_1.expectString(output.antipatternReportStatus),
|
|
1855
|
-
antipatternReportStatusMessage: smithy_client_1.expectString(output.antipatternReportStatusMessage),
|
|
1856
|
-
appType: smithy_client_1.expectString(output.appType),
|
|
1857
|
-
associatedServerId: smithy_client_1.expectString(output.associatedServerId),
|
|
1854
|
+
antipatternReportStatus: (0, smithy_client_1.expectString)(output.antipatternReportStatus),
|
|
1855
|
+
antipatternReportStatusMessage: (0, smithy_client_1.expectString)(output.antipatternReportStatusMessage),
|
|
1856
|
+
appType: (0, smithy_client_1.expectString)(output.appType),
|
|
1857
|
+
associatedServerId: (0, smithy_client_1.expectString)(output.associatedServerId),
|
|
1858
1858
|
databaseConfigDetail: output.databaseConfigDetail !== undefined && output.databaseConfigDetail !== null
|
|
1859
1859
|
? deserializeAws_restJson1DatabaseConfigDetail(output.databaseConfigDetail, context)
|
|
1860
1860
|
: undefined,
|
|
1861
|
-
id: smithy_client_1.expectString(output.id),
|
|
1862
|
-
inclusionStatus: smithy_client_1.expectString(output.inclusionStatus),
|
|
1861
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
1862
|
+
inclusionStatus: (0, smithy_client_1.expectString)(output.inclusionStatus),
|
|
1863
1863
|
lastAnalyzedTimestamp: output.lastAnalyzedTimestamp !== undefined && output.lastAnalyzedTimestamp !== null
|
|
1864
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastAnalyzedTimestamp)))
|
|
1864
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastAnalyzedTimestamp)))
|
|
1865
1865
|
: undefined,
|
|
1866
1866
|
listAntipatternSeveritySummary: output.listAntipatternSeveritySummary !== undefined && output.listAntipatternSeveritySummary !== null
|
|
1867
1867
|
? deserializeAws_restJson1ListAntipatternSeveritySummary(output.listAntipatternSeveritySummary, context)
|
|
1868
1868
|
: undefined,
|
|
1869
|
-
moreServerAssociationExists: smithy_client_1.expectBoolean(output.moreServerAssociationExists),
|
|
1870
|
-
name: smithy_client_1.expectString(output.name),
|
|
1871
|
-
osDriver: smithy_client_1.expectString(output.osDriver),
|
|
1872
|
-
osVersion: smithy_client_1.expectString(output.osVersion),
|
|
1869
|
+
moreServerAssociationExists: (0, smithy_client_1.expectBoolean)(output.moreServerAssociationExists),
|
|
1870
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1871
|
+
osDriver: (0, smithy_client_1.expectString)(output.osDriver),
|
|
1872
|
+
osVersion: (0, smithy_client_1.expectString)(output.osVersion),
|
|
1873
1873
|
recommendationSet: output.recommendationSet !== undefined && output.recommendationSet !== null
|
|
1874
1874
|
? deserializeAws_restJson1RecommendationSet(output.recommendationSet, context)
|
|
1875
1875
|
: undefined,
|
|
1876
|
-
resourceSubType: smithy_client_1.expectString(output.resourceSubType),
|
|
1876
|
+
resourceSubType: (0, smithy_client_1.expectString)(output.resourceSubType),
|
|
1877
1877
|
sourceCodeRepositories: output.sourceCodeRepositories !== undefined && output.sourceCodeRepositories !== null
|
|
1878
1878
|
? deserializeAws_restJson1SourceCodeRepositories(output.sourceCodeRepositories, context)
|
|
1879
1879
|
: undefined,
|
|
1880
|
-
statusMessage: smithy_client_1.expectString(output.statusMessage),
|
|
1880
|
+
statusMessage: (0, smithy_client_1.expectString)(output.statusMessage),
|
|
1881
1881
|
};
|
|
1882
1882
|
};
|
|
1883
1883
|
const deserializeAws_restJson1ApplicationComponentDetails = (output, context) => {
|
|
@@ -1904,23 +1904,23 @@ const deserializeAws_restJson1ApplicationComponentStrategies = (output, context)
|
|
|
1904
1904
|
};
|
|
1905
1905
|
const deserializeAws_restJson1ApplicationComponentStrategy = (output, context) => {
|
|
1906
1906
|
return {
|
|
1907
|
-
isPreferred: smithy_client_1.expectBoolean(output.isPreferred),
|
|
1907
|
+
isPreferred: (0, smithy_client_1.expectBoolean)(output.isPreferred),
|
|
1908
1908
|
recommendation: output.recommendation !== undefined && output.recommendation !== null
|
|
1909
1909
|
? deserializeAws_restJson1RecommendationSet(output.recommendation, context)
|
|
1910
1910
|
: undefined,
|
|
1911
|
-
status: smithy_client_1.expectString(output.status),
|
|
1911
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
1912
1912
|
};
|
|
1913
1913
|
};
|
|
1914
1914
|
const deserializeAws_restJson1ApplicationComponentSummary = (output, context) => {
|
|
1915
1915
|
return {
|
|
1916
|
-
appType: smithy_client_1.expectString(output.appType),
|
|
1917
|
-
count: smithy_client_1.expectInt32(output.count),
|
|
1916
|
+
appType: (0, smithy_client_1.expectString)(output.appType),
|
|
1917
|
+
count: (0, smithy_client_1.expectInt32)(output.count),
|
|
1918
1918
|
};
|
|
1919
1919
|
};
|
|
1920
1920
|
const deserializeAws_restJson1ApplicationPreferences = (output, context) => {
|
|
1921
1921
|
return {
|
|
1922
1922
|
managementPreference: output.managementPreference !== undefined && output.managementPreference !== null
|
|
1923
|
-
? deserializeAws_restJson1ManagementPreference(smithy_client_1.expectUnion(output.managementPreference), context)
|
|
1923
|
+
? deserializeAws_restJson1ManagementPreference((0, smithy_client_1.expectUnion)(output.managementPreference), context)
|
|
1924
1924
|
: undefined,
|
|
1925
1925
|
};
|
|
1926
1926
|
};
|
|
@@ -1929,10 +1929,10 @@ const deserializeAws_restJson1AssessmentSummary = (output, context) => {
|
|
|
1929
1929
|
antipatternReportS3Object: output.antipatternReportS3Object !== undefined && output.antipatternReportS3Object !== null
|
|
1930
1930
|
? deserializeAws_restJson1S3Object(output.antipatternReportS3Object, context)
|
|
1931
1931
|
: undefined,
|
|
1932
|
-
antipatternReportStatus: smithy_client_1.expectString(output.antipatternReportStatus),
|
|
1933
|
-
antipatternReportStatusMessage: smithy_client_1.expectString(output.antipatternReportStatusMessage),
|
|
1932
|
+
antipatternReportStatus: (0, smithy_client_1.expectString)(output.antipatternReportStatus),
|
|
1933
|
+
antipatternReportStatusMessage: (0, smithy_client_1.expectString)(output.antipatternReportStatusMessage),
|
|
1934
1934
|
lastAnalyzedTimestamp: output.lastAnalyzedTimestamp !== undefined && output.lastAnalyzedTimestamp !== null
|
|
1935
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastAnalyzedTimestamp)))
|
|
1935
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastAnalyzedTimestamp)))
|
|
1936
1936
|
: undefined,
|
|
1937
1937
|
listAntipatternSeveritySummary: output.listAntipatternSeveritySummary !== undefined && output.listAntipatternSeveritySummary !== null
|
|
1938
1938
|
? deserializeAws_restJson1ListAntipatternSeveritySummary(output.listAntipatternSeveritySummary, context)
|
|
@@ -1954,8 +1954,8 @@ const deserializeAws_restJson1AssessmentSummary = (output, context) => {
|
|
|
1954
1954
|
};
|
|
1955
1955
|
const deserializeAws_restJson1AssociatedApplication = (output, context) => {
|
|
1956
1956
|
return {
|
|
1957
|
-
id: smithy_client_1.expectString(output.id),
|
|
1958
|
-
name: smithy_client_1.expectString(output.name),
|
|
1957
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
1958
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1959
1959
|
};
|
|
1960
1960
|
};
|
|
1961
1961
|
const deserializeAws_restJson1AssociatedApplications = (output, context) => {
|
|
@@ -1976,7 +1976,7 @@ const deserializeAws_restJson1AssociatedServerIDs = (output, context) => {
|
|
|
1976
1976
|
if (entry === null) {
|
|
1977
1977
|
return null;
|
|
1978
1978
|
}
|
|
1979
|
-
return smithy_client_1.expectString(entry);
|
|
1979
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
1980
1980
|
});
|
|
1981
1981
|
return retVal;
|
|
1982
1982
|
};
|
|
@@ -1994,27 +1994,27 @@ const deserializeAws_restJson1AwsManagedTargetDestinations = (output, context) =
|
|
|
1994
1994
|
if (entry === null) {
|
|
1995
1995
|
return null;
|
|
1996
1996
|
}
|
|
1997
|
-
return smithy_client_1.expectString(entry);
|
|
1997
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
1998
1998
|
});
|
|
1999
1999
|
return retVal;
|
|
2000
2000
|
};
|
|
2001
2001
|
const deserializeAws_restJson1BusinessGoals = (output, context) => {
|
|
2002
2002
|
return {
|
|
2003
|
-
licenseCostReduction: smithy_client_1.expectInt32(output.licenseCostReduction),
|
|
2004
|
-
modernizeInfrastructureWithCloudNativeTechnologies: smithy_client_1.expectInt32(output.modernizeInfrastructureWithCloudNativeTechnologies),
|
|
2005
|
-
reduceOperationalOverheadWithManagedServices: smithy_client_1.expectInt32(output.reduceOperationalOverheadWithManagedServices),
|
|
2006
|
-
speedOfMigration: smithy_client_1.expectInt32(output.speedOfMigration),
|
|
2003
|
+
licenseCostReduction: (0, smithy_client_1.expectInt32)(output.licenseCostReduction),
|
|
2004
|
+
modernizeInfrastructureWithCloudNativeTechnologies: (0, smithy_client_1.expectInt32)(output.modernizeInfrastructureWithCloudNativeTechnologies),
|
|
2005
|
+
reduceOperationalOverheadWithManagedServices: (0, smithy_client_1.expectInt32)(output.reduceOperationalOverheadWithManagedServices),
|
|
2006
|
+
speedOfMigration: (0, smithy_client_1.expectInt32)(output.speedOfMigration),
|
|
2007
2007
|
};
|
|
2008
2008
|
};
|
|
2009
2009
|
const deserializeAws_restJson1Collector = (output, context) => {
|
|
2010
2010
|
return {
|
|
2011
|
-
collectorHealth: smithy_client_1.expectString(output.collectorHealth),
|
|
2012
|
-
collectorId: smithy_client_1.expectString(output.collectorId),
|
|
2013
|
-
collectorVersion: smithy_client_1.expectString(output.collectorVersion),
|
|
2014
|
-
hostName: smithy_client_1.expectString(output.hostName),
|
|
2015
|
-
ipAddress: smithy_client_1.expectString(output.ipAddress),
|
|
2016
|
-
lastActivityTimeStamp: smithy_client_1.expectString(output.lastActivityTimeStamp),
|
|
2017
|
-
registeredTimeStamp: smithy_client_1.expectString(output.registeredTimeStamp),
|
|
2011
|
+
collectorHealth: (0, smithy_client_1.expectString)(output.collectorHealth),
|
|
2012
|
+
collectorId: (0, smithy_client_1.expectString)(output.collectorId),
|
|
2013
|
+
collectorVersion: (0, smithy_client_1.expectString)(output.collectorVersion),
|
|
2014
|
+
hostName: (0, smithy_client_1.expectString)(output.hostName),
|
|
2015
|
+
ipAddress: (0, smithy_client_1.expectString)(output.ipAddress),
|
|
2016
|
+
lastActivityTimeStamp: (0, smithy_client_1.expectString)(output.lastActivityTimeStamp),
|
|
2017
|
+
registeredTimeStamp: (0, smithy_client_1.expectString)(output.registeredTimeStamp),
|
|
2018
2018
|
};
|
|
2019
2019
|
};
|
|
2020
2020
|
const deserializeAws_restJson1Collectors = (output, context) => {
|
|
@@ -2030,7 +2030,7 @@ const deserializeAws_restJson1Collectors = (output, context) => {
|
|
|
2030
2030
|
};
|
|
2031
2031
|
const deserializeAws_restJson1DatabaseConfigDetail = (output, context) => {
|
|
2032
2032
|
return {
|
|
2033
|
-
secretName: smithy_client_1.expectString(output.secretName),
|
|
2033
|
+
secretName: (0, smithy_client_1.expectString)(output.secretName),
|
|
2034
2034
|
};
|
|
2035
2035
|
};
|
|
2036
2036
|
const deserializeAws_restJson1DatabaseMigrationPreference = (output, context) => {
|
|
@@ -2053,25 +2053,25 @@ const deserializeAws_restJson1DatabaseMigrationPreference = (output, context) =>
|
|
|
2053
2053
|
};
|
|
2054
2054
|
const deserializeAws_restJson1DatabasePreferences = (output, context) => {
|
|
2055
2055
|
return {
|
|
2056
|
-
databaseManagementPreference: smithy_client_1.expectString(output.databaseManagementPreference),
|
|
2056
|
+
databaseManagementPreference: (0, smithy_client_1.expectString)(output.databaseManagementPreference),
|
|
2057
2057
|
databaseMigrationPreference: output.databaseMigrationPreference !== undefined && output.databaseMigrationPreference !== null
|
|
2058
|
-
? deserializeAws_restJson1DatabaseMigrationPreference(smithy_client_1.expectUnion(output.databaseMigrationPreference), context)
|
|
2058
|
+
? deserializeAws_restJson1DatabaseMigrationPreference((0, smithy_client_1.expectUnion)(output.databaseMigrationPreference), context)
|
|
2059
2059
|
: undefined,
|
|
2060
2060
|
};
|
|
2061
2061
|
};
|
|
2062
2062
|
const deserializeAws_restJson1DataCollectionDetails = (output, context) => {
|
|
2063
2063
|
return {
|
|
2064
2064
|
completionTime: output.completionTime !== undefined && output.completionTime !== null
|
|
2065
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.completionTime)))
|
|
2065
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.completionTime)))
|
|
2066
2066
|
: undefined,
|
|
2067
|
-
failed: smithy_client_1.expectInt32(output.failed),
|
|
2068
|
-
inProgress: smithy_client_1.expectInt32(output.inProgress),
|
|
2069
|
-
servers: smithy_client_1.expectInt32(output.servers),
|
|
2067
|
+
failed: (0, smithy_client_1.expectInt32)(output.failed),
|
|
2068
|
+
inProgress: (0, smithy_client_1.expectInt32)(output.inProgress),
|
|
2069
|
+
servers: (0, smithy_client_1.expectInt32)(output.servers),
|
|
2070
2070
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
2071
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
|
|
2071
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
|
|
2072
2072
|
: undefined,
|
|
2073
|
-
status: smithy_client_1.expectString(output.status),
|
|
2074
|
-
success: smithy_client_1.expectInt32(output.success),
|
|
2073
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
2074
|
+
success: (0, smithy_client_1.expectInt32)(output.success),
|
|
2075
2075
|
};
|
|
2076
2076
|
};
|
|
2077
2077
|
const deserializeAws_restJson1Heterogeneous = (output, context) => {
|
|
@@ -2088,7 +2088,7 @@ const deserializeAws_restJson1HeterogeneousTargetDatabaseEngines = (output, cont
|
|
|
2088
2088
|
if (entry === null) {
|
|
2089
2089
|
return null;
|
|
2090
2090
|
}
|
|
2091
|
-
return smithy_client_1.expectString(entry);
|
|
2091
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2092
2092
|
});
|
|
2093
2093
|
return retVal;
|
|
2094
2094
|
};
|
|
@@ -2106,27 +2106,27 @@ const deserializeAws_restJson1HomogeneousTargetDatabaseEngines = (output, contex
|
|
|
2106
2106
|
if (entry === null) {
|
|
2107
2107
|
return null;
|
|
2108
2108
|
}
|
|
2109
|
-
return smithy_client_1.expectString(entry);
|
|
2109
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2110
2110
|
});
|
|
2111
2111
|
return retVal;
|
|
2112
2112
|
};
|
|
2113
2113
|
const deserializeAws_restJson1ImportFileTaskInformation = (output, context) => {
|
|
2114
2114
|
return {
|
|
2115
2115
|
completionTime: output.completionTime !== undefined && output.completionTime !== null
|
|
2116
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.completionTime)))
|
|
2116
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.completionTime)))
|
|
2117
2117
|
: undefined,
|
|
2118
|
-
id: smithy_client_1.expectString(output.id),
|
|
2119
|
-
importName: smithy_client_1.expectString(output.importName),
|
|
2120
|
-
inputS3Bucket: smithy_client_1.expectString(output.inputS3Bucket),
|
|
2121
|
-
inputS3Key: smithy_client_1.expectString(output.inputS3Key),
|
|
2122
|
-
numberOfRecordsFailed: smithy_client_1.expectInt32(output.numberOfRecordsFailed),
|
|
2123
|
-
numberOfRecordsSuccess: smithy_client_1.expectInt32(output.numberOfRecordsSuccess),
|
|
2118
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
2119
|
+
importName: (0, smithy_client_1.expectString)(output.importName),
|
|
2120
|
+
inputS3Bucket: (0, smithy_client_1.expectString)(output.inputS3Bucket),
|
|
2121
|
+
inputS3Key: (0, smithy_client_1.expectString)(output.inputS3Key),
|
|
2122
|
+
numberOfRecordsFailed: (0, smithy_client_1.expectInt32)(output.numberOfRecordsFailed),
|
|
2123
|
+
numberOfRecordsSuccess: (0, smithy_client_1.expectInt32)(output.numberOfRecordsSuccess),
|
|
2124
2124
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
2125
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
|
|
2125
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
|
|
2126
2126
|
: undefined,
|
|
2127
|
-
status: smithy_client_1.expectString(output.status),
|
|
2128
|
-
statusReportS3Bucket: smithy_client_1.expectString(output.statusReportS3Bucket),
|
|
2129
|
-
statusReportS3Key: smithy_client_1.expectString(output.statusReportS3Key),
|
|
2127
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
2128
|
+
statusReportS3Bucket: (0, smithy_client_1.expectString)(output.statusReportS3Bucket),
|
|
2129
|
+
statusReportS3Key: (0, smithy_client_1.expectString)(output.statusReportS3Key),
|
|
2130
2130
|
};
|
|
2131
2131
|
};
|
|
2132
2132
|
const deserializeAws_restJson1ListAntipatternSeveritySummary = (output, context) => {
|
|
@@ -2204,10 +2204,10 @@ const deserializeAws_restJson1ManagementPreference = (output, context) => {
|
|
|
2204
2204
|
};
|
|
2205
2205
|
const deserializeAws_restJson1NetworkInfo = (output, context) => {
|
|
2206
2206
|
return {
|
|
2207
|
-
interfaceName: smithy_client_1.expectString(output.interfaceName),
|
|
2208
|
-
ipAddress: smithy_client_1.expectString(output.ipAddress),
|
|
2209
|
-
macAddress: smithy_client_1.expectString(output.macAddress),
|
|
2210
|
-
netMask: smithy_client_1.expectString(output.netMask),
|
|
2207
|
+
interfaceName: (0, smithy_client_1.expectString)(output.interfaceName),
|
|
2208
|
+
ipAddress: (0, smithy_client_1.expectString)(output.ipAddress),
|
|
2209
|
+
macAddress: (0, smithy_client_1.expectString)(output.macAddress),
|
|
2210
|
+
netMask: (0, smithy_client_1.expectString)(output.netMask),
|
|
2211
2211
|
};
|
|
2212
2212
|
};
|
|
2213
2213
|
const deserializeAws_restJson1NetworkInfoList = (output, context) => {
|
|
@@ -2242,14 +2242,14 @@ const deserializeAws_restJson1NoPreferenceTargetDestinations = (output, context)
|
|
|
2242
2242
|
if (entry === null) {
|
|
2243
2243
|
return null;
|
|
2244
2244
|
}
|
|
2245
|
-
return smithy_client_1.expectString(entry);
|
|
2245
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2246
2246
|
});
|
|
2247
2247
|
return retVal;
|
|
2248
2248
|
};
|
|
2249
2249
|
const deserializeAws_restJson1OSInfo = (output, context) => {
|
|
2250
2250
|
return {
|
|
2251
|
-
type: smithy_client_1.expectString(output.type),
|
|
2252
|
-
version: smithy_client_1.expectString(output.version),
|
|
2251
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
2252
|
+
version: (0, smithy_client_1.expectString)(output.version),
|
|
2253
2253
|
};
|
|
2254
2254
|
};
|
|
2255
2255
|
const deserializeAws_restJson1PrioritizeBusinessGoals = (output, context) => {
|
|
@@ -2262,23 +2262,23 @@ const deserializeAws_restJson1PrioritizeBusinessGoals = (output, context) => {
|
|
|
2262
2262
|
const deserializeAws_restJson1RecommendationReportDetails = (output, context) => {
|
|
2263
2263
|
return {
|
|
2264
2264
|
completionTime: output.completionTime !== undefined && output.completionTime !== null
|
|
2265
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.completionTime)))
|
|
2265
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.completionTime)))
|
|
2266
2266
|
: undefined,
|
|
2267
|
-
s3Bucket: smithy_client_1.expectString(output.s3Bucket),
|
|
2267
|
+
s3Bucket: (0, smithy_client_1.expectString)(output.s3Bucket),
|
|
2268
2268
|
s3Keys: output.s3Keys !== undefined && output.s3Keys !== null
|
|
2269
2269
|
? deserializeAws_restJson1S3Keys(output.s3Keys, context)
|
|
2270
2270
|
: undefined,
|
|
2271
2271
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
2272
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
|
|
2272
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
|
|
2273
2273
|
: undefined,
|
|
2274
|
-
status: smithy_client_1.expectString(output.status),
|
|
2275
|
-
statusMessage: smithy_client_1.expectString(output.statusMessage),
|
|
2274
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
2275
|
+
statusMessage: (0, smithy_client_1.expectString)(output.statusMessage),
|
|
2276
2276
|
};
|
|
2277
2277
|
};
|
|
2278
2278
|
const deserializeAws_restJson1RecommendationSet = (output, context) => {
|
|
2279
2279
|
return {
|
|
2280
|
-
strategy: smithy_client_1.expectString(output.strategy),
|
|
2281
|
-
targetDestination: smithy_client_1.expectString(output.targetDestination),
|
|
2280
|
+
strategy: (0, smithy_client_1.expectString)(output.strategy),
|
|
2281
|
+
targetDestination: (0, smithy_client_1.expectString)(output.targetDestination),
|
|
2282
2282
|
transformationTool: output.transformationTool !== undefined && output.transformationTool !== null
|
|
2283
2283
|
? deserializeAws_restJson1TransformationTool(output.transformationTool, context)
|
|
2284
2284
|
: undefined,
|
|
@@ -2291,14 +2291,14 @@ const deserializeAws_restJson1S3Keys = (output, context) => {
|
|
|
2291
2291
|
if (entry === null) {
|
|
2292
2292
|
return null;
|
|
2293
2293
|
}
|
|
2294
|
-
return smithy_client_1.expectString(entry);
|
|
2294
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2295
2295
|
});
|
|
2296
2296
|
return retVal;
|
|
2297
2297
|
};
|
|
2298
2298
|
const deserializeAws_restJson1S3Object = (output, context) => {
|
|
2299
2299
|
return {
|
|
2300
|
-
s3Bucket: smithy_client_1.expectString(output.s3Bucket),
|
|
2301
|
-
s3key: smithy_client_1.expectString(output.s3key),
|
|
2300
|
+
s3Bucket: (0, smithy_client_1.expectString)(output.s3Bucket),
|
|
2301
|
+
s3key: (0, smithy_client_1.expectString)(output.s3key),
|
|
2302
2302
|
};
|
|
2303
2303
|
};
|
|
2304
2304
|
const deserializeAws_restJson1SelfManageResources = (output, context) => {
|
|
@@ -2315,7 +2315,7 @@ const deserializeAws_restJson1SelfManageTargetDestinations = (output, context) =
|
|
|
2315
2315
|
if (entry === null) {
|
|
2316
2316
|
return null;
|
|
2317
2317
|
}
|
|
2318
|
-
return smithy_client_1.expectString(entry);
|
|
2318
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2319
2319
|
});
|
|
2320
2320
|
return retVal;
|
|
2321
2321
|
};
|
|
@@ -2324,25 +2324,25 @@ const deserializeAws_restJson1ServerDetail = (output, context) => {
|
|
|
2324
2324
|
antipatternReportS3Object: output.antipatternReportS3Object !== undefined && output.antipatternReportS3Object !== null
|
|
2325
2325
|
? deserializeAws_restJson1S3Object(output.antipatternReportS3Object, context)
|
|
2326
2326
|
: undefined,
|
|
2327
|
-
antipatternReportStatus: smithy_client_1.expectString(output.antipatternReportStatus),
|
|
2328
|
-
antipatternReportStatusMessage: smithy_client_1.expectString(output.antipatternReportStatusMessage),
|
|
2327
|
+
antipatternReportStatus: (0, smithy_client_1.expectString)(output.antipatternReportStatus),
|
|
2328
|
+
antipatternReportStatusMessage: (0, smithy_client_1.expectString)(output.antipatternReportStatusMessage),
|
|
2329
2329
|
applicationComponentStrategySummary: output.applicationComponentStrategySummary !== undefined && output.applicationComponentStrategySummary !== null
|
|
2330
2330
|
? deserializeAws_restJson1ListStrategySummary(output.applicationComponentStrategySummary, context)
|
|
2331
2331
|
: undefined,
|
|
2332
|
-
dataCollectionStatus: smithy_client_1.expectString(output.dataCollectionStatus),
|
|
2333
|
-
id: smithy_client_1.expectString(output.id),
|
|
2332
|
+
dataCollectionStatus: (0, smithy_client_1.expectString)(output.dataCollectionStatus),
|
|
2333
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
2334
2334
|
lastAnalyzedTimestamp: output.lastAnalyzedTimestamp !== undefined && output.lastAnalyzedTimestamp !== null
|
|
2335
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastAnalyzedTimestamp)))
|
|
2335
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastAnalyzedTimestamp)))
|
|
2336
2336
|
: undefined,
|
|
2337
2337
|
listAntipatternSeveritySummary: output.listAntipatternSeveritySummary !== undefined && output.listAntipatternSeveritySummary !== null
|
|
2338
2338
|
? deserializeAws_restJson1ListAntipatternSeveritySummary(output.listAntipatternSeveritySummary, context)
|
|
2339
2339
|
: undefined,
|
|
2340
|
-
name: smithy_client_1.expectString(output.name),
|
|
2340
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2341
2341
|
recommendationSet: output.recommendationSet !== undefined && output.recommendationSet !== null
|
|
2342
2342
|
? deserializeAws_restJson1RecommendationSet(output.recommendationSet, context)
|
|
2343
2343
|
: undefined,
|
|
2344
|
-
serverType: smithy_client_1.expectString(output.serverType),
|
|
2345
|
-
statusMessage: smithy_client_1.expectString(output.statusMessage),
|
|
2344
|
+
serverType: (0, smithy_client_1.expectString)(output.serverType),
|
|
2345
|
+
statusMessage: (0, smithy_client_1.expectString)(output.statusMessage),
|
|
2346
2346
|
systemInfo: output.systemInfo !== undefined && output.systemInfo !== null
|
|
2347
2347
|
? deserializeAws_restJson1SystemInfo(output.systemInfo, context)
|
|
2348
2348
|
: undefined,
|
|
@@ -2372,18 +2372,18 @@ const deserializeAws_restJson1ServerStrategies = (output, context) => {
|
|
|
2372
2372
|
};
|
|
2373
2373
|
const deserializeAws_restJson1ServerStrategy = (output, context) => {
|
|
2374
2374
|
return {
|
|
2375
|
-
isPreferred: smithy_client_1.expectBoolean(output.isPreferred),
|
|
2376
|
-
numberOfApplicationComponents: smithy_client_1.expectInt32(output.numberOfApplicationComponents),
|
|
2375
|
+
isPreferred: (0, smithy_client_1.expectBoolean)(output.isPreferred),
|
|
2376
|
+
numberOfApplicationComponents: (0, smithy_client_1.expectInt32)(output.numberOfApplicationComponents),
|
|
2377
2377
|
recommendation: output.recommendation !== undefined && output.recommendation !== null
|
|
2378
2378
|
? deserializeAws_restJson1RecommendationSet(output.recommendation, context)
|
|
2379
2379
|
: undefined,
|
|
2380
|
-
status: smithy_client_1.expectString(output.status),
|
|
2380
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
2381
2381
|
};
|
|
2382
2382
|
};
|
|
2383
2383
|
const deserializeAws_restJson1ServerSummary = (output, context) => {
|
|
2384
2384
|
return {
|
|
2385
|
-
ServerOsType: smithy_client_1.expectString(output.ServerOsType),
|
|
2386
|
-
count: smithy_client_1.expectInt32(output.count),
|
|
2385
|
+
ServerOsType: (0, smithy_client_1.expectString)(output.ServerOsType),
|
|
2386
|
+
count: (0, smithy_client_1.expectInt32)(output.count),
|
|
2387
2387
|
};
|
|
2388
2388
|
};
|
|
2389
2389
|
const deserializeAws_restJson1SourceCodeRepositories = (output, context) => {
|
|
@@ -2399,21 +2399,21 @@ const deserializeAws_restJson1SourceCodeRepositories = (output, context) => {
|
|
|
2399
2399
|
};
|
|
2400
2400
|
const deserializeAws_restJson1SourceCodeRepository = (output, context) => {
|
|
2401
2401
|
return {
|
|
2402
|
-
branch: smithy_client_1.expectString(output.branch),
|
|
2403
|
-
repository: smithy_client_1.expectString(output.repository),
|
|
2404
|
-
versionControlType: smithy_client_1.expectString(output.versionControlType),
|
|
2402
|
+
branch: (0, smithy_client_1.expectString)(output.branch),
|
|
2403
|
+
repository: (0, smithy_client_1.expectString)(output.repository),
|
|
2404
|
+
versionControlType: (0, smithy_client_1.expectString)(output.versionControlType),
|
|
2405
2405
|
};
|
|
2406
2406
|
};
|
|
2407
2407
|
const deserializeAws_restJson1StrategySummary = (output, context) => {
|
|
2408
2408
|
return {
|
|
2409
|
-
count: smithy_client_1.expectInt32(output.count),
|
|
2410
|
-
strategy: smithy_client_1.expectString(output.strategy),
|
|
2409
|
+
count: (0, smithy_client_1.expectInt32)(output.count),
|
|
2410
|
+
strategy: (0, smithy_client_1.expectString)(output.strategy),
|
|
2411
2411
|
};
|
|
2412
2412
|
};
|
|
2413
2413
|
const deserializeAws_restJson1SystemInfo = (output, context) => {
|
|
2414
2414
|
return {
|
|
2415
|
-
cpuArchitecture: smithy_client_1.expectString(output.cpuArchitecture),
|
|
2416
|
-
fileSystemType: smithy_client_1.expectString(output.fileSystemType),
|
|
2415
|
+
cpuArchitecture: (0, smithy_client_1.expectString)(output.cpuArchitecture),
|
|
2416
|
+
fileSystemType: (0, smithy_client_1.expectString)(output.fileSystemType),
|
|
2417
2417
|
networkInfoList: output.networkInfoList !== undefined && output.networkInfoList !== null
|
|
2418
2418
|
? deserializeAws_restJson1NetworkInfoList(output.networkInfoList, context)
|
|
2419
2419
|
: undefined,
|
|
@@ -2429,15 +2429,15 @@ const deserializeAws_restJson1TargetDatabaseEngines = (output, context) => {
|
|
|
2429
2429
|
if (entry === null) {
|
|
2430
2430
|
return null;
|
|
2431
2431
|
}
|
|
2432
|
-
return smithy_client_1.expectString(entry);
|
|
2432
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2433
2433
|
});
|
|
2434
2434
|
return retVal;
|
|
2435
2435
|
};
|
|
2436
2436
|
const deserializeAws_restJson1TransformationTool = (output, context) => {
|
|
2437
2437
|
return {
|
|
2438
|
-
description: smithy_client_1.expectString(output.description),
|
|
2439
|
-
name: smithy_client_1.expectString(output.name),
|
|
2440
|
-
tranformationToolInstallationLink: smithy_client_1.expectString(output.tranformationToolInstallationLink),
|
|
2438
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
2439
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2440
|
+
tranformationToolInstallationLink: (0, smithy_client_1.expectString)(output.tranformationToolInstallationLink),
|
|
2441
2441
|
};
|
|
2442
2442
|
};
|
|
2443
2443
|
const deserializeMetadata = (output) => {
|