@aws-sdk/client-frauddetector 3.54.1 → 3.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-cjs/FraudDetectorClient.js +13 -13
  3. package/dist-cjs/commands/BatchCreateVariableCommand.js +3 -3
  4. package/dist-cjs/commands/BatchGetVariableCommand.js +3 -3
  5. package/dist-cjs/commands/CancelBatchImportJobCommand.js +3 -3
  6. package/dist-cjs/commands/CancelBatchPredictionJobCommand.js +3 -3
  7. package/dist-cjs/commands/CreateBatchImportJobCommand.js +3 -3
  8. package/dist-cjs/commands/CreateBatchPredictionJobCommand.js +3 -3
  9. package/dist-cjs/commands/CreateDetectorVersionCommand.js +3 -3
  10. package/dist-cjs/commands/CreateModelCommand.js +3 -3
  11. package/dist-cjs/commands/CreateModelVersionCommand.js +3 -3
  12. package/dist-cjs/commands/CreateRuleCommand.js +3 -3
  13. package/dist-cjs/commands/CreateVariableCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteBatchImportJobCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteBatchPredictionJobCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteDetectorCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteDetectorVersionCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteEntityTypeCommand.js +3 -3
  19. package/dist-cjs/commands/DeleteEventCommand.js +3 -3
  20. package/dist-cjs/commands/DeleteEventTypeCommand.js +3 -3
  21. package/dist-cjs/commands/DeleteEventsByEventTypeCommand.js +3 -3
  22. package/dist-cjs/commands/DeleteExternalModelCommand.js +3 -3
  23. package/dist-cjs/commands/DeleteLabelCommand.js +3 -3
  24. package/dist-cjs/commands/DeleteModelCommand.js +3 -3
  25. package/dist-cjs/commands/DeleteModelVersionCommand.js +3 -3
  26. package/dist-cjs/commands/DeleteOutcomeCommand.js +3 -3
  27. package/dist-cjs/commands/DeleteRuleCommand.js +3 -3
  28. package/dist-cjs/commands/DeleteVariableCommand.js +3 -3
  29. package/dist-cjs/commands/DescribeDetectorCommand.js +3 -3
  30. package/dist-cjs/commands/DescribeModelVersionsCommand.js +3 -3
  31. package/dist-cjs/commands/GetBatchImportJobsCommand.js +3 -3
  32. package/dist-cjs/commands/GetBatchPredictionJobsCommand.js +3 -3
  33. package/dist-cjs/commands/GetDeleteEventsByEventTypeStatusCommand.js +3 -3
  34. package/dist-cjs/commands/GetDetectorVersionCommand.js +3 -3
  35. package/dist-cjs/commands/GetDetectorsCommand.js +3 -3
  36. package/dist-cjs/commands/GetEntityTypesCommand.js +3 -3
  37. package/dist-cjs/commands/GetEventCommand.js +3 -3
  38. package/dist-cjs/commands/GetEventPredictionCommand.js +3 -3
  39. package/dist-cjs/commands/GetEventPredictionMetadataCommand.js +3 -3
  40. package/dist-cjs/commands/GetEventTypesCommand.js +3 -3
  41. package/dist-cjs/commands/GetExternalModelsCommand.js +3 -3
  42. package/dist-cjs/commands/GetKMSEncryptionKeyCommand.js +3 -3
  43. package/dist-cjs/commands/GetLabelsCommand.js +3 -3
  44. package/dist-cjs/commands/GetModelVersionCommand.js +3 -3
  45. package/dist-cjs/commands/GetModelsCommand.js +3 -3
  46. package/dist-cjs/commands/GetOutcomesCommand.js +3 -3
  47. package/dist-cjs/commands/GetRulesCommand.js +3 -3
  48. package/dist-cjs/commands/GetVariablesCommand.js +3 -3
  49. package/dist-cjs/commands/ListEventPredictionsCommand.js +3 -3
  50. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  51. package/dist-cjs/commands/PutDetectorCommand.js +3 -3
  52. package/dist-cjs/commands/PutEntityTypeCommand.js +3 -3
  53. package/dist-cjs/commands/PutEventTypeCommand.js +3 -3
  54. package/dist-cjs/commands/PutExternalModelCommand.js +3 -3
  55. package/dist-cjs/commands/PutKMSEncryptionKeyCommand.js +3 -3
  56. package/dist-cjs/commands/PutLabelCommand.js +3 -3
  57. package/dist-cjs/commands/PutOutcomeCommand.js +3 -3
  58. package/dist-cjs/commands/SendEventCommand.js +3 -3
  59. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  60. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  61. package/dist-cjs/commands/UpdateDetectorVersionCommand.js +3 -3
  62. package/dist-cjs/commands/UpdateDetectorVersionMetadataCommand.js +3 -3
  63. package/dist-cjs/commands/UpdateDetectorVersionStatusCommand.js +3 -3
  64. package/dist-cjs/commands/UpdateEventLabelCommand.js +3 -3
  65. package/dist-cjs/commands/UpdateModelCommand.js +3 -3
  66. package/dist-cjs/commands/UpdateModelVersionCommand.js +3 -3
  67. package/dist-cjs/commands/UpdateModelVersionStatusCommand.js +3 -3
  68. package/dist-cjs/commands/UpdateRuleMetadataCommand.js +3 -3
  69. package/dist-cjs/commands/UpdateRuleVersionCommand.js +3 -3
  70. package/dist-cjs/commands/UpdateVariableCommand.js +3 -3
  71. package/dist-cjs/endpoints.js +1 -1
  72. package/dist-cjs/protocols/Aws_json1_1.js +328 -328
  73. package/dist-cjs/runtimeConfig.browser.js +4 -4
  74. package/dist-cjs/runtimeConfig.js +9 -9
  75. package/dist-cjs/runtimeConfig.native.js +1 -1
  76. package/dist-es/FraudDetector.js +68 -68
  77. package/dist-es/pagination/DescribeModelVersionsPaginator.js +4 -4
  78. package/dist-es/pagination/GetBatchImportJobsPaginator.js +4 -4
  79. package/dist-es/pagination/GetBatchPredictionJobsPaginator.js +4 -4
  80. package/dist-es/pagination/GetDetectorsPaginator.js +4 -4
  81. package/dist-es/pagination/GetEntityTypesPaginator.js +4 -4
  82. package/dist-es/pagination/GetEventTypesPaginator.js +4 -4
  83. package/dist-es/pagination/GetExternalModelsPaginator.js +4 -4
  84. package/dist-es/pagination/GetLabelsPaginator.js +4 -4
  85. package/dist-es/pagination/GetModelsPaginator.js +4 -4
  86. package/dist-es/pagination/GetOutcomesPaginator.js +4 -4
  87. package/dist-es/pagination/GetRulesPaginator.js +4 -4
  88. package/dist-es/pagination/GetVariablesPaginator.js +4 -4
  89. package/dist-es/pagination/ListEventPredictionsPaginator.js +4 -4
  90. package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
  91. package/dist-types/runtimeConfig.native.d.ts +2 -2
  92. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  93. package/package.json +34 -34
@@ -728,7 +728,7 @@ const deserializeAws_json1_1BatchCreateVariableCommandError = async (output, con
728
728
  $fault: "client",
729
729
  $metadata: deserializeMetadata(output),
730
730
  });
731
- throw smithy_client_1.decorateServiceException(response, parsedBody);
731
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
732
732
  }
733
733
  };
734
734
  const deserializeAws_json1_1BatchGetVariableCommand = async (output, context) => {
@@ -773,7 +773,7 @@ const deserializeAws_json1_1BatchGetVariableCommandError = async (output, contex
773
773
  $fault: "client",
774
774
  $metadata: deserializeMetadata(output),
775
775
  });
776
- throw smithy_client_1.decorateServiceException(response, parsedBody);
776
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
777
777
  }
778
778
  };
779
779
  const deserializeAws_json1_1CancelBatchImportJobCommand = async (output, context) => {
@@ -821,7 +821,7 @@ const deserializeAws_json1_1CancelBatchImportJobCommandError = async (output, co
821
821
  $fault: "client",
822
822
  $metadata: deserializeMetadata(output),
823
823
  });
824
- throw smithy_client_1.decorateServiceException(response, parsedBody);
824
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
825
825
  }
826
826
  };
827
827
  const deserializeAws_json1_1CancelBatchPredictionJobCommand = async (output, context) => {
@@ -869,7 +869,7 @@ const deserializeAws_json1_1CancelBatchPredictionJobCommandError = async (output
869
869
  $fault: "client",
870
870
  $metadata: deserializeMetadata(output),
871
871
  });
872
- throw smithy_client_1.decorateServiceException(response, parsedBody);
872
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
873
873
  }
874
874
  };
875
875
  const deserializeAws_json1_1CreateBatchImportJobCommand = async (output, context) => {
@@ -917,7 +917,7 @@ const deserializeAws_json1_1CreateBatchImportJobCommandError = async (output, co
917
917
  $fault: "client",
918
918
  $metadata: deserializeMetadata(output),
919
919
  });
920
- throw smithy_client_1.decorateServiceException(response, parsedBody);
920
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
921
921
  }
922
922
  };
923
923
  const deserializeAws_json1_1CreateBatchPredictionJobCommand = async (output, context) => {
@@ -965,7 +965,7 @@ const deserializeAws_json1_1CreateBatchPredictionJobCommandError = async (output
965
965
  $fault: "client",
966
966
  $metadata: deserializeMetadata(output),
967
967
  });
968
- throw smithy_client_1.decorateServiceException(response, parsedBody);
968
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
969
969
  }
970
970
  };
971
971
  const deserializeAws_json1_1CreateDetectorVersionCommand = async (output, context) => {
@@ -1013,7 +1013,7 @@ const deserializeAws_json1_1CreateDetectorVersionCommandError = async (output, c
1013
1013
  $fault: "client",
1014
1014
  $metadata: deserializeMetadata(output),
1015
1015
  });
1016
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1016
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1017
1017
  }
1018
1018
  };
1019
1019
  const deserializeAws_json1_1CreateModelCommand = async (output, context) => {
@@ -1058,7 +1058,7 @@ const deserializeAws_json1_1CreateModelCommandError = async (output, context) =>
1058
1058
  $fault: "client",
1059
1059
  $metadata: deserializeMetadata(output),
1060
1060
  });
1061
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1061
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1062
1062
  }
1063
1063
  };
1064
1064
  const deserializeAws_json1_1CreateModelVersionCommand = async (output, context) => {
@@ -1106,7 +1106,7 @@ const deserializeAws_json1_1CreateModelVersionCommandError = async (output, cont
1106
1106
  $fault: "client",
1107
1107
  $metadata: deserializeMetadata(output),
1108
1108
  });
1109
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1109
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1110
1110
  }
1111
1111
  };
1112
1112
  const deserializeAws_json1_1CreateRuleCommand = async (output, context) => {
@@ -1151,7 +1151,7 @@ const deserializeAws_json1_1CreateRuleCommandError = async (output, context) =>
1151
1151
  $fault: "client",
1152
1152
  $metadata: deserializeMetadata(output),
1153
1153
  });
1154
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1154
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1155
1155
  }
1156
1156
  };
1157
1157
  const deserializeAws_json1_1CreateVariableCommand = async (output, context) => {
@@ -1196,7 +1196,7 @@ const deserializeAws_json1_1CreateVariableCommandError = async (output, context)
1196
1196
  $fault: "client",
1197
1197
  $metadata: deserializeMetadata(output),
1198
1198
  });
1199
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1199
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1200
1200
  }
1201
1201
  };
1202
1202
  const deserializeAws_json1_1DeleteBatchImportJobCommand = async (output, context) => {
@@ -1241,7 +1241,7 @@ const deserializeAws_json1_1DeleteBatchImportJobCommandError = async (output, co
1241
1241
  $fault: "client",
1242
1242
  $metadata: deserializeMetadata(output),
1243
1243
  });
1244
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1244
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1245
1245
  }
1246
1246
  };
1247
1247
  const deserializeAws_json1_1DeleteBatchPredictionJobCommand = async (output, context) => {
@@ -1286,7 +1286,7 @@ const deserializeAws_json1_1DeleteBatchPredictionJobCommandError = async (output
1286
1286
  $fault: "client",
1287
1287
  $metadata: deserializeMetadata(output),
1288
1288
  });
1289
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1289
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1290
1290
  }
1291
1291
  };
1292
1292
  const deserializeAws_json1_1DeleteDetectorCommand = async (output, context) => {
@@ -1334,7 +1334,7 @@ const deserializeAws_json1_1DeleteDetectorCommandError = async (output, context)
1334
1334
  $fault: "client",
1335
1335
  $metadata: deserializeMetadata(output),
1336
1336
  });
1337
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1337
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1338
1338
  }
1339
1339
  };
1340
1340
  const deserializeAws_json1_1DeleteDetectorVersionCommand = async (output, context) => {
@@ -1385,7 +1385,7 @@ const deserializeAws_json1_1DeleteDetectorVersionCommandError = async (output, c
1385
1385
  $fault: "client",
1386
1386
  $metadata: deserializeMetadata(output),
1387
1387
  });
1388
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1388
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1389
1389
  }
1390
1390
  };
