@aws-sdk/client-mgn 3.31.0 → 3.32.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 (79) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/MgnClient.js +13 -13
  3. package/dist/cjs/MgnClient.js.map +1 -1
  4. package/dist/cjs/commands/ChangeServerLifeCycleStateCommand.js +3 -3
  5. package/dist/cjs/commands/ChangeServerLifeCycleStateCommand.js.map +1 -1
  6. package/dist/cjs/commands/CreateReplicationConfigurationTemplateCommand.js +3 -3
  7. package/dist/cjs/commands/CreateReplicationConfigurationTemplateCommand.js.map +1 -1
  8. package/dist/cjs/commands/DeleteJobCommand.js +3 -3
  9. package/dist/cjs/commands/DeleteJobCommand.js.map +1 -1
  10. package/dist/cjs/commands/DeleteReplicationConfigurationTemplateCommand.js +3 -3
  11. package/dist/cjs/commands/DeleteReplicationConfigurationTemplateCommand.js.map +1 -1
  12. package/dist/cjs/commands/DeleteSourceServerCommand.js +3 -3
  13. package/dist/cjs/commands/DeleteSourceServerCommand.js.map +1 -1
  14. package/dist/cjs/commands/DescribeJobLogItemsCommand.js +3 -3
  15. package/dist/cjs/commands/DescribeJobLogItemsCommand.js.map +1 -1
  16. package/dist/cjs/commands/DescribeJobsCommand.js +3 -3
  17. package/dist/cjs/commands/DescribeJobsCommand.js.map +1 -1
  18. package/dist/cjs/commands/DescribeReplicationConfigurationTemplatesCommand.js +3 -3
  19. package/dist/cjs/commands/DescribeReplicationConfigurationTemplatesCommand.js.map +1 -1
  20. package/dist/cjs/commands/DescribeSourceServersCommand.js +3 -3
  21. package/dist/cjs/commands/DescribeSourceServersCommand.js.map +1 -1
  22. package/dist/cjs/commands/DisconnectFromServiceCommand.js +3 -3
  23. package/dist/cjs/commands/DisconnectFromServiceCommand.js.map +1 -1
  24. package/dist/cjs/commands/FinalizeCutoverCommand.js +3 -3
  25. package/dist/cjs/commands/FinalizeCutoverCommand.js.map +1 -1
  26. package/dist/cjs/commands/GetLaunchConfigurationCommand.js +3 -3
  27. package/dist/cjs/commands/GetLaunchConfigurationCommand.js.map +1 -1
  28. package/dist/cjs/commands/GetReplicationConfigurationCommand.js +3 -3
  29. package/dist/cjs/commands/GetReplicationConfigurationCommand.js.map +1 -1
  30. package/dist/cjs/commands/InitializeServiceCommand.js +3 -3
  31. package/dist/cjs/commands/InitializeServiceCommand.js.map +1 -1
  32. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  33. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  34. package/dist/cjs/commands/MarkAsArchivedCommand.js +3 -3
  35. package/dist/cjs/commands/MarkAsArchivedCommand.js.map +1 -1
  36. package/dist/cjs/commands/RetryDataReplicationCommand.js +3 -3
  37. package/dist/cjs/commands/RetryDataReplicationCommand.js.map +1 -1
  38. package/dist/cjs/commands/StartCutoverCommand.js +3 -3
  39. package/dist/cjs/commands/StartCutoverCommand.js.map +1 -1
  40. package/dist/cjs/commands/StartTestCommand.js +3 -3
  41. package/dist/cjs/commands/StartTestCommand.js.map +1 -1
  42. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  43. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  44. package/dist/cjs/commands/TerminateTargetInstancesCommand.js +3 -3
  45. package/dist/cjs/commands/TerminateTargetInstancesCommand.js.map +1 -1
  46. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  47. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  48. package/dist/cjs/commands/UpdateLaunchConfigurationCommand.js +3 -3
  49. package/dist/cjs/commands/UpdateLaunchConfigurationCommand.js.map +1 -1
  50. package/dist/cjs/commands/UpdateReplicationConfigurationCommand.js +3 -3
  51. package/dist/cjs/commands/UpdateReplicationConfigurationCommand.js.map +1 -1
  52. package/dist/cjs/commands/UpdateReplicationConfigurationTemplateCommand.js +3 -3
  53. package/dist/cjs/commands/UpdateReplicationConfigurationTemplateCommand.js.map +1 -1
  54. package/dist/cjs/endpoints.js +1 -1
  55. package/dist/cjs/endpoints.js.map +1 -1
  56. package/dist/cjs/index.js +33 -33
  57. package/dist/cjs/index.js.map +1 -1
  58. package/dist/cjs/models/index.js +1 -1
  59. package/dist/cjs/models/index.js.map +1 -1
  60. package/dist/cjs/package.json +31 -31
  61. package/dist/cjs/protocols/Aws_restJson1.js +207 -207
  62. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  63. package/dist/cjs/runtimeConfig.browser.js +4 -4
  64. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  65. package/dist/cjs/runtimeConfig.js +8 -8
  66. package/dist/cjs/runtimeConfig.js.map +1 -1
  67. package/dist/cjs/runtimeConfig.native.js +1 -1
  68. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  69. package/dist/es/package.json +31 -31
  70. package/dist/es/pagination/DescribeJobLogItemsPaginator.js +4 -4
  71. package/dist/es/pagination/DescribeJobLogItemsPaginator.js.map +1 -1
  72. package/dist/es/pagination/DescribeJobsPaginator.js +4 -4
  73. package/dist/es/pagination/DescribeJobsPaginator.js.map +1 -1
  74. package/dist/es/pagination/DescribeReplicationConfigurationTemplatesPaginator.js +4 -4
  75. package/dist/es/pagination/DescribeReplicationConfigurationTemplatesPaginator.js.map +1 -1
  76. package/dist/es/pagination/DescribeSourceServersPaginator.js +4 -4
  77. package/dist/es/pagination/DescribeSourceServersPaginator.js.map +1 -1
  78. package/package.json +31 -31
  79. package/tsconfig.json +1 -2
@@ -367,7 +367,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
367
367
  if (labelValue.length <= 0) {
368
368
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
369
369
  }
370
- resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
370
+ resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
371
371
  }
372
372
  else {
373
373
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -491,7 +491,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
491
491
  if (labelValue.length <= 0) {
492
492
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
493
493
  }
494
- resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
494
+ resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
495
495
  }
496
496
  else {
497
497
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -547,7 +547,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
547
547
  if (labelValue.length <= 0) {
548
548
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
549
549
  }
550
- resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
550
+ resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
551
551
  }
