@aws-sdk/client-migration-hub 3.53.0 → 3.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/MigrationHubClient.js +13 -13
  3. package/dist-cjs/commands/AssociateCreatedArtifactCommand.js +3 -3
  4. package/dist-cjs/commands/AssociateDiscoveredResourceCommand.js +3 -3
  5. package/dist-cjs/commands/CreateProgressUpdateStreamCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteProgressUpdateStreamCommand.js +3 -3
  7. package/dist-cjs/commands/DescribeApplicationStateCommand.js +3 -3
  8. package/dist-cjs/commands/DescribeMigrationTaskCommand.js +3 -3
  9. package/dist-cjs/commands/DisassociateCreatedArtifactCommand.js +3 -3
  10. package/dist-cjs/commands/DisassociateDiscoveredResourceCommand.js +3 -3
  11. package/dist-cjs/commands/ImportMigrationTaskCommand.js +3 -3
  12. package/dist-cjs/commands/ListApplicationStatesCommand.js +3 -3
  13. package/dist-cjs/commands/ListCreatedArtifactsCommand.js +3 -3
  14. package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +3 -3
  15. package/dist-cjs/commands/ListMigrationTasksCommand.js +3 -3
  16. package/dist-cjs/commands/ListProgressUpdateStreamsCommand.js +3 -3
  17. package/dist-cjs/commands/NotifyApplicationStateCommand.js +3 -3
  18. package/dist-cjs/commands/NotifyMigrationTaskStateCommand.js +3 -3
  19. package/dist-cjs/commands/PutResourceAttributesCommand.js +3 -3
  20. package/dist-cjs/endpoints.js +1 -1
  21. package/dist-cjs/protocols/Aws_json1_1.js +67 -67
  22. package/dist-cjs/runtimeConfig.browser.js +4 -4
  23. package/dist-cjs/runtimeConfig.js +9 -9
  24. package/dist-cjs/runtimeConfig.native.js +1 -1
  25. package/dist-es/MigrationHub.js +17 -17
  26. package/dist-es/pagination/ListApplicationStatesPaginator.js +4 -4
  27. package/dist-es/pagination/ListCreatedArtifactsPaginator.js +4 -4
  28. package/dist-es/pagination/ListDiscoveredResourcesPaginator.js +4 -4
  29. package/dist-es/pagination/ListMigrationTasksPaginator.js +4 -4
  30. package/dist-es/pagination/ListProgressUpdateStreamsPaginator.js +4 -4
  31. package/dist-types/MigrationHubClient.d.ts +2 -2
  32. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  33. package/dist-types/runtimeConfig.d.ts +1 -1
  34. package/dist-types/runtimeConfig.native.d.ts +3 -3
  35. package/dist-types/ts3.4/MigrationHubClient.d.ts +2 -2
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  39. package/package.json +34 -34
@@ -232,7 +232,7 @@ const deserializeAws_json1_1AssociateCreatedArtifactCommandError = async (output
232
232
  $fault: "client",
233
233
  $metadata: deserializeMetadata(output),
234
234
  });
235
- throw smithy_client_1.decorateServiceException(response, parsedBody);
235
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
236
236
  }
237
237
  };
238
238
  const deserializeAws_json1_1AssociateDiscoveredResourceCommand = async (output, context) => {
@@ -295,7 +295,7 @@ const deserializeAws_json1_1AssociateDiscoveredResourceCommandError = async (out
295
295
  $fault: "client",
296
296
  $metadata: deserializeMetadata(output),
297
297
  });
298
- throw smithy_client_1.decorateServiceException(response, parsedBody);
298
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
299
299
  }
300
300
  };
301
301
  const deserializeAws_json1_1CreateProgressUpdateStreamCommand = async (output, context) => {
@@ -352,7 +352,7 @@ const deserializeAws_json1_1CreateProgressUpdateStreamCommandError = async (outp
352
352
  $fault: "client",
353
353
  $metadata: deserializeMetadata(output),
354
354
  });
355
- throw smithy_client_1.decorateServiceException(response, parsedBody);
355
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
356
356
  }
357
357
  };
358
358
  const deserializeAws_json1_1DeleteProgressUpdateStreamCommand = async (output, context) => {
@@ -412,7 +412,7 @@ const deserializeAws_json1_1DeleteProgressUpdateStreamCommandError = async (outp
412
412
  $fault: "client",
413
413
  $metadata: deserializeMetadata(output),
414
414
  });
