@aws-sdk/client-machine-learning 3.54.0 → 3.56.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 (51) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/MachineLearningClient.js +13 -13
  3. package/dist-cjs/commands/AddTagsCommand.js +3 -3
  4. package/dist-cjs/commands/CreateBatchPredictionCommand.js +3 -3
  5. package/dist-cjs/commands/CreateDataSourceFromRDSCommand.js +3 -3
  6. package/dist-cjs/commands/CreateDataSourceFromRedshiftCommand.js +3 -3
  7. package/dist-cjs/commands/CreateDataSourceFromS3Command.js +3 -3
  8. package/dist-cjs/commands/CreateEvaluationCommand.js +3 -3
  9. package/dist-cjs/commands/CreateMLModelCommand.js +3 -3
  10. package/dist-cjs/commands/CreateRealtimeEndpointCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteBatchPredictionCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteDataSourceCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteEvaluationCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteMLModelCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteRealtimeEndpointCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteTagsCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeBatchPredictionsCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeDataSourcesCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeEvaluationsCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeMLModelsCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeTagsCommand.js +3 -3
  22. package/dist-cjs/commands/GetBatchPredictionCommand.js +3 -3
  23. package/dist-cjs/commands/GetDataSourceCommand.js +3 -3
  24. package/dist-cjs/commands/GetEvaluationCommand.js +3 -3
  25. package/dist-cjs/commands/GetMLModelCommand.js +3 -3
  26. package/dist-cjs/commands/PredictCommand.js +4 -4
  27. package/dist-cjs/commands/UpdateBatchPredictionCommand.js +3 -3
  28. package/dist-cjs/commands/UpdateDataSourceCommand.js +3 -3
  29. package/dist-cjs/commands/UpdateEvaluationCommand.js +3 -3
  30. package/dist-cjs/commands/UpdateMLModelCommand.js +3 -3
  31. package/dist-cjs/endpoints.js +1 -1
  32. package/dist-cjs/protocols/Aws_json1_1.js +229 -229
  33. package/dist-cjs/runtimeConfig.browser.js +4 -4
  34. package/dist-cjs/runtimeConfig.js +9 -9
  35. package/dist-cjs/runtimeConfig.native.js +1 -1
  36. package/dist-cjs/waiters/waitForBatchPredictionAvailable.js +3 -3
  37. package/dist-cjs/waiters/waitForDataSourceAvailable.js +3 -3
  38. package/dist-cjs/waiters/waitForEvaluationAvailable.js +3 -3
  39. package/dist-cjs/waiters/waitForMLModelAvailable.js +3 -3
  40. package/dist-es/MachineLearning.js +28 -28
  41. package/dist-es/pagination/DescribeBatchPredictionsPaginator.js +4 -4
  42. package/dist-es/pagination/DescribeDataSourcesPaginator.js +4 -4
  43. package/dist-es/pagination/DescribeEvaluationsPaginator.js +4 -4
  44. package/dist-es/pagination/DescribeMLModelsPaginator.js +4 -4
  45. package/dist-es/waiters/waitForBatchPredictionAvailable.js +2 -2
  46. package/dist-es/waiters/waitForDataSourceAvailable.js +2 -2
  47. package/dist-es/waiters/waitForEvaluationAvailable.js +2 -2
  48. package/dist-es/waiters/waitForMLModelAvailable.js +2 -2
  49. package/dist-types/runtimeConfig.native.d.ts +2 -2
  50. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  51. package/package.json +36 -36
@@ -331,7 +331,7 @@ const deserializeAws_json1_1AddTagsCommandError = async (output, context) => {
331
331
  $fault: "client",
332
332
  $metadata: deserializeMetadata(output),
333
333
  });
334
- throw smithy_client_1.decorateServiceException(response, parsedBody);
334
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
335
335
  }
336
336
  };
337
337
  const deserializeAws_json1_1CreateBatchPredictionCommand = async (output, context) => {
@@ -373,7 +373,7 @@ const deserializeAws_json1_1CreateBatchPredictionCommandError = async (output, c
373
373
  $fault: "client",
374
374
  $metadata: deserializeMetadata(output),
375
375
  });
376
- throw smithy_client_1.decorateServiceException(response, parsedBody);
376
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
377
377
  }
378
378
  };
379
379
  const deserializeAws_json1_1CreateDataSourceFromRDSCommand = async (output, context) => {
@@ -415,7 +415,7 @@ const deserializeAws_json1_1CreateDataSourceFromRDSCommandError = async (output,
415
415
  $fault: "client",
416
416
  $metadata: deserializeMetadata(output),
417
417
  });
418
- throw smithy_client_1.decorateServiceException(response, parsedBody);
418
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
419
419
  }
420
420
  };
421
421
  const deserializeAws_json1_1CreateDataSourceFromRedshiftCommand = async (output, context) => {
@@ -457,7 +457,7 @@ const deserializeAws_json1_1CreateDataSourceFromRedshiftCommandError = async (ou
457
457
  $fault: "client",
458
458
  $metadata: deserializeMetadata(output),
459
459
  });
460
- throw smithy_client_1.decorateServiceException(response, parsedBody);
460
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
461
461
  }
462
462
  };
463
463
  const deserializeAws_json1_1CreateDataSourceFromS3Command = async (output, context) => {
@@ -499,7 +499,7 @@ const deserializeAws_json1_1CreateDataSourceFromS3CommandError = async (output,
499
499
  $fault: "client",
500
500
  $metadata: deserializeMetadata(output),
501
501
  });
502
- throw smithy_client_1.decorateServiceException(response, parsedBody);
502
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
503
503
  }
504
504
  };
505
505
  const deserializeAws_json1_1CreateEvaluationCommand = async (output, context) => {
@@ -541,7 +541,7 @@ const deserializeAws_json1_1CreateEvaluationCommandError = async (output, contex
541
541
  $fault: "client",
542
542
  $metadata: deserializeMetadata(output),
543
543
  });
544
- throw smithy_client_1.decorateServiceException(response, parsedBody);
544
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
545
545
  }
546
546
  };
547
547
  const deserializeAws_json1_1CreateMLModelCommand = async (output, context) => {
@@ -583,7 +583,7 @@ const deserializeAws_json1_1CreateMLModelCommandError = async (output, context)
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_1CreateRealtimeEndpointCommand = async (output, context) => {
@@ -625,7 +625,7 @@ const deserializeAws_json1_1CreateRealtimeEndpointCommandError = async (output,
625
625
  $fault: "client",
626
626
  $metadata: deserializeMetadata(output),
627
627
  });
628
- throw smithy_client_1.decorateServiceException(response, parsedBody);
628
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
629
629
  }
630
630
  };
631
631
  const deserializeAws_json1_1DeleteBatchPredictionCommand = async (output, context) => {
@@ -667,7 +667,7 @@ const deserializeAws_json1_1DeleteBatchPredictionCommandError = async (output, c
667
667
  $fault: "client",
668
668
  $metadata: deserializeMetadata(output),
669
669
  });
670
- throw smithy_client_1.decorateServiceException(response, parsedBody);
670
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
671
671
  }
672
672
  };
673
673
  const deserializeAws_json1_1DeleteDataSourceCommand = async (output, context) => {
@@ -709,7 +709,7 @@ const deserializeAws_json1_1DeleteDataSourceCommandError = async (output, contex
709
709
  $fault: "client",
710
710
  $metadata: deserializeMetadata(output),
711
711
  });
712
- throw smithy_client_1.decorateServiceException(response, parsedBody);
712
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
713
713
  }
714
714
  };
715
715
  const deserializeAws_json1_1DeleteEvaluationCommand = async (output, context) => {
@@ -751,7 +751,7 @@ const deserializeAws_json1_1DeleteEvaluationCommandError = async (output, contex
751
751
  $fault: "client",
752
752
  $metadata: deserializeMetadata(output),
753
753
  });
