@aws-sdk/client-ses 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 +184 -1421
- package/dist-es/protocols/Aws_query.js +192 -1429
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1677,7 +1677,7 @@ var se_VerifyEmailIdentityCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
1677
1677
|
}, "se_VerifyEmailIdentityCommand");
|
|
1678
1678
|
var de_CloneReceiptRuleSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1679
1679
|
if (output.statusCode >= 300) {
|
|
1680
|
-
return
|
|
1680
|
+
return de_CommandError(output, context);
|
|
1681
1681
|
}
|
|
1682
1682
|
const data = await parseBody(output.body, context);
|
|
1683
1683
|
let contents = {};
|
|
@@ -1688,34 +1688,9 @@ var de_CloneReceiptRuleSetCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1688
1688
|
};
|
|
1689
1689
|
return response;
|
|
1690
1690
|
}, "de_CloneReceiptRuleSetCommand");
|
|
1691
|
-
var de_CloneReceiptRuleSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1692
|
-
const parsedOutput = {
|
|
1693
|
-
...output,
|
|
1694
|
-
body: await parseErrorBody(output.body, context)
|
|
1695
|
-
};
|
|
1696
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1697
|
-
switch (errorCode) {
|
|
1698
|
-
case "AlreadyExists":
|
|
1699
|
-
case "com.amazonaws.ses#AlreadyExistsException":
|
|
1700
|
-
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
|
1701
|
-
case "LimitExceeded":
|
|
1702
|
-
case "com.amazonaws.ses#LimitExceededException":
|
|
1703
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1704
|
-
case "RuleSetDoesNotExist":
|
|
1705
|
-
case "com.amazonaws.ses#RuleSetDoesNotExistException":
|
|
1706
|
-
throw await de_RuleSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
1707
|
-
default:
|
|
1708
|
-
const parsedBody = parsedOutput.body;
|
|
1709
|
-
return throwDefaultError({
|
|
1710
|
-
output,
|
|
1711
|
-
parsedBody: parsedBody.Error,
|
|
1712
|
-
errorCode
|
|
1713
|
-
});
|
|
1714
|
-
}
|
|
1715
|
-
}, "de_CloneReceiptRuleSetCommandError");
|
|
1716
1691
|
var de_CreateConfigurationSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1717
1692
|
if (output.statusCode >= 300) {
|
|
1718
|
-
return
|
|
1693
|
+
return de_CommandError(output, context);
|
|
1719
1694
|
}
|
|
1720
1695
|
const data = await parseBody(output.body, context);
|
|
1721
1696
|
let contents = {};
|
|
@@ -1726,34 +1701,9 @@ var de_CreateConfigurationSetCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1726
1701
|
};
|
|
1727
1702
|
return response;
|
|
1728
1703
|
}, "de_CreateConfigurationSetCommand");
|
|
1729
|
-
var de_CreateConfigurationSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1730
|
-
const parsedOutput = {
|
|
1731
|
-
...output,
|
|
1732
|
-
body: await parseErrorBody(output.body, context)
|
|
1733
|
-
};
|
|
1734
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1735
|
-
switch (errorCode) {
|
|
1736
|
-
case "ConfigurationSetAlreadyExists":
|
|
1737
|
-
case "com.amazonaws.ses#ConfigurationSetAlreadyExistsException":
|
|
1738
|
-
throw await de_ConfigurationSetAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1739
|
-
case "InvalidConfigurationSet":
|
|
1740
|
-
case "com.amazonaws.ses#InvalidConfigurationSetException":
|
|
1741
|
-
throw await de_InvalidConfigurationSetExceptionRes(parsedOutput, context);
|
|
1742
|
-
case "LimitExceeded":
|
|
1743
|
-
case "com.amazonaws.ses#LimitExceededException":
|
|
1744
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1745
|
-
default:
|
|
1746
|
-
const parsedBody = parsedOutput.body;
|
|
1747
|
-
return throwDefaultError({
|
|
1748
|
-
output,
|
|
1749
|
-
parsedBody: parsedBody.Error,
|
|
1750
|
-
errorCode
|
|
1751
|
-
});
|
|
1752
|
-
}
|
|
1753
|
-
}, "de_CreateConfigurationSetCommandError");
|
|
1754
1704
|
var de_CreateConfigurationSetEventDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1755
1705
|
if (output.statusCode >= 300) {
|
|
1756
|
-
return
|
|
1706
|
+
return de_CommandError(output, context);
|
|
1757
1707
|
}
|
|
1758
1708
|
const data = await parseBody(output.body, context);
|
|
1759
1709
|
let contents = {};
|
|
@@ -1767,43 +1717,9 @@ var de_CreateConfigurationSetEventDestinationCommand = /* @__PURE__ */ __name(as
|
|
|
1767
1717
|
};
|
|
1768
1718
|
return response;
|
|
1769
1719
|
}, "de_CreateConfigurationSetEventDestinationCommand");
|
|
1770
|
-
var de_CreateConfigurationSetEventDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1771
|
-
const parsedOutput = {
|
|
1772
|
-
...output,
|
|
1773
|
-
body: await parseErrorBody(output.body, context)
|
|
1774
|
-
};
|
|
1775
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1776
|
-
switch (errorCode) {
|
|
1777
|
-
case "ConfigurationSetDoesNotExist":
|
|
1778
|
-
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
1779
|
-
throw await de_ConfigurationSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
1780
|
-
case "EventDestinationAlreadyExists":
|
|
1781
|
-
case "com.amazonaws.ses#EventDestinationAlreadyExistsException":
|
|
1782
|
-
throw await de_EventDestinationAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1783
|
-
case "InvalidCloudWatchDestination":
|
|
1784
|
-
case "com.amazonaws.ses#InvalidCloudWatchDestinationException":
|
|
1785
|
-
throw await de_InvalidCloudWatchDestinationExceptionRes(parsedOutput, context);
|
|
1786
|
-
case "InvalidFirehoseDestination":
|
|
1787
|
-
case "com.amazonaws.ses#InvalidFirehoseDestinationException":
|
|
1788
|
-
throw await de_InvalidFirehoseDestinationExceptionRes(parsedOutput, context);
|
|
1789
|
-
case "InvalidSNSDestination":
|
|
1790
|
-
case "com.amazonaws.ses#InvalidSNSDestinationException":
|
|
1791
|
-
throw await de_InvalidSNSDestinationExceptionRes(parsedOutput, context);
|
|
1792
|
-
case "LimitExceeded":
|
|
1793
|
-
case "com.amazonaws.ses#LimitExceededException":
|
|
1794
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1795
|
-
default:
|
|
1796
|
-
const parsedBody = parsedOutput.body;
|
|
1797
|
-
return throwDefaultError({
|
|
1798
|
-
output,
|
|
1799
|
-
parsedBody: parsedBody.Error,
|
|
1800
|
-
errorCode
|
|
1801
|
-
});
|
|
1802
|
-
}
|
|
1803
|
-
}, "de_CreateConfigurationSetEventDestinationCommandError");
|
|
1804
1720
|
var de_CreateConfigurationSetTrackingOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1805
1721
|
if (output.statusCode >= 300) {
|
|
1806
|
-
return
|
|
1722
|
+
return de_CommandError(output, context);
|
|
1807
1723
|
}
|
|
1808
1724
|
const data = await parseBody(output.body, context);
|
|
1809
1725
|
let contents = {};
|
|
@@ -1817,34 +1733,9 @@ var de_CreateConfigurationSetTrackingOptionsCommand = /* @__PURE__ */ __name(asy
|
|
|
1817
1733
|
};
|
|
1818
1734
|
return response;
|
|
1819
1735
|
}, "de_CreateConfigurationSetTrackingOptionsCommand");
|
|
1820
|
-
var de_CreateConfigurationSetTrackingOptionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1821
|
-
const parsedOutput = {
|
|
1822
|
-
...output,
|
|
1823
|
-
body: await parseErrorBody(output.body, context)
|
|
1824
|
-
};
|
|
1825
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1826
|
-
switch (errorCode) {
|
|
1827
|
-
case "ConfigurationSetDoesNotExist":
|
|
1828
|
-
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
1829
|
-
throw await de_ConfigurationSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
1830
|
-
case "InvalidTrackingOptions":
|
|
1831
|
-
case "com.amazonaws.ses#InvalidTrackingOptionsException":
|
|
1832
|
-
throw await de_InvalidTrackingOptionsExceptionRes(parsedOutput, context);
|
|
1833
|
-
case "TrackingOptionsAlreadyExistsException":
|
|
1834
|
-
case "com.amazonaws.ses#TrackingOptionsAlreadyExistsException":
|
|
1835
|
-
throw await de_TrackingOptionsAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1836
|
-
default:
|
|
1837
|
-
const parsedBody = parsedOutput.body;
|
|
1838
|
-
return throwDefaultError({
|
|
1839
|
-
output,
|
|
1840
|
-
parsedBody: parsedBody.Error,
|
|
1841
|
-
errorCode
|
|
1842
|
-
});
|
|
1843
|
-
}
|
|
1844
|
-
}, "de_CreateConfigurationSetTrackingOptionsCommandError");
|
|
1845
1736
|
var de_CreateCustomVerificationEmailTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1846
1737
|
if (output.statusCode >= 300) {
|
|
1847
|
-
return
|
|
1738
|
+
return de_CommandError(output, context);
|
|
1848
1739
|
}
|
|
1849
1740
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1850
1741
|
const response = {
|
|
@@ -1852,37 +1743,9 @@ var de_CreateCustomVerificationEmailTemplateCommand = /* @__PURE__ */ __name(asy
|
|
|
1852
1743
|
};
|
|
1853
1744
|
return response;
|
|
1854
1745
|
}, "de_CreateCustomVerificationEmailTemplateCommand");
|
|
1855
|
-
var de_CreateCustomVerificationEmailTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1856
|
-
const parsedOutput = {
|
|
1857
|
-
...output,
|
|
1858
|
-
body: await parseErrorBody(output.body, context)
|
|
1859
|
-
};
|
|
1860
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1861
|
-
switch (errorCode) {
|
|
1862
|
-
case "CustomVerificationEmailInvalidContent":
|
|
1863
|
-
case "com.amazonaws.ses#CustomVerificationEmailInvalidContentException":
|
|
1864
|
-
throw await de_CustomVerificationEmailInvalidContentExceptionRes(parsedOutput, context);
|
|
1865
|
-
case "CustomVerificationEmailTemplateAlreadyExists":
|
|
1866
|
-
case "com.amazonaws.ses#CustomVerificationEmailTemplateAlreadyExistsException":
|
|
1867
|
-
throw await de_CustomVerificationEmailTemplateAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1868
|
-
case "FromEmailAddressNotVerified":
|
|
1869
|
-
case "com.amazonaws.ses#FromEmailAddressNotVerifiedException":
|
|
1870
|
-
throw await de_FromEmailAddressNotVerifiedExceptionRes(parsedOutput, context);
|
|
1871
|
-
case "LimitExceeded":
|
|
1872
|
-
case "com.amazonaws.ses#LimitExceededException":
|
|
1873
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1874
|
-
default:
|
|
1875
|
-
const parsedBody = parsedOutput.body;
|
|
1876
|
-
return throwDefaultError({
|
|
1877
|
-
output,
|
|
1878
|
-
parsedBody: parsedBody.Error,
|
|
1879
|
-
errorCode
|
|
1880
|
-
});
|
|
1881
|
-
}
|
|
1882
|
-
}, "de_CreateCustomVerificationEmailTemplateCommandError");
|
|
1883
1746
|
var de_CreateReceiptFilterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1884
1747
|
if (output.statusCode >= 300) {
|
|
1885
|
-
return
|
|
1748
|
+
return de_CommandError(output, context);
|
|
1886
1749
|
}
|
|
1887
1750
|
const data = await parseBody(output.body, context);
|
|
1888
1751
|
let contents = {};
|
|
@@ -1893,31 +1756,9 @@ var de_CreateReceiptFilterCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1893
1756
|
};
|
|
1894
1757
|
return response;
|
|
1895
1758
|
}, "de_CreateReceiptFilterCommand");
|
|
1896
|
-
var de_CreateReceiptFilterCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1897
|
-
const parsedOutput = {
|
|
1898
|
-
...output,
|
|
1899
|
-
body: await parseErrorBody(output.body, context)
|
|
1900
|
-
};
|
|
1901
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1902
|
-
switch (errorCode) {
|
|
1903
|
-
case "AlreadyExists":
|
|
1904
|
-
case "com.amazonaws.ses#AlreadyExistsException":
|
|
1905
|
-
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
|
1906
|
-
case "LimitExceeded":
|
|
1907
|
-
case "com.amazonaws.ses#LimitExceededException":
|
|
1908
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1909
|
-
default:
|
|
1910
|
-
const parsedBody = parsedOutput.body;
|
|
1911
|
-
return throwDefaultError({
|
|
1912
|
-
output,
|
|
1913
|
-
parsedBody: parsedBody.Error,
|
|
1914
|
-
errorCode
|
|
1915
|
-
});
|
|
1916
|
-
}
|
|
1917
|
-
}, "de_CreateReceiptFilterCommandError");
|
|
1918
1759
|
var de_CreateReceiptRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1919
1760
|
if (output.statusCode >= 300) {
|
|
1920
|
-
return
|
|
1761
|
+
return de_CommandError(output, context);
|
|
1921
1762
|
}
|
|
1922
1763
|
const data = await parseBody(output.body, context);
|
|
1923
1764
|
let contents = {};
|
|
@@ -1928,46 +1769,9 @@ var de_CreateReceiptRuleCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1928
1769
|
};
|
|
1929
1770
|
return response;
|
|
1930
1771
|
}, "de_CreateReceiptRuleCommand");
|
|
1931
|
-
var de_CreateReceiptRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1932
|
-
const parsedOutput = {
|
|
1933
|
-
...output,
|
|
1934
|
-
body: await parseErrorBody(output.body, context)
|
|
1935
|
-
};
|
|
1936
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1937
|
-
switch (errorCode) {
|
|
1938
|
-
case "AlreadyExists":
|
|
1939
|
-
case "com.amazonaws.ses#AlreadyExistsException":
|
|
1940
|
-
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
|
1941
|
-
case "InvalidLambdaFunction":
|
|
1942
|
-
case "com.amazonaws.ses#InvalidLambdaFunctionException":
|
|
1943
|
-
throw await de_InvalidLambdaFunctionExceptionRes(parsedOutput, context);
|
|
1944
|
-
case "InvalidS3Configuration":
|
|
1945
|
-
case "com.amazonaws.ses#InvalidS3ConfigurationException":
|
|
1946
|
-
throw await de_InvalidS3ConfigurationExceptionRes(parsedOutput, context);
|
|
1947
|
-
case "InvalidSnsTopic":
|
|
1948
|
-
case "com.amazonaws.ses#InvalidSnsTopicException":
|
|
1949
|
-
throw await de_InvalidSnsTopicExceptionRes(parsedOutput, context);
|
|
1950
|
-
case "LimitExceeded":
|
|
1951
|
-
case "com.amazonaws.ses#LimitExceededException":
|
|
1952
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1953
|
-
case "RuleDoesNotExist":
|
|
1954
|
-
case "com.amazonaws.ses#RuleDoesNotExistException":
|
|
1955
|
-
throw await de_RuleDoesNotExistExceptionRes(parsedOutput, context);
|
|
1956
|
-
case "RuleSetDoesNotExist":
|
|
1957
|
-
case "com.amazonaws.ses#RuleSetDoesNotExistException":
|
|
1958
|
-
throw await de_RuleSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
1959
|
-
default:
|
|
1960
|
-
const parsedBody = parsedOutput.body;
|
|
1961
|
-
return throwDefaultError({
|
|
1962
|
-
output,
|
|
1963
|
-
parsedBody: parsedBody.Error,
|
|
1964
|
-
errorCode
|
|
1965
|
-
});
|
|
1966
|
-
}
|
|
1967
|
-
}, "de_CreateReceiptRuleCommandError");
|
|
1968
1772
|
var de_CreateReceiptRuleSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1969
1773
|
if (output.statusCode >= 300) {
|
|
1970
|
-
return
|
|
1774
|
+
return de_CommandError(output, context);
|
|
1971
1775
|
}
|
|
1972
1776
|
const data = await parseBody(output.body, context);
|
|
1973
1777
|
let contents = {};
|
|
@@ -1978,31 +1782,9 @@ var de_CreateReceiptRuleSetCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1978
1782
|
};
|
|
1979
1783
|
return response;
|
|
1980
1784
|
}, "de_CreateReceiptRuleSetCommand");
|
|
1981
|
-
var de_CreateReceiptRuleSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1982
|
-
const parsedOutput = {
|
|
1983
|
-
...output,
|
|
1984
|
-
body: await parseErrorBody(output.body, context)
|
|
1985
|
-
};
|
|
1986
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1987
|
-
switch (errorCode) {
|
|
1988
|
-
case "AlreadyExists":
|
|
1989
|
-
case "com.amazonaws.ses#AlreadyExistsException":
|
|
1990
|
-
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
|
1991
|
-
case "LimitExceeded":
|
|
1992
|
-
case "com.amazonaws.ses#LimitExceededException":
|
|
1993
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1994
|
-
default:
|
|
1995
|
-
const parsedBody = parsedOutput.body;
|
|
1996
|
-
return throwDefaultError({
|
|
1997
|
-
output,
|
|
1998
|
-
parsedBody: parsedBody.Error,
|
|
1999
|
-
errorCode
|
|
2000
|
-
});
|
|
2001
|
-
}
|
|
2002
|
-
}, "de_CreateReceiptRuleSetCommandError");
|
|
2003
1785
|
var de_CreateTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2004
1786
|
if (output.statusCode >= 300) {
|
|
2005
|
-
return
|
|
1787
|
+
return de_CommandError(output, context);
|
|
2006
1788
|
}
|
|
2007
1789
|
const data = await parseBody(output.body, context);
|
|
2008
1790
|
let contents = {};
|
|
@@ -2013,34 +1795,9 @@ var de_CreateTemplateCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2013
1795
|
};
|
|
2014
1796
|
return response;
|
|
2015
1797
|
}, "de_CreateTemplateCommand");
|
|
2016
|
-
var de_CreateTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2017
|
-
const parsedOutput = {
|
|
2018
|
-
...output,
|
|
2019
|
-
body: await parseErrorBody(output.body, context)
|
|
2020
|
-
};
|
|
2021
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2022
|
-
switch (errorCode) {
|
|
2023
|
-
case "AlreadyExists":
|
|
2024
|
-
case "com.amazonaws.ses#AlreadyExistsException":
|
|
2025
|
-
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
|
2026
|
-
case "InvalidTemplate":
|
|
2027
|
-
case "com.amazonaws.ses#InvalidTemplateException":
|
|
2028
|
-
throw await de_InvalidTemplateExceptionRes(parsedOutput, context);
|
|
2029
|
-
case "LimitExceeded":
|
|
2030
|
-
case "com.amazonaws.ses#LimitExceededException":
|
|
2031
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2032
|
-
default:
|
|
2033
|
-
const parsedBody = parsedOutput.body;
|
|
2034
|
-
return throwDefaultError({
|
|
2035
|
-
output,
|
|
2036
|
-
parsedBody: parsedBody.Error,
|
|
2037
|
-
errorCode
|
|
2038
|
-
});
|
|
2039
|
-
}
|
|
2040
|
-
}, "de_CreateTemplateCommandError");
|
|
2041
1798
|
var de_DeleteConfigurationSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2042
1799
|
if (output.statusCode >= 300) {
|
|
2043
|
-
return
|
|
1800
|
+
return de_CommandError(output, context);
|
|
2044
1801
|
}
|
|
2045
1802
|
const data = await parseBody(output.body, context);
|
|
2046
1803
|
let contents = {};
|
|
@@ -2051,28 +1808,9 @@ var de_DeleteConfigurationSetCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2051
1808
|
};
|
|
2052
1809
|
return response;
|
|
2053
1810
|
}, "de_DeleteConfigurationSetCommand");
|
|
2054
|
-
var de_DeleteConfigurationSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2055
|
-
const parsedOutput = {
|
|
2056
|
-
...output,
|
|
2057
|
-
body: await parseErrorBody(output.body, context)
|
|
2058
|
-
};
|
|
2059
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2060
|
-
switch (errorCode) {
|
|
2061
|
-
case "ConfigurationSetDoesNotExist":
|
|
2062
|
-
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
2063
|
-
throw await de_ConfigurationSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
2064
|
-
default:
|
|
2065
|
-
const parsedBody = parsedOutput.body;
|
|
2066
|
-
return throwDefaultError({
|
|
2067
|
-
output,
|
|
2068
|
-
parsedBody: parsedBody.Error,
|
|
2069
|
-
errorCode
|
|
2070
|
-
});
|
|
2071
|
-
}
|
|
2072
|
-
}, "de_DeleteConfigurationSetCommandError");
|
|
2073
1811
|
var de_DeleteConfigurationSetEventDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2074
1812
|
if (output.statusCode >= 300) {
|
|
2075
|
-
return
|
|
1813
|
+
return de_CommandError(output, context);
|
|
2076
1814
|
}
|
|
2077
1815
|
const data = await parseBody(output.body, context);
|
|
2078
1816
|
let contents = {};
|
|
@@ -2086,31 +1824,9 @@ var de_DeleteConfigurationSetEventDestinationCommand = /* @__PURE__ */ __name(as
|
|
|
2086
1824
|
};
|
|
2087
1825
|
return response;
|
|
2088
1826
|
}, "de_DeleteConfigurationSetEventDestinationCommand");
|
|
2089
|
-
var de_DeleteConfigurationSetEventDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2090
|
-
const parsedOutput = {
|
|
2091
|
-
...output,
|
|
2092
|
-
body: await parseErrorBody(output.body, context)
|
|
2093
|
-
};
|
|
2094
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2095
|
-
switch (errorCode) {
|
|
2096
|
-
case "ConfigurationSetDoesNotExist":
|
|
2097
|
-
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
2098
|
-
throw await de_ConfigurationSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
2099
|
-
case "EventDestinationDoesNotExist":
|
|
2100
|
-
case "com.amazonaws.ses#EventDestinationDoesNotExistException":
|
|
2101
|
-
throw await de_EventDestinationDoesNotExistExceptionRes(parsedOutput, context);
|
|
2102
|
-
default:
|
|
2103
|
-
const parsedBody = parsedOutput.body;
|
|
2104
|
-
return throwDefaultError({
|
|
2105
|
-
output,
|
|
2106
|
-
parsedBody: parsedBody.Error,
|
|
2107
|
-
errorCode
|
|
2108
|
-
});
|
|
2109
|
-
}
|
|
2110
|
-
}, "de_DeleteConfigurationSetEventDestinationCommandError");
|
|
2111
1827
|
var de_DeleteConfigurationSetTrackingOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2112
1828
|
if (output.statusCode >= 300) {
|
|
2113
|
-
return
|
|
1829
|
+
return de_CommandError(output, context);
|
|
2114
1830
|
}
|
|
2115
1831
|
const data = await parseBody(output.body, context);
|
|
2116
1832
|
let contents = {};
|
|
@@ -2124,31 +1840,9 @@ var de_DeleteConfigurationSetTrackingOptionsCommand = /* @__PURE__ */ __name(asy
|
|
|
2124
1840
|
};
|
|
2125
1841
|
return response;
|
|
2126
1842
|
}, "de_DeleteConfigurationSetTrackingOptionsCommand");
|
|
2127
|
-
var de_DeleteConfigurationSetTrackingOptionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2128
|
-
const parsedOutput = {
|
|
2129
|
-
...output,
|
|
2130
|
-
body: await parseErrorBody(output.body, context)
|
|
2131
|
-
};
|
|
2132
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2133
|
-
switch (errorCode) {
|
|
2134
|
-
case "ConfigurationSetDoesNotExist":
|
|
2135
|
-
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
2136
|
-
throw await de_ConfigurationSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
2137
|
-
case "TrackingOptionsDoesNotExistException":
|
|
2138
|
-
case "com.amazonaws.ses#TrackingOptionsDoesNotExistException":
|
|
2139
|
-
throw await de_TrackingOptionsDoesNotExistExceptionRes(parsedOutput, context);
|
|
2140
|
-
default:
|
|
2141
|
-
const parsedBody = parsedOutput.body;
|
|
2142
|
-
return throwDefaultError({
|
|
2143
|
-
output,
|
|
2144
|
-
parsedBody: parsedBody.Error,
|
|
2145
|
-
errorCode
|
|
2146
|
-
});
|
|
2147
|
-
}
|
|
2148
|
-
}, "de_DeleteConfigurationSetTrackingOptionsCommandError");
|
|
2149
1843
|
var de_DeleteCustomVerificationEmailTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2150
1844
|
if (output.statusCode >= 300) {
|
|
2151
|
-
return
|
|
1845
|
+
return de_CommandError(output, context);
|
|
2152
1846
|
}
|
|
2153
1847
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2154
1848
|
const response = {
|
|
@@ -2156,22 +1850,9 @@ var de_DeleteCustomVerificationEmailTemplateCommand = /* @__PURE__ */ __name(asy
|
|
|
2156
1850
|
};
|
|
2157
1851
|
return response;
|
|
2158
1852
|
}, "de_DeleteCustomVerificationEmailTemplateCommand");
|
|
2159
|
-
var de_DeleteCustomVerificationEmailTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2160
|
-
const parsedOutput = {
|
|
2161
|
-
...output,
|
|
2162
|
-
body: await parseErrorBody(output.body, context)
|
|
2163
|
-
};
|
|
2164
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2165
|
-
const parsedBody = parsedOutput.body;
|
|
2166
|
-
return throwDefaultError({
|
|
2167
|
-
output,
|
|
2168
|
-
parsedBody: parsedBody.Error,
|
|
2169
|
-
errorCode
|
|
2170
|
-
});
|
|
2171
|
-
}, "de_DeleteCustomVerificationEmailTemplateCommandError");
|
|
2172
1853
|
var de_DeleteIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2173
1854
|
if (output.statusCode >= 300) {
|
|
2174
|
-
return
|
|
1855
|
+
return de_CommandError(output, context);
|
|
2175
1856
|
}
|
|
2176
1857
|
const data = await parseBody(output.body, context);
|
|
2177
1858
|
let contents = {};
|
|
@@ -2182,22 +1863,9 @@ var de_DeleteIdentityCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2182
1863
|
};
|
|
2183
1864
|
return response;
|
|
2184
1865
|
}, "de_DeleteIdentityCommand");
|
|
2185
|
-
var de_DeleteIdentityCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2186
|
-
const parsedOutput = {
|
|
2187
|
-
...output,
|
|
2188
|
-
body: await parseErrorBody(output.body, context)
|
|
2189
|
-
};
|
|
2190
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2191
|
-
const parsedBody = parsedOutput.body;
|
|
2192
|
-
return throwDefaultError({
|
|
2193
|
-
output,
|
|
2194
|
-
parsedBody: parsedBody.Error,
|
|
2195
|
-
errorCode
|
|
2196
|
-
});
|
|
2197
|
-
}, "de_DeleteIdentityCommandError");
|
|
2198
1866
|
var de_DeleteIdentityPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2199
1867
|
if (output.statusCode >= 300) {
|
|
2200
|
-
return
|
|
1868
|
+
return de_CommandError(output, context);
|
|
2201
1869
|
}
|
|
2202
1870
|
const data = await parseBody(output.body, context);
|
|
2203
1871
|
let contents = {};
|
|
@@ -2208,22 +1876,9 @@ var de_DeleteIdentityPolicyCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2208
1876
|
};
|
|
2209
1877
|
return response;
|
|
2210
1878
|
}, "de_DeleteIdentityPolicyCommand");
|
|
2211
|
-
var de_DeleteIdentityPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2212
|
-
const parsedOutput = {
|
|
2213
|
-
...output,
|
|
2214
|
-
body: await parseErrorBody(output.body, context)
|
|
2215
|
-
};
|
|
2216
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2217
|
-
const parsedBody = parsedOutput.body;
|
|
2218
|
-
return throwDefaultError({
|
|
2219
|
-
output,
|
|
2220
|
-
parsedBody: parsedBody.Error,
|
|
2221
|
-
errorCode
|
|
2222
|
-
});
|
|
2223
|
-
}, "de_DeleteIdentityPolicyCommandError");
|
|
2224
1879
|
var de_DeleteReceiptFilterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2225
1880
|
if (output.statusCode >= 300) {
|
|
2226
|
-
return
|
|
1881
|
+
return de_CommandError(output, context);
|
|
2227
1882
|
}
|
|
2228
1883
|
const data = await parseBody(output.body, context);
|
|
2229
1884
|
let contents = {};
|
|
@@ -2234,22 +1889,9 @@ var de_DeleteReceiptFilterCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2234
1889
|
};
|
|
2235
1890
|
return response;
|
|
2236
1891
|
}, "de_DeleteReceiptFilterCommand");
|
|
2237
|
-
var de_DeleteReceiptFilterCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2238
|
-
const parsedOutput = {
|
|
2239
|
-
...output,
|
|
2240
|
-
body: await parseErrorBody(output.body, context)
|
|
2241
|
-
};
|
|
2242
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2243
|
-
const parsedBody = parsedOutput.body;
|
|
2244
|
-
return throwDefaultError({
|
|
2245
|
-
output,
|
|
2246
|
-
parsedBody: parsedBody.Error,
|
|
2247
|
-
errorCode
|
|
2248
|
-
});
|
|
2249
|
-
}, "de_DeleteReceiptFilterCommandError");
|
|
2250
1892
|
var de_DeleteReceiptRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2251
1893
|
if (output.statusCode >= 300) {
|
|
2252
|
-
return
|
|
1894
|
+
return de_CommandError(output, context);
|
|
2253
1895
|
}
|
|
2254
1896
|
const data = await parseBody(output.body, context);
|
|
2255
1897
|
let contents = {};
|
|
@@ -2260,28 +1902,9 @@ var de_DeleteReceiptRuleCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2260
1902
|
};
|
|
2261
1903
|
return response;
|
|
2262
1904
|
}, "de_DeleteReceiptRuleCommand");
|
|
2263
|
-
var de_DeleteReceiptRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2264
|
-
const parsedOutput = {
|
|
2265
|
-
...output,
|
|
2266
|
-
body: await parseErrorBody(output.body, context)
|
|
2267
|
-
};
|
|
2268
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2269
|
-
switch (errorCode) {
|
|
2270
|
-
case "RuleSetDoesNotExist":
|
|
2271
|
-
case "com.amazonaws.ses#RuleSetDoesNotExistException":
|
|
2272
|
-
throw await de_RuleSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
2273
|
-
default:
|
|
2274
|
-
const parsedBody = parsedOutput.body;
|
|
2275
|
-
return throwDefaultError({
|
|
2276
|
-
output,
|
|
2277
|
-
parsedBody: parsedBody.Error,
|
|
2278
|
-
errorCode
|
|
2279
|
-
});
|
|
2280
|
-
}
|
|
2281
|
-
}, "de_DeleteReceiptRuleCommandError");
|
|
2282
1905
|
var de_DeleteReceiptRuleSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2283
1906
|
if (output.statusCode >= 300) {
|
|
2284
|
-
return
|
|
1907
|
+
return de_CommandError(output, context);
|
|
2285
1908
|
}
|
|
2286
1909
|
const data = await parseBody(output.body, context);
|
|
2287
1910
|
let contents = {};
|
|
@@ -2292,28 +1915,9 @@ var de_DeleteReceiptRuleSetCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2292
1915
|
};
|
|
2293
1916
|
return response;
|
|
2294
1917
|
}, "de_DeleteReceiptRuleSetCommand");
|
|
2295
|
-
var de_DeleteReceiptRuleSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2296
|
-
const parsedOutput = {
|
|
2297
|
-
...output,
|
|
2298
|
-
body: await parseErrorBody(output.body, context)
|
|
2299
|
-
};
|
|
2300
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2301
|
-
switch (errorCode) {
|
|
2302
|
-
case "CannotDelete":
|
|
2303
|
-
case "com.amazonaws.ses#CannotDeleteException":
|
|
2304
|
-
throw await de_CannotDeleteExceptionRes(parsedOutput, context);
|
|
2305
|
-
default:
|
|
2306
|
-
const parsedBody = parsedOutput.body;
|
|
2307
|
-
return throwDefaultError({
|
|
2308
|
-
output,
|
|
2309
|
-
parsedBody: parsedBody.Error,
|
|
2310
|
-
errorCode
|
|
2311
|
-
});
|
|
2312
|
-
}
|
|
2313
|
-
}, "de_DeleteReceiptRuleSetCommandError");
|
|
2314
1918
|
var de_DeleteTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2315
1919
|
if (output.statusCode >= 300) {
|
|
2316
|
-
return
|
|
1920
|
+
return de_CommandError(output, context);
|
|
2317
1921
|
}
|
|
2318
1922
|
const data = await parseBody(output.body, context);
|
|
2319
1923
|
let contents = {};
|
|
@@ -2324,22 +1928,9 @@ var de_DeleteTemplateCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2324
1928
|
};
|
|
2325
1929
|
return response;
|
|
2326
1930
|
}, "de_DeleteTemplateCommand");
|
|
2327
|
-
var de_DeleteTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2328
|
-
const parsedOutput = {
|
|
2329
|
-
...output,
|
|
2330
|
-
body: await parseErrorBody(output.body, context)
|
|
2331
|
-
};
|
|
2332
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2333
|
-
const parsedBody = parsedOutput.body;
|
|
2334
|
-
return throwDefaultError({
|
|
2335
|
-
output,
|
|
2336
|
-
parsedBody: parsedBody.Error,
|
|
2337
|
-
errorCode
|
|
2338
|
-
});
|
|
2339
|
-
}, "de_DeleteTemplateCommandError");
|
|
2340
1931
|
var de_DeleteVerifiedEmailAddressCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2341
1932
|
if (output.statusCode >= 300) {
|
|
2342
|
-
return
|
|
1933
|
+
return de_CommandError(output, context);
|
|
2343
1934
|
}
|
|
2344
1935
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2345
1936
|
const response = {
|
|
@@ -2347,22 +1938,9 @@ var de_DeleteVerifiedEmailAddressCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2347
1938
|
};
|
|
2348
1939
|
return response;
|
|
2349
1940
|
}, "de_DeleteVerifiedEmailAddressCommand");
|
|
2350
|
-
var de_DeleteVerifiedEmailAddressCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2351
|
-
const parsedOutput = {
|
|
2352
|
-
...output,
|
|
2353
|
-
body: await parseErrorBody(output.body, context)
|
|
2354
|
-
};
|
|
2355
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2356
|
-
const parsedBody = parsedOutput.body;
|
|
2357
|
-
return throwDefaultError({
|
|
2358
|
-
output,
|
|
2359
|
-
parsedBody: parsedBody.Error,
|
|
2360
|
-
errorCode
|
|
2361
|
-
});
|
|
2362
|
-
}, "de_DeleteVerifiedEmailAddressCommandError");
|
|
2363
1941
|
var de_DescribeActiveReceiptRuleSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2364
1942
|
if (output.statusCode >= 300) {
|
|
2365
|
-
return
|
|
1943
|
+
return de_CommandError(output, context);
|
|
2366
1944
|
}
|
|
2367
1945
|
const data = await parseBody(output.body, context);
|
|
2368
1946
|
let contents = {};
|
|
@@ -2373,22 +1951,9 @@ var de_DescribeActiveReceiptRuleSetCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2373
1951
|
};
|
|
2374
1952
|
return response;
|
|
2375
1953
|
}, "de_DescribeActiveReceiptRuleSetCommand");
|
|
2376
|
-
var de_DescribeActiveReceiptRuleSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2377
|
-
const parsedOutput = {
|
|
2378
|
-
...output,
|
|
2379
|
-
body: await parseErrorBody(output.body, context)
|
|
2380
|
-
};
|
|
2381
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2382
|
-
const parsedBody = parsedOutput.body;
|
|
2383
|
-
return throwDefaultError({
|
|
2384
|
-
output,
|
|
2385
|
-
parsedBody: parsedBody.Error,
|
|
2386
|
-
errorCode
|
|
2387
|
-
});
|
|
2388
|
-
}, "de_DescribeActiveReceiptRuleSetCommandError");
|
|
2389
1954
|
var de_DescribeConfigurationSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2390
1955
|
if (output.statusCode >= 300) {
|
|
2391
|
-
return
|
|
1956
|
+
return de_CommandError(output, context);
|
|
2392
1957
|
}
|
|
2393
1958
|
const data = await parseBody(output.body, context);
|
|
2394
1959
|
let contents = {};
|
|
@@ -2399,28 +1964,9 @@ var de_DescribeConfigurationSetCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2399
1964
|
};
|
|
2400
1965
|
return response;
|
|
2401
1966
|
}, "de_DescribeConfigurationSetCommand");
|
|
2402
|
-
var de_DescribeConfigurationSetCommandError = /* @__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 "ConfigurationSetDoesNotExist":
|
|
2410
|
-
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
2411
|
-
throw await de_ConfigurationSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
2412
|
-
default:
|
|
2413
|
-
const parsedBody = parsedOutput.body;
|
|
2414
|
-
return throwDefaultError({
|
|
2415
|
-
output,
|
|
2416
|
-
parsedBody: parsedBody.Error,
|
|
2417
|
-
errorCode
|
|
2418
|
-
});
|
|
2419
|
-
}
|
|
2420
|
-
}, "de_DescribeConfigurationSetCommandError");
|
|
2421
1967
|
var de_DescribeReceiptRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2422
1968
|
if (output.statusCode >= 300) {
|
|
2423
|
-
return
|
|
1969
|
+
return de_CommandError(output, context);
|
|
2424
1970
|
}
|
|
2425
1971
|
const data = await parseBody(output.body, context);
|
|
2426
1972
|
let contents = {};
|
|
@@ -2431,31 +1977,9 @@ var de_DescribeReceiptRuleCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2431
1977
|
};
|
|
2432
1978
|
return response;
|
|
2433
1979
|
}, "de_DescribeReceiptRuleCommand");
|
|
2434
|
-
var de_DescribeReceiptRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2435
|
-
const parsedOutput = {
|
|
2436
|
-
...output,
|
|
2437
|
-
body: await parseErrorBody(output.body, context)
|
|
2438
|
-
};
|
|
2439
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2440
|
-
switch (errorCode) {
|
|
2441
|
-
case "RuleDoesNotExist":
|
|
2442
|
-
case "com.amazonaws.ses#RuleDoesNotExistException":
|
|
2443
|
-
throw await de_RuleDoesNotExistExceptionRes(parsedOutput, context);
|
|
2444
|
-
case "RuleSetDoesNotExist":
|
|
2445
|
-
case "com.amazonaws.ses#RuleSetDoesNotExistException":
|
|
2446
|
-
throw await de_RuleSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
2447
|
-
default:
|
|
2448
|
-
const parsedBody = parsedOutput.body;
|
|
2449
|
-
return throwDefaultError({
|
|
2450
|
-
output,
|
|
2451
|
-
parsedBody: parsedBody.Error,
|
|
2452
|
-
errorCode
|
|
2453
|
-
});
|
|
2454
|
-
}
|
|
2455
|
-
}, "de_DescribeReceiptRuleCommandError");
|
|
2456
1980
|
var de_DescribeReceiptRuleSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2457
1981
|
if (output.statusCode >= 300) {
|
|
2458
|
-
return
|
|
1982
|
+
return de_CommandError(output, context);
|
|
2459
1983
|
}
|
|
2460
1984
|
const data = await parseBody(output.body, context);
|
|
2461
1985
|
let contents = {};
|
|
@@ -2466,28 +1990,9 @@ var de_DescribeReceiptRuleSetCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2466
1990
|
};
|
|
2467
1991
|
return response;
|
|
2468
1992
|
}, "de_DescribeReceiptRuleSetCommand");
|
|
2469
|
-
var de_DescribeReceiptRuleSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2470
|
-
const parsedOutput = {
|
|
2471
|
-
...output,
|
|
2472
|
-
body: await parseErrorBody(output.body, context)
|
|
2473
|
-
};
|
|
2474
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2475
|
-
switch (errorCode) {
|
|
2476
|
-
case "RuleSetDoesNotExist":
|
|
2477
|
-
case "com.amazonaws.ses#RuleSetDoesNotExistException":
|
|
2478
|
-
throw await de_RuleSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
2479
|
-
default:
|
|
2480
|
-
const parsedBody = parsedOutput.body;
|
|
2481
|
-
return throwDefaultError({
|
|
2482
|
-
output,
|
|
2483
|
-
parsedBody: parsedBody.Error,
|
|
2484
|
-
errorCode
|
|
2485
|
-
});
|
|
2486
|
-
}
|
|
2487
|
-
}, "de_DescribeReceiptRuleSetCommandError");
|
|
2488
1993
|
var de_GetAccountSendingEnabledCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2489
1994
|
if (output.statusCode >= 300) {
|
|
2490
|
-
return
|
|
1995
|
+
return de_CommandError(output, context);
|
|
2491
1996
|
}
|
|
2492
1997
|
const data = await parseBody(output.body, context);
|
|
2493
1998
|
let contents = {};
|
|
@@ -2498,22 +2003,9 @@ var de_GetAccountSendingEnabledCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2498
2003
|
};
|
|
2499
2004
|
return response;
|
|
2500
2005
|
}, "de_GetAccountSendingEnabledCommand");
|
|
2501
|
-
var de_GetAccountSendingEnabledCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2502
|
-
const parsedOutput = {
|
|
2503
|
-
...output,
|
|
2504
|
-
body: await parseErrorBody(output.body, context)
|
|
2505
|
-
};
|
|
2506
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2507
|
-
const parsedBody = parsedOutput.body;
|
|
2508
|
-
return throwDefaultError({
|
|
2509
|
-
output,
|
|
2510
|
-
parsedBody: parsedBody.Error,
|
|
2511
|
-
errorCode
|
|
2512
|
-
});
|
|
2513
|
-
}, "de_GetAccountSendingEnabledCommandError");
|
|
2514
2006
|
var de_GetCustomVerificationEmailTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2515
2007
|
if (output.statusCode >= 300) {
|
|
2516
|
-
return
|
|
2008
|
+
return de_CommandError(output, context);
|
|
2517
2009
|
}
|
|
2518
2010
|
const data = await parseBody(output.body, context);
|
|
2519
2011
|
let contents = {};
|
|
@@ -2524,28 +2016,9 @@ var de_GetCustomVerificationEmailTemplateCommand = /* @__PURE__ */ __name(async
|
|
|
2524
2016
|
};
|
|
2525
2017
|
return response;
|
|
2526
2018
|
}, "de_GetCustomVerificationEmailTemplateCommand");
|
|
2527
|
-
var de_GetCustomVerificationEmailTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2528
|
-
const parsedOutput = {
|
|
2529
|
-
...output,
|
|
2530
|
-
body: await parseErrorBody(output.body, context)
|
|
2531
|
-
};
|
|
2532
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2533
|
-
switch (errorCode) {
|
|
2534
|
-
case "CustomVerificationEmailTemplateDoesNotExist":
|
|
2535
|
-
case "com.amazonaws.ses#CustomVerificationEmailTemplateDoesNotExistException":
|
|
2536
|
-
throw await de_CustomVerificationEmailTemplateDoesNotExistExceptionRes(parsedOutput, context);
|
|
2537
|
-
default:
|
|
2538
|
-
const parsedBody = parsedOutput.body;
|
|
2539
|
-
return throwDefaultError({
|
|
2540
|
-
output,
|
|
2541
|
-
parsedBody: parsedBody.Error,
|
|
2542
|
-
errorCode
|
|
2543
|
-
});
|
|
2544
|
-
}
|
|
2545
|
-
}, "de_GetCustomVerificationEmailTemplateCommandError");
|
|
2546
2019
|
var de_GetIdentityDkimAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2547
2020
|
if (output.statusCode >= 300) {
|
|
2548
|
-
return
|
|
2021
|
+
return de_CommandError(output, context);
|
|
2549
2022
|
}
|
|
2550
2023
|
const data = await parseBody(output.body, context);
|
|
2551
2024
|
let contents = {};
|
|
@@ -2556,22 +2029,9 @@ var de_GetIdentityDkimAttributesCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2556
2029
|
};
|
|
2557
2030
|
return response;
|
|
2558
2031
|
}, "de_GetIdentityDkimAttributesCommand");
|
|
2559
|
-
var de_GetIdentityDkimAttributesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2560
|
-
const parsedOutput = {
|
|
2561
|
-
...output,
|
|
2562
|
-
body: await parseErrorBody(output.body, context)
|
|
2563
|
-
};
|
|
2564
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2565
|
-
const parsedBody = parsedOutput.body;
|
|
2566
|
-
return throwDefaultError({
|
|
2567
|
-
output,
|
|
2568
|
-
parsedBody: parsedBody.Error,
|
|
2569
|
-
errorCode
|
|
2570
|
-
});
|
|
2571
|
-
}, "de_GetIdentityDkimAttributesCommandError");
|
|
2572
2032
|
var de_GetIdentityMailFromDomainAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2573
2033
|
if (output.statusCode >= 300) {
|
|
2574
|
-
return
|
|
2034
|
+
return de_CommandError(output, context);
|
|
2575
2035
|
}
|
|
2576
2036
|
const data = await parseBody(output.body, context);
|
|
2577
2037
|
let contents = {};
|
|
@@ -2582,22 +2042,9 @@ var de_GetIdentityMailFromDomainAttributesCommand = /* @__PURE__ */ __name(async
|
|
|
2582
2042
|
};
|
|
2583
2043
|
return response;
|
|
2584
2044
|
}, "de_GetIdentityMailFromDomainAttributesCommand");
|
|
2585
|
-
var de_GetIdentityMailFromDomainAttributesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2586
|
-
const parsedOutput = {
|
|
2587
|
-
...output,
|
|
2588
|
-
body: await parseErrorBody(output.body, context)
|
|
2589
|
-
};
|
|
2590
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2591
|
-
const parsedBody = parsedOutput.body;
|
|
2592
|
-
return throwDefaultError({
|
|
2593
|
-
output,
|
|
2594
|
-
parsedBody: parsedBody.Error,
|
|
2595
|
-
errorCode
|
|
2596
|
-
});
|
|
2597
|
-
}, "de_GetIdentityMailFromDomainAttributesCommandError");
|
|
2598
2045
|
var de_GetIdentityNotificationAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2599
2046
|
if (output.statusCode >= 300) {
|
|
2600
|
-
return
|
|
2047
|
+
return de_CommandError(output, context);
|
|
2601
2048
|
}
|
|
2602
2049
|
const data = await parseBody(output.body, context);
|
|
2603
2050
|
let contents = {};
|
|
@@ -2608,22 +2055,9 @@ var de_GetIdentityNotificationAttributesCommand = /* @__PURE__ */ __name(async (
|
|
|
2608
2055
|
};
|
|
2609
2056
|
return response;
|
|
2610
2057
|
}, "de_GetIdentityNotificationAttributesCommand");
|
|
2611
|
-
var de_GetIdentityNotificationAttributesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2612
|
-
const parsedOutput = {
|
|
2613
|
-
...output,
|
|
2614
|
-
body: await parseErrorBody(output.body, context)
|
|
2615
|
-
};
|
|
2616
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2617
|
-
const parsedBody = parsedOutput.body;
|
|
2618
|
-
return throwDefaultError({
|
|
2619
|
-
output,
|
|
2620
|
-
parsedBody: parsedBody.Error,
|
|
2621
|
-
errorCode
|
|
2622
|
-
});
|
|
2623
|
-
}, "de_GetIdentityNotificationAttributesCommandError");
|
|
2624
2058
|
var de_GetIdentityPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2625
2059
|
if (output.statusCode >= 300) {
|
|
2626
|
-
return
|
|
2060
|
+
return de_CommandError(output, context);
|
|
2627
2061
|
}
|
|
2628
2062
|
const data = await parseBody(output.body, context);
|
|
2629
2063
|
let contents = {};
|
|
@@ -2634,22 +2068,9 @@ var de_GetIdentityPoliciesCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2634
2068
|
};
|
|
2635
2069
|
return response;
|
|
2636
2070
|
}, "de_GetIdentityPoliciesCommand");
|
|
2637
|
-
var de_GetIdentityPoliciesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2638
|
-
const parsedOutput = {
|
|
2639
|
-
...output,
|
|
2640
|
-
body: await parseErrorBody(output.body, context)
|
|
2641
|
-
};
|
|
2642
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2643
|
-
const parsedBody = parsedOutput.body;
|
|
2644
|
-
return throwDefaultError({
|
|
2645
|
-
output,
|
|
2646
|
-
parsedBody: parsedBody.Error,
|
|
2647
|
-
errorCode
|
|
2648
|
-
});
|
|
2649
|
-
}, "de_GetIdentityPoliciesCommandError");
|
|
2650
2071
|
var de_GetIdentityVerificationAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2651
2072
|
if (output.statusCode >= 300) {
|
|
2652
|
-
return
|
|
2073
|
+
return de_CommandError(output, context);
|
|
2653
2074
|
}
|
|
2654
2075
|
const data = await parseBody(output.body, context);
|
|
2655
2076
|
let contents = {};
|
|
@@ -2660,22 +2081,9 @@ var de_GetIdentityVerificationAttributesCommand = /* @__PURE__ */ __name(async (
|
|
|
2660
2081
|
};
|
|
2661
2082
|
return response;
|
|
2662
2083
|
}, "de_GetIdentityVerificationAttributesCommand");
|
|
2663
|
-
var de_GetIdentityVerificationAttributesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2664
|
-
const parsedOutput = {
|
|
2665
|
-
...output,
|
|
2666
|
-
body: await parseErrorBody(output.body, context)
|
|
2667
|
-
};
|
|
2668
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2669
|
-
const parsedBody = parsedOutput.body;
|
|
2670
|
-
return throwDefaultError({
|
|
2671
|
-
output,
|
|
2672
|
-
parsedBody: parsedBody.Error,
|
|
2673
|
-
errorCode
|
|
2674
|
-
});
|
|
2675
|
-
}, "de_GetIdentityVerificationAttributesCommandError");
|
|
2676
2084
|
var de_GetSendQuotaCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2677
2085
|
if (output.statusCode >= 300) {
|
|
2678
|
-
return
|
|
2086
|
+
return de_CommandError(output, context);
|
|
2679
2087
|
}
|
|
2680
2088
|
const data = await parseBody(output.body, context);
|
|
2681
2089
|
let contents = {};
|
|
@@ -2686,22 +2094,9 @@ var de_GetSendQuotaCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2686
2094
|
};
|
|
2687
2095
|
return response;
|
|
2688
2096
|
}, "de_GetSendQuotaCommand");
|
|
2689
|
-
var de_GetSendQuotaCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2690
|
-
const parsedOutput = {
|
|
2691
|
-
...output,
|
|
2692
|
-
body: await parseErrorBody(output.body, context)
|
|
2693
|
-
};
|
|
2694
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2695
|
-
const parsedBody = parsedOutput.body;
|
|
2696
|
-
return throwDefaultError({
|
|
2697
|
-
output,
|
|
2698
|
-
parsedBody: parsedBody.Error,
|
|
2699
|
-
errorCode
|
|
2700
|
-
});
|
|
2701
|
-
}, "de_GetSendQuotaCommandError");
|
|
2702
2097
|
var de_GetSendStatisticsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2703
2098
|
if (output.statusCode >= 300) {
|
|
2704
|
-
return
|
|
2099
|
+
return de_CommandError(output, context);
|
|
2705
2100
|
}
|
|
2706
2101
|
const data = await parseBody(output.body, context);
|
|
2707
2102
|
let contents = {};
|
|
@@ -2712,22 +2107,9 @@ var de_GetSendStatisticsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2712
2107
|
};
|
|
2713
2108
|
return response;
|
|
2714
2109
|
}, "de_GetSendStatisticsCommand");
|
|
2715
|
-
var de_GetSendStatisticsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2716
|
-
const parsedOutput = {
|
|
2717
|
-
...output,
|
|
2718
|
-
body: await parseErrorBody(output.body, context)
|
|
2719
|
-
};
|
|
2720
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2721
|
-
const parsedBody = parsedOutput.body;
|
|
2722
|
-
return throwDefaultError({
|
|
2723
|
-
output,
|
|
2724
|
-
parsedBody: parsedBody.Error,
|
|
2725
|
-
errorCode
|
|
2726
|
-
});
|
|
2727
|
-
}, "de_GetSendStatisticsCommandError");
|
|
2728
2110
|
var de_GetTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2729
2111
|
if (output.statusCode >= 300) {
|
|
2730
|
-
return
|
|
2112
|
+
return de_CommandError(output, context);
|
|
2731
2113
|
}
|
|
2732
2114
|
const data = await parseBody(output.body, context);
|
|
2733
2115
|
let contents = {};
|
|
@@ -2738,28 +2120,9 @@ var de_GetTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2738
2120
|
};
|
|
2739
2121
|
return response;
|
|
2740
2122
|
}, "de_GetTemplateCommand");
|
|
2741
|
-
var de_GetTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2742
|
-
const parsedOutput = {
|
|
2743
|
-
...output,
|
|
2744
|
-
body: await parseErrorBody(output.body, context)
|
|
2745
|
-
};
|
|
2746
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2747
|
-
switch (errorCode) {
|
|
2748
|
-
case "TemplateDoesNotExist":
|
|
2749
|
-
case "com.amazonaws.ses#TemplateDoesNotExistException":
|
|
2750
|
-
throw await de_TemplateDoesNotExistExceptionRes(parsedOutput, context);
|
|
2751
|
-
default:
|
|
2752
|
-
const parsedBody = parsedOutput.body;
|
|
2753
|
-
return throwDefaultError({
|
|
2754
|
-
output,
|
|
2755
|
-
parsedBody: parsedBody.Error,
|
|
2756
|
-
errorCode
|
|
2757
|
-
});
|
|
2758
|
-
}
|
|
2759
|
-
}, "de_GetTemplateCommandError");
|
|
2760
2123
|
var de_ListConfigurationSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2761
2124
|
if (output.statusCode >= 300) {
|
|
2762
|
-
return
|
|
2125
|
+
return de_CommandError(output, context);
|
|
2763
2126
|
}
|
|
2764
2127
|
const data = await parseBody(output.body, context);
|
|
2765
2128
|
let contents = {};
|
|
@@ -2770,22 +2133,9 @@ var de_ListConfigurationSetsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2770
2133
|
};
|
|
2771
2134
|
return response;
|
|
2772
2135
|
}, "de_ListConfigurationSetsCommand");
|
|
2773
|
-
var de_ListConfigurationSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2774
|
-
const parsedOutput = {
|
|
2775
|
-
...output,
|
|
2776
|
-
body: await parseErrorBody(output.body, context)
|
|
2777
|
-
};
|
|
2778
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2779
|
-
const parsedBody = parsedOutput.body;
|
|
2780
|
-
return throwDefaultError({
|
|
2781
|
-
output,
|
|
2782
|
-
parsedBody: parsedBody.Error,
|
|
2783
|
-
errorCode
|
|
2784
|
-
});
|
|
2785
|
-
}, "de_ListConfigurationSetsCommandError");
|
|
2786
2136
|
var de_ListCustomVerificationEmailTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2787
2137
|
if (output.statusCode >= 300) {
|
|
2788
|
-
return
|
|
2138
|
+
return de_CommandError(output, context);
|
|
2789
2139
|
}
|
|
2790
2140
|
const data = await parseBody(output.body, context);
|
|
2791
2141
|
let contents = {};
|
|
@@ -2796,22 +2146,9 @@ var de_ListCustomVerificationEmailTemplatesCommand = /* @__PURE__ */ __name(asyn
|
|
|
2796
2146
|
};
|
|
2797
2147
|
return response;
|
|
2798
2148
|
}, "de_ListCustomVerificationEmailTemplatesCommand");
|
|
2799
|
-
var de_ListCustomVerificationEmailTemplatesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2800
|
-
const parsedOutput = {
|
|
2801
|
-
...output,
|
|
2802
|
-
body: await parseErrorBody(output.body, context)
|
|
2803
|
-
};
|
|
2804
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2805
|
-
const parsedBody = parsedOutput.body;
|
|
2806
|
-
return throwDefaultError({
|
|
2807
|
-
output,
|
|
2808
|
-
parsedBody: parsedBody.Error,
|
|
2809
|
-
errorCode
|
|
2810
|
-
});
|
|
2811
|
-
}, "de_ListCustomVerificationEmailTemplatesCommandError");
|
|
2812
2149
|
var de_ListIdentitiesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2813
2150
|
if (output.statusCode >= 300) {
|
|
2814
|
-
return
|
|
2151
|
+
return de_CommandError(output, context);
|
|
2815
2152
|
}
|
|
2816
2153
|
const data = await parseBody(output.body, context);
|
|
2817
2154
|
let contents = {};
|
|
@@ -2822,22 +2159,9 @@ var de_ListIdentitiesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2822
2159
|
};
|
|
2823
2160
|
return response;
|
|
2824
2161
|
}, "de_ListIdentitiesCommand");
|
|
2825
|
-
var de_ListIdentitiesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2826
|
-
const parsedOutput = {
|
|
2827
|
-
...output,
|
|
2828
|
-
body: await parseErrorBody(output.body, context)
|
|
2829
|
-
};
|
|
2830
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2831
|
-
const parsedBody = parsedOutput.body;
|
|
2832
|
-
return throwDefaultError({
|
|
2833
|
-
output,
|
|
2834
|
-
parsedBody: parsedBody.Error,
|
|
2835
|
-
errorCode
|
|
2836
|
-
});
|
|
2837
|
-
}, "de_ListIdentitiesCommandError");
|
|
2838
2162
|
var de_ListIdentityPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2839
2163
|
if (output.statusCode >= 300) {
|
|
2840
|
-
return
|
|
2164
|
+
return de_CommandError(output, context);
|
|
2841
2165
|
}
|
|
2842
2166
|
const data = await parseBody(output.body, context);
|
|
2843
2167
|
let contents = {};
|
|
@@ -2848,22 +2172,9 @@ var de_ListIdentityPoliciesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2848
2172
|
};
|
|
2849
2173
|
return response;
|
|
2850
2174
|
}, "de_ListIdentityPoliciesCommand");
|
|
2851
|
-
var de_ListIdentityPoliciesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2852
|
-
const parsedOutput = {
|
|
2853
|
-
...output,
|
|
2854
|
-
body: await parseErrorBody(output.body, context)
|
|
2855
|
-
};
|
|
2856
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2857
|
-
const parsedBody = parsedOutput.body;
|
|
2858
|
-
return throwDefaultError({
|
|
2859
|
-
output,
|
|
2860
|
-
parsedBody: parsedBody.Error,
|
|
2861
|
-
errorCode
|
|
2862
|
-
});
|
|
2863
|
-
}, "de_ListIdentityPoliciesCommandError");
|
|
2864
2175
|
var de_ListReceiptFiltersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2865
2176
|
if (output.statusCode >= 300) {
|
|
2866
|
-
return
|
|
2177
|
+
return de_CommandError(output, context);
|
|
2867
2178
|
}
|
|
2868
2179
|
const data = await parseBody(output.body, context);
|
|
2869
2180
|
let contents = {};
|
|
@@ -2874,22 +2185,9 @@ var de_ListReceiptFiltersCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2874
2185
|
};
|
|
2875
2186
|
return response;
|
|
2876
2187
|
}, "de_ListReceiptFiltersCommand");
|
|
2877
|
-
var de_ListReceiptFiltersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2878
|
-
const parsedOutput = {
|
|
2879
|
-
...output,
|
|
2880
|
-
body: await parseErrorBody(output.body, context)
|
|
2881
|
-
};
|
|
2882
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2883
|
-
const parsedBody = parsedOutput.body;
|
|
2884
|
-
return throwDefaultError({
|
|
2885
|
-
output,
|
|
2886
|
-
parsedBody: parsedBody.Error,
|
|
2887
|
-
errorCode
|
|
2888
|
-
});
|
|
2889
|
-
}, "de_ListReceiptFiltersCommandError");
|
|
2890
2188
|
var de_ListReceiptRuleSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2891
2189
|
if (output.statusCode >= 300) {
|
|
2892
|
-
return
|
|
2190
|
+
return de_CommandError(output, context);
|
|
2893
2191
|
}
|
|
2894
2192
|
const data = await parseBody(output.body, context);
|
|
2895
2193
|
let contents = {};
|
|
@@ -2900,22 +2198,9 @@ var de_ListReceiptRuleSetsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2900
2198
|
};
|
|
2901
2199
|
return response;
|
|
2902
2200
|
}, "de_ListReceiptRuleSetsCommand");
|
|
2903
|
-
var de_ListReceiptRuleSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2904
|
-
const parsedOutput = {
|
|
2905
|
-
...output,
|
|
2906
|
-
body: await parseErrorBody(output.body, context)
|
|
2907
|
-
};
|
|
2908
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2909
|
-
const parsedBody = parsedOutput.body;
|
|
2910
|
-
return throwDefaultError({
|
|
2911
|
-
output,
|
|
2912
|
-
parsedBody: parsedBody.Error,
|
|
2913
|
-
errorCode
|
|
2914
|
-
});
|
|
2915
|
-
}, "de_ListReceiptRuleSetsCommandError");
|
|
2916
2201
|
var de_ListTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2917
2202
|
if (output.statusCode >= 300) {
|
|
2918
|
-
return
|
|
2203
|
+
return de_CommandError(output, context);
|
|
2919
2204
|
}
|
|
2920
2205
|
const data = await parseBody(output.body, context);
|
|
2921
2206
|
let contents = {};
|
|
@@ -2926,22 +2211,9 @@ var de_ListTemplatesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2926
2211
|
};
|
|
2927
2212
|
return response;
|
|
2928
2213
|
}, "de_ListTemplatesCommand");
|
|
2929
|
-
var de_ListTemplatesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2930
|
-
const parsedOutput = {
|
|
2931
|
-
...output,
|
|
2932
|
-
body: await parseErrorBody(output.body, context)
|
|
2933
|
-
};
|
|
2934
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2935
|
-
const parsedBody = parsedOutput.body;
|
|
2936
|
-
return throwDefaultError({
|
|
2937
|
-
output,
|
|
2938
|
-
parsedBody: parsedBody.Error,
|
|
2939
|
-
errorCode
|
|
2940
|
-
});
|
|
2941
|
-
}, "de_ListTemplatesCommandError");
|
|
2942
2214
|
var de_ListVerifiedEmailAddressesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2943
2215
|
if (output.statusCode >= 300) {
|
|
2944
|
-
return
|
|
2216
|
+
return de_CommandError(output, context);
|
|
2945
2217
|
}
|
|
2946
2218
|
const data = await parseBody(output.body, context);
|
|
2947
2219
|
let contents = {};
|
|
@@ -2952,22 +2224,9 @@ var de_ListVerifiedEmailAddressesCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2952
2224
|
};
|
|
2953
2225
|
return response;
|
|
2954
2226
|
}, "de_ListVerifiedEmailAddressesCommand");
|
|
2955
|
-
var de_ListVerifiedEmailAddressesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2956
|
-
const parsedOutput = {
|
|
2957
|
-
...output,
|
|
2958
|
-
body: await parseErrorBody(output.body, context)
|
|
2959
|
-
};
|
|
2960
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2961
|
-
const parsedBody = parsedOutput.body;
|
|
2962
|
-
return throwDefaultError({
|
|
2963
|
-
output,
|
|
2964
|
-
parsedBody: parsedBody.Error,
|
|
2965
|
-
errorCode
|
|
2966
|
-
});
|
|
2967
|
-
}, "de_ListVerifiedEmailAddressesCommandError");
|
|
2968
2227
|
var de_PutConfigurationSetDeliveryOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2969
2228
|
if (output.statusCode >= 300) {
|
|
2970
|
-
return
|
|
2229
|
+
return de_CommandError(output, context);
|
|
2971
2230
|
}
|
|
2972
2231
|
const data = await parseBody(output.body, context);
|
|
2973
2232
|
let contents = {};
|
|
@@ -2978,31 +2237,9 @@ var de_PutConfigurationSetDeliveryOptionsCommand = /* @__PURE__ */ __name(async
|
|
|
2978
2237
|
};
|
|
2979
2238
|
return response;
|
|
2980
2239
|
}, "de_PutConfigurationSetDeliveryOptionsCommand");
|
|
2981
|
-
var de_PutConfigurationSetDeliveryOptionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2982
|
-
const parsedOutput = {
|
|
2983
|
-
...output,
|
|
2984
|
-
body: await parseErrorBody(output.body, context)
|
|
2985
|
-
};
|
|
2986
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2987
|
-
switch (errorCode) {
|
|
2988
|
-
case "ConfigurationSetDoesNotExist":
|
|
2989
|
-
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
2990
|
-
throw await de_ConfigurationSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
2991
|
-
case "InvalidDeliveryOptions":
|
|
2992
|
-
case "com.amazonaws.ses#InvalidDeliveryOptionsException":
|
|
2993
|
-
throw await de_InvalidDeliveryOptionsExceptionRes(parsedOutput, context);
|
|
2994
|
-
default:
|
|
2995
|
-
const parsedBody = parsedOutput.body;
|
|
2996
|
-
return throwDefaultError({
|
|
2997
|
-
output,
|
|
2998
|
-
parsedBody: parsedBody.Error,
|
|
2999
|
-
errorCode
|
|
3000
|
-
});
|
|
3001
|
-
}
|
|
3002
|
-
}, "de_PutConfigurationSetDeliveryOptionsCommandError");
|
|
3003
2240
|
var de_PutIdentityPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3004
2241
|
if (output.statusCode >= 300) {
|
|
3005
|
-
return
|
|
2242
|
+
return de_CommandError(output, context);
|
|
3006
2243
|
}
|
|
3007
2244
|
const data = await parseBody(output.body, context);
|
|
3008
2245
|
let contents = {};
|
|
@@ -3013,28 +2250,9 @@ var de_PutIdentityPolicyCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3013
2250
|
};
|
|
3014
2251
|
return response;
|
|
3015
2252
|
}, "de_PutIdentityPolicyCommand");
|
|
3016
|
-
var de_PutIdentityPolicyCommandError = /* @__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 "InvalidPolicy":
|
|
3024
|
-
case "com.amazonaws.ses#InvalidPolicyException":
|
|
3025
|
-
throw await de_InvalidPolicyExceptionRes(parsedOutput, context);
|
|
3026
|
-
default:
|
|
3027
|
-
const parsedBody = parsedOutput.body;
|
|
3028
|
-
return throwDefaultError({
|
|
3029
|
-
output,
|
|
3030
|
-
parsedBody: parsedBody.Error,
|
|
3031
|
-
errorCode
|
|
3032
|
-
});
|
|
3033
|
-
}
|
|
3034
|
-
}, "de_PutIdentityPolicyCommandError");
|
|
3035
2253
|
var de_ReorderReceiptRuleSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3036
2254
|
if (output.statusCode >= 300) {
|
|
3037
|
-
return
|
|
2255
|
+
return de_CommandError(output, context);
|
|
3038
2256
|
}
|
|
3039
2257
|
const data = await parseBody(output.body, context);
|
|
3040
2258
|
let contents = {};
|
|
@@ -3045,31 +2263,9 @@ var de_ReorderReceiptRuleSetCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3045
2263
|
};
|
|
3046
2264
|
return response;
|
|
3047
2265
|
}, "de_ReorderReceiptRuleSetCommand");
|
|
3048
|
-
var de_ReorderReceiptRuleSetCommandError = /* @__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
|
-
switch (errorCode) {
|
|
3055
|
-
case "RuleDoesNotExist":
|
|
3056
|
-
case "com.amazonaws.ses#RuleDoesNotExistException":
|
|
3057
|
-
throw await de_RuleDoesNotExistExceptionRes(parsedOutput, context);
|
|
3058
|
-
case "RuleSetDoesNotExist":
|
|
3059
|
-
case "com.amazonaws.ses#RuleSetDoesNotExistException":
|
|
3060
|
-
throw await de_RuleSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
3061
|
-
default:
|
|
3062
|
-
const parsedBody = parsedOutput.body;
|
|
3063
|
-
return throwDefaultError({
|
|
3064
|
-
output,
|
|
3065
|
-
parsedBody: parsedBody.Error,
|
|
3066
|
-
errorCode
|
|
3067
|
-
});
|
|
3068
|
-
}
|
|
3069
|
-
}, "de_ReorderReceiptRuleSetCommandError");
|
|
3070
2266
|
var de_SendBounceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3071
2267
|
if (output.statusCode >= 300) {
|
|
3072
|
-
return
|
|
2268
|
+
return de_CommandError(output, context);
|
|
3073
2269
|
}
|
|
3074
2270
|
const data = await parseBody(output.body, context);
|
|
3075
2271
|
let contents = {};
|
|
@@ -3080,28 +2276,9 @@ var de_SendBounceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3080
2276
|
};
|
|
3081
2277
|
return response;
|
|
3082
2278
|
}, "de_SendBounceCommand");
|
|
3083
|
-
var de_SendBounceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3084
|
-
const parsedOutput = {
|
|
3085
|
-
...output,
|
|
3086
|
-
body: await parseErrorBody(output.body, context)
|
|
3087
|
-
};
|
|
3088
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3089
|
-
switch (errorCode) {
|
|
3090
|
-
case "MessageRejected":
|
|
3091
|
-
case "com.amazonaws.ses#MessageRejected":
|
|
3092
|
-
throw await de_MessageRejectedRes(parsedOutput, context);
|
|
3093
|
-
default:
|
|
3094
|
-
const parsedBody = parsedOutput.body;
|
|
3095
|
-
return throwDefaultError({
|
|
3096
|
-
output,
|
|
3097
|
-
parsedBody: parsedBody.Error,
|
|
3098
|
-
errorCode
|
|
3099
|
-
});
|
|
3100
|
-
}
|
|
3101
|
-
}, "de_SendBounceCommandError");
|
|
3102
2279
|
var de_SendBulkTemplatedEmailCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3103
2280
|
if (output.statusCode >= 300) {
|
|
3104
|
-
return
|
|
2281
|
+
return de_CommandError(output, context);
|
|
3105
2282
|
}
|
|
3106
2283
|
const data = await parseBody(output.body, context);
|
|
3107
2284
|
let contents = {};
|
|
@@ -3112,43 +2289,9 @@ var de_SendBulkTemplatedEmailCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3112
2289
|
};
|
|
3113
2290
|
return response;
|
|
3114
2291
|
}, "de_SendBulkTemplatedEmailCommand");
|
|
3115
|
-
var de_SendBulkTemplatedEmailCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3116
|
-
const parsedOutput = {
|
|
3117
|
-
...output,
|
|
3118
|
-
body: await parseErrorBody(output.body, context)
|
|
3119
|
-
};
|
|
3120
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3121
|
-
switch (errorCode) {
|
|
3122
|
-
case "AccountSendingPausedException":
|
|
3123
|
-
case "com.amazonaws.ses#AccountSendingPausedException":
|
|
3124
|
-
throw await de_AccountSendingPausedExceptionRes(parsedOutput, context);
|
|
3125
|
-
case "ConfigurationSetDoesNotExist":
|
|
3126
|
-
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
3127
|
-
throw await de_ConfigurationSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
3128
|
-
case "ConfigurationSetSendingPausedException":
|
|
3129
|
-
case "com.amazonaws.ses#ConfigurationSetSendingPausedException":
|
|
3130
|
-
throw await de_ConfigurationSetSendingPausedExceptionRes(parsedOutput, context);
|
|
3131
|
-
case "MailFromDomainNotVerifiedException":
|
|
3132
|
-
case "com.amazonaws.ses#MailFromDomainNotVerifiedException":
|
|
3133
|
-
throw await de_MailFromDomainNotVerifiedExceptionRes(parsedOutput, context);
|
|
3134
|
-
case "MessageRejected":
|
|
3135
|
-
case "com.amazonaws.ses#MessageRejected":
|
|
3136
|
-
throw await de_MessageRejectedRes(parsedOutput, context);
|
|
3137
|
-
case "TemplateDoesNotExist":
|
|
3138
|
-
case "com.amazonaws.ses#TemplateDoesNotExistException":
|
|
3139
|
-
throw await de_TemplateDoesNotExistExceptionRes(parsedOutput, context);
|
|
3140
|
-
default:
|
|
3141
|
-
const parsedBody = parsedOutput.body;
|
|
3142
|
-
return throwDefaultError({
|
|
3143
|
-
output,
|
|
3144
|
-
parsedBody: parsedBody.Error,
|
|
3145
|
-
errorCode
|
|
3146
|
-
});
|
|
3147
|
-
}
|
|
3148
|
-
}, "de_SendBulkTemplatedEmailCommandError");
|
|
3149
2292
|
var de_SendCustomVerificationEmailCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3150
2293
|
if (output.statusCode >= 300) {
|
|
3151
|
-
return
|
|
2294
|
+
return de_CommandError(output, context);
|
|
3152
2295
|
}
|
|
3153
2296
|
const data = await parseBody(output.body, context);
|
|
3154
2297
|
let contents = {};
|
|
@@ -3159,40 +2302,9 @@ var de_SendCustomVerificationEmailCommand = /* @__PURE__ */ __name(async (output
|
|
|
3159
2302
|
};
|
|
3160
2303
|
return response;
|
|
3161
2304
|
}, "de_SendCustomVerificationEmailCommand");
|
|
3162
|
-
var de_SendCustomVerificationEmailCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3163
|
-
const parsedOutput = {
|
|
3164
|
-
...output,
|
|
3165
|
-
body: await parseErrorBody(output.body, context)
|
|
3166
|
-
};
|
|
3167
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3168
|
-
switch (errorCode) {
|
|
3169
|
-
case "ConfigurationSetDoesNotExist":
|
|
3170
|
-
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
3171
|
-
throw await de_ConfigurationSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
3172
|
-
case "CustomVerificationEmailTemplateDoesNotExist":
|
|
3173
|
-
case "com.amazonaws.ses#CustomVerificationEmailTemplateDoesNotExistException":
|
|
3174
|
-
throw await de_CustomVerificationEmailTemplateDoesNotExistExceptionRes(parsedOutput, context);
|
|
3175
|
-
case "FromEmailAddressNotVerified":
|
|
3176
|
-
case "com.amazonaws.ses#FromEmailAddressNotVerifiedException":
|
|
3177
|
-
throw await de_FromEmailAddressNotVerifiedExceptionRes(parsedOutput, context);
|
|
3178
|
-
case "MessageRejected":
|
|
3179
|
-
case "com.amazonaws.ses#MessageRejected":
|
|
3180
|
-
throw await de_MessageRejectedRes(parsedOutput, context);
|
|
3181
|
-
case "ProductionAccessNotGranted":
|
|
3182
|
-
case "com.amazonaws.ses#ProductionAccessNotGrantedException":
|
|
3183
|
-
throw await de_ProductionAccessNotGrantedExceptionRes(parsedOutput, context);
|
|
3184
|
-
default:
|
|
3185
|
-
const parsedBody = parsedOutput.body;
|
|
3186
|
-
return throwDefaultError({
|
|
3187
|
-
output,
|
|
3188
|
-
parsedBody: parsedBody.Error,
|
|
3189
|
-
errorCode
|
|
3190
|
-
});
|
|
3191
|
-
}
|
|
3192
|
-
}, "de_SendCustomVerificationEmailCommandError");
|
|
3193
2305
|
var de_SendEmailCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3194
2306
|
if (output.statusCode >= 300) {
|
|
3195
|
-
return
|
|
2307
|
+
return de_CommandError(output, context);
|
|
3196
2308
|
}
|
|
3197
2309
|
const data = await parseBody(output.body, context);
|
|
3198
2310
|
let contents = {};
|
|
@@ -3203,40 +2315,9 @@ var de_SendEmailCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3203
2315
|
};
|
|
3204
2316
|
return response;
|
|
3205
2317
|
}, "de_SendEmailCommand");
|
|
3206
|
-
var de_SendEmailCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3207
|
-
const parsedOutput = {
|
|
3208
|
-
...output,
|
|
3209
|
-
body: await parseErrorBody(output.body, context)
|
|
3210
|
-
};
|
|
3211
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3212
|
-
switch (errorCode) {
|
|
3213
|
-
case "AccountSendingPausedException":
|
|
3214
|
-
case "com.amazonaws.ses#AccountSendingPausedException":
|
|
3215
|
-
throw await de_AccountSendingPausedExceptionRes(parsedOutput, context);
|
|
3216
|
-
case "ConfigurationSetDoesNotExist":
|
|
3217
|
-
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
3218
|
-
throw await de_ConfigurationSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
3219
|
-
case "ConfigurationSetSendingPausedException":
|
|
3220
|
-
case "com.amazonaws.ses#ConfigurationSetSendingPausedException":
|
|
3221
|
-
throw await de_ConfigurationSetSendingPausedExceptionRes(parsedOutput, context);
|
|
3222
|
-
case "MailFromDomainNotVerifiedException":
|
|
3223
|
-
case "com.amazonaws.ses#MailFromDomainNotVerifiedException":
|
|
3224
|
-
throw await de_MailFromDomainNotVerifiedExceptionRes(parsedOutput, context);
|
|
3225
|
-
case "MessageRejected":
|
|
3226
|
-
case "com.amazonaws.ses#MessageRejected":
|
|
3227
|
-
throw await de_MessageRejectedRes(parsedOutput, context);
|
|
3228
|
-
default:
|
|
3229
|
-
const parsedBody = parsedOutput.body;
|
|
3230
|
-
return throwDefaultError({
|
|
3231
|
-
output,
|
|
3232
|
-
parsedBody: parsedBody.Error,
|
|
3233
|
-
errorCode
|
|
3234
|
-
});
|
|
3235
|
-
}
|
|
3236
|
-
}, "de_SendEmailCommandError");
|
|
3237
2318
|
var de_SendRawEmailCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3238
2319
|
if (output.statusCode >= 300) {
|
|
3239
|
-
return
|
|
2320
|
+
return de_CommandError(output, context);
|
|
3240
2321
|
}
|
|
3241
2322
|
const data = await parseBody(output.body, context);
|
|
3242
2323
|
let contents = {};
|
|
@@ -3247,40 +2328,9 @@ var de_SendRawEmailCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3247
2328
|
};
|
|
3248
2329
|
return response;
|
|
3249
2330
|
}, "de_SendRawEmailCommand");
|
|
3250
|
-
var de_SendRawEmailCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3251
|
-
const parsedOutput = {
|
|
3252
|
-
...output,
|
|
3253
|
-
body: await parseErrorBody(output.body, context)
|
|
3254
|
-
};
|
|
3255
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3256
|
-
switch (errorCode) {
|
|
3257
|
-
case "AccountSendingPausedException":
|
|
3258
|
-
case "com.amazonaws.ses#AccountSendingPausedException":
|
|
3259
|
-
throw await de_AccountSendingPausedExceptionRes(parsedOutput, context);
|
|
3260
|
-
case "ConfigurationSetDoesNotExist":
|
|
3261
|
-
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
3262
|
-
throw await de_ConfigurationSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
3263
|
-
case "ConfigurationSetSendingPausedException":
|
|
3264
|
-
case "com.amazonaws.ses#ConfigurationSetSendingPausedException":
|
|
3265
|
-
throw await de_ConfigurationSetSendingPausedExceptionRes(parsedOutput, context);
|
|
3266
|
-
case "MailFromDomainNotVerifiedException":
|
|
3267
|
-
case "com.amazonaws.ses#MailFromDomainNotVerifiedException":
|
|
3268
|
-
throw await de_MailFromDomainNotVerifiedExceptionRes(parsedOutput, context);
|
|
3269
|
-
case "MessageRejected":
|
|
3270
|
-
case "com.amazonaws.ses#MessageRejected":
|
|
3271
|
-
throw await de_MessageRejectedRes(parsedOutput, context);
|
|
3272
|
-
default:
|
|
3273
|
-
const parsedBody = parsedOutput.body;
|
|
3274
|
-
return throwDefaultError({
|
|
3275
|
-
output,
|
|
3276
|
-
parsedBody: parsedBody.Error,
|
|
3277
|
-
errorCode
|
|
3278
|
-
});
|
|
3279
|
-
}
|
|
3280
|
-
}, "de_SendRawEmailCommandError");
|
|
3281
2331
|
var de_SendTemplatedEmailCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3282
2332
|
if (output.statusCode >= 300) {
|
|
3283
|
-
return
|
|
2333
|
+
return de_CommandError(output, context);
|
|
3284
2334
|
}
|
|
3285
2335
|
const data = await parseBody(output.body, context);
|
|
3286
2336
|
let contents = {};
|
|
@@ -3291,43 +2341,9 @@ var de_SendTemplatedEmailCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3291
2341
|
};
|
|
3292
2342
|
return response;
|
|
3293
2343
|
}, "de_SendTemplatedEmailCommand");
|
|
3294
|
-
var de_SendTemplatedEmailCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3295
|
-
const parsedOutput = {
|
|
3296
|
-
...output,
|
|
3297
|
-
body: await parseErrorBody(output.body, context)
|
|
3298
|
-
};
|
|
3299
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3300
|
-
switch (errorCode) {
|
|
3301
|
-
case "AccountSendingPausedException":
|
|
3302
|
-
case "com.amazonaws.ses#AccountSendingPausedException":
|
|
3303
|
-
throw await de_AccountSendingPausedExceptionRes(parsedOutput, context);
|
|
3304
|
-
case "ConfigurationSetDoesNotExist":
|
|
3305
|
-
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
3306
|
-
throw await de_ConfigurationSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
3307
|
-
case "ConfigurationSetSendingPausedException":
|
|
3308
|
-
case "com.amazonaws.ses#ConfigurationSetSendingPausedException":
|
|
3309
|
-
throw await de_ConfigurationSetSendingPausedExceptionRes(parsedOutput, context);
|
|
3310
|
-
case "MailFromDomainNotVerifiedException":
|
|
3311
|
-
case "com.amazonaws.ses#MailFromDomainNotVerifiedException":
|
|
3312
|
-
throw await de_MailFromDomainNotVerifiedExceptionRes(parsedOutput, context);
|
|
3313
|
-
case "MessageRejected":
|
|
3314
|
-
case "com.amazonaws.ses#MessageRejected":
|
|
3315
|
-
throw await de_MessageRejectedRes(parsedOutput, context);
|
|
3316
|
-
case "TemplateDoesNotExist":
|
|
3317
|
-
case "com.amazonaws.ses#TemplateDoesNotExistException":
|
|
3318
|
-
throw await de_TemplateDoesNotExistExceptionRes(parsedOutput, context);
|
|
3319
|
-
default:
|
|
3320
|
-
const parsedBody = parsedOutput.body;
|
|
3321
|
-
return throwDefaultError({
|
|
3322
|
-
output,
|
|
3323
|
-
parsedBody: parsedBody.Error,
|
|
3324
|
-
errorCode
|
|
3325
|
-
});
|
|
3326
|
-
}
|
|
3327
|
-
}, "de_SendTemplatedEmailCommandError");
|
|
3328
2344
|
var de_SetActiveReceiptRuleSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3329
2345
|
if (output.statusCode >= 300) {
|
|
3330
|
-
return
|
|
2346
|
+
return de_CommandError(output, context);
|
|
3331
2347
|
}
|
|
3332
2348
|
const data = await parseBody(output.body, context);
|
|
3333
2349
|
let contents = {};
|
|
@@ -3338,28 +2354,9 @@ var de_SetActiveReceiptRuleSetCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
3338
2354
|
};
|
|
3339
2355
|
return response;
|
|
3340
2356
|
}, "de_SetActiveReceiptRuleSetCommand");
|
|
3341
|
-
var de_SetActiveReceiptRuleSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3342
|
-
const parsedOutput = {
|
|
3343
|
-
...output,
|
|
3344
|
-
body: await parseErrorBody(output.body, context)
|
|
3345
|
-
};
|
|
3346
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3347
|
-
switch (errorCode) {
|
|
3348
|
-
case "RuleSetDoesNotExist":
|
|
3349
|
-
case "com.amazonaws.ses#RuleSetDoesNotExistException":
|
|
3350
|
-
throw await de_RuleSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
3351
|
-
default:
|
|
3352
|
-
const parsedBody = parsedOutput.body;
|
|
3353
|
-
return throwDefaultError({
|
|
3354
|
-
output,
|
|
3355
|
-
parsedBody: parsedBody.Error,
|
|
3356
|
-
errorCode
|
|
3357
|
-
});
|
|
3358
|
-
}
|
|
3359
|
-
}, "de_SetActiveReceiptRuleSetCommandError");
|
|
3360
2357
|
var de_SetIdentityDkimEnabledCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3361
2358
|
if (output.statusCode >= 300) {
|
|
3362
|
-
return
|
|
2359
|
+
return de_CommandError(output, context);
|
|
3363
2360
|
}
|
|
3364
2361
|
const data = await parseBody(output.body, context);
|
|
3365
2362
|
let contents = {};
|
|
@@ -3370,22 +2367,9 @@ var de_SetIdentityDkimEnabledCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3370
2367
|
};
|
|
3371
2368
|
return response;
|
|
3372
2369
|
}, "de_SetIdentityDkimEnabledCommand");
|
|
3373
|
-
var de_SetIdentityDkimEnabledCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3374
|
-
const parsedOutput = {
|
|
3375
|
-
...output,
|
|
3376
|
-
body: await parseErrorBody(output.body, context)
|
|
3377
|
-
};
|
|
3378
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3379
|
-
const parsedBody = parsedOutput.body;
|
|
3380
|
-
return throwDefaultError({
|
|
3381
|
-
output,
|
|
3382
|
-
parsedBody: parsedBody.Error,
|
|
3383
|
-
errorCode
|
|
3384
|
-
});
|
|
3385
|
-
}, "de_SetIdentityDkimEnabledCommandError");
|
|
3386
2370
|
var de_SetIdentityFeedbackForwardingEnabledCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3387
2371
|
if (output.statusCode >= 300) {
|
|
3388
|
-
return
|
|
2372
|
+
return de_CommandError(output, context);
|
|
3389
2373
|
}
|
|
3390
2374
|
const data = await parseBody(output.body, context);
|
|
3391
2375
|
let contents = {};
|
|
@@ -3396,22 +2380,9 @@ var de_SetIdentityFeedbackForwardingEnabledCommand = /* @__PURE__ */ __name(asyn
|
|
|
3396
2380
|
};
|
|
3397
2381
|
return response;
|
|
3398
2382
|
}, "de_SetIdentityFeedbackForwardingEnabledCommand");
|
|
3399
|
-
var de_SetIdentityFeedbackForwardingEnabledCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3400
|
-
const parsedOutput = {
|
|
3401
|
-
...output,
|
|
3402
|
-
body: await parseErrorBody(output.body, context)
|
|
3403
|
-
};
|
|
3404
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3405
|
-
const parsedBody = parsedOutput.body;
|
|
3406
|
-
return throwDefaultError({
|
|
3407
|
-
output,
|
|
3408
|
-
parsedBody: parsedBody.Error,
|
|
3409
|
-
errorCode
|
|
3410
|
-
});
|
|
3411
|
-
}, "de_SetIdentityFeedbackForwardingEnabledCommandError");
|
|
3412
2383
|
var de_SetIdentityHeadersInNotificationsEnabledCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3413
2384
|
if (output.statusCode >= 300) {
|
|
3414
|
-
return
|
|
2385
|
+
return de_CommandError(output, context);
|
|
3415
2386
|
}
|
|
3416
2387
|
const data = await parseBody(output.body, context);
|
|
3417
2388
|
let contents = {};
|
|
@@ -3425,22 +2396,9 @@ var de_SetIdentityHeadersInNotificationsEnabledCommand = /* @__PURE__ */ __name(
|
|
|
3425
2396
|
};
|
|
3426
2397
|
return response;
|
|
3427
2398
|
}, "de_SetIdentityHeadersInNotificationsEnabledCommand");
|
|
3428
|
-
var de_SetIdentityHeadersInNotificationsEnabledCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3429
|
-
const parsedOutput = {
|
|
3430
|
-
...output,
|
|
3431
|
-
body: await parseErrorBody(output.body, context)
|
|
3432
|
-
};
|
|
3433
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3434
|
-
const parsedBody = parsedOutput.body;
|
|
3435
|
-
return throwDefaultError({
|
|
3436
|
-
output,
|
|
3437
|
-
parsedBody: parsedBody.Error,
|
|
3438
|
-
errorCode
|
|
3439
|
-
});
|
|
3440
|
-
}, "de_SetIdentityHeadersInNotificationsEnabledCommandError");
|
|
3441
2399
|
var de_SetIdentityMailFromDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3442
2400
|
if (output.statusCode >= 300) {
|
|
3443
|
-
return
|
|
2401
|
+
return de_CommandError(output, context);
|
|
3444
2402
|
}
|
|
3445
2403
|
const data = await parseBody(output.body, context);
|
|
3446
2404
|
let contents = {};
|
|
@@ -3451,22 +2409,9 @@ var de_SetIdentityMailFromDomainCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3451
2409
|
};
|
|
3452
2410
|
return response;
|
|
3453
2411
|
}, "de_SetIdentityMailFromDomainCommand");
|
|
3454
|
-
var de_SetIdentityMailFromDomainCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3455
|
-
const parsedOutput = {
|
|
3456
|
-
...output,
|
|
3457
|
-
body: await parseErrorBody(output.body, context)
|
|
3458
|
-
};
|
|
3459
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3460
|
-
const parsedBody = parsedOutput.body;
|
|
3461
|
-
return throwDefaultError({
|
|
3462
|
-
output,
|
|
3463
|
-
parsedBody: parsedBody.Error,
|
|
3464
|
-
errorCode
|
|
3465
|
-
});
|
|
3466
|
-
}, "de_SetIdentityMailFromDomainCommandError");
|
|
3467
2412
|
var de_SetIdentityNotificationTopicCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3468
2413
|
if (output.statusCode >= 300) {
|
|
3469
|
-
return
|
|
2414
|
+
return de_CommandError(output, context);
|
|
3470
2415
|
}
|
|
3471
2416
|
const data = await parseBody(output.body, context);
|
|
3472
2417
|
let contents = {};
|
|
@@ -3477,22 +2422,9 @@ var de_SetIdentityNotificationTopicCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
3477
2422
|
};
|
|
3478
2423
|
return response;
|
|
3479
2424
|
}, "de_SetIdentityNotificationTopicCommand");
|
|
3480
|
-
var de_SetIdentityNotificationTopicCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3481
|
-
const parsedOutput = {
|
|
3482
|
-
...output,
|
|
3483
|
-
body: await parseErrorBody(output.body, context)
|
|
3484
|
-
};
|
|
3485
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3486
|
-
const parsedBody = parsedOutput.body;
|
|
3487
|
-
return throwDefaultError({
|
|
3488
|
-
output,
|
|
3489
|
-
parsedBody: parsedBody.Error,
|
|
3490
|
-
errorCode
|
|
3491
|
-
});
|
|
3492
|
-
}, "de_SetIdentityNotificationTopicCommandError");
|
|
3493
2425
|
var de_SetReceiptRulePositionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3494
2426
|
if (output.statusCode >= 300) {
|
|
3495
|
-
return
|
|
2427
|
+
return de_CommandError(output, context);
|
|
3496
2428
|
}
|
|
3497
2429
|
const data = await parseBody(output.body, context);
|
|
3498
2430
|
let contents = {};
|
|
@@ -3503,31 +2435,9 @@ var de_SetReceiptRulePositionCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3503
2435
|
};
|
|
3504
2436
|
return response;
|
|
3505
2437
|
}, "de_SetReceiptRulePositionCommand");
|
|
3506
|
-
var de_SetReceiptRulePositionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3507
|
-
const parsedOutput = {
|
|
3508
|
-
...output,
|
|
3509
|
-
body: await parseErrorBody(output.body, context)
|
|
3510
|
-
};
|
|
3511
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3512
|
-
switch (errorCode) {
|
|
3513
|
-
case "RuleDoesNotExist":
|
|
3514
|
-
case "com.amazonaws.ses#RuleDoesNotExistException":
|
|
3515
|
-
throw await de_RuleDoesNotExistExceptionRes(parsedOutput, context);
|
|
3516
|
-
case "RuleSetDoesNotExist":
|
|
3517
|
-
case "com.amazonaws.ses#RuleSetDoesNotExistException":
|
|
3518
|
-
throw await de_RuleSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
3519
|
-
default:
|
|
3520
|
-
const parsedBody = parsedOutput.body;
|
|
3521
|
-
return throwDefaultError({
|
|
3522
|
-
output,
|
|
3523
|
-
parsedBody: parsedBody.Error,
|
|
3524
|
-
errorCode
|
|
3525
|
-
});
|
|
3526
|
-
}
|
|
3527
|
-
}, "de_SetReceiptRulePositionCommandError");
|
|
3528
2438
|
var de_TestRenderTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3529
2439
|
if (output.statusCode >= 300) {
|
|
3530
|
-
return
|
|
2440
|
+
return de_CommandError(output, context);
|
|
3531
2441
|
}
|
|
3532
2442
|
const data = await parseBody(output.body, context);
|
|
3533
2443
|
let contents = {};
|
|
@@ -3538,34 +2448,9 @@ var de_TestRenderTemplateCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3538
2448
|
};
|
|
3539
2449
|
return response;
|
|
3540
2450
|
}, "de_TestRenderTemplateCommand");
|
|
3541
|
-
var de_TestRenderTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3542
|
-
const parsedOutput = {
|
|
3543
|
-
...output,
|
|
3544
|
-
body: await parseErrorBody(output.body, context)
|
|
3545
|
-
};
|
|
3546
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3547
|
-
switch (errorCode) {
|
|
3548
|
-
case "InvalidRenderingParameter":
|
|
3549
|
-
case "com.amazonaws.ses#InvalidRenderingParameterException":
|
|
3550
|
-
throw await de_InvalidRenderingParameterExceptionRes(parsedOutput, context);
|
|
3551
|
-
case "MissingRenderingAttribute":
|
|
3552
|
-
case "com.amazonaws.ses#MissingRenderingAttributeException":
|
|
3553
|
-
throw await de_MissingRenderingAttributeExceptionRes(parsedOutput, context);
|
|
3554
|
-
case "TemplateDoesNotExist":
|
|
3555
|
-
case "com.amazonaws.ses#TemplateDoesNotExistException":
|
|
3556
|
-
throw await de_TemplateDoesNotExistExceptionRes(parsedOutput, context);
|
|
3557
|
-
default:
|
|
3558
|
-
const parsedBody = parsedOutput.body;
|
|
3559
|
-
return throwDefaultError({
|
|
3560
|
-
output,
|
|
3561
|
-
parsedBody: parsedBody.Error,
|
|
3562
|
-
errorCode
|
|
3563
|
-
});
|
|
3564
|
-
}
|
|
3565
|
-
}, "de_TestRenderTemplateCommandError");
|
|
3566
2451
|
var de_UpdateAccountSendingEnabledCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3567
2452
|
if (output.statusCode >= 300) {
|
|
3568
|
-
return
|
|
2453
|
+
return de_CommandError(output, context);
|
|
3569
2454
|
}
|
|
3570
2455
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3571
2456
|
const response = {
|
|
@@ -3573,22 +2458,9 @@ var de_UpdateAccountSendingEnabledCommand = /* @__PURE__ */ __name(async (output
|
|
|
3573
2458
|
};
|
|
3574
2459
|
return response;
|
|
3575
2460
|
}, "de_UpdateAccountSendingEnabledCommand");
|
|
3576
|
-
var de_UpdateAccountSendingEnabledCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3577
|
-
const parsedOutput = {
|
|
3578
|
-
...output,
|
|
3579
|
-
body: await parseErrorBody(output.body, context)
|
|
3580
|
-
};
|
|
3581
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3582
|
-
const parsedBody = parsedOutput.body;
|
|
3583
|
-
return throwDefaultError({
|
|
3584
|
-
output,
|
|
3585
|
-
parsedBody: parsedBody.Error,
|
|
3586
|
-
errorCode
|
|
3587
|
-
});
|
|
3588
|
-
}, "de_UpdateAccountSendingEnabledCommandError");
|
|
3589
2461
|
var de_UpdateConfigurationSetEventDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3590
2462
|
if (output.statusCode >= 300) {
|
|
3591
|
-
return
|
|
2463
|
+
return de_CommandError(output, context);
|
|
3592
2464
|
}
|
|
3593
2465
|
const data = await parseBody(output.body, context);
|
|
3594
2466
|
let contents = {};
|
|
@@ -3602,40 +2474,9 @@ var de_UpdateConfigurationSetEventDestinationCommand = /* @__PURE__ */ __name(as
|
|
|
3602
2474
|
};
|
|
3603
2475
|
return response;
|
|
3604
2476
|
}, "de_UpdateConfigurationSetEventDestinationCommand");
|
|
3605
|
-
var de_UpdateConfigurationSetEventDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3606
|
-
const parsedOutput = {
|
|
3607
|
-
...output,
|
|
3608
|
-
body: await parseErrorBody(output.body, context)
|
|
3609
|
-
};
|
|
3610
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3611
|
-
switch (errorCode) {
|
|
3612
|
-
case "ConfigurationSetDoesNotExist":
|
|
3613
|
-
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
3614
|
-
throw await de_ConfigurationSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
3615
|
-
case "EventDestinationDoesNotExist":
|
|
3616
|
-
case "com.amazonaws.ses#EventDestinationDoesNotExistException":
|
|
3617
|
-
throw await de_EventDestinationDoesNotExistExceptionRes(parsedOutput, context);
|
|
3618
|
-
case "InvalidCloudWatchDestination":
|
|
3619
|
-
case "com.amazonaws.ses#InvalidCloudWatchDestinationException":
|
|
3620
|
-
throw await de_InvalidCloudWatchDestinationExceptionRes(parsedOutput, context);
|
|
3621
|
-
case "InvalidFirehoseDestination":
|
|
3622
|
-
case "com.amazonaws.ses#InvalidFirehoseDestinationException":
|
|
3623
|
-
throw await de_InvalidFirehoseDestinationExceptionRes(parsedOutput, context);
|
|
3624
|
-
case "InvalidSNSDestination":
|
|
3625
|
-
case "com.amazonaws.ses#InvalidSNSDestinationException":
|
|
3626
|
-
throw await de_InvalidSNSDestinationExceptionRes(parsedOutput, context);
|
|
3627
|
-
default:
|
|
3628
|
-
const parsedBody = parsedOutput.body;
|
|
3629
|
-
return throwDefaultError({
|
|
3630
|
-
output,
|
|
3631
|
-
parsedBody: parsedBody.Error,
|
|
3632
|
-
errorCode
|
|
3633
|
-
});
|
|
3634
|
-
}
|
|
3635
|
-
}, "de_UpdateConfigurationSetEventDestinationCommandError");
|
|
3636
2477
|
var de_UpdateConfigurationSetReputationMetricsEnabledCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3637
2478
|
if (output.statusCode >= 300) {
|
|
3638
|
-
return
|
|
2479
|
+
return de_CommandError(output, context);
|
|
3639
2480
|
}
|
|
3640
2481
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3641
2482
|
const response = {
|
|
@@ -3643,28 +2484,9 @@ var de_UpdateConfigurationSetReputationMetricsEnabledCommand = /* @__PURE__ */ _
|
|
|
3643
2484
|
};
|
|
3644
2485
|
return response;
|
|
3645
2486
|
}, "de_UpdateConfigurationSetReputationMetricsEnabledCommand");
|
|
3646
|
-
var de_UpdateConfigurationSetReputationMetricsEnabledCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3647
|
-
const parsedOutput = {
|
|
3648
|
-
...output,
|
|
3649
|
-
body: await parseErrorBody(output.body, context)
|
|
3650
|
-
};
|
|
3651
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3652
|
-
switch (errorCode) {
|
|
3653
|
-
case "ConfigurationSetDoesNotExist":
|
|
3654
|
-
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
3655
|
-
throw await de_ConfigurationSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
3656
|
-
default:
|
|
3657
|
-
const parsedBody = parsedOutput.body;
|
|
3658
|
-
return throwDefaultError({
|
|
3659
|
-
output,
|
|
3660
|
-
parsedBody: parsedBody.Error,
|
|
3661
|
-
errorCode
|
|
3662
|
-
});
|
|
3663
|
-
}
|
|
3664
|
-
}, "de_UpdateConfigurationSetReputationMetricsEnabledCommandError");
|
|
3665
2487
|
var de_UpdateConfigurationSetSendingEnabledCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3666
2488
|
if (output.statusCode >= 300) {
|
|
3667
|
-
return
|
|
2489
|
+
return de_CommandError(output, context);
|
|
3668
2490
|
}
|
|
3669
2491
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3670
2492
|
const response = {
|
|
@@ -3672,28 +2494,9 @@ var de_UpdateConfigurationSetSendingEnabledCommand = /* @__PURE__ */ __name(asyn
|
|
|
3672
2494
|
};
|
|
3673
2495
|
return response;
|
|
3674
2496
|
}, "de_UpdateConfigurationSetSendingEnabledCommand");
|
|
3675
|
-
var de_UpdateConfigurationSetSendingEnabledCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3676
|
-
const parsedOutput = {
|
|
3677
|
-
...output,
|
|
3678
|
-
body: await parseErrorBody(output.body, context)
|
|
3679
|
-
};
|
|
3680
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3681
|
-
switch (errorCode) {
|
|
3682
|
-
case "ConfigurationSetDoesNotExist":
|
|
3683
|
-
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
3684
|
-
throw await de_ConfigurationSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
3685
|
-
default:
|
|
3686
|
-
const parsedBody = parsedOutput.body;
|
|
3687
|
-
return throwDefaultError({
|
|
3688
|
-
output,
|
|
3689
|
-
parsedBody: parsedBody.Error,
|
|
3690
|
-
errorCode
|
|
3691
|
-
});
|
|
3692
|
-
}
|
|
3693
|
-
}, "de_UpdateConfigurationSetSendingEnabledCommandError");
|
|
3694
2497
|
var de_UpdateConfigurationSetTrackingOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3695
2498
|
if (output.statusCode >= 300) {
|
|
3696
|
-
return
|
|
2499
|
+
return de_CommandError(output, context);
|
|
3697
2500
|
}
|
|
3698
2501
|
const data = await parseBody(output.body, context);
|
|
3699
2502
|
let contents = {};
|
|
@@ -3707,34 +2510,9 @@ var de_UpdateConfigurationSetTrackingOptionsCommand = /* @__PURE__ */ __name(asy
|
|
|
3707
2510
|
};
|
|
3708
2511
|
return response;
|
|
3709
2512
|
}, "de_UpdateConfigurationSetTrackingOptionsCommand");
|
|
3710
|
-
var de_UpdateConfigurationSetTrackingOptionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3711
|
-
const parsedOutput = {
|
|
3712
|
-
...output,
|
|
3713
|
-
body: await parseErrorBody(output.body, context)
|
|
3714
|
-
};
|
|
3715
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3716
|
-
switch (errorCode) {
|
|
3717
|
-
case "ConfigurationSetDoesNotExist":
|
|
3718
|
-
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
3719
|
-
throw await de_ConfigurationSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
3720
|
-
case "InvalidTrackingOptions":
|
|
3721
|
-
case "com.amazonaws.ses#InvalidTrackingOptionsException":
|
|
3722
|
-
throw await de_InvalidTrackingOptionsExceptionRes(parsedOutput, context);
|
|
3723
|
-
case "TrackingOptionsDoesNotExistException":
|
|
3724
|
-
case "com.amazonaws.ses#TrackingOptionsDoesNotExistException":
|
|
3725
|
-
throw await de_TrackingOptionsDoesNotExistExceptionRes(parsedOutput, context);
|
|
3726
|
-
default:
|
|
3727
|
-
const parsedBody = parsedOutput.body;
|
|
3728
|
-
return throwDefaultError({
|
|
3729
|
-
output,
|
|
3730
|
-
parsedBody: parsedBody.Error,
|
|
3731
|
-
errorCode
|
|
3732
|
-
});
|
|
3733
|
-
}
|
|
3734
|
-
}, "de_UpdateConfigurationSetTrackingOptionsCommandError");
|
|
3735
2513
|
var de_UpdateCustomVerificationEmailTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3736
2514
|
if (output.statusCode >= 300) {
|
|
3737
|
-
return
|
|
2515
|
+
return de_CommandError(output, context);
|
|
3738
2516
|
}
|
|
3739
2517
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3740
2518
|
const response = {
|
|
@@ -3742,34 +2520,9 @@ var de_UpdateCustomVerificationEmailTemplateCommand = /* @__PURE__ */ __name(asy
|
|
|
3742
2520
|
};
|
|
3743
2521
|
return response;
|
|
3744
2522
|
}, "de_UpdateCustomVerificationEmailTemplateCommand");
|
|
3745
|
-
var de_UpdateCustomVerificationEmailTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3746
|
-
const parsedOutput = {
|
|
3747
|
-
...output,
|
|
3748
|
-
body: await parseErrorBody(output.body, context)
|
|
3749
|
-
};
|
|
3750
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3751
|
-
switch (errorCode) {
|
|
3752
|
-
case "CustomVerificationEmailInvalidContent":
|
|
3753
|
-
case "com.amazonaws.ses#CustomVerificationEmailInvalidContentException":
|
|
3754
|
-
throw await de_CustomVerificationEmailInvalidContentExceptionRes(parsedOutput, context);
|
|
3755
|
-
case "CustomVerificationEmailTemplateDoesNotExist":
|
|
3756
|
-
case "com.amazonaws.ses#CustomVerificationEmailTemplateDoesNotExistException":
|
|
3757
|
-
throw await de_CustomVerificationEmailTemplateDoesNotExistExceptionRes(parsedOutput, context);
|
|
3758
|
-
case "FromEmailAddressNotVerified":
|
|
3759
|
-
case "com.amazonaws.ses#FromEmailAddressNotVerifiedException":
|
|
3760
|
-
throw await de_FromEmailAddressNotVerifiedExceptionRes(parsedOutput, context);
|
|
3761
|
-
default:
|
|
3762
|
-
const parsedBody = parsedOutput.body;
|
|
3763
|
-
return throwDefaultError({
|
|
3764
|
-
output,
|
|
3765
|
-
parsedBody: parsedBody.Error,
|
|
3766
|
-
errorCode
|
|
3767
|
-
});
|
|
3768
|
-
}
|
|
3769
|
-
}, "de_UpdateCustomVerificationEmailTemplateCommandError");
|
|
3770
2523
|
var de_UpdateReceiptRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3771
2524
|
if (output.statusCode >= 300) {
|
|
3772
|
-
return
|
|
2525
|
+
return de_CommandError(output, context);
|
|
3773
2526
|
}
|
|
3774
2527
|
const data = await parseBody(output.body, context);
|
|
3775
2528
|
let contents = {};
|
|
@@ -3780,43 +2533,9 @@ var de_UpdateReceiptRuleCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3780
2533
|
};
|
|
3781
2534
|
return response;
|
|
3782
2535
|
}, "de_UpdateReceiptRuleCommand");
|
|
3783
|
-
var de_UpdateReceiptRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3784
|
-
const parsedOutput = {
|
|
3785
|
-
...output,
|
|
3786
|
-
body: await parseErrorBody(output.body, context)
|
|
3787
|
-
};
|
|
3788
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3789
|
-
switch (errorCode) {
|
|
3790
|
-
case "InvalidLambdaFunction":
|
|
3791
|
-
case "com.amazonaws.ses#InvalidLambdaFunctionException":
|
|
3792
|
-
throw await de_InvalidLambdaFunctionExceptionRes(parsedOutput, context);
|
|
3793
|
-
case "InvalidS3Configuration":
|
|
3794
|
-
case "com.amazonaws.ses#InvalidS3ConfigurationException":
|
|
3795
|
-
throw await de_InvalidS3ConfigurationExceptionRes(parsedOutput, context);
|
|
3796
|
-
case "InvalidSnsTopic":
|
|
3797
|
-
case "com.amazonaws.ses#InvalidSnsTopicException":
|
|
3798
|
-
throw await de_InvalidSnsTopicExceptionRes(parsedOutput, context);
|
|
3799
|
-
case "LimitExceeded":
|
|
3800
|
-
case "com.amazonaws.ses#LimitExceededException":
|
|
3801
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3802
|
-
case "RuleDoesNotExist":
|
|
3803
|
-
case "com.amazonaws.ses#RuleDoesNotExistException":
|
|
3804
|
-
throw await de_RuleDoesNotExistExceptionRes(parsedOutput, context);
|
|
3805
|
-
case "RuleSetDoesNotExist":
|
|
3806
|
-
case "com.amazonaws.ses#RuleSetDoesNotExistException":
|
|
3807
|
-
throw await de_RuleSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
3808
|
-
default:
|
|
3809
|
-
const parsedBody = parsedOutput.body;
|
|
3810
|
-
return throwDefaultError({
|
|
3811
|
-
output,
|
|
3812
|
-
parsedBody: parsedBody.Error,
|
|
3813
|
-
errorCode
|
|
3814
|
-
});
|
|
3815
|
-
}
|
|
3816
|
-
}, "de_UpdateReceiptRuleCommandError");
|
|
3817
2536
|
var de_UpdateTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3818
2537
|
if (output.statusCode >= 300) {
|
|
3819
|
-
return
|
|
2538
|
+
return de_CommandError(output, context);
|
|
3820
2539
|
}
|
|
3821
2540
|
const data = await parseBody(output.body, context);
|
|
3822
2541
|
let contents = {};
|
|
@@ -3827,31 +2546,9 @@ var de_UpdateTemplateCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3827
2546
|
};
|
|
3828
2547
|
return response;
|
|
3829
2548
|
}, "de_UpdateTemplateCommand");
|
|
3830
|
-
var de_UpdateTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3831
|
-
const parsedOutput = {
|
|
3832
|
-
...output,
|
|
3833
|
-
body: await parseErrorBody(output.body, context)
|
|
3834
|
-
};
|
|
3835
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3836
|
-
switch (errorCode) {
|
|
3837
|
-
case "InvalidTemplate":
|
|
3838
|
-
case "com.amazonaws.ses#InvalidTemplateException":
|
|
3839
|
-
throw await de_InvalidTemplateExceptionRes(parsedOutput, context);
|
|
3840
|
-
case "TemplateDoesNotExist":
|
|
3841
|
-
case "com.amazonaws.ses#TemplateDoesNotExistException":
|
|
3842
|
-
throw await de_TemplateDoesNotExistExceptionRes(parsedOutput, context);
|
|
3843
|
-
default:
|
|
3844
|
-
const parsedBody = parsedOutput.body;
|
|
3845
|
-
return throwDefaultError({
|
|
3846
|
-
output,
|
|
3847
|
-
parsedBody: parsedBody.Error,
|
|
3848
|
-
errorCode
|
|
3849
|
-
});
|
|
3850
|
-
}
|
|
3851
|
-
}, "de_UpdateTemplateCommandError");
|
|
3852
2549
|
var de_VerifyDomainDkimCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3853
2550
|
if (output.statusCode >= 300) {
|
|
3854
|
-
return
|
|
2551
|
+
return de_CommandError(output, context);
|
|
3855
2552
|
}
|
|
3856
2553
|
const data = await parseBody(output.body, context);
|
|
3857
2554
|
let contents = {};
|
|
@@ -3862,22 +2559,9 @@ var de_VerifyDomainDkimCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3862
2559
|
};
|
|
3863
2560
|
return response;
|
|
3864
2561
|
}, "de_VerifyDomainDkimCommand");
|
|
3865
|
-
var de_VerifyDomainDkimCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3866
|
-
const parsedOutput = {
|
|
3867
|
-
...output,
|
|
3868
|
-
body: await parseErrorBody(output.body, context)
|
|
3869
|
-
};
|
|
3870
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3871
|
-
const parsedBody = parsedOutput.body;
|
|
3872
|
-
return throwDefaultError({
|
|
3873
|
-
output,
|
|
3874
|
-
parsedBody: parsedBody.Error,
|
|
3875
|
-
errorCode
|
|
3876
|
-
});
|
|
3877
|
-
}, "de_VerifyDomainDkimCommandError");
|
|
3878
2562
|
var de_VerifyDomainIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3879
2563
|
if (output.statusCode >= 300) {
|
|
3880
|
-
return
|
|
2564
|
+
return de_CommandError(output, context);
|
|
3881
2565
|
}
|
|
3882
2566
|
const data = await parseBody(output.body, context);
|
|
3883
2567
|
let contents = {};
|
|
@@ -3888,22 +2572,9 @@ var de_VerifyDomainIdentityCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3888
2572
|
};
|
|
3889
2573
|
return response;
|
|
3890
2574
|
}, "de_VerifyDomainIdentityCommand");
|
|
3891
|
-
var de_VerifyDomainIdentityCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3892
|
-
const parsedOutput = {
|
|
3893
|
-
...output,
|
|
3894
|
-
body: await parseErrorBody(output.body, context)
|
|
3895
|
-
};
|
|
3896
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3897
|
-
const parsedBody = parsedOutput.body;
|
|
3898
|
-
return throwDefaultError({
|
|
3899
|
-
output,
|
|
3900
|
-
parsedBody: parsedBody.Error,
|
|
3901
|
-
errorCode
|
|
3902
|
-
});
|
|
3903
|
-
}, "de_VerifyDomainIdentityCommandError");
|
|
3904
2575
|
var de_VerifyEmailAddressCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3905
2576
|
if (output.statusCode >= 300) {
|
|
3906
|
-
return
|
|
2577
|
+
return de_CommandError(output, context);
|
|
3907
2578
|
}
|
|
3908
2579
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3909
2580
|
const response = {
|
|
@@ -3911,22 +2582,9 @@ var de_VerifyEmailAddressCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3911
2582
|
};
|
|
3912
2583
|
return response;
|
|
3913
2584
|
}, "de_VerifyEmailAddressCommand");
|
|
3914
|
-
var de_VerifyEmailAddressCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3915
|
-
const parsedOutput = {
|
|
3916
|
-
...output,
|
|
3917
|
-
body: await parseErrorBody(output.body, context)
|
|
3918
|
-
};
|
|
3919
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3920
|
-
const parsedBody = parsedOutput.body;
|
|
3921
|
-
return throwDefaultError({
|
|
3922
|
-
output,
|
|
3923
|
-
parsedBody: parsedBody.Error,
|
|
3924
|
-
errorCode
|
|
3925
|
-
});
|
|
3926
|
-
}, "de_VerifyEmailAddressCommandError");
|
|
3927
2585
|
var de_VerifyEmailIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3928
2586
|
if (output.statusCode >= 300) {
|
|
3929
|
-
return
|
|
2587
|
+
return de_CommandError(output, context);
|
|
3930
2588
|
}
|
|
3931
2589
|
const data = await parseBody(output.body, context);
|
|
3932
2590
|
let contents = {};
|
|
@@ -3937,19 +2595,124 @@ var de_VerifyEmailIdentityCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3937
2595
|
};
|
|
3938
2596
|
return response;
|
|
3939
2597
|
}, "de_VerifyEmailIdentityCommand");
|
|
3940
|
-
var
|
|
2598
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3941
2599
|
const parsedOutput = {
|
|
3942
2600
|
...output,
|
|
3943
2601
|
body: await parseErrorBody(output.body, context)
|
|
3944
2602
|
};
|
|
3945
2603
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
2604
|
+
switch (errorCode) {
|
|
2605
|
+
case "AlreadyExists":
|
|
2606
|
+
case "com.amazonaws.ses#AlreadyExistsException":
|
|
2607
|
+
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
|
2608
|
+
case "LimitExceeded":
|
|
2609
|
+
case "com.amazonaws.ses#LimitExceededException":
|
|
2610
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2611
|
+
case "RuleSetDoesNotExist":
|
|
2612
|
+
case "com.amazonaws.ses#RuleSetDoesNotExistException":
|
|
2613
|
+
throw await de_RuleSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
2614
|
+
case "ConfigurationSetAlreadyExists":
|
|
2615
|
+
case "com.amazonaws.ses#ConfigurationSetAlreadyExistsException":
|
|
2616
|
+
throw await de_ConfigurationSetAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2617
|
+
case "InvalidConfigurationSet":
|
|
2618
|
+
case "com.amazonaws.ses#InvalidConfigurationSetException":
|
|
2619
|
+
throw await de_InvalidConfigurationSetExceptionRes(parsedOutput, context);
|
|
2620
|
+
case "ConfigurationSetDoesNotExist":
|
|
2621
|
+
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
2622
|
+
throw await de_ConfigurationSetDoesNotExistExceptionRes(parsedOutput, context);
|
|
2623
|
+
case "EventDestinationAlreadyExists":
|
|
2624
|
+
case "com.amazonaws.ses#EventDestinationAlreadyExistsException":
|
|
2625
|
+
throw await de_EventDestinationAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2626
|
+
case "InvalidCloudWatchDestination":
|
|
2627
|
+
case "com.amazonaws.ses#InvalidCloudWatchDestinationException":
|
|
2628
|
+
throw await de_InvalidCloudWatchDestinationExceptionRes(parsedOutput, context);
|
|
2629
|
+
case "InvalidFirehoseDestination":
|
|
2630
|
+
case "com.amazonaws.ses#InvalidFirehoseDestinationException":
|
|
2631
|
+
throw await de_InvalidFirehoseDestinationExceptionRes(parsedOutput, context);
|
|
2632
|
+
case "InvalidSNSDestination":
|
|
2633
|
+
case "com.amazonaws.ses#InvalidSNSDestinationException":
|
|
2634
|
+
throw await de_InvalidSNSDestinationExceptionRes(parsedOutput, context);
|
|
2635
|
+
case "InvalidTrackingOptions":
|
|
2636
|
+
case "com.amazonaws.ses#InvalidTrackingOptionsException":
|
|
2637
|
+
throw await de_InvalidTrackingOptionsExceptionRes(parsedOutput, context);
|
|
2638
|
+
case "TrackingOptionsAlreadyExistsException":
|
|
2639
|
+
case "com.amazonaws.ses#TrackingOptionsAlreadyExistsException":
|
|
2640
|
+
throw await de_TrackingOptionsAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2641
|
+
case "CustomVerificationEmailInvalidContent":
|
|
2642
|
+
case "com.amazonaws.ses#CustomVerificationEmailInvalidContentException":
|
|
2643
|
+
throw await de_CustomVerificationEmailInvalidContentExceptionRes(parsedOutput, context);
|
|
2644
|
+
case "CustomVerificationEmailTemplateAlreadyExists":
|
|
2645
|
+
case "com.amazonaws.ses#CustomVerificationEmailTemplateAlreadyExistsException":
|
|
2646
|
+
throw await de_CustomVerificationEmailTemplateAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2647
|
+
case "FromEmailAddressNotVerified":
|
|
2648
|
+
case "com.amazonaws.ses#FromEmailAddressNotVerifiedException":
|
|
2649
|
+
throw await de_FromEmailAddressNotVerifiedExceptionRes(parsedOutput, context);
|
|
2650
|
+
case "InvalidLambdaFunction":
|
|
2651
|
+
case "com.amazonaws.ses#InvalidLambdaFunctionException":
|
|
2652
|
+
throw await de_InvalidLambdaFunctionExceptionRes(parsedOutput, context);
|
|
2653
|
+
case "InvalidS3Configuration":
|
|
2654
|
+
case "com.amazonaws.ses#InvalidS3ConfigurationException":
|
|
2655
|
+
throw await de_InvalidS3ConfigurationExceptionRes(parsedOutput, context);
|
|
2656
|
+
case "InvalidSnsTopic":
|
|
2657
|
+
case "com.amazonaws.ses#InvalidSnsTopicException":
|
|
2658
|
+
throw await de_InvalidSnsTopicExceptionRes(parsedOutput, context);
|
|
2659
|
+
case "RuleDoesNotExist":
|
|
2660
|
+
case "com.amazonaws.ses#RuleDoesNotExistException":
|
|
2661
|
+
throw await de_RuleDoesNotExistExceptionRes(parsedOutput, context);
|
|
2662
|
+
case "InvalidTemplate":
|
|
2663
|
+
case "com.amazonaws.ses#InvalidTemplateException":
|
|
2664
|
+
throw await de_InvalidTemplateExceptionRes(parsedOutput, context);
|
|
2665
|
+
case "EventDestinationDoesNotExist":
|
|
2666
|
+
case "com.amazonaws.ses#EventDestinationDoesNotExistException":
|
|
2667
|
+
throw await de_EventDestinationDoesNotExistExceptionRes(parsedOutput, context);
|
|
2668
|
+
case "TrackingOptionsDoesNotExistException":
|
|
2669
|
+
case "com.amazonaws.ses#TrackingOptionsDoesNotExistException":
|
|
2670
|
+
throw await de_TrackingOptionsDoesNotExistExceptionRes(parsedOutput, context);
|
|
2671
|
+
case "CannotDelete":
|
|
2672
|
+
case "com.amazonaws.ses#CannotDeleteException":
|
|
2673
|
+
throw await de_CannotDeleteExceptionRes(parsedOutput, context);
|
|
2674
|
+
case "CustomVerificationEmailTemplateDoesNotExist":
|
|
2675
|
+
case "com.amazonaws.ses#CustomVerificationEmailTemplateDoesNotExistException":
|
|
2676
|
+
throw await de_CustomVerificationEmailTemplateDoesNotExistExceptionRes(parsedOutput, context);
|
|
2677
|
+
case "TemplateDoesNotExist":
|
|
2678
|
+
case "com.amazonaws.ses#TemplateDoesNotExistException":
|
|
2679
|
+
throw await de_TemplateDoesNotExistExceptionRes(parsedOutput, context);
|
|
2680
|
+
case "InvalidDeliveryOptions":
|
|
2681
|
+
case "com.amazonaws.ses#InvalidDeliveryOptionsException":
|
|
2682
|
+
throw await de_InvalidDeliveryOptionsExceptionRes(parsedOutput, context);
|
|
2683
|
+
case "InvalidPolicy":
|
|
2684
|
+
case "com.amazonaws.ses#InvalidPolicyException":
|
|
2685
|
+
throw await de_InvalidPolicyExceptionRes(parsedOutput, context);
|
|
2686
|
+
case "MessageRejected":
|
|
2687
|
+
case "com.amazonaws.ses#MessageRejected":
|
|
2688
|
+
throw await de_MessageRejectedRes(parsedOutput, context);
|
|
2689
|
+
case "AccountSendingPausedException":
|
|
2690
|
+
case "com.amazonaws.ses#AccountSendingPausedException":
|
|
2691
|
+
throw await de_AccountSendingPausedExceptionRes(parsedOutput, context);
|
|
2692
|
+
case "ConfigurationSetSendingPausedException":
|
|
2693
|
+
case "com.amazonaws.ses#ConfigurationSetSendingPausedException":
|
|
2694
|
+
throw await de_ConfigurationSetSendingPausedExceptionRes(parsedOutput, context);
|
|
2695
|
+
case "MailFromDomainNotVerifiedException":
|
|
2696
|
+
case "com.amazonaws.ses#MailFromDomainNotVerifiedException":
|
|
2697
|
+
throw await de_MailFromDomainNotVerifiedExceptionRes(parsedOutput, context);
|
|
2698
|
+
case "ProductionAccessNotGranted":
|
|
2699
|
+
case "com.amazonaws.ses#ProductionAccessNotGrantedException":
|
|
2700
|
+
throw await de_ProductionAccessNotGrantedExceptionRes(parsedOutput, context);
|
|
2701
|
+
case "InvalidRenderingParameter":
|
|
2702
|
+
case "com.amazonaws.ses#InvalidRenderingParameterException":
|
|
2703
|
+
throw await de_InvalidRenderingParameterExceptionRes(parsedOutput, context);
|
|
2704
|
+
case "MissingRenderingAttribute":
|
|
2705
|
+
case "com.amazonaws.ses#MissingRenderingAttributeException":
|
|
2706
|
+
throw await de_MissingRenderingAttributeExceptionRes(parsedOutput, context);
|
|
2707
|
+
default:
|
|
2708
|
+
const parsedBody = parsedOutput.body;
|
|
2709
|
+
return throwDefaultError({
|
|
2710
|
+
output,
|
|
2711
|
+
parsedBody: parsedBody.Error,
|
|
2712
|
+
errorCode
|
|
2713
|
+
});
|
|
2714
|
+
}
|
|
2715
|
+
}, "de_CommandError");
|
|
3953
2716
|
var de_AccountSendingPausedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3954
2717
|
const body = parsedOutput.body;
|
|
3955
2718
|
const deserialized = de_AccountSendingPausedException(body.Error, context);
|