@aws-sdk/client-proton 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 +127 -2925
- package/dist-es/protocols/Aws_json1_0.js +231 -3029
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1687,7 +1687,7 @@ var se_UpdateTemplateSyncConfigCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
1687
1687
|
}, "se_UpdateTemplateSyncConfigCommand");
|
|
1688
1688
|
var de_AcceptEnvironmentAccountConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1689
1689
|
if (output.statusCode >= 300) {
|
|
1690
|
-
return
|
|
1690
|
+
return de_CommandError(output, context);
|
|
1691
1691
|
}
|
|
1692
1692
|
const data = await parseBody(output.body, context);
|
|
1693
1693
|
let contents = {};
|
|
@@ -1698,43 +1698,9 @@ var de_AcceptEnvironmentAccountConnectionCommand = /* @__PURE__ */ __name(async
|
|
|
1698
1698
|
};
|
|
1699
1699
|
return response;
|
|
1700
1700
|
}, "de_AcceptEnvironmentAccountConnectionCommand");
|
|
1701
|
-
var de_AcceptEnvironmentAccountConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1702
|
-
const parsedOutput = {
|
|
1703
|
-
...output,
|
|
1704
|
-
body: await parseErrorBody(output.body, context)
|
|
1705
|
-
};
|
|
1706
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1707
|
-
switch (errorCode) {
|
|
1708
|
-
case "AccessDeniedException":
|
|
1709
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
1710
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1711
|
-
case "ConflictException":
|
|
1712
|
-
case "com.amazonaws.proton#ConflictException":
|
|
1713
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1714
|
-
case "InternalServerException":
|
|
1715
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
1716
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1717
|
-
case "ResourceNotFoundException":
|
|
1718
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
1719
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1720
|
-
case "ThrottlingException":
|
|
1721
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
1722
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1723
|
-
case "ValidationException":
|
|
1724
|
-
case "com.amazonaws.proton#ValidationException":
|
|
1725
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1726
|
-
default:
|
|
1727
|
-
const parsedBody = parsedOutput.body;
|
|
1728
|
-
return throwDefaultError({
|
|
1729
|
-
output,
|
|
1730
|
-
parsedBody,
|
|
1731
|
-
errorCode
|
|
1732
|
-
});
|
|
1733
|
-
}
|
|
1734
|
-
}, "de_AcceptEnvironmentAccountConnectionCommandError");
|
|
1735
1701
|
var de_CancelComponentDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1736
1702
|
if (output.statusCode >= 300) {
|
|
1737
|
-
return
|
|
1703
|
+
return de_CommandError(output, context);
|
|
1738
1704
|
}
|
|
1739
1705
|
const data = await parseBody(output.body, context);
|
|
1740
1706
|
let contents = {};
|
|
@@ -1745,43 +1711,9 @@ var de_CancelComponentDeploymentCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1745
1711
|
};
|
|
1746
1712
|
return response;
|
|
1747
1713
|
}, "de_CancelComponentDeploymentCommand");
|
|
1748
|
-
var de_CancelComponentDeploymentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1749
|
-
const parsedOutput = {
|
|
1750
|
-
...output,
|
|
1751
|
-
body: await parseErrorBody(output.body, context)
|
|
1752
|
-
};
|
|
1753
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1754
|
-
switch (errorCode) {
|
|
1755
|
-
case "AccessDeniedException":
|
|
1756
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
1757
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1758
|
-
case "ConflictException":
|
|
1759
|
-
case "com.amazonaws.proton#ConflictException":
|
|
1760
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1761
|
-
case "InternalServerException":
|
|
1762
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
1763
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1764
|
-
case "ResourceNotFoundException":
|
|
1765
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
1766
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1767
|
-
case "ThrottlingException":
|
|
1768
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
1769
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1770
|
-
case "ValidationException":
|
|
1771
|
-
case "com.amazonaws.proton#ValidationException":
|
|
1772
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1773
|
-
default:
|
|
1774
|
-
const parsedBody = parsedOutput.body;
|
|
1775
|
-
return throwDefaultError({
|
|
1776
|
-
output,
|
|
1777
|
-
parsedBody,
|
|
1778
|
-
errorCode
|
|
1779
|
-
});
|
|
1780
|
-
}
|
|
1781
|
-
}, "de_CancelComponentDeploymentCommandError");
|
|
1782
1714
|
var de_CancelEnvironmentDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1783
1715
|
if (output.statusCode >= 300) {
|
|
1784
|
-
return
|
|
1716
|
+
return de_CommandError(output, context);
|
|
1785
1717
|
}
|
|
1786
1718
|
const data = await parseBody(output.body, context);
|
|
1787
1719
|
let contents = {};
|
|
@@ -1792,43 +1724,9 @@ var de_CancelEnvironmentDeploymentCommand = /* @__PURE__ */ __name(async (output
|
|
|
1792
1724
|
};
|
|
1793
1725
|
return response;
|
|
1794
1726
|
}, "de_CancelEnvironmentDeploymentCommand");
|
|
1795
|
-
var de_CancelEnvironmentDeploymentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1796
|
-
const parsedOutput = {
|
|
1797
|
-
...output,
|
|
1798
|
-
body: await parseErrorBody(output.body, context)
|
|
1799
|
-
};
|
|
1800
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1801
|
-
switch (errorCode) {
|
|
1802
|
-
case "AccessDeniedException":
|
|
1803
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
1804
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1805
|
-
case "ConflictException":
|
|
1806
|
-
case "com.amazonaws.proton#ConflictException":
|
|
1807
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1808
|
-
case "InternalServerException":
|
|
1809
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
1810
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1811
|
-
case "ResourceNotFoundException":
|
|
1812
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
1813
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1814
|
-
case "ThrottlingException":
|
|
1815
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
1816
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1817
|
-
case "ValidationException":
|
|
1818
|
-
case "com.amazonaws.proton#ValidationException":
|
|
1819
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1820
|
-
default:
|
|
1821
|
-
const parsedBody = parsedOutput.body;
|
|
1822
|
-
return throwDefaultError({
|
|
1823
|
-
output,
|
|
1824
|
-
parsedBody,
|
|
1825
|
-
errorCode
|
|
1826
|
-
});
|
|
1827
|
-
}
|
|
1828
|
-
}, "de_CancelEnvironmentDeploymentCommandError");
|
|
1829
1727
|
var de_CancelServiceInstanceDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1830
1728
|
if (output.statusCode >= 300) {
|
|
1831
|
-
return
|
|
1729
|
+
return de_CommandError(output, context);
|
|
1832
1730
|
}
|
|
1833
1731
|
const data = await parseBody(output.body, context);
|
|
1834
1732
|
let contents = {};
|
|
@@ -1839,43 +1737,9 @@ var de_CancelServiceInstanceDeploymentCommand = /* @__PURE__ */ __name(async (ou
|
|
|
1839
1737
|
};
|
|
1840
1738
|
return response;
|
|
1841
1739
|
}, "de_CancelServiceInstanceDeploymentCommand");
|
|
1842
|
-
var de_CancelServiceInstanceDeploymentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1843
|
-
const parsedOutput = {
|
|
1844
|
-
...output,
|
|
1845
|
-
body: await parseErrorBody(output.body, context)
|
|
1846
|
-
};
|
|
1847
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1848
|
-
switch (errorCode) {
|
|
1849
|
-
case "AccessDeniedException":
|
|
1850
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
1851
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1852
|
-
case "ConflictException":
|
|
1853
|
-
case "com.amazonaws.proton#ConflictException":
|
|
1854
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1855
|
-
case "InternalServerException":
|
|
1856
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
1857
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1858
|
-
case "ResourceNotFoundException":
|
|
1859
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
1860
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1861
|
-
case "ThrottlingException":
|
|
1862
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
1863
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1864
|
-
case "ValidationException":
|
|
1865
|
-
case "com.amazonaws.proton#ValidationException":
|
|
1866
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1867
|
-
default:
|
|
1868
|
-
const parsedBody = parsedOutput.body;
|
|
1869
|
-
return throwDefaultError({
|
|
1870
|
-
output,
|
|
1871
|
-
parsedBody,
|
|
1872
|
-
errorCode
|
|
1873
|
-
});
|
|
1874
|
-
}
|
|
1875
|
-
}, "de_CancelServiceInstanceDeploymentCommandError");
|
|
1876
1740
|
var de_CancelServicePipelineDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1877
1741
|
if (output.statusCode >= 300) {
|
|
1878
|
-
return
|
|
1742
|
+
return de_CommandError(output, context);
|
|
1879
1743
|
}
|
|
1880
1744
|
const data = await parseBody(output.body, context);
|
|
1881
1745
|
let contents = {};
|
|
@@ -1886,43 +1750,9 @@ var de_CancelServicePipelineDeploymentCommand = /* @__PURE__ */ __name(async (ou
|
|
|
1886
1750
|
};
|
|
1887
1751
|
return response;
|
|
1888
1752
|
}, "de_CancelServicePipelineDeploymentCommand");
|
|
1889
|
-
var de_CancelServicePipelineDeploymentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1890
|
-
const parsedOutput = {
|
|
1891
|
-
...output,
|
|
1892
|
-
body: await parseErrorBody(output.body, context)
|
|
1893
|
-
};
|
|
1894
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1895
|
-
switch (errorCode) {
|
|
1896
|
-
case "AccessDeniedException":
|
|
1897
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
1898
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1899
|
-
case "ConflictException":
|
|
1900
|
-
case "com.amazonaws.proton#ConflictException":
|
|
1901
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1902
|
-
case "InternalServerException":
|
|
1903
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
1904
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1905
|
-
case "ResourceNotFoundException":
|
|
1906
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
1907
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1908
|
-
case "ThrottlingException":
|
|
1909
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
1910
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1911
|
-
case "ValidationException":
|
|
1912
|
-
case "com.amazonaws.proton#ValidationException":
|
|
1913
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1914
|
-
default:
|
|
1915
|
-
const parsedBody = parsedOutput.body;
|
|
1916
|
-
return throwDefaultError({
|
|
1917
|
-
output,
|
|
1918
|
-
parsedBody,
|
|
1919
|
-
errorCode
|
|
1920
|
-
});
|
|
1921
|
-
}
|
|
1922
|
-
}, "de_CancelServicePipelineDeploymentCommandError");
|
|
1923
1753
|
var de_CreateComponentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1924
1754
|
if (output.statusCode >= 300) {
|
|
1925
|
-
return
|
|
1755
|
+
return de_CommandError(output, context);
|
|
1926
1756
|
}
|
|
1927
1757
|
const data = await parseBody(output.body, context);
|
|
1928
1758
|
let contents = {};
|
|
@@ -1933,46 +1763,9 @@ var de_CreateComponentCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1933
1763
|
};
|
|
1934
1764
|
return response;
|
|
1935
1765
|
}, "de_CreateComponentCommand");
|
|
1936
|
-
var de_CreateComponentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1937
|
-
const parsedOutput = {
|
|
1938
|
-
...output,
|
|
1939
|
-
body: await parseErrorBody(output.body, context)
|
|
1940
|
-
};
|
|
1941
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1942
|
-
switch (errorCode) {
|
|
1943
|
-
case "AccessDeniedException":
|
|
1944
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
1945
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1946
|
-
case "ConflictException":
|
|
1947
|
-
case "com.amazonaws.proton#ConflictException":
|
|
1948
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1949
|
-
case "InternalServerException":
|
|
1950
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
1951
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1952
|
-
case "ResourceNotFoundException":
|
|
1953
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
1954
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1955
|
-
case "ServiceQuotaExceededException":
|
|
1956
|
-
case "com.amazonaws.proton#ServiceQuotaExceededException":
|
|
1957
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1958
|
-
case "ThrottlingException":
|
|
1959
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
1960
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1961
|
-
case "ValidationException":
|
|
1962
|
-
case "com.amazonaws.proton#ValidationException":
|
|
1963
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1964
|
-
default:
|
|
1965
|
-
const parsedBody = parsedOutput.body;
|
|
1966
|
-
return throwDefaultError({
|
|
1967
|
-
output,
|
|
1968
|
-
parsedBody,
|
|
1969
|
-
errorCode
|
|
1970
|
-
});
|
|
1971
|
-
}
|
|
1972
|
-
}, "de_CreateComponentCommandError");
|
|
1973
1766
|
var de_CreateEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1974
1767
|
if (output.statusCode >= 300) {
|
|
1975
|
-
return
|
|
1768
|
+
return de_CommandError(output, context);
|
|
1976
1769
|
}
|
|
1977
1770
|
const data = await parseBody(output.body, context);
|
|
1978
1771
|
let contents = {};
|
|
@@ -1983,46 +1776,9 @@ var de_CreateEnvironmentCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1983
1776
|
};
|
|
1984
1777
|
return response;
|
|
1985
1778
|
}, "de_CreateEnvironmentCommand");
|
|
1986
|
-
var de_CreateEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1987
|
-
const parsedOutput = {
|
|
1988
|
-
...output,
|
|
1989
|
-
body: await parseErrorBody(output.body, context)
|
|
1990
|
-
};
|
|
1991
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1992
|
-
switch (errorCode) {
|
|
1993
|
-
case "AccessDeniedException":
|
|
1994
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
1995
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1996
|
-
case "ConflictException":
|
|
1997
|
-
case "com.amazonaws.proton#ConflictException":
|
|
1998
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1999
|
-
case "InternalServerException":
|
|
2000
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2001
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2002
|
-
case "ResourceNotFoundException":
|
|
2003
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2004
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2005
|
-
case "ServiceQuotaExceededException":
|
|
2006
|
-
case "com.amazonaws.proton#ServiceQuotaExceededException":
|
|
2007
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2008
|
-
case "ThrottlingException":
|
|
2009
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2010
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2011
|
-
case "ValidationException":
|
|
2012
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2013
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2014
|
-
default:
|
|
2015
|
-
const parsedBody = parsedOutput.body;
|
|
2016
|
-
return throwDefaultError({
|
|
2017
|
-
output,
|
|
2018
|
-
parsedBody,
|
|
2019
|
-
errorCode
|
|
2020
|
-
});
|
|
2021
|
-
}
|
|
2022
|
-
}, "de_CreateEnvironmentCommandError");
|
|
2023
1779
|
var de_CreateEnvironmentAccountConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2024
1780
|
if (output.statusCode >= 300) {
|
|
2025
|
-
return
|
|
1781
|
+
return de_CommandError(output, context);
|
|
2026
1782
|
}
|
|
2027
1783
|
const data = await parseBody(output.body, context);
|
|
2028
1784
|
let contents = {};
|
|
@@ -2033,90 +1789,22 @@ var de_CreateEnvironmentAccountConnectionCommand = /* @__PURE__ */ __name(async
|
|
|
2033
1789
|
};
|
|
2034
1790
|
return response;
|
|
2035
1791
|
}, "de_CreateEnvironmentAccountConnectionCommand");
|
|
2036
|
-
var
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
case "ConflictException":
|
|
2047
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2048
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2049
|
-
case "InternalServerException":
|
|
2050
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2051
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2052
|
-
case "ServiceQuotaExceededException":
|
|
2053
|
-
case "com.amazonaws.proton#ServiceQuotaExceededException":
|
|
2054
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2055
|
-
case "ThrottlingException":
|
|
2056
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2057
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2058
|
-
case "ValidationException":
|
|
2059
|
-
case "com.amazonaws.proton#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_CreateEnvironmentAccountConnectionCommandError");
|
|
2070
|
-
var de_CreateEnvironmentTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2071
|
-
if (output.statusCode >= 300) {
|
|
2072
|
-
return de_CreateEnvironmentTemplateCommandError(output, context);
|
|
2073
|
-
}
|
|
2074
|
-
const data = await parseBody(output.body, context);
|
|
2075
|
-
let contents = {};
|
|
2076
|
-
contents = de_CreateEnvironmentTemplateOutput(data, context);
|
|
2077
|
-
const response = {
|
|
2078
|
-
$metadata: deserializeMetadata(output),
|
|
2079
|
-
...contents
|
|
1792
|
+
var de_CreateEnvironmentTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1793
|
+
if (output.statusCode >= 300) {
|
|
1794
|
+
return de_CommandError(output, context);
|
|
1795
|
+
}
|
|
1796
|
+
const data = await parseBody(output.body, context);
|
|
1797
|
+
let contents = {};
|
|
1798
|
+
contents = de_CreateEnvironmentTemplateOutput(data, context);
|
|
1799
|
+
const response = {
|
|
1800
|
+
$metadata: deserializeMetadata(output),
|
|
1801
|
+
...contents
|
|
2080
1802
|
};
|
|
2081
1803
|
return response;
|
|
2082
1804
|
}, "de_CreateEnvironmentTemplateCommand");
|
|
2083
|
-
var de_CreateEnvironmentTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2084
|
-
const parsedOutput = {
|
|
2085
|
-
...output,
|
|
2086
|
-
body: await parseErrorBody(output.body, context)
|
|
2087
|
-
};
|
|
2088
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2089
|
-
switch (errorCode) {
|
|
2090
|
-
case "AccessDeniedException":
|
|
2091
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2092
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2093
|
-
case "ConflictException":
|
|
2094
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2095
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2096
|
-
case "InternalServerException":
|
|
2097
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2098
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2099
|
-
case "ServiceQuotaExceededException":
|
|
2100
|
-
case "com.amazonaws.proton#ServiceQuotaExceededException":
|
|
2101
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2102
|
-
case "ThrottlingException":
|
|
2103
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2104
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2105
|
-
case "ValidationException":
|
|
2106
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2107
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2108
|
-
default:
|
|
2109
|
-
const parsedBody = parsedOutput.body;
|
|
2110
|
-
return throwDefaultError({
|
|
2111
|
-
output,
|
|
2112
|
-
parsedBody,
|
|
2113
|
-
errorCode
|
|
2114
|
-
});
|
|
2115
|
-
}
|
|
2116
|
-
}, "de_CreateEnvironmentTemplateCommandError");
|
|
2117
1805
|
var de_CreateEnvironmentTemplateVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2118
1806
|
if (output.statusCode >= 300) {
|
|
2119
|
-
return
|
|
1807
|
+
return de_CommandError(output, context);
|
|
2120
1808
|
}
|
|
2121
1809
|
const data = await parseBody(output.body, context);
|
|
2122
1810
|
let contents = {};
|
|
@@ -2127,46 +1815,9 @@ var de_CreateEnvironmentTemplateVersionCommand = /* @__PURE__ */ __name(async (o
|
|
|
2127
1815
|
};
|
|
2128
1816
|
return response;
|
|
2129
1817
|
}, "de_CreateEnvironmentTemplateVersionCommand");
|
|
2130
|
-
var de_CreateEnvironmentTemplateVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2131
|
-
const parsedOutput = {
|
|
2132
|
-
...output,
|
|
2133
|
-
body: await parseErrorBody(output.body, context)
|
|
2134
|
-
};
|
|
2135
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2136
|
-
switch (errorCode) {
|
|
2137
|
-
case "AccessDeniedException":
|
|
2138
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2139
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2140
|
-
case "ConflictException":
|
|
2141
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2142
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2143
|
-
case "InternalServerException":
|
|
2144
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2145
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2146
|
-
case "ResourceNotFoundException":
|
|
2147
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2148
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2149
|
-
case "ServiceQuotaExceededException":
|
|
2150
|
-
case "com.amazonaws.proton#ServiceQuotaExceededException":
|
|
2151
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2152
|
-
case "ThrottlingException":
|
|
2153
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2154
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2155
|
-
case "ValidationException":
|
|
2156
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2157
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2158
|
-
default:
|
|
2159
|
-
const parsedBody = parsedOutput.body;
|
|
2160
|
-
return throwDefaultError({
|
|
2161
|
-
output,
|
|
2162
|
-
parsedBody,
|
|
2163
|
-
errorCode
|
|
2164
|
-
});
|
|
2165
|
-
}
|
|
2166
|
-
}, "de_CreateEnvironmentTemplateVersionCommandError");
|
|
2167
1818
|
var de_CreateRepositoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2168
1819
|
if (output.statusCode >= 300) {
|
|
2169
|
-
return
|
|
1820
|
+
return de_CommandError(output, context);
|
|
2170
1821
|
}
|
|
2171
1822
|
const data = await parseBody(output.body, context);
|
|
2172
1823
|
let contents = {};
|
|
@@ -2177,43 +1828,9 @@ var de_CreateRepositoryCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2177
1828
|
};
|
|
2178
1829
|
return response;
|
|
2179
1830
|
}, "de_CreateRepositoryCommand");
|
|
2180
|
-
var de_CreateRepositoryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2181
|
-
const parsedOutput = {
|
|
2182
|
-
...output,
|
|
2183
|
-
body: await parseErrorBody(output.body, context)
|
|
2184
|
-
};
|
|
2185
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2186
|
-
switch (errorCode) {
|
|
2187
|
-
case "AccessDeniedException":
|
|
2188
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2189
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2190
|
-
case "ConflictException":
|
|
2191
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2192
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2193
|
-
case "InternalServerException":
|
|
2194
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2195
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2196
|
-
case "ServiceQuotaExceededException":
|
|
2197
|
-
case "com.amazonaws.proton#ServiceQuotaExceededException":
|
|
2198
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2199
|
-
case "ThrottlingException":
|
|
2200
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2201
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2202
|
-
case "ValidationException":
|
|
2203
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2204
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2205
|
-
default:
|
|
2206
|
-
const parsedBody = parsedOutput.body;
|
|
2207
|
-
return throwDefaultError({
|
|
2208
|
-
output,
|
|
2209
|
-
parsedBody,
|
|
2210
|
-
errorCode
|
|
2211
|
-
});
|
|
2212
|
-
}
|
|
2213
|
-
}, "de_CreateRepositoryCommandError");
|
|
2214
1831
|
var de_CreateServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2215
1832
|
if (output.statusCode >= 300) {
|
|
2216
|
-
return
|
|
1833
|
+
return de_CommandError(output, context);
|
|
2217
1834
|
}
|
|
2218
1835
|
const data = await parseBody(output.body, context);
|
|
2219
1836
|
let contents = {};
|
|
@@ -2224,46 +1841,9 @@ var de_CreateServiceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2224
1841
|
};
|
|
2225
1842
|
return response;
|
|
2226
1843
|
}, "de_CreateServiceCommand");
|
|
2227
|
-
var de_CreateServiceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2228
|
-
const parsedOutput = {
|
|
2229
|
-
...output,
|
|
2230
|
-
body: await parseErrorBody(output.body, context)
|
|
2231
|
-
};
|
|
2232
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2233
|
-
switch (errorCode) {
|
|
2234
|
-
case "AccessDeniedException":
|
|
2235
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2236
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2237
|
-
case "ConflictException":
|
|
2238
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2239
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2240
|
-
case "InternalServerException":
|
|
2241
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2242
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2243
|
-
case "ResourceNotFoundException":
|
|
2244
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2245
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2246
|
-
case "ServiceQuotaExceededException":
|
|
2247
|
-
case "com.amazonaws.proton#ServiceQuotaExceededException":
|
|
2248
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2249
|
-
case "ThrottlingException":
|
|
2250
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2251
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2252
|
-
case "ValidationException":
|
|
2253
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2254
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2255
|
-
default:
|
|
2256
|
-
const parsedBody = parsedOutput.body;
|
|
2257
|
-
return throwDefaultError({
|
|
2258
|
-
output,
|
|
2259
|
-
parsedBody,
|
|
2260
|
-
errorCode
|
|
2261
|
-
});
|
|
2262
|
-
}
|
|
2263
|
-
}, "de_CreateServiceCommandError");
|
|
2264
1844
|
var de_CreateServiceInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2265
1845
|
if (output.statusCode >= 300) {
|
|
2266
|
-
return
|
|
1846
|
+
return de_CommandError(output, context);
|
|
2267
1847
|
}
|
|
2268
1848
|
const data = await parseBody(output.body, context);
|
|
2269
1849
|
let contents = {};
|
|
@@ -2274,43 +1854,9 @@ var de_CreateServiceInstanceCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2274
1854
|
};
|
|
2275
1855
|
return response;
|
|
2276
1856
|
}, "de_CreateServiceInstanceCommand");
|
|
2277
|
-
var de_CreateServiceInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2278
|
-
const parsedOutput = {
|
|
2279
|
-
...output,
|
|
2280
|
-
body: await parseErrorBody(output.body, context)
|
|
2281
|
-
};
|
|
2282
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2283
|
-
switch (errorCode) {
|
|
2284
|
-
case "AccessDeniedException":
|
|
2285
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2286
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2287
|
-
case "ConflictException":
|
|
2288
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2289
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2290
|
-
case "InternalServerException":
|
|
2291
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2292
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2293
|
-
case "ResourceNotFoundException":
|
|
2294
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2295
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2296
|
-
case "ThrottlingException":
|
|
2297
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2298
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2299
|
-
case "ValidationException":
|
|
2300
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2301
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2302
|
-
default:
|
|
2303
|
-
const parsedBody = parsedOutput.body;
|
|
2304
|
-
return throwDefaultError({
|
|
2305
|
-
output,
|
|
2306
|
-
parsedBody,
|
|
2307
|
-
errorCode
|
|
2308
|
-
});
|
|
2309
|
-
}
|
|
2310
|
-
}, "de_CreateServiceInstanceCommandError");
|
|
2311
1857
|
var de_CreateServiceSyncConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2312
1858
|
if (output.statusCode >= 300) {
|
|
2313
|
-
return
|
|
1859
|
+
return de_CommandError(output, context);
|
|
2314
1860
|
}
|
|
2315
1861
|
const data = await parseBody(output.body, context);
|
|
2316
1862
|
let contents = {};
|
|
@@ -2321,43 +1867,9 @@ var de_CreateServiceSyncConfigCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2321
1867
|
};
|
|
2322
1868
|
return response;
|
|
2323
1869
|
}, "de_CreateServiceSyncConfigCommand");
|
|
2324
|
-
var de_CreateServiceSyncConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2325
|
-
const parsedOutput = {
|
|
2326
|
-
...output,
|
|
2327
|
-
body: await parseErrorBody(output.body, context)
|
|
2328
|
-
};
|
|
2329
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2330
|
-
switch (errorCode) {
|
|
2331
|
-
case "AccessDeniedException":
|
|
2332
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2333
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2334
|
-
case "ConflictException":
|
|
2335
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2336
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2337
|
-
case "InternalServerException":
|
|
2338
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2339
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2340
|
-
case "ServiceQuotaExceededException":
|
|
2341
|
-
case "com.amazonaws.proton#ServiceQuotaExceededException":
|
|
2342
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2343
|
-
case "ThrottlingException":
|
|
2344
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2345
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2346
|
-
case "ValidationException":
|
|
2347
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2348
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2349
|
-
default:
|
|
2350
|
-
const parsedBody = parsedOutput.body;
|
|
2351
|
-
return throwDefaultError({
|
|
2352
|
-
output,
|
|
2353
|
-
parsedBody,
|
|
2354
|
-
errorCode
|
|
2355
|
-
});
|
|
2356
|
-
}
|
|
2357
|
-
}, "de_CreateServiceSyncConfigCommandError");
|
|
2358
1870
|
var de_CreateServiceTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2359
1871
|
if (output.statusCode >= 300) {
|
|
2360
|
-
return
|
|
1872
|
+
return de_CommandError(output, context);
|
|
2361
1873
|
}
|
|
2362
1874
|
const data = await parseBody(output.body, context);
|
|
2363
1875
|
let contents = {};
|
|
@@ -2368,43 +1880,9 @@ var de_CreateServiceTemplateCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2368
1880
|
};
|
|
2369
1881
|
return response;
|
|
2370
1882
|
}, "de_CreateServiceTemplateCommand");
|
|
2371
|
-
var de_CreateServiceTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2372
|
-
const parsedOutput = {
|
|
2373
|
-
...output,
|
|
2374
|
-
body: await parseErrorBody(output.body, context)
|
|
2375
|
-
};
|
|
2376
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2377
|
-
switch (errorCode) {
|
|
2378
|
-
case "AccessDeniedException":
|
|
2379
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2380
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2381
|
-
case "ConflictException":
|
|
2382
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2383
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2384
|
-
case "InternalServerException":
|
|
2385
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2386
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2387
|
-
case "ServiceQuotaExceededException":
|
|
2388
|
-
case "com.amazonaws.proton#ServiceQuotaExceededException":
|
|
2389
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2390
|
-
case "ThrottlingException":
|
|
2391
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2392
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2393
|
-
case "ValidationException":
|
|
2394
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2395
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2396
|
-
default:
|
|
2397
|
-
const parsedBody = parsedOutput.body;
|
|
2398
|
-
return throwDefaultError({
|
|
2399
|
-
output,
|
|
2400
|
-
parsedBody,
|
|
2401
|
-
errorCode
|
|
2402
|
-
});
|
|
2403
|
-
}
|
|
2404
|
-
}, "de_CreateServiceTemplateCommandError");
|
|
2405
1883
|
var de_CreateServiceTemplateVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2406
1884
|
if (output.statusCode >= 300) {
|
|
2407
|
-
return
|
|
1885
|
+
return de_CommandError(output, context);
|
|
2408
1886
|
}
|
|
2409
1887
|
const data = await parseBody(output.body, context);
|
|
2410
1888
|
let contents = {};
|
|
@@ -2415,46 +1893,9 @@ var de_CreateServiceTemplateVersionCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2415
1893
|
};
|
|
2416
1894
|
return response;
|
|
2417
1895
|
}, "de_CreateServiceTemplateVersionCommand");
|
|
2418
|
-
var de_CreateServiceTemplateVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2419
|
-
const parsedOutput = {
|
|
2420
|
-
...output,
|
|
2421
|
-
body: await parseErrorBody(output.body, context)
|
|
2422
|
-
};
|
|
2423
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2424
|
-
switch (errorCode) {
|
|
2425
|
-
case "AccessDeniedException":
|
|
2426
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2427
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2428
|
-
case "ConflictException":
|
|
2429
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2430
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2431
|
-
case "InternalServerException":
|
|
2432
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2433
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2434
|
-
case "ResourceNotFoundException":
|
|
2435
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2436
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2437
|
-
case "ServiceQuotaExceededException":
|
|
2438
|
-
case "com.amazonaws.proton#ServiceQuotaExceededException":
|
|
2439
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2440
|
-
case "ThrottlingException":
|
|
2441
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2442
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2443
|
-
case "ValidationException":
|
|
2444
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2445
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2446
|
-
default:
|
|
2447
|
-
const parsedBody = parsedOutput.body;
|
|
2448
|
-
return throwDefaultError({
|
|
2449
|
-
output,
|
|
2450
|
-
parsedBody,
|
|
2451
|
-
errorCode
|
|
2452
|
-
});
|
|
2453
|
-
}
|
|
2454
|
-
}, "de_CreateServiceTemplateVersionCommandError");
|
|
2455
1896
|
var de_CreateTemplateSyncConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2456
1897
|
if (output.statusCode >= 300) {
|
|
2457
|
-
return
|
|
1898
|
+
return de_CommandError(output, context);
|
|
2458
1899
|
}
|
|
2459
1900
|
const data = await parseBody(output.body, context);
|
|
2460
1901
|
let contents = {};
|
|
@@ -2465,43 +1906,9 @@ var de_CreateTemplateSyncConfigCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2465
1906
|
};
|
|
2466
1907
|
return response;
|
|
2467
1908
|
}, "de_CreateTemplateSyncConfigCommand");
|
|
2468
|
-
var de_CreateTemplateSyncConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2469
|
-
const parsedOutput = {
|
|
2470
|
-
...output,
|
|
2471
|
-
body: await parseErrorBody(output.body, context)
|
|
2472
|
-
};
|
|
2473
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2474
|
-
switch (errorCode) {
|
|
2475
|
-
case "AccessDeniedException":
|
|
2476
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2477
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2478
|
-
case "ConflictException":
|
|
2479
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2480
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2481
|
-
case "InternalServerException":
|
|
2482
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2483
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2484
|
-
case "ServiceQuotaExceededException":
|
|
2485
|
-
case "com.amazonaws.proton#ServiceQuotaExceededException":
|
|
2486
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2487
|
-
case "ThrottlingException":
|
|
2488
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2489
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2490
|
-
case "ValidationException":
|
|
2491
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2492
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2493
|
-
default:
|
|
2494
|
-
const parsedBody = parsedOutput.body;
|
|
2495
|
-
return throwDefaultError({
|
|
2496
|
-
output,
|
|
2497
|
-
parsedBody,
|
|
2498
|
-
errorCode
|
|
2499
|
-
});
|
|
2500
|
-
}
|
|
2501
|
-
}, "de_CreateTemplateSyncConfigCommandError");
|
|
2502
1909
|
var de_DeleteComponentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2503
1910
|
if (output.statusCode >= 300) {
|
|
2504
|
-
return
|
|
1911
|
+
return de_CommandError(output, context);
|
|
2505
1912
|
}
|
|
2506
1913
|
const data = await parseBody(output.body, context);
|
|
2507
1914
|
let contents = {};
|
|
@@ -2512,43 +1919,9 @@ var de_DeleteComponentCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2512
1919
|
};
|
|
2513
1920
|
return response;
|
|
2514
1921
|
}, "de_DeleteComponentCommand");
|
|
2515
|
-
var de_DeleteComponentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2516
|
-
const parsedOutput = {
|
|
2517
|
-
...output,
|
|
2518
|
-
body: await parseErrorBody(output.body, context)
|
|
2519
|
-
};
|
|
2520
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2521
|
-
switch (errorCode) {
|
|
2522
|
-
case "AccessDeniedException":
|
|
2523
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2524
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2525
|
-
case "ConflictException":
|
|
2526
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2527
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2528
|
-
case "InternalServerException":
|
|
2529
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2530
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2531
|
-
case "ResourceNotFoundException":
|
|
2532
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2533
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2534
|
-
case "ThrottlingException":
|
|
2535
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2536
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2537
|
-
case "ValidationException":
|
|
2538
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2539
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2540
|
-
default:
|
|
2541
|
-
const parsedBody = parsedOutput.body;
|
|
2542
|
-
return throwDefaultError({
|
|
2543
|
-
output,
|
|
2544
|
-
parsedBody,
|
|
2545
|
-
errorCode
|
|
2546
|
-
});
|
|
2547
|
-
}
|
|
2548
|
-
}, "de_DeleteComponentCommandError");
|
|
2549
1922
|
var de_DeleteDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2550
1923
|
if (output.statusCode >= 300) {
|
|
2551
|
-
return
|
|
1924
|
+
return de_CommandError(output, context);
|
|
2552
1925
|
}
|
|
2553
1926
|
const data = await parseBody(output.body, context);
|
|
2554
1927
|
let contents = {};
|
|
@@ -2559,40 +1932,9 @@ var de_DeleteDeploymentCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2559
1932
|
};
|
|
2560
1933
|
return response;
|
|
2561
1934
|
}, "de_DeleteDeploymentCommand");
|
|
2562
|
-
var de_DeleteDeploymentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2563
|
-
const parsedOutput = {
|
|
2564
|
-
...output,
|
|
2565
|
-
body: await parseErrorBody(output.body, context)
|
|
2566
|
-
};
|
|
2567
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2568
|
-
switch (errorCode) {
|
|
2569
|
-
case "AccessDeniedException":
|
|
2570
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2571
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2572
|
-
case "InternalServerException":
|
|
2573
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2574
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2575
|
-
case "ResourceNotFoundException":
|
|
2576
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2577
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2578
|
-
case "ThrottlingException":
|
|
2579
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2580
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2581
|
-
case "ValidationException":
|
|
2582
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2583
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2584
|
-
default:
|
|
2585
|
-
const parsedBody = parsedOutput.body;
|
|
2586
|
-
return throwDefaultError({
|
|
2587
|
-
output,
|
|
2588
|
-
parsedBody,
|
|
2589
|
-
errorCode
|
|
2590
|
-
});
|
|
2591
|
-
}
|
|
2592
|
-
}, "de_DeleteDeploymentCommandError");
|
|
2593
1935
|
var de_DeleteEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2594
1936
|
if (output.statusCode >= 300) {
|
|
2595
|
-
return
|
|
1937
|
+
return de_CommandError(output, context);
|
|
2596
1938
|
}
|
|
2597
1939
|
const data = await parseBody(output.body, context);
|
|
2598
1940
|
let contents = {};
|
|
@@ -2603,43 +1945,9 @@ var de_DeleteEnvironmentCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2603
1945
|
};
|
|
2604
1946
|
return response;
|
|
2605
1947
|
}, "de_DeleteEnvironmentCommand");
|
|
2606
|
-
var de_DeleteEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2607
|
-
const parsedOutput = {
|
|
2608
|
-
...output,
|
|
2609
|
-
body: await parseErrorBody(output.body, context)
|
|
2610
|
-
};
|
|
2611
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2612
|
-
switch (errorCode) {
|
|
2613
|
-
case "AccessDeniedException":
|
|
2614
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2615
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2616
|
-
case "ConflictException":
|
|
2617
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2618
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2619
|
-
case "InternalServerException":
|
|
2620
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2621
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2622
|
-
case "ResourceNotFoundException":
|
|
2623
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2624
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2625
|
-
case "ThrottlingException":
|
|
2626
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2627
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2628
|
-
case "ValidationException":
|
|
2629
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2630
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2631
|
-
default:
|
|
2632
|
-
const parsedBody = parsedOutput.body;
|
|
2633
|
-
return throwDefaultError({
|
|
2634
|
-
output,
|
|
2635
|
-
parsedBody,
|
|
2636
|
-
errorCode
|
|
2637
|
-
});
|
|
2638
|
-
}
|
|
2639
|
-
}, "de_DeleteEnvironmentCommandError");
|
|
2640
1948
|
var de_DeleteEnvironmentAccountConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2641
1949
|
if (output.statusCode >= 300) {
|
|
2642
|
-
return
|
|
1950
|
+
return de_CommandError(output, context);
|
|
2643
1951
|
}
|
|
2644
1952
|
const data = await parseBody(output.body, context);
|
|
2645
1953
|
let contents = {};
|
|
@@ -2650,43 +1958,9 @@ var de_DeleteEnvironmentAccountConnectionCommand = /* @__PURE__ */ __name(async
|
|
|
2650
1958
|
};
|
|
2651
1959
|
return response;
|
|
2652
1960
|
}, "de_DeleteEnvironmentAccountConnectionCommand");
|
|
2653
|
-
var de_DeleteEnvironmentAccountConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2654
|
-
const parsedOutput = {
|
|
2655
|
-
...output,
|
|
2656
|
-
body: await parseErrorBody(output.body, context)
|
|
2657
|
-
};
|
|
2658
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2659
|
-
switch (errorCode) {
|
|
2660
|
-
case "AccessDeniedException":
|
|
2661
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2662
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2663
|
-
case "ConflictException":
|
|
2664
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2665
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2666
|
-
case "InternalServerException":
|
|
2667
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2668
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2669
|
-
case "ResourceNotFoundException":
|
|
2670
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2671
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2672
|
-
case "ThrottlingException":
|
|
2673
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2674
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2675
|
-
case "ValidationException":
|
|
2676
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2677
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2678
|
-
default:
|
|
2679
|
-
const parsedBody = parsedOutput.body;
|
|
2680
|
-
return throwDefaultError({
|
|
2681
|
-
output,
|
|
2682
|
-
parsedBody,
|
|
2683
|
-
errorCode
|
|
2684
|
-
});
|
|
2685
|
-
}
|
|
2686
|
-
}, "de_DeleteEnvironmentAccountConnectionCommandError");
|
|
2687
1961
|
var de_DeleteEnvironmentTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2688
1962
|
if (output.statusCode >= 300) {
|
|
2689
|
-
return
|
|
1963
|
+
return de_CommandError(output, context);
|
|
2690
1964
|
}
|
|
2691
1965
|
const data = await parseBody(output.body, context);
|
|
2692
1966
|
let contents = {};
|
|
@@ -2697,43 +1971,9 @@ var de_DeleteEnvironmentTemplateCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2697
1971
|
};
|
|
2698
1972
|
return response;
|
|
2699
1973
|
}, "de_DeleteEnvironmentTemplateCommand");
|
|
2700
|
-
var de_DeleteEnvironmentTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2701
|
-
const parsedOutput = {
|
|
2702
|
-
...output,
|
|
2703
|
-
body: await parseErrorBody(output.body, context)
|
|
2704
|
-
};
|
|
2705
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2706
|
-
switch (errorCode) {
|
|
2707
|
-
case "AccessDeniedException":
|
|
2708
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2709
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2710
|
-
case "ConflictException":
|
|
2711
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2712
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2713
|
-
case "InternalServerException":
|
|
2714
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2715
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2716
|
-
case "ResourceNotFoundException":
|
|
2717
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2718
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2719
|
-
case "ThrottlingException":
|
|
2720
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2721
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2722
|
-
case "ValidationException":
|
|
2723
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2724
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2725
|
-
default:
|
|
2726
|
-
const parsedBody = parsedOutput.body;
|
|
2727
|
-
return throwDefaultError({
|
|
2728
|
-
output,
|
|
2729
|
-
parsedBody,
|
|
2730
|
-
errorCode
|
|
2731
|
-
});
|
|
2732
|
-
}
|
|
2733
|
-
}, "de_DeleteEnvironmentTemplateCommandError");
|
|
2734
1974
|
var de_DeleteEnvironmentTemplateVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2735
1975
|
if (output.statusCode >= 300) {
|
|
2736
|
-
return
|
|
1976
|
+
return de_CommandError(output, context);
|
|
2737
1977
|
}
|
|
2738
1978
|
const data = await parseBody(output.body, context);
|
|
2739
1979
|
let contents = {};
|
|
@@ -2744,43 +1984,9 @@ var de_DeleteEnvironmentTemplateVersionCommand = /* @__PURE__ */ __name(async (o
|
|
|
2744
1984
|
};
|
|
2745
1985
|
return response;
|
|
2746
1986
|
}, "de_DeleteEnvironmentTemplateVersionCommand");
|
|
2747
|
-
var de_DeleteEnvironmentTemplateVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2748
|
-
const parsedOutput = {
|
|
2749
|
-
...output,
|
|
2750
|
-
body: await parseErrorBody(output.body, context)
|
|
2751
|
-
};
|
|
2752
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2753
|
-
switch (errorCode) {
|
|
2754
|
-
case "AccessDeniedException":
|
|
2755
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2756
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2757
|
-
case "ConflictException":
|
|
2758
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2759
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2760
|
-
case "InternalServerException":
|
|
2761
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2762
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2763
|
-
case "ResourceNotFoundException":
|
|
2764
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2765
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2766
|
-
case "ThrottlingException":
|
|
2767
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2768
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2769
|
-
case "ValidationException":
|
|
2770
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2771
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2772
|
-
default:
|
|
2773
|
-
const parsedBody = parsedOutput.body;
|
|
2774
|
-
return throwDefaultError({
|
|
2775
|
-
output,
|
|
2776
|
-
parsedBody,
|
|
2777
|
-
errorCode
|
|
2778
|
-
});
|
|
2779
|
-
}
|
|
2780
|
-
}, "de_DeleteEnvironmentTemplateVersionCommandError");
|
|
2781
1987
|
var de_DeleteRepositoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2782
1988
|
if (output.statusCode >= 300) {
|
|
2783
|
-
return
|
|
1989
|
+
return de_CommandError(output, context);
|
|
2784
1990
|
}
|
|
2785
1991
|
const data = await parseBody(output.body, context);
|
|
2786
1992
|
let contents = {};
|
|
@@ -2791,43 +1997,9 @@ var de_DeleteRepositoryCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2791
1997
|
};
|
|
2792
1998
|
return response;
|
|
2793
1999
|
}, "de_DeleteRepositoryCommand");
|
|
2794
|
-
var de_DeleteRepositoryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2795
|
-
const parsedOutput = {
|
|
2796
|
-
...output,
|
|
2797
|
-
body: await parseErrorBody(output.body, context)
|
|
2798
|
-
};
|
|
2799
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2800
|
-
switch (errorCode) {
|
|
2801
|
-
case "AccessDeniedException":
|
|
2802
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2803
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2804
|
-
case "ConflictException":
|
|
2805
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2806
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2807
|
-
case "InternalServerException":
|
|
2808
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2809
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2810
|
-
case "ResourceNotFoundException":
|
|
2811
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2812
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2813
|
-
case "ThrottlingException":
|
|
2814
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2815
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2816
|
-
case "ValidationException":
|
|
2817
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2818
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2819
|
-
default:
|
|
2820
|
-
const parsedBody = parsedOutput.body;
|
|
2821
|
-
return throwDefaultError({
|
|
2822
|
-
output,
|
|
2823
|
-
parsedBody,
|
|
2824
|
-
errorCode
|
|
2825
|
-
});
|
|
2826
|
-
}
|
|
2827
|
-
}, "de_DeleteRepositoryCommandError");
|
|
2828
2000
|
var de_DeleteServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2829
2001
|
if (output.statusCode >= 300) {
|
|
2830
|
-
return
|
|
2002
|
+
return de_CommandError(output, context);
|
|
2831
2003
|
}
|
|
2832
2004
|
const data = await parseBody(output.body, context);
|
|
2833
2005
|
let contents = {};
|
|
@@ -2838,43 +2010,9 @@ var de_DeleteServiceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2838
2010
|
};
|
|
2839
2011
|
return response;
|
|
2840
2012
|
}, "de_DeleteServiceCommand");
|
|
2841
|
-
var de_DeleteServiceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2842
|
-
const parsedOutput = {
|
|
2843
|
-
...output,
|
|
2844
|
-
body: await parseErrorBody(output.body, context)
|
|
2845
|
-
};
|
|
2846
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2847
|
-
switch (errorCode) {
|
|
2848
|
-
case "AccessDeniedException":
|
|
2849
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2850
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2851
|
-
case "ConflictException":
|
|
2852
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2853
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2854
|
-
case "InternalServerException":
|
|
2855
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2856
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2857
|
-
case "ResourceNotFoundException":
|
|
2858
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2859
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2860
|
-
case "ThrottlingException":
|
|
2861
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2862
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2863
|
-
case "ValidationException":
|
|
2864
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2865
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2866
|
-
default:
|
|
2867
|
-
const parsedBody = parsedOutput.body;
|
|
2868
|
-
return throwDefaultError({
|
|
2869
|
-
output,
|
|
2870
|
-
parsedBody,
|
|
2871
|
-
errorCode
|
|
2872
|
-
});
|
|
2873
|
-
}
|
|
2874
|
-
}, "de_DeleteServiceCommandError");
|
|
2875
2013
|
var de_DeleteServiceSyncConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2876
2014
|
if (output.statusCode >= 300) {
|
|
2877
|
-
return
|
|
2015
|
+
return de_CommandError(output, context);
|
|
2878
2016
|
}
|
|
2879
2017
|
const data = await parseBody(output.body, context);
|
|
2880
2018
|
let contents = {};
|
|
@@ -2885,43 +2023,9 @@ var de_DeleteServiceSyncConfigCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2885
2023
|
};
|
|
2886
2024
|
return response;
|
|
2887
2025
|
}, "de_DeleteServiceSyncConfigCommand");
|
|
2888
|
-
var de_DeleteServiceSyncConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2889
|
-
const parsedOutput = {
|
|
2890
|
-
...output,
|
|
2891
|
-
body: await parseErrorBody(output.body, context)
|
|
2892
|
-
};
|
|
2893
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2894
|
-
switch (errorCode) {
|
|
2895
|
-
case "AccessDeniedException":
|
|
2896
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2897
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2898
|
-
case "ConflictException":
|
|
2899
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2900
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2901
|
-
case "InternalServerException":
|
|
2902
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2903
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2904
|
-
case "ResourceNotFoundException":
|
|
2905
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2906
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2907
|
-
case "ThrottlingException":
|
|
2908
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2909
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2910
|
-
case "ValidationException":
|
|
2911
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2912
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2913
|
-
default:
|
|
2914
|
-
const parsedBody = parsedOutput.body;
|
|
2915
|
-
return throwDefaultError({
|
|
2916
|
-
output,
|
|
2917
|
-
parsedBody,
|
|
2918
|
-
errorCode
|
|
2919
|
-
});
|
|
2920
|
-
}
|
|
2921
|
-
}, "de_DeleteServiceSyncConfigCommandError");
|
|
2922
2026
|
var de_DeleteServiceTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2923
2027
|
if (output.statusCode >= 300) {
|
|
2924
|
-
return
|
|
2028
|
+
return de_CommandError(output, context);
|
|
2925
2029
|
}
|
|
2926
2030
|
const data = await parseBody(output.body, context);
|
|
2927
2031
|
let contents = {};
|
|
@@ -2932,43 +2036,9 @@ var de_DeleteServiceTemplateCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2932
2036
|
};
|
|
2933
2037
|
return response;
|
|
2934
2038
|
}, "de_DeleteServiceTemplateCommand");
|
|
2935
|
-
var de_DeleteServiceTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2936
|
-
const parsedOutput = {
|
|
2937
|
-
...output,
|
|
2938
|
-
body: await parseErrorBody(output.body, context)
|
|
2939
|
-
};
|
|
2940
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2941
|
-
switch (errorCode) {
|
|
2942
|
-
case "AccessDeniedException":
|
|
2943
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2944
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2945
|
-
case "ConflictException":
|
|
2946
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2947
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2948
|
-
case "InternalServerException":
|
|
2949
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2950
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2951
|
-
case "ResourceNotFoundException":
|
|
2952
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2953
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2954
|
-
case "ThrottlingException":
|
|
2955
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
2956
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2957
|
-
case "ValidationException":
|
|
2958
|
-
case "com.amazonaws.proton#ValidationException":
|
|
2959
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2960
|
-
default:
|
|
2961
|
-
const parsedBody = parsedOutput.body;
|
|
2962
|
-
return throwDefaultError({
|
|
2963
|
-
output,
|
|
2964
|
-
parsedBody,
|
|
2965
|
-
errorCode
|
|
2966
|
-
});
|
|
2967
|
-
}
|
|
2968
|
-
}, "de_DeleteServiceTemplateCommandError");
|
|
2969
2039
|
var de_DeleteServiceTemplateVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2970
2040
|
if (output.statusCode >= 300) {
|
|
2971
|
-
return
|
|
2041
|
+
return de_CommandError(output, context);
|
|
2972
2042
|
}
|
|
2973
2043
|
const data = await parseBody(output.body, context);
|
|
2974
2044
|
let contents = {};
|
|
@@ -2979,43 +2049,9 @@ var de_DeleteServiceTemplateVersionCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2979
2049
|
};
|
|
2980
2050
|
return response;
|
|
2981
2051
|
}, "de_DeleteServiceTemplateVersionCommand");
|
|
2982
|
-
var de_DeleteServiceTemplateVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2983
|
-
const parsedOutput = {
|
|
2984
|
-
...output,
|
|
2985
|
-
body: await parseErrorBody(output.body, context)
|
|
2986
|
-
};
|
|
2987
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2988
|
-
switch (errorCode) {
|
|
2989
|
-
case "AccessDeniedException":
|
|
2990
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
2991
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2992
|
-
case "ConflictException":
|
|
2993
|
-
case "com.amazonaws.proton#ConflictException":
|
|
2994
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2995
|
-
case "InternalServerException":
|
|
2996
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
2997
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2998
|
-
case "ResourceNotFoundException":
|
|
2999
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3000
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3001
|
-
case "ThrottlingException":
|
|
3002
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3003
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3004
|
-
case "ValidationException":
|
|
3005
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3006
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3007
|
-
default:
|
|
3008
|
-
const parsedBody = parsedOutput.body;
|
|
3009
|
-
return throwDefaultError({
|
|
3010
|
-
output,
|
|
3011
|
-
parsedBody,
|
|
3012
|
-
errorCode
|
|
3013
|
-
});
|
|
3014
|
-
}
|
|
3015
|
-
}, "de_DeleteServiceTemplateVersionCommandError");
|
|
3016
2052
|
var de_DeleteTemplateSyncConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3017
2053
|
if (output.statusCode >= 300) {
|
|
3018
|
-
return
|
|
2054
|
+
return de_CommandError(output, context);
|
|
3019
2055
|
}
|
|
3020
2056
|
const data = await parseBody(output.body, context);
|
|
3021
2057
|
let contents = {};
|
|
@@ -3026,43 +2062,9 @@ var de_DeleteTemplateSyncConfigCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3026
2062
|
};
|
|
3027
2063
|
return response;
|
|
3028
2064
|
}, "de_DeleteTemplateSyncConfigCommand");
|
|
3029
|
-
var de_DeleteTemplateSyncConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3030
|
-
const parsedOutput = {
|
|
3031
|
-
...output,
|
|
3032
|
-
body: await parseErrorBody(output.body, context)
|
|
3033
|
-
};
|
|
3034
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3035
|
-
switch (errorCode) {
|
|
3036
|
-
case "AccessDeniedException":
|
|
3037
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
3038
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3039
|
-
case "ConflictException":
|
|
3040
|
-
case "com.amazonaws.proton#ConflictException":
|
|
3041
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3042
|
-
case "InternalServerException":
|
|
3043
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3044
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3045
|
-
case "ResourceNotFoundException":
|
|
3046
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3047
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3048
|
-
case "ThrottlingException":
|
|
3049
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3050
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3051
|
-
case "ValidationException":
|
|
3052
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3053
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3054
|
-
default:
|
|
3055
|
-
const parsedBody = parsedOutput.body;
|
|
3056
|
-
return throwDefaultError({
|
|
3057
|
-
output,
|
|
3058
|
-
parsedBody,
|
|
3059
|
-
errorCode
|
|
3060
|
-
});
|
|
3061
|
-
}
|
|
3062
|
-
}, "de_DeleteTemplateSyncConfigCommandError");
|
|
3063
2065
|
var de_GetAccountSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3064
2066
|
if (output.statusCode >= 300) {
|
|
3065
|
-
return
|
|
2067
|
+
return de_CommandError(output, context);
|
|
3066
2068
|
}
|
|
3067
2069
|
const data = await parseBody(output.body, context);
|
|
3068
2070
|
let contents = {};
|
|
@@ -3073,40 +2075,9 @@ var de_GetAccountSettingsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3073
2075
|
};
|
|
3074
2076
|
return response;
|
|
3075
2077
|
}, "de_GetAccountSettingsCommand");
|
|
3076
|
-
var de_GetAccountSettingsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3077
|
-
const parsedOutput = {
|
|
3078
|
-
...output,
|
|
3079
|
-
body: await parseErrorBody(output.body, context)
|
|
3080
|
-
};
|
|
3081
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3082
|
-
switch (errorCode) {
|
|
3083
|
-
case "AccessDeniedException":
|
|
3084
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
3085
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3086
|
-
case "InternalServerException":
|
|
3087
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3088
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3089
|
-
case "ResourceNotFoundException":
|
|
3090
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3091
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3092
|
-
case "ThrottlingException":
|
|
3093
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3094
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3095
|
-
case "ValidationException":
|
|
3096
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3097
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3098
|
-
default:
|
|
3099
|
-
const parsedBody = parsedOutput.body;
|
|
3100
|
-
return throwDefaultError({
|
|
3101
|
-
output,
|
|
3102
|
-
parsedBody,
|
|
3103
|
-
errorCode
|
|
3104
|
-
});
|
|
3105
|
-
}
|
|
3106
|
-
}, "de_GetAccountSettingsCommandError");
|
|
3107
2078
|
var de_GetComponentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3108
2079
|
if (output.statusCode >= 300) {
|
|
3109
|
-
return
|
|
2080
|
+
return de_CommandError(output, context);
|
|
3110
2081
|
}
|
|
3111
2082
|
const data = await parseBody(output.body, context);
|
|
3112
2083
|
let contents = {};
|
|
@@ -3117,40 +2088,9 @@ var de_GetComponentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3117
2088
|
};
|
|
3118
2089
|
return response;
|
|
3119
2090
|
}, "de_GetComponentCommand");
|
|
3120
|
-
var de_GetComponentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3121
|
-
const parsedOutput = {
|
|
3122
|
-
...output,
|
|
3123
|
-
body: await parseErrorBody(output.body, context)
|
|
3124
|
-
};
|
|
3125
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3126
|
-
switch (errorCode) {
|
|
3127
|
-
case "AccessDeniedException":
|
|
3128
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
3129
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3130
|
-
case "InternalServerException":
|
|
3131
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3132
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3133
|
-
case "ResourceNotFoundException":
|
|
3134
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3135
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3136
|
-
case "ThrottlingException":
|
|
3137
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3138
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3139
|
-
case "ValidationException":
|
|
3140
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3141
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3142
|
-
default:
|
|
3143
|
-
const parsedBody = parsedOutput.body;
|
|
3144
|
-
return throwDefaultError({
|
|
3145
|
-
output,
|
|
3146
|
-
parsedBody,
|
|
3147
|
-
errorCode
|
|
3148
|
-
});
|
|
3149
|
-
}
|
|
3150
|
-
}, "de_GetComponentCommandError");
|
|
3151
2091
|
var de_GetDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3152
2092
|
if (output.statusCode >= 300) {
|
|
3153
|
-
return
|
|
2093
|
+
return de_CommandError(output, context);
|
|
3154
2094
|
}
|
|
3155
2095
|
const data = await parseBody(output.body, context);
|
|
3156
2096
|
let contents = {};
|
|
@@ -3161,40 +2101,9 @@ var de_GetDeploymentCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3161
2101
|
};
|
|
3162
2102
|
return response;
|
|
3163
2103
|
}, "de_GetDeploymentCommand");
|
|
3164
|
-
var de_GetDeploymentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3165
|
-
const parsedOutput = {
|
|
3166
|
-
...output,
|
|
3167
|
-
body: await parseErrorBody(output.body, context)
|
|
3168
|
-
};
|
|
3169
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3170
|
-
switch (errorCode) {
|
|
3171
|
-
case "AccessDeniedException":
|
|
3172
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
3173
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3174
|
-
case "InternalServerException":
|
|
3175
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3176
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3177
|
-
case "ResourceNotFoundException":
|
|
3178
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3179
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3180
|
-
case "ThrottlingException":
|
|
3181
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3182
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3183
|
-
case "ValidationException":
|
|
3184
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3185
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3186
|
-
default:
|
|
3187
|
-
const parsedBody = parsedOutput.body;
|
|
3188
|
-
return throwDefaultError({
|
|
3189
|
-
output,
|
|
3190
|
-
parsedBody,
|
|
3191
|
-
errorCode
|
|
3192
|
-
});
|
|
3193
|
-
}
|
|
3194
|
-
}, "de_GetDeploymentCommandError");
|
|
3195
2104
|
var de_GetEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3196
2105
|
if (output.statusCode >= 300) {
|
|
3197
|
-
return
|
|
2106
|
+
return de_CommandError(output, context);
|
|
3198
2107
|
}
|
|
3199
2108
|
const data = await parseBody(output.body, context);
|
|
3200
2109
|
let contents = {};
|
|
@@ -3205,40 +2114,9 @@ var de_GetEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3205
2114
|
};
|
|
3206
2115
|
return response;
|
|
3207
2116
|
}, "de_GetEnvironmentCommand");
|
|
3208
|
-
var de_GetEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3209
|
-
const parsedOutput = {
|
|
3210
|
-
...output,
|
|
3211
|
-
body: await parseErrorBody(output.body, context)
|
|
3212
|
-
};
|
|
3213
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3214
|
-
switch (errorCode) {
|
|
3215
|
-
case "AccessDeniedException":
|
|
3216
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
3217
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3218
|
-
case "InternalServerException":
|
|
3219
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3220
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3221
|
-
case "ResourceNotFoundException":
|
|
3222
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3223
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3224
|
-
case "ThrottlingException":
|
|
3225
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3226
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3227
|
-
case "ValidationException":
|
|
3228
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3229
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3230
|
-
default:
|
|
3231
|
-
const parsedBody = parsedOutput.body;
|
|
3232
|
-
return throwDefaultError({
|
|
3233
|
-
output,
|
|
3234
|
-
parsedBody,
|
|
3235
|
-
errorCode
|
|
3236
|
-
});
|
|
3237
|
-
}
|
|
3238
|
-
}, "de_GetEnvironmentCommandError");
|
|
3239
2117
|
var de_GetEnvironmentAccountConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3240
2118
|
if (output.statusCode >= 300) {
|
|
3241
|
-
return
|
|
2119
|
+
return de_CommandError(output, context);
|
|
3242
2120
|
}
|
|
3243
2121
|
const data = await parseBody(output.body, context);
|
|
3244
2122
|
let contents = {};
|
|
@@ -3249,40 +2127,9 @@ var de_GetEnvironmentAccountConnectionCommand = /* @__PURE__ */ __name(async (ou
|
|
|
3249
2127
|
};
|
|
3250
2128
|
return response;
|
|
3251
2129
|
}, "de_GetEnvironmentAccountConnectionCommand");
|
|
3252
|
-
var de_GetEnvironmentAccountConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3253
|
-
const parsedOutput = {
|
|
3254
|
-
...output,
|
|
3255
|
-
body: await parseErrorBody(output.body, context)
|
|
3256
|
-
};
|
|
3257
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3258
|
-
switch (errorCode) {
|
|
3259
|
-
case "AccessDeniedException":
|
|
3260
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
3261
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3262
|
-
case "InternalServerException":
|
|
3263
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3264
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3265
|
-
case "ResourceNotFoundException":
|
|
3266
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3267
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3268
|
-
case "ThrottlingException":
|
|
3269
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3270
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3271
|
-
case "ValidationException":
|
|
3272
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3273
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3274
|
-
default:
|
|
3275
|
-
const parsedBody = parsedOutput.body;
|
|
3276
|
-
return throwDefaultError({
|
|
3277
|
-
output,
|
|
3278
|
-
parsedBody,
|
|
3279
|
-
errorCode
|
|
3280
|
-
});
|
|
3281
|
-
}
|
|
3282
|
-
}, "de_GetEnvironmentAccountConnectionCommandError");
|
|
3283
2130
|
var de_GetEnvironmentTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3284
2131
|
if (output.statusCode >= 300) {
|
|
3285
|
-
return
|
|
2132
|
+
return de_CommandError(output, context);
|
|
3286
2133
|
}
|
|
3287
2134
|
const data = await parseBody(output.body, context);
|
|
3288
2135
|
let contents = {};
|
|
@@ -3293,40 +2140,9 @@ var de_GetEnvironmentTemplateCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3293
2140
|
};
|
|
3294
2141
|
return response;
|
|
3295
2142
|
}, "de_GetEnvironmentTemplateCommand");
|
|
3296
|
-
var de_GetEnvironmentTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3297
|
-
const parsedOutput = {
|
|
3298
|
-
...output,
|
|
3299
|
-
body: await parseErrorBody(output.body, context)
|
|
3300
|
-
};
|
|
3301
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3302
|
-
switch (errorCode) {
|
|
3303
|
-
case "AccessDeniedException":
|
|
3304
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
3305
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3306
|
-
case "InternalServerException":
|
|
3307
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3308
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3309
|
-
case "ResourceNotFoundException":
|
|
3310
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3311
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3312
|
-
case "ThrottlingException":
|
|
3313
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3314
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3315
|
-
case "ValidationException":
|
|
3316
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3317
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3318
|
-
default:
|
|
3319
|
-
const parsedBody = parsedOutput.body;
|
|
3320
|
-
return throwDefaultError({
|
|
3321
|
-
output,
|
|
3322
|
-
parsedBody,
|
|
3323
|
-
errorCode
|
|
3324
|
-
});
|
|
3325
|
-
}
|
|
3326
|
-
}, "de_GetEnvironmentTemplateCommandError");
|
|
3327
2143
|
var de_GetEnvironmentTemplateVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3328
2144
|
if (output.statusCode >= 300) {
|
|
3329
|
-
return
|
|
2145
|
+
return de_CommandError(output, context);
|
|
3330
2146
|
}
|
|
3331
2147
|
const data = await parseBody(output.body, context);
|
|
3332
2148
|
let contents = {};
|
|
@@ -3337,40 +2153,9 @@ var de_GetEnvironmentTemplateVersionCommand = /* @__PURE__ */ __name(async (outp
|
|
|
3337
2153
|
};
|
|
3338
2154
|
return response;
|
|
3339
2155
|
}, "de_GetEnvironmentTemplateVersionCommand");
|
|
3340
|
-
var de_GetEnvironmentTemplateVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3341
|
-
const parsedOutput = {
|
|
3342
|
-
...output,
|
|
3343
|
-
body: await parseErrorBody(output.body, context)
|
|
3344
|
-
};
|
|
3345
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3346
|
-
switch (errorCode) {
|
|
3347
|
-
case "AccessDeniedException":
|
|
3348
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
3349
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3350
|
-
case "InternalServerException":
|
|
3351
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3352
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3353
|
-
case "ResourceNotFoundException":
|
|
3354
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3355
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3356
|
-
case "ThrottlingException":
|
|
3357
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3358
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3359
|
-
case "ValidationException":
|
|
3360
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3361
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3362
|
-
default:
|
|
3363
|
-
const parsedBody = parsedOutput.body;
|
|
3364
|
-
return throwDefaultError({
|
|
3365
|
-
output,
|
|
3366
|
-
parsedBody,
|
|
3367
|
-
errorCode
|
|
3368
|
-
});
|
|
3369
|
-
}
|
|
3370
|
-
}, "de_GetEnvironmentTemplateVersionCommandError");
|
|
3371
2156
|
var de_GetRepositoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3372
2157
|
if (output.statusCode >= 300) {
|
|
3373
|
-
return
|
|
2158
|
+
return de_CommandError(output, context);
|
|
3374
2159
|
}
|
|
3375
2160
|
const data = await parseBody(output.body, context);
|
|
3376
2161
|
let contents = {};
|
|
@@ -3381,40 +2166,9 @@ var de_GetRepositoryCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3381
2166
|
};
|
|
3382
2167
|
return response;
|
|
3383
2168
|
}, "de_GetRepositoryCommand");
|
|
3384
|
-
var de_GetRepositoryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3385
|
-
const parsedOutput = {
|
|
3386
|
-
...output,
|
|
3387
|
-
body: await parseErrorBody(output.body, context)
|
|
3388
|
-
};
|
|
3389
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3390
|
-
switch (errorCode) {
|
|
3391
|
-
case "AccessDeniedException":
|
|
3392
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
3393
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3394
|
-
case "InternalServerException":
|
|
3395
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3396
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3397
|
-
case "ResourceNotFoundException":
|
|
3398
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3399
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3400
|
-
case "ThrottlingException":
|
|
3401
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3402
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3403
|
-
case "ValidationException":
|
|
3404
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3405
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3406
|
-
default:
|
|
3407
|
-
const parsedBody = parsedOutput.body;
|
|
3408
|
-
return throwDefaultError({
|
|
3409
|
-
output,
|
|
3410
|
-
parsedBody,
|
|
3411
|
-
errorCode
|
|
3412
|
-
});
|
|
3413
|
-
}
|
|
3414
|
-
}, "de_GetRepositoryCommandError");
|
|
3415
2169
|
var de_GetRepositorySyncStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3416
2170
|
if (output.statusCode >= 300) {
|
|
3417
|
-
return
|
|
2171
|
+
return de_CommandError(output, context);
|
|
3418
2172
|
}
|
|
3419
2173
|
const data = await parseBody(output.body, context);
|
|
3420
2174
|
let contents = {};
|
|
@@ -3425,40 +2179,9 @@ var de_GetRepositorySyncStatusCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
3425
2179
|
};
|
|
3426
2180
|
return response;
|
|
3427
2181
|
}, "de_GetRepositorySyncStatusCommand");
|
|
3428
|
-
var de_GetRepositorySyncStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3429
|
-
const parsedOutput = {
|
|
3430
|
-
...output,
|
|
3431
|
-
body: await parseErrorBody(output.body, context)
|
|
3432
|
-
};
|
|
3433
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3434
|
-
switch (errorCode) {
|
|
3435
|
-
case "AccessDeniedException":
|
|
3436
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
3437
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3438
|
-
case "InternalServerException":
|
|
3439
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3440
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3441
|
-
case "ResourceNotFoundException":
|
|
3442
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3443
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3444
|
-
case "ThrottlingException":
|
|
3445
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3446
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3447
|
-
case "ValidationException":
|
|
3448
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3449
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3450
|
-
default:
|
|
3451
|
-
const parsedBody = parsedOutput.body;
|
|
3452
|
-
return throwDefaultError({
|
|
3453
|
-
output,
|
|
3454
|
-
parsedBody,
|
|
3455
|
-
errorCode
|
|
3456
|
-
});
|
|
3457
|
-
}
|
|
3458
|
-
}, "de_GetRepositorySyncStatusCommandError");
|
|
3459
2182
|
var de_GetResourcesSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3460
2183
|
if (output.statusCode >= 300) {
|
|
3461
|
-
return
|
|
2184
|
+
return de_CommandError(output, context);
|
|
3462
2185
|
}
|
|
3463
2186
|
const data = await parseBody(output.body, context);
|
|
3464
2187
|
let contents = {};
|
|
@@ -3469,37 +2192,9 @@ var de_GetResourcesSummaryCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3469
2192
|
};
|
|
3470
2193
|
return response;
|
|
3471
2194
|
}, "de_GetResourcesSummaryCommand");
|
|
3472
|
-
var de_GetResourcesSummaryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3473
|
-
const parsedOutput = {
|
|
3474
|
-
...output,
|
|
3475
|
-
body: await parseErrorBody(output.body, context)
|
|
3476
|
-
};
|
|
3477
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3478
|
-
switch (errorCode) {
|
|
3479
|
-
case "AccessDeniedException":
|
|
3480
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
3481
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3482
|
-
case "InternalServerException":
|
|
3483
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3484
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3485
|
-
case "ThrottlingException":
|
|
3486
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3487
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3488
|
-
case "ValidationException":
|
|
3489
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3490
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3491
|
-
default:
|
|
3492
|
-
const parsedBody = parsedOutput.body;
|
|
3493
|
-
return throwDefaultError({
|
|
3494
|
-
output,
|
|
3495
|
-
parsedBody,
|
|
3496
|
-
errorCode
|
|
3497
|
-
});
|
|
3498
|
-
}
|
|
3499
|
-
}, "de_GetResourcesSummaryCommandError");
|
|
3500
2195
|
var de_GetServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3501
2196
|
if (output.statusCode >= 300) {
|
|
3502
|
-
return
|
|
2197
|
+
return de_CommandError(output, context);
|
|
3503
2198
|
}
|
|
3504
2199
|
const data = await parseBody(output.body, context);
|
|
3505
2200
|
let contents = {};
|
|
@@ -3510,40 +2205,9 @@ var de_GetServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3510
2205
|
};
|
|
3511
2206
|
return response;
|
|
3512
2207
|
}, "de_GetServiceCommand");
|
|
3513
|
-
var de_GetServiceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3514
|
-
const parsedOutput = {
|
|
3515
|
-
...output,
|
|
3516
|
-
body: await parseErrorBody(output.body, context)
|
|
3517
|
-
};
|
|
3518
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3519
|
-
switch (errorCode) {
|
|
3520
|
-
case "AccessDeniedException":
|
|
3521
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
3522
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3523
|
-
case "InternalServerException":
|
|
3524
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3525
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3526
|
-
case "ResourceNotFoundException":
|
|
3527
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3528
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3529
|
-
case "ThrottlingException":
|
|
3530
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3531
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3532
|
-
case "ValidationException":
|
|
3533
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3534
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3535
|
-
default:
|
|
3536
|
-
const parsedBody = parsedOutput.body;
|
|
3537
|
-
return throwDefaultError({
|
|
3538
|
-
output,
|
|
3539
|
-
parsedBody,
|
|
3540
|
-
errorCode
|
|
3541
|
-
});
|
|
3542
|
-
}
|
|
3543
|
-
}, "de_GetServiceCommandError");
|
|
3544
2208
|
var de_GetServiceInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3545
2209
|
if (output.statusCode >= 300) {
|
|
3546
|
-
return
|
|
2210
|
+
return de_CommandError(output, context);
|
|
3547
2211
|
}
|
|
3548
2212
|
const data = await parseBody(output.body, context);
|
|
3549
2213
|
let contents = {};
|
|
@@ -3554,40 +2218,9 @@ var de_GetServiceInstanceCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3554
2218
|
};
|
|
3555
2219
|
return response;
|
|
3556
2220
|
}, "de_GetServiceInstanceCommand");
|
|
3557
|
-
var de_GetServiceInstanceCommandError = /* @__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.proton#AccessDeniedException":
|
|
3566
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3567
|
-
case "InternalServerException":
|
|
3568
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3569
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3570
|
-
case "ResourceNotFoundException":
|
|
3571
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3572
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3573
|
-
case "ThrottlingException":
|
|
3574
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3575
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3576
|
-
case "ValidationException":
|
|
3577
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3578
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3579
|
-
default:
|
|
3580
|
-
const parsedBody = parsedOutput.body;
|
|
3581
|
-
return throwDefaultError({
|
|
3582
|
-
output,
|
|
3583
|
-
parsedBody,
|
|
3584
|
-
errorCode
|
|
3585
|
-
});
|
|
3586
|
-
}
|
|
3587
|
-
}, "de_GetServiceInstanceCommandError");
|
|
3588
2221
|
var de_GetServiceInstanceSyncStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3589
2222
|
if (output.statusCode >= 300) {
|
|
3590
|
-
return
|
|
2223
|
+
return de_CommandError(output, context);
|
|
3591
2224
|
}
|
|
3592
2225
|
const data = await parseBody(output.body, context);
|
|
3593
2226
|
let contents = {};
|
|
@@ -3598,40 +2231,9 @@ var de_GetServiceInstanceSyncStatusCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
3598
2231
|
};
|
|
3599
2232
|
return response;
|
|
3600
2233
|
}, "de_GetServiceInstanceSyncStatusCommand");
|
|
3601
|
-
var de_GetServiceInstanceSyncStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3602
|
-
const parsedOutput = {
|
|
3603
|
-
...output,
|
|
3604
|
-
body: await parseErrorBody(output.body, context)
|
|
3605
|
-
};
|
|
3606
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3607
|
-
switch (errorCode) {
|
|
3608
|
-
case "AccessDeniedException":
|
|
3609
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
3610
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3611
|
-
case "InternalServerException":
|
|
3612
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3613
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3614
|
-
case "ResourceNotFoundException":
|
|
3615
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3616
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3617
|
-
case "ThrottlingException":
|
|
3618
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3619
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3620
|
-
case "ValidationException":
|
|
3621
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3622
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3623
|
-
default:
|
|
3624
|
-
const parsedBody = parsedOutput.body;
|
|
3625
|
-
return throwDefaultError({
|
|
3626
|
-
output,
|
|
3627
|
-
parsedBody,
|
|
3628
|
-
errorCode
|
|
3629
|
-
});
|
|
3630
|
-
}
|
|
3631
|
-
}, "de_GetServiceInstanceSyncStatusCommandError");
|
|
3632
2234
|
var de_GetServiceSyncBlockerSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3633
2235
|
if (output.statusCode >= 300) {
|
|
3634
|
-
return
|
|
2236
|
+
return de_CommandError(output, context);
|
|
3635
2237
|
}
|
|
3636
2238
|
const data = await parseBody(output.body, context);
|
|
3637
2239
|
let contents = {};
|
|
@@ -3642,40 +2244,9 @@ var de_GetServiceSyncBlockerSummaryCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
3642
2244
|
};
|
|
3643
2245
|
return response;
|
|
3644
2246
|
}, "de_GetServiceSyncBlockerSummaryCommand");
|
|
3645
|
-
var de_GetServiceSyncBlockerSummaryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3646
|
-
const parsedOutput = {
|
|
3647
|
-
...output,
|
|
3648
|
-
body: await parseErrorBody(output.body, context)
|
|
3649
|
-
};
|
|
3650
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3651
|
-
switch (errorCode) {
|
|
3652
|
-
case "AccessDeniedException":
|
|
3653
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
3654
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3655
|
-
case "InternalServerException":
|
|
3656
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3657
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3658
|
-
case "ResourceNotFoundException":
|
|
3659
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3660
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3661
|
-
case "ThrottlingException":
|
|
3662
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3663
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3664
|
-
case "ValidationException":
|
|
3665
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3666
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3667
|
-
default:
|
|
3668
|
-
const parsedBody = parsedOutput.body;
|
|
3669
|
-
return throwDefaultError({
|
|
3670
|
-
output,
|
|
3671
|
-
parsedBody,
|
|
3672
|
-
errorCode
|
|
3673
|
-
});
|
|
3674
|
-
}
|
|
3675
|
-
}, "de_GetServiceSyncBlockerSummaryCommandError");
|
|
3676
2247
|
var de_GetServiceSyncConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3677
2248
|
if (output.statusCode >= 300) {
|
|
3678
|
-
return
|
|
2249
|
+
return de_CommandError(output, context);
|
|
3679
2250
|
}
|
|
3680
2251
|
const data = await parseBody(output.body, context);
|
|
3681
2252
|
let contents = {};
|
|
@@ -3686,40 +2257,9 @@ var de_GetServiceSyncConfigCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3686
2257
|
};
|
|
3687
2258
|
return response;
|
|
3688
2259
|
}, "de_GetServiceSyncConfigCommand");
|
|
3689
|
-
var de_GetServiceSyncConfigCommandError = /* @__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.proton#AccessDeniedException":
|
|
3698
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3699
|
-
case "InternalServerException":
|
|
3700
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3701
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3702
|
-
case "ResourceNotFoundException":
|
|
3703
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3704
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3705
|
-
case "ThrottlingException":
|
|
3706
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3707
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3708
|
-
case "ValidationException":
|
|
3709
|
-
case "com.amazonaws.proton#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_GetServiceSyncConfigCommandError");
|
|
3720
2260
|
var de_GetServiceTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3721
2261
|
if (output.statusCode >= 300) {
|
|
3722
|
-
return
|
|
2262
|
+
return de_CommandError(output, context);
|
|
3723
2263
|
}
|
|
3724
2264
|
const data = await parseBody(output.body, context);
|
|
3725
2265
|
let contents = {};
|
|
@@ -3730,40 +2270,9 @@ var de_GetServiceTemplateCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3730
2270
|
};
|
|
3731
2271
|
return response;
|
|
3732
2272
|
}, "de_GetServiceTemplateCommand");
|
|
3733
|
-
var de_GetServiceTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3734
|
-
const parsedOutput = {
|
|
3735
|
-
...output,
|
|
3736
|
-
body: await parseErrorBody(output.body, context)
|
|
3737
|
-
};
|
|
3738
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3739
|
-
switch (errorCode) {
|
|
3740
|
-
case "AccessDeniedException":
|
|
3741
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
3742
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3743
|
-
case "InternalServerException":
|
|
3744
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3745
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3746
|
-
case "ResourceNotFoundException":
|
|
3747
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3748
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3749
|
-
case "ThrottlingException":
|
|
3750
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3751
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3752
|
-
case "ValidationException":
|
|
3753
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3754
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3755
|
-
default:
|
|
3756
|
-
const parsedBody = parsedOutput.body;
|
|
3757
|
-
return throwDefaultError({
|
|
3758
|
-
output,
|
|
3759
|
-
parsedBody,
|
|
3760
|
-
errorCode
|
|
3761
|
-
});
|
|
3762
|
-
}
|
|
3763
|
-
}, "de_GetServiceTemplateCommandError");
|
|
3764
2273
|
var de_GetServiceTemplateVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3765
2274
|
if (output.statusCode >= 300) {
|
|
3766
|
-
return
|
|
2275
|
+
return de_CommandError(output, context);
|
|
3767
2276
|
}
|
|
3768
2277
|
const data = await parseBody(output.body, context);
|
|
3769
2278
|
let contents = {};
|
|
@@ -3774,40 +2283,9 @@ var de_GetServiceTemplateVersionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3774
2283
|
};
|
|
3775
2284
|
return response;
|
|
3776
2285
|
}, "de_GetServiceTemplateVersionCommand");
|
|
3777
|
-
var de_GetServiceTemplateVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3778
|
-
const parsedOutput = {
|
|
3779
|
-
...output,
|
|
3780
|
-
body: await parseErrorBody(output.body, context)
|
|
3781
|
-
};
|
|
3782
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3783
|
-
switch (errorCode) {
|
|
3784
|
-
case "AccessDeniedException":
|
|
3785
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
3786
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3787
|
-
case "InternalServerException":
|
|
3788
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3789
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3790
|
-
case "ResourceNotFoundException":
|
|
3791
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3792
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3793
|
-
case "ThrottlingException":
|
|
3794
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3795
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3796
|
-
case "ValidationException":
|
|
3797
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3798
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3799
|
-
default:
|
|
3800
|
-
const parsedBody = parsedOutput.body;
|
|
3801
|
-
return throwDefaultError({
|
|
3802
|
-
output,
|
|
3803
|
-
parsedBody,
|
|
3804
|
-
errorCode
|
|
3805
|
-
});
|
|
3806
|
-
}
|
|
3807
|
-
}, "de_GetServiceTemplateVersionCommandError");
|
|
3808
2286
|
var de_GetTemplateSyncConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3809
2287
|
if (output.statusCode >= 300) {
|
|
3810
|
-
return
|
|
2288
|
+
return de_CommandError(output, context);
|
|
3811
2289
|
}
|
|
3812
2290
|
const data = await parseBody(output.body, context);
|
|
3813
2291
|
let contents = {};
|
|
@@ -3818,40 +2296,9 @@ var de_GetTemplateSyncConfigCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3818
2296
|
};
|
|
3819
2297
|
return response;
|
|
3820
2298
|
}, "de_GetTemplateSyncConfigCommand");
|
|
3821
|
-
var de_GetTemplateSyncConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3822
|
-
const parsedOutput = {
|
|
3823
|
-
...output,
|
|
3824
|
-
body: await parseErrorBody(output.body, context)
|
|
3825
|
-
};
|
|
3826
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3827
|
-
switch (errorCode) {
|
|
3828
|
-
case "AccessDeniedException":
|
|
3829
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
3830
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3831
|
-
case "InternalServerException":
|
|
3832
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3833
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3834
|
-
case "ResourceNotFoundException":
|
|
3835
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3836
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3837
|
-
case "ThrottlingException":
|
|
3838
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3839
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3840
|
-
case "ValidationException":
|
|
3841
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3842
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3843
|
-
default:
|
|
3844
|
-
const parsedBody = parsedOutput.body;
|
|
3845
|
-
return throwDefaultError({
|
|
3846
|
-
output,
|
|
3847
|
-
parsedBody,
|
|
3848
|
-
errorCode
|
|
3849
|
-
});
|
|
3850
|
-
}
|
|
3851
|
-
}, "de_GetTemplateSyncConfigCommandError");
|
|
3852
2299
|
var de_GetTemplateSyncStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3853
2300
|
if (output.statusCode >= 300) {
|
|
3854
|
-
return
|
|
2301
|
+
return de_CommandError(output, context);
|
|
3855
2302
|
}
|
|
3856
2303
|
const data = await parseBody(output.body, context);
|
|
3857
2304
|
let contents = {};
|
|
@@ -3862,40 +2309,9 @@ var de_GetTemplateSyncStatusCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3862
2309
|
};
|
|
3863
2310
|
return response;
|
|
3864
2311
|
}, "de_GetTemplateSyncStatusCommand");
|
|
3865
|
-
var de_GetTemplateSyncStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3866
|
-
const parsedOutput = {
|
|
3867
|
-
...output,
|
|
3868
|
-
body: await parseErrorBody(output.body, context)
|
|
3869
|
-
};
|
|
3870
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3871
|
-
switch (errorCode) {
|
|
3872
|
-
case "AccessDeniedException":
|
|
3873
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
3874
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3875
|
-
case "InternalServerException":
|
|
3876
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3877
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3878
|
-
case "ResourceNotFoundException":
|
|
3879
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3880
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3881
|
-
case "ThrottlingException":
|
|
3882
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3883
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3884
|
-
case "ValidationException":
|
|
3885
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3886
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3887
|
-
default:
|
|
3888
|
-
const parsedBody = parsedOutput.body;
|
|
3889
|
-
return throwDefaultError({
|
|
3890
|
-
output,
|
|
3891
|
-
parsedBody,
|
|
3892
|
-
errorCode
|
|
3893
|
-
});
|
|
3894
|
-
}
|
|
3895
|
-
}, "de_GetTemplateSyncStatusCommandError");
|
|
3896
2312
|
var de_ListComponentOutputsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3897
2313
|
if (output.statusCode >= 300) {
|
|
3898
|
-
return
|
|
2314
|
+
return de_CommandError(output, context);
|
|
3899
2315
|
}
|
|
3900
2316
|
const data = await parseBody(output.body, context);
|
|
3901
2317
|
let contents = {};
|
|
@@ -3906,40 +2322,9 @@ var de_ListComponentOutputsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3906
2322
|
};
|
|
3907
2323
|
return response;
|
|
3908
2324
|
}, "de_ListComponentOutputsCommand");
|
|
3909
|
-
var de_ListComponentOutputsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3910
|
-
const parsedOutput = {
|
|
3911
|
-
...output,
|
|
3912
|
-
body: await parseErrorBody(output.body, context)
|
|
3913
|
-
};
|
|
3914
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3915
|
-
switch (errorCode) {
|
|
3916
|
-
case "AccessDeniedException":
|
|
3917
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
3918
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3919
|
-
case "InternalServerException":
|
|
3920
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3921
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3922
|
-
case "ResourceNotFoundException":
|
|
3923
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3924
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3925
|
-
case "ThrottlingException":
|
|
3926
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3927
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3928
|
-
case "ValidationException":
|
|
3929
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3930
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3931
|
-
default:
|
|
3932
|
-
const parsedBody = parsedOutput.body;
|
|
3933
|
-
return throwDefaultError({
|
|
3934
|
-
output,
|
|
3935
|
-
parsedBody,
|
|
3936
|
-
errorCode
|
|
3937
|
-
});
|
|
3938
|
-
}
|
|
3939
|
-
}, "de_ListComponentOutputsCommandError");
|
|
3940
2325
|
var de_ListComponentProvisionedResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3941
2326
|
if (output.statusCode >= 300) {
|
|
3942
|
-
return
|
|
2327
|
+
return de_CommandError(output, context);
|
|
3943
2328
|
}
|
|
3944
2329
|
const data = await parseBody(output.body, context);
|
|
3945
2330
|
let contents = {};
|
|
@@ -3950,40 +2335,9 @@ var de_ListComponentProvisionedResourcesCommand = /* @__PURE__ */ __name(async (
|
|
|
3950
2335
|
};
|
|
3951
2336
|
return response;
|
|
3952
2337
|
}, "de_ListComponentProvisionedResourcesCommand");
|
|
3953
|
-
var de_ListComponentProvisionedResourcesCommandError = /* @__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.proton#AccessDeniedException":
|
|
3962
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3963
|
-
case "InternalServerException":
|
|
3964
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
3965
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3966
|
-
case "ResourceNotFoundException":
|
|
3967
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3968
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3969
|
-
case "ThrottlingException":
|
|
3970
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
3971
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3972
|
-
case "ValidationException":
|
|
3973
|
-
case "com.amazonaws.proton#ValidationException":
|
|
3974
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3975
|
-
default:
|
|
3976
|
-
const parsedBody = parsedOutput.body;
|
|
3977
|
-
return throwDefaultError({
|
|
3978
|
-
output,
|
|
3979
|
-
parsedBody,
|
|
3980
|
-
errorCode
|
|
3981
|
-
});
|
|
3982
|
-
}
|
|
3983
|
-
}, "de_ListComponentProvisionedResourcesCommandError");
|
|
3984
2338
|
var de_ListComponentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3985
2339
|
if (output.statusCode >= 300) {
|
|
3986
|
-
return
|
|
2340
|
+
return de_CommandError(output, context);
|
|
3987
2341
|
}
|
|
3988
2342
|
const data = await parseBody(output.body, context);
|
|
3989
2343
|
let contents = {};
|
|
@@ -3994,37 +2348,9 @@ var de_ListComponentsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3994
2348
|
};
|
|
3995
2349
|
return response;
|
|
3996
2350
|
}, "de_ListComponentsCommand");
|
|
3997
|
-
var de_ListComponentsCommandError = /* @__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 "AccessDeniedException":
|
|
4005
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4006
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4007
|
-
case "InternalServerException":
|
|
4008
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4009
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4010
|
-
case "ThrottlingException":
|
|
4011
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4012
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4013
|
-
case "ValidationException":
|
|
4014
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4015
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4016
|
-
default:
|
|
4017
|
-
const parsedBody = parsedOutput.body;
|
|
4018
|
-
return throwDefaultError({
|
|
4019
|
-
output,
|
|
4020
|
-
parsedBody,
|
|
4021
|
-
errorCode
|
|
4022
|
-
});
|
|
4023
|
-
}
|
|
4024
|
-
}, "de_ListComponentsCommandError");
|
|
4025
2351
|
var de_ListDeploymentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4026
2352
|
if (output.statusCode >= 300) {
|
|
4027
|
-
return
|
|
2353
|
+
return de_CommandError(output, context);
|
|
4028
2354
|
}
|
|
4029
2355
|
const data = await parseBody(output.body, context);
|
|
4030
2356
|
let contents = {};
|
|
@@ -4035,40 +2361,9 @@ var de_ListDeploymentsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
4035
2361
|
};
|
|
4036
2362
|
return response;
|
|
4037
2363
|
}, "de_ListDeploymentsCommand");
|
|
4038
|
-
var de_ListDeploymentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4039
|
-
const parsedOutput = {
|
|
4040
|
-
...output,
|
|
4041
|
-
body: await parseErrorBody(output.body, context)
|
|
4042
|
-
};
|
|
4043
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4044
|
-
switch (errorCode) {
|
|
4045
|
-
case "AccessDeniedException":
|
|
4046
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4047
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4048
|
-
case "InternalServerException":
|
|
4049
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4050
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4051
|
-
case "ResourceNotFoundException":
|
|
4052
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
4053
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4054
|
-
case "ThrottlingException":
|
|
4055
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4056
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4057
|
-
case "ValidationException":
|
|
4058
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4059
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4060
|
-
default:
|
|
4061
|
-
const parsedBody = parsedOutput.body;
|
|
4062
|
-
return throwDefaultError({
|
|
4063
|
-
output,
|
|
4064
|
-
parsedBody,
|
|
4065
|
-
errorCode
|
|
4066
|
-
});
|
|
4067
|
-
}
|
|
4068
|
-
}, "de_ListDeploymentsCommandError");
|
|
4069
2364
|
var de_ListEnvironmentAccountConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4070
2365
|
if (output.statusCode >= 300) {
|
|
4071
|
-
return
|
|
2366
|
+
return de_CommandError(output, context);
|
|
4072
2367
|
}
|
|
4073
2368
|
const data = await parseBody(output.body, context);
|
|
4074
2369
|
let contents = {};
|
|
@@ -4079,37 +2374,9 @@ var de_ListEnvironmentAccountConnectionsCommand = /* @__PURE__ */ __name(async (
|
|
|
4079
2374
|
};
|
|
4080
2375
|
return response;
|
|
4081
2376
|
}, "de_ListEnvironmentAccountConnectionsCommand");
|
|
4082
|
-
var de_ListEnvironmentAccountConnectionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4083
|
-
const parsedOutput = {
|
|
4084
|
-
...output,
|
|
4085
|
-
body: await parseErrorBody(output.body, context)
|
|
4086
|
-
};
|
|
4087
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4088
|
-
switch (errorCode) {
|
|
4089
|
-
case "AccessDeniedException":
|
|
4090
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4091
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4092
|
-
case "InternalServerException":
|
|
4093
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4094
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4095
|
-
case "ThrottlingException":
|
|
4096
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4097
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4098
|
-
case "ValidationException":
|
|
4099
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4100
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4101
|
-
default:
|
|
4102
|
-
const parsedBody = parsedOutput.body;
|
|
4103
|
-
return throwDefaultError({
|
|
4104
|
-
output,
|
|
4105
|
-
parsedBody,
|
|
4106
|
-
errorCode
|
|
4107
|
-
});
|
|
4108
|
-
}
|
|
4109
|
-
}, "de_ListEnvironmentAccountConnectionsCommandError");
|
|
4110
2377
|
var de_ListEnvironmentOutputsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4111
2378
|
if (output.statusCode >= 300) {
|
|
4112
|
-
return
|
|
2379
|
+
return de_CommandError(output, context);
|
|
4113
2380
|
}
|
|
4114
2381
|
const data = await parseBody(output.body, context);
|
|
4115
2382
|
let contents = {};
|
|
@@ -4120,40 +2387,9 @@ var de_ListEnvironmentOutputsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
4120
2387
|
};
|
|
4121
2388
|
return response;
|
|
4122
2389
|
}, "de_ListEnvironmentOutputsCommand");
|
|
4123
|
-
var de_ListEnvironmentOutputsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4124
|
-
const parsedOutput = {
|
|
4125
|
-
...output,
|
|
4126
|
-
body: await parseErrorBody(output.body, context)
|
|
4127
|
-
};
|
|
4128
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4129
|
-
switch (errorCode) {
|
|
4130
|
-
case "AccessDeniedException":
|
|
4131
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4132
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4133
|
-
case "InternalServerException":
|
|
4134
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4135
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4136
|
-
case "ResourceNotFoundException":
|
|
4137
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
4138
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4139
|
-
case "ThrottlingException":
|
|
4140
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4141
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4142
|
-
case "ValidationException":
|
|
4143
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4144
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4145
|
-
default:
|
|
4146
|
-
const parsedBody = parsedOutput.body;
|
|
4147
|
-
return throwDefaultError({
|
|
4148
|
-
output,
|
|
4149
|
-
parsedBody,
|
|
4150
|
-
errorCode
|
|
4151
|
-
});
|
|
4152
|
-
}
|
|
4153
|
-
}, "de_ListEnvironmentOutputsCommandError");
|
|
4154
2390
|
var de_ListEnvironmentProvisionedResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4155
2391
|
if (output.statusCode >= 300) {
|
|
4156
|
-
return
|
|
2392
|
+
return de_CommandError(output, context);
|
|
4157
2393
|
}
|
|
4158
2394
|
const data = await parseBody(output.body, context);
|
|
4159
2395
|
let contents = {};
|
|
@@ -4164,40 +2400,9 @@ var de_ListEnvironmentProvisionedResourcesCommand = /* @__PURE__ */ __name(async
|
|
|
4164
2400
|
};
|
|
4165
2401
|
return response;
|
|
4166
2402
|
}, "de_ListEnvironmentProvisionedResourcesCommand");
|
|
4167
|
-
var de_ListEnvironmentProvisionedResourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4168
|
-
const parsedOutput = {
|
|
4169
|
-
...output,
|
|
4170
|
-
body: await parseErrorBody(output.body, context)
|
|
4171
|
-
};
|
|
4172
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4173
|
-
switch (errorCode) {
|
|
4174
|
-
case "AccessDeniedException":
|
|
4175
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4176
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4177
|
-
case "InternalServerException":
|
|
4178
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4179
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4180
|
-
case "ResourceNotFoundException":
|
|
4181
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
4182
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4183
|
-
case "ThrottlingException":
|
|
4184
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4185
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4186
|
-
case "ValidationException":
|
|
4187
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4188
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4189
|
-
default:
|
|
4190
|
-
const parsedBody = parsedOutput.body;
|
|
4191
|
-
return throwDefaultError({
|
|
4192
|
-
output,
|
|
4193
|
-
parsedBody,
|
|
4194
|
-
errorCode
|
|
4195
|
-
});
|
|
4196
|
-
}
|
|
4197
|
-
}, "de_ListEnvironmentProvisionedResourcesCommandError");
|
|
4198
2403
|
var de_ListEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4199
2404
|
if (output.statusCode >= 300) {
|
|
4200
|
-
return
|
|
2405
|
+
return de_CommandError(output, context);
|
|
4201
2406
|
}
|
|
4202
2407
|
const data = await parseBody(output.body, context);
|
|
4203
2408
|
let contents = {};
|
|
@@ -4208,40 +2413,9 @@ var de_ListEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
4208
2413
|
};
|
|
4209
2414
|
return response;
|
|
4210
2415
|
}, "de_ListEnvironmentsCommand");
|
|
4211
|
-
var de_ListEnvironmentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4212
|
-
const parsedOutput = {
|
|
4213
|
-
...output,
|
|
4214
|
-
body: await parseErrorBody(output.body, context)
|
|
4215
|
-
};
|
|
4216
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4217
|
-
switch (errorCode) {
|
|
4218
|
-
case "AccessDeniedException":
|
|
4219
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4220
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4221
|
-
case "InternalServerException":
|
|
4222
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4223
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4224
|
-
case "ResourceNotFoundException":
|
|
4225
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
4226
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4227
|
-
case "ThrottlingException":
|
|
4228
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4229
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4230
|
-
case "ValidationException":
|
|
4231
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4232
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4233
|
-
default:
|
|
4234
|
-
const parsedBody = parsedOutput.body;
|
|
4235
|
-
return throwDefaultError({
|
|
4236
|
-
output,
|
|
4237
|
-
parsedBody,
|
|
4238
|
-
errorCode
|
|
4239
|
-
});
|
|
4240
|
-
}
|
|
4241
|
-
}, "de_ListEnvironmentsCommandError");
|
|
4242
2416
|
var de_ListEnvironmentTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4243
2417
|
if (output.statusCode >= 300) {
|
|
4244
|
-
return
|
|
2418
|
+
return de_CommandError(output, context);
|
|
4245
2419
|
}
|
|
4246
2420
|
const data = await parseBody(output.body, context);
|
|
4247
2421
|
let contents = {};
|
|
@@ -4252,37 +2426,9 @@ var de_ListEnvironmentTemplatesCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
4252
2426
|
};
|
|
4253
2427
|
return response;
|
|
4254
2428
|
}, "de_ListEnvironmentTemplatesCommand");
|
|
4255
|
-
var de_ListEnvironmentTemplatesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4256
|
-
const parsedOutput = {
|
|
4257
|
-
...output,
|
|
4258
|
-
body: await parseErrorBody(output.body, context)
|
|
4259
|
-
};
|
|
4260
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4261
|
-
switch (errorCode) {
|
|
4262
|
-
case "AccessDeniedException":
|
|
4263
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4264
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4265
|
-
case "InternalServerException":
|
|
4266
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4267
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4268
|
-
case "ThrottlingException":
|
|
4269
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4270
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4271
|
-
case "ValidationException":
|
|
4272
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4273
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4274
|
-
default:
|
|
4275
|
-
const parsedBody = parsedOutput.body;
|
|
4276
|
-
return throwDefaultError({
|
|
4277
|
-
output,
|
|
4278
|
-
parsedBody,
|
|
4279
|
-
errorCode
|
|
4280
|
-
});
|
|
4281
|
-
}
|
|
4282
|
-
}, "de_ListEnvironmentTemplatesCommandError");
|
|
4283
2429
|
var de_ListEnvironmentTemplateVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4284
2430
|
if (output.statusCode >= 300) {
|
|
4285
|
-
return
|
|
2431
|
+
return de_CommandError(output, context);
|
|
4286
2432
|
}
|
|
4287
2433
|
const data = await parseBody(output.body, context);
|
|
4288
2434
|
let contents = {};
|
|
@@ -4293,40 +2439,9 @@ var de_ListEnvironmentTemplateVersionsCommand = /* @__PURE__ */ __name(async (ou
|
|
|
4293
2439
|
};
|
|
4294
2440
|
return response;
|
|
4295
2441
|
}, "de_ListEnvironmentTemplateVersionsCommand");
|
|
4296
|
-
var de_ListEnvironmentTemplateVersionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4297
|
-
const parsedOutput = {
|
|
4298
|
-
...output,
|
|
4299
|
-
body: await parseErrorBody(output.body, context)
|
|
4300
|
-
};
|
|
4301
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4302
|
-
switch (errorCode) {
|
|
4303
|
-
case "AccessDeniedException":
|
|
4304
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4305
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4306
|
-
case "InternalServerException":
|
|
4307
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4308
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4309
|
-
case "ResourceNotFoundException":
|
|
4310
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
4311
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4312
|
-
case "ThrottlingException":
|
|
4313
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4314
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4315
|
-
case "ValidationException":
|
|
4316
|
-
case "com.amazonaws.proton#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_ListEnvironmentTemplateVersionsCommandError");
|
|
4327
2442
|
var de_ListRepositoriesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4328
2443
|
if (output.statusCode >= 300) {
|
|
4329
|
-
return
|
|
2444
|
+
return de_CommandError(output, context);
|
|
4330
2445
|
}
|
|
4331
2446
|
const data = await parseBody(output.body, context);
|
|
4332
2447
|
let contents = {};
|
|
@@ -4337,40 +2452,9 @@ var de_ListRepositoriesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
4337
2452
|
};
|
|
4338
2453
|
return response;
|
|
4339
2454
|
}, "de_ListRepositoriesCommand");
|
|
4340
|
-
var de_ListRepositoriesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4341
|
-
const parsedOutput = {
|
|
4342
|
-
...output,
|
|
4343
|
-
body: await parseErrorBody(output.body, context)
|
|
4344
|
-
};
|
|
4345
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4346
|
-
switch (errorCode) {
|
|
4347
|
-
case "AccessDeniedException":
|
|
4348
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4349
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4350
|
-
case "InternalServerException":
|
|
4351
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4352
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4353
|
-
case "ResourceNotFoundException":
|
|
4354
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
4355
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4356
|
-
case "ThrottlingException":
|
|
4357
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4358
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4359
|
-
case "ValidationException":
|
|
4360
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4361
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4362
|
-
default:
|
|
4363
|
-
const parsedBody = parsedOutput.body;
|
|
4364
|
-
return throwDefaultError({
|
|
4365
|
-
output,
|
|
4366
|
-
parsedBody,
|
|
4367
|
-
errorCode
|
|
4368
|
-
});
|
|
4369
|
-
}
|
|
4370
|
-
}, "de_ListRepositoriesCommandError");
|
|
4371
2455
|
var de_ListRepositorySyncDefinitionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4372
2456
|
if (output.statusCode >= 300) {
|
|
4373
|
-
return
|
|
2457
|
+
return de_CommandError(output, context);
|
|
4374
2458
|
}
|
|
4375
2459
|
const data = await parseBody(output.body, context);
|
|
4376
2460
|
let contents = {};
|
|
@@ -4381,37 +2465,9 @@ var de_ListRepositorySyncDefinitionsCommand = /* @__PURE__ */ __name(async (outp
|
|
|
4381
2465
|
};
|
|
4382
2466
|
return response;
|
|
4383
2467
|
}, "de_ListRepositorySyncDefinitionsCommand");
|
|
4384
|
-
var de_ListRepositorySyncDefinitionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4385
|
-
const parsedOutput = {
|
|
4386
|
-
...output,
|
|
4387
|
-
body: await parseErrorBody(output.body, context)
|
|
4388
|
-
};
|
|
4389
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4390
|
-
switch (errorCode) {
|
|
4391
|
-
case "AccessDeniedException":
|
|
4392
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4393
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4394
|
-
case "InternalServerException":
|
|
4395
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4396
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4397
|
-
case "ThrottlingException":
|
|
4398
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4399
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4400
|
-
case "ValidationException":
|
|
4401
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4402
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4403
|
-
default:
|
|
4404
|
-
const parsedBody = parsedOutput.body;
|
|
4405
|
-
return throwDefaultError({
|
|
4406
|
-
output,
|
|
4407
|
-
parsedBody,
|
|
4408
|
-
errorCode
|
|
4409
|
-
});
|
|
4410
|
-
}
|
|
4411
|
-
}, "de_ListRepositorySyncDefinitionsCommandError");
|
|
4412
2468
|
var de_ListServiceInstanceOutputsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4413
2469
|
if (output.statusCode >= 300) {
|
|
4414
|
-
return
|
|
2470
|
+
return de_CommandError(output, context);
|
|
4415
2471
|
}
|
|
4416
2472
|
const data = await parseBody(output.body, context);
|
|
4417
2473
|
let contents = {};
|
|
@@ -4422,40 +2478,9 @@ var de_ListServiceInstanceOutputsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
4422
2478
|
};
|
|
4423
2479
|
return response;
|
|
4424
2480
|
}, "de_ListServiceInstanceOutputsCommand");
|
|
4425
|
-
var de_ListServiceInstanceOutputsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4426
|
-
const parsedOutput = {
|
|
4427
|
-
...output,
|
|
4428
|
-
body: await parseErrorBody(output.body, context)
|
|
4429
|
-
};
|
|
4430
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4431
|
-
switch (errorCode) {
|
|
4432
|
-
case "AccessDeniedException":
|
|
4433
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4434
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4435
|
-
case "InternalServerException":
|
|
4436
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4437
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4438
|
-
case "ResourceNotFoundException":
|
|
4439
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
4440
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4441
|
-
case "ThrottlingException":
|
|
4442
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4443
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4444
|
-
case "ValidationException":
|
|
4445
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4446
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4447
|
-
default:
|
|
4448
|
-
const parsedBody = parsedOutput.body;
|
|
4449
|
-
return throwDefaultError({
|
|
4450
|
-
output,
|
|
4451
|
-
parsedBody,
|
|
4452
|
-
errorCode
|
|
4453
|
-
});
|
|
4454
|
-
}
|
|
4455
|
-
}, "de_ListServiceInstanceOutputsCommandError");
|
|
4456
2481
|
var de_ListServiceInstanceProvisionedResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4457
2482
|
if (output.statusCode >= 300) {
|
|
4458
|
-
return
|
|
2483
|
+
return de_CommandError(output, context);
|
|
4459
2484
|
}
|
|
4460
2485
|
const data = await parseBody(output.body, context);
|
|
4461
2486
|
let contents = {};
|
|
@@ -4466,40 +2491,9 @@ var de_ListServiceInstanceProvisionedResourcesCommand = /* @__PURE__ */ __name(a
|
|
|
4466
2491
|
};
|
|
4467
2492
|
return response;
|
|
4468
2493
|
}, "de_ListServiceInstanceProvisionedResourcesCommand");
|
|
4469
|
-
var de_ListServiceInstanceProvisionedResourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4470
|
-
const parsedOutput = {
|
|
4471
|
-
...output,
|
|
4472
|
-
body: await parseErrorBody(output.body, context)
|
|
4473
|
-
};
|
|
4474
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4475
|
-
switch (errorCode) {
|
|
4476
|
-
case "AccessDeniedException":
|
|
4477
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4478
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4479
|
-
case "InternalServerException":
|
|
4480
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4481
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4482
|
-
case "ResourceNotFoundException":
|
|
4483
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
4484
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4485
|
-
case "ThrottlingException":
|
|
4486
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4487
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4488
|
-
case "ValidationException":
|
|
4489
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4490
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4491
|
-
default:
|
|
4492
|
-
const parsedBody = parsedOutput.body;
|
|
4493
|
-
return throwDefaultError({
|
|
4494
|
-
output,
|
|
4495
|
-
parsedBody,
|
|
4496
|
-
errorCode
|
|
4497
|
-
});
|
|
4498
|
-
}
|
|
4499
|
-
}, "de_ListServiceInstanceProvisionedResourcesCommandError");
|
|
4500
2494
|
var de_ListServiceInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4501
2495
|
if (output.statusCode >= 300) {
|
|
4502
|
-
return
|
|
2496
|
+
return de_CommandError(output, context);
|
|
4503
2497
|
}
|
|
4504
2498
|
const data = await parseBody(output.body, context);
|
|
4505
2499
|
let contents = {};
|
|
@@ -4510,40 +2504,9 @@ var de_ListServiceInstancesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
4510
2504
|
};
|
|
4511
2505
|
return response;
|
|
4512
2506
|
}, "de_ListServiceInstancesCommand");
|
|
4513
|
-
var de_ListServiceInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4514
|
-
const parsedOutput = {
|
|
4515
|
-
...output,
|
|
4516
|
-
body: await parseErrorBody(output.body, context)
|
|
4517
|
-
};
|
|
4518
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4519
|
-
switch (errorCode) {
|
|
4520
|
-
case "AccessDeniedException":
|
|
4521
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4522
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4523
|
-
case "InternalServerException":
|
|
4524
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4525
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4526
|
-
case "ResourceNotFoundException":
|
|
4527
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
4528
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4529
|
-
case "ThrottlingException":
|
|
4530
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4531
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4532
|
-
case "ValidationException":
|
|
4533
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4534
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4535
|
-
default:
|
|
4536
|
-
const parsedBody = parsedOutput.body;
|
|
4537
|
-
return throwDefaultError({
|
|
4538
|
-
output,
|
|
4539
|
-
parsedBody,
|
|
4540
|
-
errorCode
|
|
4541
|
-
});
|
|
4542
|
-
}
|
|
4543
|
-
}, "de_ListServiceInstancesCommandError");
|
|
4544
2507
|
var de_ListServicePipelineOutputsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4545
2508
|
if (output.statusCode >= 300) {
|
|
4546
|
-
return
|
|
2509
|
+
return de_CommandError(output, context);
|
|
4547
2510
|
}
|
|
4548
2511
|
const data = await parseBody(output.body, context);
|
|
4549
2512
|
let contents = {};
|
|
@@ -4554,40 +2517,9 @@ var de_ListServicePipelineOutputsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
4554
2517
|
};
|
|
4555
2518
|
return response;
|
|
4556
2519
|
}, "de_ListServicePipelineOutputsCommand");
|
|
4557
|
-
var de_ListServicePipelineOutputsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4558
|
-
const parsedOutput = {
|
|
4559
|
-
...output,
|
|
4560
|
-
body: await parseErrorBody(output.body, context)
|
|
4561
|
-
};
|
|
4562
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4563
|
-
switch (errorCode) {
|
|
4564
|
-
case "AccessDeniedException":
|
|
4565
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4566
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4567
|
-
case "InternalServerException":
|
|
4568
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4569
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4570
|
-
case "ResourceNotFoundException":
|
|
4571
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
4572
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4573
|
-
case "ThrottlingException":
|
|
4574
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4575
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4576
|
-
case "ValidationException":
|
|
4577
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4578
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4579
|
-
default:
|
|
4580
|
-
const parsedBody = parsedOutput.body;
|
|
4581
|
-
return throwDefaultError({
|
|
4582
|
-
output,
|
|
4583
|
-
parsedBody,
|
|
4584
|
-
errorCode
|
|
4585
|
-
});
|
|
4586
|
-
}
|
|
4587
|
-
}, "de_ListServicePipelineOutputsCommandError");
|
|
4588
2520
|
var de_ListServicePipelineProvisionedResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4589
2521
|
if (output.statusCode >= 300) {
|
|
4590
|
-
return
|
|
2522
|
+
return de_CommandError(output, context);
|
|
4591
2523
|
}
|
|
4592
2524
|
const data = await parseBody(output.body, context);
|
|
4593
2525
|
let contents = {};
|
|
@@ -4598,40 +2530,9 @@ var de_ListServicePipelineProvisionedResourcesCommand = /* @__PURE__ */ __name(a
|
|
|
4598
2530
|
};
|
|
4599
2531
|
return response;
|
|
4600
2532
|
}, "de_ListServicePipelineProvisionedResourcesCommand");
|
|
4601
|
-
var de_ListServicePipelineProvisionedResourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4602
|
-
const parsedOutput = {
|
|
4603
|
-
...output,
|
|
4604
|
-
body: await parseErrorBody(output.body, context)
|
|
4605
|
-
};
|
|
4606
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4607
|
-
switch (errorCode) {
|
|
4608
|
-
case "AccessDeniedException":
|
|
4609
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4610
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4611
|
-
case "InternalServerException":
|
|
4612
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4613
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4614
|
-
case "ResourceNotFoundException":
|
|
4615
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
4616
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4617
|
-
case "ThrottlingException":
|
|
4618
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4619
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4620
|
-
case "ValidationException":
|
|
4621
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4622
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4623
|
-
default:
|
|
4624
|
-
const parsedBody = parsedOutput.body;
|
|
4625
|
-
return throwDefaultError({
|
|
4626
|
-
output,
|
|
4627
|
-
parsedBody,
|
|
4628
|
-
errorCode
|
|
4629
|
-
});
|
|
4630
|
-
}
|
|
4631
|
-
}, "de_ListServicePipelineProvisionedResourcesCommandError");
|
|
4632
2533
|
var de_ListServicesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4633
2534
|
if (output.statusCode >= 300) {
|
|
4634
|
-
return
|
|
2535
|
+
return de_CommandError(output, context);
|
|
4635
2536
|
}
|
|
4636
2537
|
const data = await parseBody(output.body, context);
|
|
4637
2538
|
let contents = {};
|
|
@@ -4642,37 +2543,9 @@ var de_ListServicesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4642
2543
|
};
|
|
4643
2544
|
return response;
|
|
4644
2545
|
}, "de_ListServicesCommand");
|
|
4645
|
-
var de_ListServicesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4646
|
-
const parsedOutput = {
|
|
4647
|
-
...output,
|
|
4648
|
-
body: await parseErrorBody(output.body, context)
|
|
4649
|
-
};
|
|
4650
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4651
|
-
switch (errorCode) {
|
|
4652
|
-
case "AccessDeniedException":
|
|
4653
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4654
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4655
|
-
case "InternalServerException":
|
|
4656
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4657
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4658
|
-
case "ThrottlingException":
|
|
4659
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4660
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4661
|
-
case "ValidationException":
|
|
4662
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4663
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4664
|
-
default:
|
|
4665
|
-
const parsedBody = parsedOutput.body;
|
|
4666
|
-
return throwDefaultError({
|
|
4667
|
-
output,
|
|
4668
|
-
parsedBody,
|
|
4669
|
-
errorCode
|
|
4670
|
-
});
|
|
4671
|
-
}
|
|
4672
|
-
}, "de_ListServicesCommandError");
|
|
4673
2546
|
var de_ListServiceTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4674
2547
|
if (output.statusCode >= 300) {
|
|
4675
|
-
return
|
|
2548
|
+
return de_CommandError(output, context);
|
|
4676
2549
|
}
|
|
4677
2550
|
const data = await parseBody(output.body, context);
|
|
4678
2551
|
let contents = {};
|
|
@@ -4683,37 +2556,9 @@ var de_ListServiceTemplatesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
4683
2556
|
};
|
|
4684
2557
|
return response;
|
|
4685
2558
|
}, "de_ListServiceTemplatesCommand");
|
|
4686
|
-
var de_ListServiceTemplatesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4687
|
-
const parsedOutput = {
|
|
4688
|
-
...output,
|
|
4689
|
-
body: await parseErrorBody(output.body, context)
|
|
4690
|
-
};
|
|
4691
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4692
|
-
switch (errorCode) {
|
|
4693
|
-
case "AccessDeniedException":
|
|
4694
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4695
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4696
|
-
case "InternalServerException":
|
|
4697
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4698
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4699
|
-
case "ThrottlingException":
|
|
4700
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4701
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4702
|
-
case "ValidationException":
|
|
4703
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4704
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4705
|
-
default:
|
|
4706
|
-
const parsedBody = parsedOutput.body;
|
|
4707
|
-
return throwDefaultError({
|
|
4708
|
-
output,
|
|
4709
|
-
parsedBody,
|
|
4710
|
-
errorCode
|
|
4711
|
-
});
|
|
4712
|
-
}
|
|
4713
|
-
}, "de_ListServiceTemplatesCommandError");
|
|
4714
2559
|
var de_ListServiceTemplateVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4715
2560
|
if (output.statusCode >= 300) {
|
|
4716
|
-
return
|
|
2561
|
+
return de_CommandError(output, context);
|
|
4717
2562
|
}
|
|
4718
2563
|
const data = await parseBody(output.body, context);
|
|
4719
2564
|
let contents = {};
|
|
@@ -4724,40 +2569,9 @@ var de_ListServiceTemplateVersionsCommand = /* @__PURE__ */ __name(async (output
|
|
|
4724
2569
|
};
|
|
4725
2570
|
return response;
|
|
4726
2571
|
}, "de_ListServiceTemplateVersionsCommand");
|
|
4727
|
-
var de_ListServiceTemplateVersionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4728
|
-
const parsedOutput = {
|
|
4729
|
-
...output,
|
|
4730
|
-
body: await parseErrorBody(output.body, context)
|
|
4731
|
-
};
|
|
4732
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4733
|
-
switch (errorCode) {
|
|
4734
|
-
case "AccessDeniedException":
|
|
4735
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4736
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4737
|
-
case "InternalServerException":
|
|
4738
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4739
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4740
|
-
case "ResourceNotFoundException":
|
|
4741
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
4742
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4743
|
-
case "ThrottlingException":
|
|
4744
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4745
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4746
|
-
case "ValidationException":
|
|
4747
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4748
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4749
|
-
default:
|
|
4750
|
-
const parsedBody = parsedOutput.body;
|
|
4751
|
-
return throwDefaultError({
|
|
4752
|
-
output,
|
|
4753
|
-
parsedBody,
|
|
4754
|
-
errorCode
|
|
4755
|
-
});
|
|
4756
|
-
}
|
|
4757
|
-
}, "de_ListServiceTemplateVersionsCommandError");
|
|
4758
2572
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4759
2573
|
if (output.statusCode >= 300) {
|
|
4760
|
-
return
|
|
2574
|
+
return de_CommandError(output, context);
|
|
4761
2575
|
}
|
|
4762
2576
|
const data = await parseBody(output.body, context);
|
|
4763
2577
|
let contents = {};
|
|
@@ -4768,40 +2582,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
4768
2582
|
};
|
|
4769
2583
|
return response;
|
|
4770
2584
|
}, "de_ListTagsForResourceCommand");
|
|
4771
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4772
|
-
const parsedOutput = {
|
|
4773
|
-
...output,
|
|
4774
|
-
body: await parseErrorBody(output.body, context)
|
|
4775
|
-
};
|
|
4776
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4777
|
-
switch (errorCode) {
|
|
4778
|
-
case "AccessDeniedException":
|
|
4779
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4780
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4781
|
-
case "InternalServerException":
|
|
4782
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4783
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4784
|
-
case "ResourceNotFoundException":
|
|
4785
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
4786
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4787
|
-
case "ThrottlingException":
|
|
4788
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4789
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4790
|
-
case "ValidationException":
|
|
4791
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4792
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4793
|
-
default:
|
|
4794
|
-
const parsedBody = parsedOutput.body;
|
|
4795
|
-
return throwDefaultError({
|
|
4796
|
-
output,
|
|
4797
|
-
parsedBody,
|
|
4798
|
-
errorCode
|
|
4799
|
-
});
|
|
4800
|
-
}
|
|
4801
|
-
}, "de_ListTagsForResourceCommandError");
|
|
4802
2585
|
var de_NotifyResourceDeploymentStatusChangeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4803
2586
|
if (output.statusCode >= 300) {
|
|
4804
|
-
return
|
|
2587
|
+
return de_CommandError(output, context);
|
|
4805
2588
|
}
|
|
4806
2589
|
const data = await parseBody(output.body, context);
|
|
4807
2590
|
let contents = {};
|
|
@@ -4812,46 +2595,9 @@ var de_NotifyResourceDeploymentStatusChangeCommand = /* @__PURE__ */ __name(asyn
|
|
|
4812
2595
|
};
|
|
4813
2596
|
return response;
|
|
4814
2597
|
}, "de_NotifyResourceDeploymentStatusChangeCommand");
|
|
4815
|
-
var de_NotifyResourceDeploymentStatusChangeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4816
|
-
const parsedOutput = {
|
|
4817
|
-
...output,
|
|
4818
|
-
body: await parseErrorBody(output.body, context)
|
|
4819
|
-
};
|
|
4820
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4821
|
-
switch (errorCode) {
|
|
4822
|
-
case "AccessDeniedException":
|
|
4823
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4824
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4825
|
-
case "ConflictException":
|
|
4826
|
-
case "com.amazonaws.proton#ConflictException":
|
|
4827
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4828
|
-
case "InternalServerException":
|
|
4829
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4830
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4831
|
-
case "ResourceNotFoundException":
|
|
4832
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
4833
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4834
|
-
case "ServiceQuotaExceededException":
|
|
4835
|
-
case "com.amazonaws.proton#ServiceQuotaExceededException":
|
|
4836
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
4837
|
-
case "ThrottlingException":
|
|
4838
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4839
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4840
|
-
case "ValidationException":
|
|
4841
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4842
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4843
|
-
default:
|
|
4844
|
-
const parsedBody = parsedOutput.body;
|
|
4845
|
-
return throwDefaultError({
|
|
4846
|
-
output,
|
|
4847
|
-
parsedBody,
|
|
4848
|
-
errorCode
|
|
4849
|
-
});
|
|
4850
|
-
}
|
|
4851
|
-
}, "de_NotifyResourceDeploymentStatusChangeCommandError");
|
|
4852
2598
|
var de_RejectEnvironmentAccountConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4853
2599
|
if (output.statusCode >= 300) {
|
|
4854
|
-
return
|
|
2600
|
+
return de_CommandError(output, context);
|
|
4855
2601
|
}
|
|
4856
2602
|
const data = await parseBody(output.body, context);
|
|
4857
2603
|
let contents = {};
|
|
@@ -4862,43 +2608,9 @@ var de_RejectEnvironmentAccountConnectionCommand = /* @__PURE__ */ __name(async
|
|
|
4862
2608
|
};
|
|
4863
2609
|
return response;
|
|
4864
2610
|
}, "de_RejectEnvironmentAccountConnectionCommand");
|
|
4865
|
-
var de_RejectEnvironmentAccountConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4866
|
-
const parsedOutput = {
|
|
4867
|
-
...output,
|
|
4868
|
-
body: await parseErrorBody(output.body, context)
|
|
4869
|
-
};
|
|
4870
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4871
|
-
switch (errorCode) {
|
|
4872
|
-
case "AccessDeniedException":
|
|
4873
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4874
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4875
|
-
case "ConflictException":
|
|
4876
|
-
case "com.amazonaws.proton#ConflictException":
|
|
4877
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4878
|
-
case "InternalServerException":
|
|
4879
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4880
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4881
|
-
case "ResourceNotFoundException":
|
|
4882
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
4883
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4884
|
-
case "ThrottlingException":
|
|
4885
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4886
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4887
|
-
case "ValidationException":
|
|
4888
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4889
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4890
|
-
default:
|
|
4891
|
-
const parsedBody = parsedOutput.body;
|
|
4892
|
-
return throwDefaultError({
|
|
4893
|
-
output,
|
|
4894
|
-
parsedBody,
|
|
4895
|
-
errorCode
|
|
4896
|
-
});
|
|
4897
|
-
}
|
|
4898
|
-
}, "de_RejectEnvironmentAccountConnectionCommandError");
|
|
4899
2611
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4900
2612
|
if (output.statusCode >= 300) {
|
|
4901
|
-
return
|
|
2613
|
+
return de_CommandError(output, context);
|
|
4902
2614
|
}
|
|
4903
2615
|
const data = await parseBody(output.body, context);
|
|
4904
2616
|
let contents = {};
|
|
@@ -4909,43 +2621,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4909
2621
|
};
|
|
4910
2622
|
return response;
|
|
4911
2623
|
}, "de_TagResourceCommand");
|
|
4912
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4913
|
-
const parsedOutput = {
|
|
4914
|
-
...output,
|
|
4915
|
-
body: await parseErrorBody(output.body, context)
|
|
4916
|
-
};
|
|
4917
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4918
|
-
switch (errorCode) {
|
|
4919
|
-
case "AccessDeniedException":
|
|
4920
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4921
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4922
|
-
case "ConflictException":
|
|
4923
|
-
case "com.amazonaws.proton#ConflictException":
|
|
4924
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4925
|
-
case "InternalServerException":
|
|
4926
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4927
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4928
|
-
case "ResourceNotFoundException":
|
|
4929
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
4930
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4931
|
-
case "ThrottlingException":
|
|
4932
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4933
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4934
|
-
case "ValidationException":
|
|
4935
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4936
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4937
|
-
default:
|
|
4938
|
-
const parsedBody = parsedOutput.body;
|
|
4939
|
-
return throwDefaultError({
|
|
4940
|
-
output,
|
|
4941
|
-
parsedBody,
|
|
4942
|
-
errorCode
|
|
4943
|
-
});
|
|
4944
|
-
}
|
|
4945
|
-
}, "de_TagResourceCommandError");
|
|
4946
2624
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4947
2625
|
if (output.statusCode >= 300) {
|
|
4948
|
-
return
|
|
2626
|
+
return de_CommandError(output, context);
|
|
4949
2627
|
}
|
|
4950
2628
|
const data = await parseBody(output.body, context);
|
|
4951
2629
|
let contents = {};
|
|
@@ -4956,43 +2634,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
4956
2634
|
};
|
|
4957
2635
|
return response;
|
|
4958
2636
|
}, "de_UntagResourceCommand");
|
|
4959
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4960
|
-
const parsedOutput = {
|
|
4961
|
-
...output,
|
|
4962
|
-
body: await parseErrorBody(output.body, context)
|
|
4963
|
-
};
|
|
4964
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4965
|
-
switch (errorCode) {
|
|
4966
|
-
case "AccessDeniedException":
|
|
4967
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
4968
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4969
|
-
case "ConflictException":
|
|
4970
|
-
case "com.amazonaws.proton#ConflictException":
|
|
4971
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4972
|
-
case "InternalServerException":
|
|
4973
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
4974
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4975
|
-
case "ResourceNotFoundException":
|
|
4976
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
4977
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4978
|
-
case "ThrottlingException":
|
|
4979
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
4980
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4981
|
-
case "ValidationException":
|
|
4982
|
-
case "com.amazonaws.proton#ValidationException":
|
|
4983
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4984
|
-
default:
|
|
4985
|
-
const parsedBody = parsedOutput.body;
|
|
4986
|
-
return throwDefaultError({
|
|
4987
|
-
output,
|
|
4988
|
-
parsedBody,
|
|
4989
|
-
errorCode
|
|
4990
|
-
});
|
|
4991
|
-
}
|
|
4992
|
-
}, "de_UntagResourceCommandError");
|
|
4993
2637
|
var de_UpdateAccountSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4994
2638
|
if (output.statusCode >= 300) {
|
|
4995
|
-
return
|
|
2639
|
+
return de_CommandError(output, context);
|
|
4996
2640
|
}
|
|
4997
2641
|
const data = await parseBody(output.body, context);
|
|
4998
2642
|
let contents = {};
|
|
@@ -5003,40 +2647,9 @@ var de_UpdateAccountSettingsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
5003
2647
|
};
|
|
5004
2648
|
return response;
|
|
5005
2649
|
}, "de_UpdateAccountSettingsCommand");
|
|
5006
|
-
var de_UpdateAccountSettingsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5007
|
-
const parsedOutput = {
|
|
5008
|
-
...output,
|
|
5009
|
-
body: await parseErrorBody(output.body, context)
|
|
5010
|
-
};
|
|
5011
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5012
|
-
switch (errorCode) {
|
|
5013
|
-
case "AccessDeniedException":
|
|
5014
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
5015
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5016
|
-
case "ConflictException":
|
|
5017
|
-
case "com.amazonaws.proton#ConflictException":
|
|
5018
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5019
|
-
case "InternalServerException":
|
|
5020
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
5021
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5022
|
-
case "ThrottlingException":
|
|
5023
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
5024
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5025
|
-
case "ValidationException":
|
|
5026
|
-
case "com.amazonaws.proton#ValidationException":
|
|
5027
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5028
|
-
default:
|
|
5029
|
-
const parsedBody = parsedOutput.body;
|
|
5030
|
-
return throwDefaultError({
|
|
5031
|
-
output,
|
|
5032
|
-
parsedBody,
|
|
5033
|
-
errorCode
|
|
5034
|
-
});
|
|
5035
|
-
}
|
|
5036
|
-
}, "de_UpdateAccountSettingsCommandError");
|
|
5037
2650
|
var de_UpdateComponentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5038
2651
|
if (output.statusCode >= 300) {
|
|
5039
|
-
return
|
|
2652
|
+
return de_CommandError(output, context);
|
|
5040
2653
|
}
|
|
5041
2654
|
const data = await parseBody(output.body, context);
|
|
5042
2655
|
let contents = {};
|
|
@@ -5047,46 +2660,9 @@ var de_UpdateComponentCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
5047
2660
|
};
|
|
5048
2661
|
return response;
|
|
5049
2662
|
}, "de_UpdateComponentCommand");
|
|
5050
|
-
var de_UpdateComponentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5051
|
-
const parsedOutput = {
|
|
5052
|
-
...output,
|
|
5053
|
-
body: await parseErrorBody(output.body, context)
|
|
5054
|
-
};
|
|
5055
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5056
|
-
switch (errorCode) {
|
|
5057
|
-
case "AccessDeniedException":
|
|
5058
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
5059
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5060
|
-
case "ConflictException":
|
|
5061
|
-
case "com.amazonaws.proton#ConflictException":
|
|
5062
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5063
|
-
case "InternalServerException":
|
|
5064
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
5065
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5066
|
-
case "ResourceNotFoundException":
|
|
5067
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
5068
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5069
|
-
case "ServiceQuotaExceededException":
|
|
5070
|
-
case "com.amazonaws.proton#ServiceQuotaExceededException":
|
|
5071
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
5072
|
-
case "ThrottlingException":
|
|
5073
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
5074
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5075
|
-
case "ValidationException":
|
|
5076
|
-
case "com.amazonaws.proton#ValidationException":
|
|
5077
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5078
|
-
default:
|
|
5079
|
-
const parsedBody = parsedOutput.body;
|
|
5080
|
-
return throwDefaultError({
|
|
5081
|
-
output,
|
|
5082
|
-
parsedBody,
|
|
5083
|
-
errorCode
|
|
5084
|
-
});
|
|
5085
|
-
}
|
|
5086
|
-
}, "de_UpdateComponentCommandError");
|
|
5087
2663
|
var de_UpdateEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5088
2664
|
if (output.statusCode >= 300) {
|
|
5089
|
-
return
|
|
2665
|
+
return de_CommandError(output, context);
|
|
5090
2666
|
}
|
|
5091
2667
|
const data = await parseBody(output.body, context);
|
|
5092
2668
|
let contents = {};
|
|
@@ -5097,43 +2673,9 @@ var de_UpdateEnvironmentCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
5097
2673
|
};
|
|
5098
2674
|
return response;
|
|
5099
2675
|
}, "de_UpdateEnvironmentCommand");
|
|
5100
|
-
var de_UpdateEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5101
|
-
const parsedOutput = {
|
|
5102
|
-
...output,
|
|
5103
|
-
body: await parseErrorBody(output.body, context)
|
|
5104
|
-
};
|
|
5105
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5106
|
-
switch (errorCode) {
|
|
5107
|
-
case "AccessDeniedException":
|
|
5108
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
5109
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5110
|
-
case "ConflictException":
|
|
5111
|
-
case "com.amazonaws.proton#ConflictException":
|
|
5112
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5113
|
-
case "InternalServerException":
|
|
5114
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
5115
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5116
|
-
case "ResourceNotFoundException":
|
|
5117
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
5118
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5119
|
-
case "ThrottlingException":
|
|
5120
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
5121
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5122
|
-
case "ValidationException":
|
|
5123
|
-
case "com.amazonaws.proton#ValidationException":
|
|
5124
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5125
|
-
default:
|
|
5126
|
-
const parsedBody = parsedOutput.body;
|
|
5127
|
-
return throwDefaultError({
|
|
5128
|
-
output,
|
|
5129
|
-
parsedBody,
|
|
5130
|
-
errorCode
|
|
5131
|
-
});
|
|
5132
|
-
}
|
|
5133
|
-
}, "de_UpdateEnvironmentCommandError");
|
|
5134
2676
|
var de_UpdateEnvironmentAccountConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5135
2677
|
if (output.statusCode >= 300) {
|
|
5136
|
-
return
|
|
2678
|
+
return de_CommandError(output, context);
|
|
5137
2679
|
}
|
|
5138
2680
|
const data = await parseBody(output.body, context);
|
|
5139
2681
|
let contents = {};
|
|
@@ -5141,140 +2683,38 @@ var de_UpdateEnvironmentAccountConnectionCommand = /* @__PURE__ */ __name(async
|
|
|
5141
2683
|
const response = {
|
|
5142
2684
|
$metadata: deserializeMetadata(output),
|
|
5143
2685
|
...contents
|
|
5144
|
-
};
|
|
5145
|
-
return response;
|
|
5146
|
-
}, "de_UpdateEnvironmentAccountConnectionCommand");
|
|
5147
|
-
var
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
case "ResourceNotFoundException":
|
|
5164
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
5165
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5166
|
-
case "ThrottlingException":
|
|
5167
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
5168
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5169
|
-
case "ValidationException":
|
|
5170
|
-
case "com.amazonaws.proton#ValidationException":
|
|
5171
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5172
|
-
default:
|
|
5173
|
-
const parsedBody = parsedOutput.body;
|
|
5174
|
-
return throwDefaultError({
|
|
5175
|
-
output,
|
|
5176
|
-
parsedBody,
|
|
5177
|
-
errorCode
|
|
5178
|
-
});
|
|
5179
|
-
}
|
|
5180
|
-
}, "de_UpdateEnvironmentAccountConnectionCommandError");
|
|
5181
|
-
var de_UpdateEnvironmentTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5182
|
-
if (output.statusCode >= 300) {
|
|
5183
|
-
return de_UpdateEnvironmentTemplateCommandError(output, context);
|
|
5184
|
-
}
|
|
5185
|
-
const data = await parseBody(output.body, context);
|
|
5186
|
-
let contents = {};
|
|
5187
|
-
contents = de_UpdateEnvironmentTemplateOutput(data, context);
|
|
5188
|
-
const response = {
|
|
5189
|
-
$metadata: deserializeMetadata(output),
|
|
5190
|
-
...contents
|
|
5191
|
-
};
|
|
5192
|
-
return response;
|
|
5193
|
-
}, "de_UpdateEnvironmentTemplateCommand");
|
|
5194
|
-
var de_UpdateEnvironmentTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5195
|
-
const parsedOutput = {
|
|
5196
|
-
...output,
|
|
5197
|
-
body: await parseErrorBody(output.body, context)
|
|
5198
|
-
};
|
|
5199
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5200
|
-
switch (errorCode) {
|
|
5201
|
-
case "AccessDeniedException":
|
|
5202
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
5203
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5204
|
-
case "ConflictException":
|
|
5205
|
-
case "com.amazonaws.proton#ConflictException":
|
|
5206
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5207
|
-
case "InternalServerException":
|
|
5208
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
5209
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5210
|
-
case "ResourceNotFoundException":
|
|
5211
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
5212
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5213
|
-
case "ThrottlingException":
|
|
5214
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
5215
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5216
|
-
case "ValidationException":
|
|
5217
|
-
case "com.amazonaws.proton#ValidationException":
|
|
5218
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5219
|
-
default:
|
|
5220
|
-
const parsedBody = parsedOutput.body;
|
|
5221
|
-
return throwDefaultError({
|
|
5222
|
-
output,
|
|
5223
|
-
parsedBody,
|
|
5224
|
-
errorCode
|
|
5225
|
-
});
|
|
5226
|
-
}
|
|
5227
|
-
}, "de_UpdateEnvironmentTemplateCommandError");
|
|
5228
|
-
var de_UpdateEnvironmentTemplateVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5229
|
-
if (output.statusCode >= 300) {
|
|
5230
|
-
return de_UpdateEnvironmentTemplateVersionCommandError(output, context);
|
|
5231
|
-
}
|
|
5232
|
-
const data = await parseBody(output.body, context);
|
|
5233
|
-
let contents = {};
|
|
5234
|
-
contents = de_UpdateEnvironmentTemplateVersionOutput(data, context);
|
|
5235
|
-
const response = {
|
|
5236
|
-
$metadata: deserializeMetadata(output),
|
|
5237
|
-
...contents
|
|
5238
|
-
};
|
|
5239
|
-
return response;
|
|
5240
|
-
}, "de_UpdateEnvironmentTemplateVersionCommand");
|
|
5241
|
-
var de_UpdateEnvironmentTemplateVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5242
|
-
const parsedOutput = {
|
|
5243
|
-
...output,
|
|
5244
|
-
body: await parseErrorBody(output.body, context)
|
|
5245
|
-
};
|
|
5246
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5247
|
-
switch (errorCode) {
|
|
5248
|
-
case "AccessDeniedException":
|
|
5249
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
5250
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5251
|
-
case "ConflictException":
|
|
5252
|
-
case "com.amazonaws.proton#ConflictException":
|
|
5253
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5254
|
-
case "InternalServerException":
|
|
5255
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
5256
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5257
|
-
case "ResourceNotFoundException":
|
|
5258
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
5259
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5260
|
-
case "ThrottlingException":
|
|
5261
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
5262
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5263
|
-
case "ValidationException":
|
|
5264
|
-
case "com.amazonaws.proton#ValidationException":
|
|
5265
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5266
|
-
default:
|
|
5267
|
-
const parsedBody = parsedOutput.body;
|
|
5268
|
-
return throwDefaultError({
|
|
5269
|
-
output,
|
|
5270
|
-
parsedBody,
|
|
5271
|
-
errorCode
|
|
5272
|
-
});
|
|
2686
|
+
};
|
|
2687
|
+
return response;
|
|
2688
|
+
}, "de_UpdateEnvironmentAccountConnectionCommand");
|
|
2689
|
+
var de_UpdateEnvironmentTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2690
|
+
if (output.statusCode >= 300) {
|
|
2691
|
+
return de_CommandError(output, context);
|
|
2692
|
+
}
|
|
2693
|
+
const data = await parseBody(output.body, context);
|
|
2694
|
+
let contents = {};
|
|
2695
|
+
contents = de_UpdateEnvironmentTemplateOutput(data, context);
|
|
2696
|
+
const response = {
|
|
2697
|
+
$metadata: deserializeMetadata(output),
|
|
2698
|
+
...contents
|
|
2699
|
+
};
|
|
2700
|
+
return response;
|
|
2701
|
+
}, "de_UpdateEnvironmentTemplateCommand");
|
|
2702
|
+
var de_UpdateEnvironmentTemplateVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2703
|
+
if (output.statusCode >= 300) {
|
|
2704
|
+
return de_CommandError(output, context);
|
|
5273
2705
|
}
|
|
5274
|
-
|
|
2706
|
+
const data = await parseBody(output.body, context);
|
|
2707
|
+
let contents = {};
|
|
2708
|
+
contents = de_UpdateEnvironmentTemplateVersionOutput(data, context);
|
|
2709
|
+
const response = {
|
|
2710
|
+
$metadata: deserializeMetadata(output),
|
|
2711
|
+
...contents
|
|
2712
|
+
};
|
|
2713
|
+
return response;
|
|
2714
|
+
}, "de_UpdateEnvironmentTemplateVersionCommand");
|
|
5275
2715
|
var de_UpdateServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5276
2716
|
if (output.statusCode >= 300) {
|
|
5277
|
-
return
|
|
2717
|
+
return de_CommandError(output, context);
|
|
5278
2718
|
}
|
|
5279
2719
|
const data = await parseBody(output.body, context);
|
|
5280
2720
|
let contents = {};
|
|
@@ -5285,46 +2725,9 @@ var de_UpdateServiceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
5285
2725
|
};
|
|
5286
2726
|
return response;
|
|
5287
2727
|
}, "de_UpdateServiceCommand");
|
|
5288
|
-
var de_UpdateServiceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5289
|
-
const parsedOutput = {
|
|
5290
|
-
...output,
|
|
5291
|
-
body: await parseErrorBody(output.body, context)
|
|
5292
|
-
};
|
|
5293
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5294
|
-
switch (errorCode) {
|
|
5295
|
-
case "AccessDeniedException":
|
|
5296
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
5297
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5298
|
-
case "ConflictException":
|
|
5299
|
-
case "com.amazonaws.proton#ConflictException":
|
|
5300
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5301
|
-
case "InternalServerException":
|
|
5302
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
5303
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5304
|
-
case "ResourceNotFoundException":
|
|
5305
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
5306
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5307
|
-
case "ServiceQuotaExceededException":
|
|
5308
|
-
case "com.amazonaws.proton#ServiceQuotaExceededException":
|
|
5309
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
5310
|
-
case "ThrottlingException":
|
|
5311
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
5312
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5313
|
-
case "ValidationException":
|
|
5314
|
-
case "com.amazonaws.proton#ValidationException":
|
|
5315
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5316
|
-
default:
|
|
5317
|
-
const parsedBody = parsedOutput.body;
|
|
5318
|
-
return throwDefaultError({
|
|
5319
|
-
output,
|
|
5320
|
-
parsedBody,
|
|
5321
|
-
errorCode
|
|
5322
|
-
});
|
|
5323
|
-
}
|
|
5324
|
-
}, "de_UpdateServiceCommandError");
|
|
5325
2728
|
var de_UpdateServiceInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5326
2729
|
if (output.statusCode >= 300) {
|
|
5327
|
-
return
|
|
2730
|
+
return de_CommandError(output, context);
|
|
5328
2731
|
}
|
|
5329
2732
|
const data = await parseBody(output.body, context);
|
|
5330
2733
|
let contents = {};
|
|
@@ -5335,43 +2738,9 @@ var de_UpdateServiceInstanceCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
5335
2738
|
};
|
|
5336
2739
|
return response;
|
|
5337
2740
|
}, "de_UpdateServiceInstanceCommand");
|
|
5338
|
-
var de_UpdateServiceInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5339
|
-
const parsedOutput = {
|
|
5340
|
-
...output,
|
|
5341
|
-
body: await parseErrorBody(output.body, context)
|
|
5342
|
-
};
|
|
5343
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5344
|
-
switch (errorCode) {
|
|
5345
|
-
case "AccessDeniedException":
|
|
5346
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
5347
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5348
|
-
case "ConflictException":
|
|
5349
|
-
case "com.amazonaws.proton#ConflictException":
|
|
5350
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5351
|
-
case "InternalServerException":
|
|
5352
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
5353
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5354
|
-
case "ResourceNotFoundException":
|
|
5355
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
5356
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5357
|
-
case "ThrottlingException":
|
|
5358
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
5359
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5360
|
-
case "ValidationException":
|
|
5361
|
-
case "com.amazonaws.proton#ValidationException":
|
|
5362
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5363
|
-
default:
|
|
5364
|
-
const parsedBody = parsedOutput.body;
|
|
5365
|
-
return throwDefaultError({
|
|
5366
|
-
output,
|
|
5367
|
-
parsedBody,
|
|
5368
|
-
errorCode
|
|
5369
|
-
});
|
|
5370
|
-
}
|
|
5371
|
-
}, "de_UpdateServiceInstanceCommandError");
|
|
5372
2741
|
var de_UpdateServicePipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5373
2742
|
if (output.statusCode >= 300) {
|
|
5374
|
-
return
|
|
2743
|
+
return de_CommandError(output, context);
|
|
5375
2744
|
}
|
|
5376
2745
|
const data = await parseBody(output.body, context);
|
|
5377
2746
|
let contents = {};
|
|
@@ -5382,43 +2751,9 @@ var de_UpdateServicePipelineCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
5382
2751
|
};
|
|
5383
2752
|
return response;
|
|
5384
2753
|
}, "de_UpdateServicePipelineCommand");
|
|
5385
|
-
var de_UpdateServicePipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5386
|
-
const parsedOutput = {
|
|
5387
|
-
...output,
|
|
5388
|
-
body: await parseErrorBody(output.body, context)
|
|
5389
|
-
};
|
|
5390
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5391
|
-
switch (errorCode) {
|
|
5392
|
-
case "AccessDeniedException":
|
|
5393
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
5394
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5395
|
-
case "ConflictException":
|
|
5396
|
-
case "com.amazonaws.proton#ConflictException":
|
|
5397
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5398
|
-
case "InternalServerException":
|
|
5399
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
5400
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5401
|
-
case "ResourceNotFoundException":
|
|
5402
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
5403
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5404
|
-
case "ThrottlingException":
|
|
5405
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
5406
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5407
|
-
case "ValidationException":
|
|
5408
|
-
case "com.amazonaws.proton#ValidationException":
|
|
5409
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5410
|
-
default:
|
|
5411
|
-
const parsedBody = parsedOutput.body;
|
|
5412
|
-
return throwDefaultError({
|
|
5413
|
-
output,
|
|
5414
|
-
parsedBody,
|
|
5415
|
-
errorCode
|
|
5416
|
-
});
|
|
5417
|
-
}
|
|
5418
|
-
}, "de_UpdateServicePipelineCommandError");
|
|
5419
2754
|
var de_UpdateServiceSyncBlockerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5420
2755
|
if (output.statusCode >= 300) {
|
|
5421
|
-
return
|
|
2756
|
+
return de_CommandError(output, context);
|
|
5422
2757
|
}
|
|
5423
2758
|
const data = await parseBody(output.body, context);
|
|
5424
2759
|
let contents = {};
|
|
@@ -5429,43 +2764,9 @@ var de_UpdateServiceSyncBlockerCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
5429
2764
|
};
|
|
5430
2765
|
return response;
|
|
5431
2766
|
}, "de_UpdateServiceSyncBlockerCommand");
|
|
5432
|
-
var de_UpdateServiceSyncBlockerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5433
|
-
const parsedOutput = {
|
|
5434
|
-
...output,
|
|
5435
|
-
body: await parseErrorBody(output.body, context)
|
|
5436
|
-
};
|
|
5437
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5438
|
-
switch (errorCode) {
|
|
5439
|
-
case "AccessDeniedException":
|
|
5440
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
5441
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5442
|
-
case "ConflictException":
|
|
5443
|
-
case "com.amazonaws.proton#ConflictException":
|
|
5444
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5445
|
-
case "InternalServerException":
|
|
5446
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
5447
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5448
|
-
case "ResourceNotFoundException":
|
|
5449
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
5450
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5451
|
-
case "ThrottlingException":
|
|
5452
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
5453
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5454
|
-
case "ValidationException":
|
|
5455
|
-
case "com.amazonaws.proton#ValidationException":
|
|
5456
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5457
|
-
default:
|
|
5458
|
-
const parsedBody = parsedOutput.body;
|
|
5459
|
-
return throwDefaultError({
|
|
5460
|
-
output,
|
|
5461
|
-
parsedBody,
|
|
5462
|
-
errorCode
|
|
5463
|
-
});
|
|
5464
|
-
}
|
|
5465
|
-
}, "de_UpdateServiceSyncBlockerCommandError");
|
|
5466
2767
|
var de_UpdateServiceSyncConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5467
2768
|
if (output.statusCode >= 300) {
|
|
5468
|
-
return
|
|
2769
|
+
return de_CommandError(output, context);
|
|
5469
2770
|
}
|
|
5470
2771
|
const data = await parseBody(output.body, context);
|
|
5471
2772
|
let contents = {};
|
|
@@ -5476,43 +2777,9 @@ var de_UpdateServiceSyncConfigCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
5476
2777
|
};
|
|
5477
2778
|
return response;
|
|
5478
2779
|
}, "de_UpdateServiceSyncConfigCommand");
|
|
5479
|
-
var de_UpdateServiceSyncConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5480
|
-
const parsedOutput = {
|
|
5481
|
-
...output,
|
|
5482
|
-
body: await parseErrorBody(output.body, context)
|
|
5483
|
-
};
|
|
5484
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5485
|
-
switch (errorCode) {
|
|
5486
|
-
case "AccessDeniedException":
|
|
5487
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
5488
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5489
|
-
case "ConflictException":
|
|
5490
|
-
case "com.amazonaws.proton#ConflictException":
|
|
5491
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5492
|
-
case "InternalServerException":
|
|
5493
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
5494
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5495
|
-
case "ResourceNotFoundException":
|
|
5496
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
5497
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5498
|
-
case "ThrottlingException":
|
|
5499
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
5500
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5501
|
-
case "ValidationException":
|
|
5502
|
-
case "com.amazonaws.proton#ValidationException":
|
|
5503
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5504
|
-
default:
|
|
5505
|
-
const parsedBody = parsedOutput.body;
|
|
5506
|
-
return throwDefaultError({
|
|
5507
|
-
output,
|
|
5508
|
-
parsedBody,
|
|
5509
|
-
errorCode
|
|
5510
|
-
});
|
|
5511
|
-
}
|
|
5512
|
-
}, "de_UpdateServiceSyncConfigCommandError");
|
|
5513
2780
|
var de_UpdateServiceTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5514
2781
|
if (output.statusCode >= 300) {
|
|
5515
|
-
return
|
|
2782
|
+
return de_CommandError(output, context);
|
|
5516
2783
|
}
|
|
5517
2784
|
const data = await parseBody(output.body, context);
|
|
5518
2785
|
let contents = {};
|
|
@@ -5523,43 +2790,9 @@ var de_UpdateServiceTemplateCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
5523
2790
|
};
|
|
5524
2791
|
return response;
|
|
5525
2792
|
}, "de_UpdateServiceTemplateCommand");
|
|
5526
|
-
var de_UpdateServiceTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5527
|
-
const parsedOutput = {
|
|
5528
|
-
...output,
|
|
5529
|
-
body: await parseErrorBody(output.body, context)
|
|
5530
|
-
};
|
|
5531
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5532
|
-
switch (errorCode) {
|
|
5533
|
-
case "AccessDeniedException":
|
|
5534
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
5535
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5536
|
-
case "ConflictException":
|
|
5537
|
-
case "com.amazonaws.proton#ConflictException":
|
|
5538
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5539
|
-
case "InternalServerException":
|
|
5540
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
5541
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5542
|
-
case "ResourceNotFoundException":
|
|
5543
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
5544
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5545
|
-
case "ThrottlingException":
|
|
5546
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
5547
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5548
|
-
case "ValidationException":
|
|
5549
|
-
case "com.amazonaws.proton#ValidationException":
|
|
5550
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5551
|
-
default:
|
|
5552
|
-
const parsedBody = parsedOutput.body;
|
|
5553
|
-
return throwDefaultError({
|
|
5554
|
-
output,
|
|
5555
|
-
parsedBody,
|
|
5556
|
-
errorCode
|
|
5557
|
-
});
|
|
5558
|
-
}
|
|
5559
|
-
}, "de_UpdateServiceTemplateCommandError");
|
|
5560
2793
|
var de_UpdateServiceTemplateVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5561
2794
|
if (output.statusCode >= 300) {
|
|
5562
|
-
return
|
|
2795
|
+
return de_CommandError(output, context);
|
|
5563
2796
|
}
|
|
5564
2797
|
const data = await parseBody(output.body, context);
|
|
5565
2798
|
let contents = {};
|
|
@@ -5570,43 +2803,9 @@ var de_UpdateServiceTemplateVersionCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
5570
2803
|
};
|
|
5571
2804
|
return response;
|
|
5572
2805
|
}, "de_UpdateServiceTemplateVersionCommand");
|
|
5573
|
-
var de_UpdateServiceTemplateVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5574
|
-
const parsedOutput = {
|
|
5575
|
-
...output,
|
|
5576
|
-
body: await parseErrorBody(output.body, context)
|
|
5577
|
-
};
|
|
5578
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5579
|
-
switch (errorCode) {
|
|
5580
|
-
case "AccessDeniedException":
|
|
5581
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
5582
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5583
|
-
case "ConflictException":
|
|
5584
|
-
case "com.amazonaws.proton#ConflictException":
|
|
5585
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5586
|
-
case "InternalServerException":
|
|
5587
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
5588
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5589
|
-
case "ResourceNotFoundException":
|
|
5590
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
5591
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5592
|
-
case "ThrottlingException":
|
|
5593
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
5594
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5595
|
-
case "ValidationException":
|
|
5596
|
-
case "com.amazonaws.proton#ValidationException":
|
|
5597
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5598
|
-
default:
|
|
5599
|
-
const parsedBody = parsedOutput.body;
|
|
5600
|
-
return throwDefaultError({
|
|
5601
|
-
output,
|
|
5602
|
-
parsedBody,
|
|
5603
|
-
errorCode
|
|
5604
|
-
});
|
|
5605
|
-
}
|
|
5606
|
-
}, "de_UpdateServiceTemplateVersionCommandError");
|
|
5607
2806
|
var de_UpdateTemplateSyncConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5608
2807
|
if (output.statusCode >= 300) {
|
|
5609
|
-
return
|
|
2808
|
+
return de_CommandError(output, context);
|
|
5610
2809
|
}
|
|
5611
2810
|
const data = await parseBody(output.body, context);
|
|
5612
2811
|
let contents = {};
|
|
@@ -5617,7 +2816,7 @@ var de_UpdateTemplateSyncConfigCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
5617
2816
|
};
|
|
5618
2817
|
return response;
|
|
5619
2818
|
}, "de_UpdateTemplateSyncConfigCommand");
|
|
5620
|
-
var
|
|
2819
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5621
2820
|
const parsedOutput = {
|
|
5622
2821
|
...output,
|
|
5623
2822
|
body: await parseErrorBody(output.body, context)
|
|
@@ -5642,6 +2841,9 @@ var de_UpdateTemplateSyncConfigCommandError = /* @__PURE__ */ __name(async (outp
|
|
|
5642
2841
|
case "ValidationException":
|
|
5643
2842
|
case "com.amazonaws.proton#ValidationException":
|
|
5644
2843
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2844
|
+
case "ServiceQuotaExceededException":
|
|
2845
|
+
case "com.amazonaws.proton#ServiceQuotaExceededException":
|
|
2846
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
5645
2847
|
default:
|
|
5646
2848
|
const parsedBody = parsedOutput.body;
|
|
5647
2849
|
return throwDefaultError({
|
|
@@ -5650,7 +2852,7 @@ var de_UpdateTemplateSyncConfigCommandError = /* @__PURE__ */ __name(async (outp
|
|
|
5650
2852
|
errorCode
|
|
5651
2853
|
});
|
|
5652
2854
|
}
|
|
5653
|
-
}, "
|
|
2855
|
+
}, "de_CommandError");
|
|
5654
2856
|
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
5655
2857
|
const body = parsedOutput.body;
|
|
5656
2858
|
const deserialized = (0, import_smithy_client._json)(body);
|