754
- throw smithy_client_1.decorateServiceException(response, parsedBody);
754
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
755
755
  }
756
756
  };
757
757
  const deserializeAws_json1_1DeleteMLModelCommand = async (output, context) => {
@@ -793,7 +793,7 @@ const deserializeAws_json1_1DeleteMLModelCommandError = async (output, context)
793
793
  $fault: "client",
794
794
  $metadata: deserializeMetadata(output),
795
795
  });
796
- throw smithy_client_1.decorateServiceException(response, parsedBody);
796
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
797
797
  }
798
798
  };
799
799
  const deserializeAws_json1_1DeleteRealtimeEndpointCommand = async (output, context) => {
@@ -835,7 +835,7 @@ const deserializeAws_json1_1DeleteRealtimeEndpointCommandError = async (output,
835
835
  $fault: "client",
836
836
  $metadata: deserializeMetadata(output),
837
837
  });
838
- throw smithy_client_1.decorateServiceException(response, parsedBody);
838
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
839
839
  }
840
840
  };
841
841
  const deserializeAws_json1_1DeleteTagsCommand = async (output, context) => {
@@ -880,7 +880,7 @@ const deserializeAws_json1_1DeleteTagsCommandError = async (output, context) =>
880
880
  $fault: "client",
881
881
  $metadata: deserializeMetadata(output),
882
882
  });
883
- throw smithy_client_1.decorateServiceException(response, parsedBody);
883
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
884
884
  }
885
885
  };
886
886
  const deserializeAws_json1_1DescribeBatchPredictionsCommand = async (output, context) => {
@@ -919,7 +919,7 @@ const deserializeAws_json1_1DescribeBatchPredictionsCommandError = async (output
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_1DescribeDataSourcesCommand = async (output, context) => {
@@ -958,7 +958,7 @@ const deserializeAws_json1_1DescribeDataSourcesCommandError = async (output, con
958
958
  $fault: "client",
959
959
  $metadata: deserializeMetadata(output),
960
960
  });
961
- throw smithy_client_1.decorateServiceException(response, parsedBody);
961
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
962
962
  }
963
963
  };
964
964
  const deserializeAws_json1_1DescribeEvaluationsCommand = async (output, context) => {
@@ -997,7 +997,7 @@ const deserializeAws_json1_1DescribeEvaluationsCommandError = async (output, con
997
997
  $fault: "client",
998
998
  $metadata: deserializeMetadata(output),
999
999
  });
1000
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1000
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1001
1001
  }
1002
1002
  };
1003
1003
  const deserializeAws_json1_1DescribeMLModelsCommand = async (output, context) => {
@@ -1036,7 +1036,7 @@ const deserializeAws_json1_1DescribeMLModelsCommandError = async (output, contex
1036
1036
  $fault: "client",
1037
1037
  $metadata: deserializeMetadata(output),
1038
1038
  });
1039
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1039
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1040
1040
  }
1041
1041
  };
1042
1042
  const deserializeAws_json1_1DescribeTagsCommand = async (output, context) => {
@@ -1078,7 +1078,7 @@ const deserializeAws_json1_1DescribeTagsCommandError = async (output, context) =
1078
1078
  $fault: "client",
1079
1079
  $metadata: deserializeMetadata(output),
1080
1080
  });
1081
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1081
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1082
1082
  }
1083
1083
  };
1084
1084
  const deserializeAws_json1_1GetBatchPredictionCommand = async (output, context) => {
@@ -1120,7 +1120,7 @@ const deserializeAws_json1_1GetBatchPredictionCommandError = async (output, cont
1120
1120
  $fault: "client",
1121
1121
  $metadata: deserializeMetadata(output),
1122
1122
  });
1123
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1123
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1124
1124
  }
1125
1125
  };
1126
1126
  const deserializeAws_json1_1GetDataSourceCommand = async (output, context) => {
@@ -1162,7 +1162,7 @@ const deserializeAws_json1_1GetDataSourceCommandError = async (output, context)
1162
1162
  $fault: "client",
1163
1163
  $metadata: deserializeMetadata(output),
1164
1164
  });
1165
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1165
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1166
1166
  }
1167
1167
  };
1168
1168
  const deserializeAws_json1_1GetEvaluationCommand = async (output, context) => {
@@ -1204,7 +1204,7 @@ const deserializeAws_json1_1GetEvaluationCommandError = async (output, context)
1204
1204
  $fault: "client",
1205
1205
  $metadata: deserializeMetadata(output),
1206
1206
  });
1207
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1207
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1208
1208
  }
1209
1209
  };
1210
1210
  const deserializeAws_json1_1GetMLModelCommand = async (output, context) => {
@@ -1246,7 +1246,7 @@ const deserializeAws_json1_1GetMLModelCommandError = async (output, context) =>
1246
1246
  $fault: "client",
1247
1247
  $metadata: deserializeMetadata(output),
1248
1248
  });
1249
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1249
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1250
1250
  }
1251
1251
  };
1252
1252
  const deserializeAws_json1_1PredictCommand = async (output, context) => {
@@ -1294,7 +1294,7 @@ const deserializeAws_json1_1PredictCommandError = async (output, context) => {
1294
1294
  $fault: "client",
1295
1295
  $metadata: deserializeMetadata(output),
1296
1296
  });
1297
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1297
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1298
1298
  }
1299
1299
  };
1300
1300
  const deserializeAws_json1_1UpdateBatchPredictionCommand = async (output, context) => {
@@ -1336,7 +1336,7 @@ const deserializeAws_json1_1UpdateBatchPredictionCommandError = async (output, c
1336
1336
  $fault: "client",
1337
1337
  $metadata: deserializeMetadata(output),
1338
1338
  });
1339
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1339
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1340
1340
  }
1341
1341
  };
1342
1342
  const deserializeAws_json1_1UpdateDataSourceCommand = async (output, context) => {
@@ -1378,7 +1378,7 @@ const deserializeAws_json1_1UpdateDataSourceCommandError = async (output, contex
1378
1378
  $fault: "client",
1379
1379
  $metadata: deserializeMetadata(output),
1380
1380
  });
1381
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1381
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1382
1382
  }
1383
1383
  };
1384
1384
  const deserializeAws_json1_1UpdateEvaluationCommand = async (output, context) => {
@@ -1420,7 +1420,7 @@ const deserializeAws_json1_1UpdateEvaluationCommandError = async (output, contex
1420
1420
  $fault: "client",
1421
1421
  $metadata: deserializeMetadata(output),
1422
1422
  });
1423
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1423
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1424
1424
  }
1425
1425
  };
1426
1426
  const deserializeAws_json1_1UpdateMLModelCommand = async (output, context) => {
@@ -1462,7 +1462,7 @@ const deserializeAws_json1_1UpdateMLModelCommandError = async (output, context)
1462
1462
  $fault: "client",
1463
1463
  $metadata: deserializeMetadata(output),
1464
1464
  });
1465
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1465
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1466
1466
  }
1467
1467
  };
1468
1468
  const deserializeAws_json1_1IdempotentParameterMismatchExceptionResponse = async (parsedOutput, context) => {
@@ -1472,7 +1472,7 @@ const deserializeAws_json1_1IdempotentParameterMismatchExceptionResponse = async
1472
1472
  $metadata: deserializeMetadata(parsedOutput),
1473
1473
  ...deserialized,
1474
1474
  });
1475
- return smithy_client_1.decorateServiceException(exception, body);
1475
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1476
1476
  };
1477
1477
  const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutput, context) => {
1478
1478
  const body = parsedOutput.body;
@@ -1481,7 +1481,7 @@ const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutpu
1481
1481
  $metadata: deserializeMetadata(parsedOutput),
1482
1482
  ...deserialized,
1483
1483
  });
1484
- return smithy_client_1.decorateServiceException(exception, body);
1484
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1485
1485
  };
