@aws-sdk/client-neptunedata 3.504.0 → 3.507.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/dist-cjs/index.js +227 -2519
- package/dist-es/protocols/Aws_restJson1.js +145 -2437
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1615,7 +1615,7 @@ var se_StartMLModelTransformJobCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
1615
1615
|
}, "se_StartMLModelTransformJobCommand");
|
|
1616
1616
|
var de_CancelGremlinQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1617
1617
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1618
|
-
return
|
|
1618
|
+
return de_CommandError(output, context);
|
|
1619
1619
|
}
|
|
1620
1620
|
const contents = (0, import_smithy_client.map)({
|
|
1621
1621
|
$metadata: deserializeMetadata(output)
|
|
@@ -1627,67 +1627,9 @@ var de_CancelGremlinQueryCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1627
1627
|
Object.assign(contents, doc);
|
|
1628
1628
|
return contents;
|
|
1629
1629
|
}, "de_CancelGremlinQueryCommand");
|
|
1630
|
-
var de_CancelGremlinQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1631
|
-
const parsedOutput = {
|
|
1632
|
-
...output,
|
|
1633
|
-
body: await parseErrorBody(output.body, context)
|
|
1634
|
-
};
|
|
1635
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1636
|
-
switch (errorCode) {
|
|
1637
|
-
case "BadRequestException":
|
|
1638
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
1639
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1640
|
-
case "ClientTimeoutException":
|
|
1641
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
1642
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
1643
|
-
case "ConcurrentModificationException":
|
|
1644
|
-
case "com.amazonaws.neptunedata#ConcurrentModificationException":
|
|
1645
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1646
|
-
case "ConstraintViolationException":
|
|
1647
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
1648
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
1649
|
-
case "FailureByQueryException":
|
|
1650
|
-
case "com.amazonaws.neptunedata#FailureByQueryException":
|
|
1651
|
-
throw await de_FailureByQueryExceptionRes(parsedOutput, context);
|
|
1652
|
-
case "IllegalArgumentException":
|
|
1653
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
1654
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
1655
|
-
case "InvalidArgumentException":
|
|
1656
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
1657
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1658
|
-
case "InvalidParameterException":
|
|
1659
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
1660
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1661
|
-
case "MissingParameterException":
|
|
1662
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
1663
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
1664
|
-
case "ParsingException":
|
|
1665
|
-
case "com.amazonaws.neptunedata#ParsingException":
|
|
1666
|
-
throw await de_ParsingExceptionRes(parsedOutput, context);
|
|
1667
|
-
case "PreconditionsFailedException":
|
|
1668
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
1669
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
1670
|
-
case "TimeLimitExceededException":
|
|
1671
|
-
case "com.amazonaws.neptunedata#TimeLimitExceededException":
|
|
1672
|
-
throw await de_TimeLimitExceededExceptionRes(parsedOutput, context);
|
|
1673
|
-
case "TooManyRequestsException":
|
|
1674
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
1675
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1676
|
-
case "UnsupportedOperationException":
|
|
1677
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
1678
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1679
|
-
default:
|
|
1680
|
-
const parsedBody = parsedOutput.body;
|
|
1681
|
-
return throwDefaultError({
|
|
1682
|
-
output,
|
|
1683
|
-
parsedBody,
|
|
1684
|
-
errorCode
|
|
1685
|
-
});
|
|
1686
|
-
}
|
|
1687
|
-
}, "de_CancelGremlinQueryCommandError");
|
|
1688
1630
|
var de_CancelLoaderJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1689
1631
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1690
|
-
return
|
|
1632
|
+
return de_CommandError(output, context);
|
|
1691
1633
|
}
|
|
1692
1634
|
const contents = (0, import_smithy_client.map)({
|
|
1693
1635
|
$metadata: deserializeMetadata(output)
|
|
@@ -1699,64 +1641,9 @@ var de_CancelLoaderJobCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1699
1641
|
Object.assign(contents, doc);
|
|
1700
1642
|
return contents;
|
|
1701
1643
|
}, "de_CancelLoaderJobCommand");
|
|
1702
|
-
var de_CancelLoaderJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1703
|
-
const parsedOutput = {
|
|
1704
|
-
...output,
|
|
1705
|
-
body: await parseErrorBody(output.body, context)
|
|
1706
|
-
};
|
|
1707
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1708
|
-
switch (errorCode) {
|
|
1709
|
-
case "BadRequestException":
|
|
1710
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
1711
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1712
|
-
case "BulkLoadIdNotFoundException":
|
|
1713
|
-
case "com.amazonaws.neptunedata#BulkLoadIdNotFoundException":
|
|
1714
|
-
throw await de_BulkLoadIdNotFoundExceptionRes(parsedOutput, context);
|
|
1715
|
-
case "ClientTimeoutException":
|
|
1716
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
1717
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
1718
|
-
case "ConstraintViolationException":
|
|
1719
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
1720
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
1721
|
-
case "IllegalArgumentException":
|
|
1722
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
1723
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
1724
|
-
case "InternalFailureException":
|
|
1725
|
-
case "com.amazonaws.neptunedata#InternalFailureException":
|
|
1726
|
-
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1727
|
-
case "InvalidArgumentException":
|
|
1728
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
1729
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1730
|
-
case "InvalidParameterException":
|
|
1731
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
1732
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1733
|
-
case "LoadUrlAccessDeniedException":
|
|
1734
|
-
case "com.amazonaws.neptunedata#LoadUrlAccessDeniedException":
|
|
1735
|
-
throw await de_LoadUrlAccessDeniedExceptionRes(parsedOutput, context);
|
|
1736
|
-
case "MissingParameterException":
|
|
1737
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
1738
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
1739
|
-
case "PreconditionsFailedException":
|
|
1740
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
1741
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
1742
|
-
case "TooManyRequestsException":
|
|
1743
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
1744
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1745
|
-
case "UnsupportedOperationException":
|
|
1746
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
1747
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1748
|
-
default:
|
|
1749
|
-
const parsedBody = parsedOutput.body;
|
|
1750
|
-
return throwDefaultError({
|
|
1751
|
-
output,
|
|
1752
|
-
parsedBody,
|
|
1753
|
-
errorCode
|
|
1754
|
-
});
|
|
1755
|
-
}
|
|
1756
|
-
}, "de_CancelLoaderJobCommandError");
|
|
1757
1644
|
var de_CancelMLDataProcessingJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1758
1645
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1759
|
-
return
|
|
1646
|
+
return de_CommandError(output, context);
|
|
1760
1647
|
}
|
|
1761
1648
|
const contents = (0, import_smithy_client.map)({
|
|
1762
1649
|
$metadata: deserializeMetadata(output)
|
|
@@ -1768,58 +1655,9 @@ var de_CancelMLDataProcessingJobCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1768
1655
|
Object.assign(contents, doc);
|
|
1769
1656
|
return contents;
|
|
1770
1657
|
}, "de_CancelMLDataProcessingJobCommand");
|
|
1771
|
-
var de_CancelMLDataProcessingJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1772
|
-
const parsedOutput = {
|
|
1773
|
-
...output,
|
|
1774
|
-
body: await parseErrorBody(output.body, context)
|
|
1775
|
-
};
|
|
1776
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1777
|
-
switch (errorCode) {
|
|
1778
|
-
case "BadRequestException":
|
|
1779
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
1780
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1781
|
-
case "ClientTimeoutException":
|
|
1782
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
1783
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
1784
|
-
case "ConstraintViolationException":
|
|
1785
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
1786
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
1787
|
-
case "IllegalArgumentException":
|
|
1788
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
1789
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
1790
|
-
case "InvalidArgumentException":
|
|
1791
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
1792
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1793
|
-
case "InvalidParameterException":
|
|
1794
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
1795
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1796
|
-
case "MLResourceNotFoundException":
|
|
1797
|
-
case "com.amazonaws.neptunedata#MLResourceNotFoundException":
|
|
1798
|
-
throw await de_MLResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1799
|
-
case "MissingParameterException":
|
|
1800
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
1801
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
1802
|
-
case "PreconditionsFailedException":
|
|
1803
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
1804
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
1805
|
-
case "TooManyRequestsException":
|
|
1806
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
1807
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1808
|
-
case "UnsupportedOperationException":
|
|
1809
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
1810
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1811
|
-
default:
|
|
1812
|
-
const parsedBody = parsedOutput.body;
|
|
1813
|
-
return throwDefaultError({
|
|
1814
|
-
output,
|
|
1815
|
-
parsedBody,
|
|
1816
|
-
errorCode
|
|
1817
|
-
});
|
|
1818
|
-
}
|
|
1819
|
-
}, "de_CancelMLDataProcessingJobCommandError");
|
|
1820
1658
|
var de_CancelMLModelTrainingJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1821
1659
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1822
|
-
return
|
|
1660
|
+
return de_CommandError(output, context);
|
|
1823
1661
|
}
|
|
1824
1662
|
const contents = (0, import_smithy_client.map)({
|
|
1825
1663
|
$metadata: deserializeMetadata(output)
|
|
@@ -1831,58 +1669,9 @@ var de_CancelMLModelTrainingJobCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1831
1669
|
Object.assign(contents, doc);
|
|
1832
1670
|
return contents;
|
|
1833
1671
|
}, "de_CancelMLModelTrainingJobCommand");
|
|
1834
|
-
var de_CancelMLModelTrainingJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1835
|
-
const parsedOutput = {
|
|
1836
|
-
...output,
|
|
1837
|
-
body: await parseErrorBody(output.body, context)
|
|
1838
|
-
};
|
|
1839
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1840
|
-
switch (errorCode) {
|
|
1841
|
-
case "BadRequestException":
|
|
1842
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
1843
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1844
|
-
case "ClientTimeoutException":
|
|
1845
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
1846
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
1847
|
-
case "ConstraintViolationException":
|
|
1848
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
1849
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
1850
|
-
case "IllegalArgumentException":
|
|
1851
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
1852
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
1853
|
-
case "InvalidArgumentException":
|
|
1854
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
1855
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1856
|
-
case "InvalidParameterException":
|
|
1857
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
1858
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1859
|
-
case "MLResourceNotFoundException":
|
|
1860
|
-
case "com.amazonaws.neptunedata#MLResourceNotFoundException":
|
|
1861
|
-
throw await de_MLResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1862
|
-
case "MissingParameterException":
|
|
1863
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
1864
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
1865
|
-
case "PreconditionsFailedException":
|
|
1866
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
1867
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
1868
|
-
case "TooManyRequestsException":
|
|
1869
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
1870
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1871
|
-
case "UnsupportedOperationException":
|
|
1872
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
1873
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1874
|
-
default:
|
|
1875
|
-
const parsedBody = parsedOutput.body;
|
|
1876
|
-
return throwDefaultError({
|
|
1877
|
-
output,
|
|
1878
|
-
parsedBody,
|
|
1879
|
-
errorCode
|
|
1880
|
-
});
|
|
1881
|
-
}
|
|
1882
|
-
}, "de_CancelMLModelTrainingJobCommandError");
|
|
1883
1672
|
var de_CancelMLModelTransformJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1884
1673
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1885
|
-
return
|
|
1674
|
+
return de_CommandError(output, context);
|
|
1886
1675
|
}
|
|
1887
1676
|
const contents = (0, import_smithy_client.map)({
|
|
1888
1677
|
$metadata: deserializeMetadata(output)
|
|
@@ -1894,58 +1683,9 @@ var de_CancelMLModelTransformJobCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1894
1683
|
Object.assign(contents, doc);
|
|
1895
1684
|
return contents;
|
|
1896
1685
|
}, "de_CancelMLModelTransformJobCommand");
|
|
1897
|
-
var de_CancelMLModelTransformJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1898
|
-
const parsedOutput = {
|
|
1899
|
-
...output,
|
|
1900
|
-
body: await parseErrorBody(output.body, context)
|
|
1901
|
-
};
|
|
1902
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1903
|
-
switch (errorCode) {
|
|
1904
|
-
case "BadRequestException":
|
|
1905
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
1906
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1907
|
-
case "ClientTimeoutException":
|
|
1908
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
1909
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
1910
|
-
case "ConstraintViolationException":
|
|
1911
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
1912
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
1913
|
-
case "IllegalArgumentException":
|
|
1914
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
1915
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
1916
|
-
case "InvalidArgumentException":
|
|
1917
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
1918
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1919
|
-
case "InvalidParameterException":
|
|
1920
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
1921
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1922
|
-
case "MLResourceNotFoundException":
|
|
1923
|
-
case "com.amazonaws.neptunedata#MLResourceNotFoundException":
|
|
1924
|
-
throw await de_MLResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1925
|
-
case "MissingParameterException":
|
|
1926
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
1927
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
1928
|
-
case "PreconditionsFailedException":
|
|
1929
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
1930
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
1931
|
-
case "TooManyRequestsException":
|
|
1932
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
1933
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1934
|
-
case "UnsupportedOperationException":
|
|
1935
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
1936
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1937
|
-
default:
|
|
1938
|
-
const parsedBody = parsedOutput.body;
|
|
1939
|
-
return throwDefaultError({
|
|
1940
|
-
output,
|
|
1941
|
-
parsedBody,
|
|
1942
|
-
errorCode
|
|
1943
|
-
});
|
|
1944
|
-
}
|
|
1945
|
-
}, "de_CancelMLModelTransformJobCommandError");
|
|
1946
1686
|
var de_CancelOpenCypherQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1947
1687
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1948
|
-
return
|
|
1688
|
+
return de_CommandError(output, context);
|
|
1949
1689
|
}
|
|
1950
1690
|
const contents = (0, import_smithy_client.map)({
|
|
1951
1691
|
$metadata: deserializeMetadata(output)
|
|
@@ -1958,70 +1698,9 @@ var de_CancelOpenCypherQueryCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1958
1698
|
Object.assign(contents, doc);
|
|
1959
1699
|
return contents;
|
|
1960
1700
|
}, "de_CancelOpenCypherQueryCommand");
|
|
1961
|
-
var de_CancelOpenCypherQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1962
|
-
const parsedOutput = {
|
|
1963
|
-
...output,
|
|
1964
|
-
body: await parseErrorBody(output.body, context)
|
|
1965
|
-
};
|
|
1966
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1967
|
-
switch (errorCode) {
|
|
1968
|
-
case "BadRequestException":
|
|
1969
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
1970
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1971
|
-
case "ClientTimeoutException":
|
|
1972
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
1973
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
1974
|
-
case "ConcurrentModificationException":
|
|
1975
|
-
case "com.amazonaws.neptunedata#ConcurrentModificationException":
|
|
1976
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1977
|
-
case "ConstraintViolationException":
|
|
1978
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
1979
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
1980
|
-
case "FailureByQueryException":
|
|
1981
|
-
case "com.amazonaws.neptunedata#FailureByQueryException":
|
|
1982
|
-
throw await de_FailureByQueryExceptionRes(parsedOutput, context);
|
|
1983
|
-
case "IllegalArgumentException":
|
|
1984
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
1985
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
1986
|
-
case "InvalidArgumentException":
|
|
1987
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
1988
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1989
|
-
case "InvalidNumericDataException":
|
|
1990
|
-
case "com.amazonaws.neptunedata#InvalidNumericDataException":
|
|
1991
|
-
throw await de_InvalidNumericDataExceptionRes(parsedOutput, context);
|
|
1992
|
-
case "InvalidParameterException":
|
|
1993
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
1994
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1995
|
-
case "MissingParameterException":
|
|
1996
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
1997
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
1998
|
-
case "ParsingException":
|
|
1999
|
-
case "com.amazonaws.neptunedata#ParsingException":
|
|
2000
|
-
throw await de_ParsingExceptionRes(parsedOutput, context);
|
|
2001
|
-
case "PreconditionsFailedException":
|
|
2002
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
2003
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
2004
|
-
case "TimeLimitExceededException":
|
|
2005
|
-
case "com.amazonaws.neptunedata#TimeLimitExceededException":
|
|
2006
|
-
throw await de_TimeLimitExceededExceptionRes(parsedOutput, context);
|
|
2007
|
-
case "TooManyRequestsException":
|
|
2008
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
2009
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2010
|
-
case "UnsupportedOperationException":
|
|
2011
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
2012
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2013
|
-
default:
|
|
2014
|
-
const parsedBody = parsedOutput.body;
|
|
2015
|
-
return throwDefaultError({
|
|
2016
|
-
output,
|
|
2017
|
-
parsedBody,
|
|
2018
|
-
errorCode
|
|
2019
|
-
});
|
|
2020
|
-
}
|
|
2021
|
-
}, "de_CancelOpenCypherQueryCommandError");
|
|
2022
1701
|
var de_CreateMLEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2023
1702
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2024
|
-
return
|
|
1703
|
+
return de_CommandError(output, context);
|
|
2025
1704
|
}
|
|
2026
1705
|
const contents = (0, import_smithy_client.map)({
|
|
2027
1706
|
$metadata: deserializeMetadata(output)
|
|
@@ -2035,58 +1714,9 @@ var de_CreateMLEndpointCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2035
1714
|
Object.assign(contents, doc);
|
|
2036
1715
|
return contents;
|
|
2037
1716
|
}, "de_CreateMLEndpointCommand");
|
|
2038
|
-
var de_CreateMLEndpointCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2039
|
-
const parsedOutput = {
|
|
2040
|
-
...output,
|
|
2041
|
-
body: await parseErrorBody(output.body, context)
|
|
2042
|
-
};
|
|
2043
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2044
|
-
switch (errorCode) {
|
|
2045
|
-
case "BadRequestException":
|
|
2046
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
2047
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2048
|
-
case "ClientTimeoutException":
|
|
2049
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
2050
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
2051
|
-
case "ConstraintViolationException":
|
|
2052
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
2053
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
2054
|
-
case "IllegalArgumentException":
|
|
2055
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
2056
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
2057
|
-
case "InvalidArgumentException":
|
|
2058
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
2059
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2060
|
-
case "InvalidParameterException":
|
|
2061
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
2062
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2063
|
-
case "MLResourceNotFoundException":
|
|
2064
|
-
case "com.amazonaws.neptunedata#MLResourceNotFoundException":
|
|
2065
|
-
throw await de_MLResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2066
|
-
case "MissingParameterException":
|
|
2067
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
2068
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
2069
|
-
case "PreconditionsFailedException":
|
|
2070
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
2071
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
2072
|
-
case "TooManyRequestsException":
|
|
2073
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
2074
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2075
|
-
case "UnsupportedOperationException":
|
|
2076
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
2077
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2078
|
-
default:
|
|
2079
|
-
const parsedBody = parsedOutput.body;
|
|
2080
|
-
return throwDefaultError({
|
|
2081
|
-
output,
|
|
2082
|
-
parsedBody,
|
|
2083
|
-
errorCode
|
|
2084
|
-
});
|
|
2085
|
-
}
|
|
2086
|
-
}, "de_CreateMLEndpointCommandError");
|
|
2087
1717
|
var de_DeleteMLEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2088
1718
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2089
|
-
return
|
|
1719
|
+
return de_CommandError(output, context);
|
|
2090
1720
|
}
|
|
2091
1721
|
const contents = (0, import_smithy_client.map)({
|
|
2092
1722
|
$metadata: deserializeMetadata(output)
|
|
@@ -2098,58 +1728,9 @@ var de_DeleteMLEndpointCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2098
1728
|
Object.assign(contents, doc);
|
|
2099
1729
|
return contents;
|
|
2100
1730
|
}, "de_DeleteMLEndpointCommand");
|
|
2101
|
-
var de_DeleteMLEndpointCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2102
|
-
const parsedOutput = {
|
|
2103
|
-
...output,
|
|
2104
|
-
body: await parseErrorBody(output.body, context)
|
|
2105
|
-
};
|
|
2106
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2107
|
-
switch (errorCode) {
|
|
2108
|
-
case "BadRequestException":
|
|
2109
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
2110
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2111
|
-
case "ClientTimeoutException":
|
|
2112
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
2113
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
2114
|
-
case "ConstraintViolationException":
|
|
2115
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
2116
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
2117
|
-
case "IllegalArgumentException":
|
|
2118
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
2119
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
2120
|
-
case "InvalidArgumentException":
|
|
2121
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
2122
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2123
|
-
case "InvalidParameterException":
|
|
2124
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
2125
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2126
|
-
case "MLResourceNotFoundException":
|
|
2127
|
-
case "com.amazonaws.neptunedata#MLResourceNotFoundException":
|
|
2128
|
-
throw await de_MLResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2129
|
-
case "MissingParameterException":
|
|
2130
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
2131
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
2132
|
-
case "PreconditionsFailedException":
|
|
2133
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
2134
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
2135
|
-
case "TooManyRequestsException":
|
|
2136
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
2137
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2138
|
-
case "UnsupportedOperationException":
|
|
2139
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
2140
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2141
|
-
default:
|
|
2142
|
-
const parsedBody = parsedOutput.body;
|
|
2143
|
-
return throwDefaultError({
|
|
2144
|
-
output,
|
|
2145
|
-
parsedBody,
|
|
2146
|
-
errorCode
|
|
2147
|
-
});
|
|
2148
|
-
}
|
|
2149
|
-
}, "de_DeleteMLEndpointCommandError");
|
|
2150
1731
|
var de_DeletePropertygraphStatisticsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2151
1732
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2152
|
-
return
|
|
1733
|
+
return de_CommandError(output, context);
|
|
2153
1734
|
}
|
|
2154
1735
|
const contents = (0, import_smithy_client.map)({
|
|
2155
1736
|
$metadata: deserializeMetadata(output)
|
|
@@ -2165,64 +1746,9 @@ var de_DeletePropertygraphStatisticsCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2165
1746
|
});
|
|
2166
1747
|
return contents;
|
|
2167
1748
|
}, "de_DeletePropertygraphStatisticsCommand");
|
|
2168
|
-
var de_DeletePropertygraphStatisticsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2169
|
-
const parsedOutput = {
|
|
2170
|
-
...output,
|
|
2171
|
-
body: await parseErrorBody(output.body, context)
|
|
2172
|
-
};
|
|
2173
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2174
|
-
switch (errorCode) {
|
|
2175
|
-
case "AccessDeniedException":
|
|
2176
|
-
case "com.amazonaws.neptunedata#AccessDeniedException":
|
|
2177
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2178
|
-
case "BadRequestException":
|
|
2179
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
2180
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2181
|
-
case "ClientTimeoutException":
|
|
2182
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
2183
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
2184
|
-
case "ConstraintViolationException":
|
|
2185
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
2186
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
2187
|
-
case "IllegalArgumentException":
|
|
2188
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
2189
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
2190
|
-
case "InvalidArgumentException":
|
|
2191
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
2192
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2193
|
-
case "InvalidParameterException":
|
|
2194
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
2195
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2196
|
-
case "MissingParameterException":
|
|
2197
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
2198
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
2199
|
-
case "PreconditionsFailedException":
|
|
2200
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
2201
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
2202
|
-
case "ReadOnlyViolationException":
|
|
2203
|
-
case "com.amazonaws.neptunedata#ReadOnlyViolationException":
|
|
2204
|
-
throw await de_ReadOnlyViolationExceptionRes(parsedOutput, context);
|
|
2205
|
-
case "StatisticsNotAvailableException":
|
|
2206
|
-
case "com.amazonaws.neptunedata#StatisticsNotAvailableException":
|
|
2207
|
-
throw await de_StatisticsNotAvailableExceptionRes(parsedOutput, context);
|
|
2208
|
-
case "TooManyRequestsException":
|
|
2209
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
2210
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2211
|
-
case "UnsupportedOperationException":
|
|
2212
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
2213
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2214
|
-
default:
|
|
2215
|
-
const parsedBody = parsedOutput.body;
|
|
2216
|
-
return throwDefaultError({
|
|
2217
|
-
output,
|
|
2218
|
-
parsedBody,
|
|
2219
|
-
errorCode
|
|
2220
|
-
});
|
|
2221
|
-
}
|
|
2222
|
-
}, "de_DeletePropertygraphStatisticsCommandError");
|
|
2223
1749
|
var de_DeleteSparqlStatisticsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2224
1750
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2225
|
-
return
|
|
1751
|
+
return de_CommandError(output, context);
|
|
2226
1752
|
}
|
|
2227
1753
|
const contents = (0, import_smithy_client.map)({
|
|
2228
1754
|
$metadata: deserializeMetadata(output)
|
|
@@ -2238,64 +1764,9 @@ var de_DeleteSparqlStatisticsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2238
1764
|
});
|
|
2239
1765
|
return contents;
|
|
2240
1766
|
}, "de_DeleteSparqlStatisticsCommand");
|
|
2241
|
-
var de_DeleteSparqlStatisticsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2242
|
-
const parsedOutput = {
|
|
2243
|
-
...output,
|
|
2244
|
-
body: await parseErrorBody(output.body, context)
|
|
2245
|
-
};
|
|
2246
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2247
|
-
switch (errorCode) {
|
|
2248
|
-
case "AccessDeniedException":
|
|
2249
|
-
case "com.amazonaws.neptunedata#AccessDeniedException":
|
|
2250
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2251
|
-
case "BadRequestException":
|
|
2252
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
2253
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2254
|
-
case "ClientTimeoutException":
|
|
2255
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
2256
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
2257
|
-
case "ConstraintViolationException":
|
|
2258
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
2259
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
2260
|
-
case "IllegalArgumentException":
|
|
2261
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
2262
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
2263
|
-
case "InvalidArgumentException":
|
|
2264
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
2265
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2266
|
-
case "InvalidParameterException":
|
|
2267
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
2268
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2269
|
-
case "MissingParameterException":
|
|
2270
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
2271
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
2272
|
-
case "PreconditionsFailedException":
|
|
2273
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
2274
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
2275
|
-
case "ReadOnlyViolationException":
|
|
2276
|
-
case "com.amazonaws.neptunedata#ReadOnlyViolationException":
|
|
2277
|
-
throw await de_ReadOnlyViolationExceptionRes(parsedOutput, context);
|
|
2278
|
-
case "StatisticsNotAvailableException":
|
|
2279
|
-
case "com.amazonaws.neptunedata#StatisticsNotAvailableException":
|
|
2280
|
-
throw await de_StatisticsNotAvailableExceptionRes(parsedOutput, context);
|
|
2281
|
-
case "TooManyRequestsException":
|
|
2282
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
2283
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2284
|
-
case "UnsupportedOperationException":
|
|
2285
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
2286
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2287
|
-
default:
|
|
2288
|
-
const parsedBody = parsedOutput.body;
|
|
2289
|
-
return throwDefaultError({
|
|
2290
|
-
output,
|
|
2291
|
-
parsedBody,
|
|
2292
|
-
errorCode
|
|
2293
|
-
});
|
|
2294
|
-
}
|
|
2295
|
-
}, "de_DeleteSparqlStatisticsCommandError");
|
|
2296
1767
|
var de_ExecuteFastResetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2297
1768
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2298
|
-
return
|
|
1769
|
+
return de_CommandError(output, context);
|
|
2299
1770
|
}
|
|
2300
1771
|
const contents = (0, import_smithy_client.map)({
|
|
2301
1772
|
$metadata: deserializeMetadata(output)
|
|
@@ -2308,64 +1779,9 @@ var de_ExecuteFastResetCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2308
1779
|
Object.assign(contents, doc);
|
|
2309
1780
|
return contents;
|
|
2310
1781
|
}, "de_ExecuteFastResetCommand");
|
|
2311
|
-
var de_ExecuteFastResetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2312
|
-
const parsedOutput = {
|
|
2313
|
-
...output,
|
|
2314
|
-
body: await parseErrorBody(output.body, context)
|
|
2315
|
-
};
|
|
2316
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2317
|
-
switch (errorCode) {
|
|
2318
|
-
case "AccessDeniedException":
|
|
2319
|
-
case "com.amazonaws.neptunedata#AccessDeniedException":
|
|
2320
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2321
|
-
case "ClientTimeoutException":
|
|
2322
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
2323
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
2324
|
-
case "ConstraintViolationException":
|
|
2325
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
2326
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
2327
|
-
case "IllegalArgumentException":
|
|
2328
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
2329
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
2330
|
-
case "InvalidArgumentException":
|
|
2331
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
2332
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2333
|
-
case "InvalidParameterException":
|
|
2334
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
2335
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2336
|
-
case "MethodNotAllowedException":
|
|
2337
|
-
case "com.amazonaws.neptunedata#MethodNotAllowedException":
|
|
2338
|
-
throw await de_MethodNotAllowedExceptionRes(parsedOutput, context);
|
|
2339
|
-
case "MissingParameterException":
|
|
2340
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
2341
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
2342
|
-
case "PreconditionsFailedException":
|
|
2343
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
2344
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
2345
|
-
case "ReadOnlyViolationException":
|
|
2346
|
-
case "com.amazonaws.neptunedata#ReadOnlyViolationException":
|
|
2347
|
-
throw await de_ReadOnlyViolationExceptionRes(parsedOutput, context);
|
|
2348
|
-
case "ServerShutdownException":
|
|
2349
|
-
case "com.amazonaws.neptunedata#ServerShutdownException":
|
|
2350
|
-
throw await de_ServerShutdownExceptionRes(parsedOutput, context);
|
|
2351
|
-
case "TooManyRequestsException":
|
|
2352
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
2353
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2354
|
-
case "UnsupportedOperationException":
|
|
2355
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
2356
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2357
|
-
default:
|
|
2358
|
-
const parsedBody = parsedOutput.body;
|
|
2359
|
-
return throwDefaultError({
|
|
2360
|
-
output,
|
|
2361
|
-
parsedBody,
|
|
2362
|
-
errorCode
|
|
2363
|
-
});
|
|
2364
|
-
}
|
|
2365
|
-
}, "de_ExecuteFastResetCommandError");
|
|
2366
1782
|
var de_ExecuteGremlinExplainQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2367
1783
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2368
|
-
return
|
|
1784
|
+
return de_CommandError(output, context);
|
|
2369
1785
|
}
|
|
2370
1786
|
const contents = (0, import_smithy_client.map)({
|
|
2371
1787
|
$metadata: deserializeMetadata(output)
|
|
@@ -2374,85 +1790,9 @@ var de_ExecuteGremlinExplainQueryCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2374
1790
|
contents.output = data;
|
|
2375
1791
|
return contents;
|
|
2376
1792
|
}, "de_ExecuteGremlinExplainQueryCommand");
|
|
2377
|
-
var de_ExecuteGremlinExplainQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2378
|
-
const parsedOutput = {
|
|
2379
|
-
...output,
|
|
2380
|
-
body: await parseErrorBody(output.body, context)
|
|
2381
|
-
};
|
|
2382
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2383
|
-
switch (errorCode) {
|
|
2384
|
-
case "BadRequestException":
|
|
2385
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
2386
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2387
|
-
case "CancelledByUserException":
|
|
2388
|
-
case "com.amazonaws.neptunedata#CancelledByUserException":
|
|
2389
|
-
throw await de_CancelledByUserExceptionRes(parsedOutput, context);
|
|
2390
|
-
case "ClientTimeoutException":
|
|
2391
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
2392
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
2393
|
-
case "ConcurrentModificationException":
|
|
2394
|
-
case "com.amazonaws.neptunedata#ConcurrentModificationException":
|
|
2395
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2396
|
-
case "ConstraintViolationException":
|
|
2397
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
2398
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
2399
|
-
case "FailureByQueryException":
|
|
2400
|
-
case "com.amazonaws.neptunedata#FailureByQueryException":
|
|
2401
|
-
throw await de_FailureByQueryExceptionRes(parsedOutput, context);
|
|
2402
|
-
case "IllegalArgumentException":
|
|
2403
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
2404
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
2405
|
-
case "InvalidArgumentException":
|
|
2406
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
2407
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2408
|
-
case "InvalidParameterException":
|
|
2409
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
2410
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2411
|
-
case "MalformedQueryException":
|
|
2412
|
-
case "com.amazonaws.neptunedata#MalformedQueryException":
|
|
2413
|
-
throw await de_MalformedQueryExceptionRes(parsedOutput, context);
|
|
2414
|
-
case "MemoryLimitExceededException":
|
|
2415
|
-
case "com.amazonaws.neptunedata#MemoryLimitExceededException":
|
|
2416
|
-
throw await de_MemoryLimitExceededExceptionRes(parsedOutput, context);
|
|
2417
|
-
case "MissingParameterException":
|
|
2418
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
2419
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
2420
|
-
case "ParsingException":
|
|
2421
|
-
case "com.amazonaws.neptunedata#ParsingException":
|
|
2422
|
-
throw await de_ParsingExceptionRes(parsedOutput, context);
|
|
2423
|
-
case "PreconditionsFailedException":
|
|
2424
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
2425
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
2426
|
-
case "QueryLimitExceededException":
|
|
2427
|
-
case "com.amazonaws.neptunedata#QueryLimitExceededException":
|
|
2428
|
-
throw await de_QueryLimitExceededExceptionRes(parsedOutput, context);
|
|
2429
|
-
case "QueryLimitException":
|
|
2430
|
-
case "com.amazonaws.neptunedata#QueryLimitException":
|
|
2431
|
-
throw await de_QueryLimitExceptionRes(parsedOutput, context);
|
|
2432
|
-
case "QueryTooLargeException":
|
|
2433
|
-
case "com.amazonaws.neptunedata#QueryTooLargeException":
|
|
2434
|
-
throw await de_QueryTooLargeExceptionRes(parsedOutput, context);
|
|
2435
|
-
case "TimeLimitExceededException":
|
|
2436
|
-
case "com.amazonaws.neptunedata#TimeLimitExceededException":
|
|
2437
|
-
throw await de_TimeLimitExceededExceptionRes(parsedOutput, context);
|
|
2438
|
-
case "TooManyRequestsException":
|
|
2439
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
2440
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2441
|
-
case "UnsupportedOperationException":
|
|
2442
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
2443
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2444
|
-
default:
|
|
2445
|
-
const parsedBody = parsedOutput.body;
|
|
2446
|
-
return throwDefaultError({
|
|
2447
|
-
output,
|
|
2448
|
-
parsedBody,
|
|
2449
|
-
errorCode
|
|
2450
|
-
});
|
|
2451
|
-
}
|
|
2452
|
-
}, "de_ExecuteGremlinExplainQueryCommandError");
|
|
2453
1793
|
var de_ExecuteGremlinProfileQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2454
1794
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2455
|
-
return
|
|
1795
|
+
return de_CommandError(output, context);
|
|
2456
1796
|
}
|
|
2457
1797
|
const contents = (0, import_smithy_client.map)({
|
|
2458
1798
|
$metadata: deserializeMetadata(output)
|
|
@@ -2461,85 +1801,9 @@ var de_ExecuteGremlinProfileQueryCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2461
1801
|
contents.output = data;
|
|
2462
1802
|
return contents;
|
|
2463
1803
|
}, "de_ExecuteGremlinProfileQueryCommand");
|
|
2464
|
-
var de_ExecuteGremlinProfileQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2465
|
-
const parsedOutput = {
|
|
2466
|
-
...output,
|
|
2467
|
-
body: await parseErrorBody(output.body, context)
|
|
2468
|
-
};
|
|
2469
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2470
|
-
switch (errorCode) {
|
|
2471
|
-
case "BadRequestException":
|
|
2472
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
2473
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2474
|
-
case "CancelledByUserException":
|
|
2475
|
-
case "com.amazonaws.neptunedata#CancelledByUserException":
|
|
2476
|
-
throw await de_CancelledByUserExceptionRes(parsedOutput, context);
|
|
2477
|
-
case "ClientTimeoutException":
|
|
2478
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
2479
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
2480
|
-
case "ConcurrentModificationException":
|
|
2481
|
-
case "com.amazonaws.neptunedata#ConcurrentModificationException":
|
|
2482
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2483
|
-
case "ConstraintViolationException":
|
|
2484
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
2485
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
2486
|
-
case "FailureByQueryException":
|
|
2487
|
-
case "com.amazonaws.neptunedata#FailureByQueryException":
|
|
2488
|
-
throw await de_FailureByQueryExceptionRes(parsedOutput, context);
|
|
2489
|
-
case "IllegalArgumentException":
|
|
2490
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
2491
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
2492
|
-
case "InvalidArgumentException":
|
|
2493
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
2494
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2495
|
-
case "InvalidParameterException":
|
|
2496
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
2497
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2498
|
-
case "MalformedQueryException":
|
|
2499
|
-
case "com.amazonaws.neptunedata#MalformedQueryException":
|
|
2500
|
-
throw await de_MalformedQueryExceptionRes(parsedOutput, context);
|
|
2501
|
-
case "MemoryLimitExceededException":
|
|
2502
|
-
case "com.amazonaws.neptunedata#MemoryLimitExceededException":
|
|
2503
|
-
throw await de_MemoryLimitExceededExceptionRes(parsedOutput, context);
|
|
2504
|
-
case "MissingParameterException":
|
|
2505
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
2506
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
2507
|
-
case "ParsingException":
|
|
2508
|
-
case "com.amazonaws.neptunedata#ParsingException":
|
|
2509
|
-
throw await de_ParsingExceptionRes(parsedOutput, context);
|
|
2510
|
-
case "PreconditionsFailedException":
|
|
2511
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
2512
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
2513
|
-
case "QueryLimitExceededException":
|
|
2514
|
-
case "com.amazonaws.neptunedata#QueryLimitExceededException":
|
|
2515
|
-
throw await de_QueryLimitExceededExceptionRes(parsedOutput, context);
|
|
2516
|
-
case "QueryLimitException":
|
|
2517
|
-
case "com.amazonaws.neptunedata#QueryLimitException":
|
|
2518
|
-
throw await de_QueryLimitExceptionRes(parsedOutput, context);
|
|
2519
|
-
case "QueryTooLargeException":
|
|
2520
|
-
case "com.amazonaws.neptunedata#QueryTooLargeException":
|
|
2521
|
-
throw await de_QueryTooLargeExceptionRes(parsedOutput, context);
|
|
2522
|
-
case "TimeLimitExceededException":
|
|
2523
|
-
case "com.amazonaws.neptunedata#TimeLimitExceededException":
|
|
2524
|
-
throw await de_TimeLimitExceededExceptionRes(parsedOutput, context);
|
|
2525
|
-
case "TooManyRequestsException":
|
|
2526
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
2527
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2528
|
-
case "UnsupportedOperationException":
|
|
2529
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
2530
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2531
|
-
default:
|
|
2532
|
-
const parsedBody = parsedOutput.body;
|
|
2533
|
-
return throwDefaultError({
|
|
2534
|
-
output,
|
|
2535
|
-
parsedBody,
|
|
2536
|
-
errorCode
|
|
2537
|
-
});
|
|
2538
|
-
}
|
|
2539
|
-
}, "de_ExecuteGremlinProfileQueryCommandError");
|
|
2540
1804
|
var de_ExecuteGremlinQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2541
1805
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2542
|
-
return
|
|
1806
|
+
return de_CommandError(output, context);
|
|
2543
1807
|
}
|
|
2544
1808
|
const contents = (0, import_smithy_client.map)({
|
|
2545
1809
|
$metadata: deserializeMetadata(output)
|
|
@@ -2554,85 +1818,9 @@ var de_ExecuteGremlinQueryCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2554
1818
|
Object.assign(contents, doc);
|
|
2555
1819
|
return contents;
|
|
2556
1820
|
}, "de_ExecuteGremlinQueryCommand");
|
|
2557
|
-
var de_ExecuteGremlinQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2558
|
-
const parsedOutput = {
|
|
2559
|
-
...output,
|
|
2560
|
-
body: await parseErrorBody(output.body, context)
|
|
2561
|
-
};
|
|
2562
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2563
|
-
switch (errorCode) {
|
|
2564
|
-
case "BadRequestException":
|
|
2565
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
2566
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2567
|
-
case "CancelledByUserException":
|
|
2568
|
-
case "com.amazonaws.neptunedata#CancelledByUserException":
|
|
2569
|
-
throw await de_CancelledByUserExceptionRes(parsedOutput, context);
|
|
2570
|
-
case "ClientTimeoutException":
|
|
2571
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
2572
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
2573
|
-
case "ConcurrentModificationException":
|
|
2574
|
-
case "com.amazonaws.neptunedata#ConcurrentModificationException":
|
|
2575
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2576
|
-
case "ConstraintViolationException":
|
|
2577
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
2578
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
2579
|
-
case "FailureByQueryException":
|
|
2580
|
-
case "com.amazonaws.neptunedata#FailureByQueryException":
|
|
2581
|
-
throw await de_FailureByQueryExceptionRes(parsedOutput, context);
|
|
2582
|
-
case "IllegalArgumentException":
|
|
2583
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
2584
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
2585
|
-
case "InvalidArgumentException":
|
|
2586
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
2587
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2588
|
-
case "InvalidParameterException":
|
|
2589
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
2590
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2591
|
-
case "MalformedQueryException":
|
|
2592
|
-
case "com.amazonaws.neptunedata#MalformedQueryException":
|
|
2593
|
-
throw await de_MalformedQueryExceptionRes(parsedOutput, context);
|
|
2594
|
-
case "MemoryLimitExceededException":
|
|
2595
|
-
case "com.amazonaws.neptunedata#MemoryLimitExceededException":
|
|
2596
|
-
throw await de_MemoryLimitExceededExceptionRes(parsedOutput, context);
|
|
2597
|
-
case "MissingParameterException":
|
|
2598
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
2599
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
2600
|
-
case "ParsingException":
|
|
2601
|
-
case "com.amazonaws.neptunedata#ParsingException":
|
|
2602
|
-
throw await de_ParsingExceptionRes(parsedOutput, context);
|
|
2603
|
-
case "PreconditionsFailedException":
|
|
2604
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
2605
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
2606
|
-
case "QueryLimitExceededException":
|
|
2607
|
-
case "com.amazonaws.neptunedata#QueryLimitExceededException":
|
|
2608
|
-
throw await de_QueryLimitExceededExceptionRes(parsedOutput, context);
|
|
2609
|
-
case "QueryLimitException":
|
|
2610
|
-
case "com.amazonaws.neptunedata#QueryLimitException":
|
|
2611
|
-
throw await de_QueryLimitExceptionRes(parsedOutput, context);
|
|
2612
|
-
case "QueryTooLargeException":
|
|
2613
|
-
case "com.amazonaws.neptunedata#QueryTooLargeException":
|
|
2614
|
-
throw await de_QueryTooLargeExceptionRes(parsedOutput, context);
|
|
2615
|
-
case "TimeLimitExceededException":
|
|
2616
|
-
case "com.amazonaws.neptunedata#TimeLimitExceededException":
|
|
2617
|
-
throw await de_TimeLimitExceededExceptionRes(parsedOutput, context);
|
|
2618
|
-
case "TooManyRequestsException":
|
|
2619
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
2620
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2621
|
-
case "UnsupportedOperationException":
|
|
2622
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
2623
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2624
|
-
default:
|
|
2625
|
-
const parsedBody = parsedOutput.body;
|
|
2626
|
-
return throwDefaultError({
|
|
2627
|
-
output,
|
|
2628
|
-
parsedBody,
|
|
2629
|
-
errorCode
|
|
2630
|
-
});
|
|
2631
|
-
}
|
|
2632
|
-
}, "de_ExecuteGremlinQueryCommandError");
|
|
2633
1821
|
var de_ExecuteOpenCypherExplainQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2634
1822
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2635
|
-
return
|
|
1823
|
+
return de_CommandError(output, context);
|
|
2636
1824
|
}
|
|
2637
1825
|
const contents = (0, import_smithy_client.map)({
|
|
2638
1826
|
$metadata: deserializeMetadata(output)
|
|
@@ -2641,88 +1829,9 @@ var de_ExecuteOpenCypherExplainQueryCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2641
1829
|
contents.results = data;
|
|
2642
1830
|
return contents;
|
|
2643
1831
|
}, "de_ExecuteOpenCypherExplainQueryCommand");
|
|
2644
|
-
var de_ExecuteOpenCypherExplainQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2645
|
-
const parsedOutput = {
|
|
2646
|
-
...output,
|
|
2647
|
-
body: await parseErrorBody(output.body, context)
|
|
2648
|
-
};
|
|
2649
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2650
|
-
switch (errorCode) {
|
|
2651
|
-
case "BadRequestException":
|
|
2652
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
2653
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2654
|
-
case "CancelledByUserException":
|
|
2655
|
-
case "com.amazonaws.neptunedata#CancelledByUserException":
|
|
2656
|
-
throw await de_CancelledByUserExceptionRes(parsedOutput, context);
|
|
2657
|
-
case "ClientTimeoutException":
|
|
2658
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
2659
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
2660
|
-
case "ConcurrentModificationException":
|
|
2661
|
-
case "com.amazonaws.neptunedata#ConcurrentModificationException":
|
|
2662
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2663
|
-
case "ConstraintViolationException":
|
|
2664
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
2665
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
2666
|
-
case "FailureByQueryException":
|
|
2667
|
-
case "com.amazonaws.neptunedata#FailureByQueryException":
|
|
2668
|
-
throw await de_FailureByQueryExceptionRes(parsedOutput, context);
|
|
2669
|
-
case "IllegalArgumentException":
|
|
2670
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
2671
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
2672
|
-
case "InvalidArgumentException":
|
|
2673
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
2674
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2675
|
-
case "InvalidNumericDataException":
|
|
2676
|
-
case "com.amazonaws.neptunedata#InvalidNumericDataException":
|
|
2677
|
-
throw await de_InvalidNumericDataExceptionRes(parsedOutput, context);
|
|
2678
|
-
case "InvalidParameterException":
|
|
2679
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
2680
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2681
|
-
case "MalformedQueryException":
|
|
2682
|
-
case "com.amazonaws.neptunedata#MalformedQueryException":
|
|
2683
|
-
throw await de_MalformedQueryExceptionRes(parsedOutput, context);
|
|
2684
|
-
case "MemoryLimitExceededException":
|
|
2685
|
-
case "com.amazonaws.neptunedata#MemoryLimitExceededException":
|
|
2686
|
-
throw await de_MemoryLimitExceededExceptionRes(parsedOutput, context);
|
|
2687
|
-
case "MissingParameterException":
|
|
2688
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
2689
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
2690
|
-
case "ParsingException":
|
|
2691
|
-
case "com.amazonaws.neptunedata#ParsingException":
|
|
2692
|
-
throw await de_ParsingExceptionRes(parsedOutput, context);
|
|
2693
|
-
case "PreconditionsFailedException":
|
|
2694
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
2695
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
2696
|
-
case "QueryLimitExceededException":
|
|
2697
|
-
case "com.amazonaws.neptunedata#QueryLimitExceededException":
|
|
2698
|
-
throw await de_QueryLimitExceededExceptionRes(parsedOutput, context);
|
|
2699
|
-
case "QueryLimitException":
|
|
2700
|
-
case "com.amazonaws.neptunedata#QueryLimitException":
|
|
2701
|
-
throw await de_QueryLimitExceptionRes(parsedOutput, context);
|
|
2702
|
-
case "QueryTooLargeException":
|
|
2703
|
-
case "com.amazonaws.neptunedata#QueryTooLargeException":
|
|
2704
|
-
throw await de_QueryTooLargeExceptionRes(parsedOutput, context);
|
|
2705
|
-
case "TimeLimitExceededException":
|
|
2706
|
-
case "com.amazonaws.neptunedata#TimeLimitExceededException":
|
|
2707
|
-
throw await de_TimeLimitExceededExceptionRes(parsedOutput, context);
|
|
2708
|
-
case "TooManyRequestsException":
|
|
2709
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
2710
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2711
|
-
case "UnsupportedOperationException":
|
|
2712
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
2713
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2714
|
-
default:
|
|
2715
|
-
const parsedBody = parsedOutput.body;
|
|
2716
|
-
return throwDefaultError({
|
|
2717
|
-
output,
|
|
2718
|
-
parsedBody,
|
|
2719
|
-
errorCode
|
|
2720
|
-
});
|
|
2721
|
-
}
|
|
2722
|
-
}, "de_ExecuteOpenCypherExplainQueryCommandError");
|
|
2723
1832
|
var de_ExecuteOpenCypherQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2724
1833
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2725
|
-
return
|
|
1834
|
+
return de_CommandError(output, context);
|
|
2726
1835
|
}
|
|
2727
1836
|
const contents = (0, import_smithy_client.map)({
|
|
2728
1837
|
$metadata: deserializeMetadata(output)
|
|
@@ -2734,88 +1843,9 @@ var de_ExecuteOpenCypherQueryCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2734
1843
|
Object.assign(contents, doc);
|
|
2735
1844
|
return contents;
|
|
2736
1845
|
}, "de_ExecuteOpenCypherQueryCommand");
|
|
2737
|
-
var de_ExecuteOpenCypherQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2738
|
-
const parsedOutput = {
|
|
2739
|
-
...output,
|
|
2740
|
-
body: await parseErrorBody(output.body, context)
|
|
2741
|
-
};
|
|
2742
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2743
|
-
switch (errorCode) {
|
|
2744
|
-
case "BadRequestException":
|
|
2745
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
2746
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2747
|
-
case "CancelledByUserException":
|
|
2748
|
-
case "com.amazonaws.neptunedata#CancelledByUserException":
|
|
2749
|
-
throw await de_CancelledByUserExceptionRes(parsedOutput, context);
|
|
2750
|
-
case "ClientTimeoutException":
|
|
2751
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
2752
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
2753
|
-
case "ConcurrentModificationException":
|
|
2754
|
-
case "com.amazonaws.neptunedata#ConcurrentModificationException":
|
|
2755
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2756
|
-
case "ConstraintViolationException":
|
|
2757
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
2758
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
2759
|
-
case "FailureByQueryException":
|
|
2760
|
-
case "com.amazonaws.neptunedata#FailureByQueryException":
|
|
2761
|
-
throw await de_FailureByQueryExceptionRes(parsedOutput, context);
|
|
2762
|
-
case "IllegalArgumentException":
|
|
2763
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
2764
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
2765
|
-
case "InvalidArgumentException":
|
|
2766
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
2767
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2768
|
-
case "InvalidNumericDataException":
|
|
2769
|
-
case "com.amazonaws.neptunedata#InvalidNumericDataException":
|
|
2770
|
-
throw await de_InvalidNumericDataExceptionRes(parsedOutput, context);
|
|
2771
|
-
case "InvalidParameterException":
|
|
2772
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
2773
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2774
|
-
case "MalformedQueryException":
|
|
2775
|
-
case "com.amazonaws.neptunedata#MalformedQueryException":
|
|
2776
|
-
throw await de_MalformedQueryExceptionRes(parsedOutput, context);
|
|
2777
|
-
case "MemoryLimitExceededException":
|
|
2778
|
-
case "com.amazonaws.neptunedata#MemoryLimitExceededException":
|
|
2779
|
-
throw await de_MemoryLimitExceededExceptionRes(parsedOutput, context);
|
|
2780
|
-
case "MissingParameterException":
|
|
2781
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
2782
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
2783
|
-
case "ParsingException":
|
|
2784
|
-
case "com.amazonaws.neptunedata#ParsingException":
|
|
2785
|
-
throw await de_ParsingExceptionRes(parsedOutput, context);
|
|
2786
|
-
case "PreconditionsFailedException":
|
|
2787
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
2788
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
2789
|
-
case "QueryLimitExceededException":
|
|
2790
|
-
case "com.amazonaws.neptunedata#QueryLimitExceededException":
|
|
2791
|
-
throw await de_QueryLimitExceededExceptionRes(parsedOutput, context);
|
|
2792
|
-
case "QueryLimitException":
|
|
2793
|
-
case "com.amazonaws.neptunedata#QueryLimitException":
|
|
2794
|
-
throw await de_QueryLimitExceptionRes(parsedOutput, context);
|
|
2795
|
-
case "QueryTooLargeException":
|
|
2796
|
-
case "com.amazonaws.neptunedata#QueryTooLargeException":
|
|
2797
|
-
throw await de_QueryTooLargeExceptionRes(parsedOutput, context);
|
|
2798
|
-
case "TimeLimitExceededException":
|
|
2799
|
-
case "com.amazonaws.neptunedata#TimeLimitExceededException":
|
|
2800
|
-
throw await de_TimeLimitExceededExceptionRes(parsedOutput, context);
|
|
2801
|
-
case "TooManyRequestsException":
|
|
2802
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
2803
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2804
|
-
case "UnsupportedOperationException":
|
|
2805
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
2806
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2807
|
-
default:
|
|
2808
|
-
const parsedBody = parsedOutput.body;
|
|
2809
|
-
return throwDefaultError({
|
|
2810
|
-
output,
|
|
2811
|
-
parsedBody,
|
|
2812
|
-
errorCode
|
|
2813
|
-
});
|
|
2814
|
-
}
|
|
2815
|
-
}, "de_ExecuteOpenCypherQueryCommandError");
|
|
2816
1846
|
var de_GetEngineStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2817
1847
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2818
|
-
return
|
|
1848
|
+
return de_CommandError(output, context);
|
|
2819
1849
|
}
|
|
2820
1850
|
const contents = (0, import_smithy_client.map)({
|
|
2821
1851
|
$metadata: deserializeMetadata(output)
|
|
@@ -2839,49 +1869,9 @@ var de_GetEngineStatusCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2839
1869
|
Object.assign(contents, doc);
|
|
2840
1870
|
return contents;
|
|
2841
1871
|
}, "de_GetEngineStatusCommand");
|
|
2842
|
-
var de_GetEngineStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2843
|
-
const parsedOutput = {
|
|
2844
|
-
...output,
|
|
2845
|
-
body: await parseErrorBody(output.body, context)
|
|
2846
|
-
};
|
|
2847
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2848
|
-
switch (errorCode) {
|
|
2849
|
-
case "ClientTimeoutException":
|
|
2850
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
2851
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
2852
|
-
case "ConstraintViolationException":
|
|
2853
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
2854
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
2855
|
-
case "IllegalArgumentException":
|
|
2856
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
2857
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
2858
|
-
case "InternalFailureException":
|
|
2859
|
-
case "com.amazonaws.neptunedata#InternalFailureException":
|
|
2860
|
-
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2861
|
-
case "InvalidArgumentException":
|
|
2862
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
2863
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2864
|
-
case "PreconditionsFailedException":
|
|
2865
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
2866
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
2867
|
-
case "TooManyRequestsException":
|
|
2868
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
2869
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2870
|
-
case "UnsupportedOperationException":
|
|
2871
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
2872
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2873
|
-
default:
|
|
2874
|
-
const parsedBody = parsedOutput.body;
|
|
2875
|
-
return throwDefaultError({
|
|
2876
|
-
output,
|
|
2877
|
-
parsedBody,
|
|
2878
|
-
errorCode
|
|
2879
|
-
});
|
|
2880
|
-
}
|
|
2881
|
-
}, "de_GetEngineStatusCommandError");
|
|
2882
1872
|
var de_GetGremlinQueryStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2883
1873
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2884
|
-
return
|
|
1874
|
+
return de_CommandError(output, context);
|
|
2885
1875
|
}
|
|
2886
1876
|
const contents = (0, import_smithy_client.map)({
|
|
2887
1877
|
$metadata: deserializeMetadata(output)
|
|
@@ -2895,73 +1885,9 @@ var de_GetGremlinQueryStatusCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2895
1885
|
Object.assign(contents, doc);
|
|
2896
1886
|
return contents;
|
|
2897
1887
|
}, "de_GetGremlinQueryStatusCommand");
|
|
2898
|
-
var de_GetGremlinQueryStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2899
|
-
const parsedOutput = {
|
|
2900
|
-
...output,
|
|
2901
|
-
body: await parseErrorBody(output.body, context)
|
|
2902
|
-
};
|
|
2903
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2904
|
-
switch (errorCode) {
|
|
2905
|
-
case "AccessDeniedException":
|
|
2906
|
-
case "com.amazonaws.neptunedata#AccessDeniedException":
|
|
2907
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2908
|
-
case "BadRequestException":
|
|
2909
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
2910
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2911
|
-
case "ClientTimeoutException":
|
|
2912
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
2913
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
2914
|
-
case "ConcurrentModificationException":
|
|
2915
|
-
case "com.amazonaws.neptunedata#ConcurrentModificationException":
|
|
2916
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2917
|
-
case "ConstraintViolationException":
|
|
2918
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
2919
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
2920
|
-
case "FailureByQueryException":
|
|
2921
|
-
case "com.amazonaws.neptunedata#FailureByQueryException":
|
|
2922
|
-
throw await de_FailureByQueryExceptionRes(parsedOutput, context);
|
|
2923
|
-
case "IllegalArgumentException":
|
|
2924
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
2925
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
2926
|
-
case "InvalidArgumentException":
|
|
2927
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
2928
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2929
|
-
case "InvalidParameterException":
|
|
2930
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
2931
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2932
|
-
case "MissingParameterException":
|
|
2933
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
2934
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
2935
|
-
case "ParsingException":
|
|
2936
|
-
case "com.amazonaws.neptunedata#ParsingException":
|
|
2937
|
-
throw await de_ParsingExceptionRes(parsedOutput, context);
|
|
2938
|
-
case "PreconditionsFailedException":
|
|
2939
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
2940
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
2941
|
-
case "ReadOnlyViolationException":
|
|
2942
|
-
case "com.amazonaws.neptunedata#ReadOnlyViolationException":
|
|
2943
|
-
throw await de_ReadOnlyViolationExceptionRes(parsedOutput, context);
|
|
2944
|
-
case "TimeLimitExceededException":
|
|
2945
|
-
case "com.amazonaws.neptunedata#TimeLimitExceededException":
|
|
2946
|
-
throw await de_TimeLimitExceededExceptionRes(parsedOutput, context);
|
|
2947
|
-
case "TooManyRequestsException":
|
|
2948
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
2949
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2950
|
-
case "UnsupportedOperationException":
|
|
2951
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
2952
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2953
|
-
default:
|
|
2954
|
-
const parsedBody = parsedOutput.body;
|
|
2955
|
-
return throwDefaultError({
|
|
2956
|
-
output,
|
|
2957
|
-
parsedBody,
|
|
2958
|
-
errorCode
|
|
2959
|
-
});
|
|
2960
|
-
}
|
|
2961
|
-
}, "de_GetGremlinQueryStatusCommandError");
|
|
2962
1888
|
var de_GetLoaderJobStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2963
1889
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2964
|
-
return
|
|
1890
|
+
return de_CommandError(output, context);
|
|
2965
1891
|
}
|
|
2966
1892
|
const contents = (0, import_smithy_client.map)({
|
|
2967
1893
|
$metadata: deserializeMetadata(output)
|
|
@@ -2974,64 +1900,9 @@ var de_GetLoaderJobStatusCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2974
1900
|
Object.assign(contents, doc);
|
|
2975
1901
|
return contents;
|
|
2976
1902
|
}, "de_GetLoaderJobStatusCommand");
|
|
2977
|
-
var de_GetLoaderJobStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2978
|
-
const parsedOutput = {
|
|
2979
|
-
...output,
|
|
2980
|
-
body: await parseErrorBody(output.body, context)
|
|
2981
|
-
};
|
|
2982
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2983
|
-
switch (errorCode) {
|
|
2984
|
-
case "BadRequestException":
|
|
2985
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
2986
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2987
|
-
case "BulkLoadIdNotFoundException":
|
|
2988
|
-
case "com.amazonaws.neptunedata#BulkLoadIdNotFoundException":
|
|
2989
|
-
throw await de_BulkLoadIdNotFoundExceptionRes(parsedOutput, context);
|
|
2990
|
-
case "ClientTimeoutException":
|
|
2991
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
2992
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
2993
|
-
case "ConstraintViolationException":
|
|
2994
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
2995
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
2996
|
-
case "IllegalArgumentException":
|
|
2997
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
2998
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
2999
|
-
case "InternalFailureException":
|
|
3000
|
-
case "com.amazonaws.neptunedata#InternalFailureException":
|
|
3001
|
-
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
3002
|
-
case "InvalidArgumentException":
|
|
3003
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
3004
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
3005
|
-
case "InvalidParameterException":
|
|
3006
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
3007
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3008
|
-
case "LoadUrlAccessDeniedException":
|
|
3009
|
-
case "com.amazonaws.neptunedata#LoadUrlAccessDeniedException":
|
|
3010
|
-
throw await de_LoadUrlAccessDeniedExceptionRes(parsedOutput, context);
|
|
3011
|
-
case "MissingParameterException":
|
|
3012
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
3013
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
3014
|
-
case "PreconditionsFailedException":
|
|
3015
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
3016
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
3017
|
-
case "TooManyRequestsException":
|
|
3018
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
3019
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
3020
|
-
case "UnsupportedOperationException":
|
|
3021
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
3022
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3023
|
-
default:
|
|
3024
|
-
const parsedBody = parsedOutput.body;
|
|
3025
|
-
return throwDefaultError({
|
|
3026
|
-
output,
|
|
3027
|
-
parsedBody,
|
|
3028
|
-
errorCode
|
|
3029
|
-
});
|
|
3030
|
-
}
|
|
3031
|
-
}, "de_GetLoaderJobStatusCommandError");
|
|
3032
1903
|
var de_GetMLDataProcessingJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3033
1904
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3034
|
-
return
|
|
1905
|
+
return de_CommandError(output, context);
|
|
3035
1906
|
}
|
|
3036
1907
|
const contents = (0, import_smithy_client.map)({
|
|
3037
1908
|
$metadata: deserializeMetadata(output)
|
|
@@ -3045,58 +1916,9 @@ var de_GetMLDataProcessingJobCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3045
1916
|
Object.assign(contents, doc);
|
|
3046
1917
|
return contents;
|
|
3047
1918
|
}, "de_GetMLDataProcessingJobCommand");
|
|
3048
|
-
var de_GetMLDataProcessingJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3049
|
-
const parsedOutput = {
|
|
3050
|
-
...output,
|
|
3051
|
-
body: await parseErrorBody(output.body, context)
|
|
3052
|
-
};
|
|
3053
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3054
|
-
switch (errorCode) {
|
|
3055
|
-
case "BadRequestException":
|
|
3056
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
3057
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3058
|
-
case "ClientTimeoutException":
|
|
3059
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
3060
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
3061
|
-
case "ConstraintViolationException":
|
|
3062
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
3063
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
3064
|
-
case "IllegalArgumentException":
|
|
3065
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
3066
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
3067
|
-
case "InvalidArgumentException":
|
|
3068
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
3069
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
3070
|
-
case "InvalidParameterException":
|
|
3071
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
3072
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3073
|
-
case "MLResourceNotFoundException":
|
|
3074
|
-
case "com.amazonaws.neptunedata#MLResourceNotFoundException":
|
|
3075
|
-
throw await de_MLResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3076
|
-
case "MissingParameterException":
|
|
3077
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
3078
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
3079
|
-
case "PreconditionsFailedException":
|
|
3080
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
3081
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
3082
|
-
case "TooManyRequestsException":
|
|
3083
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
3084
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
3085
|
-
case "UnsupportedOperationException":
|
|
3086
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
3087
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3088
|
-
default:
|
|
3089
|
-
const parsedBody = parsedOutput.body;
|
|
3090
|
-
return throwDefaultError({
|
|
3091
|
-
output,
|
|
3092
|
-
parsedBody,
|
|
3093
|
-
errorCode
|
|
3094
|
-
});
|
|
3095
|
-
}
|
|
3096
|
-
}, "de_GetMLDataProcessingJobCommandError");
|
|
3097
1919
|
var de_GetMLEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3098
1920
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3099
|
-
return
|
|
1921
|
+
return de_CommandError(output, context);
|
|
3100
1922
|
}
|
|
3101
1923
|
const contents = (0, import_smithy_client.map)({
|
|
3102
1924
|
$metadata: deserializeMetadata(output)
|
|
@@ -3111,58 +1933,9 @@ var de_GetMLEndpointCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3111
1933
|
Object.assign(contents, doc);
|
|
3112
1934
|
return contents;
|
|
3113
1935
|
}, "de_GetMLEndpointCommand");
|
|
3114
|
-
var de_GetMLEndpointCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3115
|
-
const parsedOutput = {
|
|
3116
|
-
...output,
|
|
3117
|
-
body: await parseErrorBody(output.body, context)
|
|
3118
|
-
};
|
|
3119
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3120
|
-
switch (errorCode) {
|
|
3121
|
-
case "BadRequestException":
|
|
3122
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
3123
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3124
|
-
case "ClientTimeoutException":
|
|
3125
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
3126
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
3127
|
-
case "ConstraintViolationException":
|
|
3128
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
3129
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
3130
|
-
case "IllegalArgumentException":
|
|
3131
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
3132
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
3133
|
-
case "InvalidArgumentException":
|
|
3134
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
3135
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
3136
|
-
case "InvalidParameterException":
|
|
3137
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
3138
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3139
|
-
case "MLResourceNotFoundException":
|
|
3140
|
-
case "com.amazonaws.neptunedata#MLResourceNotFoundException":
|
|
3141
|
-
throw await de_MLResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3142
|
-
case "MissingParameterException":
|
|
3143
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
3144
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
3145
|
-
case "PreconditionsFailedException":
|
|
3146
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
3147
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
3148
|
-
case "TooManyRequestsException":
|
|
3149
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
3150
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
3151
|
-
case "UnsupportedOperationException":
|
|
3152
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
3153
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3154
|
-
default:
|
|
3155
|
-
const parsedBody = parsedOutput.body;
|
|
3156
|
-
return throwDefaultError({
|
|
3157
|
-
output,
|
|
3158
|
-
parsedBody,
|
|
3159
|
-
errorCode
|
|
3160
|
-
});
|
|
3161
|
-
}
|
|
3162
|
-
}, "de_GetMLEndpointCommandError");
|
|
3163
1936
|
var de_GetMLModelTrainingJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3164
1937
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3165
|
-
return
|
|
1938
|
+
return de_CommandError(output, context);
|
|
3166
1939
|
}
|
|
3167
1940
|
const contents = (0, import_smithy_client.map)({
|
|
3168
1941
|
$metadata: deserializeMetadata(output)
|
|
@@ -3179,58 +1952,9 @@ var de_GetMLModelTrainingJobCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3179
1952
|
Object.assign(contents, doc);
|
|
3180
1953
|
return contents;
|
|
3181
1954
|
}, "de_GetMLModelTrainingJobCommand");
|
|
3182
|
-
var de_GetMLModelTrainingJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3183
|
-
const parsedOutput = {
|
|
3184
|
-
...output,
|
|
3185
|
-
body: await parseErrorBody(output.body, context)
|
|
3186
|
-
};
|
|
3187
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3188
|
-
switch (errorCode) {
|
|
3189
|
-
case "BadRequestException":
|
|
3190
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
3191
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3192
|
-
case "ClientTimeoutException":
|
|
3193
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
3194
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
3195
|
-
case "ConstraintViolationException":
|
|
3196
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
3197
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
3198
|
-
case "IllegalArgumentException":
|
|
3199
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
3200
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
3201
|
-
case "InvalidArgumentException":
|
|
3202
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
3203
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
3204
|
-
case "InvalidParameterException":
|
|
3205
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
3206
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3207
|
-
case "MLResourceNotFoundException":
|
|
3208
|
-
case "com.amazonaws.neptunedata#MLResourceNotFoundException":
|
|
3209
|
-
throw await de_MLResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3210
|
-
case "MissingParameterException":
|
|
3211
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
3212
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
3213
|
-
case "PreconditionsFailedException":
|
|
3214
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
3215
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
3216
|
-
case "TooManyRequestsException":
|
|
3217
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
3218
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
3219
|
-
case "UnsupportedOperationException":
|
|
3220
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
3221
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3222
|
-
default:
|
|
3223
|
-
const parsedBody = parsedOutput.body;
|
|
3224
|
-
return throwDefaultError({
|
|
3225
|
-
output,
|
|
3226
|
-
parsedBody,
|
|
3227
|
-
errorCode
|
|
3228
|
-
});
|
|
3229
|
-
}
|
|
3230
|
-
}, "de_GetMLModelTrainingJobCommandError");
|
|
3231
1955
|
var de_GetMLModelTransformJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3232
1956
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3233
|
-
return
|
|
1957
|
+
return de_CommandError(output, context);
|
|
3234
1958
|
}
|
|
3235
1959
|
const contents = (0, import_smithy_client.map)({
|
|
3236
1960
|
$metadata: deserializeMetadata(output)
|
|
@@ -3246,58 +1970,9 @@ var de_GetMLModelTransformJobCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3246
1970
|
Object.assign(contents, doc);
|
|
3247
1971
|
return contents;
|
|
3248
1972
|
}, "de_GetMLModelTransformJobCommand");
|
|
3249
|
-
var de_GetMLModelTransformJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3250
|
-
const parsedOutput = {
|
|
3251
|
-
...output,
|
|
3252
|
-
body: await parseErrorBody(output.body, context)
|
|
3253
|
-
};
|
|
3254
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3255
|
-
switch (errorCode) {
|
|
3256
|
-
case "BadRequestException":
|
|
3257
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
3258
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3259
|
-
case "ClientTimeoutException":
|
|
3260
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
3261
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
3262
|
-
case "ConstraintViolationException":
|
|
3263
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
3264
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
3265
|
-
case "IllegalArgumentException":
|
|
3266
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
3267
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
3268
|
-
case "InvalidArgumentException":
|
|
3269
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
3270
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
3271
|
-
case "InvalidParameterException":
|
|
3272
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
3273
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3274
|
-
case "MLResourceNotFoundException":
|
|
3275
|
-
case "com.amazonaws.neptunedata#MLResourceNotFoundException":
|
|
3276
|
-
throw await de_MLResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3277
|
-
case "MissingParameterException":
|
|
3278
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
3279
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
3280
|
-
case "PreconditionsFailedException":
|
|
3281
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
3282
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
3283
|
-
case "TooManyRequestsException":
|
|
3284
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
3285
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
3286
|
-
case "UnsupportedOperationException":
|
|
3287
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
3288
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3289
|
-
default:
|
|
3290
|
-
const parsedBody = parsedOutput.body;
|
|
3291
|
-
return throwDefaultError({
|
|
3292
|
-
output,
|
|
3293
|
-
parsedBody,
|
|
3294
|
-
errorCode
|
|
3295
|
-
});
|
|
3296
|
-
}
|
|
3297
|
-
}, "de_GetMLModelTransformJobCommandError");
|
|
3298
1973
|
var de_GetOpenCypherQueryStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3299
1974
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3300
|
-
return
|
|
1975
|
+
return de_CommandError(output, context);
|
|
3301
1976
|
}
|
|
3302
1977
|
const contents = (0, import_smithy_client.map)({
|
|
3303
1978
|
$metadata: deserializeMetadata(output)
|
|
@@ -3311,76 +1986,9 @@ var de_GetOpenCypherQueryStatusCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3311
1986
|
Object.assign(contents, doc);
|
|
3312
1987
|
return contents;
|
|
3313
1988
|
}, "de_GetOpenCypherQueryStatusCommand");
|
|
3314
|
-
var de_GetOpenCypherQueryStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3315
|
-
const parsedOutput = {
|
|
3316
|
-
...output,
|
|
3317
|
-
body: await parseErrorBody(output.body, context)
|
|
3318
|
-
};
|
|
3319
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3320
|
-
switch (errorCode) {
|
|
3321
|
-
case "AccessDeniedException":
|
|
3322
|
-
case "com.amazonaws.neptunedata#AccessDeniedException":
|
|
3323
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3324
|
-
case "BadRequestException":
|
|
3325
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
3326
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3327
|
-
case "ClientTimeoutException":
|
|
3328
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
3329
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
3330
|
-
case "ConcurrentModificationException":
|
|
3331
|
-
case "com.amazonaws.neptunedata#ConcurrentModificationException":
|
|
3332
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3333
|
-
case "ConstraintViolationException":
|
|
3334
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
3335
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
3336
|
-
case "FailureByQueryException":
|
|
3337
|
-
case "com.amazonaws.neptunedata#FailureByQueryException":
|
|
3338
|
-
throw await de_FailureByQueryExceptionRes(parsedOutput, context);
|
|
3339
|
-
case "IllegalArgumentException":
|
|
3340
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
3341
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
3342
|
-
case "InvalidArgumentException":
|
|
3343
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
3344
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
3345
|
-
case "InvalidNumericDataException":
|
|
3346
|
-
case "com.amazonaws.neptunedata#InvalidNumericDataException":
|
|
3347
|
-
throw await de_InvalidNumericDataExceptionRes(parsedOutput, context);
|
|
3348
|
-
case "InvalidParameterException":
|
|
3349
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
3350
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3351
|
-
case "MissingParameterException":
|
|
3352
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
3353
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
3354
|
-
case "ParsingException":
|
|
3355
|
-
case "com.amazonaws.neptunedata#ParsingException":
|
|
3356
|
-
throw await de_ParsingExceptionRes(parsedOutput, context);
|
|
3357
|
-
case "PreconditionsFailedException":
|
|
3358
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
3359
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
3360
|
-
case "ReadOnlyViolationException":
|
|
3361
|
-
case "com.amazonaws.neptunedata#ReadOnlyViolationException":
|
|
3362
|
-
throw await de_ReadOnlyViolationExceptionRes(parsedOutput, context);
|
|
3363
|
-
case "TimeLimitExceededException":
|
|
3364
|
-
case "com.amazonaws.neptunedata#TimeLimitExceededException":
|
|
3365
|
-
throw await de_TimeLimitExceededExceptionRes(parsedOutput, context);
|
|
3366
|
-
case "TooManyRequestsException":
|
|
3367
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
3368
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
3369
|
-
case "UnsupportedOperationException":
|
|
3370
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
3371
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3372
|
-
default:
|
|
3373
|
-
const parsedBody = parsedOutput.body;
|
|
3374
|
-
return throwDefaultError({
|
|
3375
|
-
output,
|
|
3376
|
-
parsedBody,
|
|
3377
|
-
errorCode
|
|
3378
|
-
});
|
|
3379
|
-
}
|
|
3380
|
-
}, "de_GetOpenCypherQueryStatusCommandError");
|
|
3381
1989
|
var de_GetPropertygraphStatisticsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3382
1990
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3383
|
-
return
|
|
1991
|
+
return de_CommandError(output, context);
|
|
3384
1992
|
}
|
|
3385
1993
|
const contents = (0, import_smithy_client.map)({
|
|
3386
1994
|
$metadata: deserializeMetadata(output)
|
|
@@ -3393,64 +2001,9 @@ var de_GetPropertygraphStatisticsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3393
2001
|
Object.assign(contents, doc);
|
|
3394
2002
|
return contents;
|
|
3395
2003
|
}, "de_GetPropertygraphStatisticsCommand");
|
|
3396
|
-
var de_GetPropertygraphStatisticsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3397
|
-
const parsedOutput = {
|
|
3398
|
-
...output,
|
|
3399
|
-
body: await parseErrorBody(output.body, context)
|
|
3400
|
-
};
|
|
3401
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3402
|
-
switch (errorCode) {
|
|
3403
|
-
case "AccessDeniedException":
|
|
3404
|
-
case "com.amazonaws.neptunedata#AccessDeniedException":
|
|
3405
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3406
|
-
case "BadRequestException":
|
|
3407
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
3408
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3409
|
-
case "ClientTimeoutException":
|
|
3410
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
3411
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
3412
|
-
case "ConstraintViolationException":
|
|
3413
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
3414
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
3415
|
-
case "IllegalArgumentException":
|
|
3416
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
3417
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
3418
|
-
case "InvalidArgumentException":
|
|
3419
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
3420
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
3421
|
-
case "InvalidParameterException":
|
|
3422
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
3423
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3424
|
-
case "MissingParameterException":
|
|
3425
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
3426
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
3427
|
-
case "PreconditionsFailedException":
|
|
3428
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
3429
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
3430
|
-
case "ReadOnlyViolationException":
|
|
3431
|
-
case "com.amazonaws.neptunedata#ReadOnlyViolationException":
|
|
3432
|
-
throw await de_ReadOnlyViolationExceptionRes(parsedOutput, context);
|
|
3433
|
-
case "StatisticsNotAvailableException":
|
|
3434
|
-
case "com.amazonaws.neptunedata#StatisticsNotAvailableException":
|
|
3435
|
-
throw await de_StatisticsNotAvailableExceptionRes(parsedOutput, context);
|
|
3436
|
-
case "TooManyRequestsException":
|
|
3437
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
3438
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
3439
|
-
case "UnsupportedOperationException":
|
|
3440
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
3441
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3442
|
-
default:
|
|
3443
|
-
const parsedBody = parsedOutput.body;
|
|
3444
|
-
return throwDefaultError({
|
|
3445
|
-
output,
|
|
3446
|
-
parsedBody,
|
|
3447
|
-
errorCode
|
|
3448
|
-
});
|
|
3449
|
-
}
|
|
3450
|
-
}, "de_GetPropertygraphStatisticsCommandError");
|
|
3451
2004
|
var de_GetPropertygraphStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3452
2005
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3453
|
-
return
|
|
2006
|
+
return de_CommandError(output, context);
|
|
3454
2007
|
}
|
|
3455
2008
|
const contents = (0, import_smithy_client.map)({
|
|
3456
2009
|
$metadata: deserializeMetadata(output)
|
|
@@ -3459,688 +2012,114 @@ var de_GetPropertygraphStreamCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3459
2012
|
const doc = (0, import_smithy_client.take)(data, {
|
|
3460
2013
|
format: import_smithy_client.expectString,
|
|
3461
2014
|
lastEventId: import_smithy_client._json,
|
|
3462
|
-
lastTrxTimestampInMillis: [, import_smithy_client.expectLong, `lastTrxTimestamp`],
|
|
3463
|
-
records: (_) => de_PropertygraphRecordsList(_, context),
|
|
3464
|
-
totalRecords: import_smithy_client.expectInt32
|
|
3465
|
-
});
|
|
3466
|
-
Object.assign(contents, doc);
|
|
3467
|
-
return contents;
|
|
3468
|
-
}, "de_GetPropertygraphStreamCommand");
|
|
3469
|
-
var
|
|
3470
|
-
const parsedOutput = {
|
|
3471
|
-
...output,
|
|
3472
|
-
body: await parseErrorBody(output.body, context)
|
|
3473
|
-
};
|
|
3474
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3475
|
-
switch (errorCode) {
|
|
3476
|
-
case "ClientTimeoutException":
|
|
3477
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
3478
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
3479
|
-
case "ConstraintViolationException":
|
|
3480
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
3481
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
3482
|
-
case "ExpiredStreamException":
|
|
3483
|
-
case "com.amazonaws.neptunedata#ExpiredStreamException":
|
|
3484
|
-
throw await de_ExpiredStreamExceptionRes(parsedOutput, context);
|
|
3485
|
-
case "IllegalArgumentException":
|
|
3486
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
3487
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
3488
|
-
case "InvalidArgumentException":
|
|
3489
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
3490
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
3491
|
-
case "InvalidParameterException":
|
|
3492
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
3493
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3494
|
-
case "MemoryLimitExceededException":
|
|
3495
|
-
case "com.amazonaws.neptunedata#MemoryLimitExceededException":
|
|
3496
|
-
throw await de_MemoryLimitExceededExceptionRes(parsedOutput, context);
|
|
3497
|
-
case "PreconditionsFailedException":
|
|
3498
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
3499
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
3500
|
-
case "StreamRecordsNotFoundException":
|
|
3501
|
-
case "com.amazonaws.neptunedata#StreamRecordsNotFoundException":
|
|
3502
|
-
throw await de_StreamRecordsNotFoundExceptionRes(parsedOutput, context);
|
|
3503
|
-
case "ThrottlingException":
|
|
3504
|
-
case "com.amazonaws.neptunedata#ThrottlingException":
|
|
3505
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3506
|
-
case "TooManyRequestsException":
|
|
3507
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
3508
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
3509
|
-
case "UnsupportedOperationException":
|
|
3510
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
3511
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3512
|
-
default:
|
|
3513
|
-
const parsedBody = parsedOutput.body;
|
|
3514
|
-
return throwDefaultError({
|
|
3515
|
-
output,
|
|
3516
|
-
parsedBody,
|
|
3517
|
-
errorCode
|
|
3518
|
-
});
|
|
3519
|
-
}
|
|
3520
|
-
}, "de_GetPropertygraphStreamCommandError");
|
|
3521
|
-
var de_GetPropertygraphSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3522
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3523
|
-
return de_GetPropertygraphSummaryCommandError(output, context);
|
|
3524
|
-
}
|
|
3525
|
-
const contents = (0, import_smithy_client.map)({
|
|
3526
|
-
$metadata: deserializeMetadata(output)
|
|
3527
|
-
});
|
|
3528
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
3529
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
3530
|
-
payload: (_) => de_PropertygraphSummaryValueMap(_, context)
|
|
3531
|
-
});
|
|
3532
|
-
Object.assign(contents, doc);
|
|
3533
|
-
(0, import_smithy_client.map)(contents, {
|
|
3534
|
-
statusCode: [, output.statusCode]
|
|
3535
|
-
});
|
|
3536
|
-
return contents;
|
|
3537
|
-
}, "de_GetPropertygraphSummaryCommand");
|
|
3538
|
-
var de_GetPropertygraphSummaryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3539
|
-
const parsedOutput = {
|
|
3540
|
-
...output,
|
|
3541
|
-
body: await parseErrorBody(output.body, context)
|
|
3542
|
-
};
|
|
3543
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3544
|
-
switch (errorCode) {
|
|
3545
|
-
case "AccessDeniedException":
|
|
3546
|
-
case "com.amazonaws.neptunedata#AccessDeniedException":
|
|
3547
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3548
|
-
case "BadRequestException":
|
|
3549
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
3550
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3551
|
-
case "ClientTimeoutException":
|
|
3552
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
3553
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
3554
|
-
case "ConstraintViolationException":
|
|
3555
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
3556
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
3557
|
-
case "IllegalArgumentException":
|
|
3558
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
3559
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
3560
|
-
case "InvalidArgumentException":
|
|
3561
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
3562
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
3563
|
-
case "InvalidParameterException":
|
|
3564
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
3565
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3566
|
-
case "MissingParameterException":
|
|
3567
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
3568
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
3569
|
-
case "PreconditionsFailedException":
|
|
3570
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
3571
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
3572
|
-
case "ReadOnlyViolationException":
|
|
3573
|
-
case "com.amazonaws.neptunedata#ReadOnlyViolationException":
|
|
3574
|
-
throw await de_ReadOnlyViolationExceptionRes(parsedOutput, context);
|
|
3575
|
-
case "StatisticsNotAvailableException":
|
|
3576
|
-
case "com.amazonaws.neptunedata#StatisticsNotAvailableException":
|
|
3577
|
-
throw await de_StatisticsNotAvailableExceptionRes(parsedOutput, context);
|
|
3578
|
-
case "TooManyRequestsException":
|
|
3579
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
3580
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
3581
|
-
case "UnsupportedOperationException":
|
|
3582
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
3583
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3584
|
-
default:
|
|
3585
|
-
const parsedBody = parsedOutput.body;
|
|
3586
|
-
return throwDefaultError({
|
|
3587
|
-
output,
|
|
3588
|
-
parsedBody,
|
|
3589
|
-
errorCode
|
|
3590
|
-
});
|
|
3591
|
-
}
|
|
3592
|
-
}, "de_GetPropertygraphSummaryCommandError");
|
|
3593
|
-
var de_GetRDFGraphSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3594
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3595
|
-
return de_GetRDFGraphSummaryCommandError(output, context);
|
|
3596
|
-
}
|
|
3597
|
-
const contents = (0, import_smithy_client.map)({
|
|
3598
|
-
$metadata: deserializeMetadata(output)
|
|
3599
|
-
});
|
|
3600
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
3601
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
3602
|
-
payload: (_) => de_RDFGraphSummaryValueMap(_, context)
|
|
3603
|
-
});
|
|
3604
|
-
Object.assign(contents, doc);
|
|
3605
|
-
(0, import_smithy_client.map)(contents, {
|
|
3606
|
-
statusCode: [, output.statusCode]
|
|
3607
|
-
});
|
|
3608
|
-
return contents;
|
|
3609
|
-
}, "de_GetRDFGraphSummaryCommand");
|
|
3610
|
-
var de_GetRDFGraphSummaryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3611
|
-
const parsedOutput = {
|
|
3612
|
-
...output,
|
|
3613
|
-
body: await parseErrorBody(output.body, context)
|
|
3614
|
-
};
|
|
3615
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3616
|
-
switch (errorCode) {
|
|
3617
|
-
case "AccessDeniedException":
|
|
3618
|
-
case "com.amazonaws.neptunedata#AccessDeniedException":
|
|
3619
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3620
|
-
case "BadRequestException":
|
|
3621
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
3622
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3623
|
-
case "ClientTimeoutException":
|
|
3624
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
3625
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
3626
|
-
case "ConstraintViolationException":
|
|
3627
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
3628
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
3629
|
-
case "IllegalArgumentException":
|
|
3630
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
3631
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
3632
|
-
case "InvalidArgumentException":
|
|
3633
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
3634
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
3635
|
-
case "InvalidParameterException":
|
|
3636
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
3637
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3638
|
-
case "MissingParameterException":
|
|
3639
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
3640
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
3641
|
-
case "PreconditionsFailedException":
|
|
3642
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
3643
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
3644
|
-
case "ReadOnlyViolationException":
|
|
3645
|
-
case "com.amazonaws.neptunedata#ReadOnlyViolationException":
|
|
3646
|
-
throw await de_ReadOnlyViolationExceptionRes(parsedOutput, context);
|
|
3647
|
-
case "StatisticsNotAvailableException":
|
|
3648
|
-
case "com.amazonaws.neptunedata#StatisticsNotAvailableException":
|
|
3649
|
-
throw await de_StatisticsNotAvailableExceptionRes(parsedOutput, context);
|
|
3650
|
-
case "TooManyRequestsException":
|
|
3651
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
3652
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
3653
|
-
case "UnsupportedOperationException":
|
|
3654
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
3655
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3656
|
-
default:
|
|
3657
|
-
const parsedBody = parsedOutput.body;
|
|
3658
|
-
return throwDefaultError({
|
|
3659
|
-
output,
|
|
3660
|
-
parsedBody,
|
|
3661
|
-
errorCode
|
|
3662
|
-
});
|
|
3663
|
-
}
|
|
3664
|
-
}, "de_GetRDFGraphSummaryCommandError");
|
|
3665
|
-
var de_GetSparqlStatisticsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3666
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3667
|
-
return de_GetSparqlStatisticsCommandError(output, context);
|
|
3668
|
-
}
|
|
3669
|
-
const contents = (0, import_smithy_client.map)({
|
|
3670
|
-
$metadata: deserializeMetadata(output)
|
|
3671
|
-
});
|
|
3672
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
3673
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
3674
|
-
payload: (_) => de_Statistics(_, context),
|
|
3675
|
-
status: import_smithy_client.expectString
|
|
3676
|
-
});
|
|
3677
|
-
Object.assign(contents, doc);
|
|
3678
|
-
return contents;
|
|
3679
|
-
}, "de_GetSparqlStatisticsCommand");
|
|
3680
|
-
var de_GetSparqlStatisticsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3681
|
-
const parsedOutput = {
|
|
3682
|
-
...output,
|
|
3683
|
-
body: await parseErrorBody(output.body, context)
|
|
3684
|
-
};
|
|
3685
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3686
|
-
switch (errorCode) {
|
|
3687
|
-
case "AccessDeniedException":
|
|
3688
|
-
case "com.amazonaws.neptunedata#AccessDeniedException":
|
|
3689
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3690
|
-
case "BadRequestException":
|
|
3691
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
3692
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3693
|
-
case "ClientTimeoutException":
|
|
3694
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
3695
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
3696
|
-
case "ConstraintViolationException":
|
|
3697
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
3698
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
3699
|
-
case "IllegalArgumentException":
|
|
3700
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
3701
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
3702
|
-
case "InvalidArgumentException":
|
|
3703
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
3704
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
3705
|
-
case "InvalidParameterException":
|
|
3706
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
3707
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3708
|
-
case "MissingParameterException":
|
|
3709
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
3710
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
3711
|
-
case "PreconditionsFailedException":
|
|
3712
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
3713
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
3714
|
-
case "ReadOnlyViolationException":
|
|
3715
|
-
case "com.amazonaws.neptunedata#ReadOnlyViolationException":
|
|
3716
|
-
throw await de_ReadOnlyViolationExceptionRes(parsedOutput, context);
|
|
3717
|
-
case "StatisticsNotAvailableException":
|
|
3718
|
-
case "com.amazonaws.neptunedata#StatisticsNotAvailableException":
|
|
3719
|
-
throw await de_StatisticsNotAvailableExceptionRes(parsedOutput, context);
|
|
3720
|
-
case "TooManyRequestsException":
|
|
3721
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
3722
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
3723
|
-
case "UnsupportedOperationException":
|
|
3724
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
3725
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3726
|
-
default:
|
|
3727
|
-
const parsedBody = parsedOutput.body;
|
|
3728
|
-
return throwDefaultError({
|
|
3729
|
-
output,
|
|
3730
|
-
parsedBody,
|
|
3731
|
-
errorCode
|
|
3732
|
-
});
|
|
3733
|
-
}
|
|
3734
|
-
}, "de_GetSparqlStatisticsCommandError");
|
|
3735
|
-
var de_GetSparqlStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3736
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3737
|
-
return de_GetSparqlStreamCommandError(output, context);
|
|
3738
|
-
}
|
|
3739
|
-
const contents = (0, import_smithy_client.map)({
|
|
3740
|
-
$metadata: deserializeMetadata(output)
|
|
3741
|
-
});
|
|
3742
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
3743
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
3744
|
-
format: import_smithy_client.expectString,
|
|
3745
|
-
lastEventId: import_smithy_client._json,
|
|
3746
|
-
lastTrxTimestampInMillis: [, import_smithy_client.expectLong, `lastTrxTimestamp`],
|
|
3747
|
-
records: (_) => de_SparqlRecordsList(_, context),
|
|
3748
|
-
totalRecords: import_smithy_client.expectInt32
|
|
3749
|
-
});
|
|
3750
|
-
Object.assign(contents, doc);
|
|
3751
|
-
return contents;
|
|
3752
|
-
}, "de_GetSparqlStreamCommand");
|
|
3753
|
-
var de_GetSparqlStreamCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3754
|
-
const parsedOutput = {
|
|
3755
|
-
...output,
|
|
3756
|
-
body: await parseErrorBody(output.body, context)
|
|
3757
|
-
};
|
|
3758
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3759
|
-
switch (errorCode) {
|
|
3760
|
-
case "ClientTimeoutException":
|
|
3761
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
3762
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
3763
|
-
case "ConstraintViolationException":
|
|
3764
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
3765
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
3766
|
-
case "ExpiredStreamException":
|
|
3767
|
-
case "com.amazonaws.neptunedata#ExpiredStreamException":
|
|
3768
|
-
throw await de_ExpiredStreamExceptionRes(parsedOutput, context);
|
|
3769
|
-
case "IllegalArgumentException":
|
|
3770
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
3771
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
3772
|
-
case "InvalidArgumentException":
|
|
3773
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
3774
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
3775
|
-
case "InvalidParameterException":
|
|
3776
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
3777
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3778
|
-
case "MemoryLimitExceededException":
|
|
3779
|
-
case "com.amazonaws.neptunedata#MemoryLimitExceededException":
|
|
3780
|
-
throw await de_MemoryLimitExceededExceptionRes(parsedOutput, context);
|
|
3781
|
-
case "PreconditionsFailedException":
|
|
3782
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
3783
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
3784
|
-
case "StreamRecordsNotFoundException":
|
|
3785
|
-
case "com.amazonaws.neptunedata#StreamRecordsNotFoundException":
|
|
3786
|
-
throw await de_StreamRecordsNotFoundExceptionRes(parsedOutput, context);
|
|
3787
|
-
case "ThrottlingException":
|
|
3788
|
-
case "com.amazonaws.neptunedata#ThrottlingException":
|
|
3789
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3790
|
-
case "TooManyRequestsException":
|
|
3791
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
3792
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
3793
|
-
case "UnsupportedOperationException":
|
|
3794
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
3795
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3796
|
-
default:
|
|
3797
|
-
const parsedBody = parsedOutput.body;
|
|
3798
|
-
return throwDefaultError({
|
|
3799
|
-
output,
|
|
3800
|
-
parsedBody,
|
|
3801
|
-
errorCode
|
|
3802
|
-
});
|
|
3803
|
-
}
|
|
3804
|
-
}, "de_GetSparqlStreamCommandError");
|
|
3805
|
-
var de_ListGremlinQueriesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3806
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3807
|
-
return de_ListGremlinQueriesCommandError(output, context);
|
|
3808
|
-
}
|
|
3809
|
-
const contents = (0, import_smithy_client.map)({
|
|
3810
|
-
$metadata: deserializeMetadata(output)
|
|
3811
|
-
});
|
|
3812
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
3813
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
3814
|
-
acceptedQueryCount: import_smithy_client.expectInt32,
|
|
3815
|
-
queries: (_) => de_GremlinQueries(_, context),
|
|
3816
|
-
runningQueryCount: import_smithy_client.expectInt32
|
|
3817
|
-
});
|
|
3818
|
-
Object.assign(contents, doc);
|
|
3819
|
-
return contents;
|
|
3820
|
-
}, "de_ListGremlinQueriesCommand");
|
|
3821
|
-
var de_ListGremlinQueriesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3822
|
-
const parsedOutput = {
|
|
3823
|
-
...output,
|
|
3824
|
-
body: await parseErrorBody(output.body, context)
|
|
3825
|
-
};
|
|
3826
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3827
|
-
switch (errorCode) {
|
|
3828
|
-
case "AccessDeniedException":
|
|
3829
|
-
case "com.amazonaws.neptunedata#AccessDeniedException":
|
|
3830
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3831
|
-
case "BadRequestException":
|
|
3832
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
3833
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3834
|
-
case "ClientTimeoutException":
|
|
3835
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
3836
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
3837
|
-
case "ConcurrentModificationException":
|
|
3838
|
-
case "com.amazonaws.neptunedata#ConcurrentModificationException":
|
|
3839
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3840
|
-
case "ConstraintViolationException":
|
|
3841
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
3842
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
3843
|
-
case "FailureByQueryException":
|
|
3844
|
-
case "com.amazonaws.neptunedata#FailureByQueryException":
|
|
3845
|
-
throw await de_FailureByQueryExceptionRes(parsedOutput, context);
|
|
3846
|
-
case "IllegalArgumentException":
|
|
3847
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
3848
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
3849
|
-
case "InvalidArgumentException":
|
|
3850
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
3851
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
3852
|
-
case "InvalidParameterException":
|
|
3853
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
3854
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3855
|
-
case "MissingParameterException":
|
|
3856
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
3857
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
3858
|
-
case "ParsingException":
|
|
3859
|
-
case "com.amazonaws.neptunedata#ParsingException":
|
|
3860
|
-
throw await de_ParsingExceptionRes(parsedOutput, context);
|
|
3861
|
-
case "PreconditionsFailedException":
|
|
3862
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
3863
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
3864
|
-
case "ReadOnlyViolationException":
|
|
3865
|
-
case "com.amazonaws.neptunedata#ReadOnlyViolationException":
|
|
3866
|
-
throw await de_ReadOnlyViolationExceptionRes(parsedOutput, context);
|
|
3867
|
-
case "TimeLimitExceededException":
|
|
3868
|
-
case "com.amazonaws.neptunedata#TimeLimitExceededException":
|
|
3869
|
-
throw await de_TimeLimitExceededExceptionRes(parsedOutput, context);
|
|
3870
|
-
case "TooManyRequestsException":
|
|
3871
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
3872
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
3873
|
-
case "UnsupportedOperationException":
|
|
3874
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
3875
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3876
|
-
default:
|
|
3877
|
-
const parsedBody = parsedOutput.body;
|
|
3878
|
-
return throwDefaultError({
|
|
3879
|
-
output,
|
|
3880
|
-
parsedBody,
|
|
3881
|
-
errorCode
|
|
3882
|
-
});
|
|
3883
|
-
}
|
|
3884
|
-
}, "de_ListGremlinQueriesCommandError");
|
|
3885
|
-
var de_ListLoaderJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2015
|
+
lastTrxTimestampInMillis: [, import_smithy_client.expectLong, `lastTrxTimestamp`],
|
|
2016
|
+
records: (_) => de_PropertygraphRecordsList(_, context),
|
|
2017
|
+
totalRecords: import_smithy_client.expectInt32
|
|
2018
|
+
});
|
|
2019
|
+
Object.assign(contents, doc);
|
|
2020
|
+
return contents;
|
|
2021
|
+
}, "de_GetPropertygraphStreamCommand");
|
|
2022
|
+
var de_GetPropertygraphSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3886
2023
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3887
|
-
return
|
|
2024
|
+
return de_CommandError(output, context);
|
|
3888
2025
|
}
|
|
3889
2026
|
const contents = (0, import_smithy_client.map)({
|
|
3890
2027
|
$metadata: deserializeMetadata(output)
|
|
3891
2028
|
});
|
|
3892
2029
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
3893
2030
|
const doc = (0, import_smithy_client.take)(data, {
|
|
3894
|
-
payload:
|
|
3895
|
-
status: import_smithy_client.expectString
|
|
2031
|
+
payload: (_) => de_PropertygraphSummaryValueMap(_, context)
|
|
3896
2032
|
});
|
|
3897
2033
|
Object.assign(contents, doc);
|
|
2034
|
+
(0, import_smithy_client.map)(contents, {
|
|
2035
|
+
statusCode: [, output.statusCode]
|
|
2036
|
+
});
|
|
3898
2037
|
return contents;
|
|
3899
|
-
}, "
|
|
3900
|
-
var
|
|
3901
|
-
const parsedOutput = {
|
|
3902
|
-
...output,
|
|
3903
|
-
body: await parseErrorBody(output.body, context)
|
|
3904
|
-
};
|
|
3905
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3906
|
-
switch (errorCode) {
|
|
3907
|
-
case "BadRequestException":
|
|
3908
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
3909
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3910
|
-
case "BulkLoadIdNotFoundException":
|
|
3911
|
-
case "com.amazonaws.neptunedata#BulkLoadIdNotFoundException":
|
|
3912
|
-
throw await de_BulkLoadIdNotFoundExceptionRes(parsedOutput, context);
|
|
3913
|
-
case "ClientTimeoutException":
|
|
3914
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
3915
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
3916
|
-
case "ConstraintViolationException":
|
|
3917
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
3918
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
3919
|
-
case "IllegalArgumentException":
|
|
3920
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
3921
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
3922
|
-
case "InternalFailureException":
|
|
3923
|
-
case "com.amazonaws.neptunedata#InternalFailureException":
|
|
3924
|
-
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
3925
|
-
case "InvalidArgumentException":
|
|
3926
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
3927
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
3928
|
-
case "InvalidParameterException":
|
|
3929
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
3930
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3931
|
-
case "LoadUrlAccessDeniedException":
|
|
3932
|
-
case "com.amazonaws.neptunedata#LoadUrlAccessDeniedException":
|
|
3933
|
-
throw await de_LoadUrlAccessDeniedExceptionRes(parsedOutput, context);
|
|
3934
|
-
case "PreconditionsFailedException":
|
|
3935
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
3936
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
3937
|
-
case "TooManyRequestsException":
|
|
3938
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
3939
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
3940
|
-
case "UnsupportedOperationException":
|
|
3941
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
3942
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3943
|
-
default:
|
|
3944
|
-
const parsedBody = parsedOutput.body;
|
|
3945
|
-
return throwDefaultError({
|
|
3946
|
-
output,
|
|
3947
|
-
parsedBody,
|
|
3948
|
-
errorCode
|
|
3949
|
-
});
|
|
3950
|
-
}
|
|
3951
|
-
}, "de_ListLoaderJobsCommandError");
|
|
3952
|
-
var de_ListMLDataProcessingJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2038
|
+
}, "de_GetPropertygraphSummaryCommand");
|
|
2039
|
+
var de_GetRDFGraphSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3953
2040
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3954
|
-
return
|
|
2041
|
+
return de_CommandError(output, context);
|
|
3955
2042
|
}
|
|
3956
2043
|
const contents = (0, import_smithy_client.map)({
|
|
3957
2044
|
$metadata: deserializeMetadata(output)
|
|
3958
2045
|
});
|
|
3959
2046
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
3960
2047
|
const doc = (0, import_smithy_client.take)(data, {
|
|
3961
|
-
|
|
2048
|
+
payload: (_) => de_RDFGraphSummaryValueMap(_, context)
|
|
3962
2049
|
});
|
|
3963
2050
|
Object.assign(contents, doc);
|
|
2051
|
+
(0, import_smithy_client.map)(contents, {
|
|
2052
|
+
statusCode: [, output.statusCode]
|
|
2053
|
+
});
|
|
3964
2054
|
return contents;
|
|
3965
|
-
}, "
|
|
3966
|
-
var
|
|
3967
|
-
const parsedOutput = {
|
|
3968
|
-
...output,
|
|
3969
|
-
body: await parseErrorBody(output.body, context)
|
|
3970
|
-
};
|
|
3971
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3972
|
-
switch (errorCode) {
|
|
3973
|
-
case "BadRequestException":
|
|
3974
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
3975
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3976
|
-
case "ClientTimeoutException":
|
|
3977
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
3978
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
3979
|
-
case "ConstraintViolationException":
|
|
3980
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
3981
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
3982
|
-
case "IllegalArgumentException":
|
|
3983
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
3984
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
3985
|
-
case "InvalidArgumentException":
|
|
3986
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
3987
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
3988
|
-
case "InvalidParameterException":
|
|
3989
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
3990
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3991
|
-
case "MLResourceNotFoundException":
|
|
3992
|
-
case "com.amazonaws.neptunedata#MLResourceNotFoundException":
|
|
3993
|
-
throw await de_MLResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3994
|
-
case "MissingParameterException":
|
|
3995
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
3996
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
3997
|
-
case "PreconditionsFailedException":
|
|
3998
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
3999
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
4000
|
-
case "TooManyRequestsException":
|
|
4001
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
4002
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
4003
|
-
case "UnsupportedOperationException":
|
|
4004
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
4005
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
4006
|
-
default:
|
|
4007
|
-
const parsedBody = parsedOutput.body;
|
|
4008
|
-
return throwDefaultError({
|
|
4009
|
-
output,
|
|
4010
|
-
parsedBody,
|
|
4011
|
-
errorCode
|
|
4012
|
-
});
|
|
4013
|
-
}
|
|
4014
|
-
}, "de_ListMLDataProcessingJobsCommandError");
|
|
4015
|
-
var de_ListMLEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2055
|
+
}, "de_GetRDFGraphSummaryCommand");
|
|
2056
|
+
var de_GetSparqlStatisticsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4016
2057
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4017
|
-
return
|
|
2058
|
+
return de_CommandError(output, context);
|
|
4018
2059
|
}
|
|
4019
2060
|
const contents = (0, import_smithy_client.map)({
|
|
4020
2061
|
$metadata: deserializeMetadata(output)
|
|
4021
2062
|
});
|
|
4022
2063
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
4023
2064
|
const doc = (0, import_smithy_client.take)(data, {
|
|
4024
|
-
|
|
2065
|
+
payload: (_) => de_Statistics(_, context),
|
|
2066
|
+
status: import_smithy_client.expectString
|
|
4025
2067
|
});
|
|
4026
2068
|
Object.assign(contents, doc);
|
|
4027
2069
|
return contents;
|
|
4028
|
-
}, "
|
|
4029
|
-
var
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
body: await parseErrorBody(output.body, context)
|
|
4033
|
-
};
|
|
4034
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4035
|
-
switch (errorCode) {
|
|
4036
|
-
case "BadRequestException":
|
|
4037
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
4038
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
4039
|
-
case "ClientTimeoutException":
|
|
4040
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
4041
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
4042
|
-
case "ConstraintViolationException":
|
|
4043
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
4044
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
4045
|
-
case "IllegalArgumentException":
|
|
4046
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
4047
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
4048
|
-
case "InvalidArgumentException":
|
|
4049
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
4050
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
4051
|
-
case "InvalidParameterException":
|
|
4052
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
4053
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
4054
|
-
case "MLResourceNotFoundException":
|
|
4055
|
-
case "com.amazonaws.neptunedata#MLResourceNotFoundException":
|
|
4056
|
-
throw await de_MLResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4057
|
-
case "MissingParameterException":
|
|
4058
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
4059
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
4060
|
-
case "PreconditionsFailedException":
|
|
4061
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
4062
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
4063
|
-
case "TooManyRequestsException":
|
|
4064
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
4065
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
4066
|
-
case "UnsupportedOperationException":
|
|
4067
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
4068
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
4069
|
-
default:
|
|
4070
|
-
const parsedBody = parsedOutput.body;
|
|
4071
|
-
return throwDefaultError({
|
|
4072
|
-
output,
|
|
4073
|
-
parsedBody,
|
|
4074
|
-
errorCode
|
|
4075
|
-
});
|
|
2070
|
+
}, "de_GetSparqlStatisticsCommand");
|
|
2071
|
+
var de_GetSparqlStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2072
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2073
|
+
return de_CommandError(output, context);
|
|
4076
2074
|
}
|
|
4077
|
-
|
|
4078
|
-
|
|
2075
|
+
const contents = (0, import_smithy_client.map)({
|
|
2076
|
+
$metadata: deserializeMetadata(output)
|
|
2077
|
+
});
|
|
2078
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2079
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2080
|
+
format: import_smithy_client.expectString,
|
|
2081
|
+
lastEventId: import_smithy_client._json,
|
|
2082
|
+
lastTrxTimestampInMillis: [, import_smithy_client.expectLong, `lastTrxTimestamp`],
|
|
2083
|
+
records: (_) => de_SparqlRecordsList(_, context),
|
|
2084
|
+
totalRecords: import_smithy_client.expectInt32
|
|
2085
|
+
});
|
|
2086
|
+
Object.assign(contents, doc);
|
|
2087
|
+
return contents;
|
|
2088
|
+
}, "de_GetSparqlStreamCommand");
|
|
2089
|
+
var de_ListGremlinQueriesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4079
2090
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4080
|
-
return
|
|
2091
|
+
return de_CommandError(output, context);
|
|
4081
2092
|
}
|
|
4082
2093
|
const contents = (0, import_smithy_client.map)({
|
|
4083
2094
|
$metadata: deserializeMetadata(output)
|
|
4084
2095
|
});
|
|
4085
2096
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
4086
2097
|
const doc = (0, import_smithy_client.take)(data, {
|
|
4087
|
-
|
|
2098
|
+
acceptedQueryCount: import_smithy_client.expectInt32,
|
|
2099
|
+
queries: (_) => de_GremlinQueries(_, context),
|
|
2100
|
+
runningQueryCount: import_smithy_client.expectInt32
|
|
4088
2101
|
});
|
|
4089
2102
|
Object.assign(contents, doc);
|
|
4090
2103
|
return contents;
|
|
4091
|
-
}, "
|
|
4092
|
-
var
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
body: await parseErrorBody(output.body, context)
|
|
4096
|
-
};
|
|
4097
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4098
|
-
switch (errorCode) {
|
|
4099
|
-
case "BadRequestException":
|
|
4100
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
4101
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
4102
|
-
case "ClientTimeoutException":
|
|
4103
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
4104
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
4105
|
-
case "ConstraintViolationException":
|
|
4106
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
4107
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
4108
|
-
case "IllegalArgumentException":
|
|
4109
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
4110
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
4111
|
-
case "InvalidArgumentException":
|
|
4112
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
4113
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
4114
|
-
case "InvalidParameterException":
|
|
4115
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
4116
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
4117
|
-
case "MLResourceNotFoundException":
|
|
4118
|
-
case "com.amazonaws.neptunedata#MLResourceNotFoundException":
|
|
4119
|
-
throw await de_MLResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4120
|
-
case "MissingParameterException":
|
|
4121
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
4122
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
4123
|
-
case "PreconditionsFailedException":
|
|
4124
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
4125
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
4126
|
-
case "TooManyRequestsException":
|
|
4127
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
4128
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
4129
|
-
case "UnsupportedOperationException":
|
|
4130
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
4131
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
4132
|
-
default:
|
|
4133
|
-
const parsedBody = parsedOutput.body;
|
|
4134
|
-
return throwDefaultError({
|
|
4135
|
-
output,
|
|
4136
|
-
parsedBody,
|
|
4137
|
-
errorCode
|
|
4138
|
-
});
|
|
2104
|
+
}, "de_ListGremlinQueriesCommand");
|
|
2105
|
+
var de_ListLoaderJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2106
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2107
|
+
return de_CommandError(output, context);
|
|
4139
2108
|
}
|
|
4140
|
-
|
|
4141
|
-
|
|
2109
|
+
const contents = (0, import_smithy_client.map)({
|
|
2110
|
+
$metadata: deserializeMetadata(output)
|
|
2111
|
+
});
|
|
2112
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2113
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2114
|
+
payload: import_smithy_client._json,
|
|
2115
|
+
status: import_smithy_client.expectString
|
|
2116
|
+
});
|
|
2117
|
+
Object.assign(contents, doc);
|
|
2118
|
+
return contents;
|
|
2119
|
+
}, "de_ListLoaderJobsCommand");
|
|
2120
|
+
var de_ListMLDataProcessingJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4142
2121
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4143
|
-
return
|
|
2122
|
+
return de_CommandError(output, context);
|
|
4144
2123
|
}
|
|
4145
2124
|
const contents = (0, import_smithy_client.map)({
|
|
4146
2125
|
$metadata: deserializeMetadata(output)
|
|
@@ -4151,282 +2130,98 @@ var de_ListMLModelTransformJobsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
4151
2130
|
});
|
|
4152
2131
|
Object.assign(contents, doc);
|
|
4153
2132
|
return contents;
|
|
4154
|
-
}, "
|
|
4155
|
-
var
|
|
4156
|
-
const parsedOutput = {
|
|
4157
|
-
...output,
|
|
4158
|
-
body: await parseErrorBody(output.body, context)
|
|
4159
|
-
};
|
|
4160
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4161
|
-
switch (errorCode) {
|
|
4162
|
-
case "BadRequestException":
|
|
4163
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
4164
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
4165
|
-
case "ClientTimeoutException":
|
|
4166
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
4167
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
4168
|
-
case "ConstraintViolationException":
|
|
4169
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
4170
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
4171
|
-
case "IllegalArgumentException":
|
|
4172
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
4173
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
4174
|
-
case "InvalidArgumentException":
|
|
4175
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
4176
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
4177
|
-
case "InvalidParameterException":
|
|
4178
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
4179
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
4180
|
-
case "MLResourceNotFoundException":
|
|
4181
|
-
case "com.amazonaws.neptunedata#MLResourceNotFoundException":
|
|
4182
|
-
throw await de_MLResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4183
|
-
case "MissingParameterException":
|
|
4184
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
4185
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
4186
|
-
case "PreconditionsFailedException":
|
|
4187
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
4188
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
4189
|
-
case "TooManyRequestsException":
|
|
4190
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
4191
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
4192
|
-
case "UnsupportedOperationException":
|
|
4193
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
4194
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
4195
|
-
default:
|
|
4196
|
-
const parsedBody = parsedOutput.body;
|
|
4197
|
-
return throwDefaultError({
|
|
4198
|
-
output,
|
|
4199
|
-
parsedBody,
|
|
4200
|
-
errorCode
|
|
4201
|
-
});
|
|
4202
|
-
}
|
|
4203
|
-
}, "de_ListMLModelTransformJobsCommandError");
|
|
4204
|
-
var de_ListOpenCypherQueriesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2133
|
+
}, "de_ListMLDataProcessingJobsCommand");
|
|
2134
|
+
var de_ListMLEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4205
2135
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4206
|
-
return
|
|
2136
|
+
return de_CommandError(output, context);
|
|
4207
2137
|
}
|
|
4208
2138
|
const contents = (0, import_smithy_client.map)({
|
|
4209
2139
|
$metadata: deserializeMetadata(output)
|
|
4210
2140
|
});
|
|
4211
2141
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
4212
2142
|
const doc = (0, import_smithy_client.take)(data, {
|
|
4213
|
-
|
|
4214
|
-
queries: (_) => de_OpenCypherQueries(_, context),
|
|
4215
|
-
runningQueryCount: import_smithy_client.expectInt32
|
|
2143
|
+
ids: import_smithy_client._json
|
|
4216
2144
|
});
|
|
4217
2145
|
Object.assign(contents, doc);
|
|
4218
2146
|
return contents;
|
|
4219
|
-
}, "
|
|
4220
|
-
var
|
|
4221
|
-
const parsedOutput = {
|
|
4222
|
-
...output,
|
|
4223
|
-
body: await parseErrorBody(output.body, context)
|
|
4224
|
-
};
|
|
4225
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4226
|
-
switch (errorCode) {
|
|
4227
|
-
case "AccessDeniedException":
|
|
4228
|
-
case "com.amazonaws.neptunedata#AccessDeniedException":
|
|
4229
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4230
|
-
case "BadRequestException":
|
|
4231
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
4232
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
4233
|
-
case "ClientTimeoutException":
|
|
4234
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
4235
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
4236
|
-
case "ConcurrentModificationException":
|
|
4237
|
-
case "com.amazonaws.neptunedata#ConcurrentModificationException":
|
|
4238
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
4239
|
-
case "ConstraintViolationException":
|
|
4240
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
4241
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
4242
|
-
case "FailureByQueryException":
|
|
4243
|
-
case "com.amazonaws.neptunedata#FailureByQueryException":
|
|
4244
|
-
throw await de_FailureByQueryExceptionRes(parsedOutput, context);
|
|
4245
|
-
case "IllegalArgumentException":
|
|
4246
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
4247
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
4248
|
-
case "InvalidArgumentException":
|
|
4249
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
4250
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
4251
|
-
case "InvalidNumericDataException":
|
|
4252
|
-
case "com.amazonaws.neptunedata#InvalidNumericDataException":
|
|
4253
|
-
throw await de_InvalidNumericDataExceptionRes(parsedOutput, context);
|
|
4254
|
-
case "InvalidParameterException":
|
|
4255
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
4256
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
4257
|
-
case "MissingParameterException":
|
|
4258
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
4259
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
4260
|
-
case "ParsingException":
|
|
4261
|
-
case "com.amazonaws.neptunedata#ParsingException":
|
|
4262
|
-
throw await de_ParsingExceptionRes(parsedOutput, context);
|
|
4263
|
-
case "PreconditionsFailedException":
|
|
4264
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
4265
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
4266
|
-
case "ReadOnlyViolationException":
|
|
4267
|
-
case "com.amazonaws.neptunedata#ReadOnlyViolationException":
|
|
4268
|
-
throw await de_ReadOnlyViolationExceptionRes(parsedOutput, context);
|
|
4269
|
-
case "TimeLimitExceededException":
|
|
4270
|
-
case "com.amazonaws.neptunedata#TimeLimitExceededException":
|
|
4271
|
-
throw await de_TimeLimitExceededExceptionRes(parsedOutput, context);
|
|
4272
|
-
case "TooManyRequestsException":
|
|
4273
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
4274
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
4275
|
-
case "UnsupportedOperationException":
|
|
4276
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
4277
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
4278
|
-
default:
|
|
4279
|
-
const parsedBody = parsedOutput.body;
|
|
4280
|
-
return throwDefaultError({
|
|
4281
|
-
output,
|
|
4282
|
-
parsedBody,
|
|
4283
|
-
errorCode
|
|
4284
|
-
});
|
|
4285
|
-
}
|
|
4286
|
-
}, "de_ListOpenCypherQueriesCommandError");
|
|
4287
|
-
var de_ManagePropertygraphStatisticsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2147
|
+
}, "de_ListMLEndpointsCommand");
|
|
2148
|
+
var de_ListMLModelTrainingJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4288
2149
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4289
|
-
return
|
|
2150
|
+
return de_CommandError(output, context);
|
|
4290
2151
|
}
|
|
4291
2152
|
const contents = (0, import_smithy_client.map)({
|
|
4292
2153
|
$metadata: deserializeMetadata(output)
|
|
4293
2154
|
});
|
|
4294
2155
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
4295
2156
|
const doc = (0, import_smithy_client.take)(data, {
|
|
4296
|
-
|
|
4297
|
-
status: import_smithy_client.expectString
|
|
2157
|
+
ids: import_smithy_client._json
|
|
4298
2158
|
});
|
|
4299
2159
|
Object.assign(contents, doc);
|
|
4300
2160
|
return contents;
|
|
4301
|
-
}, "
|
|
4302
|
-
var
|
|
4303
|
-
const parsedOutput = {
|
|
4304
|
-
...output,
|
|
4305
|
-
body: await parseErrorBody(output.body, context)
|
|
4306
|
-
};
|
|
4307
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4308
|
-
switch (errorCode) {
|
|
4309
|
-
case "AccessDeniedException":
|
|
4310
|
-
case "com.amazonaws.neptunedata#AccessDeniedException":
|
|
4311
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4312
|
-
case "BadRequestException":
|
|
4313
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
4314
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
4315
|
-
case "ClientTimeoutException":
|
|
4316
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
4317
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
4318
|
-
case "ConstraintViolationException":
|
|
4319
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
4320
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
4321
|
-
case "IllegalArgumentException":
|
|
4322
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
4323
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
4324
|
-
case "InvalidArgumentException":
|
|
4325
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
4326
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
4327
|
-
case "InvalidParameterException":
|
|
4328
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
4329
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
4330
|
-
case "MissingParameterException":
|
|
4331
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
4332
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
4333
|
-
case "PreconditionsFailedException":
|
|
4334
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
4335
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
4336
|
-
case "ReadOnlyViolationException":
|
|
4337
|
-
case "com.amazonaws.neptunedata#ReadOnlyViolationException":
|
|
4338
|
-
throw await de_ReadOnlyViolationExceptionRes(parsedOutput, context);
|
|
4339
|
-
case "StatisticsNotAvailableException":
|
|
4340
|
-
case "com.amazonaws.neptunedata#StatisticsNotAvailableException":
|
|
4341
|
-
throw await de_StatisticsNotAvailableExceptionRes(parsedOutput, context);
|
|
4342
|
-
case "TooManyRequestsException":
|
|
4343
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
4344
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
4345
|
-
case "UnsupportedOperationException":
|
|
4346
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
4347
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
4348
|
-
default:
|
|
4349
|
-
const parsedBody = parsedOutput.body;
|
|
4350
|
-
return throwDefaultError({
|
|
4351
|
-
output,
|
|
4352
|
-
parsedBody,
|
|
4353
|
-
errorCode
|
|
4354
|
-
});
|
|
4355
|
-
}
|
|
4356
|
-
}, "de_ManagePropertygraphStatisticsCommandError");
|
|
4357
|
-
var de_ManageSparqlStatisticsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2161
|
+
}, "de_ListMLModelTrainingJobsCommand");
|
|
2162
|
+
var de_ListMLModelTransformJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4358
2163
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4359
|
-
return
|
|
2164
|
+
return de_CommandError(output, context);
|
|
4360
2165
|
}
|
|
4361
2166
|
const contents = (0, import_smithy_client.map)({
|
|
4362
2167
|
$metadata: deserializeMetadata(output)
|
|
4363
2168
|
});
|
|
4364
2169
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
4365
2170
|
const doc = (0, import_smithy_client.take)(data, {
|
|
4366
|
-
|
|
4367
|
-
status: import_smithy_client.expectString
|
|
2171
|
+
ids: import_smithy_client._json
|
|
4368
2172
|
});
|
|
4369
2173
|
Object.assign(contents, doc);
|
|
4370
2174
|
return contents;
|
|
4371
|
-
}, "
|
|
4372
|
-
var
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
case "ReadOnlyViolationException":
|
|
4407
|
-
case "com.amazonaws.neptunedata#ReadOnlyViolationException":
|
|
4408
|
-
throw await de_ReadOnlyViolationExceptionRes(parsedOutput, context);
|
|
4409
|
-
case "StatisticsNotAvailableException":
|
|
4410
|
-
case "com.amazonaws.neptunedata#StatisticsNotAvailableException":
|
|
4411
|
-
throw await de_StatisticsNotAvailableExceptionRes(parsedOutput, context);
|
|
4412
|
-
case "TooManyRequestsException":
|
|
4413
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
4414
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
4415
|
-
case "UnsupportedOperationException":
|
|
4416
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
4417
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
4418
|
-
default:
|
|
4419
|
-
const parsedBody = parsedOutput.body;
|
|
4420
|
-
return throwDefaultError({
|
|
4421
|
-
output,
|
|
4422
|
-
parsedBody,
|
|
4423
|
-
errorCode
|
|
4424
|
-
});
|
|
2175
|
+
}, "de_ListMLModelTransformJobsCommand");
|
|
2176
|
+
var de_ListOpenCypherQueriesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2177
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2178
|
+
return de_CommandError(output, context);
|
|
2179
|
+
}
|
|
2180
|
+
const contents = (0, import_smithy_client.map)({
|
|
2181
|
+
$metadata: deserializeMetadata(output)
|
|
2182
|
+
});
|
|
2183
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2184
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2185
|
+
acceptedQueryCount: import_smithy_client.expectInt32,
|
|
2186
|
+
queries: (_) => de_OpenCypherQueries(_, context),
|
|
2187
|
+
runningQueryCount: import_smithy_client.expectInt32
|
|
2188
|
+
});
|
|
2189
|
+
Object.assign(contents, doc);
|
|
2190
|
+
return contents;
|
|
2191
|
+
}, "de_ListOpenCypherQueriesCommand");
|
|
2192
|
+
var de_ManagePropertygraphStatisticsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2193
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2194
|
+
return de_CommandError(output, context);
|
|
2195
|
+
}
|
|
2196
|
+
const contents = (0, import_smithy_client.map)({
|
|
2197
|
+
$metadata: deserializeMetadata(output)
|
|
2198
|
+
});
|
|
2199
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2200
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2201
|
+
payload: import_smithy_client._json,
|
|
2202
|
+
status: import_smithy_client.expectString
|
|
2203
|
+
});
|
|
2204
|
+
Object.assign(contents, doc);
|
|
2205
|
+
return contents;
|
|
2206
|
+
}, "de_ManagePropertygraphStatisticsCommand");
|
|
2207
|
+
var de_ManageSparqlStatisticsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2208
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2209
|
+
return de_CommandError(output, context);
|
|
4425
2210
|
}
|
|
4426
|
-
|
|
2211
|
+
const contents = (0, import_smithy_client.map)({
|
|
2212
|
+
$metadata: deserializeMetadata(output)
|
|
2213
|
+
});
|
|
2214
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2215
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2216
|
+
payload: import_smithy_client._json,
|
|
2217
|
+
status: import_smithy_client.expectString
|
|
2218
|
+
});
|
|
2219
|
+
Object.assign(contents, doc);
|
|
2220
|
+
return contents;
|
|
2221
|
+
}, "de_ManageSparqlStatisticsCommand");
|
|
4427
2222
|
var de_StartLoaderJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4428
2223
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4429
|
-
return
|
|
2224
|
+
return de_CommandError(output, context);
|
|
4430
2225
|
}
|
|
4431
2226
|
const contents = (0, import_smithy_client.map)({
|
|
4432
2227
|
$metadata: deserializeMetadata(output)
|
|
@@ -4439,67 +2234,9 @@ var de_StartLoaderJobCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
4439
2234
|
Object.assign(contents, doc);
|
|
4440
2235
|
return contents;
|
|
4441
2236
|
}, "de_StartLoaderJobCommand");
|
|
4442
|
-
var de_StartLoaderJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4443
|
-
const parsedOutput = {
|
|
4444
|
-
...output,
|
|
4445
|
-
body: await parseErrorBody(output.body, context)
|
|
4446
|
-
};
|
|
4447
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4448
|
-
switch (errorCode) {
|
|
4449
|
-
case "BadRequestException":
|
|
4450
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
4451
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
4452
|
-
case "BulkLoadIdNotFoundException":
|
|
4453
|
-
case "com.amazonaws.neptunedata#BulkLoadIdNotFoundException":
|
|
4454
|
-
throw await de_BulkLoadIdNotFoundExceptionRes(parsedOutput, context);
|
|
4455
|
-
case "ClientTimeoutException":
|
|
4456
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
4457
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
4458
|
-
case "ConstraintViolationException":
|
|
4459
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
4460
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
4461
|
-
case "IllegalArgumentException":
|
|
4462
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
4463
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
4464
|
-
case "InternalFailureException":
|
|
4465
|
-
case "com.amazonaws.neptunedata#InternalFailureException":
|
|
4466
|
-
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
4467
|
-
case "InvalidArgumentException":
|
|
4468
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
4469
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
4470
|
-
case "InvalidParameterException":
|
|
4471
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
4472
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
4473
|
-
case "LoadUrlAccessDeniedException":
|
|
4474
|
-
case "com.amazonaws.neptunedata#LoadUrlAccessDeniedException":
|
|
4475
|
-
throw await de_LoadUrlAccessDeniedExceptionRes(parsedOutput, context);
|
|
4476
|
-
case "MissingParameterException":
|
|
4477
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
4478
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
4479
|
-
case "PreconditionsFailedException":
|
|
4480
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
4481
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
4482
|
-
case "S3Exception":
|
|
4483
|
-
case "com.amazonaws.neptunedata#S3Exception":
|
|
4484
|
-
throw await de_S3ExceptionRes(parsedOutput, context);
|
|
4485
|
-
case "TooManyRequestsException":
|
|
4486
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
4487
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
4488
|
-
case "UnsupportedOperationException":
|
|
4489
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
4490
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
4491
|
-
default:
|
|
4492
|
-
const parsedBody = parsedOutput.body;
|
|
4493
|
-
return throwDefaultError({
|
|
4494
|
-
output,
|
|
4495
|
-
parsedBody,
|
|
4496
|
-
errorCode
|
|
4497
|
-
});
|
|
4498
|
-
}
|
|
4499
|
-
}, "de_StartLoaderJobCommandError");
|
|
4500
2237
|
var de_StartMLDataProcessingJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4501
2238
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4502
|
-
return
|
|
2239
|
+
return de_CommandError(output, context);
|
|
4503
2240
|
}
|
|
4504
2241
|
const contents = (0, import_smithy_client.map)({
|
|
4505
2242
|
$metadata: deserializeMetadata(output)
|
|
@@ -4513,58 +2250,9 @@ var de_StartMLDataProcessingJobCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
4513
2250
|
Object.assign(contents, doc);
|
|
4514
2251
|
return contents;
|
|
4515
2252
|
}, "de_StartMLDataProcessingJobCommand");
|
|
4516
|
-
var de_StartMLDataProcessingJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4517
|
-
const parsedOutput = {
|
|
4518
|
-
...output,
|
|
4519
|
-
body: await parseErrorBody(output.body, context)
|
|
4520
|
-
};
|
|
4521
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4522
|
-
switch (errorCode) {
|
|
4523
|
-
case "BadRequestException":
|
|
4524
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
4525
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
4526
|
-
case "ClientTimeoutException":
|
|
4527
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
4528
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
4529
|
-
case "ConstraintViolationException":
|
|
4530
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
4531
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
4532
|
-
case "IllegalArgumentException":
|
|
4533
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
4534
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
4535
|
-
case "InvalidArgumentException":
|
|
4536
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
4537
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
4538
|
-
case "InvalidParameterException":
|
|
4539
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
4540
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
4541
|
-
case "MLResourceNotFoundException":
|
|
4542
|
-
case "com.amazonaws.neptunedata#MLResourceNotFoundException":
|
|
4543
|
-
throw await de_MLResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4544
|
-
case "MissingParameterException":
|
|
4545
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
4546
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
4547
|
-
case "PreconditionsFailedException":
|
|
4548
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
4549
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
4550
|
-
case "TooManyRequestsException":
|
|
4551
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
4552
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
4553
|
-
case "UnsupportedOperationException":
|
|
4554
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
4555
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
4556
|
-
default:
|
|
4557
|
-
const parsedBody = parsedOutput.body;
|
|
4558
|
-
return throwDefaultError({
|
|
4559
|
-
output,
|
|
4560
|
-
parsedBody,
|
|
4561
|
-
errorCode
|
|
4562
|
-
});
|
|
4563
|
-
}
|
|
4564
|
-
}, "de_StartMLDataProcessingJobCommandError");
|
|
4565
2253
|
var de_StartMLModelTrainingJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4566
2254
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4567
|
-
return
|
|
2255
|
+
return de_CommandError(output, context);
|
|
4568
2256
|
}
|
|
4569
2257
|
const contents = (0, import_smithy_client.map)({
|
|
4570
2258
|
$metadata: deserializeMetadata(output)
|
|
@@ -4578,58 +2266,9 @@ var de_StartMLModelTrainingJobCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
4578
2266
|
Object.assign(contents, doc);
|
|
4579
2267
|
return contents;
|
|
4580
2268
|
}, "de_StartMLModelTrainingJobCommand");
|
|
4581
|
-
var de_StartMLModelTrainingJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4582
|
-
const parsedOutput = {
|
|
4583
|
-
...output,
|
|
4584
|
-
body: await parseErrorBody(output.body, context)
|
|
4585
|
-
};
|
|
4586
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4587
|
-
switch (errorCode) {
|
|
4588
|
-
case "BadRequestException":
|
|
4589
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
4590
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
4591
|
-
case "ClientTimeoutException":
|
|
4592
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
4593
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
4594
|
-
case "ConstraintViolationException":
|
|
4595
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
4596
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
4597
|
-
case "IllegalArgumentException":
|
|
4598
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
4599
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
4600
|
-
case "InvalidArgumentException":
|
|
4601
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
4602
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
4603
|
-
case "InvalidParameterException":
|
|
4604
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
4605
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
4606
|
-
case "MLResourceNotFoundException":
|
|
4607
|
-
case "com.amazonaws.neptunedata#MLResourceNotFoundException":
|
|
4608
|
-
throw await de_MLResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4609
|
-
case "MissingParameterException":
|
|
4610
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
4611
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
4612
|
-
case "PreconditionsFailedException":
|
|
4613
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
4614
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
4615
|
-
case "TooManyRequestsException":
|
|
4616
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
4617
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
4618
|
-
case "UnsupportedOperationException":
|
|
4619
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
4620
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
4621
|
-
default:
|
|
4622
|
-
const parsedBody = parsedOutput.body;
|
|
4623
|
-
return throwDefaultError({
|
|
4624
|
-
output,
|
|
4625
|
-
parsedBody,
|
|
4626
|
-
errorCode
|
|
4627
|
-
});
|
|
4628
|
-
}
|
|
4629
|
-
}, "de_StartMLModelTrainingJobCommandError");
|
|
4630
2269
|
var de_StartMLModelTransformJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4631
2270
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4632
|
-
return
|
|
2271
|
+
return de_CommandError(output, context);
|
|
4633
2272
|
}
|
|
4634
2273
|
const contents = (0, import_smithy_client.map)({
|
|
4635
2274
|
$metadata: deserializeMetadata(output)
|
|
@@ -4643,7 +2282,7 @@ var de_StartMLModelTransformJobCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
4643
2282
|
Object.assign(contents, doc);
|
|
4644
2283
|
return contents;
|
|
4645
2284
|
}, "de_StartMLModelTransformJobCommand");
|
|
4646
|
-
var
|
|
2285
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4647
2286
|
const parsedOutput = {
|
|
4648
2287
|
...output,
|
|
4649
2288
|
body: await parseErrorBody(output.body, context)
|
|
@@ -4656,9 +2295,15 @@ var de_StartMLModelTransformJobCommandError = /* @__PURE__ */ __name(async (outp
|
|
|
4656
2295
|
case "ClientTimeoutException":
|
|
4657
2296
|
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
4658
2297
|
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
2298
|
+
case "ConcurrentModificationException":
|
|
2299
|
+
case "com.amazonaws.neptunedata#ConcurrentModificationException":
|
|
2300
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
4659
2301
|
case "ConstraintViolationException":
|
|
4660
2302
|
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
4661
2303
|
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
2304
|
+
case "FailureByQueryException":
|
|
2305
|
+
case "com.amazonaws.neptunedata#FailureByQueryException":
|
|
2306
|
+
throw await de_FailureByQueryExceptionRes(parsedOutput, context);
|
|
4662
2307
|
case "IllegalArgumentException":
|
|
4663
2308
|
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
4664
2309
|
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
@@ -4668,21 +2313,84 @@ var de_StartMLModelTransformJobCommandError = /* @__PURE__ */ __name(async (outp
|
|
|
4668
2313
|
case "InvalidParameterException":
|
|
4669
2314
|
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
4670
2315
|
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
4671
|
-
case "MLResourceNotFoundException":
|
|
4672
|
-
case "com.amazonaws.neptunedata#MLResourceNotFoundException":
|
|
4673
|
-
throw await de_MLResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4674
2316
|
case "MissingParameterException":
|
|
4675
2317
|
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
4676
2318
|
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
2319
|
+
case "ParsingException":
|
|
2320
|
+
case "com.amazonaws.neptunedata#ParsingException":
|
|
2321
|
+
throw await de_ParsingExceptionRes(parsedOutput, context);
|
|
4677
2322
|
case "PreconditionsFailedException":
|
|
4678
2323
|
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
4679
2324
|
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
2325
|
+
case "TimeLimitExceededException":
|
|
2326
|
+
case "com.amazonaws.neptunedata#TimeLimitExceededException":
|
|
2327
|
+
throw await de_TimeLimitExceededExceptionRes(parsedOutput, context);
|
|
4680
2328
|
case "TooManyRequestsException":
|
|
4681
2329
|
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
4682
2330
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
4683
2331
|
case "UnsupportedOperationException":
|
|
4684
2332
|
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
4685
2333
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2334
|
+
case "BulkLoadIdNotFoundException":
|
|
2335
|
+
case "com.amazonaws.neptunedata#BulkLoadIdNotFoundException":
|
|
2336
|
+
throw await de_BulkLoadIdNotFoundExceptionRes(parsedOutput, context);
|
|
2337
|
+
case "InternalFailureException":
|
|
2338
|
+
case "com.amazonaws.neptunedata#InternalFailureException":
|
|
2339
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2340
|
+
case "LoadUrlAccessDeniedException":
|
|
2341
|
+
case "com.amazonaws.neptunedata#LoadUrlAccessDeniedException":
|
|
2342
|
+
throw await de_LoadUrlAccessDeniedExceptionRes(parsedOutput, context);
|
|
2343
|
+
case "MLResourceNotFoundException":
|
|
2344
|
+
case "com.amazonaws.neptunedata#MLResourceNotFoundException":
|
|
2345
|
+
throw await de_MLResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2346
|
+
case "InvalidNumericDataException":
|
|
2347
|
+
case "com.amazonaws.neptunedata#InvalidNumericDataException":
|
|
2348
|
+
throw await de_InvalidNumericDataExceptionRes(parsedOutput, context);
|
|
2349
|
+
case "AccessDeniedException":
|
|
2350
|
+
case "com.amazonaws.neptunedata#AccessDeniedException":
|
|
2351
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2352
|
+
case "ReadOnlyViolationException":
|
|
2353
|
+
case "com.amazonaws.neptunedata#ReadOnlyViolationException":
|
|
2354
|
+
throw await de_ReadOnlyViolationExceptionRes(parsedOutput, context);
|
|
2355
|
+
case "StatisticsNotAvailableException":
|
|
2356
|
+
case "com.amazonaws.neptunedata#StatisticsNotAvailableException":
|
|
2357
|
+
throw await de_StatisticsNotAvailableExceptionRes(parsedOutput, context);
|
|
2358
|
+
case "MethodNotAllowedException":
|
|
2359
|
+
case "com.amazonaws.neptunedata#MethodNotAllowedException":
|
|
2360
|
+
throw await de_MethodNotAllowedExceptionRes(parsedOutput, context);
|
|
2361
|
+
case "ServerShutdownException":
|
|
2362
|
+
case "com.amazonaws.neptunedata#ServerShutdownException":
|
|
2363
|
+
throw await de_ServerShutdownExceptionRes(parsedOutput, context);
|
|
2364
|
+
case "CancelledByUserException":
|
|
2365
|
+
case "com.amazonaws.neptunedata#CancelledByUserException":
|
|
2366
|
+
throw await de_CancelledByUserExceptionRes(parsedOutput, context);
|
|
2367
|
+
case "MalformedQueryException":
|
|
2368
|
+
case "com.amazonaws.neptunedata#MalformedQueryException":
|
|
2369
|
+
throw await de_MalformedQueryExceptionRes(parsedOutput, context);
|
|
2370
|
+
case "MemoryLimitExceededException":
|
|
2371
|
+
case "com.amazonaws.neptunedata#MemoryLimitExceededException":
|
|
2372
|
+
throw await de_MemoryLimitExceededExceptionRes(parsedOutput, context);
|
|
2373
|
+
case "QueryLimitExceededException":
|
|
2374
|
+
case "com.amazonaws.neptunedata#QueryLimitExceededException":
|
|
2375
|
+
throw await de_QueryLimitExceededExceptionRes(parsedOutput, context);
|
|
2376
|
+
case "QueryLimitException":
|
|
2377
|
+
case "com.amazonaws.neptunedata#QueryLimitException":
|
|
2378
|
+
throw await de_QueryLimitExceptionRes(parsedOutput, context);
|
|
2379
|
+
case "QueryTooLargeException":
|
|
2380
|
+
case "com.amazonaws.neptunedata#QueryTooLargeException":
|
|
2381
|
+
throw await de_QueryTooLargeExceptionRes(parsedOutput, context);
|
|
2382
|
+
case "ExpiredStreamException":
|
|
2383
|
+
case "com.amazonaws.neptunedata#ExpiredStreamException":
|
|
2384
|
+
throw await de_ExpiredStreamExceptionRes(parsedOutput, context);
|
|
2385
|
+
case "StreamRecordsNotFoundException":
|
|
2386
|
+
case "com.amazonaws.neptunedata#StreamRecordsNotFoundException":
|
|
2387
|
+
throw await de_StreamRecordsNotFoundExceptionRes(parsedOutput, context);
|
|
2388
|
+
case "ThrottlingException":
|
|
2389
|
+
case "com.amazonaws.neptunedata#ThrottlingException":
|
|
2390
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2391
|
+
case "S3Exception":
|
|
2392
|
+
case "com.amazonaws.neptunedata#S3Exception":
|
|
2393
|
+
throw await de_S3ExceptionRes(parsedOutput, context);
|
|
4686
2394
|
default:
|
|
4687
2395
|
const parsedBody = parsedOutput.body;
|
|
4688
2396
|
return throwDefaultError({
|
|
@@ -4691,7 +2399,7 @@ var de_StartMLModelTransformJobCommandError = /* @__PURE__ */ __name(async (outp
|
|
|
4691
2399
|
errorCode
|
|
4692
2400
|
});
|
|
4693
2401
|
}
|
|
4694
|
-
}, "
|
|
2402
|
+
}, "de_CommandError");
|
|
4695
2403
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(NeptunedataServiceException);
|
|
4696
2404
|
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4697
2405
|
const contents = (0, import_smithy_client.map)({});
|