@aws-sdk/client-appconfig 3.180.0 → 3.183.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/CHANGELOG.md +20 -0
- package/dist-cjs/protocols/Aws_restJson1.js +49 -43
- package/dist-es/AppConfig.js +174 -181
- package/dist-es/AppConfigClient.js +22 -28
- package/dist-es/commands/CreateApplicationCommand.js +21 -28
- package/dist-es/commands/CreateConfigurationProfileCommand.js +21 -28
- package/dist-es/commands/CreateDeploymentStrategyCommand.js +21 -28
- package/dist-es/commands/CreateEnvironmentCommand.js +21 -28
- package/dist-es/commands/CreateExtensionAssociationCommand.js +21 -28
- package/dist-es/commands/CreateExtensionCommand.js +21 -28
- package/dist-es/commands/CreateHostedConfigurationVersionCommand.js +21 -28
- package/dist-es/commands/DeleteApplicationCommand.js +22 -29
- package/dist-es/commands/DeleteConfigurationProfileCommand.js +22 -29
- package/dist-es/commands/DeleteDeploymentStrategyCommand.js +22 -29
- package/dist-es/commands/DeleteEnvironmentCommand.js +22 -29
- package/dist-es/commands/DeleteExtensionAssociationCommand.js +22 -29
- package/dist-es/commands/DeleteExtensionCommand.js +22 -29
- package/dist-es/commands/DeleteHostedConfigurationVersionCommand.js +22 -29
- package/dist-es/commands/GetApplicationCommand.js +21 -28
- package/dist-es/commands/GetConfigurationCommand.js +21 -28
- package/dist-es/commands/GetConfigurationProfileCommand.js +21 -28
- package/dist-es/commands/GetDeploymentCommand.js +21 -28
- package/dist-es/commands/GetDeploymentStrategyCommand.js +21 -28
- package/dist-es/commands/GetEnvironmentCommand.js +21 -28
- package/dist-es/commands/GetExtensionAssociationCommand.js +21 -28
- package/dist-es/commands/GetExtensionCommand.js +21 -28
- package/dist-es/commands/GetHostedConfigurationVersionCommand.js +21 -28
- package/dist-es/commands/ListApplicationsCommand.js +21 -28
- package/dist-es/commands/ListConfigurationProfilesCommand.js +21 -28
- package/dist-es/commands/ListDeploymentStrategiesCommand.js +21 -28
- package/dist-es/commands/ListDeploymentsCommand.js +21 -28
- package/dist-es/commands/ListEnvironmentsCommand.js +21 -28
- package/dist-es/commands/ListExtensionAssociationsCommand.js +21 -28
- package/dist-es/commands/ListExtensionsCommand.js +21 -28
- package/dist-es/commands/ListHostedConfigurationVersionsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/StartDeploymentCommand.js +21 -28
- package/dist-es/commands/StopDeploymentCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +22 -29
- package/dist-es/commands/UntagResourceCommand.js +22 -29
- package/dist-es/commands/UpdateApplicationCommand.js +21 -28
- package/dist-es/commands/UpdateConfigurationProfileCommand.js +21 -28
- package/dist-es/commands/UpdateDeploymentStrategyCommand.js +21 -28
- package/dist-es/commands/UpdateEnvironmentCommand.js +21 -28
- package/dist-es/commands/UpdateExtensionAssociationCommand.js +21 -28
- package/dist-es/commands/UpdateExtensionCommand.js +21 -28
- package/dist-es/commands/ValidateConfigurationCommand.js +22 -29
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/AppConfigServiceException.js +5 -10
- package/dist-es/models/models_0.js +311 -158
- package/dist-es/pagination/ListApplicationsPaginator.js +25 -68
- package/dist-es/pagination/ListConfigurationProfilesPaginator.js +25 -68
- package/dist-es/pagination/ListDeploymentStrategiesPaginator.js +25 -68
- package/dist-es/pagination/ListDeploymentsPaginator.js +25 -68
- package/dist-es/pagination/ListEnvironmentsPaginator.js +25 -68
- package/dist-es/pagination/ListExtensionAssociationsPaginator.js +25 -68
- package/dist-es/pagination/ListExtensionsPaginator.js +25 -68
- package/dist-es/pagination/ListHostedConfigurationVersionsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +3259 -4482
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-appconfig
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **clients:** make parseErrorBody async ([#3999](https://github.com/aws/aws-sdk-js-v3/issues/3999)) ([2558c93](https://github.com/aws/aws-sdk-js-v3/commit/2558c93c050357ac6dc47aa0452b15b12ebfd676))
|
|
20
|
+
* **clients:** populate message field when parsing errors ([#3995](https://github.com/aws/aws-sdk-js-v3/issues/3995)) ([02e47f1](https://github.com/aws/aws-sdk-js-v3/commit/02e47f14397ae0a5d2e2883350d038b307fdcdb4))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
# [3.180.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.179.0...v3.180.0) (2022-09-27)
|
|
7
27
|
|
|
8
28
|
**Note:** Version bump only for package @aws-sdk/client-appconfig
|
|
@@ -999,7 +999,7 @@ exports.deserializeAws_restJson1CreateApplicationCommand = deserializeAws_restJs
|
|
|
999
999
|
const deserializeAws_restJson1CreateApplicationCommandError = async (output, context) => {
|
|
1000
1000
|
const parsedOutput = {
|
|
1001
1001
|
...output,
|
|
1002
|
-
body: await
|
|
1002
|
+
body: await parseErrorBody(output.body, context),
|
|
1003
1003
|
};
|
|
1004
1004
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1005
1005
|
switch (errorCode) {
|
|
@@ -1057,7 +1057,7 @@ exports.deserializeAws_restJson1CreateConfigurationProfileCommand = deserializeA
|
|
|
1057
1057
|
const deserializeAws_restJson1CreateConfigurationProfileCommandError = async (output, context) => {
|
|
1058
1058
|
const parsedOutput = {
|
|
1059
1059
|
...output,
|
|
1060
|
-
body: await
|
|
1060
|
+
body: await parseErrorBody(output.body, context),
|
|
1061
1061
|
};
|
|
1062
1062
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1063
1063
|
switch (errorCode) {
|
|
@@ -1118,7 +1118,7 @@ exports.deserializeAws_restJson1CreateDeploymentStrategyCommand = deserializeAws
|
|
|
1118
1118
|
const deserializeAws_restJson1CreateDeploymentStrategyCommandError = async (output, context) => {
|
|
1119
1119
|
const parsedOutput = {
|
|
1120
1120
|
...output,
|
|
1121
|
-
body: await
|
|
1121
|
+
body: await parseErrorBody(output.body, context),
|
|
1122
1122
|
};
|
|
1123
1123
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1124
1124
|
switch (errorCode) {
|
|
@@ -1170,7 +1170,7 @@ exports.deserializeAws_restJson1CreateEnvironmentCommand = deserializeAws_restJs
|
|
|
1170
1170
|
const deserializeAws_restJson1CreateEnvironmentCommandError = async (output, context) => {
|
|
1171
1171
|
const parsedOutput = {
|
|
1172
1172
|
...output,
|
|
1173
|
-
body: await
|
|
1173
|
+
body: await parseErrorBody(output.body, context),
|
|
1174
1174
|
};
|
|
1175
1175
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1176
1176
|
switch (errorCode) {
|
|
@@ -1228,7 +1228,7 @@ exports.deserializeAws_restJson1CreateExtensionCommand = deserializeAws_restJson
|
|
|
1228
1228
|
const deserializeAws_restJson1CreateExtensionCommandError = async (output, context) => {
|
|
1229
1229
|
const parsedOutput = {
|
|
1230
1230
|
...output,
|
|
1231
|
-
body: await
|
|
1231
|
+
body: await parseErrorBody(output.body, context),
|
|
1232
1232
|
};
|
|
1233
1233
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1234
1234
|
switch (errorCode) {
|
|
@@ -1286,7 +1286,7 @@ exports.deserializeAws_restJson1CreateExtensionAssociationCommand = deserializeA
|
|
|
1286
1286
|
const deserializeAws_restJson1CreateExtensionAssociationCommandError = async (output, context) => {
|
|
1287
1287
|
const parsedOutput = {
|
|
1288
1288
|
...output,
|
|
1289
|
-
body: await
|
|
1289
|
+
body: await parseErrorBody(output.body, context),
|
|
1290
1290
|
};
|
|
1291
1291
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1292
1292
|
switch (errorCode) {
|
|
@@ -1335,7 +1335,7 @@ exports.deserializeAws_restJson1CreateHostedConfigurationVersionCommand = deseri
|
|
|
1335
1335
|
const deserializeAws_restJson1CreateHostedConfigurationVersionCommandError = async (output, context) => {
|
|
1336
1336
|
const parsedOutput = {
|
|
1337
1337
|
...output,
|
|
1338
|
-
body: await
|
|
1338
|
+
body: await parseErrorBody(output.body, context),
|
|
1339
1339
|
};
|
|
1340
1340
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1341
1341
|
switch (errorCode) {
|
|
@@ -1381,7 +1381,7 @@ exports.deserializeAws_restJson1DeleteApplicationCommand = deserializeAws_restJs
|
|
|
1381
1381
|
const deserializeAws_restJson1DeleteApplicationCommandError = async (output, context) => {
|
|
1382
1382
|
const parsedOutput = {
|
|
1383
1383
|
...output,
|
|
1384
|
-
body: await
|
|
1384
|
+
body: await parseErrorBody(output.body, context),
|
|
1385
1385
|
};
|
|
1386
1386
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1387
1387
|
switch (errorCode) {
|
|
@@ -1418,7 +1418,7 @@ exports.deserializeAws_restJson1DeleteConfigurationProfileCommand = deserializeA
|
|
|
1418
1418
|
const deserializeAws_restJson1DeleteConfigurationProfileCommandError = async (output, context) => {
|
|
1419
1419
|
const parsedOutput = {
|
|
1420
1420
|
...output,
|
|
1421
|
-
body: await
|
|
1421
|
+
body: await parseErrorBody(output.body, context),
|
|
1422
1422
|
};
|
|
1423
1423
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1424
1424
|
switch (errorCode) {
|
|
@@ -1458,7 +1458,7 @@ exports.deserializeAws_restJson1DeleteDeploymentStrategyCommand = deserializeAws
|
|
|
1458
1458
|
const deserializeAws_restJson1DeleteDeploymentStrategyCommandError = async (output, context) => {
|
|
1459
1459
|
const parsedOutput = {
|
|
1460
1460
|
...output,
|
|
1461
|
-
body: await
|
|
1461
|
+
body: await parseErrorBody(output.body, context),
|
|
1462
1462
|
};
|
|
1463
1463
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1464
1464
|
switch (errorCode) {
|
|
@@ -1495,7 +1495,7 @@ exports.deserializeAws_restJson1DeleteEnvironmentCommand = deserializeAws_restJs
|
|
|
1495
1495
|
const deserializeAws_restJson1DeleteEnvironmentCommandError = async (output, context) => {
|
|
1496
1496
|
const parsedOutput = {
|
|
1497
1497
|
...output,
|
|
1498
|
-
body: await
|
|
1498
|
+
body: await parseErrorBody(output.body, context),
|
|
1499
1499
|
};
|
|
1500
1500
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1501
1501
|
switch (errorCode) {
|
|
@@ -1535,7 +1535,7 @@ exports.deserializeAws_restJson1DeleteExtensionCommand = deserializeAws_restJson
|
|
|
1535
1535
|
const deserializeAws_restJson1DeleteExtensionCommandError = async (output, context) => {
|
|
1536
1536
|
const parsedOutput = {
|
|
1537
1537
|
...output,
|
|
1538
|
-
body: await
|
|
1538
|
+
body: await parseErrorBody(output.body, context),
|
|
1539
1539
|
};
|
|
1540
1540
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1541
1541
|
switch (errorCode) {
|
|
@@ -1572,7 +1572,7 @@ exports.deserializeAws_restJson1DeleteExtensionAssociationCommand = deserializeA
|
|
|
1572
1572
|
const deserializeAws_restJson1DeleteExtensionAssociationCommandError = async (output, context) => {
|
|
1573
1573
|
const parsedOutput = {
|
|
1574
1574
|
...output,
|
|
1575
|
-
body: await
|
|
1575
|
+
body: await parseErrorBody(output.body, context),
|
|
1576
1576
|
};
|
|
1577
1577
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1578
1578
|
switch (errorCode) {
|
|
@@ -1609,7 +1609,7 @@ exports.deserializeAws_restJson1DeleteHostedConfigurationVersionCommand = deseri
|
|
|
1609
1609
|
const deserializeAws_restJson1DeleteHostedConfigurationVersionCommandError = async (output, context) => {
|
|
1610
1610
|
const parsedOutput = {
|
|
1611
1611
|
...output,
|
|
1612
|
-
body: await
|
|
1612
|
+
body: await parseErrorBody(output.body, context),
|
|
1613
1613
|
};
|
|
1614
1614
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1615
1615
|
switch (errorCode) {
|
|
@@ -1655,7 +1655,7 @@ exports.deserializeAws_restJson1GetApplicationCommand = deserializeAws_restJson1
|
|
|
1655
1655
|
const deserializeAws_restJson1GetApplicationCommandError = async (output, context) => {
|
|
1656
1656
|
const parsedOutput = {
|
|
1657
1657
|
...output,
|
|
1658
|
-
body: await
|
|
1658
|
+
body: await parseErrorBody(output.body, context),
|
|
1659
1659
|
};
|
|
1660
1660
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1661
1661
|
switch (errorCode) {
|
|
@@ -1695,7 +1695,7 @@ exports.deserializeAws_restJson1GetConfigurationCommand = deserializeAws_restJso
|
|
|
1695
1695
|
const deserializeAws_restJson1GetConfigurationCommandError = async (output, context) => {
|
|
1696
1696
|
const parsedOutput = {
|
|
1697
1697
|
...output,
|
|
1698
|
-
body: await
|
|
1698
|
+
body: await parseErrorBody(output.body, context),
|
|
1699
1699
|
};
|
|
1700
1700
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1701
1701
|
switch (errorCode) {
|
|
@@ -1756,7 +1756,7 @@ exports.deserializeAws_restJson1GetConfigurationProfileCommand = deserializeAws_
|
|
|
1756
1756
|
const deserializeAws_restJson1GetConfigurationProfileCommandError = async (output, context) => {
|
|
1757
1757
|
const parsedOutput = {
|
|
1758
1758
|
...output,
|
|
1759
|
-
body: await
|
|
1759
|
+
body: await parseErrorBody(output.body, context),
|
|
1760
1760
|
};
|
|
1761
1761
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1762
1762
|
switch (errorCode) {
|
|
@@ -1850,7 +1850,7 @@ exports.deserializeAws_restJson1GetDeploymentCommand = deserializeAws_restJson1G
|
|
|
1850
1850
|
const deserializeAws_restJson1GetDeploymentCommandError = async (output, context) => {
|
|
1851
1851
|
const parsedOutput = {
|
|
1852
1852
|
...output,
|
|
1853
|
-
body: await
|
|
1853
|
+
body: await parseErrorBody(output.body, context),
|
|
1854
1854
|
};
|
|
1855
1855
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1856
1856
|
switch (errorCode) {
|
|
@@ -1911,7 +1911,7 @@ exports.deserializeAws_restJson1GetDeploymentStrategyCommand = deserializeAws_re
|
|
|
1911
1911
|
const deserializeAws_restJson1GetDeploymentStrategyCommandError = async (output, context) => {
|
|
1912
1912
|
const parsedOutput = {
|
|
1913
1913
|
...output,
|
|
1914
|
-
body: await
|
|
1914
|
+
body: await parseErrorBody(output.body, context),
|
|
1915
1915
|
};
|
|
1916
1916
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1917
1917
|
switch (errorCode) {
|
|
@@ -1966,7 +1966,7 @@ exports.deserializeAws_restJson1GetEnvironmentCommand = deserializeAws_restJson1
|
|
|
1966
1966
|
const deserializeAws_restJson1GetEnvironmentCommandError = async (output, context) => {
|
|
1967
1967
|
const parsedOutput = {
|
|
1968
1968
|
...output,
|
|
1969
|
-
body: await
|
|
1969
|
+
body: await parseErrorBody(output.body, context),
|
|
1970
1970
|
};
|
|
1971
1971
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1972
1972
|
switch (errorCode) {
|
|
@@ -2024,7 +2024,7 @@ exports.deserializeAws_restJson1GetExtensionCommand = deserializeAws_restJson1Ge
|
|
|
2024
2024
|
const deserializeAws_restJson1GetExtensionCommandError = async (output, context) => {
|
|
2025
2025
|
const parsedOutput = {
|
|
2026
2026
|
...output,
|
|
2027
|
-
body: await
|
|
2027
|
+
body: await parseErrorBody(output.body, context),
|
|
2028
2028
|
};
|
|
2029
2029
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2030
2030
|
switch (errorCode) {
|
|
@@ -2079,7 +2079,7 @@ exports.deserializeAws_restJson1GetExtensionAssociationCommand = deserializeAws_
|
|
|
2079
2079
|
const deserializeAws_restJson1GetExtensionAssociationCommandError = async (output, context) => {
|
|
2080
2080
|
const parsedOutput = {
|
|
2081
2081
|
...output,
|
|
2082
|
-
body: await
|
|
2082
|
+
body: await parseErrorBody(output.body, context),
|
|
2083
2083
|
};
|
|
2084
2084
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2085
2085
|
switch (errorCode) {
|
|
@@ -2125,7 +2125,7 @@ exports.deserializeAws_restJson1GetHostedConfigurationVersionCommand = deseriali
|
|
|
2125
2125
|
const deserializeAws_restJson1GetHostedConfigurationVersionCommandError = async (output, context) => {
|
|
2126
2126
|
const parsedOutput = {
|
|
2127
2127
|
...output,
|
|
2128
|
-
body: await
|
|
2128
|
+
body: await parseErrorBody(output.body, context),
|
|
2129
2129
|
};
|
|
2130
2130
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2131
2131
|
switch (errorCode) {
|
|
@@ -2168,7 +2168,7 @@ exports.deserializeAws_restJson1ListApplicationsCommand = deserializeAws_restJso
|
|
|
2168
2168
|
const deserializeAws_restJson1ListApplicationsCommandError = async (output, context) => {
|
|
2169
2169
|
const parsedOutput = {
|
|
2170
2170
|
...output,
|
|
2171
|
-
body: await
|
|
2171
|
+
body: await parseErrorBody(output.body, context),
|
|
2172
2172
|
};
|
|
2173
2173
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2174
2174
|
switch (errorCode) {
|
|
@@ -2208,7 +2208,7 @@ exports.deserializeAws_restJson1ListConfigurationProfilesCommand = deserializeAw
|
|
|
2208
2208
|
const deserializeAws_restJson1ListConfigurationProfilesCommandError = async (output, context) => {
|
|
2209
2209
|
const parsedOutput = {
|
|
2210
2210
|
...output,
|
|
2211
|
-
body: await
|
|
2211
|
+
body: await parseErrorBody(output.body, context),
|
|
2212
2212
|
};
|
|
2213
2213
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2214
2214
|
switch (errorCode) {
|
|
@@ -2251,7 +2251,7 @@ exports.deserializeAws_restJson1ListDeploymentsCommand = deserializeAws_restJson
|
|
|
2251
2251
|
const deserializeAws_restJson1ListDeploymentsCommandError = async (output, context) => {
|
|
2252
2252
|
const parsedOutput = {
|
|
2253
2253
|
...output,
|
|
2254
|
-
body: await
|
|
2254
|
+
body: await parseErrorBody(output.body, context),
|
|
2255
2255
|
};
|
|
2256
2256
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2257
2257
|
switch (errorCode) {
|
|
@@ -2294,7 +2294,7 @@ exports.deserializeAws_restJson1ListDeploymentStrategiesCommand = deserializeAws
|
|
|
2294
2294
|
const deserializeAws_restJson1ListDeploymentStrategiesCommandError = async (output, context) => {
|
|
2295
2295
|
const parsedOutput = {
|
|
2296
2296
|
...output,
|
|
2297
|
-
body: await
|
|
2297
|
+
body: await parseErrorBody(output.body, context),
|
|
2298
2298
|
};
|
|
2299
2299
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2300
2300
|
switch (errorCode) {
|
|
@@ -2334,7 +2334,7 @@ exports.deserializeAws_restJson1ListEnvironmentsCommand = deserializeAws_restJso
|
|
|
2334
2334
|
const deserializeAws_restJson1ListEnvironmentsCommandError = async (output, context) => {
|
|
2335
2335
|
const parsedOutput = {
|
|
2336
2336
|
...output,
|
|
2337
|
-
body: await
|
|
2337
|
+
body: await parseErrorBody(output.body, context),
|
|
2338
2338
|
};
|
|
2339
2339
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2340
2340
|
switch (errorCode) {
|
|
@@ -2377,7 +2377,7 @@ exports.deserializeAws_restJson1ListExtensionAssociationsCommand = deserializeAw
|
|
|
2377
2377
|
const deserializeAws_restJson1ListExtensionAssociationsCommandError = async (output, context) => {
|
|
2378
2378
|
const parsedOutput = {
|
|
2379
2379
|
...output,
|
|
2380
|
-
body: await
|
|
2380
|
+
body: await parseErrorBody(output.body, context),
|
|
2381
2381
|
};
|
|
2382
2382
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2383
2383
|
switch (errorCode) {
|
|
@@ -2417,7 +2417,7 @@ exports.deserializeAws_restJson1ListExtensionsCommand = deserializeAws_restJson1
|
|
|
2417
2417
|
const deserializeAws_restJson1ListExtensionsCommandError = async (output, context) => {
|
|
2418
2418
|
const parsedOutput = {
|
|
2419
2419
|
...output,
|
|
2420
|
-
body: await
|
|
2420
|
+
body: await parseErrorBody(output.body, context),
|
|
2421
2421
|
};
|
|
2422
2422
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2423
2423
|
switch (errorCode) {
|
|
@@ -2457,7 +2457,7 @@ exports.deserializeAws_restJson1ListHostedConfigurationVersionsCommand = deseria
|
|
|
2457
2457
|
const deserializeAws_restJson1ListHostedConfigurationVersionsCommandError = async (output, context) => {
|
|
2458
2458
|
const parsedOutput = {
|
|
2459
2459
|
...output,
|
|
2460
|
-
body: await
|
|
2460
|
+
body: await parseErrorBody(output.body, context),
|
|
2461
2461
|
};
|
|
2462
2462
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2463
2463
|
switch (errorCode) {
|
|
@@ -2497,7 +2497,7 @@ exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_rest
|
|
|
2497
2497
|
const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
|
|
2498
2498
|
const parsedOutput = {
|
|
2499
2499
|
...output,
|
|
2500
|
-
body: await
|
|
2500
|
+
body: await parseErrorBody(output.body, context),
|
|
2501
2501
|
};
|
|
2502
2502
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2503
2503
|
switch (errorCode) {
|
|
@@ -2591,7 +2591,7 @@ exports.deserializeAws_restJson1StartDeploymentCommand = deserializeAws_restJson
|
|
|
2591
2591
|
const deserializeAws_restJson1StartDeploymentCommandError = async (output, context) => {
|
|
2592
2592
|
const parsedOutput = {
|
|
2593
2593
|
...output,
|
|
2594
|
-
body: await
|
|
2594
|
+
body: await parseErrorBody(output.body, context),
|
|
2595
2595
|
};
|
|
2596
2596
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2597
2597
|
switch (errorCode) {
|
|
@@ -2688,7 +2688,7 @@ exports.deserializeAws_restJson1StopDeploymentCommand = deserializeAws_restJson1
|
|
|
2688
2688
|
const deserializeAws_restJson1StopDeploymentCommandError = async (output, context) => {
|
|
2689
2689
|
const parsedOutput = {
|
|
2690
2690
|
...output,
|
|
2691
|
-
body: await
|
|
2691
|
+
body: await parseErrorBody(output.body, context),
|
|
2692
2692
|
};
|
|
2693
2693
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2694
2694
|
switch (errorCode) {
|
|
@@ -2725,7 +2725,7 @@ exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1Tag
|
|
|
2725
2725
|
const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
|
|
2726
2726
|
const parsedOutput = {
|
|
2727
2727
|
...output,
|
|
2728
|
-
body: await
|
|
2728
|
+
body: await parseErrorBody(output.body, context),
|
|
2729
2729
|
};
|
|
2730
2730
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2731
2731
|
switch (errorCode) {
|
|
@@ -2762,7 +2762,7 @@ exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1U
|
|
|
2762
2762
|
const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
|
|
2763
2763
|
const parsedOutput = {
|
|
2764
2764
|
...output,
|
|
2765
|
-
body: await
|
|
2765
|
+
body: await parseErrorBody(output.body, context),
|
|
2766
2766
|
};
|
|
2767
2767
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2768
2768
|
switch (errorCode) {
|
|
@@ -2808,7 +2808,7 @@ exports.deserializeAws_restJson1UpdateApplicationCommand = deserializeAws_restJs
|
|
|
2808
2808
|
const deserializeAws_restJson1UpdateApplicationCommandError = async (output, context) => {
|
|
2809
2809
|
const parsedOutput = {
|
|
2810
2810
|
...output,
|
|
2811
|
-
body: await
|
|
2811
|
+
body: await parseErrorBody(output.body, context),
|
|
2812
2812
|
};
|
|
2813
2813
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2814
2814
|
switch (errorCode) {
|
|
@@ -2869,7 +2869,7 @@ exports.deserializeAws_restJson1UpdateConfigurationProfileCommand = deserializeA
|
|
|
2869
2869
|
const deserializeAws_restJson1UpdateConfigurationProfileCommandError = async (output, context) => {
|
|
2870
2870
|
const parsedOutput = {
|
|
2871
2871
|
...output,
|
|
2872
|
-
body: await
|
|
2872
|
+
body: await parseErrorBody(output.body, context),
|
|
2873
2873
|
};
|
|
2874
2874
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2875
2875
|
switch (errorCode) {
|
|
@@ -2930,7 +2930,7 @@ exports.deserializeAws_restJson1UpdateDeploymentStrategyCommand = deserializeAws
|
|
|
2930
2930
|
const deserializeAws_restJson1UpdateDeploymentStrategyCommandError = async (output, context) => {
|
|
2931
2931
|
const parsedOutput = {
|
|
2932
2932
|
...output,
|
|
2933
|
-
body: await
|
|
2933
|
+
body: await parseErrorBody(output.body, context),
|
|
2934
2934
|
};
|
|
2935
2935
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2936
2936
|
switch (errorCode) {
|
|
@@ -2985,7 +2985,7 @@ exports.deserializeAws_restJson1UpdateEnvironmentCommand = deserializeAws_restJs
|
|
|
2985
2985
|
const deserializeAws_restJson1UpdateEnvironmentCommandError = async (output, context) => {
|
|
2986
2986
|
const parsedOutput = {
|
|
2987
2987
|
...output,
|
|
2988
|
-
body: await
|
|
2988
|
+
body: await parseErrorBody(output.body, context),
|
|
2989
2989
|
};
|
|
2990
2990
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2991
2991
|
switch (errorCode) {
|
|
@@ -3043,7 +3043,7 @@ exports.deserializeAws_restJson1UpdateExtensionCommand = deserializeAws_restJson
|
|
|
3043
3043
|
const deserializeAws_restJson1UpdateExtensionCommandError = async (output, context) => {
|
|
3044
3044
|
const parsedOutput = {
|
|
3045
3045
|
...output,
|
|
3046
|
-
body: await
|
|
3046
|
+
body: await parseErrorBody(output.body, context),
|
|
3047
3047
|
};
|
|
3048
3048
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3049
3049
|
switch (errorCode) {
|
|
@@ -3101,7 +3101,7 @@ exports.deserializeAws_restJson1UpdateExtensionAssociationCommand = deserializeA
|
|
|
3101
3101
|
const deserializeAws_restJson1UpdateExtensionAssociationCommandError = async (output, context) => {
|
|
3102
3102
|
const parsedOutput = {
|
|
3103
3103
|
...output,
|
|
3104
|
-
body: await
|
|
3104
|
+
body: await parseErrorBody(output.body, context),
|
|
3105
3105
|
};
|
|
3106
3106
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3107
3107
|
switch (errorCode) {
|
|
@@ -3138,7 +3138,7 @@ exports.deserializeAws_restJson1ValidateConfigurationCommand = deserializeAws_re
|
|
|
3138
3138
|
const deserializeAws_restJson1ValidateConfigurationCommandError = async (output, context) => {
|
|
3139
3139
|
const parsedOutput = {
|
|
3140
3140
|
...output,
|
|
3141
|
-
body: await
|
|
3141
|
+
body: await parseErrorBody(output.body, context),
|
|
3142
3142
|
};
|
|
3143
3143
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3144
3144
|
switch (errorCode) {
|
|
@@ -3744,6 +3744,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
3744
3744
|
}
|
|
3745
3745
|
return {};
|
|
3746
3746
|
});
|
|
3747
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
3748
|
+
var _a;
|
|
3749
|
+
const value = await parseBody(errorBody, context);
|
|
3750
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
3751
|
+
return value;
|
|
3752
|
+
};
|
|
3747
3753
|
const loadRestJsonErrorCode = (output, data) => {
|
|
3748
3754
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
3749
3755
|
const sanitizeErrorCode = (rawValue) => {
|