@aws-sdk/client-elastic-load-balancing-v2 3.504.0 → 3.507.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +256 -1337
- package/dist-es/protocols/Aws_query.js +304 -1385
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1682,7 +1682,7 @@ var se_SetSubnetsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1682
1682
|
}, "se_SetSubnetsCommand");
|
|
1683
1683
|
var de_AddListenerCertificatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1684
1684
|
if (output.statusCode >= 300) {
|
|
1685
|
-
return
|
|
1685
|
+
return de_CommandError(output, context);
|
|
1686
1686
|
}
|
|
1687
1687
|
const data = await parseBody(output.body, context);
|
|
1688
1688
|
let contents = {};
|
|
@@ -1693,34 +1693,9 @@ var de_AddListenerCertificatesCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1693
1693
|
};
|
|
1694
1694
|
return response;
|
|
1695
1695
|
}, "de_AddListenerCertificatesCommand");
|
|
1696
|
-
var de_AddListenerCertificatesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1697
|
-
const parsedOutput = {
|
|
1698
|
-
...output,
|
|
1699
|
-
body: await parseErrorBody(output.body, context)
|
|
1700
|
-
};
|
|
1701
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1702
|
-
switch (errorCode) {
|
|
1703
|
-
case "CertificateNotFound":
|
|
1704
|
-
case "com.amazonaws.elasticloadbalancingv2#CertificateNotFoundException":
|
|
1705
|
-
throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
|
|
1706
|
-
case "ListenerNotFound":
|
|
1707
|
-
case "com.amazonaws.elasticloadbalancingv2#ListenerNotFoundException":
|
|
1708
|
-
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1709
|
-
case "TooManyCertificates":
|
|
1710
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyCertificatesException":
|
|
1711
|
-
throw await de_TooManyCertificatesExceptionRes(parsedOutput, context);
|
|
1712
|
-
default:
|
|
1713
|
-
const parsedBody = parsedOutput.body;
|
|
1714
|
-
return throwDefaultError({
|
|
1715
|
-
output,
|
|
1716
|
-
parsedBody: parsedBody.Error,
|
|
1717
|
-
errorCode
|
|
1718
|
-
});
|
|
1719
|
-
}
|
|
1720
|
-
}, "de_AddListenerCertificatesCommandError");
|
|
1721
1696
|
var de_AddTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1722
1697
|
if (output.statusCode >= 300) {
|
|
1723
|
-
return
|
|
1698
|
+
return de_CommandError(output, context);
|
|
1724
1699
|
}
|
|
1725
1700
|
const data = await parseBody(output.body, context);
|
|
1726
1701
|
let contents = {};
|
|
@@ -1731,46 +1706,9 @@ var de_AddTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1731
1706
|
};
|
|
1732
1707
|
return response;
|
|
1733
1708
|
}, "de_AddTagsCommand");
|
|
1734
|
-
var de_AddTagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1735
|
-
const parsedOutput = {
|
|
1736
|
-
...output,
|
|
1737
|
-
body: await parseErrorBody(output.body, context)
|
|
1738
|
-
};
|
|
1739
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1740
|
-
switch (errorCode) {
|
|
1741
|
-
case "DuplicateTagKeys":
|
|
1742
|
-
case "com.amazonaws.elasticloadbalancingv2#DuplicateTagKeysException":
|
|
1743
|
-
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
1744
|
-
case "ListenerNotFound":
|
|
1745
|
-
case "com.amazonaws.elasticloadbalancingv2#ListenerNotFoundException":
|
|
1746
|
-
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1747
|
-
case "LoadBalancerNotFound":
|
|
1748
|
-
case "com.amazonaws.elasticloadbalancingv2#LoadBalancerNotFoundException":
|
|
1749
|
-
throw await de_LoadBalancerNotFoundExceptionRes(parsedOutput, context);
|
|
1750
|
-
case "RuleNotFound":
|
|
1751
|
-
case "com.amazonaws.elasticloadbalancingv2#RuleNotFoundException":
|
|
1752
|
-
throw await de_RuleNotFoundExceptionRes(parsedOutput, context);
|
|
1753
|
-
case "TargetGroupNotFound":
|
|
1754
|
-
case "com.amazonaws.elasticloadbalancingv2#TargetGroupNotFoundException":
|
|
1755
|
-
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
1756
|
-
case "TooManyTags":
|
|
1757
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyTagsException":
|
|
1758
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1759
|
-
case "TrustStoreNotFound":
|
|
1760
|
-
case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
|
|
1761
|
-
throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
|
|
1762
|
-
default:
|
|
1763
|
-
const parsedBody = parsedOutput.body;
|
|
1764
|
-
return throwDefaultError({
|
|
1765
|
-
output,
|
|
1766
|
-
parsedBody: parsedBody.Error,
|
|
1767
|
-
errorCode
|
|
1768
|
-
});
|
|
1769
|
-
}
|
|
1770
|
-
}, "de_AddTagsCommandError");
|
|
1771
1709
|
var de_AddTrustStoreRevocationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1772
1710
|
if (output.statusCode >= 300) {
|
|
1773
|
-
return
|
|
1711
|
+
return de_CommandError(output, context);
|
|
1774
1712
|
}
|
|
1775
1713
|
const data = await parseBody(output.body, context);
|
|
1776
1714
|
let contents = {};
|
|
@@ -1781,37 +1719,9 @@ var de_AddTrustStoreRevocationsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1781
1719
|
};
|
|
1782
1720
|
return response;
|
|
1783
1721
|
}, "de_AddTrustStoreRevocationsCommand");
|
|
1784
|
-
var de_AddTrustStoreRevocationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1785
|
-
const parsedOutput = {
|
|
1786
|
-
...output,
|
|
1787
|
-
body: await parseErrorBody(output.body, context)
|
|
1788
|
-
};
|
|
1789
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1790
|
-
switch (errorCode) {
|
|
1791
|
-
case "InvalidRevocationContent":
|
|
1792
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidRevocationContentException":
|
|
1793
|
-
throw await de_InvalidRevocationContentExceptionRes(parsedOutput, context);
|
|
1794
|
-
case "RevocationContentNotFound":
|
|
1795
|
-
case "com.amazonaws.elasticloadbalancingv2#RevocationContentNotFoundException":
|
|
1796
|
-
throw await de_RevocationContentNotFoundExceptionRes(parsedOutput, context);
|
|
1797
|
-
case "TooManyTrustStoreRevocationEntries":
|
|
1798
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyTrustStoreRevocationEntriesException":
|
|
1799
|
-
throw await de_TooManyTrustStoreRevocationEntriesExceptionRes(parsedOutput, context);
|
|
1800
|
-
case "TrustStoreNotFound":
|
|
1801
|
-
case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
|
|
1802
|
-
throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
|
|
1803
|
-
default:
|
|
1804
|
-
const parsedBody = parsedOutput.body;
|
|
1805
|
-
return throwDefaultError({
|
|
1806
|
-
output,
|
|
1807
|
-
parsedBody: parsedBody.Error,
|
|
1808
|
-
errorCode
|
|
1809
|
-
});
|
|
1810
|
-
}
|
|
1811
|
-
}, "de_AddTrustStoreRevocationsCommandError");
|
|
1812
1722
|
var de_CreateListenerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1813
1723
|
if (output.statusCode >= 300) {
|
|
1814
|
-
return
|
|
1724
|
+
return de_CommandError(output, context);
|
|
1815
1725
|
}
|
|
1816
1726
|
const data = await parseBody(output.body, context);
|
|
1817
1727
|
let contents = {};
|
|
@@ -1822,85 +1732,9 @@ var de_CreateListenerCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1822
1732
|
};
|
|
1823
1733
|
return response;
|
|
1824
1734
|
}, "de_CreateListenerCommand");
|
|
1825
|
-
var de_CreateListenerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1826
|
-
const parsedOutput = {
|
|
1827
|
-
...output,
|
|
1828
|
-
body: await parseErrorBody(output.body, context)
|
|
1829
|
-
};
|
|
1830
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1831
|
-
switch (errorCode) {
|
|
1832
|
-
case "ALPNPolicyNotFound":
|
|
1833
|
-
case "com.amazonaws.elasticloadbalancingv2#ALPNPolicyNotSupportedException":
|
|
1834
|
-
throw await de_ALPNPolicyNotSupportedExceptionRes(parsedOutput, context);
|
|
1835
|
-
case "CertificateNotFound":
|
|
1836
|
-
case "com.amazonaws.elasticloadbalancingv2#CertificateNotFoundException":
|
|
1837
|
-
throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
|
|
1838
|
-
case "DuplicateListener":
|
|
1839
|
-
case "com.amazonaws.elasticloadbalancingv2#DuplicateListenerException":
|
|
1840
|
-
throw await de_DuplicateListenerExceptionRes(parsedOutput, context);
|
|
1841
|
-
case "IncompatibleProtocols":
|
|
1842
|
-
case "com.amazonaws.elasticloadbalancingv2#IncompatibleProtocolsException":
|
|
1843
|
-
throw await de_IncompatibleProtocolsExceptionRes(parsedOutput, context);
|
|
1844
|
-
case "InvalidConfigurationRequest":
|
|
1845
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidConfigurationRequestException":
|
|
1846
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1847
|
-
case "InvalidLoadBalancerAction":
|
|
1848
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidLoadBalancerActionException":
|
|
1849
|
-
throw await de_InvalidLoadBalancerActionExceptionRes(parsedOutput, context);
|
|
1850
|
-
case "LoadBalancerNotFound":
|
|
1851
|
-
case "com.amazonaws.elasticloadbalancingv2#LoadBalancerNotFoundException":
|
|
1852
|
-
throw await de_LoadBalancerNotFoundExceptionRes(parsedOutput, context);
|
|
1853
|
-
case "SSLPolicyNotFound":
|
|
1854
|
-
case "com.amazonaws.elasticloadbalancingv2#SSLPolicyNotFoundException":
|
|
1855
|
-
throw await de_SSLPolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1856
|
-
case "TargetGroupAssociationLimit":
|
|
1857
|
-
case "com.amazonaws.elasticloadbalancingv2#TargetGroupAssociationLimitException":
|
|
1858
|
-
throw await de_TargetGroupAssociationLimitExceptionRes(parsedOutput, context);
|
|
1859
|
-
case "TargetGroupNotFound":
|
|
1860
|
-
case "com.amazonaws.elasticloadbalancingv2#TargetGroupNotFoundException":
|
|
1861
|
-
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
1862
|
-
case "TooManyActions":
|
|
1863
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyActionsException":
|
|
1864
|
-
throw await de_TooManyActionsExceptionRes(parsedOutput, context);
|
|
1865
|
-
case "TooManyCertificates":
|
|
1866
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyCertificatesException":
|
|
1867
|
-
throw await de_TooManyCertificatesExceptionRes(parsedOutput, context);
|
|
1868
|
-
case "TooManyListeners":
|
|
1869
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyListenersException":
|
|
1870
|
-
throw await de_TooManyListenersExceptionRes(parsedOutput, context);
|
|
1871
|
-
case "TooManyRegistrationsForTargetId":
|
|
1872
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyRegistrationsForTargetIdException":
|
|
1873
|
-
throw await de_TooManyRegistrationsForTargetIdExceptionRes(parsedOutput, context);
|
|
1874
|
-
case "TooManyTags":
|
|
1875
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyTagsException":
|
|
1876
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1877
|
-
case "TooManyTargets":
|
|
1878
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyTargetsException":
|
|
1879
|
-
throw await de_TooManyTargetsExceptionRes(parsedOutput, context);
|
|
1880
|
-
case "TooManyUniqueTargetGroupsPerLoadBalancer":
|
|
1881
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyUniqueTargetGroupsPerLoadBalancerException":
|
|
1882
|
-
throw await de_TooManyUniqueTargetGroupsPerLoadBalancerExceptionRes(parsedOutput, context);
|
|
1883
|
-
case "TrustStoreNotFound":
|
|
1884
|
-
case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
|
|
1885
|
-
throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
|
|
1886
|
-
case "TrustStoreNotReady":
|
|
1887
|
-
case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotReadyException":
|
|
1888
|
-
throw await de_TrustStoreNotReadyExceptionRes(parsedOutput, context);
|
|
1889
|
-
case "UnsupportedProtocol":
|
|
1890
|
-
case "com.amazonaws.elasticloadbalancingv2#UnsupportedProtocolException":
|
|
1891
|
-
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
1892
|
-
default:
|
|
1893
|
-
const parsedBody = parsedOutput.body;
|
|
1894
|
-
return throwDefaultError({
|
|
1895
|
-
output,
|
|
1896
|
-
parsedBody: parsedBody.Error,
|
|
1897
|
-
errorCode
|
|
1898
|
-
});
|
|
1899
|
-
}
|
|
1900
|
-
}, "de_CreateListenerCommandError");
|
|
1901
1735
|
var de_CreateLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1902
1736
|
if (output.statusCode >= 300) {
|
|
1903
|
-
return
|
|
1737
|
+
return de_CommandError(output, context);
|
|
1904
1738
|
}
|
|
1905
1739
|
const data = await parseBody(output.body, context);
|
|
1906
1740
|
let contents = {};
|
|
@@ -1911,64 +1745,9 @@ var de_CreateLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1911
1745
|
};
|
|
1912
1746
|
return response;
|
|
1913
1747
|
}, "de_CreateLoadBalancerCommand");
|
|
1914
|
-
var de_CreateLoadBalancerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1915
|
-
const parsedOutput = {
|
|
1916
|
-
...output,
|
|
1917
|
-
body: await parseErrorBody(output.body, context)
|
|
1918
|
-
};
|
|
1919
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1920
|
-
switch (errorCode) {
|
|
1921
|
-
case "AllocationIdNotFound":
|
|
1922
|
-
case "com.amazonaws.elasticloadbalancingv2#AllocationIdNotFoundException":
|
|
1923
|
-
throw await de_AllocationIdNotFoundExceptionRes(parsedOutput, context);
|
|
1924
|
-
case "AvailabilityZoneNotSupported":
|
|
1925
|
-
case "com.amazonaws.elasticloadbalancingv2#AvailabilityZoneNotSupportedException":
|
|
1926
|
-
throw await de_AvailabilityZoneNotSupportedExceptionRes(parsedOutput, context);
|
|
1927
|
-
case "DuplicateLoadBalancerName":
|
|
1928
|
-
case "com.amazonaws.elasticloadbalancingv2#DuplicateLoadBalancerNameException":
|
|
1929
|
-
throw await de_DuplicateLoadBalancerNameExceptionRes(parsedOutput, context);
|
|
1930
|
-
case "DuplicateTagKeys":
|
|
1931
|
-
case "com.amazonaws.elasticloadbalancingv2#DuplicateTagKeysException":
|
|
1932
|
-
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
1933
|
-
case "InvalidConfigurationRequest":
|
|
1934
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidConfigurationRequestException":
|
|
1935
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1936
|
-
case "InvalidScheme":
|
|
1937
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidSchemeException":
|
|
1938
|
-
throw await de_InvalidSchemeExceptionRes(parsedOutput, context);
|
|
1939
|
-
case "InvalidSecurityGroup":
|
|
1940
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidSecurityGroupException":
|
|
1941
|
-
throw await de_InvalidSecurityGroupExceptionRes(parsedOutput, context);
|
|
1942
|
-
case "InvalidSubnet":
|
|
1943
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidSubnetException":
|
|
1944
|
-
throw await de_InvalidSubnetExceptionRes(parsedOutput, context);
|
|
1945
|
-
case "OperationNotPermitted":
|
|
1946
|
-
case "com.amazonaws.elasticloadbalancingv2#OperationNotPermittedException":
|
|
1947
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1948
|
-
case "ResourceInUse":
|
|
1949
|
-
case "com.amazonaws.elasticloadbalancingv2#ResourceInUseException":
|
|
1950
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1951
|
-
case "SubnetNotFound":
|
|
1952
|
-
case "com.amazonaws.elasticloadbalancingv2#SubnetNotFoundException":
|
|
1953
|
-
throw await de_SubnetNotFoundExceptionRes(parsedOutput, context);
|
|
1954
|
-
case "TooManyLoadBalancers":
|
|
1955
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyLoadBalancersException":
|
|
1956
|
-
throw await de_TooManyLoadBalancersExceptionRes(parsedOutput, context);
|
|
1957
|
-
case "TooManyTags":
|
|
1958
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyTagsException":
|
|
1959
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1960
|
-
default:
|
|
1961
|
-
const parsedBody = parsedOutput.body;
|
|
1962
|
-
return throwDefaultError({
|
|
1963
|
-
output,
|
|
1964
|
-
parsedBody: parsedBody.Error,
|
|
1965
|
-
errorCode
|
|
1966
|
-
});
|
|
1967
|
-
}
|
|
1968
|
-
}, "de_CreateLoadBalancerCommandError");
|
|
1969
1748
|
var de_CreateRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1970
1749
|
if (output.statusCode >= 300) {
|
|
1971
|
-
return
|
|
1750
|
+
return de_CommandError(output, context);
|
|
1972
1751
|
}
|
|
1973
1752
|
const data = await parseBody(output.body, context);
|
|
1974
1753
|
let contents = {};
|
|
@@ -1979,70 +1758,9 @@ var de_CreateRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1979
1758
|
};
|
|
1980
1759
|
return response;
|
|
1981
1760
|
}, "de_CreateRuleCommand");
|
|
1982
|
-
var de_CreateRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1983
|
-
const parsedOutput = {
|
|
1984
|
-
...output,
|
|
1985
|
-
body: await parseErrorBody(output.body, context)
|
|
1986
|
-
};
|
|
1987
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1988
|
-
switch (errorCode) {
|
|
1989
|
-
case "IncompatibleProtocols":
|
|
1990
|
-
case "com.amazonaws.elasticloadbalancingv2#IncompatibleProtocolsException":
|
|
1991
|
-
throw await de_IncompatibleProtocolsExceptionRes(parsedOutput, context);
|
|
1992
|
-
case "InvalidConfigurationRequest":
|
|
1993
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidConfigurationRequestException":
|
|
1994
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1995
|
-
case "InvalidLoadBalancerAction":
|
|
1996
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidLoadBalancerActionException":
|
|
1997
|
-
throw await de_InvalidLoadBalancerActionExceptionRes(parsedOutput, context);
|
|
1998
|
-
case "ListenerNotFound":
|
|
1999
|
-
case "com.amazonaws.elasticloadbalancingv2#ListenerNotFoundException":
|
|
2000
|
-
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
2001
|
-
case "PriorityInUse":
|
|
2002
|
-
case "com.amazonaws.elasticloadbalancingv2#PriorityInUseException":
|
|
2003
|
-
throw await de_PriorityInUseExceptionRes(parsedOutput, context);
|
|
2004
|
-
case "TargetGroupAssociationLimit":
|
|
2005
|
-
case "com.amazonaws.elasticloadbalancingv2#TargetGroupAssociationLimitException":
|
|
2006
|
-
throw await de_TargetGroupAssociationLimitExceptionRes(parsedOutput, context);
|
|
2007
|
-
case "TargetGroupNotFound":
|
|
2008
|
-
case "com.amazonaws.elasticloadbalancingv2#TargetGroupNotFoundException":
|
|
2009
|
-
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
2010
|
-
case "TooManyActions":
|
|
2011
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyActionsException":
|
|
2012
|
-
throw await de_TooManyActionsExceptionRes(parsedOutput, context);
|
|
2013
|
-
case "TooManyRegistrationsForTargetId":
|
|
2014
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyRegistrationsForTargetIdException":
|
|
2015
|
-
throw await de_TooManyRegistrationsForTargetIdExceptionRes(parsedOutput, context);
|
|
2016
|
-
case "TooManyRules":
|
|
2017
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyRulesException":
|
|
2018
|
-
throw await de_TooManyRulesExceptionRes(parsedOutput, context);
|
|
2019
|
-
case "TooManyTags":
|
|
2020
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyTagsException":
|
|
2021
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
2022
|
-
case "TooManyTargetGroups":
|
|
2023
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyTargetGroupsException":
|
|
2024
|
-
throw await de_TooManyTargetGroupsExceptionRes(parsedOutput, context);
|
|
2025
|
-
case "TooManyTargets":
|
|
2026
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyTargetsException":
|
|
2027
|
-
throw await de_TooManyTargetsExceptionRes(parsedOutput, context);
|
|
2028
|
-
case "TooManyUniqueTargetGroupsPerLoadBalancer":
|
|
2029
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyUniqueTargetGroupsPerLoadBalancerException":
|
|
2030
|
-
throw await de_TooManyUniqueTargetGroupsPerLoadBalancerExceptionRes(parsedOutput, context);
|
|
2031
|
-
case "UnsupportedProtocol":
|
|
2032
|
-
case "com.amazonaws.elasticloadbalancingv2#UnsupportedProtocolException":
|
|
2033
|
-
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
2034
|
-
default:
|
|
2035
|
-
const parsedBody = parsedOutput.body;
|
|
2036
|
-
return throwDefaultError({
|
|
2037
|
-
output,
|
|
2038
|
-
parsedBody: parsedBody.Error,
|
|
2039
|
-
errorCode
|
|
2040
|
-
});
|
|
2041
|
-
}
|
|
2042
|
-
}, "de_CreateRuleCommandError");
|
|
2043
1761
|
var de_CreateTargetGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2044
1762
|
if (output.statusCode >= 300) {
|
|
2045
|
-
return
|
|
1763
|
+
return de_CommandError(output, context);
|
|
2046
1764
|
}
|
|
2047
1765
|
const data = await parseBody(output.body, context);
|
|
2048
1766
|
let contents = {};
|
|
@@ -2053,37 +1771,9 @@ var de_CreateTargetGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2053
1771
|
};
|
|
2054
1772
|
return response;
|
|
2055
1773
|
}, "de_CreateTargetGroupCommand");
|
|
2056
|
-
var de_CreateTargetGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2057
|
-
const parsedOutput = {
|
|
2058
|
-
...output,
|
|
2059
|
-
body: await parseErrorBody(output.body, context)
|
|
2060
|
-
};
|
|
2061
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2062
|
-
switch (errorCode) {
|
|
2063
|
-
case "DuplicateTargetGroupName":
|
|
2064
|
-
case "com.amazonaws.elasticloadbalancingv2#DuplicateTargetGroupNameException":
|
|
2065
|
-
throw await de_DuplicateTargetGroupNameExceptionRes(parsedOutput, context);
|
|
2066
|
-
case "InvalidConfigurationRequest":
|
|
2067
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidConfigurationRequestException":
|
|
2068
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
2069
|
-
case "TooManyTags":
|
|
2070
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyTagsException":
|
|
2071
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
2072
|
-
case "TooManyTargetGroups":
|
|
2073
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyTargetGroupsException":
|
|
2074
|
-
throw await de_TooManyTargetGroupsExceptionRes(parsedOutput, context);
|
|
2075
|
-
default:
|
|
2076
|
-
const parsedBody = parsedOutput.body;
|
|
2077
|
-
return throwDefaultError({
|
|
2078
|
-
output,
|
|
2079
|
-
parsedBody: parsedBody.Error,
|
|
2080
|
-
errorCode
|
|
2081
|
-
});
|
|
2082
|
-
}
|
|
2083
|
-
}, "de_CreateTargetGroupCommandError");
|
|
2084
1774
|
var de_CreateTrustStoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2085
1775
|
if (output.statusCode >= 300) {
|
|
2086
|
-
return
|
|
1776
|
+
return de_CommandError(output, context);
|
|
2087
1777
|
}
|
|
2088
1778
|
const data = await parseBody(output.body, context);
|
|
2089
1779
|
let contents = {};
|
|
@@ -2094,116 +1784,35 @@ var de_CreateTrustStoreCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2094
1784
|
};
|
|
2095
1785
|
return response;
|
|
2096
1786
|
}, "de_CreateTrustStoreCommand");
|
|
2097
|
-
var de_CreateTrustStoreCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2098
|
-
const parsedOutput = {
|
|
2099
|
-
...output,
|
|
2100
|
-
body: await parseErrorBody(output.body, context)
|
|
2101
|
-
};
|
|
2102
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2103
|
-
switch (errorCode) {
|
|
2104
|
-
case "CaCertificatesBundleNotFound":
|
|
2105
|
-
case "com.amazonaws.elasticloadbalancingv2#CaCertificatesBundleNotFoundException":
|
|
2106
|
-
throw await de_CaCertificatesBundleNotFoundExceptionRes(parsedOutput, context);
|
|
2107
|
-
case "DuplicateTagKeys":
|
|
2108
|
-
case "com.amazonaws.elasticloadbalancingv2#DuplicateTagKeysException":
|
|
2109
|
-
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
2110
|
-
case "DuplicateTrustStoreName":
|
|
2111
|
-
case "com.amazonaws.elasticloadbalancingv2#DuplicateTrustStoreNameException":
|
|
2112
|
-
throw await de_DuplicateTrustStoreNameExceptionRes(parsedOutput, context);
|
|
2113
|
-
case "InvalidCaCertificatesBundle":
|
|
2114
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidCaCertificatesBundleException":
|
|
2115
|
-
throw await de_InvalidCaCertificatesBundleExceptionRes(parsedOutput, context);
|
|
2116
|
-
case "TooManyTags":
|
|
2117
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyTagsException":
|
|
2118
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
2119
|
-
case "TooManyTrustStores":
|
|
2120
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyTrustStoresException":
|
|
2121
|
-
throw await de_TooManyTrustStoresExceptionRes(parsedOutput, context);
|
|
2122
|
-
default:
|
|
2123
|
-
const parsedBody = parsedOutput.body;
|
|
2124
|
-
return throwDefaultError({
|
|
2125
|
-
output,
|
|
2126
|
-
parsedBody: parsedBody.Error,
|
|
2127
|
-
errorCode
|
|
2128
|
-
});
|
|
2129
|
-
}
|
|
2130
|
-
}, "de_CreateTrustStoreCommandError");
|
|
2131
1787
|
var de_DeleteListenerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2132
1788
|
if (output.statusCode >= 300) {
|
|
2133
|
-
return
|
|
1789
|
+
return de_CommandError(output, context);
|
|
2134
1790
|
}
|
|
2135
1791
|
const data = await parseBody(output.body, context);
|
|
2136
1792
|
let contents = {};
|
|
2137
1793
|
contents = de_DeleteListenerOutput(data.DeleteListenerResult, context);
|
|
2138
1794
|
const response = {
|
|
2139
1795
|
$metadata: deserializeMetadata(output),
|
|
2140
|
-
...contents
|
|
2141
|
-
};
|
|
2142
|
-
return response;
|
|
2143
|
-
}, "de_DeleteListenerCommand");
|
|
2144
|
-
var
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
body: await parseErrorBody(output.body, context)
|
|
2148
|
-
};
|
|
2149
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2150
|
-
switch (errorCode) {
|
|
2151
|
-
case "ListenerNotFound":
|
|
2152
|
-
case "com.amazonaws.elasticloadbalancingv2#ListenerNotFoundException":
|
|
2153
|
-
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
2154
|
-
case "ResourceInUse":
|
|
2155
|
-
case "com.amazonaws.elasticloadbalancingv2#ResourceInUseException":
|
|
2156
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2157
|
-
default:
|
|
2158
|
-
const parsedBody = parsedOutput.body;
|
|
2159
|
-
return throwDefaultError({
|
|
2160
|
-
output,
|
|
2161
|
-
parsedBody: parsedBody.Error,
|
|
2162
|
-
errorCode
|
|
2163
|
-
});
|
|
2164
|
-
}
|
|
2165
|
-
}, "de_DeleteListenerCommandError");
|
|
2166
|
-
var de_DeleteLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2167
|
-
if (output.statusCode >= 300) {
|
|
2168
|
-
return de_DeleteLoadBalancerCommandError(output, context);
|
|
2169
|
-
}
|
|
2170
|
-
const data = await parseBody(output.body, context);
|
|
2171
|
-
let contents = {};
|
|
2172
|
-
contents = de_DeleteLoadBalancerOutput(data.DeleteLoadBalancerResult, context);
|
|
2173
|
-
const response = {
|
|
2174
|
-
$metadata: deserializeMetadata(output),
|
|
2175
|
-
...contents
|
|
2176
|
-
};
|
|
2177
|
-
return response;
|
|
2178
|
-
}, "de_DeleteLoadBalancerCommand");
|
|
2179
|
-
var de_DeleteLoadBalancerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2180
|
-
const parsedOutput = {
|
|
2181
|
-
...output,
|
|
2182
|
-
body: await parseErrorBody(output.body, context)
|
|
2183
|
-
};
|
|
2184
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2185
|
-
switch (errorCode) {
|
|
2186
|
-
case "LoadBalancerNotFound":
|
|
2187
|
-
case "com.amazonaws.elasticloadbalancingv2#LoadBalancerNotFoundException":
|
|
2188
|
-
throw await de_LoadBalancerNotFoundExceptionRes(parsedOutput, context);
|
|
2189
|
-
case "OperationNotPermitted":
|
|
2190
|
-
case "com.amazonaws.elasticloadbalancingv2#OperationNotPermittedException":
|
|
2191
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2192
|
-
case "ResourceInUse":
|
|
2193
|
-
case "com.amazonaws.elasticloadbalancingv2#ResourceInUseException":
|
|
2194
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2195
|
-
default:
|
|
2196
|
-
const parsedBody = parsedOutput.body;
|
|
2197
|
-
return throwDefaultError({
|
|
2198
|
-
output,
|
|
2199
|
-
parsedBody: parsedBody.Error,
|
|
2200
|
-
errorCode
|
|
2201
|
-
});
|
|
1796
|
+
...contents
|
|
1797
|
+
};
|
|
1798
|
+
return response;
|
|
1799
|
+
}, "de_DeleteListenerCommand");
|
|
1800
|
+
var de_DeleteLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1801
|
+
if (output.statusCode >= 300) {
|
|
1802
|
+
return de_CommandError(output, context);
|
|
2202
1803
|
}
|
|
2203
|
-
|
|
1804
|
+
const data = await parseBody(output.body, context);
|
|
1805
|
+
let contents = {};
|
|
1806
|
+
contents = de_DeleteLoadBalancerOutput(data.DeleteLoadBalancerResult, context);
|
|
1807
|
+
const response = {
|
|
1808
|
+
$metadata: deserializeMetadata(output),
|
|
1809
|
+
...contents
|
|
1810
|
+
};
|
|
1811
|
+
return response;
|
|
1812
|
+
}, "de_DeleteLoadBalancerCommand");
|
|
2204
1813
|
var de_DeleteRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2205
1814
|
if (output.statusCode >= 300) {
|
|
2206
|
-
return
|
|
1815
|
+
return de_CommandError(output, context);
|
|
2207
1816
|
}
|
|
2208
1817
|
const data = await parseBody(output.body, context);
|
|
2209
1818
|
let contents = {};
|
|
@@ -2214,31 +1823,9 @@ var de_DeleteRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2214
1823
|
};
|
|
2215
1824
|
return response;
|
|
2216
1825
|
}, "de_DeleteRuleCommand");
|
|
2217
|
-
var de_DeleteRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2218
|
-
const parsedOutput = {
|
|
2219
|
-
...output,
|
|
2220
|
-
body: await parseErrorBody(output.body, context)
|
|
2221
|
-
};
|
|
2222
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2223
|
-
switch (errorCode) {
|
|
2224
|
-
case "OperationNotPermitted":
|
|
2225
|
-
case "com.amazonaws.elasticloadbalancingv2#OperationNotPermittedException":
|
|
2226
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2227
|
-
case "RuleNotFound":
|
|
2228
|
-
case "com.amazonaws.elasticloadbalancingv2#RuleNotFoundException":
|
|
2229
|
-
throw await de_RuleNotFoundExceptionRes(parsedOutput, context);
|
|
2230
|
-
default:
|
|
2231
|
-
const parsedBody = parsedOutput.body;
|
|
2232
|
-
return throwDefaultError({
|
|
2233
|
-
output,
|
|
2234
|
-
parsedBody: parsedBody.Error,
|
|
2235
|
-
errorCode
|
|
2236
|
-
});
|
|
2237
|
-
}
|
|
2238
|
-
}, "de_DeleteRuleCommandError");
|
|
2239
1826
|
var de_DeleteTargetGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2240
1827
|
if (output.statusCode >= 300) {
|
|
2241
|
-
return
|
|
1828
|
+
return de_CommandError(output, context);
|
|
2242
1829
|
}
|
|
2243
1830
|
const data = await parseBody(output.body, context);
|
|
2244
1831
|
let contents = {};
|
|
@@ -2249,28 +1836,9 @@ var de_DeleteTargetGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2249
1836
|
};
|
|
2250
1837
|
return response;
|
|
2251
1838
|
}, "de_DeleteTargetGroupCommand");
|
|
2252
|
-
var de_DeleteTargetGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2253
|
-
const parsedOutput = {
|
|
2254
|
-
...output,
|
|
2255
|
-
body: await parseErrorBody(output.body, context)
|
|
2256
|
-
};
|
|
2257
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2258
|
-
switch (errorCode) {
|
|
2259
|
-
case "ResourceInUse":
|
|
2260
|
-
case "com.amazonaws.elasticloadbalancingv2#ResourceInUseException":
|
|
2261
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2262
|
-
default:
|
|
2263
|
-
const parsedBody = parsedOutput.body;
|
|
2264
|
-
return throwDefaultError({
|
|
2265
|
-
output,
|
|
2266
|
-
parsedBody: parsedBody.Error,
|
|
2267
|
-
errorCode
|
|
2268
|
-
});
|
|
2269
|
-
}
|
|
2270
|
-
}, "de_DeleteTargetGroupCommandError");
|
|
2271
1839
|
var de_DeleteTrustStoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2272
1840
|
if (output.statusCode >= 300) {
|
|
2273
|
-
return
|
|
1841
|
+
return de_CommandError(output, context);
|
|
2274
1842
|
}
|
|
2275
1843
|
const data = await parseBody(output.body, context);
|
|
2276
1844
|
let contents = {};
|
|
@@ -2281,31 +1849,9 @@ var de_DeleteTrustStoreCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2281
1849
|
};
|
|
2282
1850
|
return response;
|
|
2283
1851
|
}, "de_DeleteTrustStoreCommand");
|
|
2284
|
-
var de_DeleteTrustStoreCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2285
|
-
const parsedOutput = {
|
|
2286
|
-
...output,
|
|
2287
|
-
body: await parseErrorBody(output.body, context)
|
|
2288
|
-
};
|
|
2289
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2290
|
-
switch (errorCode) {
|
|
2291
|
-
case "TrustStoreInUse":
|
|
2292
|
-
case "com.amazonaws.elasticloadbalancingv2#TrustStoreInUseException":
|
|
2293
|
-
throw await de_TrustStoreInUseExceptionRes(parsedOutput, context);
|
|
2294
|
-
case "TrustStoreNotFound":
|
|
2295
|
-
case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
|
|
2296
|
-
throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
|
|
2297
|
-
default:
|
|
2298
|
-
const parsedBody = parsedOutput.body;
|
|
2299
|
-
return throwDefaultError({
|
|
2300
|
-
output,
|
|
2301
|
-
parsedBody: parsedBody.Error,
|
|
2302
|
-
errorCode
|
|
2303
|
-
});
|
|
2304
|
-
}
|
|
2305
|
-
}, "de_DeleteTrustStoreCommandError");
|
|
2306
1852
|
var de_DeregisterTargetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2307
1853
|
if (output.statusCode >= 300) {
|
|
2308
|
-
return
|
|
1854
|
+
return de_CommandError(output, context);
|
|
2309
1855
|
}
|
|
2310
1856
|
const data = await parseBody(output.body, context);
|
|
2311
1857
|
let contents = {};
|
|
@@ -2316,31 +1862,9 @@ var de_DeregisterTargetsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2316
1862
|
};
|
|
2317
1863
|
return response;
|
|
2318
1864
|
}, "de_DeregisterTargetsCommand");
|
|
2319
|
-
var de_DeregisterTargetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2320
|
-
const parsedOutput = {
|
|
2321
|
-
...output,
|
|
2322
|
-
body: await parseErrorBody(output.body, context)
|
|
2323
|
-
};
|
|
2324
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2325
|
-
switch (errorCode) {
|
|
2326
|
-
case "InvalidTarget":
|
|
2327
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidTargetException":
|
|
2328
|
-
throw await de_InvalidTargetExceptionRes(parsedOutput, context);
|
|
2329
|
-
case "TargetGroupNotFound":
|
|
2330
|
-
case "com.amazonaws.elasticloadbalancingv2#TargetGroupNotFoundException":
|
|
2331
|
-
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
2332
|
-
default:
|
|
2333
|
-
const parsedBody = parsedOutput.body;
|
|
2334
|
-
return throwDefaultError({
|
|
2335
|
-
output,
|
|
2336
|
-
parsedBody: parsedBody.Error,
|
|
2337
|
-
errorCode
|
|
2338
|
-
});
|
|
2339
|
-
}
|
|
2340
|
-
}, "de_DeregisterTargetsCommandError");
|
|
2341
1865
|
var de_DescribeAccountLimitsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2342
1866
|
if (output.statusCode >= 300) {
|
|
2343
|
-
return
|
|
1867
|
+
return de_CommandError(output, context);
|
|
2344
1868
|
}
|
|
2345
1869
|
const data = await parseBody(output.body, context);
|
|
2346
1870
|
let contents = {};
|
|
@@ -2351,22 +1875,9 @@ var de_DescribeAccountLimitsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2351
1875
|
};
|
|
2352
1876
|
return response;
|
|
2353
1877
|
}, "de_DescribeAccountLimitsCommand");
|
|
2354
|
-
var de_DescribeAccountLimitsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2355
|
-
const parsedOutput = {
|
|
2356
|
-
...output,
|
|
2357
|
-
body: await parseErrorBody(output.body, context)
|
|
2358
|
-
};
|
|
2359
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2360
|
-
const parsedBody = parsedOutput.body;
|
|
2361
|
-
return throwDefaultError({
|
|
2362
|
-
output,
|
|
2363
|
-
parsedBody: parsedBody.Error,
|
|
2364
|
-
errorCode
|
|
2365
|
-
});
|
|
2366
|
-
}, "de_DescribeAccountLimitsCommandError");
|
|
2367
1878
|
var de_DescribeListenerCertificatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2368
1879
|
if (output.statusCode >= 300) {
|
|
2369
|
-
return
|
|
1880
|
+
return de_CommandError(output, context);
|
|
2370
1881
|
}
|
|
2371
1882
|
const data = await parseBody(output.body, context);
|
|
2372
1883
|
let contents = {};
|
|
@@ -2377,28 +1888,9 @@ var de_DescribeListenerCertificatesCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2377
1888
|
};
|
|
2378
1889
|
return response;
|
|
2379
1890
|
}, "de_DescribeListenerCertificatesCommand");
|
|
2380
|
-
var de_DescribeListenerCertificatesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2381
|
-
const parsedOutput = {
|
|
2382
|
-
...output,
|
|
2383
|
-
body: await parseErrorBody(output.body, context)
|
|
2384
|
-
};
|
|
2385
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2386
|
-
switch (errorCode) {
|
|
2387
|
-
case "ListenerNotFound":
|
|
2388
|
-
case "com.amazonaws.elasticloadbalancingv2#ListenerNotFoundException":
|
|
2389
|
-
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
2390
|
-
default:
|
|
2391
|
-
const parsedBody = parsedOutput.body;
|
|
2392
|
-
return throwDefaultError({
|
|
2393
|
-
output,
|
|
2394
|
-
parsedBody: parsedBody.Error,
|
|
2395
|
-
errorCode
|
|
2396
|
-
});
|
|
2397
|
-
}
|
|
2398
|
-
}, "de_DescribeListenerCertificatesCommandError");
|
|
2399
1891
|
var de_DescribeListenersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2400
1892
|
if (output.statusCode >= 300) {
|
|
2401
|
-
return
|
|
1893
|
+
return de_CommandError(output, context);
|
|
2402
1894
|
}
|
|
2403
1895
|
const data = await parseBody(output.body, context);
|
|
2404
1896
|
let contents = {};
|
|
@@ -2409,34 +1901,9 @@ var de_DescribeListenersCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2409
1901
|
};
|
|
2410
1902
|
return response;
|
|
2411
1903
|
}, "de_DescribeListenersCommand");
|
|
2412
|
-
var de_DescribeListenersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2413
|
-
const parsedOutput = {
|
|
2414
|
-
...output,
|
|
2415
|
-
body: await parseErrorBody(output.body, context)
|
|
2416
|
-
};
|
|
2417
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2418
|
-
switch (errorCode) {
|
|
2419
|
-
case "ListenerNotFound":
|
|
2420
|
-
case "com.amazonaws.elasticloadbalancingv2#ListenerNotFoundException":
|
|
2421
|
-
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
2422
|
-
case "LoadBalancerNotFound":
|
|
2423
|
-
case "com.amazonaws.elasticloadbalancingv2#LoadBalancerNotFoundException":
|
|
2424
|
-
throw await de_LoadBalancerNotFoundExceptionRes(parsedOutput, context);
|
|
2425
|
-
case "UnsupportedProtocol":
|
|
2426
|
-
case "com.amazonaws.elasticloadbalancingv2#UnsupportedProtocolException":
|
|
2427
|
-
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
2428
|
-
default:
|
|
2429
|
-
const parsedBody = parsedOutput.body;
|
|
2430
|
-
return throwDefaultError({
|
|
2431
|
-
output,
|
|
2432
|
-
parsedBody: parsedBody.Error,
|
|
2433
|
-
errorCode
|
|
2434
|
-
});
|
|
2435
|
-
}
|
|
2436
|
-
}, "de_DescribeListenersCommandError");
|
|
2437
1904
|
var de_DescribeLoadBalancerAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2438
1905
|
if (output.statusCode >= 300) {
|
|
2439
|
-
return
|
|
1906
|
+
return de_CommandError(output, context);
|
|
2440
1907
|
}
|
|
2441
1908
|
const data = await parseBody(output.body, context);
|
|
2442
1909
|
let contents = {};
|
|
@@ -2447,28 +1914,9 @@ var de_DescribeLoadBalancerAttributesCommand = /* @__PURE__ */ __name(async (out
|
|
|
2447
1914
|
};
|
|
2448
1915
|
return response;
|
|
2449
1916
|
}, "de_DescribeLoadBalancerAttributesCommand");
|
|
2450
|
-
var de_DescribeLoadBalancerAttributesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2451
|
-
const parsedOutput = {
|
|
2452
|
-
...output,
|
|
2453
|
-
body: await parseErrorBody(output.body, context)
|
|
2454
|
-
};
|
|
2455
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2456
|
-
switch (errorCode) {
|
|
2457
|
-
case "LoadBalancerNotFound":
|
|
2458
|
-
case "com.amazonaws.elasticloadbalancingv2#LoadBalancerNotFoundException":
|
|
2459
|
-
throw await de_LoadBalancerNotFoundExceptionRes(parsedOutput, context);
|
|
2460
|
-
default:
|
|
2461
|
-
const parsedBody = parsedOutput.body;
|
|
2462
|
-
return throwDefaultError({
|
|
2463
|
-
output,
|
|
2464
|
-
parsedBody: parsedBody.Error,
|
|
2465
|
-
errorCode
|
|
2466
|
-
});
|
|
2467
|
-
}
|
|
2468
|
-
}, "de_DescribeLoadBalancerAttributesCommandError");
|
|
2469
1917
|
var de_DescribeLoadBalancersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2470
1918
|
if (output.statusCode >= 300) {
|
|
2471
|
-
return
|
|
1919
|
+
return de_CommandError(output, context);
|
|
2472
1920
|
}
|
|
2473
1921
|
const data = await parseBody(output.body, context);
|
|
2474
1922
|
let contents = {};
|
|
@@ -2479,28 +1927,9 @@ var de_DescribeLoadBalancersCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2479
1927
|
};
|
|
2480
1928
|
return response;
|
|
2481
1929
|
}, "de_DescribeLoadBalancersCommand");
|
|
2482
|
-
var de_DescribeLoadBalancersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2483
|
-
const parsedOutput = {
|
|
2484
|
-
...output,
|
|
2485
|
-
body: await parseErrorBody(output.body, context)
|
|
2486
|
-
};
|
|
2487
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2488
|
-
switch (errorCode) {
|
|
2489
|
-
case "LoadBalancerNotFound":
|
|
2490
|
-
case "com.amazonaws.elasticloadbalancingv2#LoadBalancerNotFoundException":
|
|
2491
|
-
throw await de_LoadBalancerNotFoundExceptionRes(parsedOutput, context);
|
|
2492
|
-
default:
|
|
2493
|
-
const parsedBody = parsedOutput.body;
|
|
2494
|
-
return throwDefaultError({
|
|
2495
|
-
output,
|
|
2496
|
-
parsedBody: parsedBody.Error,
|
|
2497
|
-
errorCode
|
|
2498
|
-
});
|
|
2499
|
-
}
|
|
2500
|
-
}, "de_DescribeLoadBalancersCommandError");
|
|
2501
1930
|
var de_DescribeRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2502
1931
|
if (output.statusCode >= 300) {
|
|
2503
|
-
return
|
|
1932
|
+
return de_CommandError(output, context);
|
|
2504
1933
|
}
|
|
2505
1934
|
const data = await parseBody(output.body, context);
|
|
2506
1935
|
let contents = {};
|
|
@@ -2511,110 +1940,35 @@ var de_DescribeRulesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2511
1940
|
};
|
|
2512
1941
|
return response;
|
|
2513
1942
|
}, "de_DescribeRulesCommand");
|
|
2514
|
-
var de_DescribeRulesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2515
|
-
const parsedOutput = {
|
|
2516
|
-
...output,
|
|
2517
|
-
body: await parseErrorBody(output.body, context)
|
|
2518
|
-
};
|
|
2519
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2520
|
-
switch (errorCode) {
|
|
2521
|
-
case "ListenerNotFound":
|
|
2522
|
-
case "com.amazonaws.elasticloadbalancingv2#ListenerNotFoundException":
|
|
2523
|
-
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
2524
|
-
case "RuleNotFound":
|
|
2525
|
-
case "com.amazonaws.elasticloadbalancingv2#RuleNotFoundException":
|
|
2526
|
-
throw await de_RuleNotFoundExceptionRes(parsedOutput, context);
|
|
2527
|
-
case "UnsupportedProtocol":
|
|
2528
|
-
case "com.amazonaws.elasticloadbalancingv2#UnsupportedProtocolException":
|
|
2529
|
-
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
2530
|
-
default:
|
|
2531
|
-
const parsedBody = parsedOutput.body;
|
|
2532
|
-
return throwDefaultError({
|
|
2533
|
-
output,
|
|
2534
|
-
parsedBody: parsedBody.Error,
|
|
2535
|
-
errorCode
|
|
2536
|
-
});
|
|
2537
|
-
}
|
|
2538
|
-
}, "de_DescribeRulesCommandError");
|
|
2539
1943
|
var de_DescribeSSLPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2540
1944
|
if (output.statusCode >= 300) {
|
|
2541
|
-
return
|
|
1945
|
+
return de_CommandError(output, context);
|
|
2542
1946
|
}
|
|
2543
1947
|
const data = await parseBody(output.body, context);
|
|
2544
1948
|
let contents = {};
|
|
2545
1949
|
contents = de_DescribeSSLPoliciesOutput(data.DescribeSSLPoliciesResult, context);
|
|
2546
1950
|
const response = {
|
|
2547
1951
|
$metadata: deserializeMetadata(output),
|
|
2548
|
-
...contents
|
|
2549
|
-
};
|
|
2550
|
-
return response;
|
|
2551
|
-
}, "de_DescribeSSLPoliciesCommand");
|
|
2552
|
-
var
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
body: await parseErrorBody(output.body, context)
|
|
2556
|
-
};
|
|
2557
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2558
|
-
switch (errorCode) {
|
|
2559
|
-
case "SSLPolicyNotFound":
|
|
2560
|
-
case "com.amazonaws.elasticloadbalancingv2#SSLPolicyNotFoundException":
|
|
2561
|
-
throw await de_SSLPolicyNotFoundExceptionRes(parsedOutput, context);
|
|
2562
|
-
default:
|
|
2563
|
-
const parsedBody = parsedOutput.body;
|
|
2564
|
-
return throwDefaultError({
|
|
2565
|
-
output,
|
|
2566
|
-
parsedBody: parsedBody.Error,
|
|
2567
|
-
errorCode
|
|
2568
|
-
});
|
|
2569
|
-
}
|
|
2570
|
-
}, "de_DescribeSSLPoliciesCommandError");
|
|
2571
|
-
var de_DescribeTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2572
|
-
if (output.statusCode >= 300) {
|
|
2573
|
-
return de_DescribeTagsCommandError(output, context);
|
|
2574
|
-
}
|
|
2575
|
-
const data = await parseBody(output.body, context);
|
|
2576
|
-
let contents = {};
|
|
2577
|
-
contents = de_DescribeTagsOutput(data.DescribeTagsResult, context);
|
|
2578
|
-
const response = {
|
|
2579
|
-
$metadata: deserializeMetadata(output),
|
|
2580
|
-
...contents
|
|
2581
|
-
};
|
|
2582
|
-
return response;
|
|
2583
|
-
}, "de_DescribeTagsCommand");
|
|
2584
|
-
var de_DescribeTagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2585
|
-
const parsedOutput = {
|
|
2586
|
-
...output,
|
|
2587
|
-
body: await parseErrorBody(output.body, context)
|
|
2588
|
-
};
|
|
2589
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2590
|
-
switch (errorCode) {
|
|
2591
|
-
case "ListenerNotFound":
|
|
2592
|
-
case "com.amazonaws.elasticloadbalancingv2#ListenerNotFoundException":
|
|
2593
|
-
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
2594
|
-
case "LoadBalancerNotFound":
|
|
2595
|
-
case "com.amazonaws.elasticloadbalancingv2#LoadBalancerNotFoundException":
|
|
2596
|
-
throw await de_LoadBalancerNotFoundExceptionRes(parsedOutput, context);
|
|
2597
|
-
case "RuleNotFound":
|
|
2598
|
-
case "com.amazonaws.elasticloadbalancingv2#RuleNotFoundException":
|
|
2599
|
-
throw await de_RuleNotFoundExceptionRes(parsedOutput, context);
|
|
2600
|
-
case "TargetGroupNotFound":
|
|
2601
|
-
case "com.amazonaws.elasticloadbalancingv2#TargetGroupNotFoundException":
|
|
2602
|
-
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
2603
|
-
case "TrustStoreNotFound":
|
|
2604
|
-
case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
|
|
2605
|
-
throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
|
|
2606
|
-
default:
|
|
2607
|
-
const parsedBody = parsedOutput.body;
|
|
2608
|
-
return throwDefaultError({
|
|
2609
|
-
output,
|
|
2610
|
-
parsedBody: parsedBody.Error,
|
|
2611
|
-
errorCode
|
|
2612
|
-
});
|
|
1952
|
+
...contents
|
|
1953
|
+
};
|
|
1954
|
+
return response;
|
|
1955
|
+
}, "de_DescribeSSLPoliciesCommand");
|
|
1956
|
+
var de_DescribeTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1957
|
+
if (output.statusCode >= 300) {
|
|
1958
|
+
return de_CommandError(output, context);
|
|
2613
1959
|
}
|
|
2614
|
-
|
|
1960
|
+
const data = await parseBody(output.body, context);
|
|
1961
|
+
let contents = {};
|
|
1962
|
+
contents = de_DescribeTagsOutput(data.DescribeTagsResult, context);
|
|
1963
|
+
const response = {
|
|
1964
|
+
$metadata: deserializeMetadata(output),
|
|
1965
|
+
...contents
|
|
1966
|
+
};
|
|
1967
|
+
return response;
|
|
1968
|
+
}, "de_DescribeTagsCommand");
|
|
2615
1969
|
var de_DescribeTargetGroupAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2616
1970
|
if (output.statusCode >= 300) {
|
|
2617
|
-
return
|
|
1971
|
+
return de_CommandError(output, context);
|
|
2618
1972
|
}
|
|
2619
1973
|
const data = await parseBody(output.body, context);
|
|
2620
1974
|
let contents = {};
|
|
@@ -2625,28 +1979,9 @@ var de_DescribeTargetGroupAttributesCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2625
1979
|
};
|
|
2626
1980
|
return response;
|
|
2627
1981
|
}, "de_DescribeTargetGroupAttributesCommand");
|
|
2628
|
-
var de_DescribeTargetGroupAttributesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2629
|
-
const parsedOutput = {
|
|
2630
|
-
...output,
|
|
2631
|
-
body: await parseErrorBody(output.body, context)
|
|
2632
|
-
};
|
|
2633
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2634
|
-
switch (errorCode) {
|
|
2635
|
-
case "TargetGroupNotFound":
|
|
2636
|
-
case "com.amazonaws.elasticloadbalancingv2#TargetGroupNotFoundException":
|
|
2637
|
-
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
2638
|
-
default:
|
|
2639
|
-
const parsedBody = parsedOutput.body;
|
|
2640
|
-
return throwDefaultError({
|
|
2641
|
-
output,
|
|
2642
|
-
parsedBody: parsedBody.Error,
|
|
2643
|
-
errorCode
|
|
2644
|
-
});
|
|
2645
|
-
}
|
|
2646
|
-
}, "de_DescribeTargetGroupAttributesCommandError");
|
|
2647
1982
|
var de_DescribeTargetGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2648
1983
|
if (output.statusCode >= 300) {
|
|
2649
|
-
return
|
|
1984
|
+
return de_CommandError(output, context);
|
|
2650
1985
|
}
|
|
2651
1986
|
const data = await parseBody(output.body, context);
|
|
2652
1987
|
let contents = {};
|
|
@@ -2657,31 +1992,9 @@ var de_DescribeTargetGroupsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2657
1992
|
};
|
|
2658
1993
|
return response;
|
|
2659
1994
|
}, "de_DescribeTargetGroupsCommand");
|
|
2660
|
-
var de_DescribeTargetGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2661
|
-
const parsedOutput = {
|
|
2662
|
-
...output,
|
|
2663
|
-
body: await parseErrorBody(output.body, context)
|
|
2664
|
-
};
|
|
2665
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2666
|
-
switch (errorCode) {
|
|
2667
|
-
case "LoadBalancerNotFound":
|
|
2668
|
-
case "com.amazonaws.elasticloadbalancingv2#LoadBalancerNotFoundException":
|
|
2669
|
-
throw await de_LoadBalancerNotFoundExceptionRes(parsedOutput, context);
|
|
2670
|
-
case "TargetGroupNotFound":
|
|
2671
|
-
case "com.amazonaws.elasticloadbalancingv2#TargetGroupNotFoundException":
|
|
2672
|
-
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
2673
|
-
default:
|
|
2674
|
-
const parsedBody = parsedOutput.body;
|
|
2675
|
-
return throwDefaultError({
|
|
2676
|
-
output,
|
|
2677
|
-
parsedBody: parsedBody.Error,
|
|
2678
|
-
errorCode
|
|
2679
|
-
});
|
|
2680
|
-
}
|
|
2681
|
-
}, "de_DescribeTargetGroupsCommandError");
|
|
2682
1995
|
var de_DescribeTargetHealthCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2683
1996
|
if (output.statusCode >= 300) {
|
|
2684
|
-
return
|
|
1997
|
+
return de_CommandError(output, context);
|
|
2685
1998
|
}
|
|
2686
1999
|
const data = await parseBody(output.body, context);
|
|
2687
2000
|
let contents = {};
|
|
@@ -2692,34 +2005,9 @@ var de_DescribeTargetHealthCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2692
2005
|
};
|
|
2693
2006
|
return response;
|
|
2694
2007
|
}, "de_DescribeTargetHealthCommand");
|
|
2695
|
-
var de_DescribeTargetHealthCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2696
|
-
const parsedOutput = {
|
|
2697
|
-
...output,
|
|
2698
|
-
body: await parseErrorBody(output.body, context)
|
|
2699
|
-
};
|
|
2700
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2701
|
-
switch (errorCode) {
|
|
2702
|
-
case "HealthUnavailable":
|
|
2703
|
-
case "com.amazonaws.elasticloadbalancingv2#HealthUnavailableException":
|
|
2704
|
-
throw await de_HealthUnavailableExceptionRes(parsedOutput, context);
|
|
2705
|
-
case "InvalidTarget":
|
|
2706
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidTargetException":
|
|
2707
|
-
throw await de_InvalidTargetExceptionRes(parsedOutput, context);
|
|
2708
|
-
case "TargetGroupNotFound":
|
|
2709
|
-
case "com.amazonaws.elasticloadbalancingv2#TargetGroupNotFoundException":
|
|
2710
|
-
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
2711
|
-
default:
|
|
2712
|
-
const parsedBody = parsedOutput.body;
|
|
2713
|
-
return throwDefaultError({
|
|
2714
|
-
output,
|
|
2715
|
-
parsedBody: parsedBody.Error,
|
|
2716
|
-
errorCode
|
|
2717
|
-
});
|
|
2718
|
-
}
|
|
2719
|
-
}, "de_DescribeTargetHealthCommandError");
|
|
2720
2008
|
var de_DescribeTrustStoreAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2721
2009
|
if (output.statusCode >= 300) {
|
|
2722
|
-
return
|
|
2010
|
+
return de_CommandError(output, context);
|
|
2723
2011
|
}
|
|
2724
2012
|
const data = await parseBody(output.body, context);
|
|
2725
2013
|
let contents = {};
|
|
@@ -2730,28 +2018,9 @@ var de_DescribeTrustStoreAssociationsCommand = /* @__PURE__ */ __name(async (out
|
|
|
2730
2018
|
};
|
|
2731
2019
|
return response;
|
|
2732
2020
|
}, "de_DescribeTrustStoreAssociationsCommand");
|
|
2733
|
-
var de_DescribeTrustStoreAssociationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2734
|
-
const parsedOutput = {
|
|
2735
|
-
...output,
|
|
2736
|
-
body: await parseErrorBody(output.body, context)
|
|
2737
|
-
};
|
|
2738
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2739
|
-
switch (errorCode) {
|
|
2740
|
-
case "TrustStoreNotFound":
|
|
2741
|
-
case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
|
|
2742
|
-
throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
|
|
2743
|
-
default:
|
|
2744
|
-
const parsedBody = parsedOutput.body;
|
|
2745
|
-
return throwDefaultError({
|
|
2746
|
-
output,
|
|
2747
|
-
parsedBody: parsedBody.Error,
|
|
2748
|
-
errorCode
|
|
2749
|
-
});
|
|
2750
|
-
}
|
|
2751
|
-
}, "de_DescribeTrustStoreAssociationsCommandError");
|
|
2752
2021
|
var de_DescribeTrustStoreRevocationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2753
2022
|
if (output.statusCode >= 300) {
|
|
2754
|
-
return
|
|
2023
|
+
return de_CommandError(output, context);
|
|
2755
2024
|
}
|
|
2756
2025
|
const data = await parseBody(output.body, context);
|
|
2757
2026
|
let contents = {};
|
|
@@ -2762,31 +2031,9 @@ var de_DescribeTrustStoreRevocationsCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2762
2031
|
};
|
|
2763
2032
|
return response;
|
|
2764
2033
|
}, "de_DescribeTrustStoreRevocationsCommand");
|
|
2765
|
-
var de_DescribeTrustStoreRevocationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2766
|
-
const parsedOutput = {
|
|
2767
|
-
...output,
|
|
2768
|
-
body: await parseErrorBody(output.body, context)
|
|
2769
|
-
};
|
|
2770
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2771
|
-
switch (errorCode) {
|
|
2772
|
-
case "RevocationIdNotFound":
|
|
2773
|
-
case "com.amazonaws.elasticloadbalancingv2#RevocationIdNotFoundException":
|
|
2774
|
-
throw await de_RevocationIdNotFoundExceptionRes(parsedOutput, context);
|
|
2775
|
-
case "TrustStoreNotFound":
|
|
2776
|
-
case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
|
|
2777
|
-
throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
|
|
2778
|
-
default:
|
|
2779
|
-
const parsedBody = parsedOutput.body;
|
|
2780
|
-
return throwDefaultError({
|
|
2781
|
-
output,
|
|
2782
|
-
parsedBody: parsedBody.Error,
|
|
2783
|
-
errorCode
|
|
2784
|
-
});
|
|
2785
|
-
}
|
|
2786
|
-
}, "de_DescribeTrustStoreRevocationsCommandError");
|
|
2787
2034
|
var de_DescribeTrustStoresCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2788
2035
|
if (output.statusCode >= 300) {
|
|
2789
|
-
return
|
|
2036
|
+
return de_CommandError(output, context);
|
|
2790
2037
|
}
|
|
2791
2038
|
const data = await parseBody(output.body, context);
|
|
2792
2039
|
let contents = {};
|
|
@@ -2797,28 +2044,9 @@ var de_DescribeTrustStoresCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2797
2044
|
};
|
|
2798
2045
|
return response;
|
|
2799
2046
|
}, "de_DescribeTrustStoresCommand");
|
|
2800
|
-
var de_DescribeTrustStoresCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2801
|
-
const parsedOutput = {
|
|
2802
|
-
...output,
|
|
2803
|
-
body: await parseErrorBody(output.body, context)
|
|
2804
|
-
};
|
|
2805
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2806
|
-
switch (errorCode) {
|
|
2807
|
-
case "TrustStoreNotFound":
|
|
2808
|
-
case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
|
|
2809
|
-
throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
|
|
2810
|
-
default:
|
|
2811
|
-
const parsedBody = parsedOutput.body;
|
|
2812
|
-
return throwDefaultError({
|
|
2813
|
-
output,
|
|
2814
|
-
parsedBody: parsedBody.Error,
|
|
2815
|
-
errorCode
|
|
2816
|
-
});
|
|
2817
|
-
}
|
|
2818
|
-
}, "de_DescribeTrustStoresCommandError");
|
|
2819
2047
|
var de_GetTrustStoreCaCertificatesBundleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2820
2048
|
if (output.statusCode >= 300) {
|
|
2821
|
-
return
|
|
2049
|
+
return de_CommandError(output, context);
|
|
2822
2050
|
}
|
|
2823
2051
|
const data = await parseBody(output.body, context);
|
|
2824
2052
|
let contents = {};
|
|
@@ -2829,149 +2057,35 @@ var de_GetTrustStoreCaCertificatesBundleCommand = /* @__PURE__ */ __name(async (
|
|
|
2829
2057
|
};
|
|
2830
2058
|
return response;
|
|
2831
2059
|
}, "de_GetTrustStoreCaCertificatesBundleCommand");
|
|
2832
|
-
var de_GetTrustStoreCaCertificatesBundleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2833
|
-
const parsedOutput = {
|
|
2834
|
-
...output,
|
|
2835
|
-
body: await parseErrorBody(output.body, context)
|
|
2836
|
-
};
|
|
2837
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2838
|
-
switch (errorCode) {
|
|
2839
|
-
case "TrustStoreNotFound":
|
|
2840
|
-
case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
|
|
2841
|
-
throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
|
|
2842
|
-
default:
|
|
2843
|
-
const parsedBody = parsedOutput.body;
|
|
2844
|
-
return throwDefaultError({
|
|
2845
|
-
output,
|
|
2846
|
-
parsedBody: parsedBody.Error,
|
|
2847
|
-
errorCode
|
|
2848
|
-
});
|
|
2849
|
-
}
|
|
2850
|
-
}, "de_GetTrustStoreCaCertificatesBundleCommandError");
|
|
2851
2060
|
var de_GetTrustStoreRevocationContentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2852
2061
|
if (output.statusCode >= 300) {
|
|
2853
|
-
return
|
|
2854
|
-
}
|
|
2855
|
-
const data = await parseBody(output.body, context);
|
|
2856
|
-
let contents = {};
|
|
2857
|
-
contents = de_GetTrustStoreRevocationContentOutput(data.GetTrustStoreRevocationContentResult, context);
|
|
2858
|
-
const response = {
|
|
2859
|
-
$metadata: deserializeMetadata(output),
|
|
2860
|
-
...contents
|
|
2861
|
-
};
|
|
2862
|
-
return response;
|
|
2863
|
-
}, "de_GetTrustStoreRevocationContentCommand");
|
|
2864
|
-
var de_GetTrustStoreRevocationContentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2865
|
-
const parsedOutput = {
|
|
2866
|
-
...output,
|
|
2867
|
-
body: await parseErrorBody(output.body, context)
|
|
2868
|
-
};
|
|
2869
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2870
|
-
switch (errorCode) {
|
|
2871
|
-
case "RevocationIdNotFound":
|
|
2872
|
-
case "com.amazonaws.elasticloadbalancingv2#RevocationIdNotFoundException":
|
|
2873
|
-
throw await de_RevocationIdNotFoundExceptionRes(parsedOutput, context);
|
|
2874
|
-
case "TrustStoreNotFound":
|
|
2875
|
-
case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
|
|
2876
|
-
throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
|
|
2877
|
-
default:
|
|
2878
|
-
const parsedBody = parsedOutput.body;
|
|
2879
|
-
return throwDefaultError({
|
|
2880
|
-
output,
|
|
2881
|
-
parsedBody: parsedBody.Error,
|
|
2882
|
-
errorCode
|
|
2883
|
-
});
|
|
2884
|
-
}
|
|
2885
|
-
}, "de_GetTrustStoreRevocationContentCommandError");
|
|
2886
|
-
var de_ModifyListenerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2887
|
-
if (output.statusCode >= 300) {
|
|
2888
|
-
return de_ModifyListenerCommandError(output, context);
|
|
2062
|
+
return de_CommandError(output, context);
|
|
2889
2063
|
}
|
|
2890
2064
|
const data = await parseBody(output.body, context);
|
|
2891
|
-
let contents = {};
|
|
2892
|
-
contents =
|
|
2893
|
-
const response = {
|
|
2894
|
-
$metadata: deserializeMetadata(output),
|
|
2895
|
-
...contents
|
|
2896
|
-
};
|
|
2897
|
-
return response;
|
|
2898
|
-
}, "
|
|
2899
|
-
var
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
body: await parseErrorBody(output.body, context)
|
|
2903
|
-
};
|
|
2904
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2905
|
-
switch (errorCode) {
|
|
2906
|
-
case "ALPNPolicyNotFound":
|
|
2907
|
-
case "com.amazonaws.elasticloadbalancingv2#ALPNPolicyNotSupportedException":
|
|
2908
|
-
throw await de_ALPNPolicyNotSupportedExceptionRes(parsedOutput, context);
|
|
2909
|
-
case "CertificateNotFound":
|
|
2910
|
-
case "com.amazonaws.elasticloadbalancingv2#CertificateNotFoundException":
|
|
2911
|
-
throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
|
|
2912
|
-
case "DuplicateListener":
|
|
2913
|
-
case "com.amazonaws.elasticloadbalancingv2#DuplicateListenerException":
|
|
2914
|
-
throw await de_DuplicateListenerExceptionRes(parsedOutput, context);
|
|
2915
|
-
case "IncompatibleProtocols":
|
|
2916
|
-
case "com.amazonaws.elasticloadbalancingv2#IncompatibleProtocolsException":
|
|
2917
|
-
throw await de_IncompatibleProtocolsExceptionRes(parsedOutput, context);
|
|
2918
|
-
case "InvalidConfigurationRequest":
|
|
2919
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidConfigurationRequestException":
|
|
2920
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
2921
|
-
case "InvalidLoadBalancerAction":
|
|
2922
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidLoadBalancerActionException":
|
|
2923
|
-
throw await de_InvalidLoadBalancerActionExceptionRes(parsedOutput, context);
|
|
2924
|
-
case "ListenerNotFound":
|
|
2925
|
-
case "com.amazonaws.elasticloadbalancingv2#ListenerNotFoundException":
|
|
2926
|
-
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
2927
|
-
case "SSLPolicyNotFound":
|
|
2928
|
-
case "com.amazonaws.elasticloadbalancingv2#SSLPolicyNotFoundException":
|
|
2929
|
-
throw await de_SSLPolicyNotFoundExceptionRes(parsedOutput, context);
|
|
2930
|
-
case "TargetGroupAssociationLimit":
|
|
2931
|
-
case "com.amazonaws.elasticloadbalancingv2#TargetGroupAssociationLimitException":
|
|
2932
|
-
throw await de_TargetGroupAssociationLimitExceptionRes(parsedOutput, context);
|
|
2933
|
-
case "TargetGroupNotFound":
|
|
2934
|
-
case "com.amazonaws.elasticloadbalancingv2#TargetGroupNotFoundException":
|
|
2935
|
-
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
2936
|
-
case "TooManyActions":
|
|
2937
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyActionsException":
|
|
2938
|
-
throw await de_TooManyActionsExceptionRes(parsedOutput, context);
|
|
2939
|
-
case "TooManyCertificates":
|
|
2940
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyCertificatesException":
|
|
2941
|
-
throw await de_TooManyCertificatesExceptionRes(parsedOutput, context);
|
|
2942
|
-
case "TooManyListeners":
|
|
2943
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyListenersException":
|
|
2944
|
-
throw await de_TooManyListenersExceptionRes(parsedOutput, context);
|
|
2945
|
-
case "TooManyRegistrationsForTargetId":
|
|
2946
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyRegistrationsForTargetIdException":
|
|
2947
|
-
throw await de_TooManyRegistrationsForTargetIdExceptionRes(parsedOutput, context);
|
|
2948
|
-
case "TooManyTargets":
|
|
2949
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyTargetsException":
|
|
2950
|
-
throw await de_TooManyTargetsExceptionRes(parsedOutput, context);
|
|
2951
|
-
case "TooManyUniqueTargetGroupsPerLoadBalancer":
|
|
2952
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyUniqueTargetGroupsPerLoadBalancerException":
|
|
2953
|
-
throw await de_TooManyUniqueTargetGroupsPerLoadBalancerExceptionRes(parsedOutput, context);
|
|
2954
|
-
case "TrustStoreNotFound":
|
|
2955
|
-
case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
|
|
2956
|
-
throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
|
|
2957
|
-
case "TrustStoreNotReady":
|
|
2958
|
-
case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotReadyException":
|
|
2959
|
-
throw await de_TrustStoreNotReadyExceptionRes(parsedOutput, context);
|
|
2960
|
-
case "UnsupportedProtocol":
|
|
2961
|
-
case "com.amazonaws.elasticloadbalancingv2#UnsupportedProtocolException":
|
|
2962
|
-
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
2963
|
-
default:
|
|
2964
|
-
const parsedBody = parsedOutput.body;
|
|
2965
|
-
return throwDefaultError({
|
|
2966
|
-
output,
|
|
2967
|
-
parsedBody: parsedBody.Error,
|
|
2968
|
-
errorCode
|
|
2969
|
-
});
|
|
2065
|
+
let contents = {};
|
|
2066
|
+
contents = de_GetTrustStoreRevocationContentOutput(data.GetTrustStoreRevocationContentResult, context);
|
|
2067
|
+
const response = {
|
|
2068
|
+
$metadata: deserializeMetadata(output),
|
|
2069
|
+
...contents
|
|
2070
|
+
};
|
|
2071
|
+
return response;
|
|
2072
|
+
}, "de_GetTrustStoreRevocationContentCommand");
|
|
2073
|
+
var de_ModifyListenerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2074
|
+
if (output.statusCode >= 300) {
|
|
2075
|
+
return de_CommandError(output, context);
|
|
2970
2076
|
}
|
|
2971
|
-
|
|
2077
|
+
const data = await parseBody(output.body, context);
|
|
2078
|
+
let contents = {};
|
|
2079
|
+
contents = de_ModifyListenerOutput(data.ModifyListenerResult, context);
|
|
2080
|
+
const response = {
|
|
2081
|
+
$metadata: deserializeMetadata(output),
|
|
2082
|
+
...contents
|
|
2083
|
+
};
|
|
2084
|
+
return response;
|
|
2085
|
+
}, "de_ModifyListenerCommand");
|
|
2972
2086
|
var de_ModifyLoadBalancerAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2973
2087
|
if (output.statusCode >= 300) {
|
|
2974
|
-
return
|
|
2088
|
+
return de_CommandError(output, context);
|
|
2975
2089
|
}
|
|
2976
2090
|
const data = await parseBody(output.body, context);
|
|
2977
2091
|
let contents = {};
|
|
@@ -2982,31 +2096,9 @@ var de_ModifyLoadBalancerAttributesCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2982
2096
|
};
|
|
2983
2097
|
return response;
|
|
2984
2098
|
}, "de_ModifyLoadBalancerAttributesCommand");
|
|
2985
|
-
var de_ModifyLoadBalancerAttributesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2986
|
-
const parsedOutput = {
|
|
2987
|
-
...output,
|
|
2988
|
-
body: await parseErrorBody(output.body, context)
|
|
2989
|
-
};
|
|
2990
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2991
|
-
switch (errorCode) {
|
|
2992
|
-
case "InvalidConfigurationRequest":
|
|
2993
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidConfigurationRequestException":
|
|
2994
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
2995
|
-
case "LoadBalancerNotFound":
|
|
2996
|
-
case "com.amazonaws.elasticloadbalancingv2#LoadBalancerNotFoundException":
|
|
2997
|
-
throw await de_LoadBalancerNotFoundExceptionRes(parsedOutput, context);
|
|
2998
|
-
default:
|
|
2999
|
-
const parsedBody = parsedOutput.body;
|
|
3000
|
-
return throwDefaultError({
|
|
3001
|
-
output,
|
|
3002
|
-
parsedBody: parsedBody.Error,
|
|
3003
|
-
errorCode
|
|
3004
|
-
});
|
|
3005
|
-
}
|
|
3006
|
-
}, "de_ModifyLoadBalancerAttributesCommandError");
|
|
3007
2099
|
var de_ModifyRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3008
2100
|
if (output.statusCode >= 300) {
|
|
3009
|
-
return
|
|
2101
|
+
return de_CommandError(output, context);
|
|
3010
2102
|
}
|
|
3011
2103
|
const data = await parseBody(output.body, context);
|
|
3012
2104
|
let contents = {};
|
|
@@ -3017,58 +2109,9 @@ var de_ModifyRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3017
2109
|
};
|
|
3018
2110
|
return response;
|
|
3019
2111
|
}, "de_ModifyRuleCommand");
|
|
3020
|
-
var de_ModifyRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3021
|
-
const parsedOutput = {
|
|
3022
|
-
...output,
|
|
3023
|
-
body: await parseErrorBody(output.body, context)
|
|
3024
|
-
};
|
|
3025
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3026
|
-
switch (errorCode) {
|
|
3027
|
-
case "IncompatibleProtocols":
|
|
3028
|
-
case "com.amazonaws.elasticloadbalancingv2#IncompatibleProtocolsException":
|
|
3029
|
-
throw await de_IncompatibleProtocolsExceptionRes(parsedOutput, context);
|
|
3030
|
-
case "InvalidLoadBalancerAction":
|
|
3031
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidLoadBalancerActionException":
|
|
3032
|
-
throw await de_InvalidLoadBalancerActionExceptionRes(parsedOutput, context);
|
|
3033
|
-
case "OperationNotPermitted":
|
|
3034
|
-
case "com.amazonaws.elasticloadbalancingv2#OperationNotPermittedException":
|
|
3035
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
3036
|
-
case "RuleNotFound":
|
|
3037
|
-
case "com.amazonaws.elasticloadbalancingv2#RuleNotFoundException":
|
|
3038
|
-
throw await de_RuleNotFoundExceptionRes(parsedOutput, context);
|
|
3039
|
-
case "TargetGroupAssociationLimit":
|
|
3040
|
-
case "com.amazonaws.elasticloadbalancingv2#TargetGroupAssociationLimitException":
|
|
3041
|
-
throw await de_TargetGroupAssociationLimitExceptionRes(parsedOutput, context);
|
|
3042
|
-
case "TargetGroupNotFound":
|
|
3043
|
-
case "com.amazonaws.elasticloadbalancingv2#TargetGroupNotFoundException":
|
|
3044
|
-
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
3045
|
-
case "TooManyActions":
|
|
3046
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyActionsException":
|
|
3047
|
-
throw await de_TooManyActionsExceptionRes(parsedOutput, context);
|
|
3048
|
-
case "TooManyRegistrationsForTargetId":
|
|
3049
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyRegistrationsForTargetIdException":
|
|
3050
|
-
throw await de_TooManyRegistrationsForTargetIdExceptionRes(parsedOutput, context);
|
|
3051
|
-
case "TooManyTargets":
|
|
3052
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyTargetsException":
|
|
3053
|
-
throw await de_TooManyTargetsExceptionRes(parsedOutput, context);
|
|
3054
|
-
case "TooManyUniqueTargetGroupsPerLoadBalancer":
|
|
3055
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyUniqueTargetGroupsPerLoadBalancerException":
|
|
3056
|
-
throw await de_TooManyUniqueTargetGroupsPerLoadBalancerExceptionRes(parsedOutput, context);
|
|
3057
|
-
case "UnsupportedProtocol":
|
|
3058
|
-
case "com.amazonaws.elasticloadbalancingv2#UnsupportedProtocolException":
|
|
3059
|
-
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
3060
|
-
default:
|
|
3061
|
-
const parsedBody = parsedOutput.body;
|
|
3062
|
-
return throwDefaultError({
|
|
3063
|
-
output,
|
|
3064
|
-
parsedBody: parsedBody.Error,
|
|
3065
|
-
errorCode
|
|
3066
|
-
});
|
|
3067
|
-
}
|
|
3068
|
-
}, "de_ModifyRuleCommandError");
|
|
3069
2112
|
var de_ModifyTargetGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3070
2113
|
if (output.statusCode >= 300) {
|
|
3071
|
-
return
|
|
2114
|
+
return de_CommandError(output, context);
|
|
3072
2115
|
}
|
|
3073
2116
|
const data = await parseBody(output.body, context);
|
|
3074
2117
|
let contents = {};
|
|
@@ -3079,31 +2122,9 @@ var de_ModifyTargetGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3079
2122
|
};
|
|
3080
2123
|
return response;
|
|
3081
2124
|
}, "de_ModifyTargetGroupCommand");
|
|
3082
|
-
var de_ModifyTargetGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3083
|
-
const parsedOutput = {
|
|
3084
|
-
...output,
|
|
3085
|
-
body: await parseErrorBody(output.body, context)
|
|
3086
|
-
};
|
|
3087
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3088
|
-
switch (errorCode) {
|
|
3089
|
-
case "InvalidConfigurationRequest":
|
|
3090
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidConfigurationRequestException":
|
|
3091
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
3092
|
-
case "TargetGroupNotFound":
|
|
3093
|
-
case "com.amazonaws.elasticloadbalancingv2#TargetGroupNotFoundException":
|
|
3094
|
-
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
3095
|
-
default:
|
|
3096
|
-
const parsedBody = parsedOutput.body;
|
|
3097
|
-
return throwDefaultError({
|
|
3098
|
-
output,
|
|
3099
|
-
parsedBody: parsedBody.Error,
|
|
3100
|
-
errorCode
|
|
3101
|
-
});
|
|
3102
|
-
}
|
|
3103
|
-
}, "de_ModifyTargetGroupCommandError");
|
|
3104
2125
|
var de_ModifyTargetGroupAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3105
2126
|
if (output.statusCode >= 300) {
|
|
3106
|
-
return
|
|
2127
|
+
return de_CommandError(output, context);
|
|
3107
2128
|
}
|
|
3108
2129
|
const data = await parseBody(output.body, context);
|
|
3109
2130
|
let contents = {};
|
|
@@ -3114,31 +2135,9 @@ var de_ModifyTargetGroupAttributesCommand = /* @__PURE__ */ __name(async (output
|
|
|
3114
2135
|
};
|
|
3115
2136
|
return response;
|
|
3116
2137
|
}, "de_ModifyTargetGroupAttributesCommand");
|
|
3117
|
-
var de_ModifyTargetGroupAttributesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3118
|
-
const parsedOutput = {
|
|
3119
|
-
...output,
|
|
3120
|
-
body: await parseErrorBody(output.body, context)
|
|
3121
|
-
};
|
|
3122
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3123
|
-
switch (errorCode) {
|
|
3124
|
-
case "InvalidConfigurationRequest":
|
|
3125
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidConfigurationRequestException":
|
|
3126
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
3127
|
-
case "TargetGroupNotFound":
|
|
3128
|
-
case "com.amazonaws.elasticloadbalancingv2#TargetGroupNotFoundException":
|
|
3129
|
-
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
3130
|
-
default:
|
|
3131
|
-
const parsedBody = parsedOutput.body;
|
|
3132
|
-
return throwDefaultError({
|
|
3133
|
-
output,
|
|
3134
|
-
parsedBody: parsedBody.Error,
|
|
3135
|
-
errorCode
|
|
3136
|
-
});
|
|
3137
|
-
}
|
|
3138
|
-
}, "de_ModifyTargetGroupAttributesCommandError");
|
|
3139
2138
|
var de_ModifyTrustStoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3140
2139
|
if (output.statusCode >= 300) {
|
|
3141
|
-
return
|
|
2140
|
+
return de_CommandError(output, context);
|
|
3142
2141
|
}
|
|
3143
2142
|
const data = await parseBody(output.body, context);
|
|
3144
2143
|
let contents = {};
|
|
@@ -3149,157 +2148,48 @@ var de_ModifyTrustStoreCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3149
2148
|
};
|
|
3150
2149
|
return response;
|
|
3151
2150
|
}, "de_ModifyTrustStoreCommand");
|
|
3152
|
-
var de_ModifyTrustStoreCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3153
|
-
const parsedOutput = {
|
|
3154
|
-
...output,
|
|
3155
|
-
body: await parseErrorBody(output.body, context)
|
|
3156
|
-
};
|
|
3157
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3158
|
-
switch (errorCode) {
|
|
3159
|
-
case "CaCertificatesBundleNotFound":
|
|
3160
|
-
case "com.amazonaws.elasticloadbalancingv2#CaCertificatesBundleNotFoundException":
|
|
3161
|
-
throw await de_CaCertificatesBundleNotFoundExceptionRes(parsedOutput, context);
|
|
3162
|
-
case "InvalidCaCertificatesBundle":
|
|
3163
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidCaCertificatesBundleException":
|
|
3164
|
-
throw await de_InvalidCaCertificatesBundleExceptionRes(parsedOutput, context);
|
|
3165
|
-
case "TrustStoreNotFound":
|
|
3166
|
-
case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
|
|
3167
|
-
throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
|
|
3168
|
-
default:
|
|
3169
|
-
const parsedBody = parsedOutput.body;
|
|
3170
|
-
return throwDefaultError({
|
|
3171
|
-
output,
|
|
3172
|
-
parsedBody: parsedBody.Error,
|
|
3173
|
-
errorCode
|
|
3174
|
-
});
|
|
3175
|
-
}
|
|
3176
|
-
}, "de_ModifyTrustStoreCommandError");
|
|
3177
2151
|
var de_RegisterTargetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3178
2152
|
if (output.statusCode >= 300) {
|
|
3179
|
-
return
|
|
2153
|
+
return de_CommandError(output, context);
|
|
3180
2154
|
}
|
|
3181
2155
|
const data = await parseBody(output.body, context);
|
|
3182
2156
|
let contents = {};
|
|
3183
2157
|
contents = de_RegisterTargetsOutput(data.RegisterTargetsResult, context);
|
|
3184
|
-
const response = {
|
|
3185
|
-
$metadata: deserializeMetadata(output),
|
|
3186
|
-
...contents
|
|
3187
|
-
};
|
|
3188
|
-
return response;
|
|
3189
|
-
}, "de_RegisterTargetsCommand");
|
|
3190
|
-
var
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
case "TooManyTargets":
|
|
3207
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyTargetsException":
|
|
3208
|
-
throw await de_TooManyTargetsExceptionRes(parsedOutput, context);
|
|
3209
|
-
default:
|
|
3210
|
-
const parsedBody = parsedOutput.body;
|
|
3211
|
-
return throwDefaultError({
|
|
3212
|
-
output,
|
|
3213
|
-
parsedBody: parsedBody.Error,
|
|
3214
|
-
errorCode
|
|
3215
|
-
});
|
|
3216
|
-
}
|
|
3217
|
-
}, "de_RegisterTargetsCommandError");
|
|
3218
|
-
var de_RemoveListenerCertificatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3219
|
-
if (output.statusCode >= 300) {
|
|
3220
|
-
return de_RemoveListenerCertificatesCommandError(output, context);
|
|
3221
|
-
}
|
|
3222
|
-
const data = await parseBody(output.body, context);
|
|
3223
|
-
let contents = {};
|
|
3224
|
-
contents = de_RemoveListenerCertificatesOutput(data.RemoveListenerCertificatesResult, context);
|
|
3225
|
-
const response = {
|
|
3226
|
-
$metadata: deserializeMetadata(output),
|
|
3227
|
-
...contents
|
|
3228
|
-
};
|
|
3229
|
-
return response;
|
|
3230
|
-
}, "de_RemoveListenerCertificatesCommand");
|
|
3231
|
-
var de_RemoveListenerCertificatesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3232
|
-
const parsedOutput = {
|
|
3233
|
-
...output,
|
|
3234
|
-
body: await parseErrorBody(output.body, context)
|
|
3235
|
-
};
|
|
3236
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3237
|
-
switch (errorCode) {
|
|
3238
|
-
case "ListenerNotFound":
|
|
3239
|
-
case "com.amazonaws.elasticloadbalancingv2#ListenerNotFoundException":
|
|
3240
|
-
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
3241
|
-
case "OperationNotPermitted":
|
|
3242
|
-
case "com.amazonaws.elasticloadbalancingv2#OperationNotPermittedException":
|
|
3243
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
3244
|
-
default:
|
|
3245
|
-
const parsedBody = parsedOutput.body;
|
|
3246
|
-
return throwDefaultError({
|
|
3247
|
-
output,
|
|
3248
|
-
parsedBody: parsedBody.Error,
|
|
3249
|
-
errorCode
|
|
3250
|
-
});
|
|
3251
|
-
}
|
|
3252
|
-
}, "de_RemoveListenerCertificatesCommandError");
|
|
3253
|
-
var de_RemoveTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3254
|
-
if (output.statusCode >= 300) {
|
|
3255
|
-
return de_RemoveTagsCommandError(output, context);
|
|
3256
|
-
}
|
|
3257
|
-
const data = await parseBody(output.body, context);
|
|
3258
|
-
let contents = {};
|
|
3259
|
-
contents = de_RemoveTagsOutput(data.RemoveTagsResult, context);
|
|
3260
|
-
const response = {
|
|
3261
|
-
$metadata: deserializeMetadata(output),
|
|
3262
|
-
...contents
|
|
3263
|
-
};
|
|
3264
|
-
return response;
|
|
3265
|
-
}, "de_RemoveTagsCommand");
|
|
3266
|
-
var de_RemoveTagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3267
|
-
const parsedOutput = {
|
|
3268
|
-
...output,
|
|
3269
|
-
body: await parseErrorBody(output.body, context)
|
|
3270
|
-
};
|
|
3271
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3272
|
-
switch (errorCode) {
|
|
3273
|
-
case "ListenerNotFound":
|
|
3274
|
-
case "com.amazonaws.elasticloadbalancingv2#ListenerNotFoundException":
|
|
3275
|
-
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
3276
|
-
case "LoadBalancerNotFound":
|
|
3277
|
-
case "com.amazonaws.elasticloadbalancingv2#LoadBalancerNotFoundException":
|
|
3278
|
-
throw await de_LoadBalancerNotFoundExceptionRes(parsedOutput, context);
|
|
3279
|
-
case "RuleNotFound":
|
|
3280
|
-
case "com.amazonaws.elasticloadbalancingv2#RuleNotFoundException":
|
|
3281
|
-
throw await de_RuleNotFoundExceptionRes(parsedOutput, context);
|
|
3282
|
-
case "TargetGroupNotFound":
|
|
3283
|
-
case "com.amazonaws.elasticloadbalancingv2#TargetGroupNotFoundException":
|
|
3284
|
-
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
3285
|
-
case "TooManyTags":
|
|
3286
|
-
case "com.amazonaws.elasticloadbalancingv2#TooManyTagsException":
|
|
3287
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
3288
|
-
case "TrustStoreNotFound":
|
|
3289
|
-
case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
|
|
3290
|
-
throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
|
|
3291
|
-
default:
|
|
3292
|
-
const parsedBody = parsedOutput.body;
|
|
3293
|
-
return throwDefaultError({
|
|
3294
|
-
output,
|
|
3295
|
-
parsedBody: parsedBody.Error,
|
|
3296
|
-
errorCode
|
|
3297
|
-
});
|
|
2158
|
+
const response = {
|
|
2159
|
+
$metadata: deserializeMetadata(output),
|
|
2160
|
+
...contents
|
|
2161
|
+
};
|
|
2162
|
+
return response;
|
|
2163
|
+
}, "de_RegisterTargetsCommand");
|
|
2164
|
+
var de_RemoveListenerCertificatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2165
|
+
if (output.statusCode >= 300) {
|
|
2166
|
+
return de_CommandError(output, context);
|
|
2167
|
+
}
|
|
2168
|
+
const data = await parseBody(output.body, context);
|
|
2169
|
+
let contents = {};
|
|
2170
|
+
contents = de_RemoveListenerCertificatesOutput(data.RemoveListenerCertificatesResult, context);
|
|
2171
|
+
const response = {
|
|
2172
|
+
$metadata: deserializeMetadata(output),
|
|
2173
|
+
...contents
|
|
2174
|
+
};
|
|
2175
|
+
return response;
|
|
2176
|
+
}, "de_RemoveListenerCertificatesCommand");
|
|
2177
|
+
var de_RemoveTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2178
|
+
if (output.statusCode >= 300) {
|
|
2179
|
+
return de_CommandError(output, context);
|
|
3298
2180
|
}
|
|
3299
|
-
|
|
2181
|
+
const data = await parseBody(output.body, context);
|
|
2182
|
+
let contents = {};
|
|
2183
|
+
contents = de_RemoveTagsOutput(data.RemoveTagsResult, context);
|
|
2184
|
+
const response = {
|
|
2185
|
+
$metadata: deserializeMetadata(output),
|
|
2186
|
+
...contents
|
|
2187
|
+
};
|
|
2188
|
+
return response;
|
|
2189
|
+
}, "de_RemoveTagsCommand");
|
|
3300
2190
|
var de_RemoveTrustStoreRevocationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3301
2191
|
if (output.statusCode >= 300) {
|
|
3302
|
-
return
|
|
2192
|
+
return de_CommandError(output, context);
|
|
3303
2193
|
}
|
|
3304
2194
|
const data = await parseBody(output.body, context);
|
|
3305
2195
|
let contents = {};
|
|
@@ -3310,31 +2200,9 @@ var de_RemoveTrustStoreRevocationsCommand = /* @__PURE__ */ __name(async (output
|
|
|
3310
2200
|
};
|
|
3311
2201
|
return response;
|
|
3312
2202
|
}, "de_RemoveTrustStoreRevocationsCommand");
|
|
3313
|
-
var de_RemoveTrustStoreRevocationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3314
|
-
const parsedOutput = {
|
|
3315
|
-
...output,
|
|
3316
|
-
body: await parseErrorBody(output.body, context)
|
|
3317
|
-
};
|
|
3318
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3319
|
-
switch (errorCode) {
|
|
3320
|
-
case "RevocationIdNotFound":
|
|
3321
|
-
case "com.amazonaws.elasticloadbalancingv2#RevocationIdNotFoundException":
|
|
3322
|
-
throw await de_RevocationIdNotFoundExceptionRes(parsedOutput, context);
|
|
3323
|
-
case "TrustStoreNotFound":
|
|
3324
|
-
case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
|
|
3325
|
-
throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
|
|
3326
|
-
default:
|
|
3327
|
-
const parsedBody = parsedOutput.body;
|
|
3328
|
-
return throwDefaultError({
|
|
3329
|
-
output,
|
|
3330
|
-
parsedBody: parsedBody.Error,
|
|
3331
|
-
errorCode
|
|
3332
|
-
});
|
|
3333
|
-
}
|
|
3334
|
-
}, "de_RemoveTrustStoreRevocationsCommandError");
|
|
3335
2203
|
var de_SetIpAddressTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3336
2204
|
if (output.statusCode >= 300) {
|
|
3337
|
-
return
|
|
2205
|
+
return de_CommandError(output, context);
|
|
3338
2206
|
}
|
|
3339
2207
|
const data = await parseBody(output.body, context);
|
|
3340
2208
|
let contents = {};
|
|
@@ -3345,34 +2213,9 @@ var de_SetIpAddressTypeCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3345
2213
|
};
|
|
3346
2214
|
return response;
|
|
3347
2215
|
}, "de_SetIpAddressTypeCommand");
|
|
3348
|
-
var de_SetIpAddressTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3349
|
-
const parsedOutput = {
|
|
3350
|
-
...output,
|
|
3351
|
-
body: await parseErrorBody(output.body, context)
|
|
3352
|
-
};
|
|
3353
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3354
|
-
switch (errorCode) {
|
|
3355
|
-
case "InvalidConfigurationRequest":
|
|
3356
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidConfigurationRequestException":
|
|
3357
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
3358
|
-
case "InvalidSubnet":
|
|
3359
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidSubnetException":
|
|
3360
|
-
throw await de_InvalidSubnetExceptionRes(parsedOutput, context);
|
|
3361
|
-
case "LoadBalancerNotFound":
|
|
3362
|
-
case "com.amazonaws.elasticloadbalancingv2#LoadBalancerNotFoundException":
|
|
3363
|
-
throw await de_LoadBalancerNotFoundExceptionRes(parsedOutput, context);
|
|
3364
|
-
default:
|
|
3365
|
-
const parsedBody = parsedOutput.body;
|
|
3366
|
-
return throwDefaultError({
|
|
3367
|
-
output,
|
|
3368
|
-
parsedBody: parsedBody.Error,
|
|
3369
|
-
errorCode
|
|
3370
|
-
});
|
|
3371
|
-
}
|
|
3372
|
-
}, "de_SetIpAddressTypeCommandError");
|
|
3373
2216
|
var de_SetRulePrioritiesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3374
2217
|
if (output.statusCode >= 300) {
|
|
3375
|
-
return
|
|
2218
|
+
return de_CommandError(output, context);
|
|
3376
2219
|
}
|
|
3377
2220
|
const data = await parseBody(output.body, context);
|
|
3378
2221
|
let contents = {};
|
|
@@ -3383,34 +2226,9 @@ var de_SetRulePrioritiesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3383
2226
|
};
|
|
3384
2227
|
return response;
|
|
3385
2228
|
}, "de_SetRulePrioritiesCommand");
|
|
3386
|
-
var de_SetRulePrioritiesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3387
|
-
const parsedOutput = {
|
|
3388
|
-
...output,
|
|
3389
|
-
body: await parseErrorBody(output.body, context)
|
|
3390
|
-
};
|
|
3391
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3392
|
-
switch (errorCode) {
|
|
3393
|
-
case "OperationNotPermitted":
|
|
3394
|
-
case "com.amazonaws.elasticloadbalancingv2#OperationNotPermittedException":
|
|
3395
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
3396
|
-
case "PriorityInUse":
|
|
3397
|
-
case "com.amazonaws.elasticloadbalancingv2#PriorityInUseException":
|
|
3398
|
-
throw await de_PriorityInUseExceptionRes(parsedOutput, context);
|
|
3399
|
-
case "RuleNotFound":
|
|
3400
|
-
case "com.amazonaws.elasticloadbalancingv2#RuleNotFoundException":
|
|
3401
|
-
throw await de_RuleNotFoundExceptionRes(parsedOutput, context);
|
|
3402
|
-
default:
|
|
3403
|
-
const parsedBody = parsedOutput.body;
|
|
3404
|
-
return throwDefaultError({
|
|
3405
|
-
output,
|
|
3406
|
-
parsedBody: parsedBody.Error,
|
|
3407
|
-
errorCode
|
|
3408
|
-
});
|
|
3409
|
-
}
|
|
3410
|
-
}, "de_SetRulePrioritiesCommandError");
|
|
3411
2229
|
var de_SetSecurityGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3412
2230
|
if (output.statusCode >= 300) {
|
|
3413
|
-
return
|
|
2231
|
+
return de_CommandError(output, context);
|
|
3414
2232
|
}
|
|
3415
2233
|
const data = await parseBody(output.body, context);
|
|
3416
2234
|
let contents = {};
|
|
@@ -3421,34 +2239,9 @@ var de_SetSecurityGroupsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3421
2239
|
};
|
|
3422
2240
|
return response;
|
|
3423
2241
|
}, "de_SetSecurityGroupsCommand");
|
|
3424
|
-
var de_SetSecurityGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3425
|
-
const parsedOutput = {
|
|
3426
|
-
...output,
|
|
3427
|
-
body: await parseErrorBody(output.body, context)
|
|
3428
|
-
};
|
|
3429
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3430
|
-
switch (errorCode) {
|
|
3431
|
-
case "InvalidConfigurationRequest":
|
|
3432
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidConfigurationRequestException":
|
|
3433
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
3434
|
-
case "InvalidSecurityGroup":
|
|
3435
|
-
case "com.amazonaws.elasticloadbalancingv2#InvalidSecurityGroupException":
|
|
3436
|
-
throw await de_InvalidSecurityGroupExceptionRes(parsedOutput, context);
|
|
3437
|
-
case "LoadBalancerNotFound":
|
|
3438
|
-
case "com.amazonaws.elasticloadbalancingv2#LoadBalancerNotFoundException":
|
|
3439
|
-
throw await de_LoadBalancerNotFoundExceptionRes(parsedOutput, context);
|
|
3440
|
-
default:
|
|
3441
|
-
const parsedBody = parsedOutput.body;
|
|
3442
|
-
return throwDefaultError({
|
|
3443
|
-
output,
|
|
3444
|
-
parsedBody: parsedBody.Error,
|
|
3445
|
-
errorCode
|
|
3446
|
-
});
|
|
3447
|
-
}
|
|
3448
|
-
}, "de_SetSecurityGroupsCommandError");
|
|
3449
2242
|
var de_SetSubnetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3450
2243
|
if (output.statusCode >= 300) {
|
|
3451
|
-
return
|
|
2244
|
+
return de_CommandError(output, context);
|
|
3452
2245
|
}
|
|
3453
2246
|
const data = await parseBody(output.body, context);
|
|
3454
2247
|
let contents = {};
|
|
@@ -3459,31 +2252,157 @@ var de_SetSubnetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3459
2252
|
};
|
|
3460
2253
|
return response;
|
|
3461
2254
|
}, "de_SetSubnetsCommand");
|
|
3462
|
-
var
|
|
2255
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3463
2256
|
const parsedOutput = {
|
|
3464
2257
|
...output,
|
|
3465
2258
|
body: await parseErrorBody(output.body, context)
|
|
3466
2259
|
};
|
|
3467
2260
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3468
2261
|
switch (errorCode) {
|
|
2262
|
+
case "CertificateNotFound":
|
|
2263
|
+
case "com.amazonaws.elasticloadbalancingv2#CertificateNotFoundException":
|
|
2264
|
+
throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
|
|
2265
|
+
case "ListenerNotFound":
|
|
2266
|
+
case "com.amazonaws.elasticloadbalancingv2#ListenerNotFoundException":
|
|
2267
|
+
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
2268
|
+
case "TooManyCertificates":
|
|
2269
|
+
case "com.amazonaws.elasticloadbalancingv2#TooManyCertificatesException":
|
|
2270
|
+
throw await de_TooManyCertificatesExceptionRes(parsedOutput, context);
|
|
2271
|
+
case "DuplicateTagKeys":
|
|
2272
|
+
case "com.amazonaws.elasticloadbalancingv2#DuplicateTagKeysException":
|
|
2273
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
2274
|
+
case "LoadBalancerNotFound":
|
|
2275
|
+
case "com.amazonaws.elasticloadbalancingv2#LoadBalancerNotFoundException":
|
|
2276
|
+
throw await de_LoadBalancerNotFoundExceptionRes(parsedOutput, context);
|
|
2277
|
+
case "RuleNotFound":
|
|
2278
|
+
case "com.amazonaws.elasticloadbalancingv2#RuleNotFoundException":
|
|
2279
|
+
throw await de_RuleNotFoundExceptionRes(parsedOutput, context);
|
|
2280
|
+
case "TargetGroupNotFound":
|
|
2281
|
+
case "com.amazonaws.elasticloadbalancingv2#TargetGroupNotFoundException":
|
|
2282
|
+
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
2283
|
+
case "TooManyTags":
|
|
2284
|
+
case "com.amazonaws.elasticloadbalancingv2#TooManyTagsException":
|
|
2285
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
2286
|
+
case "TrustStoreNotFound":
|
|
2287
|
+
case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotFoundException":
|
|
2288
|
+
throw await de_TrustStoreNotFoundExceptionRes(parsedOutput, context);
|
|
2289
|
+
case "InvalidRevocationContent":
|
|
2290
|
+
case "com.amazonaws.elasticloadbalancingv2#InvalidRevocationContentException":
|
|
2291
|
+
throw await de_InvalidRevocationContentExceptionRes(parsedOutput, context);
|
|
2292
|
+
case "RevocationContentNotFound":
|
|
2293
|
+
case "com.amazonaws.elasticloadbalancingv2#RevocationContentNotFoundException":
|
|
2294
|
+
throw await de_RevocationContentNotFoundExceptionRes(parsedOutput, context);
|
|
2295
|
+
case "TooManyTrustStoreRevocationEntries":
|
|
2296
|
+
case "com.amazonaws.elasticloadbalancingv2#TooManyTrustStoreRevocationEntriesException":
|
|
2297
|
+
throw await de_TooManyTrustStoreRevocationEntriesExceptionRes(parsedOutput, context);
|
|
2298
|
+
case "ALPNPolicyNotFound":
|
|
2299
|
+
case "com.amazonaws.elasticloadbalancingv2#ALPNPolicyNotSupportedException":
|
|
2300
|
+
throw await de_ALPNPolicyNotSupportedExceptionRes(parsedOutput, context);
|
|
2301
|
+
case "DuplicateListener":
|
|
2302
|
+
case "com.amazonaws.elasticloadbalancingv2#DuplicateListenerException":
|
|
2303
|
+
throw await de_DuplicateListenerExceptionRes(parsedOutput, context);
|
|
2304
|
+
case "IncompatibleProtocols":
|
|
2305
|
+
case "com.amazonaws.elasticloadbalancingv2#IncompatibleProtocolsException":
|
|
2306
|
+
throw await de_IncompatibleProtocolsExceptionRes(parsedOutput, context);
|
|
2307
|
+
case "InvalidConfigurationRequest":
|
|
2308
|
+
case "com.amazonaws.elasticloadbalancingv2#InvalidConfigurationRequestException":
|
|
2309
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
2310
|
+
case "InvalidLoadBalancerAction":
|
|
2311
|
+
case "com.amazonaws.elasticloadbalancingv2#InvalidLoadBalancerActionException":
|
|
2312
|
+
throw await de_InvalidLoadBalancerActionExceptionRes(parsedOutput, context);
|
|
2313
|
+
case "SSLPolicyNotFound":
|
|
2314
|
+
case "com.amazonaws.elasticloadbalancingv2#SSLPolicyNotFoundException":
|
|
2315
|
+
throw await de_SSLPolicyNotFoundExceptionRes(parsedOutput, context);
|
|
2316
|
+
case "TargetGroupAssociationLimit":
|
|
2317
|
+
case "com.amazonaws.elasticloadbalancingv2#TargetGroupAssociationLimitException":
|
|
2318
|
+
throw await de_TargetGroupAssociationLimitExceptionRes(parsedOutput, context);
|
|
2319
|
+
case "TooManyActions":
|
|
2320
|
+
case "com.amazonaws.elasticloadbalancingv2#TooManyActionsException":
|
|
2321
|
+
throw await de_TooManyActionsExceptionRes(parsedOutput, context);
|
|
2322
|
+
case "TooManyListeners":
|
|
2323
|
+
case "com.amazonaws.elasticloadbalancingv2#TooManyListenersException":
|
|
2324
|
+
throw await de_TooManyListenersExceptionRes(parsedOutput, context);
|
|
2325
|
+
case "TooManyRegistrationsForTargetId":
|
|
2326
|
+
case "com.amazonaws.elasticloadbalancingv2#TooManyRegistrationsForTargetIdException":
|
|
2327
|
+
throw await de_TooManyRegistrationsForTargetIdExceptionRes(parsedOutput, context);
|
|
2328
|
+
case "TooManyTargets":
|
|
2329
|
+
case "com.amazonaws.elasticloadbalancingv2#TooManyTargetsException":
|
|
2330
|
+
throw await de_TooManyTargetsExceptionRes(parsedOutput, context);
|
|
2331
|
+
case "TooManyUniqueTargetGroupsPerLoadBalancer":
|
|
2332
|
+
case "com.amazonaws.elasticloadbalancingv2#TooManyUniqueTargetGroupsPerLoadBalancerException":
|
|
2333
|
+
throw await de_TooManyUniqueTargetGroupsPerLoadBalancerExceptionRes(parsedOutput, context);
|
|
2334
|
+
case "TrustStoreNotReady":
|
|
2335
|
+
case "com.amazonaws.elasticloadbalancingv2#TrustStoreNotReadyException":
|
|
2336
|
+
throw await de_TrustStoreNotReadyExceptionRes(parsedOutput, context);
|
|
2337
|
+
case "UnsupportedProtocol":
|
|
2338
|
+
case "com.amazonaws.elasticloadbalancingv2#UnsupportedProtocolException":
|
|
2339
|
+
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
3469
2340
|
case "AllocationIdNotFound":
|
|
3470
2341
|
case "com.amazonaws.elasticloadbalancingv2#AllocationIdNotFoundException":
|
|
3471
2342
|
throw await de_AllocationIdNotFoundExceptionRes(parsedOutput, context);
|
|
3472
2343
|
case "AvailabilityZoneNotSupported":
|
|
3473
2344
|
case "com.amazonaws.elasticloadbalancingv2#AvailabilityZoneNotSupportedException":
|
|
3474
2345
|
throw await de_AvailabilityZoneNotSupportedExceptionRes(parsedOutput, context);
|
|
3475
|
-
case "
|
|
3476
|
-
case "com.amazonaws.elasticloadbalancingv2#
|
|
3477
|
-
throw await
|
|
2346
|
+
case "DuplicateLoadBalancerName":
|
|
2347
|
+
case "com.amazonaws.elasticloadbalancingv2#DuplicateLoadBalancerNameException":
|
|
2348
|
+
throw await de_DuplicateLoadBalancerNameExceptionRes(parsedOutput, context);
|
|
2349
|
+
case "InvalidScheme":
|
|
2350
|
+
case "com.amazonaws.elasticloadbalancingv2#InvalidSchemeException":
|
|
2351
|
+
throw await de_InvalidSchemeExceptionRes(parsedOutput, context);
|
|
2352
|
+
case "InvalidSecurityGroup":
|
|
2353
|
+
case "com.amazonaws.elasticloadbalancingv2#InvalidSecurityGroupException":
|
|
2354
|
+
throw await de_InvalidSecurityGroupExceptionRes(parsedOutput, context);
|
|
3478
2355
|
case "InvalidSubnet":
|
|
3479
2356
|
case "com.amazonaws.elasticloadbalancingv2#InvalidSubnetException":
|
|
3480
2357
|
throw await de_InvalidSubnetExceptionRes(parsedOutput, context);
|
|
3481
|
-
case "
|
|
3482
|
-
case "com.amazonaws.elasticloadbalancingv2#
|
|
3483
|
-
throw await
|
|
2358
|
+
case "OperationNotPermitted":
|
|
2359
|
+
case "com.amazonaws.elasticloadbalancingv2#OperationNotPermittedException":
|
|
2360
|
+
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2361
|
+
case "ResourceInUse":
|
|
2362
|
+
case "com.amazonaws.elasticloadbalancingv2#ResourceInUseException":
|
|
2363
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
3484
2364
|
case "SubnetNotFound":
|
|
3485
2365
|
case "com.amazonaws.elasticloadbalancingv2#SubnetNotFoundException":
|
|
3486
2366
|
throw await de_SubnetNotFoundExceptionRes(parsedOutput, context);
|
|
2367
|
+
case "TooManyLoadBalancers":
|
|
2368
|
+
case "com.amazonaws.elasticloadbalancingv2#TooManyLoadBalancersException":
|
|
2369
|
+
throw await de_TooManyLoadBalancersExceptionRes(parsedOutput, context);
|
|
2370
|
+
case "PriorityInUse":
|
|
2371
|
+
case "com.amazonaws.elasticloadbalancingv2#PriorityInUseException":
|
|
2372
|
+
throw await de_PriorityInUseExceptionRes(parsedOutput, context);
|
|
2373
|
+
case "TooManyRules":
|
|
2374
|
+
case "com.amazonaws.elasticloadbalancingv2#TooManyRulesException":
|
|
2375
|
+
throw await de_TooManyRulesExceptionRes(parsedOutput, context);
|
|
2376
|
+
case "TooManyTargetGroups":
|
|
2377
|
+
case "com.amazonaws.elasticloadbalancingv2#TooManyTargetGroupsException":
|
|
2378
|
+
throw await de_TooManyTargetGroupsExceptionRes(parsedOutput, context);
|
|
2379
|
+
case "DuplicateTargetGroupName":
|
|
2380
|
+
case "com.amazonaws.elasticloadbalancingv2#DuplicateTargetGroupNameException":
|
|
2381
|
+
throw await de_DuplicateTargetGroupNameExceptionRes(parsedOutput, context);
|
|
2382
|
+
case "CaCertificatesBundleNotFound":
|
|
2383
|
+
case "com.amazonaws.elasticloadbalancingv2#CaCertificatesBundleNotFoundException":
|
|
2384
|
+
throw await de_CaCertificatesBundleNotFoundExceptionRes(parsedOutput, context);
|
|
2385
|
+
case "DuplicateTrustStoreName":
|
|
2386
|
+
case "com.amazonaws.elasticloadbalancingv2#DuplicateTrustStoreNameException":
|
|
2387
|
+
throw await de_DuplicateTrustStoreNameExceptionRes(parsedOutput, context);
|
|
2388
|
+
case "InvalidCaCertificatesBundle":
|
|
2389
|
+
case "com.amazonaws.elasticloadbalancingv2#InvalidCaCertificatesBundleException":
|
|
2390
|
+
throw await de_InvalidCaCertificatesBundleExceptionRes(parsedOutput, context);
|
|
2391
|
+
case "TooManyTrustStores":
|
|
2392
|
+
case "com.amazonaws.elasticloadbalancingv2#TooManyTrustStoresException":
|
|
2393
|
+
throw await de_TooManyTrustStoresExceptionRes(parsedOutput, context);
|
|
2394
|
+
case "TrustStoreInUse":
|
|
2395
|
+
case "com.amazonaws.elasticloadbalancingv2#TrustStoreInUseException":
|
|
2396
|
+
throw await de_TrustStoreInUseExceptionRes(parsedOutput, context);
|
|
2397
|
+
case "InvalidTarget":
|
|
2398
|
+
case "com.amazonaws.elasticloadbalancingv2#InvalidTargetException":
|
|
2399
|
+
throw await de_InvalidTargetExceptionRes(parsedOutput, context);
|
|
2400
|
+
case "HealthUnavailable":
|
|
2401
|
+
case "com.amazonaws.elasticloadbalancingv2#HealthUnavailableException":
|
|
2402
|
+
throw await de_HealthUnavailableExceptionRes(parsedOutput, context);
|
|
2403
|
+
case "RevocationIdNotFound":
|
|
2404
|
+
case "com.amazonaws.elasticloadbalancingv2#RevocationIdNotFoundException":
|
|
2405
|
+
throw await de_RevocationIdNotFoundExceptionRes(parsedOutput, context);
|
|
3487
2406
|
default:
|
|
3488
2407
|
const parsedBody = parsedOutput.body;
|
|
3489
2408
|
return throwDefaultError({
|
|
@@ -3492,7 +2411,7 @@ var de_SetSubnetsCommandError = /* @__PURE__ */ __name(async (output, context) =
|
|
|
3492
2411
|
errorCode
|
|
3493
2412
|
});
|
|
3494
2413
|
}
|
|
3495
|
-
}, "
|
|
2414
|
+
}, "de_CommandError");
|
|
3496
2415
|
var de_AllocationIdNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3497
2416
|
const body = parsedOutput.body;
|
|
3498
2417
|
const deserialized = de_AllocationIdNotFoundException(body.Error, context);
|