415
- throw smithy_client_1.decorateServiceException(response, parsedBody);
415
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
416
416
  }
417
417
  };
418
418
  const deserializeAws_json1_1DescribeApplicationStateCommand = async (output, context) => {
@@ -469,7 +469,7 @@ const deserializeAws_json1_1DescribeApplicationStateCommandError = async (output
469
469
  $fault: "client",
470
470
  $metadata: deserializeMetadata(output),
471
471
  });
472
- throw smithy_client_1.decorateServiceException(response, parsedBody);
472
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
473
473
  }
474
474
  };
475
475
  const deserializeAws_json1_1DescribeMigrationTaskCommand = async (output, context) => {
@@ -523,7 +523,7 @@ const deserializeAws_json1_1DescribeMigrationTaskCommandError = async (output, c
523
523
  $fault: "client",
524
524
  $metadata: deserializeMetadata(output),
525
525
  });
526
- throw smithy_client_1.decorateServiceException(response, parsedBody);
526
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
527
527
  }
528
528
  };
529
529
  const deserializeAws_json1_1DisassociateCreatedArtifactCommand = async (output, context) => {
@@ -583,7 +583,7 @@ const deserializeAws_json1_1DisassociateCreatedArtifactCommandError = async (out
583
583
  $fault: "client",
584
584
  $metadata: deserializeMetadata(output),
585
585
  });
586
- throw smithy_client_1.decorateServiceException(response, parsedBody);
586
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
587
587
  }
588
588
  };
589
589
  const deserializeAws_json1_1DisassociateDiscoveredResourceCommand = async (output, context) => {
@@ -643,7 +643,7 @@ const deserializeAws_json1_1DisassociateDiscoveredResourceCommandError = async (
643
643
  $fault: "client",
644
644
  $metadata: deserializeMetadata(output),
645
645
  });
646
- throw smithy_client_1.decorateServiceException(response, parsedBody);
646
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
647
647
  }
648
648
  };
649
649
  const deserializeAws_json1_1ImportMigrationTaskCommand = async (output, context) => {
@@ -703,7 +703,7 @@ const deserializeAws_json1_1ImportMigrationTaskCommandError = async (output, con
703
703
  $fault: "client",
704
704
  $metadata: deserializeMetadata(output),
705
705
  });
706
- throw smithy_client_1.decorateServiceException(response, parsedBody);
706
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
707
707
  }
708
708
  };
709
709
  const deserializeAws_json1_1ListApplicationStatesCommand = async (output, context) => {
@@ -754,7 +754,7 @@ const deserializeAws_json1_1ListApplicationStatesCommandError = async (output, c
754
754
  $fault: "client",
755
755
  $metadata: deserializeMetadata(output),
756
756
  });
757
- throw smithy_client_1.decorateServiceException(response, parsedBody);
757
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
758
758
  }
759
759
  };
760
760
  const deserializeAws_json1_1ListCreatedArtifactsCommand = async (output, context) => {
@@ -808,7 +808,7 @@ const deserializeAws_json1_1ListCreatedArtifactsCommandError = async (output, co
808
808
  $fault: "client",
809
809
  $metadata: deserializeMetadata(output),
810
810
  });
811
- throw smithy_client_1.decorateServiceException(response, parsedBody);
811
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
812
812
  }
813
813
  };
814
814
  const deserializeAws_json1_1ListDiscoveredResourcesCommand = async (output, context) => {
@@ -862,7 +862,7 @@ const deserializeAws_json1_1ListDiscoveredResourcesCommandError = async (output,
862
862
  $fault: "client",
863
863
  $metadata: deserializeMetadata(output),
864
864
  });
865
- throw smithy_client_1.decorateServiceException(response, parsedBody);
865
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
866
866
  }
867
867
  };
868
868
  const deserializeAws_json1_1ListMigrationTasksCommand = async (output, context) => {
@@ -919,7 +919,7 @@ const deserializeAws_json1_1ListMigrationTasksCommandError = async (output, cont
919
919
  $fault: "client",
920
920
  $metadata: deserializeMetadata(output),
921
921
  });
922
- throw smithy_client_1.decorateServiceException(response, parsedBody);
922
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
923
923
  }
924
924
  };
