@aws-sdk/client-ssm-incidents 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 +35 -29
- package/dist-es/SSMIncidents.js +118 -125
- package/dist-es/SSMIncidentsClient.js +22 -28
- package/dist-es/commands/CreateReplicationSetCommand.js +21 -28
- package/dist-es/commands/CreateResponsePlanCommand.js +21 -28
- package/dist-es/commands/CreateTimelineEventCommand.js +21 -28
- package/dist-es/commands/DeleteIncidentRecordCommand.js +21 -28
- package/dist-es/commands/DeleteReplicationSetCommand.js +21 -28
- package/dist-es/commands/DeleteResourcePolicyCommand.js +21 -28
- package/dist-es/commands/DeleteResponsePlanCommand.js +21 -28
- package/dist-es/commands/DeleteTimelineEventCommand.js +21 -28
- package/dist-es/commands/GetIncidentRecordCommand.js +21 -28
- package/dist-es/commands/GetReplicationSetCommand.js +21 -28
- package/dist-es/commands/GetResourcePoliciesCommand.js +21 -28
- package/dist-es/commands/GetResponsePlanCommand.js +21 -28
- package/dist-es/commands/GetTimelineEventCommand.js +21 -28
- package/dist-es/commands/ListIncidentRecordsCommand.js +21 -28
- package/dist-es/commands/ListRelatedItemsCommand.js +21 -28
- package/dist-es/commands/ListReplicationSetsCommand.js +21 -28
- package/dist-es/commands/ListResponsePlansCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ListTimelineEventsCommand.js +21 -28
- package/dist-es/commands/PutResourcePolicyCommand.js +21 -28
- package/dist-es/commands/StartIncidentCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateDeletionProtectionCommand.js +21 -28
- package/dist-es/commands/UpdateIncidentRecordCommand.js +21 -28
- package/dist-es/commands/UpdateRelatedItemsCommand.js +21 -28
- package/dist-es/commands/UpdateReplicationSetCommand.js +21 -28
- package/dist-es/commands/UpdateResponsePlanCommand.js +21 -28
- package/dist-es/commands/UpdateTimelineEventCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SSMIncidentsServiceException.js +5 -10
- package/dist-es/models/models_0.js +389 -223
- package/dist-es/pagination/GetResourcePoliciesPaginator.js +25 -68
- package/dist-es/pagination/ListIncidentRecordsPaginator.js +25 -68
- package/dist-es/pagination/ListRelatedItemsPaginator.js +25 -68
- package/dist-es/pagination/ListReplicationSetsPaginator.js +25 -68
- package/dist-es/pagination/ListResponsePlansPaginator.js +25 -68
- package/dist-es/pagination/ListTimelineEventsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +2327 -3129
- 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/dist-es/waiters/waitForWaitForReplicationSetActive.js +54 -74
- package/dist-es/waiters/waitForWaitForReplicationSetDeleted.js +39 -59
- package/package.json +34 -34
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-ssm-incidents
|
|
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-ssm-incidents
|
|
@@ -717,7 +717,7 @@ exports.deserializeAws_restJson1CreateReplicationSetCommand = deserializeAws_res
|
|
|
717
717
|
const deserializeAws_restJson1CreateReplicationSetCommandError = async (output, context) => {
|
|
718
718
|
const parsedOutput = {
|
|
719
719
|
...output,
|
|
720
|
-
body: await
|
|
720
|
+
body: await parseErrorBody(output.body, context),
|
|
721
721
|
};
|
|
722
722
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
723
723
|
switch (errorCode) {
|
|
@@ -766,7 +766,7 @@ exports.deserializeAws_restJson1CreateResponsePlanCommand = deserializeAws_restJ
|
|
|
766
766
|
const deserializeAws_restJson1CreateResponsePlanCommandError = async (output, context) => {
|
|
767
767
|
const parsedOutput = {
|
|
768
768
|
...output,
|
|
769
|
-
body: await
|
|
769
|
+
body: await parseErrorBody(output.body, context),
|
|
770
770
|
};
|
|
771
771
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
772
772
|
switch (errorCode) {
|
|
@@ -818,7 +818,7 @@ exports.deserializeAws_restJson1CreateTimelineEventCommand = deserializeAws_rest
|
|
|
818
818
|
const deserializeAws_restJson1CreateTimelineEventCommandError = async (output, context) => {
|
|
819
819
|
const parsedOutput = {
|
|
820
820
|
...output,
|
|
821
|
-
body: await
|
|
821
|
+
body: await parseErrorBody(output.body, context),
|
|
822
822
|
};
|
|
823
823
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
824
824
|
switch (errorCode) {
|
|
@@ -864,7 +864,7 @@ exports.deserializeAws_restJson1DeleteIncidentRecordCommand = deserializeAws_res
|
|
|
864
864
|
const deserializeAws_restJson1DeleteIncidentRecordCommandError = async (output, context) => {
|
|
865
865
|
const parsedOutput = {
|
|
866
866
|
...output,
|
|
867
|
-
body: await
|
|
867
|
+
body: await parseErrorBody(output.body, context),
|
|
868
868
|
};
|
|
869
869
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
870
870
|
switch (errorCode) {
|
|
@@ -904,7 +904,7 @@ exports.deserializeAws_restJson1DeleteReplicationSetCommand = deserializeAws_res
|
|
|
904
904
|
const deserializeAws_restJson1DeleteReplicationSetCommandError = async (output, context) => {
|
|
905
905
|
const parsedOutput = {
|
|
906
906
|
...output,
|
|
907
|
-
body: await
|
|
907
|
+
body: await parseErrorBody(output.body, context),
|
|
908
908
|
};
|
|
909
909
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
910
910
|
switch (errorCode) {
|
|
@@ -947,7 +947,7 @@ exports.deserializeAws_restJson1DeleteResourcePolicyCommand = deserializeAws_res
|
|
|
947
947
|
const deserializeAws_restJson1DeleteResourcePolicyCommandError = async (output, context) => {
|
|
948
948
|
const parsedOutput = {
|
|
949
949
|
...output,
|
|
950
|
-
body: await
|
|
950
|
+
body: await parseErrorBody(output.body, context),
|
|
951
951
|
};
|
|
952
952
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
953
953
|
switch (errorCode) {
|
|
@@ -990,7 +990,7 @@ exports.deserializeAws_restJson1DeleteResponsePlanCommand = deserializeAws_restJ
|
|
|
990
990
|
const deserializeAws_restJson1DeleteResponsePlanCommandError = async (output, context) => {
|
|
991
991
|
const parsedOutput = {
|
|
992
992
|
...output,
|
|
993
|
-
body: await
|
|
993
|
+
body: await parseErrorBody(output.body, context),
|
|
994
994
|
};
|
|
995
995
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
996
996
|
switch (errorCode) {
|
|
@@ -1030,7 +1030,7 @@ exports.deserializeAws_restJson1DeleteTimelineEventCommand = deserializeAws_rest
|
|
|
1030
1030
|
const deserializeAws_restJson1DeleteTimelineEventCommandError = async (output, context) => {
|
|
1031
1031
|
const parsedOutput = {
|
|
1032
1032
|
...output,
|
|
1033
|
-
body: await
|
|
1033
|
+
body: await parseErrorBody(output.body, context),
|
|
1034
1034
|
};
|
|
1035
1035
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1036
1036
|
switch (errorCode) {
|
|
@@ -1073,7 +1073,7 @@ exports.deserializeAws_restJson1GetIncidentRecordCommand = deserializeAws_restJs
|
|
|
1073
1073
|
const deserializeAws_restJson1GetIncidentRecordCommandError = async (output, context) => {
|
|
1074
1074
|
const parsedOutput = {
|
|
1075
1075
|
...output,
|
|
1076
|
-
body: await
|
|
1076
|
+
body: await parseErrorBody(output.body, context),
|
|
1077
1077
|
};
|
|
1078
1078
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1079
1079
|
switch (errorCode) {
|
|
@@ -1119,7 +1119,7 @@ exports.deserializeAws_restJson1GetReplicationSetCommand = deserializeAws_restJs
|
|
|
1119
1119
|
const deserializeAws_restJson1GetReplicationSetCommandError = async (output, context) => {
|
|
1120
1120
|
const parsedOutput = {
|
|
1121
1121
|
...output,
|
|
1122
|
-
body: await
|
|
1122
|
+
body: await parseErrorBody(output.body, context),
|
|
1123
1123
|
};
|
|
1124
1124
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1125
1125
|
switch (errorCode) {
|
|
@@ -1168,7 +1168,7 @@ exports.deserializeAws_restJson1GetResourcePoliciesCommand = deserializeAws_rest
|
|
|
1168
1168
|
const deserializeAws_restJson1GetResourcePoliciesCommandError = async (output, context) => {
|
|
1169
1169
|
const parsedOutput = {
|
|
1170
1170
|
...output,
|
|
1171
|
-
body: await
|
|
1171
|
+
body: await parseErrorBody(output.body, context),
|
|
1172
1172
|
};
|
|
1173
1173
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1174
1174
|
switch (errorCode) {
|
|
@@ -1232,7 +1232,7 @@ exports.deserializeAws_restJson1GetResponsePlanCommand = deserializeAws_restJson
|
|
|
1232
1232
|
const deserializeAws_restJson1GetResponsePlanCommandError = async (output, context) => {
|
|
1233
1233
|
const parsedOutput = {
|
|
1234
1234
|
...output,
|
|
1235
|
-
body: await
|
|
1235
|
+
body: await parseErrorBody(output.body, context),
|
|
1236
1236
|
};
|
|
1237
1237
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1238
1238
|
switch (errorCode) {
|
|
@@ -1278,7 +1278,7 @@ exports.deserializeAws_restJson1GetTimelineEventCommand = deserializeAws_restJso
|
|
|
1278
1278
|
const deserializeAws_restJson1GetTimelineEventCommandError = async (output, context) => {
|
|
1279
1279
|
const parsedOutput = {
|
|
1280
1280
|
...output,
|
|
1281
|
-
body: await
|
|
1281
|
+
body: await parseErrorBody(output.body, context),
|
|
1282
1282
|
};
|
|
1283
1283
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1284
1284
|
switch (errorCode) {
|
|
@@ -1327,7 +1327,7 @@ exports.deserializeAws_restJson1ListIncidentRecordsCommand = deserializeAws_rest
|
|
|
1327
1327
|
const deserializeAws_restJson1ListIncidentRecordsCommandError = async (output, context) => {
|
|
1328
1328
|
const parsedOutput = {
|
|
1329
1329
|
...output,
|
|
1330
|
-
body: await
|
|
1330
|
+
body: await parseErrorBody(output.body, context),
|
|
1331
1331
|
};
|
|
1332
1332
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1333
1333
|
switch (errorCode) {
|
|
@@ -1373,7 +1373,7 @@ exports.deserializeAws_restJson1ListRelatedItemsCommand = deserializeAws_restJso
|
|
|
1373
1373
|
const deserializeAws_restJson1ListRelatedItemsCommandError = async (output, context) => {
|
|
1374
1374
|
const parsedOutput = {
|
|
1375
1375
|
...output,
|
|
1376
|
-
body: await
|
|
1376
|
+
body: await parseErrorBody(output.body, context),
|
|
1377
1377
|
};
|
|
1378
1378
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1379
1379
|
switch (errorCode) {
|
|
@@ -1419,7 +1419,7 @@ exports.deserializeAws_restJson1ListReplicationSetsCommand = deserializeAws_rest
|
|
|
1419
1419
|
const deserializeAws_restJson1ListReplicationSetsCommandError = async (output, context) => {
|
|
1420
1420
|
const parsedOutput = {
|
|
1421
1421
|
...output,
|
|
1422
|
-
body: await
|
|
1422
|
+
body: await parseErrorBody(output.body, context),
|
|
1423
1423
|
};
|
|
1424
1424
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1425
1425
|
switch (errorCode) {
|
|
@@ -1465,7 +1465,7 @@ exports.deserializeAws_restJson1ListResponsePlansCommand = deserializeAws_restJs
|
|
|
1465
1465
|
const deserializeAws_restJson1ListResponsePlansCommandError = async (output, context) => {
|
|
1466
1466
|
const parsedOutput = {
|
|
1467
1467
|
...output,
|
|
1468
|
-
body: await
|
|
1468
|
+
body: await parseErrorBody(output.body, context),
|
|
1469
1469
|
};
|
|
1470
1470
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1471
1471
|
switch (errorCode) {
|
|
@@ -1508,7 +1508,7 @@ exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_rest
|
|
|
1508
1508
|
const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
|
|
1509
1509
|
const parsedOutput = {
|
|
1510
1510
|
...output,
|
|
1511
|
-
body: await
|
|
1511
|
+
body: await parseErrorBody(output.body, context),
|
|
1512
1512
|
};
|
|
1513
1513
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1514
1514
|
switch (errorCode) {
|
|
@@ -1557,7 +1557,7 @@ exports.deserializeAws_restJson1ListTimelineEventsCommand = deserializeAws_restJ
|
|
|
1557
1557
|
const deserializeAws_restJson1ListTimelineEventsCommandError = async (output, context) => {
|
|
1558
1558
|
const parsedOutput = {
|
|
1559
1559
|
...output,
|
|
1560
|
-
body: await
|
|
1560
|
+
body: await parseErrorBody(output.body, context),
|
|
1561
1561
|
};
|
|
1562
1562
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1563
1563
|
switch (errorCode) {
|
|
@@ -1600,7 +1600,7 @@ exports.deserializeAws_restJson1PutResourcePolicyCommand = deserializeAws_restJs
|
|
|
1600
1600
|
const deserializeAws_restJson1PutResourcePolicyCommandError = async (output, context) => {
|
|
1601
1601
|
const parsedOutput = {
|
|
1602
1602
|
...output,
|
|
1603
|
-
body: await
|
|
1603
|
+
body: await parseErrorBody(output.body, context),
|
|
1604
1604
|
};
|
|
1605
1605
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1606
1606
|
switch (errorCode) {
|
|
@@ -1646,7 +1646,7 @@ exports.deserializeAws_restJson1StartIncidentCommand = deserializeAws_restJson1S
|
|
|
1646
1646
|
const deserializeAws_restJson1StartIncidentCommandError = async (output, context) => {
|
|
1647
1647
|
const parsedOutput = {
|
|
1648
1648
|
...output,
|
|
1649
|
-
body: await
|
|
1649
|
+
body: await parseErrorBody(output.body, context),
|
|
1650
1650
|
};
|
|
1651
1651
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1652
1652
|
switch (errorCode) {
|
|
@@ -1692,7 +1692,7 @@ exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1Tag
|
|
|
1692
1692
|
const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
|
|
1693
1693
|
const parsedOutput = {
|
|
1694
1694
|
...output,
|
|
1695
|
-
body: await
|
|
1695
|
+
body: await parseErrorBody(output.body, context),
|
|
1696
1696
|
};
|
|
1697
1697
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1698
1698
|
switch (errorCode) {
|
|
@@ -1741,7 +1741,7 @@ exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1U
|
|
|
1741
1741
|
const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
|
|
1742
1742
|
const parsedOutput = {
|
|
1743
1743
|
...output,
|
|
1744
|
-
body: await
|
|
1744
|
+
body: await parseErrorBody(output.body, context),
|
|
1745
1745
|
};
|
|
1746
1746
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1747
1747
|
switch (errorCode) {
|
|
@@ -1787,7 +1787,7 @@ exports.deserializeAws_restJson1UpdateDeletionProtectionCommand = deserializeAws
|
|
|
1787
1787
|
const deserializeAws_restJson1UpdateDeletionProtectionCommandError = async (output, context) => {
|
|
1788
1788
|
const parsedOutput = {
|
|
1789
1789
|
...output,
|
|
1790
|
-
body: await
|
|
1790
|
+
body: await parseErrorBody(output.body, context),
|
|
1791
1791
|
};
|
|
1792
1792
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1793
1793
|
switch (errorCode) {
|
|
@@ -1830,7 +1830,7 @@ exports.deserializeAws_restJson1UpdateIncidentRecordCommand = deserializeAws_res
|
|
|
1830
1830
|
const deserializeAws_restJson1UpdateIncidentRecordCommandError = async (output, context) => {
|
|
1831
1831
|
const parsedOutput = {
|
|
1832
1832
|
...output,
|
|
1833
|
-
body: await
|
|
1833
|
+
body: await parseErrorBody(output.body, context),
|
|
1834
1834
|
};
|
|
1835
1835
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1836
1836
|
switch (errorCode) {
|
|
@@ -1876,7 +1876,7 @@ exports.deserializeAws_restJson1UpdateRelatedItemsCommand = deserializeAws_restJ
|
|
|
1876
1876
|
const deserializeAws_restJson1UpdateRelatedItemsCommandError = async (output, context) => {
|
|
1877
1877
|
const parsedOutput = {
|
|
1878
1878
|
...output,
|
|
1879
|
-
body: await
|
|
1879
|
+
body: await parseErrorBody(output.body, context),
|
|
1880
1880
|
};
|
|
1881
1881
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1882
1882
|
switch (errorCode) {
|
|
@@ -1922,7 +1922,7 @@ exports.deserializeAws_restJson1UpdateReplicationSetCommand = deserializeAws_res
|
|
|
1922
1922
|
const deserializeAws_restJson1UpdateReplicationSetCommandError = async (output, context) => {
|
|
1923
1923
|
const parsedOutput = {
|
|
1924
1924
|
...output,
|
|
1925
|
-
body: await
|
|
1925
|
+
body: await parseErrorBody(output.body, context),
|
|
1926
1926
|
};
|
|
1927
1927
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1928
1928
|
switch (errorCode) {
|
|
@@ -1968,7 +1968,7 @@ exports.deserializeAws_restJson1UpdateResponsePlanCommand = deserializeAws_restJ
|
|
|
1968
1968
|
const deserializeAws_restJson1UpdateResponsePlanCommandError = async (output, context) => {
|
|
1969
1969
|
const parsedOutput = {
|
|
1970
1970
|
...output,
|
|
1971
|
-
body: await
|
|
1971
|
+
body: await parseErrorBody(output.body, context),
|
|
1972
1972
|
};
|
|
1973
1973
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1974
1974
|
switch (errorCode) {
|
|
@@ -2014,7 +2014,7 @@ exports.deserializeAws_restJson1UpdateTimelineEventCommand = deserializeAws_rest
|
|
|
2014
2014
|
const deserializeAws_restJson1UpdateTimelineEventCommandError = async (output, context) => {
|
|
2015
2015
|
const parsedOutput = {
|
|
2016
2016
|
...output,
|
|
2017
|
-
body: await
|
|
2017
|
+
body: await parseErrorBody(output.body, context),
|
|
2018
2018
|
};
|
|
2019
2019
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2020
2020
|
switch (errorCode) {
|
|
@@ -2833,6 +2833,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
2833
2833
|
}
|
|
2834
2834
|
return {};
|
|
2835
2835
|
});
|
|
2836
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
2837
|
+
var _a;
|
|
2838
|
+
const value = await parseBody(errorBody, context);
|
|
2839
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
2840
|
+
return value;
|
|
2841
|
+
};
|
|
2836
2842
|
const loadRestJsonErrorCode = (output, data) => {
|
|
2837
2843
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
2838
2844
|
const sanitizeErrorCode = (rawValue) => {
|