@aws-sdk/client-comprehendmedical 3.53.0 → 3.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/ComprehendMedicalClient.js +13 -13
  3. package/dist-cjs/commands/DescribeEntitiesDetectionV2JobCommand.js +3 -3
  4. package/dist-cjs/commands/DescribeICD10CMInferenceJobCommand.js +3 -3
  5. package/dist-cjs/commands/DescribePHIDetectionJobCommand.js +3 -3
  6. package/dist-cjs/commands/DescribeRxNormInferenceJobCommand.js +3 -3
  7. package/dist-cjs/commands/DescribeSNOMEDCTInferenceJobCommand.js +3 -3
  8. package/dist-cjs/commands/DetectEntitiesCommand.js +3 -3
  9. package/dist-cjs/commands/DetectEntitiesV2Command.js +3 -3
  10. package/dist-cjs/commands/DetectPHICommand.js +3 -3
  11. package/dist-cjs/commands/InferICD10CMCommand.js +3 -3
  12. package/dist-cjs/commands/InferRxNormCommand.js +3 -3
  13. package/dist-cjs/commands/InferSNOMEDCTCommand.js +3 -3
  14. package/dist-cjs/commands/ListEntitiesDetectionV2JobsCommand.js +3 -3
  15. package/dist-cjs/commands/ListICD10CMInferenceJobsCommand.js +3 -3
  16. package/dist-cjs/commands/ListPHIDetectionJobsCommand.js +3 -3
  17. package/dist-cjs/commands/ListRxNormInferenceJobsCommand.js +3 -3
  18. package/dist-cjs/commands/ListSNOMEDCTInferenceJobsCommand.js +3 -3
  19. package/dist-cjs/commands/StartEntitiesDetectionV2JobCommand.js +3 -3
  20. package/dist-cjs/commands/StartICD10CMInferenceJobCommand.js +3 -3
  21. package/dist-cjs/commands/StartPHIDetectionJobCommand.js +3 -3
  22. package/dist-cjs/commands/StartRxNormInferenceJobCommand.js +3 -3
  23. package/dist-cjs/commands/StartSNOMEDCTInferenceJobCommand.js +3 -3
  24. package/dist-cjs/commands/StopEntitiesDetectionV2JobCommand.js +3 -3
  25. package/dist-cjs/commands/StopICD10CMInferenceJobCommand.js +3 -3
  26. package/dist-cjs/commands/StopPHIDetectionJobCommand.js +3 -3
  27. package/dist-cjs/commands/StopRxNormInferenceJobCommand.js +3 -3
  28. package/dist-cjs/commands/StopSNOMEDCTInferenceJobCommand.js +3 -3
  29. package/dist-cjs/endpoints.js +1 -1
  30. package/dist-cjs/protocols/Aws_json1_1.js +174 -174
  31. package/dist-cjs/runtimeConfig.browser.js +4 -4
  32. package/dist-cjs/runtimeConfig.js +9 -9
  33. package/dist-cjs/runtimeConfig.native.js +1 -1
  34. package/dist-es/ComprehendMedical.js +26 -26
  35. package/dist-types/ComprehendMedicalClient.d.ts +2 -2
  36. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  37. package/dist-types/runtimeConfig.d.ts +1 -1
  38. package/dist-types/runtimeConfig.native.d.ts +3 -3
  39. package/dist-types/ts3.4/ComprehendMedicalClient.d.ts +2 -2
  40. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  41. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  42. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  43. package/package.json +34 -34
@@ -309,7 +309,7 @@ const deserializeAws_json1_1DescribeEntitiesDetectionV2JobCommandError = async (
309
309
  $fault: "client",
310
310
  $metadata: deserializeMetadata(output),
311
311
  });
312
- throw smithy_client_1.decorateServiceException(response, parsedBody);
312
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
313
313
  }
314
314
  };
315
315
  const deserializeAws_json1_1DescribeICD10CMInferenceJobCommand = async (output, context) => {
@@ -354,7 +354,7 @@ const deserializeAws_json1_1DescribeICD10CMInferenceJobCommandError = async (out
354
354
  $fault: "client",
355
355
  $metadata: deserializeMetadata(output),
356
356
  });
357
- throw smithy_client_1.decorateServiceException(response, parsedBody);
357
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
358
358
  }
359
359
  };
360
360
  const deserializeAws_json1_1DescribePHIDetectionJobCommand = async (output, context) => {
@@ -399,7 +399,7 @@ const deserializeAws_json1_1DescribePHIDetectionJobCommandError = async (output,
399
399
  $fault: "client",
400
400
  $metadata: deserializeMetadata(output),
401
401
  });
402
- throw smithy_client_1.decorateServiceException(response, parsedBody);
402
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
403
403
  }
404
404
  };
405
405
  const deserializeAws_json1_1DescribeRxNormInferenceJobCommand = async (output, context) => {
@@ -444,7 +444,7 @@ const deserializeAws_json1_1DescribeRxNormInferenceJobCommandError = async (outp
444
444
  $fault: "client",
445
445
  $metadata: deserializeMetadata(output),
446
446
  });
447
- throw smithy_client_1.decorateServiceException(response, parsedBody);
447
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
448
448
  }
449
449
  };
450
450
  const deserializeAws_json1_1DescribeSNOMEDCTInferenceJobCommand = async (output, context) => {
@@ -489,7 +489,7 @@ const deserializeAws_json1_1DescribeSNOMEDCTInferenceJobCommandError = async (ou
489
489
  $fault: "client",
490
490
  $metadata: deserializeMetadata(output),
491
491
  });
492
- throw smithy_client_1.decorateServiceException(response, parsedBody);
492
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
493
493
  }
494
494
  };
495
495
  const deserializeAws_json1_1DetectEntitiesCommand = async (output, context) => {
@@ -540,7 +540,7 @@ const deserializeAws_json1_1DetectEntitiesCommandError = async (output, context)
540
540
  $fault: "client",
541
541
  $metadata: deserializeMetadata(output),
542
542
  });
543
- throw smithy_client_1.decorateServiceException(response, parsedBody);
543
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
544
544
  }
545
545
  };
546
546
  const deserializeAws_json1_1DetectEntitiesV2Command = async (output, context) => {
@@ -591,7 +591,7 @@ const deserializeAws_json1_1DetectEntitiesV2CommandError = async (output, contex
591
591
  $fault: "client",
592
592
  $metadata: deserializeMetadata(output),
593
593
  });
594
- throw smithy_client_1.decorateServiceException(response, parsedBody);
594
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
595
595
  }
596
596
  };
597
597
  const deserializeAws_json1_1DetectPHICommand = async (output, context) => {
@@ -642,7 +642,7 @@ const deserializeAws_json1_1DetectPHICommandError = async (output, context) => {
642
642
  $fault: "client",
643
643
  $metadata: deserializeMetadata(output),
644
644
  });
645
- throw smithy_client_1.decorateServiceException(response, parsedBody);
645
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
646
646
  }
647
647
  };
648
648
  const deserializeAws_json1_1InferICD10CMCommand = async (output, context) => {
@@ -693,7 +693,7 @@ const deserializeAws_json1_1InferICD10CMCommandError = async (output, context) =
693
693
  $fault: "client",
694
694
  $metadata: deserializeMetadata(output),
695
695
  });
