@aws-sdk/client-migrationhubstrategy 3.306.0 → 3.309.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.
Files changed (47) hide show
  1. package/dist-cjs/commands/GetApplicationComponentDetailsCommand.js +2 -2
  2. package/dist-cjs/commands/GetApplicationComponentStrategiesCommand.js +2 -2
  3. package/dist-cjs/commands/GetAssessmentCommand.js +2 -2
  4. package/dist-cjs/commands/GetImportFileTaskCommand.js +2 -2
  5. package/dist-cjs/commands/GetLatestAssessmentIdCommand.js +2 -2
  6. package/dist-cjs/commands/GetPortfolioPreferencesCommand.js +2 -2
  7. package/dist-cjs/commands/GetPortfolioSummaryCommand.js +2 -2
  8. package/dist-cjs/commands/GetRecommendationReportDetailsCommand.js +2 -2
  9. package/dist-cjs/commands/GetServerDetailsCommand.js +2 -2
  10. package/dist-cjs/commands/GetServerStrategiesCommand.js +2 -2
  11. package/dist-cjs/commands/ListApplicationComponentsCommand.js +2 -2
  12. package/dist-cjs/commands/ListCollectorsCommand.js +2 -2
  13. package/dist-cjs/commands/ListImportFileTaskCommand.js +2 -2
  14. package/dist-cjs/commands/ListServersCommand.js +2 -2
  15. package/dist-cjs/commands/PutPortfolioPreferencesCommand.js +2 -2
  16. package/dist-cjs/commands/StartAssessmentCommand.js +2 -2
  17. package/dist-cjs/commands/StartImportFileTaskCommand.js +2 -2
  18. package/dist-cjs/commands/StartRecommendationReportGenerationCommand.js +2 -2
  19. package/dist-cjs/commands/StopAssessmentCommand.js +2 -2
  20. package/dist-cjs/commands/UpdateApplicationComponentConfigCommand.js +2 -2
  21. package/dist-cjs/commands/UpdateServerConfigCommand.js +2 -2
  22. package/dist-cjs/protocols/Aws_restJson1.js +453 -503
  23. package/dist-es/commands/GetApplicationComponentDetailsCommand.js +3 -3
  24. package/dist-es/commands/GetApplicationComponentStrategiesCommand.js +3 -3
  25. package/dist-es/commands/GetAssessmentCommand.js +3 -3
  26. package/dist-es/commands/GetImportFileTaskCommand.js +3 -3
  27. package/dist-es/commands/GetLatestAssessmentIdCommand.js +3 -3
  28. package/dist-es/commands/GetPortfolioPreferencesCommand.js +3 -3
  29. package/dist-es/commands/GetPortfolioSummaryCommand.js +3 -3
  30. package/dist-es/commands/GetRecommendationReportDetailsCommand.js +3 -3
  31. package/dist-es/commands/GetServerDetailsCommand.js +3 -3
  32. package/dist-es/commands/GetServerStrategiesCommand.js +3 -3
  33. package/dist-es/commands/ListApplicationComponentsCommand.js +3 -3
  34. package/dist-es/commands/ListCollectorsCommand.js +3 -3
  35. package/dist-es/commands/ListImportFileTaskCommand.js +3 -3
  36. package/dist-es/commands/ListServersCommand.js +3 -3
  37. package/dist-es/commands/PutPortfolioPreferencesCommand.js +3 -3
  38. package/dist-es/commands/StartAssessmentCommand.js +3 -3
  39. package/dist-es/commands/StartImportFileTaskCommand.js +3 -3
  40. package/dist-es/commands/StartRecommendationReportGenerationCommand.js +3 -3
  41. package/dist-es/commands/StopAssessmentCommand.js +3 -3
  42. package/dist-es/commands/UpdateApplicationComponentConfigCommand.js +3 -3
  43. package/dist-es/commands/UpdateServerConfigCommand.js +3 -3
  44. package/dist-es/protocols/Aws_restJson1.js +410 -460
  45. package/dist-types/protocols/Aws_restJson1.d.ts +168 -42
  46. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +42 -42
  47. package/package.json +6 -6
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1UpdateServerConfigCommand = exports.deserializeAws_restJson1UpdateApplicationComponentConfigCommand = exports.deserializeAws_restJson1StopAssessmentCommand = exports.deserializeAws_restJson1StartRecommendationReportGenerationCommand = exports.deserializeAws_restJson1StartImportFileTaskCommand = exports.deserializeAws_restJson1StartAssessmentCommand = exports.deserializeAws_restJson1PutPortfolioPreferencesCommand = exports.deserializeAws_restJson1ListServersCommand = exports.deserializeAws_restJson1ListImportFileTaskCommand = exports.deserializeAws_restJson1ListCollectorsCommand = exports.deserializeAws_restJson1ListApplicationComponentsCommand = exports.deserializeAws_restJson1GetServerStrategiesCommand = exports.deserializeAws_restJson1GetServerDetailsCommand = exports.deserializeAws_restJson1GetRecommendationReportDetailsCommand = exports.deserializeAws_restJson1GetPortfolioSummaryCommand = exports.deserializeAws_restJson1GetPortfolioPreferencesCommand = exports.deserializeAws_restJson1GetLatestAssessmentIdCommand = exports.deserializeAws_restJson1GetImportFileTaskCommand = exports.deserializeAws_restJson1GetAssessmentCommand = exports.deserializeAws_restJson1GetApplicationComponentStrategiesCommand = exports.deserializeAws_restJson1GetApplicationComponentDetailsCommand = exports.serializeAws_restJson1UpdateServerConfigCommand = exports.serializeAws_restJson1UpdateApplicationComponentConfigCommand = exports.serializeAws_restJson1StopAssessmentCommand = exports.serializeAws_restJson1StartRecommendationReportGenerationCommand = exports.serializeAws_restJson1StartImportFileTaskCommand = exports.serializeAws_restJson1StartAssessmentCommand = exports.serializeAws_restJson1PutPortfolioPreferencesCommand = exports.serializeAws_restJson1ListServersCommand = exports.serializeAws_restJson1ListImportFileTaskCommand = exports.serializeAws_restJson1ListCollectorsCommand = exports.serializeAws_restJson1ListApplicationComponentsCommand = exports.serializeAws_restJson1GetServerStrategiesCommand = exports.serializeAws_restJson1GetServerDetailsCommand = exports.serializeAws_restJson1GetRecommendationReportDetailsCommand = exports.serializeAws_restJson1GetPortfolioSummaryCommand = exports.serializeAws_restJson1GetPortfolioPreferencesCommand = exports.serializeAws_restJson1GetLatestAssessmentIdCommand = exports.serializeAws_restJson1GetImportFileTaskCommand = exports.serializeAws_restJson1GetAssessmentCommand = exports.serializeAws_restJson1GetApplicationComponentStrategiesCommand = exports.serializeAws_restJson1GetApplicationComponentDetailsCommand = void 0;
3
+ exports.de_UpdateServerConfigCommand = exports.de_UpdateApplicationComponentConfigCommand = exports.de_StopAssessmentCommand = exports.de_StartRecommendationReportGenerationCommand = exports.de_StartImportFileTaskCommand = exports.de_StartAssessmentCommand = exports.de_PutPortfolioPreferencesCommand = exports.de_ListServersCommand = exports.de_ListImportFileTaskCommand = exports.de_ListCollectorsCommand = exports.de_ListApplicationComponentsCommand = exports.de_GetServerStrategiesCommand = exports.de_GetServerDetailsCommand = exports.de_GetRecommendationReportDetailsCommand = exports.de_GetPortfolioSummaryCommand = exports.de_GetPortfolioPreferencesCommand = exports.de_GetLatestAssessmentIdCommand = exports.de_GetImportFileTaskCommand = exports.de_GetAssessmentCommand = exports.de_GetApplicationComponentStrategiesCommand = exports.de_GetApplicationComponentDetailsCommand = exports.se_UpdateServerConfigCommand = exports.se_UpdateApplicationComponentConfigCommand = exports.se_StopAssessmentCommand = exports.se_StartRecommendationReportGenerationCommand = exports.se_StartImportFileTaskCommand = exports.se_StartAssessmentCommand = exports.se_PutPortfolioPreferencesCommand = exports.se_ListServersCommand = exports.se_ListImportFileTaskCommand = exports.se_ListCollectorsCommand = exports.se_ListApplicationComponentsCommand = exports.se_GetServerStrategiesCommand = exports.se_GetServerDetailsCommand = exports.se_GetRecommendationReportDetailsCommand = exports.se_GetPortfolioSummaryCommand = exports.se_GetPortfolioPreferencesCommand = exports.se_GetLatestAssessmentIdCommand = exports.se_GetImportFileTaskCommand = exports.se_GetAssessmentCommand = exports.se_GetApplicationComponentStrategiesCommand = exports.se_GetApplicationComponentDetailsCommand = void 0;
4
4
  const protocol_http_1 = require("@aws-sdk/protocol-http");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const MigrationHubStrategyServiceException_1 = require("../models/MigrationHubStrategyServiceException");
7
7
  const models_0_1 = require("../models/models_0");
8
- const serializeAws_restJson1GetApplicationComponentDetailsCommand = async (input, context) => {
8
+ const se_GetApplicationComponentDetailsCommand = async (input, context) => {
9
9
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
10
10
  const headers = {};
11
11
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -22,8 +22,8 @@ const serializeAws_restJson1GetApplicationComponentDetailsCommand = async (input
22
22
  body,
23
23
  });
24
24
  };
25
- exports.serializeAws_restJson1GetApplicationComponentDetailsCommand = serializeAws_restJson1GetApplicationComponentDetailsCommand;
26
- const serializeAws_restJson1GetApplicationComponentStrategiesCommand = async (input, context) => {
25
+ exports.se_GetApplicationComponentDetailsCommand = se_GetApplicationComponentDetailsCommand;
26
+ const se_GetApplicationComponentStrategiesCommand = async (input, context) => {
27
27
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
28
28
  const headers = {};
29
29
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -40,8 +40,8 @@ const serializeAws_restJson1GetApplicationComponentStrategiesCommand = async (in
40
40
  body,
41
41
  });
42
42
  };
43
- exports.serializeAws_restJson1GetApplicationComponentStrategiesCommand = serializeAws_restJson1GetApplicationComponentStrategiesCommand;
44
- const serializeAws_restJson1GetAssessmentCommand = async (input, context) => {
43
+ exports.se_GetApplicationComponentStrategiesCommand = se_GetApplicationComponentStrategiesCommand;
44
+ const se_GetAssessmentCommand = async (input, context) => {
45
45
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
46
46
  const headers = {};
47
47
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/get-assessment/{id}";
@@ -57,8 +57,8 @@ const serializeAws_restJson1GetAssessmentCommand = async (input, context) => {
57
57
  body,
58
58
  });
59
59
  };
60
- exports.serializeAws_restJson1GetAssessmentCommand = serializeAws_restJson1GetAssessmentCommand;
61
- const serializeAws_restJson1GetImportFileTaskCommand = async (input, context) => {
60
+ exports.se_GetAssessmentCommand = se_GetAssessmentCommand;
61
+ const se_GetImportFileTaskCommand = async (input, context) => {
62
62
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
63
63
  const headers = {};
64
64
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/get-import-file-task/{id}";
@@ -74,8 +74,8 @@ const serializeAws_restJson1GetImportFileTaskCommand = async (input, context) =>
74
74
  body,
75
75
  });
76
76
  };
77
- exports.serializeAws_restJson1GetImportFileTaskCommand = serializeAws_restJson1GetImportFileTaskCommand;
78
- const serializeAws_restJson1GetLatestAssessmentIdCommand = async (input, context) => {
77
+ exports.se_GetImportFileTaskCommand = se_GetImportFileTaskCommand;
78
+ const se_GetLatestAssessmentIdCommand = async (input, context) => {
79
79
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
80
80
  const headers = {
81
81
  "content-type": "application/json",
@@ -93,8 +93,8 @@ const serializeAws_restJson1GetLatestAssessmentIdCommand = async (input, context
93
93
  body,
94
94
  });
95
95
  };
96
- exports.serializeAws_restJson1GetLatestAssessmentIdCommand = serializeAws_restJson1GetLatestAssessmentIdCommand;
97
- const serializeAws_restJson1GetPortfolioPreferencesCommand = async (input, context) => {
96
+ exports.se_GetLatestAssessmentIdCommand = se_GetLatestAssessmentIdCommand;
97
+ const se_GetPortfolioPreferencesCommand = async (input, context) => {
98
98
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
99
99
  const headers = {
100
100
  "content-type": "application/json",
@@ -112,8 +112,8 @@ const serializeAws_restJson1GetPortfolioPreferencesCommand = async (input, conte
112
112
  body,
113
113
  });
114
114
  };
115
- exports.serializeAws_restJson1GetPortfolioPreferencesCommand = serializeAws_restJson1GetPortfolioPreferencesCommand;
116
- const serializeAws_restJson1GetPortfolioSummaryCommand = async (input, context) => {
115
+ exports.se_GetPortfolioPreferencesCommand = se_GetPortfolioPreferencesCommand;
116
+ const se_GetPortfolioSummaryCommand = async (input, context) => {
117
117
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
118
118
  const headers = {
119
119
  "content-type": "application/json",
@@ -131,8 +131,8 @@ const serializeAws_restJson1GetPortfolioSummaryCommand = async (input, context)
131
131
  body,
132
132
  });
133
133
  };
134
- exports.serializeAws_restJson1GetPortfolioSummaryCommand = serializeAws_restJson1GetPortfolioSummaryCommand;
135
- const serializeAws_restJson1GetRecommendationReportDetailsCommand = async (input, context) => {
134
+ exports.se_GetPortfolioSummaryCommand = se_GetPortfolioSummaryCommand;
135
+ const se_GetRecommendationReportDetailsCommand = async (input, context) => {
136
136
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
137
137
  const headers = {};
138
138
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/get-recommendation-report-details/{id}";
@@ -148,8 +148,8 @@ const serializeAws_restJson1GetRecommendationReportDetailsCommand = async (input
148
148
  body,
149
149
  });
150
150
  };
151
- exports.serializeAws_restJson1GetRecommendationReportDetailsCommand = serializeAws_restJson1GetRecommendationReportDetailsCommand;
152
- const serializeAws_restJson1GetServerDetailsCommand = async (input, context) => {
151
+ exports.se_GetRecommendationReportDetailsCommand = se_GetRecommendationReportDetailsCommand;
152
+ const se_GetServerDetailsCommand = async (input, context) => {
153
153
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
154
154
  const headers = {};
155
155
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/get-server-details/{serverId}";
@@ -170,8 +170,8 @@ const serializeAws_restJson1GetServerDetailsCommand = async (input, context) =>
170
170
  body,
171
171
  });
172
172
  };
173
- exports.serializeAws_restJson1GetServerDetailsCommand = serializeAws_restJson1GetServerDetailsCommand;
174
- const serializeAws_restJson1GetServerStrategiesCommand = async (input, context) => {
173
+ exports.se_GetServerDetailsCommand = se_GetServerDetailsCommand;
174
+ const se_GetServerStrategiesCommand = async (input, context) => {
175
175
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
176
176
  const headers = {};
177
177
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/get-server-strategies/{serverId}";
@@ -187,8 +187,8 @@ const serializeAws_restJson1GetServerStrategiesCommand = async (input, context)
187
187
  body,
188
188
  });
189
189
  };
190
- exports.serializeAws_restJson1GetServerStrategiesCommand = serializeAws_restJson1GetServerStrategiesCommand;
191
- const serializeAws_restJson1ListApplicationComponentsCommand = async (input, context) => {
190
+ exports.se_GetServerStrategiesCommand = se_GetServerStrategiesCommand;
191
+ const se_ListApplicationComponentsCommand = async (input, context) => {
192
192
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
193
193
  const headers = {
194
194
  "content-type": "application/json",
@@ -200,7 +200,7 @@ const serializeAws_restJson1ListApplicationComponentsCommand = async (input, con
200
200
  applicationComponentCriteria: input.applicationComponentCriteria,
201
201
  }),
202
202
  ...(input.filterValue != null && { filterValue: input.filterValue }),
203
- ...(input.groupIdFilter != null && { groupIdFilter: serializeAws_restJson1GroupIds(input.groupIdFilter, context) }),
203
+ ...(input.groupIdFilter != null && { groupIdFilter: se_GroupIds(input.groupIdFilter, context) }),
204
204
  ...(input.maxResults != null && { maxResults: input.maxResults }),
205
205
  ...(input.nextToken != null && { nextToken: input.nextToken }),
206
206
  ...(input.sort != null && { sort: input.sort }),
@@ -215,8 +215,8 @@ const serializeAws_restJson1ListApplicationComponentsCommand = async (input, con
215
215
  body,
216
216
  });
217
217
  };
218
- exports.serializeAws_restJson1ListApplicationComponentsCommand = serializeAws_restJson1ListApplicationComponentsCommand;
219
- const serializeAws_restJson1ListCollectorsCommand = async (input, context) => {
218
+ exports.se_ListApplicationComponentsCommand = se_ListApplicationComponentsCommand;
219
+ const se_ListCollectorsCommand = async (input, context) => {
220
220
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
221
221
  const headers = {};
222
222
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-collectors";
@@ -236,8 +236,8 @@ const serializeAws_restJson1ListCollectorsCommand = async (input, context) => {
236
236
  body,
237
237
  });
238
238
  };
239
- exports.serializeAws_restJson1ListCollectorsCommand = serializeAws_restJson1ListCollectorsCommand;
240
- const serializeAws_restJson1ListImportFileTaskCommand = async (input, context) => {
239
+ exports.se_ListCollectorsCommand = se_ListCollectorsCommand;
240
+ const se_ListImportFileTaskCommand = async (input, context) => {
241
241
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
242
242
  const headers = {};
243
243
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-import-file-task";
@@ -257,8 +257,8 @@ const serializeAws_restJson1ListImportFileTaskCommand = async (input, context) =
257
257
  body,
258
258
  });
259
259
  };