552
552
  else {
553
553
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -734,15 +734,15 @@ const deserializeAws_restJson1ChangeServerLifeCycleStateCommand = async (output,
734
734
  sourceServerID: undefined,
735
735
  tags: undefined,
736
736
  };
737
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
737
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
738
738
  if (data.arn !== undefined && data.arn !== null) {
739
- contents.arn = (0, smithy_client_1.expectString)(data.arn);
739
+ contents.arn = smithy_client_1.expectString(data.arn);
740
740
  }
741
741
  if (data.dataReplicationInfo !== undefined && data.dataReplicationInfo !== null) {
742
742
  contents.dataReplicationInfo = deserializeAws_restJson1DataReplicationInfo(data.dataReplicationInfo, context);
743
743
  }
744
744
  if (data.isArchived !== undefined && data.isArchived !== null) {
745
- contents.isArchived = (0, smithy_client_1.expectBoolean)(data.isArchived);
745
+ contents.isArchived = smithy_client_1.expectBoolean(data.isArchived);
746
746
  }
747
747
  if (data.launchedInstance !== undefined && data.launchedInstance !== null) {
748
748
  contents.launchedInstance = deserializeAws_restJson1LaunchedInstance(data.launchedInstance, context);
@@ -754,7 +754,7 @@ const deserializeAws_restJson1ChangeServerLifeCycleStateCommand = async (output,
754
754
  contents.sourceProperties = deserializeAws_restJson1SourceProperties(data.sourceProperties, context);
755
755
  }
756
756
  if (data.sourceServerID !== undefined && data.sourceServerID !== null) {
757
- contents.sourceServerID = (0, smithy_client_1.expectString)(data.sourceServerID);
757
+ contents.sourceServerID = smithy_client_1.expectString(data.sourceServerID);
758
758
  }
759
759
  if (data.tags !== undefined && data.tags !== null) {
760
760
  contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
@@ -841,42 +841,42 @@ const deserializeAws_restJson1CreateReplicationConfigurationTemplateCommand = as
841
841
  tags: undefined,
842
842
  useDedicatedReplicationServer: undefined,
843
843
  };
844
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
844
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
845
845
  if (data.arn !== undefined && data.arn !== null) {
846
- contents.arn = (0, smithy_client_1.expectString)(data.arn);
846
+ contents.arn = smithy_client_1.expectString(data.arn);
847
847
  }
848
848
  if (data.associateDefaultSecurityGroup !== undefined && data.associateDefaultSecurityGroup !== null) {
849
- contents.associateDefaultSecurityGroup = (0, smithy_client_1.expectBoolean)(data.associateDefaultSecurityGroup);
849
+ contents.associateDefaultSecurityGroup = smithy_client_1.expectBoolean(data.associateDefaultSecurityGroup);
850
850
  }
851
851
  if (data.bandwidthThrottling !== undefined && data.bandwidthThrottling !== null) {
852
- contents.bandwidthThrottling = (0, smithy_client_1.expectLong)(data.bandwidthThrottling);
852
+ contents.bandwidthThrottling = smithy_client_1.expectLong(data.bandwidthThrottling);
853
853
  }
854
854
  if (data.createPublicIP !== undefined && data.createPublicIP !== null) {
855
- contents.createPublicIP = (0, smithy_client_1.expectBoolean)(data.createPublicIP);
855
+ contents.createPublicIP = smithy_client_1.expectBoolean(data.createPublicIP);
856
856
  }
857
857
  if (data.dataPlaneRouting !== undefined && data.dataPlaneRouting !== null) {
858
- contents.dataPlaneRouting = (0, smithy_client_1.expectString)(data.dataPlaneRouting);
858
+ contents.dataPlaneRouting = smithy_client_1.expectString(data.dataPlaneRouting);
859
859
  }
860
860
  if (data.defaultLargeStagingDiskType !== undefined && data.defaultLargeStagingDiskType !== null) {
861
- contents.defaultLargeStagingDiskType = (0, smithy_client_1.expectString)(data.defaultLargeStagingDiskType);
861
+ contents.defaultLargeStagingDiskType = smithy_client_1.expectString(data.defaultLargeStagingDiskType);
862
862
  }
863
863
  if (data.ebsEncryption !== undefined && data.ebsEncryption !== null) {
864
- contents.ebsEncryption = (0, smithy_client_1.expectString)(data.ebsEncryption);
864
+ contents.ebsEncryption = smithy_client_1.expectString(data.ebsEncryption);
865
865
  }
866
866
  if (data.ebsEncryptionKeyArn !== undefined && data.ebsEncryptionKeyArn !== null) {
867
- contents.ebsEncryptionKeyArn = (0, smithy_client_1.expectString)(data.ebsEncryptionKeyArn);
867
+ contents.ebsEncryptionKeyArn = smithy_client_1.expectString(data.ebsEncryptionKeyArn);
868
868
  }
869
869
  if (data.replicationConfigurationTemplateID !== undefined && data.replicationConfigurationTemplateID !== null) {
870
- contents.replicationConfigurationTemplateID = (0, smithy_client_1.expectString)(data.replicationConfigurationTemplateID);
870
+ contents.replicationConfigurationTemplateID = smithy_client_1.expectString(data.replicationConfigurationTemplateID);
871
871
  }
872
872
  if (data.replicationServerInstanceType !== undefined && data.replicationServerInstanceType !== null) {
873
- contents.replicationServerInstanceType = (0, smithy_client_1.expectString)(data.replicationServerInstanceType);
873
+ contents.replicationServerInstanceType = smithy_client_1.expectString(data.replicationServerInstanceType);
874
874
  }
875
875
  if (data.replicationServersSecurityGroupsIDs !== undefined && data.replicationServersSecurityGroupsIDs !== null) {
876
876
  contents.replicationServersSecurityGroupsIDs = deserializeAws_restJson1ReplicationServersSecurityGroupsIDs(data.replicationServersSecurityGroupsIDs, context);
877
877
  }
878
878
  if (data.stagingAreaSubnetId !== undefined && data.stagingAreaSubnetId !== null) {
879
- contents.stagingAreaSubnetId = (0, smithy_client_1.expectString)(data.stagingAreaSubnetId);
879
+ contents.stagingAreaSubnetId = smithy_client_1.expectString(data.stagingAreaSubnetId);
880
880
  }
881
881
  if (data.stagingAreaTags !== undefined && data.stagingAreaTags !== null) {
882
882
  contents.stagingAreaTags = deserializeAws_restJson1TagsMap(data.stagingAreaTags, context);
@@ -885,7 +885,7 @@ const deserializeAws_restJson1CreateReplicationConfigurationTemplateCommand = as
885
885
  contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
886
886
  }
887
887
  if (data.useDedicatedReplicationServer !== undefined && data.useDedicatedReplicationServer !== null) {
888
- contents.useDedicatedReplicationServer = (0, smithy_client_1.expectBoolean)(data.useDedicatedReplicationServer);
888
+ contents.useDedicatedReplicationServer = smithy_client_1.expectBoolean(data.useDedicatedReplicationServer);
889
889
  }
890
890
  return Promise.resolve(contents);
891
891
  };
@@ -1128,12 +1128,12 @@ const deserializeAws_restJson1DescribeJobLogItemsCommand = async (output, contex
1128
1128
  items: undefined,
1129
1129
  nextToken: undefined,
1130
1130
  };
1131
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1131
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1132
1132
  if (data.items !== undefined && data.items !== null) {
1133
1133
  contents.items = deserializeAws_restJson1JobLogs(data.items, context);
1134
1134
  }
1135
1135
  if (data.nextToken !== undefined && data.nextToken !== null) {
1136
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1136
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
1137
1137
  }
1138
1138
  return Promise.resolve(contents);
1139
1139
  };
@@ -1188,12 +1188,12 @@ const deserializeAws_restJson1DescribeJobsCommand = async (output, context) => {
1188
1188
  items: undefined,
1189
1189
  nextToken: undefined,
1190
1190
  };
1191
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1191
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1192
1192
  if (data.items !== undefined && data.items !== null) {
1193
1193
  contents.items = deserializeAws_restJson1JobsList(data.items, context);
1194
1194
  }
1195
1195
  if (data.nextToken !== undefined && data.nextToken !== null) {
1196
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1196
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
1197
1197
  }
1198
1198
  return Promise.resolve(contents);
1199
1199
  };
@@ -1248,12 +1248,12 @@ const deserializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand =
1248
1248
  items: undefined,
1249
1249
  nextToken: undefined,
1250
1250
  };
1251
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1251
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1252
1252
  if (data.items !== undefined && data.items !== null) {
1253
1253
  contents.items = deserializeAws_restJson1ReplicationConfigurationTemplates(data.items, context);
1254
1254
  }
1255
1255
  if (data.nextToken !== undefined && data.nextToken !== null) {
1256
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1256
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
1257
1257
  }
1258
1258
  return Promise.resolve(contents);
1259
1259
  };
@@ -1316,12 +1316,12 @@ const deserializeAws_restJson1DescribeSourceServersCommand = async (output, cont
1316
1316
  items: undefined,
1317
1317
  nextToken: undefined,
1318
1318
  };
1319
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1319
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1320
1320
  if (data.items !== undefined && data.items !== null) {
1321
1321
  contents.items = deserializeAws_restJson1SourceServersList(data.items, context);
1322
1322
  }
1323
1323
  if (data.nextToken !== undefined && data.nextToken !== null) {
1324
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1324
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
1325
1325
  }
1326
1326
  return Promise.resolve(contents);
1327
1327
  };
@@ -1382,15 +1382,15 @@ const deserializeAws_restJson1DisconnectFromServiceCommand = async (output, cont
1382
1382
  sourceServerID: undefined,
1383
1383
  tags: undefined,
1384
1384
  };
1385
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1385
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1386
1386
  if (data.arn !== undefined && data.arn !== null) {
1387
- contents.arn = (0, smithy_client_1.expectString)(data.arn);
1387
+ contents.arn = smithy_client_1.expectString(data.arn);
1388
1388
  }
1389
1389
  if (data.dataReplicationInfo !== undefined && data.dataReplicationInfo !== null) {
1390
1390
  contents.dataReplicationInfo = deserializeAws_restJson1DataReplicationInfo(data.dataReplicationInfo, context);
1391
1391
  }
1392
1392
  if (data.isArchived !== undefined && data.isArchived !== null) {
1393
- contents.isArchived = (0, smithy_client_1.expectBoolean)(data.isArchived);
1393
+ contents.isArchived = smithy_client_1.expectBoolean(data.isArchived);
1394
1394
  }