696
- throw smithy_client_1.decorateServiceException(response, parsedBody);
696
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
697
697
  }
698
698
  };
699
699
  const deserializeAws_json1_1InferRxNormCommand = async (output, context) => {
@@ -744,7 +744,7 @@ const deserializeAws_json1_1InferRxNormCommandError = async (output, context) =>
744
744
  $fault: "client",
745
745
  $metadata: deserializeMetadata(output),
746
746
  });
747
- throw smithy_client_1.decorateServiceException(response, parsedBody);
747
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
748
748
  }
749
749
  };
750
750
  const deserializeAws_json1_1InferSNOMEDCTCommand = async (output, context) => {
@@ -795,7 +795,7 @@ const deserializeAws_json1_1InferSNOMEDCTCommandError = async (output, context)
795
795
  $fault: "client",
796
796
  $metadata: deserializeMetadata(output),
797
797
  });
798
- throw smithy_client_1.decorateServiceException(response, parsedBody);
798
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
799
799
  }
800
800
  };
801
801
  const deserializeAws_json1_1ListEntitiesDetectionV2JobsCommand = async (output, context) => {
@@ -840,7 +840,7 @@ const deserializeAws_json1_1ListEntitiesDetectionV2JobsCommandError = async (out
840
840
  $fault: "client",
841
841
  $metadata: deserializeMetadata(output),
842
842
  });
843
- throw smithy_client_1.decorateServiceException(response, parsedBody);
843
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
844
844
  }
845
845
  };
846
846
  const deserializeAws_json1_1ListICD10CMInferenceJobsCommand = async (output, context) => {
@@ -885,7 +885,7 @@ const deserializeAws_json1_1ListICD10CMInferenceJobsCommandError = async (output
885
885
  $fault: "client",
886
886
  $metadata: deserializeMetadata(output),
887
887
  });
888
- throw smithy_client_1.decorateServiceException(response, parsedBody);
888
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
889
889
  }
890
890
  };
891
891
  const deserializeAws_json1_1ListPHIDetectionJobsCommand = async (output, context) => {
@@ -930,7 +930,7 @@ const deserializeAws_json1_1ListPHIDetectionJobsCommandError = async (output, co
930
930
  $fault: "client",
931
931
  $metadata: deserializeMetadata(output),
932
932
  });
933
- throw smithy_client_1.decorateServiceException(response, parsedBody);
933
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
934
934
  }
935
935
  };
936
936
  const deserializeAws_json1_1ListRxNormInferenceJobsCommand = async (output, context) => {
@@ -975,7 +975,7 @@ const deserializeAws_json1_1ListRxNormInferenceJobsCommandError = async (output,
975
975
  $fault: "client",
976
976
  $metadata: deserializeMetadata(output),
977
977
  });
978
- throw smithy_client_1.decorateServiceException(response, parsedBody);
978
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
979
979
  }
980
980
  };
981
981
  const deserializeAws_json1_1ListSNOMEDCTInferenceJobsCommand = async (output, context) => {
@@ -1020,7 +1020,7 @@ const deserializeAws_json1_1ListSNOMEDCTInferenceJobsCommandError = async (outpu
1020
1020
  $fault: "client",
1021
1021
  $metadata: deserializeMetadata(output),
1022
1022
  });
1023
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1023
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1024
1024
  }
1025
1025
  };
1026
1026
  const deserializeAws_json1_1StartEntitiesDetectionV2JobCommand = async (output, context) => {
@@ -1065,7 +1065,7 @@ const deserializeAws_json1_1StartEntitiesDetectionV2JobCommandError = async (out
1065
1065
  $fault: "client",
1066
1066
  $metadata: deserializeMetadata(output),
1067
1067
  });
1068
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1068
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1069
1069
  }
1070
1070
  };
1071
1071
  const deserializeAws_json1_1StartICD10CMInferenceJobCommand = async (output, context) => {
@@ -1110,7 +1110,7 @@ const deserializeAws_json1_1StartICD10CMInferenceJobCommandError = async (output
1110
1110
  $fault: "client",
1111
1111
  $metadata: deserializeMetadata(output),
1112
1112
  });
1113
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1113
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1114
1114
  }
1115
1115
  };
1116
1116
  const deserializeAws_json1_1StartPHIDetectionJobCommand = async (output, context) => {
@@ -1155,7 +1155,7 @@ const deserializeAws_json1_1StartPHIDetectionJobCommandError = async (output, co
1155
1155
  $fault: "client",
1156
1156
  $metadata: deserializeMetadata(output),
1157
1157
  });
1158
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1158
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1159
1159
  }
1160
1160
  };
1161
1161
  const deserializeAws_json1_1StartRxNormInferenceJobCommand = async (output, context) => {
@@ -1200,7 +1200,7 @@ const deserializeAws_json1_1StartRxNormInferenceJobCommandError = async (output,
1200
1200
  $fault: "client",
1201
1201
  $metadata: deserializeMetadata(output),
1202
1202
  });
1203
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1203
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1204
1204
  }
1205
1205
  };
1206
1206
  const deserializeAws_json1_1StartSNOMEDCTInferenceJobCommand = async (output, context) => {
@@ -1245,7 +1245,7 @@ const deserializeAws_json1_1StartSNOMEDCTInferenceJobCommandError = async (outpu
1245
1245
  $fault: "client",
1246
1246
  $metadata: deserializeMetadata(output),
1247
1247
  });
1248
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1248
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1249
1249
  }
1250
1250
  };
1251
1251
  const deserializeAws_json1_1StopEntitiesDetectionV2JobCommand = async (output, context) => {
@@ -1287,7 +1287,7 @@ const deserializeAws_json1_1StopEntitiesDetectionV2JobCommandError = async (outp
1287
1287
  $fault: "client",
1288
1288
  $metadata: deserializeMetadata(output),
1289
1289
  });
1290
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1290
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1291
1291
  }
1292
1292
  };
1293
1293
  const deserializeAws_json1_1StopICD10CMInferenceJobCommand = async (output, context) => {
@@ -1329,7 +1329,7 @@ const deserializeAws_json1_1StopICD10CMInferenceJobCommandError = async (output,
1329
1329
  $fault: "client",
1330
1330
  $metadata: deserializeMetadata(output),
1331
1331
  });
1332
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1332
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1333
1333
  }
1334
1334
  };
1335
1335
  const deserializeAws_json1_1StopPHIDetectionJobCommand = async (output, context) => {
@@ -1371,7 +1371,7 @@ const deserializeAws_json1_1StopPHIDetectionJobCommandError = async (output, con
1371
1371
  $fault: "client",
1372
1372
  $metadata: deserializeMetadata(output),
1373
1373
  });
1374
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1374
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1375
1375
  }
1376
1376
  };
1377
1377
  const deserializeAws_json1_1StopRxNormInferenceJobCommand = async (output, context) => {
@@ -1413,7 +1413,7 @@ const deserializeAws_json1_1StopRxNormInferenceJobCommandError = async (output,
1413
1413
  $fault: "client",
1414
1414
  $metadata: deserializeMetadata(output),
1415
1415
  });
1416
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1416
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1417
1417
  }