925
925
  const deserializeAws_json1_1ListProgressUpdateStreamsCommand = async (output, context) => {
@@ -970,7 +970,7 @@ const deserializeAws_json1_1ListProgressUpdateStreamsCommandError = async (outpu
970
970
  $fault: "client",
971
971
  $metadata: deserializeMetadata(output),
972
972
  });
973
- throw smithy_client_1.decorateServiceException(response, parsedBody);
973
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
974
974
  }
975
975
  };
976
976
  const deserializeAws_json1_1NotifyApplicationStateCommand = async (output, context) => {
@@ -1033,7 +1033,7 @@ const deserializeAws_json1_1NotifyApplicationStateCommandError = async (output,
1033
1033
  $fault: "client",
1034
1034
  $metadata: deserializeMetadata(output),
1035
1035
  });
1036
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1036
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1037
1037
  }
1038
1038
  };
1039
1039
  const deserializeAws_json1_1NotifyMigrationTaskStateCommand = async (output, context) => {
@@ -1093,7 +1093,7 @@ const deserializeAws_json1_1NotifyMigrationTaskStateCommandError = async (output
1093
1093
  $fault: "client",
1094
1094
  $metadata: deserializeMetadata(output),
1095
1095
  });
1096
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1096
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1097
1097
  }
1098
1098
  };
1099
1099
  const deserializeAws_json1_1PutResourceAttributesCommand = async (output, context) => {
@@ -1153,7 +1153,7 @@ const deserializeAws_json1_1PutResourceAttributesCommandError = async (output, c
1153
1153
  $fault: "client",
1154
1154
  $metadata: deserializeMetadata(output),
1155
1155
  });
1156
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1156
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1157
1157
  }
1158
1158
  };
1159
1159
  const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
@@ -1163,7 +1163,7 @@ const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput,
1163
1163
  $metadata: deserializeMetadata(parsedOutput),
1164
1164
  ...deserialized,
1165
1165
  });
1166
- return smithy_client_1.decorateServiceException(exception, body);
1166
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1167
1167
  };
1168
1168
  const deserializeAws_json1_1DryRunOperationResponse = async (parsedOutput, context) => {
1169
1169
  const body = parsedOutput.body;
@@ -1172,7 +1172,7 @@ const deserializeAws_json1_1DryRunOperationResponse = async (parsedOutput, conte
1172
1172
  $metadata: deserializeMetadata(parsedOutput),
1173
1173
  ...deserialized,
1174
1174
  });
1175
- return smithy_client_1.decorateServiceException(exception, body);
1175
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1176
1176
  };
1177
1177
  const deserializeAws_json1_1HomeRegionNotSetExceptionResponse = async (parsedOutput, context) => {
1178
1178
  const body = parsedOutput.body;
@@ -1181,7 +1181,7 @@ const deserializeAws_json1_1HomeRegionNotSetExceptionResponse = async (parsedOut
1181
1181
  $metadata: deserializeMetadata(parsedOutput),
1182
1182
  ...deserialized,
1183
1183
  });
1184
- return smithy_client_1.decorateServiceException(exception, body);
1184
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1185
1185
  };
1186
1186
  const deserializeAws_json1_1InternalServerErrorResponse = async (parsedOutput, context) => {
1187
1187
  const body = parsedOutput.body;
@@ -1190,7 +1190,7 @@ const deserializeAws_json1_1InternalServerErrorResponse = async (parsedOutput, c
1190
1190
  $metadata: deserializeMetadata(parsedOutput),
1191
1191
  ...deserialized,
1192
1192
  });
1193
- return smithy_client_1.decorateServiceException(exception, body);
1193
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1194
1194
  };
1195
1195
  const deserializeAws_json1_1InvalidInputExceptionResponse = async (parsedOutput, context) => {
1196
1196
  const body = parsedOutput.body;
@@ -1199,7 +1199,7 @@ const deserializeAws_json1_1InvalidInputExceptionResponse = async (parsedOutput,
1199
1199
  $metadata: deserializeMetadata(parsedOutput),
1200
1200
  ...deserialized,
1201
1201
  });
1202
- return smithy_client_1.decorateServiceException(exception, body);
1202
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1203
1203
  };
