@aws-sdk/client-elastic-load-balancing-v2 3.525.0 → 3.529.1
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 +46 -79
- package/dist-es/protocols/Aws_query.js +2 -34
- package/package.json +4 -5
package/dist-cjs/index.js
CHANGED
|
@@ -308,9 +308,9 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
308
308
|
var import_types = require("@smithy/types");
|
|
309
309
|
|
|
310
310
|
// src/protocols/Aws_query.ts
|
|
311
|
+
var import_core2 = require("@aws-sdk/core");
|
|
311
312
|
|
|
312
313
|
|
|
313
|
-
var import_fast_xml_parser = require("fast-xml-parser");
|
|
314
314
|
|
|
315
315
|
// src/models/ElasticLoadBalancingV2ServiceException.ts
|
|
316
316
|
|
|
@@ -1742,7 +1742,7 @@ var de_AddListenerCertificatesCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1742
1742
|
if (output.statusCode >= 300) {
|
|
1743
1743
|
return de_CommandError(output, context);
|
|
1744
1744
|
}
|
|
1745
|
-
const data = await
|
|
1745
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1746
1746
|
let contents = {};
|
|
1747
1747
|
contents = de_AddListenerCertificatesOutput(data.AddListenerCertificatesResult, context);
|
|
1748
1748
|
const response = {
|
|
@@ -1755,7 +1755,7 @@ var de_AddTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1755
1755
|
if (output.statusCode >= 300) {
|
|
1756
1756
|
return de_CommandError(output, context);
|
|
1757
1757
|
}
|
|
1758
|
-
const data = await
|
|
1758
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1759
1759
|
let contents = {};
|
|
1760
1760
|
contents = de_AddTagsOutput(data.AddTagsResult, context);
|
|
1761
1761
|
const response = {
|
|
@@ -1768,7 +1768,7 @@ var de_AddTrustStoreRevocationsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1768
1768
|
if (output.statusCode >= 300) {
|
|
1769
1769
|
return de_CommandError(output, context);
|
|
1770
1770
|
}
|
|
1771
|
-
const data = await
|
|
1771
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1772
1772
|
let contents = {};
|
|
1773
1773
|
contents = de_AddTrustStoreRevocationsOutput(data.AddTrustStoreRevocationsResult, context);
|
|
1774
1774
|
const response = {
|
|
@@ -1781,7 +1781,7 @@ var de_CreateListenerCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1781
1781
|
if (output.statusCode >= 300) {
|
|
1782
1782
|
return de_CommandError(output, context);
|
|
1783
1783
|
}
|
|
1784
|
-
const data = await
|
|
1784
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1785
1785
|
let contents = {};
|
|
1786
1786
|
contents = de_CreateListenerOutput(data.CreateListenerResult, context);
|
|
1787
1787
|
const response = {
|
|
@@ -1794,7 +1794,7 @@ var de_CreateLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1794
1794
|
if (output.statusCode >= 300) {
|
|
1795
1795
|
return de_CommandError(output, context);
|
|
1796
1796
|
}
|
|
1797
|
-
const data = await
|
|
1797
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1798
1798
|
let contents = {};
|
|
1799
1799
|
contents = de_CreateLoadBalancerOutput(data.CreateLoadBalancerResult, context);
|
|
1800
1800
|
const response = {
|
|
@@ -1807,7 +1807,7 @@ var de_CreateRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1807
1807
|
if (output.statusCode >= 300) {
|
|
1808
1808
|
return de_CommandError(output, context);
|
|
1809
1809
|
}
|
|
1810
|
-
const data = await
|
|
1810
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1811
1811
|
let contents = {};
|
|
1812
1812
|
contents = de_CreateRuleOutput(data.CreateRuleResult, context);
|
|
1813
1813
|
const response = {
|
|
@@ -1820,7 +1820,7 @@ var de_CreateTargetGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1820
1820
|
if (output.statusCode >= 300) {
|
|
1821
1821
|
return de_CommandError(output, context);
|
|
1822
1822
|
}
|
|
1823
|
-
const data = await
|
|
1823
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1824
1824
|
let contents = {};
|
|
1825
1825
|
contents = de_CreateTargetGroupOutput(data.CreateTargetGroupResult, context);
|
|
1826
1826
|
const response = {
|
|
@@ -1833,7 +1833,7 @@ var de_CreateTrustStoreCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1833
1833
|
if (output.statusCode >= 300) {
|
|
1834
1834
|
return de_CommandError(output, context);
|
|
1835
1835
|
}
|
|
1836
|
-
const data = await
|
|
1836
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1837
1837
|
let contents = {};
|
|
1838
1838
|
contents = de_CreateTrustStoreOutput(data.CreateTrustStoreResult, context);
|
|
1839
1839
|
const response = {
|
|
@@ -1846,7 +1846,7 @@ var de_DeleteListenerCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1846
1846
|
if (output.statusCode >= 300) {
|
|
1847
1847
|
return de_CommandError(output, context);
|
|
1848
1848
|
}
|
|
1849
|
-
const data = await
|
|
1849
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1850
1850
|
let contents = {};
|
|
1851
1851
|
contents = de_DeleteListenerOutput(data.DeleteListenerResult, context);
|
|
1852
1852
|
const response = {
|
|
@@ -1859,7 +1859,7 @@ var de_DeleteLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1859
1859
|
if (output.statusCode >= 300) {
|
|
1860
1860
|
return de_CommandError(output, context);
|
|
1861
1861
|
}
|
|
1862
|
-
const data = await
|
|
1862
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1863
1863
|
let contents = {};
|
|
1864
1864
|
contents = de_DeleteLoadBalancerOutput(data.DeleteLoadBalancerResult, context);
|
|
1865
1865
|
const response = {
|
|
@@ -1872,7 +1872,7 @@ var de_DeleteRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1872
1872
|
if (output.statusCode >= 300) {
|
|
1873
1873
|
return de_CommandError(output, context);
|
|
1874
1874
|
}
|
|
1875
|
-
const data = await
|
|
1875
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1876
1876
|
let contents = {};
|
|
1877
1877
|
contents = de_DeleteRuleOutput(data.DeleteRuleResult, context);
|
|
1878
1878
|
const response = {
|
|
@@ -1885,7 +1885,7 @@ var de_DeleteTargetGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1885
1885
|
if (output.statusCode >= 300) {
|
|
1886
1886
|
return de_CommandError(output, context);
|
|
1887
1887
|
}
|
|
1888
|
-
const data = await
|
|
1888
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1889
1889
|
let contents = {};
|
|
1890
1890
|
contents = de_DeleteTargetGroupOutput(data.DeleteTargetGroupResult, context);
|
|
1891
1891
|
const response = {
|
|
@@ -1898,7 +1898,7 @@ var de_DeleteTrustStoreCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1898
1898
|
if (output.statusCode >= 300) {
|
|
1899
1899
|
return de_CommandError(output, context);
|
|
1900
1900
|
}
|
|
1901
|
-
const data = await
|
|
1901
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1902
1902
|
let contents = {};
|
|
1903
1903
|
contents = de_DeleteTrustStoreOutput(data.DeleteTrustStoreResult, context);
|
|
1904
1904
|
const response = {
|
|
@@ -1911,7 +1911,7 @@ var de_DeregisterTargetsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1911
1911
|
if (output.statusCode >= 300) {
|
|
1912
1912
|
return de_CommandError(output, context);
|
|
1913
1913
|
}
|
|
1914
|
-
const data = await
|
|
1914
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1915
1915
|
let contents = {};
|
|
1916
1916
|
contents = de_DeregisterTargetsOutput(data.DeregisterTargetsResult, context);
|
|
1917
1917
|
const response = {
|
|
@@ -1924,7 +1924,7 @@ var de_DescribeAccountLimitsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1924
1924
|
if (output.statusCode >= 300) {
|
|
1925
1925
|
return de_CommandError(output, context);
|
|
1926
1926
|
}
|
|
1927
|
-
const data = await
|
|
1927
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1928
1928
|
let contents = {};
|
|
1929
1929
|
contents = de_DescribeAccountLimitsOutput(data.DescribeAccountLimitsResult, context);
|
|
1930
1930
|
const response = {
|
|
@@ -1937,7 +1937,7 @@ var de_DescribeListenerCertificatesCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
1937
1937
|
if (output.statusCode >= 300) {
|
|
1938
1938
|
return de_CommandError(output, context);
|
|
1939
1939
|
}
|
|
1940
|
-
const data = await
|
|
1940
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1941
1941
|
let contents = {};
|
|
1942
1942
|
contents = de_DescribeListenerCertificatesOutput(data.DescribeListenerCertificatesResult, context);
|
|
1943
1943
|
const response = {
|
|
@@ -1950,7 +1950,7 @@ var de_DescribeListenersCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1950
1950
|
if (output.statusCode >= 300) {
|
|
1951
1951
|
return de_CommandError(output, context);
|
|
1952
1952
|
}
|
|
1953
|
-
const data = await
|
|
1953
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1954
1954
|
let contents = {};
|
|
1955
1955
|
contents = de_DescribeListenersOutput(data.DescribeListenersResult, context);
|
|
1956
1956
|
const response = {
|
|
@@ -1963,7 +1963,7 @@ var de_DescribeLoadBalancerAttributesCommand = /* @__PURE__ */ __name(async (out
|
|
|
1963
1963
|
if (output.statusCode >= 300) {
|
|
1964
1964
|
return de_CommandError(output, context);
|
|
1965
1965
|
}
|
|
1966
|
-
const data = await
|
|
1966
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1967
1967
|
let contents = {};
|
|
1968
1968
|
contents = de_DescribeLoadBalancerAttributesOutput(data.DescribeLoadBalancerAttributesResult, context);
|
|
1969
1969
|
const response = {
|
|
@@ -1976,7 +1976,7 @@ var de_DescribeLoadBalancersCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1976
1976
|
if (output.statusCode >= 300) {
|
|
1977
1977
|
return de_CommandError(output, context);
|
|
1978
1978
|
}
|
|
1979
|
-
const data = await
|
|
1979
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1980
1980
|
let contents = {};
|
|
1981
1981
|
contents = de_DescribeLoadBalancersOutput(data.DescribeLoadBalancersResult, context);
|
|
1982
1982
|
const response = {
|
|
@@ -1989,7 +1989,7 @@ var de_DescribeRulesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1989
1989
|
if (output.statusCode >= 300) {
|
|
1990
1990
|
return de_CommandError(output, context);
|
|
1991
1991
|
}
|
|
1992
|
-
const data = await
|
|
1992
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1993
1993
|
let contents = {};
|
|
1994
1994
|
contents = de_DescribeRulesOutput(data.DescribeRulesResult, context);
|
|
1995
1995
|
const response = {
|
|
@@ -2002,7 +2002,7 @@ var de_DescribeSSLPoliciesCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2002
2002
|
if (output.statusCode >= 300) {
|
|
2003
2003
|
return de_CommandError(output, context);
|
|
2004
2004
|
}
|
|
2005
|
-
const data = await
|
|
2005
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2006
2006
|
let contents = {};
|
|
2007
2007
|
contents = de_DescribeSSLPoliciesOutput(data.DescribeSSLPoliciesResult, context);
|
|
2008
2008
|
const response = {
|
|
@@ -2015,7 +2015,7 @@ var de_DescribeTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2015
2015
|
if (output.statusCode >= 300) {
|
|
2016
2016
|
return de_CommandError(output, context);
|
|
2017
2017
|
}
|
|
2018
|
-
const data = await
|
|
2018
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2019
2019
|
let contents = {};
|
|
2020
2020
|
contents = de_DescribeTagsOutput(data.DescribeTagsResult, context);
|
|
2021
2021
|
const response = {
|
|
@@ -2028,7 +2028,7 @@ var de_DescribeTargetGroupAttributesCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2028
2028
|
if (output.statusCode >= 300) {
|
|
2029
2029
|
return de_CommandError(output, context);
|
|
2030
2030
|
}
|
|
2031
|
-
const data = await
|
|
2031
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2032
2032
|
let contents = {};
|
|
2033
2033
|
contents = de_DescribeTargetGroupAttributesOutput(data.DescribeTargetGroupAttributesResult, context);
|
|
2034
2034
|
const response = {
|
|
@@ -2041,7 +2041,7 @@ var de_DescribeTargetGroupsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2041
2041
|
if (output.statusCode >= 300) {
|
|
2042
2042
|
return de_CommandError(output, context);
|
|
2043
2043
|
}
|
|
2044
|
-
const data = await
|
|
2044
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2045
2045
|
let contents = {};
|
|
2046
2046
|
contents = de_DescribeTargetGroupsOutput(data.DescribeTargetGroupsResult, context);
|
|
2047
2047
|
const response = {
|
|
@@ -2054,7 +2054,7 @@ var de_DescribeTargetHealthCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2054
2054
|
if (output.statusCode >= 300) {
|
|
2055
2055
|
return de_CommandError(output, context);
|
|
2056
2056
|
}
|
|
2057
|
-
const data = await
|
|
2057
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2058
2058
|
let contents = {};
|
|
2059
2059
|
contents = de_DescribeTargetHealthOutput(data.DescribeTargetHealthResult, context);
|
|
2060
2060
|
const response = {
|
|
@@ -2067,7 +2067,7 @@ var de_DescribeTrustStoreAssociationsCommand = /* @__PURE__ */ __name(async (out
|
|
|
2067
2067
|
if (output.statusCode >= 300) {
|
|
2068
2068
|
return de_CommandError(output, context);
|
|
2069
2069
|
}
|
|
2070
|
-
const data = await
|
|
2070
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2071
2071
|
let contents = {};
|
|
2072
2072
|
contents = de_DescribeTrustStoreAssociationsOutput(data.DescribeTrustStoreAssociationsResult, context);
|
|
2073
2073
|
const response = {
|
|
@@ -2080,7 +2080,7 @@ var de_DescribeTrustStoreRevocationsCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2080
2080
|
if (output.statusCode >= 300) {
|
|
2081
2081
|
return de_CommandError(output, context);
|
|
2082
2082
|
}
|
|
2083
|
-
const data = await
|
|
2083
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2084
2084
|
let contents = {};
|
|
2085
2085
|
contents = de_DescribeTrustStoreRevocationsOutput(data.DescribeTrustStoreRevocationsResult, context);
|
|
2086
2086
|
const response = {
|
|
@@ -2093,7 +2093,7 @@ var de_DescribeTrustStoresCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2093
2093
|
if (output.statusCode >= 300) {
|
|
2094
2094
|
return de_CommandError(output, context);
|
|
2095
2095
|
}
|
|
2096
|
-
const data = await
|
|
2096
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2097
2097
|
let contents = {};
|
|
2098
2098
|
contents = de_DescribeTrustStoresOutput(data.DescribeTrustStoresResult, context);
|
|
2099
2099
|
const response = {
|
|
@@ -2106,7 +2106,7 @@ var de_GetTrustStoreCaCertificatesBundleCommand = /* @__PURE__ */ __name(async (
|
|
|
2106
2106
|
if (output.statusCode >= 300) {
|
|
2107
2107
|
return de_CommandError(output, context);
|
|
2108
2108
|
}
|
|
2109
|
-
const data = await
|
|
2109
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2110
2110
|
let contents = {};
|
|
2111
2111
|
contents = de_GetTrustStoreCaCertificatesBundleOutput(data.GetTrustStoreCaCertificatesBundleResult, context);
|
|
2112
2112
|
const response = {
|
|
@@ -2119,7 +2119,7 @@ var de_GetTrustStoreRevocationContentCommand = /* @__PURE__ */ __name(async (out
|
|
|
2119
2119
|
if (output.statusCode >= 300) {
|
|
2120
2120
|
return de_CommandError(output, context);
|
|
2121
2121
|
}
|
|
2122
|
-
const data = await
|
|
2122
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2123
2123
|
let contents = {};
|
|
2124
2124
|
contents = de_GetTrustStoreRevocationContentOutput(data.GetTrustStoreRevocationContentResult, context);
|
|
2125
2125
|
const response = {
|
|
@@ -2132,7 +2132,7 @@ var de_ModifyListenerCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2132
2132
|
if (output.statusCode >= 300) {
|
|
2133
2133
|
return de_CommandError(output, context);
|
|
2134
2134
|
}
|
|
2135
|
-
const data = await
|
|
2135
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2136
2136
|
let contents = {};
|
|
2137
2137
|
contents = de_ModifyListenerOutput(data.ModifyListenerResult, context);
|
|
2138
2138
|
const response = {
|
|
@@ -2145,7 +2145,7 @@ var de_ModifyLoadBalancerAttributesCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2145
2145
|
if (output.statusCode >= 300) {
|
|
2146
2146
|
return de_CommandError(output, context);
|
|
2147
2147
|
}
|
|
2148
|
-
const data = await
|
|
2148
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2149
2149
|
let contents = {};
|
|
2150
2150
|
contents = de_ModifyLoadBalancerAttributesOutput(data.ModifyLoadBalancerAttributesResult, context);
|
|
2151
2151
|
const response = {
|
|
@@ -2158,7 +2158,7 @@ var de_ModifyRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2158
2158
|
if (output.statusCode >= 300) {
|
|
2159
2159
|
return de_CommandError(output, context);
|
|
2160
2160
|
}
|
|
2161
|
-
const data = await
|
|
2161
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2162
2162
|
let contents = {};
|
|
2163
2163
|
contents = de_ModifyRuleOutput(data.ModifyRuleResult, context);
|
|
2164
2164
|
const response = {
|
|
@@ -2171,7 +2171,7 @@ var de_ModifyTargetGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2171
2171
|
if (output.statusCode >= 300) {
|
|
2172
2172
|
return de_CommandError(output, context);
|
|
2173
2173
|
}
|
|
2174
|
-
const data = await
|
|
2174
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2175
2175
|
let contents = {};
|
|
2176
2176
|
contents = de_ModifyTargetGroupOutput(data.ModifyTargetGroupResult, context);
|
|
2177
2177
|
const response = {
|
|
@@ -2184,7 +2184,7 @@ var de_ModifyTargetGroupAttributesCommand = /* @__PURE__ */ __name(async (output
|
|
|
2184
2184
|
if (output.statusCode >= 300) {
|
|
2185
2185
|
return de_CommandError(output, context);
|
|
2186
2186
|
}
|
|
2187
|
-
const data = await
|
|
2187
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2188
2188
|
let contents = {};
|
|
2189
2189
|
contents = de_ModifyTargetGroupAttributesOutput(data.ModifyTargetGroupAttributesResult, context);
|
|
2190
2190
|
const response = {
|
|
@@ -2197,7 +2197,7 @@ var de_ModifyTrustStoreCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2197
2197
|
if (output.statusCode >= 300) {
|
|
2198
2198
|
return de_CommandError(output, context);
|
|
2199
2199
|
}
|
|
2200
|
-
const data = await
|
|
2200
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2201
2201
|
let contents = {};
|
|
2202
2202
|
contents = de_ModifyTrustStoreOutput(data.ModifyTrustStoreResult, context);
|
|
2203
2203
|
const response = {
|
|
@@ -2210,7 +2210,7 @@ var de_RegisterTargetsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2210
2210
|
if (output.statusCode >= 300) {
|
|
2211
2211
|
return de_CommandError(output, context);
|
|
2212
2212
|
}
|
|
2213
|
-
const data = await
|
|
2213
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2214
2214
|
let contents = {};
|
|
2215
2215
|
contents = de_RegisterTargetsOutput(data.RegisterTargetsResult, context);
|
|
2216
2216
|
const response = {
|
|
@@ -2223,7 +2223,7 @@ var de_RemoveListenerCertificatesCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2223
2223
|
if (output.statusCode >= 300) {
|
|
2224
2224
|
return de_CommandError(output, context);
|
|
2225
2225
|
}
|
|
2226
|
-
const data = await
|
|
2226
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2227
2227
|
let contents = {};
|
|
2228
2228
|
contents = de_RemoveListenerCertificatesOutput(data.RemoveListenerCertificatesResult, context);
|
|
2229
2229
|
const response = {
|
|
@@ -2236,7 +2236,7 @@ var de_RemoveTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2236
2236
|
if (output.statusCode >= 300) {
|
|
2237
2237
|
return de_CommandError(output, context);
|
|
2238
2238
|
}
|
|
2239
|
-
const data = await
|
|
2239
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2240
2240
|
let contents = {};
|
|
2241
2241
|
contents = de_RemoveTagsOutput(data.RemoveTagsResult, context);
|
|
2242
2242
|
const response = {
|
|
@@ -2249,7 +2249,7 @@ var de_RemoveTrustStoreRevocationsCommand = /* @__PURE__ */ __name(async (output
|
|
|
2249
2249
|
if (output.statusCode >= 300) {
|
|
2250
2250
|
return de_CommandError(output, context);
|
|
2251
2251
|
}
|
|
2252
|
-
const data = await
|
|
2252
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2253
2253
|
let contents = {};
|
|
2254
2254
|
contents = de_RemoveTrustStoreRevocationsOutput(data.RemoveTrustStoreRevocationsResult, context);
|
|
2255
2255
|
const response = {
|
|
@@ -2262,7 +2262,7 @@ var de_SetIpAddressTypeCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2262
2262
|
if (output.statusCode >= 300) {
|
|
2263
2263
|
return de_CommandError(output, context);
|
|
2264
2264
|
}
|
|
2265
|
-
const data = await
|
|
2265
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2266
2266
|
let contents = {};
|
|
2267
2267
|
contents = de_SetIpAddressTypeOutput(data.SetIpAddressTypeResult, context);
|
|
2268
2268
|
const response = {
|
|
@@ -2275,7 +2275,7 @@ var de_SetRulePrioritiesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2275
2275
|
if (output.statusCode >= 300) {
|
|
2276
2276
|
return de_CommandError(output, context);
|
|
2277
2277
|
}
|
|
2278
|
-
const data = await
|
|
2278
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2279
2279
|
let contents = {};
|
|
2280
2280
|
contents = de_SetRulePrioritiesOutput(data.SetRulePrioritiesResult, context);
|
|
2281
2281
|
const response = {
|
|
@@ -2288,7 +2288,7 @@ var de_SetSecurityGroupsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2288
2288
|
if (output.statusCode >= 300) {
|
|
2289
2289
|
return de_CommandError(output, context);
|
|
2290
2290
|
}
|
|
2291
|
-
const data = await
|
|
2291
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2292
2292
|
let contents = {};
|
|
2293
2293
|
contents = de_SetSecurityGroupsOutput(data.SetSecurityGroupsResult, context);
|
|
2294
2294
|
const response = {
|
|
@@ -2301,7 +2301,7 @@ var de_SetSubnetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2301
2301
|
if (output.statusCode >= 300) {
|
|
2302
2302
|
return de_CommandError(output, context);
|
|
2303
2303
|
}
|
|
2304
|
-
const data = await
|
|
2304
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2305
2305
|
let contents = {};
|
|
2306
2306
|
contents = de_SetSubnetsOutput(data.SetSubnetsResult, context);
|
|
2307
2307
|
const response = {
|
|
@@ -2313,7 +2313,7 @@ var de_SetSubnetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2313
2313
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2314
2314
|
const parsedOutput = {
|
|
2315
2315
|
...output,
|
|
2316
|
-
body: await
|
|
2316
|
+
body: await (0, import_core2.parseXmlErrorBody)(output.body, context)
|
|
2317
2317
|
};
|
|
2318
2318
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2319
2319
|
switch (errorCode) {
|
|
@@ -6373,7 +6373,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
6373
6373
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
6374
6374
|
cfId: output.headers["x-amz-cf-id"]
|
|
6375
6375
|
}), "deserializeMetadata");
|
|
6376
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
6377
6376
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(ElasticLoadBalancingV2ServiceException);
|
|
6378
6377
|
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
6379
6378
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -6604,38 +6603,6 @@ var _W = "Weight";
|
|
|
6604
6603
|
var _ZN = "ZoneName";
|
|
6605
6604
|
var _e = "entry";
|
|
6606
6605
|
var _m = "member";
|
|
6607
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
6608
|
-
if (encoded.length) {
|
|
6609
|
-
const parser = new import_fast_xml_parser.XMLParser({
|
|
6610
|
-
attributeNamePrefix: "",
|
|
6611
|
-
htmlEntities: true,
|
|
6612
|
-
ignoreAttributes: false,
|
|
6613
|
-
ignoreDeclaration: true,
|
|
6614
|
-
parseTagValue: false,
|
|
6615
|
-
trimValues: false,
|
|
6616
|
-
tagValueProcessor: (_2, val) => val.trim() === "" && val.includes("\n") ? "" : void 0
|
|
6617
|
-
});
|
|
6618
|
-
parser.addEntity("#xD", "\r");
|
|
6619
|
-
parser.addEntity("#10", "\n");
|
|
6620
|
-
const parsedObj = parser.parse(encoded);
|
|
6621
|
-
const textNodeName = "#text";
|
|
6622
|
-
const key = Object.keys(parsedObj)[0];
|
|
6623
|
-
const parsedObjToReturn = parsedObj[key];
|
|
6624
|
-
if (parsedObjToReturn[textNodeName]) {
|
|
6625
|
-
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
6626
|
-
delete parsedObjToReturn[textNodeName];
|
|
6627
|
-
}
|
|
6628
|
-
return (0, import_smithy_client.getValueFromTextNode)(parsedObjToReturn);
|
|
6629
|
-
}
|
|
6630
|
-
return {};
|
|
6631
|
-
}), "parseBody");
|
|
6632
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
6633
|
-
const value = await parseBody(errorBody, context);
|
|
6634
|
-
if (value.Error) {
|
|
6635
|
-
value.Error.message = value.Error.message ?? value.Error.Message;
|
|
6636
|
-
}
|
|
6637
|
-
return value;
|
|
6638
|
-
}, "parseErrorBody");
|
|
6639
6606
|
var buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0, import_smithy_client.extendedEncodeURIComponent)(key) + "=" + (0, import_smithy_client.extendedEncodeURIComponent)(value)).join("&"), "buildFormUrlencodedString");
|
|
6640
6607
|
var loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
6641
6608
|
var _a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
1
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
|
-
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem,
|
|
3
|
-
import { XMLParser } from "fast-xml-parser";
|
|
3
|
+
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { ElasticLoadBalancingV2ServiceException as __BaseException } from "../models/ElasticLoadBalancingV2ServiceException";
|
|
5
5
|
import { AllocationIdNotFoundException, ALPNPolicyNotSupportedException, AvailabilityZoneNotSupportedException, CaCertificatesBundleNotFoundException, CertificateNotFoundException, DuplicateListenerException, DuplicateLoadBalancerNameException, DuplicateTagKeysException, DuplicateTargetGroupNameException, DuplicateTrustStoreNameException, HealthUnavailableException, IncompatibleProtocolsException, InvalidCaCertificatesBundleException, InvalidConfigurationRequestException, InvalidLoadBalancerActionException, InvalidRevocationContentException, InvalidSchemeException, InvalidSecurityGroupException, InvalidSubnetException, InvalidTargetException, ListenerNotFoundException, LoadBalancerNotFoundException, OperationNotPermittedException, PriorityInUseException, ResourceInUseException, RevocationContentNotFoundException, RevocationIdNotFoundException, RuleNotFoundException, SSLPolicyNotFoundException, SubnetNotFoundException, TargetGroupAssociationLimitException, TargetGroupNotFoundException, TooManyActionsException, TooManyCertificatesException, TooManyListenersException, TooManyLoadBalancersException, TooManyRegistrationsForTargetIdException, TooManyRulesException, TooManyTagsException, TooManyTargetGroupsException, TooManyTargetsException, TooManyTrustStoreRevocationEntriesException, TooManyTrustStoresException, TooManyUniqueTargetGroupsPerLoadBalancerException, TrustStoreInUseException, TrustStoreNotFoundException, TrustStoreNotReadyException, UnsupportedProtocolException, } from "../models/models_0";
|
|
6
6
|
export const se_AddListenerCertificatesCommand = async (input, context) => {
|
|
@@ -5379,38 +5379,6 @@ const _W = "Weight";
|
|
|
5379
5379
|
const _ZN = "ZoneName";
|
|
5380
5380
|
const _e = "entry";
|
|
5381
5381
|
const _m = "member";
|
|
5382
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
5383
|
-
if (encoded.length) {
|
|
5384
|
-
const parser = new XMLParser({
|
|
5385
|
-
attributeNamePrefix: "",
|
|
5386
|
-
htmlEntities: true,
|
|
5387
|
-
ignoreAttributes: false,
|
|
5388
|
-
ignoreDeclaration: true,
|
|
5389
|
-
parseTagValue: false,
|
|
5390
|
-
trimValues: false,
|
|
5391
|
-
tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
|
|
5392
|
-
});
|
|
5393
|
-
parser.addEntity("#xD", "\r");
|
|
5394
|
-
parser.addEntity("#10", "\n");
|
|
5395
|
-
const parsedObj = parser.parse(encoded);
|
|
5396
|
-
const textNodeName = "#text";
|
|
5397
|
-
const key = Object.keys(parsedObj)[0];
|
|
5398
|
-
const parsedObjToReturn = parsedObj[key];
|
|
5399
|
-
if (parsedObjToReturn[textNodeName]) {
|
|
5400
|
-
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
5401
|
-
delete parsedObjToReturn[textNodeName];
|
|
5402
|
-
}
|
|
5403
|
-
return __getValueFromTextNode(parsedObjToReturn);
|
|
5404
|
-
}
|
|
5405
|
-
return {};
|
|
5406
|
-
});
|
|
5407
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
5408
|
-
const value = await parseBody(errorBody, context);
|
|
5409
|
-
if (value.Error) {
|
|
5410
|
-
value.Error.message = value.Error.message ?? value.Error.Message;
|
|
5411
|
-
}
|
|
5412
|
-
return value;
|
|
5413
|
-
};
|
|
5414
5382
|
const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
5415
5383
|
.map(([key, value]) => __extendedEncodeURIComponent(key) + "=" + __extendedEncodeURIComponent(value))
|
|
5416
5384
|
.join("&");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elastic-load-balancing-v2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Elastic Load Balancing V2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.529.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-elastic-load-balancing-v2",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.529.1",
|
|
24
|
+
"@aws-sdk/core": "3.529.1",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.1",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.523.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.523.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.523.0",
|
|
@@ -58,7 +58,6 @@
|
|
|
58
58
|
"@smithy/util-retry": "^2.1.3",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
|
60
60
|
"@smithy/util-waiter": "^2.1.3",
|
|
61
|
-
"fast-xml-parser": "4.2.5",
|
|
62
61
|
"tslib": "^2.5.0"
|
|
63
62
|
},
|
|
64
63
|
"devDependencies": {
|