@aws-sdk/client-machine-learning 3.29.0 → 3.33.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 (104) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/cjs/MachineLearningClient.js +13 -13
  3. package/dist/cjs/MachineLearningClient.js.map +1 -1
  4. package/dist/cjs/commands/AddTagsCommand.js +3 -3
  5. package/dist/cjs/commands/AddTagsCommand.js.map +1 -1
  6. package/dist/cjs/commands/CreateBatchPredictionCommand.js +3 -3
  7. package/dist/cjs/commands/CreateBatchPredictionCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateDataSourceFromRDSCommand.js +3 -3
  9. package/dist/cjs/commands/CreateDataSourceFromRDSCommand.js.map +1 -1
  10. package/dist/cjs/commands/CreateDataSourceFromRedshiftCommand.js +3 -3
  11. package/dist/cjs/commands/CreateDataSourceFromRedshiftCommand.js.map +1 -1
  12. package/dist/cjs/commands/CreateDataSourceFromS3Command.js +3 -3
  13. package/dist/cjs/commands/CreateDataSourceFromS3Command.js.map +1 -1
  14. package/dist/cjs/commands/CreateEvaluationCommand.js +3 -3
  15. package/dist/cjs/commands/CreateEvaluationCommand.js.map +1 -1
  16. package/dist/cjs/commands/CreateMLModelCommand.js +3 -3
  17. package/dist/cjs/commands/CreateMLModelCommand.js.map +1 -1
  18. package/dist/cjs/commands/CreateRealtimeEndpointCommand.js +3 -3
  19. package/dist/cjs/commands/CreateRealtimeEndpointCommand.js.map +1 -1
  20. package/dist/cjs/commands/DeleteBatchPredictionCommand.js +3 -3
  21. package/dist/cjs/commands/DeleteBatchPredictionCommand.js.map +1 -1
  22. package/dist/cjs/commands/DeleteDataSourceCommand.js +3 -3
  23. package/dist/cjs/commands/DeleteDataSourceCommand.js.map +1 -1
  24. package/dist/cjs/commands/DeleteEvaluationCommand.js +3 -3
  25. package/dist/cjs/commands/DeleteEvaluationCommand.js.map +1 -1
  26. package/dist/cjs/commands/DeleteMLModelCommand.js +3 -3
  27. package/dist/cjs/commands/DeleteMLModelCommand.js.map +1 -1
  28. package/dist/cjs/commands/DeleteRealtimeEndpointCommand.js +3 -3
  29. package/dist/cjs/commands/DeleteRealtimeEndpointCommand.js.map +1 -1
  30. package/dist/cjs/commands/DeleteTagsCommand.js +3 -3
  31. package/dist/cjs/commands/DeleteTagsCommand.js.map +1 -1
  32. package/dist/cjs/commands/DescribeBatchPredictionsCommand.js +3 -3
  33. package/dist/cjs/commands/DescribeBatchPredictionsCommand.js.map +1 -1
  34. package/dist/cjs/commands/DescribeDataSourcesCommand.js +3 -3
  35. package/dist/cjs/commands/DescribeDataSourcesCommand.js.map +1 -1
  36. package/dist/cjs/commands/DescribeEvaluationsCommand.js +3 -3
  37. package/dist/cjs/commands/DescribeEvaluationsCommand.js.map +1 -1
  38. package/dist/cjs/commands/DescribeMLModelsCommand.js +3 -3
  39. package/dist/cjs/commands/DescribeMLModelsCommand.js.map +1 -1
  40. package/dist/cjs/commands/DescribeTagsCommand.js +3 -3
  41. package/dist/cjs/commands/DescribeTagsCommand.js.map +1 -1
  42. package/dist/cjs/commands/GetBatchPredictionCommand.js +3 -3
  43. package/dist/cjs/commands/GetBatchPredictionCommand.js.map +1 -1
  44. package/dist/cjs/commands/GetDataSourceCommand.js +3 -3
  45. package/dist/cjs/commands/GetDataSourceCommand.js.map +1 -1
  46. package/dist/cjs/commands/GetEvaluationCommand.js +3 -3
  47. package/dist/cjs/commands/GetEvaluationCommand.js.map +1 -1
  48. package/dist/cjs/commands/GetMLModelCommand.js +3 -3
  49. package/dist/cjs/commands/GetMLModelCommand.js.map +1 -1
  50. package/dist/cjs/commands/PredictCommand.js +4 -4
  51. package/dist/cjs/commands/PredictCommand.js.map +1 -1
  52. package/dist/cjs/commands/UpdateBatchPredictionCommand.js +3 -3
  53. package/dist/cjs/commands/UpdateBatchPredictionCommand.js.map +1 -1
  54. package/dist/cjs/commands/UpdateDataSourceCommand.js +3 -3
  55. package/dist/cjs/commands/UpdateDataSourceCommand.js.map +1 -1
  56. package/dist/cjs/commands/UpdateEvaluationCommand.js +3 -3
  57. package/dist/cjs/commands/UpdateEvaluationCommand.js.map +1 -1
  58. package/dist/cjs/commands/UpdateMLModelCommand.js +3 -3
  59. package/dist/cjs/commands/UpdateMLModelCommand.js.map +1 -1
  60. package/dist/cjs/endpoints.js +1 -1
  61. package/dist/cjs/endpoints.js.map +1 -1
  62. package/dist/cjs/index.js +40 -40
  63. package/dist/cjs/index.js.map +1 -1
  64. package/dist/cjs/models/index.js +1 -1
  65. package/dist/cjs/models/index.js.map +1 -1
  66. package/dist/cjs/package.json +33 -33
  67. package/dist/cjs/protocols/Aws_json1_1.js +193 -193
  68. package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
  69. package/dist/cjs/runtimeConfig.browser.js +4 -4
  70. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  71. package/dist/cjs/runtimeConfig.js +8 -8
  72. package/dist/cjs/runtimeConfig.js.map +1 -1
  73. package/dist/cjs/runtimeConfig.native.js +1 -1
  74. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  75. package/dist/cjs/waiters/waitForBatchPredictionAvailable.js +3 -3
  76. package/dist/cjs/waiters/waitForBatchPredictionAvailable.js.map +1 -1
  77. package/dist/cjs/waiters/waitForDataSourceAvailable.js +3 -3
  78. package/dist/cjs/waiters/waitForDataSourceAvailable.js.map +1 -1
  79. package/dist/cjs/waiters/waitForEvaluationAvailable.js +3 -3
  80. package/dist/cjs/waiters/waitForEvaluationAvailable.js.map +1 -1
  81. package/dist/cjs/waiters/waitForMLModelAvailable.js +3 -3
  82. package/dist/cjs/waiters/waitForMLModelAvailable.js.map +1 -1
  83. package/dist/es/package.json +33 -33
  84. package/dist/es/pagination/DescribeBatchPredictionsPaginator.js +4 -4
  85. package/dist/es/pagination/DescribeBatchPredictionsPaginator.js.map +1 -1
  86. package/dist/es/pagination/DescribeDataSourcesPaginator.js +4 -4
  87. package/dist/es/pagination/DescribeDataSourcesPaginator.js.map +1 -1
  88. package/dist/es/pagination/DescribeEvaluationsPaginator.js +4 -4
  89. package/dist/es/pagination/DescribeEvaluationsPaginator.js.map +1 -1
  90. package/dist/es/pagination/DescribeMLModelsPaginator.js +4 -4
  91. package/dist/es/pagination/DescribeMLModelsPaginator.js.map +1 -1
  92. package/dist/es/protocols/Aws_json1_1.js +36 -36
  93. package/dist/es/protocols/Aws_json1_1.js.map +1 -1
  94. package/dist/es/waiters/waitForBatchPredictionAvailable.js +2 -2
  95. package/dist/es/waiters/waitForBatchPredictionAvailable.js.map +1 -1
  96. package/dist/es/waiters/waitForDataSourceAvailable.js +2 -2
  97. package/dist/es/waiters/waitForDataSourceAvailable.js.map +1 -1
  98. package/dist/es/waiters/waitForEvaluationAvailable.js +2 -2
  99. package/dist/es/waiters/waitForEvaluationAvailable.js.map +1 -1
  100. package/dist/es/waiters/waitForMLModelAvailable.js +2 -2
  101. package/dist/es/waiters/waitForMLModelAvailable.js.map +1 -1
  102. package/package.json +33 -33
  103. package/protocols/Aws_json1_1.ts +38 -35
  104. package/tsconfig.json +1 -2
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator, __read } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
- import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
3
+ import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
4
4
  export var serializeAws_json1_1AddTagsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