1418
1418
  };
1419
1419
  const deserializeAws_json1_1StopSNOMEDCTInferenceJobCommand = async (output, context) => {
@@ -1458,7 +1458,7 @@ const deserializeAws_json1_1StopSNOMEDCTInferenceJobCommandError = async (output
1458
1458
  $fault: "client",
1459
1459
  $metadata: deserializeMetadata(output),
1460
1460
  });
1461
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1461
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1462
1462
  }
1463
1463
  };
1464
1464
  const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutput, context) => {
@@ -1468,7 +1468,7 @@ const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutpu
1468
1468
  $metadata: deserializeMetadata(parsedOutput),
1469
1469
  ...deserialized,
1470
1470
  });
1471
- return smithy_client_1.decorateServiceException(exception, body);
1471
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1472
1472
  };
1473
1473
  const deserializeAws_json1_1InvalidEncodingExceptionResponse = async (parsedOutput, context) => {
1474
1474
  const body = parsedOutput.body;
@@ -1477,7 +1477,7 @@ const deserializeAws_json1_1InvalidEncodingExceptionResponse = async (parsedOutp
1477
1477
  $metadata: deserializeMetadata(parsedOutput),
1478
1478
  ...deserialized,
1479
1479
  });
1480
- return smithy_client_1.decorateServiceException(exception, body);
1480
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1481
1481
  };
1482
1482
  const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
1483
1483
  const body = parsedOutput.body;
@@ -1486,7 +1486,7 @@ const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutpu
1486
1486
  $metadata: deserializeMetadata(parsedOutput),
1487
1487
  ...deserialized,
1488
1488
  });
1489
- return smithy_client_1.decorateServiceException(exception, body);
1489
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1490
1490
  };
1491
1491
  const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1492
1492
  const body = parsedOutput.body;
@@ -1495,7 +1495,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
1495
1495
  $metadata: deserializeMetadata(parsedOutput),
1496
1496
  ...deserialized,
1497
1497
  });
1498
- return smithy_client_1.decorateServiceException(exception, body);
1498
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1499
1499
  };
1500
1500
  const deserializeAws_json1_1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
1501
1501
  const body = parsedOutput.body;
@@ -1504,7 +1504,7 @@ const deserializeAws_json1_1ServiceUnavailableExceptionResponse = async (parsedO
1504
1504
  $metadata: deserializeMetadata(parsedOutput),
1505
1505
  ...deserialized,
1506
1506
  });
1507
- return smithy_client_1.decorateServiceException(exception, body);
1507
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1508
1508
  };
1509
1509
  const deserializeAws_json1_1TextSizeLimitExceededExceptionResponse = async (parsedOutput, context) => {
1510
1510
  const body = parsedOutput.body;
@@ -1513,7 +1513,7 @@ const deserializeAws_json1_1TextSizeLimitExceededExceptionResponse = async (pars
1513
1513
  $metadata: deserializeMetadata(parsedOutput),
1514
1514
  ...deserialized,
1515
1515
  });
1516
- return smithy_client_1.decorateServiceException(exception, body);
1516
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1517
1517
  };
1518
1518
  const deserializeAws_json1_1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
1519
1519
  const body = parsedOutput.body;
@@ -1522,7 +1522,7 @@ const deserializeAws_json1_1TooManyRequestsExceptionResponse = async (parsedOutp
1522
1522
  $metadata: deserializeMetadata(parsedOutput),
1523
1523
  ...deserialized,
1524
1524
  });
1525
- return smithy_client_1.decorateServiceException(exception, body);
1525
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1526
1526
  };
1527
1527
  const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, context) => {
1528
1528
  const body = parsedOutput.body;
@@ -1531,7 +1531,7 @@ const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, c
1531
1531
  $metadata: deserializeMetadata(parsedOutput),
1532
1532
  ...deserialized,
1533
1533
  });
1534
- return smithy_client_1.decorateServiceException(exception, body);
1534
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1535
1535
  };