1391
1391
  const deserializeAws_json1_1DeleteEntityTypeCommand = async (output, context) => {
@@ -1433,7 +1433,7 @@ const deserializeAws_json1_1DeleteEntityTypeCommandError = async (output, contex
1433
1433
  $fault: "client",
1434
1434
  $metadata: deserializeMetadata(output),
1435
1435
  });
1436
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1436
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1437
1437
  }
1438
1438
  };
1439
1439
  const deserializeAws_json1_1DeleteEventCommand = async (output, context) => {
@@ -1478,7 +1478,7 @@ const deserializeAws_json1_1DeleteEventCommandError = async (output, context) =>
1478
1478
  $fault: "client",
1479
1479
  $metadata: deserializeMetadata(output),
1480
1480
  });
1481
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1481
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1482
1482
  }
1483
1483
  };
1484
1484
  const deserializeAws_json1_1DeleteEventsByEventTypeCommand = async (output, context) => {
@@ -1529,7 +1529,7 @@ const deserializeAws_json1_1DeleteEventsByEventTypeCommandError = async (output,
1529
1529
  $fault: "client",
1530
1530
  $metadata: deserializeMetadata(output),
1531
1531
  });
1532
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1532
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1533
1533
  }
1534
1534
  };
1535
1535
  const deserializeAws_json1_1DeleteEventTypeCommand = async (output, context) => {
@@ -1577,7 +1577,7 @@ const deserializeAws_json1_1DeleteEventTypeCommandError = async (output, context
1577
1577
  $fault: "client",
1578
1578
  $metadata: deserializeMetadata(output),
1579
1579
  });
1580
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1580
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1581
1581
  }
1582
1582
  };
1583
1583
  const deserializeAws_json1_1DeleteExternalModelCommand = async (output, context) => {
@@ -1625,7 +1625,7 @@ const deserializeAws_json1_1DeleteExternalModelCommandError = async (output, con
1625
1625
  $fault: "client",
1626
1626
  $metadata: deserializeMetadata(output),
1627
1627
  });
1628
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1628
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1629
1629
  }
1630
1630
  };
1631
1631
  const deserializeAws_json1_1DeleteLabelCommand = async (output, context) => {
@@ -1670,7 +1670,7 @@ const deserializeAws_json1_1DeleteLabelCommandError = async (output, context) =>
1670
1670
  $fault: "client",
1671
1671
  $metadata: deserializeMetadata(output),
1672
1672
  });
1673
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1673
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1674
1674
  }
1675
1675
  };
1676
1676
  const deserializeAws_json1_1DeleteModelCommand = async (output, context) => {
@@ -1718,7 +1718,7 @@ const deserializeAws_json1_1DeleteModelCommandError = async (output, context) =>
1718
1718
  $fault: "client",
1719
1719
  $metadata: deserializeMetadata(output),
1720
1720
  });
1721
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1721
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1722
1722
  }
1723
1723
  };
1724
1724
  const deserializeAws_json1_1DeleteModelVersionCommand = async (output, context) => {
@@ -1766,7 +1766,7 @@ const deserializeAws_json1_1DeleteModelVersionCommandError = async (output, cont
1766
1766
  $fault: "client",
1767
1767
  $metadata: deserializeMetadata(output),
1768
1768
  });
1769
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1769
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1770
1770
  }
1771
1771
  };
1772
1772
  const deserializeAws_json1_1DeleteOutcomeCommand = async (output, context) => {
@@ -1814,7 +1814,7 @@ const deserializeAws_json1_1DeleteOutcomeCommandError = async (output, context)
1814
1814
  $fault: "client",
1815
1815
  $metadata: deserializeMetadata(output),
1816
1816
  });
1817
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1817
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1818
1818
  }
1819
1819
  };
1820
1820
  const deserializeAws_json1_1DeleteRuleCommand = async (output, context) => {
@@ -1862,7 +1862,7 @@ const deserializeAws_json1_1DeleteRuleCommandError = async (output, context) =>
1862
1862
  $fault: "client",
1863
1863
  $metadata: deserializeMetadata(output),
1864
1864
  });
1865
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1865
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1866
1866
  }
1867
1867
  };
1868
1868
  const deserializeAws_json1_1DeleteVariableCommand = async (output, context) => {
@@ -1910,7 +1910,7 @@ const deserializeAws_json1_1DeleteVariableCommandError = async (output, context)
1910
1910
  $fault: "client",
1911
1911
  $metadata: deserializeMetadata(output),
1912
1912
  });
1913
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1913
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1914
1914
  }
1915
1915
  };
1916
1916
  const deserializeAws_json1_1DescribeDetectorCommand = async (output, context) => {
@@ -1958,7 +1958,7 @@ const deserializeAws_json1_1DescribeDetectorCommandError = async (output, contex
1958
1958
  $fault: "client",
1959
1959
  $metadata: deserializeMetadata(output),
1960
1960
  });
1961
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1961
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1962
1962
  }
1963
1963
  };
1964
1964
  const deserializeAws_json1_1DescribeModelVersionsCommand = async (output, context) => {
@@ -2006,7 +2006,7 @@ const deserializeAws_json1_1DescribeModelVersionsCommandError = async (output, c
2006
2006
  $fault: "client",
2007
2007
  $metadata: deserializeMetadata(output),
2008
2008
  });
2009
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2009
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2010
2010
  }
2011
2011
  };
2012
2012
  const deserializeAws_json1_1GetBatchImportJobsCommand = async (output, context) => {
@@ -2054,7 +2054,7 @@ const deserializeAws_json1_1GetBatchImportJobsCommandError = async (output, cont
2054
2054
  $fault: "client",
2055
2055
  $metadata: deserializeMetadata(output),
2056
2056
  });
2057
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2057
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2058
2058
  }
2059
2059
  };
2060
2060
  const deserializeAws_json1_1GetBatchPredictionJobsCommand = async (output, context) => {
@@ -2102,7 +2102,7 @@ const deserializeAws_json1_1GetBatchPredictionJobsCommandError = async (output,
2102
2102
  $fault: "client",
2103
2103
  $metadata: deserializeMetadata(output),
2104
2104
  });
2105
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2105
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2106
2106
  }
2107
2107
  };
2108
2108
  const deserializeAws_json1_1GetDeleteEventsByEventTypeStatusCommand = async (output, context) => {
@@ -2150,7 +2150,7 @@ const deserializeAws_json1_1GetDeleteEventsByEventTypeStatusCommandError = async
2150
2150
  $fault: "client",
2151
2151
  $metadata: deserializeMetadata(output),
2152
2152
  });
2153
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2153
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2154
2154
  }
2155
2155
  };
2156
2156
  const deserializeAws_json1_1GetDetectorsCommand = async (output, context) => {
@@ -2198,7 +2198,7 @@ const deserializeAws_json1_1GetDetectorsCommandError = async (output, context) =
2198
2198
  $fault: "client",
2199
2199
  $metadata: deserializeMetadata(output),
2200
2200
  });
2201
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2201
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2202
2202
  }
2203
2203
  };
2204
2204
  const deserializeAws_json1_1GetDetectorVersionCommand = async (output, context) => {
@@ -2246,7 +2246,7 @@ const deserializeAws_json1_1GetDetectorVersionCommandError = async (output, cont
2246
2246
  $fault: "client",
2247
2247
  $metadata: deserializeMetadata(output),
2248
2248
  });
2249
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2249
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2250
2250
  }
2251
2251
  };
2252
2252
  const deserializeAws_json1_1GetEntityTypesCommand = async (output, context) => {
@@ -2294,7 +2294,7 @@ const deserializeAws_json1_1GetEntityTypesCommandError = async (output, context)
2294
2294
  $fault: "client",
2295
2295
  $metadata: deserializeMetadata(output),
2296
2296
  });
2297
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2297
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2298
2298
  }
2299
2299
  };
2300
2300
  const deserializeAws_json1_1GetEventCommand = async (output, context) => {
@@ -2342,7 +2342,7 @@ const deserializeAws_json1_1GetEventCommandError = async (output, context) => {
2342
2342
  $fault: "client",
2343
2343
  $metadata: deserializeMetadata(output),
2344
2344
  });
2345
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2345
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2346
2346
  }
2347
2347
  };
2348
2348
  const deserializeAws_json1_1GetEventPredictionCommand = async (output, context) => {
@@ -2396,7 +2396,7 @@ const deserializeAws_json1_1GetEventPredictionCommandError = async (output, cont
2396
2396
  $fault: "client",
2397
2397
  $metadata: deserializeMetadata(output),
2398
2398
  });
2399
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2399
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2400
2400
  }
2401
2401
  };
2402
2402
  const deserializeAws_json1_1GetEventPredictionMetadataCommand = async (output, context) => {
@@ -2444,7 +2444,7 @@ const deserializeAws_json1_1GetEventPredictionMetadataCommandError = async (outp
2444
2444
  $fault: "client",
2445
2445
  $metadata: deserializeMetadata(output),
2446
2446
  });
2447
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2447
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2448
2448
  }
2449
2449
  };
2450
2450
  const deserializeAws_json1_1GetEventTypesCommand = async (output, context) => {
@@ -2492,7 +2492,7 @@ const deserializeAws_json1_1GetEventTypesCommandError = async (output, context)
2492
2492
  $fault: "client",
2493
2493
  $metadata: deserializeMetadata(output),
2494
2494
  });
2495
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2495
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2496
2496
  }
2497
2497
  };
2498
2498
  const deserializeAws_json1_1GetExternalModelsCommand = async (output, context) => {
@@ -2540,7 +2540,7 @@ const deserializeAws_json1_1GetExternalModelsCommandError = async (output, conte
2540
2540
  $fault: "client",
2541
2541
  $metadata: deserializeMetadata(output),
2542
2542
  });
2543
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2543
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2544
2544
  }
2545
2545
  };
2546
2546
  const deserializeAws_json1_1GetKMSEncryptionKeyCommand = async (output, context) => {
@@ -2585,7 +2585,7 @@ const deserializeAws_json1_1GetKMSEncryptionKeyCommandError = async (output, con
2585
2585
  $fault: "client",
2586
2586
  $metadata: deserializeMetadata(output),
2587
2587
  });
2588
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2588
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2589
2589
  }
2590
2590
  };
2591
2591
  const deserializeAws_json1_1GetLabelsCommand = async (output, context) => {
@@ -2633,7 +2633,7 @@ const deserializeAws_json1_1GetLabelsCommandError = async (output, context) => {
2633
2633
  $fault: "client",
2634
2634
  $metadata: deserializeMetadata(output),
2635
2635
  });
2636
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2636
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2637
2637
  }
2638
2638
  };
2639
2639
  const deserializeAws_json1_1GetModelsCommand = async (output, context) => {
@@ -2681,7 +2681,7 @@ const deserializeAws_json1_1GetModelsCommandError = async (output, context) => {
2681
2681
  $fault: "client",
2682
2682
  $metadata: deserializeMetadata(output),
2683
2683
  });
2684
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2684
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2685
2685
  }
2686
2686
  };
2687
2687
  const deserializeAws_json1_1GetModelVersionCommand = async (output, context) => {
@@ -2729,7 +2729,7 @@ const deserializeAws_json1_1GetModelVersionCommandError = async (output, context
2729
2729
  $fault: "client",
2730
2730
  $metadata: deserializeMetadata(output),
2731
2731
  });
2732
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2732
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2733
2733
  }
2734
2734
  };
2735
2735
  const deserializeAws_json1_1GetOutcomesCommand = async (output, context) => {
@@ -2777,7 +2777,7 @@ const deserializeAws_json1_1GetOutcomesCommandError = async (output, context) =>
2777
2777
  $fault: "client",
2778
2778
  $metadata: deserializeMetadata(output),
2779
2779
  });
2780
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2780
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2781
2781
  }
2782
2782
  };
2783
2783
  const deserializeAws_json1_1GetRulesCommand = async (output, context) => {
@@ -2825,7 +2825,7 @@ const deserializeAws_json1_1GetRulesCommandError = async (output, context) => {
2825
2825
  $fault: "client",
2826
2826
  $metadata: deserializeMetadata(output),
2827
2827
  });
2828
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2828
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2829
2829
  }
2830
2830
  };
2831
2831
  const deserializeAws_json1_1GetVariablesCommand = async (output, context) => {
@@ -2873,7 +2873,7 @@ const deserializeAws_json1_1GetVariablesCommandError = async (output, context) =
2873
2873
  $fault: "client",
2874
2874
  $metadata: deserializeMetadata(output),
2875
2875
  });
2876
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2876
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2877
2877
  }
2878
2878
  };
2879
2879
  const deserializeAws_json1_1ListEventPredictionsCommand = async (output, context) => {
@@ -2918,7 +2918,7 @@ const deserializeAws_json1_1ListEventPredictionsCommandError = async (output, co
2918
2918
  $fault: "client",
2919
2919
  $metadata: deserializeMetadata(output),
2920
2920
  });
2921
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2921
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2922
2922
  }
2923
2923
  };
2924
2924
  const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
@@ -2963,7 +2963,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
2963
2963
  $fault: "client",
2964
2964
  $metadata: deserializeMetadata(output),
2965
2965
  });
2966
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2966
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2967
2967
  }
2968
2968
  };
2969
2969
  const deserializeAws_json1_1PutDetectorCommand = async (output, context) => {
@@ -3011,7 +3011,7 @@ const deserializeAws_json1_1PutDetectorCommandError = async (output, context) =>
3011
3011
  $fault: "client",
3012
3012
  $metadata: deserializeMetadata(output),
3013
3013
  });