1204
1204
  const deserializeAws_json1_1PolicyErrorExceptionResponse = async (parsedOutput, context) => {
1205
1205
  const body = parsedOutput.body;
@@ -1208,7 +1208,7 @@ const deserializeAws_json1_1PolicyErrorExceptionResponse = async (parsedOutput,
1208
1208
  $metadata: deserializeMetadata(parsedOutput),
1209
1209
  ...deserialized,
1210
1210
  });
1211
- return smithy_client_1.decorateServiceException(exception, body);
1211
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1212
1212
  };
1213
1213
  const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1214
1214
  const body = parsedOutput.body;
@@ -1217,7 +1217,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
1217
1217
  $metadata: deserializeMetadata(parsedOutput),
1218
1218
  ...deserialized,
1219
1219
  });
1220
- return smithy_client_1.decorateServiceException(exception, body);
1220
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1221
1221
  };
1222
1222
  const deserializeAws_json1_1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
1223
1223
  const body = parsedOutput.body;
@@ -1226,7 +1226,7 @@ const deserializeAws_json1_1ServiceUnavailableExceptionResponse = async (parsedO
1226
1226
  $metadata: deserializeMetadata(parsedOutput),
1227
1227
  ...deserialized,
1228
1228
  });
1229
- return smithy_client_1.decorateServiceException(exception, body);
1229
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1230
1230
  };
1231
1231
  const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, context) => {
1232
1232
  const body = parsedOutput.body;
@@ -1235,7 +1235,7 @@ const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, c
1235
1235
  $metadata: deserializeMetadata(parsedOutput),
1236
1236
  ...deserialized,
1237
1237
  });
1238
- return smithy_client_1.decorateServiceException(exception, body);
1238
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1239
1239
  };
1240
1240
  const deserializeAws_json1_1UnauthorizedOperationResponse = async (parsedOutput, context) => {
1241
1241
  const body = parsedOutput.body;
@@ -1244,7 +1244,7 @@ const deserializeAws_json1_1UnauthorizedOperationResponse = async (parsedOutput,
1244
1244
  $metadata: deserializeMetadata(parsedOutput),
1245
1245
  ...deserialized,
1246
1246
  });
1247
- return smithy_client_1.decorateServiceException(exception, body);
1247
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1248
1248
  };
