@aws-sdk/client-cleanrooms 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 +133 -2045
- package/dist-es/protocols/Aws_restJson1.js +256 -2168
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1680,7 +1680,7 @@ var se_UpdateProtectedQueryCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
1680
1680
|
}, "se_UpdateProtectedQueryCommand");
|
|
1681
1681
|
var de_BatchGetCollaborationAnalysisTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1682
1682
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1683
|
-
return
|
|
1683
|
+
return de_CommandError(output, context);
|
|
1684
1684
|
}
|
|
1685
1685
|
const contents = (0, import_smithy_client.map)({
|
|
1686
1686
|
$metadata: deserializeMetadata(output)
|
|
@@ -1693,40 +1693,9 @@ var de_BatchGetCollaborationAnalysisTemplateCommand = /* @__PURE__ */ __name(asy
|
|
|
1693
1693
|
Object.assign(contents, doc);
|
|
1694
1694
|
return contents;
|
|
1695
1695
|
}, "de_BatchGetCollaborationAnalysisTemplateCommand");
|
|
1696
|
-
var de_BatchGetCollaborationAnalysisTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1697
|
-
const parsedOutput = {
|
|
1698
|
-
...output,
|
|
1699
|
-
body: await parseErrorBody(output.body, context)
|
|
1700
|
-
};
|
|
1701
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1702
|
-
switch (errorCode) {
|
|
1703
|
-
case "AccessDeniedException":
|
|
1704
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1705
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1706
|
-
case "InternalServerException":
|
|
1707
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1708
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1709
|
-
case "ResourceNotFoundException":
|
|
1710
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1711
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1712
|
-
case "ThrottlingException":
|
|
1713
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1714
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1715
|
-
case "ValidationException":
|
|
1716
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1717
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1718
|
-
default:
|
|
1719
|
-
const parsedBody = parsedOutput.body;
|
|
1720
|
-
return throwDefaultError({
|
|
1721
|
-
output,
|
|
1722
|
-
parsedBody,
|
|
1723
|
-
errorCode
|
|
1724
|
-
});
|
|
1725
|
-
}
|
|
1726
|
-
}, "de_BatchGetCollaborationAnalysisTemplateCommandError");
|
|
1727
1696
|
var de_BatchGetSchemaCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1728
1697
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1729
|
-
return
|
|
1698
|
+
return de_CommandError(output, context);
|
|
1730
1699
|
}
|
|
1731
1700
|
const contents = (0, import_smithy_client.map)({
|
|
1732
1701
|
$metadata: deserializeMetadata(output)
|
|
@@ -1739,40 +1708,9 @@ var de_BatchGetSchemaCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1739
1708
|
Object.assign(contents, doc);
|
|
1740
1709
|
return contents;
|
|
1741
1710
|
}, "de_BatchGetSchemaCommand");
|
|
1742
|
-
var de_BatchGetSchemaCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1743
|
-
const parsedOutput = {
|
|
1744
|
-
...output,
|
|
1745
|
-
body: await parseErrorBody(output.body, context)
|
|
1746
|
-
};
|
|
1747
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1748
|
-
switch (errorCode) {
|
|
1749
|
-
case "AccessDeniedException":
|
|
1750
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1751
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1752
|
-
case "InternalServerException":
|
|
1753
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1754
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1755
|
-
case "ResourceNotFoundException":
|
|
1756
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1757
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1758
|
-
case "ThrottlingException":
|
|
1759
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1760
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1761
|
-
case "ValidationException":
|
|
1762
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1763
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1764
|
-
default:
|
|
1765
|
-
const parsedBody = parsedOutput.body;
|
|
1766
|
-
return throwDefaultError({
|
|
1767
|
-
output,
|
|
1768
|
-
parsedBody,
|
|
1769
|
-
errorCode
|
|
1770
|
-
});
|
|
1771
|
-
}
|
|
1772
|
-
}, "de_BatchGetSchemaCommandError");
|
|
1773
1711
|
var de_CreateAnalysisTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1774
1712
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1775
|
-
return
|
|
1713
|
+
return de_CommandError(output, context);
|
|
1776
1714
|
}
|
|
1777
1715
|
const contents = (0, import_smithy_client.map)({
|
|
1778
1716
|
$metadata: deserializeMetadata(output)
|
|
@@ -1784,46 +1722,9 @@ var de_CreateAnalysisTemplateCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1784
1722
|
Object.assign(contents, doc);
|
|
1785
1723
|
return contents;
|
|
1786
1724
|
}, "de_CreateAnalysisTemplateCommand");
|
|
1787
|
-
var de_CreateAnalysisTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1788
|
-
const parsedOutput = {
|
|
1789
|
-
...output,
|
|
1790
|
-
body: await parseErrorBody(output.body, context)
|
|
1791
|
-
};
|
|
1792
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1793
|
-
switch (errorCode) {
|
|
1794
|
-
case "AccessDeniedException":
|
|
1795
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1796
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1797
|
-
case "ConflictException":
|
|
1798
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1799
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1800
|
-
case "InternalServerException":
|
|
1801
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1802
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1803
|
-
case "ResourceNotFoundException":
|
|
1804
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1805
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1806
|
-
case "ServiceQuotaExceededException":
|
|
1807
|
-
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
1808
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1809
|
-
case "ThrottlingException":
|
|
1810
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1811
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1812
|
-
case "ValidationException":
|
|
1813
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1814
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1815
|
-
default:
|
|
1816
|
-
const parsedBody = parsedOutput.body;
|
|
1817
|
-
return throwDefaultError({
|
|
1818
|
-
output,
|
|
1819
|
-
parsedBody,
|
|
1820
|
-
errorCode
|
|
1821
|
-
});
|
|
1822
|
-
}
|
|
1823
|
-
}, "de_CreateAnalysisTemplateCommandError");
|
|
1824
1725
|
var de_CreateCollaborationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1825
1726
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1826
|
-
return
|
|
1727
|
+
return de_CommandError(output, context);
|
|
1827
1728
|
}
|
|
1828
1729
|
const contents = (0, import_smithy_client.map)({
|
|
1829
1730
|
$metadata: deserializeMetadata(output)
|
|
@@ -1835,40 +1736,9 @@ var de_CreateCollaborationCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1835
1736
|
Object.assign(contents, doc);
|
|
1836
1737
|
return contents;
|
|
1837
1738
|
}, "de_CreateCollaborationCommand");
|
|
1838
|
-
var de_CreateCollaborationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1839
|
-
const parsedOutput = {
|
|
1840
|
-
...output,
|
|
1841
|
-
body: await parseErrorBody(output.body, context)
|
|
1842
|
-
};
|
|
1843
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1844
|
-
switch (errorCode) {
|
|
1845
|
-
case "AccessDeniedException":
|
|
1846
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1847
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1848
|
-
case "InternalServerException":
|
|
1849
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1850
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1851
|
-
case "ServiceQuotaExceededException":
|
|
1852
|
-
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
1853
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1854
|
-
case "ThrottlingException":
|
|
1855
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1856
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1857
|
-
case "ValidationException":
|
|
1858
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1859
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1860
|
-
default:
|
|
1861
|
-
const parsedBody = parsedOutput.body;
|
|
1862
|
-
return throwDefaultError({
|
|
1863
|
-
output,
|
|
1864
|
-
parsedBody,
|
|
1865
|
-
errorCode
|
|
1866
|
-
});
|
|
1867
|
-
}
|
|
1868
|
-
}, "de_CreateCollaborationCommandError");
|
|
1869
1739
|
var de_CreateConfiguredAudienceModelAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1870
1740
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1871
|
-
return
|
|
1741
|
+
return de_CommandError(output, context);
|
|
1872
1742
|
}
|
|
1873
1743
|
const contents = (0, import_smithy_client.map)({
|
|
1874
1744
|
$metadata: deserializeMetadata(output)
|
|
@@ -1880,46 +1750,9 @@ var de_CreateConfiguredAudienceModelAssociationCommand = /* @__PURE__ */ __name(
|
|
|
1880
1750
|
Object.assign(contents, doc);
|
|
1881
1751
|
return contents;
|
|
1882
1752
|
}, "de_CreateConfiguredAudienceModelAssociationCommand");
|
|
1883
|
-
var de_CreateConfiguredAudienceModelAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1884
|
-
const parsedOutput = {
|
|
1885
|
-
...output,
|
|
1886
|
-
body: await parseErrorBody(output.body, context)
|
|
1887
|
-
};
|
|
1888
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1889
|
-
switch (errorCode) {
|
|
1890
|
-
case "AccessDeniedException":
|
|
1891
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1892
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1893
|
-
case "ConflictException":
|
|
1894
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1895
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1896
|
-
case "InternalServerException":
|
|
1897
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1898
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1899
|
-
case "ResourceNotFoundException":
|
|
1900
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1901
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1902
|
-
case "ServiceQuotaExceededException":
|
|
1903
|
-
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
1904
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1905
|
-
case "ThrottlingException":
|
|
1906
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1907
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1908
|
-
case "ValidationException":
|
|
1909
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1910
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1911
|
-
default:
|
|
1912
|
-
const parsedBody = parsedOutput.body;
|
|
1913
|
-
return throwDefaultError({
|
|
1914
|
-
output,
|
|
1915
|
-
parsedBody,
|
|
1916
|
-
errorCode
|
|
1917
|
-
});
|
|
1918
|
-
}
|
|
1919
|
-
}, "de_CreateConfiguredAudienceModelAssociationCommandError");
|
|
1920
1753
|
var de_CreateConfiguredTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1921
1754
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1922
|
-
return
|
|
1755
|
+
return de_CommandError(output, context);
|
|
1923
1756
|
}
|
|
1924
1757
|
const contents = (0, import_smithy_client.map)({
|
|
1925
1758
|
$metadata: deserializeMetadata(output)
|
|
@@ -1931,46 +1764,9 @@ var de_CreateConfiguredTableCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1931
1764
|
Object.assign(contents, doc);
|
|
1932
1765
|
return contents;
|
|
1933
1766
|
}, "de_CreateConfiguredTableCommand");
|
|
1934
|
-
var de_CreateConfiguredTableCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1935
|
-
const parsedOutput = {
|
|
1936
|
-
...output,
|
|
1937
|
-
body: await parseErrorBody(output.body, context)
|
|
1938
|
-
};
|
|
1939
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1940
|
-
switch (errorCode) {
|
|
1941
|
-
case "AccessDeniedException":
|
|
1942
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1943
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1944
|
-
case "ConflictException":
|
|
1945
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1946
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1947
|
-
case "InternalServerException":
|
|
1948
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
1949
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1950
|
-
case "ResourceNotFoundException":
|
|
1951
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
1952
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1953
|
-
case "ServiceQuotaExceededException":
|
|
1954
|
-
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
1955
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1956
|
-
case "ThrottlingException":
|
|
1957
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
1958
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1959
|
-
case "ValidationException":
|
|
1960
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
1961
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1962
|
-
default:
|
|
1963
|
-
const parsedBody = parsedOutput.body;
|
|
1964
|
-
return throwDefaultError({
|
|
1965
|
-
output,
|
|
1966
|
-
parsedBody,
|
|
1967
|
-
errorCode
|
|
1968
|
-
});
|
|
1969
|
-
}
|
|
1970
|
-
}, "de_CreateConfiguredTableCommandError");
|
|
1971
1767
|
var de_CreateConfiguredTableAnalysisRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1972
1768
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1973
|
-
return
|
|
1769
|
+
return de_CommandError(output, context);
|
|
1974
1770
|
}
|
|
1975
1771
|
const contents = (0, import_smithy_client.map)({
|
|
1976
1772
|
$metadata: deserializeMetadata(output)
|
|
@@ -1982,43 +1778,9 @@ var de_CreateConfiguredTableAnalysisRuleCommand = /* @__PURE__ */ __name(async (
|
|
|
1982
1778
|
Object.assign(contents, doc);
|
|
1983
1779
|
return contents;
|
|
1984
1780
|
}, "de_CreateConfiguredTableAnalysisRuleCommand");
|
|
1985
|
-
var de_CreateConfiguredTableAnalysisRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1986
|
-
const parsedOutput = {
|
|
1987
|
-
...output,
|
|
1988
|
-
body: await parseErrorBody(output.body, context)
|
|
1989
|
-
};
|
|
1990
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1991
|
-
switch (errorCode) {
|
|
1992
|
-
case "AccessDeniedException":
|
|
1993
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
1994
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1995
|
-
case "ConflictException":
|
|
1996
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
1997
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1998
|
-
case "InternalServerException":
|
|
1999
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2000
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2001
|
-
case "ResourceNotFoundException":
|
|
2002
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2003
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2004
|
-
case "ThrottlingException":
|
|
2005
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2006
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2007
|
-
case "ValidationException":
|
|
2008
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2009
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2010
|
-
default:
|
|
2011
|
-
const parsedBody = parsedOutput.body;
|
|
2012
|
-
return throwDefaultError({
|
|
2013
|
-
output,
|
|
2014
|
-
parsedBody,
|
|
2015
|
-
errorCode
|
|
2016
|
-
});
|
|
2017
|
-
}
|
|
2018
|
-
}, "de_CreateConfiguredTableAnalysisRuleCommandError");
|
|
2019
1781
|
var de_CreateConfiguredTableAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2020
1782
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2021
|
-
return
|
|
1783
|
+
return de_CommandError(output, context);
|
|
2022
1784
|
}
|
|
2023
1785
|
const contents = (0, import_smithy_client.map)({
|
|
2024
1786
|
$metadata: deserializeMetadata(output)
|
|
@@ -2030,46 +1792,9 @@ var de_CreateConfiguredTableAssociationCommand = /* @__PURE__ */ __name(async (o
|
|
|
2030
1792
|
Object.assign(contents, doc);
|
|
2031
1793
|
return contents;
|
|
2032
1794
|
}, "de_CreateConfiguredTableAssociationCommand");
|
|
2033
|
-
var de_CreateConfiguredTableAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2034
|
-
const parsedOutput = {
|
|
2035
|
-
...output,
|
|
2036
|
-
body: await parseErrorBody(output.body, context)
|
|
2037
|
-
};
|
|
2038
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2039
|
-
switch (errorCode) {
|
|
2040
|
-
case "AccessDeniedException":
|
|
2041
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2042
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2043
|
-
case "ConflictException":
|
|
2044
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
2045
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2046
|
-
case "InternalServerException":
|
|
2047
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2048
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2049
|
-
case "ResourceNotFoundException":
|
|
2050
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2051
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2052
|
-
case "ServiceQuotaExceededException":
|
|
2053
|
-
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
2054
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2055
|
-
case "ThrottlingException":
|
|
2056
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2057
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2058
|
-
case "ValidationException":
|
|
2059
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2060
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2061
|
-
default:
|
|
2062
|
-
const parsedBody = parsedOutput.body;
|
|
2063
|
-
return throwDefaultError({
|
|
2064
|
-
output,
|
|
2065
|
-
parsedBody,
|
|
2066
|
-
errorCode
|
|
2067
|
-
});
|
|
2068
|
-
}
|
|
2069
|
-
}, "de_CreateConfiguredTableAssociationCommandError");
|
|
2070
1795
|
var de_CreateMembershipCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2071
1796
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2072
|
-
return
|
|
1797
|
+
return de_CommandError(output, context);
|
|
2073
1798
|
}
|
|
2074
1799
|
const contents = (0, import_smithy_client.map)({
|
|
2075
1800
|
$metadata: deserializeMetadata(output)
|
|
@@ -2081,46 +1806,9 @@ var de_CreateMembershipCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2081
1806
|
Object.assign(contents, doc);
|
|
2082
1807
|
return contents;
|
|
2083
1808
|
}, "de_CreateMembershipCommand");
|
|
2084
|
-
var de_CreateMembershipCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2085
|
-
const parsedOutput = {
|
|
2086
|
-
...output,
|
|
2087
|
-
body: await parseErrorBody(output.body, context)
|
|
2088
|
-
};
|
|
2089
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2090
|
-
switch (errorCode) {
|
|
2091
|
-
case "AccessDeniedException":
|
|
2092
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2093
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2094
|
-
case "ConflictException":
|
|
2095
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
2096
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2097
|
-
case "InternalServerException":
|
|
2098
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2099
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2100
|
-
case "ResourceNotFoundException":
|
|
2101
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2102
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2103
|
-
case "ServiceQuotaExceededException":
|
|
2104
|
-
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
2105
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2106
|
-
case "ThrottlingException":
|
|
2107
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2108
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2109
|
-
case "ValidationException":
|
|
2110
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2111
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2112
|
-
default:
|
|
2113
|
-
const parsedBody = parsedOutput.body;
|
|
2114
|
-
return throwDefaultError({
|
|
2115
|
-
output,
|
|
2116
|
-
parsedBody,
|
|
2117
|
-
errorCode
|
|
2118
|
-
});
|
|
2119
|
-
}
|
|
2120
|
-
}, "de_CreateMembershipCommandError");
|
|
2121
1809
|
var de_CreatePrivacyBudgetTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2122
1810
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2123
|
-
return
|
|
1811
|
+
return de_CommandError(output, context);
|
|
2124
1812
|
}
|
|
2125
1813
|
const contents = (0, import_smithy_client.map)({
|
|
2126
1814
|
$metadata: deserializeMetadata(output)
|
|
@@ -2132,43 +1820,9 @@ var de_CreatePrivacyBudgetTemplateCommand = /* @__PURE__ */ __name(async (output
|
|
|
2132
1820
|
Object.assign(contents, doc);
|
|
2133
1821
|
return contents;
|
|
2134
1822
|
}, "de_CreatePrivacyBudgetTemplateCommand");
|
|
2135
|
-
var de_CreatePrivacyBudgetTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2136
|
-
const parsedOutput = {
|
|
2137
|
-
...output,
|
|
2138
|
-
body: await parseErrorBody(output.body, context)
|
|
2139
|
-
};
|
|
2140
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2141
|
-
switch (errorCode) {
|
|
2142
|
-
case "AccessDeniedException":
|
|
2143
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2144
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2145
|
-
case "ConflictException":
|
|
2146
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
2147
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2148
|
-
case "InternalServerException":
|
|
2149
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2150
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2151
|
-
case "ResourceNotFoundException":
|
|
2152
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2153
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2154
|
-
case "ThrottlingException":
|
|
2155
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2156
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2157
|
-
case "ValidationException":
|
|
2158
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2159
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2160
|
-
default:
|
|
2161
|
-
const parsedBody = parsedOutput.body;
|
|
2162
|
-
return throwDefaultError({
|
|
2163
|
-
output,
|
|
2164
|
-
parsedBody,
|
|
2165
|
-
errorCode
|
|
2166
|
-
});
|
|
2167
|
-
}
|
|
2168
|
-
}, "de_CreatePrivacyBudgetTemplateCommandError");
|
|
2169
1823
|
var de_DeleteAnalysisTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2170
1824
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2171
|
-
return
|
|
1825
|
+
return de_CommandError(output, context);
|
|
2172
1826
|
}
|
|
2173
1827
|
const contents = (0, import_smithy_client.map)({
|
|
2174
1828
|
$metadata: deserializeMetadata(output)
|
|
@@ -2176,40 +1830,9 @@ var de_DeleteAnalysisTemplateCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2176
1830
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2177
1831
|
return contents;
|
|
2178
1832
|
}, "de_DeleteAnalysisTemplateCommand");
|
|
2179
|
-
var de_DeleteAnalysisTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2180
|
-
const parsedOutput = {
|
|
2181
|
-
...output,
|
|
2182
|
-
body: await parseErrorBody(output.body, context)
|
|
2183
|
-
};
|
|
2184
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2185
|
-
switch (errorCode) {
|
|
2186
|
-
case "AccessDeniedException":
|
|
2187
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2188
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2189
|
-
case "InternalServerException":
|
|
2190
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2191
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2192
|
-
case "ResourceNotFoundException":
|
|
2193
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2194
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2195
|
-
case "ThrottlingException":
|
|
2196
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2197
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2198
|
-
case "ValidationException":
|
|
2199
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2200
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2201
|
-
default:
|
|
2202
|
-
const parsedBody = parsedOutput.body;
|
|
2203
|
-
return throwDefaultError({
|
|
2204
|
-
output,
|
|
2205
|
-
parsedBody,
|
|
2206
|
-
errorCode
|
|
2207
|
-
});
|
|
2208
|
-
}
|
|
2209
|
-
}, "de_DeleteAnalysisTemplateCommandError");
|
|
2210
1833
|
var de_DeleteCollaborationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2211
1834
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2212
|
-
return
|
|
1835
|
+
return de_CommandError(output, context);
|
|
2213
1836
|
}
|
|
2214
1837
|
const contents = (0, import_smithy_client.map)({
|
|
2215
1838
|
$metadata: deserializeMetadata(output)
|
|
@@ -2217,37 +1840,9 @@ var de_DeleteCollaborationCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2217
1840
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2218
1841
|
return contents;
|
|
2219
1842
|
}, "de_DeleteCollaborationCommand");
|
|
2220
|
-
var de_DeleteCollaborationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2221
|
-
const parsedOutput = {
|
|
2222
|
-
...output,
|
|
2223
|
-
body: await parseErrorBody(output.body, context)
|
|
2224
|
-
};
|
|
2225
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2226
|
-
switch (errorCode) {
|
|
2227
|
-
case "AccessDeniedException":
|
|
2228
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2229
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2230
|
-
case "InternalServerException":
|
|
2231
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2232
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2233
|
-
case "ThrottlingException":
|
|
2234
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2235
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2236
|
-
case "ValidationException":
|
|
2237
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2238
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2239
|
-
default:
|
|
2240
|
-
const parsedBody = parsedOutput.body;
|
|
2241
|
-
return throwDefaultError({
|
|
2242
|
-
output,
|
|
2243
|
-
parsedBody,
|
|
2244
|
-
errorCode
|
|
2245
|
-
});
|
|
2246
|
-
}
|
|
2247
|
-
}, "de_DeleteCollaborationCommandError");
|
|
2248
1843
|
var de_DeleteConfiguredAudienceModelAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2249
1844
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2250
|
-
return
|
|
1845
|
+
return de_CommandError(output, context);
|
|
2251
1846
|
}
|
|
2252
1847
|
const contents = (0, import_smithy_client.map)({
|
|
2253
1848
|
$metadata: deserializeMetadata(output)
|
|
@@ -2255,40 +1850,9 @@ var de_DeleteConfiguredAudienceModelAssociationCommand = /* @__PURE__ */ __name(
|
|
|
2255
1850
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2256
1851
|
return contents;
|
|
2257
1852
|
}, "de_DeleteConfiguredAudienceModelAssociationCommand");
|
|
2258
|
-
var de_DeleteConfiguredAudienceModelAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2259
|
-
const parsedOutput = {
|
|
2260
|
-
...output,
|
|
2261
|
-
body: await parseErrorBody(output.body, context)
|
|
2262
|
-
};
|
|
2263
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2264
|
-
switch (errorCode) {
|
|
2265
|
-
case "AccessDeniedException":
|
|
2266
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2267
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2268
|
-
case "InternalServerException":
|
|
2269
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2270
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2271
|
-
case "ResourceNotFoundException":
|
|
2272
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2273
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2274
|
-
case "ThrottlingException":
|
|
2275
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2276
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2277
|
-
case "ValidationException":
|
|
2278
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2279
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2280
|
-
default:
|
|
2281
|
-
const parsedBody = parsedOutput.body;
|
|
2282
|
-
return throwDefaultError({
|
|
2283
|
-
output,
|
|
2284
|
-
parsedBody,
|
|
2285
|
-
errorCode
|
|
2286
|
-
});
|
|
2287
|
-
}
|
|
2288
|
-
}, "de_DeleteConfiguredAudienceModelAssociationCommandError");
|
|
2289
1853
|
var de_DeleteConfiguredTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2290
1854
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2291
|
-
return
|
|
1855
|
+
return de_CommandError(output, context);
|
|
2292
1856
|
}
|
|
2293
1857
|
const contents = (0, import_smithy_client.map)({
|
|
2294
1858
|
$metadata: deserializeMetadata(output)
|
|
@@ -2296,43 +1860,9 @@ var de_DeleteConfiguredTableCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2296
1860
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2297
1861
|
return contents;
|
|
2298
1862
|
}, "de_DeleteConfiguredTableCommand");
|
|
2299
|
-
var de_DeleteConfiguredTableCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2300
|
-
const parsedOutput = {
|
|
2301
|
-
...output,
|
|
2302
|
-
body: await parseErrorBody(output.body, context)
|
|
2303
|
-
};
|
|
2304
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2305
|
-
switch (errorCode) {
|
|
2306
|
-
case "AccessDeniedException":
|
|
2307
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2308
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2309
|
-
case "ConflictException":
|
|
2310
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
2311
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2312
|
-
case "InternalServerException":
|
|
2313
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2314
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2315
|
-
case "ResourceNotFoundException":
|
|
2316
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2317
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2318
|
-
case "ThrottlingException":
|
|
2319
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2320
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2321
|
-
case "ValidationException":
|
|
2322
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2323
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2324
|
-
default:
|
|
2325
|
-
const parsedBody = parsedOutput.body;
|
|
2326
|
-
return throwDefaultError({
|
|
2327
|
-
output,
|
|
2328
|
-
parsedBody,
|
|
2329
|
-
errorCode
|
|
2330
|
-
});
|
|
2331
|
-
}
|
|
2332
|
-
}, "de_DeleteConfiguredTableCommandError");
|
|
2333
1863
|
var de_DeleteConfiguredTableAnalysisRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2334
1864
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2335
|
-
return
|
|
1865
|
+
return de_CommandError(output, context);
|
|
2336
1866
|
}
|
|
2337
1867
|
const contents = (0, import_smithy_client.map)({
|
|
2338
1868
|
$metadata: deserializeMetadata(output)
|
|
@@ -2340,43 +1870,9 @@ var de_DeleteConfiguredTableAnalysisRuleCommand = /* @__PURE__ */ __name(async (
|
|
|
2340
1870
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2341
1871
|
return contents;
|
|
2342
1872
|
}, "de_DeleteConfiguredTableAnalysisRuleCommand");
|
|
2343
|
-
var de_DeleteConfiguredTableAnalysisRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2344
|
-
const parsedOutput = {
|
|
2345
|
-
...output,
|
|
2346
|
-
body: await parseErrorBody(output.body, context)
|
|
2347
|
-
};
|
|
2348
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2349
|
-
switch (errorCode) {
|
|
2350
|
-
case "AccessDeniedException":
|
|
2351
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2352
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2353
|
-
case "ConflictException":
|
|
2354
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
2355
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2356
|
-
case "InternalServerException":
|
|
2357
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2358
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2359
|
-
case "ResourceNotFoundException":
|
|
2360
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2361
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2362
|
-
case "ThrottlingException":
|
|
2363
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2364
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2365
|
-
case "ValidationException":
|
|
2366
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2367
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2368
|
-
default:
|
|
2369
|
-
const parsedBody = parsedOutput.body;
|
|
2370
|
-
return throwDefaultError({
|
|
2371
|
-
output,
|
|
2372
|
-
parsedBody,
|
|
2373
|
-
errorCode
|
|
2374
|
-
});
|
|
2375
|
-
}
|
|
2376
|
-
}, "de_DeleteConfiguredTableAnalysisRuleCommandError");
|
|
2377
1873
|
var de_DeleteConfiguredTableAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2378
1874
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2379
|
-
return
|
|
1875
|
+
return de_CommandError(output, context);
|
|
2380
1876
|
}
|
|
2381
1877
|
const contents = (0, import_smithy_client.map)({
|
|
2382
1878
|
$metadata: deserializeMetadata(output)
|
|
@@ -2384,43 +1880,9 @@ var de_DeleteConfiguredTableAssociationCommand = /* @__PURE__ */ __name(async (o
|
|
|
2384
1880
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2385
1881
|
return contents;
|
|
2386
1882
|
}, "de_DeleteConfiguredTableAssociationCommand");
|
|
2387
|
-
var de_DeleteConfiguredTableAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2388
|
-
const parsedOutput = {
|
|
2389
|
-
...output,
|
|
2390
|
-
body: await parseErrorBody(output.body, context)
|
|
2391
|
-
};
|
|
2392
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2393
|
-
switch (errorCode) {
|
|
2394
|
-
case "AccessDeniedException":
|
|
2395
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2396
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2397
|
-
case "ConflictException":
|
|
2398
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
2399
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2400
|
-
case "InternalServerException":
|
|
2401
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2402
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2403
|
-
case "ResourceNotFoundException":
|
|
2404
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2405
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2406
|
-
case "ThrottlingException":
|
|
2407
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2408
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2409
|
-
case "ValidationException":
|
|
2410
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2411
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2412
|
-
default:
|
|
2413
|
-
const parsedBody = parsedOutput.body;
|
|
2414
|
-
return throwDefaultError({
|
|
2415
|
-
output,
|
|
2416
|
-
parsedBody,
|
|
2417
|
-
errorCode
|
|
2418
|
-
});
|
|
2419
|
-
}
|
|
2420
|
-
}, "de_DeleteConfiguredTableAssociationCommandError");
|
|
2421
1883
|
var de_DeleteMemberCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2422
1884
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2423
|
-
return
|
|
1885
|
+
return de_CommandError(output, context);
|
|
2424
1886
|
}
|
|
2425
1887
|
const contents = (0, import_smithy_client.map)({
|
|
2426
1888
|
$metadata: deserializeMetadata(output)
|
|
@@ -2428,43 +1890,9 @@ var de_DeleteMemberCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2428
1890
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2429
1891
|
return contents;
|
|
2430
1892
|
}, "de_DeleteMemberCommand");
|
|
2431
|
-
var de_DeleteMemberCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2432
|
-
const parsedOutput = {
|
|
2433
|
-
...output,
|
|
2434
|
-
body: await parseErrorBody(output.body, context)
|
|
2435
|
-
};
|
|
2436
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2437
|
-
switch (errorCode) {
|
|
2438
|
-
case "AccessDeniedException":
|
|
2439
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2440
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2441
|
-
case "ConflictException":
|
|
2442
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
2443
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2444
|
-
case "InternalServerException":
|
|
2445
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2446
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2447
|
-
case "ResourceNotFoundException":
|
|
2448
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2449
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2450
|
-
case "ThrottlingException":
|
|
2451
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2452
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2453
|
-
case "ValidationException":
|
|
2454
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2455
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2456
|
-
default:
|
|
2457
|
-
const parsedBody = parsedOutput.body;
|
|
2458
|
-
return throwDefaultError({
|
|
2459
|
-
output,
|
|
2460
|
-
parsedBody,
|
|
2461
|
-
errorCode
|
|
2462
|
-
});
|
|
2463
|
-
}
|
|
2464
|
-
}, "de_DeleteMemberCommandError");
|
|
2465
1893
|
var de_DeleteMembershipCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2466
1894
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2467
|
-
return
|
|
1895
|
+
return de_CommandError(output, context);
|
|
2468
1896
|
}
|
|
2469
1897
|
const contents = (0, import_smithy_client.map)({
|
|
2470
1898
|
$metadata: deserializeMetadata(output)
|
|
@@ -2472,129 +1900,33 @@ var de_DeleteMembershipCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2472
1900
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2473
1901
|
return contents;
|
|
2474
1902
|
}, "de_DeleteMembershipCommand");
|
|
2475
|
-
var de_DeleteMembershipCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2476
|
-
const parsedOutput = {
|
|
2477
|
-
...output,
|
|
2478
|
-
body: await parseErrorBody(output.body, context)
|
|
2479
|
-
};
|
|
2480
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2481
|
-
switch (errorCode) {
|
|
2482
|
-
case "AccessDeniedException":
|
|
2483
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2484
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2485
|
-
case "ConflictException":
|
|
2486
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
2487
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2488
|
-
case "InternalServerException":
|
|
2489
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2490
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2491
|
-
case "ResourceNotFoundException":
|
|
2492
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2493
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2494
|
-
case "ThrottlingException":
|
|
2495
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2496
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2497
|
-
case "ValidationException":
|
|
2498
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2499
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2500
|
-
default:
|
|
2501
|
-
const parsedBody = parsedOutput.body;
|
|
2502
|
-
return throwDefaultError({
|
|
2503
|
-
output,
|
|
2504
|
-
parsedBody,
|
|
2505
|
-
errorCode
|
|
2506
|
-
});
|
|
2507
|
-
}
|
|
2508
|
-
}, "de_DeleteMembershipCommandError");
|
|
2509
1903
|
var de_DeletePrivacyBudgetTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2510
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2511
|
-
return
|
|
2512
|
-
}
|
|
2513
|
-
const contents = (0, import_smithy_client.map)({
|
|
2514
|
-
$metadata: deserializeMetadata(output)
|
|
2515
|
-
});
|
|
2516
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2517
|
-
return contents;
|
|
2518
|
-
}, "de_DeletePrivacyBudgetTemplateCommand");
|
|
2519
|
-
var
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
body: await parseErrorBody(output.body, context)
|
|
2523
|
-
};
|
|
2524
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2525
|
-
switch (errorCode) {
|
|
2526
|
-
case "AccessDeniedException":
|
|
2527
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2528
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2529
|
-
case "InternalServerException":
|
|
2530
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2531
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2532
|
-
case "ResourceNotFoundException":
|
|
2533
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2534
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2535
|
-
case "ThrottlingException":
|
|
2536
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2537
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2538
|
-
case "ValidationException":
|
|
2539
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2540
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2541
|
-
default:
|
|
2542
|
-
const parsedBody = parsedOutput.body;
|
|
2543
|
-
return throwDefaultError({
|
|
2544
|
-
output,
|
|
2545
|
-
parsedBody,
|
|
2546
|
-
errorCode
|
|
2547
|
-
});
|
|
2548
|
-
}
|
|
2549
|
-
}, "de_DeletePrivacyBudgetTemplateCommandError");
|
|
2550
|
-
var de_GetAnalysisTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2551
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2552
|
-
return de_GetAnalysisTemplateCommandError(output, context);
|
|
2553
|
-
}
|
|
2554
|
-
const contents = (0, import_smithy_client.map)({
|
|
2555
|
-
$metadata: deserializeMetadata(output)
|
|
2556
|
-
});
|
|
2557
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2558
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
2559
|
-
analysisTemplate: (_) => de_AnalysisTemplate(_, context)
|
|
2560
|
-
});
|
|
2561
|
-
Object.assign(contents, doc);
|
|
2562
|
-
return contents;
|
|
2563
|
-
}, "de_GetAnalysisTemplateCommand");
|
|
2564
|
-
var de_GetAnalysisTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2565
|
-
const parsedOutput = {
|
|
2566
|
-
...output,
|
|
2567
|
-
body: await parseErrorBody(output.body, context)
|
|
2568
|
-
};
|
|
2569
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2570
|
-
switch (errorCode) {
|
|
2571
|
-
case "AccessDeniedException":
|
|
2572
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2573
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2574
|
-
case "InternalServerException":
|
|
2575
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2576
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2577
|
-
case "ResourceNotFoundException":
|
|
2578
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2579
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2580
|
-
case "ThrottlingException":
|
|
2581
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2582
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2583
|
-
case "ValidationException":
|
|
2584
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2585
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2586
|
-
default:
|
|
2587
|
-
const parsedBody = parsedOutput.body;
|
|
2588
|
-
return throwDefaultError({
|
|
2589
|
-
output,
|
|
2590
|
-
parsedBody,
|
|
2591
|
-
errorCode
|
|
2592
|
-
});
|
|
1904
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1905
|
+
return de_CommandError(output, context);
|
|
1906
|
+
}
|
|
1907
|
+
const contents = (0, import_smithy_client.map)({
|
|
1908
|
+
$metadata: deserializeMetadata(output)
|
|
1909
|
+
});
|
|
1910
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1911
|
+
return contents;
|
|
1912
|
+
}, "de_DeletePrivacyBudgetTemplateCommand");
|
|
1913
|
+
var de_GetAnalysisTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1914
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1915
|
+
return de_CommandError(output, context);
|
|
2593
1916
|
}
|
|
2594
|
-
|
|
1917
|
+
const contents = (0, import_smithy_client.map)({
|
|
1918
|
+
$metadata: deserializeMetadata(output)
|
|
1919
|
+
});
|
|
1920
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1921
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1922
|
+
analysisTemplate: (_) => de_AnalysisTemplate(_, context)
|
|
1923
|
+
});
|
|
1924
|
+
Object.assign(contents, doc);
|
|
1925
|
+
return contents;
|
|
1926
|
+
}, "de_GetAnalysisTemplateCommand");
|
|
2595
1927
|
var de_GetCollaborationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2596
1928
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2597
|
-
return
|
|
1929
|
+
return de_CommandError(output, context);
|
|
2598
1930
|
}
|
|
2599
1931
|
const contents = (0, import_smithy_client.map)({
|
|
2600
1932
|
$metadata: deserializeMetadata(output)
|
|
@@ -2606,37 +1938,9 @@ var de_GetCollaborationCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2606
1938
|
Object.assign(contents, doc);
|
|
2607
1939
|
return contents;
|
|
2608
1940
|
}, "de_GetCollaborationCommand");
|
|
2609
|
-
var de_GetCollaborationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2610
|
-
const parsedOutput = {
|
|
2611
|
-
...output,
|
|
2612
|
-
body: await parseErrorBody(output.body, context)
|
|
2613
|
-
};
|
|
2614
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2615
|
-
switch (errorCode) {
|
|
2616
|
-
case "AccessDeniedException":
|
|
2617
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2618
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2619
|
-
case "InternalServerException":
|
|
2620
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2621
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2622
|
-
case "ThrottlingException":
|
|
2623
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2624
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2625
|
-
case "ValidationException":
|
|
2626
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2627
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2628
|
-
default:
|
|
2629
|
-
const parsedBody = parsedOutput.body;
|
|
2630
|
-
return throwDefaultError({
|
|
2631
|
-
output,
|
|
2632
|
-
parsedBody,
|
|
2633
|
-
errorCode
|
|
2634
|
-
});
|
|
2635
|
-
}
|
|
2636
|
-
}, "de_GetCollaborationCommandError");
|
|
2637
1941
|
var de_GetCollaborationAnalysisTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2638
1942
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2639
|
-
return
|
|
1943
|
+
return de_CommandError(output, context);
|
|
2640
1944
|
}
|
|
2641
1945
|
const contents = (0, import_smithy_client.map)({
|
|
2642
1946
|
$metadata: deserializeMetadata(output)
|
|
@@ -2648,40 +1952,9 @@ var de_GetCollaborationAnalysisTemplateCommand = /* @__PURE__ */ __name(async (o
|
|
|
2648
1952
|
Object.assign(contents, doc);
|
|
2649
1953
|
return contents;
|
|
2650
1954
|
}, "de_GetCollaborationAnalysisTemplateCommand");
|
|
2651
|
-
var de_GetCollaborationAnalysisTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2652
|
-
const parsedOutput = {
|
|
2653
|
-
...output,
|
|
2654
|
-
body: await parseErrorBody(output.body, context)
|
|
2655
|
-
};
|
|
2656
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2657
|
-
switch (errorCode) {
|
|
2658
|
-
case "AccessDeniedException":
|
|
2659
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2660
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2661
|
-
case "InternalServerException":
|
|
2662
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2663
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2664
|
-
case "ResourceNotFoundException":
|
|
2665
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2666
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2667
|
-
case "ThrottlingException":
|
|
2668
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2669
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2670
|
-
case "ValidationException":
|
|
2671
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2672
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2673
|
-
default:
|
|
2674
|
-
const parsedBody = parsedOutput.body;
|
|
2675
|
-
return throwDefaultError({
|
|
2676
|
-
output,
|
|
2677
|
-
parsedBody,
|
|
2678
|
-
errorCode
|
|
2679
|
-
});
|
|
2680
|
-
}
|
|
2681
|
-
}, "de_GetCollaborationAnalysisTemplateCommandError");
|
|
2682
1955
|
var de_GetCollaborationConfiguredAudienceModelAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2683
1956
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2684
|
-
return
|
|
1957
|
+
return de_CommandError(output, context);
|
|
2685
1958
|
}
|
|
2686
1959
|
const contents = (0, import_smithy_client.map)({
|
|
2687
1960
|
$metadata: deserializeMetadata(output)
|
|
@@ -2693,40 +1966,9 @@ var de_GetCollaborationConfiguredAudienceModelAssociationCommand = /* @__PURE__
|
|
|
2693
1966
|
Object.assign(contents, doc);
|
|
2694
1967
|
return contents;
|
|
2695
1968
|
}, "de_GetCollaborationConfiguredAudienceModelAssociationCommand");
|
|
2696
|
-
var de_GetCollaborationConfiguredAudienceModelAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2697
|
-
const parsedOutput = {
|
|
2698
|
-
...output,
|
|
2699
|
-
body: await parseErrorBody(output.body, context)
|
|
2700
|
-
};
|
|
2701
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2702
|
-
switch (errorCode) {
|
|
2703
|
-
case "AccessDeniedException":
|
|
2704
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2705
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2706
|
-
case "InternalServerException":
|
|
2707
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2708
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2709
|
-
case "ResourceNotFoundException":
|
|
2710
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2711
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2712
|
-
case "ThrottlingException":
|
|
2713
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2714
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2715
|
-
case "ValidationException":
|
|
2716
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2717
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2718
|
-
default:
|
|
2719
|
-
const parsedBody = parsedOutput.body;
|
|
2720
|
-
return throwDefaultError({
|
|
2721
|
-
output,
|
|
2722
|
-
parsedBody,
|
|
2723
|
-
errorCode
|
|
2724
|
-
});
|
|
2725
|
-
}
|
|
2726
|
-
}, "de_GetCollaborationConfiguredAudienceModelAssociationCommandError");
|
|
2727
1969
|
var de_GetCollaborationPrivacyBudgetTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2728
1970
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2729
|
-
return
|
|
1971
|
+
return de_CommandError(output, context);
|
|
2730
1972
|
}
|
|
2731
1973
|
const contents = (0, import_smithy_client.map)({
|
|
2732
1974
|
$metadata: deserializeMetadata(output)
|
|
@@ -2738,40 +1980,9 @@ var de_GetCollaborationPrivacyBudgetTemplateCommand = /* @__PURE__ */ __name(asy
|
|
|
2738
1980
|
Object.assign(contents, doc);
|
|
2739
1981
|
return contents;
|
|
2740
1982
|
}, "de_GetCollaborationPrivacyBudgetTemplateCommand");
|
|
2741
|
-
var de_GetCollaborationPrivacyBudgetTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2742
|
-
const parsedOutput = {
|
|
2743
|
-
...output,
|
|
2744
|
-
body: await parseErrorBody(output.body, context)
|
|
2745
|
-
};
|
|
2746
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2747
|
-
switch (errorCode) {
|
|
2748
|
-
case "AccessDeniedException":
|
|
2749
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2750
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2751
|
-
case "InternalServerException":
|
|
2752
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2753
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2754
|
-
case "ResourceNotFoundException":
|
|
2755
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2756
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2757
|
-
case "ThrottlingException":
|
|
2758
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2759
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2760
|
-
case "ValidationException":
|
|
2761
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2762
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2763
|
-
default:
|
|
2764
|
-
const parsedBody = parsedOutput.body;
|
|
2765
|
-
return throwDefaultError({
|
|
2766
|
-
output,
|
|
2767
|
-
parsedBody,
|
|
2768
|
-
errorCode
|
|
2769
|
-
});
|
|
2770
|
-
}
|
|
2771
|
-
}, "de_GetCollaborationPrivacyBudgetTemplateCommandError");
|
|
2772
1983
|
var de_GetConfiguredAudienceModelAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2773
1984
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2774
|
-
return
|
|
1985
|
+
return de_CommandError(output, context);
|
|
2775
1986
|
}
|
|
2776
1987
|
const contents = (0, import_smithy_client.map)({
|
|
2777
1988
|
$metadata: deserializeMetadata(output)
|
|
@@ -2783,40 +1994,9 @@ var de_GetConfiguredAudienceModelAssociationCommand = /* @__PURE__ */ __name(asy
|
|
|
2783
1994
|
Object.assign(contents, doc);
|
|
2784
1995
|
return contents;
|
|
2785
1996
|
}, "de_GetConfiguredAudienceModelAssociationCommand");
|
|
2786
|
-
var de_GetConfiguredAudienceModelAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2787
|
-
const parsedOutput = {
|
|
2788
|
-
...output,
|
|
2789
|
-
body: await parseErrorBody(output.body, context)
|
|
2790
|
-
};
|
|
2791
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2792
|
-
switch (errorCode) {
|
|
2793
|
-
case "AccessDeniedException":
|
|
2794
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2795
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2796
|
-
case "InternalServerException":
|
|
2797
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2798
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2799
|
-
case "ResourceNotFoundException":
|
|
2800
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2801
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2802
|
-
case "ThrottlingException":
|
|
2803
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2804
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2805
|
-
case "ValidationException":
|
|
2806
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2807
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2808
|
-
default:
|
|
2809
|
-
const parsedBody = parsedOutput.body;
|
|
2810
|
-
return throwDefaultError({
|
|
2811
|
-
output,
|
|
2812
|
-
parsedBody,
|
|
2813
|
-
errorCode
|
|
2814
|
-
});
|
|
2815
|
-
}
|
|
2816
|
-
}, "de_GetConfiguredAudienceModelAssociationCommandError");
|
|
2817
1997
|
var de_GetConfiguredTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2818
1998
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2819
|
-
return
|
|
1999
|
+
return de_CommandError(output, context);
|
|
2820
2000
|
}
|
|
2821
2001
|
const contents = (0, import_smithy_client.map)({
|
|
2822
2002
|
$metadata: deserializeMetadata(output)
|
|
@@ -2828,40 +2008,9 @@ var de_GetConfiguredTableCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2828
2008
|
Object.assign(contents, doc);
|
|
2829
2009
|
return contents;
|
|
2830
2010
|
}, "de_GetConfiguredTableCommand");
|
|
2831
|
-
var de_GetConfiguredTableCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2832
|
-
const parsedOutput = {
|
|
2833
|
-
...output,
|
|
2834
|
-
body: await parseErrorBody(output.body, context)
|
|
2835
|
-
};
|
|
2836
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2837
|
-
switch (errorCode) {
|
|
2838
|
-
case "AccessDeniedException":
|
|
2839
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2840
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2841
|
-
case "InternalServerException":
|
|
2842
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2843
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2844
|
-
case "ResourceNotFoundException":
|
|
2845
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2846
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2847
|
-
case "ThrottlingException":
|
|
2848
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2849
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2850
|
-
case "ValidationException":
|
|
2851
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2852
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2853
|
-
default:
|
|
2854
|
-
const parsedBody = parsedOutput.body;
|
|
2855
|
-
return throwDefaultError({
|
|
2856
|
-
output,
|
|
2857
|
-
parsedBody,
|
|
2858
|
-
errorCode
|
|
2859
|
-
});
|
|
2860
|
-
}
|
|
2861
|
-
}, "de_GetConfiguredTableCommandError");
|
|
2862
2011
|
var de_GetConfiguredTableAnalysisRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2863
2012
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2864
|
-
return
|
|
2013
|
+
return de_CommandError(output, context);
|
|
2865
2014
|
}
|
|
2866
2015
|
const contents = (0, import_smithy_client.map)({
|
|
2867
2016
|
$metadata: deserializeMetadata(output)
|
|
@@ -2873,85 +2022,23 @@ var de_GetConfiguredTableAnalysisRuleCommand = /* @__PURE__ */ __name(async (out
|
|
|
2873
2022
|
Object.assign(contents, doc);
|
|
2874
2023
|
return contents;
|
|
2875
2024
|
}, "de_GetConfiguredTableAnalysisRuleCommand");
|
|
2876
|
-
var de_GetConfiguredTableAnalysisRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2877
|
-
const parsedOutput = {
|
|
2878
|
-
...output,
|
|
2879
|
-
body: await parseErrorBody(output.body, context)
|
|
2880
|
-
};
|
|
2881
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2882
|
-
switch (errorCode) {
|
|
2883
|
-
case "AccessDeniedException":
|
|
2884
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2885
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2886
|
-
case "InternalServerException":
|
|
2887
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2888
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2889
|
-
case "ResourceNotFoundException":
|
|
2890
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2891
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2892
|
-
case "ThrottlingException":
|
|
2893
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2894
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2895
|
-
case "ValidationException":
|
|
2896
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2897
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2898
|
-
default:
|
|
2899
|
-
const parsedBody = parsedOutput.body;
|
|
2900
|
-
return throwDefaultError({
|
|
2901
|
-
output,
|
|
2902
|
-
parsedBody,
|
|
2903
|
-
errorCode
|
|
2904
|
-
});
|
|
2905
|
-
}
|
|
2906
|
-
}, "de_GetConfiguredTableAnalysisRuleCommandError");
|
|
2907
2025
|
var de_GetConfiguredTableAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2908
2026
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2909
|
-
return
|
|
2027
|
+
return de_CommandError(output, context);
|
|
2910
2028
|
}
|
|
2911
2029
|
const contents = (0, import_smithy_client.map)({
|
|
2912
2030
|
$metadata: deserializeMetadata(output)
|
|
2913
2031
|
});
|
|
2914
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2915
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
2916
|
-
configuredTableAssociation: (_) => de_ConfiguredTableAssociation(_, context)
|
|
2917
|
-
});
|
|
2918
|
-
Object.assign(contents, doc);
|
|
2919
|
-
return contents;
|
|
2920
|
-
}, "de_GetConfiguredTableAssociationCommand");
|
|
2921
|
-
var de_GetConfiguredTableAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2922
|
-
const parsedOutput = {
|
|
2923
|
-
...output,
|
|
2924
|
-
body: await parseErrorBody(output.body, context)
|
|
2925
|
-
};
|
|
2926
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2927
|
-
switch (errorCode) {
|
|
2928
|
-
case "AccessDeniedException":
|
|
2929
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2930
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2931
|
-
case "InternalServerException":
|
|
2932
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2933
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2934
|
-
case "ResourceNotFoundException":
|
|
2935
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2936
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2937
|
-
case "ThrottlingException":
|
|
2938
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2939
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2940
|
-
case "ValidationException":
|
|
2941
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2942
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2943
|
-
default:
|
|
2944
|
-
const parsedBody = parsedOutput.body;
|
|
2945
|
-
return throwDefaultError({
|
|
2946
|
-
output,
|
|
2947
|
-
parsedBody,
|
|
2948
|
-
errorCode
|
|
2949
|
-
});
|
|
2950
|
-
}
|
|
2951
|
-
}, "de_GetConfiguredTableAssociationCommandError");
|
|
2032
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2033
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2034
|
+
configuredTableAssociation: (_) => de_ConfiguredTableAssociation(_, context)
|
|
2035
|
+
});
|
|
2036
|
+
Object.assign(contents, doc);
|
|
2037
|
+
return contents;
|
|
2038
|
+
}, "de_GetConfiguredTableAssociationCommand");
|
|
2952
2039
|
var de_GetMembershipCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2953
2040
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2954
|
-
return
|
|
2041
|
+
return de_CommandError(output, context);
|
|
2955
2042
|
}
|
|
2956
2043
|
const contents = (0, import_smithy_client.map)({
|
|
2957
2044
|
$metadata: deserializeMetadata(output)
|
|
@@ -2963,40 +2050,9 @@ var de_GetMembershipCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2963
2050
|
Object.assign(contents, doc);
|
|
2964
2051
|
return contents;
|
|
2965
2052
|
}, "de_GetMembershipCommand");
|
|
2966
|
-
var de_GetMembershipCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2967
|
-
const parsedOutput = {
|
|
2968
|
-
...output,
|
|
2969
|
-
body: await parseErrorBody(output.body, context)
|
|
2970
|
-
};
|
|
2971
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2972
|
-
switch (errorCode) {
|
|
2973
|
-
case "AccessDeniedException":
|
|
2974
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
2975
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2976
|
-
case "InternalServerException":
|
|
2977
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
2978
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2979
|
-
case "ResourceNotFoundException":
|
|
2980
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
2981
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2982
|
-
case "ThrottlingException":
|
|
2983
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
2984
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2985
|
-
case "ValidationException":
|
|
2986
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
2987
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2988
|
-
default:
|
|
2989
|
-
const parsedBody = parsedOutput.body;
|
|
2990
|
-
return throwDefaultError({
|
|
2991
|
-
output,
|
|
2992
|
-
parsedBody,
|
|
2993
|
-
errorCode
|
|
2994
|
-
});
|
|
2995
|
-
}
|
|
2996
|
-
}, "de_GetMembershipCommandError");
|
|
2997
2053
|
var de_GetPrivacyBudgetTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2998
2054
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2999
|
-
return
|
|
2055
|
+
return de_CommandError(output, context);
|
|
3000
2056
|
}
|
|
3001
2057
|
const contents = (0, import_smithy_client.map)({
|
|
3002
2058
|
$metadata: deserializeMetadata(output)
|
|
@@ -3008,40 +2064,9 @@ var de_GetPrivacyBudgetTemplateCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3008
2064
|
Object.assign(contents, doc);
|
|
3009
2065
|
return contents;
|
|
3010
2066
|
}, "de_GetPrivacyBudgetTemplateCommand");
|
|
3011
|
-
var de_GetPrivacyBudgetTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3012
|
-
const parsedOutput = {
|
|
3013
|
-
...output,
|
|
3014
|
-
body: await parseErrorBody(output.body, context)
|
|
3015
|
-
};
|
|
3016
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3017
|
-
switch (errorCode) {
|
|
3018
|
-
case "AccessDeniedException":
|
|
3019
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3020
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3021
|
-
case "InternalServerException":
|
|
3022
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3023
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3024
|
-
case "ResourceNotFoundException":
|
|
3025
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3026
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3027
|
-
case "ThrottlingException":
|
|
3028
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3029
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3030
|
-
case "ValidationException":
|
|
3031
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3032
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3033
|
-
default:
|
|
3034
|
-
const parsedBody = parsedOutput.body;
|
|
3035
|
-
return throwDefaultError({
|
|
3036
|
-
output,
|
|
3037
|
-
parsedBody,
|
|
3038
|
-
errorCode
|
|
3039
|
-
});
|
|
3040
|
-
}
|
|
3041
|
-
}, "de_GetPrivacyBudgetTemplateCommandError");
|
|
3042
2067
|
var de_GetProtectedQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3043
2068
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3044
|
-
return
|
|
2069
|
+
return de_CommandError(output, context);
|
|
3045
2070
|
}
|
|
3046
2071
|
const contents = (0, import_smithy_client.map)({
|
|
3047
2072
|
$metadata: deserializeMetadata(output)
|
|
@@ -3053,40 +2078,9 @@ var de_GetProtectedQueryCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3053
2078
|
Object.assign(contents, doc);
|
|
3054
2079
|
return contents;
|
|
3055
2080
|
}, "de_GetProtectedQueryCommand");
|
|
3056
|
-
var de_GetProtectedQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3057
|
-
const parsedOutput = {
|
|
3058
|
-
...output,
|
|
3059
|
-
body: await parseErrorBody(output.body, context)
|
|
3060
|
-
};
|
|
3061
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3062
|
-
switch (errorCode) {
|
|
3063
|
-
case "AccessDeniedException":
|
|
3064
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3065
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3066
|
-
case "InternalServerException":
|
|
3067
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3068
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3069
|
-
case "ResourceNotFoundException":
|
|
3070
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3071
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3072
|
-
case "ThrottlingException":
|
|
3073
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3074
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3075
|
-
case "ValidationException":
|
|
3076
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3077
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3078
|
-
default:
|
|
3079
|
-
const parsedBody = parsedOutput.body;
|
|
3080
|
-
return throwDefaultError({
|
|
3081
|
-
output,
|
|
3082
|
-
parsedBody,
|
|
3083
|
-
errorCode
|
|
3084
|
-
});
|
|
3085
|
-
}
|
|
3086
|
-
}, "de_GetProtectedQueryCommandError");
|
|
3087
2081
|
var de_GetSchemaCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3088
2082
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3089
|
-
return
|
|
2083
|
+
return de_CommandError(output, context);
|
|
3090
2084
|
}
|
|
3091
2085
|
const contents = (0, import_smithy_client.map)({
|
|
3092
2086
|
$metadata: deserializeMetadata(output)
|
|
@@ -3098,40 +2092,9 @@ var de_GetSchemaCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3098
2092
|
Object.assign(contents, doc);
|
|
3099
2093
|
return contents;
|
|
3100
2094
|
}, "de_GetSchemaCommand");
|
|
3101
|
-
var de_GetSchemaCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3102
|
-
const parsedOutput = {
|
|
3103
|
-
...output,
|
|
3104
|
-
body: await parseErrorBody(output.body, context)
|
|
3105
|
-
};
|
|
3106
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3107
|
-
switch (errorCode) {
|
|
3108
|
-
case "AccessDeniedException":
|
|
3109
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3110
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3111
|
-
case "InternalServerException":
|
|
3112
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3113
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3114
|
-
case "ResourceNotFoundException":
|
|
3115
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3116
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3117
|
-
case "ThrottlingException":
|
|
3118
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3119
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3120
|
-
case "ValidationException":
|
|
3121
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3122
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3123
|
-
default:
|
|
3124
|
-
const parsedBody = parsedOutput.body;
|
|
3125
|
-
return throwDefaultError({
|
|
3126
|
-
output,
|
|
3127
|
-
parsedBody,
|
|
3128
|
-
errorCode
|
|
3129
|
-
});
|
|
3130
|
-
}
|
|
3131
|
-
}, "de_GetSchemaCommandError");
|
|
3132
2095
|
var de_GetSchemaAnalysisRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3133
2096
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3134
|
-
return
|
|
2097
|
+
return de_CommandError(output, context);
|
|
3135
2098
|
}
|
|
3136
2099
|
const contents = (0, import_smithy_client.map)({
|
|
3137
2100
|
$metadata: deserializeMetadata(output)
|
|
@@ -3143,40 +2106,9 @@ var de_GetSchemaAnalysisRuleCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3143
2106
|
Object.assign(contents, doc);
|
|
3144
2107
|
return contents;
|
|
3145
2108
|
}, "de_GetSchemaAnalysisRuleCommand");
|
|
3146
|
-
var de_GetSchemaAnalysisRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3147
|
-
const parsedOutput = {
|
|
3148
|
-
...output,
|
|
3149
|
-
body: await parseErrorBody(output.body, context)
|
|
3150
|
-
};
|
|
3151
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3152
|
-
switch (errorCode) {
|
|
3153
|
-
case "AccessDeniedException":
|
|
3154
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3155
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3156
|
-
case "InternalServerException":
|
|
3157
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3158
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3159
|
-
case "ResourceNotFoundException":
|
|
3160
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3161
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3162
|
-
case "ThrottlingException":
|
|
3163
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3164
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3165
|
-
case "ValidationException":
|
|
3166
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3167
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3168
|
-
default:
|
|
3169
|
-
const parsedBody = parsedOutput.body;
|
|
3170
|
-
return throwDefaultError({
|
|
3171
|
-
output,
|
|
3172
|
-
parsedBody,
|
|
3173
|
-
errorCode
|
|
3174
|
-
});
|
|
3175
|
-
}
|
|
3176
|
-
}, "de_GetSchemaAnalysisRuleCommandError");
|
|
3177
2109
|
var de_ListAnalysisTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3178
2110
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3179
|
-
return
|
|
2111
|
+
return de_CommandError(output, context);
|
|
3180
2112
|
}
|
|
3181
2113
|
const contents = (0, import_smithy_client.map)({
|
|
3182
2114
|
$metadata: deserializeMetadata(output)
|
|
@@ -3189,40 +2121,9 @@ var de_ListAnalysisTemplatesCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3189
2121
|
Object.assign(contents, doc);
|
|
3190
2122
|
return contents;
|
|
3191
2123
|
}, "de_ListAnalysisTemplatesCommand");
|
|
3192
|
-
var de_ListAnalysisTemplatesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3193
|
-
const parsedOutput = {
|
|
3194
|
-
...output,
|
|
3195
|
-
body: await parseErrorBody(output.body, context)
|
|
3196
|
-
};
|
|
3197
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3198
|
-
switch (errorCode) {
|
|
3199
|
-
case "AccessDeniedException":
|
|
3200
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3201
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3202
|
-
case "InternalServerException":
|
|
3203
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3204
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3205
|
-
case "ResourceNotFoundException":
|
|
3206
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3207
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3208
|
-
case "ThrottlingException":
|
|
3209
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3210
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3211
|
-
case "ValidationException":
|
|
3212
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3213
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3214
|
-
default:
|
|
3215
|
-
const parsedBody = parsedOutput.body;
|
|
3216
|
-
return throwDefaultError({
|
|
3217
|
-
output,
|
|
3218
|
-
parsedBody,
|
|
3219
|
-
errorCode
|
|
3220
|
-
});
|
|
3221
|
-
}
|
|
3222
|
-
}, "de_ListAnalysisTemplatesCommandError");
|
|
3223
2124
|
var de_ListCollaborationAnalysisTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3224
2125
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3225
|
-
return
|
|
2126
|
+
return de_CommandError(output, context);
|
|
3226
2127
|
}
|
|
3227
2128
|
const contents = (0, import_smithy_client.map)({
|
|
3228
2129
|
$metadata: deserializeMetadata(output)
|
|
@@ -3231,90 +2132,28 @@ var de_ListCollaborationAnalysisTemplatesCommand = /* @__PURE__ */ __name(async
|
|
|
3231
2132
|
const doc = (0, import_smithy_client.take)(data, {
|
|
3232
2133
|
collaborationAnalysisTemplateSummaries: (_) => de_CollaborationAnalysisTemplateSummaryList(_, context),
|
|
3233
2134
|
nextToken: import_smithy_client.expectString
|
|
3234
|
-
});
|
|
3235
|
-
Object.assign(contents, doc);
|
|
3236
|
-
return contents;
|
|
3237
|
-
}, "de_ListCollaborationAnalysisTemplatesCommand");
|
|
3238
|
-
var
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
body: await parseErrorBody(output.body, context)
|
|
3242
|
-
};
|
|
3243
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3244
|
-
switch (errorCode) {
|
|
3245
|
-
case "AccessDeniedException":
|
|
3246
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3247
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3248
|
-
case "InternalServerException":
|
|
3249
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3250
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3251
|
-
case "ResourceNotFoundException":
|
|
3252
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3253
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3254
|
-
case "ThrottlingException":
|
|
3255
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3256
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3257
|
-
case "ValidationException":
|
|
3258
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3259
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3260
|
-
default:
|
|
3261
|
-
const parsedBody = parsedOutput.body;
|
|
3262
|
-
return throwDefaultError({
|
|
3263
|
-
output,
|
|
3264
|
-
parsedBody,
|
|
3265
|
-
errorCode
|
|
3266
|
-
});
|
|
3267
|
-
}
|
|
3268
|
-
}, "de_ListCollaborationAnalysisTemplatesCommandError");
|
|
3269
|
-
var de_ListCollaborationConfiguredAudienceModelAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3270
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3271
|
-
return de_ListCollaborationConfiguredAudienceModelAssociationsCommandError(output, context);
|
|
3272
|
-
}
|
|
3273
|
-
const contents = (0, import_smithy_client.map)({
|
|
3274
|
-
$metadata: deserializeMetadata(output)
|
|
3275
|
-
});
|
|
3276
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
3277
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
3278
|
-
collaborationConfiguredAudienceModelAssociationSummaries: (_) => de_CollaborationConfiguredAudienceModelAssociationSummaryList(_, context),
|
|
3279
|
-
nextToken: import_smithy_client.expectString
|
|
3280
|
-
});
|
|
3281
|
-
Object.assign(contents, doc);
|
|
3282
|
-
return contents;
|
|
3283
|
-
}, "de_ListCollaborationConfiguredAudienceModelAssociationsCommand");
|
|
3284
|
-
var de_ListCollaborationConfiguredAudienceModelAssociationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3285
|
-
const parsedOutput = {
|
|
3286
|
-
...output,
|
|
3287
|
-
body: await parseErrorBody(output.body, context)
|
|
3288
|
-
};
|
|
3289
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3290
|
-
switch (errorCode) {
|
|
3291
|
-
case "AccessDeniedException":
|
|
3292
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3293
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3294
|
-
case "InternalServerException":
|
|
3295
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3296
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3297
|
-
case "ResourceNotFoundException":
|
|
3298
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3299
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3300
|
-
case "ThrottlingException":
|
|
3301
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3302
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3303
|
-
case "ValidationException":
|
|
3304
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3305
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3306
|
-
default:
|
|
3307
|
-
const parsedBody = parsedOutput.body;
|
|
3308
|
-
return throwDefaultError({
|
|
3309
|
-
output,
|
|
3310
|
-
parsedBody,
|
|
3311
|
-
errorCode
|
|
3312
|
-
});
|
|
2135
|
+
});
|
|
2136
|
+
Object.assign(contents, doc);
|
|
2137
|
+
return contents;
|
|
2138
|
+
}, "de_ListCollaborationAnalysisTemplatesCommand");
|
|
2139
|
+
var de_ListCollaborationConfiguredAudienceModelAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2140
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2141
|
+
return de_CommandError(output, context);
|
|
3313
2142
|
}
|
|
3314
|
-
|
|
2143
|
+
const contents = (0, import_smithy_client.map)({
|
|
2144
|
+
$metadata: deserializeMetadata(output)
|
|
2145
|
+
});
|
|
2146
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2147
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2148
|
+
collaborationConfiguredAudienceModelAssociationSummaries: (_) => de_CollaborationConfiguredAudienceModelAssociationSummaryList(_, context),
|
|
2149
|
+
nextToken: import_smithy_client.expectString
|
|
2150
|
+
});
|
|
2151
|
+
Object.assign(contents, doc);
|
|
2152
|
+
return contents;
|
|
2153
|
+
}, "de_ListCollaborationConfiguredAudienceModelAssociationsCommand");
|
|
3315
2154
|
var de_ListCollaborationPrivacyBudgetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3316
2155
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3317
|
-
return
|
|
2156
|
+
return de_CommandError(output, context);
|
|
3318
2157
|
}
|
|
3319
2158
|
const contents = (0, import_smithy_client.map)({
|
|
3320
2159
|
$metadata: deserializeMetadata(output)
|
|
@@ -3327,40 +2166,9 @@ var de_ListCollaborationPrivacyBudgetsCommand = /* @__PURE__ */ __name(async (ou
|
|
|
3327
2166
|
Object.assign(contents, doc);
|
|
3328
2167
|
return contents;
|
|
3329
2168
|
}, "de_ListCollaborationPrivacyBudgetsCommand");
|
|
3330
|
-
var de_ListCollaborationPrivacyBudgetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3331
|
-
const parsedOutput = {
|
|
3332
|
-
...output,
|
|
3333
|
-
body: await parseErrorBody(output.body, context)
|
|
3334
|
-
};
|
|
3335
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3336
|
-
switch (errorCode) {
|
|
3337
|
-
case "AccessDeniedException":
|
|
3338
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3339
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3340
|
-
case "InternalServerException":
|
|
3341
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3342
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3343
|
-
case "ResourceNotFoundException":
|
|
3344
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3345
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3346
|
-
case "ThrottlingException":
|
|
3347
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3348
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3349
|
-
case "ValidationException":
|
|
3350
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3351
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3352
|
-
default:
|
|
3353
|
-
const parsedBody = parsedOutput.body;
|
|
3354
|
-
return throwDefaultError({
|
|
3355
|
-
output,
|
|
3356
|
-
parsedBody,
|
|
3357
|
-
errorCode
|
|
3358
|
-
});
|
|
3359
|
-
}
|
|
3360
|
-
}, "de_ListCollaborationPrivacyBudgetsCommandError");
|
|
3361
2169
|
var de_ListCollaborationPrivacyBudgetTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3362
2170
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3363
|
-
return
|
|
2171
|
+
return de_CommandError(output, context);
|
|
3364
2172
|
}
|
|
3365
2173
|
const contents = (0, import_smithy_client.map)({
|
|
3366
2174
|
$metadata: deserializeMetadata(output)
|
|
@@ -3373,40 +2181,9 @@ var de_ListCollaborationPrivacyBudgetTemplatesCommand = /* @__PURE__ */ __name(a
|
|
|
3373
2181
|
Object.assign(contents, doc);
|
|
3374
2182
|
return contents;
|
|
3375
2183
|
}, "de_ListCollaborationPrivacyBudgetTemplatesCommand");
|
|
3376
|
-
var de_ListCollaborationPrivacyBudgetTemplatesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3377
|
-
const parsedOutput = {
|
|
3378
|
-
...output,
|
|
3379
|
-
body: await parseErrorBody(output.body, context)
|
|
3380
|
-
};
|
|
3381
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3382
|
-
switch (errorCode) {
|
|
3383
|
-
case "AccessDeniedException":
|
|
3384
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3385
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3386
|
-
case "InternalServerException":
|
|
3387
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3388
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3389
|
-
case "ResourceNotFoundException":
|
|
3390
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3391
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3392
|
-
case "ThrottlingException":
|
|
3393
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3394
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3395
|
-
case "ValidationException":
|
|
3396
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3397
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3398
|
-
default:
|
|
3399
|
-
const parsedBody = parsedOutput.body;
|
|
3400
|
-
return throwDefaultError({
|
|
3401
|
-
output,
|
|
3402
|
-
parsedBody,
|
|
3403
|
-
errorCode
|
|
3404
|
-
});
|
|
3405
|
-
}
|
|
3406
|
-
}, "de_ListCollaborationPrivacyBudgetTemplatesCommandError");
|
|
3407
2184
|
var de_ListCollaborationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3408
2185
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3409
|
-
return
|
|
2186
|
+
return de_CommandError(output, context);
|
|
3410
2187
|
}
|
|
3411
2188
|
const contents = (0, import_smithy_client.map)({
|
|
3412
2189
|
$metadata: deserializeMetadata(output)
|
|
@@ -3419,37 +2196,9 @@ var de_ListCollaborationsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3419
2196
|
Object.assign(contents, doc);
|
|
3420
2197
|
return contents;
|
|
3421
2198
|
}, "de_ListCollaborationsCommand");
|
|
3422
|
-
var de_ListCollaborationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3423
|
-
const parsedOutput = {
|
|
3424
|
-
...output,
|
|
3425
|
-
body: await parseErrorBody(output.body, context)
|
|
3426
|
-
};
|
|
3427
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3428
|
-
switch (errorCode) {
|
|
3429
|
-
case "AccessDeniedException":
|
|
3430
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3431
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3432
|
-
case "InternalServerException":
|
|
3433
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3434
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3435
|
-
case "ThrottlingException":
|
|
3436
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3437
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3438
|
-
case "ValidationException":
|
|
3439
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3440
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3441
|
-
default:
|
|
3442
|
-
const parsedBody = parsedOutput.body;
|
|
3443
|
-
return throwDefaultError({
|
|
3444
|
-
output,
|
|
3445
|
-
parsedBody,
|
|
3446
|
-
errorCode
|
|
3447
|
-
});
|
|
3448
|
-
}
|
|
3449
|
-
}, "de_ListCollaborationsCommandError");
|
|
3450
2199
|
var de_ListConfiguredAudienceModelAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3451
2200
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3452
|
-
return
|
|
2201
|
+
return de_CommandError(output, context);
|
|
3453
2202
|
}
|
|
3454
2203
|
const contents = (0, import_smithy_client.map)({
|
|
3455
2204
|
$metadata: deserializeMetadata(output)
|
|
@@ -3462,40 +2211,9 @@ var de_ListConfiguredAudienceModelAssociationsCommand = /* @__PURE__ */ __name(a
|
|
|
3462
2211
|
Object.assign(contents, doc);
|
|
3463
2212
|
return contents;
|
|
3464
2213
|
}, "de_ListConfiguredAudienceModelAssociationsCommand");
|
|
3465
|
-
var de_ListConfiguredAudienceModelAssociationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3466
|
-
const parsedOutput = {
|
|
3467
|
-
...output,
|
|
3468
|
-
body: await parseErrorBody(output.body, context)
|
|
3469
|
-
};
|
|
3470
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3471
|
-
switch (errorCode) {
|
|
3472
|
-
case "AccessDeniedException":
|
|
3473
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3474
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3475
|
-
case "InternalServerException":
|
|
3476
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3477
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3478
|
-
case "ResourceNotFoundException":
|
|
3479
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3480
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3481
|
-
case "ThrottlingException":
|
|
3482
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3483
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3484
|
-
case "ValidationException":
|
|
3485
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3486
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3487
|
-
default:
|
|
3488
|
-
const parsedBody = parsedOutput.body;
|
|
3489
|
-
return throwDefaultError({
|
|
3490
|
-
output,
|
|
3491
|
-
parsedBody,
|
|
3492
|
-
errorCode
|
|
3493
|
-
});
|
|
3494
|
-
}
|
|
3495
|
-
}, "de_ListConfiguredAudienceModelAssociationsCommandError");
|
|
3496
2214
|
var de_ListConfiguredTableAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3497
2215
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3498
|
-
return
|
|
2216
|
+
return de_CommandError(output, context);
|
|
3499
2217
|
}
|
|
3500
2218
|
const contents = (0, import_smithy_client.map)({
|
|
3501
2219
|
$metadata: deserializeMetadata(output)
|
|
@@ -3508,40 +2226,9 @@ var de_ListConfiguredTableAssociationsCommand = /* @__PURE__ */ __name(async (ou
|
|
|
3508
2226
|
Object.assign(contents, doc);
|
|
3509
2227
|
return contents;
|
|
3510
2228
|
}, "de_ListConfiguredTableAssociationsCommand");
|
|
3511
|
-
var de_ListConfiguredTableAssociationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3512
|
-
const parsedOutput = {
|
|
3513
|
-
...output,
|
|
3514
|
-
body: await parseErrorBody(output.body, context)
|
|
3515
|
-
};
|
|
3516
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3517
|
-
switch (errorCode) {
|
|
3518
|
-
case "AccessDeniedException":
|
|
3519
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3520
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3521
|
-
case "InternalServerException":
|
|
3522
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3523
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3524
|
-
case "ResourceNotFoundException":
|
|
3525
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3526
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3527
|
-
case "ThrottlingException":
|
|
3528
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3529
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3530
|
-
case "ValidationException":
|
|
3531
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3532
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3533
|
-
default:
|
|
3534
|
-
const parsedBody = parsedOutput.body;
|
|
3535
|
-
return throwDefaultError({
|
|
3536
|
-
output,
|
|
3537
|
-
parsedBody,
|
|
3538
|
-
errorCode
|
|
3539
|
-
});
|
|
3540
|
-
}
|
|
3541
|
-
}, "de_ListConfiguredTableAssociationsCommandError");
|
|
3542
2229
|
var de_ListConfiguredTablesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3543
2230
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3544
|
-
return
|
|
2231
|
+
return de_CommandError(output, context);
|
|
3545
2232
|
}
|
|
3546
2233
|
const contents = (0, import_smithy_client.map)({
|
|
3547
2234
|
$metadata: deserializeMetadata(output)
|
|
@@ -3554,37 +2241,9 @@ var de_ListConfiguredTablesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3554
2241
|
Object.assign(contents, doc);
|
|
3555
2242
|
return contents;
|
|
3556
2243
|
}, "de_ListConfiguredTablesCommand");
|
|
3557
|
-
var de_ListConfiguredTablesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3558
|
-
const parsedOutput = {
|
|
3559
|
-
...output,
|
|
3560
|
-
body: await parseErrorBody(output.body, context)
|
|
3561
|
-
};
|
|
3562
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3563
|
-
switch (errorCode) {
|
|
3564
|
-
case "AccessDeniedException":
|
|
3565
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3566
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3567
|
-
case "InternalServerException":
|
|
3568
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3569
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3570
|
-
case "ThrottlingException":
|
|
3571
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3572
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3573
|
-
case "ValidationException":
|
|
3574
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3575
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3576
|
-
default:
|
|
3577
|
-
const parsedBody = parsedOutput.body;
|
|
3578
|
-
return throwDefaultError({
|
|
3579
|
-
output,
|
|
3580
|
-
parsedBody,
|
|
3581
|
-
errorCode
|
|
3582
|
-
});
|
|
3583
|
-
}
|
|
3584
|
-
}, "de_ListConfiguredTablesCommandError");
|
|
3585
2244
|
var de_ListMembersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3586
2245
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3587
|
-
return
|
|
2246
|
+
return de_CommandError(output, context);
|
|
3588
2247
|
}
|
|
3589
2248
|
const contents = (0, import_smithy_client.map)({
|
|
3590
2249
|
$metadata: deserializeMetadata(output)
|
|
@@ -3594,86 +2253,27 @@ var de_ListMembersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3594
2253
|
memberSummaries: (_) => de_MemberSummaryList(_, context),
|
|
3595
2254
|
nextToken: import_smithy_client.expectString
|
|
3596
2255
|
});
|
|
3597
|
-
Object.assign(contents, doc);
|
|
3598
|
-
return contents;
|
|
3599
|
-
}, "de_ListMembersCommand");
|
|
3600
|
-
var
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
body: await parseErrorBody(output.body, context)
|
|
3604
|
-
};
|
|
3605
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3606
|
-
switch (errorCode) {
|
|
3607
|
-
case "AccessDeniedException":
|
|
3608
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3609
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3610
|
-
case "InternalServerException":
|
|
3611
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3612
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3613
|
-
case "ResourceNotFoundException":
|
|
3614
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3615
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3616
|
-
case "ThrottlingException":
|
|
3617
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3618
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3619
|
-
case "ValidationException":
|
|
3620
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3621
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3622
|
-
default:
|
|
3623
|
-
const parsedBody = parsedOutput.body;
|
|
3624
|
-
return throwDefaultError({
|
|
3625
|
-
output,
|
|
3626
|
-
parsedBody,
|
|
3627
|
-
errorCode
|
|
3628
|
-
});
|
|
3629
|
-
}
|
|
3630
|
-
}, "de_ListMembersCommandError");
|
|
3631
|
-
var de_ListMembershipsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3632
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3633
|
-
return de_ListMembershipsCommandError(output, context);
|
|
3634
|
-
}
|
|
3635
|
-
const contents = (0, import_smithy_client.map)({
|
|
3636
|
-
$metadata: deserializeMetadata(output)
|
|
3637
|
-
});
|
|
3638
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
3639
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
3640
|
-
membershipSummaries: (_) => de_MembershipSummaryList(_, context),
|
|
3641
|
-
nextToken: import_smithy_client.expectString
|
|
3642
|
-
});
|
|
3643
|
-
Object.assign(contents, doc);
|
|
3644
|
-
return contents;
|
|
3645
|
-
}, "de_ListMembershipsCommand");
|
|
3646
|
-
var de_ListMembershipsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3647
|
-
const parsedOutput = {
|
|
3648
|
-
...output,
|
|
3649
|
-
body: await parseErrorBody(output.body, context)
|
|
3650
|
-
};
|
|
3651
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3652
|
-
switch (errorCode) {
|
|
3653
|
-
case "AccessDeniedException":
|
|
3654
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3655
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3656
|
-
case "InternalServerException":
|
|
3657
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3658
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3659
|
-
case "ThrottlingException":
|
|
3660
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3661
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3662
|
-
case "ValidationException":
|
|
3663
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3664
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3665
|
-
default:
|
|
3666
|
-
const parsedBody = parsedOutput.body;
|
|
3667
|
-
return throwDefaultError({
|
|
3668
|
-
output,
|
|
3669
|
-
parsedBody,
|
|
3670
|
-
errorCode
|
|
3671
|
-
});
|
|
2256
|
+
Object.assign(contents, doc);
|
|
2257
|
+
return contents;
|
|
2258
|
+
}, "de_ListMembersCommand");
|
|
2259
|
+
var de_ListMembershipsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2260
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2261
|
+
return de_CommandError(output, context);
|
|
3672
2262
|
}
|
|
3673
|
-
|
|
2263
|
+
const contents = (0, import_smithy_client.map)({
|
|
2264
|
+
$metadata: deserializeMetadata(output)
|
|
2265
|
+
});
|
|
2266
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2267
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2268
|
+
membershipSummaries: (_) => de_MembershipSummaryList(_, context),
|
|
2269
|
+
nextToken: import_smithy_client.expectString
|
|
2270
|
+
});
|
|
2271
|
+
Object.assign(contents, doc);
|
|
2272
|
+
return contents;
|
|
2273
|
+
}, "de_ListMembershipsCommand");
|
|
3674
2274
|
var de_ListPrivacyBudgetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3675
2275
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3676
|
-
return
|
|
2276
|
+
return de_CommandError(output, context);
|
|
3677
2277
|
}
|
|
3678
2278
|
const contents = (0, import_smithy_client.map)({
|
|
3679
2279
|
$metadata: deserializeMetadata(output)
|
|
@@ -3686,40 +2286,9 @@ var de_ListPrivacyBudgetsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3686
2286
|
Object.assign(contents, doc);
|
|
3687
2287
|
return contents;
|
|
3688
2288
|
}, "de_ListPrivacyBudgetsCommand");
|
|
3689
|
-
var de_ListPrivacyBudgetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3690
|
-
const parsedOutput = {
|
|
3691
|
-
...output,
|
|
3692
|
-
body: await parseErrorBody(output.body, context)
|
|
3693
|
-
};
|
|
3694
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3695
|
-
switch (errorCode) {
|
|
3696
|
-
case "AccessDeniedException":
|
|
3697
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3698
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3699
|
-
case "InternalServerException":
|
|
3700
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3701
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3702
|
-
case "ResourceNotFoundException":
|
|
3703
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3704
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3705
|
-
case "ThrottlingException":
|
|
3706
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3707
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3708
|
-
case "ValidationException":
|
|
3709
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3710
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3711
|
-
default:
|
|
3712
|
-
const parsedBody = parsedOutput.body;
|
|
3713
|
-
return throwDefaultError({
|
|
3714
|
-
output,
|
|
3715
|
-
parsedBody,
|
|
3716
|
-
errorCode
|
|
3717
|
-
});
|
|
3718
|
-
}
|
|
3719
|
-
}, "de_ListPrivacyBudgetsCommandError");
|
|
3720
2289
|
var de_ListPrivacyBudgetTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3721
2290
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3722
|
-
return
|
|
2291
|
+
return de_CommandError(output, context);
|
|
3723
2292
|
}
|
|
3724
2293
|
const contents = (0, import_smithy_client.map)({
|
|
3725
2294
|
$metadata: deserializeMetadata(output)
|
|
@@ -3732,40 +2301,9 @@ var de_ListPrivacyBudgetTemplatesCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3732
2301
|
Object.assign(contents, doc);
|
|
3733
2302
|
return contents;
|
|
3734
2303
|
}, "de_ListPrivacyBudgetTemplatesCommand");
|
|
3735
|
-
var de_ListPrivacyBudgetTemplatesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3736
|
-
const parsedOutput = {
|
|
3737
|
-
...output,
|
|
3738
|
-
body: await parseErrorBody(output.body, context)
|
|
3739
|
-
};
|
|
3740
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3741
|
-
switch (errorCode) {
|
|
3742
|
-
case "AccessDeniedException":
|
|
3743
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3744
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3745
|
-
case "InternalServerException":
|
|
3746
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3747
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3748
|
-
case "ResourceNotFoundException":
|
|
3749
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3750
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3751
|
-
case "ThrottlingException":
|
|
3752
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3753
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3754
|
-
case "ValidationException":
|
|
3755
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3756
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3757
|
-
default:
|
|
3758
|
-
const parsedBody = parsedOutput.body;
|
|
3759
|
-
return throwDefaultError({
|
|
3760
|
-
output,
|
|
3761
|
-
parsedBody,
|
|
3762
|
-
errorCode
|
|
3763
|
-
});
|
|
3764
|
-
}
|
|
3765
|
-
}, "de_ListPrivacyBudgetTemplatesCommandError");
|
|
3766
2304
|
var de_ListProtectedQueriesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3767
2305
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3768
|
-
return
|
|
2306
|
+
return de_CommandError(output, context);
|
|
3769
2307
|
}
|
|
3770
2308
|
const contents = (0, import_smithy_client.map)({
|
|
3771
2309
|
$metadata: deserializeMetadata(output)
|
|
@@ -3778,40 +2316,9 @@ var de_ListProtectedQueriesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3778
2316
|
Object.assign(contents, doc);
|
|
3779
2317
|
return contents;
|
|
3780
2318
|
}, "de_ListProtectedQueriesCommand");
|
|
3781
|
-
var de_ListProtectedQueriesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3782
|
-
const parsedOutput = {
|
|
3783
|
-
...output,
|
|
3784
|
-
body: await parseErrorBody(output.body, context)
|
|
3785
|
-
};
|
|
3786
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3787
|
-
switch (errorCode) {
|
|
3788
|
-
case "AccessDeniedException":
|
|
3789
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3790
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3791
|
-
case "InternalServerException":
|
|
3792
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3793
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3794
|
-
case "ResourceNotFoundException":
|
|
3795
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3796
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3797
|
-
case "ThrottlingException":
|
|
3798
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3799
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3800
|
-
case "ValidationException":
|
|
3801
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3802
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3803
|
-
default:
|
|
3804
|
-
const parsedBody = parsedOutput.body;
|
|
3805
|
-
return throwDefaultError({
|
|
3806
|
-
output,
|
|
3807
|
-
parsedBody,
|
|
3808
|
-
errorCode
|
|
3809
|
-
});
|
|
3810
|
-
}
|
|
3811
|
-
}, "de_ListProtectedQueriesCommandError");
|
|
3812
2319
|
var de_ListSchemasCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3813
2320
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3814
|
-
return
|
|
2321
|
+
return de_CommandError(output, context);
|
|
3815
2322
|
}
|
|
3816
2323
|
const contents = (0, import_smithy_client.map)({
|
|
3817
2324
|
$metadata: deserializeMetadata(output)
|
|
@@ -3824,40 +2331,9 @@ var de_ListSchemasCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3824
2331
|
Object.assign(contents, doc);
|
|
3825
2332
|
return contents;
|
|
3826
2333
|
}, "de_ListSchemasCommand");
|
|
3827
|
-
var de_ListSchemasCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3828
|
-
const parsedOutput = {
|
|
3829
|
-
...output,
|
|
3830
|
-
body: await parseErrorBody(output.body, context)
|
|
3831
|
-
};
|
|
3832
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3833
|
-
switch (errorCode) {
|
|
3834
|
-
case "AccessDeniedException":
|
|
3835
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3836
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3837
|
-
case "InternalServerException":
|
|
3838
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3839
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3840
|
-
case "ResourceNotFoundException":
|
|
3841
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3842
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3843
|
-
case "ThrottlingException":
|
|
3844
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3845
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3846
|
-
case "ValidationException":
|
|
3847
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3848
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3849
|
-
default:
|
|
3850
|
-
const parsedBody = parsedOutput.body;
|
|
3851
|
-
return throwDefaultError({
|
|
3852
|
-
output,
|
|
3853
|
-
parsedBody,
|
|
3854
|
-
errorCode
|
|
3855
|
-
});
|
|
3856
|
-
}
|
|
3857
|
-
}, "de_ListSchemasCommandError");
|
|
3858
2334
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3859
2335
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3860
|
-
return
|
|
2336
|
+
return de_CommandError(output, context);
|
|
3861
2337
|
}
|
|
3862
2338
|
const contents = (0, import_smithy_client.map)({
|
|
3863
2339
|
$metadata: deserializeMetadata(output)
|
|
@@ -3869,31 +2345,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3869
2345
|
Object.assign(contents, doc);
|
|
3870
2346
|
return contents;
|
|
3871
2347
|
}, "de_ListTagsForResourceCommand");
|
|
3872
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3873
|
-
const parsedOutput = {
|
|
3874
|
-
...output,
|
|
3875
|
-
body: await parseErrorBody(output.body, context)
|
|
3876
|
-
};
|
|
3877
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3878
|
-
switch (errorCode) {
|
|
3879
|
-
case "ResourceNotFoundException":
|
|
3880
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3881
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3882
|
-
case "ValidationException":
|
|
3883
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3884
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3885
|
-
default:
|
|
3886
|
-
const parsedBody = parsedOutput.body;
|
|
3887
|
-
return throwDefaultError({
|
|
3888
|
-
output,
|
|
3889
|
-
parsedBody,
|
|
3890
|
-
errorCode
|
|
3891
|
-
});
|
|
3892
|
-
}
|
|
3893
|
-
}, "de_ListTagsForResourceCommandError");
|
|
3894
2348
|
var de_PreviewPrivacyImpactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3895
2349
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3896
|
-
return
|
|
2350
|
+
return de_CommandError(output, context);
|
|
3897
2351
|
}
|
|
3898
2352
|
const contents = (0, import_smithy_client.map)({
|
|
3899
2353
|
$metadata: deserializeMetadata(output)
|
|
@@ -3905,40 +2359,9 @@ var de_PreviewPrivacyImpactCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3905
2359
|
Object.assign(contents, doc);
|
|
3906
2360
|
return contents;
|
|
3907
2361
|
}, "de_PreviewPrivacyImpactCommand");
|
|
3908
|
-
var de_PreviewPrivacyImpactCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3909
|
-
const parsedOutput = {
|
|
3910
|
-
...output,
|
|
3911
|
-
body: await parseErrorBody(output.body, context)
|
|
3912
|
-
};
|
|
3913
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3914
|
-
switch (errorCode) {
|
|
3915
|
-
case "AccessDeniedException":
|
|
3916
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3917
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3918
|
-
case "InternalServerException":
|
|
3919
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3920
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3921
|
-
case "ResourceNotFoundException":
|
|
3922
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3923
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3924
|
-
case "ThrottlingException":
|
|
3925
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3926
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3927
|
-
case "ValidationException":
|
|
3928
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3929
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3930
|
-
default:
|
|
3931
|
-
const parsedBody = parsedOutput.body;
|
|
3932
|
-
return throwDefaultError({
|
|
3933
|
-
output,
|
|
3934
|
-
parsedBody,
|
|
3935
|
-
errorCode
|
|
3936
|
-
});
|
|
3937
|
-
}
|
|
3938
|
-
}, "de_PreviewPrivacyImpactCommandError");
|
|
3939
2362
|
var de_StartProtectedQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3940
2363
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3941
|
-
return
|
|
2364
|
+
return de_CommandError(output, context);
|
|
3942
2365
|
}
|
|
3943
2366
|
const contents = (0, import_smithy_client.map)({
|
|
3944
2367
|
$metadata: deserializeMetadata(output)
|
|
@@ -3950,43 +2373,9 @@ var de_StartProtectedQueryCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3950
2373
|
Object.assign(contents, doc);
|
|
3951
2374
|
return contents;
|
|
3952
2375
|
}, "de_StartProtectedQueryCommand");
|
|
3953
|
-
var de_StartProtectedQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3954
|
-
const parsedOutput = {
|
|
3955
|
-
...output,
|
|
3956
|
-
body: await parseErrorBody(output.body, context)
|
|
3957
|
-
};
|
|
3958
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3959
|
-
switch (errorCode) {
|
|
3960
|
-
case "AccessDeniedException":
|
|
3961
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
3962
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3963
|
-
case "InternalServerException":
|
|
3964
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
3965
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3966
|
-
case "ResourceNotFoundException":
|
|
3967
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
3968
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3969
|
-
case "ServiceQuotaExceededException":
|
|
3970
|
-
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
3971
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3972
|
-
case "ThrottlingException":
|
|
3973
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
3974
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3975
|
-
case "ValidationException":
|
|
3976
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
3977
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3978
|
-
default:
|
|
3979
|
-
const parsedBody = parsedOutput.body;
|
|
3980
|
-
return throwDefaultError({
|
|
3981
|
-
output,
|
|
3982
|
-
parsedBody,
|
|
3983
|
-
errorCode
|
|
3984
|
-
});
|
|
3985
|
-
}
|
|
3986
|
-
}, "de_StartProtectedQueryCommandError");
|
|
3987
2376
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3988
2377
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3989
|
-
return
|
|
2378
|
+
return de_CommandError(output, context);
|
|
3990
2379
|
}
|
|
3991
2380
|
const contents = (0, import_smithy_client.map)({
|
|
3992
2381
|
$metadata: deserializeMetadata(output)
|
|
@@ -3994,63 +2383,19 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3994
2383
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3995
2384
|
return contents;
|
|
3996
2385
|
}, "de_TagResourceCommand");
|
|
3997
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3998
|
-
const parsedOutput = {
|
|
3999
|
-
...output,
|
|
4000
|
-
body: await parseErrorBody(output.body, context)
|
|
4001
|
-
};
|
|
4002
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4003
|
-
switch (errorCode) {
|
|
4004
|
-
case "ResourceNotFoundException":
|
|
4005
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
4006
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4007
|
-
case "ValidationException":
|
|
4008
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
4009
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4010
|
-
default:
|
|
4011
|
-
const parsedBody = parsedOutput.body;
|
|
4012
|
-
return throwDefaultError({
|
|
4013
|
-
output,
|
|
4014
|
-
parsedBody,
|
|
4015
|
-
errorCode
|
|
4016
|
-
});
|
|
4017
|
-
}
|
|
4018
|
-
}, "de_TagResourceCommandError");
|
|
4019
2386
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4020
2387
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4021
|
-
return
|
|
2388
|
+
return de_CommandError(output, context);
|
|
4022
2389
|
}
|
|
4023
2390
|
const contents = (0, import_smithy_client.map)({
|
|
4024
2391
|
$metadata: deserializeMetadata(output)
|
|
4025
2392
|
});
|
|
4026
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4027
|
-
return contents;
|
|
4028
|
-
}, "de_UntagResourceCommand");
|
|
4029
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4030
|
-
const parsedOutput = {
|
|
4031
|
-
...output,
|
|
4032
|
-
body: await parseErrorBody(output.body, context)
|
|
4033
|
-
};
|
|
4034
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4035
|
-
switch (errorCode) {
|
|
4036
|
-
case "ResourceNotFoundException":
|
|
4037
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
4038
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4039
|
-
case "ValidationException":
|
|
4040
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
4041
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4042
|
-
default:
|
|
4043
|
-
const parsedBody = parsedOutput.body;
|
|
4044
|
-
return throwDefaultError({
|
|
4045
|
-
output,
|
|
4046
|
-
parsedBody,
|
|
4047
|
-
errorCode
|
|
4048
|
-
});
|
|
4049
|
-
}
|
|
4050
|
-
}, "de_UntagResourceCommandError");
|
|
2393
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2394
|
+
return contents;
|
|
2395
|
+
}, "de_UntagResourceCommand");
|
|
4051
2396
|
var de_UpdateAnalysisTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4052
2397
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4053
|
-
return
|
|
2398
|
+
return de_CommandError(output, context);
|
|
4054
2399
|
}
|
|
4055
2400
|
const contents = (0, import_smithy_client.map)({
|
|
4056
2401
|
$metadata: deserializeMetadata(output)
|
|
@@ -4062,40 +2407,9 @@ var de_UpdateAnalysisTemplateCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
4062
2407
|
Object.assign(contents, doc);
|
|
4063
2408
|
return contents;
|
|
4064
2409
|
}, "de_UpdateAnalysisTemplateCommand");
|
|
4065
|
-
var de_UpdateAnalysisTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4066
|
-
const parsedOutput = {
|
|
4067
|
-
...output,
|
|
4068
|
-
body: await parseErrorBody(output.body, context)
|
|
4069
|
-
};
|
|
4070
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4071
|
-
switch (errorCode) {
|
|
4072
|
-
case "AccessDeniedException":
|
|
4073
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
4074
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4075
|
-
case "InternalServerException":
|
|
4076
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
4077
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4078
|
-
case "ResourceNotFoundException":
|
|
4079
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
4080
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4081
|
-
case "ThrottlingException":
|
|
4082
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
4083
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4084
|
-
case "ValidationException":
|
|
4085
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
4086
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4087
|
-
default:
|
|
4088
|
-
const parsedBody = parsedOutput.body;
|
|
4089
|
-
return throwDefaultError({
|
|
4090
|
-
output,
|
|
4091
|
-
parsedBody,
|
|
4092
|
-
errorCode
|
|
4093
|
-
});
|
|
4094
|
-
}
|
|
4095
|
-
}, "de_UpdateAnalysisTemplateCommandError");
|
|
4096
2410
|
var de_UpdateCollaborationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4097
2411
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4098
|
-
return
|
|
2412
|
+
return de_CommandError(output, context);
|
|
4099
2413
|
}
|
|
4100
2414
|
const contents = (0, import_smithy_client.map)({
|
|
4101
2415
|
$metadata: deserializeMetadata(output)
|
|
@@ -4107,37 +2421,9 @@ var de_UpdateCollaborationCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
4107
2421
|
Object.assign(contents, doc);
|
|
4108
2422
|
return contents;
|
|
4109
2423
|
}, "de_UpdateCollaborationCommand");
|
|
4110
|
-
var de_UpdateCollaborationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4111
|
-
const parsedOutput = {
|
|
4112
|
-
...output,
|
|
4113
|
-
body: await parseErrorBody(output.body, context)
|
|
4114
|
-
};
|
|
4115
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4116
|
-
switch (errorCode) {
|
|
4117
|
-
case "AccessDeniedException":
|
|
4118
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
4119
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4120
|
-
case "InternalServerException":
|
|
4121
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
4122
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4123
|
-
case "ThrottlingException":
|
|
4124
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
4125
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4126
|
-
case "ValidationException":
|
|
4127
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
4128
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4129
|
-
default:
|
|
4130
|
-
const parsedBody = parsedOutput.body;
|
|
4131
|
-
return throwDefaultError({
|
|
4132
|
-
output,
|
|
4133
|
-
parsedBody,
|
|
4134
|
-
errorCode
|
|
4135
|
-
});
|
|
4136
|
-
}
|
|
4137
|
-
}, "de_UpdateCollaborationCommandError");
|
|
4138
2424
|
var de_UpdateConfiguredAudienceModelAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4139
2425
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4140
|
-
return
|
|
2426
|
+
return de_CommandError(output, context);
|
|
4141
2427
|
}
|
|
4142
2428
|
const contents = (0, import_smithy_client.map)({
|
|
4143
2429
|
$metadata: deserializeMetadata(output)
|
|
@@ -4149,40 +2435,9 @@ var de_UpdateConfiguredAudienceModelAssociationCommand = /* @__PURE__ */ __name(
|
|
|
4149
2435
|
Object.assign(contents, doc);
|
|
4150
2436
|
return contents;
|
|
4151
2437
|
}, "de_UpdateConfiguredAudienceModelAssociationCommand");
|
|
4152
|
-
var de_UpdateConfiguredAudienceModelAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4153
|
-
const parsedOutput = {
|
|
4154
|
-
...output,
|
|
4155
|
-
body: await parseErrorBody(output.body, context)
|
|
4156
|
-
};
|
|
4157
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4158
|
-
switch (errorCode) {
|
|
4159
|
-
case "AccessDeniedException":
|
|
4160
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
4161
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4162
|
-
case "InternalServerException":
|
|
4163
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
4164
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4165
|
-
case "ResourceNotFoundException":
|
|
4166
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
4167
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4168
|
-
case "ThrottlingException":
|
|
4169
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
4170
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4171
|
-
case "ValidationException":
|
|
4172
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
4173
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4174
|
-
default:
|
|
4175
|
-
const parsedBody = parsedOutput.body;
|
|
4176
|
-
return throwDefaultError({
|
|
4177
|
-
output,
|
|
4178
|
-
parsedBody,
|
|
4179
|
-
errorCode
|
|
4180
|
-
});
|
|
4181
|
-
}
|
|
4182
|
-
}, "de_UpdateConfiguredAudienceModelAssociationCommandError");
|
|
4183
2438
|
var de_UpdateConfiguredTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4184
2439
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4185
|
-
return
|
|
2440
|
+
return de_CommandError(output, context);
|
|
4186
2441
|
}
|
|
4187
2442
|
const contents = (0, import_smithy_client.map)({
|
|
4188
2443
|
$metadata: deserializeMetadata(output)
|
|
@@ -4194,43 +2449,9 @@ var de_UpdateConfiguredTableCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
4194
2449
|
Object.assign(contents, doc);
|
|
4195
2450
|
return contents;
|
|
4196
2451
|
}, "de_UpdateConfiguredTableCommand");
|
|
4197
|
-
var de_UpdateConfiguredTableCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4198
|
-
const parsedOutput = {
|
|
4199
|
-
...output,
|
|
4200
|
-
body: await parseErrorBody(output.body, context)
|
|
4201
|
-
};
|
|
4202
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4203
|
-
switch (errorCode) {
|
|
4204
|
-
case "AccessDeniedException":
|
|
4205
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
4206
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4207
|
-
case "ConflictException":
|
|
4208
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
4209
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4210
|
-
case "InternalServerException":
|
|
4211
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
4212
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4213
|
-
case "ResourceNotFoundException":
|
|
4214
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
4215
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4216
|
-
case "ThrottlingException":
|
|
4217
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
4218
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4219
|
-
case "ValidationException":
|
|
4220
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
4221
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4222
|
-
default:
|
|
4223
|
-
const parsedBody = parsedOutput.body;
|
|
4224
|
-
return throwDefaultError({
|
|
4225
|
-
output,
|
|
4226
|
-
parsedBody,
|
|
4227
|
-
errorCode
|
|
4228
|
-
});
|
|
4229
|
-
}
|
|
4230
|
-
}, "de_UpdateConfiguredTableCommandError");
|
|
4231
2452
|
var de_UpdateConfiguredTableAnalysisRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4232
2453
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4233
|
-
return
|
|
2454
|
+
return de_CommandError(output, context);
|
|
4234
2455
|
}
|
|
4235
2456
|
const contents = (0, import_smithy_client.map)({
|
|
4236
2457
|
$metadata: deserializeMetadata(output)
|
|
@@ -4242,43 +2463,9 @@ var de_UpdateConfiguredTableAnalysisRuleCommand = /* @__PURE__ */ __name(async (
|
|
|
4242
2463
|
Object.assign(contents, doc);
|
|
4243
2464
|
return contents;
|
|
4244
2465
|
}, "de_UpdateConfiguredTableAnalysisRuleCommand");
|
|
4245
|
-
var de_UpdateConfiguredTableAnalysisRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4246
|
-
const parsedOutput = {
|
|
4247
|
-
...output,
|
|
4248
|
-
body: await parseErrorBody(output.body, context)
|
|
4249
|
-
};
|
|
4250
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4251
|
-
switch (errorCode) {
|
|
4252
|
-
case "AccessDeniedException":
|
|
4253
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
4254
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4255
|
-
case "ConflictException":
|
|
4256
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
4257
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4258
|
-
case "InternalServerException":
|
|
4259
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
4260
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4261
|
-
case "ResourceNotFoundException":
|
|
4262
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
4263
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4264
|
-
case "ThrottlingException":
|
|
4265
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
4266
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4267
|
-
case "ValidationException":
|
|
4268
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
4269
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4270
|
-
default:
|
|
4271
|
-
const parsedBody = parsedOutput.body;
|
|
4272
|
-
return throwDefaultError({
|
|
4273
|
-
output,
|
|
4274
|
-
parsedBody,
|
|
4275
|
-
errorCode
|
|
4276
|
-
});
|
|
4277
|
-
}
|
|
4278
|
-
}, "de_UpdateConfiguredTableAnalysisRuleCommandError");
|
|
4279
2466
|
var de_UpdateConfiguredTableAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4280
2467
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4281
|
-
return
|
|
2468
|
+
return de_CommandError(output, context);
|
|
4282
2469
|
}
|
|
4283
2470
|
const contents = (0, import_smithy_client.map)({
|
|
4284
2471
|
$metadata: deserializeMetadata(output)
|
|
@@ -4290,43 +2477,9 @@ var de_UpdateConfiguredTableAssociationCommand = /* @__PURE__ */ __name(async (o
|
|
|
4290
2477
|
Object.assign(contents, doc);
|
|
4291
2478
|
return contents;
|
|
4292
2479
|
}, "de_UpdateConfiguredTableAssociationCommand");
|
|
4293
|
-
var de_UpdateConfiguredTableAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4294
|
-
const parsedOutput = {
|
|
4295
|
-
...output,
|
|
4296
|
-
body: await parseErrorBody(output.body, context)
|
|
4297
|
-
};
|
|
4298
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4299
|
-
switch (errorCode) {
|
|
4300
|
-
case "AccessDeniedException":
|
|
4301
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
4302
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4303
|
-
case "ConflictException":
|
|
4304
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
4305
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4306
|
-
case "InternalServerException":
|
|
4307
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
4308
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4309
|
-
case "ResourceNotFoundException":
|
|
4310
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
4311
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4312
|
-
case "ThrottlingException":
|
|
4313
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
4314
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4315
|
-
case "ValidationException":
|
|
4316
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
4317
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4318
|
-
default:
|
|
4319
|
-
const parsedBody = parsedOutput.body;
|
|
4320
|
-
return throwDefaultError({
|
|
4321
|
-
output,
|
|
4322
|
-
parsedBody,
|
|
4323
|
-
errorCode
|
|
4324
|
-
});
|
|
4325
|
-
}
|
|
4326
|
-
}, "de_UpdateConfiguredTableAssociationCommandError");
|
|
4327
2480
|
var de_UpdateMembershipCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4328
2481
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4329
|
-
return
|
|
2482
|
+
return de_CommandError(output, context);
|
|
4330
2483
|
}
|
|
4331
2484
|
const contents = (0, import_smithy_client.map)({
|
|
4332
2485
|
$metadata: deserializeMetadata(output)
|
|
@@ -4338,43 +2491,9 @@ var de_UpdateMembershipCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
4338
2491
|
Object.assign(contents, doc);
|
|
4339
2492
|
return contents;
|
|
4340
2493
|
}, "de_UpdateMembershipCommand");
|
|
4341
|
-
var de_UpdateMembershipCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4342
|
-
const parsedOutput = {
|
|
4343
|
-
...output,
|
|
4344
|
-
body: await parseErrorBody(output.body, context)
|
|
4345
|
-
};
|
|
4346
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4347
|
-
switch (errorCode) {
|
|
4348
|
-
case "AccessDeniedException":
|
|
4349
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
4350
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4351
|
-
case "ConflictException":
|
|
4352
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
4353
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4354
|
-
case "InternalServerException":
|
|
4355
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
4356
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4357
|
-
case "ResourceNotFoundException":
|
|
4358
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
4359
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4360
|
-
case "ThrottlingException":
|
|
4361
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
4362
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4363
|
-
case "ValidationException":
|
|
4364
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
4365
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4366
|
-
default:
|
|
4367
|
-
const parsedBody = parsedOutput.body;
|
|
4368
|
-
return throwDefaultError({
|
|
4369
|
-
output,
|
|
4370
|
-
parsedBody,
|
|
4371
|
-
errorCode
|
|
4372
|
-
});
|
|
4373
|
-
}
|
|
4374
|
-
}, "de_UpdateMembershipCommandError");
|
|
4375
2494
|
var de_UpdatePrivacyBudgetTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4376
2495
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4377
|
-
return
|
|
2496
|
+
return de_CommandError(output, context);
|
|
4378
2497
|
}
|
|
4379
2498
|
const contents = (0, import_smithy_client.map)({
|
|
4380
2499
|
$metadata: deserializeMetadata(output)
|
|
@@ -4386,43 +2505,9 @@ var de_UpdatePrivacyBudgetTemplateCommand = /* @__PURE__ */ __name(async (output
|
|
|
4386
2505
|
Object.assign(contents, doc);
|
|
4387
2506
|
return contents;
|
|
4388
2507
|
}, "de_UpdatePrivacyBudgetTemplateCommand");
|
|
4389
|
-
var de_UpdatePrivacyBudgetTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4390
|
-
const parsedOutput = {
|
|
4391
|
-
...output,
|
|
4392
|
-
body: await parseErrorBody(output.body, context)
|
|
4393
|
-
};
|
|
4394
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4395
|
-
switch (errorCode) {
|
|
4396
|
-
case "AccessDeniedException":
|
|
4397
|
-
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
4398
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4399
|
-
case "ConflictException":
|
|
4400
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
4401
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4402
|
-
case "InternalServerException":
|
|
4403
|
-
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
4404
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4405
|
-
case "ResourceNotFoundException":
|
|
4406
|
-
case "com.amazonaws.cleanrooms#ResourceNotFoundException":
|
|
4407
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4408
|
-
case "ThrottlingException":
|
|
4409
|
-
case "com.amazonaws.cleanrooms#ThrottlingException":
|
|
4410
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4411
|
-
case "ValidationException":
|
|
4412
|
-
case "com.amazonaws.cleanrooms#ValidationException":
|
|
4413
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4414
|
-
default:
|
|
4415
|
-
const parsedBody = parsedOutput.body;
|
|
4416
|
-
return throwDefaultError({
|
|
4417
|
-
output,
|
|
4418
|
-
parsedBody,
|
|
4419
|
-
errorCode
|
|
4420
|
-
});
|
|
4421
|
-
}
|
|
4422
|
-
}, "de_UpdatePrivacyBudgetTemplateCommandError");
|
|
4423
2508
|
var de_UpdateProtectedQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4424
2509
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4425
|
-
return
|
|
2510
|
+
return de_CommandError(output, context);
|
|
4426
2511
|
}
|
|
4427
2512
|
const contents = (0, import_smithy_client.map)({
|
|
4428
2513
|
$metadata: deserializeMetadata(output)
|
|
@@ -4434,7 +2519,7 @@ var de_UpdateProtectedQueryCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
4434
2519
|
Object.assign(contents, doc);
|
|
4435
2520
|
return contents;
|
|
4436
2521
|
}, "de_UpdateProtectedQueryCommand");
|
|
4437
|
-
var
|
|
2522
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4438
2523
|
const parsedOutput = {
|
|
4439
2524
|
...output,
|
|
4440
2525
|
body: await parseErrorBody(output.body, context)
|
|
@@ -4444,9 +2529,6 @@ var de_UpdateProtectedQueryCommandError = /* @__PURE__ */ __name(async (output,
|
|
|
4444
2529
|
case "AccessDeniedException":
|
|
4445
2530
|
case "com.amazonaws.cleanrooms#AccessDeniedException":
|
|
4446
2531
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4447
|
-
case "ConflictException":
|
|
4448
|
-
case "com.amazonaws.cleanrooms#ConflictException":
|
|
4449
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4450
2532
|
case "InternalServerException":
|
|
4451
2533
|
case "com.amazonaws.cleanrooms#InternalServerException":
|
|
4452
2534
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -4459,6 +2541,12 @@ var de_UpdateProtectedQueryCommandError = /* @__PURE__ */ __name(async (output,
|
|
|
4459
2541
|
case "ValidationException":
|
|
4460
2542
|
case "com.amazonaws.cleanrooms#ValidationException":
|
|
4461
2543
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2544
|
+
case "ConflictException":
|
|
2545
|
+
case "com.amazonaws.cleanrooms#ConflictException":
|
|
2546
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2547
|
+
case "ServiceQuotaExceededException":
|
|
2548
|
+
case "com.amazonaws.cleanrooms#ServiceQuotaExceededException":
|
|
2549
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
4462
2550
|
default:
|
|
4463
2551
|
const parsedBody = parsedOutput.body;
|
|
4464
2552
|
return throwDefaultError({
|
|
@@ -4467,7 +2555,7 @@ var de_UpdateProtectedQueryCommandError = /* @__PURE__ */ __name(async (output,
|
|
|
4467
2555
|
errorCode
|
|
4468
2556
|
});
|
|
4469
2557
|
}
|
|
4470
|
-
}, "
|
|
2558
|
+
}, "de_CommandError");
|
|
4471
2559
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(CleanRoomsServiceException);
|
|
4472
2560
|
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4473
2561
|
const contents = (0, import_smithy_client.map)({});
|