1395
1395
  if (data.launchedInstance !== undefined && data.launchedInstance !== null) {
1396
1396
  contents.launchedInstance = deserializeAws_restJson1LaunchedInstance(data.launchedInstance, context);
@@ -1402,7 +1402,7 @@ const deserializeAws_restJson1DisconnectFromServiceCommand = async (output, cont
1402
1402
  contents.sourceProperties = deserializeAws_restJson1SourceProperties(data.sourceProperties, context);
1403
1403
  }
1404
1404
  if (data.sourceServerID !== undefined && data.sourceServerID !== null) {
1405
- contents.sourceServerID = (0, smithy_client_1.expectString)(data.sourceServerID);
1405
+ contents.sourceServerID = smithy_client_1.expectString(data.sourceServerID);
1406
1406
  }
1407
1407
  if (data.tags !== undefined && data.tags !== null) {
1408
1408
  contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
@@ -1474,15 +1474,15 @@ const deserializeAws_restJson1FinalizeCutoverCommand = async (output, context) =
1474
1474
  sourceServerID: undefined,
1475
1475
  tags: undefined,
1476
1476
  };
1477
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1477
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1478
1478
  if (data.arn !== undefined && data.arn !== null) {
1479
- contents.arn = (0, smithy_client_1.expectString)(data.arn);
1479
+ contents.arn = smithy_client_1.expectString(data.arn);
1480
1480
  }
1481
1481
  if (data.dataReplicationInfo !== undefined && data.dataReplicationInfo !== null) {
1482
1482
  contents.dataReplicationInfo = deserializeAws_restJson1DataReplicationInfo(data.dataReplicationInfo, context);
1483
1483
  }
1484
1484
  if (data.isArchived !== undefined && data.isArchived !== null) {
1485
- contents.isArchived = (0, smithy_client_1.expectBoolean)(data.isArchived);
1485
+ contents.isArchived = smithy_client_1.expectBoolean(data.isArchived);
1486
1486
  }
1487
1487
  if (data.launchedInstance !== undefined && data.launchedInstance !== null) {
1488
1488
  contents.launchedInstance = deserializeAws_restJson1LaunchedInstance(data.launchedInstance, context);
@@ -1494,7 +1494,7 @@ const deserializeAws_restJson1FinalizeCutoverCommand = async (output, context) =
1494
1494
  contents.sourceProperties = deserializeAws_restJson1SourceProperties(data.sourceProperties, context);
1495
1495
  }
1496
1496
  if (data.sourceServerID !== undefined && data.sourceServerID !== null) {
1497
- contents.sourceServerID = (0, smithy_client_1.expectString)(data.sourceServerID);
1497
+ contents.sourceServerID = smithy_client_1.expectString(data.sourceServerID);
1498
1498
  }
1499
1499
  if (data.tags !== undefined && data.tags !== null) {
1500
1500
  contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
@@ -1574,30 +1574,30 @@ const deserializeAws_restJson1GetLaunchConfigurationCommand = async (output, con
1574
1574
  sourceServerID: undefined,
1575
1575
  targetInstanceTypeRightSizingMethod: undefined,
1576
1576
  };
1577
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1577
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1578
1578
  if (data.copyPrivateIp !== undefined && data.copyPrivateIp !== null) {
1579
- contents.copyPrivateIp = (0, smithy_client_1.expectBoolean)(data.copyPrivateIp);
1579
+ contents.copyPrivateIp = smithy_client_1.expectBoolean(data.copyPrivateIp);
1580
1580
  }
1581
1581
  if (data.copyTags !== undefined && data.copyTags !== null) {
1582
- contents.copyTags = (0, smithy_client_1.expectBoolean)(data.copyTags);
1582
+ contents.copyTags = smithy_client_1.expectBoolean(data.copyTags);
1583
1583
  }
1584
1584
  if (data.ec2LaunchTemplateID !== undefined && data.ec2LaunchTemplateID !== null) {
1585
- contents.ec2LaunchTemplateID = (0, smithy_client_1.expectString)(data.ec2LaunchTemplateID);
1585
+ contents.ec2LaunchTemplateID = smithy_client_1.expectString(data.ec2LaunchTemplateID);
1586
1586
  }
1587
1587
  if (data.launchDisposition !== undefined && data.launchDisposition !== null) {
1588
- contents.launchDisposition = (0, smithy_client_1.expectString)(data.launchDisposition);
1588
+ contents.launchDisposition = smithy_client_1.expectString(data.launchDisposition);
1589
1589
  }
1590
1590
  if (data.licensing !== undefined && data.licensing !== null) {
1591
1591
  contents.licensing = deserializeAws_restJson1Licensing(data.licensing, context);
1592
1592
  }
1593
1593
  if (data.name !== undefined && data.name !== null) {
1594
- contents.name = (0, smithy_client_1.expectString)(data.name);
1594
+ contents.name = smithy_client_1.expectString(data.name);
1595
1595
  }
1596
1596
  if (data.sourceServerID !== undefined && data.sourceServerID !== null) {
1597
- contents.sourceServerID = (0, smithy_client_1.expectString)(data.sourceServerID);
1597
+ contents.sourceServerID = smithy_client_1.expectString(data.sourceServerID);
1598
1598
  }
1599
1599
  if (data.targetInstanceTypeRightSizingMethod !== undefined && data.targetInstanceTypeRightSizingMethod !== null) {
1600
- contents.targetInstanceTypeRightSizingMethod = (0, smithy_client_1.expectString)(data.targetInstanceTypeRightSizingMethod);
1600
+ contents.targetInstanceTypeRightSizingMethod = smithy_client_1.expectString(data.targetInstanceTypeRightSizingMethod);
1601
1601
  }
1602
1602
  return Promise.resolve(contents);
1603
1603
  };
@@ -1665,51 +1665,51 @@ const deserializeAws_restJson1GetReplicationConfigurationCommand = async (output
1665
1665
  stagingAreaTags: undefined,
1666
1666
  useDedicatedReplicationServer: undefined,
1667
1667
  };
1668
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1668
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1669
1669
  if (data.associateDefaultSecurityGroup !== undefined && data.associateDefaultSecurityGroup !== null) {
1670
- contents.associateDefaultSecurityGroup = (0, smithy_client_1.expectBoolean)(data.associateDefaultSecurityGroup);
1670
+ contents.associateDefaultSecurityGroup = smithy_client_1.expectBoolean(data.associateDefaultSecurityGroup);
1671
1671
  }
1672
1672
  if (data.bandwidthThrottling !== undefined && data.bandwidthThrottling !== null) {
1673
- contents.bandwidthThrottling = (0, smithy_client_1.expectLong)(data.bandwidthThrottling);
1673
+ contents.bandwidthThrottling = smithy_client_1.expectLong(data.bandwidthThrottling);
1674
1674
  }
1675
1675
  if (data.createPublicIP !== undefined && data.createPublicIP !== null) {
1676
- contents.createPublicIP = (0, smithy_client_1.expectBoolean)(data.createPublicIP);
1676
+ contents.createPublicIP = smithy_client_1.expectBoolean(data.createPublicIP);
1677
1677
  }
1678
1678
  if (data.dataPlaneRouting !== undefined && data.dataPlaneRouting !== null) {
1679
- contents.dataPlaneRouting = (0, smithy_client_1.expectString)(data.dataPlaneRouting);
1679
+ contents.dataPlaneRouting = smithy_client_1.expectString(data.dataPlaneRouting);
1680
1680
  }
1681
1681
  if (data.defaultLargeStagingDiskType !== undefined && data.defaultLargeStagingDiskType !== null) {
1682
- contents.defaultLargeStagingDiskType = (0, smithy_client_1.expectString)(data.defaultLargeStagingDiskType);
1682
+ contents.defaultLargeStagingDiskType = smithy_client_1.expectString(data.defaultLargeStagingDiskType);
1683
1683
  }
1684
1684
  if (data.ebsEncryption !== undefined && data.ebsEncryption !== null) {
1685
- contents.ebsEncryption = (0, smithy_client_1.expectString)(data.ebsEncryption);
1685
+ contents.ebsEncryption = smithy_client_1.expectString(data.ebsEncryption);
1686
1686
  }
1687
1687
  if (data.ebsEncryptionKeyArn !== undefined && data.ebsEncryptionKeyArn !== null) {
1688
- contents.ebsEncryptionKeyArn = (0, smithy_client_1.expectString)(data.ebsEncryptionKeyArn);
1688
+ contents.ebsEncryptionKeyArn = smithy_client_1.expectString(data.ebsEncryptionKeyArn);
1689
1689
  }
1690
1690
  if (data.name !== undefined && data.name !== null) {
1691
- contents.name = (0, smithy_client_1.expectString)(data.name);
1691
+ contents.name = smithy_client_1.expectString(data.name);
1692
1692
  }
1693
1693
  if (data.replicatedDisks !== undefined && data.replicatedDisks !== null) {
1694
1694
  contents.replicatedDisks = deserializeAws_restJson1ReplicationConfigurationReplicatedDisks(data.replicatedDisks, context);
1695
1695
  }
1696
1696
  if (data.replicationServerInstanceType !== undefined && data.replicationServerInstanceType !== null) {
1697
- contents.replicationServerInstanceType = (0, smithy_client_1.expectString)(data.replicationServerInstanceType);
1697
+ contents.replicationServerInstanceType = smithy_client_1.expectString(data.replicationServerInstanceType);
1698
1698
  }
1699
1699
  if (data.replicationServersSecurityGroupsIDs !== undefined && data.replicationServersSecurityGroupsIDs !== null) {
1700
1700
  contents.replicationServersSecurityGroupsIDs = deserializeAws_restJson1ReplicationServersSecurityGroupsIDs(data.replicationServersSecurityGroupsIDs, context);
1701
1701
  }
1702
1702
  if (data.sourceServerID !== undefined && data.sourceServerID !== null) {
1703
- contents.sourceServerID = (0, smithy_client_1.expectString)(data.sourceServerID);
1703
+ contents.sourceServerID = smithy_client_1.expectString(data.sourceServerID);
1704
1704
  }
1705
1705
  if (data.stagingAreaSubnetId !== undefined && data.stagingAreaSubnetId !== null) {
1706
- contents.stagingAreaSubnetId = (0, smithy_client_1.expectString)(data.stagingAreaSubnetId);
1706
+ contents.stagingAreaSubnetId = smithy_client_1.expectString(data.stagingAreaSubnetId);
1707
1707
  }
1708
1708
  if (data.stagingAreaTags !== undefined && data.stagingAreaTags !== null) {
1709
1709
  contents.stagingAreaTags = deserializeAws_restJson1TagsMap(data.stagingAreaTags, context);
1710
1710
  }
1711
1711
  if (data.useDedicatedReplicationServer !== undefined && data.useDedicatedReplicationServer !== null) {
1712
- contents.useDedicatedReplicationServer = (0, smithy_client_1.expectBoolean)(data.useDedicatedReplicationServer);
1712
+ contents.useDedicatedReplicationServer = smithy_client_1.expectBoolean(data.useDedicatedReplicationServer);
1713
1713
  }
1714
1714
  return Promise.resolve(contents);
1715
1715
  };
@@ -1815,7 +1815,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
1815
1815
  $metadata: deserializeMetadata(output),
1816
1816
  tags: undefined,
1817
1817
  };
1818
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1818
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1819
1819
  if (data.tags !== undefined && data.tags !== null) {
1820
1820
  contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
1821
1821
  }
@@ -1902,15 +1902,15 @@ const deserializeAws_restJson1MarkAsArchivedCommand = async (output, context) =>
1902
1902
  sourceServerID: undefined,
1903
1903
  tags: undefined,
1904
1904
  };
1905
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1905
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1906
1906
  if (data.arn !== undefined && data.arn !== null) {
1907
- contents.arn = (0, smithy_client_1.expectString)(data.arn);
1907
+ contents.arn = smithy_client_1.expectString(data.arn);
1908
1908
  }
1909
1909
  if (data.dataReplicationInfo !== undefined && data.dataReplicationInfo !== null) {
1910
1910
  contents.dataReplicationInfo = deserializeAws_restJson1DataReplicationInfo(data.dataReplicationInfo, context);
1911
1911
  }
1912
1912
  if (data.isArchived !== undefined && data.isArchived !== null) {
1913
- contents.isArchived = (0, smithy_client_1.expectBoolean)(data.isArchived);
1913
+ contents.isArchived = smithy_client_1.expectBoolean(data.isArchived);
1914
1914
  }
1915
1915
  if (data.launchedInstance !== undefined && data.launchedInstance !== null) {
1916
1916
  contents.launchedInstance = deserializeAws_restJson1LaunchedInstance(data.launchedInstance, context);
@@ -1922,7 +1922,7 @@ const deserializeAws_restJson1MarkAsArchivedCommand = async (output, context) =>
1922
1922
  contents.sourceProperties = deserializeAws_restJson1SourceProperties(data.sourceProperties, context);
1923
1923
  }
1924
1924
  if (data.sourceServerID !== undefined && data.sourceServerID !== null) {
1925
- contents.sourceServerID = (0, smithy_client_1.expectString)(data.sourceServerID);
1925
+ contents.sourceServerID = smithy_client_1.expectString(data.sourceServerID);
1926
1926
  }
