@aws-sdk/client-lightsail 3.141.0 → 3.142.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +770 -1289
- package/dist-es/protocols/Aws_json1_1.js +1233 -1290
- package/package.json +6 -6
|
@@ -1570,7 +1570,6 @@ const deserializeAws_json1_1AllocateStaticIpCommandError = async (output, contex
|
|
|
1570
1570
|
...output,
|
|
1571
1571
|
body: await parseBody(output.body, context),
|
|
1572
1572
|
};
|
|
1573
|
-
let response;
|
|
1574
1573
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1575
1574
|
switch (errorCode) {
|
|
1576
1575
|
case "AccessDeniedException":
|
|
@@ -1596,14 +1595,12 @@ const deserializeAws_json1_1AllocateStaticIpCommandError = async (output, contex
|
|
|
1596
1595
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
1597
1596
|
default:
|
|
1598
1597
|
const parsedBody = parsedOutput.body;
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
$metadata,
|
|
1598
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1599
|
+
output,
|
|
1600
|
+
parsedBody,
|
|
1601
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
1602
|
+
errorCode,
|
|
1605
1603
|
});
|
|
1606
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1607
1604
|
}
|
|
1608
1605
|
};
|
|
1609
1606
|
const deserializeAws_json1_1AttachCertificateToDistributionCommand = async (output, context) => {
|
|
@@ -1625,7 +1622,6 @@ const deserializeAws_json1_1AttachCertificateToDistributionCommandError = async
|
|
|
1625
1622
|
...output,
|
|
1626
1623
|
body: await parseBody(output.body, context),
|
|
1627
1624
|
};
|
|
1628
|
-
let response;
|
|
1629
1625
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1630
1626
|
switch (errorCode) {
|
|
1631
1627
|
case "AccessDeniedException":
|
|
@@ -1648,14 +1644,12 @@ const deserializeAws_json1_1AttachCertificateToDistributionCommandError = async
|
|
|
1648
1644
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
1649
1645
|
default:
|
|
1650
1646
|
const parsedBody = parsedOutput.body;
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
$metadata,
|
|
1647
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1648
|
+
output,
|
|
1649
|
+
parsedBody,
|
|
1650
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
1651
|
+
errorCode,
|
|
1657
1652
|
});
|
|
1658
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1659
1653
|
}
|
|
1660
1654
|
};
|
|
1661
1655
|
const deserializeAws_json1_1AttachDiskCommand = async (output, context) => {
|
|
@@ -1677,7 +1671,6 @@ const deserializeAws_json1_1AttachDiskCommandError = async (output, context) =>
|
|
|
1677
1671
|
...output,
|
|
1678
1672
|
body: await parseBody(output.body, context),
|
|
1679
1673
|
};
|
|
1680
|
-
let response;
|
|
1681
1674
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1682
1675
|
switch (errorCode) {
|
|
1683
1676
|
case "AccessDeniedException":
|
|
@@ -1703,14 +1696,12 @@ const deserializeAws_json1_1AttachDiskCommandError = async (output, context) =>
|
|
|
1703
1696
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
1704
1697
|
default:
|
|
1705
1698
|
const parsedBody = parsedOutput.body;
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
$metadata,
|
|
1699
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1700
|
+
output,
|
|
1701
|
+
parsedBody,
|
|
1702
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
1703
|
+
errorCode,
|
|
1712
1704
|
});
|
|
1713
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1714
1705
|
}
|
|
1715
1706
|
};
|
|
1716
1707
|
const deserializeAws_json1_1AttachInstancesToLoadBalancerCommand = async (output, context) => {
|
|
@@ -1732,7 +1723,6 @@ const deserializeAws_json1_1AttachInstancesToLoadBalancerCommandError = async (o
|
|
|
1732
1723
|
...output,
|
|
1733
1724
|
body: await parseBody(output.body, context),
|
|
1734
1725
|
};
|
|
1735
|
-
let response;
|
|
1736
1726
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1737
1727
|
switch (errorCode) {
|
|
1738
1728
|
case "AccessDeniedException":
|
|
@@ -1758,14 +1748,12 @@ const deserializeAws_json1_1AttachInstancesToLoadBalancerCommandError = async (o
|
|
|
1758
1748
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
1759
1749
|
default:
|
|
1760
1750
|
const parsedBody = parsedOutput.body;
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
$metadata,
|
|
1751
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1752
|
+
output,
|
|
1753
|
+
parsedBody,
|
|
1754
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
1755
|
+
errorCode,
|
|
1767
1756
|
});
|
|
1768
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1769
1757
|
}
|
|
1770
1758
|
};
|
|
1771
1759
|
const deserializeAws_json1_1AttachLoadBalancerTlsCertificateCommand = async (output, context) => {
|
|
@@ -1787,7 +1775,6 @@ const deserializeAws_json1_1AttachLoadBalancerTlsCertificateCommandError = async
|
|
|
1787
1775
|
...output,
|
|
1788
1776
|
body: await parseBody(output.body, context),
|
|
1789
1777
|
};
|
|
1790
|
-
let response;
|
|
1791
1778
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1792
1779
|
switch (errorCode) {
|
|
1793
1780
|
case "AccessDeniedException":
|
|
@@ -1813,14 +1800,12 @@ const deserializeAws_json1_1AttachLoadBalancerTlsCertificateCommandError = async
|
|
|
1813
1800
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
1814
1801
|
default:
|
|
1815
1802
|
const parsedBody = parsedOutput.body;
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
$metadata,
|
|
1803
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1804
|
+
output,
|
|
1805
|
+
parsedBody,
|
|
1806
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
1807
|
+
errorCode,
|
|
1822
1808
|
});
|
|
1823
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1824
1809
|
}
|
|
1825
1810
|
};
|
|
1826
1811
|
const deserializeAws_json1_1AttachStaticIpCommand = async (output, context) => {
|
|
@@ -1842,7 +1827,6 @@ const deserializeAws_json1_1AttachStaticIpCommandError = async (output, context)
|
|
|
1842
1827
|
...output,
|
|
1843
1828
|
body: await parseBody(output.body, context),
|
|
1844
1829
|
};
|
|
1845
|
-
let response;
|
|
1846
1830
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1847
1831
|
switch (errorCode) {
|
|
1848
1832
|
case "AccessDeniedException":
|
|
@@ -1868,14 +1852,12 @@ const deserializeAws_json1_1AttachStaticIpCommandError = async (output, context)
|
|
|
1868
1852
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
1869
1853
|
default:
|
|
1870
1854
|
const parsedBody = parsedOutput.body;
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
$metadata,
|
|
1855
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1856
|
+
output,
|
|
1857
|
+
parsedBody,
|
|
1858
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
1859
|
+
errorCode,
|
|
1877
1860
|
});
|
|
1878
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1879
1861
|
}
|
|
1880
1862
|
};
|
|
1881
1863
|
const deserializeAws_json1_1CloseInstancePublicPortsCommand = async (output, context) => {
|
|
@@ -1897,7 +1879,6 @@ const deserializeAws_json1_1CloseInstancePublicPortsCommandError = async (output
|
|
|
1897
1879
|
...output,
|
|
1898
1880
|
body: await parseBody(output.body, context),
|
|
1899
1881
|
};
|
|
1900
|
-
let response;
|
|
1901
1882
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1902
1883
|
switch (errorCode) {
|
|
1903
1884
|
case "AccessDeniedException":
|
|
@@ -1923,14 +1904,12 @@ const deserializeAws_json1_1CloseInstancePublicPortsCommandError = async (output
|
|
|
1923
1904
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
1924
1905
|
default:
|
|
1925
1906
|
const parsedBody = parsedOutput.body;
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
$metadata,
|
|
1907
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1908
|
+
output,
|
|
1909
|
+
parsedBody,
|
|
1910
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
1911
|
+
errorCode,
|
|
1932
1912
|
});
|
|
1933
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1934
1913
|
}
|
|
1935
1914
|
};
|
|
1936
1915
|
const deserializeAws_json1_1CopySnapshotCommand = async (output, context) => {
|
|
@@ -1952,7 +1931,6 @@ const deserializeAws_json1_1CopySnapshotCommandError = async (output, context) =
|
|
|
1952
1931
|
...output,
|
|
1953
1932
|
body: await parseBody(output.body, context),
|
|
1954
1933
|
};
|
|
1955
|
-
let response;
|
|
1956
1934
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1957
1935
|
switch (errorCode) {
|
|
1958
1936
|
case "AccessDeniedException":
|
|
@@ -1978,14 +1956,12 @@ const deserializeAws_json1_1CopySnapshotCommandError = async (output, context) =
|
|
|
1978
1956
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
1979
1957
|
default:
|
|
1980
1958
|
const parsedBody = parsedOutput.body;
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
$metadata,
|
|
1959
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1960
|
+
output,
|
|
1961
|
+
parsedBody,
|
|
1962
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
1963
|
+
errorCode,
|
|
1987
1964
|
});
|
|
1988
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1989
1965
|
}
|
|
1990
1966
|
};
|
|
1991
1967
|
const deserializeAws_json1_1CreateBucketCommand = async (output, context) => {
|
|
@@ -2007,7 +1983,6 @@ const deserializeAws_json1_1CreateBucketCommandError = async (output, context) =
|
|
|
2007
1983
|
...output,
|
|
2008
1984
|
body: await parseBody(output.body, context),
|
|
2009
1985
|
};
|
|
2010
|
-
let response;
|
|
2011
1986
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2012
1987
|
switch (errorCode) {
|
|
2013
1988
|
case "AccessDeniedException":
|
|
@@ -2024,14 +1999,12 @@ const deserializeAws_json1_1CreateBucketCommandError = async (output, context) =
|
|
|
2024
1999
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
2025
2000
|
default:
|
|
2026
2001
|
const parsedBody = parsedOutput.body;
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
$metadata,
|
|
2002
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2003
|
+
output,
|
|
2004
|
+
parsedBody,
|
|
2005
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2006
|
+
errorCode,
|
|
2033
2007
|
});
|
|
2034
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2035
2008
|
}
|
|
2036
2009
|
};
|
|
2037
2010
|
const deserializeAws_json1_1CreateBucketAccessKeyCommand = async (output, context) => {
|
|
@@ -2053,7 +2026,6 @@ const deserializeAws_json1_1CreateBucketAccessKeyCommandError = async (output, c
|
|
|
2053
2026
|
...output,
|
|
2054
2027
|
body: await parseBody(output.body, context),
|
|
2055
2028
|
};
|
|
2056
|
-
let response;
|
|
2057
2029
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2058
2030
|
switch (errorCode) {
|
|
2059
2031
|
case "AccessDeniedException":
|
|
@@ -2073,14 +2045,12 @@ const deserializeAws_json1_1CreateBucketAccessKeyCommandError = async (output, c
|
|
|
2073
2045
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
2074
2046
|
default:
|
|
2075
2047
|
const parsedBody = parsedOutput.body;
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
$metadata,
|
|
2048
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2049
|
+
output,
|
|
2050
|
+
parsedBody,
|
|
2051
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2052
|
+
errorCode,
|
|
2082
2053
|
});
|
|
2083
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2084
2054
|
}
|
|
2085
2055
|
};
|
|
2086
2056
|
const deserializeAws_json1_1CreateCertificateCommand = async (output, context) => {
|
|
@@ -2102,7 +2072,6 @@ const deserializeAws_json1_1CreateCertificateCommandError = async (output, conte
|
|
|
2102
2072
|
...output,
|
|
2103
2073
|
body: await parseBody(output.body, context),
|
|
2104
2074
|
};
|
|
2105
|
-
let response;
|
|
2106
2075
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2107
2076
|
switch (errorCode) {
|
|
2108
2077
|
case "AccessDeniedException":
|
|
@@ -2122,14 +2091,12 @@ const deserializeAws_json1_1CreateCertificateCommandError = async (output, conte
|
|
|
2122
2091
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
2123
2092
|
default:
|
|
2124
2093
|
const parsedBody = parsedOutput.body;
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
$metadata,
|
|
2094
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2095
|
+
output,
|
|
2096
|
+
parsedBody,
|
|
2097
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2098
|
+
errorCode,
|
|
2131
2099
|
});
|
|
2132
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2133
2100
|
}
|
|
2134
2101
|
};
|
|
2135
2102
|
const deserializeAws_json1_1CreateCloudFormationStackCommand = async (output, context) => {
|
|
@@ -2151,7 +2118,6 @@ const deserializeAws_json1_1CreateCloudFormationStackCommandError = async (outpu
|
|
|
2151
2118
|
...output,
|
|
2152
2119
|
body: await parseBody(output.body, context),
|
|
2153
2120
|
};
|
|
2154
|
-
let response;
|
|
2155
2121
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2156
2122
|
switch (errorCode) {
|
|
2157
2123
|
case "AccessDeniedException":
|
|
@@ -2177,14 +2143,12 @@ const deserializeAws_json1_1CreateCloudFormationStackCommandError = async (outpu
|
|
|
2177
2143
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
2178
2144
|
default:
|
|
2179
2145
|
const parsedBody = parsedOutput.body;
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
$metadata,
|
|
2146
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2147
|
+
output,
|
|
2148
|
+
parsedBody,
|
|
2149
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2150
|
+
errorCode,
|
|
2186
2151
|
});
|
|
2187
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2188
2152
|
}
|
|
2189
2153
|
};
|
|
2190
2154
|
const deserializeAws_json1_1CreateContactMethodCommand = async (output, context) => {
|
|
@@ -2206,7 +2170,6 @@ const deserializeAws_json1_1CreateContactMethodCommandError = async (output, con
|
|
|
2206
2170
|
...output,
|
|
2207
2171
|
body: await parseBody(output.body, context),
|
|
2208
2172
|
};
|
|
2209
|
-
let response;
|
|
2210
2173
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2211
2174
|
switch (errorCode) {
|
|
2212
2175
|
case "AccessDeniedException":
|
|
@@ -2229,14 +2192,12 @@ const deserializeAws_json1_1CreateContactMethodCommandError = async (output, con
|
|
|
2229
2192
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
2230
2193
|
default:
|
|
2231
2194
|
const parsedBody = parsedOutput.body;
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
$metadata,
|
|
2195
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2196
|
+
output,
|
|
2197
|
+
parsedBody,
|
|
2198
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2199
|
+
errorCode,
|
|
2238
2200
|
});
|
|
2239
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2240
2201
|
}
|
|
2241
2202
|
};
|
|
2242
2203
|
const deserializeAws_json1_1CreateContainerServiceCommand = async (output, context) => {
|
|
@@ -2258,7 +2219,6 @@ const deserializeAws_json1_1CreateContainerServiceCommandError = async (output,
|
|
|
2258
2219
|
...output,
|
|
2259
2220
|
body: await parseBody(output.body, context),
|
|
2260
2221
|
};
|
|
2261
|
-
let response;
|
|
2262
2222
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2263
2223
|
switch (errorCode) {
|
|
2264
2224
|
case "AccessDeniedException":
|
|
@@ -2278,14 +2238,12 @@ const deserializeAws_json1_1CreateContainerServiceCommandError = async (output,
|
|
|
2278
2238
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
2279
2239
|
default:
|
|
2280
2240
|
const parsedBody = parsedOutput.body;
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
$metadata,
|
|
2241
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2242
|
+
output,
|
|
2243
|
+
parsedBody,
|
|
2244
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2245
|
+
errorCode,
|
|
2287
2246
|
});
|
|
2288
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2289
2247
|
}
|
|
2290
2248
|
};
|
|
2291
2249
|
const deserializeAws_json1_1CreateContainerServiceDeploymentCommand = async (output, context) => {
|
|
@@ -2307,7 +2265,6 @@ const deserializeAws_json1_1CreateContainerServiceDeploymentCommandError = async
|
|
|
2307
2265
|
...output,
|
|
2308
2266
|
body: await parseBody(output.body, context),
|
|
2309
2267
|
};
|
|
2310
|
-
let response;
|
|
2311
2268
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2312
2269
|
switch (errorCode) {
|
|
2313
2270
|
case "AccessDeniedException":
|
|
@@ -2327,14 +2284,12 @@ const deserializeAws_json1_1CreateContainerServiceDeploymentCommandError = async
|
|
|
2327
2284
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
2328
2285
|
default:
|
|
2329
2286
|
const parsedBody = parsedOutput.body;
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
$metadata,
|
|
2287
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2288
|
+
output,
|
|
2289
|
+
parsedBody,
|
|
2290
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2291
|
+
errorCode,
|
|
2336
2292
|
});
|
|
2337
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2338
2293
|
}
|
|
2339
2294
|
};
|
|
2340
2295
|
const deserializeAws_json1_1CreateContainerServiceRegistryLoginCommand = async (output, context) => {
|
|
@@ -2356,7 +2311,6 @@ const deserializeAws_json1_1CreateContainerServiceRegistryLoginCommandError = as
|
|
|
2356
2311
|
...output,
|
|
2357
2312
|
body: await parseBody(output.body, context),
|
|
2358
2313
|
};
|
|
2359
|
-
let response;
|
|
2360
2314
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2361
2315
|
switch (errorCode) {
|
|
2362
2316
|
case "AccessDeniedException":
|
|
@@ -2376,14 +2330,12 @@ const deserializeAws_json1_1CreateContainerServiceRegistryLoginCommandError = as
|
|
|
2376
2330
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
2377
2331
|
default:
|
|
2378
2332
|
const parsedBody = parsedOutput.body;
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
$metadata,
|
|
2333
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2334
|
+
output,
|
|
2335
|
+
parsedBody,
|
|
2336
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2337
|
+
errorCode,
|
|
2385
2338
|
});
|
|
2386
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2387
2339
|
}
|
|
2388
2340
|
};
|
|
2389
2341
|
const deserializeAws_json1_1CreateDiskCommand = async (output, context) => {
|
|
@@ -2405,7 +2357,6 @@ const deserializeAws_json1_1CreateDiskCommandError = async (output, context) =>
|
|
|
2405
2357
|
...output,
|
|
2406
2358
|
body: await parseBody(output.body, context),
|
|
2407
2359
|
};
|
|
2408
|
-
let response;
|
|
2409
2360
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2410
2361
|
switch (errorCode) {
|
|
2411
2362
|
case "AccessDeniedException":
|
|
@@ -2431,14 +2382,12 @@ const deserializeAws_json1_1CreateDiskCommandError = async (output, context) =>
|
|
|
2431
2382
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
2432
2383
|
default:
|
|
2433
2384
|
const parsedBody = parsedOutput.body;
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
$metadata,
|
|
2385
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2386
|
+
output,
|
|
2387
|
+
parsedBody,
|
|
2388
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2389
|
+
errorCode,
|
|
2440
2390
|
});
|
|
2441
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2442
2391
|
}
|
|
2443
2392
|
};
|
|
2444
2393
|
const deserializeAws_json1_1CreateDiskFromSnapshotCommand = async (output, context) => {
|
|
@@ -2460,7 +2409,6 @@ const deserializeAws_json1_1CreateDiskFromSnapshotCommandError = async (output,
|
|
|
2460
2409
|
...output,
|
|
2461
2410
|
body: await parseBody(output.body, context),
|
|
2462
2411
|
};
|
|
2463
|
-
let response;
|
|
2464
2412
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2465
2413
|
switch (errorCode) {
|
|
2466
2414
|
case "AccessDeniedException":
|
|
@@ -2486,14 +2434,12 @@ const deserializeAws_json1_1CreateDiskFromSnapshotCommandError = async (output,
|
|
|
2486
2434
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
2487
2435
|
default:
|
|
2488
2436
|
const parsedBody = parsedOutput.body;
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
$metadata,
|
|
2437
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2438
|
+
output,
|
|
2439
|
+
parsedBody,
|
|
2440
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2441
|
+
errorCode,
|
|
2495
2442
|
});
|
|
2496
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2497
2443
|
}
|
|
2498
2444
|
};
|
|
2499
2445
|
const deserializeAws_json1_1CreateDiskSnapshotCommand = async (output, context) => {
|
|
@@ -2515,7 +2461,6 @@ const deserializeAws_json1_1CreateDiskSnapshotCommandError = async (output, cont
|
|
|
2515
2461
|
...output,
|
|
2516
2462
|
body: await parseBody(output.body, context),
|
|
2517
2463
|
};
|
|
2518
|
-
let response;
|
|
2519
2464
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2520
2465
|
switch (errorCode) {
|
|
2521
2466
|
case "AccessDeniedException":
|
|
@@ -2541,14 +2486,12 @@ const deserializeAws_json1_1CreateDiskSnapshotCommandError = async (output, cont
|
|
|
2541
2486
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
2542
2487
|
default:
|
|
2543
2488
|
const parsedBody = parsedOutput.body;
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
$metadata,
|
|
2489
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2490
|
+
output,
|
|
2491
|
+
parsedBody,
|
|
2492
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2493
|
+
errorCode,
|
|
2550
2494
|
});
|
|
2551
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2552
2495
|
}
|
|
2553
2496
|
};
|
|
2554
2497
|
const deserializeAws_json1_1CreateDistributionCommand = async (output, context) => {
|
|
@@ -2570,7 +2513,6 @@ const deserializeAws_json1_1CreateDistributionCommandError = async (output, cont
|
|
|
2570
2513
|
...output,
|
|
2571
2514
|
body: await parseBody(output.body, context),
|
|
2572
2515
|
};
|
|
2573
|
-
let response;
|
|
2574
2516
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2575
2517
|
switch (errorCode) {
|
|
2576
2518
|
case "AccessDeniedException":
|
|
@@ -2593,14 +2535,12 @@ const deserializeAws_json1_1CreateDistributionCommandError = async (output, cont
|
|
|
2593
2535
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
2594
2536
|
default:
|
|
2595
2537
|
const parsedBody = parsedOutput.body;
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
$metadata,
|
|
2538
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2539
|
+
output,
|
|
2540
|
+
parsedBody,
|
|
2541
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2542
|
+
errorCode,
|
|
2602
2543
|
});
|
|
2603
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2604
2544
|
}
|
|
2605
2545
|
};
|
|
2606
2546
|
const deserializeAws_json1_1CreateDomainCommand = async (output, context) => {
|
|
@@ -2622,7 +2562,6 @@ const deserializeAws_json1_1CreateDomainCommandError = async (output, context) =
|
|
|
2622
2562
|
...output,
|
|
2623
2563
|
body: await parseBody(output.body, context),
|
|
2624
2564
|
};
|
|
2625
|
-
let response;
|
|
2626
2565
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2627
2566
|
switch (errorCode) {
|
|
2628
2567
|
case "AccessDeniedException":
|
|
@@ -2648,14 +2587,12 @@ const deserializeAws_json1_1CreateDomainCommandError = async (output, context) =
|
|
|
2648
2587
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
2649
2588
|
default:
|
|
2650
2589
|
const parsedBody = parsedOutput.body;
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
$metadata,
|
|
2590
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2591
|
+
output,
|
|
2592
|
+
parsedBody,
|
|
2593
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2594
|
+
errorCode,
|
|
2657
2595
|
});
|
|
2658
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2659
2596
|
}
|
|
2660
2597
|
};
|
|
2661
2598
|
const deserializeAws_json1_1CreateDomainEntryCommand = async (output, context) => {
|
|
@@ -2677,7 +2614,6 @@ const deserializeAws_json1_1CreateDomainEntryCommandError = async (output, conte
|
|
|
2677
2614
|
...output,
|
|
2678
2615
|
body: await parseBody(output.body, context),
|
|
2679
2616
|
};
|
|
2680
|
-
let response;
|
|
2681
2617
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2682
2618
|
switch (errorCode) {
|
|
2683
2619
|
case "AccessDeniedException":
|
|
@@ -2703,14 +2639,12 @@ const deserializeAws_json1_1CreateDomainEntryCommandError = async (output, conte
|
|
|
2703
2639
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
2704
2640
|
default:
|
|
2705
2641
|
const parsedBody = parsedOutput.body;
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
$metadata,
|
|
2642
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2643
|
+
output,
|
|
2644
|
+
parsedBody,
|
|
2645
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2646
|
+
errorCode,
|
|
2712
2647
|
});
|
|
2713
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2714
2648
|
}
|
|
2715
2649
|
};
|
|
2716
2650
|
const deserializeAws_json1_1CreateInstancesCommand = async (output, context) => {
|
|
@@ -2732,7 +2666,6 @@ const deserializeAws_json1_1CreateInstancesCommandError = async (output, context
|
|
|
2732
2666
|
...output,
|
|
2733
2667
|
body: await parseBody(output.body, context),
|
|
2734
2668
|
};
|
|
2735
|
-
let response;
|
|
2736
2669
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2737
2670
|
switch (errorCode) {
|
|
2738
2671
|
case "AccessDeniedException":
|
|
@@ -2758,14 +2691,12 @@ const deserializeAws_json1_1CreateInstancesCommandError = async (output, context
|
|
|
2758
2691
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
2759
2692
|
default:
|
|
2760
2693
|
const parsedBody = parsedOutput.body;
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
$metadata,
|
|
2694
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2695
|
+
output,
|
|
2696
|
+
parsedBody,
|
|
2697
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2698
|
+
errorCode,
|
|
2767
2699
|
});
|
|
2768
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2769
2700
|
}
|
|
2770
2701
|
};
|
|
2771
2702
|
const deserializeAws_json1_1CreateInstancesFromSnapshotCommand = async (output, context) => {
|
|
@@ -2787,7 +2718,6 @@ const deserializeAws_json1_1CreateInstancesFromSnapshotCommandError = async (out
|
|
|
2787
2718
|
...output,
|
|
2788
2719
|
body: await parseBody(output.body, context),
|
|
2789
2720
|
};
|
|
2790
|
-
let response;
|
|
2791
2721
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2792
2722
|
switch (errorCode) {
|
|
2793
2723
|
case "AccessDeniedException":
|
|
@@ -2813,14 +2743,12 @@ const deserializeAws_json1_1CreateInstancesFromSnapshotCommandError = async (out
|
|
|
2813
2743
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
2814
2744
|
default:
|
|
2815
2745
|
const parsedBody = parsedOutput.body;
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
$metadata,
|
|
2746
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2747
|
+
output,
|
|
2748
|
+
parsedBody,
|
|
2749
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2750
|
+
errorCode,
|
|
2822
2751
|
});
|
|
2823
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2824
2752
|
}
|
|
2825
2753
|
};
|
|
2826
2754
|
const deserializeAws_json1_1CreateInstanceSnapshotCommand = async (output, context) => {
|
|
@@ -2842,7 +2770,6 @@ const deserializeAws_json1_1CreateInstanceSnapshotCommandError = async (output,
|
|
|
2842
2770
|
...output,
|
|
2843
2771
|
body: await parseBody(output.body, context),
|
|
2844
2772
|
};
|
|
2845
|
-
let response;
|
|
2846
2773
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2847
2774
|
switch (errorCode) {
|
|
2848
2775
|
case "AccessDeniedException":
|
|
@@ -2868,14 +2795,12 @@ const deserializeAws_json1_1CreateInstanceSnapshotCommandError = async (output,
|
|
|
2868
2795
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
2869
2796
|
default:
|
|
2870
2797
|
const parsedBody = parsedOutput.body;
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
$metadata,
|
|
2798
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2799
|
+
output,
|
|
2800
|
+
parsedBody,
|
|
2801
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2802
|
+
errorCode,
|
|
2877
2803
|
});
|
|
2878
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2879
2804
|
}
|
|
2880
2805
|
};
|
|
2881
2806
|
const deserializeAws_json1_1CreateKeyPairCommand = async (output, context) => {
|
|
@@ -2897,7 +2822,6 @@ const deserializeAws_json1_1CreateKeyPairCommandError = async (output, context)
|
|
|
2897
2822
|
...output,
|
|
2898
2823
|
body: await parseBody(output.body, context),
|
|
2899
2824
|
};
|
|
2900
|
-
let response;
|
|
2901
2825
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2902
2826
|
switch (errorCode) {
|
|
2903
2827
|
case "AccessDeniedException":
|
|
@@ -2923,14 +2847,12 @@ const deserializeAws_json1_1CreateKeyPairCommandError = async (output, context)
|
|
|
2923
2847
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
2924
2848
|
default:
|
|
2925
2849
|
const parsedBody = parsedOutput.body;
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
$metadata,
|
|
2850
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2851
|
+
output,
|
|
2852
|
+
parsedBody,
|
|
2853
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2854
|
+
errorCode,
|
|
2932
2855
|
});
|
|
2933
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2934
2856
|
}
|
|
2935
2857
|
};
|
|
2936
2858
|
const deserializeAws_json1_1CreateLoadBalancerCommand = async (output, context) => {
|
|
@@ -2952,7 +2874,6 @@ const deserializeAws_json1_1CreateLoadBalancerCommandError = async (output, cont
|
|
|
2952
2874
|
...output,
|
|
2953
2875
|
body: await parseBody(output.body, context),
|
|
2954
2876
|
};
|
|
2955
|
-
let response;
|
|
2956
2877
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2957
2878
|
switch (errorCode) {
|
|
2958
2879
|
case "AccessDeniedException":
|
|
@@ -2978,14 +2899,12 @@ const deserializeAws_json1_1CreateLoadBalancerCommandError = async (output, cont
|
|
|
2978
2899
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
2979
2900
|
default:
|
|
2980
2901
|
const parsedBody = parsedOutput.body;
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
$metadata,
|
|
2902
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2903
|
+
output,
|
|
2904
|
+
parsedBody,
|
|
2905
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2906
|
+
errorCode,
|
|
2987
2907
|
});
|
|
2988
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2989
2908
|
}
|
|
2990
2909
|
};
|
|
2991
2910
|
const deserializeAws_json1_1CreateLoadBalancerTlsCertificateCommand = async (output, context) => {
|
|
@@ -3007,7 +2926,6 @@ const deserializeAws_json1_1CreateLoadBalancerTlsCertificateCommandError = async
|
|
|
3007
2926
|
...output,
|
|
3008
2927
|
body: await parseBody(output.body, context),
|
|
3009
2928
|
};
|
|
3010
|
-
let response;
|
|
3011
2929
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3012
2930
|
switch (errorCode) {
|
|
3013
2931
|
case "AccessDeniedException":
|
|
@@ -3033,14 +2951,12 @@ const deserializeAws_json1_1CreateLoadBalancerTlsCertificateCommandError = async
|
|
|
3033
2951
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
3034
2952
|
default:
|
|
3035
2953
|
const parsedBody = parsedOutput.body;
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
$metadata,
|
|
2954
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2955
|
+
output,
|
|
2956
|
+
parsedBody,
|
|
2957
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
2958
|
+
errorCode,
|
|
3042
2959
|
});
|
|
3043
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3044
2960
|
}
|
|
3045
2961
|
};
|
|
3046
2962
|
const deserializeAws_json1_1CreateRelationalDatabaseCommand = async (output, context) => {
|
|
@@ -3062,7 +2978,6 @@ const deserializeAws_json1_1CreateRelationalDatabaseCommandError = async (output
|
|
|
3062
2978
|
...output,
|
|
3063
2979
|
body: await parseBody(output.body, context),
|
|
3064
2980
|
};
|
|
3065
|
-
let response;
|
|
3066
2981
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3067
2982
|
switch (errorCode) {
|
|
3068
2983
|
case "AccessDeniedException":
|
|
@@ -3088,14 +3003,12 @@ const deserializeAws_json1_1CreateRelationalDatabaseCommandError = async (output
|
|
|
3088
3003
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
3089
3004
|
default:
|
|
3090
3005
|
const parsedBody = parsedOutput.body;
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
$metadata,
|
|
3006
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3007
|
+
output,
|
|
3008
|
+
parsedBody,
|
|
3009
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3010
|
+
errorCode,
|
|
3097
3011
|
});
|
|
3098
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3099
3012
|
}
|
|
3100
3013
|
};
|
|
3101
3014
|
const deserializeAws_json1_1CreateRelationalDatabaseFromSnapshotCommand = async (output, context) => {
|
|
@@ -3117,7 +3030,6 @@ const deserializeAws_json1_1CreateRelationalDatabaseFromSnapshotCommandError = a
|
|
|
3117
3030
|
...output,
|
|
3118
3031
|
body: await parseBody(output.body, context),
|
|
3119
3032
|
};
|
|
3120
|
-
let response;
|
|
3121
3033
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3122
3034
|
switch (errorCode) {
|
|
3123
3035
|
case "AccessDeniedException":
|
|
@@ -3143,14 +3055,12 @@ const deserializeAws_json1_1CreateRelationalDatabaseFromSnapshotCommandError = a
|
|
|
3143
3055
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
3144
3056
|
default:
|
|
3145
3057
|
const parsedBody = parsedOutput.body;
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
$metadata,
|
|
3058
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3059
|
+
output,
|
|
3060
|
+
parsedBody,
|
|
3061
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3062
|
+
errorCode,
|
|
3152
3063
|
});
|
|
3153
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3154
3064
|
}
|
|
3155
3065
|
};
|
|
3156
3066
|
const deserializeAws_json1_1CreateRelationalDatabaseSnapshotCommand = async (output, context) => {
|
|
@@ -3172,7 +3082,6 @@ const deserializeAws_json1_1CreateRelationalDatabaseSnapshotCommandError = async
|
|
|
3172
3082
|
...output,
|
|
3173
3083
|
body: await parseBody(output.body, context),
|
|
3174
3084
|
};
|
|
3175
|
-
let response;
|
|
3176
3085
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3177
3086
|
switch (errorCode) {
|
|
3178
3087
|
case "AccessDeniedException":
|
|
@@ -3198,14 +3107,12 @@ const deserializeAws_json1_1CreateRelationalDatabaseSnapshotCommandError = async
|
|
|
3198
3107
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
3199
3108
|
default:
|
|
3200
3109
|
const parsedBody = parsedOutput.body;
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
$metadata,
|
|
3110
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3111
|
+
output,
|
|
3112
|
+
parsedBody,
|
|
3113
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3114
|
+
errorCode,
|
|
3207
3115
|
});
|
|
3208
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3209
3116
|
}
|
|
3210
3117
|
};
|
|
3211
3118
|
const deserializeAws_json1_1DeleteAlarmCommand = async (output, context) => {
|
|
@@ -3227,7 +3134,6 @@ const deserializeAws_json1_1DeleteAlarmCommandError = async (output, context) =>
|
|
|
3227
3134
|
...output,
|
|
3228
3135
|
body: await parseBody(output.body, context),
|
|
3229
3136
|
};
|
|
3230
|
-
let response;
|
|
3231
3137
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3232
3138
|
switch (errorCode) {
|
|
3233
3139
|
case "AccessDeniedException":
|
|
@@ -3250,14 +3156,12 @@ const deserializeAws_json1_1DeleteAlarmCommandError = async (output, context) =>
|
|
|
3250
3156
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
3251
3157
|
default:
|
|
3252
3158
|
const parsedBody = parsedOutput.body;
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
$metadata,
|
|
3159
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3160
|
+
output,
|
|
3161
|
+
parsedBody,
|
|
3162
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3163
|
+
errorCode,
|
|
3259
3164
|
});
|
|
3260
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3261
3165
|
}
|
|
3262
3166
|
};
|
|
3263
3167
|
const deserializeAws_json1_1DeleteAutoSnapshotCommand = async (output, context) => {
|
|
@@ -3279,7 +3183,6 @@ const deserializeAws_json1_1DeleteAutoSnapshotCommandError = async (output, cont
|
|
|
3279
3183
|
...output,
|
|
3280
3184
|
body: await parseBody(output.body, context),
|
|
3281
3185
|
};
|
|
3282
|
-
let response;
|
|
3283
3186
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3284
3187
|
switch (errorCode) {
|
|
3285
3188
|
case "AccessDeniedException":
|
|
@@ -3302,14 +3205,12 @@ const deserializeAws_json1_1DeleteAutoSnapshotCommandError = async (output, cont
|
|
|
3302
3205
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
3303
3206
|
default:
|
|
3304
3207
|
const parsedBody = parsedOutput.body;
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
$metadata,
|
|
3208
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3209
|
+
output,
|
|
3210
|
+
parsedBody,
|
|
3211
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3212
|
+
errorCode,
|
|
3311
3213
|
});
|
|
3312
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3313
3214
|
}
|
|
3314
3215
|
};
|
|
3315
3216
|
const deserializeAws_json1_1DeleteBucketCommand = async (output, context) => {
|
|
@@ -3331,7 +3232,6 @@ const deserializeAws_json1_1DeleteBucketCommandError = async (output, context) =
|
|
|
3331
3232
|
...output,
|
|
3332
3233
|
body: await parseBody(output.body, context),
|
|
3333
3234
|
};
|
|
3334
|
-
let response;
|
|
3335
3235
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3336
3236
|
switch (errorCode) {
|
|
3337
3237
|
case "AccessDeniedException":
|
|
@@ -3351,14 +3251,12 @@ const deserializeAws_json1_1DeleteBucketCommandError = async (output, context) =
|
|
|
3351
3251
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
3352
3252
|
default:
|
|
3353
3253
|
const parsedBody = parsedOutput.body;
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
$metadata,
|
|
3254
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3255
|
+
output,
|
|
3256
|
+
parsedBody,
|
|
3257
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3258
|
+
errorCode,
|
|
3360
3259
|
});
|
|
3361
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3362
3260
|
}
|
|
3363
3261
|
};
|
|
3364
3262
|
const deserializeAws_json1_1DeleteBucketAccessKeyCommand = async (output, context) => {
|
|
@@ -3380,7 +3278,6 @@ const deserializeAws_json1_1DeleteBucketAccessKeyCommandError = async (output, c
|
|
|
3380
3278
|
...output,
|
|
3381
3279
|
body: await parseBody(output.body, context),
|
|
3382
3280
|
};
|
|
3383
|
-
let response;
|
|
3384
3281
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3385
3282
|
switch (errorCode) {
|
|
3386
3283
|
case "AccessDeniedException":
|
|
@@ -3400,14 +3297,12 @@ const deserializeAws_json1_1DeleteBucketAccessKeyCommandError = async (output, c
|
|
|
3400
3297
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
3401
3298
|
default:
|
|
3402
3299
|
const parsedBody = parsedOutput.body;
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
$metadata,
|
|
3300
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3301
|
+
output,
|
|
3302
|
+
parsedBody,
|
|
3303
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3304
|
+
errorCode,
|
|
3409
3305
|
});
|
|
3410
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3411
3306
|
}
|
|
3412
3307
|
};
|
|
3413
3308
|
const deserializeAws_json1_1DeleteCertificateCommand = async (output, context) => {
|
|
@@ -3429,7 +3324,6 @@ const deserializeAws_json1_1DeleteCertificateCommandError = async (output, conte
|
|
|
3429
3324
|
...output,
|
|
3430
3325
|
body: await parseBody(output.body, context),
|
|
3431
3326
|
};
|
|
3432
|
-
let response;
|
|
3433
3327
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3434
3328
|
switch (errorCode) {
|
|
3435
3329
|
case "AccessDeniedException":
|
|
@@ -3449,14 +3343,12 @@ const deserializeAws_json1_1DeleteCertificateCommandError = async (output, conte
|
|
|
3449
3343
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
3450
3344
|
default:
|
|
3451
3345
|
const parsedBody = parsedOutput.body;
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
$metadata,
|
|
3346
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3347
|
+
output,
|
|
3348
|
+
parsedBody,
|
|
3349
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3350
|
+
errorCode,
|
|
3458
3351
|
});
|
|
3459
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3460
3352
|
}
|
|
3461
3353
|
};
|
|
3462
3354
|
const deserializeAws_json1_1DeleteContactMethodCommand = async (output, context) => {
|
|
@@ -3478,7 +3370,6 @@ const deserializeAws_json1_1DeleteContactMethodCommandError = async (output, con
|
|
|
3478
3370
|
...output,
|
|
3479
3371
|
body: await parseBody(output.body, context),
|
|
3480
3372
|
};
|
|
3481
|
-
let response;
|
|
3482
3373
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3483
3374
|
switch (errorCode) {
|
|
3484
3375
|
case "AccessDeniedException":
|
|
@@ -3501,14 +3392,12 @@ const deserializeAws_json1_1DeleteContactMethodCommandError = async (output, con
|
|
|
3501
3392
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
3502
3393
|
default:
|
|
3503
3394
|
const parsedBody = parsedOutput.body;
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
$metadata,
|
|
3395
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3396
|
+
output,
|
|
3397
|
+
parsedBody,
|
|
3398
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3399
|
+
errorCode,
|
|
3510
3400
|
});
|
|
3511
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3512
3401
|
}
|
|
3513
3402
|
};
|
|
3514
3403
|
const deserializeAws_json1_1DeleteContainerImageCommand = async (output, context) => {
|
|
@@ -3530,7 +3419,6 @@ const deserializeAws_json1_1DeleteContainerImageCommandError = async (output, co
|
|
|
3530
3419
|
...output,
|
|
3531
3420
|
body: await parseBody(output.body, context),
|
|
3532
3421
|
};
|
|
3533
|
-
let response;
|
|
3534
3422
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3535
3423
|
switch (errorCode) {
|
|
3536
3424
|
case "AccessDeniedException":
|
|
@@ -3550,14 +3438,12 @@ const deserializeAws_json1_1DeleteContainerImageCommandError = async (output, co
|
|
|
3550
3438
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
3551
3439
|
default:
|
|
3552
3440
|
const parsedBody = parsedOutput.body;
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
$metadata,
|
|
3441
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3442
|
+
output,
|
|
3443
|
+
parsedBody,
|
|
3444
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3445
|
+
errorCode,
|
|
3559
3446
|
});
|
|
3560
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3561
3447
|
}
|
|
3562
3448
|
};
|
|
3563
3449
|
const deserializeAws_json1_1DeleteContainerServiceCommand = async (output, context) => {
|
|
@@ -3579,7 +3465,6 @@ const deserializeAws_json1_1DeleteContainerServiceCommandError = async (output,
|
|
|
3579
3465
|
...output,
|
|
3580
3466
|
body: await parseBody(output.body, context),
|
|
3581
3467
|
};
|
|
3582
|
-
let response;
|
|
3583
3468
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3584
3469
|
switch (errorCode) {
|
|
3585
3470
|
case "AccessDeniedException":
|
|
@@ -3599,14 +3484,12 @@ const deserializeAws_json1_1DeleteContainerServiceCommandError = async (output,
|
|
|
3599
3484
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
3600
3485
|
default:
|
|
3601
3486
|
const parsedBody = parsedOutput.body;
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
$metadata,
|
|
3487
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3488
|
+
output,
|
|
3489
|
+
parsedBody,
|
|
3490
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3491
|
+
errorCode,
|
|
3608
3492
|
});
|
|
3609
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3610
3493
|
}
|
|
3611
3494
|
};
|
|
3612
3495
|
const deserializeAws_json1_1DeleteDiskCommand = async (output, context) => {
|
|
@@ -3628,7 +3511,6 @@ const deserializeAws_json1_1DeleteDiskCommandError = async (output, context) =>
|
|
|
3628
3511
|
...output,
|
|
3629
3512
|
body: await parseBody(output.body, context),
|
|
3630
3513
|
};
|
|
3631
|
-
let response;
|
|
3632
3514
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3633
3515
|
switch (errorCode) {
|
|
3634
3516
|
case "AccessDeniedException":
|
|
@@ -3654,14 +3536,12 @@ const deserializeAws_json1_1DeleteDiskCommandError = async (output, context) =>
|
|
|
3654
3536
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
3655
3537
|
default:
|
|
3656
3538
|
const parsedBody = parsedOutput.body;
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
$metadata,
|
|
3539
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3540
|
+
output,
|
|
3541
|
+
parsedBody,
|
|
3542
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3543
|
+
errorCode,
|
|
3663
3544
|
});
|
|
3664
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3665
3545
|
}
|
|
3666
3546
|
};
|
|
3667
3547
|
const deserializeAws_json1_1DeleteDiskSnapshotCommand = async (output, context) => {
|
|
@@ -3683,7 +3563,6 @@ const deserializeAws_json1_1DeleteDiskSnapshotCommandError = async (output, cont
|
|
|
3683
3563
|
...output,
|
|
3684
3564
|
body: await parseBody(output.body, context),
|
|
3685
3565
|
};
|
|
3686
|
-
let response;
|
|
3687
3566
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3688
3567
|
switch (errorCode) {
|
|
3689
3568
|
case "AccessDeniedException":
|
|
@@ -3709,14 +3588,12 @@ const deserializeAws_json1_1DeleteDiskSnapshotCommandError = async (output, cont
|
|
|
3709
3588
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
3710
3589
|
default:
|
|
3711
3590
|
const parsedBody = parsedOutput.body;
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
$metadata,
|
|
3591
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3592
|
+
output,
|
|
3593
|
+
parsedBody,
|
|
3594
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3595
|
+
errorCode,
|
|
3718
3596
|
});
|
|
3719
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3720
3597
|
}
|
|
3721
3598
|
};
|
|
3722
3599
|
const deserializeAws_json1_1DeleteDistributionCommand = async (output, context) => {
|
|
@@ -3738,7 +3615,6 @@ const deserializeAws_json1_1DeleteDistributionCommandError = async (output, cont
|
|
|
3738
3615
|
...output,
|
|
3739
3616
|
body: await parseBody(output.body, context),
|
|
3740
3617
|
};
|
|
3741
|
-
let response;
|
|
3742
3618
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3743
3619
|
switch (errorCode) {
|
|
3744
3620
|
case "AccessDeniedException":
|
|
@@ -3761,14 +3637,12 @@ const deserializeAws_json1_1DeleteDistributionCommandError = async (output, cont
|
|
|
3761
3637
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
3762
3638
|
default:
|
|
3763
3639
|
const parsedBody = parsedOutput.body;
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
$metadata,
|
|
3640
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3641
|
+
output,
|
|
3642
|
+
parsedBody,
|
|
3643
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3644
|
+
errorCode,
|
|
3770
3645
|
});
|
|
3771
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3772
3646
|
}
|
|
3773
3647
|
};
|
|
3774
3648
|
const deserializeAws_json1_1DeleteDomainCommand = async (output, context) => {
|
|
@@ -3790,7 +3664,6 @@ const deserializeAws_json1_1DeleteDomainCommandError = async (output, context) =
|
|
|
3790
3664
|
...output,
|
|
3791
3665
|
body: await parseBody(output.body, context),
|
|
3792
3666
|
};
|
|
3793
|
-
let response;
|
|
3794
3667
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3795
3668
|
switch (errorCode) {
|
|
3796
3669
|
case "AccessDeniedException":
|
|
@@ -3816,14 +3689,12 @@ const deserializeAws_json1_1DeleteDomainCommandError = async (output, context) =
|
|
|
3816
3689
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
3817
3690
|
default:
|
|
3818
3691
|
const parsedBody = parsedOutput.body;
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
$metadata,
|
|
3692
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3693
|
+
output,
|
|
3694
|
+
parsedBody,
|
|
3695
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3696
|
+
errorCode,
|
|
3825
3697
|
});
|
|
3826
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3827
3698
|
}
|
|
3828
3699
|
};
|
|
3829
3700
|
const deserializeAws_json1_1DeleteDomainEntryCommand = async (output, context) => {
|
|
@@ -3845,7 +3716,6 @@ const deserializeAws_json1_1DeleteDomainEntryCommandError = async (output, conte
|
|
|
3845
3716
|
...output,
|
|
3846
3717
|
body: await parseBody(output.body, context),
|
|
3847
3718
|
};
|
|
3848
|
-
let response;
|
|
3849
3719
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3850
3720
|
switch (errorCode) {
|
|
3851
3721
|
case "AccessDeniedException":
|
|
@@ -3871,14 +3741,12 @@ const deserializeAws_json1_1DeleteDomainEntryCommandError = async (output, conte
|
|
|
3871
3741
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
3872
3742
|
default:
|
|
3873
3743
|
const parsedBody = parsedOutput.body;
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
$metadata,
|
|
3744
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3745
|
+
output,
|
|
3746
|
+
parsedBody,
|
|
3747
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3748
|
+
errorCode,
|
|
3880
3749
|
});
|
|
3881
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3882
3750
|
}
|
|
3883
3751
|
};
|
|
3884
3752
|
const deserializeAws_json1_1DeleteInstanceCommand = async (output, context) => {
|
|
@@ -3900,7 +3768,6 @@ const deserializeAws_json1_1DeleteInstanceCommandError = async (output, context)
|
|
|
3900
3768
|
...output,
|
|
3901
3769
|
body: await parseBody(output.body, context),
|
|
3902
3770
|
};
|
|
3903
|
-
let response;
|
|
3904
3771
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3905
3772
|
switch (errorCode) {
|
|
3906
3773
|
case "AccessDeniedException":
|
|
@@ -3926,14 +3793,12 @@ const deserializeAws_json1_1DeleteInstanceCommandError = async (output, context)
|
|
|
3926
3793
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
3927
3794
|
default:
|
|
3928
3795
|
const parsedBody = parsedOutput.body;
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
$metadata,
|
|
3796
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3797
|
+
output,
|
|
3798
|
+
parsedBody,
|
|
3799
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3800
|
+
errorCode,
|
|
3935
3801
|
});
|
|
3936
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3937
3802
|
}
|
|
3938
3803
|
};
|
|
3939
3804
|
const deserializeAws_json1_1DeleteInstanceSnapshotCommand = async (output, context) => {
|
|
@@ -3955,7 +3820,6 @@ const deserializeAws_json1_1DeleteInstanceSnapshotCommandError = async (output,
|
|
|
3955
3820
|
...output,
|
|
3956
3821
|
body: await parseBody(output.body, context),
|
|
3957
3822
|
};
|
|
3958
|
-
let response;
|
|
3959
3823
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3960
3824
|
switch (errorCode) {
|
|
3961
3825
|
case "AccessDeniedException":
|
|
@@ -3981,14 +3845,12 @@ const deserializeAws_json1_1DeleteInstanceSnapshotCommandError = async (output,
|
|
|
3981
3845
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
3982
3846
|
default:
|
|
3983
3847
|
const parsedBody = parsedOutput.body;
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
$metadata,
|
|
3848
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3849
|
+
output,
|
|
3850
|
+
parsedBody,
|
|
3851
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3852
|
+
errorCode,
|
|
3990
3853
|
});
|
|
3991
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3992
3854
|
}
|
|
3993
3855
|
};
|
|
3994
3856
|
const deserializeAws_json1_1DeleteKeyPairCommand = async (output, context) => {
|
|
@@ -4010,7 +3872,6 @@ const deserializeAws_json1_1DeleteKeyPairCommandError = async (output, context)
|
|
|
4010
3872
|
...output,
|
|
4011
3873
|
body: await parseBody(output.body, context),
|
|
4012
3874
|
};
|
|
4013
|
-
let response;
|
|
4014
3875
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4015
3876
|
switch (errorCode) {
|
|
4016
3877
|
case "AccessDeniedException":
|
|
@@ -4036,14 +3897,12 @@ const deserializeAws_json1_1DeleteKeyPairCommandError = async (output, context)
|
|
|
4036
3897
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
4037
3898
|
default:
|
|
4038
3899
|
const parsedBody = parsedOutput.body;
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
$metadata,
|
|
3900
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3901
|
+
output,
|
|
3902
|
+
parsedBody,
|
|
3903
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3904
|
+
errorCode,
|
|
4045
3905
|
});
|
|
4046
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4047
3906
|
}
|
|
4048
3907
|
};
|
|
4049
3908
|
const deserializeAws_json1_1DeleteKnownHostKeysCommand = async (output, context) => {
|
|
@@ -4065,7 +3924,6 @@ const deserializeAws_json1_1DeleteKnownHostKeysCommandError = async (output, con
|
|
|
4065
3924
|
...output,
|
|
4066
3925
|
body: await parseBody(output.body, context),
|
|
4067
3926
|
};
|
|
4068
|
-
let response;
|
|
4069
3927
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4070
3928
|
switch (errorCode) {
|
|
4071
3929
|
case "AccessDeniedException":
|
|
@@ -4091,14 +3949,12 @@ const deserializeAws_json1_1DeleteKnownHostKeysCommandError = async (output, con
|
|
|
4091
3949
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
4092
3950
|
default:
|
|
4093
3951
|
const parsedBody = parsedOutput.body;
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
$metadata,
|
|
3952
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3953
|
+
output,
|
|
3954
|
+
parsedBody,
|
|
3955
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
3956
|
+
errorCode,
|
|
4100
3957
|
});
|
|
4101
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4102
3958
|
}
|
|
4103
3959
|
};
|
|
4104
3960
|
const deserializeAws_json1_1DeleteLoadBalancerCommand = async (output, context) => {
|
|
@@ -4120,7 +3976,6 @@ const deserializeAws_json1_1DeleteLoadBalancerCommandError = async (output, cont
|
|
|
4120
3976
|
...output,
|
|
4121
3977
|
body: await parseBody(output.body, context),
|
|
4122
3978
|
};
|
|
4123
|
-
let response;
|
|
4124
3979
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4125
3980
|
switch (errorCode) {
|
|
4126
3981
|
case "AccessDeniedException":
|
|
@@ -4146,14 +4001,12 @@ const deserializeAws_json1_1DeleteLoadBalancerCommandError = async (output, cont
|
|
|
4146
4001
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
4147
4002
|
default:
|
|
4148
4003
|
const parsedBody = parsedOutput.body;
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
$metadata,
|
|
4004
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4005
|
+
output,
|
|
4006
|
+
parsedBody,
|
|
4007
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4008
|
+
errorCode,
|
|
4155
4009
|
});
|
|
4156
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4157
4010
|
}
|
|
4158
4011
|
};
|
|
4159
4012
|
const deserializeAws_json1_1DeleteLoadBalancerTlsCertificateCommand = async (output, context) => {
|
|
@@ -4175,7 +4028,6 @@ const deserializeAws_json1_1DeleteLoadBalancerTlsCertificateCommandError = async
|
|
|
4175
4028
|
...output,
|
|
4176
4029
|
body: await parseBody(output.body, context),
|
|
4177
4030
|
};
|
|
4178
|
-
let response;
|
|
4179
4031
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4180
4032
|
switch (errorCode) {
|
|
4181
4033
|
case "AccessDeniedException":
|
|
@@ -4201,14 +4053,12 @@ const deserializeAws_json1_1DeleteLoadBalancerTlsCertificateCommandError = async
|
|
|
4201
4053
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
4202
4054
|
default:
|
|
4203
4055
|
const parsedBody = parsedOutput.body;
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
$metadata,
|
|
4056
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4057
|
+
output,
|
|
4058
|
+
parsedBody,
|
|
4059
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4060
|
+
errorCode,
|
|
4210
4061
|
});
|
|
4211
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4212
4062
|
}
|
|
4213
4063
|
};
|
|
4214
4064
|
const deserializeAws_json1_1DeleteRelationalDatabaseCommand = async (output, context) => {
|
|
@@ -4230,7 +4080,6 @@ const deserializeAws_json1_1DeleteRelationalDatabaseCommandError = async (output
|
|
|
4230
4080
|
...output,
|
|
4231
4081
|
body: await parseBody(output.body, context),
|
|
4232
4082
|
};
|
|
4233
|
-
let response;
|
|
4234
4083
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4235
4084
|
switch (errorCode) {
|
|
4236
4085
|
case "AccessDeniedException":
|
|
@@ -4256,14 +4105,12 @@ const deserializeAws_json1_1DeleteRelationalDatabaseCommandError = async (output
|
|
|
4256
4105
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
4257
4106
|
default:
|
|
4258
4107
|
const parsedBody = parsedOutput.body;
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
$metadata,
|
|
4108
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4109
|
+
output,
|
|
4110
|
+
parsedBody,
|
|
4111
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4112
|
+
errorCode,
|
|
4265
4113
|
});
|
|
4266
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4267
4114
|
}
|
|
4268
4115
|
};
|
|
4269
4116
|
const deserializeAws_json1_1DeleteRelationalDatabaseSnapshotCommand = async (output, context) => {
|
|
@@ -4285,7 +4132,6 @@ const deserializeAws_json1_1DeleteRelationalDatabaseSnapshotCommandError = async
|
|
|
4285
4132
|
...output,
|
|
4286
4133
|
body: await parseBody(output.body, context),
|
|
4287
4134
|
};
|
|
4288
|
-
let response;
|
|
4289
4135
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4290
4136
|
switch (errorCode) {
|
|
4291
4137
|
case "AccessDeniedException":
|
|
@@ -4311,14 +4157,12 @@ const deserializeAws_json1_1DeleteRelationalDatabaseSnapshotCommandError = async
|
|
|
4311
4157
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
4312
4158
|
default:
|
|
4313
4159
|
const parsedBody = parsedOutput.body;
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
$metadata,
|
|
4160
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4161
|
+
output,
|
|
4162
|
+
parsedBody,
|
|
4163
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4164
|
+
errorCode,
|
|
4320
4165
|
});
|
|
4321
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4322
4166
|
}
|
|
4323
4167
|
};
|
|
4324
4168
|
const deserializeAws_json1_1DetachCertificateFromDistributionCommand = async (output, context) => {
|
|
@@ -4340,7 +4184,6 @@ const deserializeAws_json1_1DetachCertificateFromDistributionCommandError = asyn
|
|
|
4340
4184
|
...output,
|
|
4341
4185
|
body: await parseBody(output.body, context),
|
|
4342
4186
|
};
|
|
4343
|
-
let response;
|
|
4344
4187
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4345
4188
|
switch (errorCode) {
|
|
4346
4189
|
case "AccessDeniedException":
|
|
@@ -4363,14 +4206,12 @@ const deserializeAws_json1_1DetachCertificateFromDistributionCommandError = asyn
|
|
|
4363
4206
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
4364
4207
|
default:
|
|
4365
4208
|
const parsedBody = parsedOutput.body;
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
$metadata,
|
|
4209
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4210
|
+
output,
|
|
4211
|
+
parsedBody,
|
|
4212
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4213
|
+
errorCode,
|
|
4372
4214
|
});
|
|
4373
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4374
4215
|
}
|
|
4375
4216
|
};
|
|
4376
4217
|
const deserializeAws_json1_1DetachDiskCommand = async (output, context) => {
|
|
@@ -4392,7 +4233,6 @@ const deserializeAws_json1_1DetachDiskCommandError = async (output, context) =>
|
|
|
4392
4233
|
...output,
|
|
4393
4234
|
body: await parseBody(output.body, context),
|
|
4394
4235
|
};
|
|
4395
|
-
let response;
|
|
4396
4236
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4397
4237
|
switch (errorCode) {
|
|
4398
4238
|
case "AccessDeniedException":
|
|
@@ -4418,14 +4258,12 @@ const deserializeAws_json1_1DetachDiskCommandError = async (output, context) =>
|
|
|
4418
4258
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
4419
4259
|
default:
|
|
4420
4260
|
const parsedBody = parsedOutput.body;
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
$metadata,
|
|
4261
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4262
|
+
output,
|
|
4263
|
+
parsedBody,
|
|
4264
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4265
|
+
errorCode,
|
|
4427
4266
|
});
|
|
4428
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4429
4267
|
}
|
|
4430
4268
|
};
|
|
4431
4269
|
const deserializeAws_json1_1DetachInstancesFromLoadBalancerCommand = async (output, context) => {
|
|
@@ -4447,7 +4285,6 @@ const deserializeAws_json1_1DetachInstancesFromLoadBalancerCommandError = async
|
|
|
4447
4285
|
...output,
|
|
4448
4286
|
body: await parseBody(output.body, context),
|
|
4449
4287
|
};
|
|
4450
|
-
let response;
|
|
4451
4288
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4452
4289
|
switch (errorCode) {
|
|
4453
4290
|
case "AccessDeniedException":
|
|
@@ -4473,14 +4310,12 @@ const deserializeAws_json1_1DetachInstancesFromLoadBalancerCommandError = async
|
|
|
4473
4310
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
4474
4311
|
default:
|
|
4475
4312
|
const parsedBody = parsedOutput.body;
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
$metadata,
|
|
4313
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4314
|
+
output,
|
|
4315
|
+
parsedBody,
|
|
4316
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4317
|
+
errorCode,
|
|
4482
4318
|
});
|
|
4483
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4484
4319
|
}
|
|
4485
4320
|
};
|
|
4486
4321
|
const deserializeAws_json1_1DetachStaticIpCommand = async (output, context) => {
|
|
@@ -4502,7 +4337,6 @@ const deserializeAws_json1_1DetachStaticIpCommandError = async (output, context)
|
|
|
4502
4337
|
...output,
|
|
4503
4338
|
body: await parseBody(output.body, context),
|
|
4504
4339
|
};
|
|
4505
|
-
let response;
|
|
4506
4340
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4507
4341
|
switch (errorCode) {
|
|
4508
4342
|
case "AccessDeniedException":
|
|
@@ -4528,14 +4362,12 @@ const deserializeAws_json1_1DetachStaticIpCommandError = async (output, context)
|
|
|
4528
4362
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
4529
4363
|
default:
|
|
4530
4364
|
const parsedBody = parsedOutput.body;
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
$metadata,
|
|
4365
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4366
|
+
output,
|
|
4367
|
+
parsedBody,
|
|
4368
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4369
|
+
errorCode,
|
|
4537
4370
|
});
|
|
4538
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4539
4371
|
}
|
|
4540
4372
|
};
|
|
4541
4373
|
const deserializeAws_json1_1DisableAddOnCommand = async (output, context) => {
|
|
@@ -4557,7 +4389,6 @@ const deserializeAws_json1_1DisableAddOnCommandError = async (output, context) =
|
|
|
4557
4389
|
...output,
|
|
4558
4390
|
body: await parseBody(output.body, context),
|
|
4559
4391
|
};
|
|
4560
|
-
let response;
|
|
4561
4392
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4562
4393
|
switch (errorCode) {
|
|
4563
4394
|
case "AccessDeniedException":
|
|
@@ -4580,14 +4411,12 @@ const deserializeAws_json1_1DisableAddOnCommandError = async (output, context) =
|
|
|
4580
4411
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
4581
4412
|
default:
|
|
4582
4413
|
const parsedBody = parsedOutput.body;
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
$metadata,
|
|
4414
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4415
|
+
output,
|
|
4416
|
+
parsedBody,
|
|
4417
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4418
|
+
errorCode,
|
|
4589
4419
|
});
|
|
4590
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4591
4420
|
}
|
|
4592
4421
|
};
|
|
4593
4422
|
const deserializeAws_json1_1DownloadDefaultKeyPairCommand = async (output, context) => {
|
|
@@ -4609,7 +4438,6 @@ const deserializeAws_json1_1DownloadDefaultKeyPairCommandError = async (output,
|
|
|
4609
4438
|
...output,
|
|
4610
4439
|
body: await parseBody(output.body, context),
|
|
4611
4440
|
};
|
|
4612
|
-
let response;
|
|
4613
4441
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4614
4442
|
switch (errorCode) {
|
|
4615
4443
|
case "AccessDeniedException":
|
|
@@ -4635,14 +4463,12 @@ const deserializeAws_json1_1DownloadDefaultKeyPairCommandError = async (output,
|
|
|
4635
4463
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
4636
4464
|
default:
|
|
4637
4465
|
const parsedBody = parsedOutput.body;
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
$metadata,
|
|
4466
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4467
|
+
output,
|
|
4468
|
+
parsedBody,
|
|
4469
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4470
|
+
errorCode,
|
|
4644
4471
|
});
|
|
4645
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4646
4472
|
}
|
|
4647
4473
|
};
|
|
4648
4474
|
const deserializeAws_json1_1EnableAddOnCommand = async (output, context) => {
|
|
@@ -4664,7 +4490,6 @@ const deserializeAws_json1_1EnableAddOnCommandError = async (output, context) =>
|
|
|
4664
4490
|
...output,
|
|
4665
4491
|
body: await parseBody(output.body, context),
|
|
4666
4492
|
};
|
|
4667
|
-
let response;
|
|
4668
4493
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4669
4494
|
switch (errorCode) {
|
|
4670
4495
|
case "AccessDeniedException":
|
|
@@ -4687,14 +4512,12 @@ const deserializeAws_json1_1EnableAddOnCommandError = async (output, context) =>
|
|
|
4687
4512
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
4688
4513
|
default:
|
|
4689
4514
|
const parsedBody = parsedOutput.body;
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
$metadata,
|
|
4515
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4516
|
+
output,
|
|
4517
|
+
parsedBody,
|
|
4518
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4519
|
+
errorCode,
|
|
4696
4520
|
});
|
|
4697
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4698
4521
|
}
|
|
4699
4522
|
};
|
|
4700
4523
|
const deserializeAws_json1_1ExportSnapshotCommand = async (output, context) => {
|
|
@@ -4716,7 +4539,6 @@ const deserializeAws_json1_1ExportSnapshotCommandError = async (output, context)
|
|
|
4716
4539
|
...output,
|
|
4717
4540
|
body: await parseBody(output.body, context),
|
|
4718
4541
|
};
|
|
4719
|
-
let response;
|
|
4720
4542
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4721
4543
|
switch (errorCode) {
|
|
4722
4544
|
case "AccessDeniedException":
|
|
@@ -4742,14 +4564,12 @@ const deserializeAws_json1_1ExportSnapshotCommandError = async (output, context)
|
|
|
4742
4564
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
4743
4565
|
default:
|
|
4744
4566
|
const parsedBody = parsedOutput.body;
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
$metadata,
|
|
4567
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4568
|
+
output,
|
|
4569
|
+
parsedBody,
|
|
4570
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4571
|
+
errorCode,
|
|
4751
4572
|
});
|
|
4752
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4753
4573
|
}
|
|
4754
4574
|
};
|
|
4755
4575
|
const deserializeAws_json1_1GetActiveNamesCommand = async (output, context) => {
|
|
@@ -4771,7 +4591,6 @@ const deserializeAws_json1_1GetActiveNamesCommandError = async (output, context)
|
|
|
4771
4591
|
...output,
|
|
4772
4592
|
body: await parseBody(output.body, context),
|
|
4773
4593
|
};
|
|
4774
|
-
let response;
|
|
4775
4594
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4776
4595
|
switch (errorCode) {
|
|
4777
4596
|
case "AccessDeniedException":
|
|
@@ -4797,14 +4616,12 @@ const deserializeAws_json1_1GetActiveNamesCommandError = async (output, context)
|
|
|
4797
4616
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
4798
4617
|
default:
|
|
4799
4618
|
const parsedBody = parsedOutput.body;
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
$metadata,
|
|
4619
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4620
|
+
output,
|
|
4621
|
+
parsedBody,
|
|
4622
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4623
|
+
errorCode,
|
|
4806
4624
|
});
|
|
4807
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4808
4625
|
}
|
|
4809
4626
|
};
|
|
4810
4627
|
const deserializeAws_json1_1GetAlarmsCommand = async (output, context) => {
|
|
@@ -4826,7 +4643,6 @@ const deserializeAws_json1_1GetAlarmsCommandError = async (output, context) => {
|
|
|
4826
4643
|
...output,
|
|
4827
4644
|
body: await parseBody(output.body, context),
|
|
4828
4645
|
};
|
|
4829
|
-
let response;
|
|
4830
4646
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4831
4647
|
switch (errorCode) {
|
|
4832
4648
|
case "AccessDeniedException":
|
|
@@ -4849,14 +4665,12 @@ const deserializeAws_json1_1GetAlarmsCommandError = async (output, context) => {
|
|
|
4849
4665
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
4850
4666
|
default:
|
|
4851
4667
|
const parsedBody = parsedOutput.body;
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
$metadata,
|
|
4668
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4669
|
+
output,
|
|
4670
|
+
parsedBody,
|
|
4671
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4672
|
+
errorCode,
|
|
4858
4673
|
});
|
|
4859
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4860
4674
|
}
|
|
4861
4675
|
};
|
|
4862
4676
|
const deserializeAws_json1_1GetAutoSnapshotsCommand = async (output, context) => {
|
|
@@ -4878,7 +4692,6 @@ const deserializeAws_json1_1GetAutoSnapshotsCommandError = async (output, contex
|
|
|
4878
4692
|
...output,
|
|
4879
4693
|
body: await parseBody(output.body, context),
|
|
4880
4694
|
};
|
|
4881
|
-
let response;
|
|
4882
4695
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4883
4696
|
switch (errorCode) {
|
|
4884
4697
|
case "AccessDeniedException":
|
|
@@ -4901,14 +4714,12 @@ const deserializeAws_json1_1GetAutoSnapshotsCommandError = async (output, contex
|
|
|
4901
4714
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
4902
4715
|
default:
|
|
4903
4716
|
const parsedBody = parsedOutput.body;
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
$metadata,
|
|
4717
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4718
|
+
output,
|
|
4719
|
+
parsedBody,
|
|
4720
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4721
|
+
errorCode,
|
|
4910
4722
|
});
|
|
4911
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4912
4723
|
}
|
|
4913
4724
|
};
|
|
4914
4725
|
const deserializeAws_json1_1GetBlueprintsCommand = async (output, context) => {
|
|
@@ -4930,7 +4741,6 @@ const deserializeAws_json1_1GetBlueprintsCommandError = async (output, context)
|
|
|
4930
4741
|
...output,
|
|
4931
4742
|
body: await parseBody(output.body, context),
|
|
4932
4743
|
};
|
|
4933
|
-
let response;
|
|
4934
4744
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4935
4745
|
switch (errorCode) {
|
|
4936
4746
|
case "AccessDeniedException":
|
|
@@ -4956,14 +4766,12 @@ const deserializeAws_json1_1GetBlueprintsCommandError = async (output, context)
|
|
|
4956
4766
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
4957
4767
|
default:
|
|
4958
4768
|
const parsedBody = parsedOutput.body;
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
$metadata,
|
|
4769
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4770
|
+
output,
|
|
4771
|
+
parsedBody,
|
|
4772
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4773
|
+
errorCode,
|
|
4965
4774
|
});
|
|
4966
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4967
4775
|
}
|
|
4968
4776
|
};
|
|
4969
4777
|
const deserializeAws_json1_1GetBucketAccessKeysCommand = async (output, context) => {
|
|
@@ -4985,7 +4793,6 @@ const deserializeAws_json1_1GetBucketAccessKeysCommandError = async (output, con
|
|
|
4985
4793
|
...output,
|
|
4986
4794
|
body: await parseBody(output.body, context),
|
|
4987
4795
|
};
|
|
4988
|
-
let response;
|
|
4989
4796
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4990
4797
|
switch (errorCode) {
|
|
4991
4798
|
case "AccessDeniedException":
|
|
@@ -5005,14 +4812,12 @@ const deserializeAws_json1_1GetBucketAccessKeysCommandError = async (output, con
|
|
|
5005
4812
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5006
4813
|
default:
|
|
5007
4814
|
const parsedBody = parsedOutput.body;
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
$metadata,
|
|
4815
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4816
|
+
output,
|
|
4817
|
+
parsedBody,
|
|
4818
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4819
|
+
errorCode,
|
|
5014
4820
|
});
|
|
5015
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5016
4821
|
}
|
|
5017
4822
|
};
|
|
5018
4823
|
const deserializeAws_json1_1GetBucketBundlesCommand = async (output, context) => {
|
|
@@ -5034,7 +4839,6 @@ const deserializeAws_json1_1GetBucketBundlesCommandError = async (output, contex
|
|
|
5034
4839
|
...output,
|
|
5035
4840
|
body: await parseBody(output.body, context),
|
|
5036
4841
|
};
|
|
5037
|
-
let response;
|
|
5038
4842
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5039
4843
|
switch (errorCode) {
|
|
5040
4844
|
case "AccessDeniedException":
|
|
@@ -5051,14 +4855,12 @@ const deserializeAws_json1_1GetBucketBundlesCommandError = async (output, contex
|
|
|
5051
4855
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5052
4856
|
default:
|
|
5053
4857
|
const parsedBody = parsedOutput.body;
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
$metadata,
|
|
4858
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4859
|
+
output,
|
|
4860
|
+
parsedBody,
|
|
4861
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4862
|
+
errorCode,
|
|
5060
4863
|
});
|
|
5061
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5062
4864
|
}
|
|
5063
4865
|
};
|
|
5064
4866
|
const deserializeAws_json1_1GetBucketMetricDataCommand = async (output, context) => {
|
|
@@ -5080,7 +4882,6 @@ const deserializeAws_json1_1GetBucketMetricDataCommandError = async (output, con
|
|
|
5080
4882
|
...output,
|
|
5081
4883
|
body: await parseBody(output.body, context),
|
|
5082
4884
|
};
|
|
5083
|
-
let response;
|
|
5084
4885
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5085
4886
|
switch (errorCode) {
|
|
5086
4887
|
case "AccessDeniedException":
|
|
@@ -5100,14 +4901,12 @@ const deserializeAws_json1_1GetBucketMetricDataCommandError = async (output, con
|
|
|
5100
4901
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5101
4902
|
default:
|
|
5102
4903
|
const parsedBody = parsedOutput.body;
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
$metadata,
|
|
4904
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4905
|
+
output,
|
|
4906
|
+
parsedBody,
|
|
4907
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4908
|
+
errorCode,
|
|
5109
4909
|
});
|
|
5110
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5111
4910
|
}
|
|
5112
4911
|
};
|
|
5113
4912
|
const deserializeAws_json1_1GetBucketsCommand = async (output, context) => {
|
|
@@ -5129,7 +4928,6 @@ const deserializeAws_json1_1GetBucketsCommandError = async (output, context) =>
|
|
|
5129
4928
|
...output,
|
|
5130
4929
|
body: await parseBody(output.body, context),
|
|
5131
4930
|
};
|
|
5132
|
-
let response;
|
|
5133
4931
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5134
4932
|
switch (errorCode) {
|
|
5135
4933
|
case "AccessDeniedException":
|
|
@@ -5149,14 +4947,12 @@ const deserializeAws_json1_1GetBucketsCommandError = async (output, context) =>
|
|
|
5149
4947
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5150
4948
|
default:
|
|
5151
4949
|
const parsedBody = parsedOutput.body;
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
$metadata,
|
|
4950
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4951
|
+
output,
|
|
4952
|
+
parsedBody,
|
|
4953
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
4954
|
+
errorCode,
|
|
5158
4955
|
});
|
|
5159
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5160
4956
|
}
|
|
5161
4957
|
};
|
|
5162
4958
|
const deserializeAws_json1_1GetBundlesCommand = async (output, context) => {
|
|
@@ -5178,7 +4974,6 @@ const deserializeAws_json1_1GetBundlesCommandError = async (output, context) =>
|
|
|
5178
4974
|
...output,
|
|
5179
4975
|
body: await parseBody(output.body, context),
|
|
5180
4976
|
};
|
|
5181
|
-
let response;
|
|
5182
4977
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5183
4978
|
switch (errorCode) {
|
|
5184
4979
|
case "AccessDeniedException":
|
|
@@ -5204,14 +4999,12 @@ const deserializeAws_json1_1GetBundlesCommandError = async (output, context) =>
|
|
|
5204
4999
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5205
5000
|
default:
|
|
5206
5001
|
const parsedBody = parsedOutput.body;
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
$metadata,
|
|
5002
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5003
|
+
output,
|
|
5004
|
+
parsedBody,
|
|
5005
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5006
|
+
errorCode,
|
|
5213
5007
|
});
|
|
5214
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5215
5008
|
}
|
|
5216
5009
|
};
|
|
5217
5010
|
const deserializeAws_json1_1GetCertificatesCommand = async (output, context) => {
|
|
@@ -5233,7 +5026,6 @@ const deserializeAws_json1_1GetCertificatesCommandError = async (output, context
|
|
|
5233
5026
|
...output,
|
|
5234
5027
|
body: await parseBody(output.body, context),
|
|
5235
5028
|
};
|
|
5236
|
-
let response;
|
|
5237
5029
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5238
5030
|
switch (errorCode) {
|
|
5239
5031
|
case "AccessDeniedException":
|
|
@@ -5253,14 +5045,12 @@ const deserializeAws_json1_1GetCertificatesCommandError = async (output, context
|
|
|
5253
5045
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5254
5046
|
default:
|
|
5255
5047
|
const parsedBody = parsedOutput.body;
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
$metadata,
|
|
5048
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5049
|
+
output,
|
|
5050
|
+
parsedBody,
|
|
5051
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5052
|
+
errorCode,
|
|
5262
5053
|
});
|
|
5263
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5264
5054
|
}
|
|
5265
5055
|
};
|
|
5266
5056
|
const deserializeAws_json1_1GetCloudFormationStackRecordsCommand = async (output, context) => {
|
|
@@ -5282,7 +5072,6 @@ const deserializeAws_json1_1GetCloudFormationStackRecordsCommandError = async (o
|
|
|
5282
5072
|
...output,
|
|
5283
5073
|
body: await parseBody(output.body, context),
|
|
5284
5074
|
};
|
|
5285
|
-
let response;
|
|
5286
5075
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5287
5076
|
switch (errorCode) {
|
|
5288
5077
|
case "AccessDeniedException":
|
|
@@ -5308,14 +5097,12 @@ const deserializeAws_json1_1GetCloudFormationStackRecordsCommandError = async (o
|
|
|
5308
5097
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5309
5098
|
default:
|
|
5310
5099
|
const parsedBody = parsedOutput.body;
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
$metadata,
|
|
5100
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5101
|
+
output,
|
|
5102
|
+
parsedBody,
|
|
5103
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5104
|
+
errorCode,
|
|
5317
5105
|
});
|
|
5318
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5319
5106
|
}
|
|
5320
5107
|
};
|
|
5321
5108
|
const deserializeAws_json1_1GetContactMethodsCommand = async (output, context) => {
|
|
@@ -5337,7 +5124,6 @@ const deserializeAws_json1_1GetContactMethodsCommandError = async (output, conte
|
|
|
5337
5124
|
...output,
|
|
5338
5125
|
body: await parseBody(output.body, context),
|
|
5339
5126
|
};
|
|
5340
|
-
let response;
|
|
5341
5127
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5342
5128
|
switch (errorCode) {
|
|
5343
5129
|
case "AccessDeniedException":
|
|
@@ -5360,14 +5146,12 @@ const deserializeAws_json1_1GetContactMethodsCommandError = async (output, conte
|
|
|
5360
5146
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5361
5147
|
default:
|
|
5362
5148
|
const parsedBody = parsedOutput.body;
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
$metadata,
|
|
5149
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5150
|
+
output,
|
|
5151
|
+
parsedBody,
|
|
5152
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5153
|
+
errorCode,
|
|
5369
5154
|
});
|
|
5370
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5371
5155
|
}
|
|
5372
5156
|
};
|
|
5373
5157
|
const deserializeAws_json1_1GetContainerAPIMetadataCommand = async (output, context) => {
|
|
@@ -5389,7 +5173,6 @@ const deserializeAws_json1_1GetContainerAPIMetadataCommandError = async (output,
|
|
|
5389
5173
|
...output,
|
|
5390
5174
|
body: await parseBody(output.body, context),
|
|
5391
5175
|
};
|
|
5392
|
-
let response;
|
|
5393
5176
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5394
5177
|
switch (errorCode) {
|
|
5395
5178
|
case "AccessDeniedException":
|
|
@@ -5403,14 +5186,12 @@ const deserializeAws_json1_1GetContainerAPIMetadataCommandError = async (output,
|
|
|
5403
5186
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5404
5187
|
default:
|
|
5405
5188
|
const parsedBody = parsedOutput.body;
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
$metadata,
|
|
5189
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5190
|
+
output,
|
|
5191
|
+
parsedBody,
|
|
5192
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5193
|
+
errorCode,
|
|
5412
5194
|
});
|
|
5413
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5414
5195
|
}
|
|
5415
5196
|
};
|
|
5416
5197
|
const deserializeAws_json1_1GetContainerImagesCommand = async (output, context) => {
|
|
@@ -5432,7 +5213,6 @@ const deserializeAws_json1_1GetContainerImagesCommandError = async (output, cont
|
|
|
5432
5213
|
...output,
|
|
5433
5214
|
body: await parseBody(output.body, context),
|
|
5434
5215
|
};
|
|
5435
|
-
let response;
|
|
5436
5216
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5437
5217
|
switch (errorCode) {
|
|
5438
5218
|
case "AccessDeniedException":
|
|
@@ -5452,14 +5232,12 @@ const deserializeAws_json1_1GetContainerImagesCommandError = async (output, cont
|
|
|
5452
5232
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5453
5233
|
default:
|
|
5454
5234
|
const parsedBody = parsedOutput.body;
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
$metadata,
|
|
5235
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5236
|
+
output,
|
|
5237
|
+
parsedBody,
|
|
5238
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5239
|
+
errorCode,
|
|
5461
5240
|
});
|
|
5462
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5463
5241
|
}
|
|
5464
5242
|
};
|
|
5465
5243
|
const deserializeAws_json1_1GetContainerLogCommand = async (output, context) => {
|
|
@@ -5481,7 +5259,6 @@ const deserializeAws_json1_1GetContainerLogCommandError = async (output, context
|
|
|
5481
5259
|
...output,
|
|
5482
5260
|
body: await parseBody(output.body, context),
|
|
5483
5261
|
};
|
|
5484
|
-
let response;
|
|
5485
5262
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5486
5263
|
switch (errorCode) {
|
|
5487
5264
|
case "AccessDeniedException":
|
|
@@ -5501,14 +5278,12 @@ const deserializeAws_json1_1GetContainerLogCommandError = async (output, context
|
|
|
5501
5278
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5502
5279
|
default:
|
|
5503
5280
|
const parsedBody = parsedOutput.body;
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
$metadata,
|
|
5281
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5282
|
+
output,
|
|
5283
|
+
parsedBody,
|
|
5284
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5285
|
+
errorCode,
|
|
5510
5286
|
});
|
|
5511
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5512
5287
|
}
|
|
5513
5288
|
};
|
|
5514
5289
|
const deserializeAws_json1_1GetContainerServiceDeploymentsCommand = async (output, context) => {
|
|
@@ -5530,7 +5305,6 @@ const deserializeAws_json1_1GetContainerServiceDeploymentsCommandError = async (
|
|
|
5530
5305
|
...output,
|
|
5531
5306
|
body: await parseBody(output.body, context),
|
|
5532
5307
|
};
|
|
5533
|
-
let response;
|
|
5534
5308
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5535
5309
|
switch (errorCode) {
|
|
5536
5310
|
case "AccessDeniedException":
|
|
@@ -5550,14 +5324,12 @@ const deserializeAws_json1_1GetContainerServiceDeploymentsCommandError = async (
|
|
|
5550
5324
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5551
5325
|
default:
|
|
5552
5326
|
const parsedBody = parsedOutput.body;
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
$metadata,
|
|
5327
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5328
|
+
output,
|
|
5329
|
+
parsedBody,
|
|
5330
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5331
|
+
errorCode,
|
|
5559
5332
|
});
|
|
5560
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5561
5333
|
}
|
|
5562
5334
|
};
|
|
5563
5335
|
const deserializeAws_json1_1GetContainerServiceMetricDataCommand = async (output, context) => {
|
|
@@ -5579,7 +5351,6 @@ const deserializeAws_json1_1GetContainerServiceMetricDataCommandError = async (o
|
|
|
5579
5351
|
...output,
|
|
5580
5352
|
body: await parseBody(output.body, context),
|
|
5581
5353
|
};
|
|
5582
|
-
let response;
|
|
5583
5354
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5584
5355
|
switch (errorCode) {
|
|
5585
5356
|
case "AccessDeniedException":
|
|
@@ -5599,14 +5370,12 @@ const deserializeAws_json1_1GetContainerServiceMetricDataCommandError = async (o
|
|
|
5599
5370
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5600
5371
|
default:
|
|
5601
5372
|
const parsedBody = parsedOutput.body;
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
$metadata,
|
|
5373
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5374
|
+
output,
|
|
5375
|
+
parsedBody,
|
|
5376
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5377
|
+
errorCode,
|
|
5608
5378
|
});
|
|
5609
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5610
5379
|
}
|
|
5611
5380
|
};
|
|
5612
5381
|
const deserializeAws_json1_1GetContainerServicePowersCommand = async (output, context) => {
|
|
@@ -5628,7 +5397,6 @@ const deserializeAws_json1_1GetContainerServicePowersCommandError = async (outpu
|
|
|
5628
5397
|
...output,
|
|
5629
5398
|
body: await parseBody(output.body, context),
|
|
5630
5399
|
};
|
|
5631
|
-
let response;
|
|
5632
5400
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5633
5401
|
switch (errorCode) {
|
|
5634
5402
|
case "AccessDeniedException":
|
|
@@ -5648,14 +5416,12 @@ const deserializeAws_json1_1GetContainerServicePowersCommandError = async (outpu
|
|
|
5648
5416
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5649
5417
|
default:
|
|
5650
5418
|
const parsedBody = parsedOutput.body;
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
$metadata,
|
|
5419
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5420
|
+
output,
|
|
5421
|
+
parsedBody,
|
|
5422
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5423
|
+
errorCode,
|
|
5657
5424
|
});
|
|
5658
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5659
5425
|
}
|
|
5660
5426
|
};
|
|
5661
5427
|
const deserializeAws_json1_1GetContainerServicesCommand = async (output, context) => {
|
|
@@ -5677,7 +5443,6 @@ const deserializeAws_json1_1GetContainerServicesCommandError = async (output, co
|
|
|
5677
5443
|
...output,
|
|
5678
5444
|
body: await parseBody(output.body, context),
|
|
5679
5445
|
};
|
|
5680
|
-
let response;
|
|
5681
5446
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5682
5447
|
switch (errorCode) {
|
|
5683
5448
|
case "AccessDeniedException":
|
|
@@ -5697,14 +5462,12 @@ const deserializeAws_json1_1GetContainerServicesCommandError = async (output, co
|
|
|
5697
5462
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5698
5463
|
default:
|
|
5699
5464
|
const parsedBody = parsedOutput.body;
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
$metadata,
|
|
5465
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5466
|
+
output,
|
|
5467
|
+
parsedBody,
|
|
5468
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5469
|
+
errorCode,
|
|
5706
5470
|
});
|
|
5707
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5708
5471
|
}
|
|
5709
5472
|
};
|
|
5710
5473
|
const deserializeAws_json1_1GetDiskCommand = async (output, context) => {
|
|
@@ -5726,7 +5489,6 @@ const deserializeAws_json1_1GetDiskCommandError = async (output, context) => {
|
|
|
5726
5489
|
...output,
|
|
5727
5490
|
body: await parseBody(output.body, context),
|
|
5728
5491
|
};
|
|
5729
|
-
let response;
|
|
5730
5492
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5731
5493
|
switch (errorCode) {
|
|
5732
5494
|
case "AccessDeniedException":
|
|
@@ -5752,14 +5514,12 @@ const deserializeAws_json1_1GetDiskCommandError = async (output, context) => {
|
|
|
5752
5514
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5753
5515
|
default:
|
|
5754
5516
|
const parsedBody = parsedOutput.body;
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
$metadata,
|
|
5517
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5518
|
+
output,
|
|
5519
|
+
parsedBody,
|
|
5520
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5521
|
+
errorCode,
|
|
5761
5522
|
});
|
|
5762
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5763
5523
|
}
|
|
5764
5524
|
};
|
|
5765
5525
|
const deserializeAws_json1_1GetDisksCommand = async (output, context) => {
|
|
@@ -5781,7 +5541,6 @@ const deserializeAws_json1_1GetDisksCommandError = async (output, context) => {
|
|
|
5781
5541
|
...output,
|
|
5782
5542
|
body: await parseBody(output.body, context),
|
|
5783
5543
|
};
|
|
5784
|
-
let response;
|
|
5785
5544
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5786
5545
|
switch (errorCode) {
|
|
5787
5546
|
case "AccessDeniedException":
|
|
@@ -5807,14 +5566,12 @@ const deserializeAws_json1_1GetDisksCommandError = async (output, context) => {
|
|
|
5807
5566
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5808
5567
|
default:
|
|
5809
5568
|
const parsedBody = parsedOutput.body;
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
$metadata,
|
|
5569
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5570
|
+
output,
|
|
5571
|
+
parsedBody,
|
|
5572
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5573
|
+
errorCode,
|
|
5816
5574
|
});
|
|
5817
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5818
5575
|
}
|
|
5819
5576
|
};
|
|
5820
5577
|
const deserializeAws_json1_1GetDiskSnapshotCommand = async (output, context) => {
|
|
@@ -5836,7 +5593,6 @@ const deserializeAws_json1_1GetDiskSnapshotCommandError = async (output, context
|
|
|
5836
5593
|
...output,
|
|
5837
5594
|
body: await parseBody(output.body, context),
|
|
5838
5595
|
};
|
|
5839
|
-
let response;
|
|
5840
5596
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5841
5597
|
switch (errorCode) {
|
|
5842
5598
|
case "AccessDeniedException":
|
|
@@ -5862,14 +5618,12 @@ const deserializeAws_json1_1GetDiskSnapshotCommandError = async (output, context
|
|
|
5862
5618
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5863
5619
|
default:
|
|
5864
5620
|
const parsedBody = parsedOutput.body;
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
|
|
5870
|
-
$metadata,
|
|
5621
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5622
|
+
output,
|
|
5623
|
+
parsedBody,
|
|
5624
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5625
|
+
errorCode,
|
|
5871
5626
|
});
|
|
5872
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5873
5627
|
}
|
|
5874
5628
|
};
|
|
5875
5629
|
const deserializeAws_json1_1GetDiskSnapshotsCommand = async (output, context) => {
|
|
@@ -5891,7 +5645,6 @@ const deserializeAws_json1_1GetDiskSnapshotsCommandError = async (output, contex
|
|
|
5891
5645
|
...output,
|
|
5892
5646
|
body: await parseBody(output.body, context),
|
|
5893
5647
|
};
|
|
5894
|
-
let response;
|
|
5895
5648
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5896
5649
|
switch (errorCode) {
|
|
5897
5650
|
case "AccessDeniedException":
|
|
@@ -5917,14 +5670,12 @@ const deserializeAws_json1_1GetDiskSnapshotsCommandError = async (output, contex
|
|
|
5917
5670
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5918
5671
|
default:
|
|
5919
5672
|
const parsedBody = parsedOutput.body;
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
$metadata,
|
|
5673
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5674
|
+
output,
|
|
5675
|
+
parsedBody,
|
|
5676
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5677
|
+
errorCode,
|
|
5926
5678
|
});
|
|
5927
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5928
5679
|
}
|
|
5929
5680
|
};
|
|
5930
5681
|
const deserializeAws_json1_1GetDistributionBundlesCommand = async (output, context) => {
|
|
@@ -5946,7 +5697,6 @@ const deserializeAws_json1_1GetDistributionBundlesCommandError = async (output,
|
|
|
5946
5697
|
...output,
|
|
5947
5698
|
body: await parseBody(output.body, context),
|
|
5948
5699
|
};
|
|
5949
|
-
let response;
|
|
5950
5700
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5951
5701
|
switch (errorCode) {
|
|
5952
5702
|
case "AccessDeniedException":
|
|
@@ -5969,14 +5719,12 @@ const deserializeAws_json1_1GetDistributionBundlesCommandError = async (output,
|
|
|
5969
5719
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
5970
5720
|
default:
|
|
5971
5721
|
const parsedBody = parsedOutput.body;
|
|
5972
|
-
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
5976
|
-
|
|
5977
|
-
$metadata,
|
|
5722
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5723
|
+
output,
|
|
5724
|
+
parsedBody,
|
|
5725
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5726
|
+
errorCode,
|
|
5978
5727
|
});
|
|
5979
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5980
5728
|
}
|
|
5981
5729
|
};
|
|
5982
5730
|
const deserializeAws_json1_1GetDistributionLatestCacheResetCommand = async (output, context) => {
|
|
@@ -5998,7 +5746,6 @@ const deserializeAws_json1_1GetDistributionLatestCacheResetCommandError = async
|
|
|
5998
5746
|
...output,
|
|
5999
5747
|
body: await parseBody(output.body, context),
|
|
6000
5748
|
};
|
|
6001
|
-
let response;
|
|
6002
5749
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6003
5750
|
switch (errorCode) {
|
|
6004
5751
|
case "AccessDeniedException":
|
|
@@ -6021,14 +5768,12 @@ const deserializeAws_json1_1GetDistributionLatestCacheResetCommandError = async
|
|
|
6021
5768
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
6022
5769
|
default:
|
|
6023
5770
|
const parsedBody = parsedOutput.body;
|
|
6024
|
-
|
|
6025
|
-
|
|
6026
|
-
|
|
6027
|
-
|
|
6028
|
-
|
|
6029
|
-
$metadata,
|
|
5771
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5772
|
+
output,
|
|
5773
|
+
parsedBody,
|
|
5774
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5775
|
+
errorCode,
|
|
6030
5776
|
});
|
|
6031
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6032
5777
|
}
|
|
6033
5778
|
};
|
|
6034
5779
|
const deserializeAws_json1_1GetDistributionMetricDataCommand = async (output, context) => {
|
|
@@ -6050,7 +5795,6 @@ const deserializeAws_json1_1GetDistributionMetricDataCommandError = async (outpu
|
|
|
6050
5795
|
...output,
|
|
6051
5796
|
body: await parseBody(output.body, context),
|
|
6052
5797
|
};
|
|
6053
|
-
let response;
|
|
6054
5798
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6055
5799
|
switch (errorCode) {
|
|
6056
5800
|
case "AccessDeniedException":
|
|
@@ -6073,14 +5817,12 @@ const deserializeAws_json1_1GetDistributionMetricDataCommandError = async (outpu
|
|
|
6073
5817
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
6074
5818
|
default:
|
|
6075
5819
|
const parsedBody = parsedOutput.body;
|
|
6076
|
-
|
|
6077
|
-
|
|
6078
|
-
|
|
6079
|
-
|
|
6080
|
-
|
|
6081
|
-
$metadata,
|
|
5820
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5821
|
+
output,
|
|
5822
|
+
parsedBody,
|
|
5823
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5824
|
+
errorCode,
|
|
6082
5825
|
});
|
|
6083
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6084
5826
|
}
|
|
6085
5827
|
};
|
|
6086
5828
|
const deserializeAws_json1_1GetDistributionsCommand = async (output, context) => {
|
|
@@ -6102,7 +5844,6 @@ const deserializeAws_json1_1GetDistributionsCommandError = async (output, contex
|
|
|
6102
5844
|
...output,
|
|
6103
5845
|
body: await parseBody(output.body, context),
|
|
6104
5846
|
};
|
|
6105
|
-
let response;
|
|
6106
5847
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6107
5848
|
switch (errorCode) {
|
|
6108
5849
|
case "AccessDeniedException":
|
|
@@ -6125,14 +5866,12 @@ const deserializeAws_json1_1GetDistributionsCommandError = async (output, contex
|
|
|
6125
5866
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
6126
5867
|
default:
|
|
6127
5868
|
const parsedBody = parsedOutput.body;
|
|
6128
|
-
|
|
6129
|
-
|
|
6130
|
-
|
|
6131
|
-
|
|
6132
|
-
|
|
6133
|
-
$metadata,
|
|
5869
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5870
|
+
output,
|
|
5871
|
+
parsedBody,
|
|
5872
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5873
|
+
errorCode,
|
|
6134
5874
|
});
|
|
6135
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6136
5875
|
}
|
|
6137
5876
|
};
|
|
6138
5877
|
const deserializeAws_json1_1GetDomainCommand = async (output, context) => {
|
|
@@ -6154,7 +5893,6 @@ const deserializeAws_json1_1GetDomainCommandError = async (output, context) => {
|
|
|
6154
5893
|
...output,
|
|
6155
5894
|
body: await parseBody(output.body, context),
|
|
6156
5895
|
};
|
|
6157
|
-
let response;
|
|
6158
5896
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6159
5897
|
switch (errorCode) {
|
|
6160
5898
|
case "AccessDeniedException":
|
|
@@ -6180,14 +5918,12 @@ const deserializeAws_json1_1GetDomainCommandError = async (output, context) => {
|
|
|
6180
5918
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
6181
5919
|
default:
|
|
6182
5920
|
const parsedBody = parsedOutput.body;
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
$metadata,
|
|
5921
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5922
|
+
output,
|
|
5923
|
+
parsedBody,
|
|
5924
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5925
|
+
errorCode,
|
|
6189
5926
|
});
|
|
6190
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6191
5927
|
}
|
|
6192
5928
|
};
|
|
6193
5929
|
const deserializeAws_json1_1GetDomainsCommand = async (output, context) => {
|
|
@@ -6209,7 +5945,6 @@ const deserializeAws_json1_1GetDomainsCommandError = async (output, context) =>
|
|
|
6209
5945
|
...output,
|
|
6210
5946
|
body: await parseBody(output.body, context),
|
|
6211
5947
|
};
|
|
6212
|
-
let response;
|
|
6213
5948
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6214
5949
|
switch (errorCode) {
|
|
6215
5950
|
case "AccessDeniedException":
|
|
@@ -6235,14 +5970,12 @@ const deserializeAws_json1_1GetDomainsCommandError = async (output, context) =>
|
|
|
6235
5970
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
6236
5971
|
default:
|
|
6237
5972
|
const parsedBody = parsedOutput.body;
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
$metadata,
|
|
5973
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5974
|
+
output,
|
|
5975
|
+
parsedBody,
|
|
5976
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
5977
|
+
errorCode,
|
|
6244
5978
|
});
|
|
6245
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6246
5979
|
}
|
|
6247
5980
|
};
|
|
6248
5981
|
const deserializeAws_json1_1GetExportSnapshotRecordsCommand = async (output, context) => {
|
|
@@ -6264,7 +5997,6 @@ const deserializeAws_json1_1GetExportSnapshotRecordsCommandError = async (output
|
|
|
6264
5997
|
...output,
|
|
6265
5998
|
body: await parseBody(output.body, context),
|
|
6266
5999
|
};
|
|
6267
|
-
let response;
|
|
6268
6000
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6269
6001
|
switch (errorCode) {
|
|
6270
6002
|
case "AccessDeniedException":
|
|
@@ -6290,14 +6022,12 @@ const deserializeAws_json1_1GetExportSnapshotRecordsCommandError = async (output
|
|
|
6290
6022
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
6291
6023
|
default:
|
|
6292
6024
|
const parsedBody = parsedOutput.body;
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
$metadata,
|
|
6025
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6026
|
+
output,
|
|
6027
|
+
parsedBody,
|
|
6028
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
6029
|
+
errorCode,
|
|
6299
6030
|
});
|
|
6300
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6301
6031
|
}
|
|
6302
6032
|
};
|
|
6303
6033
|
const deserializeAws_json1_1GetInstanceCommand = async (output, context) => {
|
|
@@ -6319,7 +6049,6 @@ const deserializeAws_json1_1GetInstanceCommandError = async (output, context) =>
|
|
|
6319
6049
|
...output,
|
|
6320
6050
|
body: await parseBody(output.body, context),
|
|
6321
6051
|
};
|
|
6322
|
-
let response;
|
|
6323
6052
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6324
6053
|
switch (errorCode) {
|
|
6325
6054
|
case "AccessDeniedException":
|
|
@@ -6345,14 +6074,12 @@ const deserializeAws_json1_1GetInstanceCommandError = async (output, context) =>
|
|
|
6345
6074
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
6346
6075
|
default:
|
|
6347
6076
|
const parsedBody = parsedOutput.body;
|
|
6348
|
-
|
|
6349
|
-
|
|
6350
|
-
|
|
6351
|
-
|
|
6352
|
-
|
|
6353
|
-
$metadata,
|
|
6077
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6078
|
+
output,
|
|
6079
|
+
parsedBody,
|
|
6080
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
6081
|
+
errorCode,
|
|
6354
6082
|
});
|
|
6355
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6356
6083
|
}
|
|
6357
6084
|
};
|
|
6358
6085
|
const deserializeAws_json1_1GetInstanceAccessDetailsCommand = async (output, context) => {
|
|
@@ -6374,7 +6101,6 @@ const deserializeAws_json1_1GetInstanceAccessDetailsCommandError = async (output
|
|
|
6374
6101
|
...output,
|
|
6375
6102
|
body: await parseBody(output.body, context),
|
|
6376
6103
|
};
|
|
6377
|
-
let response;
|
|
6378
6104
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6379
6105
|
switch (errorCode) {
|
|
6380
6106
|
case "AccessDeniedException":
|
|
@@ -6400,14 +6126,12 @@ const deserializeAws_json1_1GetInstanceAccessDetailsCommandError = async (output
|
|
|
6400
6126
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
6401
6127
|
default:
|
|
6402
6128
|
const parsedBody = parsedOutput.body;
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
$metadata,
|
|
6129
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6130
|
+
output,
|
|
6131
|
+
parsedBody,
|
|
6132
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
6133
|
+
errorCode,
|
|
6409
6134
|
});
|
|
6410
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6411
6135
|
}
|
|
6412
6136
|
};
|
|
6413
6137
|
const deserializeAws_json1_1GetInstanceMetricDataCommand = async (output, context) => {
|
|
@@ -6429,7 +6153,6 @@ const deserializeAws_json1_1GetInstanceMetricDataCommandError = async (output, c
|
|
|
6429
6153
|
...output,
|
|
6430
6154
|
body: await parseBody(output.body, context),
|
|
6431
6155
|
};
|
|
6432
|
-
let response;
|
|
6433
6156
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6434
6157
|
switch (errorCode) {
|
|
6435
6158
|
case "AccessDeniedException":
|
|
@@ -6455,14 +6178,12 @@ const deserializeAws_json1_1GetInstanceMetricDataCommandError = async (output, c
|
|
|
6455
6178
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
6456
6179
|
default:
|
|
6457
6180
|
const parsedBody = parsedOutput.body;
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
$metadata,
|
|
6181
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6182
|
+
output,
|
|
6183
|
+
parsedBody,
|
|
6184
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
6185
|
+
errorCode,
|
|
6464
6186
|
});
|
|
6465
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6466
6187
|
}
|
|
6467
6188
|
};
|
|
6468
6189
|
const deserializeAws_json1_1GetInstancePortStatesCommand = async (output, context) => {
|
|
@@ -6484,7 +6205,6 @@ const deserializeAws_json1_1GetInstancePortStatesCommandError = async (output, c
|
|
|
6484
6205
|
...output,
|
|
6485
6206
|
body: await parseBody(output.body, context),
|
|
6486
6207
|
};
|
|
6487
|
-
let response;
|
|
6488
6208
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6489
6209
|
switch (errorCode) {
|
|
6490
6210
|
case "AccessDeniedException":
|
|
@@ -6510,14 +6230,12 @@ const deserializeAws_json1_1GetInstancePortStatesCommandError = async (output, c
|
|
|
6510
6230
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
6511
6231
|
default:
|
|
6512
6232
|
const parsedBody = parsedOutput.body;
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
$metadata,
|
|
6233
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6234
|
+
output,
|
|
6235
|
+
parsedBody,
|
|
6236
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
6237
|
+
errorCode,
|
|
6519
6238
|
});
|
|
6520
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6521
6239
|
}
|
|
6522
6240
|
};
|
|
6523
6241
|
const deserializeAws_json1_1GetInstancesCommand = async (output, context) => {
|
|
@@ -6539,7 +6257,6 @@ const deserializeAws_json1_1GetInstancesCommandError = async (output, context) =
|
|
|
6539
6257
|
...output,
|
|
6540
6258
|
body: await parseBody(output.body, context),
|
|
6541
6259
|
};
|
|
6542
|
-
let response;
|
|
6543
6260
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6544
6261
|
switch (errorCode) {
|
|
6545
6262
|
case "AccessDeniedException":
|
|
@@ -6565,14 +6282,12 @@ const deserializeAws_json1_1GetInstancesCommandError = async (output, context) =
|
|
|
6565
6282
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
6566
6283
|
default:
|
|
6567
6284
|
const parsedBody = parsedOutput.body;
|
|
6568
|
-
|
|
6569
|
-
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
$metadata,
|
|
6285
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6286
|
+
output,
|
|
6287
|
+
parsedBody,
|
|
6288
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
6289
|
+
errorCode,
|
|
6574
6290
|
});
|
|
6575
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6576
6291
|
}
|
|
6577
6292
|
};
|
|
6578
6293
|
const deserializeAws_json1_1GetInstanceSnapshotCommand = async (output, context) => {
|
|
@@ -6594,7 +6309,6 @@ const deserializeAws_json1_1GetInstanceSnapshotCommandError = async (output, con
|
|
|
6594
6309
|
...output,
|
|
6595
6310
|
body: await parseBody(output.body, context),
|
|
6596
6311
|
};
|
|
6597
|
-
let response;
|
|
6598
6312
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6599
6313
|
switch (errorCode) {
|
|
6600
6314
|
case "AccessDeniedException":
|
|
@@ -6620,14 +6334,12 @@ const deserializeAws_json1_1GetInstanceSnapshotCommandError = async (output, con
|
|
|
6620
6334
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
6621
6335
|
default:
|
|
6622
6336
|
const parsedBody = parsedOutput.body;
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
$metadata,
|
|
6337
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6338
|
+
output,
|
|
6339
|
+
parsedBody,
|
|
6340
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
6341
|
+
errorCode,
|
|
6629
6342
|
});
|
|
6630
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6631
6343
|
}
|
|
6632
6344
|
};
|
|
6633
6345
|
const deserializeAws_json1_1GetInstanceSnapshotsCommand = async (output, context) => {
|
|
@@ -6649,7 +6361,6 @@ const deserializeAws_json1_1GetInstanceSnapshotsCommandError = async (output, co
|
|
|
6649
6361
|
...output,
|
|
6650
6362
|
body: await parseBody(output.body, context),
|
|
6651
6363
|
};
|
|
6652
|
-
let response;
|
|
6653
6364
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6654
6365
|
switch (errorCode) {
|
|
6655
6366
|
case "AccessDeniedException":
|
|
@@ -6675,14 +6386,12 @@ const deserializeAws_json1_1GetInstanceSnapshotsCommandError = async (output, co
|
|
|
6675
6386
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
6676
6387
|
default:
|
|
6677
6388
|
const parsedBody = parsedOutput.body;
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
$metadata,
|
|
6389
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6390
|
+
output,
|
|
6391
|
+
parsedBody,
|
|
6392
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
6393
|
+
errorCode,
|
|
6684
6394
|
});
|
|
6685
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6686
6395
|
}
|
|
6687
6396
|
};
|
|
6688
6397
|
const deserializeAws_json1_1GetInstanceStateCommand = async (output, context) => {
|
|
@@ -6704,7 +6413,6 @@ const deserializeAws_json1_1GetInstanceStateCommandError = async (output, contex
|
|
|
6704
6413
|
...output,
|
|
6705
6414
|
body: await parseBody(output.body, context),
|
|
6706
6415
|
};
|
|
6707
|
-
let response;
|
|
6708
6416
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6709
6417
|
switch (errorCode) {
|
|
6710
6418
|
case "AccessDeniedException":
|
|
@@ -6730,14 +6438,12 @@ const deserializeAws_json1_1GetInstanceStateCommandError = async (output, contex
|
|
|
6730
6438
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
6731
6439
|
default:
|
|
6732
6440
|
const parsedBody = parsedOutput.body;
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
$metadata,
|
|
6441
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6442
|
+
output,
|
|
6443
|
+
parsedBody,
|
|
6444
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
6445
|
+
errorCode,
|
|
6739
6446
|
});
|
|
6740
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6741
6447
|
}
|
|
6742
6448
|
};
|
|
6743
6449
|
const deserializeAws_json1_1GetKeyPairCommand = async (output, context) => {
|
|
@@ -6759,7 +6465,6 @@ const deserializeAws_json1_1GetKeyPairCommandError = async (output, context) =>
|
|
|
6759
6465
|
...output,
|
|
6760
6466
|
body: await parseBody(output.body, context),
|
|
6761
6467
|
};
|
|
6762
|
-
let response;
|
|
6763
6468
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6764
6469
|
switch (errorCode) {
|
|
6765
6470
|
case "AccessDeniedException":
|
|
@@ -6785,14 +6490,12 @@ const deserializeAws_json1_1GetKeyPairCommandError = async (output, context) =>
|
|
|
6785
6490
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
6786
6491
|
default:
|
|
6787
6492
|
const parsedBody = parsedOutput.body;
|
|
6788
|
-
|
|
6789
|
-
|
|
6790
|
-
|
|
6791
|
-
|
|
6792
|
-
|
|
6793
|
-
$metadata,
|
|
6493
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6494
|
+
output,
|
|
6495
|
+
parsedBody,
|
|
6496
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
6497
|
+
errorCode,
|
|
6794
6498
|
});
|
|
6795
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6796
6499
|
}
|
|
6797
6500
|
};
|
|
6798
6501
|
const deserializeAws_json1_1GetKeyPairsCommand = async (output, context) => {
|
|
@@ -6814,7 +6517,6 @@ const deserializeAws_json1_1GetKeyPairsCommandError = async (output, context) =>
|
|
|
6814
6517
|
...output,
|
|
6815
6518
|
body: await parseBody(output.body, context),
|
|
6816
6519
|
};
|
|
6817
|
-
let response;
|
|
6818
6520
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6819
6521
|
switch (errorCode) {
|
|
6820
6522
|
case "AccessDeniedException":
|
|
@@ -6840,14 +6542,12 @@ const deserializeAws_json1_1GetKeyPairsCommandError = async (output, context) =>
|
|
|
6840
6542
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
6841
6543
|
default:
|
|
6842
6544
|
const parsedBody = parsedOutput.body;
|
|
6843
|
-
|
|
6844
|
-
|
|
6845
|
-
|
|
6846
|
-
|
|
6847
|
-
|
|
6848
|
-
$metadata,
|
|
6545
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6546
|
+
output,
|
|
6547
|
+
parsedBody,
|
|
6548
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
6549
|
+
errorCode,
|
|
6849
6550
|
});
|
|
6850
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6851
6551
|
}
|
|
6852
6552
|
};
|
|
6853
6553
|
const deserializeAws_json1_1GetLoadBalancerCommand = async (output, context) => {
|
|
@@ -6869,7 +6569,6 @@ const deserializeAws_json1_1GetLoadBalancerCommandError = async (output, context
|
|
|
6869
6569
|
...output,
|
|
6870
6570
|
body: await parseBody(output.body, context),
|
|
6871
6571
|
};
|
|
6872
|
-
let response;
|
|
6873
6572
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6874
6573
|
switch (errorCode) {
|
|
6875
6574
|
case "AccessDeniedException":
|
|
@@ -6895,14 +6594,12 @@ const deserializeAws_json1_1GetLoadBalancerCommandError = async (output, context
|
|
|
6895
6594
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
6896
6595
|
default:
|
|
6897
6596
|
const parsedBody = parsedOutput.body;
|
|
6898
|
-
|
|
6899
|
-
|
|
6900
|
-
|
|
6901
|
-
|
|
6902
|
-
|
|
6903
|
-
$metadata,
|
|
6597
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6598
|
+
output,
|
|
6599
|
+
parsedBody,
|
|
6600
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
6601
|
+
errorCode,
|
|
6904
6602
|
});
|
|
6905
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6906
6603
|
}
|
|
6907
6604
|
};
|
|
6908
6605
|
const deserializeAws_json1_1GetLoadBalancerMetricDataCommand = async (output, context) => {
|
|
@@ -6924,7 +6621,6 @@ const deserializeAws_json1_1GetLoadBalancerMetricDataCommandError = async (outpu
|
|
|
6924
6621
|
...output,
|
|
6925
6622
|
body: await parseBody(output.body, context),
|
|
6926
6623
|
};
|
|
6927
|
-
let response;
|
|
6928
6624
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6929
6625
|
switch (errorCode) {
|
|
6930
6626
|
case "AccessDeniedException":
|
|
@@ -6950,14 +6646,12 @@ const deserializeAws_json1_1GetLoadBalancerMetricDataCommandError = async (outpu
|
|
|
6950
6646
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
6951
6647
|
default:
|
|
6952
6648
|
const parsedBody = parsedOutput.body;
|
|
6953
|
-
|
|
6954
|
-
|
|
6955
|
-
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
$metadata,
|
|
6649
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6650
|
+
output,
|
|
6651
|
+
parsedBody,
|
|
6652
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
6653
|
+
errorCode,
|
|
6959
6654
|
});
|
|
6960
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6961
6655
|
}
|
|
6962
6656
|
};
|
|
6963
6657
|
const deserializeAws_json1_1GetLoadBalancersCommand = async (output, context) => {
|
|
@@ -6979,7 +6673,6 @@ const deserializeAws_json1_1GetLoadBalancersCommandError = async (output, contex
|
|
|
6979
6673
|
...output,
|
|
6980
6674
|
body: await parseBody(output.body, context),
|
|
6981
6675
|
};
|
|
6982
|
-
let response;
|
|
6983
6676
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6984
6677
|
switch (errorCode) {
|
|
6985
6678
|
case "AccessDeniedException":
|
|
@@ -7005,14 +6698,12 @@ const deserializeAws_json1_1GetLoadBalancersCommandError = async (output, contex
|
|
|
7005
6698
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
7006
6699
|
default:
|
|
7007
6700
|
const parsedBody = parsedOutput.body;
|
|
7008
|
-
|
|
7009
|
-
|
|
7010
|
-
|
|
7011
|
-
|
|
7012
|
-
|
|
7013
|
-
$metadata,
|
|
6701
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6702
|
+
output,
|
|
6703
|
+
parsedBody,
|
|
6704
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
6705
|
+
errorCode,
|
|
7014
6706
|
});
|
|
7015
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7016
6707
|
}
|
|
7017
6708
|
};
|
|
7018
6709
|
const deserializeAws_json1_1GetLoadBalancerTlsCertificatesCommand = async (output, context) => {
|
|
@@ -7034,7 +6725,6 @@ const deserializeAws_json1_1GetLoadBalancerTlsCertificatesCommandError = async (
|
|
|
7034
6725
|
...output,
|
|
7035
6726
|
body: await parseBody(output.body, context),
|
|
7036
6727
|
};
|
|
7037
|
-
let response;
|
|
7038
6728
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7039
6729
|
switch (errorCode) {
|
|
7040
6730
|
case "AccessDeniedException":
|
|
@@ -7060,14 +6750,12 @@ const deserializeAws_json1_1GetLoadBalancerTlsCertificatesCommandError = async (
|
|
|
7060
6750
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
7061
6751
|
default:
|
|
7062
6752
|
const parsedBody = parsedOutput.body;
|
|
7063
|
-
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
|
|
7068
|
-
$metadata,
|
|
6753
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6754
|
+
output,
|
|
6755
|
+
parsedBody,
|
|
6756
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
6757
|
+
errorCode,
|
|
7069
6758
|
});
|
|
7070
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7071
6759
|
}
|
|
7072
6760
|
};
|
|
7073
6761
|
const deserializeAws_json1_1GetLoadBalancerTlsPoliciesCommand = async (output, context) => {
|
|
@@ -7089,7 +6777,6 @@ const deserializeAws_json1_1GetLoadBalancerTlsPoliciesCommandError = async (outp
|
|
|
7089
6777
|
...output,
|
|
7090
6778
|
body: await parseBody(output.body, context),
|
|
7091
6779
|
};
|
|
7092
|
-
let response;
|
|
7093
6780
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7094
6781
|
switch (errorCode) {
|
|
7095
6782
|
case "AccessDeniedException":
|
|
@@ -7109,14 +6796,12 @@ const deserializeAws_json1_1GetLoadBalancerTlsPoliciesCommandError = async (outp
|
|
|
7109
6796
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
7110
6797
|
default:
|
|
7111
6798
|
const parsedBody = parsedOutput.body;
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
$metadata,
|
|
6799
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6800
|
+
output,
|
|
6801
|
+
parsedBody,
|
|
6802
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
6803
|
+
errorCode,
|
|
7118
6804
|
});
|
|
7119
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7120
6805
|
}
|
|
7121
6806
|
};
|
|
7122
6807
|
const deserializeAws_json1_1GetOperationCommand = async (output, context) => {
|
|
@@ -7138,7 +6823,6 @@ const deserializeAws_json1_1GetOperationCommandError = async (output, context) =
|
|
|
7138
6823
|
...output,
|
|
7139
6824
|
body: await parseBody(output.body, context),
|
|
7140
6825
|
};
|
|
7141
|
-
let response;
|
|
7142
6826
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7143
6827
|
switch (errorCode) {
|
|
7144
6828
|
case "AccessDeniedException":
|
|
@@ -7164,14 +6848,12 @@ const deserializeAws_json1_1GetOperationCommandError = async (output, context) =
|
|
|
7164
6848
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
7165
6849
|
default:
|
|
7166
6850
|
const parsedBody = parsedOutput.body;
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
$metadata,
|
|
6851
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6852
|
+
output,
|
|
6853
|
+
parsedBody,
|
|
6854
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
6855
|
+
errorCode,
|
|
7173
6856
|
});
|
|
7174
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7175
6857
|
}
|
|
7176
6858
|
};
|
|
7177
6859
|
const deserializeAws_json1_1GetOperationsCommand = async (output, context) => {
|
|
@@ -7193,7 +6875,6 @@ const deserializeAws_json1_1GetOperationsCommandError = async (output, context)
|
|
|
7193
6875
|
...output,
|
|
7194
6876
|
body: await parseBody(output.body, context),
|
|
7195
6877
|
};
|
|
7196
|
-
let response;
|
|
7197
6878
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7198
6879
|
switch (errorCode) {
|
|
7199
6880
|
case "AccessDeniedException":
|
|
@@ -7219,14 +6900,12 @@ const deserializeAws_json1_1GetOperationsCommandError = async (output, context)
|
|
|
7219
6900
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
7220
6901
|
default:
|
|
7221
6902
|
const parsedBody = parsedOutput.body;
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
$metadata,
|
|
6903
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6904
|
+
output,
|
|
6905
|
+
parsedBody,
|
|
6906
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
6907
|
+
errorCode,
|
|
7228
6908
|
});
|
|
7229
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7230
6909
|
}
|
|
7231
6910
|
};
|
|
7232
6911
|
const deserializeAws_json1_1GetOperationsForResourceCommand = async (output, context) => {
|
|
@@ -7248,7 +6927,6 @@ const deserializeAws_json1_1GetOperationsForResourceCommandError = async (output
|
|
|
7248
6927
|
...output,
|
|
7249
6928
|
body: await parseBody(output.body, context),
|
|
7250
6929
|
};
|
|
7251
|
-
let response;
|
|
7252
6930
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7253
6931
|
switch (errorCode) {
|
|
7254
6932
|
case "AccessDeniedException":
|
|
@@ -7274,14 +6952,12 @@ const deserializeAws_json1_1GetOperationsForResourceCommandError = async (output
|
|
|
7274
6952
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
7275
6953
|
default:
|
|
7276
6954
|
const parsedBody = parsedOutput.body;
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7280
|
-
|
|
7281
|
-
|
|
7282
|
-
$metadata,
|
|
6955
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6956
|
+
output,
|
|
6957
|
+
parsedBody,
|
|
6958
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
6959
|
+
errorCode,
|
|
7283
6960
|
});
|
|
7284
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7285
6961
|
}
|
|
7286
6962
|
};
|
|
7287
6963
|
const deserializeAws_json1_1GetRegionsCommand = async (output, context) => {
|
|
@@ -7303,7 +6979,6 @@ const deserializeAws_json1_1GetRegionsCommandError = async (output, context) =>
|
|
|
7303
6979
|
...output,
|
|
7304
6980
|
body: await parseBody(output.body, context),
|
|
7305
6981
|
};
|
|
7306
|
-
let response;
|
|
7307
6982
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7308
6983
|
switch (errorCode) {
|
|
7309
6984
|
case "AccessDeniedException":
|
|
@@ -7329,14 +7004,12 @@ const deserializeAws_json1_1GetRegionsCommandError = async (output, context) =>
|
|
|
7329
7004
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
7330
7005
|
default:
|
|
7331
7006
|
const parsedBody = parsedOutput.body;
|
|
7332
|
-
|
|
7333
|
-
|
|
7334
|
-
|
|
7335
|
-
|
|
7336
|
-
|
|
7337
|
-
$metadata,
|
|
7007
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7008
|
+
output,
|
|
7009
|
+
parsedBody,
|
|
7010
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7011
|
+
errorCode,
|
|
7338
7012
|
});
|
|
7339
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7340
7013
|
}
|
|
7341
7014
|
};
|
|
7342
7015
|
const deserializeAws_json1_1GetRelationalDatabaseCommand = async (output, context) => {
|
|
@@ -7358,7 +7031,6 @@ const deserializeAws_json1_1GetRelationalDatabaseCommandError = async (output, c
|
|
|
7358
7031
|
...output,
|
|
7359
7032
|
body: await parseBody(output.body, context),
|
|
7360
7033
|
};
|
|
7361
|
-
let response;
|
|
7362
7034
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7363
7035
|
switch (errorCode) {
|
|
7364
7036
|
case "AccessDeniedException":
|
|
@@ -7384,14 +7056,12 @@ const deserializeAws_json1_1GetRelationalDatabaseCommandError = async (output, c
|
|
|
7384
7056
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
7385
7057
|
default:
|
|
7386
7058
|
const parsedBody = parsedOutput.body;
|
|
7387
|
-
|
|
7388
|
-
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
$metadata,
|
|
7059
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7060
|
+
output,
|
|
7061
|
+
parsedBody,
|
|
7062
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7063
|
+
errorCode,
|
|
7393
7064
|
});
|
|
7394
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7395
7065
|
}
|
|
7396
7066
|
};
|
|
7397
7067
|
const deserializeAws_json1_1GetRelationalDatabaseBlueprintsCommand = async (output, context) => {
|
|
@@ -7413,7 +7083,6 @@ const deserializeAws_json1_1GetRelationalDatabaseBlueprintsCommandError = async
|
|
|
7413
7083
|
...output,
|
|
7414
7084
|
body: await parseBody(output.body, context),
|
|
7415
7085
|
};
|
|
7416
|
-
let response;
|
|
7417
7086
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7418
7087
|
switch (errorCode) {
|
|
7419
7088
|
case "AccessDeniedException":
|
|
@@ -7439,14 +7108,12 @@ const deserializeAws_json1_1GetRelationalDatabaseBlueprintsCommandError = async
|
|
|
7439
7108
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
7440
7109
|
default:
|
|
7441
7110
|
const parsedBody = parsedOutput.body;
|
|
7442
|
-
|
|
7443
|
-
|
|
7444
|
-
|
|
7445
|
-
|
|
7446
|
-
|
|
7447
|
-
$metadata,
|
|
7111
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7112
|
+
output,
|
|
7113
|
+
parsedBody,
|
|
7114
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7115
|
+
errorCode,
|
|
7448
7116
|
});
|
|
7449
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7450
7117
|
}
|
|
7451
7118
|
};
|
|
7452
7119
|
const deserializeAws_json1_1GetRelationalDatabaseBundlesCommand = async (output, context) => {
|
|
@@ -7468,7 +7135,6 @@ const deserializeAws_json1_1GetRelationalDatabaseBundlesCommandError = async (ou
|
|
|
7468
7135
|
...output,
|
|
7469
7136
|
body: await parseBody(output.body, context),
|
|
7470
7137
|
};
|
|
7471
|
-
let response;
|
|
7472
7138
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7473
7139
|
switch (errorCode) {
|
|
7474
7140
|
case "AccessDeniedException":
|
|
@@ -7494,14 +7160,12 @@ const deserializeAws_json1_1GetRelationalDatabaseBundlesCommandError = async (ou
|
|
|
7494
7160
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
7495
7161
|
default:
|
|
7496
7162
|
const parsedBody = parsedOutput.body;
|
|
7497
|
-
|
|
7498
|
-
|
|
7499
|
-
|
|
7500
|
-
|
|
7501
|
-
|
|
7502
|
-
$metadata,
|
|
7163
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7164
|
+
output,
|
|
7165
|
+
parsedBody,
|
|
7166
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7167
|
+
errorCode,
|
|
7503
7168
|
});
|
|
7504
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7505
7169
|
}
|
|
7506
7170
|
};
|
|
7507
7171
|
const deserializeAws_json1_1GetRelationalDatabaseEventsCommand = async (output, context) => {
|
|
@@ -7523,7 +7187,6 @@ const deserializeAws_json1_1GetRelationalDatabaseEventsCommandError = async (out
|
|
|
7523
7187
|
...output,
|
|
7524
7188
|
body: await parseBody(output.body, context),
|
|
7525
7189
|
};
|
|
7526
|
-
let response;
|
|
7527
7190
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7528
7191
|
switch (errorCode) {
|
|
7529
7192
|
case "AccessDeniedException":
|
|
@@ -7549,14 +7212,12 @@ const deserializeAws_json1_1GetRelationalDatabaseEventsCommandError = async (out
|
|
|
7549
7212
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
7550
7213
|
default:
|
|
7551
7214
|
const parsedBody = parsedOutput.body;
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
|
|
7556
|
-
|
|
7557
|
-
$metadata,
|
|
7215
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7216
|
+
output,
|
|
7217
|
+
parsedBody,
|
|
7218
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7219
|
+
errorCode,
|
|
7558
7220
|
});
|
|
7559
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7560
7221
|
}
|
|
7561
7222
|
};
|
|
7562
7223
|
const deserializeAws_json1_1GetRelationalDatabaseLogEventsCommand = async (output, context) => {
|
|
@@ -7578,7 +7239,6 @@ const deserializeAws_json1_1GetRelationalDatabaseLogEventsCommandError = async (
|
|
|
7578
7239
|
...output,
|
|
7579
7240
|
body: await parseBody(output.body, context),
|
|
7580
7241
|
};
|
|
7581
|
-
let response;
|
|
7582
7242
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7583
7243
|
switch (errorCode) {
|
|
7584
7244
|
case "AccessDeniedException":
|
|
@@ -7604,14 +7264,12 @@ const deserializeAws_json1_1GetRelationalDatabaseLogEventsCommandError = async (
|
|
|
7604
7264
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
7605
7265
|
default:
|
|
7606
7266
|
const parsedBody = parsedOutput.body;
|
|
7607
|
-
|
|
7608
|
-
|
|
7609
|
-
|
|
7610
|
-
|
|
7611
|
-
|
|
7612
|
-
$metadata,
|
|
7267
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7268
|
+
output,
|
|
7269
|
+
parsedBody,
|
|
7270
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7271
|
+
errorCode,
|
|
7613
7272
|
});
|
|
7614
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7615
7273
|
}
|
|
7616
7274
|
};
|
|
7617
7275
|
const deserializeAws_json1_1GetRelationalDatabaseLogStreamsCommand = async (output, context) => {
|
|
@@ -7633,7 +7291,6 @@ const deserializeAws_json1_1GetRelationalDatabaseLogStreamsCommandError = async
|
|
|
7633
7291
|
...output,
|
|
7634
7292
|
body: await parseBody(output.body, context),
|
|
7635
7293
|
};
|
|
7636
|
-
let response;
|
|
7637
7294
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7638
7295
|
switch (errorCode) {
|
|
7639
7296
|
case "AccessDeniedException":
|
|
@@ -7659,14 +7316,12 @@ const deserializeAws_json1_1GetRelationalDatabaseLogStreamsCommandError = async
|
|
|
7659
7316
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
7660
7317
|
default:
|
|
7661
7318
|
const parsedBody = parsedOutput.body;
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7665
|
-
|
|
7666
|
-
|
|
7667
|
-
$metadata,
|
|
7319
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7320
|
+
output,
|
|
7321
|
+
parsedBody,
|
|
7322
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7323
|
+
errorCode,
|
|
7668
7324
|
});
|
|
7669
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7670
7325
|
}
|
|
7671
7326
|
};
|
|
7672
7327
|
const deserializeAws_json1_1GetRelationalDatabaseMasterUserPasswordCommand = async (output, context) => {
|
|
@@ -7688,7 +7343,6 @@ const deserializeAws_json1_1GetRelationalDatabaseMasterUserPasswordCommandError
|
|
|
7688
7343
|
...output,
|
|
7689
7344
|
body: await parseBody(output.body, context),
|
|
7690
7345
|
};
|
|
7691
|
-
let response;
|
|
7692
7346
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7693
7347
|
switch (errorCode) {
|
|
7694
7348
|
case "AccessDeniedException":
|
|
@@ -7714,14 +7368,12 @@ const deserializeAws_json1_1GetRelationalDatabaseMasterUserPasswordCommandError
|
|
|
7714
7368
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
7715
7369
|
default:
|
|
7716
7370
|
const parsedBody = parsedOutput.body;
|
|
7717
|
-
|
|
7718
|
-
|
|
7719
|
-
|
|
7720
|
-
|
|
7721
|
-
|
|
7722
|
-
$metadata,
|
|
7371
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7372
|
+
output,
|
|
7373
|
+
parsedBody,
|
|
7374
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7375
|
+
errorCode,
|
|
7723
7376
|
});
|
|
7724
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7725
7377
|
}
|
|
7726
7378
|
};
|
|
7727
7379
|
const deserializeAws_json1_1GetRelationalDatabaseMetricDataCommand = async (output, context) => {
|
|
@@ -7743,7 +7395,6 @@ const deserializeAws_json1_1GetRelationalDatabaseMetricDataCommandError = async
|
|
|
7743
7395
|
...output,
|
|
7744
7396
|
body: await parseBody(output.body, context),
|
|
7745
7397
|
};
|
|
7746
|
-
let response;
|
|
7747
7398
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7748
7399
|
switch (errorCode) {
|
|
7749
7400
|
case "AccessDeniedException":
|
|
@@ -7769,14 +7420,12 @@ const deserializeAws_json1_1GetRelationalDatabaseMetricDataCommandError = async
|
|
|
7769
7420
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
7770
7421
|
default:
|
|
7771
7422
|
const parsedBody = parsedOutput.body;
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
|
|
7775
|
-
|
|
7776
|
-
|
|
7777
|
-
$metadata,
|
|
7423
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7424
|
+
output,
|
|
7425
|
+
parsedBody,
|
|
7426
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7427
|
+
errorCode,
|
|
7778
7428
|
});
|
|
7779
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7780
7429
|
}
|
|
7781
7430
|
};
|
|
7782
7431
|
const deserializeAws_json1_1GetRelationalDatabaseParametersCommand = async (output, context) => {
|
|
@@ -7798,7 +7447,6 @@ const deserializeAws_json1_1GetRelationalDatabaseParametersCommandError = async
|
|
|
7798
7447
|
...output,
|
|
7799
7448
|
body: await parseBody(output.body, context),
|
|
7800
7449
|
};
|
|
7801
|
-
let response;
|
|
7802
7450
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7803
7451
|
switch (errorCode) {
|
|
7804
7452
|
case "AccessDeniedException":
|
|
@@ -7824,14 +7472,12 @@ const deserializeAws_json1_1GetRelationalDatabaseParametersCommandError = async
|
|
|
7824
7472
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
7825
7473
|
default:
|
|
7826
7474
|
const parsedBody = parsedOutput.body;
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
|
|
7831
|
-
|
|
7832
|
-
$metadata,
|
|
7475
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7476
|
+
output,
|
|
7477
|
+
parsedBody,
|
|
7478
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7479
|
+
errorCode,
|
|
7833
7480
|
});
|
|
7834
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7835
7481
|
}
|
|
7836
7482
|
};
|
|
7837
7483
|
const deserializeAws_json1_1GetRelationalDatabasesCommand = async (output, context) => {
|
|
@@ -7853,7 +7499,6 @@ const deserializeAws_json1_1GetRelationalDatabasesCommandError = async (output,
|
|
|
7853
7499
|
...output,
|
|
7854
7500
|
body: await parseBody(output.body, context),
|
|
7855
7501
|
};
|
|
7856
|
-
let response;
|
|
7857
7502
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7858
7503
|
switch (errorCode) {
|
|
7859
7504
|
case "AccessDeniedException":
|
|
@@ -7879,14 +7524,12 @@ const deserializeAws_json1_1GetRelationalDatabasesCommandError = async (output,
|
|
|
7879
7524
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
7880
7525
|
default:
|
|
7881
7526
|
const parsedBody = parsedOutput.body;
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
|
|
7886
|
-
|
|
7887
|
-
$metadata,
|
|
7527
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7528
|
+
output,
|
|
7529
|
+
parsedBody,
|
|
7530
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7531
|
+
errorCode,
|
|
7888
7532
|
});
|
|
7889
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7890
7533
|
}
|
|
7891
7534
|
};
|
|
7892
7535
|
const deserializeAws_json1_1GetRelationalDatabaseSnapshotCommand = async (output, context) => {
|
|
@@ -7908,7 +7551,6 @@ const deserializeAws_json1_1GetRelationalDatabaseSnapshotCommandError = async (o
|
|
|
7908
7551
|
...output,
|
|
7909
7552
|
body: await parseBody(output.body, context),
|
|
7910
7553
|
};
|
|
7911
|
-
let response;
|
|
7912
7554
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7913
7555
|
switch (errorCode) {
|
|
7914
7556
|
case "AccessDeniedException":
|
|
@@ -7934,14 +7576,12 @@ const deserializeAws_json1_1GetRelationalDatabaseSnapshotCommandError = async (o
|
|
|
7934
7576
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
7935
7577
|
default:
|
|
7936
7578
|
const parsedBody = parsedOutput.body;
|
|
7937
|
-
|
|
7938
|
-
|
|
7939
|
-
|
|
7940
|
-
|
|
7941
|
-
|
|
7942
|
-
$metadata,
|
|
7579
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7580
|
+
output,
|
|
7581
|
+
parsedBody,
|
|
7582
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7583
|
+
errorCode,
|
|
7943
7584
|
});
|
|
7944
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7945
7585
|
}
|
|
7946
7586
|
};
|
|
7947
7587
|
const deserializeAws_json1_1GetRelationalDatabaseSnapshotsCommand = async (output, context) => {
|
|
@@ -7963,7 +7603,6 @@ const deserializeAws_json1_1GetRelationalDatabaseSnapshotsCommandError = async (
|
|
|
7963
7603
|
...output,
|
|
7964
7604
|
body: await parseBody(output.body, context),
|
|
7965
7605
|
};
|
|
7966
|
-
let response;
|
|
7967
7606
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7968
7607
|
switch (errorCode) {
|
|
7969
7608
|
case "AccessDeniedException":
|
|
@@ -7989,14 +7628,12 @@ const deserializeAws_json1_1GetRelationalDatabaseSnapshotsCommandError = async (
|
|
|
7989
7628
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
7990
7629
|
default:
|
|
7991
7630
|
const parsedBody = parsedOutput.body;
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
7995
|
-
|
|
7996
|
-
|
|
7997
|
-
$metadata,
|
|
7631
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7632
|
+
output,
|
|
7633
|
+
parsedBody,
|
|
7634
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7635
|
+
errorCode,
|
|
7998
7636
|
});
|
|
7999
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
8000
7637
|
}
|
|
8001
7638
|
};
|
|
8002
7639
|
const deserializeAws_json1_1GetStaticIpCommand = async (output, context) => {
|
|
@@ -8018,7 +7655,6 @@ const deserializeAws_json1_1GetStaticIpCommandError = async (output, context) =>
|
|
|
8018
7655
|
...output,
|
|
8019
7656
|
body: await parseBody(output.body, context),
|
|
8020
7657
|
};
|
|
8021
|
-
let response;
|
|
8022
7658
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8023
7659
|
switch (errorCode) {
|
|
8024
7660
|
case "AccessDeniedException":
|
|
@@ -8044,14 +7680,12 @@ const deserializeAws_json1_1GetStaticIpCommandError = async (output, context) =>
|
|
|
8044
7680
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
8045
7681
|
default:
|
|
8046
7682
|
const parsedBody = parsedOutput.body;
|
|
8047
|
-
|
|
8048
|
-
|
|
8049
|
-
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
$metadata,
|
|
7683
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7684
|
+
output,
|
|
7685
|
+
parsedBody,
|
|
7686
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7687
|
+
errorCode,
|
|
8053
7688
|
});
|
|
8054
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
8055
7689
|
}
|
|
8056
7690
|
};
|
|
8057
7691
|
const deserializeAws_json1_1GetStaticIpsCommand = async (output, context) => {
|
|
@@ -8073,7 +7707,6 @@ const deserializeAws_json1_1GetStaticIpsCommandError = async (output, context) =
|
|
|
8073
7707
|
...output,
|
|
8074
7708
|
body: await parseBody(output.body, context),
|
|
8075
7709
|
};
|
|
8076
|
-
let response;
|
|
8077
7710
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8078
7711
|
switch (errorCode) {
|
|
8079
7712
|
case "AccessDeniedException":
|
|
@@ -8099,14 +7732,12 @@ const deserializeAws_json1_1GetStaticIpsCommandError = async (output, context) =
|
|
|
8099
7732
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
8100
7733
|
default:
|
|
8101
7734
|
const parsedBody = parsedOutput.body;
|
|
8102
|
-
|
|
8103
|
-
|
|
8104
|
-
|
|
8105
|
-
|
|
8106
|
-
|
|
8107
|
-
$metadata,
|
|
7735
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7736
|
+
output,
|
|
7737
|
+
parsedBody,
|
|
7738
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7739
|
+
errorCode,
|
|
8108
7740
|
});
|
|
8109
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
8110
7741
|
}
|
|
8111
7742
|
};
|
|
8112
7743
|
const deserializeAws_json1_1ImportKeyPairCommand = async (output, context) => {
|
|
@@ -8128,7 +7759,6 @@ const deserializeAws_json1_1ImportKeyPairCommandError = async (output, context)
|
|
|
8128
7759
|
...output,
|
|
8129
7760
|
body: await parseBody(output.body, context),
|
|
8130
7761
|
};
|
|
8131
|
-
let response;
|
|
8132
7762
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8133
7763
|
switch (errorCode) {
|
|
8134
7764
|
case "AccessDeniedException":
|
|
@@ -8154,14 +7784,12 @@ const deserializeAws_json1_1ImportKeyPairCommandError = async (output, context)
|
|
|
8154
7784
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
8155
7785
|
default:
|
|
8156
7786
|
const parsedBody = parsedOutput.body;
|
|
8157
|
-
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
|
|
8161
|
-
|
|
8162
|
-
$metadata,
|
|
7787
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7788
|
+
output,
|
|
7789
|
+
parsedBody,
|
|
7790
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7791
|
+
errorCode,
|
|
8163
7792
|
});
|
|
8164
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
8165
7793
|
}
|
|
8166
7794
|
};
|
|
8167
7795
|
const deserializeAws_json1_1IsVpcPeeredCommand = async (output, context) => {
|
|
@@ -8183,7 +7811,6 @@ const deserializeAws_json1_1IsVpcPeeredCommandError = async (output, context) =>
|
|
|
8183
7811
|
...output,
|
|
8184
7812
|
body: await parseBody(output.body, context),
|
|
8185
7813
|
};
|
|
8186
|
-
let response;
|
|
8187
7814
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8188
7815
|
switch (errorCode) {
|
|
8189
7816
|
case "AccessDeniedException":
|
|
@@ -8209,14 +7836,12 @@ const deserializeAws_json1_1IsVpcPeeredCommandError = async (output, context) =>
|
|
|
8209
7836
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
8210
7837
|
default:
|
|
8211
7838
|
const parsedBody = parsedOutput.body;
|
|
8212
|
-
|
|
8213
|
-
|
|
8214
|
-
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
$metadata,
|
|
7839
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7840
|
+
output,
|
|
7841
|
+
parsedBody,
|
|
7842
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7843
|
+
errorCode,
|
|
8218
7844
|
});
|
|
8219
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
8220
7845
|
}
|
|
8221
7846
|
};
|
|
8222
7847
|
const deserializeAws_json1_1OpenInstancePublicPortsCommand = async (output, context) => {
|
|
@@ -8238,7 +7863,6 @@ const deserializeAws_json1_1OpenInstancePublicPortsCommandError = async (output,
|
|
|
8238
7863
|
...output,
|
|
8239
7864
|
body: await parseBody(output.body, context),
|
|
8240
7865
|
};
|
|
8241
|
-
let response;
|
|
8242
7866
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8243
7867
|
switch (errorCode) {
|
|
8244
7868
|
case "AccessDeniedException":
|
|
@@ -8264,14 +7888,12 @@ const deserializeAws_json1_1OpenInstancePublicPortsCommandError = async (output,
|
|
|
8264
7888
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
8265
7889
|
default:
|
|
8266
7890
|
const parsedBody = parsedOutput.body;
|
|
8267
|
-
|
|
8268
|
-
|
|
8269
|
-
|
|
8270
|
-
|
|
8271
|
-
|
|
8272
|
-
$metadata,
|
|
7891
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7892
|
+
output,
|
|
7893
|
+
parsedBody,
|
|
7894
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7895
|
+
errorCode,
|
|
8273
7896
|
});
|
|
8274
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
8275
7897
|
}
|
|
8276
7898
|
};
|
|
8277
7899
|
const deserializeAws_json1_1PeerVpcCommand = async (output, context) => {
|
|
@@ -8293,7 +7915,6 @@ const deserializeAws_json1_1PeerVpcCommandError = async (output, context) => {
|
|
|
8293
7915
|
...output,
|
|
8294
7916
|
body: await parseBody(output.body, context),
|
|
8295
7917
|
};
|
|
8296
|
-
let response;
|
|
8297
7918
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8298
7919
|
switch (errorCode) {
|
|
8299
7920
|
case "AccessDeniedException":
|
|
@@ -8319,14 +7940,12 @@ const deserializeAws_json1_1PeerVpcCommandError = async (output, context) => {
|
|
|
8319
7940
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
8320
7941
|
default:
|
|
8321
7942
|
const parsedBody = parsedOutput.body;
|
|
8322
|
-
|
|
8323
|
-
|
|
8324
|
-
|
|
8325
|
-
|
|
8326
|
-
|
|
8327
|
-
$metadata,
|
|
7943
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7944
|
+
output,
|
|
7945
|
+
parsedBody,
|
|
7946
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7947
|
+
errorCode,
|
|
8328
7948
|
});
|
|
8329
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
8330
7949
|
}
|
|
8331
7950
|
};
|
|
8332
7951
|
const deserializeAws_json1_1PutAlarmCommand = async (output, context) => {
|
|
@@ -8348,7 +7967,6 @@ const deserializeAws_json1_1PutAlarmCommandError = async (output, context) => {
|
|
|
8348
7967
|
...output,
|
|
8349
7968
|
body: await parseBody(output.body, context),
|
|
8350
7969
|
};
|
|
8351
|
-
let response;
|
|
8352
7970
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8353
7971
|
switch (errorCode) {
|
|
8354
7972
|
case "AccessDeniedException":
|
|
@@ -8371,14 +7989,12 @@ const deserializeAws_json1_1PutAlarmCommandError = async (output, context) => {
|
|
|
8371
7989
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
8372
7990
|
default:
|
|
8373
7991
|
const parsedBody = parsedOutput.body;
|
|
8374
|
-
|
|
8375
|
-
|
|
8376
|
-
|
|
8377
|
-
|
|
8378
|
-
|
|
8379
|
-
$metadata,
|
|
7992
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7993
|
+
output,
|
|
7994
|
+
parsedBody,
|
|
7995
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
7996
|
+
errorCode,
|
|
8380
7997
|
});
|
|
8381
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
8382
7998
|
}
|
|
8383
7999
|
};
|
|
8384
8000
|
const deserializeAws_json1_1PutInstancePublicPortsCommand = async (output, context) => {
|
|
@@ -8400,7 +8016,6 @@ const deserializeAws_json1_1PutInstancePublicPortsCommandError = async (output,
|
|
|
8400
8016
|
...output,
|
|
8401
8017
|
body: await parseBody(output.body, context),
|
|
8402
8018
|
};
|
|
8403
|
-
let response;
|
|
8404
8019
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8405
8020
|
switch (errorCode) {
|
|
8406
8021
|
case "AccessDeniedException":
|
|
@@ -8426,14 +8041,12 @@ const deserializeAws_json1_1PutInstancePublicPortsCommandError = async (output,
|
|
|
8426
8041
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
8427
8042
|
default:
|
|
8428
8043
|
const parsedBody = parsedOutput.body;
|
|
8429
|
-
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
|
|
8433
|
-
|
|
8434
|
-
$metadata,
|
|
8044
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8045
|
+
output,
|
|
8046
|
+
parsedBody,
|
|
8047
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8048
|
+
errorCode,
|
|
8435
8049
|
});
|
|
8436
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
8437
8050
|
}
|
|
8438
8051
|
};
|
|
8439
8052
|
const deserializeAws_json1_1RebootInstanceCommand = async (output, context) => {
|
|
@@ -8455,7 +8068,6 @@ const deserializeAws_json1_1RebootInstanceCommandError = async (output, context)
|
|
|
8455
8068
|
...output,
|
|
8456
8069
|
body: await parseBody(output.body, context),
|
|
8457
8070
|
};
|
|
8458
|
-
let response;
|
|
8459
8071
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8460
8072
|
switch (errorCode) {
|
|
8461
8073
|
case "AccessDeniedException":
|
|
@@ -8481,14 +8093,12 @@ const deserializeAws_json1_1RebootInstanceCommandError = async (output, context)
|
|
|
8481
8093
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
8482
8094
|
default:
|
|
8483
8095
|
const parsedBody = parsedOutput.body;
|
|
8484
|
-
|
|
8485
|
-
|
|
8486
|
-
|
|
8487
|
-
|
|
8488
|
-
|
|
8489
|
-
$metadata,
|
|
8096
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8097
|
+
output,
|
|
8098
|
+
parsedBody,
|
|
8099
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8100
|
+
errorCode,
|
|
8490
8101
|
});
|
|
8491
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
8492
8102
|
}
|
|
8493
8103
|
};
|
|
8494
8104
|
const deserializeAws_json1_1RebootRelationalDatabaseCommand = async (output, context) => {
|
|
@@ -8510,7 +8120,6 @@ const deserializeAws_json1_1RebootRelationalDatabaseCommandError = async (output
|
|
|
8510
8120
|
...output,
|
|
8511
8121
|
body: await parseBody(output.body, context),
|
|
8512
8122
|
};
|
|
8513
|
-
let response;
|
|
8514
8123
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8515
8124
|
switch (errorCode) {
|
|
8516
8125
|
case "AccessDeniedException":
|
|
@@ -8536,14 +8145,12 @@ const deserializeAws_json1_1RebootRelationalDatabaseCommandError = async (output
|
|
|
8536
8145
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
8537
8146
|
default:
|
|
8538
8147
|
const parsedBody = parsedOutput.body;
|
|
8539
|
-
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
$metadata,
|
|
8148
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8149
|
+
output,
|
|
8150
|
+
parsedBody,
|
|
8151
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8152
|
+
errorCode,
|
|
8545
8153
|
});
|
|
8546
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
8547
8154
|
}
|
|
8548
8155
|
};
|
|
8549
8156
|
const deserializeAws_json1_1RegisterContainerImageCommand = async (output, context) => {
|
|
@@ -8565,7 +8172,6 @@ const deserializeAws_json1_1RegisterContainerImageCommandError = async (output,
|
|
|
8565
8172
|
...output,
|
|
8566
8173
|
body: await parseBody(output.body, context),
|
|
8567
8174
|
};
|
|
8568
|
-
let response;
|
|
8569
8175
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8570
8176
|
switch (errorCode) {
|
|
8571
8177
|
case "AccessDeniedException":
|
|
@@ -8585,14 +8191,12 @@ const deserializeAws_json1_1RegisterContainerImageCommandError = async (output,
|
|
|
8585
8191
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
8586
8192
|
default:
|
|
8587
8193
|
const parsedBody = parsedOutput.body;
|
|
8588
|
-
|
|
8589
|
-
|
|
8590
|
-
|
|
8591
|
-
|
|
8592
|
-
|
|
8593
|
-
$metadata,
|
|
8194
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8195
|
+
output,
|
|
8196
|
+
parsedBody,
|
|
8197
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8198
|
+
errorCode,
|
|
8594
8199
|
});
|
|
8595
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
8596
8200
|
}
|
|
8597
8201
|
};
|
|
8598
8202
|
const deserializeAws_json1_1ReleaseStaticIpCommand = async (output, context) => {
|
|
@@ -8614,7 +8218,6 @@ const deserializeAws_json1_1ReleaseStaticIpCommandError = async (output, context
|
|
|
8614
8218
|
...output,
|
|
8615
8219
|
body: await parseBody(output.body, context),
|
|
8616
8220
|
};
|
|
8617
|
-
let response;
|
|
8618
8221
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8619
8222
|
switch (errorCode) {
|
|
8620
8223
|
case "AccessDeniedException":
|
|
@@ -8640,14 +8243,12 @@ const deserializeAws_json1_1ReleaseStaticIpCommandError = async (output, context
|
|
|
8640
8243
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
8641
8244
|
default:
|
|
8642
8245
|
const parsedBody = parsedOutput.body;
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
$metadata,
|
|
8246
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8247
|
+
output,
|
|
8248
|
+
parsedBody,
|
|
8249
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8250
|
+
errorCode,
|
|
8649
8251
|
});
|
|
8650
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
8651
8252
|
}
|
|
8652
8253
|
};
|
|
8653
8254
|
const deserializeAws_json1_1ResetDistributionCacheCommand = async (output, context) => {
|
|
@@ -8669,7 +8270,6 @@ const deserializeAws_json1_1ResetDistributionCacheCommandError = async (output,
|
|
|
8669
8270
|
...output,
|
|
8670
8271
|
body: await parseBody(output.body, context),
|
|
8671
8272
|
};
|
|
8672
|
-
let response;
|
|
8673
8273
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8674
8274
|
switch (errorCode) {
|
|
8675
8275
|
case "AccessDeniedException":
|
|
@@ -8692,14 +8292,12 @@ const deserializeAws_json1_1ResetDistributionCacheCommandError = async (output,
|
|
|
8692
8292
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
8693
8293
|
default:
|
|
8694
8294
|
const parsedBody = parsedOutput.body;
|
|
8695
|
-
|
|
8696
|
-
|
|
8697
|
-
|
|
8698
|
-
|
|
8699
|
-
|
|
8700
|
-
$metadata,
|
|
8295
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8296
|
+
output,
|
|
8297
|
+
parsedBody,
|
|
8298
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8299
|
+
errorCode,
|
|
8701
8300
|
});
|
|
8702
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
8703
8301
|
}
|
|
8704
8302
|
};
|
|
8705
8303
|
const deserializeAws_json1_1SendContactMethodVerificationCommand = async (output, context) => {
|
|
@@ -8721,7 +8319,6 @@ const deserializeAws_json1_1SendContactMethodVerificationCommandError = async (o
|
|
|
8721
8319
|
...output,
|
|
8722
8320
|
body: await parseBody(output.body, context),
|
|
8723
8321
|
};
|
|
8724
|
-
let response;
|
|
8725
8322
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8726
8323
|
switch (errorCode) {
|
|
8727
8324
|
case "AccessDeniedException":
|
|
@@ -8744,14 +8341,12 @@ const deserializeAws_json1_1SendContactMethodVerificationCommandError = async (o
|
|
|
8744
8341
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
8745
8342
|
default:
|
|
8746
8343
|
const parsedBody = parsedOutput.body;
|
|
8747
|
-
|
|
8748
|
-
|
|
8749
|
-
|
|
8750
|
-
|
|
8751
|
-
|
|
8752
|
-
$metadata,
|
|
8344
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8345
|
+
output,
|
|
8346
|
+
parsedBody,
|
|
8347
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8348
|
+
errorCode,
|
|
8753
8349
|
});
|
|
8754
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
8755
8350
|
}
|
|
8756
8351
|
};
|
|
8757
8352
|
const deserializeAws_json1_1SetIpAddressTypeCommand = async (output, context) => {
|
|
@@ -8773,7 +8368,6 @@ const deserializeAws_json1_1SetIpAddressTypeCommandError = async (output, contex
|
|
|
8773
8368
|
...output,
|
|
8774
8369
|
body: await parseBody(output.body, context),
|
|
8775
8370
|
};
|
|
8776
|
-
let response;
|
|
8777
8371
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8778
8372
|
switch (errorCode) {
|
|
8779
8373
|
case "AccessDeniedException":
|
|
@@ -8799,14 +8393,12 @@ const deserializeAws_json1_1SetIpAddressTypeCommandError = async (output, contex
|
|
|
8799
8393
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
8800
8394
|
default:
|
|
8801
8395
|
const parsedBody = parsedOutput.body;
|
|
8802
|
-
|
|
8803
|
-
|
|
8804
|
-
|
|
8805
|
-
|
|
8806
|
-
|
|
8807
|
-
$metadata,
|
|
8396
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8397
|
+
output,
|
|
8398
|
+
parsedBody,
|
|
8399
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8400
|
+
errorCode,
|
|
8808
8401
|
});
|
|
8809
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
8810
8402
|
}
|
|
8811
8403
|
};
|
|
8812
8404
|
const deserializeAws_json1_1SetResourceAccessForBucketCommand = async (output, context) => {
|
|
@@ -8828,7 +8420,6 @@ const deserializeAws_json1_1SetResourceAccessForBucketCommandError = async (outp
|
|
|
8828
8420
|
...output,
|
|
8829
8421
|
body: await parseBody(output.body, context),
|
|
8830
8422
|
};
|
|
8831
|
-
let response;
|
|
8832
8423
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8833
8424
|
switch (errorCode) {
|
|
8834
8425
|
case "AccessDeniedException":
|
|
@@ -8848,14 +8439,12 @@ const deserializeAws_json1_1SetResourceAccessForBucketCommandError = async (outp
|
|
|
8848
8439
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
8849
8440
|
default:
|
|
8850
8441
|
const parsedBody = parsedOutput.body;
|
|
8851
|
-
|
|
8852
|
-
|
|
8853
|
-
|
|
8854
|
-
|
|
8855
|
-
|
|
8856
|
-
$metadata,
|
|
8442
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8443
|
+
output,
|
|
8444
|
+
parsedBody,
|
|
8445
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8446
|
+
errorCode,
|
|
8857
8447
|
});
|
|
8858
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
8859
8448
|
}
|
|
8860
8449
|
};
|
|
8861
8450
|
const deserializeAws_json1_1StartInstanceCommand = async (output, context) => {
|
|
@@ -8877,7 +8466,6 @@ const deserializeAws_json1_1StartInstanceCommandError = async (output, context)
|
|
|
8877
8466
|
...output,
|
|
8878
8467
|
body: await parseBody(output.body, context),
|
|
8879
8468
|
};
|
|
8880
|
-
let response;
|
|
8881
8469
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8882
8470
|
switch (errorCode) {
|
|
8883
8471
|
case "AccessDeniedException":
|
|
@@ -8903,14 +8491,12 @@ const deserializeAws_json1_1StartInstanceCommandError = async (output, context)
|
|
|
8903
8491
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
8904
8492
|
default:
|
|
8905
8493
|
const parsedBody = parsedOutput.body;
|
|
8906
|
-
|
|
8907
|
-
|
|
8908
|
-
|
|
8909
|
-
|
|
8910
|
-
|
|
8911
|
-
$metadata,
|
|
8494
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8495
|
+
output,
|
|
8496
|
+
parsedBody,
|
|
8497
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8498
|
+
errorCode,
|
|
8912
8499
|
});
|
|
8913
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
8914
8500
|
}
|
|
8915
8501
|
};
|
|
8916
8502
|
const deserializeAws_json1_1StartRelationalDatabaseCommand = async (output, context) => {
|
|
@@ -8932,7 +8518,6 @@ const deserializeAws_json1_1StartRelationalDatabaseCommandError = async (output,
|
|
|
8932
8518
|
...output,
|
|
8933
8519
|
body: await parseBody(output.body, context),
|
|
8934
8520
|
};
|
|
8935
|
-
let response;
|
|
8936
8521
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8937
8522
|
switch (errorCode) {
|
|
8938
8523
|
case "AccessDeniedException":
|
|
@@ -8958,14 +8543,12 @@ const deserializeAws_json1_1StartRelationalDatabaseCommandError = async (output,
|
|
|
8958
8543
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
8959
8544
|
default:
|
|
8960
8545
|
const parsedBody = parsedOutput.body;
|
|
8961
|
-
|
|
8962
|
-
|
|
8963
|
-
|
|
8964
|
-
|
|
8965
|
-
|
|
8966
|
-
$metadata,
|
|
8546
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8547
|
+
output,
|
|
8548
|
+
parsedBody,
|
|
8549
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8550
|
+
errorCode,
|
|
8967
8551
|
});
|
|
8968
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
8969
8552
|
}
|
|
8970
8553
|
};
|
|
8971
8554
|
const deserializeAws_json1_1StopInstanceCommand = async (output, context) => {
|
|
@@ -8987,7 +8570,6 @@ const deserializeAws_json1_1StopInstanceCommandError = async (output, context) =
|
|
|
8987
8570
|
...output,
|
|
8988
8571
|
body: await parseBody(output.body, context),
|
|
8989
8572
|
};
|
|
8990
|
-
let response;
|
|
8991
8573
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8992
8574
|
switch (errorCode) {
|
|
8993
8575
|
case "AccessDeniedException":
|
|
@@ -9013,14 +8595,12 @@ const deserializeAws_json1_1StopInstanceCommandError = async (output, context) =
|
|
|
9013
8595
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
9014
8596
|
default:
|
|
9015
8597
|
const parsedBody = parsedOutput.body;
|
|
9016
|
-
|
|
9017
|
-
|
|
9018
|
-
|
|
9019
|
-
|
|
9020
|
-
|
|
9021
|
-
$metadata,
|
|
8598
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8599
|
+
output,
|
|
8600
|
+
parsedBody,
|
|
8601
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8602
|
+
errorCode,
|
|
9022
8603
|
});
|
|
9023
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
9024
8604
|
}
|
|
9025
8605
|
};
|
|
9026
8606
|
const deserializeAws_json1_1StopRelationalDatabaseCommand = async (output, context) => {
|
|
@@ -9042,7 +8622,6 @@ const deserializeAws_json1_1StopRelationalDatabaseCommandError = async (output,
|
|
|
9042
8622
|
...output,
|
|
9043
8623
|
body: await parseBody(output.body, context),
|
|
9044
8624
|
};
|
|
9045
|
-
let response;
|
|
9046
8625
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9047
8626
|
switch (errorCode) {
|
|
9048
8627
|
case "AccessDeniedException":
|
|
@@ -9068,14 +8647,12 @@ const deserializeAws_json1_1StopRelationalDatabaseCommandError = async (output,
|
|
|
9068
8647
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
9069
8648
|
default:
|
|
9070
8649
|
const parsedBody = parsedOutput.body;
|
|
9071
|
-
|
|
9072
|
-
|
|
9073
|
-
|
|
9074
|
-
|
|
9075
|
-
|
|
9076
|
-
$metadata,
|
|
8650
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8651
|
+
output,
|
|
8652
|
+
parsedBody,
|
|
8653
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8654
|
+
errorCode,
|
|
9077
8655
|
});
|
|
9078
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
9079
8656
|
}
|
|
9080
8657
|
};
|
|
9081
8658
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -9097,7 +8674,6 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
9097
8674
|
...output,
|
|
9098
8675
|
body: await parseBody(output.body, context),
|
|
9099
8676
|
};
|
|
9100
|
-
let response;
|
|
9101
8677
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9102
8678
|
switch (errorCode) {
|
|
9103
8679
|
case "AccessDeniedException":
|
|
@@ -9123,14 +8699,12 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
9123
8699
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
9124
8700
|
default:
|
|
9125
8701
|
const parsedBody = parsedOutput.body;
|
|
9126
|
-
|
|
9127
|
-
|
|
9128
|
-
|
|
9129
|
-
|
|
9130
|
-
|
|
9131
|
-
$metadata,
|
|
8702
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8703
|
+
output,
|
|
8704
|
+
parsedBody,
|
|
8705
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8706
|
+
errorCode,
|
|
9132
8707
|
});
|
|
9133
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
9134
8708
|
}
|
|
9135
8709
|
};
|
|
9136
8710
|
const deserializeAws_json1_1TestAlarmCommand = async (output, context) => {
|
|
@@ -9152,7 +8726,6 @@ const deserializeAws_json1_1TestAlarmCommandError = async (output, context) => {
|
|
|
9152
8726
|
...output,
|
|
9153
8727
|
body: await parseBody(output.body, context),
|
|
9154
8728
|
};
|
|
9155
|
-
let response;
|
|
9156
8729
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9157
8730
|
switch (errorCode) {
|
|
9158
8731
|
case "AccessDeniedException":
|
|
@@ -9175,14 +8748,12 @@ const deserializeAws_json1_1TestAlarmCommandError = async (output, context) => {
|
|
|
9175
8748
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
9176
8749
|
default:
|
|
9177
8750
|
const parsedBody = parsedOutput.body;
|
|
9178
|
-
|
|
9179
|
-
|
|
9180
|
-
|
|
9181
|
-
|
|
9182
|
-
|
|
9183
|
-
$metadata,
|
|
8751
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8752
|
+
output,
|
|
8753
|
+
parsedBody,
|
|
8754
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8755
|
+
errorCode,
|
|
9184
8756
|
});
|
|
9185
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
9186
8757
|
}
|
|
9187
8758
|
};
|
|
9188
8759
|
const deserializeAws_json1_1UnpeerVpcCommand = async (output, context) => {
|
|
@@ -9204,7 +8775,6 @@ const deserializeAws_json1_1UnpeerVpcCommandError = async (output, context) => {
|
|
|
9204
8775
|
...output,
|
|
9205
8776
|
body: await parseBody(output.body, context),
|
|
9206
8777
|
};
|
|
9207
|
-
let response;
|
|
9208
8778
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9209
8779
|
switch (errorCode) {
|
|
9210
8780
|
case "AccessDeniedException":
|
|
@@ -9230,14 +8800,12 @@ const deserializeAws_json1_1UnpeerVpcCommandError = async (output, context) => {
|
|
|
9230
8800
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
9231
8801
|
default:
|
|
9232
8802
|
const parsedBody = parsedOutput.body;
|
|
9233
|
-
|
|
9234
|
-
|
|
9235
|
-
|
|
9236
|
-
|
|
9237
|
-
|
|
9238
|
-
$metadata,
|
|
8803
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8804
|
+
output,
|
|
8805
|
+
parsedBody,
|
|
8806
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8807
|
+
errorCode,
|
|
9239
8808
|
});
|
|
9240
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
9241
8809
|
}
|
|
9242
8810
|
};
|
|
9243
8811
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -9259,7 +8827,6 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
9259
8827
|
...output,
|
|
9260
8828
|
body: await parseBody(output.body, context),
|
|
9261
8829
|
};
|
|
9262
|
-
let response;
|
|
9263
8830
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9264
8831
|
switch (errorCode) {
|
|
9265
8832
|
case "AccessDeniedException":
|
|
@@ -9285,14 +8852,12 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
9285
8852
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
9286
8853
|
default:
|
|
9287
8854
|
const parsedBody = parsedOutput.body;
|
|
9288
|
-
|
|
9289
|
-
|
|
9290
|
-
|
|
9291
|
-
|
|
9292
|
-
|
|
9293
|
-
$metadata,
|
|
8855
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8856
|
+
output,
|
|
8857
|
+
parsedBody,
|
|
8858
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8859
|
+
errorCode,
|
|
9294
8860
|
});
|
|
9295
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
9296
8861
|
}
|
|
9297
8862
|
};
|
|
9298
8863
|
const deserializeAws_json1_1UpdateBucketCommand = async (output, context) => {
|
|
@@ -9314,7 +8879,6 @@ const deserializeAws_json1_1UpdateBucketCommandError = async (output, context) =
|
|
|
9314
8879
|
...output,
|
|
9315
8880
|
body: await parseBody(output.body, context),
|
|
9316
8881
|
};
|
|
9317
|
-
let response;
|
|
9318
8882
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9319
8883
|
switch (errorCode) {
|
|
9320
8884
|
case "AccessDeniedException":
|
|
@@ -9334,14 +8898,12 @@ const deserializeAws_json1_1UpdateBucketCommandError = async (output, context) =
|
|
|
9334
8898
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
9335
8899
|
default:
|
|
9336
8900
|
const parsedBody = parsedOutput.body;
|
|
9337
|
-
|
|
9338
|
-
|
|
9339
|
-
|
|
9340
|
-
|
|
9341
|
-
|
|
9342
|
-
$metadata,
|
|
8901
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8902
|
+
output,
|
|
8903
|
+
parsedBody,
|
|
8904
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8905
|
+
errorCode,
|
|
9343
8906
|
});
|
|
9344
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
9345
8907
|
}
|
|
9346
8908
|
};
|
|
9347
8909
|
const deserializeAws_json1_1UpdateBucketBundleCommand = async (output, context) => {
|
|
@@ -9363,7 +8925,6 @@ const deserializeAws_json1_1UpdateBucketBundleCommandError = async (output, cont
|
|
|
9363
8925
|
...output,
|
|
9364
8926
|
body: await parseBody(output.body, context),
|
|
9365
8927
|
};
|
|
9366
|
-
let response;
|
|
9367
8928
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9368
8929
|
switch (errorCode) {
|
|
9369
8930
|
case "AccessDeniedException":
|
|
@@ -9383,14 +8944,12 @@ const deserializeAws_json1_1UpdateBucketBundleCommandError = async (output, cont
|
|
|
9383
8944
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
9384
8945
|
default:
|
|
9385
8946
|
const parsedBody = parsedOutput.body;
|
|
9386
|
-
|
|
9387
|
-
|
|
9388
|
-
|
|
9389
|
-
|
|
9390
|
-
|
|
9391
|
-
$metadata,
|
|
8947
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8948
|
+
output,
|
|
8949
|
+
parsedBody,
|
|
8950
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8951
|
+
errorCode,
|
|
9392
8952
|
});
|
|
9393
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
9394
8953
|
}
|
|
9395
8954
|
};
|
|
9396
8955
|
const deserializeAws_json1_1UpdateContainerServiceCommand = async (output, context) => {
|
|
@@ -9412,7 +8971,6 @@ const deserializeAws_json1_1UpdateContainerServiceCommandError = async (output,
|
|
|
9412
8971
|
...output,
|
|
9413
8972
|
body: await parseBody(output.body, context),
|
|
9414
8973
|
};
|
|
9415
|
-
let response;
|
|
9416
8974
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9417
8975
|
switch (errorCode) {
|
|
9418
8976
|
case "AccessDeniedException":
|
|
@@ -9432,14 +8990,12 @@ const deserializeAws_json1_1UpdateContainerServiceCommandError = async (output,
|
|
|
9432
8990
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
9433
8991
|
default:
|
|
9434
8992
|
const parsedBody = parsedOutput.body;
|
|
9435
|
-
|
|
9436
|
-
|
|
9437
|
-
|
|
9438
|
-
|
|
9439
|
-
|
|
9440
|
-
$metadata,
|
|
8993
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8994
|
+
output,
|
|
8995
|
+
parsedBody,
|
|
8996
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
8997
|
+
errorCode,
|
|
9441
8998
|
});
|
|
9442
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
9443
8999
|
}
|
|
9444
9000
|
};
|
|
9445
9001
|
const deserializeAws_json1_1UpdateDistributionCommand = async (output, context) => {
|
|
@@ -9461,7 +9017,6 @@ const deserializeAws_json1_1UpdateDistributionCommandError = async (output, cont
|
|
|
9461
9017
|
...output,
|
|
9462
9018
|
body: await parseBody(output.body, context),
|
|
9463
9019
|
};
|
|
9464
|
-
let response;
|
|
9465
9020
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9466
9021
|
switch (errorCode) {
|
|
9467
9022
|
case "AccessDeniedException":
|
|
@@ -9484,14 +9039,12 @@ const deserializeAws_json1_1UpdateDistributionCommandError = async (output, cont
|
|
|
9484
9039
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
9485
9040
|
default:
|
|
9486
9041
|
const parsedBody = parsedOutput.body;
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9492
|
-
$metadata,
|
|
9042
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
9043
|
+
output,
|
|
9044
|
+
parsedBody,
|
|
9045
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
9046
|
+
errorCode,
|
|
9493
9047
|
});
|
|
9494
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
9495
9048
|
}
|
|
9496
9049
|
};
|
|
9497
9050
|
const deserializeAws_json1_1UpdateDistributionBundleCommand = async (output, context) => {
|
|
@@ -9513,7 +9066,6 @@ const deserializeAws_json1_1UpdateDistributionBundleCommandError = async (output
|
|
|
9513
9066
|
...output,
|
|
9514
9067
|
body: await parseBody(output.body, context),
|
|
9515
9068
|
};
|
|
9516
|
-
let response;
|
|
9517
9069
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9518
9070
|
switch (errorCode) {
|
|
9519
9071
|
case "AccessDeniedException":
|
|
@@ -9536,14 +9088,12 @@ const deserializeAws_json1_1UpdateDistributionBundleCommandError = async (output
|
|
|
9536
9088
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
9537
9089
|
default:
|
|
9538
9090
|
const parsedBody = parsedOutput.body;
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
$metadata,
|
|
9091
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
9092
|
+
output,
|
|
9093
|
+
parsedBody,
|
|
9094
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
9095
|
+
errorCode,
|
|
9545
9096
|
});
|
|
9546
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
9547
9097
|
}
|
|
9548
9098
|
};
|
|
9549
9099
|
const deserializeAws_json1_1UpdateDomainEntryCommand = async (output, context) => {
|
|
@@ -9565,7 +9115,6 @@ const deserializeAws_json1_1UpdateDomainEntryCommandError = async (output, conte
|
|
|
9565
9115
|
...output,
|
|
9566
9116
|
body: await parseBody(output.body, context),
|
|
9567
9117
|
};
|
|
9568
|
-
let response;
|
|
9569
9118
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9570
9119
|
switch (errorCode) {
|
|
9571
9120
|
case "AccessDeniedException":
|
|
@@ -9591,14 +9140,12 @@ const deserializeAws_json1_1UpdateDomainEntryCommandError = async (output, conte
|
|
|
9591
9140
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
9592
9141
|
default:
|
|
9593
9142
|
const parsedBody = parsedOutput.body;
|
|
9594
|
-
|
|
9595
|
-
|
|
9596
|
-
|
|
9597
|
-
|
|
9598
|
-
|
|
9599
|
-
$metadata,
|
|
9143
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
9144
|
+
output,
|
|
9145
|
+
parsedBody,
|
|
9146
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
9147
|
+
errorCode,
|
|
9600
9148
|
});
|
|
9601
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
9602
9149
|
}
|
|
9603
9150
|
};
|
|
9604
9151
|
const deserializeAws_json1_1UpdateLoadBalancerAttributeCommand = async (output, context) => {
|
|
@@ -9620,7 +9167,6 @@ const deserializeAws_json1_1UpdateLoadBalancerAttributeCommandError = async (out
|
|
|
9620
9167
|
...output,
|
|
9621
9168
|
body: await parseBody(output.body, context),
|
|
9622
9169
|
};
|
|
9623
|
-
let response;
|
|
9624
9170
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9625
9171
|
switch (errorCode) {
|
|
9626
9172
|
case "AccessDeniedException":
|
|
@@ -9646,14 +9192,12 @@ const deserializeAws_json1_1UpdateLoadBalancerAttributeCommandError = async (out
|
|
|
9646
9192
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
9647
9193
|
default:
|
|
9648
9194
|
const parsedBody = parsedOutput.body;
|
|
9649
|
-
|
|
9650
|
-
|
|
9651
|
-
|
|
9652
|
-
|
|
9653
|
-
|
|
9654
|
-
$metadata,
|
|
9195
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
9196
|
+
output,
|
|
9197
|
+
parsedBody,
|
|
9198
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
9199
|
+
errorCode,
|
|
9655
9200
|
});
|
|
9656
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
9657
9201
|
}
|
|
9658
9202
|
};
|
|
9659
9203
|
const deserializeAws_json1_1UpdateRelationalDatabaseCommand = async (output, context) => {
|
|
@@ -9675,7 +9219,6 @@ const deserializeAws_json1_1UpdateRelationalDatabaseCommandError = async (output
|
|
|
9675
9219
|
...output,
|
|
9676
9220
|
body: await parseBody(output.body, context),
|
|
9677
9221
|
};
|
|
9678
|
-
let response;
|
|
9679
9222
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9680
9223
|
switch (errorCode) {
|
|
9681
9224
|
case "AccessDeniedException":
|
|
@@ -9701,14 +9244,12 @@ const deserializeAws_json1_1UpdateRelationalDatabaseCommandError = async (output
|
|
|
9701
9244
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
9702
9245
|
default:
|
|
9703
9246
|
const parsedBody = parsedOutput.body;
|
|
9704
|
-
|
|
9705
|
-
|
|
9706
|
-
|
|
9707
|
-
|
|
9708
|
-
|
|
9709
|
-
$metadata,
|
|
9247
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
9248
|
+
output,
|
|
9249
|
+
parsedBody,
|
|
9250
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
9251
|
+
errorCode,
|
|
9710
9252
|
});
|
|
9711
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
9712
9253
|
}
|
|
9713
9254
|
};
|
|
9714
9255
|
const deserializeAws_json1_1UpdateRelationalDatabaseParametersCommand = async (output, context) => {
|
|
@@ -9730,7 +9271,6 @@ const deserializeAws_json1_1UpdateRelationalDatabaseParametersCommandError = asy
|
|
|
9730
9271
|
...output,
|
|
9731
9272
|
body: await parseBody(output.body, context),
|
|
9732
9273
|
};
|
|
9733
|
-
let response;
|
|
9734
9274
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9735
9275
|
switch (errorCode) {
|
|
9736
9276
|
case "AccessDeniedException":
|
|
@@ -9756,14 +9296,12 @@ const deserializeAws_json1_1UpdateRelationalDatabaseParametersCommandError = asy
|
|
|
9756
9296
|
throw await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context);
|
|
9757
9297
|
default:
|
|
9758
9298
|
const parsedBody = parsedOutput.body;
|
|
9759
|
-
|
|
9760
|
-
|
|
9761
|
-
|
|
9762
|
-
|
|
9763
|
-
|
|
9764
|
-
$metadata,
|
|
9299
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
9300
|
+
output,
|
|
9301
|
+
parsedBody,
|
|
9302
|
+
exceptionCtor: LightsailServiceException_1.LightsailServiceException,
|
|
9303
|
+
errorCode,
|
|
9765
9304
|
});
|
|
9766
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
9767
9305
|
}
|
|
9768
9306
|
};
|
|
9769
9307
|
const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -9847,9 +9385,6 @@ const serializeAws_json1_1AddOnRequestList = (input, context) => {
|
|
|
9847
9385
|
return input
|
|
9848
9386
|
.filter((e) => e != null)
|
|
9849
9387
|
.map((entry) => {
|
|
9850
|
-
if (entry === null) {
|
|
9851
|
-
return null;
|
|
9852
|
-
}
|
|
9853
9388
|
return serializeAws_json1_1AddOnRequest(entry, context);
|
|
9854
9389
|
});
|
|
9855
9390
|
};
|
|
@@ -9923,9 +9458,6 @@ const serializeAws_json1_1CacheBehaviorList = (input, context) => {
|
|
|
9923
9458
|
return input
|
|
9924
9459
|
.filter((e) => e != null)
|
|
9925
9460
|
.map((entry) => {
|
|
9926
|
-
if (entry === null) {
|
|
9927
|
-
return null;
|
|
9928
|
-
}
|
|
9929
9461
|
return serializeAws_json1_1CacheBehaviorPerPath(entry, context);
|
|
9930
9462
|
});
|
|
9931
9463
|
};
|
|
@@ -9957,9 +9489,6 @@ const serializeAws_json1_1CertificateStatusList = (input, context) => {
|
|
|
9957
9489
|
return input
|
|
9958
9490
|
.filter((e) => e != null)
|
|
9959
9491
|
.map((entry) => {
|
|
9960
|
-
if (entry === null) {
|
|
9961
|
-
return null;
|
|
9962
|
-
}
|
|
9963
9492
|
return entry;
|
|
9964
9493
|
});
|
|
9965
9494
|
};
|
|
@@ -9973,9 +9502,6 @@ const serializeAws_json1_1ContactProtocolsList = (input, context) => {
|
|
|
9973
9502
|
return input
|
|
9974
9503
|
.filter((e) => e != null)
|
|
9975
9504
|
.map((entry) => {
|
|
9976
|
-
if (entry === null) {
|
|
9977
|
-
return null;
|
|
9978
|
-
}
|
|
9979
9505
|
return entry;
|
|
9980
9506
|
});
|
|
9981
9507
|
};
|
|
@@ -10036,9 +9562,6 @@ const serializeAws_json1_1ContainerServicePublicDomainsList = (input, context) =
|
|
|
10036
9562
|
return input
|
|
10037
9563
|
.filter((e) => e != null)
|
|
10038
9564
|
.map((entry) => {
|
|
10039
|
-
if (entry === null) {
|
|
10040
|
-
return null;
|
|
10041
|
-
}
|
|
10042
9565
|
return entry;
|
|
10043
9566
|
});
|
|
10044
9567
|
};
|
|
@@ -10464,9 +9987,6 @@ const serializeAws_json1_1DiskMapList = (input, context) => {
|
|
|
10464
9987
|
return input
|
|
10465
9988
|
.filter((e) => e != null)
|
|
10466
9989
|
.map((entry) => {
|
|
10467
|
-
if (entry === null) {
|
|
10468
|
-
return null;
|
|
10469
|
-
}
|
|
10470
9990
|
return serializeAws_json1_1DiskMap(entry, context);
|
|
10471
9991
|
});
|
|
10472
9992
|
};
|
|
@@ -10495,9 +10015,6 @@ const serializeAws_json1_1DomainNameList = (input, context) => {
|
|
|
10495
10015
|
return input
|
|
10496
10016
|
.filter((e) => e != null)
|
|
10497
10017
|
.map((entry) => {
|
|
10498
|
-
if (entry === null) {
|
|
10499
|
-
return null;
|
|
10500
|
-
}
|
|
10501
10018
|
return entry;
|
|
10502
10019
|
});
|
|
10503
10020
|
};
|
|
@@ -10917,9 +10434,6 @@ const serializeAws_json1_1HeaderForwardList = (input, context) => {
|
|
|
10917
10434
|
return input
|
|
10918
10435
|
.filter((e) => e != null)
|
|
10919
10436
|
.map((entry) => {
|
|
10920
|
-
if (entry === null) {
|
|
10921
|
-
return null;
|
|
10922
|
-
}
|
|
10923
10437
|
return entry;
|
|
10924
10438
|
});
|
|
10925
10439
|
};
|
|
@@ -10957,9 +10471,6 @@ const serializeAws_json1_1InstanceEntryList = (input, context) => {
|
|
|
10957
10471
|
return input
|
|
10958
10472
|
.filter((e) => e != null)
|
|
10959
10473
|
.map((entry) => {
|
|
10960
|
-
if (entry === null) {
|
|
10961
|
-
return null;
|
|
10962
|
-
}
|
|
10963
10474
|
return serializeAws_json1_1InstanceEntry(entry, context);
|
|
10964
10475
|
});
|
|
10965
10476
|
};
|
|
@@ -10970,9 +10481,6 @@ const serializeAws_json1_1MetricStatisticList = (input, context) => {
|
|
|
10970
10481
|
return input
|
|
10971
10482
|
.filter((e) => e != null)
|
|
10972
10483
|
.map((entry) => {
|
|
10973
|
-
if (entry === null) {
|
|
10974
|
-
return null;
|
|
10975
|
-
}
|
|
10976
10484
|
return entry;
|
|
10977
10485
|
});
|
|
10978
10486
|
};
|
|
@@ -10980,9 +10488,6 @@ const serializeAws_json1_1NotificationTriggerList = (input, context) => {
|
|
|
10980
10488
|
return input
|
|
10981
10489
|
.filter((e) => e != null)
|
|
10982
10490
|
.map((entry) => {
|
|
10983
|
-
if (entry === null) {
|
|
10984
|
-
return null;
|
|
10985
|
-
}
|
|
10986
10491
|
return entry;
|
|
10987
10492
|
});
|
|
10988
10493
|
};
|
|
@@ -10996,9 +10501,6 @@ const serializeAws_json1_1PartnerIdList = (input, context) => {
|
|
|
10996
10501
|
return input
|
|
10997
10502
|
.filter((e) => e != null)
|
|
10998
10503
|
.map((entry) => {
|
|
10999
|
-
if (entry === null) {
|
|
11000
|
-
return null;
|
|
11001
|
-
}
|
|
11002
10504
|
return entry;
|
|
11003
10505
|
});
|
|
11004
10506
|
};
|
|
@@ -11021,9 +10523,6 @@ const serializeAws_json1_1PortInfoList = (input, context) => {
|
|
|
11021
10523
|
return input
|
|
11022
10524
|
.filter((e) => e != null)
|
|
11023
10525
|
.map((entry) => {
|
|
11024
|
-
if (entry === null) {
|
|
11025
|
-
return null;
|
|
11026
|
-
}
|
|
11027
10526
|
return serializeAws_json1_1PortInfo(entry, context);
|
|
11028
10527
|
});
|
|
11029
10528
|
};
|
|
@@ -11111,9 +10610,6 @@ const serializeAws_json1_1RelationalDatabaseParameterList = (input, context) =>
|
|
|
11111
10610
|
return input
|
|
11112
10611
|
.filter((e) => e != null)
|
|
11113
10612
|
.map((entry) => {
|
|
11114
|
-
if (entry === null) {
|
|
11115
|
-
return null;
|
|
11116
|
-
}
|
|
11117
10613
|
return serializeAws_json1_1RelationalDatabaseParameter(entry, context);
|
|
11118
10614
|
});
|
|
11119
10615
|
};
|
|
@@ -11131,9 +10627,6 @@ const serializeAws_json1_1ResourceNameList = (input, context) => {
|
|
|
11131
10627
|
return input
|
|
11132
10628
|
.filter((e) => e != null)
|
|
11133
10629
|
.map((entry) => {
|
|
11134
|
-
if (entry === null) {
|
|
11135
|
-
return null;
|
|
11136
|
-
}
|
|
11137
10630
|
return entry;
|
|
11138
10631
|
});
|
|
11139
10632
|
};
|
|
@@ -11184,9 +10677,6 @@ const serializeAws_json1_1StringList = (input, context) => {
|
|
|
11184
10677
|
return input
|
|
11185
10678
|
.filter((e) => e != null)
|
|
11186
10679
|
.map((entry) => {
|
|
11187
|
-
if (entry === null) {
|
|
11188
|
-
return null;
|
|
11189
|
-
}
|
|
11190
10680
|
return entry;
|
|
11191
10681
|
});
|
|
11192
10682
|
};
|
|
@@ -11194,9 +10684,6 @@ const serializeAws_json1_1SubjectAlternativeNameList = (input, context) => {
|
|
|
11194
10684
|
return input
|
|
11195
10685
|
.filter((e) => e != null)
|
|
11196
10686
|
.map((entry) => {
|
|
11197
|
-
if (entry === null) {
|
|
11198
|
-
return null;
|
|
11199
|
-
}
|
|
11200
10687
|
return entry;
|
|
11201
10688
|
});
|
|
11202
10689
|
};
|
|
@@ -11210,9 +10697,6 @@ const serializeAws_json1_1TagKeyList = (input, context) => {
|
|
|
11210
10697
|
return input
|
|
11211
10698
|
.filter((e) => e != null)
|
|
11212
10699
|
.map((entry) => {
|
|
11213
|
-
if (entry === null) {
|
|
11214
|
-
return null;
|
|
11215
|
-
}
|
|
11216
10700
|
return entry;
|
|
11217
10701
|
});
|
|
11218
10702
|
};
|
|
@@ -11220,9 +10704,6 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
11220
10704
|
return input
|
|
11221
10705
|
.filter((e) => e != null)
|
|
11222
10706
|
.map((entry) => {
|
|
11223
|
-
if (entry === null) {
|
|
11224
|
-
return null;
|
|
11225
|
-
}
|
|
11226
10707
|
return serializeAws_json1_1Tag(entry, context);
|
|
11227
10708
|
});
|
|
11228
10709
|
};
|