@aws-sdk/client-comprehendmedical 3.121.0 → 3.127.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.
- package/CHANGELOG.md +8 -0
- package/dist-cjs/protocols/Aws_json1_1.js +111 -182
- package/dist-es/protocols/Aws_json1_1.js +76 -147
- package/package.json +26 -26
|
@@ -1561,136 +1561,126 @@ const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, c
|
|
|
1561
1561
|
};
|
|
1562
1562
|
const serializeAws_json1_1ComprehendMedicalAsyncJobFilter = (input, context) => {
|
|
1563
1563
|
return {
|
|
1564
|
-
...(input.JobName
|
|
1565
|
-
...(input.JobStatus
|
|
1566
|
-
...(input.SubmitTimeAfter
|
|
1567
|
-
|
|
1568
|
-
...(input.SubmitTimeBefore !== undefined &&
|
|
1569
|
-
input.SubmitTimeBefore !== null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
1564
|
+
...(input.JobName != null && { JobName: input.JobName }),
|
|
1565
|
+
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
1566
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
1567
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
1570
1568
|
};
|
|
1571
1569
|
};
|
|
1572
1570
|
const serializeAws_json1_1DescribeEntitiesDetectionV2JobRequest = (input, context) => {
|
|
1573
1571
|
return {
|
|
1574
|
-
...(input.JobId
|
|
1572
|
+
...(input.JobId != null && { JobId: input.JobId }),
|
|
1575
1573
|
};
|
|
1576
1574
|
};
|
|
1577
1575
|
const serializeAws_json1_1DescribeICD10CMInferenceJobRequest = (input, context) => {
|
|
1578
1576
|
return {
|
|
1579
|
-
...(input.JobId
|
|
1577
|
+
...(input.JobId != null && { JobId: input.JobId }),
|
|
1580
1578
|
};
|
|
1581
1579
|
};
|
|
1582
1580
|
const serializeAws_json1_1DescribePHIDetectionJobRequest = (input, context) => {
|
|
1583
1581
|
return {
|
|
1584
|
-
...(input.JobId
|
|
1582
|
+
...(input.JobId != null && { JobId: input.JobId }),
|
|
1585
1583
|
};
|
|
1586
1584
|
};
|
|
1587
1585
|
const serializeAws_json1_1DescribeRxNormInferenceJobRequest = (input, context) => {
|
|
1588
1586
|
return {
|
|
1589
|
-
...(input.JobId
|
|
1587
|
+
...(input.JobId != null && { JobId: input.JobId }),
|
|
1590
1588
|
};
|
|
1591
1589
|
};
|
|
1592
1590
|
const serializeAws_json1_1DescribeSNOMEDCTInferenceJobRequest = (input, context) => {
|
|
1593
1591
|
return {
|
|
1594
|
-
...(input.JobId
|
|
1592
|
+
...(input.JobId != null && { JobId: input.JobId }),
|
|
1595
1593
|
};
|
|
1596
1594
|
};
|
|
1597
1595
|
const serializeAws_json1_1DetectEntitiesRequest = (input, context) => {
|
|
1598
1596
|
return {
|
|
1599
|
-
...(input.Text
|
|
1597
|
+
...(input.Text != null && { Text: input.Text }),
|
|
1600
1598
|
};
|
|
1601
1599
|
};
|
|
1602
1600
|
const serializeAws_json1_1DetectEntitiesV2Request = (input, context) => {
|
|
1603
1601
|
return {
|
|
1604
|
-
...(input.Text
|
|
1602
|
+
...(input.Text != null && { Text: input.Text }),
|
|
1605
1603
|
};
|
|
1606
1604
|
};
|
|
1607
1605
|
const serializeAws_json1_1DetectPHIRequest = (input, context) => {
|
|
1608
1606
|
return {
|
|
1609
|
-
...(input.Text
|
|
1607
|
+
...(input.Text != null && { Text: input.Text }),
|
|
1610
1608
|
};
|
|
1611
1609
|
};
|
|
1612
1610
|
const serializeAws_json1_1InferICD10CMRequest = (input, context) => {
|
|
1613
1611
|
return {
|
|
1614
|
-
...(input.Text
|
|
1612
|
+
...(input.Text != null && { Text: input.Text }),
|
|
1615
1613
|
};
|
|
1616
1614
|
};
|
|
1617
1615
|
const serializeAws_json1_1InferRxNormRequest = (input, context) => {
|
|
1618
1616
|
return {
|
|
1619
|
-
...(input.Text
|
|
1617
|
+
...(input.Text != null && { Text: input.Text }),
|
|
1620
1618
|
};
|
|
1621
1619
|
};
|
|
1622
1620
|
const serializeAws_json1_1InferSNOMEDCTRequest = (input, context) => {
|
|
1623
1621
|
return {
|
|
1624
|
-
...(input.Text
|
|
1622
|
+
...(input.Text != null && { Text: input.Text }),
|
|
1625
1623
|
};
|
|
1626
1624
|
};
|
|
1627
1625
|
const serializeAws_json1_1InputDataConfig = (input, context) => {
|
|
1628
1626
|
return {
|
|
1629
|
-
...(input.S3Bucket
|
|
1630
|
-
...(input.S3Key
|
|
1627
|
+
...(input.S3Bucket != null && { S3Bucket: input.S3Bucket }),
|
|
1628
|
+
...(input.S3Key != null && { S3Key: input.S3Key }),
|
|
1631
1629
|
};
|
|
1632
1630
|
};
|
|
1633
1631
|
const serializeAws_json1_1ListEntitiesDetectionV2JobsRequest = (input, context) => {
|
|
1634
1632
|
return {
|
|
1635
|
-
...(input.Filter
|
|
1636
|
-
|
|
1637
|
-
...(input.
|
|
1638
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
1633
|
+
...(input.Filter != null && { Filter: serializeAws_json1_1ComprehendMedicalAsyncJobFilter(input.Filter, context) }),
|
|
1634
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1635
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1639
1636
|
};
|
|
1640
1637
|
};
|
|
1641
1638
|
const serializeAws_json1_1ListICD10CMInferenceJobsRequest = (input, context) => {
|
|
1642
1639
|
return {
|
|
1643
|
-
...(input.Filter
|
|
1644
|
-
|
|
1645
|
-
...(input.
|
|
1646
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
1640
|
+
...(input.Filter != null && { Filter: serializeAws_json1_1ComprehendMedicalAsyncJobFilter(input.Filter, context) }),
|
|
1641
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1642
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1647
1643
|
};
|
|
1648
1644
|
};
|
|
1649
1645
|
const serializeAws_json1_1ListPHIDetectionJobsRequest = (input, context) => {
|
|
1650
1646
|
return {
|
|
1651
|
-
...(input.Filter
|
|
1652
|
-
|
|
1653
|
-
...(input.
|
|
1654
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
1647
|
+
...(input.Filter != null && { Filter: serializeAws_json1_1ComprehendMedicalAsyncJobFilter(input.Filter, context) }),
|
|
1648
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1649
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1655
1650
|
};
|
|
1656
1651
|
};
|
|
1657
1652
|
const serializeAws_json1_1ListRxNormInferenceJobsRequest = (input, context) => {
|
|
1658
1653
|
return {
|
|
1659
|
-
...(input.Filter
|
|
1660
|
-
|
|
1661
|
-
...(input.
|
|
1662
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
1654
|
+
...(input.Filter != null && { Filter: serializeAws_json1_1ComprehendMedicalAsyncJobFilter(input.Filter, context) }),
|
|
1655
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1656
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1663
1657
|
};
|
|
1664
1658
|
};
|
|
1665
1659
|
const serializeAws_json1_1ListSNOMEDCTInferenceJobsRequest = (input, context) => {
|
|
1666
1660
|
return {
|
|
1667
|
-
...(input.Filter
|
|
1668
|
-
|
|
1669
|
-
...(input.
|
|
1670
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
1661
|
+
...(input.Filter != null && { Filter: serializeAws_json1_1ComprehendMedicalAsyncJobFilter(input.Filter, context) }),
|
|
1662
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1663
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1671
1664
|
};
|
|
1672
1665
|
};
|
|
1673
1666
|
const serializeAws_json1_1OutputDataConfig = (input, context) => {
|
|
1674
1667
|
return {
|
|
1675
|
-
...(input.S3Bucket
|
|
1676
|
-
...(input.S3Key
|
|
1668
|
+
...(input.S3Bucket != null && { S3Bucket: input.S3Bucket }),
|
|
1669
|
+
...(input.S3Key != null && { S3Key: input.S3Key }),
|
|
1677
1670
|
};
|
|
1678
1671
|
};
|
|
1679
1672
|
const serializeAws_json1_1StartEntitiesDetectionV2JobRequest = (input, context) => {
|
|
1680
1673
|
var _a;
|
|
1681
1674
|
return {
|
|
1682
1675
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1683
|
-
...(input.DataAccessRoleArn
|
|
1684
|
-
|
|
1685
|
-
...(input.InputDataConfig !== undefined &&
|
|
1686
|
-
input.InputDataConfig !== null && {
|
|
1676
|
+
...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
1677
|
+
...(input.InputDataConfig != null && {
|
|
1687
1678
|
InputDataConfig: serializeAws_json1_1InputDataConfig(input.InputDataConfig, context),
|
|
1688
1679
|
}),
|
|
1689
|
-
...(input.JobName
|
|
1690
|
-
...(input.KMSKey
|
|
1691
|
-
...(input.LanguageCode
|
|
1692
|
-
...(input.OutputDataConfig
|
|
1693
|
-
input.OutputDataConfig !== null && {
|
|
1680
|
+
...(input.JobName != null && { JobName: input.JobName }),
|
|
1681
|
+
...(input.KMSKey != null && { KMSKey: input.KMSKey }),
|
|
1682
|
+
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
1683
|
+
...(input.OutputDataConfig != null && {
|
|
1694
1684
|
OutputDataConfig: serializeAws_json1_1OutputDataConfig(input.OutputDataConfig, context),
|
|
1695
1685
|
}),
|
|
1696
1686
|
};
|
|
@@ -1699,17 +1689,14 @@ const serializeAws_json1_1StartICD10CMInferenceJobRequest = (input, context) =>
|
|
|
1699
1689
|
var _a;
|
|
1700
1690
|
return {
|
|
1701
1691
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1702
|
-
...(input.DataAccessRoleArn
|
|
1703
|
-
|
|
1704
|
-
...(input.InputDataConfig !== undefined &&
|
|
1705
|
-
input.InputDataConfig !== null && {
|
|
1692
|
+
...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
1693
|
+
...(input.InputDataConfig != null && {
|
|
1706
1694
|
InputDataConfig: serializeAws_json1_1InputDataConfig(input.InputDataConfig, context),
|
|
1707
1695
|
}),
|
|
1708
|
-
...(input.JobName
|
|
1709
|
-
...(input.KMSKey
|
|
1710
|
-
...(input.LanguageCode
|
|
1711
|
-
...(input.OutputDataConfig
|
|
1712
|
-
input.OutputDataConfig !== null && {
|
|
1696
|
+
...(input.JobName != null && { JobName: input.JobName }),
|
|
1697
|
+
...(input.KMSKey != null && { KMSKey: input.KMSKey }),
|
|
1698
|
+
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
1699
|
+
...(input.OutputDataConfig != null && {
|
|
1713
1700
|
OutputDataConfig: serializeAws_json1_1OutputDataConfig(input.OutputDataConfig, context),
|
|
1714
1701
|
}),
|
|
1715
1702
|
};
|
|
@@ -1718,17 +1705,14 @@ const serializeAws_json1_1StartPHIDetectionJobRequest = (input, context) => {
|
|
|
1718
1705
|
var _a;
|
|
1719
1706
|
return {
|
|
1720
1707
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1721
|
-
...(input.DataAccessRoleArn
|
|
1722
|
-
|
|
1723
|
-
...(input.InputDataConfig !== undefined &&
|
|
1724
|
-
input.InputDataConfig !== null && {
|
|
1708
|
+
...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
1709
|
+
...(input.InputDataConfig != null && {
|
|
1725
1710
|
InputDataConfig: serializeAws_json1_1InputDataConfig(input.InputDataConfig, context),
|
|
1726
1711
|
}),
|
|
1727
|
-
...(input.JobName
|
|
1728
|
-
...(input.KMSKey
|
|
1729
|
-
...(input.LanguageCode
|
|
1730
|
-
...(input.OutputDataConfig
|
|
1731
|
-
input.OutputDataConfig !== null && {
|
|
1712
|
+
...(input.JobName != null && { JobName: input.JobName }),
|
|
1713
|
+
...(input.KMSKey != null && { KMSKey: input.KMSKey }),
|
|
1714
|
+
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
1715
|
+
...(input.OutputDataConfig != null && {
|
|
1732
1716
|
OutputDataConfig: serializeAws_json1_1OutputDataConfig(input.OutputDataConfig, context),
|
|
1733
1717
|
}),
|
|
1734
1718
|
};
|
|
@@ -1737,17 +1721,14 @@ const serializeAws_json1_1StartRxNormInferenceJobRequest = (input, context) => {
|
|
|
1737
1721
|
var _a;
|
|
1738
1722
|
return {
|
|
1739
1723
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1740
|
-
...(input.DataAccessRoleArn
|
|
1741
|
-
|
|
1742
|
-
...(input.InputDataConfig !== undefined &&
|
|
1743
|
-
input.InputDataConfig !== null && {
|
|
1724
|
+
...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
1725
|
+
...(input.InputDataConfig != null && {
|
|
1744
1726
|
InputDataConfig: serializeAws_json1_1InputDataConfig(input.InputDataConfig, context),
|
|
1745
1727
|
}),
|
|
1746
|
-
...(input.JobName
|
|
1747
|
-
...(input.KMSKey
|
|
1748
|
-
...(input.LanguageCode
|
|
1749
|
-
...(input.OutputDataConfig
|
|
1750
|
-
input.OutputDataConfig !== null && {
|
|
1728
|
+
...(input.JobName != null && { JobName: input.JobName }),
|
|
1729
|
+
...(input.KMSKey != null && { KMSKey: input.KMSKey }),
|
|
1730
|
+
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
1731
|
+
...(input.OutputDataConfig != null && {
|
|
1751
1732
|
OutputDataConfig: serializeAws_json1_1OutputDataConfig(input.OutputDataConfig, context),
|
|
1752
1733
|
}),
|
|
1753
1734
|
};
|
|
@@ -1756,44 +1737,41 @@ const serializeAws_json1_1StartSNOMEDCTInferenceJobRequest = (input, context) =>
|
|
|
1756
1737
|
var _a;
|
|
1757
1738
|
return {
|
|
1758
1739
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1759
|
-
...(input.DataAccessRoleArn
|
|
1760
|
-
|
|
1761
|
-
...(input.InputDataConfig !== undefined &&
|
|
1762
|
-
input.InputDataConfig !== null && {
|
|
1740
|
+
...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
1741
|
+
...(input.InputDataConfig != null && {
|
|
1763
1742
|
InputDataConfig: serializeAws_json1_1InputDataConfig(input.InputDataConfig, context),
|
|
1764
1743
|
}),
|
|
1765
|
-
...(input.JobName
|
|
1766
|
-
...(input.KMSKey
|
|
1767
|
-
...(input.LanguageCode
|
|
1768
|
-
...(input.OutputDataConfig
|
|
1769
|
-
input.OutputDataConfig !== null && {
|
|
1744
|
+
...(input.JobName != null && { JobName: input.JobName }),
|
|
1745
|
+
...(input.KMSKey != null && { KMSKey: input.KMSKey }),
|
|
1746
|
+
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
1747
|
+
...(input.OutputDataConfig != null && {
|
|
1770
1748
|
OutputDataConfig: serializeAws_json1_1OutputDataConfig(input.OutputDataConfig, context),
|
|
1771
1749
|
}),
|
|
1772
1750
|
};
|
|
1773
1751
|
};
|
|
1774
1752
|
const serializeAws_json1_1StopEntitiesDetectionV2JobRequest = (input, context) => {
|
|
1775
1753
|
return {
|
|
1776
|
-
...(input.JobId
|
|
1754
|
+
...(input.JobId != null && { JobId: input.JobId }),
|
|
1777
1755
|
};
|
|
1778
1756
|
};
|
|
1779
1757
|
const serializeAws_json1_1StopICD10CMInferenceJobRequest = (input, context) => {
|
|
1780
1758
|
return {
|
|
1781
|
-
...(input.JobId
|
|
1759
|
+
...(input.JobId != null && { JobId: input.JobId }),
|
|
1782
1760
|
};
|
|
1783
1761
|
};
|
|
1784
1762
|
const serializeAws_json1_1StopPHIDetectionJobRequest = (input, context) => {
|
|
1785
1763
|
return {
|
|
1786
|
-
...(input.JobId
|
|
1764
|
+
...(input.JobId != null && { JobId: input.JobId }),
|
|
1787
1765
|
};
|
|
1788
1766
|
};
|
|
1789
1767
|
const serializeAws_json1_1StopRxNormInferenceJobRequest = (input, context) => {
|
|
1790
1768
|
return {
|
|
1791
|
-
...(input.JobId
|
|
1769
|
+
...(input.JobId != null && { JobId: input.JobId }),
|
|
1792
1770
|
};
|
|
1793
1771
|
};
|
|
1794
1772
|
const serializeAws_json1_1StopSNOMEDCTInferenceJobRequest = (input, context) => {
|
|
1795
1773
|
return {
|
|
1796
|
-
...(input.JobId
|
|
1774
|
+
...(input.JobId != null && { JobId: input.JobId }),
|
|
1797
1775
|
};
|
|
1798
1776
|
};
|
|
1799
1777
|
const deserializeAws_json1_1Attribute = (output, context) => {
|
|
@@ -1806,9 +1784,7 @@ const deserializeAws_json1_1Attribute = (output, context) => {
|
|
|
1806
1784
|
RelationshipType: (0, smithy_client_1.expectString)(output.RelationshipType),
|
|
1807
1785
|
Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
|
|
1808
1786
|
Text: (0, smithy_client_1.expectString)(output.Text),
|
|
1809
|
-
Traits: output.Traits
|
|
1810
|
-
? deserializeAws_json1_1TraitList(output.Traits, context)
|
|
1811
|
-
: undefined,
|
|
1787
|
+
Traits: output.Traits != null ? deserializeAws_json1_1TraitList(output.Traits, context) : undefined,
|
|
1812
1788
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
1813
1789
|
};
|
|
1814
1790
|
};
|
|
@@ -1831,13 +1807,11 @@ const deserializeAws_json1_1Characters = (output, context) => {
|
|
|
1831
1807
|
const deserializeAws_json1_1ComprehendMedicalAsyncJobProperties = (output, context) => {
|
|
1832
1808
|
return {
|
|
1833
1809
|
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
1834
|
-
EndTime: output.EndTime
|
|
1835
|
-
|
|
1836
|
-
: undefined,
|
|
1837
|
-
ExpirationTime: output.ExpirationTime !== undefined && output.ExpirationTime !== null
|
|
1810
|
+
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime))) : undefined,
|
|
1811
|
+
ExpirationTime: output.ExpirationTime != null
|
|
1838
1812
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpirationTime)))
|
|
1839
1813
|
: undefined,
|
|
1840
|
-
InputDataConfig: output.InputDataConfig
|
|
1814
|
+
InputDataConfig: output.InputDataConfig != null
|
|
1841
1815
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
1842
1816
|
: undefined,
|
|
1843
1817
|
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
@@ -1848,12 +1822,10 @@ const deserializeAws_json1_1ComprehendMedicalAsyncJobProperties = (output, conte
|
|
|
1848
1822
|
ManifestFilePath: (0, smithy_client_1.expectString)(output.ManifestFilePath),
|
|
1849
1823
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1850
1824
|
ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
|
|
1851
|
-
OutputDataConfig: output.OutputDataConfig
|
|
1825
|
+
OutputDataConfig: output.OutputDataConfig != null
|
|
1852
1826
|
? deserializeAws_json1_1OutputDataConfig(output.OutputDataConfig, context)
|
|
1853
1827
|
: undefined,
|
|
1854
|
-
SubmitTime: output.SubmitTime
|
|
1855
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmitTime)))
|
|
1856
|
-
: undefined,
|
|
1828
|
+
SubmitTime: output.SubmitTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmitTime))) : undefined,
|
|
1857
1829
|
};
|
|
1858
1830
|
};
|
|
1859
1831
|
const deserializeAws_json1_1ComprehendMedicalAsyncJobPropertiesList = (output, context) => {
|
|
@@ -1869,86 +1841,76 @@ const deserializeAws_json1_1ComprehendMedicalAsyncJobPropertiesList = (output, c
|
|
|
1869
1841
|
};
|
|
1870
1842
|
const deserializeAws_json1_1DescribeEntitiesDetectionV2JobResponse = (output, context) => {
|
|
1871
1843
|
return {
|
|
1872
|
-
ComprehendMedicalAsyncJobProperties: output.ComprehendMedicalAsyncJobProperties
|
|
1844
|
+
ComprehendMedicalAsyncJobProperties: output.ComprehendMedicalAsyncJobProperties != null
|
|
1873
1845
|
? deserializeAws_json1_1ComprehendMedicalAsyncJobProperties(output.ComprehendMedicalAsyncJobProperties, context)
|
|
1874
1846
|
: undefined,
|
|
1875
1847
|
};
|
|
1876
1848
|
};
|
|
1877
1849
|
const deserializeAws_json1_1DescribeICD10CMInferenceJobResponse = (output, context) => {
|
|
1878
1850
|
return {
|
|
1879
|
-
ComprehendMedicalAsyncJobProperties: output.ComprehendMedicalAsyncJobProperties
|
|
1851
|
+
ComprehendMedicalAsyncJobProperties: output.ComprehendMedicalAsyncJobProperties != null
|
|
1880
1852
|
? deserializeAws_json1_1ComprehendMedicalAsyncJobProperties(output.ComprehendMedicalAsyncJobProperties, context)
|
|
1881
1853
|
: undefined,
|
|
1882
1854
|
};
|
|
1883
1855
|
};
|
|
1884
1856
|
const deserializeAws_json1_1DescribePHIDetectionJobResponse = (output, context) => {
|
|
1885
1857
|
return {
|
|
1886
|
-
ComprehendMedicalAsyncJobProperties: output.ComprehendMedicalAsyncJobProperties
|
|
1858
|
+
ComprehendMedicalAsyncJobProperties: output.ComprehendMedicalAsyncJobProperties != null
|
|
1887
1859
|
? deserializeAws_json1_1ComprehendMedicalAsyncJobProperties(output.ComprehendMedicalAsyncJobProperties, context)
|
|
1888
1860
|
: undefined,
|
|
1889
1861
|
};
|
|
1890
1862
|
};
|
|
1891
1863
|
const deserializeAws_json1_1DescribeRxNormInferenceJobResponse = (output, context) => {
|
|
1892
1864
|
return {
|
|
1893
|
-
ComprehendMedicalAsyncJobProperties: output.ComprehendMedicalAsyncJobProperties
|
|
1865
|
+
ComprehendMedicalAsyncJobProperties: output.ComprehendMedicalAsyncJobProperties != null
|
|
1894
1866
|
? deserializeAws_json1_1ComprehendMedicalAsyncJobProperties(output.ComprehendMedicalAsyncJobProperties, context)
|
|
1895
1867
|
: undefined,
|
|
1896
1868
|
};
|
|
1897
1869
|
};
|
|
1898
1870
|
const deserializeAws_json1_1DescribeSNOMEDCTInferenceJobResponse = (output, context) => {
|
|
1899
1871
|
return {
|
|
1900
|
-
ComprehendMedicalAsyncJobProperties: output.ComprehendMedicalAsyncJobProperties
|
|
1872
|
+
ComprehendMedicalAsyncJobProperties: output.ComprehendMedicalAsyncJobProperties != null
|
|
1901
1873
|
? deserializeAws_json1_1ComprehendMedicalAsyncJobProperties(output.ComprehendMedicalAsyncJobProperties, context)
|
|
1902
1874
|
: undefined,
|
|
1903
1875
|
};
|
|
1904
1876
|
};
|
|
1905
1877
|
const deserializeAws_json1_1DetectEntitiesResponse = (output, context) => {
|
|
1906
1878
|
return {
|
|
1907
|
-
Entities: output.Entities
|
|
1908
|
-
? deserializeAws_json1_1EntityList(output.Entities, context)
|
|
1909
|
-
: undefined,
|
|
1879
|
+
Entities: output.Entities != null ? deserializeAws_json1_1EntityList(output.Entities, context) : undefined,
|
|
1910
1880
|
ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
|
|
1911
1881
|
PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
|
|
1912
|
-
UnmappedAttributes: output.UnmappedAttributes
|
|
1882
|
+
UnmappedAttributes: output.UnmappedAttributes != null
|
|
1913
1883
|
? deserializeAws_json1_1UnmappedAttributeList(output.UnmappedAttributes, context)
|
|
1914
1884
|
: undefined,
|
|
1915
1885
|
};
|
|
1916
1886
|
};
|
|
1917
1887
|
const deserializeAws_json1_1DetectEntitiesV2Response = (output, context) => {
|
|
1918
1888
|
return {
|
|
1919
|
-
Entities: output.Entities
|
|
1920
|
-
? deserializeAws_json1_1EntityList(output.Entities, context)
|
|
1921
|
-
: undefined,
|
|
1889
|
+
Entities: output.Entities != null ? deserializeAws_json1_1EntityList(output.Entities, context) : undefined,
|
|
1922
1890
|
ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
|
|
1923
1891
|
PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
|
|
1924
|
-
UnmappedAttributes: output.UnmappedAttributes
|
|
1892
|
+
UnmappedAttributes: output.UnmappedAttributes != null
|
|
1925
1893
|
? deserializeAws_json1_1UnmappedAttributeList(output.UnmappedAttributes, context)
|
|
1926
1894
|
: undefined,
|
|
1927
1895
|
};
|
|
1928
1896
|
};
|
|
1929
1897
|
const deserializeAws_json1_1DetectPHIResponse = (output, context) => {
|
|
1930
1898
|
return {
|
|
1931
|
-
Entities: output.Entities
|
|
1932
|
-
? deserializeAws_json1_1EntityList(output.Entities, context)
|
|
1933
|
-
: undefined,
|
|
1899
|
+
Entities: output.Entities != null ? deserializeAws_json1_1EntityList(output.Entities, context) : undefined,
|
|
1934
1900
|
ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
|
|
1935
1901
|
PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
|
|
1936
1902
|
};
|
|
1937
1903
|
};
|
|
1938
1904
|
const deserializeAws_json1_1Entity = (output, context) => {
|
|
1939
1905
|
return {
|
|
1940
|
-
Attributes: output.Attributes
|
|
1941
|
-
? deserializeAws_json1_1AttributeList(output.Attributes, context)
|
|
1942
|
-
: undefined,
|
|
1906
|
+
Attributes: output.Attributes != null ? deserializeAws_json1_1AttributeList(output.Attributes, context) : undefined,
|
|
1943
1907
|
BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
|
|
1944
1908
|
Category: (0, smithy_client_1.expectString)(output.Category),
|
|
1945
1909
|
EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
|
|
1946
1910
|
Id: (0, smithy_client_1.expectInt32)(output.Id),
|
|
1947
1911
|
Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
|
|
1948
1912
|
Text: (0, smithy_client_1.expectString)(output.Text),
|
|
1949
|
-
Traits: output.Traits
|
|
1950
|
-
? deserializeAws_json1_1TraitList(output.Traits, context)
|
|
1951
|
-
: undefined,
|
|
1913
|
+
Traits: output.Traits != null ? deserializeAws_json1_1TraitList(output.Traits, context) : undefined,
|
|
1952
1914
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
1953
1915
|
};
|
|
1954
1916
|
};
|
|
@@ -1973,9 +1935,7 @@ const deserializeAws_json1_1ICD10CMAttribute = (output, context) => {
|
|
|
1973
1935
|
RelationshipType: (0, smithy_client_1.expectString)(output.RelationshipType),
|
|
1974
1936
|
Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
|
|
1975
1937
|
Text: (0, smithy_client_1.expectString)(output.Text),
|
|
1976
|
-
Traits: output.Traits
|
|
1977
|
-
? deserializeAws_json1_1ICD10CMTraitList(output.Traits, context)
|
|
1978
|
-
: undefined,
|
|
1938
|
+
Traits: output.Traits != null ? deserializeAws_json1_1ICD10CMTraitList(output.Traits, context) : undefined,
|
|
1979
1939
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
1980
1940
|
};
|
|
1981
1941
|
};
|
|
@@ -2010,21 +1970,17 @@ const deserializeAws_json1_1ICD10CMConceptList = (output, context) => {
|
|
|
2010
1970
|
};
|
|
2011
1971
|
const deserializeAws_json1_1ICD10CMEntity = (output, context) => {
|
|
2012
1972
|
return {
|
|
2013
|
-
Attributes: output.Attributes
|
|
2014
|
-
? deserializeAws_json1_1ICD10CMAttributeList(output.Attributes, context)
|
|
2015
|
-
: undefined,
|
|
1973
|
+
Attributes: output.Attributes != null ? deserializeAws_json1_1ICD10CMAttributeList(output.Attributes, context) : undefined,
|
|
2016
1974
|
BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
|
|
2017
1975
|
Category: (0, smithy_client_1.expectString)(output.Category),
|
|
2018
1976
|
EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
|
|
2019
|
-
ICD10CMConcepts: output.ICD10CMConcepts
|
|
1977
|
+
ICD10CMConcepts: output.ICD10CMConcepts != null
|
|
2020
1978
|
? deserializeAws_json1_1ICD10CMConceptList(output.ICD10CMConcepts, context)
|
|
2021
1979
|
: undefined,
|
|
2022
1980
|
Id: (0, smithy_client_1.expectInt32)(output.Id),
|
|
2023
1981
|
Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
|
|
2024
1982
|
Text: (0, smithy_client_1.expectString)(output.Text),
|
|
2025
|
-
Traits: output.Traits
|
|
2026
|
-
? deserializeAws_json1_1ICD10CMTraitList(output.Traits, context)
|
|
2027
|
-
: undefined,
|
|
1983
|
+
Traits: output.Traits != null ? deserializeAws_json1_1ICD10CMTraitList(output.Traits, context) : undefined,
|
|
2028
1984
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2029
1985
|
};
|
|
2030
1986
|
};
|
|
@@ -2058,33 +2014,25 @@ const deserializeAws_json1_1ICD10CMTraitList = (output, context) => {
|
|
|
2058
2014
|
};
|
|
2059
2015
|
const deserializeAws_json1_1InferICD10CMResponse = (output, context) => {
|
|
2060
2016
|
return {
|
|
2061
|
-
Entities: output.Entities
|
|
2062
|
-
? deserializeAws_json1_1ICD10CMEntityList(output.Entities, context)
|
|
2063
|
-
: undefined,
|
|
2017
|
+
Entities: output.Entities != null ? deserializeAws_json1_1ICD10CMEntityList(output.Entities, context) : undefined,
|
|
2064
2018
|
ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
|
|
2065
2019
|
PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
|
|
2066
2020
|
};
|
|
2067
2021
|
};
|
|
2068
2022
|
const deserializeAws_json1_1InferRxNormResponse = (output, context) => {
|
|
2069
2023
|
return {
|
|
2070
|
-
Entities: output.Entities
|
|
2071
|
-
? deserializeAws_json1_1RxNormEntityList(output.Entities, context)
|
|
2072
|
-
: undefined,
|
|
2024
|
+
Entities: output.Entities != null ? deserializeAws_json1_1RxNormEntityList(output.Entities, context) : undefined,
|
|
2073
2025
|
ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
|
|
2074
2026
|
PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
|
|
2075
2027
|
};
|
|
2076
2028
|
};
|
|
2077
2029
|
const deserializeAws_json1_1InferSNOMEDCTResponse = (output, context) => {
|
|
2078
2030
|
return {
|
|
2079
|
-
Characters: output.Characters
|
|
2080
|
-
|
|
2081
|
-
: undefined,
|
|
2082
|
-
Entities: output.Entities !== undefined && output.Entities !== null
|
|
2083
|
-
? deserializeAws_json1_1SNOMEDCTEntityList(output.Entities, context)
|
|
2084
|
-
: undefined,
|
|
2031
|
+
Characters: output.Characters != null ? deserializeAws_json1_1Characters(output.Characters, context) : undefined,
|
|
2032
|
+
Entities: output.Entities != null ? deserializeAws_json1_1SNOMEDCTEntityList(output.Entities, context) : undefined,
|
|
2085
2033
|
ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
|
|
2086
2034
|
PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
|
|
2087
|
-
SNOMEDCTDetails: output.SNOMEDCTDetails
|
|
2035
|
+
SNOMEDCTDetails: output.SNOMEDCTDetails != null
|
|
2088
2036
|
? deserializeAws_json1_1SNOMEDCTDetails(output.SNOMEDCTDetails, context)
|
|
2089
2037
|
: undefined,
|
|
2090
2038
|
};
|
|
@@ -2112,8 +2060,7 @@ const deserializeAws_json1_1InvalidRequestException = (output, context) => {
|
|
|
2112
2060
|
};
|
|
2113
2061
|
const deserializeAws_json1_1ListEntitiesDetectionV2JobsResponse = (output, context) => {
|
|
2114
2062
|
return {
|
|
2115
|
-
ComprehendMedicalAsyncJobPropertiesList: output.ComprehendMedicalAsyncJobPropertiesList
|
|
2116
|
-
output.ComprehendMedicalAsyncJobPropertiesList !== null
|
|
2063
|
+
ComprehendMedicalAsyncJobPropertiesList: output.ComprehendMedicalAsyncJobPropertiesList != null
|
|
2117
2064
|
? deserializeAws_json1_1ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
|
|
2118
2065
|
: undefined,
|
|
2119
2066
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
@@ -2121,8 +2068,7 @@ const deserializeAws_json1_1ListEntitiesDetectionV2JobsResponse = (output, conte
|
|
|
2121
2068
|
};
|
|
2122
2069
|
const deserializeAws_json1_1ListICD10CMInferenceJobsResponse = (output, context) => {
|
|
2123
2070
|
return {
|
|
2124
|
-
ComprehendMedicalAsyncJobPropertiesList: output.ComprehendMedicalAsyncJobPropertiesList
|
|
2125
|
-
output.ComprehendMedicalAsyncJobPropertiesList !== null
|
|
2071
|
+
ComprehendMedicalAsyncJobPropertiesList: output.ComprehendMedicalAsyncJobPropertiesList != null
|
|
2126
2072
|
? deserializeAws_json1_1ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
|
|
2127
2073
|
: undefined,
|
|
2128
2074
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
@@ -2130,8 +2076,7 @@ const deserializeAws_json1_1ListICD10CMInferenceJobsResponse = (output, context)
|
|
|
2130
2076
|
};
|
|
2131
2077
|
const deserializeAws_json1_1ListPHIDetectionJobsResponse = (output, context) => {
|
|
2132
2078
|
return {
|
|
2133
|
-
ComprehendMedicalAsyncJobPropertiesList: output.ComprehendMedicalAsyncJobPropertiesList
|
|
2134
|
-
output.ComprehendMedicalAsyncJobPropertiesList !== null
|
|
2079
|
+
ComprehendMedicalAsyncJobPropertiesList: output.ComprehendMedicalAsyncJobPropertiesList != null
|
|
2135
2080
|
? deserializeAws_json1_1ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
|
|
2136
2081
|
: undefined,
|
|
2137
2082
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
@@ -2139,8 +2084,7 @@ const deserializeAws_json1_1ListPHIDetectionJobsResponse = (output, context) =>
|
|
|
2139
2084
|
};
|
|
2140
2085
|
const deserializeAws_json1_1ListRxNormInferenceJobsResponse = (output, context) => {
|
|
2141
2086
|
return {
|
|
2142
|
-
ComprehendMedicalAsyncJobPropertiesList: output.ComprehendMedicalAsyncJobPropertiesList
|
|
2143
|
-
output.ComprehendMedicalAsyncJobPropertiesList !== null
|
|
2087
|
+
ComprehendMedicalAsyncJobPropertiesList: output.ComprehendMedicalAsyncJobPropertiesList != null
|
|
2144
2088
|
? deserializeAws_json1_1ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
|
|
2145
2089
|
: undefined,
|
|
2146
2090
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
@@ -2148,8 +2092,7 @@ const deserializeAws_json1_1ListRxNormInferenceJobsResponse = (output, context)
|
|
|
2148
2092
|
};
|
|
2149
2093
|
const deserializeAws_json1_1ListSNOMEDCTInferenceJobsResponse = (output, context) => {
|
|
2150
2094
|
return {
|
|
2151
|
-
ComprehendMedicalAsyncJobPropertiesList: output.ComprehendMedicalAsyncJobPropertiesList
|
|
2152
|
-
output.ComprehendMedicalAsyncJobPropertiesList !== null
|
|
2095
|
+
ComprehendMedicalAsyncJobPropertiesList: output.ComprehendMedicalAsyncJobPropertiesList != null
|
|
2153
2096
|
? deserializeAws_json1_1ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
|
|
2154
2097
|
: undefined,
|
|
2155
2098
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
@@ -2174,9 +2117,7 @@ const deserializeAws_json1_1RxNormAttribute = (output, context) => {
|
|
|
2174
2117
|
RelationshipScore: (0, smithy_client_1.limitedParseFloat32)(output.RelationshipScore),
|
|
2175
2118
|
Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
|
|
2176
2119
|
Text: (0, smithy_client_1.expectString)(output.Text),
|
|
2177
|
-
Traits: output.Traits
|
|
2178
|
-
? deserializeAws_json1_1RxNormTraitList(output.Traits, context)
|
|
2179
|
-
: undefined,
|
|
2120
|
+
Traits: output.Traits != null ? deserializeAws_json1_1RxNormTraitList(output.Traits, context) : undefined,
|
|
2180
2121
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2181
2122
|
};
|
|
2182
2123
|
};
|
|
@@ -2211,21 +2152,17 @@ const deserializeAws_json1_1RxNormConceptList = (output, context) => {
|
|
|
2211
2152
|
};
|
|
2212
2153
|
const deserializeAws_json1_1RxNormEntity = (output, context) => {
|
|
2213
2154
|
return {
|
|
2214
|
-
Attributes: output.Attributes
|
|
2215
|
-
? deserializeAws_json1_1RxNormAttributeList(output.Attributes, context)
|
|
2216
|
-
: undefined,
|
|
2155
|
+
Attributes: output.Attributes != null ? deserializeAws_json1_1RxNormAttributeList(output.Attributes, context) : undefined,
|
|
2217
2156
|
BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
|
|
2218
2157
|
Category: (0, smithy_client_1.expectString)(output.Category),
|
|
2219
2158
|
EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
|
|
2220
2159
|
Id: (0, smithy_client_1.expectInt32)(output.Id),
|
|
2221
|
-
RxNormConcepts: output.RxNormConcepts
|
|
2160
|
+
RxNormConcepts: output.RxNormConcepts != null
|
|
2222
2161
|
? deserializeAws_json1_1RxNormConceptList(output.RxNormConcepts, context)
|
|
2223
2162
|
: undefined,
|
|
2224
2163
|
Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
|
|
2225
2164
|
Text: (0, smithy_client_1.expectString)(output.Text),
|
|
2226
|
-
Traits: output.Traits
|
|
2227
|
-
? deserializeAws_json1_1RxNormTraitList(output.Traits, context)
|
|
2228
|
-
: undefined,
|
|
2165
|
+
Traits: output.Traits != null ? deserializeAws_json1_1RxNormTraitList(output.Traits, context) : undefined,
|
|
2229
2166
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2230
2167
|
};
|
|
2231
2168
|
};
|
|
@@ -2270,14 +2207,12 @@ const deserializeAws_json1_1SNOMEDCTAttribute = (output, context) => {
|
|
|
2270
2207
|
Id: (0, smithy_client_1.expectInt32)(output.Id),
|
|
2271
2208
|
RelationshipScore: (0, smithy_client_1.limitedParseFloat32)(output.RelationshipScore),
|
|
2272
2209
|
RelationshipType: (0, smithy_client_1.expectString)(output.RelationshipType),
|
|
2273
|
-
SNOMEDCTConcepts: output.SNOMEDCTConcepts
|
|
2210
|
+
SNOMEDCTConcepts: output.SNOMEDCTConcepts != null
|
|
2274
2211
|
? deserializeAws_json1_1SNOMEDCTConceptList(output.SNOMEDCTConcepts, context)
|
|
2275
2212
|
: undefined,
|
|
2276
2213
|
Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
|
|
2277
2214
|
Text: (0, smithy_client_1.expectString)(output.Text),
|
|
2278
|
-
Traits: output.Traits
|
|
2279
|
-
? deserializeAws_json1_1SNOMEDCTTraitList(output.Traits, context)
|
|
2280
|
-
: undefined,
|
|
2215
|
+
Traits: output.Traits != null ? deserializeAws_json1_1SNOMEDCTTraitList(output.Traits, context) : undefined,
|
|
2281
2216
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2282
2217
|
};
|
|
2283
2218
|
};
|
|
@@ -2319,21 +2254,17 @@ const deserializeAws_json1_1SNOMEDCTDetails = (output, context) => {
|
|
|
2319
2254
|
};
|
|
2320
2255
|
const deserializeAws_json1_1SNOMEDCTEntity = (output, context) => {
|
|
2321
2256
|
return {
|
|
2322
|
-
Attributes: output.Attributes
|
|
2323
|
-
? deserializeAws_json1_1SNOMEDCTAttributeList(output.Attributes, context)
|
|
2324
|
-
: undefined,
|
|
2257
|
+
Attributes: output.Attributes != null ? deserializeAws_json1_1SNOMEDCTAttributeList(output.Attributes, context) : undefined,
|
|
2325
2258
|
BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
|
|
2326
2259
|
Category: (0, smithy_client_1.expectString)(output.Category),
|
|
2327
2260
|
EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
|
|
2328
2261
|
Id: (0, smithy_client_1.expectInt32)(output.Id),
|
|
2329
|
-
SNOMEDCTConcepts: output.SNOMEDCTConcepts
|
|
2262
|
+
SNOMEDCTConcepts: output.SNOMEDCTConcepts != null
|
|
2330
2263
|
? deserializeAws_json1_1SNOMEDCTConceptList(output.SNOMEDCTConcepts, context)
|
|
2331
2264
|
: undefined,
|
|
2332
2265
|
Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
|
|
2333
2266
|
Text: (0, smithy_client_1.expectString)(output.Text),
|
|
2334
|
-
Traits: output.Traits
|
|
2335
|
-
? deserializeAws_json1_1SNOMEDCTTraitList(output.Traits, context)
|
|
2336
|
-
: undefined,
|
|
2267
|
+
Traits: output.Traits != null ? deserializeAws_json1_1SNOMEDCTTraitList(output.Traits, context) : undefined,
|
|
2337
2268
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2338
2269
|
};
|
|
2339
2270
|
};
|
|
@@ -2444,9 +2375,7 @@ const deserializeAws_json1_1TraitList = (output, context) => {
|
|
|
2444
2375
|
};
|
|
2445
2376
|
const deserializeAws_json1_1UnmappedAttribute = (output, context) => {
|
|
2446
2377
|
return {
|
|
2447
|
-
Attribute: output.Attribute
|
|
2448
|
-
? deserializeAws_json1_1Attribute(output.Attribute, context)
|
|
2449
|
-
: undefined,
|
|
2378
|
+
Attribute: output.Attribute != null ? deserializeAws_json1_1Attribute(output.Attribute, context) : undefined,
|
|
2450
2379
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2451
2380
|
};
|
|
2452
2381
|
};
|