1927
1927
  if (data.tags !== undefined && data.tags !== null) {
1928
1928
  contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
@@ -1994,15 +1994,15 @@ const deserializeAws_restJson1RetryDataReplicationCommand = async (output, conte
1994
1994
  sourceServerID: undefined,
1995
1995
  tags: undefined,
1996
1996
  };
1997
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1997
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1998
1998
  if (data.arn !== undefined && data.arn !== null) {
1999
- contents.arn = (0, smithy_client_1.expectString)(data.arn);
1999
+ contents.arn = smithy_client_1.expectString(data.arn);
2000
2000
  }
2001
2001
  if (data.dataReplicationInfo !== undefined && data.dataReplicationInfo !== null) {
2002
2002
  contents.dataReplicationInfo = deserializeAws_restJson1DataReplicationInfo(data.dataReplicationInfo, context);
2003
2003
  }
2004
2004
  if (data.isArchived !== undefined && data.isArchived !== null) {
2005
- contents.isArchived = (0, smithy_client_1.expectBoolean)(data.isArchived);
2005
+ contents.isArchived = smithy_client_1.expectBoolean(data.isArchived);
2006
2006
  }
2007
2007
  if (data.launchedInstance !== undefined && data.launchedInstance !== null) {
2008
2008
  contents.launchedInstance = deserializeAws_restJson1LaunchedInstance(data.launchedInstance, context);
@@ -2014,7 +2014,7 @@ const deserializeAws_restJson1RetryDataReplicationCommand = async (output, conte
2014
2014
  contents.sourceProperties = deserializeAws_restJson1SourceProperties(data.sourceProperties, context);
2015
2015
  }
2016
2016
  if (data.sourceServerID !== undefined && data.sourceServerID !== null) {
2017
- contents.sourceServerID = (0, smithy_client_1.expectString)(data.sourceServerID);
2017
+ contents.sourceServerID = smithy_client_1.expectString(data.sourceServerID);
2018
2018
  }
2019
2019
  if (data.tags !== undefined && data.tags !== null) {
2020
2020
  contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
@@ -2079,7 +2079,7 @@ const deserializeAws_restJson1StartCutoverCommand = async (output, context) => {
2079
2079
  $metadata: deserializeMetadata(output),
2080
2080
  job: undefined,
2081
2081
  };
2082
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2082
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2083
2083
  if (data.job !== undefined && data.job !== null) {
2084
2084
  contents.job = deserializeAws_restJson1Job(data.job, context);
2085
2085
  }
@@ -2143,7 +2143,7 @@ const deserializeAws_restJson1StartTestCommand = async (output, context) => {
2143
2143
  $metadata: deserializeMetadata(output),
2144
2144
  job: undefined,
2145
2145
  };
2146
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2146
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2147
2147
  if (data.job !== undefined && data.job !== null) {
2148
2148
  contents.job = deserializeAws_restJson1Job(data.job, context);
2149
2149
  }
@@ -2283,7 +2283,7 @@ const deserializeAws_restJson1TerminateTargetInstancesCommand = async (output, c
2283
2283
  $metadata: deserializeMetadata(output),
2284
2284
  job: undefined,
2285
2285
  };
2286
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2286
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2287
2287
  if (data.job !== undefined && data.job !== null) {
2288
2288
  contents.job = deserializeAws_restJson1Job(data.job, context);
2289
2289
  }
@@ -2430,30 +2430,30 @@ const deserializeAws_restJson1UpdateLaunchConfigurationCommand = async (output,
2430
2430
  sourceServerID: undefined,
2431
2431
  targetInstanceTypeRightSizingMethod: undefined,
2432
2432
  };
2433
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2433
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2434
2434
  if (data.copyPrivateIp !== undefined && data.copyPrivateIp !== null) {
2435
- contents.copyPrivateIp = (0, smithy_client_1.expectBoolean)(data.copyPrivateIp);
2435
+ contents.copyPrivateIp = smithy_client_1.expectBoolean(data.copyPrivateIp);
2436
2436
  }
2437
2437
  if (data.copyTags !== undefined && data.copyTags !== null) {
2438
- contents.copyTags = (0, smithy_client_1.expectBoolean)(data.copyTags);
2438
+ contents.copyTags = smithy_client_1.expectBoolean(data.copyTags);
2439
2439
  }
2440
2440
  if (data.ec2LaunchTemplateID !== undefined && data.ec2LaunchTemplateID !== null) {
2441
- contents.ec2LaunchTemplateID = (0, smithy_client_1.expectString)(data.ec2LaunchTemplateID);
2441
+ contents.ec2LaunchTemplateID = smithy_client_1.expectString(data.ec2LaunchTemplateID);
2442
2442
  }
2443
2443
  if (data.launchDisposition !== undefined && data.launchDisposition !== null) {
2444
- contents.launchDisposition = (0, smithy_client_1.expectString)(data.launchDisposition);
2444
+ contents.launchDisposition = smithy_client_1.expectString(data.launchDisposition);
2445
2445
  }
2446
2446
  if (data.licensing !== undefined && data.licensing !== null) {
2447
2447
  contents.licensing = deserializeAws_restJson1Licensing(data.licensing, context);
2448
2448
  }
2449
2449
  if (data.name !== undefined && data.name !== null) {
2450
- contents.name = (0, smithy_client_1.expectString)(data.name);
2450
+ contents.name = smithy_client_1.expectString(data.name);
2451
2451
  }
2452
2452
  if (data.sourceServerID !== undefined && data.sourceServerID !== null) {
2453
- contents.sourceServerID = (0, smithy_client_1.expectString)(data.sourceServerID);
2453
+ contents.sourceServerID = smithy_client_1.expectString(data.sourceServerID);
2454
2454
  }
2455
2455
  if (data.targetInstanceTypeRightSizingMethod !== undefined && data.targetInstanceTypeRightSizingMethod !== null) {
2456
- contents.targetInstanceTypeRightSizingMethod = (0, smithy_client_1.expectString)(data.targetInstanceTypeRightSizingMethod);
2456
+ contents.targetInstanceTypeRightSizingMethod = smithy_client_1.expectString(data.targetInstanceTypeRightSizingMethod);
2457
2457
  }
2458
2458
  return Promise.resolve(contents);
2459
2459
  };
@@ -2537,51 +2537,51 @@ const deserializeAws_restJson1UpdateReplicationConfigurationCommand = async (out
2537
2537
  stagingAreaTags: undefined,
2538
2538
  useDedicatedReplicationServer: undefined,
2539
2539
  };
2540
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2540
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2541
2541
  if (data.associateDefaultSecurityGroup !== undefined && data.associateDefaultSecurityGroup !== null) {
2542
- contents.associateDefaultSecurityGroup = (0, smithy_client_1.expectBoolean)(data.associateDefaultSecurityGroup);
2542
+ contents.associateDefaultSecurityGroup = smithy_client_1.expectBoolean(data.associateDefaultSecurityGroup);
2543
2543
  }
2544
2544
  if (data.bandwidthThrottling !== undefined && data.bandwidthThrottling !== null) {
2545
- contents.bandwidthThrottling = (0, smithy_client_1.expectLong)(data.bandwidthThrottling);
2545
+ contents.bandwidthThrottling = smithy_client_1.expectLong(data.bandwidthThrottling);
2546
2546
  }
2547
2547
  if (data.createPublicIP !== undefined && data.createPublicIP !== null) {
2548
- contents.createPublicIP = (0, smithy_client_1.expectBoolean)(data.createPublicIP);
2548
+ contents.createPublicIP = smithy_client_1.expectBoolean(data.createPublicIP);
2549
2549
  }
2550
2550
  if (data.dataPlaneRouting !== undefined && data.dataPlaneRouting !== null) {
2551
- contents.dataPlaneRouting = (0, smithy_client_1.expectString)(data.dataPlaneRouting);
2551
+ contents.dataPlaneRouting = smithy_client_1.expectString(data.dataPlaneRouting);
2552
2552
  }
2553
2553
  if (data.defaultLargeStagingDiskType !== undefined && data.defaultLargeStagingDiskType !== null) {
2554
- contents.defaultLargeStagingDiskType = (0, smithy_client_1.expectString)(data.defaultLargeStagingDiskType);
2554
+ contents.defaultLargeStagingDiskType = smithy_client_1.expectString(data.defaultLargeStagingDiskType);
2555
2555
  }
2556
2556
  if (data.ebsEncryption !== undefined && data.ebsEncryption !== null) {
2557
- contents.ebsEncryption = (0, smithy_client_1.expectString)(data.ebsEncryption);
2557
+ contents.ebsEncryption = smithy_client_1.expectString(data.ebsEncryption);
2558
2558
  }
2559
2559
  if (data.ebsEncryptionKeyArn !== undefined && data.ebsEncryptionKeyArn !== null) {
2560
- contents.ebsEncryptionKeyArn = (0, smithy_client_1.expectString)(data.ebsEncryptionKeyArn);
2560
+ contents.ebsEncryptionKeyArn = smithy_client_1.expectString(data.ebsEncryptionKeyArn);
2561
2561
  }
2562
2562
  if (data.name !== undefined && data.name !== null) {
2563
- contents.name = (0, smithy_client_1.expectString)(data.name);
2563
+ contents.name = smithy_client_1.expectString(data.name);
2564
2564
  }
2565
2565
  if (data.replicatedDisks !== undefined && data.replicatedDisks !== null) {
2566
2566
  contents.replicatedDisks = deserializeAws_restJson1ReplicationConfigurationReplicatedDisks(data.replicatedDisks, context);
2567
2567
  }
2568
2568
  if (data.replicationServerInstanceType !== undefined && data.replicationServerInstanceType !== null) {
2569
- contents.replicationServerInstanceType = (0, smithy_client_1.expectString)(data.replicationServerInstanceType);
2569
+ contents.replicationServerInstanceType = smithy_client_1.expectString(data.replicationServerInstanceType);
2570
2570
  }
2571
2571
  if (data.replicationServersSecurityGroupsIDs !== undefined && data.replicationServersSecurityGroupsIDs !== null) {
2572
2572
  contents.replicationServersSecurityGroupsIDs = deserializeAws_restJson1ReplicationServersSecurityGroupsIDs(data.replicationServersSecurityGroupsIDs, context);
2573
2573
  }
2574
2574
  if (data.sourceServerID !== undefined && data.sourceServerID !== null) {
2575
- contents.sourceServerID = (0, smithy_client_1.expectString)(data.sourceServerID);
2575
+ contents.sourceServerID = smithy_client_1.expectString(data.sourceServerID);
2576
2576
  }
2577
2577
  if (data.stagingAreaSubnetId !== undefined && data.stagingAreaSubnetId !== null) {
2578
- contents.stagingAreaSubnetId = (0, smithy_client_1.expectString)(data.stagingAreaSubnetId);
2578
+ contents.stagingAreaSubnetId = smithy_client_1.expectString(data.stagingAreaSubnetId);
2579
2579
  }
2580
2580
  if (data.stagingAreaTags !== undefined && data.stagingAreaTags !== null) {
2581
2581
  contents.stagingAreaTags = deserializeAws_restJson1TagsMap(data.stagingAreaTags, context);
2582
2582
  }
2583
2583
  if (data.useDedicatedReplicationServer !== undefined && data.useDedicatedReplicationServer !== null) {
2584
- contents.useDedicatedReplicationServer = (0, smithy_client_1.expectBoolean)(data.useDedicatedReplicationServer);
2584
+ contents.useDedicatedReplicationServer = smithy_client_1.expectBoolean(data.useDedicatedReplicationServer);
2585
2585
  }
2586
2586
  return Promise.resolve(contents);
2587
2587
  };
@@ -2673,42 +2673,42 @@ const deserializeAws_restJson1UpdateReplicationConfigurationTemplateCommand = as
2673
2673
  tags: undefined,
2674
2674
  useDedicatedReplicationServer: undefined,
2675
2675
  };