260
- exports.serializeAws_restJson1ListImportFileTaskCommand = serializeAws_restJson1ListImportFileTaskCommand;
261
- const serializeAws_restJson1ListServersCommand = async (input, context) => {
260
+ exports.se_ListImportFileTaskCommand = se_ListImportFileTaskCommand;
261
+ const se_ListServersCommand = async (input, context) => {
262
262
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
263
263
  const headers = {
264
264
  "content-type": "application/json",
@@ -267,7 +267,7 @@ const serializeAws_restJson1ListServersCommand = async (input, context) => {
267
267
  let body;
268
268
  body = JSON.stringify({
269
269
  ...(input.filterValue != null && { filterValue: input.filterValue }),
270
- ...(input.groupIdFilter != null && { groupIdFilter: serializeAws_restJson1GroupIds(input.groupIdFilter, context) }),
270
+ ...(input.groupIdFilter != null && { groupIdFilter: se_GroupIds(input.groupIdFilter, context) }),
271
271
  ...(input.maxResults != null && { maxResults: input.maxResults }),
272
272
  ...(input.nextToken != null && { nextToken: input.nextToken }),
273
273
  ...(input.serverCriteria != null && { serverCriteria: input.serverCriteria }),
@@ -283,8 +283,8 @@ const serializeAws_restJson1ListServersCommand = async (input, context) => {
283
283
  body,
284
284
  });
285
285
  };
286
- exports.serializeAws_restJson1ListServersCommand = serializeAws_restJson1ListServersCommand;
287
- const serializeAws_restJson1PutPortfolioPreferencesCommand = async (input, context) => {
286
+ exports.se_ListServersCommand = se_ListServersCommand;
287
+ const se_PutPortfolioPreferencesCommand = async (input, context) => {
288
288
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
289
289
  const headers = {
290
290
  "content-type": "application/json",
@@ -294,13 +294,13 @@ const serializeAws_restJson1PutPortfolioPreferencesCommand = async (input, conte
294
294
  body = JSON.stringify({
295
295
  ...(input.applicationMode != null && { applicationMode: input.applicationMode }),
296
296
  ...(input.applicationPreferences != null && {
297
- applicationPreferences: serializeAws_restJson1ApplicationPreferences(input.applicationPreferences, context),
297
+ applicationPreferences: se_ApplicationPreferences(input.applicationPreferences, context),
298
298
  }),
299
299
  ...(input.databasePreferences != null && {
300
- databasePreferences: serializeAws_restJson1DatabasePreferences(input.databasePreferences, context),
300
+ databasePreferences: se_DatabasePreferences(input.databasePreferences, context),
301
301
  }),
302
302
  ...(input.prioritizeBusinessGoals != null && {
303
- prioritizeBusinessGoals: serializeAws_restJson1PrioritizeBusinessGoals(input.prioritizeBusinessGoals, context),
303
+ prioritizeBusinessGoals: se_PrioritizeBusinessGoals(input.prioritizeBusinessGoals, context),
304
304
  }),
305
305
  });
306
306
  return new protocol_http_1.HttpRequest({
@@ -313,8 +313,8 @@ const serializeAws_restJson1PutPortfolioPreferencesCommand = async (input, conte
313
313
  body,
314
314
  });
315
315
  };
316
- exports.serializeAws_restJson1PutPortfolioPreferencesCommand = serializeAws_restJson1PutPortfolioPreferencesCommand;
317
- const serializeAws_restJson1StartAssessmentCommand = async (input, context) => {
316
+ exports.se_PutPortfolioPreferencesCommand = se_PutPortfolioPreferencesCommand;
317
+ const se_StartAssessmentCommand = async (input, context) => {
318
318
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
319
319
  const headers = {
320
320
  "content-type": "application/json",
@@ -323,7 +323,7 @@ const serializeAws_restJson1StartAssessmentCommand = async (input, context) => {
323
323
  let body;
324
324
  body = JSON.stringify({
325
325
  ...(input.assessmentTargets != null && {
326
- assessmentTargets: serializeAws_restJson1AssessmentTargets(input.assessmentTargets, context),
326
+ assessmentTargets: se_AssessmentTargets(input.assessmentTargets, context),
327
327
  }),
328
328
  ...(input.s3bucketForAnalysisData != null && { s3bucketForAnalysisData: input.s3bucketForAnalysisData }),
329
329
  ...(input.s3bucketForReportData != null && { s3bucketForReportData: input.s3bucketForReportData }),
@@ -338,8 +338,8 @@ const serializeAws_restJson1StartAssessmentCommand = async (input, context) => {
338
338
  body,
339
339
  });
340
340
  };
341
- exports.serializeAws_restJson1StartAssessmentCommand = serializeAws_restJson1StartAssessmentCommand;
342
- const serializeAws_restJson1StartImportFileTaskCommand = async (input, context) => {
341
+ exports.se_StartAssessmentCommand = se_StartAssessmentCommand;
342
+ const se_StartImportFileTaskCommand = async (input, context) => {
343
343
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
344
344
  const headers = {
345
345
  "content-type": "application/json",
@@ -349,7 +349,7 @@ const serializeAws_restJson1StartImportFileTaskCommand = async (input, context)
349
349
  body = JSON.stringify({
350
350
  ...(input.S3Bucket != null && { S3Bucket: input.S3Bucket }),
351
351
  ...(input.dataSourceType != null && { dataSourceType: input.dataSourceType }),
352
- ...(input.groupId != null && { groupId: serializeAws_restJson1GroupIds(input.groupId, context) }),
352
+ ...(input.groupId != null && { groupId: se_GroupIds(input.groupId, context) }),
353
353
  ...(input.name != null && { name: input.name }),
354
354
  ...(input.s3bucketForReportData != null && { s3bucketForReportData: input.s3bucketForReportData }),
355
355
  ...(input.s3key != null && { s3key: input.s3key }),
@@ -364,8 +364,8 @@ const serializeAws_restJson1StartImportFileTaskCommand = async (input, context)
364
364
  body,
365
365
  });
366
366
  };
367
- exports.serializeAws_restJson1StartImportFileTaskCommand = serializeAws_restJson1StartImportFileTaskCommand;
368
- const serializeAws_restJson1StartRecommendationReportGenerationCommand = async (input, context) => {
367
+ exports.se_StartImportFileTaskCommand = se_StartImportFileTaskCommand;
368
+ const se_StartRecommendationReportGenerationCommand = async (input, context) => {
369
369
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
370
370
  const headers = {
371
371
  "content-type": "application/json",
@@ -373,7 +373,7 @@ const serializeAws_restJson1StartRecommendationReportGenerationCommand = async (
373
373
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/start-recommendation-report-generation";
374
374
  let body;
375
375
  body = JSON.stringify({
376
- ...(input.groupIdFilter != null && { groupIdFilter: serializeAws_restJson1GroupIds(input.groupIdFilter, context) }),
376
+ ...(input.groupIdFilter != null && { groupIdFilter: se_GroupIds(input.groupIdFilter, context) }),
377
377
  ...(input.outputFormat != null && { outputFormat: input.outputFormat }),
378
378
  });
379
379
  return new protocol_http_1.HttpRequest({
@@ -386,8 +386,8 @@ const serializeAws_restJson1StartRecommendationReportGenerationCommand = async (
386
386
  body,
387
387
  });
388
388
  };
389
- exports.serializeAws_restJson1StartRecommendationReportGenerationCommand = serializeAws_restJson1StartRecommendationReportGenerationCommand;
390
- const serializeAws_restJson1StopAssessmentCommand = async (input, context) => {
389
+ exports.se_StartRecommendationReportGenerationCommand = se_StartRecommendationReportGenerationCommand;
390
+ const se_StopAssessmentCommand = async (input, context) => {
391
391
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
392
392
  const headers = {
393
393
  "content-type": "application/json",
@@ -407,8 +407,8 @@ const serializeAws_restJson1StopAssessmentCommand = async (input, context) => {
407
407
  body,
408
408
  });
409
409
  };
410
- exports.serializeAws_restJson1StopAssessmentCommand = serializeAws_restJson1StopAssessmentCommand;
411
- const serializeAws_restJson1UpdateApplicationComponentConfigCommand = async (input, context) => {
410
+ exports.se_StopAssessmentCommand = se_StopAssessmentCommand;
411
+ const se_UpdateApplicationComponentConfigCommand = async (input, context) => {
412
412
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
413
413
  const headers = {
414
414
  "content-type": "application/json",
@@ -421,12 +421,8 @@ const serializeAws_restJson1UpdateApplicationComponentConfigCommand = async (inp
421
421
  ...(input.configureOnly != null && { configureOnly: input.configureOnly }),
422
422
  ...(input.inclusionStatus != null && { inclusionStatus: input.inclusionStatus }),
423
423
  ...(input.secretsManagerKey != null && { secretsManagerKey: input.secretsManagerKey }),
424
- ...(input.sourceCodeList != null && {
425
- sourceCodeList: serializeAws_restJson1SourceCodeList(input.sourceCodeList, context),
426
- }),
427
- ...(input.strategyOption != null && {
428
- strategyOption: serializeAws_restJson1StrategyOption(input.strategyOption, context),
429
- }),
424
+ ...(input.sourceCodeList != null && { sourceCodeList: se_SourceCodeList(input.sourceCodeList, context) }),
425
+ ...(input.strategyOption != null && { strategyOption: se_StrategyOption(input.strategyOption, context) }),
430
426
  });
431
427
  return new protocol_http_1.HttpRequest({
432
428
  protocol,
@@ -438,8 +434,8 @@ const serializeAws_restJson1UpdateApplicationComponentConfigCommand = async (inp
438
434
  body,
439
435
  });
440
436
  };
441
- exports.serializeAws_restJson1UpdateApplicationComponentConfigCommand = serializeAws_restJson1UpdateApplicationComponentConfigCommand;
442
- const serializeAws_restJson1UpdateServerConfigCommand = async (input, context) => {
437
+ exports.se_UpdateApplicationComponentConfigCommand = se_UpdateApplicationComponentConfigCommand;
438
+ const se_UpdateServerConfigCommand = async (input, context) => {
443
439
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
444
440
  const headers = {
445
441
  "content-type": "application/json",
@@ -448,9 +444,7 @@ const serializeAws_restJson1UpdateServerConfigCommand = async (input, context) =
448
444
  let body;
449
445
  body = JSON.stringify({
450
446
  ...(input.serverId != null && { serverId: input.serverId }),
451
- ...(input.strategyOption != null && {
452
- strategyOption: serializeAws_restJson1StrategyOption(input.strategyOption, context),
453
- }),
447
+ ...(input.strategyOption != null && { strategyOption: se_StrategyOption(input.strategyOption, context) }),
454
448
  });
455
449
  return new protocol_http_1.HttpRequest({
456
450
  protocol,
@@ -462,31 +456,31 @@ const serializeAws_restJson1UpdateServerConfigCommand = async (input, context) =
462
456
  body,
463
457
  });
464
458
  };
465
- exports.serializeAws_restJson1UpdateServerConfigCommand = serializeAws_restJson1UpdateServerConfigCommand;
466
- const deserializeAws_restJson1GetApplicationComponentDetailsCommand = async (output, context) => {
459
+ exports.se_UpdateServerConfigCommand = se_UpdateServerConfigCommand;
460
+ const de_GetApplicationComponentDetailsCommand = async (output, context) => {
467
461
  if (output.statusCode !== 200 && output.statusCode >= 300) {
468
- return deserializeAws_restJson1GetApplicationComponentDetailsCommandError(output, context);
462
+ return de_GetApplicationComponentDetailsCommandError(output, context);
469
463
  }
470
464
  const contents = map({
471
465
  $metadata: deserializeMetadata(output),
472
466
  });
473
467
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
474
468
  if (data.applicationComponentDetail != null) {
475
- contents.applicationComponentDetail = deserializeAws_restJson1ApplicationComponentDetail(data.applicationComponentDetail, context);
469
+ contents.applicationComponentDetail = de_ApplicationComponentDetail(data.applicationComponentDetail, context);
476
470
  }
477
471
  if (data.associatedApplications != null) {
478
- contents.associatedApplications = deserializeAws_restJson1AssociatedApplications(data.associatedApplications, context);
472
+ contents.associatedApplications = de_AssociatedApplications(data.associatedApplications, context);
479
473
  }
480
474
  if (data.associatedServerIds != null) {
481
- contents.associatedServerIds = deserializeAws_restJson1AssociatedServerIDs(data.associatedServerIds, context);
475
+ contents.associatedServerIds = de_AssociatedServerIDs(data.associatedServerIds, context);
482
476
  }
483
477
  if (data.moreApplicationResource != null) {
484
478
  contents.moreApplicationResource = (0, smithy_client_1.expectBoolean)(data.moreApplicationResource);
485
479
  }
486
480
  return contents;
487
481
  };
488
- exports.deserializeAws_restJson1GetApplicationComponentDetailsCommand = deserializeAws_restJson1GetApplicationComponentDetailsCommand;
489
- const deserializeAws_restJson1GetApplicationComponentDetailsCommandError = async (output, context) => {
482
+ exports.de_GetApplicationComponentDetailsCommand = de_GetApplicationComponentDetailsCommand;
483
+ const de_GetApplicationComponentDetailsCommandError = async (output, context) => {
490
484
  const parsedOutput = {
491
485
  ...output,
492
486
  body: await parseErrorBody(output.body, context),
@@ -495,13 +489,13 @@ const deserializeAws_restJson1GetApplicationComponentDetailsCommandError = async
495
489
  switch (errorCode) {
496
490
  case "InternalServerException":
497
491
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
498
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
492
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
499
493
  case "ResourceNotFoundException":
500
494
  case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
501
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
495
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
502
496
  case "ThrottlingException":
503
497
  case "com.amazonaws.migrationhubstrategy#ThrottlingException":
504
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
498
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
505
499
  default:
506
500
  const parsedBody = parsedOutput.body;
507
501
  (0, smithy_client_1.throwDefaultError)({
@@ -512,21 +506,21 @@ const deserializeAws_restJson1GetApplicationComponentDetailsCommandError = async
512
506
  });
513
507
  }
514
508
  };
515
- const deserializeAws_restJson1GetApplicationComponentStrategiesCommand = async (output, context) => {
509
+ const de_GetApplicationComponentStrategiesCommand = async (output, context) => {
516
510
  if (output.statusCode !== 200 && output.statusCode >= 300) {
517
- return deserializeAws_restJson1GetApplicationComponentStrategiesCommandError(output, context);
511
+ return de_GetApplicationComponentStrategiesCommandError(output, context);
518
512
  }
519
513
  const contents = map({
520
514
  $metadata: deserializeMetadata(output),
521
515
  });
522
516
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
523
517
  if (data.applicationComponentStrategies != null) {
524
- contents.applicationComponentStrategies = deserializeAws_restJson1ApplicationComponentStrategies(data.applicationComponentStrategies, context);
518
+ contents.applicationComponentStrategies = de_ApplicationComponentStrategies(data.applicationComponentStrategies, context);
525
519
  }
526
520
  return contents;
527
521
  };
528
- exports.deserializeAws_restJson1GetApplicationComponentStrategiesCommand = deserializeAws_restJson1GetApplicationComponentStrategiesCommand;
529
- const deserializeAws_restJson1GetApplicationComponentStrategiesCommandError = async (output, context) => {
522
+ exports.de_GetApplicationComponentStrategiesCommand = de_GetApplicationComponentStrategiesCommand;
523
+ const de_GetApplicationComponentStrategiesCommandError = async (output, context) => {
530
524
  const parsedOutput = {
531
525
  ...output,
532
526
  body: await parseErrorBody(output.body, context),
@@ -535,13 +529,13 @@ const deserializeAws_restJson1GetApplicationComponentStrategiesCommandError = as
535
529
  switch (errorCode) {
536
530
  case "InternalServerException":
537
531
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
538
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
532
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
539
533
  case "ResourceNotFoundException":
540
534
  case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
541
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
535
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
542
536
  case "ThrottlingException":
543
537
  case "com.amazonaws.migrationhubstrategy#ThrottlingException":
544
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
538
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
545
539
  default:
546
540
  const parsedBody = parsedOutput.body;
547
541
  (0, smithy_client_1.throwDefaultError)({
@@ -552,27 +546,27 @@ const deserializeAws_restJson1GetApplicationComponentStrategiesCommandError = as
552
546
  });
553
547
  }
554
548
  };
555
- const deserializeAws_restJson1GetAssessmentCommand = async (output, context) => {
549
+ const de_GetAssessmentCommand = async (output, context) => {
556
550
  if (output.statusCode !== 200 && output.statusCode >= 300) {
557
- return deserializeAws_restJson1GetAssessmentCommandError(output, context);
551
+ return de_GetAssessmentCommandError(output, context);
558
552
  }
559
553
  const contents = map({
560
554
  $metadata: deserializeMetadata(output),
561
555
  });
562
556
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
563
557
  if (data.assessmentTargets != null) {
564
- contents.assessmentTargets = deserializeAws_restJson1AssessmentTargets(data.assessmentTargets, context);
558
+ contents.assessmentTargets = de_AssessmentTargets(data.assessmentTargets, context);
565
559
  }
566
560
  if (data.dataCollectionDetails != null) {
567
- contents.dataCollectionDetails = deserializeAws_restJson1DataCollectionDetails(data.dataCollectionDetails, context);
561
+ contents.dataCollectionDetails = de_DataCollectionDetails(data.dataCollectionDetails, context);
568
562
  }
569
563
  if (data.id != null) {
570
564
  contents.id = (0, smithy_client_1.expectString)(data.id);
571
565
  }
572
566
  return contents;
573
567
  };
574
- exports.deserializeAws_restJson1GetAssessmentCommand = deserializeAws_restJson1GetAssessmentCommand;
575
- const deserializeAws_restJson1GetAssessmentCommandError = async (output, context) => {
568
+ exports.de_GetAssessmentCommand = de_GetAssessmentCommand;
569
+ const de_GetAssessmentCommandError = async (output, context) => {
576
570
  const parsedOutput = {
577
571
  ...output,
578
572
  body: await parseErrorBody(output.body, context),
@@ -581,16 +575,16 @@ const deserializeAws_restJson1GetAssessmentCommandError = async (output, context
581
575
  switch (errorCode) {
582
576
  case "AccessDeniedException":
583
577
  case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
584
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
578
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
585
579
  case "InternalServerException":
586
580
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
587
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
581
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
588
582
  case "ResourceNotFoundException":
589
583
  case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
590
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
584
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
591
585
  case "ThrottlingException":
592
586
  case "com.amazonaws.migrationhubstrategy#ThrottlingException":
593
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
587
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
594
588
  default:
595
589
  const parsedBody = parsedOutput.body;
596
590
  (0, smithy_client_1.throwDefaultError)({
@@ -601,9 +595,9 @@ const deserializeAws_restJson1GetAssessmentCommandError = async (output, context
601
595
  });
602
596
  }
603
597
  };
604
- const deserializeAws_restJson1GetImportFileTaskCommand = async (output, context) => {
598
+ const de_GetImportFileTaskCommand = async (output, context) => {
605
599
  if (output.statusCode !== 200 && output.statusCode >= 300) {
606
- return deserializeAws_restJson1GetImportFileTaskCommandError(output, context);
600
+ return de_GetImportFileTaskCommandError(output, context);
607
601
  }
608
602
  const contents = map({
609
603
  $metadata: deserializeMetadata(output),
@@ -644,8 +638,8 @@ const deserializeAws_restJson1GetImportFileTaskCommand = async (output, context)
644
638
  }
645
639
  return contents;
646
640
  };
647
- exports.deserializeAws_restJson1GetImportFileTaskCommand = deserializeAws_restJson1GetImportFileTaskCommand;
648
- const deserializeAws_restJson1GetImportFileTaskCommandError = async (output, context) => {
641
+ exports.de_GetImportFileTaskCommand = de_GetImportFileTaskCommand;
642
+ const de_GetImportFileTaskCommandError = async (output, context) => {
649
643
  const parsedOutput = {
650
644
  ...output,
651
645
  body: await parseErrorBody(output.body, context),
@@ -654,19 +648,19 @@ const deserializeAws_restJson1GetImportFileTaskCommandError = async (output, con
654
648
  switch (errorCode) {
655
649
  case "AccessDeniedException":
656
650
  case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
657
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
651
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
658
652
  case "InternalServerException":
659
653
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
660
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
654
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
661
655
  case "ResourceNotFoundException":
662
656
  case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
663
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
657
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
664
658
  case "ThrottlingException":
665
659
  case "com.amazonaws.migrationhubstrategy#ThrottlingException":
666
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
660
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
667
661
  case "ValidationException":
668
662
  case "com.amazonaws.migrationhubstrategy#ValidationException":
669
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
663
+ throw await de_ValidationExceptionRes(parsedOutput, context);
670
664
  default:
671
665
  const parsedBody = parsedOutput.body;
672
666
  (0, smithy_client_1.throwDefaultError)({
@@ -677,9 +671,9 @@ const deserializeAws_restJson1GetImportFileTaskCommandError = async (output, con
677
671
  });
678
672
  }
679
673
  };
680
- const deserializeAws_restJson1GetLatestAssessmentIdCommand = async (output, context) => {
674
+ const de_GetLatestAssessmentIdCommand = async (output, context) => {
681
675
  if (output.statusCode !== 200 && output.statusCode >= 300) {
682
- return deserializeAws_restJson1GetLatestAssessmentIdCommandError(output, context);
676
+ return de_GetLatestAssessmentIdCommandError(output, context);
683
677
  }
684
678
  const contents = map({
685
679
  $metadata: deserializeMetadata(output),
@@ -690,8 +684,8 @@ const deserializeAws_restJson1GetLatestAssessmentIdCommand = async (output, cont
690
684
  }
691
685
  return contents;
692
686
  };
693
- exports.deserializeAws_restJson1GetLatestAssessmentIdCommand = deserializeAws_restJson1GetLatestAssessmentIdCommand;
694
- const deserializeAws_restJson1GetLatestAssessmentIdCommandError = async (output, context) => {
687
+ exports.de_GetLatestAssessmentIdCommand = de_GetLatestAssessmentIdCommand;
688
+ const de_GetLatestAssessmentIdCommandError = async (output, context) => {
695
689
  const parsedOutput = {
696
690
  ...output,
697
691
  body: await parseErrorBody(output.body, context),
@@ -700,16 +694,16 @@ const deserializeAws_restJson1GetLatestAssessmentIdCommandError = async (output,
700
694
  switch (errorCode) {
701
695
  case "AccessDeniedException":
702
696
  case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
703
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
697
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
704
698
  case "DependencyException":
705
699
  case "com.amazonaws.migrationhubstrategy#DependencyException":
706
- throw await deserializeAws_restJson1DependencyExceptionResponse(parsedOutput, context);
700
+ throw await de_DependencyExceptionRes(parsedOutput, context);
707
701
  case "InternalServerException":
708
702
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
709
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
703
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
710
704
  case "ValidationException":
711
705
  case "com.amazonaws.migrationhubstrategy#ValidationException":
712
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
706
+ throw await de_ValidationExceptionRes(parsedOutput, context);
713
707
  default:
714
708
  const parsedBody = parsedOutput.body;
715
709
  (0, smithy_client_1.throwDefaultError)({
@@ -720,9 +714,9 @@ const deserializeAws_restJson1GetLatestAssessmentIdCommandError = async (output,
720
714
  });
721
715
  }
722
716
  };
723
- const deserializeAws_restJson1GetPortfolioPreferencesCommand = async (output, context) => {
717
+ const de_GetPortfolioPreferencesCommand = async (output, context) => {
724
718
  if (output.statusCode !== 200 && output.statusCode >= 300) {
725
- return deserializeAws_restJson1GetPortfolioPreferencesCommandError(output, context);
719
+ return de_GetPortfolioPreferencesCommandError(output, context);
726
720
  }
727
721
  const contents = map({
728
722
  $metadata: deserializeMetadata(output),
@@ -732,18 +726,18 @@ const deserializeAws_restJson1GetPortfolioPreferencesCommand = async (output, co
732
726
  contents.applicationMode = (0, smithy_client_1.expectString)(data.applicationMode);
733
727
  }
734
728
  if (data.applicationPreferences != null) {
735
- contents.applicationPreferences = deserializeAws_restJson1ApplicationPreferences(data.applicationPreferences, context);
729
+ contents.applicationPreferences = de_ApplicationPreferences(data.applicationPreferences, context);
736
730
  }
737
731
  if (data.databasePreferences != null) {
738
- contents.databasePreferences = deserializeAws_restJson1DatabasePreferences(data.databasePreferences, context);
732
+ contents.databasePreferences = de_DatabasePreferences(data.databasePreferences, context);
739
733
  }
740
734
  if (data.prioritizeBusinessGoals != null) {
741
- contents.prioritizeBusinessGoals = deserializeAws_restJson1PrioritizeBusinessGoals(data.prioritizeBusinessGoals, context);
735
+ contents.prioritizeBusinessGoals = de_PrioritizeBusinessGoals(data.prioritizeBusinessGoals, context);
742
736
  }
743
737
  return contents;
744
738
  };
745
- exports.deserializeAws_restJson1GetPortfolioPreferencesCommand = deserializeAws_restJson1GetPortfolioPreferencesCommand;
746
- const deserializeAws_restJson1GetPortfolioPreferencesCommandError = async (output, context) => {
739
+ exports.de_GetPortfolioPreferencesCommand = de_GetPortfolioPreferencesCommand;
740
+ const de_GetPortfolioPreferencesCommandError = async (output, context) => {
747
741
  const parsedOutput = {
748
742
  ...output,
749
743
  body: await parseErrorBody(output.body, context),
@@ -752,16 +746,16 @@ const deserializeAws_restJson1GetPortfolioPreferencesCommandError = async (outpu
752
746
  switch (errorCode) {
753
747
  case "AccessDeniedException":
754
748
  case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
755
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
749
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
756
750
  case "InternalServerException":
757
751
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
758
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
752
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
759
753
  case "ResourceNotFoundException":
760
754
  case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
761
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
755
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
762
756
  case "ThrottlingException":
763
757
  case "com.amazonaws.migrationhubstrategy#ThrottlingException":
764
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
758
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
765
759
  default:
766
760
  const parsedBody = parsedOutput.body;
767
761
  (0, smithy_client_1.throwDefaultError)({
@@ -772,21 +766,21 @@ const deserializeAws_restJson1GetPortfolioPreferencesCommandError = async (outpu
772
766
  });
773
767
  }
774
768
  };
775
- const deserializeAws_restJson1GetPortfolioSummaryCommand = async (output, context) => {
769
+ const de_GetPortfolioSummaryCommand = async (output, context) => {
776
770
  if (output.statusCode !== 200 && output.statusCode >= 300) {
777
- return deserializeAws_restJson1GetPortfolioSummaryCommandError(output, context);
771
+ return de_GetPortfolioSummaryCommandError(output, context);
778
772
  }
779
773
  const contents = map({
780
774
  $metadata: deserializeMetadata(output),
781
775
  });
782
776
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
783
777
  if (data.assessmentSummary != null) {
784
- contents.assessmentSummary = deserializeAws_restJson1AssessmentSummary(data.assessmentSummary, context);
778
+ contents.assessmentSummary = de_AssessmentSummary(data.assessmentSummary, context);
785
779
  }
786
780
  return contents;
787
781
  };
788
- exports.deserializeAws_restJson1GetPortfolioSummaryCommand = deserializeAws_restJson1GetPortfolioSummaryCommand;
789
- const deserializeAws_restJson1GetPortfolioSummaryCommandError = async (output, context) => {
782
+ exports.de_GetPortfolioSummaryCommand = de_GetPortfolioSummaryCommand;
783
+ const de_GetPortfolioSummaryCommandError = async (output, context) => {
790
784
  const parsedOutput = {
791
785
  ...output,
792
786
  body: await parseErrorBody(output.body, context),
@@ -795,13 +789,13 @@ const deserializeAws_restJson1GetPortfolioSummaryCommandError = async (output, c
795
789
  switch (errorCode) {
796
790
  case "AccessDeniedException":
797
791
  case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
798
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
792
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
799
793
  case "InternalServerException":
800
794
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
801
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
795
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
802
796
  case "ThrottlingException":
803
797
  case "com.amazonaws.migrationhubstrategy#ThrottlingException":
804
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
798
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
805
799
  default:
806
800
  const parsedBody = parsedOutput.body;
807
801
  (0, smithy_client_1.throwDefaultError)({
@@ -812,9 +806,9 @@ const deserializeAws_restJson1GetPortfolioSummaryCommandError = async (output, c
812
806
  });
813
807
  }
814
808
  };
815
- const deserializeAws_restJson1GetRecommendationReportDetailsCommand = async (output, context) => {
809
+ const de_GetRecommendationReportDetailsCommand = async (output, context) => {
816
810
  if (output.statusCode !== 200 && output.statusCode >= 300) {
817
- return deserializeAws_restJson1GetRecommendationReportDetailsCommandError(output, context);
811
+ return de_GetRecommendationReportDetailsCommandError(output, context);
818
812
  }
819
813
  const contents = map({
820
814
  $metadata: deserializeMetadata(output),
@@ -824,12 +818,12 @@ const deserializeAws_restJson1GetRecommendationReportDetailsCommand = async (out
824
818
  contents.id = (0, smithy_client_1.expectString)(data.id);
825
819
  }
826
820
  if (data.recommendationReportDetails != null) {
827
- contents.recommendationReportDetails = deserializeAws_restJson1RecommendationReportDetails(data.recommendationReportDetails, context);
821
+ contents.recommendationReportDetails = de_RecommendationReportDetails(data.recommendationReportDetails, context);
828
822
  }
829
823
  return contents;
830
824
  };
831
- exports.deserializeAws_restJson1GetRecommendationReportDetailsCommand = deserializeAws_restJson1GetRecommendationReportDetailsCommand;
832
- const deserializeAws_restJson1GetRecommendationReportDetailsCommandError = async (output, context) => {
825
+ exports.de_GetRecommendationReportDetailsCommand = de_GetRecommendationReportDetailsCommand;
826
+ const de_GetRecommendationReportDetailsCommandError = async (output, context) => {
833
827
  const parsedOutput = {
834
828
  ...output,
835
829
  body: await parseErrorBody(output.body, context),
@@ -838,19 +832,19 @@ const deserializeAws_restJson1GetRecommendationReportDetailsCommandError = async
838
832
  switch (errorCode) {
839
833
  case "AccessDeniedException":
840
834
  case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
841
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
835
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
842
836
  case "InternalServerException":
843
837
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
844
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
838
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
845
839
  case "ResourceNotFoundException":
846
840
  case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
847
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
841
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
848
842
  case "ThrottlingException":
849
843
  case "com.amazonaws.migrationhubstrategy#ThrottlingException":
850
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
844
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
851
845
  case "ValidationException":
852
846
  case "com.amazonaws.migrationhubstrategy#ValidationException":
853
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
847
+ throw await de_ValidationExceptionRes(parsedOutput, context);
854
848
  default:
855
849
  const parsedBody = parsedOutput.body;
856
850
  (0, smithy_client_1.throwDefaultError)({
@@ -861,27 +855,27 @@ const deserializeAws_restJson1GetRecommendationReportDetailsCommandError = async
861
855
  });
862
856
  }
863
857
  };
864
- const deserializeAws_restJson1GetServerDetailsCommand = async (output, context) => {
858
+ const de_GetServerDetailsCommand = async (output, context) => {
865
859
  if (output.statusCode !== 200 && output.statusCode >= 300) {
866
- return deserializeAws_restJson1GetServerDetailsCommandError(output, context);
860
+ return de_GetServerDetailsCommandError(output, context);
867
861
  }
868
862
  const contents = map({
869
863
  $metadata: deserializeMetadata(output),
870
864
  });
871
865
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
872
866
  if (data.associatedApplications != null) {
873
- contents.associatedApplications = deserializeAws_restJson1AssociatedApplications(data.associatedApplications, context);
867
+ contents.associatedApplications = de_AssociatedApplications(data.associatedApplications, context);
874
868
  }
875
869
  if (data.nextToken != null) {
876
870
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
877
871
  }
878
872
  if (data.serverDetail != null) {
879
- contents.serverDetail = deserializeAws_restJson1ServerDetail(data.serverDetail, context);
873
+ contents.serverDetail = de_ServerDetail(data.serverDetail, context);
880
874
  }
881
875
  return contents;
882
876
  };
883
- exports.deserializeAws_restJson1GetServerDetailsCommand = deserializeAws_restJson1GetServerDetailsCommand;
884
- const deserializeAws_restJson1GetServerDetailsCommandError = async (output, context) => {
877
+ exports.de_GetServerDetailsCommand = de_GetServerDetailsCommand;
878
+ const de_GetServerDetailsCommandError = async (output, context) => {
885
879
  const parsedOutput = {
886
880
  ...output,
887
881
  body: await parseErrorBody(output.body, context),
@@ -890,19 +884,19 @@ const deserializeAws_restJson1GetServerDetailsCommandError = async (output, cont
890
884
  switch (errorCode) {
891
885
  case "AccessDeniedException":
892
886
  case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
893
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
887
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
894
888
  case "InternalServerException":
895
889
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
896
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
890
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
897
891
  case "ResourceNotFoundException":
898
892
  case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
899
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
893
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
900
894
  case "ThrottlingException":
901
895
  case "com.amazonaws.migrationhubstrategy#ThrottlingException":
902
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
896
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
903
897
  case "ValidationException":
904
898
  case "com.amazonaws.migrationhubstrategy#ValidationException":
905
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
899
+ throw await de_ValidationExceptionRes(parsedOutput, context);
906
900
  default:
907
901
  const parsedBody = parsedOutput.body;
908
902
  (0, smithy_client_1.throwDefaultError)({
@@ -913,21 +907,21 @@ const deserializeAws_restJson1GetServerDetailsCommandError = async (output, cont
913
907
  });
914
908
  }
915
909
  };
916
- const deserializeAws_restJson1GetServerStrategiesCommand = async (output, context) => {
910
+ const de_GetServerStrategiesCommand = async (output, context) => {
917
911
  if (output.statusCode !== 200 && output.statusCode >= 300) {
918
- return deserializeAws_restJson1GetServerStrategiesCommandError(output, context);
912
+ return de_GetServerStrategiesCommandError(output, context);
919
913
  }
920
914
  const contents = map({
921
915
  $metadata: deserializeMetadata(output),
922
916
  });
923
917
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
924
918
  if (data.serverStrategies != null) {
925
- contents.serverStrategies = deserializeAws_restJson1ServerStrategies(data.serverStrategies, context);
919
+ contents.serverStrategies = de_ServerStrategies(data.serverStrategies, context);
926
920
  }
927
921
  return contents;
928
922
  };
929
- exports.deserializeAws_restJson1GetServerStrategiesCommand = deserializeAws_restJson1GetServerStrategiesCommand;
930
- const deserializeAws_restJson1GetServerStrategiesCommandError = async (output, context) => {
923
+ exports.de_GetServerStrategiesCommand = de_GetServerStrategiesCommand;
924
+ const de_GetServerStrategiesCommandError = async (output, context) => {
931
925
  const parsedOutput = {
932
926
  ...output,
933
927
  body: await parseErrorBody(output.body, context),
@@ -936,19 +930,19 @@ const deserializeAws_restJson1GetServerStrategiesCommandError = async (output, c
936
930
  switch (errorCode) {
937
931
  case "AccessDeniedException":
938
932
  case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
939
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
933
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
940
934
  case "InternalServerException":
941
935
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
942
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
936
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
943
937
  case "ResourceNotFoundException":
944
938
  case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
945
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
939
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
946
940
  case "ThrottlingException":
947
941
  case "com.amazonaws.migrationhubstrategy#ThrottlingException":
948
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
942
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
949
943
  case "ValidationException":
950
944
  case "com.amazonaws.migrationhubstrategy#ValidationException":
951
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
945
+ throw await de_ValidationExceptionRes(parsedOutput, context);
952
946
  default:
953
947
  const parsedBody = parsedOutput.body;
954
948
  (0, smithy_client_1.throwDefaultError)({
@@ -959,24 +953,24 @@ const deserializeAws_restJson1GetServerStrategiesCommandError = async (output, c
959
953
  });
960
954
  }
961
955
  };
962
- const deserializeAws_restJson1ListApplicationComponentsCommand = async (output, context) => {
956
+ const de_ListApplicationComponentsCommand = async (output, context) => {
963
957
  if (output.statusCode !== 200 && output.statusCode >= 300) {
964
- return deserializeAws_restJson1ListApplicationComponentsCommandError(output, context);
958
+ return de_ListApplicationComponentsCommandError(output, context);
965
959
  }
966
960
  const contents = map({
967
961
  $metadata: deserializeMetadata(output),
968
962
  });
969
963
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
970
964
  if (data.applicationComponentInfos != null) {
971
- contents.applicationComponentInfos = deserializeAws_restJson1ApplicationComponentDetails(data.applicationComponentInfos, context);
965
+ contents.applicationComponentInfos = de_ApplicationComponentDetails(data.applicationComponentInfos, context);
972
966
  }
973
967
  if (data.nextToken != null) {
974
968
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
975
969
  }
976
970
  return contents;
977
971
  };
978
- exports.deserializeAws_restJson1ListApplicationComponentsCommand = deserializeAws_restJson1ListApplicationComponentsCommand;
979
- const deserializeAws_restJson1ListApplicationComponentsCommandError = async (output, context) => {
972
+ exports.de_ListApplicationComponentsCommand = de_ListApplicationComponentsCommand;
973
+ const de_ListApplicationComponentsCommandError = async (output, context) => {
980
974
  const parsedOutput = {
981
975
  ...output,
982
976
  body: await parseErrorBody(output.body, context),
@@ -985,16 +979,16 @@ const deserializeAws_restJson1ListApplicationComponentsCommandError = async (out
985
979
  switch (errorCode) {
986
980
  case "AccessDeniedException":
987
981
  case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
988
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
982
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
989
983
  case "InternalServerException":
990
984
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
991
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
985
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
992
986
  case "ServiceLinkedRoleLockClientException":
993
987
  case "com.amazonaws.migrationhubstrategy#ServiceLinkedRoleLockClientException":
994
- throw await deserializeAws_restJson1ServiceLinkedRoleLockClientExceptionResponse(parsedOutput, context);
988
+ throw await de_ServiceLinkedRoleLockClientExceptionRes(parsedOutput, context);
995
989
  case "ValidationException":
996
990
  case "com.amazonaws.migrationhubstrategy#ValidationException":
997
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
991
+ throw await de_ValidationExceptionRes(parsedOutput, context);
998
992
  default:
999
993
  const parsedBody = parsedOutput.body;
1000
994
  (0, smithy_client_1.throwDefaultError)({
@@ -1005,24 +999,24 @@ const deserializeAws_restJson1ListApplicationComponentsCommandError = async (out
1005
999
  });
1006
1000
  }
1007
1001
  };
1008
- const deserializeAws_restJson1ListCollectorsCommand = async (output, context) => {
1002
+ const de_ListCollectorsCommand = async (output, context) => {
1009
1003
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1010
- return deserializeAws_restJson1ListCollectorsCommandError(output, context);
1004
+ return de_ListCollectorsCommandError(output, context);
1011
1005
  }
1012
1006
  const contents = map({
1013
1007
  $metadata: deserializeMetadata(output),
1014
1008
  });
1015
1009
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1016
1010
  if (data.Collectors != null) {
1017
- contents.Collectors = deserializeAws_restJson1Collectors(data.Collectors, context);
1011
+ contents.Collectors = de_Collectors(data.Collectors, context);
1018
1012
  }
1019
1013
  if (data.nextToken != null) {
1020
1014
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1021
1015
  }
1022
1016
  return contents;
1023
1017
  };
1024
- exports.deserializeAws_restJson1ListCollectorsCommand = deserializeAws_restJson1ListCollectorsCommand;
1025
- const deserializeAws_restJson1ListCollectorsCommandError = async (output, context) => {
1018
+ exports.de_ListCollectorsCommand = de_ListCollectorsCommand;
1019
+ const de_ListCollectorsCommandError = async (output, context) => {
1026
1020
  const parsedOutput = {
1027
1021
  ...output,
1028
1022
  body: await parseErrorBody(output.body, context),
@@ -1031,16 +1025,16 @@ const deserializeAws_restJson1ListCollectorsCommandError = async (output, contex
1031
1025
  switch (errorCode) {
1032
1026
  case "AccessDeniedException":
1033
1027
  case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
1034
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1028
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1035
1029
  case "InternalServerException":
1036
1030
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
1037
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1031
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1038
1032
  case "ThrottlingException":
1039
1033
  case "com.amazonaws.migrationhubstrategy#ThrottlingException":
1040
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1034
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1041
1035
  case "ValidationException":
1042
1036
  case "com.amazonaws.migrationhubstrategy#ValidationException":
1043
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1037
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1044
1038
  default:
1045
1039
  const parsedBody = parsedOutput.body;
1046
1040
  (0, smithy_client_1.throwDefaultError)({
@@ -1051,9 +1045,9 @@ const deserializeAws_restJson1ListCollectorsCommandError = async (output, contex
1051
1045
  });
1052
1046
  }
1053
1047
  };
1054
- const deserializeAws_restJson1ListImportFileTaskCommand = async (output, context) => {
1048
+ const de_ListImportFileTaskCommand = async (output, context) => {
1055
1049
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1056
- return deserializeAws_restJson1ListImportFileTaskCommandError(output, context);
1050
+ return de_ListImportFileTaskCommandError(output, context);
1057
1051
  }
1058
1052
  const contents = map({
1059
1053
  $metadata: deserializeMetadata(output),
@@ -1063,12 +1057,12 @@ const deserializeAws_restJson1ListImportFileTaskCommand = async (output, context
1063
1057
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1064
1058
  }
1065
1059
  if (data.taskInfos != null) {
1066
- contents.taskInfos = deserializeAws_restJson1ListImportFileTaskInformation(data.taskInfos, context);
1060
+ contents.taskInfos = de_ListImportFileTaskInformation(data.taskInfos, context);
1067
1061
  }
1068
1062
  return contents;
1069
1063
  };
1070
- exports.deserializeAws_restJson1ListImportFileTaskCommand = deserializeAws_restJson1ListImportFileTaskCommand;
1071
- const deserializeAws_restJson1ListImportFileTaskCommandError = async (output, context) => {
1064
+ exports.de_ListImportFileTaskCommand = de_ListImportFileTaskCommand;
1065
+ const de_ListImportFileTaskCommandError = async (output, context) => {
1072
1066
  const parsedOutput = {
1073
1067
  ...output,
1074
1068
  body: await parseErrorBody(output.body, context),
@@ -1077,16 +1071,16 @@ const deserializeAws_restJson1ListImportFileTaskCommandError = async (output, co
1077
1071
  switch (errorCode) {
1078
1072
  case "AccessDeniedException":
1079
1073
  case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
1080
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1074
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1081
1075
  case "InternalServerException":
1082
1076
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
1083
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1077
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1084
1078
  case "ThrottlingException":
1085
1079
  case "com.amazonaws.migrationhubstrategy#ThrottlingException":
1086
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1080
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1087
1081
  case "ValidationException":
1088
1082
  case "com.amazonaws.migrationhubstrategy#ValidationException":
1089
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1083
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1090
1084
  default:
1091
1085
  const parsedBody = parsedOutput.body;
1092
1086
  (0, smithy_client_1.throwDefaultError)({
@@ -1097,9 +1091,9 @@ const deserializeAws_restJson1ListImportFileTaskCommandError = async (output, co
1097
1091
  });
1098
1092
  }
1099
1093
  };
1100
- const deserializeAws_restJson1ListServersCommand = async (output, context) => {
1094
+ const de_ListServersCommand = async (output, context) => {
1101
1095
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1102
- return deserializeAws_restJson1ListServersCommandError(output, context);
1096
+ return de_ListServersCommandError(output, context);
1103
1097
  }
1104
1098
  const contents = map({
1105
1099
  $metadata: deserializeMetadata(output),
@@ -1109,12 +1103,12 @@ const deserializeAws_restJson1ListServersCommand = async (output, context) => {
1109
1103
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1110
1104
  }
1111
1105
  if (data.serverInfos != null) {
1112
- contents.serverInfos = deserializeAws_restJson1ServerDetails(data.serverInfos, context);
1106
+ contents.serverInfos = de_ServerDetails(data.serverInfos, context);
1113
1107
  }
1114
1108
  return contents;
1115
1109
  };
1116
- exports.deserializeAws_restJson1ListServersCommand = deserializeAws_restJson1ListServersCommand;
1117
- const deserializeAws_restJson1ListServersCommandError = async (output, context) => {
1110
+ exports.de_ListServersCommand = de_ListServersCommand;
1111
+ const de_ListServersCommandError = async (output, context) => {
1118
1112
  const parsedOutput = {
1119
1113
  ...output,
1120
1114
  body: await parseErrorBody(output.body, context),
@@ -1123,16 +1117,16 @@ const deserializeAws_restJson1ListServersCommandError = async (output, context)
1123
1117
  switch (errorCode) {
1124
1118
  case "AccessDeniedException":
1125
1119
  case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
1126
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1120
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1127
1121
  case "InternalServerException":
1128
1122
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
1129
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1123
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1130
1124
  case "ThrottlingException":
1131
1125
  case "com.amazonaws.migrationhubstrategy#ThrottlingException":
1132
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1126
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1133
1127
  case "ValidationException":
1134
1128
  case "com.amazonaws.migrationhubstrategy#ValidationException":
1135
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1129
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1136
1130
  default:
1137
1131
  const parsedBody = parsedOutput.body;
1138
1132
  (0, smithy_client_1.throwDefaultError)({
@@ -1143,9 +1137,9 @@ const deserializeAws_restJson1ListServersCommandError = async (output, context)
1143
1137
  });
1144
1138
  }
1145
1139
  };
1146
- const deserializeAws_restJson1PutPortfolioPreferencesCommand = async (output, context) => {
1140
+ const de_PutPortfolioPreferencesCommand = async (output, context) => {
1147
1141
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1148
- return deserializeAws_restJson1PutPortfolioPreferencesCommandError(output, context);
1142
+ return de_PutPortfolioPreferencesCommandError(output, context);
1149
1143
  }
1150
1144
  const contents = map({
1151
1145
  $metadata: deserializeMetadata(output),
@@ -1153,8 +1147,8 @@ const deserializeAws_restJson1PutPortfolioPreferencesCommand = async (output, co
1153
1147
  await collectBody(output.body, context);
1154
1148
  return contents;
1155
1149
  };
1156
- exports.deserializeAws_restJson1PutPortfolioPreferencesCommand = deserializeAws_restJson1PutPortfolioPreferencesCommand;
1157
- const deserializeAws_restJson1PutPortfolioPreferencesCommandError = async (output, context) => {
1150
+ exports.de_PutPortfolioPreferencesCommand = de_PutPortfolioPreferencesCommand;
1151
+ const de_PutPortfolioPreferencesCommandError = async (output, context) => {
1158
1152
  const parsedOutput = {
1159
1153
  ...output,
1160
1154
  body: await parseErrorBody(output.body, context),
@@ -1163,19 +1157,19 @@ const deserializeAws_restJson1PutPortfolioPreferencesCommandError = async (outpu
1163
1157
  switch (errorCode) {
1164
1158
  case "AccessDeniedException":
1165
1159
  case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
1166
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1160
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1167
1161
  case "ConflictException":
1168
1162
  case "com.amazonaws.migrationhubstrategy#ConflictException":
1169
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1163
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1170
1164
  case "InternalServerException":
1171
1165
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
1172
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1166
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1173
1167
  case "ThrottlingException":
1174
1168
  case "com.amazonaws.migrationhubstrategy#ThrottlingException":
1175
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1169
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1176
1170
  case "ValidationException":
1177
1171
  case "com.amazonaws.migrationhubstrategy#ValidationException":
1178
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1172
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1179
1173
  default:
1180
1174
  const parsedBody = parsedOutput.body;
1181
1175
  (0, smithy_client_1.throwDefaultError)({
@@ -1186,9 +1180,9 @@ const deserializeAws_restJson1PutPortfolioPreferencesCommandError = async (outpu
1186
1180
  });
1187
1181
  }
1188
1182
  };
1189
- const deserializeAws_restJson1StartAssessmentCommand = async (output, context) => {
1183
+ const de_StartAssessmentCommand = async (output, context) => {
1190
1184
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1191
- return deserializeAws_restJson1StartAssessmentCommandError(output, context);
1185
+ return de_StartAssessmentCommandError(output, context);
1192
1186
  }
1193
1187
  const contents = map({
1194
1188
  $metadata: deserializeMetadata(output),
@@ -1199,8 +1193,8 @@ const deserializeAws_restJson1StartAssessmentCommand = async (output, context) =
1199
1193
  }
1200
1194
  return contents;
1201
1195
  };
1202
- exports.deserializeAws_restJson1StartAssessmentCommand = deserializeAws_restJson1StartAssessmentCommand;
1203
- const deserializeAws_restJson1StartAssessmentCommandError = async (output, context) => {
1196
+ exports.de_StartAssessmentCommand = de_StartAssessmentCommand;
1197
+ const de_StartAssessmentCommandError = async (output, context) => {
1204
1198
  const parsedOutput = {
1205
1199
  ...output,
1206
1200
  body: await parseErrorBody(output.body, context),
@@ -1209,16 +1203,16 @@ const deserializeAws_restJson1StartAssessmentCommandError = async (output, conte
1209
1203
  switch (errorCode) {
1210
1204
  case "AccessDeniedException":
1211
1205
  case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
1212
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1206
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1213
1207
  case "InternalServerException":
1214
1208
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
1215
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1209
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1216
1210
  case "ServiceQuotaExceededException":
1217
1211
  case "com.amazonaws.migrationhubstrategy#ServiceQuotaExceededException":
1218
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1212
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1219
1213
  case "ThrottlingException":
1220
1214
  case "com.amazonaws.migrationhubstrategy#ThrottlingException":
1221
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1215
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1222
1216
  default:
1223
1217
  const parsedBody = parsedOutput.body;
1224
1218
  (0, smithy_client_1.throwDefaultError)({
@@ -1229,9 +1223,9 @@ const deserializeAws_restJson1StartAssessmentCommandError = async (output, conte
1229
1223
  });
1230
1224
  }
1231
1225
  };
1232
- const deserializeAws_restJson1StartImportFileTaskCommand = async (output, context) => {
1226
+ const de_StartImportFileTaskCommand = async (output, context) => {
1233
1227
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1234
- return deserializeAws_restJson1StartImportFileTaskCommandError(output, context);
1228
+ return de_StartImportFileTaskCommandError(output, context);
1235
1229
  }
1236
1230
  const contents = map({
1237
1231
  $metadata: deserializeMetadata(output),
@@ -1242,8 +1236,8 @@ const deserializeAws_restJson1StartImportFileTaskCommand = async (output, contex
1242
1236
  }
1243
1237
  return contents;
1244
1238
  };
1245
- exports.deserializeAws_restJson1StartImportFileTaskCommand = deserializeAws_restJson1StartImportFileTaskCommand;
1246
- const deserializeAws_restJson1StartImportFileTaskCommandError = async (output, context) => {
1239
+ exports.de_StartImportFileTaskCommand = de_StartImportFileTaskCommand;
1240
+ const de_StartImportFileTaskCommandError = async (output, context) => {
1247
1241
  const parsedOutput = {
1248
1242
  ...output,
1249
1243
  body: await parseErrorBody(output.body, context),
@@ -1252,19 +1246,19 @@ const deserializeAws_restJson1StartImportFileTaskCommandError = async (output, c
1252
1246
  switch (errorCode) {
1253
1247
  case "AccessDeniedException":
1254
1248
  case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
1255
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1249
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1256
1250
  case "InternalServerException":
1257
1251
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
1258
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1252
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1259
1253
  case "ServiceQuotaExceededException":
1260
1254
  case "com.amazonaws.migrationhubstrategy#ServiceQuotaExceededException":
1261
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1255
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1262
1256
  case "ThrottlingException":
1263
1257
  case "com.amazonaws.migrationhubstrategy#ThrottlingException":
1264
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1258
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1265
1259
  case "ValidationException":
1266
1260
  case "com.amazonaws.migrationhubstrategy#ValidationException":
1267
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1261
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1268
1262
  default:
1269
1263
  const parsedBody = parsedOutput.body;
1270
1264
  (0, smithy_client_1.throwDefaultError)({
@@ -1275,9 +1269,9 @@ const deserializeAws_restJson1StartImportFileTaskCommandError = async (output, c
1275
1269
  });
1276
1270
  }
1277
1271
  };
1278
- const deserializeAws_restJson1StartRecommendationReportGenerationCommand = async (output, context) => {
1272
+ const de_StartRecommendationReportGenerationCommand = async (output, context) => {
1279
1273
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1280
- return deserializeAws_restJson1StartRecommendationReportGenerationCommandError(output, context);
1274
+ return de_StartRecommendationReportGenerationCommandError(output, context);
1281
1275
  }
1282
1276
  const contents = map({
1283
1277
  $metadata: deserializeMetadata(output),
@@ -1288,8 +1282,8 @@ const deserializeAws_restJson1StartRecommendationReportGenerationCommand = async
1288
1282
  }
1289
1283
  return contents;
1290
1284
  };
1291
- exports.deserializeAws_restJson1StartRecommendationReportGenerationCommand = deserializeAws_restJson1StartRecommendationReportGenerationCommand;
1292
- const deserializeAws_restJson1StartRecommendationReportGenerationCommandError = async (output, context) => {
1285
+ exports.de_StartRecommendationReportGenerationCommand = de_StartRecommendationReportGenerationCommand;
1286
+ const de_StartRecommendationReportGenerationCommandError = async (output, context) => {
1293
1287
  const parsedOutput = {
1294
1288
  ...output,
1295
1289
  body: await parseErrorBody(output.body, context),
@@ -1298,19 +1292,19 @@ const deserializeAws_restJson1StartRecommendationReportGenerationCommandError =
1298
1292
  switch (errorCode) {
1299
1293
  case "AccessDeniedException":
1300
1294
  case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
1301
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1295
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1302
1296
  case "ConflictException":
1303
1297
  case "com.amazonaws.migrationhubstrategy#ConflictException":
1304
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1298
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1305
1299
  case "InternalServerException":
1306
1300
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
1307
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1301
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1308
1302
  case "ThrottlingException":
1309
1303
  case "com.amazonaws.migrationhubstrategy#ThrottlingException":
1310
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1304
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1311
1305
  case "ValidationException":
1312
1306
  case "com.amazonaws.migrationhubstrategy#ValidationException":
1313
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1307
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1314
1308
  default:
1315
1309
  const parsedBody = parsedOutput.body;
1316
1310
  (0, smithy_client_1.throwDefaultError)({
@@ -1321,9 +1315,9 @@ const deserializeAws_restJson1StartRecommendationReportGenerationCommandError =
1321
1315
  });
1322
1316
  }
1323
1317
  };
1324
- const deserializeAws_restJson1StopAssessmentCommand = async (output, context) => {
1318
+ const de_StopAssessmentCommand = async (output, context) => {
1325
1319
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1326
- return deserializeAws_restJson1StopAssessmentCommandError(output, context);
1320
+ return de_StopAssessmentCommandError(output, context);
1327
1321
  }
1328
1322
  const contents = map({
1329
1323
  $metadata: deserializeMetadata(output),
@@ -1331,8 +1325,8 @@ const deserializeAws_restJson1StopAssessmentCommand = async (output, context) =>
1331
1325
  await collectBody(output.body, context);
1332
1326
  return contents;
1333
1327
  };
1334
- exports.deserializeAws_restJson1StopAssessmentCommand = deserializeAws_restJson1StopAssessmentCommand;
1335
- const deserializeAws_restJson1StopAssessmentCommandError = async (output, context) => {
1328
+ exports.de_StopAssessmentCommand = de_StopAssessmentCommand;
1329
+ const de_StopAssessmentCommandError = async (output, context) => {
1336
1330
  const parsedOutput = {
1337
1331
  ...output,
1338
1332
  body: await parseErrorBody(output.body, context),
@@ -1341,16 +1335,16 @@ const deserializeAws_restJson1StopAssessmentCommandError = async (output, contex
1341
1335
  switch (errorCode) {
1342
1336
  case "AccessDeniedException":
1343
1337
  case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
1344
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1338
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1345
1339
  case "InternalServerException":
1346
1340
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
1347
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1341
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1348
1342
  case "ThrottlingException":
1349
1343
  case "com.amazonaws.migrationhubstrategy#ThrottlingException":
1350
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1344
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1351
1345
  case "ValidationException":
1352
1346
  case "com.amazonaws.migrationhubstrategy#ValidationException":
1353
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1347
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1354
1348
  default:
1355
1349
  const parsedBody = parsedOutput.body;
1356
1350
  (0, smithy_client_1.throwDefaultError)({
@@ -1361,9 +1355,9 @@ const deserializeAws_restJson1StopAssessmentCommandError = async (output, contex
1361
1355
  });
1362
1356
  }
1363
1357
  };
1364
- const deserializeAws_restJson1UpdateApplicationComponentConfigCommand = async (output, context) => {
1358
+ const de_UpdateApplicationComponentConfigCommand = async (output, context) => {
1365
1359
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1366
- return deserializeAws_restJson1UpdateApplicationComponentConfigCommandError(output, context);
1360
+ return de_UpdateApplicationComponentConfigCommandError(output, context);
1367
1361
  }
1368
1362
  const contents = map({
1369
1363
  $metadata: deserializeMetadata(output),
@@ -1371,8 +1365,8 @@ const deserializeAws_restJson1UpdateApplicationComponentConfigCommand = async (o
1371
1365
  await collectBody(output.body, context);
1372
1366
  return contents;
1373
1367
  };
1374
- exports.deserializeAws_restJson1UpdateApplicationComponentConfigCommand = deserializeAws_restJson1UpdateApplicationComponentConfigCommand;
1375
- const deserializeAws_restJson1UpdateApplicationComponentConfigCommandError = async (output, context) => {
1368
+ exports.de_UpdateApplicationComponentConfigCommand = de_UpdateApplicationComponentConfigCommand;
1369
+ const de_UpdateApplicationComponentConfigCommandError = async (output, context) => {
1376
1370
  const parsedOutput = {
1377
1371
  ...output,
1378
1372
  body: await parseErrorBody(output.body, context),
@@ -1381,16 +1375,16 @@ const deserializeAws_restJson1UpdateApplicationComponentConfigCommandError = asy
1381
1375
  switch (errorCode) {
1382
1376
  case "InternalServerException":
1383
1377
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
1384
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1378
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1385
1379
  case "ResourceNotFoundException":
1386
1380
  case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
1387
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1381
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1388
1382
  case "ThrottlingException":
1389
1383
  case "com.amazonaws.migrationhubstrategy#ThrottlingException":
1390
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1384
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1391
1385
  case "ValidationException":
1392
1386
  case "com.amazonaws.migrationhubstrategy#ValidationException":
1393
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1387
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1394
1388
  default:
1395
1389
  const parsedBody = parsedOutput.body;
1396
1390
  (0, smithy_client_1.throwDefaultError)({
@@ -1401,9 +1395,9 @@ const deserializeAws_restJson1UpdateApplicationComponentConfigCommandError = asy
1401
1395
  });
1402
1396
  }
1403
1397
  };
1404
- const deserializeAws_restJson1UpdateServerConfigCommand = async (output, context) => {
1398
+ const de_UpdateServerConfigCommand = async (output, context) => {
1405
1399
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1406
- return deserializeAws_restJson1UpdateServerConfigCommandError(output, context);
1400
+ return de_UpdateServerConfigCommandError(output, context);
1407
1401
  }
1408
1402
  const contents = map({
1409
1403
  $metadata: deserializeMetadata(output),
@@ -1411,8 +1405,8 @@ const deserializeAws_restJson1UpdateServerConfigCommand = async (output, context
1411
1405
  await collectBody(output.body, context);
1412
1406
  return contents;
1413
1407
  };
1414
- exports.deserializeAws_restJson1UpdateServerConfigCommand = deserializeAws_restJson1UpdateServerConfigCommand;
1415
- const deserializeAws_restJson1UpdateServerConfigCommandError = async (output, context) => {
1408
+ exports.de_UpdateServerConfigCommand = de_UpdateServerConfigCommand;
1409
+ const de_UpdateServerConfigCommandError = async (output, context) => {
1416
1410
  const parsedOutput = {
1417
1411
  ...output,
1418
1412
  body: await parseErrorBody(output.body, context),
@@ -1421,16 +1415,16 @@ const deserializeAws_restJson1UpdateServerConfigCommandError = async (output, co
1421
1415
  switch (errorCode) {
1422
1416
  case "InternalServerException":
1423
1417
  case "com.amazonaws.migrationhubstrategy#InternalServerException":
1424
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1418
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1425
1419
  case "ResourceNotFoundException":
1426
1420
  case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
1427
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1421
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1428
1422
  case "ThrottlingException":
1429
1423
  case "com.amazonaws.migrationhubstrategy#ThrottlingException":
1430
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1424
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1431
1425
  case "ValidationException":
1432
1426
  case "com.amazonaws.migrationhubstrategy#ValidationException":
1433
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1427
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1434
1428
  default:
1435
1429
  const parsedBody = parsedOutput.body;
1436
1430
  (0, smithy_client_1.throwDefaultError)({
@@ -1442,7 +1436,7 @@ const deserializeAws_restJson1UpdateServerConfigCommandError = async (output, co
1442
1436
  }
1443
1437
  };
1444
1438
  const map = smithy_client_1.map;
1445
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
1439
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1446
1440
  const contents = map({});
1447
1441
  const data = parsedOutput.body;
1448
1442
  if (data.message != null) {
@@ -1454,7 +1448,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
1454
1448
  });
1455
1449
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1456
1450
  };
1457
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
1451
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1458
1452
  const contents = map({});
1459
1453
  const data = parsedOutput.body;
1460
1454
  if (data.message != null) {
@@ -1466,7 +1460,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
1466
1460
  });
1467
1461
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1468
1462
  };
1469
- const deserializeAws_restJson1DependencyExceptionResponse = async (parsedOutput, context) => {
1463
+ const de_DependencyExceptionRes = async (parsedOutput, context) => {
1470
1464
  const contents = map({});
1471
1465
  const data = parsedOutput.body;
1472
1466
  if (data.message != null) {
@@ -1478,7 +1472,7 @@ const deserializeAws_restJson1DependencyExceptionResponse = async (parsedOutput,
1478
1472
  });
1479
1473
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1480
1474
  };
1481
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
1475
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1482
1476
  const contents = map({});
1483
1477
  const data = parsedOutput.body;
1484
1478
  if (data.message != null) {
@@ -1490,7 +1484,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
1490
1484
  });
1491
1485
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1492
1486
  };
1493
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1487
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1494
1488
  const contents = map({});
1495
1489
  const data = parsedOutput.body;
1496
1490
  if (data.message != null) {
@@ -1502,7 +1496,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
1502
1496
  });
1503
1497
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1504
1498
  };
1505
- const deserializeAws_restJson1ServiceLinkedRoleLockClientExceptionResponse = async (parsedOutput, context) => {
1499
+ const de_ServiceLinkedRoleLockClientExceptionRes = async (parsedOutput, context) => {
1506
1500
  const contents = map({});
1507
1501
  const data = parsedOutput.body;
1508
1502
  if (data.message != null) {
@@ -1514,7 +1508,7 @@ const deserializeAws_restJson1ServiceLinkedRoleLockClientExceptionResponse = asy
1514
1508
  });
1515
1509
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1516
1510
  };
1517
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
1511
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1518
1512
  const contents = map({});
1519
1513
  const data = parsedOutput.body;
1520
1514
  if (data.message != null) {
@@ -1526,7 +1520,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
1526
1520
  });
1527
1521
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1528
1522
  };
1529
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
1523
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1530
1524
  const contents = map({});
1531
1525
  const data = parsedOutput.body;
1532
1526
  if (data.message != null) {
@@ -1538,7 +1532,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
1538
1532
  });
1539
1533
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1540
1534
  };
1541
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
1535
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1542
1536
  const contents = map({});
1543
1537
  const data = parsedOutput.body;
1544
1538
  if (data.message != null) {
@@ -1550,49 +1544,49 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
1550
1544
  });
1551
1545
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1552
1546
  };
1553
- const serializeAws_restJson1ApplicationPreferences = (input, context) => {
1547
+ const se_ApplicationPreferences = (input, context) => {
1554
1548
  return {
1555
1549
  ...(input.managementPreference != null && {
1556
- managementPreference: serializeAws_restJson1ManagementPreference(input.managementPreference, context),
1550
+ managementPreference: se_ManagementPreference(input.managementPreference, context),
1557
1551
  }),
1558
1552
  };
1559
1553
  };
1560
- const serializeAws_restJson1AssessmentTarget = (input, context) => {
1554
+ const se_AssessmentTarget = (input, context) => {
1561
1555
  return {
1562
1556
  ...(input.condition != null && { condition: input.condition }),
1563
1557
  ...(input.name != null && { name: input.name }),
1564
- ...(input.values != null && { values: serializeAws_restJson1AssessmentTargetValues(input.values, context) }),
1558
+ ...(input.values != null && { values: se_AssessmentTargetValues(input.values, context) }),
1565
1559
  };
1566
1560
  };
1567
- const serializeAws_restJson1AssessmentTargets = (input, context) => {
1561
+ const se_AssessmentTargets = (input, context) => {
1568
1562
  return input
1569
1563
  .filter((e) => e != null)
1570
1564
  .map((entry) => {
1571
- return serializeAws_restJson1AssessmentTarget(entry, context);
1565
+ return se_AssessmentTarget(entry, context);
1572
1566
  });
1573
1567
  };
1574
- const serializeAws_restJson1AssessmentTargetValues = (input, context) => {
1568
+ const se_AssessmentTargetValues = (input, context) => {
1575
1569
  return input
1576
1570
  .filter((e) => e != null)
1577
1571
  .map((entry) => {
1578
1572
  return entry;
1579
1573
  });
1580
1574
  };
1581
- const serializeAws_restJson1AwsManagedResources = (input, context) => {
1575
+ const se_AwsManagedResources = (input, context) => {
1582
1576
  return {
1583
1577
  ...(input.targetDestination != null && {
1584
- targetDestination: serializeAws_restJson1AwsManagedTargetDestinations(input.targetDestination, context),
1578
+ targetDestination: se_AwsManagedTargetDestinations(input.targetDestination, context),
1585
1579
  }),
1586
1580
  };
1587
1581
  };
1588
- const serializeAws_restJson1AwsManagedTargetDestinations = (input, context) => {
1582
+ const se_AwsManagedTargetDestinations = (input, context) => {
1589
1583
  return input
1590
1584
  .filter((e) => e != null)
1591
1585
  .map((entry) => {
1592
1586
  return entry;
1593
1587
  });
1594
1588
  };
1595
- const serializeAws_restJson1BusinessGoals = (input, context) => {
1589
+ const se_BusinessGoals = (input, context) => {
1596
1590
  return {
1597
1591
  ...(input.licenseCostReduction != null && { licenseCostReduction: input.licenseCostReduction }),
1598
1592
  ...(input.modernizeInfrastructureWithCloudNativeTechnologies != null && {
@@ -1604,120 +1598,114 @@ const serializeAws_restJson1BusinessGoals = (input, context) => {
1604
1598
  ...(input.speedOfMigration != null && { speedOfMigration: input.speedOfMigration }),
1605
1599
  };
1606
1600
  };
1607
- const serializeAws_restJson1DatabaseMigrationPreference = (input, context) => {
1601
+ const se_DatabaseMigrationPreference = (input, context) => {
1608
1602
  return models_0_1.DatabaseMigrationPreference.visit(input, {
1609
- heterogeneous: (value) => ({ heterogeneous: serializeAws_restJson1Heterogeneous(value, context) }),
1610
- homogeneous: (value) => ({ homogeneous: serializeAws_restJson1Homogeneous(value, context) }),
1611
- noPreference: (value) => ({ noPreference: serializeAws_restJson1NoDatabaseMigrationPreference(value, context) }),
1603
+ heterogeneous: (value) => ({ heterogeneous: se_Heterogeneous(value, context) }),
1604
+ homogeneous: (value) => ({ homogeneous: se_Homogeneous(value, context) }),
1605
+ noPreference: (value) => ({ noPreference: se_NoDatabaseMigrationPreference(value, context) }),
1612
1606
  _: (name, value) => ({ name: value }),
1613
1607
  });
1614
1608
  };
1615
- const serializeAws_restJson1DatabasePreferences = (input, context) => {
1609
+ const se_DatabasePreferences = (input, context) => {
1616
1610
  return {
1617
1611
  ...(input.databaseManagementPreference != null && {
1618
1612
  databaseManagementPreference: input.databaseManagementPreference,
1619
1613
  }),
1620
1614
  ...(input.databaseMigrationPreference != null && {
1621
- databaseMigrationPreference: serializeAws_restJson1DatabaseMigrationPreference(input.databaseMigrationPreference, context),
1615
+ databaseMigrationPreference: se_DatabaseMigrationPreference(input.databaseMigrationPreference, context),
1622
1616
  }),
1623
1617
  };
1624
1618
  };
1625
- const serializeAws_restJson1Group = (input, context) => {
1619
+ const se_Group = (input, context) => {
1626
1620
  return {
1627
1621
  ...(input.name != null && { name: input.name }),
1628
1622
  ...(input.value != null && { value: input.value }),
1629
1623
  };
1630
1624
  };
1631
- const serializeAws_restJson1GroupIds = (input, context) => {
1625
+ const se_GroupIds = (input, context) => {
1632
1626
  return input
1633
1627
  .filter((e) => e != null)
1634
1628
  .map((entry) => {
1635
- return serializeAws_restJson1Group(entry, context);
1629
+ return se_Group(entry, context);
1636
1630
  });
1637
1631
  };
1638
- const serializeAws_restJson1Heterogeneous = (input, context) => {
1632
+ const se_Heterogeneous = (input, context) => {
1639
1633
  return {
1640
1634
  ...(input.targetDatabaseEngine != null && {
1641
- targetDatabaseEngine: serializeAws_restJson1HeterogeneousTargetDatabaseEngines(input.targetDatabaseEngine, context),
1635
+ targetDatabaseEngine: se_HeterogeneousTargetDatabaseEngines(input.targetDatabaseEngine, context),
1642
1636
  }),
1643
1637
  };
1644
1638
  };
1645
- const serializeAws_restJson1HeterogeneousTargetDatabaseEngines = (input, context) => {
1639
+ const se_HeterogeneousTargetDatabaseEngines = (input, context) => {
1646
1640
  return input
1647
1641
  .filter((e) => e != null)
1648
1642
  .map((entry) => {
1649
1643
  return entry;
1650
1644
  });
1651
1645
  };
1652
- const serializeAws_restJson1Homogeneous = (input, context) => {
1646
+ const se_Homogeneous = (input, context) => {
1653
1647
  return {
1654
1648
  ...(input.targetDatabaseEngine != null && {
1655
- targetDatabaseEngine: serializeAws_restJson1HomogeneousTargetDatabaseEngines(input.targetDatabaseEngine, context),
1649
+ targetDatabaseEngine: se_HomogeneousTargetDatabaseEngines(input.targetDatabaseEngine, context),
1656
1650
  }),
1657
1651
  };
1658
1652
  };
1659
- const serializeAws_restJson1HomogeneousTargetDatabaseEngines = (input, context) => {
1653
+ const se_HomogeneousTargetDatabaseEngines = (input, context) => {
1660
1654
  return input
1661
1655
  .filter((e) => e != null)
1662
1656
  .map((entry) => {
1663
1657
  return entry;
1664
1658
  });
1665
1659
  };
1666
- const serializeAws_restJson1ManagementPreference = (input, context) => {
1660
+ const se_ManagementPreference = (input, context) => {
1667
1661
  return models_0_1.ManagementPreference.visit(input, {
1668
- awsManagedResources: (value) => ({
1669
- awsManagedResources: serializeAws_restJson1AwsManagedResources(value, context),
1670
- }),
1671
- noPreference: (value) => ({ noPreference: serializeAws_restJson1NoManagementPreference(value, context) }),
1672
- selfManageResources: (value) => ({
1673
- selfManageResources: serializeAws_restJson1SelfManageResources(value, context),
1674
- }),
1662
+ awsManagedResources: (value) => ({ awsManagedResources: se_AwsManagedResources(value, context) }),
1663
+ noPreference: (value) => ({ noPreference: se_NoManagementPreference(value, context) }),
1664
+ selfManageResources: (value) => ({ selfManageResources: se_SelfManageResources(value, context) }),
1675
1665
  _: (name, value) => ({ name: value }),
1676
1666
  });
1677
1667
  };
1678
- const serializeAws_restJson1NoDatabaseMigrationPreference = (input, context) => {
1668
+ const se_NoDatabaseMigrationPreference = (input, context) => {
1679
1669
  return {
1680
1670
  ...(input.targetDatabaseEngine != null && {
1681
- targetDatabaseEngine: serializeAws_restJson1TargetDatabaseEngines(input.targetDatabaseEngine, context),
1671
+ targetDatabaseEngine: se_TargetDatabaseEngines(input.targetDatabaseEngine, context),
1682
1672
  }),
1683
1673
  };
1684
1674
  };
1685
- const serializeAws_restJson1NoManagementPreference = (input, context) => {
1675
+ const se_NoManagementPreference = (input, context) => {
1686
1676
  return {
1687
1677
  ...(input.targetDestination != null && {
1688
- targetDestination: serializeAws_restJson1NoPreferenceTargetDestinations(input.targetDestination, context),
1678
+ targetDestination: se_NoPreferenceTargetDestinations(input.targetDestination, context),
1689
1679
  }),
1690
1680
  };
1691
1681
  };
1692
- const serializeAws_restJson1NoPreferenceTargetDestinations = (input, context) => {
1682
+ const se_NoPreferenceTargetDestinations = (input, context) => {
1693
1683
  return input
1694
1684
  .filter((e) => e != null)
1695
1685
  .map((entry) => {
1696
1686
  return entry;
1697
1687
  });
1698
1688
  };
1699
- const serializeAws_restJson1PrioritizeBusinessGoals = (input, context) => {
1689
+ const se_PrioritizeBusinessGoals = (input, context) => {
1700
1690
  return {
1701
- ...(input.businessGoals != null && {
1702
- businessGoals: serializeAws_restJson1BusinessGoals(input.businessGoals, context),
1703
- }),
1691
+ ...(input.businessGoals != null && { businessGoals: se_BusinessGoals(input.businessGoals, context) }),
1704
1692
  };
1705
1693
  };
1706
- const serializeAws_restJson1SelfManageResources = (input, context) => {
1694
+ const se_SelfManageResources = (input, context) => {
1707
1695
  return {
1708
1696
  ...(input.targetDestination != null && {
1709
- targetDestination: serializeAws_restJson1SelfManageTargetDestinations(input.targetDestination, context),
1697
+ targetDestination: se_SelfManageTargetDestinations(input.targetDestination, context),
1710
1698
  }),
1711
1699
  };
1712
1700
  };
1713
- const serializeAws_restJson1SelfManageTargetDestinations = (input, context) => {
1701
+ const se_SelfManageTargetDestinations = (input, context) => {
1714
1702
  return input
1715
1703
  .filter((e) => e != null)
1716
1704
  .map((entry) => {
1717
1705
  return entry;
1718
1706
  });
1719
1707
  };
1720
- const serializeAws_restJson1SourceCode = (input, context) => {
1708
+ const se_SourceCode = (input, context) => {
1721
1709
  return {
1722
1710
  ...(input.location != null && { location: input.location }),
1723
1711
  ...(input.projectName != null && { projectName: input.projectName }),
@@ -1725,14 +1713,14 @@ const serializeAws_restJson1SourceCode = (input, context) => {
1725
1713
  ...(input.versionControl != null && { versionControl: input.versionControl }),
1726
1714
  };
1727
1715
  };
1728
- const serializeAws_restJson1SourceCodeList = (input, context) => {
1716
+ const se_SourceCodeList = (input, context) => {
1729
1717
  return input
1730
1718
  .filter((e) => e != null)
1731
1719
  .map((entry) => {
1732
- return serializeAws_restJson1SourceCode(entry, context);
1720
+ return se_SourceCode(entry, context);
1733
1721
  });
1734
1722
  };
1735
- const serializeAws_restJson1StrategyOption = (input, context) => {
1723
+ const se_StrategyOption = (input, context) => {
1736
1724
  return {
1737
1725
  ...(input.isPreferred != null && { isPreferred: input.isPreferred }),
1738
1726
  ...(input.strategy != null && { strategy: input.strategy }),
@@ -1740,14 +1728,14 @@ const serializeAws_restJson1StrategyOption = (input, context) => {
1740
1728
  ...(input.toolName != null && { toolName: input.toolName }),
1741
1729
  };
1742
1730
  };
1743
- const serializeAws_restJson1TargetDatabaseEngines = (input, context) => {
1731
+ const se_TargetDatabaseEngines = (input, context) => {
1744
1732
  return input
1745
1733
  .filter((e) => e != null)
1746
1734
  .map((entry) => {
1747
1735
  return entry;
1748
1736
  });
1749
1737
  };
1750
- const deserializeAws_restJson1AnalysisStatusUnion = (output, context) => {
1738
+ const de_AnalysisStatusUnion = (output, context) => {
1751
1739
  if ((0, smithy_client_1.expectString)(output.runtimeAnalysisStatus) !== undefined) {
1752
1740
  return { runtimeAnalysisStatus: (0, smithy_client_1.expectString)(output.runtimeAnalysisStatus) };
1753
1741
  }
@@ -1756,7 +1744,7 @@ const deserializeAws_restJson1AnalysisStatusUnion = (output, context) => {
1756
1744
  }
1757
1745
  return { $unknown: Object.entries(output)[0] };
1758
1746
  };
1759
- const deserializeAws_restJson1AnalyzerNameUnion = (output, context) => {
1747
+ const de_AnalyzerNameUnion = (output, context) => {
1760
1748
  if ((0, smithy_client_1.expectString)(output.binaryAnalyzerName) !== undefined) {
1761
1749
  return { binaryAnalyzerName: (0, smithy_client_1.expectString)(output.binaryAnalyzerName) };
1762
1750
  }
@@ -1768,181 +1756,165 @@ const deserializeAws_restJson1AnalyzerNameUnion = (output, context) => {
1768
1756
  }
1769
1757
  return { $unknown: Object.entries(output)[0] };
1770
1758
  };
1771
- const deserializeAws_restJson1AntipatternReportResult = (output, context) => {
1759
+ const de_AntipatternReportResult = (output, context) => {
1772
1760
  return {
1773
- analyzerName: output.analyzerName != null
1774
- ? deserializeAws_restJson1AnalyzerNameUnion((0, smithy_client_1.expectUnion)(output.analyzerName), context)
1775
- : undefined,
1776
- antiPatternReportS3Object: output.antiPatternReportS3Object != null
1777
- ? deserializeAws_restJson1S3Object(output.antiPatternReportS3Object, context)
1778
- : undefined,
1761
+ analyzerName: output.analyzerName != null ? de_AnalyzerNameUnion((0, smithy_client_1.expectUnion)(output.analyzerName), context) : undefined,
1762
+ antiPatternReportS3Object: output.antiPatternReportS3Object != null ? de_S3Object(output.antiPatternReportS3Object, context) : undefined,
1779
1763
  antipatternReportStatus: (0, smithy_client_1.expectString)(output.antipatternReportStatus),
1780
1764
  antipatternReportStatusMessage: (0, smithy_client_1.expectString)(output.antipatternReportStatusMessage),
1781
1765
  };
1782
1766
  };
1783
- const deserializeAws_restJson1AntipatternReportResultList = (output, context) => {
1767
+ const de_AntipatternReportResultList = (output, context) => {
1784
1768
  const retVal = (output || [])
1785
1769
  .filter((e) => e != null)
1786
1770
  .map((entry) => {
1787
1771
  if (entry === null) {
1788
1772
  return null;
1789
1773
  }
1790
- return deserializeAws_restJson1AntipatternReportResult(entry, context);
1774
+ return de_AntipatternReportResult(entry, context);
1791
1775
  });
1792
1776
  return retVal;
1793
1777
  };
1794
- const deserializeAws_restJson1AntipatternSeveritySummary = (output, context) => {
1778
+ const de_AntipatternSeveritySummary = (output, context) => {
1795
1779
  return {
1796
1780
  count: (0, smithy_client_1.expectInt32)(output.count),
1797
1781
  severity: (0, smithy_client_1.expectString)(output.severity),
1798
1782
  };
1799
1783
  };
1800
- const deserializeAws_restJson1ApplicationComponentDetail = (output, context) => {
1784
+ const de_ApplicationComponentDetail = (output, context) => {
1801
1785
  return {
1802
1786
  analysisStatus: (0, smithy_client_1.expectString)(output.analysisStatus),
1803
- antipatternReportS3Object: output.antipatternReportS3Object != null
1804
- ? deserializeAws_restJson1S3Object(output.antipatternReportS3Object, context)
1805
- : undefined,
1787
+ antipatternReportS3Object: output.antipatternReportS3Object != null ? de_S3Object(output.antipatternReportS3Object, context) : undefined,
1806
1788
  antipatternReportStatus: (0, smithy_client_1.expectString)(output.antipatternReportStatus),
1807
1789
  antipatternReportStatusMessage: (0, smithy_client_1.expectString)(output.antipatternReportStatusMessage),
1808
1790
  appType: (0, smithy_client_1.expectString)(output.appType),
1809
- appUnitError: output.appUnitError != null ? deserializeAws_restJson1AppUnitError(output.appUnitError, context) : undefined,
1791
+ appUnitError: output.appUnitError != null ? de_AppUnitError(output.appUnitError, context) : undefined,
1810
1792
  associatedServerId: (0, smithy_client_1.expectString)(output.associatedServerId),
1811
- databaseConfigDetail: output.databaseConfigDetail != null
1812
- ? deserializeAws_restJson1DatabaseConfigDetail(output.databaseConfigDetail, context)
1813
- : undefined,
1793
+ databaseConfigDetail: output.databaseConfigDetail != null ? de_DatabaseConfigDetail(output.databaseConfigDetail, context) : undefined,
1814
1794
  id: (0, smithy_client_1.expectString)(output.id),
1815
1795
  inclusionStatus: (0, smithy_client_1.expectString)(output.inclusionStatus),
1816
1796
  lastAnalyzedTimestamp: output.lastAnalyzedTimestamp != null
1817
1797
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastAnalyzedTimestamp)))
1818
1798
  : undefined,
1819
1799
  listAntipatternSeveritySummary: output.listAntipatternSeveritySummary != null
1820
- ? deserializeAws_restJson1ListAntipatternSeveritySummary(output.listAntipatternSeveritySummary, context)
1800
+ ? de_ListAntipatternSeveritySummary(output.listAntipatternSeveritySummary, context)
1821
1801
  : undefined,
1822
1802
  moreServerAssociationExists: (0, smithy_client_1.expectBoolean)(output.moreServerAssociationExists),
1823
1803
  name: (0, smithy_client_1.expectString)(output.name),
1824
1804
  osDriver: (0, smithy_client_1.expectString)(output.osDriver),
1825
1805
  osVersion: (0, smithy_client_1.expectString)(output.osVersion),
1826
- recommendationSet: output.recommendationSet != null
1827
- ? deserializeAws_restJson1RecommendationSet(output.recommendationSet, context)
1828
- : undefined,
1806
+ recommendationSet: output.recommendationSet != null ? de_RecommendationSet(output.recommendationSet, context) : undefined,
1829
1807
  resourceSubType: (0, smithy_client_1.expectString)(output.resourceSubType),
1830
- resultList: output.resultList != null ? deserializeAws_restJson1ResultList(output.resultList, context) : undefined,
1808
+ resultList: output.resultList != null ? de_ResultList(output.resultList, context) : undefined,
1831
1809
  runtimeStatus: (0, smithy_client_1.expectString)(output.runtimeStatus),
1832
1810
  runtimeStatusMessage: (0, smithy_client_1.expectString)(output.runtimeStatusMessage),
1833
1811
  sourceCodeRepositories: output.sourceCodeRepositories != null
1834
- ? deserializeAws_restJson1SourceCodeRepositories(output.sourceCodeRepositories, context)
1812
+ ? de_SourceCodeRepositories(output.sourceCodeRepositories, context)
1835
1813
  : undefined,
1836
1814
  statusMessage: (0, smithy_client_1.expectString)(output.statusMessage),
1837
1815
  };
1838
1816
  };
1839
- const deserializeAws_restJson1ApplicationComponentDetails = (output, context) => {
1817
+ const de_ApplicationComponentDetails = (output, context) => {
1840
1818
  const retVal = (output || [])
1841
1819
  .filter((e) => e != null)
1842
1820
  .map((entry) => {
1843
1821
  if (entry === null) {
1844
1822
  return null;
1845
1823
  }
1846
- return deserializeAws_restJson1ApplicationComponentDetail(entry, context);
1824
+ return de_ApplicationComponentDetail(entry, context);
1847
1825
  });
1848
1826
  return retVal;
1849
1827
  };
1850
- const deserializeAws_restJson1ApplicationComponentStatusSummary = (output, context) => {
1828
+ const de_ApplicationComponentStatusSummary = (output, context) => {
1851
1829
  return {
1852
1830
  count: (0, smithy_client_1.expectInt32)(output.count),
1853
1831
  srcCodeOrDbAnalysisStatus: (0, smithy_client_1.expectString)(output.srcCodeOrDbAnalysisStatus),
1854
1832
  };
1855
1833
  };
1856
- const deserializeAws_restJson1ApplicationComponentStrategies = (output, context) => {
1834
+ const de_ApplicationComponentStrategies = (output, context) => {
1857
1835
  const retVal = (output || [])
1858
1836
  .filter((e) => e != null)
1859
1837
  .map((entry) => {
1860
1838
  if (entry === null) {
1861
1839
  return null;
1862
1840
  }
1863
- return deserializeAws_restJson1ApplicationComponentStrategy(entry, context);
1841
+ return de_ApplicationComponentStrategy(entry, context);
1864
1842
  });
1865
1843
  return retVal;
1866
1844
  };
1867
- const deserializeAws_restJson1ApplicationComponentStrategy = (output, context) => {
1845
+ const de_ApplicationComponentStrategy = (output, context) => {
1868
1846
  return {
1869
1847
  isPreferred: (0, smithy_client_1.expectBoolean)(output.isPreferred),
1870
- recommendation: output.recommendation != null
1871
- ? deserializeAws_restJson1RecommendationSet(output.recommendation, context)
1872
- : undefined,
1848
+ recommendation: output.recommendation != null ? de_RecommendationSet(output.recommendation, context) : undefined,
1873
1849
  status: (0, smithy_client_1.expectString)(output.status),
1874
1850
  };
1875
1851
  };
1876
- const deserializeAws_restJson1ApplicationComponentSummary = (output, context) => {
1852
+ const de_ApplicationComponentSummary = (output, context) => {
1877
1853
  return {
1878
1854
  appType: (0, smithy_client_1.expectString)(output.appType),
1879
1855
  count: (0, smithy_client_1.expectInt32)(output.count),
1880
1856
  };
1881
1857
  };
1882
- const deserializeAws_restJson1ApplicationPreferences = (output, context) => {
1858
+ const de_ApplicationPreferences = (output, context) => {
1883
1859
  return {
1884
1860
  managementPreference: output.managementPreference != null
1885
- ? deserializeAws_restJson1ManagementPreference((0, smithy_client_1.expectUnion)(output.managementPreference), context)
1861
+ ? de_ManagementPreference((0, smithy_client_1.expectUnion)(output.managementPreference), context)
1886
1862
  : undefined,
1887
1863
  };
1888
1864
  };
1889
- const deserializeAws_restJson1AppUnitError = (output, context) => {
1865
+ const de_AppUnitError = (output, context) => {
1890
1866
  return {
1891
1867
  appUnitErrorCategory: (0, smithy_client_1.expectString)(output.appUnitErrorCategory),
1892
1868
  };
1893
1869
  };
1894
- const deserializeAws_restJson1AssessmentSummary = (output, context) => {
1870
+ const de_AssessmentSummary = (output, context) => {
1895
1871
  return {
1896
- antipatternReportS3Object: output.antipatternReportS3Object != null
1897
- ? deserializeAws_restJson1S3Object(output.antipatternReportS3Object, context)
1898
- : undefined,
1872
+ antipatternReportS3Object: output.antipatternReportS3Object != null ? de_S3Object(output.antipatternReportS3Object, context) : undefined,
1899
1873
  antipatternReportStatus: (0, smithy_client_1.expectString)(output.antipatternReportStatus),
1900
1874
  antipatternReportStatusMessage: (0, smithy_client_1.expectString)(output.antipatternReportStatusMessage),
1901
1875
  lastAnalyzedTimestamp: output.lastAnalyzedTimestamp != null
1902
1876
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastAnalyzedTimestamp)))
1903
1877
  : undefined,
1904
1878
  listAntipatternSeveritySummary: output.listAntipatternSeveritySummary != null
1905
- ? deserializeAws_restJson1ListAntipatternSeveritySummary(output.listAntipatternSeveritySummary, context)
1879
+ ? de_ListAntipatternSeveritySummary(output.listAntipatternSeveritySummary, context)
1906
1880
  : undefined,
1907
1881
  listApplicationComponentStatusSummary: output.listApplicationComponentStatusSummary != null
1908
- ? deserializeAws_restJson1ListApplicationComponentStatusSummary(output.listApplicationComponentStatusSummary, context)
1882
+ ? de_ListApplicationComponentStatusSummary(output.listApplicationComponentStatusSummary, context)
1909
1883
  : undefined,
1910
1884
  listApplicationComponentStrategySummary: output.listApplicationComponentStrategySummary != null
1911
- ? deserializeAws_restJson1ListStrategySummary(output.listApplicationComponentStrategySummary, context)
1885
+ ? de_ListStrategySummary(output.listApplicationComponentStrategySummary, context)
1912
1886
  : undefined,
1913
1887
  listApplicationComponentSummary: output.listApplicationComponentSummary != null
1914
- ? deserializeAws_restJson1ListApplicationComponentSummary(output.listApplicationComponentSummary, context)
1888
+ ? de_ListApplicationComponentSummary(output.listApplicationComponentSummary, context)
1915
1889
  : undefined,
1916
1890
  listServerStatusSummary: output.listServerStatusSummary != null
1917
- ? deserializeAws_restJson1ListServerStatusSummary(output.listServerStatusSummary, context)
1891
+ ? de_ListServerStatusSummary(output.listServerStatusSummary, context)
1918
1892
  : undefined,
1919
1893
  listServerStrategySummary: output.listServerStrategySummary != null
1920
- ? deserializeAws_restJson1ListStrategySummary(output.listServerStrategySummary, context)
1921
- : undefined,
1922
- listServerSummary: output.listServerSummary != null
1923
- ? deserializeAws_restJson1ListServerSummary(output.listServerSummary, context)
1894
+ ? de_ListStrategySummary(output.listServerStrategySummary, context)
1924
1895
  : undefined,
1896
+ listServerSummary: output.listServerSummary != null ? de_ListServerSummary(output.listServerSummary, context) : undefined,
1925
1897
  };
1926
1898
  };
1927
- const deserializeAws_restJson1AssessmentTarget = (output, context) => {
1899
+ const de_AssessmentTarget = (output, context) => {
1928
1900
  return {
1929
1901
  condition: (0, smithy_client_1.expectString)(output.condition),
1930
1902
  name: (0, smithy_client_1.expectString)(output.name),
1931
- values: output.values != null ? deserializeAws_restJson1AssessmentTargetValues(output.values, context) : undefined,
1903
+ values: output.values != null ? de_AssessmentTargetValues(output.values, context) : undefined,
1932
1904
  };
1933
1905
  };
1934
- const deserializeAws_restJson1AssessmentTargets = (output, context) => {
1906
+ const de_AssessmentTargets = (output, context) => {
1935
1907
  const retVal = (output || [])
1936
1908
  .filter((e) => e != null)
1937
1909
  .map((entry) => {
1938
1910
  if (entry === null) {
1939
1911
  return null;
1940
1912
  }
1941
- return deserializeAws_restJson1AssessmentTarget(entry, context);
1913
+ return de_AssessmentTarget(entry, context);
1942
1914
  });
1943
1915
  return retVal;
1944
1916
  };
1945
- const deserializeAws_restJson1AssessmentTargetValues = (output, context) => {
1917
+ const de_AssessmentTargetValues = (output, context) => {
1946
1918
  const retVal = (output || [])
1947
1919
  .filter((e) => e != null)
1948
1920
  .map((entry) => {
@@ -1953,24 +1925,24 @@ const deserializeAws_restJson1AssessmentTargetValues = (output, context) => {
1953
1925
  });
1954
1926
  return retVal;
1955
1927
  };
1956
- const deserializeAws_restJson1AssociatedApplication = (output, context) => {
1928
+ const de_AssociatedApplication = (output, context) => {
1957
1929
  return {
1958
1930
  id: (0, smithy_client_1.expectString)(output.id),
1959
1931
  name: (0, smithy_client_1.expectString)(output.name),
1960
1932
  };
1961
1933
  };
1962
- const deserializeAws_restJson1AssociatedApplications = (output, context) => {
1934
+ const de_AssociatedApplications = (output, context) => {
1963
1935
  const retVal = (output || [])
1964
1936
  .filter((e) => e != null)
1965
1937
  .map((entry) => {
1966
1938
  if (entry === null) {
1967
1939
  return null;
1968
1940
  }
1969
- return deserializeAws_restJson1AssociatedApplication(entry, context);
1941
+ return de_AssociatedApplication(entry, context);
1970
1942
  });
1971
1943
  return retVal;
1972
1944
  };
1973
- const deserializeAws_restJson1AssociatedServerIDs = (output, context) => {
1945
+ const de_AssociatedServerIDs = (output, context) => {
1974
1946
  const retVal = (output || [])
1975
1947
  .filter((e) => e != null)
1976
1948
  .map((entry) => {
@@ -1981,14 +1953,12 @@ const deserializeAws_restJson1AssociatedServerIDs = (output, context) => {
1981
1953
  });
1982
1954
  return retVal;
1983
1955
  };
1984
- const deserializeAws_restJson1AwsManagedResources = (output, context) => {
1956
+ const de_AwsManagedResources = (output, context) => {
1985
1957
  return {
1986
- targetDestination: output.targetDestination != null
1987
- ? deserializeAws_restJson1AwsManagedTargetDestinations(output.targetDestination, context)
1988
- : undefined,
1958
+ targetDestination: output.targetDestination != null ? de_AwsManagedTargetDestinations(output.targetDestination, context) : undefined,
1989
1959
  };
1990
1960
  };
1991
- const deserializeAws_restJson1AwsManagedTargetDestinations = (output, context) => {
1961
+ const de_AwsManagedTargetDestinations = (output, context) => {
1992
1962
  const retVal = (output || [])
1993
1963
  .filter((e) => e != null)
1994
1964
  .map((entry) => {
@@ -1999,7 +1969,7 @@ const deserializeAws_restJson1AwsManagedTargetDestinations = (output, context) =
1999
1969
  });
2000
1970
  return retVal;
2001
1971
  };
2002
- const deserializeAws_restJson1BusinessGoals = (output, context) => {
1972
+ const de_BusinessGoals = (output, context) => {
2003
1973
  return {
2004
1974
  licenseCostReduction: (0, smithy_client_1.expectInt32)(output.licenseCostReduction),
2005
1975
  modernizeInfrastructureWithCloudNativeTechnologies: (0, smithy_client_1.expectInt32)(output.modernizeInfrastructureWithCloudNativeTechnologies),
@@ -2007,82 +1977,78 @@ const deserializeAws_restJson1BusinessGoals = (output, context) => {
2007
1977
  speedOfMigration: (0, smithy_client_1.expectInt32)(output.speedOfMigration),
2008
1978
  };
2009
1979
  };
2010
- const deserializeAws_restJson1Collector = (output, context) => {
1980
+ const de_Collector = (output, context) => {
2011
1981
  return {
2012
1982
  collectorHealth: (0, smithy_client_1.expectString)(output.collectorHealth),
2013
1983
  collectorId: (0, smithy_client_1.expectString)(output.collectorId),
2014
1984
  collectorVersion: (0, smithy_client_1.expectString)(output.collectorVersion),
2015
- configurationSummary: output.configurationSummary != null
2016
- ? deserializeAws_restJson1ConfigurationSummary(output.configurationSummary, context)
2017
- : undefined,
1985
+ configurationSummary: output.configurationSummary != null ? de_ConfigurationSummary(output.configurationSummary, context) : undefined,
2018
1986
  hostName: (0, smithy_client_1.expectString)(output.hostName),
2019
1987
  ipAddress: (0, smithy_client_1.expectString)(output.ipAddress),
2020
1988
  lastActivityTimeStamp: (0, smithy_client_1.expectString)(output.lastActivityTimeStamp),
2021
1989
  registeredTimeStamp: (0, smithy_client_1.expectString)(output.registeredTimeStamp),
2022
1990
  };
2023
1991
  };
2024
- const deserializeAws_restJson1Collectors = (output, context) => {
1992
+ const de_Collectors = (output, context) => {
2025
1993
  const retVal = (output || [])
2026
1994
  .filter((e) => e != null)
2027
1995
  .map((entry) => {
2028
1996
  if (entry === null) {
2029
1997
  return null;
2030
1998
  }
2031
- return deserializeAws_restJson1Collector(entry, context);
1999
+ return de_Collector(entry, context);
2032
2000
  });
2033
2001
  return retVal;
2034
2002
  };
2035
- const deserializeAws_restJson1ConfigurationSummary = (output, context) => {
2003
+ const de_ConfigurationSummary = (output, context) => {
2036
2004
  return {
2037
2005
  ipAddressBasedRemoteInfoList: output.ipAddressBasedRemoteInfoList != null
2038
- ? deserializeAws_restJson1IPAddressBasedRemoteInfoList(output.ipAddressBasedRemoteInfoList, context)
2039
- : undefined,
2040
- pipelineInfoList: output.pipelineInfoList != null
2041
- ? deserializeAws_restJson1PipelineInfoList(output.pipelineInfoList, context)
2006
+ ? de_IPAddressBasedRemoteInfoList(output.ipAddressBasedRemoteInfoList, context)
2042
2007
  : undefined,
2008
+ pipelineInfoList: output.pipelineInfoList != null ? de_PipelineInfoList(output.pipelineInfoList, context) : undefined,
2043
2009
  remoteSourceCodeAnalysisServerInfo: output.remoteSourceCodeAnalysisServerInfo != null
2044
- ? deserializeAws_restJson1RemoteSourceCodeAnalysisServerInfo(output.remoteSourceCodeAnalysisServerInfo, context)
2010
+ ? de_RemoteSourceCodeAnalysisServerInfo(output.remoteSourceCodeAnalysisServerInfo, context)
2045
2011
  : undefined,
2046
2012
  vcenterBasedRemoteInfoList: output.vcenterBasedRemoteInfoList != null
2047
- ? deserializeAws_restJson1VcenterBasedRemoteInfoList(output.vcenterBasedRemoteInfoList, context)
2013
+ ? de_VcenterBasedRemoteInfoList(output.vcenterBasedRemoteInfoList, context)
2048
2014
  : undefined,
2049
2015
  versionControlInfoList: output.versionControlInfoList != null
2050
- ? deserializeAws_restJson1VersionControlInfoList(output.versionControlInfoList, context)
2016
+ ? de_VersionControlInfoList(output.versionControlInfoList, context)
2051
2017
  : undefined,
2052
2018
  };
2053
2019
  };
2054
- const deserializeAws_restJson1DatabaseConfigDetail = (output, context) => {
2020
+ const de_DatabaseConfigDetail = (output, context) => {
2055
2021
  return {
2056
2022
  secretName: (0, smithy_client_1.expectString)(output.secretName),
2057
2023
  };
2058
2024
  };
2059
- const deserializeAws_restJson1DatabaseMigrationPreference = (output, context) => {
2025
+ const de_DatabaseMigrationPreference = (output, context) => {
2060
2026
  if (output.heterogeneous != null) {
2061
2027
  return {
2062
- heterogeneous: deserializeAws_restJson1Heterogeneous(output.heterogeneous, context),
2028
+ heterogeneous: de_Heterogeneous(output.heterogeneous, context),
2063
2029
  };
2064
2030
  }
2065
2031
  if (output.homogeneous != null) {
2066
2032
  return {
2067
- homogeneous: deserializeAws_restJson1Homogeneous(output.homogeneous, context),
2033
+ homogeneous: de_Homogeneous(output.homogeneous, context),
2068
2034
  };
2069
2035
  }
2070
2036
  if (output.noPreference != null) {
2071
2037
  return {
2072
- noPreference: deserializeAws_restJson1NoDatabaseMigrationPreference(output.noPreference, context),
2038
+ noPreference: de_NoDatabaseMigrationPreference(output.noPreference, context),
2073
2039
  };
2074
2040
  }
2075
2041
  return { $unknown: Object.entries(output)[0] };
2076
2042
  };
2077
- const deserializeAws_restJson1DatabasePreferences = (output, context) => {
2043
+ const de_DatabasePreferences = (output, context) => {
2078
2044
  return {
2079
2045
  databaseManagementPreference: (0, smithy_client_1.expectString)(output.databaseManagementPreference),
2080
2046
  databaseMigrationPreference: output.databaseMigrationPreference != null
2081
- ? deserializeAws_restJson1DatabaseMigrationPreference((0, smithy_client_1.expectUnion)(output.databaseMigrationPreference), context)
2047
+ ? de_DatabaseMigrationPreference((0, smithy_client_1.expectUnion)(output.databaseMigrationPreference), context)
2082
2048
  : undefined,
2083
2049
  };
2084
2050
  };
2085
- const deserializeAws_restJson1DataCollectionDetails = (output, context) => {
2051
+ const de_DataCollectionDetails = (output, context) => {
2086
2052
  return {
2087
2053
  completionTime: output.completionTime != null
2088
2054
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.completionTime)))
@@ -2096,14 +2062,14 @@ const deserializeAws_restJson1DataCollectionDetails = (output, context) => {
2096
2062
  success: (0, smithy_client_1.expectInt32)(output.success),
2097
2063
  };
2098
2064
  };
2099
- const deserializeAws_restJson1Heterogeneous = (output, context) => {
2065
+ const de_Heterogeneous = (output, context) => {
2100
2066
  return {
2101
2067
  targetDatabaseEngine: output.targetDatabaseEngine != null
2102
- ? deserializeAws_restJson1HeterogeneousTargetDatabaseEngines(output.targetDatabaseEngine, context)
2068
+ ? de_HeterogeneousTargetDatabaseEngines(output.targetDatabaseEngine, context)
2103
2069
  : undefined,
2104
2070
  };
2105
2071
  };
2106
- const deserializeAws_restJson1HeterogeneousTargetDatabaseEngines = (output, context) => {
2072
+ const de_HeterogeneousTargetDatabaseEngines = (output, context) => {
2107
2073
  const retVal = (output || [])
2108
2074
  .filter((e) => e != null)
2109
2075
  .map((entry) => {
@@ -2114,14 +2080,14 @@ const deserializeAws_restJson1HeterogeneousTargetDatabaseEngines = (output, cont
2114
2080
  });
2115
2081
  return retVal;
2116
2082
  };
2117
- const deserializeAws_restJson1Homogeneous = (output, context) => {
2083
+ const de_Homogeneous = (output, context) => {
2118
2084
  return {
2119
2085
  targetDatabaseEngine: output.targetDatabaseEngine != null
2120
- ? deserializeAws_restJson1HomogeneousTargetDatabaseEngines(output.targetDatabaseEngine, context)
2086
+ ? de_HomogeneousTargetDatabaseEngines(output.targetDatabaseEngine, context)
2121
2087
  : undefined,
2122
2088
  };
2123
2089
  };
2124
- const deserializeAws_restJson1HomogeneousTargetDatabaseEngines = (output, context) => {
2090
+ const de_HomogeneousTargetDatabaseEngines = (output, context) => {
2125
2091
  const retVal = (output || [])
2126
2092
  .filter((e) => e != null)
2127
2093
  .map((entry) => {
@@ -2132,7 +2098,7 @@ const deserializeAws_restJson1HomogeneousTargetDatabaseEngines = (output, contex
2132
2098
  });
2133
2099
  return retVal;
2134
2100
  };
2135
- const deserializeAws_restJson1ImportFileTaskInformation = (output, context) => {
2101
+ const de_ImportFileTaskInformation = (output, context) => {
2136
2102
  return {
2137
2103
  completionTime: output.completionTime != null
2138
2104
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.completionTime)))
@@ -2149,120 +2115,120 @@ const deserializeAws_restJson1ImportFileTaskInformation = (output, context) => {
2149
2115
  statusReportS3Key: (0, smithy_client_1.expectString)(output.statusReportS3Key),
2150
2116
  };
2151
2117
  };
2152
- const deserializeAws_restJson1IPAddressBasedRemoteInfo = (output, context) => {
2118
+ const de_IPAddressBasedRemoteInfo = (output, context) => {
2153
2119
  return {
2154
2120
  authType: (0, smithy_client_1.expectString)(output.authType),
2155
2121
  ipAddressConfigurationTimeStamp: (0, smithy_client_1.expectString)(output.ipAddressConfigurationTimeStamp),
2156
2122
  osType: (0, smithy_client_1.expectString)(output.osType),
2157
2123
  };
2158
2124
  };
2159
- const deserializeAws_restJson1IPAddressBasedRemoteInfoList = (output, context) => {
2125
+ const de_IPAddressBasedRemoteInfoList = (output, context) => {
2160
2126
  const retVal = (output || [])
2161
2127
  .filter((e) => e != null)
2162
2128
  .map((entry) => {
2163
2129
  if (entry === null) {
2164
2130
  return null;
2165
2131
  }
2166
- return deserializeAws_restJson1IPAddressBasedRemoteInfo(entry, context);
2132
+ return de_IPAddressBasedRemoteInfo(entry, context);
2167
2133
  });
2168
2134
  return retVal;
2169
2135
  };
2170
- const deserializeAws_restJson1ListAntipatternSeveritySummary = (output, context) => {
2136
+ const de_ListAntipatternSeveritySummary = (output, context) => {
2171
2137
  const retVal = (output || [])
2172
2138
  .filter((e) => e != null)
2173
2139
  .map((entry) => {
2174
2140
  if (entry === null) {
2175
2141
  return null;
2176
2142
  }
2177
- return deserializeAws_restJson1AntipatternSeveritySummary(entry, context);
2143
+ return de_AntipatternSeveritySummary(entry, context);
2178
2144
  });
2179
2145
  return retVal;
2180
2146
  };
2181
- const deserializeAws_restJson1ListApplicationComponentStatusSummary = (output, context) => {
2147
+ const de_ListApplicationComponentStatusSummary = (output, context) => {
2182
2148
  const retVal = (output || [])
2183
2149
  .filter((e) => e != null)
2184
2150
  .map((entry) => {
2185
2151
  if (entry === null) {
2186
2152
  return null;
2187
2153
  }
2188
- return deserializeAws_restJson1ApplicationComponentStatusSummary(entry, context);
2154
+ return de_ApplicationComponentStatusSummary(entry, context);
2189
2155
  });
2190
2156
  return retVal;
2191
2157
  };
2192
- const deserializeAws_restJson1ListApplicationComponentSummary = (output, context) => {
2158
+ const de_ListApplicationComponentSummary = (output, context) => {
2193
2159
  const retVal = (output || [])
2194
2160
  .filter((e) => e != null)
2195
2161
  .map((entry) => {
2196
2162
  if (entry === null) {
2197
2163
  return null;
2198
2164
  }
2199
- return deserializeAws_restJson1ApplicationComponentSummary(entry, context);
2165
+ return de_ApplicationComponentSummary(entry, context);
2200
2166
  });
2201
2167
  return retVal;
2202
2168
  };
2203
- const deserializeAws_restJson1ListImportFileTaskInformation = (output, context) => {
2169
+ const de_ListImportFileTaskInformation = (output, context) => {
2204
2170
  const retVal = (output || [])
2205
2171
  .filter((e) => e != null)
2206
2172
  .map((entry) => {
2207
2173
  if (entry === null) {
2208
2174
  return null;
2209
2175
  }
2210
- return deserializeAws_restJson1ImportFileTaskInformation(entry, context);
2176
+ return de_ImportFileTaskInformation(entry, context);
2211
2177
  });
2212
2178
  return retVal;
2213
2179
  };
2214
- const deserializeAws_restJson1ListServerStatusSummary = (output, context) => {
2180
+ const de_ListServerStatusSummary = (output, context) => {
2215
2181
  const retVal = (output || [])
2216
2182
  .filter((e) => e != null)
2217
2183
  .map((entry) => {
2218
2184
  if (entry === null) {
2219
2185
  return null;
2220
2186
  }
2221
- return deserializeAws_restJson1ServerStatusSummary(entry, context);
2187
+ return de_ServerStatusSummary(entry, context);
2222
2188
  });
2223
2189
  return retVal;
2224
2190
  };
2225
- const deserializeAws_restJson1ListServerSummary = (output, context) => {
2191
+ const de_ListServerSummary = (output, context) => {
2226
2192
  const retVal = (output || [])
2227
2193
  .filter((e) => e != null)
2228
2194
  .map((entry) => {
2229
2195
  if (entry === null) {
2230
2196
  return null;
2231
2197
  }
2232
- return deserializeAws_restJson1ServerSummary(entry, context);
2198
+ return de_ServerSummary(entry, context);
2233
2199
  });
2234
2200
  return retVal;
2235
2201
  };
2236
- const deserializeAws_restJson1ListStrategySummary = (output, context) => {
2202
+ const de_ListStrategySummary = (output, context) => {
2237
2203
  const retVal = (output || [])
2238
2204
  .filter((e) => e != null)
2239
2205
  .map((entry) => {
2240
2206
  if (entry === null) {
2241
2207
  return null;
2242
2208
  }
2243
- return deserializeAws_restJson1StrategySummary(entry, context);
2209
+ return de_StrategySummary(entry, context);
2244
2210
  });
2245
2211
  return retVal;
2246
2212
  };
2247
- const deserializeAws_restJson1ManagementPreference = (output, context) => {
2213
+ const de_ManagementPreference = (output, context) => {
2248
2214
  if (output.awsManagedResources != null) {
2249
2215
  return {
2250
- awsManagedResources: deserializeAws_restJson1AwsManagedResources(output.awsManagedResources, context),
2216
+ awsManagedResources: de_AwsManagedResources(output.awsManagedResources, context),
2251
2217
  };
2252
2218
  }
2253
2219
  if (output.noPreference != null) {
2254
2220
  return {
2255
- noPreference: deserializeAws_restJson1NoManagementPreference(output.noPreference, context),
2221
+ noPreference: de_NoManagementPreference(output.noPreference, context),
2256
2222
  };
2257
2223
  }
2258
2224
  if (output.selfManageResources != null) {
2259
2225
  return {
2260
- selfManageResources: deserializeAws_restJson1SelfManageResources(output.selfManageResources, context),
2226
+ selfManageResources: de_SelfManageResources(output.selfManageResources, context),
2261
2227
  };
2262
2228
  }
2263
2229
  return { $unknown: Object.entries(output)[0] };
2264
2230
  };
2265
- const deserializeAws_restJson1NetworkInfo = (output, context) => {
2231
+ const de_NetworkInfo = (output, context) => {
2266
2232
  return {
2267
2233
  interfaceName: (0, smithy_client_1.expectString)(output.interfaceName),
2268
2234
  ipAddress: (0, smithy_client_1.expectString)(output.ipAddress),
@@ -2270,32 +2236,30 @@ const deserializeAws_restJson1NetworkInfo = (output, context) => {
2270
2236
  netMask: (0, smithy_client_1.expectString)(output.netMask),
2271
2237
  };
2272
2238
  };
2273
- const deserializeAws_restJson1NetworkInfoList = (output, context) => {
2239
+ const de_NetworkInfoList = (output, context) => {
2274
2240
  const retVal = (output || [])
2275
2241
  .filter((e) => e != null)
2276
2242
  .map((entry) => {
2277
2243
  if (entry === null) {
2278
2244
  return null;
2279
2245
  }
2280
- return deserializeAws_restJson1NetworkInfo(entry, context);
2246
+ return de_NetworkInfo(entry, context);
2281
2247
  });
2282
2248
  return retVal;
2283
2249
  };
2284
- const deserializeAws_restJson1NoDatabaseMigrationPreference = (output, context) => {
2250
+ const de_NoDatabaseMigrationPreference = (output, context) => {
2285
2251
  return {
2286
- targetDatabaseEngine: output.targetDatabaseEngine != null
2287
- ? deserializeAws_restJson1TargetDatabaseEngines(output.targetDatabaseEngine, context)
2288
- : undefined,
2252
+ targetDatabaseEngine: output.targetDatabaseEngine != null ? de_TargetDatabaseEngines(output.targetDatabaseEngine, context) : undefined,
2289
2253
  };
2290
2254
  };
2291
- const deserializeAws_restJson1NoManagementPreference = (output, context) => {
2255
+ const de_NoManagementPreference = (output, context) => {
2292
2256
  return {
2293
2257
  targetDestination: output.targetDestination != null
2294
- ? deserializeAws_restJson1NoPreferenceTargetDestinations(output.targetDestination, context)
2258
+ ? de_NoPreferenceTargetDestinations(output.targetDestination, context)
2295
2259
  : undefined,
2296
2260
  };
2297
2261
  };
2298
- const deserializeAws_restJson1NoPreferenceTargetDestinations = (output, context) => {
2262
+ const de_NoPreferenceTargetDestinations = (output, context) => {
2299
2263
  const retVal = (output || [])
2300
2264
  .filter((e) => e != null)
2301
2265
  .map((entry) => {
@@ -2306,84 +2270,80 @@ const deserializeAws_restJson1NoPreferenceTargetDestinations = (output, context)
2306
2270
  });
2307
2271
  return retVal;
2308
2272
  };
2309
- const deserializeAws_restJson1OSInfo = (output, context) => {
2273
+ const de_OSInfo = (output, context) => {
2310
2274
  return {
2311
2275
  type: (0, smithy_client_1.expectString)(output.type),
2312
2276
  version: (0, smithy_client_1.expectString)(output.version),
2313
2277
  };
2314
2278
  };
2315
- const deserializeAws_restJson1PipelineInfo = (output, context) => {
2279
+ const de_PipelineInfo = (output, context) => {
2316
2280
  return {
2317
2281
  pipelineConfigurationTimeStamp: (0, smithy_client_1.expectString)(output.pipelineConfigurationTimeStamp),
2318
2282
  pipelineType: (0, smithy_client_1.expectString)(output.pipelineType),
2319
2283
  };
2320
2284
  };
2321
- const deserializeAws_restJson1PipelineInfoList = (output, context) => {
2285
+ const de_PipelineInfoList = (output, context) => {
2322
2286
  const retVal = (output || [])
2323
2287
  .filter((e) => e != null)
2324
2288
  .map((entry) => {
2325
2289
  if (entry === null) {
2326
2290
  return null;
2327
2291
  }
2328
- return deserializeAws_restJson1PipelineInfo(entry, context);
2292
+ return de_PipelineInfo(entry, context);
2329
2293
  });
2330
2294
  return retVal;
2331
2295
  };
2332
- const deserializeAws_restJson1PrioritizeBusinessGoals = (output, context) => {
2296
+ const de_PrioritizeBusinessGoals = (output, context) => {
2333
2297
  return {
2334
- businessGoals: output.businessGoals != null ? deserializeAws_restJson1BusinessGoals(output.businessGoals, context) : undefined,
2298
+ businessGoals: output.businessGoals != null ? de_BusinessGoals(output.businessGoals, context) : undefined,
2335
2299
  };
2336
2300
  };
2337
- const deserializeAws_restJson1RecommendationReportDetails = (output, context) => {
2301
+ const de_RecommendationReportDetails = (output, context) => {
2338
2302
  return {
2339
2303
  completionTime: output.completionTime != null
2340
2304
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.completionTime)))
2341
2305
  : undefined,
2342
2306
  s3Bucket: (0, smithy_client_1.expectString)(output.s3Bucket),
2343
- s3Keys: output.s3Keys != null ? deserializeAws_restJson1S3Keys(output.s3Keys, context) : undefined,
2307
+ s3Keys: output.s3Keys != null ? de_S3Keys(output.s3Keys, context) : undefined,
2344
2308
  startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
2345
2309
  status: (0, smithy_client_1.expectString)(output.status),
2346
2310
  statusMessage: (0, smithy_client_1.expectString)(output.statusMessage),
2347
2311
  };
2348
2312
  };
2349
- const deserializeAws_restJson1RecommendationSet = (output, context) => {
2313
+ const de_RecommendationSet = (output, context) => {
2350
2314
  return {
2351
2315
  strategy: (0, smithy_client_1.expectString)(output.strategy),
2352
2316
  targetDestination: (0, smithy_client_1.expectString)(output.targetDestination),
2353
- transformationTool: output.transformationTool != null
2354
- ? deserializeAws_restJson1TransformationTool(output.transformationTool, context)
2355
- : undefined,
2317
+ transformationTool: output.transformationTool != null ? de_TransformationTool(output.transformationTool, context) : undefined,
2356
2318
  };
2357
2319
  };
2358
- const deserializeAws_restJson1RemoteSourceCodeAnalysisServerInfo = (output, context) => {
2320
+ const de_RemoteSourceCodeAnalysisServerInfo = (output, context) => {
2359
2321
  return {
2360
2322
  remoteSourceCodeAnalysisServerConfigurationTimestamp: (0, smithy_client_1.expectString)(output.remoteSourceCodeAnalysisServerConfigurationTimestamp),
2361
2323
  };
2362
2324
  };
2363
- const deserializeAws_restJson1Result = (output, context) => {
2325
+ const de_Result = (output, context) => {
2364
2326
  return {
2365
- analysisStatus: output.analysisStatus != null
2366
- ? deserializeAws_restJson1AnalysisStatusUnion((0, smithy_client_1.expectUnion)(output.analysisStatus), context)
2367
- : undefined,
2327
+ analysisStatus: output.analysisStatus != null ? de_AnalysisStatusUnion((0, smithy_client_1.expectUnion)(output.analysisStatus), context) : undefined,
2368
2328
  analysisType: (0, smithy_client_1.expectString)(output.analysisType),
2369
2329
  antipatternReportResultList: output.antipatternReportResultList != null
2370
- ? deserializeAws_restJson1AntipatternReportResultList(output.antipatternReportResultList, context)
2330
+ ? de_AntipatternReportResultList(output.antipatternReportResultList, context)
2371
2331
  : undefined,
2372
2332
  statusMessage: (0, smithy_client_1.expectString)(output.statusMessage),
2373
2333
  };
2374
2334
  };
2375
- const deserializeAws_restJson1ResultList = (output, context) => {
2335
+ const de_ResultList = (output, context) => {
2376
2336
  const retVal = (output || [])
2377
2337
  .filter((e) => e != null)
2378
2338
  .map((entry) => {
2379
2339
  if (entry === null) {
2380
2340
  return null;
2381
2341
  }
2382
- return deserializeAws_restJson1Result(entry, context);
2342
+ return de_Result(entry, context);
2383
2343
  });
2384
2344
  return retVal;
2385
2345
  };
2386
- const deserializeAws_restJson1S3Keys = (output, context) => {
2346
+ const de_S3Keys = (output, context) => {
2387
2347
  const retVal = (output || [])
2388
2348
  .filter((e) => e != null)
2389
2349
  .map((entry) => {
@@ -2394,20 +2354,18 @@ const deserializeAws_restJson1S3Keys = (output, context) => {
2394
2354
  });
2395
2355
  return retVal;
2396
2356
  };
2397
- const deserializeAws_restJson1S3Object = (output, context) => {
2357
+ const de_S3Object = (output, context) => {
2398
2358
  return {
2399
2359
  s3Bucket: (0, smithy_client_1.expectString)(output.s3Bucket),
2400
2360
  s3key: (0, smithy_client_1.expectString)(output.s3key),
2401
2361
  };
2402
2362
  };
2403
- const deserializeAws_restJson1SelfManageResources = (output, context) => {
2363
+ const de_SelfManageResources = (output, context) => {
2404
2364
  return {
2405
- targetDestination: output.targetDestination != null
2406
- ? deserializeAws_restJson1SelfManageTargetDestinations(output.targetDestination, context)
2407
- : undefined,
2365
+ targetDestination: output.targetDestination != null ? de_SelfManageTargetDestinations(output.targetDestination, context) : undefined,
2408
2366
  };
2409
2367
  };
2410
- const deserializeAws_restJson1SelfManageTargetDestinations = (output, context) => {
2368
+ const de_SelfManageTargetDestinations = (output, context) => {
2411
2369
  const retVal = (output || [])
2412
2370
  .filter((e) => e != null)
2413
2371
  .map((entry) => {
@@ -2418,15 +2376,13 @@ const deserializeAws_restJson1SelfManageTargetDestinations = (output, context) =
2418
2376
  });
2419
2377
  return retVal;
2420
2378
  };
2421
- const deserializeAws_restJson1ServerDetail = (output, context) => {
2379
+ const de_ServerDetail = (output, context) => {
2422
2380
  return {
2423
- antipatternReportS3Object: output.antipatternReportS3Object != null
2424
- ? deserializeAws_restJson1S3Object(output.antipatternReportS3Object, context)
2425
- : undefined,
2381
+ antipatternReportS3Object: output.antipatternReportS3Object != null ? de_S3Object(output.antipatternReportS3Object, context) : undefined,
2426
2382
  antipatternReportStatus: (0, smithy_client_1.expectString)(output.antipatternReportStatus),
2427
2383
  antipatternReportStatusMessage: (0, smithy_client_1.expectString)(output.antipatternReportStatusMessage),
2428
2384
  applicationComponentStrategySummary: output.applicationComponentStrategySummary != null
2429
- ? deserializeAws_restJson1ListStrategySummary(output.applicationComponentStrategySummary, context)
2385
+ ? de_ListStrategySummary(output.applicationComponentStrategySummary, context)
2430
2386
  : undefined,
2431
2387
  dataCollectionStatus: (0, smithy_client_1.expectString)(output.dataCollectionStatus),
2432
2388
  id: (0, smithy_client_1.expectString)(output.id),
@@ -2434,79 +2390,75 @@ const deserializeAws_restJson1ServerDetail = (output, context) => {
2434
2390
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastAnalyzedTimestamp)))
2435
2391
  : undefined,
2436
2392
  listAntipatternSeveritySummary: output.listAntipatternSeveritySummary != null
2437
- ? deserializeAws_restJson1ListAntipatternSeveritySummary(output.listAntipatternSeveritySummary, context)
2393
+ ? de_ListAntipatternSeveritySummary(output.listAntipatternSeveritySummary, context)
2438
2394
  : undefined,
2439
2395
  name: (0, smithy_client_1.expectString)(output.name),
2440
- recommendationSet: output.recommendationSet != null
2441
- ? deserializeAws_restJson1RecommendationSet(output.recommendationSet, context)
2442
- : undefined,
2443
- serverError: output.serverError != null ? deserializeAws_restJson1ServerError(output.serverError, context) : undefined,
2396
+ recommendationSet: output.recommendationSet != null ? de_RecommendationSet(output.recommendationSet, context) : undefined,
2397
+ serverError: output.serverError != null ? de_ServerError(output.serverError, context) : undefined,
2444
2398
  serverType: (0, smithy_client_1.expectString)(output.serverType),
2445
2399
  statusMessage: (0, smithy_client_1.expectString)(output.statusMessage),
2446
- systemInfo: output.systemInfo != null ? deserializeAws_restJson1SystemInfo(output.systemInfo, context) : undefined,
2400
+ systemInfo: output.systemInfo != null ? de_SystemInfo(output.systemInfo, context) : undefined,
2447
2401
  };
2448
2402
  };
2449
- const deserializeAws_restJson1ServerDetails = (output, context) => {
2403
+ const de_ServerDetails = (output, context) => {
2450
2404
  const retVal = (output || [])
2451
2405
  .filter((e) => e != null)
2452
2406
  .map((entry) => {
2453
2407
  if (entry === null) {
2454
2408
  return null;
2455
2409
  }
2456
- return deserializeAws_restJson1ServerDetail(entry, context);
2410
+ return de_ServerDetail(entry, context);
2457
2411
  });
2458
2412
  return retVal;
2459
2413
  };
2460
- const deserializeAws_restJson1ServerError = (output, context) => {
2414
+ const de_ServerError = (output, context) => {
2461
2415
  return {
2462
2416
  serverErrorCategory: (0, smithy_client_1.expectString)(output.serverErrorCategory),
2463
2417
  };
2464
2418
  };
2465
- const deserializeAws_restJson1ServerStatusSummary = (output, context) => {
2419
+ const de_ServerStatusSummary = (output, context) => {
2466
2420
  return {
2467
2421
  count: (0, smithy_client_1.expectInt32)(output.count),
2468
2422
  runTimeAssessmentStatus: (0, smithy_client_1.expectString)(output.runTimeAssessmentStatus),
2469
2423
  };
2470
2424
  };
2471
- const deserializeAws_restJson1ServerStrategies = (output, context) => {
2425
+ const de_ServerStrategies = (output, context) => {
2472
2426
  const retVal = (output || [])
2473
2427
  .filter((e) => e != null)
2474
2428
  .map((entry) => {
2475
2429
  if (entry === null) {
2476
2430
  return null;
2477
2431
  }
2478
- return deserializeAws_restJson1ServerStrategy(entry, context);
2432
+ return de_ServerStrategy(entry, context);
2479
2433
  });
2480
2434
  return retVal;
2481
2435
  };
2482
- const deserializeAws_restJson1ServerStrategy = (output, context) => {
2436
+ const de_ServerStrategy = (output, context) => {
2483
2437
  return {
2484
2438
  isPreferred: (0, smithy_client_1.expectBoolean)(output.isPreferred),
2485
2439
  numberOfApplicationComponents: (0, smithy_client_1.expectInt32)(output.numberOfApplicationComponents),
2486
- recommendation: output.recommendation != null
2487
- ? deserializeAws_restJson1RecommendationSet(output.recommendation, context)
2488
- : undefined,
2440
+ recommendation: output.recommendation != null ? de_RecommendationSet(output.recommendation, context) : undefined,
2489
2441
  status: (0, smithy_client_1.expectString)(output.status),
2490
2442
  };
2491
2443
  };
2492
- const deserializeAws_restJson1ServerSummary = (output, context) => {
2444
+ const de_ServerSummary = (output, context) => {
2493
2445
  return {
2494
2446
  ServerOsType: (0, smithy_client_1.expectString)(output.ServerOsType),
2495
2447
  count: (0, smithy_client_1.expectInt32)(output.count),
2496
2448
  };
2497
2449
  };
2498
- const deserializeAws_restJson1SourceCodeRepositories = (output, context) => {
2450
+ const de_SourceCodeRepositories = (output, context) => {
2499
2451
  const retVal = (output || [])
2500
2452
  .filter((e) => e != null)
2501
2453
  .map((entry) => {
2502
2454
  if (entry === null) {
2503
2455
  return null;
2504
2456
  }
2505
- return deserializeAws_restJson1SourceCodeRepository(entry, context);
2457
+ return de_SourceCodeRepository(entry, context);
2506
2458
  });
2507
2459
  return retVal;
2508
2460
  };
2509
- const deserializeAws_restJson1SourceCodeRepository = (output, context) => {
2461
+ const de_SourceCodeRepository = (output, context) => {
2510
2462
  return {
2511
2463
  branch: (0, smithy_client_1.expectString)(output.branch),
2512
2464
  projectName: (0, smithy_client_1.expectString)(output.projectName),
@@ -2514,23 +2466,21 @@ const deserializeAws_restJson1SourceCodeRepository = (output, context) => {
2514
2466
  versionControlType: (0, smithy_client_1.expectString)(output.versionControlType),
2515
2467
  };
2516
2468
  };
2517
- const deserializeAws_restJson1StrategySummary = (output, context) => {
2469
+ const de_StrategySummary = (output, context) => {
2518
2470
  return {
2519
2471
  count: (0, smithy_client_1.expectInt32)(output.count),
2520
2472
  strategy: (0, smithy_client_1.expectString)(output.strategy),
2521
2473
  };
2522
2474
  };
2523
- const deserializeAws_restJson1SystemInfo = (output, context) => {
2475
+ const de_SystemInfo = (output, context) => {
2524
2476
  return {
2525
2477
  cpuArchitecture: (0, smithy_client_1.expectString)(output.cpuArchitecture),
2526
2478
  fileSystemType: (0, smithy_client_1.expectString)(output.fileSystemType),
2527
- networkInfoList: output.networkInfoList != null
2528
- ? deserializeAws_restJson1NetworkInfoList(output.networkInfoList, context)
2529
- : undefined,
2530
- osInfo: output.osInfo != null ? deserializeAws_restJson1OSInfo(output.osInfo, context) : undefined,
2479
+ networkInfoList: output.networkInfoList != null ? de_NetworkInfoList(output.networkInfoList, context) : undefined,
2480
+ osInfo: output.osInfo != null ? de_OSInfo(output.osInfo, context) : undefined,
2531
2481
  };
2532
2482
  };
2533
- const deserializeAws_restJson1TargetDatabaseEngines = (output, context) => {
2483
+ const de_TargetDatabaseEngines = (output, context) => {
2534
2484
  const retVal = (output || [])
2535
2485
  .filter((e) => e != null)
2536
2486
  .map((entry) => {
@@ -2541,44 +2491,44 @@ const deserializeAws_restJson1TargetDatabaseEngines = (output, context) => {
2541
2491
  });
2542
2492
  return retVal;
2543
2493
  };
2544
- const deserializeAws_restJson1TransformationTool = (output, context) => {
2494
+ const de_TransformationTool = (output, context) => {
2545
2495
  return {
2546
2496
  description: (0, smithy_client_1.expectString)(output.description),
2547
2497
  name: (0, smithy_client_1.expectString)(output.name),
2548
2498
  tranformationToolInstallationLink: (0, smithy_client_1.expectString)(output.tranformationToolInstallationLink),
2549
2499
  };
2550
2500
  };
2551
- const deserializeAws_restJson1VcenterBasedRemoteInfo = (output, context) => {
2501
+ const de_VcenterBasedRemoteInfo = (output, context) => {
2552
2502
  return {
2553
2503
  osType: (0, smithy_client_1.expectString)(output.osType),
2554
2504
  vcenterConfigurationTimeStamp: (0, smithy_client_1.expectString)(output.vcenterConfigurationTimeStamp),
2555
2505
  };
2556
2506
  };
2557
- const deserializeAws_restJson1VcenterBasedRemoteInfoList = (output, context) => {
2507
+ const de_VcenterBasedRemoteInfoList = (output, context) => {
2558
2508
  const retVal = (output || [])
2559
2509
  .filter((e) => e != null)
2560
2510
  .map((entry) => {
2561
2511
  if (entry === null) {
2562
2512
  return null;
2563
2513
  }
2564
- return deserializeAws_restJson1VcenterBasedRemoteInfo(entry, context);
2514
+ return de_VcenterBasedRemoteInfo(entry, context);
2565
2515
  });
2566
2516
  return retVal;
2567
2517
  };
2568
- const deserializeAws_restJson1VersionControlInfo = (output, context) => {
2518
+ const de_VersionControlInfo = (output, context) => {
2569
2519
  return {
2570
2520
  versionControlConfigurationTimeStamp: (0, smithy_client_1.expectString)(output.versionControlConfigurationTimeStamp),
2571
2521
  versionControlType: (0, smithy_client_1.expectString)(output.versionControlType),
2572
2522
  };
2573
2523
  };
2574
- const deserializeAws_restJson1VersionControlInfoList = (output, context) => {
2524
+ const de_VersionControlInfoList = (output, context) => {
2575
2525
  const retVal = (output || [])
2576
2526
  .filter((e) => e != null)
2577
2527
  .map((entry) => {
2578
2528
  if (entry === null) {
2579
2529
  return null;
2580
2530
  }
2581
- return deserializeAws_restJson1VersionControlInfo(entry, context);
2531
+ return de_VersionControlInfo(entry, context);
2582
2532
  });
2583
2533
  return retVal;
2584
2534
  };