1486
1486
  const deserializeAws_json1_1InvalidInputExceptionResponse = async (parsedOutput, context) => {
1487
1487
  const body = parsedOutput.body;
@@ -1490,7 +1490,7 @@ const deserializeAws_json1_1InvalidInputExceptionResponse = async (parsedOutput,
1490
1490
  $metadata: deserializeMetadata(parsedOutput),
1491
1491
  ...deserialized,
1492
1492
  });
1493
- return smithy_client_1.decorateServiceException(exception, body);
1493
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1494
1494
  };
1495
1495
  const deserializeAws_json1_1InvalidTagExceptionResponse = async (parsedOutput, context) => {
1496
1496
  const body = parsedOutput.body;
@@ -1499,7 +1499,7 @@ const deserializeAws_json1_1InvalidTagExceptionResponse = async (parsedOutput, c
1499
1499
  $metadata: deserializeMetadata(parsedOutput),
1500
1500
  ...deserialized,
1501
1501
  });
1502
- return smithy_client_1.decorateServiceException(exception, body);
1502
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1503
1503
  };
1504
1504
  const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
1505
1505
  const body = parsedOutput.body;
@@ -1508,7 +1508,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
1508
1508
  $metadata: deserializeMetadata(parsedOutput),
1509
1509
  ...deserialized,
1510
1510
  });
1511
- return smithy_client_1.decorateServiceException(exception, body);
1511
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1512
1512
  };
1513
1513
  const deserializeAws_json1_1PredictorNotMountedExceptionResponse = async (parsedOutput, context) => {
1514
1514
  const body = parsedOutput.body;
@@ -1517,7 +1517,7 @@ const deserializeAws_json1_1PredictorNotMountedExceptionResponse = async (parsed
1517
1517
  $metadata: deserializeMetadata(parsedOutput),
1518
1518
  ...deserialized,
1519
1519
  });
1520
- return smithy_client_1.decorateServiceException(exception, body);
1520
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1521
1521
  };
1522
1522
  const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1523
1523
  const body = parsedOutput.body;
@@ -1526,7 +1526,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
1526
1526
  $metadata: deserializeMetadata(parsedOutput),
1527
1527
  ...deserialized,
1528
1528
  });
1529
- return smithy_client_1.decorateServiceException(exception, body);
1529
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1530
1530
  };
1531
1531
  const deserializeAws_json1_1TagLimitExceededExceptionResponse = async (parsedOutput, context) => {
1532
1532
  const body = parsedOutput.body;
@@ -1535,7 +1535,7 @@ const deserializeAws_json1_1TagLimitExceededExceptionResponse = async (parsedOut
1535
1535
  $metadata: deserializeMetadata(parsedOutput),
1536
1536
  ...deserialized,
1537
1537
  });
1538
- return smithy_client_1.decorateServiceException(exception, body);
1538
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1539
1539
  };
1540
1540
  const serializeAws_json1_1AddTagsInput = (input, context) => {
1541
1541
  return {
@@ -1924,41 +1924,41 @@ const serializeAws_json1_1UpdateMLModelInput = (input, context) => {
1924
1924
  ...(input.MLModelId !== undefined && input.MLModelId !== null && { MLModelId: input.MLModelId }),
1925
1925
  ...(input.MLModelName !== undefined && input.MLModelName !== null && { MLModelName: input.MLModelName }),
1926
1926
  ...(input.ScoreThreshold !== undefined &&
1927
- input.ScoreThreshold !== null && { ScoreThreshold: smithy_client_1.serializeFloat(input.ScoreThreshold) }),
1927
+ input.ScoreThreshold !== null && { ScoreThreshold: (0, smithy_client_1.serializeFloat)(input.ScoreThreshold) }),
1928
1928
  };
1929
1929
  };
1930
1930
  const deserializeAws_json1_1AddTagsOutput = (output, context) => {
1931
1931
  return {
1932
- ResourceId: smithy_client_1.expectString(output.ResourceId),
1933
- ResourceType: smithy_client_1.expectString(output.ResourceType),
1932
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
1933
+ ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
1934
1934
  };
1935
1935
  };
1936
1936
  const deserializeAws_json1_1BatchPrediction = (output, context) => {
1937
1937
  return {
1938
- BatchPredictionDataSourceId: smithy_client_1.expectString(output.BatchPredictionDataSourceId),
1939
- BatchPredictionId: smithy_client_1.expectString(output.BatchPredictionId),
1940
- ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
1938
+ BatchPredictionDataSourceId: (0, smithy_client_1.expectString)(output.BatchPredictionDataSourceId),
1939
+ BatchPredictionId: (0, smithy_client_1.expectString)(output.BatchPredictionId),
1940
+ ComputeTime: (0, smithy_client_1.expectLong)(output.ComputeTime),
1941
1941
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
1942
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
1942
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
1943
1943
  : undefined,
1944
- CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
1944
+ CreatedByIamUser: (0, smithy_client_1.expectString)(output.CreatedByIamUser),
1945
1945
  FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
1946
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
1946
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.FinishedAt)))
1947
1947
  : undefined,
1948
- InputDataLocationS3: smithy_client_1.expectString(output.InputDataLocationS3),
1949
- InvalidRecordCount: smithy_client_1.expectLong(output.InvalidRecordCount),
1948
+ InputDataLocationS3: (0, smithy_client_1.expectString)(output.InputDataLocationS3),
1949
+ InvalidRecordCount: (0, smithy_client_1.expectLong)(output.InvalidRecordCount),
1950
1950
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
1951
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
1951
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedAt)))
1952
1952
  : undefined,
1953
- MLModelId: smithy_client_1.expectString(output.MLModelId),
1954
- Message: smithy_client_1.expectString(output.Message),
1955
- Name: smithy_client_1.expectString(output.Name),
1956
- OutputUri: smithy_client_1.expectString(output.OutputUri),
1953
+ MLModelId: (0, smithy_client_1.expectString)(output.MLModelId),
1954
+ Message: (0, smithy_client_1.expectString)(output.Message),
1955
+ Name: (0, smithy_client_1.expectString)(output.Name),
1956
+ OutputUri: (0, smithy_client_1.expectString)(output.OutputUri),
1957
1957
  StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
1958
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
1958
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartedAt)))
1959
1959
  : undefined,
1960
- Status: smithy_client_1.expectString(output.Status),
1961
- TotalRecordCount: smithy_client_1.expectLong(output.TotalRecordCount),
1960
+ Status: (0, smithy_client_1.expectString)(output.Status),
1961
+ TotalRecordCount: (0, smithy_client_1.expectLong)(output.TotalRecordCount),
1962
1962
  };
1963
1963
  };