5
5
  var headers, body;
6
6
  return __generator(this, function (_a) {
@@ -2631,23 +2631,23 @@ var deserializeAws_json1_1BatchPrediction = function (output, context) {
2631
2631
  BatchPredictionId: __expectString(output.BatchPredictionId),
2632
2632
  ComputeTime: __expectLong(output.ComputeTime),
2633
2633
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2634
- ? new Date(Math.round(output.CreatedAt * 1000))
2634
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
2635
2635
  : undefined,
2636
2636
  CreatedByIamUser: __expectString(output.CreatedByIamUser),
2637
2637
  FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
2638
- ? new Date(Math.round(output.FinishedAt * 1000))
2638
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FinishedAt)))
2639
2639
  : undefined,
2640
2640
  InputDataLocationS3: __expectString(output.InputDataLocationS3),
2641
2641
  InvalidRecordCount: __expectLong(output.InvalidRecordCount),
2642
2642
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
2643
- ? new Date(Math.round(output.LastUpdatedAt * 1000))
2643
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
2644
2644
  : undefined,
2645
2645
  MLModelId: __expectString(output.MLModelId),
2646
2646
  Message: __expectString(output.Message),
2647
2647
  Name: __expectString(output.Name),
2648
2648
  OutputUri: __expectString(output.OutputUri),
