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