1249
1249
  const serializeAws_json1_1ApplicationIds = (input, context) => {
1250
1250
  return input
@@ -1458,15 +1458,15 @@ const serializeAws_json1_1Task = (input, context) => {
1458
1458
  };
1459
1459
  const deserializeAws_json1_1AccessDeniedException = (output, context) => {
1460
1460
  return {
1461
- Message: smithy_client_1.expectString(output.Message),
1461
+ Message: (0, smithy_client_1.expectString)(output.Message),
1462
1462
  };
1463
1463
  };
1464
1464
  const deserializeAws_json1_1ApplicationState = (output, context) => {
1465
1465
  return {
1466
- ApplicationId: smithy_client_1.expectString(output.ApplicationId),
1467
- ApplicationStatus: smithy_client_1.expectString(output.ApplicationStatus),
1466
+ ApplicationId: (0, smithy_client_1.expectString)(output.ApplicationId),
1467
+ ApplicationStatus: (0, smithy_client_1.expectString)(output.ApplicationStatus),
1468
1468
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
1469
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
1469
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
1470
1470
  : undefined,
1471
1471
  };
1472
1472
  };
@@ -1489,8 +1489,8 @@ const deserializeAws_json1_1AssociateDiscoveredResourceResult = (output, context
1489
1489
  };
1490
1490
  const deserializeAws_json1_1CreatedArtifact = (output, context) => {
1491
1491
  return {
1492
- Description: smithy_client_1.expectString(output.Description),
1493
- Name: smithy_client_1.expectString(output.Name),
1492
+ Description: (0, smithy_client_1.expectString)(output.Description),
1493
+ Name: (0, smithy_client_1.expectString)(output.Name),
1494
1494
  };
1495
1495
  };
1496
1496
  const deserializeAws_json1_1CreatedArtifactList = (output, context) => {
@@ -1512,9 +1512,9 @@ const deserializeAws_json1_1DeleteProgressUpdateStreamResult = (output, context)
1512
1512
  };
1513
1513
  const deserializeAws_json1_1DescribeApplicationStateResult = (output, context) => {
1514
1514
  return {
1515
- ApplicationStatus: smithy_client_1.expectString(output.ApplicationStatus),
1515
+ ApplicationStatus: (0, smithy_client_1.expectString)(output.ApplicationStatus),
1516
1516
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
1517
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
1517
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
1518
1518
  : undefined,
1519
1519
  };
1520
1520
  };
@@ -1533,8 +1533,8 @@ const deserializeAws_json1_1DisassociateDiscoveredResourceResult = (output, cont
1533
1533
  };
1534
1534
  const deserializeAws_json1_1DiscoveredResource = (output, context) => {
1535
1535
  return {
1536
- ConfigurationId: smithy_client_1.expectString(output.ConfigurationId),
1537
- Description: smithy_client_1.expectString(output.Description),
1536
+ ConfigurationId: (0, smithy_client_1.expectString)(output.ConfigurationId),
1537
+ Description: (0, smithy_client_1.expectString)(output.Description),
1538
1538
  };
1539
1539
  };
1540
1540
  const deserializeAws_json1_1DiscoveredResourceList = (output, context) => {
@@ -1550,12 +1550,12 @@ const deserializeAws_json1_1DiscoveredResourceList = (output, context) => {
1550
1550
  };
1551
1551
  const deserializeAws_json1_1DryRunOperation = (output, context) => {
1552
1552
  return {
1553
- Message: smithy_client_1.expectString(output.Message),
1553
+ Message: (0, smithy_client_1.expectString)(output.Message),
1554
1554
  };
1555
1555
  };
1556
1556
  const deserializeAws_json1_1HomeRegionNotSetException = (output, context) => {
1557
1557
  return {
1558
- Message: smithy_client_1.expectString(output.Message),
1558
+ Message: (0, smithy_client_1.expectString)(output.Message),
1559
1559
  };
1560
1560
  };
1561
1561
  const deserializeAws_json1_1ImportMigrationTaskResult = (output, context) => {
@@ -1563,12 +1563,12 @@ const deserializeAws_json1_1ImportMigrationTaskResult = (output, context) => {
1563
1563
  };
1564
1564
  const deserializeAws_json1_1InternalServerError = (output, context) => {
1565
1565
  return {
1566
- Message: smithy_client_1.expectString(output.Message),
1566
+ Message: (0, smithy_client_1.expectString)(output.Message),
1567
1567
  };
1568
1568
  };
1569
1569
  const deserializeAws_json1_1InvalidInputException = (output, context) => {
1570
1570
  return {
1571
- Message: smithy_client_1.expectString(output.Message),
1571
+ Message: (0, smithy_client_1.expectString)(output.Message),
1572
1572
  };
1573
1573
  };
1574
1574
  const deserializeAws_json1_1LatestResourceAttributeList = (output, context) => {
@@ -1587,7 +1587,7 @@ const deserializeAws_json1_1ListApplicationStatesResult = (output, context) => {
1587
1587
  ApplicationStateList: output.ApplicationStateList !== undefined && output.ApplicationStateList !== null
1588
1588
  ? deserializeAws_json1_1ApplicationStateList(output.ApplicationStateList, context)
1589
1589
  : undefined,
1590
- NextToken: smithy_client_1.expectString(output.NextToken),
1590
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1591
1591
  };
1592
1592
  };
1593
1593
  const deserializeAws_json1_1ListCreatedArtifactsResult = (output, context) => {
@@ -1595,7 +1595,7 @@ const deserializeAws_json1_1ListCreatedArtifactsResult = (output, context) => {
1595
1595
  CreatedArtifactList: output.CreatedArtifactList !== undefined && output.CreatedArtifactList !== null
1596
1596
  ? deserializeAws_json1_1CreatedArtifactList(output.CreatedArtifactList, context)
1597
1597
  : undefined,
1598
- NextToken: smithy_client_1.expectString(output.NextToken),
1598
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1599
1599
  };
1600
1600
  };
1601
1601
  const deserializeAws_json1_1ListDiscoveredResourcesResult = (output, context) => {
@@ -1603,7 +1603,7 @@ const deserializeAws_json1_1ListDiscoveredResourcesResult = (output, context) =>
1603
1603
  DiscoveredResourceList: output.DiscoveredResourceList !== undefined && output.DiscoveredResourceList !== null
1604
1604
  ? deserializeAws_json1_1DiscoveredResourceList(output.DiscoveredResourceList, context)
1605
1605
  : undefined,
1606
- NextToken: smithy_client_1.expectString(output.NextToken),
1606
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1607
1607
  };
1608
1608
  };
1609
1609
  const deserializeAws_json1_1ListMigrationTasksResult = (output, context) => {
@@ -1611,12 +1611,12 @@ const deserializeAws_json1_1ListMigrationTasksResult = (output, context) => {
1611
1611
  MigrationTaskSummaryList: output.MigrationTaskSummaryList !== undefined && output.MigrationTaskSummaryList !== null
1612
1612
  ? deserializeAws_json1_1MigrationTaskSummaryList(output.MigrationTaskSummaryList, context)
1613
1613
  : undefined,
1614
- NextToken: smithy_client_1.expectString(output.NextToken),
1614
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1615
1615
  };
1616
1616
  };
1617
1617
  const deserializeAws_json1_1ListProgressUpdateStreamsResult = (output, context) => {
1618
1618
  return {
1619
- NextToken: smithy_client_1.expectString(output.NextToken),
1619
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1620
1620
  ProgressUpdateStreamSummaryList: output.ProgressUpdateStreamSummaryList !== undefined && output.ProgressUpdateStreamSummaryList !== null
1621
1621
  ? deserializeAws_json1_1ProgressUpdateStreamSummaryList(output.ProgressUpdateStreamSummaryList, context)
1622
1622
  : undefined,
@@ -1624,26 +1624,26 @@ const deserializeAws_json1_1ListProgressUpdateStreamsResult = (output, context)
1624
1624
  };
1625
1625
  const deserializeAws_json1_1MigrationTask = (output, context) => {
1626
1626
  return {
1627
- MigrationTaskName: smithy_client_1.expectString(output.MigrationTaskName),
1628
- ProgressUpdateStream: smithy_client_1.expectString(output.ProgressUpdateStream),
1627
+ MigrationTaskName: (0, smithy_client_1.expectString)(output.MigrationTaskName),
1628
+ ProgressUpdateStream: (0, smithy_client_1.expectString)(output.ProgressUpdateStream),
1629
1629
  ResourceAttributeList: output.ResourceAttributeList !== undefined && output.ResourceAttributeList !== null
1630
1630
  ? deserializeAws_json1_1LatestResourceAttributeList(output.ResourceAttributeList, context)
1631
1631
  : undefined,
1632
1632
  Task: output.Task !== undefined && output.Task !== null ? deserializeAws_json1_1Task(output.Task, context) : undefined,
1633
1633
  UpdateDateTime: output.UpdateDateTime !== undefined && output.UpdateDateTime !== null
1634
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdateDateTime)))
1634
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateDateTime)))
1635
1635
  : undefined,