1964
1964
  const deserializeAws_json1_1BatchPredictions = (output, context) => {
@@ -1974,37 +1974,37 @@ const deserializeAws_json1_1BatchPredictions = (output, context) => {
1974
1974
  };
1975
1975
  const deserializeAws_json1_1CreateBatchPredictionOutput = (output, context) => {
1976
1976
  return {
1977
- BatchPredictionId: smithy_client_1.expectString(output.BatchPredictionId),
1977
+ BatchPredictionId: (0, smithy_client_1.expectString)(output.BatchPredictionId),
1978
1978
  };
1979
1979
  };
1980
1980
  const deserializeAws_json1_1CreateDataSourceFromRDSOutput = (output, context) => {
1981
1981
  return {
1982
- DataSourceId: smithy_client_1.expectString(output.DataSourceId),
1982
+ DataSourceId: (0, smithy_client_1.expectString)(output.DataSourceId),
1983
1983
  };
1984
1984
  };
1985
1985
  const deserializeAws_json1_1CreateDataSourceFromRedshiftOutput = (output, context) => {
1986
1986
  return {
1987
- DataSourceId: smithy_client_1.expectString(output.DataSourceId),
1987
+ DataSourceId: (0, smithy_client_1.expectString)(output.DataSourceId),
1988
1988
  };
1989
1989
  };
1990
1990
  const deserializeAws_json1_1CreateDataSourceFromS3Output = (output, context) => {
1991
1991
  return {
1992
- DataSourceId: smithy_client_1.expectString(output.DataSourceId),
1992
+ DataSourceId: (0, smithy_client_1.expectString)(output.DataSourceId),
1993
1993
  };
1994
1994
  };
1995
1995
  const deserializeAws_json1_1CreateEvaluationOutput = (output, context) => {
1996
1996
  return {
1997
- EvaluationId: smithy_client_1.expectString(output.EvaluationId),
1997
+ EvaluationId: (0, smithy_client_1.expectString)(output.EvaluationId),
1998
1998
  };
1999
1999
  };
2000
2000
  const deserializeAws_json1_1CreateMLModelOutput = (output, context) => {
2001
2001
  return {
2002
- MLModelId: smithy_client_1.expectString(output.MLModelId),
2002
+ MLModelId: (0, smithy_client_1.expectString)(output.MLModelId),
2003
2003
  };
2004
2004
  };
2005
2005
  const deserializeAws_json1_1CreateRealtimeEndpointOutput = (output, context) => {
2006
2006
  return {
2007
- MLModelId: smithy_client_1.expectString(output.MLModelId),
2007
+ MLModelId: (0, smithy_client_1.expectString)(output.MLModelId),
2008
2008
  RealtimeEndpointInfo: output.RealtimeEndpointInfo !== undefined && output.RealtimeEndpointInfo !== null
2009
2009
  ? deserializeAws_json1_1RealtimeEndpointInfo(output.RealtimeEndpointInfo, context)
2010
2010
  : undefined,
@@ -2012,36 +2012,36 @@ const deserializeAws_json1_1CreateRealtimeEndpointOutput = (output, context) =>
2012
2012
  };
2013
2013
  const deserializeAws_json1_1DataSource = (output, context) => {
2014
2014
  return {
2015
- ComputeStatistics: smithy_client_1.expectBoolean(output.ComputeStatistics),
2016
- ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
2015
+ ComputeStatistics: (0, smithy_client_1.expectBoolean)(output.ComputeStatistics),
2016
+ ComputeTime: (0, smithy_client_1.expectLong)(output.ComputeTime),
2017
2017
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2018
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
2018
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
2019
2019
  : undefined,
2020
- CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
2021
- DataLocationS3: smithy_client_1.expectString(output.DataLocationS3),
2022
- DataRearrangement: smithy_client_1.expectString(output.DataRearrangement),
2023
- DataSizeInBytes: smithy_client_1.expectLong(output.DataSizeInBytes),
2024
- DataSourceId: smithy_client_1.expectString(output.DataSourceId),
2020
+ CreatedByIamUser: (0, smithy_client_1.expectString)(output.CreatedByIamUser),
2021
+ DataLocationS3: (0, smithy_client_1.expectString)(output.DataLocationS3),
2022
+ DataRearrangement: (0, smithy_client_1.expectString)(output.DataRearrangement),
2023
+ DataSizeInBytes: (0, smithy_client_1.expectLong)(output.DataSizeInBytes),
2024
+ DataSourceId: (0, smithy_client_1.expectString)(output.DataSourceId),
2025
2025
  FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
2026
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
2026
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.FinishedAt)))
2027
2027
  : undefined,
2028
2028
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
2029
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
2029
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedAt)))
2030
2030
  : undefined,
2031
- Message: smithy_client_1.expectString(output.Message),
2032
- Name: smithy_client_1.expectString(output.Name),
2033
- NumberOfFiles: smithy_client_1.expectLong(output.NumberOfFiles),
2031
+ Message: (0, smithy_client_1.expectString)(output.Message),
2032
+ Name: (0, smithy_client_1.expectString)(output.Name),
2033
+ NumberOfFiles: (0, smithy_client_1.expectLong)(output.NumberOfFiles),
2034
2034
  RDSMetadata: output.RDSMetadata !== undefined && output.RDSMetadata !== null
2035
2035
  ? deserializeAws_json1_1RDSMetadata(output.RDSMetadata, context)
2036
2036
  : undefined,
2037
2037
  RedshiftMetadata: output.RedshiftMetadata !== undefined && output.RedshiftMetadata !== null
2038
2038
  ? deserializeAws_json1_1RedshiftMetadata(output.RedshiftMetadata, context)
2039
2039
  : undefined,
2040
- RoleARN: smithy_client_1.expectString(output.RoleARN),
2040
+ RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
2041
2041
  StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
2042
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
2042
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartedAt)))
2043
2043
  : undefined,
2044
- Status: smithy_client_1.expectString(output.Status),
2044
+ Status: (0, smithy_client_1.expectString)(output.Status),
2045
2045
  };
2046
2046
  };
