@aws-sdk/client-rds 3.314.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_query.js +283 -423
- package/dist-es/protocols/Aws_query.js +284 -424
- package/package.json +6 -6
|
@@ -1571,7 +1571,7 @@ const de_AddRoleToDBClusterCommand = async (output, context) => {
|
|
|
1571
1571
|
const response = {
|
|
1572
1572
|
$metadata: deserializeMetadata(output),
|
|
1573
1573
|
};
|
|
1574
|
-
return
|
|
1574
|
+
return response;
|
|
1575
1575
|
};
|
|
1576
1576
|
exports.de_AddRoleToDBClusterCommand = de_AddRoleToDBClusterCommand;
|
|
1577
1577
|
const de_AddRoleToDBClusterCommandError = async (output, context) => {
|
|
@@ -1595,10 +1595,9 @@ const de_AddRoleToDBClusterCommandError = async (output, context) => {
|
|
|
1595
1595
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
1596
1596
|
default:
|
|
1597
1597
|
const parsedBody = parsedOutput.body;
|
|
1598
|
-
|
|
1598
|
+
return throwDefaultError({
|
|
1599
1599
|
output,
|
|
1600
1600
|
parsedBody: parsedBody.Error,
|
|
1601
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
1602
1601
|
errorCode,
|
|
1603
1602
|
});
|
|
1604
1603
|
}
|
|
@@ -1611,7 +1610,7 @@ const de_AddRoleToDBInstanceCommand = async (output, context) => {
|
|
|
1611
1610
|
const response = {
|
|
1612
1611
|
$metadata: deserializeMetadata(output),
|
|
1613
1612
|
};
|
|
1614
|
-
return
|
|
1613
|
+
return response;
|
|
1615
1614
|
};
|
|
1616
1615
|
exports.de_AddRoleToDBInstanceCommand = de_AddRoleToDBInstanceCommand;
|
|
1617
1616
|
const de_AddRoleToDBInstanceCommandError = async (output, context) => {
|
|
@@ -1635,10 +1634,9 @@ const de_AddRoleToDBInstanceCommandError = async (output, context) => {
|
|
|
1635
1634
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
1636
1635
|
default:
|
|
1637
1636
|
const parsedBody = parsedOutput.body;
|
|
1638
|
-
|
|
1637
|
+
return throwDefaultError({
|
|
1639
1638
|
output,
|
|
1640
1639
|
parsedBody: parsedBody.Error,
|
|
1641
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
1642
1640
|
errorCode,
|
|
1643
1641
|
});
|
|
1644
1642
|
}
|
|
@@ -1654,7 +1652,7 @@ const de_AddSourceIdentifierToSubscriptionCommand = async (output, context) => {
|
|
|
1654
1652
|
$metadata: deserializeMetadata(output),
|
|
1655
1653
|
...contents,
|
|
1656
1654
|
};
|
|
1657
|
-
return
|
|
1655
|
+
return response;
|
|
1658
1656
|
};
|
|
1659
1657
|
exports.de_AddSourceIdentifierToSubscriptionCommand = de_AddSourceIdentifierToSubscriptionCommand;
|
|
1660
1658
|
const de_AddSourceIdentifierToSubscriptionCommandError = async (output, context) => {
|
|
@@ -1672,10 +1670,9 @@ const de_AddSourceIdentifierToSubscriptionCommandError = async (output, context)
|
|
|
1672
1670
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
1673
1671
|
default:
|
|
1674
1672
|
const parsedBody = parsedOutput.body;
|
|
1675
|
-
|
|
1673
|
+
return throwDefaultError({
|
|
1676
1674
|
output,
|
|
1677
1675
|
parsedBody: parsedBody.Error,
|
|
1678
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
1679
1676
|
errorCode,
|
|
1680
1677
|
});
|
|
1681
1678
|
}
|
|
@@ -1688,7 +1685,7 @@ const de_AddTagsToResourceCommand = async (output, context) => {
|
|
|
1688
1685
|
const response = {
|
|
1689
1686
|
$metadata: deserializeMetadata(output),
|
|
1690
1687
|
};
|
|
1691
|
-
return
|
|
1688
|
+
return response;
|
|
1692
1689
|
};
|
|
1693
1690
|
exports.de_AddTagsToResourceCommand = de_AddTagsToResourceCommand;
|
|
1694
1691
|
const de_AddTagsToResourceCommandError = async (output, context) => {
|
|
@@ -1718,10 +1715,9 @@ const de_AddTagsToResourceCommandError = async (output, context) => {
|
|
|
1718
1715
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
1719
1716
|
default:
|
|
1720
1717
|
const parsedBody = parsedOutput.body;
|
|
1721
|
-
|
|
1718
|
+
return throwDefaultError({
|
|
1722
1719
|
output,
|
|
1723
1720
|
parsedBody: parsedBody.Error,
|
|
1724
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
1725
1721
|
errorCode,
|
|
1726
1722
|
});
|
|
1727
1723
|
}
|
|
@@ -1737,7 +1733,7 @@ const de_ApplyPendingMaintenanceActionCommand = async (output, context) => {
|
|
|
1737
1733
|
$metadata: deserializeMetadata(output),
|
|
1738
1734
|
...contents,
|
|
1739
1735
|
};
|
|
1740
|
-
return
|
|
1736
|
+
return response;
|
|
1741
1737
|
};
|
|
1742
1738
|
exports.de_ApplyPendingMaintenanceActionCommand = de_ApplyPendingMaintenanceActionCommand;
|
|
1743
1739
|
const de_ApplyPendingMaintenanceActionCommandError = async (output, context) => {
|
|
@@ -1758,10 +1754,9 @@ const de_ApplyPendingMaintenanceActionCommandError = async (output, context) =>
|
|
|
1758
1754
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
1759
1755
|
default:
|
|
1760
1756
|
const parsedBody = parsedOutput.body;
|
|
1761
|
-
|
|
1757
|
+
return throwDefaultError({
|
|
1762
1758
|
output,
|
|
1763
1759
|
parsedBody: parsedBody.Error,
|
|
1764
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
1765
1760
|
errorCode,
|
|
1766
1761
|
});
|
|
1767
1762
|
}
|
|
@@ -1777,7 +1772,7 @@ const de_AuthorizeDBSecurityGroupIngressCommand = async (output, context) => {
|
|
|
1777
1772
|
$metadata: deserializeMetadata(output),
|
|
1778
1773
|
...contents,
|
|
1779
1774
|
};
|
|
1780
|
-
return
|
|
1775
|
+
return response;
|
|
1781
1776
|
};
|
|
1782
1777
|
exports.de_AuthorizeDBSecurityGroupIngressCommand = de_AuthorizeDBSecurityGroupIngressCommand;
|
|
1783
1778
|
const de_AuthorizeDBSecurityGroupIngressCommandError = async (output, context) => {
|
|
@@ -1801,10 +1796,9 @@ const de_AuthorizeDBSecurityGroupIngressCommandError = async (output, context) =
|
|
|
1801
1796
|
throw await de_InvalidDBSecurityGroupStateFaultRes(parsedOutput, context);
|
|
1802
1797
|
default:
|
|
1803
1798
|
const parsedBody = parsedOutput.body;
|
|
1804
|
-
|
|
1799
|
+
return throwDefaultError({
|
|
1805
1800
|
output,
|
|
1806
1801
|
parsedBody: parsedBody.Error,
|
|
1807
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
1808
1802
|
errorCode,
|
|
1809
1803
|
});
|
|
1810
1804
|
}
|
|
@@ -1820,7 +1814,7 @@ const de_BacktrackDBClusterCommand = async (output, context) => {
|
|
|
1820
1814
|
$metadata: deserializeMetadata(output),
|
|
1821
1815
|
...contents,
|
|
1822
1816
|
};
|
|
1823
|
-
return
|
|
1817
|
+
return response;
|
|
1824
1818
|
};
|
|
1825
1819
|
exports.de_BacktrackDBClusterCommand = de_BacktrackDBClusterCommand;
|
|
1826
1820
|
const de_BacktrackDBClusterCommandError = async (output, context) => {
|
|
@@ -1838,10 +1832,9 @@ const de_BacktrackDBClusterCommandError = async (output, context) => {
|
|
|
1838
1832
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
1839
1833
|
default:
|
|
1840
1834
|
const parsedBody = parsedOutput.body;
|
|
1841
|
-
|
|
1835
|
+
return throwDefaultError({
|
|
1842
1836
|
output,
|
|
1843
1837
|
parsedBody: parsedBody.Error,
|
|
1844
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
1845
1838
|
errorCode,
|
|
1846
1839
|
});
|
|
1847
1840
|
}
|
|
@@ -1857,7 +1850,7 @@ const de_CancelExportTaskCommand = async (output, context) => {
|
|
|
1857
1850
|
$metadata: deserializeMetadata(output),
|
|
1858
1851
|
...contents,
|
|
1859
1852
|
};
|
|
1860
|
-
return
|
|
1853
|
+
return response;
|
|
1861
1854
|
};
|
|
1862
1855
|
exports.de_CancelExportTaskCommand = de_CancelExportTaskCommand;
|
|
1863
1856
|
const de_CancelExportTaskCommandError = async (output, context) => {
|
|
@@ -1875,10 +1868,9 @@ const de_CancelExportTaskCommandError = async (output, context) => {
|
|
|
1875
1868
|
throw await de_InvalidExportTaskStateFaultRes(parsedOutput, context);
|
|
1876
1869
|
default:
|
|
1877
1870
|
const parsedBody = parsedOutput.body;
|
|
1878
|
-
|
|
1871
|
+
return throwDefaultError({
|
|
1879
1872
|
output,
|
|
1880
1873
|
parsedBody: parsedBody.Error,
|
|
1881
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
1882
1874
|
errorCode,
|
|
1883
1875
|
});
|
|
1884
1876
|
}
|
|
@@ -1894,7 +1886,7 @@ const de_CopyDBClusterParameterGroupCommand = async (output, context) => {
|
|
|
1894
1886
|
$metadata: deserializeMetadata(output),
|
|
1895
1887
|
...contents,
|
|
1896
1888
|
};
|
|
1897
|
-
return
|
|
1889
|
+
return response;
|
|
1898
1890
|
};
|
|
1899
1891
|
exports.de_CopyDBClusterParameterGroupCommand = de_CopyDBClusterParameterGroupCommand;
|
|
1900
1892
|
const de_CopyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
@@ -1915,10 +1907,9 @@ const de_CopyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
|
1915
1907
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
1916
1908
|
default:
|
|
1917
1909
|
const parsedBody = parsedOutput.body;
|
|
1918
|
-
|
|
1910
|
+
return throwDefaultError({
|
|
1919
1911
|
output,
|
|
1920
1912
|
parsedBody: parsedBody.Error,
|
|
1921
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
1922
1913
|
errorCode,
|
|
1923
1914
|
});
|
|
1924
1915
|
}
|
|
@@ -1934,7 +1925,7 @@ const de_CopyDBClusterSnapshotCommand = async (output, context) => {
|
|
|
1934
1925
|
$metadata: deserializeMetadata(output),
|
|
1935
1926
|
...contents,
|
|
1936
1927
|
};
|
|
1937
|
-
return
|
|
1928
|
+
return response;
|
|
1938
1929
|
};
|
|
1939
1930
|
exports.de_CopyDBClusterSnapshotCommand = de_CopyDBClusterSnapshotCommand;
|
|
1940
1931
|
const de_CopyDBClusterSnapshotCommandError = async (output, context) => {
|
|
@@ -1964,10 +1955,9 @@ const de_CopyDBClusterSnapshotCommandError = async (output, context) => {
|
|
|
1964
1955
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
1965
1956
|
default:
|
|
1966
1957
|
const parsedBody = parsedOutput.body;
|
|
1967
|
-
|
|
1958
|
+
return throwDefaultError({
|
|
1968
1959
|
output,
|
|
1969
1960
|
parsedBody: parsedBody.Error,
|
|
1970
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
1971
1961
|
errorCode,
|
|
1972
1962
|
});
|
|
1973
1963
|
}
|
|
@@ -1983,7 +1973,7 @@ const de_CopyDBParameterGroupCommand = async (output, context) => {
|
|
|
1983
1973
|
$metadata: deserializeMetadata(output),
|
|
1984
1974
|
...contents,
|
|
1985
1975
|
};
|
|
1986
|
-
return
|
|
1976
|
+
return response;
|
|
1987
1977
|
};
|
|
1988
1978
|
exports.de_CopyDBParameterGroupCommand = de_CopyDBParameterGroupCommand;
|
|
1989
1979
|
const de_CopyDBParameterGroupCommandError = async (output, context) => {
|
|
@@ -2004,10 +1994,9 @@ const de_CopyDBParameterGroupCommandError = async (output, context) => {
|
|
|
2004
1994
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
2005
1995
|
default:
|
|
2006
1996
|
const parsedBody = parsedOutput.body;
|
|
2007
|
-
|
|
1997
|
+
return throwDefaultError({
|
|
2008
1998
|
output,
|
|
2009
1999
|
parsedBody: parsedBody.Error,
|
|
2010
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
2011
2000
|
errorCode,
|
|
2012
2001
|
});
|
|
2013
2002
|
}
|
|
@@ -2023,7 +2012,7 @@ const de_CopyDBSnapshotCommand = async (output, context) => {
|
|
|
2023
2012
|
$metadata: deserializeMetadata(output),
|
|
2024
2013
|
...contents,
|
|
2025
2014
|
};
|
|
2026
|
-
return
|
|
2015
|
+
return response;
|
|
2027
2016
|
};
|
|
2028
2017
|
exports.de_CopyDBSnapshotCommand = de_CopyDBSnapshotCommand;
|
|
2029
2018
|
const de_CopyDBSnapshotCommandError = async (output, context) => {
|
|
@@ -2053,10 +2042,9 @@ const de_CopyDBSnapshotCommandError = async (output, context) => {
|
|
|
2053
2042
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
2054
2043
|
default:
|
|
2055
2044
|
const parsedBody = parsedOutput.body;
|
|
2056
|
-
|
|
2045
|
+
return throwDefaultError({
|
|
2057
2046
|
output,
|
|
2058
2047
|
parsedBody: parsedBody.Error,
|
|
2059
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
2060
2048
|
errorCode,
|
|
2061
2049
|
});
|
|
2062
2050
|
}
|
|
@@ -2072,7 +2060,7 @@ const de_CopyOptionGroupCommand = async (output, context) => {
|
|
|
2072
2060
|
$metadata: deserializeMetadata(output),
|
|
2073
2061
|
...contents,
|
|
2074
2062
|
};
|
|
2075
|
-
return
|
|
2063
|
+
return response;
|
|
2076
2064
|
};
|
|
2077
2065
|
exports.de_CopyOptionGroupCommand = de_CopyOptionGroupCommand;
|
|
2078
2066
|
const de_CopyOptionGroupCommandError = async (output, context) => {
|
|
@@ -2093,10 +2081,9 @@ const de_CopyOptionGroupCommandError = async (output, context) => {
|
|
|
2093
2081
|
throw await de_OptionGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
2094
2082
|
default:
|
|
2095
2083
|
const parsedBody = parsedOutput.body;
|
|
2096
|
-
|
|
2084
|
+
return throwDefaultError({
|
|
2097
2085
|
output,
|
|
2098
2086
|
parsedBody: parsedBody.Error,
|
|
2099
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
2100
2087
|
errorCode,
|
|
2101
2088
|
});
|
|
2102
2089
|
}
|
|
@@ -2112,7 +2099,7 @@ const de_CreateBlueGreenDeploymentCommand = async (output, context) => {
|
|
|
2112
2099
|
$metadata: deserializeMetadata(output),
|
|
2113
2100
|
...contents,
|
|
2114
2101
|
};
|
|
2115
|
-
return
|
|
2102
|
+
return response;
|
|
2116
2103
|
};
|
|
2117
2104
|
exports.de_CreateBlueGreenDeploymentCommand = de_CreateBlueGreenDeploymentCommand;
|
|
2118
2105
|
const de_CreateBlueGreenDeploymentCommandError = async (output, context) => {
|
|
@@ -2157,10 +2144,9 @@ const de_CreateBlueGreenDeploymentCommandError = async (output, context) => {
|
|
|
2157
2144
|
throw await de_SourceDatabaseNotSupportedFaultRes(parsedOutput, context);
|
|
2158
2145
|
default:
|
|
2159
2146
|
const parsedBody = parsedOutput.body;
|
|
2160
|
-
|
|
2147
|
+
return throwDefaultError({
|
|
2161
2148
|
output,
|
|
2162
2149
|
parsedBody: parsedBody.Error,
|
|
2163
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
2164
2150
|
errorCode,
|
|
2165
2151
|
});
|
|
2166
2152
|
}
|
|
@@ -2176,7 +2162,7 @@ const de_CreateCustomDBEngineVersionCommand = async (output, context) => {
|
|
|
2176
2162
|
$metadata: deserializeMetadata(output),
|
|
2177
2163
|
...contents,
|
|
2178
2164
|
};
|
|
2179
|
-
return
|
|
2165
|
+
return response;
|
|
2180
2166
|
};
|
|
2181
2167
|
exports.de_CreateCustomDBEngineVersionCommand = de_CreateCustomDBEngineVersionCommand;
|
|
2182
2168
|
const de_CreateCustomDBEngineVersionCommandError = async (output, context) => {
|
|
@@ -2203,10 +2189,9 @@ const de_CreateCustomDBEngineVersionCommandError = async (output, context) => {
|
|
|
2203
2189
|
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
2204
2190
|
default:
|
|
2205
2191
|
const parsedBody = parsedOutput.body;
|
|
2206
|
-
|
|
2192
|
+
return throwDefaultError({
|
|
2207
2193
|
output,
|
|
2208
2194
|
parsedBody: parsedBody.Error,
|
|
2209
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
2210
2195
|
errorCode,
|
|
2211
2196
|
});
|
|
2212
2197
|
}
|
|
@@ -2222,7 +2207,7 @@ const de_CreateDBClusterCommand = async (output, context) => {
|
|
|
2222
2207
|
$metadata: deserializeMetadata(output),
|
|
2223
2208
|
...contents,
|
|
2224
2209
|
};
|
|
2225
|
-
return
|
|
2210
|
+
return response;
|
|
2226
2211
|
};
|
|
2227
2212
|
exports.de_CreateDBClusterCommand = de_CreateDBClusterCommand;
|
|
2228
2213
|
const de_CreateDBClusterCommandError = async (output, context) => {
|
|
@@ -2288,10 +2273,9 @@ const de_CreateDBClusterCommandError = async (output, context) => {
|
|
|
2288
2273
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
2289
2274
|
default:
|
|
2290
2275
|
const parsedBody = parsedOutput.body;
|
|
2291
|
-
|
|
2276
|
+
return throwDefaultError({
|
|
2292
2277
|
output,
|
|
2293
2278
|
parsedBody: parsedBody.Error,
|
|
2294
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
2295
2279
|
errorCode,
|
|
2296
2280
|
});
|
|
2297
2281
|
}
|
|
@@ -2307,7 +2291,7 @@ const de_CreateDBClusterEndpointCommand = async (output, context) => {
|
|
|
2307
2291
|
$metadata: deserializeMetadata(output),
|
|
2308
2292
|
...contents,
|
|
2309
2293
|
};
|
|
2310
|
-
return
|
|
2294
|
+
return response;
|
|
2311
2295
|
};
|
|
2312
2296
|
exports.de_CreateDBClusterEndpointCommand = de_CreateDBClusterEndpointCommand;
|
|
2313
2297
|
const de_CreateDBClusterEndpointCommandError = async (output, context) => {
|
|
@@ -2337,10 +2321,9 @@ const de_CreateDBClusterEndpointCommandError = async (output, context) => {
|
|
|
2337
2321
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
2338
2322
|
default:
|
|
2339
2323
|
const parsedBody = parsedOutput.body;
|
|
2340
|
-
|
|
2324
|
+
return throwDefaultError({
|
|
2341
2325
|
output,
|
|
2342
2326
|
parsedBody: parsedBody.Error,
|
|
2343
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
2344
2327
|
errorCode,
|
|
2345
2328
|
});
|
|
2346
2329
|
}
|
|
@@ -2356,7 +2339,7 @@ const de_CreateDBClusterParameterGroupCommand = async (output, context) => {
|
|
|
2356
2339
|
$metadata: deserializeMetadata(output),
|
|
2357
2340
|
...contents,
|
|
2358
2341
|
};
|
|
2359
|
-
return
|
|
2342
|
+
return response;
|
|
2360
2343
|
};
|
|
2361
2344
|
exports.de_CreateDBClusterParameterGroupCommand = de_CreateDBClusterParameterGroupCommand;
|
|
2362
2345
|
const de_CreateDBClusterParameterGroupCommandError = async (output, context) => {
|
|
@@ -2374,10 +2357,9 @@ const de_CreateDBClusterParameterGroupCommandError = async (output, context) =>
|
|
|
2374
2357
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
2375
2358
|
default:
|
|
2376
2359
|
const parsedBody = parsedOutput.body;
|
|
2377
|
-
|
|
2360
|
+
return throwDefaultError({
|
|
2378
2361
|
output,
|
|
2379
2362
|
parsedBody: parsedBody.Error,
|
|
2380
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
2381
2363
|
errorCode,
|
|
2382
2364
|
});
|
|
2383
2365
|
}
|
|
@@ -2393,7 +2375,7 @@ const de_CreateDBClusterSnapshotCommand = async (output, context) => {
|
|
|
2393
2375
|
$metadata: deserializeMetadata(output),
|
|
2394
2376
|
...contents,
|
|
2395
2377
|
};
|
|
2396
|
-
return
|
|
2378
|
+
return response;
|
|
2397
2379
|
};
|
|
2398
2380
|
exports.de_CreateDBClusterSnapshotCommand = de_CreateDBClusterSnapshotCommand;
|
|
2399
2381
|
const de_CreateDBClusterSnapshotCommandError = async (output, context) => {
|
|
@@ -2420,10 +2402,9 @@ const de_CreateDBClusterSnapshotCommandError = async (output, context) => {
|
|
|
2420
2402
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
2421
2403
|
default:
|
|
2422
2404
|
const parsedBody = parsedOutput.body;
|
|
2423
|
-
|
|
2405
|
+
return throwDefaultError({
|
|
2424
2406
|
output,
|
|
2425
2407
|
parsedBody: parsedBody.Error,
|
|
2426
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
2427
2408
|
errorCode,
|
|
2428
2409
|
});
|
|
2429
2410
|
}
|
|
@@ -2439,7 +2420,7 @@ const de_CreateDBInstanceCommand = async (output, context) => {
|
|
|
2439
2420
|
$metadata: deserializeMetadata(output),
|
|
2440
2421
|
...contents,
|
|
2441
2422
|
};
|
|
2442
|
-
return
|
|
2423
|
+
return response;
|
|
2443
2424
|
};
|
|
2444
2425
|
exports.de_CreateDBInstanceCommand = de_CreateDBInstanceCommand;
|
|
2445
2426
|
const de_CreateDBInstanceCommandError = async (output, context) => {
|
|
@@ -2514,10 +2495,9 @@ const de_CreateDBInstanceCommandError = async (output, context) => {
|
|
|
2514
2495
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
2515
2496
|
default:
|
|
2516
2497
|
const parsedBody = parsedOutput.body;
|
|
2517
|
-
|
|
2498
|
+
return throwDefaultError({
|
|
2518
2499
|
output,
|
|
2519
2500
|
parsedBody: parsedBody.Error,
|
|
2520
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
2521
2501
|
errorCode,
|
|
2522
2502
|
});
|
|
2523
2503
|
}
|
|
@@ -2533,7 +2513,7 @@ const de_CreateDBInstanceReadReplicaCommand = async (output, context) => {
|
|
|
2533
2513
|
$metadata: deserializeMetadata(output),
|
|
2534
2514
|
...contents,
|
|
2535
2515
|
};
|
|
2536
|
-
return
|
|
2516
|
+
return response;
|
|
2537
2517
|
};
|
|
2538
2518
|
exports.de_CreateDBInstanceReadReplicaCommand = de_CreateDBInstanceReadReplicaCommand;
|
|
2539
2519
|
const de_CreateDBInstanceReadReplicaCommandError = async (output, context) => {
|
|
@@ -2611,10 +2591,9 @@ const de_CreateDBInstanceReadReplicaCommandError = async (output, context) => {
|
|
|
2611
2591
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
2612
2592
|
default:
|
|
2613
2593
|
const parsedBody = parsedOutput.body;
|
|
2614
|
-
|
|
2594
|
+
return throwDefaultError({
|
|
2615
2595
|
output,
|
|
2616
2596
|
parsedBody: parsedBody.Error,
|
|
2617
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
2618
2597
|
errorCode,
|
|
2619
2598
|
});
|
|
2620
2599
|
}
|
|
@@ -2630,7 +2609,7 @@ const de_CreateDBParameterGroupCommand = async (output, context) => {
|
|
|
2630
2609
|
$metadata: deserializeMetadata(output),
|
|
2631
2610
|
...contents,
|
|
2632
2611
|
};
|
|
2633
|
-
return
|
|
2612
|
+
return response;
|
|
2634
2613
|
};
|
|
2635
2614
|
exports.de_CreateDBParameterGroupCommand = de_CreateDBParameterGroupCommand;
|
|
2636
2615
|
const de_CreateDBParameterGroupCommandError = async (output, context) => {
|
|
@@ -2648,10 +2627,9 @@ const de_CreateDBParameterGroupCommandError = async (output, context) => {
|
|
|
2648
2627
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
2649
2628
|
default:
|
|
2650
2629
|
const parsedBody = parsedOutput.body;
|
|
2651
|
-
|
|
2630
|
+
return throwDefaultError({
|
|
2652
2631
|
output,
|
|
2653
2632
|
parsedBody: parsedBody.Error,
|
|
2654
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
2655
2633
|
errorCode,
|
|
2656
2634
|
});
|
|
2657
2635
|
}
|
|
@@ -2667,7 +2645,7 @@ const de_CreateDBProxyCommand = async (output, context) => {
|
|
|
2667
2645
|
$metadata: deserializeMetadata(output),
|
|
2668
2646
|
...contents,
|
|
2669
2647
|
};
|
|
2670
|
-
return
|
|
2648
|
+
return response;
|
|
2671
2649
|
};
|
|
2672
2650
|
exports.de_CreateDBProxyCommand = de_CreateDBProxyCommand;
|
|
2673
2651
|
const de_CreateDBProxyCommandError = async (output, context) => {
|
|
@@ -2688,10 +2666,9 @@ const de_CreateDBProxyCommandError = async (output, context) => {
|
|
|
2688
2666
|
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
2689
2667
|
default:
|
|
2690
2668
|
const parsedBody = parsedOutput.body;
|
|
2691
|
-
|
|
2669
|
+
return throwDefaultError({
|
|
2692
2670
|
output,
|
|
2693
2671
|
parsedBody: parsedBody.Error,
|
|
2694
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
2695
2672
|
errorCode,
|
|
2696
2673
|
});
|
|
2697
2674
|
}
|
|
@@ -2707,7 +2684,7 @@ const de_CreateDBProxyEndpointCommand = async (output, context) => {
|
|
|
2707
2684
|
$metadata: deserializeMetadata(output),
|
|
2708
2685
|
...contents,
|
|
2709
2686
|
};
|
|
2710
|
-
return
|
|
2687
|
+
return response;
|
|
2711
2688
|
};
|
|
2712
2689
|
exports.de_CreateDBProxyEndpointCommand = de_CreateDBProxyEndpointCommand;
|
|
2713
2690
|
const de_CreateDBProxyEndpointCommandError = async (output, context) => {
|
|
@@ -2734,10 +2711,9 @@ const de_CreateDBProxyEndpointCommandError = async (output, context) => {
|
|
|
2734
2711
|
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
2735
2712
|
default:
|
|
2736
2713
|
const parsedBody = parsedOutput.body;
|
|
2737
|
-
|
|
2714
|
+
return throwDefaultError({
|
|
2738
2715
|
output,
|
|
2739
2716
|
parsedBody: parsedBody.Error,
|
|
2740
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
2741
2717
|
errorCode,
|
|
2742
2718
|
});
|
|
2743
2719
|
}
|
|
@@ -2753,7 +2729,7 @@ const de_CreateDBSecurityGroupCommand = async (output, context) => {
|
|
|
2753
2729
|
$metadata: deserializeMetadata(output),
|
|
2754
2730
|
...contents,
|
|
2755
2731
|
};
|
|
2756
|
-
return
|
|
2732
|
+
return response;
|
|
2757
2733
|
};
|
|
2758
2734
|
exports.de_CreateDBSecurityGroupCommand = de_CreateDBSecurityGroupCommand;
|
|
2759
2735
|
const de_CreateDBSecurityGroupCommandError = async (output, context) => {
|
|
@@ -2774,10 +2750,9 @@ const de_CreateDBSecurityGroupCommandError = async (output, context) => {
|
|
|
2774
2750
|
throw await de_DBSecurityGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
2775
2751
|
default:
|
|
2776
2752
|
const parsedBody = parsedOutput.body;
|
|
2777
|
-
|
|
2753
|
+
return throwDefaultError({
|
|
2778
2754
|
output,
|
|
2779
2755
|
parsedBody: parsedBody.Error,
|
|
2780
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
2781
2756
|
errorCode,
|
|
2782
2757
|
});
|
|
2783
2758
|
}
|
|
@@ -2793,7 +2768,7 @@ const de_CreateDBSnapshotCommand = async (output, context) => {
|
|
|
2793
2768
|
$metadata: deserializeMetadata(output),
|
|
2794
2769
|
...contents,
|
|
2795
2770
|
};
|
|
2796
|
-
return
|
|
2771
|
+
return response;
|
|
2797
2772
|
};
|
|
2798
2773
|
exports.de_CreateDBSnapshotCommand = de_CreateDBSnapshotCommand;
|
|
2799
2774
|
const de_CreateDBSnapshotCommandError = async (output, context) => {
|
|
@@ -2817,10 +2792,9 @@ const de_CreateDBSnapshotCommandError = async (output, context) => {
|
|
|
2817
2792
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
2818
2793
|
default:
|
|
2819
2794
|
const parsedBody = parsedOutput.body;
|
|
2820
|
-
|
|
2795
|
+
return throwDefaultError({
|
|
2821
2796
|
output,
|
|
2822
2797
|
parsedBody: parsedBody.Error,
|
|
2823
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
2824
2798
|
errorCode,
|
|
2825
2799
|
});
|
|
2826
2800
|
}
|
|
@@ -2836,7 +2810,7 @@ const de_CreateDBSubnetGroupCommand = async (output, context) => {
|
|
|
2836
2810
|
$metadata: deserializeMetadata(output),
|
|
2837
2811
|
...contents,
|
|
2838
2812
|
};
|
|
2839
|
-
return
|
|
2813
|
+
return response;
|
|
2840
2814
|
};
|
|
2841
2815
|
exports.de_CreateDBSubnetGroupCommand = de_CreateDBSubnetGroupCommand;
|
|
2842
2816
|
const de_CreateDBSubnetGroupCommandError = async (output, context) => {
|
|
@@ -2863,10 +2837,9 @@ const de_CreateDBSubnetGroupCommandError = async (output, context) => {
|
|
|
2863
2837
|
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
2864
2838
|
default:
|
|
2865
2839
|
const parsedBody = parsedOutput.body;
|
|
2866
|
-
|
|
2840
|
+
return throwDefaultError({
|
|
2867
2841
|
output,
|
|
2868
2842
|
parsedBody: parsedBody.Error,
|
|
2869
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
2870
2843
|
errorCode,
|
|
2871
2844
|
});
|
|
2872
2845
|
}
|
|
@@ -2882,7 +2855,7 @@ const de_CreateEventSubscriptionCommand = async (output, context) => {
|
|
|
2882
2855
|
$metadata: deserializeMetadata(output),
|
|
2883
2856
|
...contents,
|
|
2884
2857
|
};
|
|
2885
|
-
return
|
|
2858
|
+
return response;
|
|
2886
2859
|
};
|
|
2887
2860
|
exports.de_CreateEventSubscriptionCommand = de_CreateEventSubscriptionCommand;
|
|
2888
2861
|
const de_CreateEventSubscriptionCommandError = async (output, context) => {
|
|
@@ -2915,10 +2888,9 @@ const de_CreateEventSubscriptionCommandError = async (output, context) => {
|
|
|
2915
2888
|
throw await de_SubscriptionCategoryNotFoundFaultRes(parsedOutput, context);
|
|
2916
2889
|
default:
|
|
2917
2890
|
const parsedBody = parsedOutput.body;
|
|
2918
|
-
|
|
2891
|
+
return throwDefaultError({
|
|
2919
2892
|
output,
|
|
2920
2893
|
parsedBody: parsedBody.Error,
|
|
2921
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
2922
2894
|
errorCode,
|
|
2923
2895
|
});
|
|
2924
2896
|
}
|
|
@@ -2934,7 +2906,7 @@ const de_CreateGlobalClusterCommand = async (output, context) => {
|
|
|
2934
2906
|
$metadata: deserializeMetadata(output),
|
|
2935
2907
|
...contents,
|
|
2936
2908
|
};
|
|
2937
|
-
return
|
|
2909
|
+
return response;
|
|
2938
2910
|
};
|
|
2939
2911
|
exports.de_CreateGlobalClusterCommand = de_CreateGlobalClusterCommand;
|
|
2940
2912
|
const de_CreateGlobalClusterCommandError = async (output, context) => {
|
|
@@ -2958,10 +2930,9 @@ const de_CreateGlobalClusterCommandError = async (output, context) => {
|
|
|
2958
2930
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
2959
2931
|
default:
|
|
2960
2932
|
const parsedBody = parsedOutput.body;
|
|
2961
|
-
|
|
2933
|
+
return throwDefaultError({
|
|
2962
2934
|
output,
|
|
2963
2935
|
parsedBody: parsedBody.Error,
|
|
2964
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
2965
2936
|
errorCode,
|
|
2966
2937
|
});
|
|
2967
2938
|
}
|
|
@@ -2977,7 +2948,7 @@ const de_CreateOptionGroupCommand = async (output, context) => {
|
|
|
2977
2948
|
$metadata: deserializeMetadata(output),
|
|
2978
2949
|
...contents,
|
|
2979
2950
|
};
|
|
2980
|
-
return
|
|
2951
|
+
return response;
|
|
2981
2952
|
};
|
|
2982
2953
|
exports.de_CreateOptionGroupCommand = de_CreateOptionGroupCommand;
|
|
2983
2954
|
const de_CreateOptionGroupCommandError = async (output, context) => {
|
|
@@ -2995,10 +2966,9 @@ const de_CreateOptionGroupCommandError = async (output, context) => {
|
|
|
2995
2966
|
throw await de_OptionGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
2996
2967
|
default:
|
|
2997
2968
|
const parsedBody = parsedOutput.body;
|
|
2998
|
-
|
|
2969
|
+
return throwDefaultError({
|
|
2999
2970
|
output,
|
|
3000
2971
|
parsedBody: parsedBody.Error,
|
|
3001
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3002
2972
|
errorCode,
|
|
3003
2973
|
});
|
|
3004
2974
|
}
|
|
@@ -3014,7 +2984,7 @@ const de_DeleteBlueGreenDeploymentCommand = async (output, context) => {
|
|
|
3014
2984
|
$metadata: deserializeMetadata(output),
|
|
3015
2985
|
...contents,
|
|
3016
2986
|
};
|
|
3017
|
-
return
|
|
2987
|
+
return response;
|
|
3018
2988
|
};
|
|
3019
2989
|
exports.de_DeleteBlueGreenDeploymentCommand = de_DeleteBlueGreenDeploymentCommand;
|
|
3020
2990
|
const de_DeleteBlueGreenDeploymentCommandError = async (output, context) => {
|
|
@@ -3032,10 +3002,9 @@ const de_DeleteBlueGreenDeploymentCommandError = async (output, context) => {
|
|
|
3032
3002
|
throw await de_InvalidBlueGreenDeploymentStateFaultRes(parsedOutput, context);
|
|
3033
3003
|
default:
|
|
3034
3004
|
const parsedBody = parsedOutput.body;
|
|
3035
|
-
|
|
3005
|
+
return throwDefaultError({
|
|
3036
3006
|
output,
|
|
3037
3007
|
parsedBody: parsedBody.Error,
|
|
3038
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3039
3008
|
errorCode,
|
|
3040
3009
|
});
|
|
3041
3010
|
}
|
|
@@ -3051,7 +3020,7 @@ const de_DeleteCustomDBEngineVersionCommand = async (output, context) => {
|
|
|
3051
3020
|
$metadata: deserializeMetadata(output),
|
|
3052
3021
|
...contents,
|
|
3053
3022
|
};
|
|
3054
|
-
return
|
|
3023
|
+
return response;
|
|
3055
3024
|
};
|
|
3056
3025
|
exports.de_DeleteCustomDBEngineVersionCommand = de_DeleteCustomDBEngineVersionCommand;
|
|
3057
3026
|
const de_DeleteCustomDBEngineVersionCommandError = async (output, context) => {
|
|
@@ -3069,10 +3038,9 @@ const de_DeleteCustomDBEngineVersionCommandError = async (output, context) => {
|
|
|
3069
3038
|
throw await de_InvalidCustomDBEngineVersionStateFaultRes(parsedOutput, context);
|
|
3070
3039
|
default:
|
|
3071
3040
|
const parsedBody = parsedOutput.body;
|
|
3072
|
-
|
|
3041
|
+
return throwDefaultError({
|
|
3073
3042
|
output,
|
|
3074
3043
|
parsedBody: parsedBody.Error,
|
|
3075
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3076
3044
|
errorCode,
|
|
3077
3045
|
});
|
|
3078
3046
|
}
|
|
@@ -3088,7 +3056,7 @@ const de_DeleteDBClusterCommand = async (output, context) => {
|
|
|
3088
3056
|
$metadata: deserializeMetadata(output),
|
|
3089
3057
|
...contents,
|
|
3090
3058
|
};
|
|
3091
|
-
return
|
|
3059
|
+
return response;
|
|
3092
3060
|
};
|
|
3093
3061
|
exports.de_DeleteDBClusterCommand = de_DeleteDBClusterCommand;
|
|
3094
3062
|
const de_DeleteDBClusterCommandError = async (output, context) => {
|
|
@@ -3115,10 +3083,9 @@ const de_DeleteDBClusterCommandError = async (output, context) => {
|
|
|
3115
3083
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
3116
3084
|
default:
|
|
3117
3085
|
const parsedBody = parsedOutput.body;
|
|
3118
|
-
|
|
3086
|
+
return throwDefaultError({
|
|
3119
3087
|
output,
|
|
3120
3088
|
parsedBody: parsedBody.Error,
|
|
3121
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3122
3089
|
errorCode,
|
|
3123
3090
|
});
|
|
3124
3091
|
}
|
|
@@ -3134,7 +3101,7 @@ const de_DeleteDBClusterEndpointCommand = async (output, context) => {
|
|
|
3134
3101
|
$metadata: deserializeMetadata(output),
|
|
3135
3102
|
...contents,
|
|
3136
3103
|
};
|
|
3137
|
-
return
|
|
3104
|
+
return response;
|
|
3138
3105
|
};
|
|
3139
3106
|
exports.de_DeleteDBClusterEndpointCommand = de_DeleteDBClusterEndpointCommand;
|
|
3140
3107
|
const de_DeleteDBClusterEndpointCommandError = async (output, context) => {
|
|
@@ -3155,10 +3122,9 @@ const de_DeleteDBClusterEndpointCommandError = async (output, context) => {
|
|
|
3155
3122
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
3156
3123
|
default:
|
|
3157
3124
|
const parsedBody = parsedOutput.body;
|
|
3158
|
-
|
|
3125
|
+
return throwDefaultError({
|
|
3159
3126
|
output,
|
|
3160
3127
|
parsedBody: parsedBody.Error,
|
|
3161
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3162
3128
|
errorCode,
|
|
3163
3129
|
});
|
|
3164
3130
|
}
|
|
@@ -3171,7 +3137,7 @@ const de_DeleteDBClusterParameterGroupCommand = async (output, context) => {
|
|
|
3171
3137
|
const response = {
|
|
3172
3138
|
$metadata: deserializeMetadata(output),
|
|
3173
3139
|
};
|
|
3174
|
-
return
|
|
3140
|
+
return response;
|
|
3175
3141
|
};
|
|
3176
3142
|
exports.de_DeleteDBClusterParameterGroupCommand = de_DeleteDBClusterParameterGroupCommand;
|
|
3177
3143
|
const de_DeleteDBClusterParameterGroupCommandError = async (output, context) => {
|
|
@@ -3189,10 +3155,9 @@ const de_DeleteDBClusterParameterGroupCommandError = async (output, context) =>
|
|
|
3189
3155
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
3190
3156
|
default:
|
|
3191
3157
|
const parsedBody = parsedOutput.body;
|
|
3192
|
-
|
|
3158
|
+
return throwDefaultError({
|
|
3193
3159
|
output,
|
|
3194
3160
|
parsedBody: parsedBody.Error,
|
|
3195
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3196
3161
|
errorCode,
|
|
3197
3162
|
});
|
|
3198
3163
|
}
|
|
@@ -3208,7 +3173,7 @@ const de_DeleteDBClusterSnapshotCommand = async (output, context) => {
|
|
|
3208
3173
|
$metadata: deserializeMetadata(output),
|
|
3209
3174
|
...contents,
|
|
3210
3175
|
};
|
|
3211
|
-
return
|
|
3176
|
+
return response;
|
|
3212
3177
|
};
|
|
3213
3178
|
exports.de_DeleteDBClusterSnapshotCommand = de_DeleteDBClusterSnapshotCommand;
|
|
3214
3179
|
const de_DeleteDBClusterSnapshotCommandError = async (output, context) => {
|
|
@@ -3226,10 +3191,9 @@ const de_DeleteDBClusterSnapshotCommandError = async (output, context) => {
|
|
|
3226
3191
|
throw await de_InvalidDBClusterSnapshotStateFaultRes(parsedOutput, context);
|
|
3227
3192
|
default:
|
|
3228
3193
|
const parsedBody = parsedOutput.body;
|
|
3229
|
-
|
|
3194
|
+
return throwDefaultError({
|
|
3230
3195
|
output,
|
|
3231
3196
|
parsedBody: parsedBody.Error,
|
|
3232
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3233
3197
|
errorCode,
|
|
3234
3198
|
});
|
|
3235
3199
|
}
|
|
@@ -3245,7 +3209,7 @@ const de_DeleteDBInstanceCommand = async (output, context) => {
|
|
|
3245
3209
|
$metadata: deserializeMetadata(output),
|
|
3246
3210
|
...contents,
|
|
3247
3211
|
};
|
|
3248
|
-
return
|
|
3212
|
+
return response;
|
|
3249
3213
|
};
|
|
3250
3214
|
exports.de_DeleteDBInstanceCommand = de_DeleteDBInstanceCommand;
|
|
3251
3215
|
const de_DeleteDBInstanceCommandError = async (output, context) => {
|
|
@@ -3275,10 +3239,9 @@ const de_DeleteDBInstanceCommandError = async (output, context) => {
|
|
|
3275
3239
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
3276
3240
|
default:
|
|
3277
3241
|
const parsedBody = parsedOutput.body;
|
|
3278
|
-
|
|
3242
|
+
return throwDefaultError({
|
|
3279
3243
|
output,
|
|
3280
3244
|
parsedBody: parsedBody.Error,
|
|
3281
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3282
3245
|
errorCode,
|
|
3283
3246
|
});
|
|
3284
3247
|
}
|
|
@@ -3294,7 +3257,7 @@ const de_DeleteDBInstanceAutomatedBackupCommand = async (output, context) => {
|
|
|
3294
3257
|
$metadata: deserializeMetadata(output),
|
|
3295
3258
|
...contents,
|
|
3296
3259
|
};
|
|
3297
|
-
return
|
|
3260
|
+
return response;
|
|
3298
3261
|
};
|
|
3299
3262
|
exports.de_DeleteDBInstanceAutomatedBackupCommand = de_DeleteDBInstanceAutomatedBackupCommand;
|
|
3300
3263
|
const de_DeleteDBInstanceAutomatedBackupCommandError = async (output, context) => {
|
|
@@ -3312,10 +3275,9 @@ const de_DeleteDBInstanceAutomatedBackupCommandError = async (output, context) =
|
|
|
3312
3275
|
throw await de_InvalidDBInstanceAutomatedBackupStateFaultRes(parsedOutput, context);
|
|
3313
3276
|
default:
|
|
3314
3277
|
const parsedBody = parsedOutput.body;
|
|
3315
|
-
|
|
3278
|
+
return throwDefaultError({
|
|
3316
3279
|
output,
|
|
3317
3280
|
parsedBody: parsedBody.Error,
|
|
3318
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3319
3281
|
errorCode,
|
|
3320
3282
|
});
|
|
3321
3283
|
}
|
|
@@ -3328,7 +3290,7 @@ const de_DeleteDBParameterGroupCommand = async (output, context) => {
|
|
|
3328
3290
|
const response = {
|
|
3329
3291
|
$metadata: deserializeMetadata(output),
|
|
3330
3292
|
};
|
|
3331
|
-
return
|
|
3293
|
+
return response;
|
|
3332
3294
|
};
|
|
3333
3295
|
exports.de_DeleteDBParameterGroupCommand = de_DeleteDBParameterGroupCommand;
|
|
3334
3296
|
const de_DeleteDBParameterGroupCommandError = async (output, context) => {
|
|
@@ -3346,10 +3308,9 @@ const de_DeleteDBParameterGroupCommandError = async (output, context) => {
|
|
|
3346
3308
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
3347
3309
|
default:
|
|
3348
3310
|
const parsedBody = parsedOutput.body;
|
|
3349
|
-
|
|
3311
|
+
return throwDefaultError({
|
|
3350
3312
|
output,
|
|
3351
3313
|
parsedBody: parsedBody.Error,
|
|
3352
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3353
3314
|
errorCode,
|
|
3354
3315
|
});
|
|
3355
3316
|
}
|
|
@@ -3365,7 +3326,7 @@ const de_DeleteDBProxyCommand = async (output, context) => {
|
|
|
3365
3326
|
$metadata: deserializeMetadata(output),
|
|
3366
3327
|
...contents,
|
|
3367
3328
|
};
|
|
3368
|
-
return
|
|
3329
|
+
return response;
|
|
3369
3330
|
};
|
|
3370
3331
|
exports.de_DeleteDBProxyCommand = de_DeleteDBProxyCommand;
|
|
3371
3332
|
const de_DeleteDBProxyCommandError = async (output, context) => {
|
|
@@ -3383,10 +3344,9 @@ const de_DeleteDBProxyCommandError = async (output, context) => {
|
|
|
3383
3344
|
throw await de_InvalidDBProxyStateFaultRes(parsedOutput, context);
|
|
3384
3345
|
default:
|
|
3385
3346
|
const parsedBody = parsedOutput.body;
|
|
3386
|
-
|
|
3347
|
+
return throwDefaultError({
|
|
3387
3348
|
output,
|
|
3388
3349
|
parsedBody: parsedBody.Error,
|
|
3389
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3390
3350
|
errorCode,
|
|
3391
3351
|
});
|
|
3392
3352
|
}
|
|
@@ -3402,7 +3362,7 @@ const de_DeleteDBProxyEndpointCommand = async (output, context) => {
|
|
|
3402
3362
|
$metadata: deserializeMetadata(output),
|
|
3403
3363
|
...contents,
|
|
3404
3364
|
};
|
|
3405
|
-
return
|
|
3365
|
+
return response;
|
|
3406
3366
|
};
|
|
3407
3367
|
exports.de_DeleteDBProxyEndpointCommand = de_DeleteDBProxyEndpointCommand;
|
|
3408
3368
|
const de_DeleteDBProxyEndpointCommandError = async (output, context) => {
|
|
@@ -3420,10 +3380,9 @@ const de_DeleteDBProxyEndpointCommandError = async (output, context) => {
|
|
|
3420
3380
|
throw await de_InvalidDBProxyEndpointStateFaultRes(parsedOutput, context);
|
|
3421
3381
|
default:
|
|
3422
3382
|
const parsedBody = parsedOutput.body;
|
|
3423
|
-
|
|
3383
|
+
return throwDefaultError({
|
|
3424
3384
|
output,
|
|
3425
3385
|
parsedBody: parsedBody.Error,
|
|
3426
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3427
3386
|
errorCode,
|
|
3428
3387
|
});
|
|
3429
3388
|
}
|
|
@@ -3436,7 +3395,7 @@ const de_DeleteDBSecurityGroupCommand = async (output, context) => {
|
|
|
3436
3395
|
const response = {
|
|
3437
3396
|
$metadata: deserializeMetadata(output),
|
|
3438
3397
|
};
|
|
3439
|
-
return
|
|
3398
|
+
return response;
|
|
3440
3399
|
};
|
|
3441
3400
|
exports.de_DeleteDBSecurityGroupCommand = de_DeleteDBSecurityGroupCommand;
|
|
3442
3401
|
const de_DeleteDBSecurityGroupCommandError = async (output, context) => {
|
|
@@ -3454,10 +3413,9 @@ const de_DeleteDBSecurityGroupCommandError = async (output, context) => {
|
|
|
3454
3413
|
throw await de_InvalidDBSecurityGroupStateFaultRes(parsedOutput, context);
|
|
3455
3414
|
default:
|
|
3456
3415
|
const parsedBody = parsedOutput.body;
|
|
3457
|
-
|
|
3416
|
+
return throwDefaultError({
|
|
3458
3417
|
output,
|
|
3459
3418
|
parsedBody: parsedBody.Error,
|
|
3460
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3461
3419
|
errorCode,
|
|
3462
3420
|
});
|
|
3463
3421
|
}
|
|
@@ -3473,7 +3431,7 @@ const de_DeleteDBSnapshotCommand = async (output, context) => {
|
|
|
3473
3431
|
$metadata: deserializeMetadata(output),
|
|
3474
3432
|
...contents,
|
|
3475
3433
|
};
|
|
3476
|
-
return
|
|
3434
|
+
return response;
|
|
3477
3435
|
};
|
|
3478
3436
|
exports.de_DeleteDBSnapshotCommand = de_DeleteDBSnapshotCommand;
|
|
3479
3437
|
const de_DeleteDBSnapshotCommandError = async (output, context) => {
|
|
@@ -3491,10 +3449,9 @@ const de_DeleteDBSnapshotCommandError = async (output, context) => {
|
|
|
3491
3449
|
throw await de_InvalidDBSnapshotStateFaultRes(parsedOutput, context);
|
|
3492
3450
|
default:
|
|
3493
3451
|
const parsedBody = parsedOutput.body;
|
|
3494
|
-
|
|
3452
|
+
return throwDefaultError({
|
|
3495
3453
|
output,
|
|
3496
3454
|
parsedBody: parsedBody.Error,
|
|
3497
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3498
3455
|
errorCode,
|
|
3499
3456
|
});
|
|
3500
3457
|
}
|
|
@@ -3507,7 +3464,7 @@ const de_DeleteDBSubnetGroupCommand = async (output, context) => {
|
|
|
3507
3464
|
const response = {
|
|
3508
3465
|
$metadata: deserializeMetadata(output),
|
|
3509
3466
|
};
|
|
3510
|
-
return
|
|
3467
|
+
return response;
|
|
3511
3468
|
};
|
|
3512
3469
|
exports.de_DeleteDBSubnetGroupCommand = de_DeleteDBSubnetGroupCommand;
|
|
3513
3470
|
const de_DeleteDBSubnetGroupCommandError = async (output, context) => {
|
|
@@ -3528,10 +3485,9 @@ const de_DeleteDBSubnetGroupCommandError = async (output, context) => {
|
|
|
3528
3485
|
throw await de_InvalidDBSubnetStateFaultRes(parsedOutput, context);
|
|
3529
3486
|
default:
|
|
3530
3487
|
const parsedBody = parsedOutput.body;
|
|
3531
|
-
|
|
3488
|
+
return throwDefaultError({
|
|
3532
3489
|
output,
|
|
3533
3490
|
parsedBody: parsedBody.Error,
|
|
3534
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3535
3491
|
errorCode,
|
|
3536
3492
|
});
|
|
3537
3493
|
}
|
|
@@ -3547,7 +3503,7 @@ const de_DeleteEventSubscriptionCommand = async (output, context) => {
|
|
|
3547
3503
|
$metadata: deserializeMetadata(output),
|
|
3548
3504
|
...contents,
|
|
3549
3505
|
};
|
|
3550
|
-
return
|
|
3506
|
+
return response;
|
|
3551
3507
|
};
|
|
3552
3508
|
exports.de_DeleteEventSubscriptionCommand = de_DeleteEventSubscriptionCommand;
|
|
3553
3509
|
const de_DeleteEventSubscriptionCommandError = async (output, context) => {
|
|
@@ -3565,10 +3521,9 @@ const de_DeleteEventSubscriptionCommandError = async (output, context) => {
|
|
|
3565
3521
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
3566
3522
|
default:
|
|
3567
3523
|
const parsedBody = parsedOutput.body;
|
|
3568
|
-
|
|
3524
|
+
return throwDefaultError({
|
|
3569
3525
|
output,
|
|
3570
3526
|
parsedBody: parsedBody.Error,
|
|
3571
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3572
3527
|
errorCode,
|
|
3573
3528
|
});
|
|
3574
3529
|
}
|
|
@@ -3584,7 +3539,7 @@ const de_DeleteGlobalClusterCommand = async (output, context) => {
|
|
|
3584
3539
|
$metadata: deserializeMetadata(output),
|
|
3585
3540
|
...contents,
|
|
3586
3541
|
};
|
|
3587
|
-
return
|
|
3542
|
+
return response;
|
|
3588
3543
|
};
|
|
3589
3544
|
exports.de_DeleteGlobalClusterCommand = de_DeleteGlobalClusterCommand;
|
|
3590
3545
|
const de_DeleteGlobalClusterCommandError = async (output, context) => {
|
|
@@ -3602,10 +3557,9 @@ const de_DeleteGlobalClusterCommandError = async (output, context) => {
|
|
|
3602
3557
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
3603
3558
|
default:
|
|
3604
3559
|
const parsedBody = parsedOutput.body;
|
|
3605
|
-
|
|
3560
|
+
return throwDefaultError({
|
|
3606
3561
|
output,
|
|
3607
3562
|
parsedBody: parsedBody.Error,
|
|
3608
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3609
3563
|
errorCode,
|
|
3610
3564
|
});
|
|
3611
3565
|
}
|
|
@@ -3618,7 +3572,7 @@ const de_DeleteOptionGroupCommand = async (output, context) => {
|
|
|
3618
3572
|
const response = {
|
|
3619
3573
|
$metadata: deserializeMetadata(output),
|
|
3620
3574
|
};
|
|
3621
|
-
return
|
|
3575
|
+
return response;
|
|
3622
3576
|
};
|
|
3623
3577
|
exports.de_DeleteOptionGroupCommand = de_DeleteOptionGroupCommand;
|
|
3624
3578
|
const de_DeleteOptionGroupCommandError = async (output, context) => {
|
|
@@ -3636,10 +3590,9 @@ const de_DeleteOptionGroupCommandError = async (output, context) => {
|
|
|
3636
3590
|
throw await de_OptionGroupNotFoundFaultRes(parsedOutput, context);
|
|
3637
3591
|
default:
|
|
3638
3592
|
const parsedBody = parsedOutput.body;
|
|
3639
|
-
|
|
3593
|
+
return throwDefaultError({
|
|
3640
3594
|
output,
|
|
3641
3595
|
parsedBody: parsedBody.Error,
|
|
3642
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3643
3596
|
errorCode,
|
|
3644
3597
|
});
|
|
3645
3598
|
}
|
|
@@ -3655,7 +3608,7 @@ const de_DeregisterDBProxyTargetsCommand = async (output, context) => {
|
|
|
3655
3608
|
$metadata: deserializeMetadata(output),
|
|
3656
3609
|
...contents,
|
|
3657
3610
|
};
|
|
3658
|
-
return
|
|
3611
|
+
return response;
|
|
3659
3612
|
};
|
|
3660
3613
|
exports.de_DeregisterDBProxyTargetsCommand = de_DeregisterDBProxyTargetsCommand;
|
|
3661
3614
|
const de_DeregisterDBProxyTargetsCommandError = async (output, context) => {
|
|
@@ -3679,10 +3632,9 @@ const de_DeregisterDBProxyTargetsCommandError = async (output, context) => {
|
|
|
3679
3632
|
throw await de_InvalidDBProxyStateFaultRes(parsedOutput, context);
|
|
3680
3633
|
default:
|
|
3681
3634
|
const parsedBody = parsedOutput.body;
|
|
3682
|
-
|
|
3635
|
+
return throwDefaultError({
|
|
3683
3636
|
output,
|
|
3684
3637
|
parsedBody: parsedBody.Error,
|
|
3685
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3686
3638
|
errorCode,
|
|
3687
3639
|
});
|
|
3688
3640
|
}
|
|
@@ -3698,7 +3650,7 @@ const de_DescribeAccountAttributesCommand = async (output, context) => {
|
|
|
3698
3650
|
$metadata: deserializeMetadata(output),
|
|
3699
3651
|
...contents,
|
|
3700
3652
|
};
|
|
3701
|
-
return
|
|
3653
|
+
return response;
|
|
3702
3654
|
};
|
|
3703
3655
|
exports.de_DescribeAccountAttributesCommand = de_DescribeAccountAttributesCommand;
|
|
3704
3656
|
const de_DescribeAccountAttributesCommandError = async (output, context) => {
|
|
@@ -3708,10 +3660,9 @@ const de_DescribeAccountAttributesCommandError = async (output, context) => {
|
|
|
3708
3660
|
};
|
|
3709
3661
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3710
3662
|
const parsedBody = parsedOutput.body;
|
|
3711
|
-
|
|
3663
|
+
return throwDefaultError({
|
|
3712
3664
|
output,
|
|
3713
3665
|
parsedBody: parsedBody.Error,
|
|
3714
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3715
3666
|
errorCode,
|
|
3716
3667
|
});
|
|
3717
3668
|
};
|
|
@@ -3726,7 +3677,7 @@ const de_DescribeBlueGreenDeploymentsCommand = async (output, context) => {
|
|
|
3726
3677
|
$metadata: deserializeMetadata(output),
|
|
3727
3678
|
...contents,
|
|
3728
3679
|
};
|
|
3729
|
-
return
|
|
3680
|
+
return response;
|
|
3730
3681
|
};
|
|
3731
3682
|
exports.de_DescribeBlueGreenDeploymentsCommand = de_DescribeBlueGreenDeploymentsCommand;
|
|
3732
3683
|
const de_DescribeBlueGreenDeploymentsCommandError = async (output, context) => {
|
|
@@ -3741,10 +3692,9 @@ const de_DescribeBlueGreenDeploymentsCommandError = async (output, context) => {
|
|
|
3741
3692
|
throw await de_BlueGreenDeploymentNotFoundFaultRes(parsedOutput, context);
|
|
3742
3693
|
default:
|
|
3743
3694
|
const parsedBody = parsedOutput.body;
|
|
3744
|
-
|
|
3695
|
+
return throwDefaultError({
|
|
3745
3696
|
output,
|
|
3746
3697
|
parsedBody: parsedBody.Error,
|
|
3747
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3748
3698
|
errorCode,
|
|
3749
3699
|
});
|
|
3750
3700
|
}
|
|
@@ -3760,7 +3710,7 @@ const de_DescribeCertificatesCommand = async (output, context) => {
|
|
|
3760
3710
|
$metadata: deserializeMetadata(output),
|
|
3761
3711
|
...contents,
|
|
3762
3712
|
};
|
|
3763
|
-
return
|
|
3713
|
+
return response;
|
|
3764
3714
|
};
|
|
3765
3715
|
exports.de_DescribeCertificatesCommand = de_DescribeCertificatesCommand;
|
|
3766
3716
|
const de_DescribeCertificatesCommandError = async (output, context) => {
|
|
@@ -3775,10 +3725,9 @@ const de_DescribeCertificatesCommandError = async (output, context) => {
|
|
|
3775
3725
|
throw await de_CertificateNotFoundFaultRes(parsedOutput, context);
|
|
3776
3726
|
default:
|
|
3777
3727
|
const parsedBody = parsedOutput.body;
|
|
3778
|
-
|
|
3728
|
+
return throwDefaultError({
|
|
3779
3729
|
output,
|
|
3780
3730
|
parsedBody: parsedBody.Error,
|
|
3781
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3782
3731
|
errorCode,
|
|
3783
3732
|
});
|
|
3784
3733
|
}
|
|
@@ -3794,7 +3743,7 @@ const de_DescribeDBClusterBacktracksCommand = async (output, context) => {
|
|
|
3794
3743
|
$metadata: deserializeMetadata(output),
|
|
3795
3744
|
...contents,
|
|
3796
3745
|
};
|
|
3797
|
-
return
|
|
3746
|
+
return response;
|
|
3798
3747
|
};
|
|
3799
3748
|
exports.de_DescribeDBClusterBacktracksCommand = de_DescribeDBClusterBacktracksCommand;
|
|
3800
3749
|
const de_DescribeDBClusterBacktracksCommandError = async (output, context) => {
|
|
@@ -3812,10 +3761,9 @@ const de_DescribeDBClusterBacktracksCommandError = async (output, context) => {
|
|
|
3812
3761
|
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
3813
3762
|
default:
|
|
3814
3763
|
const parsedBody = parsedOutput.body;
|
|
3815
|
-
|
|
3764
|
+
return throwDefaultError({
|
|
3816
3765
|
output,
|
|
3817
3766
|
parsedBody: parsedBody.Error,
|
|
3818
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3819
3767
|
errorCode,
|
|
3820
3768
|
});
|
|
3821
3769
|
}
|
|
@@ -3831,7 +3779,7 @@ const de_DescribeDBClusterEndpointsCommand = async (output, context) => {
|
|
|
3831
3779
|
$metadata: deserializeMetadata(output),
|
|
3832
3780
|
...contents,
|
|
3833
3781
|
};
|
|
3834
|
-
return
|
|
3782
|
+
return response;
|
|
3835
3783
|
};
|
|
3836
3784
|
exports.de_DescribeDBClusterEndpointsCommand = de_DescribeDBClusterEndpointsCommand;
|
|
3837
3785
|
const de_DescribeDBClusterEndpointsCommandError = async (output, context) => {
|
|
@@ -3846,10 +3794,9 @@ const de_DescribeDBClusterEndpointsCommandError = async (output, context) => {
|
|
|
3846
3794
|
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
3847
3795
|
default:
|
|
3848
3796
|
const parsedBody = parsedOutput.body;
|
|
3849
|
-
|
|
3797
|
+
return throwDefaultError({
|
|
3850
3798
|
output,
|
|
3851
3799
|
parsedBody: parsedBody.Error,
|
|
3852
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3853
3800
|
errorCode,
|
|
3854
3801
|
});
|
|
3855
3802
|
}
|
|
@@ -3865,7 +3812,7 @@ const de_DescribeDBClusterParameterGroupsCommand = async (output, context) => {
|
|
|
3865
3812
|
$metadata: deserializeMetadata(output),
|
|
3866
3813
|
...contents,
|
|
3867
3814
|
};
|
|
3868
|
-
return
|
|
3815
|
+
return response;
|
|
3869
3816
|
};
|
|
3870
3817
|
exports.de_DescribeDBClusterParameterGroupsCommand = de_DescribeDBClusterParameterGroupsCommand;
|
|
3871
3818
|
const de_DescribeDBClusterParameterGroupsCommandError = async (output, context) => {
|
|
@@ -3880,10 +3827,9 @@ const de_DescribeDBClusterParameterGroupsCommandError = async (output, context)
|
|
|
3880
3827
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
3881
3828
|
default:
|
|
3882
3829
|
const parsedBody = parsedOutput.body;
|
|
3883
|
-
|
|
3830
|
+
return throwDefaultError({
|
|
3884
3831
|
output,
|
|
3885
3832
|
parsedBody: parsedBody.Error,
|
|
3886
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3887
3833
|
errorCode,
|
|
3888
3834
|
});
|
|
3889
3835
|
}
|
|
@@ -3899,7 +3845,7 @@ const de_DescribeDBClusterParametersCommand = async (output, context) => {
|
|
|
3899
3845
|
$metadata: deserializeMetadata(output),
|
|
3900
3846
|
...contents,
|
|
3901
3847
|
};
|
|
3902
|
-
return
|
|
3848
|
+
return response;
|
|
3903
3849
|
};
|
|
3904
3850
|
exports.de_DescribeDBClusterParametersCommand = de_DescribeDBClusterParametersCommand;
|
|
3905
3851
|
const de_DescribeDBClusterParametersCommandError = async (output, context) => {
|
|
@@ -3914,10 +3860,9 @@ const de_DescribeDBClusterParametersCommandError = async (output, context) => {
|
|
|
3914
3860
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
3915
3861
|
default:
|
|
3916
3862
|
const parsedBody = parsedOutput.body;
|
|
3917
|
-
|
|
3863
|
+
return throwDefaultError({
|
|
3918
3864
|
output,
|
|
3919
3865
|
parsedBody: parsedBody.Error,
|
|
3920
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3921
3866
|
errorCode,
|
|
3922
3867
|
});
|
|
3923
3868
|
}
|
|
@@ -3933,7 +3878,7 @@ const de_DescribeDBClustersCommand = async (output, context) => {
|
|
|
3933
3878
|
$metadata: deserializeMetadata(output),
|
|
3934
3879
|
...contents,
|
|
3935
3880
|
};
|
|
3936
|
-
return
|
|
3881
|
+
return response;
|
|
3937
3882
|
};
|
|
3938
3883
|
exports.de_DescribeDBClustersCommand = de_DescribeDBClustersCommand;
|
|
3939
3884
|
const de_DescribeDBClustersCommandError = async (output, context) => {
|
|
@@ -3948,10 +3893,9 @@ const de_DescribeDBClustersCommandError = async (output, context) => {
|
|
|
3948
3893
|
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
3949
3894
|
default:
|
|
3950
3895
|
const parsedBody = parsedOutput.body;
|
|
3951
|
-
|
|
3896
|
+
return throwDefaultError({
|
|
3952
3897
|
output,
|
|
3953
3898
|
parsedBody: parsedBody.Error,
|
|
3954
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3955
3899
|
errorCode,
|
|
3956
3900
|
});
|
|
3957
3901
|
}
|
|
@@ -3967,7 +3911,7 @@ const de_DescribeDBClusterSnapshotAttributesCommand = async (output, context) =>
|
|
|
3967
3911
|
$metadata: deserializeMetadata(output),
|
|
3968
3912
|
...contents,
|
|
3969
3913
|
};
|
|
3970
|
-
return
|
|
3914
|
+
return response;
|
|
3971
3915
|
};
|
|
3972
3916
|
exports.de_DescribeDBClusterSnapshotAttributesCommand = de_DescribeDBClusterSnapshotAttributesCommand;
|
|
3973
3917
|
const de_DescribeDBClusterSnapshotAttributesCommandError = async (output, context) => {
|
|
@@ -3982,10 +3926,9 @@ const de_DescribeDBClusterSnapshotAttributesCommandError = async (output, contex
|
|
|
3982
3926
|
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
3983
3927
|
default:
|
|
3984
3928
|
const parsedBody = parsedOutput.body;
|
|
3985
|
-
|
|
3929
|
+
return throwDefaultError({
|
|
3986
3930
|
output,
|
|
3987
3931
|
parsedBody: parsedBody.Error,
|
|
3988
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
3989
3932
|
errorCode,
|
|
3990
3933
|
});
|
|
3991
3934
|
}
|
|
@@ -4001,7 +3944,7 @@ const de_DescribeDBClusterSnapshotsCommand = async (output, context) => {
|
|
|
4001
3944
|
$metadata: deserializeMetadata(output),
|
|
4002
3945
|
...contents,
|
|
4003
3946
|
};
|
|
4004
|
-
return
|
|
3947
|
+
return response;
|
|
4005
3948
|
};
|
|
4006
3949
|
exports.de_DescribeDBClusterSnapshotsCommand = de_DescribeDBClusterSnapshotsCommand;
|
|
4007
3950
|
const de_DescribeDBClusterSnapshotsCommandError = async (output, context) => {
|
|
@@ -4016,10 +3959,9 @@ const de_DescribeDBClusterSnapshotsCommandError = async (output, context) => {
|
|
|
4016
3959
|
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
4017
3960
|
default:
|
|
4018
3961
|
const parsedBody = parsedOutput.body;
|
|
4019
|
-
|
|
3962
|
+
return throwDefaultError({
|
|
4020
3963
|
output,
|
|
4021
3964
|
parsedBody: parsedBody.Error,
|
|
4022
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4023
3965
|
errorCode,
|
|
4024
3966
|
});
|
|
4025
3967
|
}
|
|
@@ -4035,7 +3977,7 @@ const de_DescribeDBEngineVersionsCommand = async (output, context) => {
|
|
|
4035
3977
|
$metadata: deserializeMetadata(output),
|
|
4036
3978
|
...contents,
|
|
4037
3979
|
};
|
|
4038
|
-
return
|
|
3980
|
+
return response;
|
|
4039
3981
|
};
|
|
4040
3982
|
exports.de_DescribeDBEngineVersionsCommand = de_DescribeDBEngineVersionsCommand;
|
|
4041
3983
|
const de_DescribeDBEngineVersionsCommandError = async (output, context) => {
|
|
@@ -4045,10 +3987,9 @@ const de_DescribeDBEngineVersionsCommandError = async (output, context) => {
|
|
|
4045
3987
|
};
|
|
4046
3988
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4047
3989
|
const parsedBody = parsedOutput.body;
|
|
4048
|
-
|
|
3990
|
+
return throwDefaultError({
|
|
4049
3991
|
output,
|
|
4050
3992
|
parsedBody: parsedBody.Error,
|
|
4051
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4052
3993
|
errorCode,
|
|
4053
3994
|
});
|
|
4054
3995
|
};
|
|
@@ -4063,7 +4004,7 @@ const de_DescribeDBInstanceAutomatedBackupsCommand = async (output, context) =>
|
|
|
4063
4004
|
$metadata: deserializeMetadata(output),
|
|
4064
4005
|
...contents,
|
|
4065
4006
|
};
|
|
4066
|
-
return
|
|
4007
|
+
return response;
|
|
4067
4008
|
};
|
|
4068
4009
|
exports.de_DescribeDBInstanceAutomatedBackupsCommand = de_DescribeDBInstanceAutomatedBackupsCommand;
|
|
4069
4010
|
const de_DescribeDBInstanceAutomatedBackupsCommandError = async (output, context) => {
|
|
@@ -4078,10 +4019,9 @@ const de_DescribeDBInstanceAutomatedBackupsCommandError = async (output, context
|
|
|
4078
4019
|
throw await de_DBInstanceAutomatedBackupNotFoundFaultRes(parsedOutput, context);
|
|
4079
4020
|
default:
|
|
4080
4021
|
const parsedBody = parsedOutput.body;
|
|
4081
|
-
|
|
4022
|
+
return throwDefaultError({
|
|
4082
4023
|
output,
|
|
4083
4024
|
parsedBody: parsedBody.Error,
|
|
4084
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4085
4025
|
errorCode,
|
|
4086
4026
|
});
|
|
4087
4027
|
}
|
|
@@ -4097,7 +4037,7 @@ const de_DescribeDBInstancesCommand = async (output, context) => {
|
|
|
4097
4037
|
$metadata: deserializeMetadata(output),
|
|
4098
4038
|
...contents,
|
|
4099
4039
|
};
|
|
4100
|
-
return
|
|
4040
|
+
return response;
|
|
4101
4041
|
};
|
|
4102
4042
|
exports.de_DescribeDBInstancesCommand = de_DescribeDBInstancesCommand;
|
|
4103
4043
|
const de_DescribeDBInstancesCommandError = async (output, context) => {
|
|
@@ -4112,10 +4052,9 @@ const de_DescribeDBInstancesCommandError = async (output, context) => {
|
|
|
4112
4052
|
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
4113
4053
|
default:
|
|
4114
4054
|
const parsedBody = parsedOutput.body;
|
|
4115
|
-
|
|
4055
|
+
return throwDefaultError({
|
|
4116
4056
|
output,
|
|
4117
4057
|
parsedBody: parsedBody.Error,
|
|
4118
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4119
4058
|
errorCode,
|
|
4120
4059
|
});
|
|
4121
4060
|
}
|
|
@@ -4131,7 +4070,7 @@ const de_DescribeDBLogFilesCommand = async (output, context) => {
|
|
|
4131
4070
|
$metadata: deserializeMetadata(output),
|
|
4132
4071
|
...contents,
|
|
4133
4072
|
};
|
|
4134
|
-
return
|
|
4073
|
+
return response;
|
|
4135
4074
|
};
|
|
4136
4075
|
exports.de_DescribeDBLogFilesCommand = de_DescribeDBLogFilesCommand;
|
|
4137
4076
|
const de_DescribeDBLogFilesCommandError = async (output, context) => {
|
|
@@ -4146,10 +4085,9 @@ const de_DescribeDBLogFilesCommandError = async (output, context) => {
|
|
|
4146
4085
|
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
4147
4086
|
default:
|
|
4148
4087
|
const parsedBody = parsedOutput.body;
|
|
4149
|
-
|
|
4088
|
+
return throwDefaultError({
|
|
4150
4089
|
output,
|
|
4151
4090
|
parsedBody: parsedBody.Error,
|
|
4152
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4153
4091
|
errorCode,
|
|
4154
4092
|
});
|
|
4155
4093
|
}
|
|
@@ -4165,7 +4103,7 @@ const de_DescribeDBParameterGroupsCommand = async (output, context) => {
|
|
|
4165
4103
|
$metadata: deserializeMetadata(output),
|
|
4166
4104
|
...contents,
|
|
4167
4105
|
};
|
|
4168
|
-
return
|
|
4106
|
+
return response;
|
|
4169
4107
|
};
|
|
4170
4108
|
exports.de_DescribeDBParameterGroupsCommand = de_DescribeDBParameterGroupsCommand;
|
|
4171
4109
|
const de_DescribeDBParameterGroupsCommandError = async (output, context) => {
|
|
@@ -4180,10 +4118,9 @@ const de_DescribeDBParameterGroupsCommandError = async (output, context) => {
|
|
|
4180
4118
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
4181
4119
|
default:
|
|
4182
4120
|
const parsedBody = parsedOutput.body;
|
|
4183
|
-
|
|
4121
|
+
return throwDefaultError({
|
|
4184
4122
|
output,
|
|
4185
4123
|
parsedBody: parsedBody.Error,
|
|
4186
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4187
4124
|
errorCode,
|
|
4188
4125
|
});
|
|
4189
4126
|
}
|
|
@@ -4199,7 +4136,7 @@ const de_DescribeDBParametersCommand = async (output, context) => {
|
|
|
4199
4136
|
$metadata: deserializeMetadata(output),
|
|
4200
4137
|
...contents,
|
|
4201
4138
|
};
|
|
4202
|
-
return
|
|
4139
|
+
return response;
|
|
4203
4140
|
};
|
|
4204
4141
|
exports.de_DescribeDBParametersCommand = de_DescribeDBParametersCommand;
|
|
4205
4142
|
const de_DescribeDBParametersCommandError = async (output, context) => {
|
|
@@ -4214,10 +4151,9 @@ const de_DescribeDBParametersCommandError = async (output, context) => {
|
|
|
4214
4151
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
4215
4152
|
default:
|
|
4216
4153
|
const parsedBody = parsedOutput.body;
|
|
4217
|
-
|
|
4154
|
+
return throwDefaultError({
|
|
4218
4155
|
output,
|
|
4219
4156
|
parsedBody: parsedBody.Error,
|
|
4220
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4221
4157
|
errorCode,
|
|
4222
4158
|
});
|
|
4223
4159
|
}
|
|
@@ -4233,7 +4169,7 @@ const de_DescribeDBProxiesCommand = async (output, context) => {
|
|
|
4233
4169
|
$metadata: deserializeMetadata(output),
|
|
4234
4170
|
...contents,
|
|
4235
4171
|
};
|
|
4236
|
-
return
|
|
4172
|
+
return response;
|
|
4237
4173
|
};
|
|
4238
4174
|
exports.de_DescribeDBProxiesCommand = de_DescribeDBProxiesCommand;
|
|
4239
4175
|
const de_DescribeDBProxiesCommandError = async (output, context) => {
|
|
@@ -4248,10 +4184,9 @@ const de_DescribeDBProxiesCommandError = async (output, context) => {
|
|
|
4248
4184
|
throw await de_DBProxyNotFoundFaultRes(parsedOutput, context);
|
|
4249
4185
|
default:
|
|
4250
4186
|
const parsedBody = parsedOutput.body;
|
|
4251
|
-
|
|
4187
|
+
return throwDefaultError({
|
|
4252
4188
|
output,
|
|
4253
4189
|
parsedBody: parsedBody.Error,
|
|
4254
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4255
4190
|
errorCode,
|
|
4256
4191
|
});
|
|
4257
4192
|
}
|
|
@@ -4267,7 +4202,7 @@ const de_DescribeDBProxyEndpointsCommand = async (output, context) => {
|
|
|
4267
4202
|
$metadata: deserializeMetadata(output),
|
|
4268
4203
|
...contents,
|
|
4269
4204
|
};
|
|
4270
|
-
return
|
|
4205
|
+
return response;
|
|
4271
4206
|
};
|
|
4272
4207
|
exports.de_DescribeDBProxyEndpointsCommand = de_DescribeDBProxyEndpointsCommand;
|
|
4273
4208
|
const de_DescribeDBProxyEndpointsCommandError = async (output, context) => {
|
|
@@ -4285,10 +4220,9 @@ const de_DescribeDBProxyEndpointsCommandError = async (output, context) => {
|
|
|
4285
4220
|
throw await de_DBProxyNotFoundFaultRes(parsedOutput, context);
|
|
4286
4221
|
default:
|
|
4287
4222
|
const parsedBody = parsedOutput.body;
|
|
4288
|
-
|
|
4223
|
+
return throwDefaultError({
|
|
4289
4224
|
output,
|
|
4290
4225
|
parsedBody: parsedBody.Error,
|
|
4291
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4292
4226
|
errorCode,
|
|
4293
4227
|
});
|
|
4294
4228
|
}
|
|
@@ -4304,7 +4238,7 @@ const de_DescribeDBProxyTargetGroupsCommand = async (output, context) => {
|
|
|
4304
4238
|
$metadata: deserializeMetadata(output),
|
|
4305
4239
|
...contents,
|
|
4306
4240
|
};
|
|
4307
|
-
return
|
|
4241
|
+
return response;
|
|
4308
4242
|
};
|
|
4309
4243
|
exports.de_DescribeDBProxyTargetGroupsCommand = de_DescribeDBProxyTargetGroupsCommand;
|
|
4310
4244
|
const de_DescribeDBProxyTargetGroupsCommandError = async (output, context) => {
|
|
@@ -4325,10 +4259,9 @@ const de_DescribeDBProxyTargetGroupsCommandError = async (output, context) => {
|
|
|
4325
4259
|
throw await de_InvalidDBProxyStateFaultRes(parsedOutput, context);
|
|
4326
4260
|
default:
|
|
4327
4261
|
const parsedBody = parsedOutput.body;
|
|
4328
|
-
|
|
4262
|
+
return throwDefaultError({
|
|
4329
4263
|
output,
|
|
4330
4264
|
parsedBody: parsedBody.Error,
|
|
4331
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4332
4265
|
errorCode,
|
|
4333
4266
|
});
|
|
4334
4267
|
}
|
|
@@ -4344,7 +4277,7 @@ const de_DescribeDBProxyTargetsCommand = async (output, context) => {
|
|
|
4344
4277
|
$metadata: deserializeMetadata(output),
|
|
4345
4278
|
...contents,
|
|
4346
4279
|
};
|
|
4347
|
-
return
|
|
4280
|
+
return response;
|
|
4348
4281
|
};
|
|
4349
4282
|
exports.de_DescribeDBProxyTargetsCommand = de_DescribeDBProxyTargetsCommand;
|
|
4350
4283
|
const de_DescribeDBProxyTargetsCommandError = async (output, context) => {
|
|
@@ -4368,10 +4301,9 @@ const de_DescribeDBProxyTargetsCommandError = async (output, context) => {
|
|
|
4368
4301
|
throw await de_InvalidDBProxyStateFaultRes(parsedOutput, context);
|
|
4369
4302
|
default:
|
|
4370
4303
|
const parsedBody = parsedOutput.body;
|
|
4371
|
-
|
|
4304
|
+
return throwDefaultError({
|
|
4372
4305
|
output,
|
|
4373
4306
|
parsedBody: parsedBody.Error,
|
|
4374
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4375
4307
|
errorCode,
|
|
4376
4308
|
});
|
|
4377
4309
|
}
|
|
@@ -4387,7 +4319,7 @@ const de_DescribeDBSecurityGroupsCommand = async (output, context) => {
|
|
|
4387
4319
|
$metadata: deserializeMetadata(output),
|
|
4388
4320
|
...contents,
|
|
4389
4321
|
};
|
|
4390
|
-
return
|
|
4322
|
+
return response;
|
|
4391
4323
|
};
|
|
4392
4324
|
exports.de_DescribeDBSecurityGroupsCommand = de_DescribeDBSecurityGroupsCommand;
|
|
4393
4325
|
const de_DescribeDBSecurityGroupsCommandError = async (output, context) => {
|
|
@@ -4402,10 +4334,9 @@ const de_DescribeDBSecurityGroupsCommandError = async (output, context) => {
|
|
|
4402
4334
|
throw await de_DBSecurityGroupNotFoundFaultRes(parsedOutput, context);
|
|
4403
4335
|
default:
|
|
4404
4336
|
const parsedBody = parsedOutput.body;
|
|
4405
|
-
|
|
4337
|
+
return throwDefaultError({
|
|
4406
4338
|
output,
|
|
4407
4339
|
parsedBody: parsedBody.Error,
|
|
4408
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4409
4340
|
errorCode,
|
|
4410
4341
|
});
|
|
4411
4342
|
}
|
|
@@ -4421,7 +4352,7 @@ const de_DescribeDBSnapshotAttributesCommand = async (output, context) => {
|
|
|
4421
4352
|
$metadata: deserializeMetadata(output),
|
|
4422
4353
|
...contents,
|
|
4423
4354
|
};
|
|
4424
|
-
return
|
|
4355
|
+
return response;
|
|
4425
4356
|
};
|
|
4426
4357
|
exports.de_DescribeDBSnapshotAttributesCommand = de_DescribeDBSnapshotAttributesCommand;
|
|
4427
4358
|
const de_DescribeDBSnapshotAttributesCommandError = async (output, context) => {
|
|
@@ -4436,10 +4367,9 @@ const de_DescribeDBSnapshotAttributesCommandError = async (output, context) => {
|
|
|
4436
4367
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
4437
4368
|
default:
|
|
4438
4369
|
const parsedBody = parsedOutput.body;
|
|
4439
|
-
|
|
4370
|
+
return throwDefaultError({
|
|
4440
4371
|
output,
|
|
4441
4372
|
parsedBody: parsedBody.Error,
|
|
4442
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4443
4373
|
errorCode,
|
|
4444
4374
|
});
|
|
4445
4375
|
}
|
|
@@ -4455,7 +4385,7 @@ const de_DescribeDBSnapshotsCommand = async (output, context) => {
|
|
|
4455
4385
|
$metadata: deserializeMetadata(output),
|
|
4456
4386
|
...contents,
|
|
4457
4387
|
};
|
|
4458
|
-
return
|
|
4388
|
+
return response;
|
|
4459
4389
|
};
|
|
4460
4390
|
exports.de_DescribeDBSnapshotsCommand = de_DescribeDBSnapshotsCommand;
|
|
4461
4391
|
const de_DescribeDBSnapshotsCommandError = async (output, context) => {
|
|
@@ -4470,10 +4400,9 @@ const de_DescribeDBSnapshotsCommandError = async (output, context) => {
|
|
|
4470
4400
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
4471
4401
|
default:
|
|
4472
4402
|
const parsedBody = parsedOutput.body;
|
|
4473
|
-
|
|
4403
|
+
return throwDefaultError({
|
|
4474
4404
|
output,
|
|
4475
4405
|
parsedBody: parsedBody.Error,
|
|
4476
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4477
4406
|
errorCode,
|
|
4478
4407
|
});
|
|
4479
4408
|
}
|
|
@@ -4489,7 +4418,7 @@ const de_DescribeDBSubnetGroupsCommand = async (output, context) => {
|
|
|
4489
4418
|
$metadata: deserializeMetadata(output),
|
|
4490
4419
|
...contents,
|
|
4491
4420
|
};
|
|
4492
|
-
return
|
|
4421
|
+
return response;
|
|
4493
4422
|
};
|
|
4494
4423
|
exports.de_DescribeDBSubnetGroupsCommand = de_DescribeDBSubnetGroupsCommand;
|
|
4495
4424
|
const de_DescribeDBSubnetGroupsCommandError = async (output, context) => {
|
|
@@ -4504,10 +4433,9 @@ const de_DescribeDBSubnetGroupsCommandError = async (output, context) => {
|
|
|
4504
4433
|
throw await de_DBSubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
4505
4434
|
default:
|
|
4506
4435
|
const parsedBody = parsedOutput.body;
|
|
4507
|
-
|
|
4436
|
+
return throwDefaultError({
|
|
4508
4437
|
output,
|
|
4509
4438
|
parsedBody: parsedBody.Error,
|
|
4510
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4511
4439
|
errorCode,
|
|
4512
4440
|
});
|
|
4513
4441
|
}
|
|
@@ -4523,7 +4451,7 @@ const de_DescribeEngineDefaultClusterParametersCommand = async (output, context)
|
|
|
4523
4451
|
$metadata: deserializeMetadata(output),
|
|
4524
4452
|
...contents,
|
|
4525
4453
|
};
|
|
4526
|
-
return
|
|
4454
|
+
return response;
|
|
4527
4455
|
};
|
|
4528
4456
|
exports.de_DescribeEngineDefaultClusterParametersCommand = de_DescribeEngineDefaultClusterParametersCommand;
|
|
4529
4457
|
const de_DescribeEngineDefaultClusterParametersCommandError = async (output, context) => {
|
|
@@ -4533,10 +4461,9 @@ const de_DescribeEngineDefaultClusterParametersCommandError = async (output, con
|
|
|
4533
4461
|
};
|
|
4534
4462
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4535
4463
|
const parsedBody = parsedOutput.body;
|
|
4536
|
-
|
|
4464
|
+
return throwDefaultError({
|
|
4537
4465
|
output,
|
|
4538
4466
|
parsedBody: parsedBody.Error,
|
|
4539
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4540
4467
|
errorCode,
|
|
4541
4468
|
});
|
|
4542
4469
|
};
|
|
@@ -4551,7 +4478,7 @@ const de_DescribeEngineDefaultParametersCommand = async (output, context) => {
|
|
|
4551
4478
|
$metadata: deserializeMetadata(output),
|
|
4552
4479
|
...contents,
|
|
4553
4480
|
};
|
|
4554
|
-
return
|
|
4481
|
+
return response;
|
|
4555
4482
|
};
|
|
4556
4483
|
exports.de_DescribeEngineDefaultParametersCommand = de_DescribeEngineDefaultParametersCommand;
|
|
4557
4484
|
const de_DescribeEngineDefaultParametersCommandError = async (output, context) => {
|
|
@@ -4561,10 +4488,9 @@ const de_DescribeEngineDefaultParametersCommandError = async (output, context) =
|
|
|
4561
4488
|
};
|
|
4562
4489
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4563
4490
|
const parsedBody = parsedOutput.body;
|
|
4564
|
-
|
|
4491
|
+
return throwDefaultError({
|
|
4565
4492
|
output,
|
|
4566
4493
|
parsedBody: parsedBody.Error,
|
|
4567
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4568
4494
|
errorCode,
|
|
4569
4495
|
});
|
|
4570
4496
|
};
|
|
@@ -4579,7 +4505,7 @@ const de_DescribeEventCategoriesCommand = async (output, context) => {
|
|
|
4579
4505
|
$metadata: deserializeMetadata(output),
|
|
4580
4506
|
...contents,
|
|
4581
4507
|
};
|
|
4582
|
-
return
|
|
4508
|
+
return response;
|
|
4583
4509
|
};
|
|
4584
4510
|
exports.de_DescribeEventCategoriesCommand = de_DescribeEventCategoriesCommand;
|
|
4585
4511
|
const de_DescribeEventCategoriesCommandError = async (output, context) => {
|
|
@@ -4589,10 +4515,9 @@ const de_DescribeEventCategoriesCommandError = async (output, context) => {
|
|
|
4589
4515
|
};
|
|
4590
4516
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4591
4517
|
const parsedBody = parsedOutput.body;
|
|
4592
|
-
|
|
4518
|
+
return throwDefaultError({
|
|
4593
4519
|
output,
|
|
4594
4520
|
parsedBody: parsedBody.Error,
|
|
4595
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4596
4521
|
errorCode,
|
|
4597
4522
|
});
|
|
4598
4523
|
};
|
|
@@ -4607,7 +4532,7 @@ const de_DescribeEventsCommand = async (output, context) => {
|
|
|
4607
4532
|
$metadata: deserializeMetadata(output),
|
|
4608
4533
|
...contents,
|
|
4609
4534
|
};
|
|
4610
|
-
return
|
|
4535
|
+
return response;
|
|
4611
4536
|
};
|
|
4612
4537
|
exports.de_DescribeEventsCommand = de_DescribeEventsCommand;
|
|
4613
4538
|
const de_DescribeEventsCommandError = async (output, context) => {
|
|
@@ -4617,10 +4542,9 @@ const de_DescribeEventsCommandError = async (output, context) => {
|
|
|
4617
4542
|
};
|
|
4618
4543
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4619
4544
|
const parsedBody = parsedOutput.body;
|
|
4620
|
-
|
|
4545
|
+
return throwDefaultError({
|
|
4621
4546
|
output,
|
|
4622
4547
|
parsedBody: parsedBody.Error,
|
|
4623
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4624
4548
|
errorCode,
|
|
4625
4549
|
});
|
|
4626
4550
|
};
|
|
@@ -4635,7 +4559,7 @@ const de_DescribeEventSubscriptionsCommand = async (output, context) => {
|
|
|
4635
4559
|
$metadata: deserializeMetadata(output),
|
|
4636
4560
|
...contents,
|
|
4637
4561
|
};
|
|
4638
|
-
return
|
|
4562
|
+
return response;
|
|
4639
4563
|
};
|
|
4640
4564
|
exports.de_DescribeEventSubscriptionsCommand = de_DescribeEventSubscriptionsCommand;
|
|
4641
4565
|
const de_DescribeEventSubscriptionsCommandError = async (output, context) => {
|
|
@@ -4650,10 +4574,9 @@ const de_DescribeEventSubscriptionsCommandError = async (output, context) => {
|
|
|
4650
4574
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
4651
4575
|
default:
|
|
4652
4576
|
const parsedBody = parsedOutput.body;
|
|
4653
|
-
|
|
4577
|
+
return throwDefaultError({
|
|
4654
4578
|
output,
|
|
4655
4579
|
parsedBody: parsedBody.Error,
|
|
4656
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4657
4580
|
errorCode,
|
|
4658
4581
|
});
|
|
4659
4582
|
}
|
|
@@ -4669,7 +4592,7 @@ const de_DescribeExportTasksCommand = async (output, context) => {
|
|
|
4669
4592
|
$metadata: deserializeMetadata(output),
|
|
4670
4593
|
...contents,
|
|
4671
4594
|
};
|
|
4672
|
-
return
|
|
4595
|
+
return response;
|
|
4673
4596
|
};
|
|
4674
4597
|
exports.de_DescribeExportTasksCommand = de_DescribeExportTasksCommand;
|
|
4675
4598
|
const de_DescribeExportTasksCommandError = async (output, context) => {
|
|
@@ -4684,10 +4607,9 @@ const de_DescribeExportTasksCommandError = async (output, context) => {
|
|
|
4684
4607
|
throw await de_ExportTaskNotFoundFaultRes(parsedOutput, context);
|
|
4685
4608
|
default:
|
|
4686
4609
|
const parsedBody = parsedOutput.body;
|
|
4687
|
-
|
|
4610
|
+
return throwDefaultError({
|
|
4688
4611
|
output,
|
|
4689
4612
|
parsedBody: parsedBody.Error,
|
|
4690
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4691
4613
|
errorCode,
|
|
4692
4614
|
});
|
|
4693
4615
|
}
|
|
@@ -4703,7 +4625,7 @@ const de_DescribeGlobalClustersCommand = async (output, context) => {
|
|
|
4703
4625
|
$metadata: deserializeMetadata(output),
|
|
4704
4626
|
...contents,
|
|
4705
4627
|
};
|
|
4706
|
-
return
|
|
4628
|
+
return response;
|
|
4707
4629
|
};
|
|
4708
4630
|
exports.de_DescribeGlobalClustersCommand = de_DescribeGlobalClustersCommand;
|
|
4709
4631
|
const de_DescribeGlobalClustersCommandError = async (output, context) => {
|
|
@@ -4718,10 +4640,9 @@ const de_DescribeGlobalClustersCommandError = async (output, context) => {
|
|
|
4718
4640
|
throw await de_GlobalClusterNotFoundFaultRes(parsedOutput, context);
|
|
4719
4641
|
default:
|
|
4720
4642
|
const parsedBody = parsedOutput.body;
|
|
4721
|
-
|
|
4643
|
+
return throwDefaultError({
|
|
4722
4644
|
output,
|
|
4723
4645
|
parsedBody: parsedBody.Error,
|
|
4724
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4725
4646
|
errorCode,
|
|
4726
4647
|
});
|
|
4727
4648
|
}
|
|
@@ -4737,7 +4658,7 @@ const de_DescribeOptionGroupOptionsCommand = async (output, context) => {
|
|
|
4737
4658
|
$metadata: deserializeMetadata(output),
|
|
4738
4659
|
...contents,
|
|
4739
4660
|
};
|
|
4740
|
-
return
|
|
4661
|
+
return response;
|
|
4741
4662
|
};
|
|
4742
4663
|
exports.de_DescribeOptionGroupOptionsCommand = de_DescribeOptionGroupOptionsCommand;
|
|
4743
4664
|
const de_DescribeOptionGroupOptionsCommandError = async (output, context) => {
|
|
@@ -4747,10 +4668,9 @@ const de_DescribeOptionGroupOptionsCommandError = async (output, context) => {
|
|
|
4747
4668
|
};
|
|
4748
4669
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4749
4670
|
const parsedBody = parsedOutput.body;
|
|
4750
|
-
|
|
4671
|
+
return throwDefaultError({
|
|
4751
4672
|
output,
|
|
4752
4673
|
parsedBody: parsedBody.Error,
|
|
4753
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4754
4674
|
errorCode,
|
|
4755
4675
|
});
|
|
4756
4676
|
};
|
|
@@ -4765,7 +4685,7 @@ const de_DescribeOptionGroupsCommand = async (output, context) => {
|
|
|
4765
4685
|
$metadata: deserializeMetadata(output),
|
|
4766
4686
|
...contents,
|
|
4767
4687
|
};
|
|
4768
|
-
return
|
|
4688
|
+
return response;
|
|
4769
4689
|
};
|
|
4770
4690
|
exports.de_DescribeOptionGroupsCommand = de_DescribeOptionGroupsCommand;
|
|
4771
4691
|
const de_DescribeOptionGroupsCommandError = async (output, context) => {
|
|
@@ -4780,10 +4700,9 @@ const de_DescribeOptionGroupsCommandError = async (output, context) => {
|
|
|
4780
4700
|
throw await de_OptionGroupNotFoundFaultRes(parsedOutput, context);
|
|
4781
4701
|
default:
|
|
4782
4702
|
const parsedBody = parsedOutput.body;
|
|
4783
|
-
|
|
4703
|
+
return throwDefaultError({
|
|
4784
4704
|
output,
|
|
4785
4705
|
parsedBody: parsedBody.Error,
|
|
4786
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4787
4706
|
errorCode,
|
|
4788
4707
|
});
|
|
4789
4708
|
}
|
|
@@ -4799,7 +4718,7 @@ const de_DescribeOrderableDBInstanceOptionsCommand = async (output, context) =>
|
|
|
4799
4718
|
$metadata: deserializeMetadata(output),
|
|
4800
4719
|
...contents,
|
|
4801
4720
|
};
|
|
4802
|
-
return
|
|
4721
|
+
return response;
|
|
4803
4722
|
};
|
|
4804
4723
|
exports.de_DescribeOrderableDBInstanceOptionsCommand = de_DescribeOrderableDBInstanceOptionsCommand;
|
|
4805
4724
|
const de_DescribeOrderableDBInstanceOptionsCommandError = async (output, context) => {
|
|
@@ -4809,10 +4728,9 @@ const de_DescribeOrderableDBInstanceOptionsCommandError = async (output, context
|
|
|
4809
4728
|
};
|
|
4810
4729
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4811
4730
|
const parsedBody = parsedOutput.body;
|
|
4812
|
-
|
|
4731
|
+
return throwDefaultError({
|
|
4813
4732
|
output,
|
|
4814
4733
|
parsedBody: parsedBody.Error,
|
|
4815
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4816
4734
|
errorCode,
|
|
4817
4735
|
});
|
|
4818
4736
|
};
|
|
@@ -4827,7 +4745,7 @@ const de_DescribePendingMaintenanceActionsCommand = async (output, context) => {
|
|
|
4827
4745
|
$metadata: deserializeMetadata(output),
|
|
4828
4746
|
...contents,
|
|
4829
4747
|
};
|
|
4830
|
-
return
|
|
4748
|
+
return response;
|
|
4831
4749
|
};
|
|
4832
4750
|
exports.de_DescribePendingMaintenanceActionsCommand = de_DescribePendingMaintenanceActionsCommand;
|
|
4833
4751
|
const de_DescribePendingMaintenanceActionsCommandError = async (output, context) => {
|
|
@@ -4842,10 +4760,9 @@ const de_DescribePendingMaintenanceActionsCommandError = async (output, context)
|
|
|
4842
4760
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
4843
4761
|
default:
|
|
4844
4762
|
const parsedBody = parsedOutput.body;
|
|
4845
|
-
|
|
4763
|
+
return throwDefaultError({
|
|
4846
4764
|
output,
|
|
4847
4765
|
parsedBody: parsedBody.Error,
|
|
4848
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4849
4766
|
errorCode,
|
|
4850
4767
|
});
|
|
4851
4768
|
}
|
|
@@ -4861,7 +4778,7 @@ const de_DescribeReservedDBInstancesCommand = async (output, context) => {
|
|
|
4861
4778
|
$metadata: deserializeMetadata(output),
|
|
4862
4779
|
...contents,
|
|
4863
4780
|
};
|
|
4864
|
-
return
|
|
4781
|
+
return response;
|
|
4865
4782
|
};
|
|
4866
4783
|
exports.de_DescribeReservedDBInstancesCommand = de_DescribeReservedDBInstancesCommand;
|
|
4867
4784
|
const de_DescribeReservedDBInstancesCommandError = async (output, context) => {
|
|
@@ -4876,10 +4793,9 @@ const de_DescribeReservedDBInstancesCommandError = async (output, context) => {
|
|
|
4876
4793
|
throw await de_ReservedDBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
4877
4794
|
default:
|
|
4878
4795
|
const parsedBody = parsedOutput.body;
|
|
4879
|
-
|
|
4796
|
+
return throwDefaultError({
|
|
4880
4797
|
output,
|
|
4881
4798
|
parsedBody: parsedBody.Error,
|
|
4882
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4883
4799
|
errorCode,
|
|
4884
4800
|
});
|
|
4885
4801
|
}
|
|
@@ -4895,7 +4811,7 @@ const de_DescribeReservedDBInstancesOfferingsCommand = async (output, context) =
|
|
|
4895
4811
|
$metadata: deserializeMetadata(output),
|
|
4896
4812
|
...contents,
|
|
4897
4813
|
};
|
|
4898
|
-
return
|
|
4814
|
+
return response;
|
|
4899
4815
|
};
|
|
4900
4816
|
exports.de_DescribeReservedDBInstancesOfferingsCommand = de_DescribeReservedDBInstancesOfferingsCommand;
|
|
4901
4817
|
const de_DescribeReservedDBInstancesOfferingsCommandError = async (output, context) => {
|
|
@@ -4910,10 +4826,9 @@ const de_DescribeReservedDBInstancesOfferingsCommandError = async (output, conte
|
|
|
4910
4826
|
throw await de_ReservedDBInstancesOfferingNotFoundFaultRes(parsedOutput, context);
|
|
4911
4827
|
default:
|
|
4912
4828
|
const parsedBody = parsedOutput.body;
|
|
4913
|
-
|
|
4829
|
+
return throwDefaultError({
|
|
4914
4830
|
output,
|
|
4915
4831
|
parsedBody: parsedBody.Error,
|
|
4916
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4917
4832
|
errorCode,
|
|
4918
4833
|
});
|
|
4919
4834
|
}
|
|
@@ -4929,7 +4844,7 @@ const de_DescribeSourceRegionsCommand = async (output, context) => {
|
|
|
4929
4844
|
$metadata: deserializeMetadata(output),
|
|
4930
4845
|
...contents,
|
|
4931
4846
|
};
|
|
4932
|
-
return
|
|
4847
|
+
return response;
|
|
4933
4848
|
};
|
|
4934
4849
|
exports.de_DescribeSourceRegionsCommand = de_DescribeSourceRegionsCommand;
|
|
4935
4850
|
const de_DescribeSourceRegionsCommandError = async (output, context) => {
|
|
@@ -4939,10 +4854,9 @@ const de_DescribeSourceRegionsCommandError = async (output, context) => {
|
|
|
4939
4854
|
};
|
|
4940
4855
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4941
4856
|
const parsedBody = parsedOutput.body;
|
|
4942
|
-
|
|
4857
|
+
return throwDefaultError({
|
|
4943
4858
|
output,
|
|
4944
4859
|
parsedBody: parsedBody.Error,
|
|
4945
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4946
4860
|
errorCode,
|
|
4947
4861
|
});
|
|
4948
4862
|
};
|
|
@@ -4957,7 +4871,7 @@ const de_DescribeValidDBInstanceModificationsCommand = async (output, context) =
|
|
|
4957
4871
|
$metadata: deserializeMetadata(output),
|
|
4958
4872
|
...contents,
|
|
4959
4873
|
};
|
|
4960
|
-
return
|
|
4874
|
+
return response;
|
|
4961
4875
|
};
|
|
4962
4876
|
exports.de_DescribeValidDBInstanceModificationsCommand = de_DescribeValidDBInstanceModificationsCommand;
|
|
4963
4877
|
const de_DescribeValidDBInstanceModificationsCommandError = async (output, context) => {
|
|
@@ -4975,10 +4889,9 @@ const de_DescribeValidDBInstanceModificationsCommandError = async (output, conte
|
|
|
4975
4889
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
4976
4890
|
default:
|
|
4977
4891
|
const parsedBody = parsedOutput.body;
|
|
4978
|
-
|
|
4892
|
+
return throwDefaultError({
|
|
4979
4893
|
output,
|
|
4980
4894
|
parsedBody: parsedBody.Error,
|
|
4981
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
4982
4895
|
errorCode,
|
|
4983
4896
|
});
|
|
4984
4897
|
}
|
|
@@ -4994,7 +4907,7 @@ const de_DownloadDBLogFilePortionCommand = async (output, context) => {
|
|
|
4994
4907
|
$metadata: deserializeMetadata(output),
|
|
4995
4908
|
...contents,
|
|
4996
4909
|
};
|
|
4997
|
-
return
|
|
4910
|
+
return response;
|
|
4998
4911
|
};
|
|
4999
4912
|
exports.de_DownloadDBLogFilePortionCommand = de_DownloadDBLogFilePortionCommand;
|
|
5000
4913
|
const de_DownloadDBLogFilePortionCommandError = async (output, context) => {
|
|
@@ -5012,10 +4925,9 @@ const de_DownloadDBLogFilePortionCommandError = async (output, context) => {
|
|
|
5012
4925
|
throw await de_DBLogFileNotFoundFaultRes(parsedOutput, context);
|
|
5013
4926
|
default:
|
|
5014
4927
|
const parsedBody = parsedOutput.body;
|
|
5015
|
-
|
|
4928
|
+
return throwDefaultError({
|
|
5016
4929
|
output,
|
|
5017
4930
|
parsedBody: parsedBody.Error,
|
|
5018
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5019
4931
|
errorCode,
|
|
5020
4932
|
});
|
|
5021
4933
|
}
|
|
@@ -5031,7 +4943,7 @@ const de_FailoverDBClusterCommand = async (output, context) => {
|
|
|
5031
4943
|
$metadata: deserializeMetadata(output),
|
|
5032
4944
|
...contents,
|
|
5033
4945
|
};
|
|
5034
|
-
return
|
|
4946
|
+
return response;
|
|
5035
4947
|
};
|
|
5036
4948
|
exports.de_FailoverDBClusterCommand = de_FailoverDBClusterCommand;
|
|
5037
4949
|
const de_FailoverDBClusterCommandError = async (output, context) => {
|
|
@@ -5052,10 +4964,9 @@ const de_FailoverDBClusterCommandError = async (output, context) => {
|
|
|
5052
4964
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
5053
4965
|
default:
|
|
5054
4966
|
const parsedBody = parsedOutput.body;
|
|
5055
|
-
|
|
4967
|
+
return throwDefaultError({
|
|
5056
4968
|
output,
|
|
5057
4969
|
parsedBody: parsedBody.Error,
|
|
5058
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5059
4970
|
errorCode,
|
|
5060
4971
|
});
|
|
5061
4972
|
}
|
|
@@ -5071,7 +4982,7 @@ const de_FailoverGlobalClusterCommand = async (output, context) => {
|
|
|
5071
4982
|
$metadata: deserializeMetadata(output),
|
|
5072
4983
|
...contents,
|
|
5073
4984
|
};
|
|
5074
|
-
return
|
|
4985
|
+
return response;
|
|
5075
4986
|
};
|
|
5076
4987
|
exports.de_FailoverGlobalClusterCommand = de_FailoverGlobalClusterCommand;
|
|
5077
4988
|
const de_FailoverGlobalClusterCommandError = async (output, context) => {
|
|
@@ -5095,10 +5006,9 @@ const de_FailoverGlobalClusterCommandError = async (output, context) => {
|
|
|
5095
5006
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
5096
5007
|
default:
|
|
5097
5008
|
const parsedBody = parsedOutput.body;
|
|
5098
|
-
|
|
5009
|
+
return throwDefaultError({
|
|
5099
5010
|
output,
|
|
5100
5011
|
parsedBody: parsedBody.Error,
|
|
5101
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5102
5012
|
errorCode,
|
|
5103
5013
|
});
|
|
5104
5014
|
}
|
|
@@ -5114,7 +5024,7 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
5114
5024
|
$metadata: deserializeMetadata(output),
|
|
5115
5025
|
...contents,
|
|
5116
5026
|
};
|
|
5117
|
-
return
|
|
5027
|
+
return response;
|
|
5118
5028
|
};
|
|
5119
5029
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
5120
5030
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -5144,10 +5054,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
5144
5054
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
5145
5055
|
default:
|
|
5146
5056
|
const parsedBody = parsedOutput.body;
|
|
5147
|
-
|
|
5057
|
+
return throwDefaultError({
|
|
5148
5058
|
output,
|
|
5149
5059
|
parsedBody: parsedBody.Error,
|
|
5150
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5151
5060
|
errorCode,
|
|
5152
5061
|
});
|
|
5153
5062
|
}
|
|
@@ -5163,7 +5072,7 @@ const de_ModifyActivityStreamCommand = async (output, context) => {
|
|
|
5163
5072
|
$metadata: deserializeMetadata(output),
|
|
5164
5073
|
...contents,
|
|
5165
5074
|
};
|
|
5166
|
-
return
|
|
5075
|
+
return response;
|
|
5167
5076
|
};
|
|
5168
5077
|
exports.de_ModifyActivityStreamCommand = de_ModifyActivityStreamCommand;
|
|
5169
5078
|
const de_ModifyActivityStreamCommandError = async (output, context) => {
|
|
@@ -5184,10 +5093,9 @@ const de_ModifyActivityStreamCommandError = async (output, context) => {
|
|
|
5184
5093
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
5185
5094
|
default:
|
|
5186
5095
|
const parsedBody = parsedOutput.body;
|
|
5187
|
-
|
|
5096
|
+
return throwDefaultError({
|
|
5188
5097
|
output,
|
|
5189
5098
|
parsedBody: parsedBody.Error,
|
|
5190
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5191
5099
|
errorCode,
|
|
5192
5100
|
});
|
|
5193
5101
|
}
|
|
@@ -5203,7 +5111,7 @@ const de_ModifyCertificatesCommand = async (output, context) => {
|
|
|
5203
5111
|
$metadata: deserializeMetadata(output),
|
|
5204
5112
|
...contents,
|
|
5205
5113
|
};
|
|
5206
|
-
return
|
|
5114
|
+
return response;
|
|
5207
5115
|
};
|
|
5208
5116
|
exports.de_ModifyCertificatesCommand = de_ModifyCertificatesCommand;
|
|
5209
5117
|
const de_ModifyCertificatesCommandError = async (output, context) => {
|
|
@@ -5218,10 +5126,9 @@ const de_ModifyCertificatesCommandError = async (output, context) => {
|
|
|
5218
5126
|
throw await de_CertificateNotFoundFaultRes(parsedOutput, context);
|
|
5219
5127
|
default:
|
|
5220
5128
|
const parsedBody = parsedOutput.body;
|
|
5221
|
-
|
|
5129
|
+
return throwDefaultError({
|
|
5222
5130
|
output,
|
|
5223
5131
|
parsedBody: parsedBody.Error,
|
|
5224
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5225
5132
|
errorCode,
|
|
5226
5133
|
});
|
|
5227
5134
|
}
|
|
@@ -5237,7 +5144,7 @@ const de_ModifyCurrentDBClusterCapacityCommand = async (output, context) => {
|
|
|
5237
5144
|
$metadata: deserializeMetadata(output),
|
|
5238
5145
|
...contents,
|
|
5239
5146
|
};
|
|
5240
|
-
return
|
|
5147
|
+
return response;
|
|
5241
5148
|
};
|
|
5242
5149
|
exports.de_ModifyCurrentDBClusterCapacityCommand = de_ModifyCurrentDBClusterCapacityCommand;
|
|
5243
5150
|
const de_ModifyCurrentDBClusterCapacityCommandError = async (output, context) => {
|
|
@@ -5258,10 +5165,9 @@ const de_ModifyCurrentDBClusterCapacityCommandError = async (output, context) =>
|
|
|
5258
5165
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
5259
5166
|
default:
|
|
5260
5167
|
const parsedBody = parsedOutput.body;
|
|
5261
|
-
|
|
5168
|
+
return throwDefaultError({
|
|
5262
5169
|
output,
|
|
5263
5170
|
parsedBody: parsedBody.Error,
|
|
5264
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5265
5171
|
errorCode,
|
|
5266
5172
|
});
|
|
5267
5173
|
}
|
|
@@ -5277,7 +5183,7 @@ const de_ModifyCustomDBEngineVersionCommand = async (output, context) => {
|
|
|
5277
5183
|
$metadata: deserializeMetadata(output),
|
|
5278
5184
|
...contents,
|
|
5279
5185
|
};
|
|
5280
|
-
return
|
|
5186
|
+
return response;
|
|
5281
5187
|
};
|
|
5282
5188
|
exports.de_ModifyCustomDBEngineVersionCommand = de_ModifyCustomDBEngineVersionCommand;
|
|
5283
5189
|
const de_ModifyCustomDBEngineVersionCommandError = async (output, context) => {
|
|
@@ -5295,10 +5201,9 @@ const de_ModifyCustomDBEngineVersionCommandError = async (output, context) => {
|
|
|
5295
5201
|
throw await de_InvalidCustomDBEngineVersionStateFaultRes(parsedOutput, context);
|
|
5296
5202
|
default:
|
|
5297
5203
|
const parsedBody = parsedOutput.body;
|
|
5298
|
-
|
|
5204
|
+
return throwDefaultError({
|
|
5299
5205
|
output,
|
|
5300
5206
|
parsedBody: parsedBody.Error,
|
|
5301
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5302
5207
|
errorCode,
|
|
5303
5208
|
});
|
|
5304
5209
|
}
|
|
@@ -5314,7 +5219,7 @@ const de_ModifyDBClusterCommand = async (output, context) => {
|
|
|
5314
5219
|
$metadata: deserializeMetadata(output),
|
|
5315
5220
|
...contents,
|
|
5316
5221
|
};
|
|
5317
|
-
return
|
|
5222
|
+
return response;
|
|
5318
5223
|
};
|
|
5319
5224
|
exports.de_ModifyDBClusterCommand = de_ModifyDBClusterCommand;
|
|
5320
5225
|
const de_ModifyDBClusterCommandError = async (output, context) => {
|
|
@@ -5365,10 +5270,9 @@ const de_ModifyDBClusterCommandError = async (output, context) => {
|
|
|
5365
5270
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
5366
5271
|
default:
|
|
5367
5272
|
const parsedBody = parsedOutput.body;
|
|
5368
|
-
|
|
5273
|
+
return throwDefaultError({
|
|
5369
5274
|
output,
|
|
5370
5275
|
parsedBody: parsedBody.Error,
|
|
5371
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5372
5276
|
errorCode,
|
|
5373
5277
|
});
|
|
5374
5278
|
}
|
|
@@ -5384,7 +5288,7 @@ const de_ModifyDBClusterEndpointCommand = async (output, context) => {
|
|
|
5384
5288
|
$metadata: deserializeMetadata(output),
|
|
5385
5289
|
...contents,
|
|
5386
5290
|
};
|
|
5387
|
-
return
|
|
5291
|
+
return response;
|
|
5388
5292
|
};
|
|
5389
5293
|
exports.de_ModifyDBClusterEndpointCommand = de_ModifyDBClusterEndpointCommand;
|
|
5390
5294
|
const de_ModifyDBClusterEndpointCommandError = async (output, context) => {
|
|
@@ -5411,10 +5315,9 @@ const de_ModifyDBClusterEndpointCommandError = async (output, context) => {
|
|
|
5411
5315
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
5412
5316
|
default:
|
|
5413
5317
|
const parsedBody = parsedOutput.body;
|
|
5414
|
-
|
|
5318
|
+
return throwDefaultError({
|
|
5415
5319
|
output,
|
|
5416
5320
|
parsedBody: parsedBody.Error,
|
|
5417
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5418
5321
|
errorCode,
|
|
5419
5322
|
});
|
|
5420
5323
|
}
|
|
@@ -5430,7 +5333,7 @@ const de_ModifyDBClusterParameterGroupCommand = async (output, context) => {
|
|
|
5430
5333
|
$metadata: deserializeMetadata(output),
|
|
5431
5334
|
...contents,
|
|
5432
5335
|
};
|
|
5433
|
-
return
|
|
5336
|
+
return response;
|
|
5434
5337
|
};
|
|
5435
5338
|
exports.de_ModifyDBClusterParameterGroupCommand = de_ModifyDBClusterParameterGroupCommand;
|
|
5436
5339
|
const de_ModifyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
@@ -5448,10 +5351,9 @@ const de_ModifyDBClusterParameterGroupCommandError = async (output, context) =>
|
|
|
5448
5351
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
5449
5352
|
default:
|
|
5450
5353
|
const parsedBody = parsedOutput.body;
|
|
5451
|
-
|
|
5354
|
+
return throwDefaultError({
|
|
5452
5355
|
output,
|
|
5453
5356
|
parsedBody: parsedBody.Error,
|
|
5454
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5455
5357
|
errorCode,
|
|
5456
5358
|
});
|
|
5457
5359
|
}
|
|
@@ -5467,7 +5369,7 @@ const de_ModifyDBClusterSnapshotAttributeCommand = async (output, context) => {
|
|
|
5467
5369
|
$metadata: deserializeMetadata(output),
|
|
5468
5370
|
...contents,
|
|
5469
5371
|
};
|
|
5470
|
-
return
|
|
5372
|
+
return response;
|
|
5471
5373
|
};
|
|
5472
5374
|
exports.de_ModifyDBClusterSnapshotAttributeCommand = de_ModifyDBClusterSnapshotAttributeCommand;
|
|
5473
5375
|
const de_ModifyDBClusterSnapshotAttributeCommandError = async (output, context) => {
|
|
@@ -5488,10 +5390,9 @@ const de_ModifyDBClusterSnapshotAttributeCommandError = async (output, context)
|
|
|
5488
5390
|
throw await de_SharedSnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
5489
5391
|
default:
|
|
5490
5392
|
const parsedBody = parsedOutput.body;
|
|
5491
|
-
|
|
5393
|
+
return throwDefaultError({
|
|
5492
5394
|
output,
|
|
5493
5395
|
parsedBody: parsedBody.Error,
|
|
5494
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5495
5396
|
errorCode,
|
|
5496
5397
|
});
|
|
5497
5398
|
}
|
|
@@ -5507,7 +5408,7 @@ const de_ModifyDBInstanceCommand = async (output, context) => {
|
|
|
5507
5408
|
$metadata: deserializeMetadata(output),
|
|
5508
5409
|
...contents,
|
|
5509
5410
|
};
|
|
5510
|
-
return
|
|
5411
|
+
return response;
|
|
5511
5412
|
};
|
|
5512
5413
|
exports.de_ModifyDBInstanceCommand = de_ModifyDBInstanceCommand;
|
|
5513
5414
|
const de_ModifyDBInstanceCommandError = async (output, context) => {
|
|
@@ -5579,10 +5480,9 @@ const de_ModifyDBInstanceCommandError = async (output, context) => {
|
|
|
5579
5480
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
5580
5481
|
default:
|
|
5581
5482
|
const parsedBody = parsedOutput.body;
|
|
5582
|
-
|
|
5483
|
+
return throwDefaultError({
|
|
5583
5484
|
output,
|
|
5584
5485
|
parsedBody: parsedBody.Error,
|
|
5585
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5586
5486
|
errorCode,
|
|
5587
5487
|
});
|
|
5588
5488
|
}
|
|
@@ -5598,7 +5498,7 @@ const de_ModifyDBParameterGroupCommand = async (output, context) => {
|
|
|
5598
5498
|
$metadata: deserializeMetadata(output),
|
|
5599
5499
|
...contents,
|
|
5600
5500
|
};
|
|
5601
|
-
return
|
|
5501
|
+
return response;
|
|
5602
5502
|
};
|
|
5603
5503
|
exports.de_ModifyDBParameterGroupCommand = de_ModifyDBParameterGroupCommand;
|
|
5604
5504
|
const de_ModifyDBParameterGroupCommandError = async (output, context) => {
|
|
@@ -5616,10 +5516,9 @@ const de_ModifyDBParameterGroupCommandError = async (output, context) => {
|
|
|
5616
5516
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
5617
5517
|
default:
|
|
5618
5518
|
const parsedBody = parsedOutput.body;
|
|
5619
|
-
|
|
5519
|
+
return throwDefaultError({
|
|
5620
5520
|
output,
|
|
5621
5521
|
parsedBody: parsedBody.Error,
|
|
5622
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5623
5522
|
errorCode,
|
|
5624
5523
|
});
|
|
5625
5524
|
}
|
|
@@ -5635,7 +5534,7 @@ const de_ModifyDBProxyCommand = async (output, context) => {
|
|
|
5635
5534
|
$metadata: deserializeMetadata(output),
|
|
5636
5535
|
...contents,
|
|
5637
5536
|
};
|
|
5638
|
-
return
|
|
5537
|
+
return response;
|
|
5639
5538
|
};
|
|
5640
5539
|
exports.de_ModifyDBProxyCommand = de_ModifyDBProxyCommand;
|
|
5641
5540
|
const de_ModifyDBProxyCommandError = async (output, context) => {
|
|
@@ -5656,10 +5555,9 @@ const de_ModifyDBProxyCommandError = async (output, context) => {
|
|
|
5656
5555
|
throw await de_InvalidDBProxyStateFaultRes(parsedOutput, context);
|
|
5657
5556
|
default:
|
|
5658
5557
|
const parsedBody = parsedOutput.body;
|
|
5659
|
-
|
|
5558
|
+
return throwDefaultError({
|
|
5660
5559
|
output,
|
|
5661
5560
|
parsedBody: parsedBody.Error,
|
|
5662
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5663
5561
|
errorCode,
|
|
5664
5562
|
});
|
|
5665
5563
|
}
|
|
@@ -5675,7 +5573,7 @@ const de_ModifyDBProxyEndpointCommand = async (output, context) => {
|
|
|
5675
5573
|
$metadata: deserializeMetadata(output),
|
|
5676
5574
|
...contents,
|
|
5677
5575
|
};
|
|
5678
|
-
return
|
|
5576
|
+
return response;
|
|
5679
5577
|
};
|
|
5680
5578
|
exports.de_ModifyDBProxyEndpointCommand = de_ModifyDBProxyEndpointCommand;
|
|
5681
5579
|
const de_ModifyDBProxyEndpointCommandError = async (output, context) => {
|
|
@@ -5699,10 +5597,9 @@ const de_ModifyDBProxyEndpointCommandError = async (output, context) => {
|
|
|
5699
5597
|
throw await de_InvalidDBProxyStateFaultRes(parsedOutput, context);
|
|
5700
5598
|
default:
|
|
5701
5599
|
const parsedBody = parsedOutput.body;
|
|
5702
|
-
|
|
5600
|
+
return throwDefaultError({
|
|
5703
5601
|
output,
|
|
5704
5602
|
parsedBody: parsedBody.Error,
|
|
5705
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5706
5603
|
errorCode,
|
|
5707
5604
|
});
|
|
5708
5605
|
}
|
|
@@ -5718,7 +5615,7 @@ const de_ModifyDBProxyTargetGroupCommand = async (output, context) => {
|
|
|
5718
5615
|
$metadata: deserializeMetadata(output),
|
|
5719
5616
|
...contents,
|
|
5720
5617
|
};
|
|
5721
|
-
return
|
|
5618
|
+
return response;
|
|
5722
5619
|
};
|
|
5723
5620
|
exports.de_ModifyDBProxyTargetGroupCommand = de_ModifyDBProxyTargetGroupCommand;
|
|
5724
5621
|
const de_ModifyDBProxyTargetGroupCommandError = async (output, context) => {
|
|
@@ -5739,10 +5636,9 @@ const de_ModifyDBProxyTargetGroupCommandError = async (output, context) => {
|
|
|
5739
5636
|
throw await de_InvalidDBProxyStateFaultRes(parsedOutput, context);
|
|
5740
5637
|
default:
|
|
5741
5638
|
const parsedBody = parsedOutput.body;
|
|
5742
|
-
|
|
5639
|
+
return throwDefaultError({
|
|
5743
5640
|
output,
|
|
5744
5641
|
parsedBody: parsedBody.Error,
|
|
5745
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5746
5642
|
errorCode,
|
|
5747
5643
|
});
|
|
5748
5644
|
}
|
|
@@ -5758,7 +5654,7 @@ const de_ModifyDBSnapshotCommand = async (output, context) => {
|
|
|
5758
5654
|
$metadata: deserializeMetadata(output),
|
|
5759
5655
|
...contents,
|
|
5760
5656
|
};
|
|
5761
|
-
return
|
|
5657
|
+
return response;
|
|
5762
5658
|
};
|
|
5763
5659
|
exports.de_ModifyDBSnapshotCommand = de_ModifyDBSnapshotCommand;
|
|
5764
5660
|
const de_ModifyDBSnapshotCommandError = async (output, context) => {
|
|
@@ -5773,10 +5669,9 @@ const de_ModifyDBSnapshotCommandError = async (output, context) => {
|
|
|
5773
5669
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
5774
5670
|
default:
|
|
5775
5671
|
const parsedBody = parsedOutput.body;
|
|
5776
|
-
|
|
5672
|
+
return throwDefaultError({
|
|
5777
5673
|
output,
|
|
5778
5674
|
parsedBody: parsedBody.Error,
|
|
5779
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5780
5675
|
errorCode,
|
|
5781
5676
|
});
|
|
5782
5677
|
}
|
|
@@ -5792,7 +5687,7 @@ const de_ModifyDBSnapshotAttributeCommand = async (output, context) => {
|
|
|
5792
5687
|
$metadata: deserializeMetadata(output),
|
|
5793
5688
|
...contents,
|
|
5794
5689
|
};
|
|
5795
|
-
return
|
|
5690
|
+
return response;
|
|
5796
5691
|
};
|
|
5797
5692
|
exports.de_ModifyDBSnapshotAttributeCommand = de_ModifyDBSnapshotAttributeCommand;
|
|
5798
5693
|
const de_ModifyDBSnapshotAttributeCommandError = async (output, context) => {
|
|
@@ -5813,10 +5708,9 @@ const de_ModifyDBSnapshotAttributeCommandError = async (output, context) => {
|
|
|
5813
5708
|
throw await de_SharedSnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
5814
5709
|
default:
|
|
5815
5710
|
const parsedBody = parsedOutput.body;
|
|
5816
|
-
|
|
5711
|
+
return throwDefaultError({
|
|
5817
5712
|
output,
|
|
5818
5713
|
parsedBody: parsedBody.Error,
|
|
5819
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5820
5714
|
errorCode,
|
|
5821
5715
|
});
|
|
5822
5716
|
}
|
|
@@ -5832,7 +5726,7 @@ const de_ModifyDBSubnetGroupCommand = async (output, context) => {
|
|
|
5832
5726
|
$metadata: deserializeMetadata(output),
|
|
5833
5727
|
...contents,
|
|
5834
5728
|
};
|
|
5835
|
-
return
|
|
5729
|
+
return response;
|
|
5836
5730
|
};
|
|
5837
5731
|
exports.de_ModifyDBSubnetGroupCommand = de_ModifyDBSubnetGroupCommand;
|
|
5838
5732
|
const de_ModifyDBSubnetGroupCommandError = async (output, context) => {
|
|
@@ -5859,10 +5753,9 @@ const de_ModifyDBSubnetGroupCommandError = async (output, context) => {
|
|
|
5859
5753
|
throw await de_SubnetAlreadyInUseRes(parsedOutput, context);
|
|
5860
5754
|
default:
|
|
5861
5755
|
const parsedBody = parsedOutput.body;
|
|
5862
|
-
|
|
5756
|
+
return throwDefaultError({
|
|
5863
5757
|
output,
|
|
5864
5758
|
parsedBody: parsedBody.Error,
|
|
5865
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5866
5759
|
errorCode,
|
|
5867
5760
|
});
|
|
5868
5761
|
}
|
|
@@ -5878,7 +5771,7 @@ const de_ModifyEventSubscriptionCommand = async (output, context) => {
|
|
|
5878
5771
|
$metadata: deserializeMetadata(output),
|
|
5879
5772
|
...contents,
|
|
5880
5773
|
};
|
|
5881
|
-
return
|
|
5774
|
+
return response;
|
|
5882
5775
|
};
|
|
5883
5776
|
exports.de_ModifyEventSubscriptionCommand = de_ModifyEventSubscriptionCommand;
|
|
5884
5777
|
const de_ModifyEventSubscriptionCommandError = async (output, context) => {
|
|
@@ -5908,10 +5801,9 @@ const de_ModifyEventSubscriptionCommandError = async (output, context) => {
|
|
|
5908
5801
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
5909
5802
|
default:
|
|
5910
5803
|
const parsedBody = parsedOutput.body;
|
|
5911
|
-
|
|
5804
|
+
return throwDefaultError({
|
|
5912
5805
|
output,
|
|
5913
5806
|
parsedBody: parsedBody.Error,
|
|
5914
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5915
5807
|
errorCode,
|
|
5916
5808
|
});
|
|
5917
5809
|
}
|
|
@@ -5927,7 +5819,7 @@ const de_ModifyGlobalClusterCommand = async (output, context) => {
|
|
|
5927
5819
|
$metadata: deserializeMetadata(output),
|
|
5928
5820
|
...contents,
|
|
5929
5821
|
};
|
|
5930
|
-
return
|
|
5822
|
+
return response;
|
|
5931
5823
|
};
|
|
5932
5824
|
exports.de_ModifyGlobalClusterCommand = de_ModifyGlobalClusterCommand;
|
|
5933
5825
|
const de_ModifyGlobalClusterCommandError = async (output, context) => {
|
|
@@ -5951,10 +5843,9 @@ const de_ModifyGlobalClusterCommandError = async (output, context) => {
|
|
|
5951
5843
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
5952
5844
|
default:
|
|
5953
5845
|
const parsedBody = parsedOutput.body;
|
|
5954
|
-
|
|
5846
|
+
return throwDefaultError({
|
|
5955
5847
|
output,
|
|
5956
5848
|
parsedBody: parsedBody.Error,
|
|
5957
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5958
5849
|
errorCode,
|
|
5959
5850
|
});
|
|
5960
5851
|
}
|
|
@@ -5970,7 +5861,7 @@ const de_ModifyOptionGroupCommand = async (output, context) => {
|
|
|
5970
5861
|
$metadata: deserializeMetadata(output),
|
|
5971
5862
|
...contents,
|
|
5972
5863
|
};
|
|
5973
|
-
return
|
|
5864
|
+
return response;
|
|
5974
5865
|
};
|
|
5975
5866
|
exports.de_ModifyOptionGroupCommand = de_ModifyOptionGroupCommand;
|
|
5976
5867
|
const de_ModifyOptionGroupCommandError = async (output, context) => {
|
|
@@ -5988,10 +5879,9 @@ const de_ModifyOptionGroupCommandError = async (output, context) => {
|
|
|
5988
5879
|
throw await de_OptionGroupNotFoundFaultRes(parsedOutput, context);
|
|
5989
5880
|
default:
|
|
5990
5881
|
const parsedBody = parsedOutput.body;
|
|
5991
|
-
|
|
5882
|
+
return throwDefaultError({
|
|
5992
5883
|
output,
|
|
5993
5884
|
parsedBody: parsedBody.Error,
|
|
5994
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
5995
5885
|
errorCode,
|
|
5996
5886
|
});
|
|
5997
5887
|
}
|
|
@@ -6007,7 +5897,7 @@ const de_PromoteReadReplicaCommand = async (output, context) => {
|
|
|
6007
5897
|
$metadata: deserializeMetadata(output),
|
|
6008
5898
|
...contents,
|
|
6009
5899
|
};
|
|
6010
|
-
return
|
|
5900
|
+
return response;
|
|
6011
5901
|
};
|
|
6012
5902
|
exports.de_PromoteReadReplicaCommand = de_PromoteReadReplicaCommand;
|
|
6013
5903
|
const de_PromoteReadReplicaCommandError = async (output, context) => {
|
|
@@ -6025,10 +5915,9 @@ const de_PromoteReadReplicaCommandError = async (output, context) => {
|
|
|
6025
5915
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
6026
5916
|
default:
|
|
6027
5917
|
const parsedBody = parsedOutput.body;
|
|
6028
|
-
|
|
5918
|
+
return throwDefaultError({
|
|
6029
5919
|
output,
|
|
6030
5920
|
parsedBody: parsedBody.Error,
|
|
6031
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
6032
5921
|
errorCode,
|
|
6033
5922
|
});
|
|
6034
5923
|
}
|
|
@@ -6044,7 +5933,7 @@ const de_PromoteReadReplicaDBClusterCommand = async (output, context) => {
|
|
|
6044
5933
|
$metadata: deserializeMetadata(output),
|
|
6045
5934
|
...contents,
|
|
6046
5935
|
};
|
|
6047
|
-
return
|
|
5936
|
+
return response;
|
|
6048
5937
|
};
|
|
6049
5938
|
exports.de_PromoteReadReplicaDBClusterCommand = de_PromoteReadReplicaDBClusterCommand;
|
|
6050
5939
|
const de_PromoteReadReplicaDBClusterCommandError = async (output, context) => {
|
|
@@ -6062,10 +5951,9 @@ const de_PromoteReadReplicaDBClusterCommandError = async (output, context) => {
|
|
|
6062
5951
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
6063
5952
|
default:
|
|
6064
5953
|
const parsedBody = parsedOutput.body;
|
|
6065
|
-
|
|
5954
|
+
return throwDefaultError({
|
|
6066
5955
|
output,
|
|
6067
5956
|
parsedBody: parsedBody.Error,
|
|
6068
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
6069
5957
|
errorCode,
|
|
6070
5958
|
});
|
|
6071
5959
|
}
|
|
@@ -6081,7 +5969,7 @@ const de_PurchaseReservedDBInstancesOfferingCommand = async (output, context) =>
|
|
|
6081
5969
|
$metadata: deserializeMetadata(output),
|
|
6082
5970
|
...contents,
|
|
6083
5971
|
};
|
|
6084
|
-
return
|
|
5972
|
+
return response;
|
|
6085
5973
|
};
|
|
6086
5974
|
exports.de_PurchaseReservedDBInstancesOfferingCommand = de_PurchaseReservedDBInstancesOfferingCommand;
|
|
6087
5975
|
const de_PurchaseReservedDBInstancesOfferingCommandError = async (output, context) => {
|
|
@@ -6102,10 +5990,9 @@ const de_PurchaseReservedDBInstancesOfferingCommandError = async (output, contex
|
|
|
6102
5990
|
throw await de_ReservedDBInstancesOfferingNotFoundFaultRes(parsedOutput, context);
|
|
6103
5991
|
default:
|
|
6104
5992
|
const parsedBody = parsedOutput.body;
|
|
6105
|
-
|
|
5993
|
+
return throwDefaultError({
|
|
6106
5994
|
output,
|
|
6107
5995
|
parsedBody: parsedBody.Error,
|
|
6108
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
6109
5996
|
errorCode,
|
|
6110
5997
|
});
|
|
6111
5998
|
}
|
|
@@ -6121,7 +6008,7 @@ const de_RebootDBClusterCommand = async (output, context) => {
|
|
|
6121
6008
|
$metadata: deserializeMetadata(output),
|
|
6122
6009
|
...contents,
|
|
6123
6010
|
};
|
|
6124
|
-
return
|
|
6011
|
+
return response;
|
|
6125
6012
|
};
|
|
6126
6013
|
exports.de_RebootDBClusterCommand = de_RebootDBClusterCommand;
|
|
6127
6014
|
const de_RebootDBClusterCommandError = async (output, context) => {
|
|
@@ -6142,10 +6029,9 @@ const de_RebootDBClusterCommandError = async (output, context) => {
|
|
|
6142
6029
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
6143
6030
|
default:
|
|
6144
6031
|
const parsedBody = parsedOutput.body;
|
|
6145
|
-
|
|
6032
|
+
return throwDefaultError({
|
|
6146
6033
|
output,
|
|
6147
6034
|
parsedBody: parsedBody.Error,
|
|
6148
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
6149
6035
|
errorCode,
|
|
6150
6036
|
});
|
|
6151
6037
|
}
|
|
@@ -6161,7 +6047,7 @@ const de_RebootDBInstanceCommand = async (output, context) => {
|
|
|
6161
6047
|
$metadata: deserializeMetadata(output),
|
|
6162
6048
|
...contents,
|
|
6163
6049
|
};
|
|
6164
|
-
return
|
|
6050
|
+
return response;
|
|
6165
6051
|
};
|
|
6166
6052
|
exports.de_RebootDBInstanceCommand = de_RebootDBInstanceCommand;
|
|
6167
6053
|
const de_RebootDBInstanceCommandError = async (output, context) => {
|
|
@@ -6179,10 +6065,9 @@ const de_RebootDBInstanceCommandError = async (output, context) => {
|
|
|
6179
6065
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
6180
6066
|
default:
|
|
6181
6067
|
const parsedBody = parsedOutput.body;
|
|
6182
|
-
|
|
6068
|
+
return throwDefaultError({
|
|
6183
6069
|
output,
|
|
6184
6070
|
parsedBody: parsedBody.Error,
|
|
6185
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
6186
6071
|
errorCode,
|
|
6187
6072
|
});
|
|
6188
6073
|
}
|
|
@@ -6198,7 +6083,7 @@ const de_RegisterDBProxyTargetsCommand = async (output, context) => {
|
|
|
6198
6083
|
$metadata: deserializeMetadata(output),
|
|
6199
6084
|
...contents,
|
|
6200
6085
|
};
|
|
6201
|
-
return
|
|
6086
|
+
return response;
|
|
6202
6087
|
};
|
|
6203
6088
|
exports.de_RegisterDBProxyTargetsCommand = de_RegisterDBProxyTargetsCommand;
|
|
6204
6089
|
const de_RegisterDBProxyTargetsCommandError = async (output, context) => {
|
|
@@ -6237,10 +6122,9 @@ const de_RegisterDBProxyTargetsCommandError = async (output, context) => {
|
|
|
6237
6122
|
throw await de_InvalidDBProxyStateFaultRes(parsedOutput, context);
|
|
6238
6123
|
default:
|
|
6239
6124
|
const parsedBody = parsedOutput.body;
|
|
6240
|
-
|
|
6125
|
+
return throwDefaultError({
|
|
6241
6126
|
output,
|
|
6242
6127
|
parsedBody: parsedBody.Error,
|
|
6243
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
6244
6128
|
errorCode,
|
|
6245
6129
|
});
|
|
6246
6130
|
}
|
|
@@ -6256,7 +6140,7 @@ const de_RemoveFromGlobalClusterCommand = async (output, context) => {
|
|
|
6256
6140
|
$metadata: deserializeMetadata(output),
|
|
6257
6141
|
...contents,
|
|
6258
6142
|
};
|
|
6259
|
-
return
|
|
6143
|
+
return response;
|
|
6260
6144
|
};
|
|
6261
6145
|
exports.de_RemoveFromGlobalClusterCommand = de_RemoveFromGlobalClusterCommand;
|
|
6262
6146
|
const de_RemoveFromGlobalClusterCommandError = async (output, context) => {
|
|
@@ -6277,10 +6161,9 @@ const de_RemoveFromGlobalClusterCommandError = async (output, context) => {
|
|
|
6277
6161
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
6278
6162
|
default:
|
|
6279
6163
|
const parsedBody = parsedOutput.body;
|
|
6280
|
-
|
|
6164
|
+
return throwDefaultError({
|
|
6281
6165
|
output,
|
|
6282
6166
|
parsedBody: parsedBody.Error,
|
|
6283
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
6284
6167
|
errorCode,
|
|
6285
6168
|
});
|
|
6286
6169
|
}
|
|
@@ -6293,7 +6176,7 @@ const de_RemoveRoleFromDBClusterCommand = async (output, context) => {
|
|
|
6293
6176
|
const response = {
|
|
6294
6177
|
$metadata: deserializeMetadata(output),
|
|
6295
6178
|
};
|
|
6296
|
-
return
|
|
6179
|
+
return response;
|
|
6297
6180
|
};
|
|
6298
6181
|
exports.de_RemoveRoleFromDBClusterCommand = de_RemoveRoleFromDBClusterCommand;
|
|
6299
6182
|
const de_RemoveRoleFromDBClusterCommandError = async (output, context) => {
|
|
@@ -6314,10 +6197,9 @@ const de_RemoveRoleFromDBClusterCommandError = async (output, context) => {
|
|
|
6314
6197
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
6315
6198
|
default:
|
|
6316
6199
|
const parsedBody = parsedOutput.body;
|
|
6317
|
-
|
|
6200
|
+
return throwDefaultError({
|
|
6318
6201
|
output,
|
|
6319
6202
|
parsedBody: parsedBody.Error,
|
|
6320
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
6321
6203
|
errorCode,
|
|
6322
6204
|
});
|
|
6323
6205
|
}
|
|
@@ -6330,7 +6212,7 @@ const de_RemoveRoleFromDBInstanceCommand = async (output, context) => {
|
|
|
6330
6212
|
const response = {
|
|
6331
6213
|
$metadata: deserializeMetadata(output),
|
|
6332
6214
|
};
|
|
6333
|
-
return
|
|
6215
|
+
return response;
|
|
6334
6216
|
};
|
|
6335
6217
|
exports.de_RemoveRoleFromDBInstanceCommand = de_RemoveRoleFromDBInstanceCommand;
|
|
6336
6218
|
const de_RemoveRoleFromDBInstanceCommandError = async (output, context) => {
|
|
@@ -6351,10 +6233,9 @@ const de_RemoveRoleFromDBInstanceCommandError = async (output, context) => {
|
|
|
6351
6233
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
6352
6234
|
default:
|
|
6353
6235
|
const parsedBody = parsedOutput.body;
|
|
6354
|
-
|
|
6236
|
+
return throwDefaultError({
|
|
6355
6237
|
output,
|
|
6356
6238
|
parsedBody: parsedBody.Error,
|
|
6357
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
6358
6239
|
errorCode,
|
|
6359
6240
|
});
|
|
6360
6241
|
}
|
|
@@ -6370,7 +6251,7 @@ const de_RemoveSourceIdentifierFromSubscriptionCommand = async (output, context)
|
|
|
6370
6251
|
$metadata: deserializeMetadata(output),
|
|
6371
6252
|
...contents,
|
|
6372
6253
|
};
|
|
6373
|
-
return
|
|
6254
|
+
return response;
|
|
6374
6255
|
};
|
|
6375
6256
|
exports.de_RemoveSourceIdentifierFromSubscriptionCommand = de_RemoveSourceIdentifierFromSubscriptionCommand;
|
|
6376
6257
|
const de_RemoveSourceIdentifierFromSubscriptionCommandError = async (output, context) => {
|
|
@@ -6388,10 +6269,9 @@ const de_RemoveSourceIdentifierFromSubscriptionCommandError = async (output, con
|
|
|
6388
6269
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
6389
6270
|
default:
|
|
6390
6271
|
const parsedBody = parsedOutput.body;
|
|
6391
|
-
|
|
6272
|
+
return throwDefaultError({
|
|
6392
6273
|
output,
|
|
6393
6274
|
parsedBody: parsedBody.Error,
|
|
6394
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
6395
6275
|
errorCode,
|
|
6396
6276
|
});
|
|
6397
6277
|
}
|
|
@@ -6404,7 +6284,7 @@ const de_RemoveTagsFromResourceCommand = async (output, context) => {
|
|
|
6404
6284
|
const response = {
|
|
6405
6285
|
$metadata: deserializeMetadata(output),
|
|
6406
6286
|
};
|
|
6407
|
-
return
|
|
6287
|
+
return response;
|
|
6408
6288
|
};
|
|
6409
6289
|
exports.de_RemoveTagsFromResourceCommand = de_RemoveTagsFromResourceCommand;
|
|
6410
6290
|
const de_RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
@@ -6434,10 +6314,9 @@ const de_RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
|
6434
6314
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
6435
6315
|
default:
|
|
6436
6316
|
const parsedBody = parsedOutput.body;
|
|
6437
|
-
|
|
6317
|
+
return throwDefaultError({
|
|
6438
6318
|
output,
|
|
6439
6319
|
parsedBody: parsedBody.Error,
|
|
6440
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
6441
6320
|
errorCode,
|
|
6442
6321
|
});
|
|
6443
6322
|
}
|
|
@@ -6453,7 +6332,7 @@ const de_ResetDBClusterParameterGroupCommand = async (output, context) => {
|
|
|
6453
6332
|
$metadata: deserializeMetadata(output),
|
|
6454
6333
|
...contents,
|
|
6455
6334
|
};
|
|
6456
|
-
return
|
|
6335
|
+
return response;
|
|
6457
6336
|
};
|
|
6458
6337
|
exports.de_ResetDBClusterParameterGroupCommand = de_ResetDBClusterParameterGroupCommand;
|
|
6459
6338
|
const de_ResetDBClusterParameterGroupCommandError = async (output, context) => {
|
|
@@ -6471,10 +6350,9 @@ const de_ResetDBClusterParameterGroupCommandError = async (output, context) => {
|
|
|
6471
6350
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
6472
6351
|
default:
|
|
6473
6352
|
const parsedBody = parsedOutput.body;
|
|
6474
|
-
|
|
6353
|
+
return throwDefaultError({
|
|
6475
6354
|
output,
|
|
6476
6355
|
parsedBody: parsedBody.Error,
|
|
6477
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
6478
6356
|
errorCode,
|
|
6479
6357
|
});
|
|
6480
6358
|
}
|
|
@@ -6490,7 +6368,7 @@ const de_ResetDBParameterGroupCommand = async (output, context) => {
|
|
|
6490
6368
|
$metadata: deserializeMetadata(output),
|
|
6491
6369
|
...contents,
|
|
6492
6370
|
};
|
|
6493
|
-
return
|
|
6371
|
+
return response;
|
|
6494
6372
|
};
|
|
6495
6373
|
exports.de_ResetDBParameterGroupCommand = de_ResetDBParameterGroupCommand;
|
|
6496
6374
|
const de_ResetDBParameterGroupCommandError = async (output, context) => {
|
|
@@ -6508,10 +6386,9 @@ const de_ResetDBParameterGroupCommandError = async (output, context) => {
|
|
|
6508
6386
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
6509
6387
|
default:
|
|
6510
6388
|
const parsedBody = parsedOutput.body;
|
|
6511
|
-
|
|
6389
|
+
return throwDefaultError({
|
|
6512
6390
|
output,
|
|
6513
6391
|
parsedBody: parsedBody.Error,
|
|
6514
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
6515
6392
|
errorCode,
|
|
6516
6393
|
});
|
|
6517
6394
|
}
|
|
@@ -6527,7 +6404,7 @@ const de_RestoreDBClusterFromS3Command = async (output, context) => {
|
|
|
6527
6404
|
$metadata: deserializeMetadata(output),
|
|
6528
6405
|
...contents,
|
|
6529
6406
|
};
|
|
6530
|
-
return
|
|
6407
|
+
return response;
|
|
6531
6408
|
};
|
|
6532
6409
|
exports.de_RestoreDBClusterFromS3Command = de_RestoreDBClusterFromS3Command;
|
|
6533
6410
|
const de_RestoreDBClusterFromS3CommandError = async (output, context) => {
|
|
@@ -6581,10 +6458,9 @@ const de_RestoreDBClusterFromS3CommandError = async (output, context) => {
|
|
|
6581
6458
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
6582
6459
|
default:
|
|
6583
6460
|
const parsedBody = parsedOutput.body;
|
|
6584
|
-
|
|
6461
|
+
return throwDefaultError({
|
|
6585
6462
|
output,
|
|
6586
6463
|
parsedBody: parsedBody.Error,
|
|
6587
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
6588
6464
|
errorCode,
|
|
6589
6465
|
});
|
|
6590
6466
|
}
|
|
@@ -6600,7 +6476,7 @@ const de_RestoreDBClusterFromSnapshotCommand = async (output, context) => {
|
|
|
6600
6476
|
$metadata: deserializeMetadata(output),
|
|
6601
6477
|
...contents,
|
|
6602
6478
|
};
|
|
6603
|
-
return
|
|
6479
|
+
return response;
|
|
6604
6480
|
};
|
|
6605
6481
|
exports.de_RestoreDBClusterFromSnapshotCommand = de_RestoreDBClusterFromSnapshotCommand;
|
|
6606
6482
|
const de_RestoreDBClusterFromSnapshotCommandError = async (output, context) => {
|
|
@@ -6666,10 +6542,9 @@ const de_RestoreDBClusterFromSnapshotCommandError = async (output, context) => {
|
|
|
6666
6542
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
6667
6543
|
default:
|
|
6668
6544
|
const parsedBody = parsedOutput.body;
|
|
6669
|
-
|
|
6545
|
+
return throwDefaultError({
|
|
6670
6546
|
output,
|
|
6671
6547
|
parsedBody: parsedBody.Error,
|
|
6672
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
6673
6548
|
errorCode,
|
|
6674
6549
|
});
|
|
6675
6550
|
}
|
|
@@ -6685,7 +6560,7 @@ const de_RestoreDBClusterToPointInTimeCommand = async (output, context) => {
|
|
|
6685
6560
|
$metadata: deserializeMetadata(output),
|
|
6686
6561
|
...contents,
|
|
6687
6562
|
};
|
|
6688
|
-
return
|
|
6563
|
+
return response;
|
|
6689
6564
|
};
|
|
6690
6565
|
exports.de_RestoreDBClusterToPointInTimeCommand = de_RestoreDBClusterToPointInTimeCommand;
|
|
6691
6566
|
const de_RestoreDBClusterToPointInTimeCommandError = async (output, context) => {
|
|
@@ -6751,10 +6626,9 @@ const de_RestoreDBClusterToPointInTimeCommandError = async (output, context) =>
|
|
|
6751
6626
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
6752
6627
|
default:
|
|
6753
6628
|
const parsedBody = parsedOutput.body;
|
|
6754
|
-
|
|
6629
|
+
return throwDefaultError({
|
|
6755
6630
|
output,
|
|
6756
6631
|
parsedBody: parsedBody.Error,
|
|
6757
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
6758
6632
|
errorCode,
|
|
6759
6633
|
});
|
|
6760
6634
|
}
|
|
@@ -6770,7 +6644,7 @@ const de_RestoreDBInstanceFromDBSnapshotCommand = async (output, context) => {
|
|
|
6770
6644
|
$metadata: deserializeMetadata(output),
|
|
6771
6645
|
...contents,
|
|
6772
6646
|
};
|
|
6773
|
-
return
|
|
6647
|
+
return response;
|
|
6774
6648
|
};
|
|
6775
6649
|
exports.de_RestoreDBInstanceFromDBSnapshotCommand = de_RestoreDBInstanceFromDBSnapshotCommand;
|
|
6776
6650
|
const de_RestoreDBInstanceFromDBSnapshotCommandError = async (output, context) => {
|
|
@@ -6848,10 +6722,9 @@ const de_RestoreDBInstanceFromDBSnapshotCommandError = async (output, context) =
|
|
|
6848
6722
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
6849
6723
|
default:
|
|
6850
6724
|
const parsedBody = parsedOutput.body;
|
|
6851
|
-
|
|
6725
|
+
return throwDefaultError({
|
|
6852
6726
|
output,
|
|
6853
6727
|
parsedBody: parsedBody.Error,
|
|
6854
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
6855
6728
|
errorCode,
|
|
6856
6729
|
});
|
|
6857
6730
|
}
|
|
@@ -6867,7 +6740,7 @@ const de_RestoreDBInstanceFromS3Command = async (output, context) => {
|
|
|
6867
6740
|
$metadata: deserializeMetadata(output),
|
|
6868
6741
|
...contents,
|
|
6869
6742
|
};
|
|
6870
|
-
return
|
|
6743
|
+
return response;
|
|
6871
6744
|
};
|
|
6872
6745
|
exports.de_RestoreDBInstanceFromS3Command = de_RestoreDBInstanceFromS3Command;
|
|
6873
6746
|
const de_RestoreDBInstanceFromS3CommandError = async (output, context) => {
|
|
@@ -6933,10 +6806,9 @@ const de_RestoreDBInstanceFromS3CommandError = async (output, context) => {
|
|
|
6933
6806
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
6934
6807
|
default:
|
|
6935
6808
|
const parsedBody = parsedOutput.body;
|
|
6936
|
-
|
|
6809
|
+
return throwDefaultError({
|
|
6937
6810
|
output,
|
|
6938
6811
|
parsedBody: parsedBody.Error,
|
|
6939
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
6940
6812
|
errorCode,
|
|
6941
6813
|
});
|
|
6942
6814
|
}
|
|
@@ -6952,7 +6824,7 @@ const de_RestoreDBInstanceToPointInTimeCommand = async (output, context) => {
|
|
|
6952
6824
|
$metadata: deserializeMetadata(output),
|
|
6953
6825
|
...contents,
|
|
6954
6826
|
};
|
|
6955
|
-
return
|
|
6827
|
+
return response;
|
|
6956
6828
|
};
|
|
6957
6829
|
exports.de_RestoreDBInstanceToPointInTimeCommand = de_RestoreDBInstanceToPointInTimeCommand;
|
|
6958
6830
|
const de_RestoreDBInstanceToPointInTimeCommandError = async (output, context) => {
|
|
@@ -7033,10 +6905,9 @@ const de_RestoreDBInstanceToPointInTimeCommandError = async (output, context) =>
|
|
|
7033
6905
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
7034
6906
|
default:
|
|
7035
6907
|
const parsedBody = parsedOutput.body;
|
|
7036
|
-
|
|
6908
|
+
return throwDefaultError({
|
|
7037
6909
|
output,
|
|
7038
6910
|
parsedBody: parsedBody.Error,
|
|
7039
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
7040
6911
|
errorCode,
|
|
7041
6912
|
});
|
|
7042
6913
|
}
|
|
@@ -7052,7 +6923,7 @@ const de_RevokeDBSecurityGroupIngressCommand = async (output, context) => {
|
|
|
7052
6923
|
$metadata: deserializeMetadata(output),
|
|
7053
6924
|
...contents,
|
|
7054
6925
|
};
|
|
7055
|
-
return
|
|
6926
|
+
return response;
|
|
7056
6927
|
};
|
|
7057
6928
|
exports.de_RevokeDBSecurityGroupIngressCommand = de_RevokeDBSecurityGroupIngressCommand;
|
|
7058
6929
|
const de_RevokeDBSecurityGroupIngressCommandError = async (output, context) => {
|
|
@@ -7073,10 +6944,9 @@ const de_RevokeDBSecurityGroupIngressCommandError = async (output, context) => {
|
|
|
7073
6944
|
throw await de_InvalidDBSecurityGroupStateFaultRes(parsedOutput, context);
|
|
7074
6945
|
default:
|
|
7075
6946
|
const parsedBody = parsedOutput.body;
|
|
7076
|
-
|
|
6947
|
+
return throwDefaultError({
|
|
7077
6948
|
output,
|
|
7078
6949
|
parsedBody: parsedBody.Error,
|
|
7079
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
7080
6950
|
errorCode,
|
|
7081
6951
|
});
|
|
7082
6952
|
}
|
|
@@ -7092,7 +6962,7 @@ const de_StartActivityStreamCommand = async (output, context) => {
|
|
|
7092
6962
|
$metadata: deserializeMetadata(output),
|
|
7093
6963
|
...contents,
|
|
7094
6964
|
};
|
|
7095
|
-
return
|
|
6965
|
+
return response;
|
|
7096
6966
|
};
|
|
7097
6967
|
exports.de_StartActivityStreamCommand = de_StartActivityStreamCommand;
|
|
7098
6968
|
const de_StartActivityStreamCommandError = async (output, context) => {
|
|
@@ -7122,10 +6992,9 @@ const de_StartActivityStreamCommandError = async (output, context) => {
|
|
|
7122
6992
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
7123
6993
|
default:
|
|
7124
6994
|
const parsedBody = parsedOutput.body;
|
|
7125
|
-
|
|
6995
|
+
return throwDefaultError({
|
|
7126
6996
|
output,
|
|
7127
6997
|
parsedBody: parsedBody.Error,
|
|
7128
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
7129
6998
|
errorCode,
|
|
7130
6999
|
});
|
|
7131
7000
|
}
|
|
@@ -7141,7 +7010,7 @@ const de_StartDBClusterCommand = async (output, context) => {
|
|
|
7141
7010
|
$metadata: deserializeMetadata(output),
|
|
7142
7011
|
...contents,
|
|
7143
7012
|
};
|
|
7144
|
-
return
|
|
7013
|
+
return response;
|
|
7145
7014
|
};
|
|
7146
7015
|
exports.de_StartDBClusterCommand = de_StartDBClusterCommand;
|
|
7147
7016
|
const de_StartDBClusterCommandError = async (output, context) => {
|
|
@@ -7162,10 +7031,9 @@ const de_StartDBClusterCommandError = async (output, context) => {
|
|
|
7162
7031
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
7163
7032
|
default:
|
|
7164
7033
|
const parsedBody = parsedOutput.body;
|
|
7165
|
-
|
|
7034
|
+
return throwDefaultError({
|
|
7166
7035
|
output,
|
|
7167
7036
|
parsedBody: parsedBody.Error,
|
|
7168
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
7169
7037
|
errorCode,
|
|
7170
7038
|
});
|
|
7171
7039
|
}
|
|
@@ -7181,7 +7049,7 @@ const de_StartDBInstanceCommand = async (output, context) => {
|
|
|
7181
7049
|
$metadata: deserializeMetadata(output),
|
|
7182
7050
|
...contents,
|
|
7183
7051
|
};
|
|
7184
|
-
return
|
|
7052
|
+
return response;
|
|
7185
7053
|
};
|
|
7186
7054
|
exports.de_StartDBInstanceCommand = de_StartDBInstanceCommand;
|
|
7187
7055
|
const de_StartDBInstanceCommandError = async (output, context) => {
|
|
@@ -7226,10 +7094,9 @@ const de_StartDBInstanceCommandError = async (output, context) => {
|
|
|
7226
7094
|
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
7227
7095
|
default:
|
|
7228
7096
|
const parsedBody = parsedOutput.body;
|
|
7229
|
-
|
|
7097
|
+
return throwDefaultError({
|
|
7230
7098
|
output,
|
|
7231
7099
|
parsedBody: parsedBody.Error,
|
|
7232
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
7233
7100
|
errorCode,
|
|
7234
7101
|
});
|
|
7235
7102
|
}
|
|
@@ -7245,7 +7112,7 @@ const de_StartDBInstanceAutomatedBackupsReplicationCommand = async (output, cont
|
|
|
7245
7112
|
$metadata: deserializeMetadata(output),
|
|
7246
7113
|
...contents,
|
|
7247
7114
|
};
|
|
7248
|
-
return
|
|
7115
|
+
return response;
|
|
7249
7116
|
};
|
|
7250
7117
|
exports.de_StartDBInstanceAutomatedBackupsReplicationCommand = de_StartDBInstanceAutomatedBackupsReplicationCommand;
|
|
7251
7118
|
const de_StartDBInstanceAutomatedBackupsReplicationCommandError = async (output, context) => {
|
|
@@ -7272,10 +7139,9 @@ const de_StartDBInstanceAutomatedBackupsReplicationCommandError = async (output,
|
|
|
7272
7139
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
7273
7140
|
default:
|
|
7274
7141
|
const parsedBody = parsedOutput.body;
|
|
7275
|
-
|
|
7142
|
+
return throwDefaultError({
|
|
7276
7143
|
output,
|
|
7277
7144
|
parsedBody: parsedBody.Error,
|
|
7278
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
7279
7145
|
errorCode,
|
|
7280
7146
|
});
|
|
7281
7147
|
}
|
|
@@ -7291,7 +7157,7 @@ const de_StartExportTaskCommand = async (output, context) => {
|
|
|
7291
7157
|
$metadata: deserializeMetadata(output),
|
|
7292
7158
|
...contents,
|
|
7293
7159
|
};
|
|
7294
|
-
return
|
|
7160
|
+
return response;
|
|
7295
7161
|
};
|
|
7296
7162
|
exports.de_StartExportTaskCommand = de_StartExportTaskCommand;
|
|
7297
7163
|
const de_StartExportTaskCommandError = async (output, context) => {
|
|
@@ -7333,10 +7199,9 @@ const de_StartExportTaskCommandError = async (output, context) => {
|
|
|
7333
7199
|
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
7334
7200
|
default:
|
|
7335
7201
|
const parsedBody = parsedOutput.body;
|
|
7336
|
-
|
|
7202
|
+
return throwDefaultError({
|
|
7337
7203
|
output,
|
|
7338
7204
|
parsedBody: parsedBody.Error,
|
|
7339
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
7340
7205
|
errorCode,
|
|
7341
7206
|
});
|
|
7342
7207
|
}
|
|
@@ -7352,7 +7217,7 @@ const de_StopActivityStreamCommand = async (output, context) => {
|
|
|
7352
7217
|
$metadata: deserializeMetadata(output),
|
|
7353
7218
|
...contents,
|
|
7354
7219
|
};
|
|
7355
|
-
return
|
|
7220
|
+
return response;
|
|
7356
7221
|
};
|
|
7357
7222
|
exports.de_StopActivityStreamCommand = de_StopActivityStreamCommand;
|
|
7358
7223
|
const de_StopActivityStreamCommandError = async (output, context) => {
|
|
@@ -7379,10 +7244,9 @@ const de_StopActivityStreamCommandError = async (output, context) => {
|
|
|
7379
7244
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
7380
7245
|
default:
|
|
7381
7246
|
const parsedBody = parsedOutput.body;
|
|
7382
|
-
|
|
7247
|
+
return throwDefaultError({
|
|
7383
7248
|
output,
|
|
7384
7249
|
parsedBody: parsedBody.Error,
|
|
7385
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
7386
7250
|
errorCode,
|
|
7387
7251
|
});
|
|
7388
7252
|
}
|
|
@@ -7398,7 +7262,7 @@ const de_StopDBClusterCommand = async (output, context) => {
|
|
|
7398
7262
|
$metadata: deserializeMetadata(output),
|
|
7399
7263
|
...contents,
|
|
7400
7264
|
};
|
|
7401
|
-
return
|
|
7265
|
+
return response;
|
|
7402
7266
|
};
|
|
7403
7267
|
exports.de_StopDBClusterCommand = de_StopDBClusterCommand;
|
|
7404
7268
|
const de_StopDBClusterCommandError = async (output, context) => {
|
|
@@ -7419,10 +7283,9 @@ const de_StopDBClusterCommandError = async (output, context) => {
|
|
|
7419
7283
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
7420
7284
|
default:
|
|
7421
7285
|
const parsedBody = parsedOutput.body;
|
|
7422
|
-
|
|
7286
|
+
return throwDefaultError({
|
|
7423
7287
|
output,
|
|
7424
7288
|
parsedBody: parsedBody.Error,
|
|
7425
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
7426
7289
|
errorCode,
|
|
7427
7290
|
});
|
|
7428
7291
|
}
|
|
@@ -7438,7 +7301,7 @@ const de_StopDBInstanceCommand = async (output, context) => {
|
|
|
7438
7301
|
$metadata: deserializeMetadata(output),
|
|
7439
7302
|
...contents,
|
|
7440
7303
|
};
|
|
7441
|
-
return
|
|
7304
|
+
return response;
|
|
7442
7305
|
};
|
|
7443
7306
|
exports.de_StopDBInstanceCommand = de_StopDBInstanceCommand;
|
|
7444
7307
|
const de_StopDBInstanceCommandError = async (output, context) => {
|
|
@@ -7465,10 +7328,9 @@ const de_StopDBInstanceCommandError = async (output, context) => {
|
|
|
7465
7328
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
7466
7329
|
default:
|
|
7467
7330
|
const parsedBody = parsedOutput.body;
|
|
7468
|
-
|
|
7331
|
+
return throwDefaultError({
|
|
7469
7332
|
output,
|
|
7470
7333
|
parsedBody: parsedBody.Error,
|
|
7471
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
7472
7334
|
errorCode,
|
|
7473
7335
|
});
|
|
7474
7336
|
}
|
|
@@ -7484,7 +7346,7 @@ const de_StopDBInstanceAutomatedBackupsReplicationCommand = async (output, conte
|
|
|
7484
7346
|
$metadata: deserializeMetadata(output),
|
|
7485
7347
|
...contents,
|
|
7486
7348
|
};
|
|
7487
|
-
return
|
|
7349
|
+
return response;
|
|
7488
7350
|
};
|
|
7489
7351
|
exports.de_StopDBInstanceAutomatedBackupsReplicationCommand = de_StopDBInstanceAutomatedBackupsReplicationCommand;
|
|
7490
7352
|
const de_StopDBInstanceAutomatedBackupsReplicationCommandError = async (output, context) => {
|
|
@@ -7502,10 +7364,9 @@ const de_StopDBInstanceAutomatedBackupsReplicationCommandError = async (output,
|
|
|
7502
7364
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
7503
7365
|
default:
|
|
7504
7366
|
const parsedBody = parsedOutput.body;
|
|
7505
|
-
|
|
7367
|
+
return throwDefaultError({
|
|
7506
7368
|
output,
|
|
7507
7369
|
parsedBody: parsedBody.Error,
|
|
7508
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
7509
7370
|
errorCode,
|
|
7510
7371
|
});
|
|
7511
7372
|
}
|
|
@@ -7521,7 +7382,7 @@ const de_SwitchoverBlueGreenDeploymentCommand = async (output, context) => {
|
|
|
7521
7382
|
$metadata: deserializeMetadata(output),
|
|
7522
7383
|
...contents,
|
|
7523
7384
|
};
|
|
7524
|
-
return
|
|
7385
|
+
return response;
|
|
7525
7386
|
};
|
|
7526
7387
|
exports.de_SwitchoverBlueGreenDeploymentCommand = de_SwitchoverBlueGreenDeploymentCommand;
|
|
7527
7388
|
const de_SwitchoverBlueGreenDeploymentCommandError = async (output, context) => {
|
|
@@ -7539,10 +7400,9 @@ const de_SwitchoverBlueGreenDeploymentCommandError = async (output, context) =>
|
|
|
7539
7400
|
throw await de_InvalidBlueGreenDeploymentStateFaultRes(parsedOutput, context);
|
|
7540
7401
|
default:
|
|
7541
7402
|
const parsedBody = parsedOutput.body;
|
|
7542
|
-
|
|
7403
|
+
return throwDefaultError({
|
|
7543
7404
|
output,
|
|
7544
7405
|
parsedBody: parsedBody.Error,
|
|
7545
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
7546
7406
|
errorCode,
|
|
7547
7407
|
});
|
|
7548
7408
|
}
|
|
@@ -7558,7 +7418,7 @@ const de_SwitchoverReadReplicaCommand = async (output, context) => {
|
|
|
7558
7418
|
$metadata: deserializeMetadata(output),
|
|
7559
7419
|
...contents,
|
|
7560
7420
|
};
|
|
7561
|
-
return
|
|
7421
|
+
return response;
|
|
7562
7422
|
};
|
|
7563
7423
|
exports.de_SwitchoverReadReplicaCommand = de_SwitchoverReadReplicaCommand;
|
|
7564
7424
|
const de_SwitchoverReadReplicaCommandError = async (output, context) => {
|
|
@@ -7576,10 +7436,9 @@ const de_SwitchoverReadReplicaCommandError = async (output, context) => {
|
|
|
7576
7436
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
7577
7437
|
default:
|
|
7578
7438
|
const parsedBody = parsedOutput.body;
|
|
7579
|
-
|
|
7439
|
+
return throwDefaultError({
|
|
7580
7440
|
output,
|
|
7581
7441
|
parsedBody: parsedBody.Error,
|
|
7582
|
-
exceptionCtor: RDSServiceException_1.RDSServiceException,
|
|
7583
7442
|
errorCode,
|
|
7584
7443
|
});
|
|
7585
7444
|
}
|
|
@@ -18996,6 +18855,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
18996
18855
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
18997
18856
|
};
|
|
18998
18857
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
18858
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(RDSServiceException_1.RDSServiceException);
|
|
18999
18859
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
19000
18860
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
19001
18861
|
const contents = {
|