1636
1636
  };
1637
1637
  };
1638
1638
  const deserializeAws_json1_1MigrationTaskSummary = (output, context) => {
1639
1639
  return {
1640
- MigrationTaskName: smithy_client_1.expectString(output.MigrationTaskName),
1641
- ProgressPercent: smithy_client_1.expectInt32(output.ProgressPercent),
1642
- ProgressUpdateStream: smithy_client_1.expectString(output.ProgressUpdateStream),
1643
- Status: smithy_client_1.expectString(output.Status),
1644
- StatusDetail: smithy_client_1.expectString(output.StatusDetail),
1640
+ MigrationTaskName: (0, smithy_client_1.expectString)(output.MigrationTaskName),
1641
+ ProgressPercent: (0, smithy_client_1.expectInt32)(output.ProgressPercent),
1642
+ ProgressUpdateStream: (0, smithy_client_1.expectString)(output.ProgressUpdateStream),
1643
+ Status: (0, smithy_client_1.expectString)(output.Status),
1644
+ StatusDetail: (0, smithy_client_1.expectString)(output.StatusDetail),
1645
1645
  UpdateDateTime: output.UpdateDateTime !== undefined && output.UpdateDateTime !== null
1646
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdateDateTime)))
1646
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateDateTime)))
1647
1647
  : undefined,
1648
1648
  };
1649
1649
  };
@@ -1666,12 +1666,12 @@ const deserializeAws_json1_1NotifyMigrationTaskStateResult = (output, context) =
1666
1666
  };
1667
1667
  const deserializeAws_json1_1PolicyErrorException = (output, context) => {
1668
1668
  return {
1669
- Message: smithy_client_1.expectString(output.Message),
1669
+ Message: (0, smithy_client_1.expectString)(output.Message),
1670
1670
  };
1671
1671
  };