2649
2649
  StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
2650
- ? new Date(Math.round(output.StartedAt * 1000))
2650
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt)))
2651
2651
  : undefined,
2652
2652
  Status: __expectString(output.Status),
2653
2653
  TotalRecordCount: __expectLong(output.TotalRecordCount),
@@ -2706,7 +2706,7 @@ var deserializeAws_json1_1DataSource = function (output, context) {
2706
2706
  ComputeStatistics: __expectBoolean(output.ComputeStatistics),
2707
2707
  ComputeTime: __expectLong(output.ComputeTime),
2708
2708
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2709
- ? new Date(Math.round(output.CreatedAt * 1000))
2709
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
2710
2710
  : undefined,
2711
2711
  CreatedByIamUser: __expectString(output.CreatedByIamUser),
2712
2712
  DataLocationS3: __expectString(output.DataLocationS3),
@@ -2714,10 +2714,10 @@ var deserializeAws_json1_1DataSource = function (output, context) {
2714
2714
  DataSizeInBytes: __expectLong(output.DataSizeInBytes),
2715
2715
  DataSourceId: __expectString(output.DataSourceId),
2716
2716
  FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
2717
- ? new Date(Math.round(output.FinishedAt * 1000))
2717
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FinishedAt)))
2718
2718
  : undefined,
2719
2719
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
2720
- ? new Date(Math.round(output.LastUpdatedAt * 1000))
2720
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
2721
2721
  : undefined,
2722
2722
  Message: __expectString(output.Message),
2723
2723
  Name: __expectString(output.Name),
@@ -2730,7 +2730,7 @@ var deserializeAws_json1_1DataSource = function (output, context) {
2730
2730
  : undefined,
2731
2731
  RoleARN: __expectString(output.RoleARN),
2732
2732
  StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
2733
- ? new Date(Math.round(output.StartedAt * 1000))
2733
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt)))
2734
2734
  : undefined,