2047
2047
  const deserializeAws_json1_1DataSources = (output, context) => {
@@ -2057,27 +2057,27 @@ const deserializeAws_json1_1DataSources = (output, context) => {
2057
2057
  };
2058
2058
  const deserializeAws_json1_1DeleteBatchPredictionOutput = (output, context) => {
2059
2059
  return {
2060
- BatchPredictionId: smithy_client_1.expectString(output.BatchPredictionId),
2060
+ BatchPredictionId: (0, smithy_client_1.expectString)(output.BatchPredictionId),
2061
2061
  };
2062
2062
  };
2063
2063
  const deserializeAws_json1_1DeleteDataSourceOutput = (output, context) => {
2064
2064
  return {
2065
- DataSourceId: smithy_client_1.expectString(output.DataSourceId),
2065
+ DataSourceId: (0, smithy_client_1.expectString)(output.DataSourceId),
2066
2066
  };
2067
2067
  };
2068
2068
  const deserializeAws_json1_1DeleteEvaluationOutput = (output, context) => {
2069
2069
  return {
2070
- EvaluationId: smithy_client_1.expectString(output.EvaluationId),
2070
+ EvaluationId: (0, smithy_client_1.expectString)(output.EvaluationId),
2071
2071
  };
2072
2072
  };
2073
2073
  const deserializeAws_json1_1DeleteMLModelOutput = (output, context) => {
2074
2074
  return {
2075
- MLModelId: smithy_client_1.expectString(output.MLModelId),
2075
+ MLModelId: (0, smithy_client_1.expectString)(output.MLModelId),
2076
2076
  };
2077
2077
  };
2078
2078
  const deserializeAws_json1_1DeleteRealtimeEndpointOutput = (output, context) => {
2079
2079
  return {
2080
- MLModelId: smithy_client_1.expectString(output.MLModelId),
2080
+ MLModelId: (0, smithy_client_1.expectString)(output.MLModelId),
2081
2081
  RealtimeEndpointInfo: output.RealtimeEndpointInfo !== undefined && output.RealtimeEndpointInfo !== null
2082
2082
  ? deserializeAws_json1_1RealtimeEndpointInfo(output.RealtimeEndpointInfo, context)
2083
2083
  : undefined,
@@ -2085,13 +2085,13 @@ const deserializeAws_json1_1DeleteRealtimeEndpointOutput = (output, context) =>
2085
2085
  };
2086
2086
  const deserializeAws_json1_1DeleteTagsOutput = (output, context) => {
2087
2087
  return {
2088
- ResourceId: smithy_client_1.expectString(output.ResourceId),
2089
- ResourceType: smithy_client_1.expectString(output.ResourceType),
2088
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
2089
+ ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
2090
2090
  };
2091
2091
  };
2092
2092
  const deserializeAws_json1_1DescribeBatchPredictionsOutput = (output, context) => {
2093
2093
  return {
2094
- NextToken: smithy_client_1.expectString(output.NextToken),
2094
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2095
2095
  Results: output.Results !== undefined && output.Results !== null
2096
2096
  ? deserializeAws_json1_1BatchPredictions(output.Results, context)
2097
2097
  : undefined,
@@ -2099,7 +2099,7 @@ const deserializeAws_json1_1DescribeBatchPredictionsOutput = (output, context) =
2099
2099
  };
2100
2100
  const deserializeAws_json1_1DescribeDataSourcesOutput = (output, context) => {
2101
2101
  return {
2102
- NextToken: smithy_client_1.expectString(output.NextToken),
2102
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2103
2103
  Results: output.Results !== undefined && output.Results !== null
2104
2104
  ? deserializeAws_json1_1DataSources(output.Results, context)
2105
2105
  : undefined,
@@ -2107,7 +2107,7 @@ const deserializeAws_json1_1DescribeDataSourcesOutput = (output, context) => {
2107
2107
  };
2108
2108
  const deserializeAws_json1_1DescribeEvaluationsOutput = (output, context) => {
2109
2109
  return {
2110
- NextToken: smithy_client_1.expectString(output.NextToken),
2110
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2111
2111
  Results: output.Results !== undefined && output.Results !== null
2112
2112
  ? deserializeAws_json1_1Evaluations(output.Results, context)
2113
2113
  : undefined,
@@ -2115,7 +2115,7 @@ const deserializeAws_json1_1DescribeEvaluationsOutput = (output, context) => {
2115
2115
  };
2116
2116
  const deserializeAws_json1_1DescribeMLModelsOutput = (output, context) => {
2117
2117
  return {
2118
- NextToken: smithy_client_1.expectString(output.NextToken),
2118
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2119
2119
  Results: output.Results !== undefined && output.Results !== null
2120
2120
  ? deserializeAws_json1_1MLModels(output.Results, context)
2121
2121
  : undefined,
@@ -2123,8 +2123,8 @@ const deserializeAws_json1_1DescribeMLModelsOutput = (output, context) => {
2123
2123
  };
2124
2124
  const deserializeAws_json1_1DescribeTagsOutput = (output, context) => {
2125
2125
  return {
2126
- ResourceId: smithy_client_1.expectString(output.ResourceId),
2127
- ResourceType: smithy_client_1.expectString(output.ResourceType),
2126
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
2127
+ ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
2128
2128
  Tags: output.Tags !== undefined && output.Tags !== null
2129
2129
  ? deserializeAws_json1_1TagList(output.Tags, context)
2130
2130
  : undefined,
@@ -2137,36 +2137,36 @@ const deserializeAws_json1_1DetailsMap = (output, context) => {
2137
2137
  }
2138
2138
  return {
2139
2139
  ...acc,
2140
- [key]: smithy_client_1.expectString(value),
2140
+ [key]: (0, smithy_client_1.expectString)(value),
2141
2141
  };
2142
2142
  }, {});
2143
2143
  };
2144
2144
  const deserializeAws_json1_1Evaluation = (output, context) => {
2145
2145
  return {
2146
- ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
2146
+ ComputeTime: (0, smithy_client_1.expectLong)(output.ComputeTime),
2147
2147
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2148
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
2148
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
2149
2149
  : undefined,
2150
- CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
2151
- EvaluationDataSourceId: smithy_client_1.expectString(output.EvaluationDataSourceId),
2152
- EvaluationId: smithy_client_1.expectString(output.EvaluationId),
2150
+ CreatedByIamUser: (0, smithy_client_1.expectString)(output.CreatedByIamUser),
2151
+ EvaluationDataSourceId: (0, smithy_client_1.expectString)(output.EvaluationDataSourceId),
2152
+ EvaluationId: (0, smithy_client_1.expectString)(output.EvaluationId),
2153
2153
  FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
2154
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
2154
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.FinishedAt)))
2155
2155
  : undefined,
2156
- InputDataLocationS3: smithy_client_1.expectString(output.InputDataLocationS3),
2156
+ InputDataLocationS3: (0, smithy_client_1.expectString)(output.InputDataLocationS3),
2157
2157
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
2158
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
2158
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedAt)))
2159
2159
  : undefined,
2160
- MLModelId: smithy_client_1.expectString(output.MLModelId),
2161
- Message: smithy_client_1.expectString(output.Message),
2162
- Name: smithy_client_1.expectString(output.Name),
2160
+ MLModelId: (0, smithy_client_1.expectString)(output.MLModelId),
2161
+ Message: (0, smithy_client_1.expectString)(output.Message),
2162
+ Name: (0, smithy_client_1.expectString)(output.Name),
2163
2163
  PerformanceMetrics: output.PerformanceMetrics !== undefined && output.PerformanceMetrics !== null
2164
2164
  ? deserializeAws_json1_1PerformanceMetrics(output.PerformanceMetrics, context)
2165
2165
  : undefined,
2166
2166
  StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
2167
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
2167
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartedAt)))
2168
2168
  : undefined,
2169
- Status: smithy_client_1.expectString(output.Status),
2169
+ Status: (0, smithy_client_1.expectString)(output.Status),
2170
2170
  };
2171
2171
  };
2172
2172
  const deserializeAws_json1_1Evaluations = (output, context) => {
@@ -2182,132 +2182,132 @@ const deserializeAws_json1_1Evaluations = (output, context) => {
2182
2182
  };
2183
2183
  const deserializeAws_json1_1GetBatchPredictionOutput = (output, context) => {
2184
2184
  return {
2185
- BatchPredictionDataSourceId: smithy_client_1.expectString(output.BatchPredictionDataSourceId),
2186
- BatchPredictionId: smithy_client_1.expectString(output.BatchPredictionId),
2187
- ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
2185
+ BatchPredictionDataSourceId: (0, smithy_client_1.expectString)(output.BatchPredictionDataSourceId),
2186
+ BatchPredictionId: (0, smithy_client_1.expectString)(output.BatchPredictionId),
2187
+ ComputeTime: (0, smithy_client_1.expectLong)(output.ComputeTime),
2188
2188
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2189
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
2189
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
2190
2190
  : undefined,
2191
- CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
2191
+ CreatedByIamUser: (0, smithy_client_1.expectString)(output.CreatedByIamUser),
2192
2192
  FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
2193
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
2193
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.FinishedAt)))
2194
2194
  : undefined,
2195
- InputDataLocationS3: smithy_client_1.expectString(output.InputDataLocationS3),
2196
- InvalidRecordCount: smithy_client_1.expectLong(output.InvalidRecordCount),
2195
+ InputDataLocationS3: (0, smithy_client_1.expectString)(output.InputDataLocationS3),
2196
+ InvalidRecordCount: (0, smithy_client_1.expectLong)(output.InvalidRecordCount),
2197
2197
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
2198
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
2198
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedAt)))
2199
2199
  : undefined,
2200
- LogUri: smithy_client_1.expectString(output.LogUri),
2201
- MLModelId: smithy_client_1.expectString(output.MLModelId),
2202
- Message: smithy_client_1.expectString(output.Message),
2203
- Name: smithy_client_1.expectString(output.Name),
2204
- OutputUri: smithy_client_1.expectString(output.OutputUri),
2200
+ LogUri: (0, smithy_client_1.expectString)(output.LogUri),
2201
+ MLModelId: (0, smithy_client_1.expectString)(output.MLModelId),
2202
+ Message: (0, smithy_client_1.expectString)(output.Message),
2203
+ Name: (0, smithy_client_1.expectString)(output.Name),
2204
+ OutputUri: (0, smithy_client_1.expectString)(output.OutputUri),
2205
2205
  StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
2206
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
2206
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartedAt)))
2207
2207
  : undefined,
2208
- Status: smithy_client_1.expectString(output.Status),
2209
- TotalRecordCount: smithy_client_1.expectLong(output.TotalRecordCount),
2208
+ Status: (0, smithy_client_1.expectString)(output.Status),
2209
+ TotalRecordCount: (0, smithy_client_1.expectLong)(output.TotalRecordCount),
2210
2210
  };
2211
2211
  };