1672
1672
  const deserializeAws_json1_1ProgressUpdateStreamSummary = (output, context) => {
1673
1673
  return {
1674
- ProgressUpdateStreamName: smithy_client_1.expectString(output.ProgressUpdateStreamName),
1674
+ ProgressUpdateStreamName: (0, smithy_client_1.expectString)(output.ProgressUpdateStreamName),
1675
1675
  };
1676
1676
  };
1677
1677
  const deserializeAws_json1_1ProgressUpdateStreamSummaryList = (output, context) => {
@@ -1690,36 +1690,36 @@ const deserializeAws_json1_1PutResourceAttributesResult = (output, context) => {
1690
1690
  };
1691
1691
  const deserializeAws_json1_1ResourceAttribute = (output, context) => {
1692
1692
  return {
1693
- Type: smithy_client_1.expectString(output.Type),
1694
- Value: smithy_client_1.expectString(output.Value),
1693
+ Type: (0, smithy_client_1.expectString)(output.Type),
1694
+ Value: (0, smithy_client_1.expectString)(output.Value),
1695
1695
  };
1696
1696
  };
1697
1697
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
1698
1698
  return {
1699
- Message: smithy_client_1.expectString(output.Message),
1699
+ Message: (0, smithy_client_1.expectString)(output.Message),
1700
1700
  };
1701
1701
  };
1702
1702
  const deserializeAws_json1_1ServiceUnavailableException = (output, context) => {
1703
1703
  return {
1704
- Message: smithy_client_1.expectString(output.Message),
1704
+ Message: (0, smithy_client_1.expectString)(output.Message),
1705
1705
  };
1706
1706
  };
1707
1707
  const deserializeAws_json1_1Task = (output, context) => {
1708
1708
  return {
1709
- ProgressPercent: smithy_client_1.expectInt32(output.ProgressPercent),
1710
- Status: smithy_client_1.expectString(output.Status),
1711
- StatusDetail: smithy_client_1.expectString(output.StatusDetail),
1709
+ ProgressPercent: (0, smithy_client_1.expectInt32)(output.ProgressPercent),
1710
+ Status: (0, smithy_client_1.expectString)(output.Status),
1711
+ StatusDetail: (0, smithy_client_1.expectString)(output.StatusDetail),
1712
1712
  };
1713
1713
  };
1714
1714
  const deserializeAws_json1_1ThrottlingException = (output, context) => {
1715
1715
  return {
1716
- Message: smithy_client_1.expectString(output.Message),
1717
- RetryAfterSeconds: smithy_client_1.expectInt32(output.RetryAfterSeconds),
1716
+ Message: (0, smithy_client_1.expectString)(output.Message),
1717
+ RetryAfterSeconds: (0, smithy_client_1.expectInt32)(output.RetryAfterSeconds),
1718
1718
  };
1719
1719
  };
1720
1720
  const deserializeAws_json1_1UnauthorizedOperation = (output, context) => {
1721
1721
  return {
1722
- Message: smithy_client_1.expectString(output.Message),
1722
+ Message: (0, smithy_client_1.expectString)(output.Message),
1723
1723
  };
1724
1724
  };
1725
1725
  const deserializeMetadata = (output) => {
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
17
  const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
18
18
  const getRuntimeConfig = (config) => {
19
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
- const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
20
+ const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
21
21
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
22
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
23
23
  return {
24
24
  ...clientSharedValues,
25
25
  ...config,
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
29
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
30
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
31
31
  credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
32
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
34
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
34
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
35
35
  requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
36
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
37
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
20
  const getRuntimeConfig = (config) => {
21
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
22
- const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
22
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
24
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
25
  return {
26
26
  ...clientSharedValues,
27
27
  ...config,
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
30
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
31
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
32
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
33
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
34
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
33
+ credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
34
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
+ maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
37
37
  requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
39
39
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
40
  default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
41
  }),
42
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
43
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
44
- useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
- useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
44
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
46
46
  utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
47
47
  utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
48
48
  };
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
6
  const getRuntimeConfig = (config) => {
7
7
  var _a;
8
- const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
8
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
9
9
  return {
10
10
  ...browserDefaults,
11
11
  ...config,