2735
2735
  Status: __expectString(output.Status),
2736
2736
  };
@@ -2834,17 +2834,17 @@ var deserializeAws_json1_1Evaluation = function (output, context) {
2834
2834
  return {
2835
2835
  ComputeTime: __expectLong(output.ComputeTime),
2836
2836
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2837
- ? new Date(Math.round(output.CreatedAt * 1000))
2837
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
2838
2838
  : undefined,
2839
2839
  CreatedByIamUser: __expectString(output.CreatedByIamUser),
2840
2840
  EvaluationDataSourceId: __expectString(output.EvaluationDataSourceId),
2841
2841
  EvaluationId: __expectString(output.EvaluationId),
2842
2842
  FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
2843
- ? new Date(Math.round(output.FinishedAt * 1000))
2843
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FinishedAt)))
2844
2844
  : undefined,
2845
2845
  InputDataLocationS3: __expectString(output.InputDataLocationS3),
2846
2846
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
2847
- ? new Date(Math.round(output.LastUpdatedAt * 1000))
2847
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
2848
2848
  : undefined,
2849
2849
  MLModelId: __expectString(output.MLModelId),
2850
2850
  Message: __expectString(output.Message),
@@ -2853,7 +2853,7 @@ var deserializeAws_json1_1Evaluation = function (output, context) {
2853
2853
  ? deserializeAws_json1_1PerformanceMetrics(output.PerformanceMetrics, context)
2854
2854
  : undefined,
2855
2855
  StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
2856
- ? new Date(Math.round(output.StartedAt * 1000))
2856
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt)))
2857
2857
  : undefined,
2858
2858
  Status: __expectString(output.Status),
2859
2859
  };
@@ -2874,16 +2874,16 @@ var deserializeAws_json1_1GetBatchPredictionOutput = function (output, context)
2874
2874
  BatchPredictionId: __expectString(output.BatchPredictionId),
2875
2875
  ComputeTime: __expectLong(output.ComputeTime),
2876
2876
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2877
- ? new Date(Math.round(output.CreatedAt * 1000))
2877
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
2878
2878
  : undefined,
2879
2879
  CreatedByIamUser: __expectString(output.CreatedByIamUser),
2880
2880
  FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
2881
- ? new Date(Math.round(output.FinishedAt * 1000))
2881
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FinishedAt)))
2882
2882
  : undefined,
2883
2883
  InputDataLocationS3: __expectString(output.InputDataLocationS3),
2884
2884
  InvalidRecordCount: __expectLong(output.InvalidRecordCount),
2885
2885
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
2886
- ? new Date(Math.round(output.LastUpdatedAt * 1000))
2886
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
2887
2887
  : undefined,
2888
2888
  LogUri: __expectString(output.LogUri),
2889
2889
  MLModelId: __expectString(output.MLModelId),
@@ -2891,7 +2891,7 @@ var deserializeAws_json1_1GetBatchPredictionOutput = function (output, context)
2891
2891
  Name: __expectString(output.Name),
2892
2892
  OutputUri: __expectString(output.OutputUri),
2893
2893
  StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
2894
- ? new Date(Math.round(output.StartedAt * 1000))
2894
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt)))
2895
2895
  : undefined,
2896
2896
  Status: __expectString(output.Status),
2897
2897
  TotalRecordCount: __expectLong(output.TotalRecordCount),
@@ -2902,7 +2902,7 @@ var deserializeAws_json1_1GetDataSourceOutput = function (output, context) {
2902
2902
  ComputeStatistics: __expectBoolean(output.ComputeStatistics),
2903
2903
  ComputeTime: __expectLong(output.ComputeTime),
2904
2904
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2905
- ? new Date(Math.round(output.CreatedAt * 1000))
2905
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
2906
2906
  : undefined,
2907
2907
  CreatedByIamUser: __expectString(output.CreatedByIamUser),
2908
2908
  DataLocationS3: __expectString(output.DataLocationS3),
@@ -2911,10 +2911,10 @@ var deserializeAws_json1_1GetDataSourceOutput = function (output, context) {
2911
2911
  DataSourceId: __expectString(output.DataSourceId),
2912
2912
  DataSourceSchema: __expectString(output.DataSourceSchema),
2913
2913
  FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
2914
- ? new Date(Math.round(output.FinishedAt * 1000))
2914
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FinishedAt)))
2915
2915
  : undefined,
