@aws-sdk/client-proton 3.525.0 → 3.529.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 +89 -130
- package/dist-es/protocols/Aws_json1_0.js +1 -41
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -1747,7 +1747,7 @@ var de_AcceptEnvironmentAccountConnectionCommand = /* @__PURE__ */ __name(async
|
|
|
1747
1747
|
if (output.statusCode >= 300) {
|
|
1748
1748
|
return de_CommandError(output, context);
|
|
1749
1749
|
}
|
|
1750
|
-
const data = await
|
|
1750
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1751
1751
|
let contents = {};
|
|
1752
1752
|
contents = de_AcceptEnvironmentAccountConnectionOutput(data, context);
|
|
1753
1753
|
const response = {
|
|
@@ -1760,7 +1760,7 @@ var de_CancelComponentDeploymentCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1760
1760
|
if (output.statusCode >= 300) {
|
|
1761
1761
|
return de_CommandError(output, context);
|
|
1762
1762
|
}
|
|
1763
|
-
const data = await
|
|
1763
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1764
1764
|
let contents = {};
|
|
1765
1765
|
contents = de_CancelComponentDeploymentOutput(data, context);
|
|
1766
1766
|
const response = {
|
|
@@ -1773,7 +1773,7 @@ var de_CancelEnvironmentDeploymentCommand = /* @__PURE__ */ __name(async (output
|
|
|
1773
1773
|
if (output.statusCode >= 300) {
|
|
1774
1774
|
return de_CommandError(output, context);
|
|
1775
1775
|
}
|
|
1776
|
-
const data = await
|
|
1776
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1777
1777
|
let contents = {};
|
|
1778
1778
|
contents = de_CancelEnvironmentDeploymentOutput(data, context);
|
|
1779
1779
|
const response = {
|
|
@@ -1786,7 +1786,7 @@ var de_CancelServiceInstanceDeploymentCommand = /* @__PURE__ */ __name(async (ou
|
|
|
1786
1786
|
if (output.statusCode >= 300) {
|
|
1787
1787
|
return de_CommandError(output, context);
|
|
1788
1788
|
}
|
|
1789
|
-
const data = await
|
|
1789
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1790
1790
|
let contents = {};
|
|
1791
1791
|
contents = de_CancelServiceInstanceDeploymentOutput(data, context);
|
|
1792
1792
|
const response = {
|
|
@@ -1799,7 +1799,7 @@ var de_CancelServicePipelineDeploymentCommand = /* @__PURE__ */ __name(async (ou
|
|
|
1799
1799
|
if (output.statusCode >= 300) {
|
|
1800
1800
|
return de_CommandError(output, context);
|
|
1801
1801
|
}
|
|
1802
|
-
const data = await
|
|
1802
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1803
1803
|
let contents = {};
|
|
1804
1804
|
contents = de_CancelServicePipelineDeploymentOutput(data, context);
|
|
1805
1805
|
const response = {
|
|
@@ -1812,7 +1812,7 @@ var de_CreateComponentCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1812
1812
|
if (output.statusCode >= 300) {
|
|
1813
1813
|
return de_CommandError(output, context);
|
|
1814
1814
|
}
|
|
1815
|
-
const data = await
|
|
1815
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1816
1816
|
let contents = {};
|
|
1817
1817
|
contents = de_CreateComponentOutput(data, context);
|
|
1818
1818
|
const response = {
|
|
@@ -1825,7 +1825,7 @@ var de_CreateEnvironmentCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1825
1825
|
if (output.statusCode >= 300) {
|
|
1826
1826
|
return de_CommandError(output, context);
|
|
1827
1827
|
}
|
|
1828
|
-
const data = await
|
|
1828
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1829
1829
|
let contents = {};
|
|
1830
1830
|
contents = de_CreateEnvironmentOutput(data, context);
|
|
1831
1831
|
const response = {
|
|
@@ -1838,7 +1838,7 @@ var de_CreateEnvironmentAccountConnectionCommand = /* @__PURE__ */ __name(async
|
|
|
1838
1838
|
if (output.statusCode >= 300) {
|
|
1839
1839
|
return de_CommandError(output, context);
|
|
1840
1840
|
}
|
|
1841
|
-
const data = await
|
|
1841
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1842
1842
|
let contents = {};
|
|
1843
1843
|
contents = de_CreateEnvironmentAccountConnectionOutput(data, context);
|
|
1844
1844
|
const response = {
|
|
@@ -1851,7 +1851,7 @@ var de_CreateEnvironmentTemplateCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1851
1851
|
if (output.statusCode >= 300) {
|
|
1852
1852
|
return de_CommandError(output, context);
|
|
1853
1853
|
}
|
|
1854
|
-
const data = await
|
|
1854
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1855
1855
|
let contents = {};
|
|
1856
1856
|
contents = de_CreateEnvironmentTemplateOutput(data, context);
|
|
1857
1857
|
const response = {
|
|
@@ -1864,7 +1864,7 @@ var de_CreateEnvironmentTemplateVersionCommand = /* @__PURE__ */ __name(async (o
|
|
|
1864
1864
|
if (output.statusCode >= 300) {
|
|
1865
1865
|
return de_CommandError(output, context);
|
|
1866
1866
|
}
|
|
1867
|
-
const data = await
|
|
1867
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1868
1868
|
let contents = {};
|
|
1869
1869
|
contents = de_CreateEnvironmentTemplateVersionOutput(data, context);
|
|
1870
1870
|
const response = {
|
|
@@ -1877,7 +1877,7 @@ var de_CreateRepositoryCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1877
1877
|
if (output.statusCode >= 300) {
|
|
1878
1878
|
return de_CommandError(output, context);
|
|
1879
1879
|
}
|
|
1880
|
-
const data = await
|
|
1880
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1881
1881
|
let contents = {};
|
|
1882
1882
|
contents = (0, import_smithy_client._json)(data);
|
|
1883
1883
|
const response = {
|
|
@@ -1890,7 +1890,7 @@ var de_CreateServiceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1890
1890
|
if (output.statusCode >= 300) {
|
|
1891
1891
|
return de_CommandError(output, context);
|
|
1892
1892
|
}
|
|
1893
|
-
const data = await
|
|
1893
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1894
1894
|
let contents = {};
|
|
1895
1895
|
contents = de_CreateServiceOutput(data, context);
|
|
1896
1896
|
const response = {
|
|
@@ -1903,7 +1903,7 @@ var de_CreateServiceInstanceCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1903
1903
|
if (output.statusCode >= 300) {
|
|
1904
1904
|
return de_CommandError(output, context);
|
|
1905
1905
|
}
|
|
1906
|
-
const data = await
|
|
1906
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1907
1907
|
let contents = {};
|
|
1908
1908
|
contents = de_CreateServiceInstanceOutput(data, context);
|
|
1909
1909
|
const response = {
|
|
@@ -1916,7 +1916,7 @@ var de_CreateServiceSyncConfigCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1916
1916
|
if (output.statusCode >= 300) {
|
|
1917
1917
|
return de_CommandError(output, context);
|
|
1918
1918
|
}
|
|
1919
|
-
const data = await
|
|
1919
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1920
1920
|
let contents = {};
|
|
1921
1921
|
contents = (0, import_smithy_client._json)(data);
|
|
1922
1922
|
const response = {
|
|
@@ -1929,7 +1929,7 @@ var de_CreateServiceTemplateCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1929
1929
|
if (output.statusCode >= 300) {
|
|
1930
1930
|
return de_CommandError(output, context);
|
|
1931
1931
|
}
|
|
1932
|
-
const data = await
|
|
1932
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1933
1933
|
let contents = {};
|
|
1934
1934
|
contents = de_CreateServiceTemplateOutput(data, context);
|
|
1935
1935
|
const response = {
|
|
@@ -1942,7 +1942,7 @@ var de_CreateServiceTemplateVersionCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
1942
1942
|
if (output.statusCode >= 300) {
|
|
1943
1943
|
return de_CommandError(output, context);
|
|
1944
1944
|
}
|
|
1945
|
-
const data = await
|
|
1945
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1946
1946
|
let contents = {};
|
|
1947
1947
|
contents = de_CreateServiceTemplateVersionOutput(data, context);
|
|
1948
1948
|
const response = {
|
|
@@ -1955,7 +1955,7 @@ var de_CreateTemplateSyncConfigCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1955
1955
|
if (output.statusCode >= 300) {
|
|
1956
1956
|
return de_CommandError(output, context);
|
|
1957
1957
|
}
|
|
1958
|
-
const data = await
|
|
1958
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1959
1959
|
let contents = {};
|
|
1960
1960
|
contents = (0, import_smithy_client._json)(data);
|
|
1961
1961
|
const response = {
|
|
@@ -1968,7 +1968,7 @@ var de_DeleteComponentCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1968
1968
|
if (output.statusCode >= 300) {
|
|
1969
1969
|
return de_CommandError(output, context);
|
|
1970
1970
|
}
|
|
1971
|
-
const data = await
|
|
1971
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1972
1972
|
let contents = {};
|
|
1973
1973
|
contents = de_DeleteComponentOutput(data, context);
|
|
1974
1974
|
const response = {
|
|
@@ -1981,7 +1981,7 @@ var de_DeleteDeploymentCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1981
1981
|
if (output.statusCode >= 300) {
|
|
1982
1982
|
return de_CommandError(output, context);
|
|
1983
1983
|
}
|
|
1984
|
-
const data = await
|
|
1984
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1985
1985
|
let contents = {};
|
|
1986
1986
|
contents = de_DeleteDeploymentOutput(data, context);
|
|
1987
1987
|
const response = {
|
|
@@ -1994,7 +1994,7 @@ var de_DeleteEnvironmentCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1994
1994
|
if (output.statusCode >= 300) {
|
|
1995
1995
|
return de_CommandError(output, context);
|
|
1996
1996
|
}
|
|
1997
|
-
const data = await
|
|
1997
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1998
1998
|
let contents = {};
|
|
1999
1999
|
contents = de_DeleteEnvironmentOutput(data, context);
|
|
2000
2000
|
const response = {
|
|
@@ -2007,7 +2007,7 @@ var de_DeleteEnvironmentAccountConnectionCommand = /* @__PURE__ */ __name(async
|
|
|
2007
2007
|
if (output.statusCode >= 300) {
|
|
2008
2008
|
return de_CommandError(output, context);
|
|
2009
2009
|
}
|
|
2010
|
-
const data = await
|
|
2010
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2011
2011
|
let contents = {};
|
|
2012
2012
|
contents = de_DeleteEnvironmentAccountConnectionOutput(data, context);
|
|
2013
2013
|
const response = {
|
|
@@ -2020,7 +2020,7 @@ var de_DeleteEnvironmentTemplateCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2020
2020
|
if (output.statusCode >= 300) {
|
|
2021
2021
|
return de_CommandError(output, context);
|
|
2022
2022
|
}
|
|
2023
|
-
const data = await
|
|
2023
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2024
2024
|
let contents = {};
|
|
2025
2025
|
contents = de_DeleteEnvironmentTemplateOutput(data, context);
|
|
2026
2026
|
const response = {
|
|
@@ -2033,7 +2033,7 @@ var de_DeleteEnvironmentTemplateVersionCommand = /* @__PURE__ */ __name(async (o
|
|
|
2033
2033
|
if (output.statusCode >= 300) {
|
|
2034
2034
|
return de_CommandError(output, context);
|
|
2035
2035
|
}
|
|
2036
|
-
const data = await
|
|
2036
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2037
2037
|
let contents = {};
|
|
2038
2038
|
contents = de_DeleteEnvironmentTemplateVersionOutput(data, context);
|
|
2039
2039
|
const response = {
|
|
@@ -2046,7 +2046,7 @@ var de_DeleteRepositoryCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2046
2046
|
if (output.statusCode >= 300) {
|
|
2047
2047
|
return de_CommandError(output, context);
|
|
2048
2048
|
}
|
|
2049
|
-
const data = await
|
|
2049
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2050
2050
|
let contents = {};
|
|
2051
2051
|
contents = (0, import_smithy_client._json)(data);
|
|
2052
2052
|
const response = {
|
|
@@ -2059,7 +2059,7 @@ var de_DeleteServiceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2059
2059
|
if (output.statusCode >= 300) {
|
|
2060
2060
|
return de_CommandError(output, context);
|
|
2061
2061
|
}
|
|
2062
|
-
const data = await
|
|
2062
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2063
2063
|
let contents = {};
|
|
2064
2064
|
contents = de_DeleteServiceOutput(data, context);
|
|
2065
2065
|
const response = {
|
|
@@ -2072,7 +2072,7 @@ var de_DeleteServiceSyncConfigCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2072
2072
|
if (output.statusCode >= 300) {
|
|
2073
2073
|
return de_CommandError(output, context);
|
|
2074
2074
|
}
|
|
2075
|
-
const data = await
|
|
2075
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2076
2076
|
let contents = {};
|
|
2077
2077
|
contents = (0, import_smithy_client._json)(data);
|
|
2078
2078
|
const response = {
|
|
@@ -2085,7 +2085,7 @@ var de_DeleteServiceTemplateCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2085
2085
|
if (output.statusCode >= 300) {
|
|
2086
2086
|
return de_CommandError(output, context);
|
|
2087
2087
|
}
|
|
2088
|
-
const data = await
|
|
2088
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2089
2089
|
let contents = {};
|
|
2090
2090
|
contents = de_DeleteServiceTemplateOutput(data, context);
|
|
2091
2091
|
const response = {
|
|
@@ -2098,7 +2098,7 @@ var de_DeleteServiceTemplateVersionCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2098
2098
|
if (output.statusCode >= 300) {
|
|
2099
2099
|
return de_CommandError(output, context);
|
|
2100
2100
|
}
|
|
2101
|
-
const data = await
|
|
2101
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2102
2102
|
let contents = {};
|
|
2103
2103
|
contents = de_DeleteServiceTemplateVersionOutput(data, context);
|
|
2104
2104
|
const response = {
|
|
@@ -2111,7 +2111,7 @@ var de_DeleteTemplateSyncConfigCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2111
2111
|
if (output.statusCode >= 300) {
|
|
2112
2112
|
return de_CommandError(output, context);
|
|
2113
2113
|
}
|
|
2114
|
-
const data = await
|
|
2114
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2115
2115
|
let contents = {};
|
|
2116
2116
|
contents = (0, import_smithy_client._json)(data);
|
|
2117
2117
|
const response = {
|
|
@@ -2124,7 +2124,7 @@ var de_GetAccountSettingsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2124
2124
|
if (output.statusCode >= 300) {
|
|
2125
2125
|
return de_CommandError(output, context);
|
|
2126
2126
|
}
|
|
2127
|
-
const data = await
|
|
2127
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2128
2128
|
let contents = {};
|
|
2129
2129
|
contents = (0, import_smithy_client._json)(data);
|
|
2130
2130
|
const response = {
|
|
@@ -2137,7 +2137,7 @@ var de_GetComponentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2137
2137
|
if (output.statusCode >= 300) {
|
|
2138
2138
|
return de_CommandError(output, context);
|
|
2139
2139
|
}
|
|
2140
|
-
const data = await
|
|
2140
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2141
2141
|
let contents = {};
|
|
2142
2142
|
contents = de_GetComponentOutput(data, context);
|
|
2143
2143
|
const response = {
|
|
@@ -2150,7 +2150,7 @@ var de_GetDeploymentCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2150
2150
|
if (output.statusCode >= 300) {
|
|
2151
2151
|
return de_CommandError(output, context);
|
|
2152
2152
|
}
|
|
2153
|
-
const data = await
|
|
2153
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2154
2154
|
let contents = {};
|
|
2155
2155
|
contents = de_GetDeploymentOutput(data, context);
|
|
2156
2156
|
const response = {
|
|
@@ -2163,7 +2163,7 @@ var de_GetEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2163
2163
|
if (output.statusCode >= 300) {
|
|
2164
2164
|
return de_CommandError(output, context);
|
|
2165
2165
|
}
|
|
2166
|
-
const data = await
|
|
2166
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2167
2167
|
let contents = {};
|
|
2168
2168
|
contents = de_GetEnvironmentOutput(data, context);
|
|
2169
2169
|
const response = {
|
|
@@ -2176,7 +2176,7 @@ var de_GetEnvironmentAccountConnectionCommand = /* @__PURE__ */ __name(async (ou
|
|
|
2176
2176
|
if (output.statusCode >= 300) {
|
|
2177
2177
|
return de_CommandError(output, context);
|
|
2178
2178
|
}
|
|
2179
|
-
const data = await
|
|
2179
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2180
2180
|
let contents = {};
|
|
2181
2181
|
contents = de_GetEnvironmentAccountConnectionOutput(data, context);
|
|
2182
2182
|
const response = {
|
|
@@ -2189,7 +2189,7 @@ var de_GetEnvironmentTemplateCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2189
2189
|
if (output.statusCode >= 300) {
|
|
2190
2190
|
return de_CommandError(output, context);
|
|
2191
2191
|
}
|
|
2192
|
-
const data = await
|
|
2192
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2193
2193
|
let contents = {};
|
|
2194
2194
|
contents = de_GetEnvironmentTemplateOutput(data, context);
|
|
2195
2195
|
const response = {
|
|
@@ -2202,7 +2202,7 @@ var de_GetEnvironmentTemplateVersionCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2202
2202
|
if (output.statusCode >= 300) {
|
|
2203
2203
|
return de_CommandError(output, context);
|
|
2204
2204
|
}
|
|
2205
|
-
const data = await
|
|
2205
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2206
2206
|
let contents = {};
|
|
2207
2207
|
contents = de_GetEnvironmentTemplateVersionOutput(data, context);
|
|
2208
2208
|
const response = {
|
|
@@ -2215,7 +2215,7 @@ var de_GetRepositoryCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2215
2215
|
if (output.statusCode >= 300) {
|
|
2216
2216
|
return de_CommandError(output, context);
|
|
2217
2217
|
}
|
|
2218
|
-
const data = await
|
|
2218
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2219
2219
|
let contents = {};
|
|
2220
2220
|
contents = (0, import_smithy_client._json)(data);
|
|
2221
2221
|
const response = {
|
|
@@ -2228,7 +2228,7 @@ var de_GetRepositorySyncStatusCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2228
2228
|
if (output.statusCode >= 300) {
|
|
2229
2229
|
return de_CommandError(output, context);
|
|
2230
2230
|
}
|
|
2231
|
-
const data = await
|
|
2231
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2232
2232
|
let contents = {};
|
|
2233
2233
|
contents = de_GetRepositorySyncStatusOutput(data, context);
|
|
2234
2234
|
const response = {
|
|
@@ -2241,7 +2241,7 @@ var de_GetResourcesSummaryCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2241
2241
|
if (output.statusCode >= 300) {
|
|
2242
2242
|
return de_CommandError(output, context);
|
|
2243
2243
|
}
|
|
2244
|
-
const data = await
|
|
2244
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2245
2245
|
let contents = {};
|
|
2246
2246
|
contents = (0, import_smithy_client._json)(data);
|
|
2247
2247
|
const response = {
|
|
@@ -2254,7 +2254,7 @@ var de_GetServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2254
2254
|
if (output.statusCode >= 300) {
|
|
2255
2255
|
return de_CommandError(output, context);
|
|
2256
2256
|
}
|
|
2257
|
-
const data = await
|
|
2257
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2258
2258
|
let contents = {};
|
|
2259
2259
|
contents = de_GetServiceOutput(data, context);
|
|
2260
2260
|
const response = {
|
|
@@ -2267,7 +2267,7 @@ var de_GetServiceInstanceCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2267
2267
|
if (output.statusCode >= 300) {
|
|
2268
2268
|
return de_CommandError(output, context);
|
|
2269
2269
|
}
|
|
2270
|
-
const data = await
|
|
2270
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2271
2271
|
let contents = {};
|
|
2272
2272
|
contents = de_GetServiceInstanceOutput(data, context);
|
|
2273
2273
|
const response = {
|
|
@@ -2280,7 +2280,7 @@ var de_GetServiceInstanceSyncStatusCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2280
2280
|
if (output.statusCode >= 300) {
|
|
2281
2281
|
return de_CommandError(output, context);
|
|
2282
2282
|
}
|
|
2283
|
-
const data = await
|
|
2283
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2284
2284
|
let contents = {};
|
|
2285
2285
|
contents = de_GetServiceInstanceSyncStatusOutput(data, context);
|
|
2286
2286
|
const response = {
|
|
@@ -2293,7 +2293,7 @@ var de_GetServiceSyncBlockerSummaryCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2293
2293
|
if (output.statusCode >= 300) {
|
|
2294
2294
|
return de_CommandError(output, context);
|
|
2295
2295
|
}
|
|
2296
|
-
const data = await
|
|
2296
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2297
2297
|
let contents = {};
|
|
2298
2298
|
contents = de_GetServiceSyncBlockerSummaryOutput(data, context);
|
|
2299
2299
|
const response = {
|
|
@@ -2306,7 +2306,7 @@ var de_GetServiceSyncConfigCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2306
2306
|
if (output.statusCode >= 300) {
|
|
2307
2307
|
return de_CommandError(output, context);
|
|
2308
2308
|
}
|
|
2309
|
-
const data = await
|
|
2309
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2310
2310
|
let contents = {};
|
|
2311
2311
|
contents = (0, import_smithy_client._json)(data);
|
|
2312
2312
|
const response = {
|
|
@@ -2319,7 +2319,7 @@ var de_GetServiceTemplateCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2319
2319
|
if (output.statusCode >= 300) {
|
|
2320
2320
|
return de_CommandError(output, context);
|
|
2321
2321
|
}
|
|
2322
|
-
const data = await
|
|
2322
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2323
2323
|
let contents = {};
|
|
2324
2324
|
contents = de_GetServiceTemplateOutput(data, context);
|
|
2325
2325
|
const response = {
|
|
@@ -2332,7 +2332,7 @@ var de_GetServiceTemplateVersionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2332
2332
|
if (output.statusCode >= 300) {
|
|
2333
2333
|
return de_CommandError(output, context);
|
|
2334
2334
|
}
|
|
2335
|
-
const data = await
|
|
2335
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2336
2336
|
let contents = {};
|
|
2337
2337
|
contents = de_GetServiceTemplateVersionOutput(data, context);
|
|
2338
2338
|
const response = {
|
|
@@ -2345,7 +2345,7 @@ var de_GetTemplateSyncConfigCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2345
2345
|
if (output.statusCode >= 300) {
|
|
2346
2346
|
return de_CommandError(output, context);
|
|
2347
2347
|
}
|
|
2348
|
-
const data = await
|
|
2348
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2349
2349
|
let contents = {};
|
|
2350
2350
|
contents = (0, import_smithy_client._json)(data);
|
|
2351
2351
|
const response = {
|
|
@@ -2358,7 +2358,7 @@ var de_GetTemplateSyncStatusCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2358
2358
|
if (output.statusCode >= 300) {
|
|
2359
2359
|
return de_CommandError(output, context);
|
|
2360
2360
|
}
|
|
2361
|
-
const data = await
|
|
2361
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2362
2362
|
let contents = {};
|
|
2363
2363
|
contents = de_GetTemplateSyncStatusOutput(data, context);
|
|
2364
2364
|
const response = {
|
|
@@ -2371,7 +2371,7 @@ var de_ListComponentOutputsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2371
2371
|
if (output.statusCode >= 300) {
|
|
2372
2372
|
return de_CommandError(output, context);
|
|
2373
2373
|
}
|
|
2374
|
-
const data = await
|
|
2374
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2375
2375
|
let contents = {};
|
|
2376
2376
|
contents = (0, import_smithy_client._json)(data);
|
|
2377
2377
|
const response = {
|
|
@@ -2384,7 +2384,7 @@ var de_ListComponentProvisionedResourcesCommand = /* @__PURE__ */ __name(async (
|
|
|
2384
2384
|
if (output.statusCode >= 300) {
|
|
2385
2385
|
return de_CommandError(output, context);
|
|
2386
2386
|
}
|
|
2387
|
-
const data = await
|
|
2387
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2388
2388
|
let contents = {};
|
|
2389
2389
|
contents = (0, import_smithy_client._json)(data);
|
|
2390
2390
|
const response = {
|
|
@@ -2397,7 +2397,7 @@ var de_ListComponentsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2397
2397
|
if (output.statusCode >= 300) {
|
|
2398
2398
|
return de_CommandError(output, context);
|
|
2399
2399
|
}
|
|
2400
|
-
const data = await
|
|
2400
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2401
2401
|
let contents = {};
|
|
2402
2402
|
contents = de_ListComponentsOutput(data, context);
|
|
2403
2403
|
const response = {
|
|
@@ -2410,7 +2410,7 @@ var de_ListDeploymentsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2410
2410
|
if (output.statusCode >= 300) {
|
|
2411
2411
|
return de_CommandError(output, context);
|
|
2412
2412
|
}
|
|
2413
|
-
const data = await
|
|
2413
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2414
2414
|
let contents = {};
|
|
2415
2415
|
contents = de_ListDeploymentsOutput(data, context);
|
|
2416
2416
|
const response = {
|
|
@@ -2423,7 +2423,7 @@ var de_ListEnvironmentAccountConnectionsCommand = /* @__PURE__ */ __name(async (
|
|
|
2423
2423
|
if (output.statusCode >= 300) {
|
|
2424
2424
|
return de_CommandError(output, context);
|
|
2425
2425
|
}
|
|
2426
|
-
const data = await
|
|
2426
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2427
2427
|
let contents = {};
|
|
2428
2428
|
contents = de_ListEnvironmentAccountConnectionsOutput(data, context);
|
|
2429
2429
|
const response = {
|
|
@@ -2436,7 +2436,7 @@ var de_ListEnvironmentOutputsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2436
2436
|
if (output.statusCode >= 300) {
|
|
2437
2437
|
return de_CommandError(output, context);
|
|
2438
2438
|
}
|
|
2439
|
-
const data = await
|
|
2439
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2440
2440
|
let contents = {};
|
|
2441
2441
|
contents = (0, import_smithy_client._json)(data);
|
|
2442
2442
|
const response = {
|
|
@@ -2449,7 +2449,7 @@ var de_ListEnvironmentProvisionedResourcesCommand = /* @__PURE__ */ __name(async
|
|
|
2449
2449
|
if (output.statusCode >= 300) {
|
|
2450
2450
|
return de_CommandError(output, context);
|
|
2451
2451
|
}
|
|
2452
|
-
const data = await
|
|
2452
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2453
2453
|
let contents = {};
|
|
2454
2454
|
contents = (0, import_smithy_client._json)(data);
|
|
2455
2455
|
const response = {
|
|
@@ -2462,7 +2462,7 @@ var de_ListEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2462
2462
|
if (output.statusCode >= 300) {
|
|
2463
2463
|
return de_CommandError(output, context);
|
|
2464
2464
|
}
|
|
2465
|
-
const data = await
|
|
2465
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2466
2466
|
let contents = {};
|
|
2467
2467
|
contents = de_ListEnvironmentsOutput(data, context);
|
|
2468
2468
|
const response = {
|
|
@@ -2475,7 +2475,7 @@ var de_ListEnvironmentTemplatesCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2475
2475
|
if (output.statusCode >= 300) {
|
|
2476
2476
|
return de_CommandError(output, context);
|
|
2477
2477
|
}
|
|
2478
|
-
const data = await
|
|
2478
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2479
2479
|
let contents = {};
|
|
2480
2480
|
contents = de_ListEnvironmentTemplatesOutput(data, context);
|
|
2481
2481
|
const response = {
|
|
@@ -2488,7 +2488,7 @@ var de_ListEnvironmentTemplateVersionsCommand = /* @__PURE__ */ __name(async (ou
|
|
|
2488
2488
|
if (output.statusCode >= 300) {
|
|
2489
2489
|
return de_CommandError(output, context);
|
|
2490
2490
|
}
|
|
2491
|
-
const data = await
|
|
2491
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2492
2492
|
let contents = {};
|
|
2493
2493
|
contents = de_ListEnvironmentTemplateVersionsOutput(data, context);
|
|
2494
2494
|
const response = {
|
|
@@ -2501,7 +2501,7 @@ var de_ListRepositoriesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2501
2501
|
if (output.statusCode >= 300) {
|
|
2502
2502
|
return de_CommandError(output, context);
|
|
2503
2503
|
}
|
|
2504
|
-
const data = await
|
|
2504
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2505
2505
|
let contents = {};
|
|
2506
2506
|
contents = (0, import_smithy_client._json)(data);
|
|
2507
2507
|
const response = {
|
|
@@ -2514,7 +2514,7 @@ var de_ListRepositorySyncDefinitionsCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2514
2514
|
if (output.statusCode >= 300) {
|
|
2515
2515
|
return de_CommandError(output, context);
|
|
2516
2516
|
}
|
|
2517
|
-
const data = await
|
|
2517
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2518
2518
|
let contents = {};
|
|
2519
2519
|
contents = (0, import_smithy_client._json)(data);
|
|
2520
2520
|
const response = {
|
|
@@ -2527,7 +2527,7 @@ var de_ListServiceInstanceOutputsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2527
2527
|
if (output.statusCode >= 300) {
|
|
2528
2528
|
return de_CommandError(output, context);
|
|
2529
2529
|
}
|
|
2530
|
-
const data = await
|
|
2530
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2531
2531
|
let contents = {};
|
|
2532
2532
|
contents = (0, import_smithy_client._json)(data);
|
|
2533
2533
|
const response = {
|
|
@@ -2540,7 +2540,7 @@ var de_ListServiceInstanceProvisionedResourcesCommand = /* @__PURE__ */ __name(a
|
|
|
2540
2540
|
if (output.statusCode >= 300) {
|
|
2541
2541
|
return de_CommandError(output, context);
|
|
2542
2542
|
}
|
|
2543
|
-
const data = await
|
|
2543
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2544
2544
|
let contents = {};
|
|
2545
2545
|
contents = (0, import_smithy_client._json)(data);
|
|
2546
2546
|
const response = {
|
|
@@ -2553,7 +2553,7 @@ var de_ListServiceInstancesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2553
2553
|
if (output.statusCode >= 300) {
|
|
2554
2554
|
return de_CommandError(output, context);
|
|
2555
2555
|
}
|
|
2556
|
-
const data = await
|
|
2556
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2557
2557
|
let contents = {};
|
|
2558
2558
|
contents = de_ListServiceInstancesOutput(data, context);
|
|
2559
2559
|
const response = {
|
|
@@ -2566,7 +2566,7 @@ var de_ListServicePipelineOutputsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2566
2566
|
if (output.statusCode >= 300) {
|
|
2567
2567
|
return de_CommandError(output, context);
|
|
2568
2568
|
}
|
|
2569
|
-
const data = await
|
|
2569
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2570
2570
|
let contents = {};
|
|
2571
2571
|
contents = (0, import_smithy_client._json)(data);
|
|
2572
2572
|
const response = {
|
|
@@ -2579,7 +2579,7 @@ var de_ListServicePipelineProvisionedResourcesCommand = /* @__PURE__ */ __name(a
|
|
|
2579
2579
|
if (output.statusCode >= 300) {
|
|
2580
2580
|
return de_CommandError(output, context);
|
|
2581
2581
|
}
|
|
2582
|
-
const data = await
|
|
2582
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2583
2583
|
let contents = {};
|
|
2584
2584
|
contents = (0, import_smithy_client._json)(data);
|
|
2585
2585
|
const response = {
|
|
@@ -2592,7 +2592,7 @@ var de_ListServicesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2592
2592
|
if (output.statusCode >= 300) {
|
|
2593
2593
|
return de_CommandError(output, context);
|
|
2594
2594
|
}
|
|
2595
|
-
const data = await
|
|
2595
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2596
2596
|
let contents = {};
|
|
2597
2597
|
contents = de_ListServicesOutput(data, context);
|
|
2598
2598
|
const response = {
|
|
@@ -2605,7 +2605,7 @@ var de_ListServiceTemplatesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2605
2605
|
if (output.statusCode >= 300) {
|
|
2606
2606
|
return de_CommandError(output, context);
|
|
2607
2607
|
}
|
|
2608
|
-
const data = await
|
|
2608
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2609
2609
|
let contents = {};
|
|
2610
2610
|
contents = de_ListServiceTemplatesOutput(data, context);
|
|
2611
2611
|
const response = {
|
|
@@ -2618,7 +2618,7 @@ var de_ListServiceTemplateVersionsCommand = /* @__PURE__ */ __name(async (output
|
|
|
2618
2618
|
if (output.statusCode >= 300) {
|
|
2619
2619
|
return de_CommandError(output, context);
|
|
2620
2620
|
}
|
|
2621
|
-
const data = await
|
|
2621
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2622
2622
|
let contents = {};
|
|
2623
2623
|
contents = de_ListServiceTemplateVersionsOutput(data, context);
|
|
2624
2624
|
const response = {
|
|
@@ -2631,7 +2631,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2631
2631
|
if (output.statusCode >= 300) {
|
|
2632
2632
|
return de_CommandError(output, context);
|
|
2633
2633
|
}
|
|
2634
|
-
const data = await
|
|
2634
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2635
2635
|
let contents = {};
|
|
2636
2636
|
contents = (0, import_smithy_client._json)(data);
|
|
2637
2637
|
const response = {
|
|
@@ -2644,7 +2644,7 @@ var de_NotifyResourceDeploymentStatusChangeCommand = /* @__PURE__ */ __name(asyn
|
|
|
2644
2644
|
if (output.statusCode >= 300) {
|
|
2645
2645
|
return de_CommandError(output, context);
|
|
2646
2646
|
}
|
|
2647
|
-
const data = await
|
|
2647
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2648
2648
|
let contents = {};
|
|
2649
2649
|
contents = (0, import_smithy_client._json)(data);
|
|
2650
2650
|
const response = {
|
|
@@ -2657,7 +2657,7 @@ var de_RejectEnvironmentAccountConnectionCommand = /* @__PURE__ */ __name(async
|
|
|
2657
2657
|
if (output.statusCode >= 300) {
|
|
2658
2658
|
return de_CommandError(output, context);
|
|
2659
2659
|
}
|
|
2660
|
-
const data = await
|
|
2660
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2661
2661
|
let contents = {};
|
|
2662
2662
|
contents = de_RejectEnvironmentAccountConnectionOutput(data, context);
|
|
2663
2663
|
const response = {
|
|
@@ -2670,7 +2670,7 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2670
2670
|
if (output.statusCode >= 300) {
|
|
2671
2671
|
return de_CommandError(output, context);
|
|
2672
2672
|
}
|
|
2673
|
-
const data = await
|
|
2673
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2674
2674
|
let contents = {};
|
|
2675
2675
|
contents = (0, import_smithy_client._json)(data);
|
|
2676
2676
|
const response = {
|
|
@@ -2683,7 +2683,7 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2683
2683
|
if (output.statusCode >= 300) {
|
|
2684
2684
|
return de_CommandError(output, context);
|
|
2685
2685
|
}
|
|
2686
|
-
const data = await
|
|
2686
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2687
2687
|
let contents = {};
|
|
2688
2688
|
contents = (0, import_smithy_client._json)(data);
|
|
2689
2689
|
const response = {
|
|
@@ -2696,7 +2696,7 @@ var de_UpdateAccountSettingsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2696
2696
|
if (output.statusCode >= 300) {
|
|
2697
2697
|
return de_CommandError(output, context);
|
|
2698
2698
|
}
|
|
2699
|
-
const data = await
|
|
2699
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2700
2700
|
let contents = {};
|
|
2701
2701
|
contents = (0, import_smithy_client._json)(data);
|
|
2702
2702
|
const response = {
|
|
@@ -2709,7 +2709,7 @@ var de_UpdateComponentCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2709
2709
|
if (output.statusCode >= 300) {
|
|
2710
2710
|
return de_CommandError(output, context);
|
|
2711
2711
|
}
|
|
2712
|
-
const data = await
|
|
2712
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2713
2713
|
let contents = {};
|
|
2714
2714
|
contents = de_UpdateComponentOutput(data, context);
|
|
2715
2715
|
const response = {
|
|
@@ -2722,7 +2722,7 @@ var de_UpdateEnvironmentCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2722
2722
|
if (output.statusCode >= 300) {
|
|
2723
2723
|
return de_CommandError(output, context);
|
|
2724
2724
|
}
|
|
2725
|
-
const data = await
|
|
2725
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2726
2726
|
let contents = {};
|
|
2727
2727
|
contents = de_UpdateEnvironmentOutput(data, context);
|
|
2728
2728
|
const response = {
|
|
@@ -2735,7 +2735,7 @@ var de_UpdateEnvironmentAccountConnectionCommand = /* @__PURE__ */ __name(async
|
|
|
2735
2735
|
if (output.statusCode >= 300) {
|
|
2736
2736
|
return de_CommandError(output, context);
|
|
2737
2737
|
}
|
|
2738
|
-
const data = await
|
|
2738
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2739
2739
|
let contents = {};
|
|
2740
2740
|
contents = de_UpdateEnvironmentAccountConnectionOutput(data, context);
|
|
2741
2741
|
const response = {
|
|
@@ -2748,7 +2748,7 @@ var de_UpdateEnvironmentTemplateCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2748
2748
|
if (output.statusCode >= 300) {
|
|
2749
2749
|
return de_CommandError(output, context);
|
|
2750
2750
|
}
|
|
2751
|
-
const data = await
|
|
2751
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2752
2752
|
let contents = {};
|
|
2753
2753
|
contents = de_UpdateEnvironmentTemplateOutput(data, context);
|
|
2754
2754
|
const response = {
|
|
@@ -2761,7 +2761,7 @@ var de_UpdateEnvironmentTemplateVersionCommand = /* @__PURE__ */ __name(async (o
|
|
|
2761
2761
|
if (output.statusCode >= 300) {
|
|
2762
2762
|
return de_CommandError(output, context);
|
|
2763
2763
|
}
|
|
2764
|
-
const data = await
|
|
2764
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2765
2765
|
let contents = {};
|
|
2766
2766
|
contents = de_UpdateEnvironmentTemplateVersionOutput(data, context);
|
|
2767
2767
|
const response = {
|
|
@@ -2774,7 +2774,7 @@ var de_UpdateServiceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2774
2774
|
if (output.statusCode >= 300) {
|
|
2775
2775
|
return de_CommandError(output, context);
|
|
2776
2776
|
}
|
|
2777
|
-
const data = await
|
|
2777
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2778
2778
|
let contents = {};
|
|
2779
2779
|
contents = de_UpdateServiceOutput(data, context);
|
|
2780
2780
|
const response = {
|
|
@@ -2787,7 +2787,7 @@ var de_UpdateServiceInstanceCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2787
2787
|
if (output.statusCode >= 300) {
|
|
2788
2788
|
return de_CommandError(output, context);
|
|
2789
2789
|
}
|
|
2790
|
-
const data = await
|
|
2790
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2791
2791
|
let contents = {};
|
|
2792
2792
|
contents = de_UpdateServiceInstanceOutput(data, context);
|
|
2793
2793
|
const response = {
|
|
@@ -2800,7 +2800,7 @@ var de_UpdateServicePipelineCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2800
2800
|
if (output.statusCode >= 300) {
|
|
2801
2801
|
return de_CommandError(output, context);
|
|
2802
2802
|
}
|
|
2803
|
-
const data = await
|
|
2803
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2804
2804
|
let contents = {};
|
|
2805
2805
|
contents = de_UpdateServicePipelineOutput(data, context);
|
|
2806
2806
|
const response = {
|
|
@@ -2813,7 +2813,7 @@ var de_UpdateServiceSyncBlockerCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2813
2813
|
if (output.statusCode >= 300) {
|
|
2814
2814
|
return de_CommandError(output, context);
|
|
2815
2815
|
}
|
|
2816
|
-
const data = await
|
|
2816
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2817
2817
|
let contents = {};
|
|
2818
2818
|
contents = de_UpdateServiceSyncBlockerOutput(data, context);
|
|
2819
2819
|
const response = {
|
|
@@ -2826,7 +2826,7 @@ var de_UpdateServiceSyncConfigCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2826
2826
|
if (output.statusCode >= 300) {
|
|
2827
2827
|
return de_CommandError(output, context);
|
|
2828
2828
|
}
|
|
2829
|
-
const data = await
|
|
2829
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2830
2830
|
let contents = {};
|
|
2831
2831
|
contents = (0, import_smithy_client._json)(data);
|
|
2832
2832
|
const response = {
|
|
@@ -2839,7 +2839,7 @@ var de_UpdateServiceTemplateCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2839
2839
|
if (output.statusCode >= 300) {
|
|
2840
2840
|
return de_CommandError(output, context);
|
|
2841
2841
|
}
|
|
2842
|
-
const data = await
|
|
2842
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2843
2843
|
let contents = {};
|
|
2844
2844
|
contents = de_UpdateServiceTemplateOutput(data, context);
|
|
2845
2845
|
const response = {
|
|
@@ -2852,7 +2852,7 @@ var de_UpdateServiceTemplateVersionCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2852
2852
|
if (output.statusCode >= 300) {
|
|
2853
2853
|
return de_CommandError(output, context);
|
|
2854
2854
|
}
|
|
2855
|
-
const data = await
|
|
2855
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2856
2856
|
let contents = {};
|
|
2857
2857
|
contents = de_UpdateServiceTemplateVersionOutput(data, context);
|
|
2858
2858
|
const response = {
|
|
@@ -2865,7 +2865,7 @@ var de_UpdateTemplateSyncConfigCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2865
2865
|
if (output.statusCode >= 300) {
|
|
2866
2866
|
return de_CommandError(output, context);
|
|
2867
2867
|
}
|
|
2868
|
-
const data = await
|
|
2868
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2869
2869
|
let contents = {};
|
|
2870
2870
|
contents = (0, import_smithy_client._json)(data);
|
|
2871
2871
|
const response = {
|
|
@@ -2877,9 +2877,9 @@ var de_UpdateTemplateSyncConfigCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2877
2877
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2878
2878
|
const parsedOutput = {
|
|
2879
2879
|
...output,
|
|
2880
|
-
body: await
|
|
2880
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
2881
2881
|
};
|
|
2882
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2882
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
2883
2883
|
switch (errorCode) {
|
|
2884
2884
|
case "AccessDeniedException":
|
|
2885
2885
|
case "com.amazonaws.proton#AccessDeniedException":
|
|
@@ -3968,7 +3968,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
3968
3968
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3969
3969
|
cfId: output.headers["x-amz-cf-id"]
|
|
3970
3970
|
}), "deserializeMetadata");
|
|
3971
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
3972
3971
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(ProtonServiceException);
|
|
3973
3972
|
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
3974
3973
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -3995,46 +3994,6 @@ function sharedHeaders(operation) {
|
|
|
3995
3994
|
};
|
|
3996
3995
|
}
|
|
3997
3996
|
__name(sharedHeaders, "sharedHeaders");
|
|
3998
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3999
|
-
if (encoded.length) {
|
|
4000
|
-
return JSON.parse(encoded);
|
|
4001
|
-
}
|
|
4002
|
-
return {};
|
|
4003
|
-
}), "parseBody");
|
|
4004
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
4005
|
-
const value = await parseBody(errorBody, context);
|
|
4006
|
-
value.message = value.message ?? value.Message;
|
|
4007
|
-
return value;
|
|
4008
|
-
}, "parseErrorBody");
|
|
4009
|
-
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
4010
|
-
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
4011
|
-
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
4012
|
-
let cleanValue = rawValue;
|
|
4013
|
-
if (typeof cleanValue === "number") {
|
|
4014
|
-
cleanValue = cleanValue.toString();
|
|
4015
|
-
}
|
|
4016
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
4017
|
-
cleanValue = cleanValue.split(",")[0];
|
|
4018
|
-
}
|
|
4019
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
4020
|
-
cleanValue = cleanValue.split(":")[0];
|
|
4021
|
-
}
|
|
4022
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
4023
|
-
cleanValue = cleanValue.split("#")[1];
|
|
4024
|
-
}
|
|
4025
|
-
return cleanValue;
|
|
4026
|
-
}, "sanitizeErrorCode");
|
|
4027
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
4028
|
-
if (headerKey !== void 0) {
|
|
4029
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
4030
|
-
}
|
|
4031
|
-
if (data.code !== void 0) {
|
|
4032
|
-
return sanitizeErrorCode(data.code);
|
|
4033
|
-
}
|
|
4034
|
-
if (data["__type"] !== void 0) {
|
|
4035
|
-
return sanitizeErrorCode(data["__type"]);
|
|
4036
|
-
}
|
|
4037
|
-
}, "loadRestJsonErrorCode");
|
|
4038
3997
|
|
|
4039
3998
|
// src/commands/AcceptEnvironmentAccountConnectionCommand.ts
|
|
4040
3999
|
var _AcceptEnvironmentAccountConnectionCommand = class _AcceptEnvironmentAccountConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { awsExpectUnion as __expectUnion } from "@aws-sdk/core";
|
|
1
|
+
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
@@ -2803,43 +2803,3 @@ function sharedHeaders(operation) {
|
|
|
2803
2803
|
"x-amz-target": `AwsProton20200720.${operation}`,
|
|
2804
2804
|
};
|
|
2805
2805
|
}
|
|
2806
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2807
|
-
if (encoded.length) {
|
|
2808
|
-
return JSON.parse(encoded);
|
|
2809
|
-
}
|
|
2810
|
-
return {};
|
|
2811
|
-
});
|
|
2812
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
2813
|
-
const value = await parseBody(errorBody, context);
|
|
2814
|
-
value.message = value.message ?? value.Message;
|
|
2815
|
-
return value;
|
|
2816
|
-
};
|
|
2817
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
2818
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
2819
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
2820
|
-
let cleanValue = rawValue;
|
|
2821
|
-
if (typeof cleanValue === "number") {
|
|
2822
|
-
cleanValue = cleanValue.toString();
|
|
2823
|
-
}
|
|
2824
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
2825
|
-
cleanValue = cleanValue.split(",")[0];
|
|
2826
|
-
}
|
|
2827
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
2828
|
-
cleanValue = cleanValue.split(":")[0];
|
|
2829
|
-
}
|
|
2830
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
2831
|
-
cleanValue = cleanValue.split("#")[1];
|
|
2832
|
-
}
|
|
2833
|
-
return cleanValue;
|
|
2834
|
-
};
|
|
2835
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2836
|
-
if (headerKey !== undefined) {
|
|
2837
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2838
|
-
}
|
|
2839
|
-
if (data.code !== undefined) {
|
|
2840
|
-
return sanitizeErrorCode(data.code);
|
|
2841
|
-
}
|
|
2842
|
-
if (data["__type"] !== undefined) {
|
|
2843
|
-
return sanitizeErrorCode(data["__type"]);
|
|
2844
|
-
}
|
|
2845
|
-
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-proton",
|
|
3
3
|
"description": "AWS SDK for JavaScript Proton Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.529.0",
|
|
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-proton",
|
|
@@ -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.0",
|
|
24
|
+
"@aws-sdk/core": "3.529.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.0",
|
|
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",
|