2676
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2676
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2677
2677
  if (data.arn !== undefined && data.arn !== null) {
2678
- contents.arn = (0, smithy_client_1.expectString)(data.arn);
2678
+ contents.arn = smithy_client_1.expectString(data.arn);
2679
2679
  }
2680
2680
  if (data.associateDefaultSecurityGroup !== undefined && data.associateDefaultSecurityGroup !== null) {
2681
- contents.associateDefaultSecurityGroup = (0, smithy_client_1.expectBoolean)(data.associateDefaultSecurityGroup);
2681
+ contents.associateDefaultSecurityGroup = smithy_client_1.expectBoolean(data.associateDefaultSecurityGroup);
2682
2682
  }
2683
2683
  if (data.bandwidthThrottling !== undefined && data.bandwidthThrottling !== null) {
2684
- contents.bandwidthThrottling = (0, smithy_client_1.expectLong)(data.bandwidthThrottling);
2684
+ contents.bandwidthThrottling = smithy_client_1.expectLong(data.bandwidthThrottling);
2685
2685
  }
2686
2686
  if (data.createPublicIP !== undefined && data.createPublicIP !== null) {
2687
- contents.createPublicIP = (0, smithy_client_1.expectBoolean)(data.createPublicIP);
2687
+ contents.createPublicIP = smithy_client_1.expectBoolean(data.createPublicIP);
2688
2688
  }
2689
2689
  if (data.dataPlaneRouting !== undefined && data.dataPlaneRouting !== null) {
2690
- contents.dataPlaneRouting = (0, smithy_client_1.expectString)(data.dataPlaneRouting);
2690
+ contents.dataPlaneRouting = smithy_client_1.expectString(data.dataPlaneRouting);
2691
2691
  }
2692
2692
  if (data.defaultLargeStagingDiskType !== undefined && data.defaultLargeStagingDiskType !== null) {
2693
- contents.defaultLargeStagingDiskType = (0, smithy_client_1.expectString)(data.defaultLargeStagingDiskType);
2693
+ contents.defaultLargeStagingDiskType = smithy_client_1.expectString(data.defaultLargeStagingDiskType);
2694
2694
  }
2695
2695
  if (data.ebsEncryption !== undefined && data.ebsEncryption !== null) {
2696
- contents.ebsEncryption = (0, smithy_client_1.expectString)(data.ebsEncryption);
2696
+ contents.ebsEncryption = smithy_client_1.expectString(data.ebsEncryption);
2697
2697
  }
2698
2698
  if (data.ebsEncryptionKeyArn !== undefined && data.ebsEncryptionKeyArn !== null) {
2699
- contents.ebsEncryptionKeyArn = (0, smithy_client_1.expectString)(data.ebsEncryptionKeyArn);
2699
+ contents.ebsEncryptionKeyArn = smithy_client_1.expectString(data.ebsEncryptionKeyArn);
2700
2700
  }
2701
2701
  if (data.replicationConfigurationTemplateID !== undefined && data.replicationConfigurationTemplateID !== null) {
2702
- contents.replicationConfigurationTemplateID = (0, smithy_client_1.expectString)(data.replicationConfigurationTemplateID);
2702
+ contents.replicationConfigurationTemplateID = smithy_client_1.expectString(data.replicationConfigurationTemplateID);
2703
2703
  }
2704
2704
  if (data.replicationServerInstanceType !== undefined && data.replicationServerInstanceType !== null) {
2705
- contents.replicationServerInstanceType = (0, smithy_client_1.expectString)(data.replicationServerInstanceType);
2705
+ contents.replicationServerInstanceType = smithy_client_1.expectString(data.replicationServerInstanceType);
2706
2706
  }
2707
2707
  if (data.replicationServersSecurityGroupsIDs !== undefined && data.replicationServersSecurityGroupsIDs !== null) {
2708
2708
  contents.replicationServersSecurityGroupsIDs = deserializeAws_restJson1ReplicationServersSecurityGroupsIDs(data.replicationServersSecurityGroupsIDs, context);
2709
2709
  }
2710
2710
  if (data.stagingAreaSubnetId !== undefined && data.stagingAreaSubnetId !== null) {
2711
- contents.stagingAreaSubnetId = (0, smithy_client_1.expectString)(data.stagingAreaSubnetId);
2711
+ contents.stagingAreaSubnetId = smithy_client_1.expectString(data.stagingAreaSubnetId);
2712
2712
  }
2713
2713
  if (data.stagingAreaTags !== undefined && data.stagingAreaTags !== null) {
2714
2714
  contents.stagingAreaTags = deserializeAws_restJson1TagsMap(data.stagingAreaTags, context);
@@ -2717,7 +2717,7 @@ const deserializeAws_restJson1UpdateReplicationConfigurationTemplateCommand = as
2717
2717
  contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
2718
2718
  }
2719
2719
  if (data.useDedicatedReplicationServer !== undefined && data.useDedicatedReplicationServer !== null) {
2720
- contents.useDedicatedReplicationServer = (0, smithy_client_1.expectBoolean)(data.useDedicatedReplicationServer);
2720
+ contents.useDedicatedReplicationServer = smithy_client_1.expectBoolean(data.useDedicatedReplicationServer);
2721
2721
  }
2722
2722
  return Promise.resolve(contents);
2723
2723
  };
@@ -2789,10 +2789,10 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
2789
2789
  };
2790
2790
  const data = parsedOutput.body;
2791
2791
  if (data.code !== undefined && data.code !== null) {
2792
- contents.code = (0, smithy_client_1.expectString)(data.code);
2792
+ contents.code = smithy_client_1.expectString(data.code);
2793
2793
  }
2794
2794
  if (data.message !== undefined && data.message !== null) {
2795
- contents.message = (0, smithy_client_1.expectString)(data.message);
2795
+ contents.message = smithy_client_1.expectString(data.message);
2796
2796
  }
2797
2797
  return contents;
2798
2798
  };
@@ -2808,16 +2808,16 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
2808
2808
  };
2809
2809
  const data = parsedOutput.body;
2810
2810
  if (data.code !== undefined && data.code !== null) {
2811
- contents.code = (0, smithy_client_1.expectString)(data.code);
2811
+ contents.code = smithy_client_1.expectString(data.code);
2812
2812
  }
2813
2813
  if (data.message !== undefined && data.message !== null) {
2814
- contents.message = (0, smithy_client_1.expectString)(data.message);
2814
+ contents.message = smithy_client_1.expectString(data.message);
2815
2815
  }
2816
2816
  if (data.resourceId !== undefined && data.resourceId !== null) {
2817
- contents.resourceId = (0, smithy_client_1.expectString)(data.resourceId);
2817
+ contents.resourceId = smithy_client_1.expectString(data.resourceId);
2818
2818
  }
2819
2819
  if (data.resourceType !== undefined && data.resourceType !== null) {
2820
- contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
2820
+ contents.resourceType = smithy_client_1.expectString(data.resourceType);
2821
2821
  }
2822
2822
  return contents;
2823
2823
  };
@@ -2830,11 +2830,11 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
2830
2830
  retryAfterSeconds: undefined,
2831
2831
  };
2832
2832
  if (parsedOutput.headers["retry-after"] !== undefined) {
2833
- contents.retryAfterSeconds = (0, smithy_client_1.strictParseLong)(parsedOutput.headers["retry-after"]);
2833
+ contents.retryAfterSeconds = smithy_client_1.strictParseLong(parsedOutput.headers["retry-after"]);
2834
2834
  }
2835
2835
  const data = parsedOutput.body;
2836
2836
  if (data.message !== undefined && data.message !== null) {
2837
- contents.message = (0, smithy_client_1.expectString)(data.message);
2837
+ contents.message = smithy_client_1.expectString(data.message);
2838
2838
  }
2839
2839
  return contents;
2840
2840
  };
@@ -2850,16 +2850,16 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2850
2850
  };
2851
2851
  const data = parsedOutput.body;
2852
2852
  if (data.code !== undefined && data.code !== null) {
2853
- contents.code = (0, smithy_client_1.expectString)(data.code);
2853
+ contents.code = smithy_client_1.expectString(data.code);
2854
2854
  }
2855
2855
  if (data.message !== undefined && data.message !== null) {
2856
- contents.message = (0, smithy_client_1.expectString)(data.message);
2856
+ contents.message = smithy_client_1.expectString(data.message);
2857
2857
  }
2858
2858
  if (data.resourceId !== undefined && data.resourceId !== null) {
2859
- contents.resourceId = (0, smithy_client_1.expectString)(data.resourceId);
2859
+ contents.resourceId = smithy_client_1.expectString(data.resourceId);
2860
2860
  }