3014
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3014
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3015
3015
  }
3016
3016
  };
3017
3017
  const deserializeAws_json1_1PutEntityTypeCommand = async (output, context) => {
@@ -3059,7 +3059,7 @@ const deserializeAws_json1_1PutEntityTypeCommandError = async (output, context)
3059
3059
  $fault: "client",
3060
3060
  $metadata: deserializeMetadata(output),
3061
3061
  });
3062
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3062
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3063
3063
  }
3064
3064
  };
3065
3065
  const deserializeAws_json1_1PutEventTypeCommand = async (output, context) => {
@@ -3107,7 +3107,7 @@ const deserializeAws_json1_1PutEventTypeCommandError = async (output, context) =
3107
3107
  $fault: "client",
3108
3108
  $metadata: deserializeMetadata(output),
3109
3109
  });
3110
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3110
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3111
3111
  }
3112
3112
  };
3113
3113
  const deserializeAws_json1_1PutExternalModelCommand = async (output, context) => {
@@ -3155,7 +3155,7 @@ const deserializeAws_json1_1PutExternalModelCommandError = async (output, contex
3155
3155
  $fault: "client",
3156
3156
  $metadata: deserializeMetadata(output),
3157
3157
  });
3158
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3158
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3159
3159
  }
3160
3160
  };
3161
3161
  const deserializeAws_json1_1PutKMSEncryptionKeyCommand = async (output, context) => {
@@ -3206,7 +3206,7 @@ const deserializeAws_json1_1PutKMSEncryptionKeyCommandError = async (output, con
3206
3206
  $fault: "client",
3207
3207
  $metadata: deserializeMetadata(output),
3208
3208
  });
3209
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3209
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3210
3210
  }
3211
3211
  };
3212
3212
  const deserializeAws_json1_1PutLabelCommand = async (output, context) => {
@@ -3254,7 +3254,7 @@ const deserializeAws_json1_1PutLabelCommandError = async (output, context) => {
3254
3254
  $fault: "client",
3255
3255
  $metadata: deserializeMetadata(output),
3256
3256
  });
3257
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3257
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3258
3258
  }
3259
3259
  };
3260
3260
  const deserializeAws_json1_1PutOutcomeCommand = async (output, context) => {
@@ -3302,7 +3302,7 @@ const deserializeAws_json1_1PutOutcomeCommandError = async (output, context) =>
3302
3302
  $fault: "client",
3303
3303
  $metadata: deserializeMetadata(output),
3304
3304
  });
3305
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3305
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3306
3306
  }
3307
3307
  };
3308
3308
  const deserializeAws_json1_1SendEventCommand = async (output, context) => {
@@ -3353,7 +3353,7 @@ const deserializeAws_json1_1SendEventCommandError = async (output, context) => {
3353
3353
  $fault: "client",
3354
3354
  $metadata: deserializeMetadata(output),
3355
3355
  });
3356
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3356
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3357
3357
  }
3358
3358
  };
3359
3359
  const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
@@ -3398,7 +3398,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
3398
3398
  $fault: "client",
3399
3399
  $metadata: deserializeMetadata(output),
3400
3400
  });
3401
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3401
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3402
3402
  }
3403
3403
  };
3404
3404
  const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
@@ -3443,7 +3443,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
3443
3443
  $fault: "client",
3444
3444
  $metadata: deserializeMetadata(output),
3445
3445
  });
3446
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3446
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3447
3447
  }
3448
3448
  };
3449
3449
  const deserializeAws_json1_1UpdateDetectorVersionCommand = async (output, context) => {
@@ -3494,7 +3494,7 @@ const deserializeAws_json1_1UpdateDetectorVersionCommandError = async (output, c
3494
3494
  $fault: "client",
3495
3495
  $metadata: deserializeMetadata(output),
3496
3496
  });
3497
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3497
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3498
3498
  }
3499
3499
  };
3500
3500
  const deserializeAws_json1_1UpdateDetectorVersionMetadataCommand = async (output, context) => {
@@ -3542,7 +3542,7 @@ const deserializeAws_json1_1UpdateDetectorVersionMetadataCommandError = async (o
3542
3542
  $fault: "client",
3543
3543
  $metadata: deserializeMetadata(output),
3544
3544
  });
3545
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3545
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3546
3546
  }
3547
3547
  };
3548
3548
  const deserializeAws_json1_1UpdateDetectorVersionStatusCommand = async (output, context) => {
@@ -3593,7 +3593,7 @@ const deserializeAws_json1_1UpdateDetectorVersionStatusCommandError = async (out
3593
3593
  $fault: "client",
3594
3594
  $metadata: deserializeMetadata(output),
3595
3595
  });
3596
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3596
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3597
3597
  }
3598
3598
  };
3599
3599
  const deserializeAws_json1_1UpdateEventLabelCommand = async (output, context) => {
@@ -3644,7 +3644,7 @@ const deserializeAws_json1_1UpdateEventLabelCommandError = async (output, contex
3644
3644
  $fault: "client",
3645
3645
  $metadata: deserializeMetadata(output),
3646
3646
  });
3647
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3647
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3648
3648
  }
3649
3649
  };
3650
3650
  const deserializeAws_json1_1UpdateModelCommand = async (output, context) => {
@@ -3695,7 +3695,7 @@ const deserializeAws_json1_1UpdateModelCommandError = async (output, context) =>
3695
3695
  $fault: "client",
3696
3696
  $metadata: deserializeMetadata(output),
3697
3697
  });
3698
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3698
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3699
3699
  }
3700
3700
  };
3701
3701
  const deserializeAws_json1_1UpdateModelVersionCommand = async (output, context) => {
@@ -3746,7 +3746,7 @@ const deserializeAws_json1_1UpdateModelVersionCommandError = async (output, cont
3746
3746
  $fault: "client",
3747
3747
  $metadata: deserializeMetadata(output),
3748
3748
  });
3749
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3749
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3750
3750
  }
3751
3751
  };
3752
3752
  const deserializeAws_json1_1UpdateModelVersionStatusCommand = async (output, context) => {
@@ -3797,7 +3797,7 @@ const deserializeAws_json1_1UpdateModelVersionStatusCommandError = async (output
3797
3797
  $fault: "client",
3798
3798
  $metadata: deserializeMetadata(output),
3799
3799
  });
3800
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3800
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3801
3801
  }
3802
3802
  };
3803
3803
  const deserializeAws_json1_1UpdateRuleMetadataCommand = async (output, context) => {
@@ -3848,7 +3848,7 @@ const deserializeAws_json1_1UpdateRuleMetadataCommandError = async (output, cont
3848
3848
  $fault: "client",
3849
3849
  $metadata: deserializeMetadata(output),
3850
3850
  });
3851
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3851
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3852
3852
  }
3853
3853
  };
3854
3854
  const deserializeAws_json1_1UpdateRuleVersionCommand = async (output, context) => {
@@ -3899,7 +3899,7 @@ const deserializeAws_json1_1UpdateRuleVersionCommandError = async (output, conte
3899
3899
  $fault: "client",
3900
3900
  $metadata: deserializeMetadata(output),
3901
3901
  });
3902
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3902
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3903
3903
  }
3904
3904
  };
3905
3905
  const deserializeAws_json1_1UpdateVariableCommand = async (output, context) => {
@@ -3950,7 +3950,7 @@ const deserializeAws_json1_1UpdateVariableCommandError = async (output, context)
3950
3950
  $fault: "client",
3951
3951
  $metadata: deserializeMetadata(output),
3952
3952
  });
3953
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3953
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3954
3954
  }
3955
3955
  };
3956
3956
  const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
@@ -3960,7 +3960,7 @@ const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput,
3960
3960
  $metadata: deserializeMetadata(parsedOutput),
3961
3961
  ...deserialized,
3962
3962
  });
3963
- return smithy_client_1.decorateServiceException(exception, body);
3963
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3964
3964
  };
3965
3965
  const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, context) => {
3966
3966
  const body = parsedOutput.body;
@@ -3969,7 +3969,7 @@ const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, con
3969
3969
  $metadata: deserializeMetadata(parsedOutput),
3970
3970
  ...deserialized,
3971
3971
  });
3972
- return smithy_client_1.decorateServiceException(exception, body);
3972
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3973
3973
  };
3974
3974
  const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutput, context) => {
3975
3975
  const body = parsedOutput.body;
@@ -3978,7 +3978,7 @@ const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutpu
3978
3978
  $metadata: deserializeMetadata(parsedOutput),
3979
3979
  ...deserialized,
3980
3980
  });
3981
- return smithy_client_1.decorateServiceException(exception, body);
3981
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3982
3982
  };
3983
3983
  const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
3984
3984
  const body = parsedOutput.body;
@@ -3987,7 +3987,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
3987
3987
  $metadata: deserializeMetadata(parsedOutput),
3988
3988
  ...deserialized,
3989
3989
  });
3990
- return smithy_client_1.decorateServiceException(exception, body);
3990
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3991
3991
  };
3992
3992
  const deserializeAws_json1_1ResourceUnavailableExceptionResponse = async (parsedOutput, context) => {
3993
3993
  const body = parsedOutput.body;
@@ -3996,7 +3996,7 @@ const deserializeAws_json1_1ResourceUnavailableExceptionResponse = async (parsed
3996
3996
  $metadata: deserializeMetadata(parsedOutput),
3997
3997
  ...deserialized,
3998
3998
  });
3999
- return smithy_client_1.decorateServiceException(exception, body);
3999
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4000
4000
  };
4001
4001
  const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, context) => {
4002
4002
  const body = parsedOutput.body;
@@ -4005,7 +4005,7 @@ const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, c
4005
4005
  $metadata: deserializeMetadata(parsedOutput),
4006
4006
  ...deserialized,
4007
4007
  });
4008
- return smithy_client_1.decorateServiceException(exception, body);
4008
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4009
4009
  };
4010
4010
  const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, context) => {
4011
4011
  const body = parsedOutput.body;
@@ -4014,7 +4014,7 @@ const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, c
4014
4014
  $metadata: deserializeMetadata(parsedOutput),
4015
4015
  ...deserialized,
4016
4016
  });
4017
- return smithy_client_1.decorateServiceException(exception, body);
4017
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4018
4018
  };
