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