2212
2212
  const deserializeAws_json1_1GetDataSourceOutput = (output, context) => {
2213
2213
  return {
2214
- ComputeStatistics: smithy_client_1.expectBoolean(output.ComputeStatistics),
2215
- ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
2214
+ ComputeStatistics: (0, smithy_client_1.expectBoolean)(output.ComputeStatistics),
2215
+ ComputeTime: (0, smithy_client_1.expectLong)(output.ComputeTime),
2216
2216
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2217
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
2217
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
2218
2218
  : undefined,
2219
- CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
2220
- DataLocationS3: smithy_client_1.expectString(output.DataLocationS3),
2221
- DataRearrangement: smithy_client_1.expectString(output.DataRearrangement),
2222
- DataSizeInBytes: smithy_client_1.expectLong(output.DataSizeInBytes),
2223
- DataSourceId: smithy_client_1.expectString(output.DataSourceId),
2224
- DataSourceSchema: smithy_client_1.expectString(output.DataSourceSchema),
2219
+ CreatedByIamUser: (0, smithy_client_1.expectString)(output.CreatedByIamUser),
2220
+ DataLocationS3: (0, smithy_client_1.expectString)(output.DataLocationS3),
2221
+ DataRearrangement: (0, smithy_client_1.expectString)(output.DataRearrangement),
2222
+ DataSizeInBytes: (0, smithy_client_1.expectLong)(output.DataSizeInBytes),
2223
+ DataSourceId: (0, smithy_client_1.expectString)(output.DataSourceId),
2224
+ DataSourceSchema: (0, smithy_client_1.expectString)(output.DataSourceSchema),
2225
2225
  FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
2226
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
2226
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.FinishedAt)))
2227
2227
  : undefined,
2228
2228
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
2229
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
2229
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedAt)))
2230
2230
  : undefined,
2231
- LogUri: smithy_client_1.expectString(output.LogUri),
2232
- Message: smithy_client_1.expectString(output.Message),
2233
- Name: smithy_client_1.expectString(output.Name),
2234
- NumberOfFiles: smithy_client_1.expectLong(output.NumberOfFiles),
2231
+ LogUri: (0, smithy_client_1.expectString)(output.LogUri),
2232
+ Message: (0, smithy_client_1.expectString)(output.Message),
2233
+ Name: (0, smithy_client_1.expectString)(output.Name),
2234
+ NumberOfFiles: (0, smithy_client_1.expectLong)(output.NumberOfFiles),
2235
2235
  RDSMetadata: output.RDSMetadata !== undefined && output.RDSMetadata !== null
2236
2236
  ? deserializeAws_json1_1RDSMetadata(output.RDSMetadata, context)
2237
2237
  : undefined,
2238
2238
  RedshiftMetadata: output.RedshiftMetadata !== undefined && output.RedshiftMetadata !== null
2239
2239
  ? deserializeAws_json1_1RedshiftMetadata(output.RedshiftMetadata, context)
2240
2240
  : undefined,
2241
- RoleARN: smithy_client_1.expectString(output.RoleARN),
2241
+ RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
2242
2242
  StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
2243
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
2243
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartedAt)))
2244
2244
  : undefined,
2245
- Status: smithy_client_1.expectString(output.Status),
2245
+ Status: (0, smithy_client_1.expectString)(output.Status),
2246
2246
  };
2247
2247
  };
2248
2248
  const deserializeAws_json1_1GetEvaluationOutput = (output, context) => {
2249
2249
  return {
2250
- ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
2250
+ ComputeTime: (0, smithy_client_1.expectLong)(output.ComputeTime),
2251
2251
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2252
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
2252
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
2253
2253
  : undefined,
2254
- CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
2255
- EvaluationDataSourceId: smithy_client_1.expectString(output.EvaluationDataSourceId),
2256
- EvaluationId: smithy_client_1.expectString(output.EvaluationId),
2254
+ CreatedByIamUser: (0, smithy_client_1.expectString)(output.CreatedByIamUser),
2255
+ EvaluationDataSourceId: (0, smithy_client_1.expectString)(output.EvaluationDataSourceId),
2256
+ EvaluationId: (0, smithy_client_1.expectString)(output.EvaluationId),
2257
2257
  FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
2258
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
2258
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.FinishedAt)))
2259
2259
  : undefined,
2260
- InputDataLocationS3: smithy_client_1.expectString(output.InputDataLocationS3),
2260
+ InputDataLocationS3: (0, smithy_client_1.expectString)(output.InputDataLocationS3),
2261
2261
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
2262
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
2262
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedAt)))
2263
2263
  : undefined,
2264
- LogUri: smithy_client_1.expectString(output.LogUri),
2265
- MLModelId: smithy_client_1.expectString(output.MLModelId),
2266
- Message: smithy_client_1.expectString(output.Message),
2267
- Name: smithy_client_1.expectString(output.Name),
2264
+ LogUri: (0, smithy_client_1.expectString)(output.LogUri),
2265
+ MLModelId: (0, smithy_client_1.expectString)(output.MLModelId),
2266
+ Message: (0, smithy_client_1.expectString)(output.Message),
2267
+ Name: (0, smithy_client_1.expectString)(output.Name),
2268
2268
  PerformanceMetrics: output.PerformanceMetrics !== undefined && output.PerformanceMetrics !== null
2269
2269
  ? deserializeAws_json1_1PerformanceMetrics(output.PerformanceMetrics, context)
2270
2270
  : undefined,
2271
2271
  StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
2272
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
2272
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartedAt)))
2273
2273
  : undefined,
2274
- Status: smithy_client_1.expectString(output.Status),
2274
+ Status: (0, smithy_client_1.expectString)(output.Status),
2275
2275
  };
2276
2276
  };
2277
2277
  const deserializeAws_json1_1GetMLModelOutput = (output, context) => {
2278
2278
  return {
2279
- ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
2279
+ ComputeTime: (0, smithy_client_1.expectLong)(output.ComputeTime),
2280
2280
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2281
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
2281
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
2282
2282
  : undefined,
2283
- CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
2283
+ CreatedByIamUser: (0, smithy_client_1.expectString)(output.CreatedByIamUser),
2284
2284
  EndpointInfo: output.EndpointInfo !== undefined && output.EndpointInfo !== null
2285
2285
  ? deserializeAws_json1_1RealtimeEndpointInfo(output.EndpointInfo, context)
2286
2286
  : undefined,
2287
2287
  FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
2288
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
2288
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.FinishedAt)))
2289
2289
  : undefined,
2290
- InputDataLocationS3: smithy_client_1.expectString(output.InputDataLocationS3),
2290
+ InputDataLocationS3: (0, smithy_client_1.expectString)(output.InputDataLocationS3),
2291
2291
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
2292
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
2292
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedAt)))
2293
2293
  : undefined,
2294
- LogUri: smithy_client_1.expectString(output.LogUri),
2295
- MLModelId: smithy_client_1.expectString(output.MLModelId),
2296
- MLModelType: smithy_client_1.expectString(output.MLModelType),
2297
- Message: smithy_client_1.expectString(output.Message),
2298
- Name: smithy_client_1.expectString(output.Name),
2299
- Recipe: smithy_client_1.expectString(output.Recipe),
2300
- Schema: smithy_client_1.expectString(output.Schema),
2301
- ScoreThreshold: smithy_client_1.limitedParseFloat32(output.ScoreThreshold),
2294
+ LogUri: (0, smithy_client_1.expectString)(output.LogUri),
2295
+ MLModelId: (0, smithy_client_1.expectString)(output.MLModelId),
2296
+ MLModelType: (0, smithy_client_1.expectString)(output.MLModelType),
2297
+ Message: (0, smithy_client_1.expectString)(output.Message),
2298
+ Name: (0, smithy_client_1.expectString)(output.Name),
2299
+ Recipe: (0, smithy_client_1.expectString)(output.Recipe),
2300
+ Schema: (0, smithy_client_1.expectString)(output.Schema),
2301
+ ScoreThreshold: (0, smithy_client_1.limitedParseFloat32)(output.ScoreThreshold),
2302
2302
  ScoreThresholdLastUpdatedAt: output.ScoreThresholdLastUpdatedAt !== undefined && output.ScoreThresholdLastUpdatedAt !== null