4019
4019
  const serializeAws_json1_1BatchCreateVariableRequest = (input, context) => {
4020
4020
  return {
@@ -4875,14 +4875,14 @@ const serializeAws_json1_1VariableEntryList = (input, context) => {
4875
4875
  };
4876
4876
  const deserializeAws_json1_1AccessDeniedException = (output, context) => {
4877
4877
  return {
4878
- message: smithy_client_1.expectString(output.message),
4878
+ message: (0, smithy_client_1.expectString)(output.message),
4879
4879
  };
4880
4880
  };
4881
4881
  const deserializeAws_json1_1BatchCreateVariableError = (output, context) => {
4882
4882
  return {
4883
- code: smithy_client_1.expectInt32(output.code),
4884
- message: smithy_client_1.expectString(output.message),
4885
- name: smithy_client_1.expectString(output.name),
4883
+ code: (0, smithy_client_1.expectInt32)(output.code),
4884
+ message: (0, smithy_client_1.expectString)(output.message),
4885
+ name: (0, smithy_client_1.expectString)(output.name),
4886
4886
  };
4887
4887
  };
4888
4888
  const deserializeAws_json1_1BatchCreateVariableErrorList = (output, context) => {
@@ -4905,9 +4905,9 @@ const deserializeAws_json1_1BatchCreateVariableResult = (output, context) => {
4905
4905
  };
4906
4906
  const deserializeAws_json1_1BatchGetVariableError = (output, context) => {
4907
4907
  return {
4908
- code: smithy_client_1.expectInt32(output.code),
4909
- message: smithy_client_1.expectString(output.message),
4910
- name: smithy_client_1.expectString(output.name),
4908
+ code: (0, smithy_client_1.expectInt32)(output.code),
4909
+ message: (0, smithy_client_1.expectString)(output.message),
4910
+ name: (0, smithy_client_1.expectString)(output.name),
4911
4911
  };
4912
4912
  };
4913
4913
  const deserializeAws_json1_1BatchGetVariableErrorList = (output, context) => {
@@ -4933,19 +4933,19 @@ const deserializeAws_json1_1BatchGetVariableResult = (output, context) => {
4933
4933
  };
4934
4934
  const deserializeAws_json1_1BatchImport = (output, context) => {
4935
4935
  return {
4936
- arn: smithy_client_1.expectString(output.arn),
4937
- completionTime: smithy_client_1.expectString(output.completionTime),
4938
- eventTypeName: smithy_client_1.expectString(output.eventTypeName),
4939
- failedRecordsCount: smithy_client_1.expectInt32(output.failedRecordsCount),
4940
- failureReason: smithy_client_1.expectString(output.failureReason),
4941
- iamRoleArn: smithy_client_1.expectString(output.iamRoleArn),
4942
- inputPath: smithy_client_1.expectString(output.inputPath),
4943
- jobId: smithy_client_1.expectString(output.jobId),
4944
- outputPath: smithy_client_1.expectString(output.outputPath),
4945
- processedRecordsCount: smithy_client_1.expectInt32(output.processedRecordsCount),
4946
- startTime: smithy_client_1.expectString(output.startTime),
4947
- status: smithy_client_1.expectString(output.status),
4948
- totalRecordsCount: smithy_client_1.expectInt32(output.totalRecordsCount),
4936
+ arn: (0, smithy_client_1.expectString)(output.arn),
4937
+ completionTime: (0, smithy_client_1.expectString)(output.completionTime),
4938
+ eventTypeName: (0, smithy_client_1.expectString)(output.eventTypeName),
4939
+ failedRecordsCount: (0, smithy_client_1.expectInt32)(output.failedRecordsCount),
4940
+ failureReason: (0, smithy_client_1.expectString)(output.failureReason),
4941
+ iamRoleArn: (0, smithy_client_1.expectString)(output.iamRoleArn),
4942
+ inputPath: (0, smithy_client_1.expectString)(output.inputPath),
4943
+ jobId: (0, smithy_client_1.expectString)(output.jobId),
4944
+ outputPath: (0, smithy_client_1.expectString)(output.outputPath),
4945
+ processedRecordsCount: (0, smithy_client_1.expectInt32)(output.processedRecordsCount),
4946
+ startTime: (0, smithy_client_1.expectString)(output.startTime),
4947
+ status: (0, smithy_client_1.expectString)(output.status),
4948
+ totalRecordsCount: (0, smithy_client_1.expectInt32)(output.totalRecordsCount),
4949
4949
  };
4950
4950
  };
4951
4951
  const deserializeAws_json1_1BatchImportList = (output, context) => {
@@ -4961,21 +4961,21 @@ const deserializeAws_json1_1BatchImportList = (output, context) => {
4961
4961
  };
4962
4962
  const deserializeAws_json1_1BatchPrediction = (output, context) => {
4963
4963
  return {
4964
- arn: smithy_client_1.expectString(output.arn),
4965
- completionTime: smithy_client_1.expectString(output.completionTime),
4966
- detectorName: smithy_client_1.expectString(output.detectorName),
4967
- detectorVersion: smithy_client_1.expectString(output.detectorVersion),
4968
- eventTypeName: smithy_client_1.expectString(output.eventTypeName),
4969
- failureReason: smithy_client_1.expectString(output.failureReason),
4970
- iamRoleArn: smithy_client_1.expectString(output.iamRoleArn),
4971
- inputPath: smithy_client_1.expectString(output.inputPath),
4972
- jobId: smithy_client_1.expectString(output.jobId),
4973
- lastHeartbeatTime: smithy_client_1.expectString(output.lastHeartbeatTime),
4974
- outputPath: smithy_client_1.expectString(output.outputPath),
4975
- processedRecordsCount: smithy_client_1.expectInt32(output.processedRecordsCount),
4976
- startTime: smithy_client_1.expectString(output.startTime),
4977
- status: smithy_client_1.expectString(output.status),
4978
- totalRecordsCount: smithy_client_1.expectInt32(output.totalRecordsCount),
4964
+ arn: (0, smithy_client_1.expectString)(output.arn),
4965
+ completionTime: (0, smithy_client_1.expectString)(output.completionTime),
4966
+ detectorName: (0, smithy_client_1.expectString)(output.detectorName),
4967
+ detectorVersion: (0, smithy_client_1.expectString)(output.detectorVersion),
4968
+ eventTypeName: (0, smithy_client_1.expectString)(output.eventTypeName),
4969
+ failureReason: (0, smithy_client_1.expectString)(output.failureReason),
4970
+ iamRoleArn: (0, smithy_client_1.expectString)(output.iamRoleArn),
4971
+ inputPath: (0, smithy_client_1.expectString)(output.inputPath),
4972
+ jobId: (0, smithy_client_1.expectString)(output.jobId),
4973
+ lastHeartbeatTime: (0, smithy_client_1.expectString)(output.lastHeartbeatTime),
4974
+ outputPath: (0, smithy_client_1.expectString)(output.outputPath),
4975
+ processedRecordsCount: (0, smithy_client_1.expectInt32)(output.processedRecordsCount),
4976
+ startTime: (0, smithy_client_1.expectString)(output.startTime),
4977
+ status: (0, smithy_client_1.expectString)(output.status),
4978
+ totalRecordsCount: (0, smithy_client_1.expectInt32)(output.totalRecordsCount),
4979
4979
  };
4980
4980
  };
4981
4981
  const deserializeAws_json1_1BatchPredictionList = (output, context) => {
@@ -4997,7 +4997,7 @@ const deserializeAws_json1_1CancelBatchPredictionJobResult = (output, context) =
4997
4997
  };
4998
4998
  const deserializeAws_json1_1ConflictException = (output, context) => {
4999
4999
  return {
5000
- message: smithy_client_1.expectString(output.message),
5000
+ message: (0, smithy_client_1.expectString)(output.message),
5001
5001
  };
5002
5002
  };
5003
5003
  const deserializeAws_json1_1CreateBatchImportJobResult = (output, context) => {
@@ -5008,9 +5008,9 @@ const deserializeAws_json1_1CreateBatchPredictionJobResult = (output, context) =
5008
5008
  };
5009
5009
  const deserializeAws_json1_1CreateDetectorVersionResult = (output, context) => {
5010
5010
  return {
5011
- detectorId: smithy_client_1.expectString(output.detectorId),
5012
- detectorVersionId: smithy_client_1.expectString(output.detectorVersionId),
5013
- status: smithy_client_1.expectString(output.status),
5011
+ detectorId: (0, smithy_client_1.expectString)(output.detectorId),
5012
+ detectorVersionId: (0, smithy_client_1.expectString)(output.detectorVersionId),
5013
+ status: (0, smithy_client_1.expectString)(output.status),
5014
5014
  };
5015
5015
  };
5016
5016
  const deserializeAws_json1_1CreateModelResult = (output, context) => {
@@ -5018,10 +5018,10 @@ const deserializeAws_json1_1CreateModelResult = (output, context) => {
5018
5018
  };
5019
5019
  const deserializeAws_json1_1CreateModelVersionResult = (output, context) => {
5020
5020
  return {
5021
- modelId: smithy_client_1.expectString(output.modelId),
5022
- modelType: smithy_client_1.expectString(output.modelType),
5023
- modelVersionNumber: smithy_client_1.expectString(output.modelVersionNumber),
5024
- status: smithy_client_1.expectString(output.status),
5021
+ modelId: (0, smithy_client_1.expectString)(output.modelId),
5022
+ modelType: (0, smithy_client_1.expectString)(output.modelType),
5023
+ modelVersionNumber: (0, smithy_client_1.expectString)(output.modelVersionNumber),
5024
+ status: (0, smithy_client_1.expectString)(output.status),
5025
5025
  };
5026
5026
  };
5027
5027
  const deserializeAws_json1_1CreateRuleResult = (output, context) => {
@@ -5039,7 +5039,7 @@ const deserializeAws_json1_1CsvIndexToVariableMap = (output, context) => {
5039
5039
  }
5040
5040
  return {
5041
5041
  ...acc,
5042
- [key]: smithy_client_1.expectString(value),
5042
+ [key]: (0, smithy_client_1.expectString)(value),
5043
5043
  };
5044
5044
  }, {});
5045
5045
  };
@@ -5073,8 +5073,8 @@ const deserializeAws_json1_1DeleteEventResult = (output, context) => {
5073
5073
  };
5074
5074
  const deserializeAws_json1_1DeleteEventsByEventTypeResult = (output, context) => {
5075
5075
  return {
5076
- eventTypeName: smithy_client_1.expectString(output.eventTypeName),
5077
- eventsDeletionStatus: smithy_client_1.expectString(output.eventsDeletionStatus),
5076
+ eventTypeName: (0, smithy_client_1.expectString)(output.eventTypeName),
5077
+ eventsDeletionStatus: (0, smithy_client_1.expectString)(output.eventsDeletionStatus),
5078
5078
  };
5079
5079
  };
5080
5080
  const deserializeAws_json1_1DeleteEventTypeResult = (output, context) => {
@@ -5103,12 +5103,12 @@ const deserializeAws_json1_1DeleteVariableResult = (output, context) => {
5103
5103
  };
5104
5104
  const deserializeAws_json1_1DescribeDetectorResult = (output, context) => {
5105
5105
  return {
5106
- arn: smithy_client_1.expectString(output.arn),
5107
- detectorId: smithy_client_1.expectString(output.detectorId),
5106
+ arn: (0, smithy_client_1.expectString)(output.arn),
5107
+ detectorId: (0, smithy_client_1.expectString)(output.detectorId),
5108
5108
  detectorVersionSummaries: output.detectorVersionSummaries !== undefined && output.detectorVersionSummaries !== null
5109
5109
  ? deserializeAws_json1_1DetectorVersionSummaryList(output.detectorVersionSummaries, context)
5110
5110
  : undefined,
5111
- nextToken: smithy_client_1.expectString(output.nextToken),
5111
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5112
5112
  };
5113
5113
  };
5114
5114
  const deserializeAws_json1_1DescribeModelVersionsResult = (output, context) => {
@@ -5116,17 +5116,17 @@ const deserializeAws_json1_1DescribeModelVersionsResult = (output, context) => {
5116
5116
  modelVersionDetails: output.modelVersionDetails !== undefined && output.modelVersionDetails !== null
5117
5117
  ? deserializeAws_json1_1modelVersionDetailList(output.modelVersionDetails, context)
5118
5118
  : undefined,
5119
- nextToken: smithy_client_1.expectString(output.nextToken),
5119
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5120
5120
  };
5121
5121
  };
5122
5122
  const deserializeAws_json1_1Detector = (output, context) => {
5123
5123
  return {
5124
- arn: smithy_client_1.expectString(output.arn),
5125
- createdTime: smithy_client_1.expectString(output.createdTime),
5126
- description: smithy_client_1.expectString(output.description),
5127
- detectorId: smithy_client_1.expectString(output.detectorId),
5128
- eventTypeName: smithy_client_1.expectString(output.eventTypeName),
5129
- lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
5124
+ arn: (0, smithy_client_1.expectString)(output.arn),
5125
+ createdTime: (0, smithy_client_1.expectString)(output.createdTime),
5126
+ description: (0, smithy_client_1.expectString)(output.description),
5127
+ detectorId: (0, smithy_client_1.expectString)(output.detectorId),
5128
+ eventTypeName: (0, smithy_client_1.expectString)(output.eventTypeName),
5129
+ lastUpdatedTime: (0, smithy_client_1.expectString)(output.lastUpdatedTime),
5130
5130
  };
5131
5131
  };
5132
5132
  const deserializeAws_json1_1DetectorList = (output, context) => {
@@ -5142,10 +5142,10 @@ const deserializeAws_json1_1DetectorList = (output, context) => {
5142
5142
  };
5143
5143
  const deserializeAws_json1_1DetectorVersionSummary = (output, context) => {
5144
5144
  return {
5145
- description: smithy_client_1.expectString(output.description),
5146
- detectorVersionId: smithy_client_1.expectString(output.detectorVersionId),
5147
- lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
5148
- status: smithy_client_1.expectString(output.status),
5145
+ description: (0, smithy_client_1.expectString)(output.description),
5146
+ detectorVersionId: (0, smithy_client_1.expectString)(output.detectorVersionId),
5147
+ lastUpdatedTime: (0, smithy_client_1.expectString)(output.lastUpdatedTime),
5148
+ status: (0, smithy_client_1.expectString)(output.status),
5149
5149
  };
5150
5150
  };
5151
5151
  const deserializeAws_json1_1DetectorVersionSummaryList = (output, context) => {
@@ -5161,17 +5161,17 @@ const deserializeAws_json1_1DetectorVersionSummaryList = (output, context) => {
5161
5161
  };
5162
5162
  const deserializeAws_json1_1Entity = (output, context) => {
5163
5163
  return {
5164
- entityId: smithy_client_1.expectString(output.entityId),
5165
- entityType: smithy_client_1.expectString(output.entityType),
5164
+ entityId: (0, smithy_client_1.expectString)(output.entityId),
5165
+ entityType: (0, smithy_client_1.expectString)(output.entityType),
5166
5166
  };
5167
5167
  };
5168
5168
  const deserializeAws_json1_1EntityType = (output, context) => {
5169
5169
  return {
5170
- arn: smithy_client_1.expectString(output.arn),
5171
- createdTime: smithy_client_1.expectString(output.createdTime),
5172
- description: smithy_client_1.expectString(output.description),
5173
- lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
5174
- name: smithy_client_1.expectString(output.name),
5170
+ arn: (0, smithy_client_1.expectString)(output.arn),
5171
+ createdTime: (0, smithy_client_1.expectString)(output.createdTime),
5172
+ description: (0, smithy_client_1.expectString)(output.description),
5173
+ lastUpdatedTime: (0, smithy_client_1.expectString)(output.lastUpdatedTime),
5174
+ name: (0, smithy_client_1.expectString)(output.name),
5175
5175
  };
5176
5176
  };
5177
5177
  const deserializeAws_json1_1entityTypeList = (output, context) => {
@@ -5190,11 +5190,11 @@ const deserializeAws_json1_1EvaluatedExternalModel = (output, context) => {
5190
5190
  inputVariables: output.inputVariables !== undefined && output.inputVariables !== null
5191
5191
  ? deserializeAws_json1_1MapOfStrings(output.inputVariables, context)
5192
5192
  : undefined,
5193
- modelEndpoint: smithy_client_1.expectString(output.modelEndpoint),
5193
+ modelEndpoint: (0, smithy_client_1.expectString)(output.modelEndpoint),
5194
5194
  outputVariables: output.outputVariables !== undefined && output.outputVariables !== null
5195
5195
  ? deserializeAws_json1_1MapOfStrings(output.outputVariables, context)
5196
5196
  : undefined,
5197
- useEventVariables: smithy_client_1.expectBoolean(output.useEventVariables),
5197
+ useEventVariables: (0, smithy_client_1.expectBoolean)(output.useEventVariables),
5198
5198
  };
5199
5199
  };
5200
5200
  const deserializeAws_json1_1EvaluatedModelVersion = (output, context) => {
@@ -5202,22 +5202,22 @@ const deserializeAws_json1_1EvaluatedModelVersion = (output, context) => {
5202
5202
  evaluations: output.evaluations !== undefined && output.evaluations !== null
5203
5203
  ? deserializeAws_json1_1ListOfModelVersionEvaluations(output.evaluations, context)
5204
5204
  : undefined,
5205
- modelId: smithy_client_1.expectString(output.modelId),
5206
- modelType: smithy_client_1.expectString(output.modelType),
5207
- modelVersion: smithy_client_1.expectString(output.modelVersion),
5205
+ modelId: (0, smithy_client_1.expectString)(output.modelId),
5206
+ modelType: (0, smithy_client_1.expectString)(output.modelType),
5207
+ modelVersion: (0, smithy_client_1.expectString)(output.modelVersion),
5208
5208
  };
5209
5209
  };
5210
5210
  const deserializeAws_json1_1EvaluatedRule = (output, context) => {
5211
5211
  return {
5212
- evaluated: smithy_client_1.expectBoolean(output.evaluated),
5213
- expression: smithy_client_1.expectString(output.expression),
5214
- expressionWithValues: smithy_client_1.expectString(output.expressionWithValues),
5215
- matched: smithy_client_1.expectBoolean(output.matched),
5212
+ evaluated: (0, smithy_client_1.expectBoolean)(output.evaluated),
5213
+ expression: (0, smithy_client_1.expectString)(output.expression),
5214
+ expressionWithValues: (0, smithy_client_1.expectString)(output.expressionWithValues),
5215
+ matched: (0, smithy_client_1.expectBoolean)(output.matched),
5216
5216
  outcomes: output.outcomes !== undefined && output.outcomes !== null
5217
5217
  ? deserializeAws_json1_1ListOfStrings(output.outcomes, context)
5218
5218
  : undefined,
5219
- ruleId: smithy_client_1.expectString(output.ruleId),
5220
- ruleVersion: smithy_client_1.expectString(output.ruleVersion),
5219
+ ruleId: (0, smithy_client_1.expectString)(output.ruleId),
5220
+ ruleVersion: (0, smithy_client_1.expectString)(output.ruleVersion),
5221
5221
  };
5222
5222
  };
5223
5223
  const deserializeAws_json1_1EvaluatedRuleList = (output, context) => {
@@ -5233,17 +5233,17 @@ const deserializeAws_json1_1EvaluatedRuleList = (output, context) => {
5233
5233
  };
5234
5234
  const deserializeAws_json1_1Event = (output, context) => {
5235
5235
  return {
5236
- currentLabel: smithy_client_1.expectString(output.currentLabel),
5236
+ currentLabel: (0, smithy_client_1.expectString)(output.currentLabel),
5237
5237
  entities: output.entities !== undefined && output.entities !== null
5238
5238
  ? deserializeAws_json1_1listOfEntities(output.entities, context)
5239
5239
  : undefined,
5240
- eventId: smithy_client_1.expectString(output.eventId),
5241
- eventTimestamp: smithy_client_1.expectString(output.eventTimestamp),
5242
- eventTypeName: smithy_client_1.expectString(output.eventTypeName),
5240
+ eventId: (0, smithy_client_1.expectString)(output.eventId),
5241
+ eventTimestamp: (0, smithy_client_1.expectString)(output.eventTimestamp),
5242
+ eventTypeName: (0, smithy_client_1.expectString)(output.eventTypeName),
5243
5243
  eventVariables: output.eventVariables !== undefined && output.eventVariables !== null
5244
5244
  ? deserializeAws_json1_1EventAttributeMap(output.eventVariables, context)
5245
5245
  : undefined,
5246
- labelTimestamp: smithy_client_1.expectString(output.labelTimestamp),
5246
+ labelTimestamp: (0, smithy_client_1.expectString)(output.labelTimestamp),
5247
5247
  };
5248
5248
  };
5249
5249
  const deserializeAws_json1_1EventAttributeMap = (output, context) => {
@@ -5253,29 +5253,29 @@ const deserializeAws_json1_1EventAttributeMap = (output, context) => {
5253
5253
  }
5254
5254
  return {
5255
5255
  ...acc,
5256
- [key]: smithy_client_1.expectString(value),
5256
+ [key]: (0, smithy_client_1.expectString)(value),
5257
5257
  };
5258
5258
  }, {});
5259
5259
  };
5260
5260
  const deserializeAws_json1_1EventPredictionSummary = (output, context) => {
5261
5261
  return {
5262
- detectorId: smithy_client_1.expectString(output.detectorId),
5263
- detectorVersionId: smithy_client_1.expectString(output.detectorVersionId),
5264
- eventId: smithy_client_1.expectString(output.eventId),
5265
- eventTimestamp: smithy_client_1.expectString(output.eventTimestamp),
5266
- eventTypeName: smithy_client_1.expectString(output.eventTypeName),
5267
- predictionTimestamp: smithy_client_1.expectString(output.predictionTimestamp),
5262
+ detectorId: (0, smithy_client_1.expectString)(output.detectorId),
5263
+ detectorVersionId: (0, smithy_client_1.expectString)(output.detectorVersionId),
5264
+ eventId: (0, smithy_client_1.expectString)(output.eventId),
5265
+ eventTimestamp: (0, smithy_client_1.expectString)(output.eventTimestamp),
5266
+ eventTypeName: (0, smithy_client_1.expectString)(output.eventTypeName),
5267
+ predictionTimestamp: (0, smithy_client_1.expectString)(output.predictionTimestamp),
5268
5268
  };
5269
5269
  };
5270
5270
  const deserializeAws_json1_1EventType = (output, context) => {
5271
5271
  return {
5272
- arn: smithy_client_1.expectString(output.arn),
5273
- createdTime: smithy_client_1.expectString(output.createdTime),
5274
- description: smithy_client_1.expectString(output.description),
5272
+ arn: (0, smithy_client_1.expectString)(output.arn),
5273
+ createdTime: (0, smithy_client_1.expectString)(output.createdTime),
5274
+ description: (0, smithy_client_1.expectString)(output.description),
5275
5275
  entityTypes: output.entityTypes !== undefined && output.entityTypes !== null
5276
5276
  ? deserializeAws_json1_1NonEmptyListOfStrings(output.entityTypes, context)
5277
5277
  : undefined,
5278
- eventIngestion: smithy_client_1.expectString(output.eventIngestion),
5278
+ eventIngestion: (0, smithy_client_1.expectString)(output.eventIngestion),
5279
5279
  eventVariables: output.eventVariables !== undefined && output.eventVariables !== null
5280
5280
  ? deserializeAws_json1_1ListOfStrings(output.eventVariables, context)
5281
5281
  : undefined,
@@ -5285,8 +5285,8 @@ const deserializeAws_json1_1EventType = (output, context) => {
5285
5285
  labels: output.labels !== undefined && output.labels !== null
5286
5286
  ? deserializeAws_json1_1ListOfStrings(output.labels, context)
5287
5287
  : undefined,
5288
- lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
5289
- name: smithy_client_1.expectString(output.name),
5288
+ lastUpdatedTime: (0, smithy_client_1.expectString)(output.lastUpdatedTime),
5289
+ name: (0, smithy_client_1.expectString)(output.name),
5290
5290
  };
5291
5291
  };
5292
5292
  const deserializeAws_json1_1eventTypeList = (output, context) => {
@@ -5302,29 +5302,29 @@ const deserializeAws_json1_1eventTypeList = (output, context) => {
5302
5302
  };
5303
5303
  const deserializeAws_json1_1EventVariableSummary = (output, context) => {
5304
5304
  return {
5305
- name: smithy_client_1.expectString(output.name),
5306
- source: smithy_client_1.expectString(output.source),
5307
- value: smithy_client_1.expectString(output.value),
5305
+ name: (0, smithy_client_1.expectString)(output.name),
5306
+ source: (0, smithy_client_1.expectString)(output.source),
5307
+ value: (0, smithy_client_1.expectString)(output.value),
5308
5308
  };
5309
5309
  };
5310
5310
  const deserializeAws_json1_1ExternalEventsDetail = (output, context) => {
5311
5311
  return {
5312
- dataAccessRoleArn: smithy_client_1.expectString(output.dataAccessRoleArn),
5313
- dataLocation: smithy_client_1.expectString(output.dataLocation),
5312
+ dataAccessRoleArn: (0, smithy_client_1.expectString)(output.dataAccessRoleArn),
5313
+ dataLocation: (0, smithy_client_1.expectString)(output.dataLocation),
5314
5314
  };
5315
5315
  };
5316
5316
  const deserializeAws_json1_1ExternalModel = (output, context) => {
5317
5317
  return {
5318
- arn: smithy_client_1.expectString(output.arn),
5319
- createdTime: smithy_client_1.expectString(output.createdTime),
5318
+ arn: (0, smithy_client_1.expectString)(output.arn),
5319
+ createdTime: (0, smithy_client_1.expectString)(output.createdTime),
5320
5320
  inputConfiguration: output.inputConfiguration !== undefined && output.inputConfiguration !== null
5321
5321
  ? deserializeAws_json1_1ModelInputConfiguration(output.inputConfiguration, context)
5322
5322
  : undefined,
5323
- invokeModelEndpointRoleArn: smithy_client_1.expectString(output.invokeModelEndpointRoleArn),
5324
- lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
5325
- modelEndpoint: smithy_client_1.expectString(output.modelEndpoint),
5326
- modelEndpointStatus: smithy_client_1.expectString(output.modelEndpointStatus),
5327
- modelSource: smithy_client_1.expectString(output.modelSource),
5323
+ invokeModelEndpointRoleArn: (0, smithy_client_1.expectString)(output.invokeModelEndpointRoleArn),
5324
+ lastUpdatedTime: (0, smithy_client_1.expectString)(output.lastUpdatedTime),
5325
+ modelEndpoint: (0, smithy_client_1.expectString)(output.modelEndpoint),
5326
+ modelEndpointStatus: (0, smithy_client_1.expectString)(output.modelEndpointStatus),
5327
+ modelSource: (0, smithy_client_1.expectString)(output.modelSource),
5328
5328
  outputConfiguration: output.outputConfiguration !== undefined && output.outputConfiguration !== null
5329
5329
  ? deserializeAws_json1_1ModelOutputConfiguration(output.outputConfiguration, context)
5330
5330
  : undefined,
@@ -5358,23 +5358,23 @@ const deserializeAws_json1_1ExternalModelPredictionMap = (output, context) => {
5358
5358
  }
5359
5359
  return {
5360
5360
  ...acc,
5361
- [key]: smithy_client_1.expectString(value),
5361
+ [key]: (0, smithy_client_1.expectString)(value),
5362
5362
  };
5363
5363
  }, {});
5364
5364
  };
5365
5365
  const deserializeAws_json1_1ExternalModelSummary = (output, context) => {
5366
5366
  return {
5367
- modelEndpoint: smithy_client_1.expectString(output.modelEndpoint),
5368
- modelSource: smithy_client_1.expectString(output.modelSource),
5367
+ modelEndpoint: (0, smithy_client_1.expectString)(output.modelEndpoint),
5368
+ modelSource: (0, smithy_client_1.expectString)(output.modelSource),
5369
5369
  };
5370
5370
  };
5371
5371
  const deserializeAws_json1_1FieldValidationMessage = (output, context) => {
5372
5372
  return {
5373
- content: smithy_client_1.expectString(output.content),
5374
- fieldName: smithy_client_1.expectString(output.fieldName),
5375
- identifier: smithy_client_1.expectString(output.identifier),
5376
- title: smithy_client_1.expectString(output.title),
5377
- type: smithy_client_1.expectString(output.type),
5373
+ content: (0, smithy_client_1.expectString)(output.content),
5374
+ fieldName: (0, smithy_client_1.expectString)(output.fieldName),
5375
+ identifier: (0, smithy_client_1.expectString)(output.identifier),
5376
+ title: (0, smithy_client_1.expectString)(output.title),
5377
+ type: (0, smithy_client_1.expectString)(output.type),
5378
5378
  };
5379
5379
  };
5380
5380
  const deserializeAws_json1_1fieldValidationMessageList = (output, context) => {
@@ -5390,9 +5390,9 @@ const deserializeAws_json1_1fieldValidationMessageList = (output, context) => {
5390
5390
  };
5391
5391
  const deserializeAws_json1_1FileValidationMessage = (output, context) => {
5392
5392
  return {
5393
- content: smithy_client_1.expectString(output.content),
5394
- title: smithy_client_1.expectString(output.title),
5395
- type: smithy_client_1.expectString(output.type),
5393
+ content: (0, smithy_client_1.expectString)(output.content),
5394
+ title: (0, smithy_client_1.expectString)(output.title),
5395
+ type: (0, smithy_client_1.expectString)(output.type),
5396
5396
  };
5397
5397
  };
5398
5398
  const deserializeAws_json1_1fileValidationMessageList = (output, context) => {
@@ -5411,7 +5411,7 @@ const deserializeAws_json1_1GetBatchImportJobsResult = (output, context) => {
5411
5411
  batchImports: output.batchImports !== undefined && output.batchImports !== null
5412
5412
  ? deserializeAws_json1_1BatchImportList(output.batchImports, context)
5413
5413
  : undefined,
5414
- nextToken: smithy_client_1.expectString(output.nextToken),
5414
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5415
5415
  };
5416
5416
  };
5417
5417
  const deserializeAws_json1_1GetBatchPredictionJobsResult = (output, context) => {
@@ -5419,13 +5419,13 @@ const deserializeAws_json1_1GetBatchPredictionJobsResult = (output, context) =>
5419
5419
  batchPredictions: output.batchPredictions !== undefined && output.batchPredictions !== null
5420
5420
  ? deserializeAws_json1_1BatchPredictionList(output.batchPredictions, context)
5421
5421
  : undefined,
5422
- nextToken: smithy_client_1.expectString(output.nextToken),
5422
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5423
5423
  };
5424
5424
  };
5425
5425
  const deserializeAws_json1_1GetDeleteEventsByEventTypeStatusResult = (output, context) => {
5426
5426
  return {
5427
- eventTypeName: smithy_client_1.expectString(output.eventTypeName),
5428
- eventsDeletionStatus: smithy_client_1.expectString(output.eventsDeletionStatus),
5427
+ eventTypeName: (0, smithy_client_1.expectString)(output.eventTypeName),
5428
+ eventsDeletionStatus: (0, smithy_client_1.expectString)(output.eventsDeletionStatus),
5429
5429
  };
5430
5430
  };
5431
5431
  const deserializeAws_json1_1GetDetectorsResult = (output, context) => {
@@ -5433,28 +5433,28 @@ const deserializeAws_json1_1GetDetectorsResult = (output, context) => {
5433
5433
  detectors: output.detectors !== undefined && output.detectors !== null
5434
5434
  ? deserializeAws_json1_1DetectorList(output.detectors, context)
5435
5435
  : undefined,
5436
- nextToken: smithy_client_1.expectString(output.nextToken),
5436
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5437
5437
  };
5438
5438
  };
5439
5439
  const deserializeAws_json1_1GetDetectorVersionResult = (output, context) => {
5440
5440
  return {
5441
- arn: smithy_client_1.expectString(output.arn),
5442
- createdTime: smithy_client_1.expectString(output.createdTime),
5443
- description: smithy_client_1.expectString(output.description),
5444
- detectorId: smithy_client_1.expectString(output.detectorId),
5445
- detectorVersionId: smithy_client_1.expectString(output.detectorVersionId),
5441
+ arn: (0, smithy_client_1.expectString)(output.arn),
5442
+ createdTime: (0, smithy_client_1.expectString)(output.createdTime),
5443
+ description: (0, smithy_client_1.expectString)(output.description),
5444
+ detectorId: (0, smithy_client_1.expectString)(output.detectorId),
5445
+ detectorVersionId: (0, smithy_client_1.expectString)(output.detectorVersionId),
5446
5446
  externalModelEndpoints: output.externalModelEndpoints !== undefined && output.externalModelEndpoints !== null
5447
5447
  ? deserializeAws_json1_1ListOfStrings(output.externalModelEndpoints, context)
5448
5448
  : undefined,
5449
- lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
5449
+ lastUpdatedTime: (0, smithy_client_1.expectString)(output.lastUpdatedTime),
5450
5450
  modelVersions: output.modelVersions !== undefined && output.modelVersions !== null
5451
5451
  ? deserializeAws_json1_1ListOfModelVersions(output.modelVersions, context)
5452
5452
  : undefined,
5453
- ruleExecutionMode: smithy_client_1.expectString(output.ruleExecutionMode),
5453
+ ruleExecutionMode: (0, smithy_client_1.expectString)(output.ruleExecutionMode),
5454
5454
  rules: output.rules !== undefined && output.rules !== null
5455
5455
  ? deserializeAws_json1_1RuleList(output.rules, context)
5456
5456
  : undefined,
5457
- status: smithy_client_1.expectString(output.status),
5457
+ status: (0, smithy_client_1.expectString)(output.status),
5458
5458
  };
5459
5459
  };
5460
5460
  const deserializeAws_json1_1GetEntityTypesResult = (output, context) => {
@@ -5462,33 +5462,33 @@ const deserializeAws_json1_1GetEntityTypesResult = (output, context) => {
5462
5462
  entityTypes: output.entityTypes !== undefined && output.entityTypes !== null
5463
5463
  ? deserializeAws_json1_1entityTypeList(output.entityTypes, context)
5464
5464
  : undefined,
5465
- nextToken: smithy_client_1.expectString(output.nextToken),
5465
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5466
5466
  };
5467
5467
  };
5468
5468
  const deserializeAws_json1_1GetEventPredictionMetadataResult = (output, context) => {
5469
5469
  return {
5470
- detectorId: smithy_client_1.expectString(output.detectorId),
5471
- detectorVersionId: smithy_client_1.expectString(output.detectorVersionId),
5472
- detectorVersionStatus: smithy_client_1.expectString(output.detectorVersionStatus),
5473
- entityId: smithy_client_1.expectString(output.entityId),
5474
- entityType: smithy_client_1.expectString(output.entityType),
5470
+ detectorId: (0, smithy_client_1.expectString)(output.detectorId),
5471
+ detectorVersionId: (0, smithy_client_1.expectString)(output.detectorVersionId),
5472
+ detectorVersionStatus: (0, smithy_client_1.expectString)(output.detectorVersionStatus),
5473
+ entityId: (0, smithy_client_1.expectString)(output.entityId),
5474
+ entityType: (0, smithy_client_1.expectString)(output.entityType),
5475
5475
  evaluatedExternalModels: output.evaluatedExternalModels !== undefined && output.evaluatedExternalModels !== null
5476
5476
  ? deserializeAws_json1_1ListOfEvaluatedExternalModels(output.evaluatedExternalModels, context)
5477
5477
  : undefined,
5478
5478
  evaluatedModelVersions: output.evaluatedModelVersions !== undefined && output.evaluatedModelVersions !== null
5479
5479
  ? deserializeAws_json1_1ListOfEvaluatedModelVersions(output.evaluatedModelVersions, context)
5480
5480
  : undefined,
5481
- eventId: smithy_client_1.expectString(output.eventId),
5482
- eventTimestamp: smithy_client_1.expectString(output.eventTimestamp),
5483
- eventTypeName: smithy_client_1.expectString(output.eventTypeName),
5481
+ eventId: (0, smithy_client_1.expectString)(output.eventId),
5482
+ eventTimestamp: (0, smithy_client_1.expectString)(output.eventTimestamp),
5483
+ eventTypeName: (0, smithy_client_1.expectString)(output.eventTypeName),
5484
5484
  eventVariables: output.eventVariables !== undefined && output.eventVariables !== null
5485
5485
  ? deserializeAws_json1_1ListOfEventVariableSummaries(output.eventVariables, context)
5486
5486
  : undefined,
5487
5487
  outcomes: output.outcomes !== undefined && output.outcomes !== null
5488
5488
  ? deserializeAws_json1_1ListOfStrings(output.outcomes, context)
5489
5489
  : undefined,
5490
- predictionTimestamp: smithy_client_1.expectString(output.predictionTimestamp),
5491
- ruleExecutionMode: smithy_client_1.expectString(output.ruleExecutionMode),
5490
+ predictionTimestamp: (0, smithy_client_1.expectString)(output.predictionTimestamp),
5491
+ ruleExecutionMode: (0, smithy_client_1.expectString)(output.ruleExecutionMode),
5492
5492
  rules: output.rules !== undefined && output.rules !== null
5493
5493
  ? deserializeAws_json1_1EvaluatedRuleList(output.rules, context)
5494
5494
  : undefined,
@@ -5519,7 +5519,7 @@ const deserializeAws_json1_1GetEventTypesResult = (output, context) => {
5519
5519
  eventTypes: output.eventTypes !== undefined && output.eventTypes !== null
5520
5520
  ? deserializeAws_json1_1eventTypeList(output.eventTypes, context)
5521
5521
  : undefined,
5522
- nextToken: smithy_client_1.expectString(output.nextToken),
5522
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5523
5523
  };
5524
5524
  };
5525
5525
  const deserializeAws_json1_1GetExternalModelsResult = (output, context) => {
@@ -5527,7 +5527,7 @@ const deserializeAws_json1_1GetExternalModelsResult = (output, context) => {
5527
5527
  externalModels: output.externalModels !== undefined && output.externalModels !== null
5528
5528
  ? deserializeAws_json1_1ExternalModelList(output.externalModels, context)
5529
5529
  : undefined,
5530
- nextToken: smithy_client_1.expectString(output.nextToken),
5530
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5531
5531
  };
5532
5532
  };
5533
5533
  const deserializeAws_json1_1GetKMSEncryptionKeyResult = (output, context) => {
@@ -5542,7 +5542,7 @@ const deserializeAws_json1_1GetLabelsResult = (output, context) => {
5542
5542
  labels: output.labels !== undefined && output.labels !== null
5543
5543
  ? deserializeAws_json1_1labelList(output.labels, context)
5544
5544
  : undefined,
5545
- nextToken: smithy_client_1.expectString(output.nextToken),
5545
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5546
5546
  };
5547
5547
  };
5548
5548
  const deserializeAws_json1_1GetModelsResult = (output, context) => {
@@ -5550,31 +5550,31 @@ const deserializeAws_json1_1GetModelsResult = (output, context) => {
5550
5550
  models: output.models !== undefined && output.models !== null
5551
5551
  ? deserializeAws_json1_1modelList(output.models, context)
5552
5552
  : undefined,
5553
- nextToken: smithy_client_1.expectString(output.nextToken),
5553
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5554
5554
  };
5555
5555
  };
5556
5556
  const deserializeAws_json1_1GetModelVersionResult = (output, context) => {
5557
5557
  return {
5558
- arn: smithy_client_1.expectString(output.arn),
5558
+ arn: (0, smithy_client_1.expectString)(output.arn),
5559
5559
  externalEventsDetail: output.externalEventsDetail !== undefined && output.externalEventsDetail !== null
5560
5560
  ? deserializeAws_json1_1ExternalEventsDetail(output.externalEventsDetail, context)
5561
5561
  : undefined,
5562
5562
  ingestedEventsDetail: output.ingestedEventsDetail !== undefined && output.ingestedEventsDetail !== null
5563
5563
  ? deserializeAws_json1_1IngestedEventsDetail(output.ingestedEventsDetail, context)
5564
5564
  : undefined,
5565
- modelId: smithy_client_1.expectString(output.modelId),
5566
- modelType: smithy_client_1.expectString(output.modelType),
5567
- modelVersionNumber: smithy_client_1.expectString(output.modelVersionNumber),
5568
- status: smithy_client_1.expectString(output.status),
5565
+ modelId: (0, smithy_client_1.expectString)(output.modelId),
5566
+ modelType: (0, smithy_client_1.expectString)(output.modelType),
5567
+ modelVersionNumber: (0, smithy_client_1.expectString)(output.modelVersionNumber),
5568
+ status: (0, smithy_client_1.expectString)(output.status),
5569
5569
  trainingDataSchema: output.trainingDataSchema !== undefined && output.trainingDataSchema !== null
5570
5570
  ? deserializeAws_json1_1TrainingDataSchema(output.trainingDataSchema, context)
5571
5571
  : undefined,
5572
- trainingDataSource: smithy_client_1.expectString(output.trainingDataSource),
5572
+ trainingDataSource: (0, smithy_client_1.expectString)(output.trainingDataSource),
5573
5573
  };
5574
5574
  };
5575
5575
  const deserializeAws_json1_1GetOutcomesResult = (output, context) => {
5576
5576
  return {
5577
- nextToken: smithy_client_1.expectString(output.nextToken),
5577
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5578
5578
  outcomes: output.outcomes !== undefined && output.outcomes !== null
5579
5579
  ? deserializeAws_json1_1OutcomeList(output.outcomes, context)
5580
5580
  : undefined,
@@ -5582,7 +5582,7 @@ const deserializeAws_json1_1GetOutcomesResult = (output, context) => {
5582
5582
  };
5583
5583
  const deserializeAws_json1_1GetRulesResult = (output, context) => {
5584
5584
  return {
5585
- nextToken: smithy_client_1.expectString(output.nextToken),
5585
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5586
5586
  ruleDetails: output.ruleDetails !== undefined && output.ruleDetails !== null
5587
5587
  ? deserializeAws_json1_1RuleDetailList(output.ruleDetails, context)
5588
5588
  : undefined,
@@ -5590,7 +5590,7 @@ const deserializeAws_json1_1GetRulesResult = (output, context) => {
5590
5590
  };
5591
5591
  const deserializeAws_json1_1GetVariablesResult = (output, context) => {
5592
5592
  return {
5593
- nextToken: smithy_client_1.expectString(output.nextToken),
5593
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5594
5594
  variables: output.variables !== undefined && output.variables !== null
5595
5595
  ? deserializeAws_json1_1VariableList(output.variables, context)
5596
5596
  : undefined,
@@ -5605,22 +5605,22 @@ const deserializeAws_json1_1IngestedEventsDetail = (output, context) => {
5605
5605
  };
5606
5606
  const deserializeAws_json1_1IngestedEventStatistics = (output, context) => {
5607
5607
  return {
5608
- eventDataSizeInBytes: smithy_client_1.expectLong(output.eventDataSizeInBytes),
5609
- lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
5610
- leastRecentEvent: smithy_client_1.expectString(output.leastRecentEvent),
5611
- mostRecentEvent: smithy_client_1.expectString(output.mostRecentEvent),
5612
- numberOfEvents: smithy_client_1.expectLong(output.numberOfEvents),
5608
+ eventDataSizeInBytes: (0, smithy_client_1.expectLong)(output.eventDataSizeInBytes),
5609
+ lastUpdatedTime: (0, smithy_client_1.expectString)(output.lastUpdatedTime),
5610
+ leastRecentEvent: (0, smithy_client_1.expectString)(output.leastRecentEvent),
5611
+ mostRecentEvent: (0, smithy_client_1.expectString)(output.mostRecentEvent),
5612
+ numberOfEvents: (0, smithy_client_1.expectLong)(output.numberOfEvents),
5613
5613
  };
5614
5614
  };
5615
5615
  const deserializeAws_json1_1IngestedEventsTimeWindow = (output, context) => {
5616
5616
  return {
5617
- endTime: smithy_client_1.expectString(output.endTime),
5618
- startTime: smithy_client_1.expectString(output.startTime),
5617
+ endTime: (0, smithy_client_1.expectString)(output.endTime),
5618
+ startTime: (0, smithy_client_1.expectString)(output.startTime),
5619
5619
  };
5620
5620
  };
5621
5621
  const deserializeAws_json1_1InternalServerException = (output, context) => {
5622
5622
  return {
5623
- message: smithy_client_1.expectString(output.message),
5623
+ message: (0, smithy_client_1.expectString)(output.message),
5624
5624
  };
5625
5625
  };
5626
5626
  const deserializeAws_json1_1JsonKeyToVariableMap = (output, context) => {
@@ -5630,22 +5630,22 @@ const deserializeAws_json1_1JsonKeyToVariableMap = (output, context) => {
5630
5630
  }
5631
5631
  return {
5632
5632
  ...acc,
5633
- [key]: smithy_client_1.expectString(value),
5633
+ [key]: (0, smithy_client_1.expectString)(value),
5634
5634
  };
5635
5635
  }, {});
5636
5636
  };
5637
5637
  const deserializeAws_json1_1KMSKey = (output, context) => {
5638
5638
  return {
5639
- kmsEncryptionKeyArn: smithy_client_1.expectString(output.kmsEncryptionKeyArn),
5639
+ kmsEncryptionKeyArn: (0, smithy_client_1.expectString)(output.kmsEncryptionKeyArn),
5640
5640
  };
5641
5641
  };
5642
5642
  const deserializeAws_json1_1Label = (output, context) => {
5643
5643
  return {
5644
- arn: smithy_client_1.expectString(output.arn),
5645
- createdTime: smithy_client_1.expectString(output.createdTime),
5646
- description: smithy_client_1.expectString(output.description),
5647
- lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
5648
- name: smithy_client_1.expectString(output.name),
5644
+ arn: (0, smithy_client_1.expectString)(output.arn),
5645
+ createdTime: (0, smithy_client_1.expectString)(output.createdTime),
5646
+ description: (0, smithy_client_1.expectString)(output.description),
5647
+ lastUpdatedTime: (0, smithy_client_1.expectString)(output.lastUpdatedTime),
5648
+ name: (0, smithy_client_1.expectString)(output.name),
5649
5649
  };
5650
5650
  };
5651
5651
  const deserializeAws_json1_1labelList = (output, context) => {
@@ -5675,7 +5675,7 @@ const deserializeAws_json1_1LabelSchema = (output, context) => {
5675
5675
  labelMapper: output.labelMapper !== undefined && output.labelMapper !== null
5676
5676
  ? deserializeAws_json1_1labelMapper(output.labelMapper, context)
5677
5677
  : undefined,
5678
- unlabeledEventsTreatment: smithy_client_1.expectString(output.unlabeledEventsTreatment),
5678
+ unlabeledEventsTreatment: (0, smithy_client_1.expectString)(output.unlabeledEventsTreatment),
5679
5679
  };
5680
5680
  };
5681
5681
  const deserializeAws_json1_1ListEventPredictionsResult = (output, context) => {
@@ -5683,7 +5683,7 @@ const deserializeAws_json1_1ListEventPredictionsResult = (output, context) => {
5683
5683
  eventPredictionSummaries: output.eventPredictionSummaries !== undefined && output.eventPredictionSummaries !== null
5684
5684
  ? deserializeAws_json1_1ListOfEventPredictionSummaries(output.eventPredictionSummaries, context)
5685
5685
  : undefined,
5686
- nextToken: smithy_client_1.expectString(output.nextToken),
5686
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5687
5687
  };
5688
5688
  };
5689
5689
  const deserializeAws_json1_1listOfEntities = (output, context) => {
@@ -5814,7 +5814,7 @@ const deserializeAws_json1_1ListOfStrings = (output, context) => {
5814
5814
  if (entry === null) {
5815
5815
  return null;
5816
5816
  }
5817
- return smithy_client_1.expectString(entry);
5817
+ return (0, smithy_client_1.expectString)(entry);
5818
5818
  });
5819
5819
  return retVal;
5820
5820
  };
@@ -5831,7 +5831,7 @@ const deserializeAws_json1_1listOfVariableImpactExplanations = (output, context)
5831
5831
  };
5832
5832
  const deserializeAws_json1_1ListTagsForResourceResult = (output, context) => {
5833
5833
  return {
5834
- nextToken: smithy_client_1.expectString(output.nextToken),
5834
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5835
5835
  tags: output.tags !== undefined && output.tags !== null
5836
5836
  ? deserializeAws_json1_1tagList(output.tags, context)
5837
5837
  : undefined,
@@ -5839,9 +5839,9 @@ const deserializeAws_json1_1ListTagsForResourceResult = (output, context) => {
5839
5839
  };
5840
5840
  const deserializeAws_json1_1LogOddsMetric = (output, context) => {
5841
5841
  return {
5842
- variableImportance: smithy_client_1.limitedParseFloat32(output.variableImportance),
5843
- variableName: smithy_client_1.expectString(output.variableName),
5844
- variableType: smithy_client_1.expectString(output.variableType),
5842
+ variableImportance: (0, smithy_client_1.limitedParseFloat32)(output.variableImportance),
5843
+ variableName: (0, smithy_client_1.expectString)(output.variableName),
5844
+ variableType: (0, smithy_client_1.expectString)(output.variableType),
5845
5845
  };
5846
5846
  };
5847
5847
  const deserializeAws_json1_1MapOfStrings = (output, context) => {
@@ -5851,16 +5851,16 @@ const deserializeAws_json1_1MapOfStrings = (output, context) => {
5851
5851
  }
5852
5852
  return {
5853
5853
  ...acc,
5854
- [key]: smithy_client_1.expectString(value),
5854
+ [key]: (0, smithy_client_1.expectString)(value),
5855
5855
  };
5856
5856
  }, {});
5857
5857
  };
5858
5858
  const deserializeAws_json1_1MetricDataPoint = (output, context) => {
5859
5859
  return {
5860
- fpr: smithy_client_1.limitedParseFloat32(output.fpr),
5861
- precision: smithy_client_1.limitedParseFloat32(output.precision),
5862
- threshold: smithy_client_1.limitedParseFloat32(output.threshold),
5863
- tpr: smithy_client_1.limitedParseFloat32(output.tpr),
5860
+ fpr: (0, smithy_client_1.limitedParseFloat32)(output.fpr),
5861
+ precision: (0, smithy_client_1.limitedParseFloat32)(output.precision),
5862
+ threshold: (0, smithy_client_1.limitedParseFloat32)(output.threshold),
5863
+ tpr: (0, smithy_client_1.limitedParseFloat32)(output.tpr),
5864
5864
  };
5865
5865
  };
5866
5866
  const deserializeAws_json1_1metricDataPointsList = (output, context) => {
@@ -5876,22 +5876,22 @@ const deserializeAws_json1_1metricDataPointsList = (output, context) => {
5876
5876
  };
5877
5877
  const deserializeAws_json1_1Model = (output, context) => {
5878
5878
  return {
5879
- arn: smithy_client_1.expectString(output.arn),
5880
- createdTime: smithy_client_1.expectString(output.createdTime),
5881
- description: smithy_client_1.expectString(output.description),
5882
- eventTypeName: smithy_client_1.expectString(output.eventTypeName),
5883
- lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
5884
- modelId: smithy_client_1.expectString(output.modelId),
5885
- modelType: smithy_client_1.expectString(output.modelType),
5879
+ arn: (0, smithy_client_1.expectString)(output.arn),
5880
+ createdTime: (0, smithy_client_1.expectString)(output.createdTime),
5881
+ description: (0, smithy_client_1.expectString)(output.description),
5882
+ eventTypeName: (0, smithy_client_1.expectString)(output.eventTypeName),
5883
+ lastUpdatedTime: (0, smithy_client_1.expectString)(output.lastUpdatedTime),
5884
+ modelId: (0, smithy_client_1.expectString)(output.modelId),
5885
+ modelType: (0, smithy_client_1.expectString)(output.modelType),
5886
5886
  };
5887
5887
  };
5888
5888
  const deserializeAws_json1_1ModelInputConfiguration = (output, context) => {
5889
5889
  return {
5890
- csvInputTemplate: smithy_client_1.expectString(output.csvInputTemplate),
5891
- eventTypeName: smithy_client_1.expectString(output.eventTypeName),
5892
- format: smithy_client_1.expectString(output.format),
5893
- jsonInputTemplate: smithy_client_1.expectString(output.jsonInputTemplate),
5894
- useEventVariables: smithy_client_1.expectBoolean(output.useEventVariables),
5890
+ csvInputTemplate: (0, smithy_client_1.expectString)(output.csvInputTemplate),
5891
+ eventTypeName: (0, smithy_client_1.expectString)(output.eventTypeName),
5892
+ format: (0, smithy_client_1.expectString)(output.format),
5893
+ jsonInputTemplate: (0, smithy_client_1.expectString)(output.jsonInputTemplate),
5894
+ useEventVariables: (0, smithy_client_1.expectBoolean)(output.useEventVariables),
5895
5895
  };
5896
5896
  };
5897
5897
  const deserializeAws_json1_1modelList = (output, context) => {
@@ -5910,7 +5910,7 @@ const deserializeAws_json1_1ModelOutputConfiguration = (output, context) => {
5910
5910
  csvIndexToVariableMap: output.csvIndexToVariableMap !== undefined && output.csvIndexToVariableMap !== null
5911
5911
  ? deserializeAws_json1_1CsvIndexToVariableMap(output.csvIndexToVariableMap, context)
5912
5912
  : undefined,
5913
- format: smithy_client_1.expectString(output.format),
5913
+ format: (0, smithy_client_1.expectString)(output.format),
5914
5914
  jsonKeyToVariableMap: output.jsonKeyToVariableMap !== undefined && output.jsonKeyToVariableMap !== null
5915
5915
  ? deserializeAws_json1_1JsonKeyToVariableMap(output.jsonKeyToVariableMap, context)
5916
5916
  : undefined,
@@ -5923,7 +5923,7 @@ const deserializeAws_json1_1ModelPredictionMap = (output, context) => {
5923
5923
  }
5924
5924
  return {
5925
5925
  ...acc,
5926
- [key]: smithy_client_1.limitedParseFloat32(value),
5926
+ [key]: (0, smithy_client_1.limitedParseFloat32)(value),
5927
5927
  };
5928
5928
  }, {});
5929
5929
  };
@@ -5939,31 +5939,31 @@ const deserializeAws_json1_1ModelScores = (output, context) => {
5939
5939
  };
5940
5940
  const deserializeAws_json1_1ModelVersion = (output, context) => {
5941
5941
  return {
5942
- arn: smithy_client_1.expectString(output.arn),
5943
- modelId: smithy_client_1.expectString(output.modelId),
5944
- modelType: smithy_client_1.expectString(output.modelType),
5945
- modelVersionNumber: smithy_client_1.expectString(output.modelVersionNumber),
5942
+ arn: (0, smithy_client_1.expectString)(output.arn),
5943
+ modelId: (0, smithy_client_1.expectString)(output.modelId),
5944
+ modelType: (0, smithy_client_1.expectString)(output.modelType),
5945
+ modelVersionNumber: (0, smithy_client_1.expectString)(output.modelVersionNumber),
5946
5946
  };
5947
5947
  };
5948
5948
  const deserializeAws_json1_1ModelVersionDetail = (output, context) => {
5949
5949
  return {
5950
- arn: smithy_client_1.expectString(output.arn),
5951
- createdTime: smithy_client_1.expectString(output.createdTime),
5950
+ arn: (0, smithy_client_1.expectString)(output.arn),
5951
+ createdTime: (0, smithy_client_1.expectString)(output.createdTime),
5952
5952
  externalEventsDetail: output.externalEventsDetail !== undefined && output.externalEventsDetail !== null
5953
5953
  ? deserializeAws_json1_1ExternalEventsDetail(output.externalEventsDetail, context)
5954
5954
  : undefined,
5955
5955
  ingestedEventsDetail: output.ingestedEventsDetail !== undefined && output.ingestedEventsDetail !== null
5956
5956
  ? deserializeAws_json1_1IngestedEventsDetail(output.ingestedEventsDetail, context)
5957
5957
  : undefined,
5958
- lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
5959
- modelId: smithy_client_1.expectString(output.modelId),
5960
- modelType: smithy_client_1.expectString(output.modelType),
5961
- modelVersionNumber: smithy_client_1.expectString(output.modelVersionNumber),
5962
- status: smithy_client_1.expectString(output.status),
5958
+ lastUpdatedTime: (0, smithy_client_1.expectString)(output.lastUpdatedTime),
5959
+ modelId: (0, smithy_client_1.expectString)(output.modelId),
5960
+ modelType: (0, smithy_client_1.expectString)(output.modelType),
5961
+ modelVersionNumber: (0, smithy_client_1.expectString)(output.modelVersionNumber),
5962
+ status: (0, smithy_client_1.expectString)(output.status),
5963
5963
  trainingDataSchema: output.trainingDataSchema !== undefined && output.trainingDataSchema !== null
5964
5964
  ? deserializeAws_json1_1TrainingDataSchema(output.trainingDataSchema, context)
5965
5965
  : undefined,
5966
- trainingDataSource: smithy_client_1.expectString(output.trainingDataSource),
5966
+ trainingDataSource: (0, smithy_client_1.expectString)(output.trainingDataSource),
5967
5967
  trainingResult: output.trainingResult !== undefined && output.trainingResult !== null
5968
5968
  ? deserializeAws_json1_1TrainingResult(output.trainingResult, context)
5969
5969
  : undefined,
@@ -5982,8 +5982,8 @@ const deserializeAws_json1_1modelVersionDetailList = (output, context) => {
5982
5982
  };
5983
5983
  const deserializeAws_json1_1ModelVersionEvaluation = (output, context) => {
5984
5984
  return {
5985
- evaluationScore: smithy_client_1.expectString(output.evaluationScore),
5986
- outputVariableName: smithy_client_1.expectString(output.outputVariableName),
5985
+ evaluationScore: (0, smithy_client_1.expectString)(output.evaluationScore),
5986
+ outputVariableName: (0, smithy_client_1.expectString)(output.outputVariableName),
5987
5987
  predictionExplanations: output.predictionExplanations !== undefined && output.predictionExplanations !== null
5988
5988
  ? deserializeAws_json1_1PredictionExplanations(output.predictionExplanations, context)
5989
5989
  : undefined,
@@ -5996,17 +5996,17 @@ const deserializeAws_json1_1NonEmptyListOfStrings = (output, context) => {
5996
5996
  if (entry === null) {
5997
5997
  return null;
5998
5998
  }
5999
- return smithy_client_1.expectString(entry);
5999
+ return (0, smithy_client_1.expectString)(entry);
6000
6000
  });
6001
6001
  return retVal;
6002
6002
  };
6003
6003
  const deserializeAws_json1_1Outcome = (output, context) => {
6004
6004
  return {
6005
- arn: smithy_client_1.expectString(output.arn),
6006
- createdTime: smithy_client_1.expectString(output.createdTime),
6007
- description: smithy_client_1.expectString(output.description),
6008
- lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
6009
- name: smithy_client_1.expectString(output.name),
6005
+ arn: (0, smithy_client_1.expectString)(output.arn),
6006
+ createdTime: (0, smithy_client_1.expectString)(output.createdTime),
6007
+ description: (0, smithy_client_1.expectString)(output.description),
6008
+ lastUpdatedTime: (0, smithy_client_1.expectString)(output.lastUpdatedTime),
6009
+ name: (0, smithy_client_1.expectString)(output.name),
6010
6010
  };
6011
6011
  };
6012
6012
  const deserializeAws_json1_1OutcomeList = (output, context) => {
@@ -6050,35 +6050,35 @@ const deserializeAws_json1_1PutOutcomeResult = (output, context) => {
6050
6050
  };
6051
6051
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
6052
6052
  return {
6053
- message: smithy_client_1.expectString(output.message),
6053
+ message: (0, smithy_client_1.expectString)(output.message),
6054
6054
  };
6055
6055
  };
6056
6056
  const deserializeAws_json1_1ResourceUnavailableException = (output, context) => {
6057
6057
  return {
6058
- message: smithy_client_1.expectString(output.message),
6058
+ message: (0, smithy_client_1.expectString)(output.message),
6059
6059
  };
6060
6060
  };
6061
6061
  const deserializeAws_json1_1Rule = (output, context) => {
6062
6062
  return {
6063
- detectorId: smithy_client_1.expectString(output.detectorId),
6064
- ruleId: smithy_client_1.expectString(output.ruleId),
6065
- ruleVersion: smithy_client_1.expectString(output.ruleVersion),
6063
+ detectorId: (0, smithy_client_1.expectString)(output.detectorId),
6064
+ ruleId: (0, smithy_client_1.expectString)(output.ruleId),
6065
+ ruleVersion: (0, smithy_client_1.expectString)(output.ruleVersion),
6066
6066
  };
6067
6067
  };
6068
6068
  const deserializeAws_json1_1RuleDetail = (output, context) => {
6069
6069
  return {
6070
- arn: smithy_client_1.expectString(output.arn),
6071
- createdTime: smithy_client_1.expectString(output.createdTime),
6072
- description: smithy_client_1.expectString(output.description),
6073
- detectorId: smithy_client_1.expectString(output.detectorId),
6074
- expression: smithy_client_1.expectString(output.expression),
6075
- language: smithy_client_1.expectString(output.language),
6076
- lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
6070
+ arn: (0, smithy_client_1.expectString)(output.arn),
6071
+ createdTime: (0, smithy_client_1.expectString)(output.createdTime),
6072
+ description: (0, smithy_client_1.expectString)(output.description),
6073
+ detectorId: (0, smithy_client_1.expectString)(output.detectorId),
6074
+ expression: (0, smithy_client_1.expectString)(output.expression),
6075
+ language: (0, smithy_client_1.expectString)(output.language),
6076
+ lastUpdatedTime: (0, smithy_client_1.expectString)(output.lastUpdatedTime),
6077
6077
  outcomes: output.outcomes !== undefined && output.outcomes !== null
6078
6078
  ? deserializeAws_json1_1NonEmptyListOfStrings(output.outcomes, context)
6079
6079
  : undefined,
6080
- ruleId: smithy_client_1.expectString(output.ruleId),
6081
- ruleVersion: smithy_client_1.expectString(output.ruleVersion),
6080
+ ruleId: (0, smithy_client_1.expectString)(output.ruleId),
6081
+ ruleVersion: (0, smithy_client_1.expectString)(output.ruleVersion),
6082
6082
  };
6083
6083
  };
6084
6084
  const deserializeAws_json1_1RuleDetailList = (output, context) => {
@@ -6108,7 +6108,7 @@ const deserializeAws_json1_1RuleResult = (output, context) => {
6108
6108
  outcomes: output.outcomes !== undefined && output.outcomes !== null
6109
6109
  ? deserializeAws_json1_1ListOfStrings(output.outcomes, context)
6110
6110
  : undefined,
6111
- ruleId: smithy_client_1.expectString(output.ruleId),
6111
+ ruleId: (0, smithy_client_1.expectString)(output.ruleId),
6112
6112
  };
6113
6113
  };
6114
6114
  const deserializeAws_json1_1SendEventResult = (output, context) => {
@@ -6116,8 +6116,8 @@ const deserializeAws_json1_1SendEventResult = (output, context) => {
6116
6116
  };
6117
6117
  const deserializeAws_json1_1Tag = (output, context) => {
6118
6118
  return {
6119
- key: smithy_client_1.expectString(output.key),
6120
- value: smithy_client_1.expectString(output.value),
6119
+ key: (0, smithy_client_1.expectString)(output.key),
6120
+ value: (0, smithy_client_1.expectString)(output.value),
6121
6121
  };
6122
6122
  };
6123
6123
  const deserializeAws_json1_1tagList = (output, context) => {
@@ -6136,7 +6136,7 @@ const deserializeAws_json1_1TagResourceResult = (output, context) => {
6136
6136
  };
6137
6137
  const deserializeAws_json1_1ThrottlingException = (output, context) => {
6138
6138
  return {
6139
- message: smithy_client_1.expectString(output.message),
6139
+ message: (0, smithy_client_1.expectString)(output.message),
6140
6140
  };
6141
6141
  };
6142
6142
  const deserializeAws_json1_1TrainingDataSchema = (output, context) => {
@@ -6151,7 +6151,7 @@ const deserializeAws_json1_1TrainingDataSchema = (output, context) => {
6151
6151
  };
6152
6152
  const deserializeAws_json1_1TrainingMetrics = (output, context) => {
6153
6153
  return {
6154
- auc: smithy_client_1.limitedParseFloat32(output.auc),
6154
+ auc: (0, smithy_client_1.limitedParseFloat32)(output.auc),
6155
6155
  metricDataPoints: output.metricDataPoints !== undefined && output.metricDataPoints !== null
6156
6156
  ? deserializeAws_json1_1metricDataPointsList(output.metricDataPoints, context)
6157
6157
  : undefined,
@@ -6190,10 +6190,10 @@ const deserializeAws_json1_1UpdateModelResult = (output, context) => {
6190
6190
  };
6191
6191
  const deserializeAws_json1_1UpdateModelVersionResult = (output, context) => {
6192
6192
  return {
6193
- modelId: smithy_client_1.expectString(output.modelId),
6194
- modelType: smithy_client_1.expectString(output.modelType),
6195
- modelVersionNumber: smithy_client_1.expectString(output.modelVersionNumber),
6196
- status: smithy_client_1.expectString(output.status),
6193
+ modelId: (0, smithy_client_1.expectString)(output.modelId),
6194
+ modelType: (0, smithy_client_1.expectString)(output.modelType),
6195
+ modelVersionNumber: (0, smithy_client_1.expectString)(output.modelVersionNumber),
6196
+ status: (0, smithy_client_1.expectString)(output.status),
6197
6197
  };
6198
6198
  };
6199
6199
  const deserializeAws_json1_1UpdateModelVersionStatusResult = (output, context) => {
@@ -6212,27 +6212,27 @@ const deserializeAws_json1_1UpdateVariableResult = (output, context) => {
6212
6212
  };
6213
6213
  const deserializeAws_json1_1ValidationException = (output, context) => {
6214
6214
  return {
6215
- message: smithy_client_1.expectString(output.message),
6215
+ message: (0, smithy_client_1.expectString)(output.message),
6216
6216
  };
6217
6217
  };
6218
6218
  const deserializeAws_json1_1Variable = (output, context) => {
6219
6219
  return {
6220
- arn: smithy_client_1.expectString(output.arn),
6221
- createdTime: smithy_client_1.expectString(output.createdTime),
6222
- dataSource: smithy_client_1.expectString(output.dataSource),
6223
- dataType: smithy_client_1.expectString(output.dataType),
6224
- defaultValue: smithy_client_1.expectString(output.defaultValue),
6225
- description: smithy_client_1.expectString(output.description),
6226
- lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
6227
- name: smithy_client_1.expectString(output.name),
6228
- variableType: smithy_client_1.expectString(output.variableType),
6220
+ arn: (0, smithy_client_1.expectString)(output.arn),
6221
+ createdTime: (0, smithy_client_1.expectString)(output.createdTime),
6222
+ dataSource: (0, smithy_client_1.expectString)(output.dataSource),
6223
+ dataType: (0, smithy_client_1.expectString)(output.dataType),
6224
+ defaultValue: (0, smithy_client_1.expectString)(output.defaultValue),
6225
+ description: (0, smithy_client_1.expectString)(output.description),
6226
+ lastUpdatedTime: (0, smithy_client_1.expectString)(output.lastUpdatedTime),
6227
+ name: (0, smithy_client_1.expectString)(output.name),
6228
+ variableType: (0, smithy_client_1.expectString)(output.variableType),
6229
6229
  };
6230
6230
  };
6231
6231
  const deserializeAws_json1_1VariableImpactExplanation = (output, context) => {
6232
6232
  return {
6233
- eventVariableName: smithy_client_1.expectString(output.eventVariableName),
6234
- logOddsImpact: smithy_client_1.limitedParseFloat32(output.logOddsImpact),
6235
- relativeImpact: smithy_client_1.expectString(output.relativeImpact),
6233
+ eventVariableName: (0, smithy_client_1.expectString)(output.eventVariableName),
6234
+ logOddsImpact: (0, smithy_client_1.limitedParseFloat32)(output.logOddsImpact),
6235
+ relativeImpact: (0, smithy_client_1.expectString)(output.relativeImpact),
6236
6236
  };
6237
6237
  };
6238
6238
  const deserializeAws_json1_1VariableImportanceMetrics = (output, context) => {