2861
2861
  if (data.resourceType !== undefined && data.resourceType !== null) {
2862
- contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
2862
+ contents.resourceType = smithy_client_1.expectString(data.resourceType);
2863
2863
  }
2864
2864
  return contents;
2865
2865
  };
@@ -2878,13 +2878,13 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
2878
2878
  }
2879
2879
  const data = parsedOutput.body;
2880
2880
  if (data.message !== undefined && data.message !== null) {
2881
- contents.message = (0, smithy_client_1.expectString)(data.message);
2881
+ contents.message = smithy_client_1.expectString(data.message);
2882
2882
  }
2883
2883
  if (data.quotaCode !== undefined && data.quotaCode !== null) {
2884
- contents.quotaCode = (0, smithy_client_1.expectString)(data.quotaCode);
2884
+ contents.quotaCode = smithy_client_1.expectString(data.quotaCode);
2885
2885
  }
2886
2886
  if (data.serviceCode !== undefined && data.serviceCode !== null) {
2887
- contents.serviceCode = (0, smithy_client_1.expectString)(data.serviceCode);
2887
+ contents.serviceCode = smithy_client_1.expectString(data.serviceCode);
2888
2888
  }
2889
2889
  return contents;
2890
2890
  };
@@ -2898,10 +2898,10 @@ const deserializeAws_restJson1UninitializedAccountExceptionResponse = async (par
2898
2898
  };
2899
2899
  const data = parsedOutput.body;
2900
2900
  if (data.code !== undefined && data.code !== null) {
2901
- contents.code = (0, smithy_client_1.expectString)(data.code);
2901
+ contents.code = smithy_client_1.expectString(data.code);
2902
2902
  }
2903
2903
  if (data.message !== undefined && data.message !== null) {
2904
- contents.message = (0, smithy_client_1.expectString)(data.message);
2904
+ contents.message = smithy_client_1.expectString(data.message);
2905
2905
  }
2906
2906
  return contents;
2907
2907
  };
@@ -2917,16 +2917,16 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2917
2917
  };
2918
2918
  const data = parsedOutput.body;
2919
2919
  if (data.code !== undefined && data.code !== null) {
2920
- contents.code = (0, smithy_client_1.expectString)(data.code);
2920
+ contents.code = smithy_client_1.expectString(data.code);
2921
2921
  }
2922
2922
  if (data.fieldList !== undefined && data.fieldList !== null) {
2923
2923
  contents.fieldList = deserializeAws_restJson1ValidationExceptionFieldList(data.fieldList, context);
2924
2924
  }
2925
2925
  if (data.message !== undefined && data.message !== null) {
2926
- contents.message = (0, smithy_client_1.expectString)(data.message);
2926
+ contents.message = smithy_client_1.expectString(data.message);
2927
2927
  }
2928
2928
  if (data.reason !== undefined && data.reason !== null) {
2929
- contents.reason = (0, smithy_client_1.expectString)(data.reason);
2929
+ contents.reason = smithy_client_1.expectString(data.reason);
2930
2930
  }
2931
2931
  return contents;
2932
2932
  };
@@ -3061,8 +3061,8 @@ const serializeAws_restJson1TerminateTargetInstancesRequestSourceServerIDs = (in
3061
3061
  };
3062
3062
  const deserializeAws_restJson1CPU = (output, context) => {
3063
3063
  return {
3064
- cores: (0, smithy_client_1.expectLong)(output.cores),
3065
- modelName: (0, smithy_client_1.expectString)(output.modelName),
3064
+ cores: smithy_client_1.expectLong(output.cores),
3065
+ modelName: smithy_client_1.expectString(output.modelName),
3066
3066
  };
3067
3067
  };