1536
1536
  const serializeAws_json1_1ComprehendMedicalAsyncJobFilter = (input, context) => {
1537
1537
  return {
@@ -1653,7 +1653,7 @@ const serializeAws_json1_1OutputDataConfig = (input, context) => {
1653
1653
  const serializeAws_json1_1StartEntitiesDetectionV2JobRequest = (input, context) => {
1654
1654
  var _a;
1655
1655
  return {
1656
- ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1656
+ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1657
1657
  ...(input.DataAccessRoleArn !== undefined &&
1658
1658
  input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
1659
1659
  ...(input.InputDataConfig !== undefined &&
@@ -1672,7 +1672,7 @@ const serializeAws_json1_1StartEntitiesDetectionV2JobRequest = (input, context)
1672
1672
  const serializeAws_json1_1StartICD10CMInferenceJobRequest = (input, context) => {
1673
1673
  var _a;
1674
1674
  return {
1675
- ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1675
+ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1676
1676
  ...(input.DataAccessRoleArn !== undefined &&
1677
1677
  input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
1678
1678
  ...(input.InputDataConfig !== undefined &&
@@ -1691,7 +1691,7 @@ const serializeAws_json1_1StartICD10CMInferenceJobRequest = (input, context) =>
1691
1691
  const serializeAws_json1_1StartPHIDetectionJobRequest = (input, context) => {
1692
1692
  var _a;
1693
1693
  return {
1694
- ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1694
+ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1695
1695
  ...(input.DataAccessRoleArn !== undefined &&
1696
1696
  input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
1697
1697
  ...(input.InputDataConfig !== undefined &&
@@ -1710,7 +1710,7 @@ const serializeAws_json1_1StartPHIDetectionJobRequest = (input, context) => {
1710
1710
  const serializeAws_json1_1StartRxNormInferenceJobRequest = (input, context) => {
1711
1711
  var _a;
1712
1712
  return {
1713
- ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1713
+ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1714
1714
  ...(input.DataAccessRoleArn !== undefined &&
1715
1715
  input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
1716
1716
  ...(input.InputDataConfig !== undefined &&
@@ -1729,7 +1729,7 @@ const serializeAws_json1_1StartRxNormInferenceJobRequest = (input, context) => {
1729
1729
  const serializeAws_json1_1StartSNOMEDCTInferenceJobRequest = (input, context) => {
1730
1730
  var _a;
1731
1731
  return {
1732
- ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1732
+ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1733
1733
  ...(input.DataAccessRoleArn !== undefined &&
1734
1734
  input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
1735
1735
  ...(input.InputDataConfig !== undefined &&
@@ -1772,18 +1772,18 @@ const serializeAws_json1_1StopSNOMEDCTInferenceJobRequest = (input, context) =>
1772
1772
  };
1773
1773
  const deserializeAws_json1_1Attribute = (output, context) => {
1774
1774
  return {
1775
- BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
1776
- Category: smithy_client_1.expectString(output.Category),
1777
- EndOffset: smithy_client_1.expectInt32(output.EndOffset),
1778
- Id: smithy_client_1.expectInt32(output.Id),
1779
- RelationshipScore: smithy_client_1.limitedParseFloat32(output.RelationshipScore),
1780
- RelationshipType: smithy_client_1.expectString(output.RelationshipType),
1781
- Score: smithy_client_1.limitedParseFloat32(output.Score),
1782
- Text: smithy_client_1.expectString(output.Text),
1775
+ BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
1776
+ Category: (0, smithy_client_1.expectString)(output.Category),
1777
+ EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
1778
+ Id: (0, smithy_client_1.expectInt32)(output.Id),
1779
+ RelationshipScore: (0, smithy_client_1.limitedParseFloat32)(output.RelationshipScore),
1780
+ RelationshipType: (0, smithy_client_1.expectString)(output.RelationshipType),
1781
+ Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
1782
+ Text: (0, smithy_client_1.expectString)(output.Text),
1783
1783
  Traits: output.Traits !== undefined && output.Traits !== null
1784
1784
  ? deserializeAws_json1_1TraitList(output.Traits, context)
1785
1785
  : undefined,
1786
- Type: smithy_client_1.expectString(output.Type),
1786
+ Type: (0, smithy_client_1.expectString)(output.Type),
1787
1787
  };
1788
1788
  };
1789
1789
  const deserializeAws_json1_1AttributeList = (output, context) => {
@@ -1799,34 +1799,34 @@ const deserializeAws_json1_1AttributeList = (output, context) => {
1799
1799
  };
1800
1800
  const deserializeAws_json1_1Characters = (output, context) => {
1801
1801
  return {
1802
- OriginalTextCharacters: smithy_client_1.expectInt32(output.OriginalTextCharacters),
1802
+ OriginalTextCharacters: (0, smithy_client_1.expectInt32)(output.OriginalTextCharacters),
1803
1803
  };
1804
1804
  };
1805
1805
  const deserializeAws_json1_1ComprehendMedicalAsyncJobProperties = (output, context) => {
1806
1806
  return {
1807
- DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
1807
+ DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
1808
1808
  EndTime: output.EndTime !== undefined && output.EndTime !== null
1809
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
1809
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
1810
1810
  : undefined,
1811
1811
  ExpirationTime: output.ExpirationTime !== undefined && output.ExpirationTime !== null
1812
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExpirationTime)))
1812
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpirationTime)))
1813
1813
  : undefined,
1814
1814
  InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
1815
1815
  ? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
1816
1816
  : undefined,
1817
- JobId: smithy_client_1.expectString(output.JobId),
1818
- JobName: smithy_client_1.expectString(output.JobName),
1819
- JobStatus: smithy_client_1.expectString(output.JobStatus),
1820
- KMSKey: smithy_client_1.expectString(output.KMSKey),
1821
- LanguageCode: smithy_client_1.expectString(output.LanguageCode),
1822
- ManifestFilePath: smithy_client_1.expectString(output.ManifestFilePath),
1823
- Message: smithy_client_1.expectString(output.Message),
1824
- ModelVersion: smithy_client_1.expectString(output.ModelVersion),
1817
+ JobId: (0, smithy_client_1.expectString)(output.JobId),
1818
+ JobName: (0, smithy_client_1.expectString)(output.JobName),
1819
+ JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
1820
+ KMSKey: (0, smithy_client_1.expectString)(output.KMSKey),
1821
+ LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
1822
+ ManifestFilePath: (0, smithy_client_1.expectString)(output.ManifestFilePath),
1823
+ Message: (0, smithy_client_1.expectString)(output.Message),
1824
+ ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
1825
1825
  OutputDataConfig: output.OutputDataConfig !== undefined && output.OutputDataConfig !== null
1826
1826
  ? deserializeAws_json1_1OutputDataConfig(output.OutputDataConfig, context)
1827
1827
  : undefined,
1828
1828
  SubmitTime: output.SubmitTime !== undefined && output.SubmitTime !== null
1829
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubmitTime)))
1829
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmitTime)))
1830
1830
  : undefined,
1831
1831
  };
1832
1832
  };
@@ -1881,8 +1881,8 @@ const deserializeAws_json1_1DetectEntitiesResponse = (output, context) => {
1881
1881
  Entities: output.Entities !== undefined && output.Entities !== null
1882
1882
  ? deserializeAws_json1_1EntityList(output.Entities, context)
1883
1883
  : undefined,
1884
- ModelVersion: smithy_client_1.expectString(output.ModelVersion),
1885
- PaginationToken: smithy_client_1.expectString(output.PaginationToken),
1884
+ ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
1885
+ PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
1886
1886
  UnmappedAttributes: output.UnmappedAttributes !== undefined && output.UnmappedAttributes !== null
1887
1887
  ? deserializeAws_json1_1UnmappedAttributeList(output.UnmappedAttributes, context)
1888
1888
  : undefined,
@@ -1893,8 +1893,8 @@ const deserializeAws_json1_1DetectEntitiesV2Response = (output, context) => {
1893
1893
  Entities: output.Entities !== undefined && output.Entities !== null
1894
1894
  ? deserializeAws_json1_1EntityList(output.Entities, context)
1895
1895
  : undefined,
1896
- ModelVersion: smithy_client_1.expectString(output.ModelVersion),
1897
- PaginationToken: smithy_client_1.expectString(output.PaginationToken),
1896
+ ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
1897
+ PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
1898
1898
  UnmappedAttributes: output.UnmappedAttributes !== undefined && output.UnmappedAttributes !== null
1899
1899
  ? deserializeAws_json1_1UnmappedAttributeList(output.UnmappedAttributes, context)
1900
1900
  : undefined,
@@ -1905,8 +1905,8 @@ const deserializeAws_json1_1DetectPHIResponse = (output, context) => {
1905
1905
  Entities: output.Entities !== undefined && output.Entities !== null
1906
1906
  ? deserializeAws_json1_1EntityList(output.Entities, context)
1907
1907
  : undefined,
1908
- ModelVersion: smithy_client_1.expectString(output.ModelVersion),
1909
- PaginationToken: smithy_client_1.expectString(output.PaginationToken),
1908
+ ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
1909
+ PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
1910
1910
  };
1911
1911
  };
1912
1912
  const deserializeAws_json1_1Entity = (output, context) => {
@@ -1914,16 +1914,16 @@ const deserializeAws_json1_1Entity = (output, context) => {
1914
1914
  Attributes: output.Attributes !== undefined && output.Attributes !== null
1915
1915
  ? deserializeAws_json1_1AttributeList(output.Attributes, context)
1916
1916
  : undefined,
1917
- BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
1918
- Category: smithy_client_1.expectString(output.Category),
1919
- EndOffset: smithy_client_1.expectInt32(output.EndOffset),
1920
- Id: smithy_client_1.expectInt32(output.Id),
1921
- Score: smithy_client_1.limitedParseFloat32(output.Score),
1922
- Text: smithy_client_1.expectString(output.Text),
1917
+ BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
1918
+ Category: (0, smithy_client_1.expectString)(output.Category),
1919
+ EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
1920
+ Id: (0, smithy_client_1.expectInt32)(output.Id),
1921
+ Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
1922
+ Text: (0, smithy_client_1.expectString)(output.Text),
1923
1923
  Traits: output.Traits !== undefined && output.Traits !== null
1924
1924
  ? deserializeAws_json1_1TraitList(output.Traits, context)
1925
1925
  : undefined,
1926
- Type: smithy_client_1.expectString(output.Type),
1926
+ Type: (0, smithy_client_1.expectString)(output.Type),
1927
1927
  };
1928
1928
  };
1929
1929
  const deserializeAws_json1_1EntityList = (output, context) => {
@@ -1939,18 +1939,18 @@ const deserializeAws_json1_1EntityList = (output, context) => {
1939
1939
  };
1940
1940
  const deserializeAws_json1_1ICD10CMAttribute = (output, context) => {
1941
1941
  return {
1942
- BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
1943
- Category: smithy_client_1.expectString(output.Category),
1944
- EndOffset: smithy_client_1.expectInt32(output.EndOffset),
1945
- Id: smithy_client_1.expectInt32(output.Id),
1946
- RelationshipScore: smithy_client_1.limitedParseFloat32(output.RelationshipScore),
1947
- RelationshipType: smithy_client_1.expectString(output.RelationshipType),
1948
- Score: smithy_client_1.limitedParseFloat32(output.Score),
1949
- Text: smithy_client_1.expectString(output.Text),
1942
+ BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
1943
+ Category: (0, smithy_client_1.expectString)(output.Category),
1944
+ EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
1945
+ Id: (0, smithy_client_1.expectInt32)(output.Id),
1946
+ RelationshipScore: (0, smithy_client_1.limitedParseFloat32)(output.RelationshipScore),
1947
+ RelationshipType: (0, smithy_client_1.expectString)(output.RelationshipType),
1948
+ Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
1949
+ Text: (0, smithy_client_1.expectString)(output.Text),
1950
1950
  Traits: output.Traits !== undefined && output.Traits !== null
1951
1951
  ? deserializeAws_json1_1ICD10CMTraitList(output.Traits, context)
1952
1952
  : undefined,
1953
- Type: smithy_client_1.expectString(output.Type),
1953
+ Type: (0, smithy_client_1.expectString)(output.Type),
1954
1954
  };
1955
1955
  };
1956
1956
  const deserializeAws_json1_1ICD10CMAttributeList = (output, context) => {
@@ -1966,9 +1966,9 @@ const deserializeAws_json1_1ICD10CMAttributeList = (output, context) => {
1966
1966
  };
1967
1967
  const deserializeAws_json1_1ICD10CMConcept = (output, context) => {
1968
1968
  return {
1969
- Code: smithy_client_1.expectString(output.Code),
1970
- Description: smithy_client_1.expectString(output.Description),
1971
- Score: smithy_client_1.limitedParseFloat32(output.Score),
1969
+ Code: (0, smithy_client_1.expectString)(output.Code),
1970
+ Description: (0, smithy_client_1.expectString)(output.Description),
1971
+ Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
1972
1972
  };
1973
1973
  };
1974
1974
  const deserializeAws_json1_1ICD10CMConceptList = (output, context) => {
@@ -1987,19 +1987,19 @@ const deserializeAws_json1_1ICD10CMEntity = (output, context) => {
1987
1987
  Attributes: output.Attributes !== undefined && output.Attributes !== null
1988
1988
  ? deserializeAws_json1_1ICD10CMAttributeList(output.Attributes, context)
1989
1989
  : undefined,
1990
- BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
1991
- Category: smithy_client_1.expectString(output.Category),
1992
- EndOffset: smithy_client_1.expectInt32(output.EndOffset),
1990
+ BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
1991
+ Category: (0, smithy_client_1.expectString)(output.Category),
1992
+ EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
1993
1993
  ICD10CMConcepts: output.ICD10CMConcepts !== undefined && output.ICD10CMConcepts !== null
1994
1994
  ? deserializeAws_json1_1ICD10CMConceptList(output.ICD10CMConcepts, context)
1995
1995
  : undefined,
1996
- Id: smithy_client_1.expectInt32(output.Id),
1997
- Score: smithy_client_1.limitedParseFloat32(output.Score),
1998
- Text: smithy_client_1.expectString(output.Text),
1996
+ Id: (0, smithy_client_1.expectInt32)(output.Id),
1997
+ Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
1998
+ Text: (0, smithy_client_1.expectString)(output.Text),
1999
1999
  Traits: output.Traits !== undefined && output.Traits !== null
2000
2000
  ? deserializeAws_json1_1ICD10CMTraitList(output.Traits, context)
2001
2001
  : undefined,
2002
- Type: smithy_client_1.expectString(output.Type),
2002
+ Type: (0, smithy_client_1.expectString)(output.Type),
2003
2003
  };
2004
2004
  };
2005
2005
  const deserializeAws_json1_1ICD10CMEntityList = (output, context) => {
@@ -2015,8 +2015,8 @@ const deserializeAws_json1_1ICD10CMEntityList = (output, context) => {
2015
2015
  };
2016
2016
  const deserializeAws_json1_1ICD10CMTrait = (output, context) => {
2017
2017
  return {
2018
- Name: smithy_client_1.expectString(output.Name),
2019
- Score: smithy_client_1.limitedParseFloat32(output.Score),
2018
+ Name: (0, smithy_client_1.expectString)(output.Name),
2019
+ Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
2020
2020
  };
2021
2021
  };
2022
2022
  const deserializeAws_json1_1ICD10CMTraitList = (output, context) => {
@@ -2035,8 +2035,8 @@ const deserializeAws_json1_1InferICD10CMResponse = (output, context) => {
2035
2035
  Entities: output.Entities !== undefined && output.Entities !== null
2036
2036
  ? deserializeAws_json1_1ICD10CMEntityList(output.Entities, context)
2037
2037
  : undefined,
2038
- ModelVersion: smithy_client_1.expectString(output.ModelVersion),
2039
- PaginationToken: smithy_client_1.expectString(output.PaginationToken),
2038
+ ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
2039
+ PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
2040
2040
  };
2041
2041
  };
2042
2042
  const deserializeAws_json1_1InferRxNormResponse = (output, context) => {
@@ -2044,8 +2044,8 @@ const deserializeAws_json1_1InferRxNormResponse = (output, context) => {
2044
2044
  Entities: output.Entities !== undefined && output.Entities !== null
2045
2045
  ? deserializeAws_json1_1RxNormEntityList(output.Entities, context)
2046
2046
  : undefined,
2047
- ModelVersion: smithy_client_1.expectString(output.ModelVersion),
2048
- PaginationToken: smithy_client_1.expectString(output.PaginationToken),
2047
+ ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
2048
+ PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
2049
2049
  };
2050
2050
  };
2051
2051
  const deserializeAws_json1_1InferSNOMEDCTResponse = (output, context) => {
@@ -2056,8 +2056,8 @@ const deserializeAws_json1_1InferSNOMEDCTResponse = (output, context) => {
2056
2056
  Entities: output.Entities !== undefined && output.Entities !== null
2057
2057
  ? deserializeAws_json1_1SNOMEDCTEntityList(output.Entities, context)
2058
2058
  : undefined,
2059
- ModelVersion: smithy_client_1.expectString(output.ModelVersion),
2060
- PaginationToken: smithy_client_1.expectString(output.PaginationToken),
2059
+ ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
2060
+ PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
2061
2061
  SNOMEDCTDetails: output.SNOMEDCTDetails !== undefined && output.SNOMEDCTDetails !== null
2062
2062
  ? deserializeAws_json1_1SNOMEDCTDetails(output.SNOMEDCTDetails, context)
2063
2063
  : undefined,
@@ -2065,23 +2065,23 @@ const deserializeAws_json1_1InferSNOMEDCTResponse = (output, context) => {
2065
2065
  };
2066
2066
  const deserializeAws_json1_1InputDataConfig = (output, context) => {
2067
2067
  return {
2068
- S3Bucket: smithy_client_1.expectString(output.S3Bucket),
2069
- S3Key: smithy_client_1.expectString(output.S3Key),
2068
+ S3Bucket: (0, smithy_client_1.expectString)(output.S3Bucket),
2069
+ S3Key: (0, smithy_client_1.expectString)(output.S3Key),
2070
2070
  };
2071
2071
  };
2072
2072
  const deserializeAws_json1_1InternalServerException = (output, context) => {
2073
2073
  return {
2074
- Message: smithy_client_1.expectString(output.Message),
2074
+ Message: (0, smithy_client_1.expectString)(output.Message),
2075
2075
  };
2076
2076
  };
2077
2077
  const deserializeAws_json1_1InvalidEncodingException = (output, context) => {
2078
2078
  return {
2079
- Message: smithy_client_1.expectString(output.Message),
2079
+ Message: (0, smithy_client_1.expectString)(output.Message),
2080
2080
  };
2081
2081
  };
2082
2082
  const deserializeAws_json1_1InvalidRequestException = (output, context) => {
2083
2083
  return {
2084
- Message: smithy_client_1.expectString(output.Message),
2084
+ Message: (0, smithy_client_1.expectString)(output.Message),
2085
2085
  };
2086
2086
  };
2087
2087
  const deserializeAws_json1_1ListEntitiesDetectionV2JobsResponse = (output, context) => {
@@ -2090,7 +2090,7 @@ const deserializeAws_json1_1ListEntitiesDetectionV2JobsResponse = (output, conte
2090
2090
  output.ComprehendMedicalAsyncJobPropertiesList !== null
2091
2091
  ? deserializeAws_json1_1ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
2092
2092
  : undefined,
2093
- NextToken: smithy_client_1.expectString(output.NextToken),
2093
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2094
2094
  };
2095
2095
  };
2096
2096
  const deserializeAws_json1_1ListICD10CMInferenceJobsResponse = (output, context) => {
@@ -2099,7 +2099,7 @@ const deserializeAws_json1_1ListICD10CMInferenceJobsResponse = (output, context)
2099
2099
  output.ComprehendMedicalAsyncJobPropertiesList !== null
2100
2100
  ? deserializeAws_json1_1ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
2101
2101
  : undefined,
2102
- NextToken: smithy_client_1.expectString(output.NextToken),
2102
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2103
2103
  };
2104
2104
  };
2105
2105
  const deserializeAws_json1_1ListPHIDetectionJobsResponse = (output, context) => {
@@ -2108,7 +2108,7 @@ const deserializeAws_json1_1ListPHIDetectionJobsResponse = (output, context) =>
2108
2108
  output.ComprehendMedicalAsyncJobPropertiesList !== null
2109
2109
  ? deserializeAws_json1_1ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
2110
2110
  : undefined,
2111
- NextToken: smithy_client_1.expectString(output.NextToken),
2111
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2112
2112
  };
2113
2113
  };
2114
2114
  const deserializeAws_json1_1ListRxNormInferenceJobsResponse = (output, context) => {
@@ -2117,7 +2117,7 @@ const deserializeAws_json1_1ListRxNormInferenceJobsResponse = (output, context)
2117
2117
  output.ComprehendMedicalAsyncJobPropertiesList !== null
2118
2118
  ? deserializeAws_json1_1ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
2119
2119
  : undefined,
2120
- NextToken: smithy_client_1.expectString(output.NextToken),
2120
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2121
2121
  };
2122
2122
  };
2123
2123
  const deserializeAws_json1_1ListSNOMEDCTInferenceJobsResponse = (output, context) => {
@@ -2126,32 +2126,32 @@ const deserializeAws_json1_1ListSNOMEDCTInferenceJobsResponse = (output, context
2126
2126
  output.ComprehendMedicalAsyncJobPropertiesList !== null
2127
2127
  ? deserializeAws_json1_1ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
2128
2128
  : undefined,
2129
- NextToken: smithy_client_1.expectString(output.NextToken),
2129
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2130
2130
  };
2131
2131
  };
2132
2132
  const deserializeAws_json1_1OutputDataConfig = (output, context) => {
2133
2133
  return {
2134
- S3Bucket: smithy_client_1.expectString(output.S3Bucket),
2135
- S3Key: smithy_client_1.expectString(output.S3Key),
2134
+ S3Bucket: (0, smithy_client_1.expectString)(output.S3Bucket),
2135
+ S3Key: (0, smithy_client_1.expectString)(output.S3Key),
2136
2136
  };
2137
2137
  };
2138
2138
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
2139
2139
  return {
2140
- Message: smithy_client_1.expectString(output.Message),
2140
+ Message: (0, smithy_client_1.expectString)(output.Message),
2141
2141
  };
2142
2142
  };
2143
2143
  const deserializeAws_json1_1RxNormAttribute = (output, context) => {
2144
2144
  return {
2145
- BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
2146
- EndOffset: smithy_client_1.expectInt32(output.EndOffset),
2147
- Id: smithy_client_1.expectInt32(output.Id),
2148
- RelationshipScore: smithy_client_1.limitedParseFloat32(output.RelationshipScore),
2149
- Score: smithy_client_1.limitedParseFloat32(output.Score),
2150
- Text: smithy_client_1.expectString(output.Text),
2145
+ BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
2146
+ EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
2147
+ Id: (0, smithy_client_1.expectInt32)(output.Id),
2148
+ RelationshipScore: (0, smithy_client_1.limitedParseFloat32)(output.RelationshipScore),
2149
+ Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
2150
+ Text: (0, smithy_client_1.expectString)(output.Text),
2151
2151
  Traits: output.Traits !== undefined && output.Traits !== null
2152
2152
  ? deserializeAws_json1_1RxNormTraitList(output.Traits, context)
2153
2153
  : undefined,
2154
- Type: smithy_client_1.expectString(output.Type),
2154
+ Type: (0, smithy_client_1.expectString)(output.Type),
2155
2155
  };
2156
2156
  };
2157
2157
  const deserializeAws_json1_1RxNormAttributeList = (output, context) => {
@@ -2167,9 +2167,9 @@ const deserializeAws_json1_1RxNormAttributeList = (output, context) => {
2167
2167
  };
2168
2168
  const deserializeAws_json1_1RxNormConcept = (output, context) => {
2169
2169
  return {
2170
- Code: smithy_client_1.expectString(output.Code),
2171
- Description: smithy_client_1.expectString(output.Description),
2172
- Score: smithy_client_1.limitedParseFloat32(output.Score),
2170
+ Code: (0, smithy_client_1.expectString)(output.Code),
2171
+ Description: (0, smithy_client_1.expectString)(output.Description),
2172
+ Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
2173
2173
  };
2174
2174
  };
2175
2175
  const deserializeAws_json1_1RxNormConceptList = (output, context) => {
@@ -2188,19 +2188,19 @@ const deserializeAws_json1_1RxNormEntity = (output, context) => {
2188
2188
  Attributes: output.Attributes !== undefined && output.Attributes !== null
2189
2189
  ? deserializeAws_json1_1RxNormAttributeList(output.Attributes, context)
2190
2190
  : undefined,
2191
- BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
2192
- Category: smithy_client_1.expectString(output.Category),
2193
- EndOffset: smithy_client_1.expectInt32(output.EndOffset),
2194
- Id: smithy_client_1.expectInt32(output.Id),
2191
+ BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
2192
+ Category: (0, smithy_client_1.expectString)(output.Category),
2193
+ EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
2194
+ Id: (0, smithy_client_1.expectInt32)(output.Id),
2195
2195
  RxNormConcepts: output.RxNormConcepts !== undefined && output.RxNormConcepts !== null
2196
2196
  ? deserializeAws_json1_1RxNormConceptList(output.RxNormConcepts, context)
2197
2197
  : undefined,
2198
- Score: smithy_client_1.limitedParseFloat32(output.Score),
2199
- Text: smithy_client_1.expectString(output.Text),
2198
+ Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
2199
+ Text: (0, smithy_client_1.expectString)(output.Text),
2200
2200
  Traits: output.Traits !== undefined && output.Traits !== null
2201
2201
  ? deserializeAws_json1_1RxNormTraitList(output.Traits, context)
2202
2202
  : undefined,
2203
- Type: smithy_client_1.expectString(output.Type),
2203
+ Type: (0, smithy_client_1.expectString)(output.Type),
2204
2204
  };
2205
2205
  };
2206
2206
  const deserializeAws_json1_1RxNormEntityList = (output, context) => {
@@ -2216,8 +2216,8 @@ const deserializeAws_json1_1RxNormEntityList = (output, context) => {
2216
2216
  };
2217
2217
  const deserializeAws_json1_1RxNormTrait = (output, context) => {
2218
2218
  return {
2219
- Name: smithy_client_1.expectString(output.Name),
2220
- Score: smithy_client_1.limitedParseFloat32(output.Score),
2219
+ Name: (0, smithy_client_1.expectString)(output.Name),
2220
+ Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
2221
2221
  };
2222
2222
  };
2223
2223
  const deserializeAws_json1_1RxNormTraitList = (output, context) => {
@@ -2233,26 +2233,26 @@ const deserializeAws_json1_1RxNormTraitList = (output, context) => {
2233
2233
  };
2234
2234
  const deserializeAws_json1_1ServiceUnavailableException = (output, context) => {
2235
2235
  return {
2236
- Message: smithy_client_1.expectString(output.Message),
2236
+ Message: (0, smithy_client_1.expectString)(output.Message),
2237
2237
  };
2238
2238
  };
2239
2239
  const deserializeAws_json1_1SNOMEDCTAttribute = (output, context) => {
2240
2240
  return {
2241
- BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
2242
- Category: smithy_client_1.expectString(output.Category),
2243
- EndOffset: smithy_client_1.expectInt32(output.EndOffset),
2244
- Id: smithy_client_1.expectInt32(output.Id),
2245
- RelationshipScore: smithy_client_1.limitedParseFloat32(output.RelationshipScore),
2246
- RelationshipType: smithy_client_1.expectString(output.RelationshipType),
2241
+ BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
2242
+ Category: (0, smithy_client_1.expectString)(output.Category),
2243
+ EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
2244
+ Id: (0, smithy_client_1.expectInt32)(output.Id),
2245
+ RelationshipScore: (0, smithy_client_1.limitedParseFloat32)(output.RelationshipScore),
2246
+ RelationshipType: (0, smithy_client_1.expectString)(output.RelationshipType),
2247
2247
  SNOMEDCTConcepts: output.SNOMEDCTConcepts !== undefined && output.SNOMEDCTConcepts !== null
2248
2248
  ? deserializeAws_json1_1SNOMEDCTConceptList(output.SNOMEDCTConcepts, context)
2249
2249
  : undefined,
2250
- Score: smithy_client_1.limitedParseFloat32(output.Score),
2251
- Text: smithy_client_1.expectString(output.Text),
2250
+ Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
2251
+ Text: (0, smithy_client_1.expectString)(output.Text),
2252
2252
  Traits: output.Traits !== undefined && output.Traits !== null
2253
2253
  ? deserializeAws_json1_1SNOMEDCTTraitList(output.Traits, context)
2254
2254
  : undefined,
2255
- Type: smithy_client_1.expectString(output.Type),
2255
+ Type: (0, smithy_client_1.expectString)(output.Type),
2256
2256
  };
2257
2257
  };
2258
2258
  const deserializeAws_json1_1SNOMEDCTAttributeList = (output, context) => {
@@ -2268,9 +2268,9 @@ const deserializeAws_json1_1SNOMEDCTAttributeList = (output, context) => {
2268
2268
  };
2269
2269
  const deserializeAws_json1_1SNOMEDCTConcept = (output, context) => {
2270
2270
  return {
2271
- Code: smithy_client_1.expectString(output.Code),
2272
- Description: smithy_client_1.expectString(output.Description),
2273
- Score: smithy_client_1.limitedParseFloat32(output.Score),
2271
+ Code: (0, smithy_client_1.expectString)(output.Code),
2272
+ Description: (0, smithy_client_1.expectString)(output.Description),
2273
+ Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
2274
2274
  };
2275
2275
  };
2276
2276
  const deserializeAws_json1_1SNOMEDCTConceptList = (output, context) => {
@@ -2286,9 +2286,9 @@ const deserializeAws_json1_1SNOMEDCTConceptList = (output, context) => {
2286
2286
  };
2287
2287
  const deserializeAws_json1_1SNOMEDCTDetails = (output, context) => {
2288
2288
  return {
2289
- Edition: smithy_client_1.expectString(output.Edition),
2290
- Language: smithy_client_1.expectString(output.Language),
2291
- VersionDate: smithy_client_1.expectString(output.VersionDate),
2289
+ Edition: (0, smithy_client_1.expectString)(output.Edition),
2290
+ Language: (0, smithy_client_1.expectString)(output.Language),
2291
+ VersionDate: (0, smithy_client_1.expectString)(output.VersionDate),
2292
2292
  };
2293
2293
  };
2294
2294
  const deserializeAws_json1_1SNOMEDCTEntity = (output, context) => {
@@ -2296,19 +2296,19 @@ const deserializeAws_json1_1SNOMEDCTEntity = (output, context) => {
2296
2296
  Attributes: output.Attributes !== undefined && output.Attributes !== null
2297
2297
  ? deserializeAws_json1_1SNOMEDCTAttributeList(output.Attributes, context)
2298
2298
  : undefined,
2299
- BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
2300
- Category: smithy_client_1.expectString(output.Category),
2301
- EndOffset: smithy_client_1.expectInt32(output.EndOffset),
2302
- Id: smithy_client_1.expectInt32(output.Id),
2299
+ BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
2300
+ Category: (0, smithy_client_1.expectString)(output.Category),
2301
+ EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
2302
+ Id: (0, smithy_client_1.expectInt32)(output.Id),
2303
2303
  SNOMEDCTConcepts: output.SNOMEDCTConcepts !== undefined && output.SNOMEDCTConcepts !== null
2304
2304
  ? deserializeAws_json1_1SNOMEDCTConceptList(output.SNOMEDCTConcepts, context)
2305
2305
  : undefined,
2306
- Score: smithy_client_1.limitedParseFloat32(output.Score),
2307
- Text: smithy_client_1.expectString(output.Text),
2306
+ Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
2307
+ Text: (0, smithy_client_1.expectString)(output.Text),
2308
2308
  Traits: output.Traits !== undefined && output.Traits !== null
2309
2309
  ? deserializeAws_json1_1SNOMEDCTTraitList(output.Traits, context)
2310
2310
  : undefined,
2311
- Type: smithy_client_1.expectString(output.Type),
2311
+ Type: (0, smithy_client_1.expectString)(output.Type),
2312
2312
  };
2313
2313
  };
2314
2314
  const deserializeAws_json1_1SNOMEDCTEntityList = (output, context) => {
@@ -2324,8 +2324,8 @@ const deserializeAws_json1_1SNOMEDCTEntityList = (output, context) => {
2324
2324
  };
2325
2325
  const deserializeAws_json1_1SNOMEDCTTrait = (output, context) => {
2326
2326
  return {
2327
- Name: smithy_client_1.expectString(output.Name),
2328
- Score: smithy_client_1.limitedParseFloat32(output.Score),
2327
+ Name: (0, smithy_client_1.expectString)(output.Name),
2328
+ Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
2329
2329
  };
2330
2330
  };
2331
2331
  const deserializeAws_json1_1SNOMEDCTTraitList = (output, context) => {
@@ -2341,68 +2341,68 @@ const deserializeAws_json1_1SNOMEDCTTraitList = (output, context) => {
2341
2341
  };
2342
2342
  const deserializeAws_json1_1StartEntitiesDetectionV2JobResponse = (output, context) => {
2343
2343
  return {
2344
- JobId: smithy_client_1.expectString(output.JobId),
2344
+ JobId: (0, smithy_client_1.expectString)(output.JobId),
2345
2345
  };
2346
2346
  };
2347
2347
  const deserializeAws_json1_1StartICD10CMInferenceJobResponse = (output, context) => {
2348
2348
  return {
2349
- JobId: smithy_client_1.expectString(output.JobId),
2349
+ JobId: (0, smithy_client_1.expectString)(output.JobId),
2350
2350
  };
2351
2351
  };
2352
2352
  const deserializeAws_json1_1StartPHIDetectionJobResponse = (output, context) => {
2353
2353
  return {
2354
- JobId: smithy_client_1.expectString(output.JobId),
2354
+ JobId: (0, smithy_client_1.expectString)(output.JobId),
2355
2355
  };
2356
2356
  };
2357
2357
  const deserializeAws_json1_1StartRxNormInferenceJobResponse = (output, context) => {
2358
2358
  return {
2359
- JobId: smithy_client_1.expectString(output.JobId),
2359
+ JobId: (0, smithy_client_1.expectString)(output.JobId),
2360
2360
  };
2361
2361
  };
2362
2362
  const deserializeAws_json1_1StartSNOMEDCTInferenceJobResponse = (output, context) => {
2363
2363
  return {
2364
- JobId: smithy_client_1.expectString(output.JobId),
2364
+ JobId: (0, smithy_client_1.expectString)(output.JobId),
2365
2365
  };
2366
2366
  };
2367
2367
  const deserializeAws_json1_1StopEntitiesDetectionV2JobResponse = (output, context) => {
2368
2368
  return {
2369
- JobId: smithy_client_1.expectString(output.JobId),
2369
+ JobId: (0, smithy_client_1.expectString)(output.JobId),
2370
2370
  };
2371
2371
  };
2372
2372
  const deserializeAws_json1_1StopICD10CMInferenceJobResponse = (output, context) => {
2373
2373
  return {
2374
- JobId: smithy_client_1.expectString(output.JobId),
2374
+ JobId: (0, smithy_client_1.expectString)(output.JobId),
2375
2375
  };
2376
2376
  };
2377
2377
  const deserializeAws_json1_1StopPHIDetectionJobResponse = (output, context) => {
2378
2378
  return {
2379
- JobId: smithy_client_1.expectString(output.JobId),
2379
+ JobId: (0, smithy_client_1.expectString)(output.JobId),
2380
2380
  };
2381
2381
  };
2382
2382
  const deserializeAws_json1_1StopRxNormInferenceJobResponse = (output, context) => {
2383
2383
  return {
2384
- JobId: smithy_client_1.expectString(output.JobId),
2384
+ JobId: (0, smithy_client_1.expectString)(output.JobId),
2385
2385
  };
2386
2386
  };
2387
2387
  const deserializeAws_json1_1StopSNOMEDCTInferenceJobResponse = (output, context) => {
2388
2388
  return {
2389
- JobId: smithy_client_1.expectString(output.JobId),
2389
+ JobId: (0, smithy_client_1.expectString)(output.JobId),
2390
2390
  };
2391
2391
  };
2392
2392
  const deserializeAws_json1_1TextSizeLimitExceededException = (output, context) => {
2393
2393
  return {
2394
- Message: smithy_client_1.expectString(output.Message),
2394
+ Message: (0, smithy_client_1.expectString)(output.Message),
2395
2395
  };
2396
2396
  };
2397
2397
  const deserializeAws_json1_1TooManyRequestsException = (output, context) => {
2398
2398
  return {
2399
- Message: smithy_client_1.expectString(output.Message),
2399
+ Message: (0, smithy_client_1.expectString)(output.Message),
2400
2400
  };
2401
2401
  };
2402
2402
  const deserializeAws_json1_1Trait = (output, context) => {
2403
2403
  return {
2404
- Name: smithy_client_1.expectString(output.Name),
2405
- Score: smithy_client_1.limitedParseFloat32(output.Score),
2404
+ Name: (0, smithy_client_1.expectString)(output.Name),
2405
+ Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
2406
2406
  };
2407
2407
  };
2408
2408
  const deserializeAws_json1_1TraitList = (output, context) => {
@@ -2421,7 +2421,7 @@ const deserializeAws_json1_1UnmappedAttribute = (output, context) => {
2421
2421
  Attribute: output.Attribute !== undefined && output.Attribute !== null
2422
2422
  ? deserializeAws_json1_1Attribute(output.Attribute, context)
2423
2423
  : undefined,
2424
- Type: smithy_client_1.expectString(output.Type),
2424
+ Type: (0, smithy_client_1.expectString)(output.Type),
2425
2425
  };
2426
2426
  };
2427
2427
  const deserializeAws_json1_1UnmappedAttributeList = (output, context) => {
@@ -2437,7 +2437,7 @@ const deserializeAws_json1_1UnmappedAttributeList = (output, context) => {
2437
2437
  };
2438
2438
  const deserializeAws_json1_1ValidationException = (output, context) => {
2439
2439
  return {
2440
- Message: smithy_client_1.expectString(output.Message),
2440
+ Message: (0, smithy_client_1.expectString)(output.Message),
2441
2441
  };
2442
2442
  };
2443
2443
  const deserializeMetadata = (output) => {