@aws-sdk/client-service-catalog 3.179.0 → 3.181.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_json1_1.js +93 -87
- package/dist-es/protocols/Aws_json1_1.js +100 -87
- package/package.json +6 -6
|
@@ -896,7 +896,7 @@ exports.deserializeAws_json1_1AcceptPortfolioShareCommand = deserializeAws_json1
|
|
|
896
896
|
const deserializeAws_json1_1AcceptPortfolioShareCommandError = async (output, context) => {
|
|
897
897
|
const parsedOutput = {
|
|
898
898
|
...output,
|
|
899
|
-
body: await
|
|
899
|
+
body: await parseErrorBody(output.body, context),
|
|
900
900
|
};
|
|
901
901
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
902
902
|
switch (errorCode) {
|
|
@@ -936,7 +936,7 @@ exports.deserializeAws_json1_1AssociateBudgetWithResourceCommand = deserializeAw
|
|
|
936
936
|
const deserializeAws_json1_1AssociateBudgetWithResourceCommandError = async (output, context) => {
|
|
937
937
|
const parsedOutput = {
|
|
938
938
|
...output,
|
|
939
|
-
body: await
|
|
939
|
+
body: await parseErrorBody(output.body, context),
|
|
940
940
|
};
|
|
941
941
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
942
942
|
switch (errorCode) {
|
|
@@ -979,7 +979,7 @@ exports.deserializeAws_json1_1AssociatePrincipalWithPortfolioCommand = deseriali
|
|
|
979
979
|
const deserializeAws_json1_1AssociatePrincipalWithPortfolioCommandError = async (output, context) => {
|
|
980
980
|
const parsedOutput = {
|
|
981
981
|
...output,
|
|
982
|
-
body: await
|
|
982
|
+
body: await parseErrorBody(output.body, context),
|
|
983
983
|
};
|
|
984
984
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
985
985
|
switch (errorCode) {
|
|
@@ -1019,7 +1019,7 @@ exports.deserializeAws_json1_1AssociateProductWithPortfolioCommand = deserialize
|
|
|
1019
1019
|
const deserializeAws_json1_1AssociateProductWithPortfolioCommandError = async (output, context) => {
|
|
1020
1020
|
const parsedOutput = {
|
|
1021
1021
|
...output,
|
|
1022
|
-
body: await
|
|
1022
|
+
body: await parseErrorBody(output.body, context),
|
|
1023
1023
|
};
|
|
1024
1024
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1025
1025
|
switch (errorCode) {
|
|
@@ -1059,7 +1059,7 @@ exports.deserializeAws_json1_1AssociateServiceActionWithProvisioningArtifactComm
|
|
|
1059
1059
|
const deserializeAws_json1_1AssociateServiceActionWithProvisioningArtifactCommandError = async (output, context) => {
|
|
1060
1060
|
const parsedOutput = {
|
|
1061
1061
|
...output,
|
|
1062
|
-
body: await
|
|
1062
|
+
body: await parseErrorBody(output.body, context),
|
|
1063
1063
|
};
|
|
1064
1064
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1065
1065
|
switch (errorCode) {
|
|
@@ -1099,7 +1099,7 @@ exports.deserializeAws_json1_1AssociateTagOptionWithResourceCommand = deserializ
|
|
|
1099
1099
|
const deserializeAws_json1_1AssociateTagOptionWithResourceCommandError = async (output, context) => {
|
|
1100
1100
|
const parsedOutput = {
|
|
1101
1101
|
...output,
|
|
1102
|
-
body: await
|
|
1102
|
+
body: await parseErrorBody(output.body, context),
|
|
1103
1103
|
};
|
|
1104
1104
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1105
1105
|
switch (errorCode) {
|
|
@@ -1148,7 +1148,7 @@ exports.deserializeAws_json1_1BatchAssociateServiceActionWithProvisioningArtifac
|
|
|
1148
1148
|
const deserializeAws_json1_1BatchAssociateServiceActionWithProvisioningArtifactCommandError = async (output, context) => {
|
|
1149
1149
|
const parsedOutput = {
|
|
1150
1150
|
...output,
|
|
1151
|
-
body: await
|
|
1151
|
+
body: await parseErrorBody(output.body, context),
|
|
1152
1152
|
};
|
|
1153
1153
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1154
1154
|
switch (errorCode) {
|
|
@@ -1182,7 +1182,7 @@ exports.deserializeAws_json1_1BatchDisassociateServiceActionFromProvisioningArti
|
|
|
1182
1182
|
const deserializeAws_json1_1BatchDisassociateServiceActionFromProvisioningArtifactCommandError = async (output, context) => {
|
|
1183
1183
|
const parsedOutput = {
|
|
1184
1184
|
...output,
|
|
1185
|
-
body: await
|
|
1185
|
+
body: await parseErrorBody(output.body, context),
|
|
1186
1186
|
};
|
|
1187
1187
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1188
1188
|
switch (errorCode) {
|
|
@@ -1216,7 +1216,7 @@ exports.deserializeAws_json1_1CopyProductCommand = deserializeAws_json1_1CopyPro
|
|
|
1216
1216
|
const deserializeAws_json1_1CopyProductCommandError = async (output, context) => {
|
|
1217
1217
|
const parsedOutput = {
|
|
1218
1218
|
...output,
|
|
1219
|
-
body: await
|
|
1219
|
+
body: await parseErrorBody(output.body, context),
|
|
1220
1220
|
};
|
|
1221
1221
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1222
1222
|
switch (errorCode) {
|
|
@@ -1253,7 +1253,7 @@ exports.deserializeAws_json1_1CreateConstraintCommand = deserializeAws_json1_1Cr
|
|
|
1253
1253
|
const deserializeAws_json1_1CreateConstraintCommandError = async (output, context) => {
|
|
1254
1254
|
const parsedOutput = {
|
|
1255
1255
|
...output,
|
|
1256
|
-
body: await
|
|
1256
|
+
body: await parseErrorBody(output.body, context),
|
|
1257
1257
|
};
|
|
1258
1258
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1259
1259
|
switch (errorCode) {
|
|
@@ -1296,7 +1296,7 @@ exports.deserializeAws_json1_1CreatePortfolioCommand = deserializeAws_json1_1Cre
|
|
|
1296
1296
|
const deserializeAws_json1_1CreatePortfolioCommandError = async (output, context) => {
|
|
1297
1297
|
const parsedOutput = {
|
|
1298
1298
|
...output,
|
|
1299
|
-
body: await
|
|
1299
|
+
body: await parseErrorBody(output.body, context),
|
|
1300
1300
|
};
|
|
1301
1301
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1302
1302
|
switch (errorCode) {
|
|
@@ -1336,7 +1336,7 @@ exports.deserializeAws_json1_1CreatePortfolioShareCommand = deserializeAws_json1
|
|
|
1336
1336
|
const deserializeAws_json1_1CreatePortfolioShareCommandError = async (output, context) => {
|
|
1337
1337
|
const parsedOutput = {
|
|
1338
1338
|
...output,
|
|
1339
|
-
body: await
|
|
1339
|
+
body: await parseErrorBody(output.body, context),
|
|
1340
1340
|
};
|
|
1341
1341
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1342
1342
|
switch (errorCode) {
|
|
@@ -1382,7 +1382,7 @@ exports.deserializeAws_json1_1CreateProductCommand = deserializeAws_json1_1Creat
|
|
|
1382
1382
|
const deserializeAws_json1_1CreateProductCommandError = async (output, context) => {
|
|
1383
1383
|
const parsedOutput = {
|
|
1384
1384
|
...output,
|
|
1385
|
-
body: await
|
|
1385
|
+
body: await parseErrorBody(output.body, context),
|
|
1386
1386
|
};
|
|
1387
1387
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1388
1388
|
switch (errorCode) {
|
|
@@ -1422,7 +1422,7 @@ exports.deserializeAws_json1_1CreateProvisionedProductPlanCommand = deserializeA
|
|
|
1422
1422
|
const deserializeAws_json1_1CreateProvisionedProductPlanCommandError = async (output, context) => {
|
|
1423
1423
|
const parsedOutput = {
|
|
1424
1424
|
...output,
|
|
1425
|
-
body: await
|
|
1425
|
+
body: await parseErrorBody(output.body, context),
|
|
1426
1426
|
};
|
|
1427
1427
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1428
1428
|
switch (errorCode) {
|
|
@@ -1462,7 +1462,7 @@ exports.deserializeAws_json1_1CreateProvisioningArtifactCommand = deserializeAws
|
|
|
1462
1462
|
const deserializeAws_json1_1CreateProvisioningArtifactCommandError = async (output, context) => {
|
|
1463
1463
|
const parsedOutput = {
|
|
1464
1464
|
...output,
|
|
1465
|
-
body: await
|
|
1465
|
+
body: await parseErrorBody(output.body, context),
|
|
1466
1466
|
};
|
|
1467
1467
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1468
1468
|
switch (errorCode) {
|
|
@@ -1502,7 +1502,7 @@ exports.deserializeAws_json1_1CreateServiceActionCommand = deserializeAws_json1_
|
|
|
1502
1502
|
const deserializeAws_json1_1CreateServiceActionCommandError = async (output, context) => {
|
|
1503
1503
|
const parsedOutput = {
|
|
1504
1504
|
...output,
|
|
1505
|
-
body: await
|
|
1505
|
+
body: await parseErrorBody(output.body, context),
|
|
1506
1506
|
};
|
|
1507
1507
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1508
1508
|
switch (errorCode) {
|
|
@@ -1539,7 +1539,7 @@ exports.deserializeAws_json1_1CreateTagOptionCommand = deserializeAws_json1_1Cre
|
|
|
1539
1539
|
const deserializeAws_json1_1CreateTagOptionCommandError = async (output, context) => {
|
|
1540
1540
|
const parsedOutput = {
|
|
1541
1541
|
...output,
|
|
1542
|
-
body: await
|
|
1542
|
+
body: await parseErrorBody(output.body, context),
|
|
1543
1543
|
};
|
|
1544
1544
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1545
1545
|
switch (errorCode) {
|
|
@@ -1579,7 +1579,7 @@ exports.deserializeAws_json1_1DeleteConstraintCommand = deserializeAws_json1_1De
|
|
|
1579
1579
|
const deserializeAws_json1_1DeleteConstraintCommandError = async (output, context) => {
|
|
1580
1580
|
const parsedOutput = {
|
|
1581
1581
|
...output,
|
|
1582
|
-
body: await
|
|
1582
|
+
body: await parseErrorBody(output.body, context),
|
|
1583
1583
|
};
|
|
1584
1584
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1585
1585
|
switch (errorCode) {
|
|
@@ -1616,7 +1616,7 @@ exports.deserializeAws_json1_1DeletePortfolioCommand = deserializeAws_json1_1Del
|
|
|
1616
1616
|
const deserializeAws_json1_1DeletePortfolioCommandError = async (output, context) => {
|
|
1617
1617
|
const parsedOutput = {
|
|
1618
1618
|
...output,
|
|
1619
|
-
body: await
|
|
1619
|
+
body: await parseErrorBody(output.body, context),
|
|
1620
1620
|
};
|
|
1621
1621
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1622
1622
|
switch (errorCode) {
|
|
@@ -1659,7 +1659,7 @@ exports.deserializeAws_json1_1DeletePortfolioShareCommand = deserializeAws_json1
|
|
|
1659
1659
|
const deserializeAws_json1_1DeletePortfolioShareCommandError = async (output, context) => {
|
|
1660
1660
|
const parsedOutput = {
|
|
1661
1661
|
...output,
|
|
1662
|
-
body: await
|
|
1662
|
+
body: await parseErrorBody(output.body, context),
|
|
1663
1663
|
};
|
|
1664
1664
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1665
1665
|
switch (errorCode) {
|
|
@@ -1702,7 +1702,7 @@ exports.deserializeAws_json1_1DeleteProductCommand = deserializeAws_json1_1Delet
|
|
|
1702
1702
|
const deserializeAws_json1_1DeleteProductCommandError = async (output, context) => {
|
|
1703
1703
|
const parsedOutput = {
|
|
1704
1704
|
...output,
|
|
1705
|
-
body: await
|
|
1705
|
+
body: await parseErrorBody(output.body, context),
|
|
1706
1706
|
};
|
|
1707
1707
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1708
1708
|
switch (errorCode) {
|
|
@@ -1745,7 +1745,7 @@ exports.deserializeAws_json1_1DeleteProvisionedProductPlanCommand = deserializeA
|
|
|
1745
1745
|
const deserializeAws_json1_1DeleteProvisionedProductPlanCommandError = async (output, context) => {
|
|
1746
1746
|
const parsedOutput = {
|
|
1747
1747
|
...output,
|
|
1748
|
-
body: await
|
|
1748
|
+
body: await parseErrorBody(output.body, context),
|
|
1749
1749
|
};
|
|
1750
1750
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1751
1751
|
switch (errorCode) {
|
|
@@ -1782,7 +1782,7 @@ exports.deserializeAws_json1_1DeleteProvisioningArtifactCommand = deserializeAws
|
|
|
1782
1782
|
const deserializeAws_json1_1DeleteProvisioningArtifactCommandError = async (output, context) => {
|
|
1783
1783
|
const parsedOutput = {
|
|
1784
1784
|
...output,
|
|
1785
|
-
body: await
|
|
1785
|
+
body: await parseErrorBody(output.body, context),
|
|
1786
1786
|
};
|
|
1787
1787
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1788
1788
|
switch (errorCode) {
|
|
@@ -1822,7 +1822,7 @@ exports.deserializeAws_json1_1DeleteServiceActionCommand = deserializeAws_json1_
|
|
|
1822
1822
|
const deserializeAws_json1_1DeleteServiceActionCommandError = async (output, context) => {
|
|
1823
1823
|
const parsedOutput = {
|
|
1824
1824
|
...output,
|
|
1825
|
-
body: await
|
|
1825
|
+
body: await parseErrorBody(output.body, context),
|
|
1826
1826
|
};
|
|
1827
1827
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1828
1828
|
switch (errorCode) {
|
|
@@ -1859,7 +1859,7 @@ exports.deserializeAws_json1_1DeleteTagOptionCommand = deserializeAws_json1_1Del
|
|
|
1859
1859
|
const deserializeAws_json1_1DeleteTagOptionCommandError = async (output, context) => {
|
|
1860
1860
|
const parsedOutput = {
|
|
1861
1861
|
...output,
|
|
1862
|
-
body: await
|
|
1862
|
+
body: await parseErrorBody(output.body, context),
|
|
1863
1863
|
};
|
|
1864
1864
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1865
1865
|
switch (errorCode) {
|
|
@@ -1899,7 +1899,7 @@ exports.deserializeAws_json1_1DescribeConstraintCommand = deserializeAws_json1_1
|
|
|
1899
1899
|
const deserializeAws_json1_1DescribeConstraintCommandError = async (output, context) => {
|
|
1900
1900
|
const parsedOutput = {
|
|
1901
1901
|
...output,
|
|
1902
|
-
body: await
|
|
1902
|
+
body: await parseErrorBody(output.body, context),
|
|
1903
1903
|
};
|
|
1904
1904
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1905
1905
|
switch (errorCode) {
|
|
@@ -1933,7 +1933,7 @@ exports.deserializeAws_json1_1DescribeCopyProductStatusCommand = deserializeAws_
|
|
|
1933
1933
|
const deserializeAws_json1_1DescribeCopyProductStatusCommandError = async (output, context) => {
|
|
1934
1934
|
const parsedOutput = {
|
|
1935
1935
|
...output,
|
|
1936
|
-
body: await
|
|
1936
|
+
body: await parseErrorBody(output.body, context),
|
|
1937
1937
|
};
|
|
1938
1938
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1939
1939
|
switch (errorCode) {
|
|
@@ -1967,7 +1967,7 @@ exports.deserializeAws_json1_1DescribePortfolioCommand = deserializeAws_json1_1D
|
|
|
1967
1967
|
const deserializeAws_json1_1DescribePortfolioCommandError = async (output, context) => {
|
|
1968
1968
|
const parsedOutput = {
|
|
1969
1969
|
...output,
|
|
1970
|
-
body: await
|
|
1970
|
+
body: await parseErrorBody(output.body, context),
|
|
1971
1971
|
};
|
|
1972
1972
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1973
1973
|
switch (errorCode) {
|
|
@@ -2001,7 +2001,7 @@ exports.deserializeAws_json1_1DescribePortfolioSharesCommand = deserializeAws_js
|
|
|
2001
2001
|
const deserializeAws_json1_1DescribePortfolioSharesCommandError = async (output, context) => {
|
|
2002
2002
|
const parsedOutput = {
|
|
2003
2003
|
...output,
|
|
2004
|
-
body: await
|
|
2004
|
+
body: await parseErrorBody(output.body, context),
|
|
2005
2005
|
};
|
|
2006
2006
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2007
2007
|
switch (errorCode) {
|
|
@@ -2038,7 +2038,7 @@ exports.deserializeAws_json1_1DescribePortfolioShareStatusCommand = deserializeA
|
|
|
2038
2038
|
const deserializeAws_json1_1DescribePortfolioShareStatusCommandError = async (output, context) => {
|
|
2039
2039
|
const parsedOutput = {
|
|
2040
2040
|
...output,
|
|
2041
|
-
body: await
|
|
2041
|
+
body: await parseErrorBody(output.body, context),
|
|
2042
2042
|
};
|
|
2043
2043
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2044
2044
|
switch (errorCode) {
|
|
@@ -2078,7 +2078,7 @@ exports.deserializeAws_json1_1DescribeProductCommand = deserializeAws_json1_1Des
|
|
|
2078
2078
|
const deserializeAws_json1_1DescribeProductCommandError = async (output, context) => {
|
|
2079
2079
|
const parsedOutput = {
|
|
2080
2080
|
...output,
|
|
2081
|
-
body: await
|
|
2081
|
+
body: await parseErrorBody(output.body, context),
|
|
2082
2082
|
};
|
|
2083
2083
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2084
2084
|
switch (errorCode) {
|
|
@@ -2115,7 +2115,7 @@ exports.deserializeAws_json1_1DescribeProductAsAdminCommand = deserializeAws_jso
|
|
|
2115
2115
|
const deserializeAws_json1_1DescribeProductAsAdminCommandError = async (output, context) => {
|
|
2116
2116
|
const parsedOutput = {
|
|
2117
2117
|
...output,
|
|
2118
|
-
body: await
|
|
2118
|
+
body: await parseErrorBody(output.body, context),
|
|
2119
2119
|
};
|
|
2120
2120
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2121
2121
|
switch (errorCode) {
|
|
@@ -2152,7 +2152,7 @@ exports.deserializeAws_json1_1DescribeProductViewCommand = deserializeAws_json1_
|
|
|
2152
2152
|
const deserializeAws_json1_1DescribeProductViewCommandError = async (output, context) => {
|
|
2153
2153
|
const parsedOutput = {
|
|
2154
2154
|
...output,
|
|
2155
|
-
body: await
|
|
2155
|
+
body: await parseErrorBody(output.body, context),
|
|
2156
2156
|
};
|
|
2157
2157
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2158
2158
|
switch (errorCode) {
|
|
@@ -2189,7 +2189,7 @@ exports.deserializeAws_json1_1DescribeProvisionedProductCommand = deserializeAws
|
|
|
2189
2189
|
const deserializeAws_json1_1DescribeProvisionedProductCommandError = async (output, context) => {
|
|
2190
2190
|
const parsedOutput = {
|
|
2191
2191
|
...output,
|
|
2192
|
-
body: await
|
|
2192
|
+
body: await parseErrorBody(output.body, context),
|
|
2193
2193
|
};
|
|
2194
2194
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2195
2195
|
switch (errorCode) {
|
|
@@ -2226,7 +2226,7 @@ exports.deserializeAws_json1_1DescribeProvisionedProductPlanCommand = deserializ
|
|
|
2226
2226
|
const deserializeAws_json1_1DescribeProvisionedProductPlanCommandError = async (output, context) => {
|
|
2227
2227
|
const parsedOutput = {
|
|
2228
2228
|
...output,
|
|
2229
|
-
body: await
|
|
2229
|
+
body: await parseErrorBody(output.body, context),
|
|
2230
2230
|
};
|
|
2231
2231
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2232
2232
|
switch (errorCode) {
|
|
@@ -2263,7 +2263,7 @@ exports.deserializeAws_json1_1DescribeProvisioningArtifactCommand = deserializeA
|
|
|
2263
2263
|
const deserializeAws_json1_1DescribeProvisioningArtifactCommandError = async (output, context) => {
|
|
2264
2264
|
const parsedOutput = {
|
|
2265
2265
|
...output,
|
|
2266
|
-
body: await
|
|
2266
|
+
body: await parseErrorBody(output.body, context),
|
|
2267
2267
|
};
|
|
2268
2268
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2269
2269
|
switch (errorCode) {
|
|
@@ -2300,7 +2300,7 @@ exports.deserializeAws_json1_1DescribeProvisioningParametersCommand = deserializ
|
|
|
2300
2300
|
const deserializeAws_json1_1DescribeProvisioningParametersCommandError = async (output, context) => {
|
|
2301
2301
|
const parsedOutput = {
|
|
2302
2302
|
...output,
|
|
2303
|
-
body: await
|
|
2303
|
+
body: await parseErrorBody(output.body, context),
|
|
2304
2304
|
};
|
|
2305
2305
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2306
2306
|
switch (errorCode) {
|
|
@@ -2337,7 +2337,7 @@ exports.deserializeAws_json1_1DescribeRecordCommand = deserializeAws_json1_1Desc
|
|
|
2337
2337
|
const deserializeAws_json1_1DescribeRecordCommandError = async (output, context) => {
|
|
2338
2338
|
const parsedOutput = {
|
|
2339
2339
|
...output,
|
|
2340
|
-
body: await
|
|
2340
|
+
body: await parseErrorBody(output.body, context),
|
|
2341
2341
|
};
|
|
2342
2342
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2343
2343
|
switch (errorCode) {
|
|
@@ -2371,7 +2371,7 @@ exports.deserializeAws_json1_1DescribeServiceActionCommand = deserializeAws_json
|
|
|
2371
2371
|
const deserializeAws_json1_1DescribeServiceActionCommandError = async (output, context) => {
|
|
2372
2372
|
const parsedOutput = {
|
|
2373
2373
|
...output,
|
|
2374
|
-
body: await
|
|
2374
|
+
body: await parseErrorBody(output.body, context),
|
|
2375
2375
|
};
|
|
2376
2376
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2377
2377
|
switch (errorCode) {
|
|
@@ -2405,7 +2405,7 @@ exports.deserializeAws_json1_1DescribeServiceActionExecutionParametersCommand =
|
|
|
2405
2405
|
const deserializeAws_json1_1DescribeServiceActionExecutionParametersCommandError = async (output, context) => {
|
|
2406
2406
|
const parsedOutput = {
|
|
2407
2407
|
...output,
|
|
2408
|
-
body: await
|
|
2408
|
+
body: await parseErrorBody(output.body, context),
|
|
2409
2409
|
};
|
|
2410
2410
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2411
2411
|
switch (errorCode) {
|
|
@@ -2442,7 +2442,7 @@ exports.deserializeAws_json1_1DescribeTagOptionCommand = deserializeAws_json1_1D
|
|
|
2442
2442
|
const deserializeAws_json1_1DescribeTagOptionCommandError = async (output, context) => {
|
|
2443
2443
|
const parsedOutput = {
|
|
2444
2444
|
...output,
|
|
2445
|
-
body: await
|
|
2445
|
+
body: await parseErrorBody(output.body, context),
|
|
2446
2446
|
};
|
|
2447
2447
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2448
2448
|
switch (errorCode) {
|
|
@@ -2479,7 +2479,7 @@ exports.deserializeAws_json1_1DisableAWSOrganizationsAccessCommand = deserialize
|
|
|
2479
2479
|
const deserializeAws_json1_1DisableAWSOrganizationsAccessCommandError = async (output, context) => {
|
|
2480
2480
|
const parsedOutput = {
|
|
2481
2481
|
...output,
|
|
2482
|
-
body: await
|
|
2482
|
+
body: await parseErrorBody(output.body, context),
|
|
2483
2483
|
};
|
|
2484
2484
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2485
2485
|
switch (errorCode) {
|
|
@@ -2519,7 +2519,7 @@ exports.deserializeAws_json1_1DisassociateBudgetFromResourceCommand = deserializ
|
|
|
2519
2519
|
const deserializeAws_json1_1DisassociateBudgetFromResourceCommandError = async (output, context) => {
|
|
2520
2520
|
const parsedOutput = {
|
|
2521
2521
|
...output,
|
|
2522
|
-
body: await
|
|
2522
|
+
body: await parseErrorBody(output.body, context),
|
|
2523
2523
|
};
|
|
2524
2524
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2525
2525
|
switch (errorCode) {
|
|
@@ -2553,7 +2553,7 @@ exports.deserializeAws_json1_1DisassociatePrincipalFromPortfolioCommand = deseri
|
|
|
2553
2553
|
const deserializeAws_json1_1DisassociatePrincipalFromPortfolioCommandError = async (output, context) => {
|
|
2554
2554
|
const parsedOutput = {
|
|
2555
2555
|
...output,
|
|
2556
|
-
body: await
|
|
2556
|
+
body: await parseErrorBody(output.body, context),
|
|
2557
2557
|
};
|
|
2558
2558
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2559
2559
|
switch (errorCode) {
|
|
@@ -2590,7 +2590,7 @@ exports.deserializeAws_json1_1DisassociateProductFromPortfolioCommand = deserial
|
|
|
2590
2590
|
const deserializeAws_json1_1DisassociateProductFromPortfolioCommandError = async (output, context) => {
|
|
2591
2591
|
const parsedOutput = {
|
|
2592
2592
|
...output,
|
|
2593
|
-
body: await
|
|
2593
|
+
body: await parseErrorBody(output.body, context),
|
|
2594
2594
|
};
|
|
2595
2595
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2596
2596
|
switch (errorCode) {
|
|
@@ -2630,7 +2630,7 @@ exports.deserializeAws_json1_1DisassociateServiceActionFromProvisioningArtifactC
|
|
|
2630
2630
|
const deserializeAws_json1_1DisassociateServiceActionFromProvisioningArtifactCommandError = async (output, context) => {
|
|
2631
2631
|
const parsedOutput = {
|
|
2632
2632
|
...output,
|
|
2633
|
-
body: await
|
|
2633
|
+
body: await parseErrorBody(output.body, context),
|
|
2634
2634
|
};
|
|
2635
2635
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2636
2636
|
switch (errorCode) {
|
|
@@ -2664,7 +2664,7 @@ exports.deserializeAws_json1_1DisassociateTagOptionFromResourceCommand = deseria
|
|
|
2664
2664
|
const deserializeAws_json1_1DisassociateTagOptionFromResourceCommandError = async (output, context) => {
|
|
2665
2665
|
const parsedOutput = {
|
|
2666
2666
|
...output,
|
|
2667
|
-
body: await
|
|
2667
|
+
body: await parseErrorBody(output.body, context),
|
|
2668
2668
|
};
|
|
2669
2669
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2670
2670
|
switch (errorCode) {
|
|
@@ -2701,7 +2701,7 @@ exports.deserializeAws_json1_1EnableAWSOrganizationsAccessCommand = deserializeA
|
|
|
2701
2701
|
const deserializeAws_json1_1EnableAWSOrganizationsAccessCommandError = async (output, context) => {
|
|
2702
2702
|
const parsedOutput = {
|
|
2703
2703
|
...output,
|
|
2704
|
-
body: await
|
|
2704
|
+
body: await parseErrorBody(output.body, context),
|
|
2705
2705
|
};
|
|
2706
2706
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2707
2707
|
switch (errorCode) {
|
|
@@ -2741,7 +2741,7 @@ exports.deserializeAws_json1_1ExecuteProvisionedProductPlanCommand = deserialize
|
|
|
2741
2741
|
const deserializeAws_json1_1ExecuteProvisionedProductPlanCommandError = async (output, context) => {
|
|
2742
2742
|
const parsedOutput = {
|
|
2743
2743
|
...output,
|
|
2744
|
-
body: await
|
|
2744
|
+
body: await parseErrorBody(output.body, context),
|
|
2745
2745
|
};
|
|
2746
2746
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2747
2747
|
switch (errorCode) {
|
|
@@ -2781,7 +2781,7 @@ exports.deserializeAws_json1_1ExecuteProvisionedProductServiceActionCommand = de
|
|
|
2781
2781
|
const deserializeAws_json1_1ExecuteProvisionedProductServiceActionCommandError = async (output, context) => {
|
|
2782
2782
|
const parsedOutput = {
|
|
2783
2783
|
...output,
|
|
2784
|
-
body: await
|
|
2784
|
+
body: await parseErrorBody(output.body, context),
|
|
2785
2785
|
};
|
|
2786
2786
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2787
2787
|
switch (errorCode) {
|
|
@@ -2821,7 +2821,7 @@ exports.deserializeAws_json1_1GetAWSOrganizationsAccessStatusCommand = deseriali
|
|
|
2821
2821
|
const deserializeAws_json1_1GetAWSOrganizationsAccessStatusCommandError = async (output, context) => {
|
|
2822
2822
|
const parsedOutput = {
|
|
2823
2823
|
...output,
|
|
2824
|
-
body: await
|
|
2824
|
+
body: await parseErrorBody(output.body, context),
|
|
2825
2825
|
};
|
|
2826
2826
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2827
2827
|
switch (errorCode) {
|
|
@@ -2858,7 +2858,7 @@ exports.deserializeAws_json1_1GetProvisionedProductOutputsCommand = deserializeA
|
|
|
2858
2858
|
const deserializeAws_json1_1GetProvisionedProductOutputsCommandError = async (output, context) => {
|
|
2859
2859
|
const parsedOutput = {
|
|
2860
2860
|
...output,
|
|
2861
|
-
body: await
|
|
2861
|
+
body: await parseErrorBody(output.body, context),
|
|
2862
2862
|
};
|
|
2863
2863
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2864
2864
|
switch (errorCode) {
|
|
@@ -2895,7 +2895,7 @@ exports.deserializeAws_json1_1ImportAsProvisionedProductCommand = deserializeAws
|
|
|
2895
2895
|
const deserializeAws_json1_1ImportAsProvisionedProductCommandError = async (output, context) => {
|
|
2896
2896
|
const parsedOutput = {
|
|
2897
2897
|
...output,
|
|
2898
|
-
body: await
|
|
2898
|
+
body: await parseErrorBody(output.body, context),
|
|
2899
2899
|
};
|
|
2900
2900
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2901
2901
|
switch (errorCode) {
|
|
@@ -2938,7 +2938,7 @@ exports.deserializeAws_json1_1ListAcceptedPortfolioSharesCommand = deserializeAw
|
|
|
2938
2938
|
const deserializeAws_json1_1ListAcceptedPortfolioSharesCommandError = async (output, context) => {
|
|
2939
2939
|
const parsedOutput = {
|
|
2940
2940
|
...output,
|
|
2941
|
-
body: await
|
|
2941
|
+
body: await parseErrorBody(output.body, context),
|
|
2942
2942
|
};
|
|
2943
2943
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2944
2944
|
switch (errorCode) {
|
|
@@ -2975,7 +2975,7 @@ exports.deserializeAws_json1_1ListBudgetsForResourceCommand = deserializeAws_jso
|
|
|
2975
2975
|
const deserializeAws_json1_1ListBudgetsForResourceCommandError = async (output, context) => {
|
|
2976
2976
|
const parsedOutput = {
|
|
2977
2977
|
...output,
|
|
2978
|
-
body: await
|
|
2978
|
+
body: await parseErrorBody(output.body, context),
|
|
2979
2979
|
};
|
|
2980
2980
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2981
2981
|
switch (errorCode) {
|
|
@@ -3012,7 +3012,7 @@ exports.deserializeAws_json1_1ListConstraintsForPortfolioCommand = deserializeAw
|
|
|
3012
3012
|
const deserializeAws_json1_1ListConstraintsForPortfolioCommandError = async (output, context) => {
|
|
3013
3013
|
const parsedOutput = {
|
|
3014
3014
|
...output,
|
|
3015
|
-
body: await
|
|
3015
|
+
body: await parseErrorBody(output.body, context),
|
|
3016
3016
|
};
|
|
3017
3017
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3018
3018
|
switch (errorCode) {
|
|
@@ -3049,7 +3049,7 @@ exports.deserializeAws_json1_1ListLaunchPathsCommand = deserializeAws_json1_1Lis
|
|
|
3049
3049
|
const deserializeAws_json1_1ListLaunchPathsCommandError = async (output, context) => {
|
|
3050
3050
|
const parsedOutput = {
|
|
3051
3051
|
...output,
|
|
3052
|
-
body: await
|
|
3052
|
+
body: await parseErrorBody(output.body, context),
|
|
3053
3053
|
};
|
|
3054
3054
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3055
3055
|
switch (errorCode) {
|
|
@@ -3086,7 +3086,7 @@ exports.deserializeAws_json1_1ListOrganizationPortfolioAccessCommand = deseriali
|
|
|
3086
3086
|
const deserializeAws_json1_1ListOrganizationPortfolioAccessCommandError = async (output, context) => {
|
|
3087
3087
|
const parsedOutput = {
|
|
3088
3088
|
...output,
|
|
3089
|
-
body: await
|
|
3089
|
+
body: await parseErrorBody(output.body, context),
|
|
3090
3090
|
};
|
|
3091
3091
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3092
3092
|
switch (errorCode) {
|
|
@@ -3126,7 +3126,7 @@ exports.deserializeAws_json1_1ListPortfolioAccessCommand = deserializeAws_json1_
|
|
|
3126
3126
|
const deserializeAws_json1_1ListPortfolioAccessCommandError = async (output, context) => {
|
|
3127
3127
|
const parsedOutput = {
|
|
3128
3128
|
...output,
|
|
3129
|
-
body: await
|
|
3129
|
+
body: await parseErrorBody(output.body, context),
|
|
3130
3130
|
};
|
|
3131
3131
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3132
3132
|
switch (errorCode) {
|
|
@@ -3163,7 +3163,7 @@ exports.deserializeAws_json1_1ListPortfoliosCommand = deserializeAws_json1_1List
|
|
|
3163
3163
|
const deserializeAws_json1_1ListPortfoliosCommandError = async (output, context) => {
|
|
3164
3164
|
const parsedOutput = {
|
|
3165
3165
|
...output,
|
|
3166
|
-
body: await
|
|
3166
|
+
body: await parseErrorBody(output.body, context),
|
|
3167
3167
|
};
|
|
3168
3168
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3169
3169
|
switch (errorCode) {
|
|
@@ -3197,7 +3197,7 @@ exports.deserializeAws_json1_1ListPortfoliosForProductCommand = deserializeAws_j
|
|
|
3197
3197
|
const deserializeAws_json1_1ListPortfoliosForProductCommandError = async (output, context) => {
|
|
3198
3198
|
const parsedOutput = {
|
|
3199
3199
|
...output,
|
|
3200
|
-
body: await
|
|
3200
|
+
body: await parseErrorBody(output.body, context),
|
|
3201
3201
|
};
|
|
3202
3202
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3203
3203
|
switch (errorCode) {
|
|
@@ -3234,7 +3234,7 @@ exports.deserializeAws_json1_1ListPrincipalsForPortfolioCommand = deserializeAws
|
|
|
3234
3234
|
const deserializeAws_json1_1ListPrincipalsForPortfolioCommandError = async (output, context) => {
|
|
3235
3235
|
const parsedOutput = {
|
|
3236
3236
|
...output,
|
|
3237
|
-
body: await
|
|
3237
|
+
body: await parseErrorBody(output.body, context),
|
|
3238
3238
|
};
|
|
3239
3239
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3240
3240
|
switch (errorCode) {
|
|
@@ -3271,7 +3271,7 @@ exports.deserializeAws_json1_1ListProvisionedProductPlansCommand = deserializeAw
|
|
|
3271
3271
|
const deserializeAws_json1_1ListProvisionedProductPlansCommandError = async (output, context) => {
|
|
3272
3272
|
const parsedOutput = {
|
|
3273
3273
|
...output,
|
|
3274
|
-
body: await
|
|
3274
|
+
body: await parseErrorBody(output.body, context),
|
|
3275
3275
|
};
|
|
3276
3276
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3277
3277
|
switch (errorCode) {
|
|
@@ -3308,7 +3308,7 @@ exports.deserializeAws_json1_1ListProvisioningArtifactsCommand = deserializeAws_
|
|
|
3308
3308
|
const deserializeAws_json1_1ListProvisioningArtifactsCommandError = async (output, context) => {
|
|
3309
3309
|
const parsedOutput = {
|
|
3310
3310
|
...output,
|
|
3311
|
-
body: await
|
|
3311
|
+
body: await parseErrorBody(output.body, context),
|
|
3312
3312
|
};
|
|
3313
3313
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3314
3314
|
switch (errorCode) {
|
|
@@ -3345,7 +3345,7 @@ exports.deserializeAws_json1_1ListProvisioningArtifactsForServiceActionCommand =
|
|
|
3345
3345
|
const deserializeAws_json1_1ListProvisioningArtifactsForServiceActionCommandError = async (output, context) => {
|
|
3346
3346
|
const parsedOutput = {
|
|
3347
3347
|
...output,
|
|
3348
|
-
body: await
|
|
3348
|
+
body: await parseErrorBody(output.body, context),
|
|
3349
3349
|
};
|
|
3350
3350
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3351
3351
|
switch (errorCode) {
|
|
@@ -3382,7 +3382,7 @@ exports.deserializeAws_json1_1ListRecordHistoryCommand = deserializeAws_json1_1L
|
|
|
3382
3382
|
const deserializeAws_json1_1ListRecordHistoryCommandError = async (output, context) => {
|
|
3383
3383
|
const parsedOutput = {
|
|
3384
3384
|
...output,
|
|
3385
|
-
body: await
|
|
3385
|
+
body: await parseErrorBody(output.body, context),
|
|
3386
3386
|
};
|
|
3387
3387
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3388
3388
|
switch (errorCode) {
|
|
@@ -3416,7 +3416,7 @@ exports.deserializeAws_json1_1ListResourcesForTagOptionCommand = deserializeAws_
|
|
|
3416
3416
|
const deserializeAws_json1_1ListResourcesForTagOptionCommandError = async (output, context) => {
|
|
3417
3417
|
const parsedOutput = {
|
|
3418
3418
|
...output,
|
|
3419
|
-
body: await
|
|
3419
|
+
body: await parseErrorBody(output.body, context),
|
|
3420
3420
|
};
|
|
3421
3421
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3422
3422
|
switch (errorCode) {
|
|
@@ -3456,7 +3456,7 @@ exports.deserializeAws_json1_1ListServiceActionsCommand = deserializeAws_json1_1
|
|
|
3456
3456
|
const deserializeAws_json1_1ListServiceActionsCommandError = async (output, context) => {
|
|
3457
3457
|
const parsedOutput = {
|
|
3458
3458
|
...output,
|
|
3459
|
-
body: await
|
|
3459
|
+
body: await parseErrorBody(output.body, context),
|
|
3460
3460
|
};
|
|
3461
3461
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3462
3462
|
switch (errorCode) {
|
|
@@ -3490,7 +3490,7 @@ exports.deserializeAws_json1_1ListServiceActionsForProvisioningArtifactCommand =
|
|
|
3490
3490
|
const deserializeAws_json1_1ListServiceActionsForProvisioningArtifactCommandError = async (output, context) => {
|
|
3491
3491
|
const parsedOutput = {
|
|
3492
3492
|
...output,
|
|
3493
|
-
body: await
|
|
3493
|
+
body: await parseErrorBody(output.body, context),
|
|
3494
3494
|
};
|
|
3495
3495
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3496
3496
|
switch (errorCode) {
|
|
@@ -3527,7 +3527,7 @@ exports.deserializeAws_json1_1ListStackInstancesForProvisionedProductCommand = d
|
|
|
3527
3527
|
const deserializeAws_json1_1ListStackInstancesForProvisionedProductCommandError = async (output, context) => {
|
|
3528
3528
|
const parsedOutput = {
|
|
3529
3529
|
...output,
|
|
3530
|
-
body: await
|
|
3530
|
+
body: await parseErrorBody(output.body, context),
|
|
3531
3531
|
};
|
|
3532
3532
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3533
3533
|
switch (errorCode) {
|
|
@@ -3564,7 +3564,7 @@ exports.deserializeAws_json1_1ListTagOptionsCommand = deserializeAws_json1_1List
|
|
|
3564
3564
|
const deserializeAws_json1_1ListTagOptionsCommandError = async (output, context) => {
|
|
3565
3565
|
const parsedOutput = {
|
|
3566
3566
|
...output,
|
|
3567
|
-
body: await
|
|
3567
|
+
body: await parseErrorBody(output.body, context),
|
|
3568
3568
|
};
|
|
3569
3569
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3570
3570
|
switch (errorCode) {
|
|
@@ -3601,7 +3601,7 @@ exports.deserializeAws_json1_1ProvisionProductCommand = deserializeAws_json1_1Pr
|
|
|
3601
3601
|
const deserializeAws_json1_1ProvisionProductCommandError = async (output, context) => {
|
|
3602
3602
|
const parsedOutput = {
|
|
3603
3603
|
...output,
|
|
3604
|
-
body: await
|
|
3604
|
+
body: await parseErrorBody(output.body, context),
|
|
3605
3605
|
};
|
|
3606
3606
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3607
3607
|
switch (errorCode) {
|
|
@@ -3641,7 +3641,7 @@ exports.deserializeAws_json1_1RejectPortfolioShareCommand = deserializeAws_json1
|
|
|
3641
3641
|
const deserializeAws_json1_1RejectPortfolioShareCommandError = async (output, context) => {
|
|
3642
3642
|
const parsedOutput = {
|
|
3643
3643
|
...output,
|
|
3644
|
-
body: await
|
|
3644
|
+
body: await parseErrorBody(output.body, context),
|
|
3645
3645
|
};
|
|
3646
3646
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3647
3647
|
switch (errorCode) {
|
|
@@ -3675,7 +3675,7 @@ exports.deserializeAws_json1_1ScanProvisionedProductsCommand = deserializeAws_js
|
|
|
3675
3675
|
const deserializeAws_json1_1ScanProvisionedProductsCommandError = async (output, context) => {
|
|
3676
3676
|
const parsedOutput = {
|
|
3677
3677
|
...output,
|
|
3678
|
-
body: await
|
|
3678
|
+
body: await parseErrorBody(output.body, context),
|
|
3679
3679
|
};
|
|
3680
3680
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3681
3681
|
switch (errorCode) {
|
|
@@ -3709,7 +3709,7 @@ exports.deserializeAws_json1_1SearchProductsCommand = deserializeAws_json1_1Sear
|
|
|
3709
3709
|
const deserializeAws_json1_1SearchProductsCommandError = async (output, context) => {
|
|
3710
3710
|
const parsedOutput = {
|
|
3711
3711
|
...output,
|
|
3712
|
-
body: await
|
|
3712
|
+
body: await parseErrorBody(output.body, context),
|
|
3713
3713
|
};
|
|
3714
3714
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3715
3715
|
switch (errorCode) {
|
|
@@ -3743,7 +3743,7 @@ exports.deserializeAws_json1_1SearchProductsAsAdminCommand = deserializeAws_json
|
|
|
3743
3743
|
const deserializeAws_json1_1SearchProductsAsAdminCommandError = async (output, context) => {
|
|
3744
3744
|
const parsedOutput = {
|
|
3745
3745
|
...output,
|
|
3746
|
-
body: await
|
|
3746
|
+
body: await parseErrorBody(output.body, context),
|
|
3747
3747
|
};
|
|
3748
3748
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3749
3749
|
switch (errorCode) {
|
|
@@ -3780,7 +3780,7 @@ exports.deserializeAws_json1_1SearchProvisionedProductsCommand = deserializeAws_
|
|
|
3780
3780
|
const deserializeAws_json1_1SearchProvisionedProductsCommandError = async (output, context) => {
|
|
3781
3781
|
const parsedOutput = {
|
|
3782
3782
|
...output,
|
|
3783
|
-
body: await
|
|
3783
|
+
body: await parseErrorBody(output.body, context),
|
|
3784
3784
|
};
|
|
3785
3785
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3786
3786
|
switch (errorCode) {
|
|
@@ -3814,7 +3814,7 @@ exports.deserializeAws_json1_1TerminateProvisionedProductCommand = deserializeAw
|
|
|
3814
3814
|
const deserializeAws_json1_1TerminateProvisionedProductCommandError = async (output, context) => {
|
|
3815
3815
|
const parsedOutput = {
|
|
3816
3816
|
...output,
|
|
3817
|
-
body: await
|
|
3817
|
+
body: await parseErrorBody(output.body, context),
|
|
3818
3818
|
};
|
|
3819
3819
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3820
3820
|
switch (errorCode) {
|
|
@@ -3848,7 +3848,7 @@ exports.deserializeAws_json1_1UpdateConstraintCommand = deserializeAws_json1_1Up
|
|
|
3848
3848
|
const deserializeAws_json1_1UpdateConstraintCommandError = async (output, context) => {
|
|
3849
3849
|
const parsedOutput = {
|
|
3850
3850
|
...output,
|
|
3851
|
-
body: await
|
|
3851
|
+
body: await parseErrorBody(output.body, context),
|
|
3852
3852
|
};
|
|
3853
3853
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3854
3854
|
switch (errorCode) {
|
|
@@ -3885,7 +3885,7 @@ exports.deserializeAws_json1_1UpdatePortfolioCommand = deserializeAws_json1_1Upd
|
|
|
3885
3885
|
const deserializeAws_json1_1UpdatePortfolioCommandError = async (output, context) => {
|
|
3886
3886
|
const parsedOutput = {
|
|
3887
3887
|
...output,
|
|
3888
|
-
body: await
|
|
3888
|
+
body: await parseErrorBody(output.body, context),
|
|
3889
3889
|
};
|
|
3890
3890
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3891
3891
|
switch (errorCode) {
|
|
@@ -3928,7 +3928,7 @@ exports.deserializeAws_json1_1UpdatePortfolioShareCommand = deserializeAws_json1
|
|
|
3928
3928
|
const deserializeAws_json1_1UpdatePortfolioShareCommandError = async (output, context) => {
|
|
3929
3929
|
const parsedOutput = {
|
|
3930
3930
|
...output,
|
|
3931
|
-
body: await
|
|
3931
|
+
body: await parseErrorBody(output.body, context),
|
|
3932
3932
|
};
|
|
3933
3933
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3934
3934
|
switch (errorCode) {
|
|
@@ -3971,7 +3971,7 @@ exports.deserializeAws_json1_1UpdateProductCommand = deserializeAws_json1_1Updat
|
|
|
3971
3971
|
const deserializeAws_json1_1UpdateProductCommandError = async (output, context) => {
|
|
3972
3972
|
const parsedOutput = {
|
|
3973
3973
|
...output,
|
|
3974
|
-
body: await
|
|
3974
|
+
body: await parseErrorBody(output.body, context),
|
|
3975
3975
|
};
|
|
3976
3976
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3977
3977
|
switch (errorCode) {
|
|
@@ -4011,7 +4011,7 @@ exports.deserializeAws_json1_1UpdateProvisionedProductCommand = deserializeAws_j
|
|
|
4011
4011
|
const deserializeAws_json1_1UpdateProvisionedProductCommandError = async (output, context) => {
|
|
4012
4012
|
const parsedOutput = {
|
|
4013
4013
|
...output,
|
|
4014
|
-
body: await
|
|
4014
|
+
body: await parseErrorBody(output.body, context),
|
|
4015
4015
|
};
|
|
4016
4016
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4017
4017
|
switch (errorCode) {
|
|
@@ -4048,7 +4048,7 @@ exports.deserializeAws_json1_1UpdateProvisionedProductPropertiesCommand = deseri
|
|
|
4048
4048
|
const deserializeAws_json1_1UpdateProvisionedProductPropertiesCommandError = async (output, context) => {
|
|
4049
4049
|
const parsedOutput = {
|
|
4050
4050
|
...output,
|
|
4051
|
-
body: await
|
|
4051
|
+
body: await parseErrorBody(output.body, context),
|
|
4052
4052
|
};
|
|
4053
4053
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4054
4054
|
switch (errorCode) {
|
|
@@ -4088,7 +4088,7 @@ exports.deserializeAws_json1_1UpdateProvisioningArtifactCommand = deserializeAws
|
|
|
4088
4088
|
const deserializeAws_json1_1UpdateProvisioningArtifactCommandError = async (output, context) => {
|
|
4089
4089
|
const parsedOutput = {
|
|
4090
4090
|
...output,
|
|
4091
|
-
body: await
|
|
4091
|
+
body: await parseErrorBody(output.body, context),
|
|
4092
4092
|
};
|
|
4093
4093
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4094
4094
|
switch (errorCode) {
|
|
@@ -4125,7 +4125,7 @@ exports.deserializeAws_json1_1UpdateServiceActionCommand = deserializeAws_json1_
|
|
|
4125
4125
|
const deserializeAws_json1_1UpdateServiceActionCommandError = async (output, context) => {
|
|
4126
4126
|
const parsedOutput = {
|
|
4127
4127
|
...output,
|
|
4128
|
-
body: await
|
|
4128
|
+
body: await parseErrorBody(output.body, context),
|
|
4129
4129
|
};
|
|
4130
4130
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4131
4131
|
switch (errorCode) {
|
|
@@ -4162,7 +4162,7 @@ exports.deserializeAws_json1_1UpdateTagOptionCommand = deserializeAws_json1_1Upd
|
|
|
4162
4162
|
const deserializeAws_json1_1UpdateTagOptionCommandError = async (output, context) => {
|
|
4163
4163
|
const parsedOutput = {
|
|
4164
4164
|
...output,
|
|
4165
|
-
body: await
|
|
4165
|
+
body: await parseErrorBody(output.body, context),
|
|
4166
4166
|
};
|
|
4167
4167
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4168
4168
|
switch (errorCode) {
|
|
@@ -7012,6 +7012,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
7012
7012
|
}
|
|
7013
7013
|
return {};
|
|
7014
7014
|
});
|
|
7015
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
7016
|
+
var _a;
|
|
7017
|
+
const value = await parseBody(errorBody, context);
|
|
7018
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
7019
|
+
return value;
|
|
7020
|
+
};
|
|
7015
7021
|
const loadRestJsonErrorCode = (output, data) => {
|
|
7016
7022
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
7017
7023
|
const sanitizeErrorCode = (rawValue) => {
|