@aws-sdk/client-docdb 3.504.0 → 3.509.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +235 -1478
- package/dist-es/protocols/Aws_query.js +231 -1474
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1786,7 +1786,7 @@ var se_StopDBClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1786
1786
|
}, "se_StopDBClusterCommand");
|
|
1787
1787
|
var de_AddSourceIdentifierToSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1788
1788
|
if (output.statusCode >= 300) {
|
|
1789
|
-
return
|
|
1789
|
+
return de_CommandError(output, context);
|
|
1790
1790
|
}
|
|
1791
1791
|
const data = await parseBody(output.body, context);
|
|
1792
1792
|
let contents = {};
|
|
@@ -1797,31 +1797,9 @@ var de_AddSourceIdentifierToSubscriptionCommand = /* @__PURE__ */ __name(async (
|
|
|
1797
1797
|
};
|
|
1798
1798
|
return response;
|
|
1799
1799
|
}, "de_AddSourceIdentifierToSubscriptionCommand");
|
|
1800
|
-
var de_AddSourceIdentifierToSubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1801
|
-
const parsedOutput = {
|
|
1802
|
-
...output,
|
|
1803
|
-
body: await parseErrorBody(output.body, context)
|
|
1804
|
-
};
|
|
1805
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1806
|
-
switch (errorCode) {
|
|
1807
|
-
case "SourceNotFound":
|
|
1808
|
-
case "com.amazonaws.docdb#SourceNotFoundFault":
|
|
1809
|
-
throw await de_SourceNotFoundFaultRes(parsedOutput, context);
|
|
1810
|
-
case "SubscriptionNotFound":
|
|
1811
|
-
case "com.amazonaws.docdb#SubscriptionNotFoundFault":
|
|
1812
|
-
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
1813
|
-
default:
|
|
1814
|
-
const parsedBody = parsedOutput.body;
|
|
1815
|
-
return throwDefaultError({
|
|
1816
|
-
output,
|
|
1817
|
-
parsedBody: parsedBody.Error,
|
|
1818
|
-
errorCode
|
|
1819
|
-
});
|
|
1820
|
-
}
|
|
1821
|
-
}, "de_AddSourceIdentifierToSubscriptionCommandError");
|
|
1822
1800
|
var de_AddTagsToResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1823
1801
|
if (output.statusCode >= 300) {
|
|
1824
|
-
return
|
|
1802
|
+
return de_CommandError(output, context);
|
|
1825
1803
|
}
|
|
1826
1804
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1827
1805
|
const response = {
|
|
@@ -1829,34 +1807,9 @@ var de_AddTagsToResourceCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1829
1807
|
};
|
|
1830
1808
|
return response;
|
|
1831
1809
|
}, "de_AddTagsToResourceCommand");
|
|
1832
|
-
var de_AddTagsToResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1833
|
-
const parsedOutput = {
|
|
1834
|
-
...output,
|
|
1835
|
-
body: await parseErrorBody(output.body, context)
|
|
1836
|
-
};
|
|
1837
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1838
|
-
switch (errorCode) {
|
|
1839
|
-
case "DBClusterNotFoundFault":
|
|
1840
|
-
case "com.amazonaws.docdb#DBClusterNotFoundFault":
|
|
1841
|
-
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
1842
|
-
case "DBInstanceNotFound":
|
|
1843
|
-
case "com.amazonaws.docdb#DBInstanceNotFoundFault":
|
|
1844
|
-
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
1845
|
-
case "DBSnapshotNotFound":
|
|
1846
|
-
case "com.amazonaws.docdb#DBSnapshotNotFoundFault":
|
|
1847
|
-
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
1848
|
-
default:
|
|
1849
|
-
const parsedBody = parsedOutput.body;
|
|
1850
|
-
return throwDefaultError({
|
|
1851
|
-
output,
|
|
1852
|
-
parsedBody: parsedBody.Error,
|
|
1853
|
-
errorCode
|
|
1854
|
-
});
|
|
1855
|
-
}
|
|
1856
|
-
}, "de_AddTagsToResourceCommandError");
|
|
1857
1810
|
var de_ApplyPendingMaintenanceActionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1858
1811
|
if (output.statusCode >= 300) {
|
|
1859
|
-
return
|
|
1812
|
+
return de_CommandError(output, context);
|
|
1860
1813
|
}
|
|
1861
1814
|
const data = await parseBody(output.body, context);
|
|
1862
1815
|
let contents = {};
|
|
@@ -1867,34 +1820,9 @@ var de_ApplyPendingMaintenanceActionCommand = /* @__PURE__ */ __name(async (outp
|
|
|
1867
1820
|
};
|
|
1868
1821
|
return response;
|
|
1869
1822
|
}, "de_ApplyPendingMaintenanceActionCommand");
|
|
1870
|
-
var de_ApplyPendingMaintenanceActionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1871
|
-
const parsedOutput = {
|
|
1872
|
-
...output,
|
|
1873
|
-
body: await parseErrorBody(output.body, context)
|
|
1874
|
-
};
|
|
1875
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1876
|
-
switch (errorCode) {
|
|
1877
|
-
case "InvalidDBClusterStateFault":
|
|
1878
|
-
case "com.amazonaws.docdb#InvalidDBClusterStateFault":
|
|
1879
|
-
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
1880
|
-
case "InvalidDBInstanceState":
|
|
1881
|
-
case "com.amazonaws.docdb#InvalidDBInstanceStateFault":
|
|
1882
|
-
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
1883
|
-
case "ResourceNotFoundFault":
|
|
1884
|
-
case "com.amazonaws.docdb#ResourceNotFoundFault":
|
|
1885
|
-
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
1886
|
-
default:
|
|
1887
|
-
const parsedBody = parsedOutput.body;
|
|
1888
|
-
return throwDefaultError({
|
|
1889
|
-
output,
|
|
1890
|
-
parsedBody: parsedBody.Error,
|
|
1891
|
-
errorCode
|
|
1892
|
-
});
|
|
1893
|
-
}
|
|
1894
|
-
}, "de_ApplyPendingMaintenanceActionCommandError");
|
|
1895
1823
|
var de_CopyDBClusterParameterGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1896
1824
|
if (output.statusCode >= 300) {
|
|
1897
|
-
return
|
|
1825
|
+
return de_CommandError(output, context);
|
|
1898
1826
|
}
|
|
1899
1827
|
const data = await parseBody(output.body, context);
|
|
1900
1828
|
let contents = {};
|
|
@@ -1905,34 +1833,9 @@ var de_CopyDBClusterParameterGroupCommand = /* @__PURE__ */ __name(async (output
|
|
|
1905
1833
|
};
|
|
1906
1834
|
return response;
|
|
1907
1835
|
}, "de_CopyDBClusterParameterGroupCommand");
|
|
1908
|
-
var de_CopyDBClusterParameterGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1909
|
-
const parsedOutput = {
|
|
1910
|
-
...output,
|
|
1911
|
-
body: await parseErrorBody(output.body, context)
|
|
1912
|
-
};
|
|
1913
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1914
|
-
switch (errorCode) {
|
|
1915
|
-
case "DBParameterGroupAlreadyExists":
|
|
1916
|
-
case "com.amazonaws.docdb#DBParameterGroupAlreadyExistsFault":
|
|
1917
|
-
throw await de_DBParameterGroupAlreadyExistsFaultRes(parsedOutput, context);
|
|
1918
|
-
case "DBParameterGroupNotFound":
|
|
1919
|
-
case "com.amazonaws.docdb#DBParameterGroupNotFoundFault":
|
|
1920
|
-
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
1921
|
-
case "DBParameterGroupQuotaExceeded":
|
|
1922
|
-
case "com.amazonaws.docdb#DBParameterGroupQuotaExceededFault":
|
|
1923
|
-
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
1924
|
-
default:
|
|
1925
|
-
const parsedBody = parsedOutput.body;
|
|
1926
|
-
return throwDefaultError({
|
|
1927
|
-
output,
|
|
1928
|
-
parsedBody: parsedBody.Error,
|
|
1929
|
-
errorCode
|
|
1930
|
-
});
|
|
1931
|
-
}
|
|
1932
|
-
}, "de_CopyDBClusterParameterGroupCommandError");
|
|
1933
1836
|
var de_CopyDBClusterSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1934
1837
|
if (output.statusCode >= 300) {
|
|
1935
|
-
return
|
|
1838
|
+
return de_CommandError(output, context);
|
|
1936
1839
|
}
|
|
1937
1840
|
const data = await parseBody(output.body, context);
|
|
1938
1841
|
let contents = {};
|
|
@@ -1943,43 +1846,9 @@ var de_CopyDBClusterSnapshotCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1943
1846
|
};
|
|
1944
1847
|
return response;
|
|
1945
1848
|
}, "de_CopyDBClusterSnapshotCommand");
|
|
1946
|
-
var de_CopyDBClusterSnapshotCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1947
|
-
const parsedOutput = {
|
|
1948
|
-
...output,
|
|
1949
|
-
body: await parseErrorBody(output.body, context)
|
|
1950
|
-
};
|
|
1951
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1952
|
-
switch (errorCode) {
|
|
1953
|
-
case "DBClusterSnapshotAlreadyExistsFault":
|
|
1954
|
-
case "com.amazonaws.docdb#DBClusterSnapshotAlreadyExistsFault":
|
|
1955
|
-
throw await de_DBClusterSnapshotAlreadyExistsFaultRes(parsedOutput, context);
|
|
1956
|
-
case "DBClusterSnapshotNotFoundFault":
|
|
1957
|
-
case "com.amazonaws.docdb#DBClusterSnapshotNotFoundFault":
|
|
1958
|
-
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
1959
|
-
case "InvalidDBClusterSnapshotStateFault":
|
|
1960
|
-
case "com.amazonaws.docdb#InvalidDBClusterSnapshotStateFault":
|
|
1961
|
-
throw await de_InvalidDBClusterSnapshotStateFaultRes(parsedOutput, context);
|
|
1962
|
-
case "InvalidDBClusterStateFault":
|
|
1963
|
-
case "com.amazonaws.docdb#InvalidDBClusterStateFault":
|
|
1964
|
-
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
1965
|
-
case "KMSKeyNotAccessibleFault":
|
|
1966
|
-
case "com.amazonaws.docdb#KMSKeyNotAccessibleFault":
|
|
1967
|
-
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
1968
|
-
case "SnapshotQuotaExceeded":
|
|
1969
|
-
case "com.amazonaws.docdb#SnapshotQuotaExceededFault":
|
|
1970
|
-
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
1971
|
-
default:
|
|
1972
|
-
const parsedBody = parsedOutput.body;
|
|
1973
|
-
return throwDefaultError({
|
|
1974
|
-
output,
|
|
1975
|
-
parsedBody: parsedBody.Error,
|
|
1976
|
-
errorCode
|
|
1977
|
-
});
|
|
1978
|
-
}
|
|
1979
|
-
}, "de_CopyDBClusterSnapshotCommandError");
|
|
1980
1849
|
var de_CreateDBClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1981
1850
|
if (output.statusCode >= 300) {
|
|
1982
|
-
return
|
|
1851
|
+
return de_CommandError(output, context);
|
|
1983
1852
|
}
|
|
1984
1853
|
const data = await parseBody(output.body, context);
|
|
1985
1854
|
let contents = {};
|
|
@@ -1990,76 +1859,9 @@ var de_CreateDBClusterCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1990
1859
|
};
|
|
1991
1860
|
return response;
|
|
1992
1861
|
}, "de_CreateDBClusterCommand");
|
|
1993
|
-
var de_CreateDBClusterCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1994
|
-
const parsedOutput = {
|
|
1995
|
-
...output,
|
|
1996
|
-
body: await parseErrorBody(output.body, context)
|
|
1997
|
-
};
|
|
1998
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1999
|
-
switch (errorCode) {
|
|
2000
|
-
case "DBClusterAlreadyExistsFault":
|
|
2001
|
-
case "com.amazonaws.docdb#DBClusterAlreadyExistsFault":
|
|
2002
|
-
throw await de_DBClusterAlreadyExistsFaultRes(parsedOutput, context);
|
|
2003
|
-
case "DBClusterNotFoundFault":
|
|
2004
|
-
case "com.amazonaws.docdb#DBClusterNotFoundFault":
|
|
2005
|
-
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
2006
|
-
case "DBClusterParameterGroupNotFound":
|
|
2007
|
-
case "com.amazonaws.docdb#DBClusterParameterGroupNotFoundFault":
|
|
2008
|
-
throw await de_DBClusterParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
2009
|
-
case "DBClusterQuotaExceededFault":
|
|
2010
|
-
case "com.amazonaws.docdb#DBClusterQuotaExceededFault":
|
|
2011
|
-
throw await de_DBClusterQuotaExceededFaultRes(parsedOutput, context);
|
|
2012
|
-
case "DBInstanceNotFound":
|
|
2013
|
-
case "com.amazonaws.docdb#DBInstanceNotFoundFault":
|
|
2014
|
-
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
2015
|
-
case "DBSubnetGroupDoesNotCoverEnoughAZs":
|
|
2016
|
-
case "com.amazonaws.docdb#DBSubnetGroupDoesNotCoverEnoughAZs":
|
|
2017
|
-
throw await de_DBSubnetGroupDoesNotCoverEnoughAZsRes(parsedOutput, context);
|
|
2018
|
-
case "DBSubnetGroupNotFoundFault":
|
|
2019
|
-
case "com.amazonaws.docdb#DBSubnetGroupNotFoundFault":
|
|
2020
|
-
throw await de_DBSubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
2021
|
-
case "GlobalClusterNotFoundFault":
|
|
2022
|
-
case "com.amazonaws.docdb#GlobalClusterNotFoundFault":
|
|
2023
|
-
throw await de_GlobalClusterNotFoundFaultRes(parsedOutput, context);
|
|
2024
|
-
case "InsufficientStorageClusterCapacity":
|
|
2025
|
-
case "com.amazonaws.docdb#InsufficientStorageClusterCapacityFault":
|
|
2026
|
-
throw await de_InsufficientStorageClusterCapacityFaultRes(parsedOutput, context);
|
|
2027
|
-
case "InvalidDBClusterStateFault":
|
|
2028
|
-
case "com.amazonaws.docdb#InvalidDBClusterStateFault":
|
|
2029
|
-
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
2030
|
-
case "InvalidDBInstanceState":
|
|
2031
|
-
case "com.amazonaws.docdb#InvalidDBInstanceStateFault":
|
|
2032
|
-
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
2033
|
-
case "InvalidDBSubnetGroupStateFault":
|
|
2034
|
-
case "com.amazonaws.docdb#InvalidDBSubnetGroupStateFault":
|
|
2035
|
-
throw await de_InvalidDBSubnetGroupStateFaultRes(parsedOutput, context);
|
|
2036
|
-
case "InvalidGlobalClusterStateFault":
|
|
2037
|
-
case "com.amazonaws.docdb#InvalidGlobalClusterStateFault":
|
|
2038
|
-
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
2039
|
-
case "InvalidSubnet":
|
|
2040
|
-
case "com.amazonaws.docdb#InvalidSubnet":
|
|
2041
|
-
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
2042
|
-
case "InvalidVPCNetworkStateFault":
|
|
2043
|
-
case "com.amazonaws.docdb#InvalidVPCNetworkStateFault":
|
|
2044
|
-
throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
|
|
2045
|
-
case "KMSKeyNotAccessibleFault":
|
|
2046
|
-
case "com.amazonaws.docdb#KMSKeyNotAccessibleFault":
|
|
2047
|
-
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
2048
|
-
case "StorageQuotaExceeded":
|
|
2049
|
-
case "com.amazonaws.docdb#StorageQuotaExceededFault":
|
|
2050
|
-
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
2051
|
-
default:
|
|
2052
|
-
const parsedBody = parsedOutput.body;
|
|
2053
|
-
return throwDefaultError({
|
|
2054
|
-
output,
|
|
2055
|
-
parsedBody: parsedBody.Error,
|
|
2056
|
-
errorCode
|
|
2057
|
-
});
|
|
2058
|
-
}
|
|
2059
|
-
}, "de_CreateDBClusterCommandError");
|
|
2060
1862
|
var de_CreateDBClusterParameterGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2061
1863
|
if (output.statusCode >= 300) {
|
|
2062
|
-
return
|
|
1864
|
+
return de_CommandError(output, context);
|
|
2063
1865
|
}
|
|
2064
1866
|
const data = await parseBody(output.body, context);
|
|
2065
1867
|
let contents = {};
|
|
@@ -2070,31 +1872,9 @@ var de_CreateDBClusterParameterGroupCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2070
1872
|
};
|
|
2071
1873
|
return response;
|
|
2072
1874
|
}, "de_CreateDBClusterParameterGroupCommand");
|
|
2073
|
-
var de_CreateDBClusterParameterGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2074
|
-
const parsedOutput = {
|
|
2075
|
-
...output,
|
|
2076
|
-
body: await parseErrorBody(output.body, context)
|
|
2077
|
-
};
|
|
2078
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2079
|
-
switch (errorCode) {
|
|
2080
|
-
case "DBParameterGroupAlreadyExists":
|
|
2081
|
-
case "com.amazonaws.docdb#DBParameterGroupAlreadyExistsFault":
|
|
2082
|
-
throw await de_DBParameterGroupAlreadyExistsFaultRes(parsedOutput, context);
|
|
2083
|
-
case "DBParameterGroupQuotaExceeded":
|
|
2084
|
-
case "com.amazonaws.docdb#DBParameterGroupQuotaExceededFault":
|
|
2085
|
-
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
2086
|
-
default:
|
|
2087
|
-
const parsedBody = parsedOutput.body;
|
|
2088
|
-
return throwDefaultError({
|
|
2089
|
-
output,
|
|
2090
|
-
parsedBody: parsedBody.Error,
|
|
2091
|
-
errorCode
|
|
2092
|
-
});
|
|
2093
|
-
}
|
|
2094
|
-
}, "de_CreateDBClusterParameterGroupCommandError");
|
|
2095
1875
|
var de_CreateDBClusterSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2096
1876
|
if (output.statusCode >= 300) {
|
|
2097
|
-
return
|
|
1877
|
+
return de_CommandError(output, context);
|
|
2098
1878
|
}
|
|
2099
1879
|
const data = await parseBody(output.body, context);
|
|
2100
1880
|
let contents = {};
|
|
@@ -2105,40 +1885,9 @@ var de_CreateDBClusterSnapshotCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2105
1885
|
};
|
|
2106
1886
|
return response;
|
|
2107
1887
|
}, "de_CreateDBClusterSnapshotCommand");
|
|
2108
|
-
var de_CreateDBClusterSnapshotCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2109
|
-
const parsedOutput = {
|
|
2110
|
-
...output,
|
|
2111
|
-
body: await parseErrorBody(output.body, context)
|
|
2112
|
-
};
|
|
2113
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2114
|
-
switch (errorCode) {
|
|
2115
|
-
case "DBClusterNotFoundFault":
|
|
2116
|
-
case "com.amazonaws.docdb#DBClusterNotFoundFault":
|
|
2117
|
-
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
2118
|
-
case "DBClusterSnapshotAlreadyExistsFault":
|
|
2119
|
-
case "com.amazonaws.docdb#DBClusterSnapshotAlreadyExistsFault":
|
|
2120
|
-
throw await de_DBClusterSnapshotAlreadyExistsFaultRes(parsedOutput, context);
|
|
2121
|
-
case "InvalidDBClusterSnapshotStateFault":
|
|
2122
|
-
case "com.amazonaws.docdb#InvalidDBClusterSnapshotStateFault":
|
|
2123
|
-
throw await de_InvalidDBClusterSnapshotStateFaultRes(parsedOutput, context);
|
|
2124
|
-
case "InvalidDBClusterStateFault":
|
|
2125
|
-
case "com.amazonaws.docdb#InvalidDBClusterStateFault":
|
|
2126
|
-
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
2127
|
-
case "SnapshotQuotaExceeded":
|
|
2128
|
-
case "com.amazonaws.docdb#SnapshotQuotaExceededFault":
|
|
2129
|
-
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
2130
|
-
default:
|
|
2131
|
-
const parsedBody = parsedOutput.body;
|
|
2132
|
-
return throwDefaultError({
|
|
2133
|
-
output,
|
|
2134
|
-
parsedBody: parsedBody.Error,
|
|
2135
|
-
errorCode
|
|
2136
|
-
});
|
|
2137
|
-
}
|
|
2138
|
-
}, "de_CreateDBClusterSnapshotCommandError");
|
|
2139
1888
|
var de_CreateDBInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2140
1889
|
if (output.statusCode >= 300) {
|
|
2141
|
-
return
|
|
1890
|
+
return de_CommandError(output, context);
|
|
2142
1891
|
}
|
|
2143
1892
|
const data = await parseBody(output.body, context);
|
|
2144
1893
|
let contents = {};
|
|
@@ -2149,114 +1898,22 @@ var de_CreateDBInstanceCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2149
1898
|
};
|
|
2150
1899
|
return response;
|
|
2151
1900
|
}, "de_CreateDBInstanceCommand");
|
|
2152
|
-
var
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
case "DBClusterNotFoundFault":
|
|
2163
|
-
case "com.amazonaws.docdb#DBClusterNotFoundFault":
|
|
2164
|
-
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
2165
|
-
case "DBInstanceAlreadyExists":
|
|
2166
|
-
case "com.amazonaws.docdb#DBInstanceAlreadyExistsFault":
|
|
2167
|
-
throw await de_DBInstanceAlreadyExistsFaultRes(parsedOutput, context);
|
|
2168
|
-
case "DBParameterGroupNotFound":
|
|
2169
|
-
case "com.amazonaws.docdb#DBParameterGroupNotFoundFault":
|
|
2170
|
-
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
2171
|
-
case "DBSecurityGroupNotFound":
|
|
2172
|
-
case "com.amazonaws.docdb#DBSecurityGroupNotFoundFault":
|
|
2173
|
-
throw await de_DBSecurityGroupNotFoundFaultRes(parsedOutput, context);
|
|
2174
|
-
case "DBSubnetGroupDoesNotCoverEnoughAZs":
|
|
2175
|
-
case "com.amazonaws.docdb#DBSubnetGroupDoesNotCoverEnoughAZs":
|
|
2176
|
-
throw await de_DBSubnetGroupDoesNotCoverEnoughAZsRes(parsedOutput, context);
|
|
2177
|
-
case "DBSubnetGroupNotFoundFault":
|
|
2178
|
-
case "com.amazonaws.docdb#DBSubnetGroupNotFoundFault":
|
|
2179
|
-
throw await de_DBSubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
2180
|
-
case "InstanceQuotaExceeded":
|
|
2181
|
-
case "com.amazonaws.docdb#InstanceQuotaExceededFault":
|
|
2182
|
-
throw await de_InstanceQuotaExceededFaultRes(parsedOutput, context);
|
|
2183
|
-
case "InsufficientDBInstanceCapacity":
|
|
2184
|
-
case "com.amazonaws.docdb#InsufficientDBInstanceCapacityFault":
|
|
2185
|
-
throw await de_InsufficientDBInstanceCapacityFaultRes(parsedOutput, context);
|
|
2186
|
-
case "InvalidDBClusterStateFault":
|
|
2187
|
-
case "com.amazonaws.docdb#InvalidDBClusterStateFault":
|
|
2188
|
-
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
2189
|
-
case "InvalidSubnet":
|
|
2190
|
-
case "com.amazonaws.docdb#InvalidSubnet":
|
|
2191
|
-
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
2192
|
-
case "InvalidVPCNetworkStateFault":
|
|
2193
|
-
case "com.amazonaws.docdb#InvalidVPCNetworkStateFault":
|
|
2194
|
-
throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
|
|
2195
|
-
case "KMSKeyNotAccessibleFault":
|
|
2196
|
-
case "com.amazonaws.docdb#KMSKeyNotAccessibleFault":
|
|
2197
|
-
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
2198
|
-
case "StorageQuotaExceeded":
|
|
2199
|
-
case "com.amazonaws.docdb#StorageQuotaExceededFault":
|
|
2200
|
-
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
2201
|
-
case "StorageTypeNotSupported":
|
|
2202
|
-
case "com.amazonaws.docdb#StorageTypeNotSupportedFault":
|
|
2203
|
-
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
2204
|
-
default:
|
|
2205
|
-
const parsedBody = parsedOutput.body;
|
|
2206
|
-
return throwDefaultError({
|
|
2207
|
-
output,
|
|
2208
|
-
parsedBody: parsedBody.Error,
|
|
2209
|
-
errorCode
|
|
2210
|
-
});
|
|
2211
|
-
}
|
|
2212
|
-
}, "de_CreateDBInstanceCommandError");
|
|
2213
|
-
var de_CreateDBSubnetGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2214
|
-
if (output.statusCode >= 300) {
|
|
2215
|
-
return de_CreateDBSubnetGroupCommandError(output, context);
|
|
2216
|
-
}
|
|
2217
|
-
const data = await parseBody(output.body, context);
|
|
2218
|
-
let contents = {};
|
|
2219
|
-
contents = de_CreateDBSubnetGroupResult(data.CreateDBSubnetGroupResult, context);
|
|
2220
|
-
const response = {
|
|
2221
|
-
$metadata: deserializeMetadata(output),
|
|
2222
|
-
...contents
|
|
1901
|
+
var de_CreateDBSubnetGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1902
|
+
if (output.statusCode >= 300) {
|
|
1903
|
+
return de_CommandError(output, context);
|
|
1904
|
+
}
|
|
1905
|
+
const data = await parseBody(output.body, context);
|
|
1906
|
+
let contents = {};
|
|
1907
|
+
contents = de_CreateDBSubnetGroupResult(data.CreateDBSubnetGroupResult, context);
|
|
1908
|
+
const response = {
|
|
1909
|
+
$metadata: deserializeMetadata(output),
|
|
1910
|
+
...contents
|
|
2223
1911
|
};
|
|
2224
1912
|
return response;
|
|
2225
1913
|
}, "de_CreateDBSubnetGroupCommand");
|
|
2226
|
-
var de_CreateDBSubnetGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2227
|
-
const parsedOutput = {
|
|
2228
|
-
...output,
|
|
2229
|
-
body: await parseErrorBody(output.body, context)
|
|
2230
|
-
};
|
|
2231
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2232
|
-
switch (errorCode) {
|
|
2233
|
-
case "DBSubnetGroupAlreadyExists":
|
|
2234
|
-
case "com.amazonaws.docdb#DBSubnetGroupAlreadyExistsFault":
|
|
2235
|
-
throw await de_DBSubnetGroupAlreadyExistsFaultRes(parsedOutput, context);
|
|
2236
|
-
case "DBSubnetGroupDoesNotCoverEnoughAZs":
|
|
2237
|
-
case "com.amazonaws.docdb#DBSubnetGroupDoesNotCoverEnoughAZs":
|
|
2238
|
-
throw await de_DBSubnetGroupDoesNotCoverEnoughAZsRes(parsedOutput, context);
|
|
2239
|
-
case "DBSubnetGroupQuotaExceeded":
|
|
2240
|
-
case "com.amazonaws.docdb#DBSubnetGroupQuotaExceededFault":
|
|
2241
|
-
throw await de_DBSubnetGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
2242
|
-
case "DBSubnetQuotaExceededFault":
|
|
2243
|
-
case "com.amazonaws.docdb#DBSubnetQuotaExceededFault":
|
|
2244
|
-
throw await de_DBSubnetQuotaExceededFaultRes(parsedOutput, context);
|
|
2245
|
-
case "InvalidSubnet":
|
|
2246
|
-
case "com.amazonaws.docdb#InvalidSubnet":
|
|
2247
|
-
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
2248
|
-
default:
|
|
2249
|
-
const parsedBody = parsedOutput.body;
|
|
2250
|
-
return throwDefaultError({
|
|
2251
|
-
output,
|
|
2252
|
-
parsedBody: parsedBody.Error,
|
|
2253
|
-
errorCode
|
|
2254
|
-
});
|
|
2255
|
-
}
|
|
2256
|
-
}, "de_CreateDBSubnetGroupCommandError");
|
|
2257
1914
|
var de_CreateEventSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2258
1915
|
if (output.statusCode >= 300) {
|
|
2259
|
-
return
|
|
1916
|
+
return de_CommandError(output, context);
|
|
2260
1917
|
}
|
|
2261
1918
|
const data = await parseBody(output.body, context);
|
|
2262
1919
|
let contents = {};
|
|
@@ -2267,46 +1924,9 @@ var de_CreateEventSubscriptionCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2267
1924
|
};
|
|
2268
1925
|
return response;
|
|
2269
1926
|
}, "de_CreateEventSubscriptionCommand");
|
|
2270
|
-
var de_CreateEventSubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2271
|
-
const parsedOutput = {
|
|
2272
|
-
...output,
|
|
2273
|
-
body: await parseErrorBody(output.body, context)
|
|
2274
|
-
};
|
|
2275
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2276
|
-
switch (errorCode) {
|
|
2277
|
-
case "EventSubscriptionQuotaExceeded":
|
|
2278
|
-
case "com.amazonaws.docdb#EventSubscriptionQuotaExceededFault":
|
|
2279
|
-
throw await de_EventSubscriptionQuotaExceededFaultRes(parsedOutput, context);
|
|
2280
|
-
case "SNSInvalidTopic":
|
|
2281
|
-
case "com.amazonaws.docdb#SNSInvalidTopicFault":
|
|
2282
|
-
throw await de_SNSInvalidTopicFaultRes(parsedOutput, context);
|
|
2283
|
-
case "SNSNoAuthorization":
|
|
2284
|
-
case "com.amazonaws.docdb#SNSNoAuthorizationFault":
|
|
2285
|
-
throw await de_SNSNoAuthorizationFaultRes(parsedOutput, context);
|
|
2286
|
-
case "SNSTopicArnNotFound":
|
|
2287
|
-
case "com.amazonaws.docdb#SNSTopicArnNotFoundFault":
|
|
2288
|
-
throw await de_SNSTopicArnNotFoundFaultRes(parsedOutput, context);
|
|
2289
|
-
case "SourceNotFound":
|
|
2290
|
-
case "com.amazonaws.docdb#SourceNotFoundFault":
|
|
2291
|
-
throw await de_SourceNotFoundFaultRes(parsedOutput, context);
|
|
2292
|
-
case "SubscriptionAlreadyExist":
|
|
2293
|
-
case "com.amazonaws.docdb#SubscriptionAlreadyExistFault":
|
|
2294
|
-
throw await de_SubscriptionAlreadyExistFaultRes(parsedOutput, context);
|
|
2295
|
-
case "SubscriptionCategoryNotFound":
|
|
2296
|
-
case "com.amazonaws.docdb#SubscriptionCategoryNotFoundFault":
|
|
2297
|
-
throw await de_SubscriptionCategoryNotFoundFaultRes(parsedOutput, context);
|
|
2298
|
-
default:
|
|
2299
|
-
const parsedBody = parsedOutput.body;
|
|
2300
|
-
return throwDefaultError({
|
|
2301
|
-
output,
|
|
2302
|
-
parsedBody: parsedBody.Error,
|
|
2303
|
-
errorCode
|
|
2304
|
-
});
|
|
2305
|
-
}
|
|
2306
|
-
}, "de_CreateEventSubscriptionCommandError");
|
|
2307
1927
|
var de_CreateGlobalClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2308
1928
|
if (output.statusCode >= 300) {
|
|
2309
|
-
return
|
|
1929
|
+
return de_CommandError(output, context);
|
|
2310
1930
|
}
|
|
2311
1931
|
const data = await parseBody(output.body, context);
|
|
2312
1932
|
let contents = {};
|
|
@@ -2317,37 +1937,9 @@ var de_CreateGlobalClusterCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2317
1937
|
};
|
|
2318
1938
|
return response;
|
|
2319
1939
|
}, "de_CreateGlobalClusterCommand");
|
|
2320
|
-
var de_CreateGlobalClusterCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2321
|
-
const parsedOutput = {
|
|
2322
|
-
...output,
|
|
2323
|
-
body: await parseErrorBody(output.body, context)
|
|
2324
|
-
};
|
|
2325
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2326
|
-
switch (errorCode) {
|
|
2327
|
-
case "DBClusterNotFoundFault":
|
|
2328
|
-
case "com.amazonaws.docdb#DBClusterNotFoundFault":
|
|
2329
|
-
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
2330
|
-
case "GlobalClusterAlreadyExistsFault":
|
|
2331
|
-
case "com.amazonaws.docdb#GlobalClusterAlreadyExistsFault":
|
|
2332
|
-
throw await de_GlobalClusterAlreadyExistsFaultRes(parsedOutput, context);
|
|
2333
|
-
case "GlobalClusterQuotaExceededFault":
|
|
2334
|
-
case "com.amazonaws.docdb#GlobalClusterQuotaExceededFault":
|
|
2335
|
-
throw await de_GlobalClusterQuotaExceededFaultRes(parsedOutput, context);
|
|
2336
|
-
case "InvalidDBClusterStateFault":
|
|
2337
|
-
case "com.amazonaws.docdb#InvalidDBClusterStateFault":
|
|
2338
|
-
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
2339
|
-
default:
|
|
2340
|
-
const parsedBody = parsedOutput.body;
|
|
2341
|
-
return throwDefaultError({
|
|
2342
|
-
output,
|
|
2343
|
-
parsedBody: parsedBody.Error,
|
|
2344
|
-
errorCode
|
|
2345
|
-
});
|
|
2346
|
-
}
|
|
2347
|
-
}, "de_CreateGlobalClusterCommandError");
|
|
2348
1940
|
var de_DeleteDBClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2349
1941
|
if (output.statusCode >= 300) {
|
|
2350
|
-
return
|
|
1942
|
+
return de_CommandError(output, context);
|
|
2351
1943
|
}
|
|
2352
1944
|
const data = await parseBody(output.body, context);
|
|
2353
1945
|
let contents = {};
|
|
@@ -2358,40 +1950,9 @@ var de_DeleteDBClusterCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2358
1950
|
};
|
|
2359
1951
|
return response;
|
|
2360
1952
|
}, "de_DeleteDBClusterCommand");
|
|
2361
|
-
var de_DeleteDBClusterCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2362
|
-
const parsedOutput = {
|
|
2363
|
-
...output,
|
|
2364
|
-
body: await parseErrorBody(output.body, context)
|
|
2365
|
-
};
|
|
2366
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2367
|
-
switch (errorCode) {
|
|
2368
|
-
case "DBClusterNotFoundFault":
|
|
2369
|
-
case "com.amazonaws.docdb#DBClusterNotFoundFault":
|
|
2370
|
-
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
2371
|
-
case "DBClusterSnapshotAlreadyExistsFault":
|
|
2372
|
-
case "com.amazonaws.docdb#DBClusterSnapshotAlreadyExistsFault":
|
|
2373
|
-
throw await de_DBClusterSnapshotAlreadyExistsFaultRes(parsedOutput, context);
|
|
2374
|
-
case "InvalidDBClusterSnapshotStateFault":
|
|
2375
|
-
case "com.amazonaws.docdb#InvalidDBClusterSnapshotStateFault":
|
|
2376
|
-
throw await de_InvalidDBClusterSnapshotStateFaultRes(parsedOutput, context);
|
|
2377
|
-
case "InvalidDBClusterStateFault":
|
|
2378
|
-
case "com.amazonaws.docdb#InvalidDBClusterStateFault":
|
|
2379
|
-
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
2380
|
-
case "SnapshotQuotaExceeded":
|
|
2381
|
-
case "com.amazonaws.docdb#SnapshotQuotaExceededFault":
|
|
2382
|
-
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
2383
|
-
default:
|
|
2384
|
-
const parsedBody = parsedOutput.body;
|
|
2385
|
-
return throwDefaultError({
|
|
2386
|
-
output,
|
|
2387
|
-
parsedBody: parsedBody.Error,
|
|
2388
|
-
errorCode
|
|
2389
|
-
});
|
|
2390
|
-
}
|
|
2391
|
-
}, "de_DeleteDBClusterCommandError");
|
|
2392
1953
|
var de_DeleteDBClusterParameterGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2393
1954
|
if (output.statusCode >= 300) {
|
|
2394
|
-
return
|
|
1955
|
+
return de_CommandError(output, context);
|
|
2395
1956
|
}
|
|
2396
1957
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2397
1958
|
const response = {
|
|
@@ -2399,31 +1960,9 @@ var de_DeleteDBClusterParameterGroupCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2399
1960
|
};
|
|
2400
1961
|
return response;
|
|
2401
1962
|
}, "de_DeleteDBClusterParameterGroupCommand");
|
|
2402
|
-
var de_DeleteDBClusterParameterGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2403
|
-
const parsedOutput = {
|
|
2404
|
-
...output,
|
|
2405
|
-
body: await parseErrorBody(output.body, context)
|
|
2406
|
-
};
|
|
2407
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2408
|
-
switch (errorCode) {
|
|
2409
|
-
case "DBParameterGroupNotFound":
|
|
2410
|
-
case "com.amazonaws.docdb#DBParameterGroupNotFoundFault":
|
|
2411
|
-
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
2412
|
-
case "InvalidDBParameterGroupState":
|
|
2413
|
-
case "com.amazonaws.docdb#InvalidDBParameterGroupStateFault":
|
|
2414
|
-
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
2415
|
-
default:
|
|
2416
|
-
const parsedBody = parsedOutput.body;
|
|
2417
|
-
return throwDefaultError({
|
|
2418
|
-
output,
|
|
2419
|
-
parsedBody: parsedBody.Error,
|
|
2420
|
-
errorCode
|
|
2421
|
-
});
|
|
2422
|
-
}
|
|
2423
|
-
}, "de_DeleteDBClusterParameterGroupCommandError");
|
|
2424
1963
|
var de_DeleteDBClusterSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2425
1964
|
if (output.statusCode >= 300) {
|
|
2426
|
-
return
|
|
1965
|
+
return de_CommandError(output, context);
|
|
2427
1966
|
}
|
|
2428
1967
|
const data = await parseBody(output.body, context);
|
|
2429
1968
|
let contents = {};
|
|
@@ -2434,31 +1973,9 @@ var de_DeleteDBClusterSnapshotCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2434
1973
|
};
|
|
2435
1974
|
return response;
|
|
2436
1975
|
}, "de_DeleteDBClusterSnapshotCommand");
|
|
2437
|
-
var de_DeleteDBClusterSnapshotCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2438
|
-
const parsedOutput = {
|
|
2439
|
-
...output,
|
|
2440
|
-
body: await parseErrorBody(output.body, context)
|
|
2441
|
-
};
|
|
2442
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2443
|
-
switch (errorCode) {
|
|
2444
|
-
case "DBClusterSnapshotNotFoundFault":
|
|
2445
|
-
case "com.amazonaws.docdb#DBClusterSnapshotNotFoundFault":
|
|
2446
|
-
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
2447
|
-
case "InvalidDBClusterSnapshotStateFault":
|
|
2448
|
-
case "com.amazonaws.docdb#InvalidDBClusterSnapshotStateFault":
|
|
2449
|
-
throw await de_InvalidDBClusterSnapshotStateFaultRes(parsedOutput, context);
|
|
2450
|
-
default:
|
|
2451
|
-
const parsedBody = parsedOutput.body;
|
|
2452
|
-
return throwDefaultError({
|
|
2453
|
-
output,
|
|
2454
|
-
parsedBody: parsedBody.Error,
|
|
2455
|
-
errorCode
|
|
2456
|
-
});
|
|
2457
|
-
}
|
|
2458
|
-
}, "de_DeleteDBClusterSnapshotCommandError");
|
|
2459
1976
|
var de_DeleteDBInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2460
1977
|
if (output.statusCode >= 300) {
|
|
2461
|
-
return
|
|
1978
|
+
return de_CommandError(output, context);
|
|
2462
1979
|
}
|
|
2463
1980
|
const data = await parseBody(output.body, context);
|
|
2464
1981
|
let contents = {};
|
|
@@ -2469,40 +1986,9 @@ var de_DeleteDBInstanceCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2469
1986
|
};
|
|
2470
1987
|
return response;
|
|
2471
1988
|
}, "de_DeleteDBInstanceCommand");
|
|
2472
|
-
var de_DeleteDBInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2473
|
-
const parsedOutput = {
|
|
2474
|
-
...output,
|
|
2475
|
-
body: await parseErrorBody(output.body, context)
|
|
2476
|
-
};
|
|
2477
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2478
|
-
switch (errorCode) {
|
|
2479
|
-
case "DBInstanceNotFound":
|
|
2480
|
-
case "com.amazonaws.docdb#DBInstanceNotFoundFault":
|
|
2481
|
-
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
2482
|
-
case "DBSnapshotAlreadyExists":
|
|
2483
|
-
case "com.amazonaws.docdb#DBSnapshotAlreadyExistsFault":
|
|
2484
|
-
throw await de_DBSnapshotAlreadyExistsFaultRes(parsedOutput, context);
|
|
2485
|
-
case "InvalidDBClusterStateFault":
|
|
2486
|
-
case "com.amazonaws.docdb#InvalidDBClusterStateFault":
|
|
2487
|
-
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
2488
|
-
case "InvalidDBInstanceState":
|
|
2489
|
-
case "com.amazonaws.docdb#InvalidDBInstanceStateFault":
|
|
2490
|
-
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
2491
|
-
case "SnapshotQuotaExceeded":
|
|
2492
|
-
case "com.amazonaws.docdb#SnapshotQuotaExceededFault":
|
|
2493
|
-
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
2494
|
-
default:
|
|
2495
|
-
const parsedBody = parsedOutput.body;
|
|
2496
|
-
return throwDefaultError({
|
|
2497
|
-
output,
|
|
2498
|
-
parsedBody: parsedBody.Error,
|
|
2499
|
-
errorCode
|
|
2500
|
-
});
|
|
2501
|
-
}
|
|
2502
|
-
}, "de_DeleteDBInstanceCommandError");
|
|
2503
1989
|
var de_DeleteDBSubnetGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2504
1990
|
if (output.statusCode >= 300) {
|
|
2505
|
-
return
|
|
1991
|
+
return de_CommandError(output, context);
|
|
2506
1992
|
}
|
|
2507
1993
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2508
1994
|
const response = {
|
|
@@ -2510,69 +1996,22 @@ var de_DeleteDBSubnetGroupCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2510
1996
|
};
|
|
2511
1997
|
return response;
|
|
2512
1998
|
}, "de_DeleteDBSubnetGroupCommand");
|
|
2513
|
-
var
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
case "InvalidDBSubnetGroupStateFault":
|
|
2524
|
-
case "com.amazonaws.docdb#InvalidDBSubnetGroupStateFault":
|
|
2525
|
-
throw await de_InvalidDBSubnetGroupStateFaultRes(parsedOutput, context);
|
|
2526
|
-
case "InvalidDBSubnetStateFault":
|
|
2527
|
-
case "com.amazonaws.docdb#InvalidDBSubnetStateFault":
|
|
2528
|
-
throw await de_InvalidDBSubnetStateFaultRes(parsedOutput, context);
|
|
2529
|
-
default:
|
|
2530
|
-
const parsedBody = parsedOutput.body;
|
|
2531
|
-
return throwDefaultError({
|
|
2532
|
-
output,
|
|
2533
|
-
parsedBody: parsedBody.Error,
|
|
2534
|
-
errorCode
|
|
2535
|
-
});
|
|
2536
|
-
}
|
|
2537
|
-
}, "de_DeleteDBSubnetGroupCommandError");
|
|
2538
|
-
var de_DeleteEventSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2539
|
-
if (output.statusCode >= 300) {
|
|
2540
|
-
return de_DeleteEventSubscriptionCommandError(output, context);
|
|
2541
|
-
}
|
|
2542
|
-
const data = await parseBody(output.body, context);
|
|
2543
|
-
let contents = {};
|
|
2544
|
-
contents = de_DeleteEventSubscriptionResult(data.DeleteEventSubscriptionResult, context);
|
|
2545
|
-
const response = {
|
|
2546
|
-
$metadata: deserializeMetadata(output),
|
|
2547
|
-
...contents
|
|
1999
|
+
var de_DeleteEventSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2000
|
+
if (output.statusCode >= 300) {
|
|
2001
|
+
return de_CommandError(output, context);
|
|
2002
|
+
}
|
|
2003
|
+
const data = await parseBody(output.body, context);
|
|
2004
|
+
let contents = {};
|
|
2005
|
+
contents = de_DeleteEventSubscriptionResult(data.DeleteEventSubscriptionResult, context);
|
|
2006
|
+
const response = {
|
|
2007
|
+
$metadata: deserializeMetadata(output),
|
|
2008
|
+
...contents
|
|
2548
2009
|
};
|
|
2549
2010
|
return response;
|
|
2550
2011
|
}, "de_DeleteEventSubscriptionCommand");
|
|
2551
|
-
var de_DeleteEventSubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2552
|
-
const parsedOutput = {
|
|
2553
|
-
...output,
|
|
2554
|
-
body: await parseErrorBody(output.body, context)
|
|
2555
|
-
};
|
|
2556
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2557
|
-
switch (errorCode) {
|
|
2558
|
-
case "InvalidEventSubscriptionState":
|
|
2559
|
-
case "com.amazonaws.docdb#InvalidEventSubscriptionStateFault":
|
|
2560
|
-
throw await de_InvalidEventSubscriptionStateFaultRes(parsedOutput, context);
|
|
2561
|
-
case "SubscriptionNotFound":
|
|
2562
|
-
case "com.amazonaws.docdb#SubscriptionNotFoundFault":
|
|
2563
|
-
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
2564
|
-
default:
|
|
2565
|
-
const parsedBody = parsedOutput.body;
|
|
2566
|
-
return throwDefaultError({
|
|
2567
|
-
output,
|
|
2568
|
-
parsedBody: parsedBody.Error,
|
|
2569
|
-
errorCode
|
|
2570
|
-
});
|
|
2571
|
-
}
|
|
2572
|
-
}, "de_DeleteEventSubscriptionCommandError");
|
|
2573
2012
|
var de_DeleteGlobalClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2574
2013
|
if (output.statusCode >= 300) {
|
|
2575
|
-
return
|
|
2014
|
+
return de_CommandError(output, context);
|
|
2576
2015
|
}
|
|
2577
2016
|
const data = await parseBody(output.body, context);
|
|
2578
2017
|
let contents = {};
|
|
@@ -2583,31 +2022,9 @@ var de_DeleteGlobalClusterCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2583
2022
|
};
|
|
2584
2023
|
return response;
|
|
2585
2024
|
}, "de_DeleteGlobalClusterCommand");
|
|
2586
|
-
var de_DeleteGlobalClusterCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2587
|
-
const parsedOutput = {
|
|
2588
|
-
...output,
|
|
2589
|
-
body: await parseErrorBody(output.body, context)
|
|
2590
|
-
};
|
|
2591
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2592
|
-
switch (errorCode) {
|
|
2593
|
-
case "GlobalClusterNotFoundFault":
|
|
2594
|
-
case "com.amazonaws.docdb#GlobalClusterNotFoundFault":
|
|
2595
|
-
throw await de_GlobalClusterNotFoundFaultRes(parsedOutput, context);
|
|
2596
|
-
case "InvalidGlobalClusterStateFault":
|
|
2597
|
-
case "com.amazonaws.docdb#InvalidGlobalClusterStateFault":
|
|
2598
|
-
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
2599
|
-
default:
|
|
2600
|
-
const parsedBody = parsedOutput.body;
|
|
2601
|
-
return throwDefaultError({
|
|
2602
|
-
output,
|
|
2603
|
-
parsedBody: parsedBody.Error,
|
|
2604
|
-
errorCode
|
|
2605
|
-
});
|
|
2606
|
-
}
|
|
2607
|
-
}, "de_DeleteGlobalClusterCommandError");
|
|
2608
2025
|
var de_DescribeCertificatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2609
2026
|
if (output.statusCode >= 300) {
|
|
2610
|
-
return
|
|
2027
|
+
return de_CommandError(output, context);
|
|
2611
2028
|
}
|
|
2612
2029
|
const data = await parseBody(output.body, context);
|
|
2613
2030
|
let contents = {};
|
|
@@ -2618,28 +2035,9 @@ var de_DescribeCertificatesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2618
2035
|
};
|
|
2619
2036
|
return response;
|
|
2620
2037
|
}, "de_DescribeCertificatesCommand");
|
|
2621
|
-
var de_DescribeCertificatesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2622
|
-
const parsedOutput = {
|
|
2623
|
-
...output,
|
|
2624
|
-
body: await parseErrorBody(output.body, context)
|
|
2625
|
-
};
|
|
2626
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2627
|
-
switch (errorCode) {
|
|
2628
|
-
case "CertificateNotFound":
|
|
2629
|
-
case "com.amazonaws.docdb#CertificateNotFoundFault":
|
|
2630
|
-
throw await de_CertificateNotFoundFaultRes(parsedOutput, context);
|
|
2631
|
-
default:
|
|
2632
|
-
const parsedBody = parsedOutput.body;
|
|
2633
|
-
return throwDefaultError({
|
|
2634
|
-
output,
|
|
2635
|
-
parsedBody: parsedBody.Error,
|
|
2636
|
-
errorCode
|
|
2637
|
-
});
|
|
2638
|
-
}
|
|
2639
|
-
}, "de_DescribeCertificatesCommandError");
|
|
2640
2038
|
var de_DescribeDBClusterParameterGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2641
2039
|
if (output.statusCode >= 300) {
|
|
2642
|
-
return
|
|
2040
|
+
return de_CommandError(output, context);
|
|
2643
2041
|
}
|
|
2644
2042
|
const data = await parseBody(output.body, context);
|
|
2645
2043
|
let contents = {};
|
|
@@ -2650,28 +2048,9 @@ var de_DescribeDBClusterParameterGroupsCommand = /* @__PURE__ */ __name(async (o
|
|
|
2650
2048
|
};
|
|
2651
2049
|
return response;
|
|
2652
2050
|
}, "de_DescribeDBClusterParameterGroupsCommand");
|
|
2653
|
-
var de_DescribeDBClusterParameterGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2654
|
-
const parsedOutput = {
|
|
2655
|
-
...output,
|
|
2656
|
-
body: await parseErrorBody(output.body, context)
|
|
2657
|
-
};
|
|
2658
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2659
|
-
switch (errorCode) {
|
|
2660
|
-
case "DBParameterGroupNotFound":
|
|
2661
|
-
case "com.amazonaws.docdb#DBParameterGroupNotFoundFault":
|
|
2662
|
-
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
2663
|
-
default:
|
|
2664
|
-
const parsedBody = parsedOutput.body;
|
|
2665
|
-
return throwDefaultError({
|
|
2666
|
-
output,
|
|
2667
|
-
parsedBody: parsedBody.Error,
|
|
2668
|
-
errorCode
|
|
2669
|
-
});
|
|
2670
|
-
}
|
|
2671
|
-
}, "de_DescribeDBClusterParameterGroupsCommandError");
|
|
2672
2051
|
var de_DescribeDBClusterParametersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2673
2052
|
if (output.statusCode >= 300) {
|
|
2674
|
-
return
|
|
2053
|
+
return de_CommandError(output, context);
|
|
2675
2054
|
}
|
|
2676
2055
|
const data = await parseBody(output.body, context);
|
|
2677
2056
|
let contents = {};
|
|
@@ -2682,28 +2061,9 @@ var de_DescribeDBClusterParametersCommand = /* @__PURE__ */ __name(async (output
|
|
|
2682
2061
|
};
|
|
2683
2062
|
return response;
|
|
2684
2063
|
}, "de_DescribeDBClusterParametersCommand");
|
|
2685
|
-
var de_DescribeDBClusterParametersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2686
|
-
const parsedOutput = {
|
|
2687
|
-
...output,
|
|
2688
|
-
body: await parseErrorBody(output.body, context)
|
|
2689
|
-
};
|
|
2690
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2691
|
-
switch (errorCode) {
|
|
2692
|
-
case "DBParameterGroupNotFound":
|
|
2693
|
-
case "com.amazonaws.docdb#DBParameterGroupNotFoundFault":
|
|
2694
|
-
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
2695
|
-
default:
|
|
2696
|
-
const parsedBody = parsedOutput.body;
|
|
2697
|
-
return throwDefaultError({
|
|
2698
|
-
output,
|
|
2699
|
-
parsedBody: parsedBody.Error,
|
|
2700
|
-
errorCode
|
|
2701
|
-
});
|
|
2702
|
-
}
|
|
2703
|
-
}, "de_DescribeDBClusterParametersCommandError");
|
|
2704
2064
|
var de_DescribeDBClustersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2705
2065
|
if (output.statusCode >= 300) {
|
|
2706
|
-
return
|
|
2066
|
+
return de_CommandError(output, context);
|
|
2707
2067
|
}
|
|
2708
2068
|
const data = await parseBody(output.body, context);
|
|
2709
2069
|
let contents = {};
|
|
@@ -2714,28 +2074,9 @@ var de_DescribeDBClustersCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2714
2074
|
};
|
|
2715
2075
|
return response;
|
|
2716
2076
|
}, "de_DescribeDBClustersCommand");
|
|
2717
|
-
var de_DescribeDBClustersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2718
|
-
const parsedOutput = {
|
|
2719
|
-
...output,
|
|
2720
|
-
body: await parseErrorBody(output.body, context)
|
|
2721
|
-
};
|
|
2722
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2723
|
-
switch (errorCode) {
|
|
2724
|
-
case "DBClusterNotFoundFault":
|
|
2725
|
-
case "com.amazonaws.docdb#DBClusterNotFoundFault":
|
|
2726
|
-
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
2727
|
-
default:
|
|
2728
|
-
const parsedBody = parsedOutput.body;
|
|
2729
|
-
return throwDefaultError({
|
|
2730
|
-
output,
|
|
2731
|
-
parsedBody: parsedBody.Error,
|
|
2732
|
-
errorCode
|
|
2733
|
-
});
|
|
2734
|
-
}
|
|
2735
|
-
}, "de_DescribeDBClustersCommandError");
|
|
2736
2077
|
var de_DescribeDBClusterSnapshotAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2737
2078
|
if (output.statusCode >= 300) {
|
|
2738
|
-
return
|
|
2079
|
+
return de_CommandError(output, context);
|
|
2739
2080
|
}
|
|
2740
2081
|
const data = await parseBody(output.body, context);
|
|
2741
2082
|
let contents = {};
|
|
@@ -2746,28 +2087,9 @@ var de_DescribeDBClusterSnapshotAttributesCommand = /* @__PURE__ */ __name(async
|
|
|
2746
2087
|
};
|
|
2747
2088
|
return response;
|
|
2748
2089
|
}, "de_DescribeDBClusterSnapshotAttributesCommand");
|
|
2749
|
-
var de_DescribeDBClusterSnapshotAttributesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2750
|
-
const parsedOutput = {
|
|
2751
|
-
...output,
|
|
2752
|
-
body: await parseErrorBody(output.body, context)
|
|
2753
|
-
};
|
|
2754
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2755
|
-
switch (errorCode) {
|
|
2756
|
-
case "DBClusterSnapshotNotFoundFault":
|
|
2757
|
-
case "com.amazonaws.docdb#DBClusterSnapshotNotFoundFault":
|
|
2758
|
-
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
2759
|
-
default:
|
|
2760
|
-
const parsedBody = parsedOutput.body;
|
|
2761
|
-
return throwDefaultError({
|
|
2762
|
-
output,
|
|
2763
|
-
parsedBody: parsedBody.Error,
|
|
2764
|
-
errorCode
|
|
2765
|
-
});
|
|
2766
|
-
}
|
|
2767
|
-
}, "de_DescribeDBClusterSnapshotAttributesCommandError");
|
|
2768
2090
|
var de_DescribeDBClusterSnapshotsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2769
2091
|
if (output.statusCode >= 300) {
|
|
2770
|
-
return
|
|
2092
|
+
return de_CommandError(output, context);
|
|
2771
2093
|
}
|
|
2772
2094
|
const data = await parseBody(output.body, context);
|
|
2773
2095
|
let contents = {};
|
|
@@ -2778,28 +2100,9 @@ var de_DescribeDBClusterSnapshotsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2778
2100
|
};
|
|
2779
2101
|
return response;
|
|
2780
2102
|
}, "de_DescribeDBClusterSnapshotsCommand");
|
|
2781
|
-
var de_DescribeDBClusterSnapshotsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2782
|
-
const parsedOutput = {
|
|
2783
|
-
...output,
|
|
2784
|
-
body: await parseErrorBody(output.body, context)
|
|
2785
|
-
};
|
|
2786
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2787
|
-
switch (errorCode) {
|
|
2788
|
-
case "DBClusterSnapshotNotFoundFault":
|
|
2789
|
-
case "com.amazonaws.docdb#DBClusterSnapshotNotFoundFault":
|
|
2790
|
-
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
2791
|
-
default:
|
|
2792
|
-
const parsedBody = parsedOutput.body;
|
|
2793
|
-
return throwDefaultError({
|
|
2794
|
-
output,
|
|
2795
|
-
parsedBody: parsedBody.Error,
|
|
2796
|
-
errorCode
|
|
2797
|
-
});
|
|
2798
|
-
}
|
|
2799
|
-
}, "de_DescribeDBClusterSnapshotsCommandError");
|
|
2800
2103
|
var de_DescribeDBEngineVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2801
2104
|
if (output.statusCode >= 300) {
|
|
2802
|
-
return
|
|
2105
|
+
return de_CommandError(output, context);
|
|
2803
2106
|
}
|
|
2804
2107
|
const data = await parseBody(output.body, context);
|
|
2805
2108
|
let contents = {};
|
|
@@ -2810,22 +2113,9 @@ var de_DescribeDBEngineVersionsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2810
2113
|
};
|
|
2811
2114
|
return response;
|
|
2812
2115
|
}, "de_DescribeDBEngineVersionsCommand");
|
|
2813
|
-
var de_DescribeDBEngineVersionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2814
|
-
const parsedOutput = {
|
|
2815
|
-
...output,
|
|
2816
|
-
body: await parseErrorBody(output.body, context)
|
|
2817
|
-
};
|
|
2818
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2819
|
-
const parsedBody = parsedOutput.body;
|
|
2820
|
-
return throwDefaultError({
|
|
2821
|
-
output,
|
|
2822
|
-
parsedBody: parsedBody.Error,
|
|
2823
|
-
errorCode
|
|
2824
|
-
});
|
|
2825
|
-
}, "de_DescribeDBEngineVersionsCommandError");
|
|
2826
2116
|
var de_DescribeDBInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2827
2117
|
if (output.statusCode >= 300) {
|
|
2828
|
-
return
|
|
2118
|
+
return de_CommandError(output, context);
|
|
2829
2119
|
}
|
|
2830
2120
|
const data = await parseBody(output.body, context);
|
|
2831
2121
|
let contents = {};
|
|
@@ -2836,28 +2126,9 @@ var de_DescribeDBInstancesCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2836
2126
|
};
|
|
2837
2127
|
return response;
|
|
2838
2128
|
}, "de_DescribeDBInstancesCommand");
|
|
2839
|
-
var de_DescribeDBInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2840
|
-
const parsedOutput = {
|
|
2841
|
-
...output,
|
|
2842
|
-
body: await parseErrorBody(output.body, context)
|
|
2843
|
-
};
|
|
2844
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2845
|
-
switch (errorCode) {
|
|
2846
|
-
case "DBInstanceNotFound":
|
|
2847
|
-
case "com.amazonaws.docdb#DBInstanceNotFoundFault":
|
|
2848
|
-
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
2849
|
-
default:
|
|
2850
|
-
const parsedBody = parsedOutput.body;
|
|
2851
|
-
return throwDefaultError({
|
|
2852
|
-
output,
|
|
2853
|
-
parsedBody: parsedBody.Error,
|
|
2854
|
-
errorCode
|
|
2855
|
-
});
|
|
2856
|
-
}
|
|
2857
|
-
}, "de_DescribeDBInstancesCommandError");
|
|
2858
2129
|
var de_DescribeDBSubnetGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2859
2130
|
if (output.statusCode >= 300) {
|
|
2860
|
-
return
|
|
2131
|
+
return de_CommandError(output, context);
|
|
2861
2132
|
}
|
|
2862
2133
|
const data = await parseBody(output.body, context);
|
|
2863
2134
|
let contents = {};
|
|
@@ -2868,28 +2139,9 @@ var de_DescribeDBSubnetGroupsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2868
2139
|
};
|
|
2869
2140
|
return response;
|
|
2870
2141
|
}, "de_DescribeDBSubnetGroupsCommand");
|
|
2871
|
-
var de_DescribeDBSubnetGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2872
|
-
const parsedOutput = {
|
|
2873
|
-
...output,
|
|
2874
|
-
body: await parseErrorBody(output.body, context)
|
|
2875
|
-
};
|
|
2876
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2877
|
-
switch (errorCode) {
|
|
2878
|
-
case "DBSubnetGroupNotFoundFault":
|
|
2879
|
-
case "com.amazonaws.docdb#DBSubnetGroupNotFoundFault":
|
|
2880
|
-
throw await de_DBSubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
2881
|
-
default:
|
|
2882
|
-
const parsedBody = parsedOutput.body;
|
|
2883
|
-
return throwDefaultError({
|
|
2884
|
-
output,
|
|
2885
|
-
parsedBody: parsedBody.Error,
|
|
2886
|
-
errorCode
|
|
2887
|
-
});
|
|
2888
|
-
}
|
|
2889
|
-
}, "de_DescribeDBSubnetGroupsCommandError");
|
|
2890
2142
|
var de_DescribeEngineDefaultClusterParametersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2891
2143
|
if (output.statusCode >= 300) {
|
|
2892
|
-
return
|
|
2144
|
+
return de_CommandError(output, context);
|
|
2893
2145
|
}
|
|
2894
2146
|
const data = await parseBody(output.body, context);
|
|
2895
2147
|
let contents = {};
|
|
@@ -2903,22 +2155,9 @@ var de_DescribeEngineDefaultClusterParametersCommand = /* @__PURE__ */ __name(as
|
|
|
2903
2155
|
};
|
|
2904
2156
|
return response;
|
|
2905
2157
|
}, "de_DescribeEngineDefaultClusterParametersCommand");
|
|
2906
|
-
var de_DescribeEngineDefaultClusterParametersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2907
|
-
const parsedOutput = {
|
|
2908
|
-
...output,
|
|
2909
|
-
body: await parseErrorBody(output.body, context)
|
|
2910
|
-
};
|
|
2911
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2912
|
-
const parsedBody = parsedOutput.body;
|
|
2913
|
-
return throwDefaultError({
|
|
2914
|
-
output,
|
|
2915
|
-
parsedBody: parsedBody.Error,
|
|
2916
|
-
errorCode
|
|
2917
|
-
});
|
|
2918
|
-
}, "de_DescribeEngineDefaultClusterParametersCommandError");
|
|
2919
2158
|
var de_DescribeEventCategoriesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2920
2159
|
if (output.statusCode >= 300) {
|
|
2921
|
-
return
|
|
2160
|
+
return de_CommandError(output, context);
|
|
2922
2161
|
}
|
|
2923
2162
|
const data = await parseBody(output.body, context);
|
|
2924
2163
|
let contents = {};
|
|
@@ -2929,22 +2168,9 @@ var de_DescribeEventCategoriesCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2929
2168
|
};
|
|
2930
2169
|
return response;
|
|
2931
2170
|
}, "de_DescribeEventCategoriesCommand");
|
|
2932
|
-
var de_DescribeEventCategoriesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2933
|
-
const parsedOutput = {
|
|
2934
|
-
...output,
|
|
2935
|
-
body: await parseErrorBody(output.body, context)
|
|
2936
|
-
};
|
|
2937
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2938
|
-
const parsedBody = parsedOutput.body;
|
|
2939
|
-
return throwDefaultError({
|
|
2940
|
-
output,
|
|
2941
|
-
parsedBody: parsedBody.Error,
|
|
2942
|
-
errorCode
|
|
2943
|
-
});
|
|
2944
|
-
}, "de_DescribeEventCategoriesCommandError");
|
|
2945
2171
|
var de_DescribeEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2946
2172
|
if (output.statusCode >= 300) {
|
|
2947
|
-
return
|
|
2173
|
+
return de_CommandError(output, context);
|
|
2948
2174
|
}
|
|
2949
2175
|
const data = await parseBody(output.body, context);
|
|
2950
2176
|
let contents = {};
|
|
@@ -2955,22 +2181,9 @@ var de_DescribeEventsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2955
2181
|
};
|
|
2956
2182
|
return response;
|
|
2957
2183
|
}, "de_DescribeEventsCommand");
|
|
2958
|
-
var de_DescribeEventsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2959
|
-
const parsedOutput = {
|
|
2960
|
-
...output,
|
|
2961
|
-
body: await parseErrorBody(output.body, context)
|
|
2962
|
-
};
|
|
2963
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2964
|
-
const parsedBody = parsedOutput.body;
|
|
2965
|
-
return throwDefaultError({
|
|
2966
|
-
output,
|
|
2967
|
-
parsedBody: parsedBody.Error,
|
|
2968
|
-
errorCode
|
|
2969
|
-
});
|
|
2970
|
-
}, "de_DescribeEventsCommandError");
|
|
2971
2184
|
var de_DescribeEventSubscriptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2972
2185
|
if (output.statusCode >= 300) {
|
|
2973
|
-
return
|
|
2186
|
+
return de_CommandError(output, context);
|
|
2974
2187
|
}
|
|
2975
2188
|
const data = await parseBody(output.body, context);
|
|
2976
2189
|
let contents = {};
|
|
@@ -2981,28 +2194,9 @@ var de_DescribeEventSubscriptionsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2981
2194
|
};
|
|
2982
2195
|
return response;
|
|
2983
2196
|
}, "de_DescribeEventSubscriptionsCommand");
|
|
2984
|
-
var de_DescribeEventSubscriptionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2985
|
-
const parsedOutput = {
|
|
2986
|
-
...output,
|
|
2987
|
-
body: await parseErrorBody(output.body, context)
|
|
2988
|
-
};
|
|
2989
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2990
|
-
switch (errorCode) {
|
|
2991
|
-
case "SubscriptionNotFound":
|
|
2992
|
-
case "com.amazonaws.docdb#SubscriptionNotFoundFault":
|
|
2993
|
-
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
2994
|
-
default:
|
|
2995
|
-
const parsedBody = parsedOutput.body;
|
|
2996
|
-
return throwDefaultError({
|
|
2997
|
-
output,
|
|
2998
|
-
parsedBody: parsedBody.Error,
|
|
2999
|
-
errorCode
|
|
3000
|
-
});
|
|
3001
|
-
}
|
|
3002
|
-
}, "de_DescribeEventSubscriptionsCommandError");
|
|
3003
2197
|
var de_DescribeGlobalClustersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3004
2198
|
if (output.statusCode >= 300) {
|
|
3005
|
-
return
|
|
2199
|
+
return de_CommandError(output, context);
|
|
3006
2200
|
}
|
|
3007
2201
|
const data = await parseBody(output.body, context);
|
|
3008
2202
|
let contents = {};
|
|
@@ -3013,28 +2207,9 @@ var de_DescribeGlobalClustersCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3013
2207
|
};
|
|
3014
2208
|
return response;
|
|
3015
2209
|
}, "de_DescribeGlobalClustersCommand");
|
|
3016
|
-
var de_DescribeGlobalClustersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3017
|
-
const parsedOutput = {
|
|
3018
|
-
...output,
|
|
3019
|
-
body: await parseErrorBody(output.body, context)
|
|
3020
|
-
};
|
|
3021
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3022
|
-
switch (errorCode) {
|
|
3023
|
-
case "GlobalClusterNotFoundFault":
|
|
3024
|
-
case "com.amazonaws.docdb#GlobalClusterNotFoundFault":
|
|
3025
|
-
throw await de_GlobalClusterNotFoundFaultRes(parsedOutput, context);
|
|
3026
|
-
default:
|
|
3027
|
-
const parsedBody = parsedOutput.body;
|
|
3028
|
-
return throwDefaultError({
|
|
3029
|
-
output,
|
|
3030
|
-
parsedBody: parsedBody.Error,
|
|
3031
|
-
errorCode
|
|
3032
|
-
});
|
|
3033
|
-
}
|
|
3034
|
-
}, "de_DescribeGlobalClustersCommandError");
|
|
3035
2210
|
var de_DescribeOrderableDBInstanceOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3036
2211
|
if (output.statusCode >= 300) {
|
|
3037
|
-
return
|
|
2212
|
+
return de_CommandError(output, context);
|
|
3038
2213
|
}
|
|
3039
2214
|
const data = await parseBody(output.body, context);
|
|
3040
2215
|
let contents = {};
|
|
@@ -3045,22 +2220,9 @@ var de_DescribeOrderableDBInstanceOptionsCommand = /* @__PURE__ */ __name(async
|
|
|
3045
2220
|
};
|
|
3046
2221
|
return response;
|
|
3047
2222
|
}, "de_DescribeOrderableDBInstanceOptionsCommand");
|
|
3048
|
-
var de_DescribeOrderableDBInstanceOptionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3049
|
-
const parsedOutput = {
|
|
3050
|
-
...output,
|
|
3051
|
-
body: await parseErrorBody(output.body, context)
|
|
3052
|
-
};
|
|
3053
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3054
|
-
const parsedBody = parsedOutput.body;
|
|
3055
|
-
return throwDefaultError({
|
|
3056
|
-
output,
|
|
3057
|
-
parsedBody: parsedBody.Error,
|
|
3058
|
-
errorCode
|
|
3059
|
-
});
|
|
3060
|
-
}, "de_DescribeOrderableDBInstanceOptionsCommandError");
|
|
3061
2223
|
var de_DescribePendingMaintenanceActionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3062
2224
|
if (output.statusCode >= 300) {
|
|
3063
|
-
return
|
|
2225
|
+
return de_CommandError(output, context);
|
|
3064
2226
|
}
|
|
3065
2227
|
const data = await parseBody(output.body, context);
|
|
3066
2228
|
let contents = {};
|
|
@@ -3071,28 +2233,9 @@ var de_DescribePendingMaintenanceActionsCommand = /* @__PURE__ */ __name(async (
|
|
|
3071
2233
|
};
|
|
3072
2234
|
return response;
|
|
3073
2235
|
}, "de_DescribePendingMaintenanceActionsCommand");
|
|
3074
|
-
var de_DescribePendingMaintenanceActionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3075
|
-
const parsedOutput = {
|
|
3076
|
-
...output,
|
|
3077
|
-
body: await parseErrorBody(output.body, context)
|
|
3078
|
-
};
|
|
3079
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3080
|
-
switch (errorCode) {
|
|
3081
|
-
case "ResourceNotFoundFault":
|
|
3082
|
-
case "com.amazonaws.docdb#ResourceNotFoundFault":
|
|
3083
|
-
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
3084
|
-
default:
|
|
3085
|
-
const parsedBody = parsedOutput.body;
|
|
3086
|
-
return throwDefaultError({
|
|
3087
|
-
output,
|
|
3088
|
-
parsedBody: parsedBody.Error,
|
|
3089
|
-
errorCode
|
|
3090
|
-
});
|
|
3091
|
-
}
|
|
3092
|
-
}, "de_DescribePendingMaintenanceActionsCommandError");
|
|
3093
2236
|
var de_FailoverDBClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3094
2237
|
if (output.statusCode >= 300) {
|
|
3095
|
-
return
|
|
2238
|
+
return de_CommandError(output, context);
|
|
3096
2239
|
}
|
|
3097
2240
|
const data = await parseBody(output.body, context);
|
|
3098
2241
|
let contents = {};
|
|
@@ -3103,34 +2246,9 @@ var de_FailoverDBClusterCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3103
2246
|
};
|
|
3104
2247
|
return response;
|
|
3105
2248
|
}, "de_FailoverDBClusterCommand");
|
|
3106
|
-
var de_FailoverDBClusterCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3107
|
-
const parsedOutput = {
|
|
3108
|
-
...output,
|
|
3109
|
-
body: await parseErrorBody(output.body, context)
|
|
3110
|
-
};
|
|
3111
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3112
|
-
switch (errorCode) {
|
|
3113
|
-
case "DBClusterNotFoundFault":
|
|
3114
|
-
case "com.amazonaws.docdb#DBClusterNotFoundFault":
|
|
3115
|
-
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
3116
|
-
case "InvalidDBClusterStateFault":
|
|
3117
|
-
case "com.amazonaws.docdb#InvalidDBClusterStateFault":
|
|
3118
|
-
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
3119
|
-
case "InvalidDBInstanceState":
|
|
3120
|
-
case "com.amazonaws.docdb#InvalidDBInstanceStateFault":
|
|
3121
|
-
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
3122
|
-
default:
|
|
3123
|
-
const parsedBody = parsedOutput.body;
|
|
3124
|
-
return throwDefaultError({
|
|
3125
|
-
output,
|
|
3126
|
-
parsedBody: parsedBody.Error,
|
|
3127
|
-
errorCode
|
|
3128
|
-
});
|
|
3129
|
-
}
|
|
3130
|
-
}, "de_FailoverDBClusterCommandError");
|
|
3131
2249
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3132
2250
|
if (output.statusCode >= 300) {
|
|
3133
|
-
return
|
|
2251
|
+
return de_CommandError(output, context);
|
|
3134
2252
|
}
|
|
3135
2253
|
const data = await parseBody(output.body, context);
|
|
3136
2254
|
let contents = {};
|
|
@@ -3141,34 +2259,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3141
2259
|
};
|
|
3142
2260
|
return response;
|
|
3143
2261
|
}, "de_ListTagsForResourceCommand");
|
|
3144
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3145
|
-
const parsedOutput = {
|
|
3146
|
-
...output,
|
|
3147
|
-
body: await parseErrorBody(output.body, context)
|
|
3148
|
-
};
|
|
3149
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3150
|
-
switch (errorCode) {
|
|
3151
|
-
case "DBClusterNotFoundFault":
|
|
3152
|
-
case "com.amazonaws.docdb#DBClusterNotFoundFault":
|
|
3153
|
-
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
3154
|
-
case "DBInstanceNotFound":
|
|
3155
|
-
case "com.amazonaws.docdb#DBInstanceNotFoundFault":
|
|
3156
|
-
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
3157
|
-
case "DBSnapshotNotFound":
|
|
3158
|
-
case "com.amazonaws.docdb#DBSnapshotNotFoundFault":
|
|
3159
|
-
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
3160
|
-
default:
|
|
3161
|
-
const parsedBody = parsedOutput.body;
|
|
3162
|
-
return throwDefaultError({
|
|
3163
|
-
output,
|
|
3164
|
-
parsedBody: parsedBody.Error,
|
|
3165
|
-
errorCode
|
|
3166
|
-
});
|
|
3167
|
-
}
|
|
3168
|
-
}, "de_ListTagsForResourceCommandError");
|
|
3169
2262
|
var de_ModifyDBClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3170
2263
|
if (output.statusCode >= 300) {
|
|
3171
|
-
return
|
|
2264
|
+
return de_CommandError(output, context);
|
|
3172
2265
|
}
|
|
3173
2266
|
const data = await parseBody(output.body, context);
|
|
3174
2267
|
let contents = {};
|
|
@@ -3179,58 +2272,9 @@ var de_ModifyDBClusterCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
3179
2272
|
};
|
|
3180
2273
|
return response;
|
|
3181
2274
|
}, "de_ModifyDBClusterCommand");
|
|
3182
|
-
var de_ModifyDBClusterCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3183
|
-
const parsedOutput = {
|
|
3184
|
-
...output,
|
|
3185
|
-
body: await parseErrorBody(output.body, context)
|
|
3186
|
-
};
|
|
3187
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3188
|
-
switch (errorCode) {
|
|
3189
|
-
case "DBClusterAlreadyExistsFault":
|
|
3190
|
-
case "com.amazonaws.docdb#DBClusterAlreadyExistsFault":
|
|
3191
|
-
throw await de_DBClusterAlreadyExistsFaultRes(parsedOutput, context);
|
|
3192
|
-
case "DBClusterNotFoundFault":
|
|
3193
|
-
case "com.amazonaws.docdb#DBClusterNotFoundFault":
|
|
3194
|
-
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
3195
|
-
case "DBClusterParameterGroupNotFound":
|
|
3196
|
-
case "com.amazonaws.docdb#DBClusterParameterGroupNotFoundFault":
|
|
3197
|
-
throw await de_DBClusterParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
3198
|
-
case "DBSubnetGroupNotFoundFault":
|
|
3199
|
-
case "com.amazonaws.docdb#DBSubnetGroupNotFoundFault":
|
|
3200
|
-
throw await de_DBSubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
3201
|
-
case "InvalidDBClusterStateFault":
|
|
3202
|
-
case "com.amazonaws.docdb#InvalidDBClusterStateFault":
|
|
3203
|
-
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
3204
|
-
case "InvalidDBInstanceState":
|
|
3205
|
-
case "com.amazonaws.docdb#InvalidDBInstanceStateFault":
|
|
3206
|
-
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
3207
|
-
case "InvalidDBSecurityGroupState":
|
|
3208
|
-
case "com.amazonaws.docdb#InvalidDBSecurityGroupStateFault":
|
|
3209
|
-
throw await de_InvalidDBSecurityGroupStateFaultRes(parsedOutput, context);
|
|
3210
|
-
case "InvalidDBSubnetGroupStateFault":
|
|
3211
|
-
case "com.amazonaws.docdb#InvalidDBSubnetGroupStateFault":
|
|
3212
|
-
throw await de_InvalidDBSubnetGroupStateFaultRes(parsedOutput, context);
|
|
3213
|
-
case "InvalidSubnet":
|
|
3214
|
-
case "com.amazonaws.docdb#InvalidSubnet":
|
|
3215
|
-
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
3216
|
-
case "InvalidVPCNetworkStateFault":
|
|
3217
|
-
case "com.amazonaws.docdb#InvalidVPCNetworkStateFault":
|
|
3218
|
-
throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
|
|
3219
|
-
case "StorageQuotaExceeded":
|
|
3220
|
-
case "com.amazonaws.docdb#StorageQuotaExceededFault":
|
|
3221
|
-
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
3222
|
-
default:
|
|
3223
|
-
const parsedBody = parsedOutput.body;
|
|
3224
|
-
return throwDefaultError({
|
|
3225
|
-
output,
|
|
3226
|
-
parsedBody: parsedBody.Error,
|
|
3227
|
-
errorCode
|
|
3228
|
-
});
|
|
3229
|
-
}
|
|
3230
|
-
}, "de_ModifyDBClusterCommandError");
|
|
3231
2275
|
var de_ModifyDBClusterParameterGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3232
2276
|
if (output.statusCode >= 300) {
|
|
3233
|
-
return
|
|
2277
|
+
return de_CommandError(output, context);
|
|
3234
2278
|
}
|
|
3235
2279
|
const data = await parseBody(output.body, context);
|
|
3236
2280
|
let contents = {};
|
|
@@ -3241,31 +2285,9 @@ var de_ModifyDBClusterParameterGroupCommand = /* @__PURE__ */ __name(async (outp
|
|
|
3241
2285
|
};
|
|
3242
2286
|
return response;
|
|
3243
2287
|
}, "de_ModifyDBClusterParameterGroupCommand");
|
|
3244
|
-
var de_ModifyDBClusterParameterGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3245
|
-
const parsedOutput = {
|
|
3246
|
-
...output,
|
|
3247
|
-
body: await parseErrorBody(output.body, context)
|
|
3248
|
-
};
|
|
3249
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3250
|
-
switch (errorCode) {
|
|
3251
|
-
case "DBParameterGroupNotFound":
|
|
3252
|
-
case "com.amazonaws.docdb#DBParameterGroupNotFoundFault":
|
|
3253
|
-
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
3254
|
-
case "InvalidDBParameterGroupState":
|
|
3255
|
-
case "com.amazonaws.docdb#InvalidDBParameterGroupStateFault":
|
|
3256
|
-
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
3257
|
-
default:
|
|
3258
|
-
const parsedBody = parsedOutput.body;
|
|
3259
|
-
return throwDefaultError({
|
|
3260
|
-
output,
|
|
3261
|
-
parsedBody: parsedBody.Error,
|
|
3262
|
-
errorCode
|
|
3263
|
-
});
|
|
3264
|
-
}
|
|
3265
|
-
}, "de_ModifyDBClusterParameterGroupCommandError");
|
|
3266
2288
|
var de_ModifyDBClusterSnapshotAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3267
2289
|
if (output.statusCode >= 300) {
|
|
3268
|
-
return
|
|
2290
|
+
return de_CommandError(output, context);
|
|
3269
2291
|
}
|
|
3270
2292
|
const data = await parseBody(output.body, context);
|
|
3271
2293
|
let contents = {};
|
|
@@ -3276,34 +2298,9 @@ var de_ModifyDBClusterSnapshotAttributeCommand = /* @__PURE__ */ __name(async (o
|
|
|
3276
2298
|
};
|
|
3277
2299
|
return response;
|
|
3278
2300
|
}, "de_ModifyDBClusterSnapshotAttributeCommand");
|
|
3279
|
-
var de_ModifyDBClusterSnapshotAttributeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3280
|
-
const parsedOutput = {
|
|
3281
|
-
...output,
|
|
3282
|
-
body: await parseErrorBody(output.body, context)
|
|
3283
|
-
};
|
|
3284
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3285
|
-
switch (errorCode) {
|
|
3286
|
-
case "DBClusterSnapshotNotFoundFault":
|
|
3287
|
-
case "com.amazonaws.docdb#DBClusterSnapshotNotFoundFault":
|
|
3288
|
-
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
3289
|
-
case "InvalidDBClusterSnapshotStateFault":
|
|
3290
|
-
case "com.amazonaws.docdb#InvalidDBClusterSnapshotStateFault":
|
|
3291
|
-
throw await de_InvalidDBClusterSnapshotStateFaultRes(parsedOutput, context);
|
|
3292
|
-
case "SharedSnapshotQuotaExceeded":
|
|
3293
|
-
case "com.amazonaws.docdb#SharedSnapshotQuotaExceededFault":
|
|
3294
|
-
throw await de_SharedSnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
3295
|
-
default:
|
|
3296
|
-
const parsedBody = parsedOutput.body;
|
|
3297
|
-
return throwDefaultError({
|
|
3298
|
-
output,
|
|
3299
|
-
parsedBody: parsedBody.Error,
|
|
3300
|
-
errorCode
|
|
3301
|
-
});
|
|
3302
|
-
}
|
|
3303
|
-
}, "de_ModifyDBClusterSnapshotAttributeCommandError");
|
|
3304
2301
|
var de_ModifyDBInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3305
2302
|
if (output.statusCode >= 300) {
|
|
3306
|
-
return
|
|
2303
|
+
return de_CommandError(output, context);
|
|
3307
2304
|
}
|
|
3308
2305
|
const data = await parseBody(output.body, context);
|
|
3309
2306
|
let contents = {};
|
|
@@ -3314,64 +2311,9 @@ var de_ModifyDBInstanceCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3314
2311
|
};
|
|
3315
2312
|
return response;
|
|
3316
2313
|
}, "de_ModifyDBInstanceCommand");
|
|
3317
|
-
var de_ModifyDBInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3318
|
-
const parsedOutput = {
|
|
3319
|
-
...output,
|
|
3320
|
-
body: await parseErrorBody(output.body, context)
|
|
3321
|
-
};
|
|
3322
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3323
|
-
switch (errorCode) {
|
|
3324
|
-
case "AuthorizationNotFound":
|
|
3325
|
-
case "com.amazonaws.docdb#AuthorizationNotFoundFault":
|
|
3326
|
-
throw await de_AuthorizationNotFoundFaultRes(parsedOutput, context);
|
|
3327
|
-
case "CertificateNotFound":
|
|
3328
|
-
case "com.amazonaws.docdb#CertificateNotFoundFault":
|
|
3329
|
-
throw await de_CertificateNotFoundFaultRes(parsedOutput, context);
|
|
3330
|
-
case "DBInstanceAlreadyExists":
|
|
3331
|
-
case "com.amazonaws.docdb#DBInstanceAlreadyExistsFault":
|
|
3332
|
-
throw await de_DBInstanceAlreadyExistsFaultRes(parsedOutput, context);
|
|
3333
|
-
case "DBInstanceNotFound":
|
|
3334
|
-
case "com.amazonaws.docdb#DBInstanceNotFoundFault":
|
|
3335
|
-
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
3336
|
-
case "DBParameterGroupNotFound":
|
|
3337
|
-
case "com.amazonaws.docdb#DBParameterGroupNotFoundFault":
|
|
3338
|
-
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
3339
|
-
case "DBSecurityGroupNotFound":
|
|
3340
|
-
case "com.amazonaws.docdb#DBSecurityGroupNotFoundFault":
|
|
3341
|
-
throw await de_DBSecurityGroupNotFoundFaultRes(parsedOutput, context);
|
|
3342
|
-
case "DBUpgradeDependencyFailure":
|
|
3343
|
-
case "com.amazonaws.docdb#DBUpgradeDependencyFailureFault":
|
|
3344
|
-
throw await de_DBUpgradeDependencyFailureFaultRes(parsedOutput, context);
|
|
3345
|
-
case "InsufficientDBInstanceCapacity":
|
|
3346
|
-
case "com.amazonaws.docdb#InsufficientDBInstanceCapacityFault":
|
|
3347
|
-
throw await de_InsufficientDBInstanceCapacityFaultRes(parsedOutput, context);
|
|
3348
|
-
case "InvalidDBInstanceState":
|
|
3349
|
-
case "com.amazonaws.docdb#InvalidDBInstanceStateFault":
|
|
3350
|
-
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
3351
|
-
case "InvalidDBSecurityGroupState":
|
|
3352
|
-
case "com.amazonaws.docdb#InvalidDBSecurityGroupStateFault":
|
|
3353
|
-
throw await de_InvalidDBSecurityGroupStateFaultRes(parsedOutput, context);
|
|
3354
|
-
case "InvalidVPCNetworkStateFault":
|
|
3355
|
-
case "com.amazonaws.docdb#InvalidVPCNetworkStateFault":
|
|
3356
|
-
throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
|
|
3357
|
-
case "StorageQuotaExceeded":
|
|
3358
|
-
case "com.amazonaws.docdb#StorageQuotaExceededFault":
|
|
3359
|
-
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
3360
|
-
case "StorageTypeNotSupported":
|
|
3361
|
-
case "com.amazonaws.docdb#StorageTypeNotSupportedFault":
|
|
3362
|
-
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
3363
|
-
default:
|
|
3364
|
-
const parsedBody = parsedOutput.body;
|
|
3365
|
-
return throwDefaultError({
|
|
3366
|
-
output,
|
|
3367
|
-
parsedBody: parsedBody.Error,
|
|
3368
|
-
errorCode
|
|
3369
|
-
});
|
|
3370
|
-
}
|
|
3371
|
-
}, "de_ModifyDBInstanceCommandError");
|
|
3372
2314
|
var de_ModifyDBSubnetGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3373
2315
|
if (output.statusCode >= 300) {
|
|
3374
|
-
return
|
|
2316
|
+
return de_CommandError(output, context);
|
|
3375
2317
|
}
|
|
3376
2318
|
const data = await parseBody(output.body, context);
|
|
3377
2319
|
let contents = {};
|
|
@@ -3382,40 +2324,9 @@ var de_ModifyDBSubnetGroupCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3382
2324
|
};
|
|
3383
2325
|
return response;
|
|
3384
2326
|
}, "de_ModifyDBSubnetGroupCommand");
|
|
3385
|
-
var de_ModifyDBSubnetGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3386
|
-
const parsedOutput = {
|
|
3387
|
-
...output,
|
|
3388
|
-
body: await parseErrorBody(output.body, context)
|
|
3389
|
-
};
|
|
3390
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3391
|
-
switch (errorCode) {
|
|
3392
|
-
case "DBSubnetGroupDoesNotCoverEnoughAZs":
|
|
3393
|
-
case "com.amazonaws.docdb#DBSubnetGroupDoesNotCoverEnoughAZs":
|
|
3394
|
-
throw await de_DBSubnetGroupDoesNotCoverEnoughAZsRes(parsedOutput, context);
|
|
3395
|
-
case "DBSubnetGroupNotFoundFault":
|
|
3396
|
-
case "com.amazonaws.docdb#DBSubnetGroupNotFoundFault":
|
|
3397
|
-
throw await de_DBSubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
3398
|
-
case "DBSubnetQuotaExceededFault":
|
|
3399
|
-
case "com.amazonaws.docdb#DBSubnetQuotaExceededFault":
|
|
3400
|
-
throw await de_DBSubnetQuotaExceededFaultRes(parsedOutput, context);
|
|
3401
|
-
case "InvalidSubnet":
|
|
3402
|
-
case "com.amazonaws.docdb#InvalidSubnet":
|
|
3403
|
-
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
3404
|
-
case "SubnetAlreadyInUse":
|
|
3405
|
-
case "com.amazonaws.docdb#SubnetAlreadyInUse":
|
|
3406
|
-
throw await de_SubnetAlreadyInUseRes(parsedOutput, context);
|
|
3407
|
-
default:
|
|
3408
|
-
const parsedBody = parsedOutput.body;
|
|
3409
|
-
return throwDefaultError({
|
|
3410
|
-
output,
|
|
3411
|
-
parsedBody: parsedBody.Error,
|
|
3412
|
-
errorCode
|
|
3413
|
-
});
|
|
3414
|
-
}
|
|
3415
|
-
}, "de_ModifyDBSubnetGroupCommandError");
|
|
3416
2327
|
var de_ModifyEventSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3417
2328
|
if (output.statusCode >= 300) {
|
|
3418
|
-
return
|
|
2329
|
+
return de_CommandError(output, context);
|
|
3419
2330
|
}
|
|
3420
2331
|
const data = await parseBody(output.body, context);
|
|
3421
2332
|
let contents = {};
|
|
@@ -3426,43 +2337,9 @@ var de_ModifyEventSubscriptionCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
3426
2337
|
};
|
|
3427
2338
|
return response;
|
|
3428
2339
|
}, "de_ModifyEventSubscriptionCommand");
|
|
3429
|
-
var de_ModifyEventSubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3430
|
-
const parsedOutput = {
|
|
3431
|
-
...output,
|
|
3432
|
-
body: await parseErrorBody(output.body, context)
|
|
3433
|
-
};
|
|
3434
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3435
|
-
switch (errorCode) {
|
|
3436
|
-
case "EventSubscriptionQuotaExceeded":
|
|
3437
|
-
case "com.amazonaws.docdb#EventSubscriptionQuotaExceededFault":
|
|
3438
|
-
throw await de_EventSubscriptionQuotaExceededFaultRes(parsedOutput, context);
|
|
3439
|
-
case "SNSInvalidTopic":
|
|
3440
|
-
case "com.amazonaws.docdb#SNSInvalidTopicFault":
|
|
3441
|
-
throw await de_SNSInvalidTopicFaultRes(parsedOutput, context);
|
|
3442
|
-
case "SNSNoAuthorization":
|
|
3443
|
-
case "com.amazonaws.docdb#SNSNoAuthorizationFault":
|
|
3444
|
-
throw await de_SNSNoAuthorizationFaultRes(parsedOutput, context);
|
|
3445
|
-
case "SNSTopicArnNotFound":
|
|
3446
|
-
case "com.amazonaws.docdb#SNSTopicArnNotFoundFault":
|
|
3447
|
-
throw await de_SNSTopicArnNotFoundFaultRes(parsedOutput, context);
|
|
3448
|
-
case "SubscriptionCategoryNotFound":
|
|
3449
|
-
case "com.amazonaws.docdb#SubscriptionCategoryNotFoundFault":
|
|
3450
|
-
throw await de_SubscriptionCategoryNotFoundFaultRes(parsedOutput, context);
|
|
3451
|
-
case "SubscriptionNotFound":
|
|
3452
|
-
case "com.amazonaws.docdb#SubscriptionNotFoundFault":
|
|
3453
|
-
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
3454
|
-
default:
|
|
3455
|
-
const parsedBody = parsedOutput.body;
|
|
3456
|
-
return throwDefaultError({
|
|
3457
|
-
output,
|
|
3458
|
-
parsedBody: parsedBody.Error,
|
|
3459
|
-
errorCode
|
|
3460
|
-
});
|
|
3461
|
-
}
|
|
3462
|
-
}, "de_ModifyEventSubscriptionCommandError");
|
|
3463
2340
|
var de_ModifyGlobalClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3464
2341
|
if (output.statusCode >= 300) {
|
|
3465
|
-
return
|
|
2342
|
+
return de_CommandError(output, context);
|
|
3466
2343
|
}
|
|
3467
2344
|
const data = await parseBody(output.body, context);
|
|
3468
2345
|
let contents = {};
|
|
@@ -3473,31 +2350,9 @@ var de_ModifyGlobalClusterCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3473
2350
|
};
|
|
3474
2351
|
return response;
|
|
3475
2352
|
}, "de_ModifyGlobalClusterCommand");
|
|
3476
|
-
var de_ModifyGlobalClusterCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3477
|
-
const parsedOutput = {
|
|
3478
|
-
...output,
|
|
3479
|
-
body: await parseErrorBody(output.body, context)
|
|
3480
|
-
};
|
|
3481
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3482
|
-
switch (errorCode) {
|
|
3483
|
-
case "GlobalClusterNotFoundFault":
|
|
3484
|
-
case "com.amazonaws.docdb#GlobalClusterNotFoundFault":
|
|
3485
|
-
throw await de_GlobalClusterNotFoundFaultRes(parsedOutput, context);
|
|
3486
|
-
case "InvalidGlobalClusterStateFault":
|
|
3487
|
-
case "com.amazonaws.docdb#InvalidGlobalClusterStateFault":
|
|
3488
|
-
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
3489
|
-
default:
|
|
3490
|
-
const parsedBody = parsedOutput.body;
|
|
3491
|
-
return throwDefaultError({
|
|
3492
|
-
output,
|
|
3493
|
-
parsedBody: parsedBody.Error,
|
|
3494
|
-
errorCode
|
|
3495
|
-
});
|
|
3496
|
-
}
|
|
3497
|
-
}, "de_ModifyGlobalClusterCommandError");
|
|
3498
2353
|
var de_RebootDBInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3499
2354
|
if (output.statusCode >= 300) {
|
|
3500
|
-
return
|
|
2355
|
+
return de_CommandError(output, context);
|
|
3501
2356
|
}
|
|
3502
2357
|
const data = await parseBody(output.body, context);
|
|
3503
2358
|
let contents = {};
|
|
@@ -3508,31 +2363,9 @@ var de_RebootDBInstanceCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3508
2363
|
};
|
|
3509
2364
|
return response;
|
|
3510
2365
|
}, "de_RebootDBInstanceCommand");
|
|
3511
|
-
var de_RebootDBInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3512
|
-
const parsedOutput = {
|
|
3513
|
-
...output,
|
|
3514
|
-
body: await parseErrorBody(output.body, context)
|
|
3515
|
-
};
|
|
3516
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3517
|
-
switch (errorCode) {
|
|
3518
|
-
case "DBInstanceNotFound":
|
|
3519
|
-
case "com.amazonaws.docdb#DBInstanceNotFoundFault":
|
|
3520
|
-
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
3521
|
-
case "InvalidDBInstanceState":
|
|
3522
|
-
case "com.amazonaws.docdb#InvalidDBInstanceStateFault":
|
|
3523
|
-
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
3524
|
-
default:
|
|
3525
|
-
const parsedBody = parsedOutput.body;
|
|
3526
|
-
return throwDefaultError({
|
|
3527
|
-
output,
|
|
3528
|
-
parsedBody: parsedBody.Error,
|
|
3529
|
-
errorCode
|
|
3530
|
-
});
|
|
3531
|
-
}
|
|
3532
|
-
}, "de_RebootDBInstanceCommandError");
|
|
3533
2366
|
var de_RemoveFromGlobalClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3534
2367
|
if (output.statusCode >= 300) {
|
|
3535
|
-
return
|
|
2368
|
+
return de_CommandError(output, context);
|
|
3536
2369
|
}
|
|
3537
2370
|
const data = await parseBody(output.body, context);
|
|
3538
2371
|
let contents = {};
|
|
@@ -3543,34 +2376,9 @@ var de_RemoveFromGlobalClusterCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
3543
2376
|
};
|
|
3544
2377
|
return response;
|
|
3545
2378
|
}, "de_RemoveFromGlobalClusterCommand");
|
|
3546
|
-
var de_RemoveFromGlobalClusterCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3547
|
-
const parsedOutput = {
|
|
3548
|
-
...output,
|
|
3549
|
-
body: await parseErrorBody(output.body, context)
|
|
3550
|
-
};
|
|
3551
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3552
|
-
switch (errorCode) {
|
|
3553
|
-
case "DBClusterNotFoundFault":
|
|
3554
|
-
case "com.amazonaws.docdb#DBClusterNotFoundFault":
|
|
3555
|
-
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
3556
|
-
case "GlobalClusterNotFoundFault":
|
|
3557
|
-
case "com.amazonaws.docdb#GlobalClusterNotFoundFault":
|
|
3558
|
-
throw await de_GlobalClusterNotFoundFaultRes(parsedOutput, context);
|
|
3559
|
-
case "InvalidGlobalClusterStateFault":
|
|
3560
|
-
case "com.amazonaws.docdb#InvalidGlobalClusterStateFault":
|
|
3561
|
-
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
3562
|
-
default:
|
|
3563
|
-
const parsedBody = parsedOutput.body;
|
|
3564
|
-
return throwDefaultError({
|
|
3565
|
-
output,
|
|
3566
|
-
parsedBody: parsedBody.Error,
|
|
3567
|
-
errorCode
|
|
3568
|
-
});
|
|
3569
|
-
}
|
|
3570
|
-
}, "de_RemoveFromGlobalClusterCommandError");
|
|
3571
2379
|
var de_RemoveSourceIdentifierFromSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3572
2380
|
if (output.statusCode >= 300) {
|
|
3573
|
-
return
|
|
2381
|
+
return de_CommandError(output, context);
|
|
3574
2382
|
}
|
|
3575
2383
|
const data = await parseBody(output.body, context);
|
|
3576
2384
|
let contents = {};
|
|
@@ -3584,31 +2392,9 @@ var de_RemoveSourceIdentifierFromSubscriptionCommand = /* @__PURE__ */ __name(as
|
|
|
3584
2392
|
};
|
|
3585
2393
|
return response;
|
|
3586
2394
|
}, "de_RemoveSourceIdentifierFromSubscriptionCommand");
|
|
3587
|
-
var de_RemoveSourceIdentifierFromSubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3588
|
-
const parsedOutput = {
|
|
3589
|
-
...output,
|
|
3590
|
-
body: await parseErrorBody(output.body, context)
|
|
3591
|
-
};
|
|
3592
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3593
|
-
switch (errorCode) {
|
|
3594
|
-
case "SourceNotFound":
|
|
3595
|
-
case "com.amazonaws.docdb#SourceNotFoundFault":
|
|
3596
|
-
throw await de_SourceNotFoundFaultRes(parsedOutput, context);
|
|
3597
|
-
case "SubscriptionNotFound":
|
|
3598
|
-
case "com.amazonaws.docdb#SubscriptionNotFoundFault":
|
|
3599
|
-
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
3600
|
-
default:
|
|
3601
|
-
const parsedBody = parsedOutput.body;
|
|
3602
|
-
return throwDefaultError({
|
|
3603
|
-
output,
|
|
3604
|
-
parsedBody: parsedBody.Error,
|
|
3605
|
-
errorCode
|
|
3606
|
-
});
|
|
3607
|
-
}
|
|
3608
|
-
}, "de_RemoveSourceIdentifierFromSubscriptionCommandError");
|
|
3609
2395
|
var de_RemoveTagsFromResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3610
2396
|
if (output.statusCode >= 300) {
|
|
3611
|
-
return
|
|
2397
|
+
return de_CommandError(output, context);
|
|
3612
2398
|
}
|
|
3613
2399
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3614
2400
|
const response = {
|
|
@@ -3616,34 +2402,9 @@ var de_RemoveTagsFromResourceCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3616
2402
|
};
|
|
3617
2403
|
return response;
|
|
3618
2404
|
}, "de_RemoveTagsFromResourceCommand");
|
|
3619
|
-
var de_RemoveTagsFromResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3620
|
-
const parsedOutput = {
|
|
3621
|
-
...output,
|
|
3622
|
-
body: await parseErrorBody(output.body, context)
|
|
3623
|
-
};
|
|
3624
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3625
|
-
switch (errorCode) {
|
|
3626
|
-
case "DBClusterNotFoundFault":
|
|
3627
|
-
case "com.amazonaws.docdb#DBClusterNotFoundFault":
|
|
3628
|
-
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
3629
|
-
case "DBInstanceNotFound":
|
|
3630
|
-
case "com.amazonaws.docdb#DBInstanceNotFoundFault":
|
|
3631
|
-
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
3632
|
-
case "DBSnapshotNotFound":
|
|
3633
|
-
case "com.amazonaws.docdb#DBSnapshotNotFoundFault":
|
|
3634
|
-
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
3635
|
-
default:
|
|
3636
|
-
const parsedBody = parsedOutput.body;
|
|
3637
|
-
return throwDefaultError({
|
|
3638
|
-
output,
|
|
3639
|
-
parsedBody: parsedBody.Error,
|
|
3640
|
-
errorCode
|
|
3641
|
-
});
|
|
3642
|
-
}
|
|
3643
|
-
}, "de_RemoveTagsFromResourceCommandError");
|
|
3644
2405
|
var de_ResetDBClusterParameterGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3645
2406
|
if (output.statusCode >= 300) {
|
|
3646
|
-
return
|
|
2407
|
+
return de_CommandError(output, context);
|
|
3647
2408
|
}
|
|
3648
2409
|
const data = await parseBody(output.body, context);
|
|
3649
2410
|
let contents = {};
|
|
@@ -3654,31 +2415,9 @@ var de_ResetDBClusterParameterGroupCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
3654
2415
|
};
|
|
3655
2416
|
return response;
|
|
3656
2417
|
}, "de_ResetDBClusterParameterGroupCommand");
|
|
3657
|
-
var de_ResetDBClusterParameterGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3658
|
-
const parsedOutput = {
|
|
3659
|
-
...output,
|
|
3660
|
-
body: await parseErrorBody(output.body, context)
|
|
3661
|
-
};
|
|
3662
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3663
|
-
switch (errorCode) {
|
|
3664
|
-
case "DBParameterGroupNotFound":
|
|
3665
|
-
case "com.amazonaws.docdb#DBParameterGroupNotFoundFault":
|
|
3666
|
-
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
3667
|
-
case "InvalidDBParameterGroupState":
|
|
3668
|
-
case "com.amazonaws.docdb#InvalidDBParameterGroupStateFault":
|
|
3669
|
-
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
3670
|
-
default:
|
|
3671
|
-
const parsedBody = parsedOutput.body;
|
|
3672
|
-
return throwDefaultError({
|
|
3673
|
-
output,
|
|
3674
|
-
parsedBody: parsedBody.Error,
|
|
3675
|
-
errorCode
|
|
3676
|
-
});
|
|
3677
|
-
}
|
|
3678
|
-
}, "de_ResetDBClusterParameterGroupCommandError");
|
|
3679
2418
|
var de_RestoreDBClusterFromSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3680
2419
|
if (output.statusCode >= 300) {
|
|
3681
|
-
return
|
|
2420
|
+
return de_CommandError(output, context);
|
|
3682
2421
|
}
|
|
3683
2422
|
const data = await parseBody(output.body, context);
|
|
3684
2423
|
let contents = {};
|
|
@@ -3689,67 +2428,9 @@ var de_RestoreDBClusterFromSnapshotCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
3689
2428
|
};
|
|
3690
2429
|
return response;
|
|
3691
2430
|
}, "de_RestoreDBClusterFromSnapshotCommand");
|
|
3692
|
-
var de_RestoreDBClusterFromSnapshotCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3693
|
-
const parsedOutput = {
|
|
3694
|
-
...output,
|
|
3695
|
-
body: await parseErrorBody(output.body, context)
|
|
3696
|
-
};
|
|
3697
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3698
|
-
switch (errorCode) {
|
|
3699
|
-
case "DBClusterAlreadyExistsFault":
|
|
3700
|
-
case "com.amazonaws.docdb#DBClusterAlreadyExistsFault":
|
|
3701
|
-
throw await de_DBClusterAlreadyExistsFaultRes(parsedOutput, context);
|
|
3702
|
-
case "DBClusterQuotaExceededFault":
|
|
3703
|
-
case "com.amazonaws.docdb#DBClusterQuotaExceededFault":
|
|
3704
|
-
throw await de_DBClusterQuotaExceededFaultRes(parsedOutput, context);
|
|
3705
|
-
case "DBClusterSnapshotNotFoundFault":
|
|
3706
|
-
case "com.amazonaws.docdb#DBClusterSnapshotNotFoundFault":
|
|
3707
|
-
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
3708
|
-
case "DBSnapshotNotFound":
|
|
3709
|
-
case "com.amazonaws.docdb#DBSnapshotNotFoundFault":
|
|
3710
|
-
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
3711
|
-
case "DBSubnetGroupNotFoundFault":
|
|
3712
|
-
case "com.amazonaws.docdb#DBSubnetGroupNotFoundFault":
|
|
3713
|
-
throw await de_DBSubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
3714
|
-
case "InsufficientDBClusterCapacityFault":
|
|
3715
|
-
case "com.amazonaws.docdb#InsufficientDBClusterCapacityFault":
|
|
3716
|
-
throw await de_InsufficientDBClusterCapacityFaultRes(parsedOutput, context);
|
|
3717
|
-
case "InsufficientStorageClusterCapacity":
|
|
3718
|
-
case "com.amazonaws.docdb#InsufficientStorageClusterCapacityFault":
|
|
3719
|
-
throw await de_InsufficientStorageClusterCapacityFaultRes(parsedOutput, context);
|
|
3720
|
-
case "InvalidDBClusterSnapshotStateFault":
|
|
3721
|
-
case "com.amazonaws.docdb#InvalidDBClusterSnapshotStateFault":
|
|
3722
|
-
throw await de_InvalidDBClusterSnapshotStateFaultRes(parsedOutput, context);
|
|
3723
|
-
case "InvalidDBSnapshotState":
|
|
3724
|
-
case "com.amazonaws.docdb#InvalidDBSnapshotStateFault":
|
|
3725
|
-
throw await de_InvalidDBSnapshotStateFaultRes(parsedOutput, context);
|
|
3726
|
-
case "InvalidRestoreFault":
|
|
3727
|
-
case "com.amazonaws.docdb#InvalidRestoreFault":
|
|
3728
|
-
throw await de_InvalidRestoreFaultRes(parsedOutput, context);
|
|
3729
|
-
case "InvalidSubnet":
|
|
3730
|
-
case "com.amazonaws.docdb#InvalidSubnet":
|
|
3731
|
-
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
3732
|
-
case "InvalidVPCNetworkStateFault":
|
|
3733
|
-
case "com.amazonaws.docdb#InvalidVPCNetworkStateFault":
|
|
3734
|
-
throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
|
|
3735
|
-
case "KMSKeyNotAccessibleFault":
|
|
3736
|
-
case "com.amazonaws.docdb#KMSKeyNotAccessibleFault":
|
|
3737
|
-
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
3738
|
-
case "StorageQuotaExceeded":
|
|
3739
|
-
case "com.amazonaws.docdb#StorageQuotaExceededFault":
|
|
3740
|
-
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
3741
|
-
default:
|
|
3742
|
-
const parsedBody = parsedOutput.body;
|
|
3743
|
-
return throwDefaultError({
|
|
3744
|
-
output,
|
|
3745
|
-
parsedBody: parsedBody.Error,
|
|
3746
|
-
errorCode
|
|
3747
|
-
});
|
|
3748
|
-
}
|
|
3749
|
-
}, "de_RestoreDBClusterFromSnapshotCommandError");
|
|
3750
2431
|
var de_RestoreDBClusterToPointInTimeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3751
2432
|
if (output.statusCode >= 300) {
|
|
3752
|
-
return
|
|
2433
|
+
return de_CommandError(output, context);
|
|
3753
2434
|
}
|
|
3754
2435
|
const data = await parseBody(output.body, context);
|
|
3755
2436
|
let contents = {};
|
|
@@ -3760,70 +2441,9 @@ var de_RestoreDBClusterToPointInTimeCommand = /* @__PURE__ */ __name(async (outp
|
|
|
3760
2441
|
};
|
|
3761
2442
|
return response;
|
|
3762
2443
|
}, "de_RestoreDBClusterToPointInTimeCommand");
|
|
3763
|
-
var de_RestoreDBClusterToPointInTimeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3764
|
-
const parsedOutput = {
|
|
3765
|
-
...output,
|
|
3766
|
-
body: await parseErrorBody(output.body, context)
|
|
3767
|
-
};
|
|
3768
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3769
|
-
switch (errorCode) {
|
|
3770
|
-
case "DBClusterAlreadyExistsFault":
|
|
3771
|
-
case "com.amazonaws.docdb#DBClusterAlreadyExistsFault":
|
|
3772
|
-
throw await de_DBClusterAlreadyExistsFaultRes(parsedOutput, context);
|
|
3773
|
-
case "DBClusterNotFoundFault":
|
|
3774
|
-
case "com.amazonaws.docdb#DBClusterNotFoundFault":
|
|
3775
|
-
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
3776
|
-
case "DBClusterQuotaExceededFault":
|
|
3777
|
-
case "com.amazonaws.docdb#DBClusterQuotaExceededFault":
|
|
3778
|
-
throw await de_DBClusterQuotaExceededFaultRes(parsedOutput, context);
|
|
3779
|
-
case "DBClusterSnapshotNotFoundFault":
|
|
3780
|
-
case "com.amazonaws.docdb#DBClusterSnapshotNotFoundFault":
|
|
3781
|
-
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
3782
|
-
case "DBSubnetGroupNotFoundFault":
|
|
3783
|
-
case "com.amazonaws.docdb#DBSubnetGroupNotFoundFault":
|
|
3784
|
-
throw await de_DBSubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
3785
|
-
case "InsufficientDBClusterCapacityFault":
|
|
3786
|
-
case "com.amazonaws.docdb#InsufficientDBClusterCapacityFault":
|
|
3787
|
-
throw await de_InsufficientDBClusterCapacityFaultRes(parsedOutput, context);
|
|
3788
|
-
case "InsufficientStorageClusterCapacity":
|
|
3789
|
-
case "com.amazonaws.docdb#InsufficientStorageClusterCapacityFault":
|
|
3790
|
-
throw await de_InsufficientStorageClusterCapacityFaultRes(parsedOutput, context);
|
|
3791
|
-
case "InvalidDBClusterSnapshotStateFault":
|
|
3792
|
-
case "com.amazonaws.docdb#InvalidDBClusterSnapshotStateFault":
|
|
3793
|
-
throw await de_InvalidDBClusterSnapshotStateFaultRes(parsedOutput, context);
|
|
3794
|
-
case "InvalidDBClusterStateFault":
|
|
3795
|
-
case "com.amazonaws.docdb#InvalidDBClusterStateFault":
|
|
3796
|
-
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
3797
|
-
case "InvalidDBSnapshotState":
|
|
3798
|
-
case "com.amazonaws.docdb#InvalidDBSnapshotStateFault":
|
|
3799
|
-
throw await de_InvalidDBSnapshotStateFaultRes(parsedOutput, context);
|
|
3800
|
-
case "InvalidRestoreFault":
|
|
3801
|
-
case "com.amazonaws.docdb#InvalidRestoreFault":
|
|
3802
|
-
throw await de_InvalidRestoreFaultRes(parsedOutput, context);
|
|
3803
|
-
case "InvalidSubnet":
|
|
3804
|
-
case "com.amazonaws.docdb#InvalidSubnet":
|
|
3805
|
-
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
3806
|
-
case "InvalidVPCNetworkStateFault":
|
|
3807
|
-
case "com.amazonaws.docdb#InvalidVPCNetworkStateFault":
|
|
3808
|
-
throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
|
|
3809
|
-
case "KMSKeyNotAccessibleFault":
|
|
3810
|
-
case "com.amazonaws.docdb#KMSKeyNotAccessibleFault":
|
|
3811
|
-
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
3812
|
-
case "StorageQuotaExceeded":
|
|
3813
|
-
case "com.amazonaws.docdb#StorageQuotaExceededFault":
|
|
3814
|
-
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
3815
|
-
default:
|
|
3816
|
-
const parsedBody = parsedOutput.body;
|
|
3817
|
-
return throwDefaultError({
|
|
3818
|
-
output,
|
|
3819
|
-
parsedBody: parsedBody.Error,
|
|
3820
|
-
errorCode
|
|
3821
|
-
});
|
|
3822
|
-
}
|
|
3823
|
-
}, "de_RestoreDBClusterToPointInTimeCommandError");
|
|
3824
2444
|
var de_StartDBClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3825
2445
|
if (output.statusCode >= 300) {
|
|
3826
|
-
return
|
|
2446
|
+
return de_CommandError(output, context);
|
|
3827
2447
|
}
|
|
3828
2448
|
const data = await parseBody(output.body, context);
|
|
3829
2449
|
let contents = {};
|
|
@@ -3834,34 +2454,9 @@ var de_StartDBClusterCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3834
2454
|
};
|
|
3835
2455
|
return response;
|
|
3836
2456
|
}, "de_StartDBClusterCommand");
|
|
3837
|
-
var de_StartDBClusterCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3838
|
-
const parsedOutput = {
|
|
3839
|
-
...output,
|
|
3840
|
-
body: await parseErrorBody(output.body, context)
|
|
3841
|
-
};
|
|
3842
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3843
|
-
switch (errorCode) {
|
|
3844
|
-
case "DBClusterNotFoundFault":
|
|
3845
|
-
case "com.amazonaws.docdb#DBClusterNotFoundFault":
|
|
3846
|
-
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
3847
|
-
case "InvalidDBClusterStateFault":
|
|
3848
|
-
case "com.amazonaws.docdb#InvalidDBClusterStateFault":
|
|
3849
|
-
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
3850
|
-
case "InvalidDBInstanceState":
|
|
3851
|
-
case "com.amazonaws.docdb#InvalidDBInstanceStateFault":
|
|
3852
|
-
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
3853
|
-
default:
|
|
3854
|
-
const parsedBody = parsedOutput.body;
|
|
3855
|
-
return throwDefaultError({
|
|
3856
|
-
output,
|
|
3857
|
-
parsedBody: parsedBody.Error,
|
|
3858
|
-
errorCode
|
|
3859
|
-
});
|
|
3860
|
-
}
|
|
3861
|
-
}, "de_StartDBClusterCommandError");
|
|
3862
2457
|
var de_StopDBClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3863
2458
|
if (output.statusCode >= 300) {
|
|
3864
|
-
return
|
|
2459
|
+
return de_CommandError(output, context);
|
|
3865
2460
|
}
|
|
3866
2461
|
const data = await parseBody(output.body, context);
|
|
3867
2462
|
let contents = {};
|
|
@@ -3872,22 +2467,184 @@ var de_StopDBClusterCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3872
2467
|
};
|
|
3873
2468
|
return response;
|
|
3874
2469
|
}, "de_StopDBClusterCommand");
|
|
3875
|
-
var
|
|
2470
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3876
2471
|
const parsedOutput = {
|
|
3877
2472
|
...output,
|
|
3878
2473
|
body: await parseErrorBody(output.body, context)
|
|
3879
2474
|
};
|
|
3880
2475
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3881
2476
|
switch (errorCode) {
|
|
2477
|
+
case "SourceNotFound":
|
|
2478
|
+
case "com.amazonaws.docdb#SourceNotFoundFault":
|
|
2479
|
+
throw await de_SourceNotFoundFaultRes(parsedOutput, context);
|
|
2480
|
+
case "SubscriptionNotFound":
|
|
2481
|
+
case "com.amazonaws.docdb#SubscriptionNotFoundFault":
|
|
2482
|
+
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
3882
2483
|
case "DBClusterNotFoundFault":
|
|
3883
2484
|
case "com.amazonaws.docdb#DBClusterNotFoundFault":
|
|
3884
2485
|
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
2486
|
+
case "DBInstanceNotFound":
|
|
2487
|
+
case "com.amazonaws.docdb#DBInstanceNotFoundFault":
|
|
2488
|
+
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
2489
|
+
case "DBSnapshotNotFound":
|
|
2490
|
+
case "com.amazonaws.docdb#DBSnapshotNotFoundFault":
|
|
2491
|
+
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
3885
2492
|
case "InvalidDBClusterStateFault":
|
|
3886
2493
|
case "com.amazonaws.docdb#InvalidDBClusterStateFault":
|
|
3887
2494
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
3888
2495
|
case "InvalidDBInstanceState":
|
|
3889
2496
|
case "com.amazonaws.docdb#InvalidDBInstanceStateFault":
|
|
3890
2497
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
2498
|
+
case "ResourceNotFoundFault":
|
|
2499
|
+
case "com.amazonaws.docdb#ResourceNotFoundFault":
|
|
2500
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
2501
|
+
case "DBParameterGroupAlreadyExists":
|
|
2502
|
+
case "com.amazonaws.docdb#DBParameterGroupAlreadyExistsFault":
|
|
2503
|
+
throw await de_DBParameterGroupAlreadyExistsFaultRes(parsedOutput, context);
|
|
2504
|
+
case "DBParameterGroupNotFound":
|
|
2505
|
+
case "com.amazonaws.docdb#DBParameterGroupNotFoundFault":
|
|
2506
|
+
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
2507
|
+
case "DBParameterGroupQuotaExceeded":
|
|
2508
|
+
case "com.amazonaws.docdb#DBParameterGroupQuotaExceededFault":
|
|
2509
|
+
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
2510
|
+
case "DBClusterSnapshotAlreadyExistsFault":
|
|
2511
|
+
case "com.amazonaws.docdb#DBClusterSnapshotAlreadyExistsFault":
|
|
2512
|
+
throw await de_DBClusterSnapshotAlreadyExistsFaultRes(parsedOutput, context);
|
|
2513
|
+
case "DBClusterSnapshotNotFoundFault":
|
|
2514
|
+
case "com.amazonaws.docdb#DBClusterSnapshotNotFoundFault":
|
|
2515
|
+
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
2516
|
+
case "InvalidDBClusterSnapshotStateFault":
|
|
2517
|
+
case "com.amazonaws.docdb#InvalidDBClusterSnapshotStateFault":
|
|
2518
|
+
throw await de_InvalidDBClusterSnapshotStateFaultRes(parsedOutput, context);
|
|
2519
|
+
case "KMSKeyNotAccessibleFault":
|
|
2520
|
+
case "com.amazonaws.docdb#KMSKeyNotAccessibleFault":
|
|
2521
|
+
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
2522
|
+
case "SnapshotQuotaExceeded":
|
|
2523
|
+
case "com.amazonaws.docdb#SnapshotQuotaExceededFault":
|
|
2524
|
+
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
2525
|
+
case "DBClusterAlreadyExistsFault":
|
|
2526
|
+
case "com.amazonaws.docdb#DBClusterAlreadyExistsFault":
|
|
2527
|
+
throw await de_DBClusterAlreadyExistsFaultRes(parsedOutput, context);
|
|
2528
|
+
case "DBClusterParameterGroupNotFound":
|
|
2529
|
+
case "com.amazonaws.docdb#DBClusterParameterGroupNotFoundFault":
|
|
2530
|
+
throw await de_DBClusterParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
2531
|
+
case "DBClusterQuotaExceededFault":
|
|
2532
|
+
case "com.amazonaws.docdb#DBClusterQuotaExceededFault":
|
|
2533
|
+
throw await de_DBClusterQuotaExceededFaultRes(parsedOutput, context);
|
|
2534
|
+
case "DBSubnetGroupDoesNotCoverEnoughAZs":
|
|
2535
|
+
case "com.amazonaws.docdb#DBSubnetGroupDoesNotCoverEnoughAZs":
|
|
2536
|
+
throw await de_DBSubnetGroupDoesNotCoverEnoughAZsRes(parsedOutput, context);
|
|
2537
|
+
case "DBSubnetGroupNotFoundFault":
|
|
2538
|
+
case "com.amazonaws.docdb#DBSubnetGroupNotFoundFault":
|
|
2539
|
+
throw await de_DBSubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
2540
|
+
case "GlobalClusterNotFoundFault":
|
|
2541
|
+
case "com.amazonaws.docdb#GlobalClusterNotFoundFault":
|
|
2542
|
+
throw await de_GlobalClusterNotFoundFaultRes(parsedOutput, context);
|
|
2543
|
+
case "InsufficientStorageClusterCapacity":
|
|
2544
|
+
case "com.amazonaws.docdb#InsufficientStorageClusterCapacityFault":
|
|
2545
|
+
throw await de_InsufficientStorageClusterCapacityFaultRes(parsedOutput, context);
|
|
2546
|
+
case "InvalidDBSubnetGroupStateFault":
|
|
2547
|
+
case "com.amazonaws.docdb#InvalidDBSubnetGroupStateFault":
|
|
2548
|
+
throw await de_InvalidDBSubnetGroupStateFaultRes(parsedOutput, context);
|
|
2549
|
+
case "InvalidGlobalClusterStateFault":
|
|
2550
|
+
case "com.amazonaws.docdb#InvalidGlobalClusterStateFault":
|
|
2551
|
+
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
2552
|
+
case "InvalidSubnet":
|
|
2553
|
+
case "com.amazonaws.docdb#InvalidSubnet":
|
|
2554
|
+
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
2555
|
+
case "InvalidVPCNetworkStateFault":
|
|
2556
|
+
case "com.amazonaws.docdb#InvalidVPCNetworkStateFault":
|
|
2557
|
+
throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
|
|
2558
|
+
case "StorageQuotaExceeded":
|
|
2559
|
+
case "com.amazonaws.docdb#StorageQuotaExceededFault":
|
|
2560
|
+
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
2561
|
+
case "AuthorizationNotFound":
|
|
2562
|
+
case "com.amazonaws.docdb#AuthorizationNotFoundFault":
|
|
2563
|
+
throw await de_AuthorizationNotFoundFaultRes(parsedOutput, context);
|
|
2564
|
+
case "DBInstanceAlreadyExists":
|
|
2565
|
+
case "com.amazonaws.docdb#DBInstanceAlreadyExistsFault":
|
|
2566
|
+
throw await de_DBInstanceAlreadyExistsFaultRes(parsedOutput, context);
|
|
2567
|
+
case "DBSecurityGroupNotFound":
|
|
2568
|
+
case "com.amazonaws.docdb#DBSecurityGroupNotFoundFault":
|
|
2569
|
+
throw await de_DBSecurityGroupNotFoundFaultRes(parsedOutput, context);
|
|
2570
|
+
case "InstanceQuotaExceeded":
|
|
2571
|
+
case "com.amazonaws.docdb#InstanceQuotaExceededFault":
|
|
2572
|
+
throw await de_InstanceQuotaExceededFaultRes(parsedOutput, context);
|
|
2573
|
+
case "InsufficientDBInstanceCapacity":
|
|
2574
|
+
case "com.amazonaws.docdb#InsufficientDBInstanceCapacityFault":
|
|
2575
|
+
throw await de_InsufficientDBInstanceCapacityFaultRes(parsedOutput, context);
|
|
2576
|
+
case "StorageTypeNotSupported":
|
|
2577
|
+
case "com.amazonaws.docdb#StorageTypeNotSupportedFault":
|
|
2578
|
+
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
2579
|
+
case "DBSubnetGroupAlreadyExists":
|
|
2580
|
+
case "com.amazonaws.docdb#DBSubnetGroupAlreadyExistsFault":
|
|
2581
|
+
throw await de_DBSubnetGroupAlreadyExistsFaultRes(parsedOutput, context);
|
|
2582
|
+
case "DBSubnetGroupQuotaExceeded":
|
|
2583
|
+
case "com.amazonaws.docdb#DBSubnetGroupQuotaExceededFault":
|
|
2584
|
+
throw await de_DBSubnetGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
2585
|
+
case "DBSubnetQuotaExceededFault":
|
|
2586
|
+
case "com.amazonaws.docdb#DBSubnetQuotaExceededFault":
|
|
2587
|
+
throw await de_DBSubnetQuotaExceededFaultRes(parsedOutput, context);
|
|
2588
|
+
case "EventSubscriptionQuotaExceeded":
|
|
2589
|
+
case "com.amazonaws.docdb#EventSubscriptionQuotaExceededFault":
|
|
2590
|
+
throw await de_EventSubscriptionQuotaExceededFaultRes(parsedOutput, context);
|
|
2591
|
+
case "SNSInvalidTopic":
|
|
2592
|
+
case "com.amazonaws.docdb#SNSInvalidTopicFault":
|
|
2593
|
+
throw await de_SNSInvalidTopicFaultRes(parsedOutput, context);
|
|
2594
|
+
case "SNSNoAuthorization":
|
|
2595
|
+
case "com.amazonaws.docdb#SNSNoAuthorizationFault":
|
|
2596
|
+
throw await de_SNSNoAuthorizationFaultRes(parsedOutput, context);
|
|
2597
|
+
case "SNSTopicArnNotFound":
|
|
2598
|
+
case "com.amazonaws.docdb#SNSTopicArnNotFoundFault":
|
|
2599
|
+
throw await de_SNSTopicArnNotFoundFaultRes(parsedOutput, context);
|
|
2600
|
+
case "SubscriptionAlreadyExist":
|
|
2601
|
+
case "com.amazonaws.docdb#SubscriptionAlreadyExistFault":
|
|
2602
|
+
throw await de_SubscriptionAlreadyExistFaultRes(parsedOutput, context);
|
|
2603
|
+
case "SubscriptionCategoryNotFound":
|
|
2604
|
+
case "com.amazonaws.docdb#SubscriptionCategoryNotFoundFault":
|
|
2605
|
+
throw await de_SubscriptionCategoryNotFoundFaultRes(parsedOutput, context);
|
|
2606
|
+
case "GlobalClusterAlreadyExistsFault":
|
|
2607
|
+
case "com.amazonaws.docdb#GlobalClusterAlreadyExistsFault":
|
|
2608
|
+
throw await de_GlobalClusterAlreadyExistsFaultRes(parsedOutput, context);
|
|
2609
|
+
case "GlobalClusterQuotaExceededFault":
|
|
2610
|
+
case "com.amazonaws.docdb#GlobalClusterQuotaExceededFault":
|
|
2611
|
+
throw await de_GlobalClusterQuotaExceededFaultRes(parsedOutput, context);
|
|
2612
|
+
case "InvalidDBParameterGroupState":
|
|
2613
|
+
case "com.amazonaws.docdb#InvalidDBParameterGroupStateFault":
|
|
2614
|
+
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
2615
|
+
case "DBSnapshotAlreadyExists":
|
|
2616
|
+
case "com.amazonaws.docdb#DBSnapshotAlreadyExistsFault":
|
|
2617
|
+
throw await de_DBSnapshotAlreadyExistsFaultRes(parsedOutput, context);
|
|
2618
|
+
case "InvalidDBSubnetStateFault":
|
|
2619
|
+
case "com.amazonaws.docdb#InvalidDBSubnetStateFault":
|
|
2620
|
+
throw await de_InvalidDBSubnetStateFaultRes(parsedOutput, context);
|
|
2621
|
+
case "InvalidEventSubscriptionState":
|
|
2622
|
+
case "com.amazonaws.docdb#InvalidEventSubscriptionStateFault":
|
|
2623
|
+
throw await de_InvalidEventSubscriptionStateFaultRes(parsedOutput, context);
|
|
2624
|
+
case "CertificateNotFound":
|
|
2625
|
+
case "com.amazonaws.docdb#CertificateNotFoundFault":
|
|
2626
|
+
throw await de_CertificateNotFoundFaultRes(parsedOutput, context);
|
|
2627
|
+
case "InvalidDBSecurityGroupState":
|
|
2628
|
+
case "com.amazonaws.docdb#InvalidDBSecurityGroupStateFault":
|
|
2629
|
+
throw await de_InvalidDBSecurityGroupStateFaultRes(parsedOutput, context);
|
|
2630
|
+
case "SharedSnapshotQuotaExceeded":
|
|
2631
|
+
case "com.amazonaws.docdb#SharedSnapshotQuotaExceededFault":
|
|
2632
|
+
throw await de_SharedSnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
2633
|
+
case "DBUpgradeDependencyFailure":
|
|
2634
|
+
case "com.amazonaws.docdb#DBUpgradeDependencyFailureFault":
|
|
2635
|
+
throw await de_DBUpgradeDependencyFailureFaultRes(parsedOutput, context);
|
|
2636
|
+
case "SubnetAlreadyInUse":
|
|
2637
|
+
case "com.amazonaws.docdb#SubnetAlreadyInUse":
|
|
2638
|
+
throw await de_SubnetAlreadyInUseRes(parsedOutput, context);
|
|
2639
|
+
case "InsufficientDBClusterCapacityFault":
|
|
2640
|
+
case "com.amazonaws.docdb#InsufficientDBClusterCapacityFault":
|
|
2641
|
+
throw await de_InsufficientDBClusterCapacityFaultRes(parsedOutput, context);
|
|
2642
|
+
case "InvalidDBSnapshotState":
|
|
2643
|
+
case "com.amazonaws.docdb#InvalidDBSnapshotStateFault":
|
|
2644
|
+
throw await de_InvalidDBSnapshotStateFaultRes(parsedOutput, context);
|
|
2645
|
+
case "InvalidRestoreFault":
|
|
2646
|
+
case "com.amazonaws.docdb#InvalidRestoreFault":
|
|
2647
|
+
throw await de_InvalidRestoreFaultRes(parsedOutput, context);
|
|
3891
2648
|
default:
|
|
3892
2649
|
const parsedBody = parsedOutput.body;
|
|
3893
2650
|
return throwDefaultError({
|
|
@@ -3896,7 +2653,7 @@ var de_StopDBClusterCommandError = /* @__PURE__ */ __name(async (output, context
|
|
|
3896
2653
|
errorCode
|
|
3897
2654
|
});
|
|
3898
2655
|
}
|
|
3899
|
-
}, "
|
|
2656
|
+
}, "de_CommandError");
|
|
3900
2657
|
var de_AuthorizationNotFoundFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3901
2658
|
const body = parsedOutput.body;
|
|
3902
2659
|
const deserialized = de_AuthorizationNotFoundFault(body.Error, context);
|