2303
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ScoreThresholdLastUpdatedAt)))
2303
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ScoreThresholdLastUpdatedAt)))
2304
2304
  : undefined,
2305
- SizeInBytes: smithy_client_1.expectLong(output.SizeInBytes),
2305
+ SizeInBytes: (0, smithy_client_1.expectLong)(output.SizeInBytes),
2306
2306
  StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
2307
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
2307
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartedAt)))
2308
2308
  : undefined,
2309
- Status: smithy_client_1.expectString(output.Status),
2310
- TrainingDataSourceId: smithy_client_1.expectString(output.TrainingDataSourceId),
2309
+ Status: (0, smithy_client_1.expectString)(output.Status),
2310
+ TrainingDataSourceId: (0, smithy_client_1.expectString)(output.TrainingDataSourceId),
2311
2311
  TrainingParameters: output.TrainingParameters !== undefined && output.TrainingParameters !== null
2312
2312
  ? deserializeAws_json1_1TrainingParameters(output.TrainingParameters, context)
2313
2313
  : undefined,
@@ -2315,65 +2315,65 @@ const deserializeAws_json1_1GetMLModelOutput = (output, context) => {
2315
2315
  };
2316
2316
  const deserializeAws_json1_1IdempotentParameterMismatchException = (output, context) => {
2317
2317
  return {
2318
- code: smithy_client_1.expectInt32(output.code),
2319
- message: smithy_client_1.expectString(output.message),
2318
+ code: (0, smithy_client_1.expectInt32)(output.code),
2319
+ message: (0, smithy_client_1.expectString)(output.message),
2320
2320
  };
2321
2321
  };
2322
2322
  const deserializeAws_json1_1InternalServerException = (output, context) => {
2323
2323
  return {
2324
- code: smithy_client_1.expectInt32(output.code),
2325
- message: smithy_client_1.expectString(output.message),
2324
+ code: (0, smithy_client_1.expectInt32)(output.code),
2325
+ message: (0, smithy_client_1.expectString)(output.message),
2326
2326
  };
2327
2327
  };
2328
2328
  const deserializeAws_json1_1InvalidInputException = (output, context) => {
2329
2329
  return {
2330
- code: smithy_client_1.expectInt32(output.code),
2331
- message: smithy_client_1.expectString(output.message),
2330
+ code: (0, smithy_client_1.expectInt32)(output.code),
2331
+ message: (0, smithy_client_1.expectString)(output.message),
2332
2332
  };
2333
2333
  };
2334
2334
  const deserializeAws_json1_1InvalidTagException = (output, context) => {
2335
2335
  return {
2336
- message: smithy_client_1.expectString(output.message),
2336
+ message: (0, smithy_client_1.expectString)(output.message),
2337
2337
  };
2338
2338
  };
2339
2339
  const deserializeAws_json1_1LimitExceededException = (output, context) => {
2340
2340
  return {
2341
- code: smithy_client_1.expectInt32(output.code),
2342
- message: smithy_client_1.expectString(output.message),
2341
+ code: (0, smithy_client_1.expectInt32)(output.code),
2342
+ message: (0, smithy_client_1.expectString)(output.message),
2343
2343
  };
2344
2344
  };
2345
2345
  const deserializeAws_json1_1MLModel = (output, context) => {
2346
2346
  return {
2347
- Algorithm: smithy_client_1.expectString(output.Algorithm),
2348
- ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
2347
+ Algorithm: (0, smithy_client_1.expectString)(output.Algorithm),
2348
+ ComputeTime: (0, smithy_client_1.expectLong)(output.ComputeTime),
2349
2349
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2350
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
2350
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
2351
2351
  : undefined,
2352
- CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
2352
+ CreatedByIamUser: (0, smithy_client_1.expectString)(output.CreatedByIamUser),
2353
2353
  EndpointInfo: output.EndpointInfo !== undefined && output.EndpointInfo !== null
2354
2354
  ? deserializeAws_json1_1RealtimeEndpointInfo(output.EndpointInfo, context)
2355
2355
  : undefined,
2356
2356
  FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
2357
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
2357
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.FinishedAt)))
2358
2358
  : undefined,
2359
- InputDataLocationS3: smithy_client_1.expectString(output.InputDataLocationS3),
2359
+ InputDataLocationS3: (0, smithy_client_1.expectString)(output.InputDataLocationS3),
2360
2360
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
2361
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
2361
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedAt)))
2362
2362
  : undefined,
2363
- MLModelId: smithy_client_1.expectString(output.MLModelId),
2364
- MLModelType: smithy_client_1.expectString(output.MLModelType),
2365
- Message: smithy_client_1.expectString(output.Message),
2366
- Name: smithy_client_1.expectString(output.Name),
2367
- ScoreThreshold: smithy_client_1.limitedParseFloat32(output.ScoreThreshold),
2363
+ MLModelId: (0, smithy_client_1.expectString)(output.MLModelId),
2364
+ MLModelType: (0, smithy_client_1.expectString)(output.MLModelType),
2365
+ Message: (0, smithy_client_1.expectString)(output.Message),
2366
+ Name: (0, smithy_client_1.expectString)(output.Name),
2367
+ ScoreThreshold: (0, smithy_client_1.limitedParseFloat32)(output.ScoreThreshold),
2368
2368
  ScoreThresholdLastUpdatedAt: output.ScoreThresholdLastUpdatedAt !== undefined && output.ScoreThresholdLastUpdatedAt !== null
2369
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ScoreThresholdLastUpdatedAt)))
2369
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ScoreThresholdLastUpdatedAt)))
2370
2370
  : undefined,
2371
- SizeInBytes: smithy_client_1.expectLong(output.SizeInBytes),
2371
+ SizeInBytes: (0, smithy_client_1.expectLong)(output.SizeInBytes),
2372
2372
  StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
2373
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
2373
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartedAt)))
2374
2374
  : undefined,
2375
- Status: smithy_client_1.expectString(output.Status),
2376
- TrainingDataSourceId: smithy_client_1.expectString(output.TrainingDataSourceId),
2375
+ Status: (0, smithy_client_1.expectString)(output.Status),
2376
+ TrainingDataSourceId: (0, smithy_client_1.expectString)(output.TrainingDataSourceId),
2377
2377
  TrainingParameters: output.TrainingParameters !== undefined && output.TrainingParameters !== null
2378
2378
  ? deserializeAws_json1_1TrainingParameters(output.TrainingParameters, context)
2379
2379
  : undefined,
@@ -2404,7 +2404,7 @@ const deserializeAws_json1_1PerformanceMetricsProperties = (output, context) =>
2404
2404
  }
2405
2405
  return {
2406
2406
  ...acc,
2407
- [key]: smithy_client_1.expectString(value),
2407
+ [key]: (0, smithy_client_1.expectString)(value),
2408
2408
  };
2409
2409
  }, {});
2410
2410
  };
@@ -2413,16 +2413,16 @@ const deserializeAws_json1_1Prediction = (output, context) => {
2413
2413
  details: output.details !== undefined && output.details !== null
2414
2414
  ? deserializeAws_json1_1DetailsMap(output.details, context)
2415
2415
  : undefined,
2416
- predictedLabel: smithy_client_1.expectString(output.predictedLabel),
2416
+ predictedLabel: (0, smithy_client_1.expectString)(output.predictedLabel),
2417
2417
  predictedScores: output.predictedScores !== undefined && output.predictedScores !== null
2418
2418
  ? deserializeAws_json1_1ScoreValuePerLabelMap(output.predictedScores, context)
2419
2419
  : undefined,
2420
- predictedValue: smithy_client_1.limitedParseFloat32(output.predictedValue),
2420
+ predictedValue: (0, smithy_client_1.limitedParseFloat32)(output.predictedValue),
2421
2421
  };
2422
2422
  };