3068
3068
  const deserializeAws_restJson1Cpus = (output, context) => {
@@ -3077,8 +3077,8 @@ const deserializeAws_restJson1Cpus = (output, context) => {
3077
3077
  };
3078
3078
  const deserializeAws_restJson1DataReplicationError = (output, context) => {
3079
3079
  return {
3080
- error: (0, smithy_client_1.expectString)(output.error),
3081
- rawError: (0, smithy_client_1.expectString)(output.rawError),
3080
+ error: smithy_client_1.expectString(output.error),
3081
+ rawError: smithy_client_1.expectString(output.rawError),
3082
3082
  };
3083
3083
  };
3084
3084
  const deserializeAws_restJson1DataReplicationInfo = (output, context) => {
@@ -3089,9 +3089,9 @@ const deserializeAws_restJson1DataReplicationInfo = (output, context) => {
3089
3089
  dataReplicationInitiation: output.dataReplicationInitiation !== undefined && output.dataReplicationInitiation !== null
3090
3090
  ? deserializeAws_restJson1DataReplicationInitiation(output.dataReplicationInitiation, context)
3091
3091
  : undefined,
3092
- dataReplicationState: (0, smithy_client_1.expectString)(output.dataReplicationState),
3093
- etaDateTime: (0, smithy_client_1.expectString)(output.etaDateTime),
3094
- lagDuration: (0, smithy_client_1.expectString)(output.lagDuration),
3092
+ dataReplicationState: smithy_client_1.expectString(output.dataReplicationState),
3093
+ etaDateTime: smithy_client_1.expectString(output.etaDateTime),
3094
+ lagDuration: smithy_client_1.expectString(output.lagDuration),
3095
3095
  replicatedDisks: output.replicatedDisks !== undefined && output.replicatedDisks !== null
3096
3096
  ? deserializeAws_restJson1DataReplicationInfoReplicatedDisks(output.replicatedDisks, context)
3097
3097
  : undefined,
@@ -3099,11 +3099,11 @@ const deserializeAws_restJson1DataReplicationInfo = (output, context) => {
3099
3099
  };
3100
3100
  const deserializeAws_restJson1DataReplicationInfoReplicatedDisk = (output, context) => {
3101
3101
  return {
3102
- backloggedStorageBytes: (0, smithy_client_1.expectLong)(output.backloggedStorageBytes),
3103
- deviceName: (0, smithy_client_1.expectString)(output.deviceName),
3104
- replicatedStorageBytes: (0, smithy_client_1.expectLong)(output.replicatedStorageBytes),
3105
- rescannedStorageBytes: (0, smithy_client_1.expectLong)(output.rescannedStorageBytes),
3106
- totalStorageBytes: (0, smithy_client_1.expectLong)(output.totalStorageBytes),
3102
+ backloggedStorageBytes: smithy_client_1.expectLong(output.backloggedStorageBytes),
3103
+ deviceName: smithy_client_1.expectString(output.deviceName),
3104
+ replicatedStorageBytes: smithy_client_1.expectLong(output.replicatedStorageBytes),
3105
+ rescannedStorageBytes: smithy_client_1.expectLong(output.rescannedStorageBytes),
3106
+ totalStorageBytes: smithy_client_1.expectLong(output.totalStorageBytes),
3107
3107
  };
3108
3108
  };
3109
3109
  const deserializeAws_restJson1DataReplicationInfoReplicatedDisks = (output, context) => {
@@ -3118,8 +3118,8 @@ const deserializeAws_restJson1DataReplicationInfoReplicatedDisks = (output, cont
3118
3118
  };
3119
3119
  const deserializeAws_restJson1DataReplicationInitiation = (output, context) => {
3120
3120
  return {
3121
- nextAttemptDateTime: (0, smithy_client_1.expectString)(output.nextAttemptDateTime),
3122
- startDateTime: (0, smithy_client_1.expectString)(output.startDateTime),
3121
+ nextAttemptDateTime: smithy_client_1.expectString(output.nextAttemptDateTime),
3122
+ startDateTime: smithy_client_1.expectString(output.startDateTime),
3123
3123
  steps: output.steps !== undefined && output.steps !== null
3124
3124
  ? deserializeAws_restJson1DataReplicationInitiationSteps(output.steps, context)
3125
3125
  : undefined,
@@ -3127,8 +3127,8 @@ const deserializeAws_restJson1DataReplicationInitiation = (output, context) => {
3127
3127
  };
3128
3128
  const deserializeAws_restJson1DataReplicationInitiationStep = (output, context) => {
3129
3129
  return {
3130
- name: (0, smithy_client_1.expectString)(output.name),
3131
- status: (0, smithy_client_1.expectString)(output.status),
3130
+ name: smithy_client_1.expectString(output.name),
3131
+ status: smithy_client_1.expectString(output.status),
3132
3132
  };
3133
3133
  };
3134
3134
  const deserializeAws_restJson1DataReplicationInitiationSteps = (output, context) => {
@@ -3143,8 +3143,8 @@ const deserializeAws_restJson1DataReplicationInitiationSteps = (output, context)
3143
3143
  };
3144
3144
  const deserializeAws_restJson1Disk = (output, context) => {
3145
3145
  return {
3146
- bytes: (0, smithy_client_1.expectLong)(output.bytes),
3147
- deviceName: (0, smithy_client_1.expectString)(output.deviceName),
3146
+ bytes: smithy_client_1.expectLong(output.bytes),
3147
+ deviceName: smithy_client_1.expectString(output.deviceName),
3148
3148
  };
3149
3149
  };
3150
3150
  const deserializeAws_restJson1Disks = (output, context) => {
@@ -3159,10 +3159,10 @@ const deserializeAws_restJson1Disks = (output, context) => {
3159
3159
  };
3160
3160
  const deserializeAws_restJson1IdentificationHints = (output, context) => {
3161
3161
  return {
3162
- awsInstanceID: (0, smithy_client_1.expectString)(output.awsInstanceID),
3163
- fqdn: (0, smithy_client_1.expectString)(output.fqdn),
3164
- hostname: (0, smithy_client_1.expectString)(output.hostname),
3165
- vmWareUuid: (0, smithy_client_1.expectString)(output.vmWareUuid),
3162
+ awsInstanceID: smithy_client_1.expectString(output.awsInstanceID),
3163
+ fqdn: smithy_client_1.expectString(output.fqdn),
3164
+ hostname: smithy_client_1.expectString(output.hostname),
3165
+ vmWareUuid: smithy_client_1.expectString(output.vmWareUuid),
3166
3166
  };
3167
3167
  };
3168
3168
  const deserializeAws_restJson1IPsList = (output, context) => {
@@ -3172,41 +3172,41 @@ const deserializeAws_restJson1IPsList = (output, context) => {
3172
3172
  if (entry === null) {
3173
3173
  return null;
3174
3174
  }
3175
- return (0, smithy_client_1.expectString)(entry);
3175
+ return smithy_client_1.expectString(entry);
3176
3176
  });
3177
3177
  };
3178
3178
  const deserializeAws_restJson1Job = (output, context) => {
3179
3179
  return {
3180
- arn: (0, smithy_client_1.expectString)(output.arn),
3181
- creationDateTime: (0, smithy_client_1.expectString)(output.creationDateTime),
3182
- endDateTime: (0, smithy_client_1.expectString)(output.endDateTime),
3183
- initiatedBy: (0, smithy_client_1.expectString)(output.initiatedBy),
3184
- jobID: (0, smithy_client_1.expectString)(output.jobID),
3180
+ arn: smithy_client_1.expectString(output.arn),
3181
+ creationDateTime: smithy_client_1.expectString(output.creationDateTime),
3182
+ endDateTime: smithy_client_1.expectString(output.endDateTime),
3183
+ initiatedBy: smithy_client_1.expectString(output.initiatedBy),
3184
+ jobID: smithy_client_1.expectString(output.jobID),
3185
3185
  participatingServers: output.participatingServers !== undefined && output.participatingServers !== null
3186
3186
  ? deserializeAws_restJson1ParticipatingServers(output.participatingServers, context)
3187
3187
  : undefined,
3188
- status: (0, smithy_client_1.expectString)(output.status),
3188
+ status: smithy_client_1.expectString(output.status),
3189
3189
  tags: output.tags !== undefined && output.tags !== null
3190
3190
  ? deserializeAws_restJson1TagsMap(output.tags, context)
3191
3191
  : undefined,
3192
- type: (0, smithy_client_1.expectString)(output.type),
3192
+ type: smithy_client_1.expectString(output.type),
3193
3193
  };
3194
3194
  };
3195
3195
  const deserializeAws_restJson1JobLog = (output, context) => {
3196
3196
  return {
3197
- event: (0, smithy_client_1.expectString)(output.event),
3197
+ event: smithy_client_1.expectString(output.event),
3198
3198
  eventData: output.eventData !== undefined && output.eventData !== null
3199
3199
  ? deserializeAws_restJson1JobLogEventData(output.eventData, context)
3200
3200
  : undefined,
3201
- logDateTime: (0, smithy_client_1.expectString)(output.logDateTime),
3201
+ logDateTime: smithy_client_1.expectString(output.logDateTime),
3202
3202
  };
3203
3203
  };
3204
3204
  const deserializeAws_restJson1JobLogEventData = (output, context) => {
3205
3205
  return {
3206
- conversionServerID: (0, smithy_client_1.expectString)(output.conversionServerID),
3207
- rawError: (0, smithy_client_1.expectString)(output.rawError),
3208
- sourceServerID: (0, smithy_client_1.expectString)(output.sourceServerID),
3209
- targetInstanceID: (0, smithy_client_1.expectString)(output.targetInstanceID),
3206
+ conversionServerID: smithy_client_1.expectString(output.conversionServerID),
3207
+ rawError: smithy_client_1.expectString(output.rawError),
3208
+ sourceServerID: smithy_client_1.expectString(output.sourceServerID),
3209
+ targetInstanceID: smithy_client_1.expectString(output.targetInstanceID),
3210
3210
  };
3211
3211
  };
3212
3212
  const deserializeAws_restJson1JobLogs = (output, context) => {
@@ -3231,29 +3231,29 @@ const deserializeAws_restJson1JobsList = (output, context) => {
3231
3231
  };
3232
3232
  const deserializeAws_restJson1LaunchedInstance = (output, context) => {
3233
3233
  return {
3234
- ec2InstanceID: (0, smithy_client_1.expectString)(output.ec2InstanceID),
3235
- firstBoot: (0, smithy_client_1.expectString)(output.firstBoot),
3236
- jobID: (0, smithy_client_1.expectString)(output.jobID),
3234
+ ec2InstanceID: smithy_client_1.expectString(output.ec2InstanceID),
3235
+ firstBoot: smithy_client_1.expectString(output.firstBoot),
3236
+ jobID: smithy_client_1.expectString(output.jobID),
3237
3237
  };
3238
3238
  };
3239
3239
  const deserializeAws_restJson1Licensing = (output, context) => {
3240
3240
  return {
3241
- osByol: (0, smithy_client_1.expectBoolean)(output.osByol),
3241
+ osByol: smithy_client_1.expectBoolean(output.osByol),
3242
3242
  };
3243
3243
  };
3244
3244
  const deserializeAws_restJson1LifeCycle = (output, context) => {
3245
3245
  return {
3246
- addedToServiceDateTime: (0, smithy_client_1.expectString)(output.addedToServiceDateTime),
3247
- elapsedReplicationDuration: (0, smithy_client_1.expectString)(output.elapsedReplicationDuration),
3248
- firstByteDateTime: (0, smithy_client_1.expectString)(output.firstByteDateTime),
3246
+ addedToServiceDateTime: smithy_client_1.expectString(output.addedToServiceDateTime),
3247
+ elapsedReplicationDuration: smithy_client_1.expectString(output.elapsedReplicationDuration),
3248
+ firstByteDateTime: smithy_client_1.expectString(output.firstByteDateTime),
3249
3249
  lastCutover: output.lastCutover !== undefined && output.lastCutover !== null
3250
3250
  ? deserializeAws_restJson1LifeCycleLastCutover(output.lastCutover, context)
3251
3251
  : undefined,
3252
- lastSeenByServiceDateTime: (0, smithy_client_1.expectString)(output.lastSeenByServiceDateTime),
3252
+ lastSeenByServiceDateTime: smithy_client_1.expectString(output.lastSeenByServiceDateTime),
3253
3253
  lastTest: output.lastTest !== undefined && output.lastTest !== null
3254
3254
  ? deserializeAws_restJson1LifeCycleLastTest(output.lastTest, context)
3255
3255
  : undefined,
3256
- state: (0, smithy_client_1.expectString)(output.state),
3256
+ state: smithy_client_1.expectString(output.state),
3257
3257
  };
3258
3258
  };
3259
3259
  const deserializeAws_restJson1LifeCycleLastCutover = (output, context) => {
@@ -3271,18 +3271,18 @@ const deserializeAws_restJson1LifeCycleLastCutover = (output, context) => {
3271
3271
  };
3272
3272
  const deserializeAws_restJson1LifeCycleLastCutoverFinalized = (output, context) => {
3273
3273
  return {
3274
- apiCallDateTime: (0, smithy_client_1.expectString)(output.apiCallDateTime),
3274
+ apiCallDateTime: smithy_client_1.expectString(output.apiCallDateTime),
3275
3275
  };
3276
3276
  };
3277
3277
  const deserializeAws_restJson1LifeCycleLastCutoverInitiated = (output, context) => {
3278
3278
  return {
3279
- apiCallDateTime: (0, smithy_client_1.expectString)(output.apiCallDateTime),
3280
- jobID: (0, smithy_client_1.expectString)(output.jobID),
3279
+ apiCallDateTime: smithy_client_1.expectString(output.apiCallDateTime),
3280
+ jobID: smithy_client_1.expectString(output.jobID),
3281
3281
  };
3282
3282
  };
3283
3283
  const deserializeAws_restJson1LifeCycleLastCutoverReverted = (output, context) => {
3284
3284
  return {
3285
- apiCallDateTime: (0, smithy_client_1.expectString)(output.apiCallDateTime),
3285
+ apiCallDateTime: smithy_client_1.expectString(output.apiCallDateTime),
3286
3286
  };
3287
3287
  };
3288
3288
  const deserializeAws_restJson1LifeCycleLastTest = (output, context) => {
@@ -3300,18 +3300,18 @@ const deserializeAws_restJson1LifeCycleLastTest = (output, context) => {
3300
3300
  };
3301
3301
  const deserializeAws_restJson1LifeCycleLastTestFinalized = (output, context) => {
3302
3302
  return {
3303
- apiCallDateTime: (0, smithy_client_1.expectString)(output.apiCallDateTime),
3303
+ apiCallDateTime: smithy_client_1.expectString(output.apiCallDateTime),
3304
3304
  };
3305
3305
  };
3306
3306
  const deserializeAws_restJson1LifeCycleLastTestInitiated = (output, context) => {
3307
3307
  return {
3308
- apiCallDateTime: (0, smithy_client_1.expectString)(output.apiCallDateTime),
3309
- jobID: (0, smithy_client_1.expectString)(output.jobID),
3308
+ apiCallDateTime: smithy_client_1.expectString(output.apiCallDateTime),
3309
+ jobID: smithy_client_1.expectString(output.jobID),
3310
3310
  };
3311
3311
  };
3312
3312
  const deserializeAws_restJson1LifeCycleLastTestReverted = (output, context) => {
3313
3313
  return {
3314
- apiCallDateTime: (0, smithy_client_1.expectString)(output.apiCallDateTime),
3314
+ apiCallDateTime: smithy_client_1.expectString(output.apiCallDateTime),
3315
3315
  };
3316
3316
  };
3317
3317
  const deserializeAws_restJson1NetworkInterface = (output, context) => {
@@ -3319,8 +3319,8 @@ const deserializeAws_restJson1NetworkInterface = (output, context) => {
3319
3319
  ips: output.ips !== undefined && output.ips !== null
3320
3320
  ? deserializeAws_restJson1IPsList(output.ips, context)
3321
3321
  : undefined,
3322
- isPrimary: (0, smithy_client_1.expectBoolean)(output.isPrimary),
3323
- macAddress: (0, smithy_client_1.expectString)(output.macAddress),
3322
+ isPrimary: smithy_client_1.expectBoolean(output.isPrimary),
3323
+ macAddress: smithy_client_1.expectString(output.macAddress),
3324
3324
  };
3325
3325
  };
3326
3326
  const deserializeAws_restJson1NetworkInterfaces = (output, context) => {
@@ -3335,13 +3335,13 @@ const deserializeAws_restJson1NetworkInterfaces = (output, context) => {
3335
3335
  };
3336
3336
  const deserializeAws_restJson1OS = (output, context) => {
3337
3337
  return {
3338
- fullString: (0, smithy_client_1.expectString)(output.fullString),
3338
+ fullString: smithy_client_1.expectString(output.fullString),
3339
3339
  };
3340
3340
  };
3341
3341
  const deserializeAws_restJson1ParticipatingServer = (output, context) => {
3342
3342
  return {
3343
- launchStatus: (0, smithy_client_1.expectString)(output.launchStatus),
3344
- sourceServerID: (0, smithy_client_1.expectString)(output.sourceServerID),
3343
+ launchStatus: smithy_client_1.expectString(output.launchStatus),
3344
+ sourceServerID: smithy_client_1.expectString(output.sourceServerID),
3345
3345
  };
3346
3346
  };
3347
3347
  const deserializeAws_restJson1ParticipatingServers = (output, context) => {
@@ -3356,10 +3356,10 @@ const deserializeAws_restJson1ParticipatingServers = (output, context) => {
3356
3356
  };
3357
3357
  const deserializeAws_restJson1ReplicationConfigurationReplicatedDisk = (output, context) => {
3358
3358
  return {
3359
- deviceName: (0, smithy_client_1.expectString)(output.deviceName),
3360
- iops: (0, smithy_client_1.expectLong)(output.iops),
3361
- isBootDisk: (0, smithy_client_1.expectBoolean)(output.isBootDisk),
3362
- stagingDiskType: (0, smithy_client_1.expectString)(output.stagingDiskType),
3359
+ deviceName: smithy_client_1.expectString(output.deviceName),
3360
+ iops: smithy_client_1.expectLong(output.iops),
3361
+ isBootDisk: smithy_client_1.expectBoolean(output.isBootDisk),
3362
+ stagingDiskType: smithy_client_1.expectString(output.stagingDiskType),
3363
3363
  };
3364
3364
  };
3365
3365
  const deserializeAws_restJson1ReplicationConfigurationReplicatedDisks = (output, context) => {
@@ -3374,27 +3374,27 @@ const deserializeAws_restJson1ReplicationConfigurationReplicatedDisks = (output,
3374
3374
  };
3375
3375
  const deserializeAws_restJson1ReplicationConfigurationTemplate = (output, context) => {
3376
3376
  return {
3377
- arn: (0, smithy_client_1.expectString)(output.arn),
3378
- associateDefaultSecurityGroup: (0, smithy_client_1.expectBoolean)(output.associateDefaultSecurityGroup),
3379
- bandwidthThrottling: (0, smithy_client_1.expectLong)(output.bandwidthThrottling),
3380
- createPublicIP: (0, smithy_client_1.expectBoolean)(output.createPublicIP),
3381
- dataPlaneRouting: (0, smithy_client_1.expectString)(output.dataPlaneRouting),
3382
- defaultLargeStagingDiskType: (0, smithy_client_1.expectString)(output.defaultLargeStagingDiskType),
3383
- ebsEncryption: (0, smithy_client_1.expectString)(output.ebsEncryption),
3384
- ebsEncryptionKeyArn: (0, smithy_client_1.expectString)(output.ebsEncryptionKeyArn),
3385
- replicationConfigurationTemplateID: (0, smithy_client_1.expectString)(output.replicationConfigurationTemplateID),
3386
- replicationServerInstanceType: (0, smithy_client_1.expectString)(output.replicationServerInstanceType),
3377
+ arn: smithy_client_1.expectString(output.arn),
3378
+ associateDefaultSecurityGroup: smithy_client_1.expectBoolean(output.associateDefaultSecurityGroup),
3379
+ bandwidthThrottling: smithy_client_1.expectLong(output.bandwidthThrottling),
3380
+ createPublicIP: smithy_client_1.expectBoolean(output.createPublicIP),
3381
+ dataPlaneRouting: smithy_client_1.expectString(output.dataPlaneRouting),
3382
+ defaultLargeStagingDiskType: smithy_client_1.expectString(output.defaultLargeStagingDiskType),
3383
+ ebsEncryption: smithy_client_1.expectString(output.ebsEncryption),
3384
+ ebsEncryptionKeyArn: smithy_client_1.expectString(output.ebsEncryptionKeyArn),
3385
+ replicationConfigurationTemplateID: smithy_client_1.expectString(output.replicationConfigurationTemplateID),
3386
+ replicationServerInstanceType: smithy_client_1.expectString(output.replicationServerInstanceType),
3387
3387
  replicationServersSecurityGroupsIDs: output.replicationServersSecurityGroupsIDs !== undefined && output.replicationServersSecurityGroupsIDs !== null
3388
3388
  ? deserializeAws_restJson1ReplicationServersSecurityGroupsIDs(output.replicationServersSecurityGroupsIDs, context)
3389
3389
  : undefined,
3390
- stagingAreaSubnetId: (0, smithy_client_1.expectString)(output.stagingAreaSubnetId),
3390
+ stagingAreaSubnetId: smithy_client_1.expectString(output.stagingAreaSubnetId),
3391
3391
  stagingAreaTags: output.stagingAreaTags !== undefined && output.stagingAreaTags !== null
3392
3392
  ? deserializeAws_restJson1TagsMap(output.stagingAreaTags, context)
3393
3393
  : undefined,
3394
3394
  tags: output.tags !== undefined && output.tags !== null
3395
3395
  ? deserializeAws_restJson1TagsMap(output.tags, context)
3396
3396
  : undefined,
3397
- useDedicatedReplicationServer: (0, smithy_client_1.expectBoolean)(output.useDedicatedReplicationServer),
3397
+ useDedicatedReplicationServer: smithy_client_1.expectBoolean(output.useDedicatedReplicationServer),
3398
3398
  };
3399
3399
  };
3400
3400
  const deserializeAws_restJson1ReplicationConfigurationTemplates = (output, context) => {
@@ -3414,7 +3414,7 @@ const deserializeAws_restJson1ReplicationServersSecurityGroupsIDs = (output, con
3414
3414
  if (entry === null) {
3415
3415
  return null;
3416
3416
  }
3417
- return (0, smithy_client_1.expectString)(entry);
3417
+ return smithy_client_1.expectString(entry);
3418
3418
  });
3419
3419
  };
3420
3420
  const deserializeAws_restJson1SourceProperties = (output, context) => {
@@ -3428,22 +3428,22 @@ const deserializeAws_restJson1SourceProperties = (output, context) => {
3428
3428
  identificationHints: output.identificationHints !== undefined && output.identificationHints !== null
3429
3429
  ? deserializeAws_restJson1IdentificationHints(output.identificationHints, context)
3430
3430
  : undefined,
3431
- lastUpdatedDateTime: (0, smithy_client_1.expectString)(output.lastUpdatedDateTime),
3431
+ lastUpdatedDateTime: smithy_client_1.expectString(output.lastUpdatedDateTime),
3432
3432
  networkInterfaces: output.networkInterfaces !== undefined && output.networkInterfaces !== null
3433
3433
  ? deserializeAws_restJson1NetworkInterfaces(output.networkInterfaces, context)
3434
3434
  : undefined,
3435
3435
  os: output.os !== undefined && output.os !== null ? deserializeAws_restJson1OS(output.os, context) : undefined,
3436
- ramBytes: (0, smithy_client_1.expectLong)(output.ramBytes),
3437
- recommendedInstanceType: (0, smithy_client_1.expectString)(output.recommendedInstanceType),
3436
+ ramBytes: smithy_client_1.expectLong(output.ramBytes),
3437
+ recommendedInstanceType: smithy_client_1.expectString(output.recommendedInstanceType),
3438
3438
  };
3439
3439
  };
3440
3440
  const deserializeAws_restJson1SourceServer = (output, context) => {
3441
3441
  return {
3442
- arn: (0, smithy_client_1.expectString)(output.arn),
3442
+ arn: smithy_client_1.expectString(output.arn),
3443
3443
  dataReplicationInfo: output.dataReplicationInfo !== undefined && output.dataReplicationInfo !== null
3444
3444
  ? deserializeAws_restJson1DataReplicationInfo(output.dataReplicationInfo, context)
3445
3445
  : undefined,
3446
- isArchived: (0, smithy_client_1.expectBoolean)(output.isArchived),
3446
+ isArchived: smithy_client_1.expectBoolean(output.isArchived),
3447
3447
  launchedInstance: output.launchedInstance !== undefined && output.launchedInstance !== null
3448
3448
  ? deserializeAws_restJson1LaunchedInstance(output.launchedInstance, context)
3449
3449
  : undefined,
@@ -3453,7 +3453,7 @@ const deserializeAws_restJson1SourceServer = (output, context) => {
3453
3453
  sourceProperties: output.sourceProperties !== undefined && output.sourceProperties !== null
3454
3454
  ? deserializeAws_restJson1SourceProperties(output.sourceProperties, context)
3455
3455
  : undefined,
3456
- sourceServerID: (0, smithy_client_1.expectString)(output.sourceServerID),
3456
+ sourceServerID: smithy_client_1.expectString(output.sourceServerID),
3457
3457
  tags: output.tags !== undefined && output.tags !== null
3458
3458
  ? deserializeAws_restJson1TagsMap(output.tags, context)
3459
3459
  : undefined,
@@ -3476,14 +3476,14 @@ const deserializeAws_restJson1TagsMap = (output, context) => {
3476
3476
  }
3477
3477
  return {
3478
3478
  ...acc,
3479
- [key]: (0, smithy_client_1.expectString)(value),
3479
+ [key]: smithy_client_1.expectString(value),
3480
3480
  };
3481
3481
  }, {});
3482
3482
  };
3483
3483
  const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
3484
3484
  return {
3485
- message: (0, smithy_client_1.expectString)(output.message),
3486
- name: (0, smithy_client_1.expectString)(output.name),
3485
+ message: smithy_client_1.expectString(output.message),
3486
+ name: smithy_client_1.expectString(output.name),
3487
3487
  };
3488
3488
  };
3489
3489
  const deserializeAws_restJson1ValidationExceptionFieldList = (output, context) => {