2916
2916
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
2917
- ? new Date(Math.round(output.LastUpdatedAt * 1000))
2917
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
2918
2918
  : undefined,
2919
2919
  LogUri: __expectString(output.LogUri),
2920
2920
  Message: __expectString(output.Message),
@@ -2928,7 +2928,7 @@ var deserializeAws_json1_1GetDataSourceOutput = function (output, context) {
2928
2928
  : undefined,
2929
2929
  RoleARN: __expectString(output.RoleARN),
2930
2930
  StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
2931
- ? new Date(Math.round(output.StartedAt * 1000))
2931
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt)))
2932
2932
  : undefined,
2933
2933
  Status: __expectString(output.Status),
2934
2934
  };
@@ -2937,17 +2937,17 @@ var deserializeAws_json1_1GetEvaluationOutput = function (output, context) {
2937
2937
  return {
2938
2938
  ComputeTime: __expectLong(output.ComputeTime),
2939
2939
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2940
- ? new Date(Math.round(output.CreatedAt * 1000))
2940
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
2941
2941
  : undefined,
2942
2942
  CreatedByIamUser: __expectString(output.CreatedByIamUser),
2943
2943
  EvaluationDataSourceId: __expectString(output.EvaluationDataSourceId),
2944
2944
  EvaluationId: __expectString(output.EvaluationId),
2945
2945
  FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
2946
- ? new Date(Math.round(output.FinishedAt * 1000))
2946
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FinishedAt)))
2947
2947
  : undefined,
2948
2948
  InputDataLocationS3: __expectString(output.InputDataLocationS3),
2949
2949
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
2950
- ? new Date(Math.round(output.LastUpdatedAt * 1000))
2950
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
2951
2951
  : undefined,
2952
2952
  LogUri: __expectString(output.LogUri),
2953
2953
  MLModelId: __expectString(output.MLModelId),
@@ -2957,7 +2957,7 @@ var deserializeAws_json1_1GetEvaluationOutput = function (output, context) {
2957
2957
  ? deserializeAws_json1_1PerformanceMetrics(output.PerformanceMetrics, context)
2958
2958
  : undefined,
2959
2959
  StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
2960
- ? new Date(Math.round(output.StartedAt * 1000))
2960
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt)))
2961
2961
  : undefined,
2962
2962
  Status: __expectString(output.Status),
2963
2963
  };
@@ -2966,18 +2966,18 @@ var deserializeAws_json1_1GetMLModelOutput = function (output, context) {
2966
2966
  return {
2967
2967
  ComputeTime: __expectLong(output.ComputeTime),
2968
2968
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2969
- ? new Date(Math.round(output.CreatedAt * 1000))
2969
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
2970
2970
  : undefined,
2971
2971
  CreatedByIamUser: __expectString(output.CreatedByIamUser),
2972
2972
  EndpointInfo: output.EndpointInfo !== undefined && output.EndpointInfo !== null
2973
2973
  ? deserializeAws_json1_1RealtimeEndpointInfo(output.EndpointInfo, context)
2974
2974
  : undefined,
2975
2975
  FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
2976
- ? new Date(Math.round(output.FinishedAt * 1000))
2976
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FinishedAt)))
2977
2977
  : undefined,
2978
2978
  InputDataLocationS3: __expectString(output.InputDataLocationS3),
2979
2979
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
2980
- ? new Date(Math.round(output.LastUpdatedAt * 1000))
2980
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
2981
2981
  : undefined,