2423
2423
  const deserializeAws_json1_1PredictorNotMountedException = (output, context) => {
2424
2424
  return {
2425
- message: smithy_client_1.expectString(output.message),
2425
+ message: (0, smithy_client_1.expectString)(output.message),
2426
2426
  };
2427
2427
  };
2428
2428
  const deserializeAws_json1_1PredictOutput = (output, context) => {
@@ -2434,51 +2434,51 @@ const deserializeAws_json1_1PredictOutput = (output, context) => {
2434
2434
  };
2435
2435
  const deserializeAws_json1_1RDSDatabase = (output, context) => {
2436
2436
  return {
2437
- DatabaseName: smithy_client_1.expectString(output.DatabaseName),
2438
- InstanceIdentifier: smithy_client_1.expectString(output.InstanceIdentifier),
2437
+ DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
2438
+ InstanceIdentifier: (0, smithy_client_1.expectString)(output.InstanceIdentifier),
2439
2439
  };
2440
2440
  };
2441
2441
  const deserializeAws_json1_1RDSMetadata = (output, context) => {
2442
2442
  return {
2443
- DataPipelineId: smithy_client_1.expectString(output.DataPipelineId),
2443
+ DataPipelineId: (0, smithy_client_1.expectString)(output.DataPipelineId),
2444
2444
  Database: output.Database !== undefined && output.Database !== null
2445
2445
  ? deserializeAws_json1_1RDSDatabase(output.Database, context)
2446
2446
  : undefined,
2447
- DatabaseUserName: smithy_client_1.expectString(output.DatabaseUserName),
2448
- ResourceRole: smithy_client_1.expectString(output.ResourceRole),
2449
- SelectSqlQuery: smithy_client_1.expectString(output.SelectSqlQuery),
2450
- ServiceRole: smithy_client_1.expectString(output.ServiceRole),
2447
+ DatabaseUserName: (0, smithy_client_1.expectString)(output.DatabaseUserName),
2448
+ ResourceRole: (0, smithy_client_1.expectString)(output.ResourceRole),
2449
+ SelectSqlQuery: (0, smithy_client_1.expectString)(output.SelectSqlQuery),
2450
+ ServiceRole: (0, smithy_client_1.expectString)(output.ServiceRole),
2451
2451
  };
2452
2452
  };
2453
2453
  const deserializeAws_json1_1RealtimeEndpointInfo = (output, context) => {
2454
2454
  return {
2455
2455
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2456
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
2456
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
2457
2457
  : undefined,
2458
- EndpointStatus: smithy_client_1.expectString(output.EndpointStatus),
2459
- EndpointUrl: smithy_client_1.expectString(output.EndpointUrl),
2460
- PeakRequestsPerSecond: smithy_client_1.expectInt32(output.PeakRequestsPerSecond),
2458
+ EndpointStatus: (0, smithy_client_1.expectString)(output.EndpointStatus),
2459
+ EndpointUrl: (0, smithy_client_1.expectString)(output.EndpointUrl),
2460
+ PeakRequestsPerSecond: (0, smithy_client_1.expectInt32)(output.PeakRequestsPerSecond),
2461
2461
  };
2462
2462
  };
2463
2463
  const deserializeAws_json1_1RedshiftDatabase = (output, context) => {
2464
2464
  return {
2465
- ClusterIdentifier: smithy_client_1.expectString(output.ClusterIdentifier),
2466
- DatabaseName: smithy_client_1.expectString(output.DatabaseName),
2465
+ ClusterIdentifier: (0, smithy_client_1.expectString)(output.ClusterIdentifier),
2466
+ DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
2467
2467
  };
2468
2468
  };
2469
2469
  const deserializeAws_json1_1RedshiftMetadata = (output, context) => {
2470
2470
  return {
2471
- DatabaseUserName: smithy_client_1.expectString(output.DatabaseUserName),
2471
+ DatabaseUserName: (0, smithy_client_1.expectString)(output.DatabaseUserName),
2472
2472
  RedshiftDatabase: output.RedshiftDatabase !== undefined && output.RedshiftDatabase !== null
2473
2473
  ? deserializeAws_json1_1RedshiftDatabase(output.RedshiftDatabase, context)
2474
2474
  : undefined,
2475
- SelectSqlQuery: smithy_client_1.expectString(output.SelectSqlQuery),
2475
+ SelectSqlQuery: (0, smithy_client_1.expectString)(output.SelectSqlQuery),
2476
2476
  };
2477
2477
  };
2478
2478
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
2479
2479
  return {
2480
- code: smithy_client_1.expectInt32(output.code),
2481
- message: smithy_client_1.expectString(output.message),
2480
+ code: (0, smithy_client_1.expectInt32)(output.code),
2481
+ message: (0, smithy_client_1.expectString)(output.message),
2482
2482
  };
2483
2483
  };
2484
2484
  const deserializeAws_json1_1ScoreValuePerLabelMap = (output, context) => {
@@ -2488,19 +2488,19 @@ const deserializeAws_json1_1ScoreValuePerLabelMap = (output, context) => {
2488
2488
  }
2489
2489
  return {
2490
2490
  ...acc,
2491
- [key]: smithy_client_1.limitedParseFloat32(value),
2491
+ [key]: (0, smithy_client_1.limitedParseFloat32)(value),
2492
2492
  };
2493
2493
  }, {});
2494
2494
  };
2495
2495
  const deserializeAws_json1_1Tag = (output, context) => {
2496
2496
  return {
2497
- Key: smithy_client_1.expectString(output.Key),
2498
- Value: smithy_client_1.expectString(output.Value),
2497
+ Key: (0, smithy_client_1.expectString)(output.Key),
2498
+ Value: (0, smithy_client_1.expectString)(output.Value),
2499
2499
  };
2500
2500
  };
2501
2501
  const deserializeAws_json1_1TagLimitExceededException = (output, context) => {
2502
2502
  return {
2503
- message: smithy_client_1.expectString(output.message),
2503
+ message: (0, smithy_client_1.expectString)(output.message),
2504
2504
  };
2505
2505
  };
2506
2506
  const deserializeAws_json1_1TagList = (output, context) => {
@@ -2521,28 +2521,28 @@ const deserializeAws_json1_1TrainingParameters = (output, context) => {
2521
2521
  }
2522
2522
  return {
2523
2523
  ...acc,
2524
- [key]: smithy_client_1.expectString(value),
2524
+ [key]: (0, smithy_client_1.expectString)(value),
2525
2525
  };
2526
2526
  }, {});
2527
2527
  };
2528
2528
  const deserializeAws_json1_1UpdateBatchPredictionOutput = (output, context) => {
2529
2529
  return {
2530
- BatchPredictionId: smithy_client_1.expectString(output.BatchPredictionId),
2530
+ BatchPredictionId: (0, smithy_client_1.expectString)(output.BatchPredictionId),
2531
2531
  };
2532
2532
  };
2533
2533
  const deserializeAws_json1_1UpdateDataSourceOutput = (output, context) => {
2534
2534
  return {
2535
- DataSourceId: smithy_client_1.expectString(output.DataSourceId),
2535
+ DataSourceId: (0, smithy_client_1.expectString)(output.DataSourceId),
2536
2536
  };
2537
2537
  };
2538
2538
  const deserializeAws_json1_1UpdateEvaluationOutput = (output, context) => {
2539
2539
  return {
2540
- EvaluationId: smithy_client_1.expectString(output.EvaluationId),
2540
+ EvaluationId: (0, smithy_client_1.expectString)(output.EvaluationId),
2541
2541
  };
2542
2542
  };
2543
2543
  const deserializeAws_json1_1UpdateMLModelOutput = (output, context) => {
2544
2544
  return {
2545
- MLModelId: smithy_client_1.expectString(output.MLModelId),
2545
+ MLModelId: (0, smithy_client_1.expectString)(output.MLModelId),
2546
2546
  };
2547
2547
  };
2548
2548
  const deserializeMetadata = (output) => {