2982
2982
  LogUri: __expectString(output.LogUri),
2983
2983
  MLModelId: __expectString(output.MLModelId),
@@ -2988,11 +2988,11 @@ var deserializeAws_json1_1GetMLModelOutput = function (output, context) {
2988
2988
  Schema: __expectString(output.Schema),
2989
2989
  ScoreThreshold: __limitedParseFloat32(output.ScoreThreshold),
2990
2990
  ScoreThresholdLastUpdatedAt: output.ScoreThresholdLastUpdatedAt !== undefined && output.ScoreThresholdLastUpdatedAt !== null
2991
- ? new Date(Math.round(output.ScoreThresholdLastUpdatedAt * 1000))
2991
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ScoreThresholdLastUpdatedAt)))
2992
2992
  : undefined,
2993
2993
  SizeInBytes: __expectLong(output.SizeInBytes),
2994
2994
  StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
2995
- ? new Date(Math.round(output.StartedAt * 1000))
2995
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt)))
2996
2996
  : undefined,
2997
2997
  Status: __expectString(output.Status),
2998
2998
  TrainingDataSourceId: __expectString(output.TrainingDataSourceId),
@@ -3035,18 +3035,18 @@ var deserializeAws_json1_1MLModel = function (output, context) {
3035
3035
  Algorithm: __expectString(output.Algorithm),
3036
3036
  ComputeTime: __expectLong(output.ComputeTime),
3037
3037
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
3038
- ? new Date(Math.round(output.CreatedAt * 1000))
3038
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
3039
3039
  : undefined,
3040
3040
  CreatedByIamUser: __expectString(output.CreatedByIamUser),
3041
3041
  EndpointInfo: output.EndpointInfo !== undefined && output.EndpointInfo !== null
3042
3042
  ? deserializeAws_json1_1RealtimeEndpointInfo(output.EndpointInfo, context)
3043
3043
  : undefined,
3044
3044
  FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
3045
- ? new Date(Math.round(output.FinishedAt * 1000))
3045
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FinishedAt)))
3046
3046
  : undefined,
3047
3047
  InputDataLocationS3: __expectString(output.InputDataLocationS3),
3048
3048
  LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
3049
- ? new Date(Math.round(output.LastUpdatedAt * 1000))
3049
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
3050
3050
  : undefined,
3051
3051
  MLModelId: __expectString(output.MLModelId),
3052
3052
  MLModelType: __expectString(output.MLModelType),
@@ -3054,11 +3054,11 @@ var deserializeAws_json1_1MLModel = function (output, context) {
3054
3054
  Name: __expectString(output.Name),
3055
3055
  ScoreThreshold: __limitedParseFloat32(output.ScoreThreshold),
3056
3056
  ScoreThresholdLastUpdatedAt: output.ScoreThresholdLastUpdatedAt !== undefined && output.ScoreThresholdLastUpdatedAt !== null
3057
- ? new Date(Math.round(output.ScoreThresholdLastUpdatedAt * 1000))
3057
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ScoreThresholdLastUpdatedAt)))
3058
3058
  : undefined,
3059
3059
  SizeInBytes: __expectLong(output.SizeInBytes),
3060
3060
  StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
3061
- ? new Date(Math.round(output.StartedAt * 1000))
3061
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt)))
3062
3062
  : undefined,
3063
3063
  Status: __expectString(output.Status),
3064
3064
  TrainingDataSourceId: __expectString(output.TrainingDataSourceId),
@@ -3139,7 +3139,7 @@ var deserializeAws_json1_1RDSMetadata = function (output, context) {
3139
3139
  var deserializeAws_json1_1RealtimeEndpointInfo = function (output, context) {
3140
3140
  return {
3141
3141
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
3142
- ? new Date(Math.round(output.CreatedAt * 1000))
3142
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
3143
3143
  : undefined,
3144
3144
  EndpointStatus: __expectString(output.EndpointStatus),
3145
3145
  EndpointUrl: __expectString(output.EndpointUrl),