@aws-sdk/client-auditmanager 3.180.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 CHANGED
@@ -3,6 +3,18 @@
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.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **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))
12
+ * **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))
13
+
14
+
15
+
16
+
17
+
6
18
  # [3.180.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.179.0...v3.180.0) (2022-09-27)
7
19
 
8
20
  **Note:** Version bump only for package @aws-sdk/client-auditmanager
@@ -1368,7 +1368,7 @@ exports.deserializeAws_restJson1AssociateAssessmentReportEvidenceFolderCommand =
1368
1368
  const deserializeAws_restJson1AssociateAssessmentReportEvidenceFolderCommandError = async (output, context) => {
1369
1369
  const parsedOutput = {
1370
1370
  ...output,
1371
- body: await parseBody(output.body, context),
1371
+ body: await parseErrorBody(output.body, context),
1372
1372
  };
1373
1373
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1374
1374
  switch (errorCode) {
@@ -1414,7 +1414,7 @@ exports.deserializeAws_restJson1BatchAssociateAssessmentReportEvidenceCommand =
1414
1414
  const deserializeAws_restJson1BatchAssociateAssessmentReportEvidenceCommandError = async (output, context) => {
1415
1415
  const parsedOutput = {
1416
1416
  ...output,
1417
- body: await parseBody(output.body, context),
1417
+ body: await parseErrorBody(output.body, context),
1418
1418
  };
1419
1419
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1420
1420
  switch (errorCode) {
@@ -1460,7 +1460,7 @@ exports.deserializeAws_restJson1BatchCreateDelegationByAssessmentCommand = deser
1460
1460
  const deserializeAws_restJson1BatchCreateDelegationByAssessmentCommandError = async (output, context) => {
1461
1461
  const parsedOutput = {
1462
1462
  ...output,
1463
- body: await parseBody(output.body, context),
1463
+ body: await parseErrorBody(output.body, context),
1464
1464
  };
1465
1465
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1466
1466
  switch (errorCode) {
@@ -1503,7 +1503,7 @@ exports.deserializeAws_restJson1BatchDeleteDelegationByAssessmentCommand = deser
1503
1503
  const deserializeAws_restJson1BatchDeleteDelegationByAssessmentCommandError = async (output, context) => {
1504
1504
  const parsedOutput = {
1505
1505
  ...output,
1506
- body: await parseBody(output.body, context),
1506
+ body: await parseErrorBody(output.body, context),
1507
1507
  };
1508
1508
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1509
1509
  switch (errorCode) {
@@ -1549,7 +1549,7 @@ exports.deserializeAws_restJson1BatchDisassociateAssessmentReportEvidenceCommand
1549
1549
  const deserializeAws_restJson1BatchDisassociateAssessmentReportEvidenceCommandError = async (output, context) => {
1550
1550
  const parsedOutput = {
1551
1551
  ...output,
1552
- body: await parseBody(output.body, context),
1552
+ body: await parseErrorBody(output.body, context),
1553
1553
  };
1554
1554
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1555
1555
  switch (errorCode) {
@@ -1592,7 +1592,7 @@ exports.deserializeAws_restJson1BatchImportEvidenceToAssessmentControlCommand =
1592
1592
  const deserializeAws_restJson1BatchImportEvidenceToAssessmentControlCommandError = async (output, context) => {
1593
1593
  const parsedOutput = {
1594
1594
  ...output,
1595
- body: await parseBody(output.body, context),
1595
+ body: await parseErrorBody(output.body, context),
1596
1596
  };
1597
1597
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1598
1598
  switch (errorCode) {
@@ -1635,7 +1635,7 @@ exports.deserializeAws_restJson1CreateAssessmentCommand = deserializeAws_restJso
1635
1635
  const deserializeAws_restJson1CreateAssessmentCommandError = async (output, context) => {
1636
1636
  const parsedOutput = {
1637
1637
  ...output,
1638
- body: await parseBody(output.body, context),
1638
+ body: await parseErrorBody(output.body, context),
1639
1639
  };
1640
1640
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1641
1641
  switch (errorCode) {
@@ -1681,7 +1681,7 @@ exports.deserializeAws_restJson1CreateAssessmentFrameworkCommand = deserializeAw
1681
1681
  const deserializeAws_restJson1CreateAssessmentFrameworkCommandError = async (output, context) => {
1682
1682
  const parsedOutput = {
1683
1683
  ...output,
1684
- body: await parseBody(output.body, context),
1684
+ body: await parseErrorBody(output.body, context),
1685
1685
  };
1686
1686
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1687
1687
  switch (errorCode) {
@@ -1727,7 +1727,7 @@ exports.deserializeAws_restJson1CreateAssessmentReportCommand = deserializeAws_r
1727
1727
  const deserializeAws_restJson1CreateAssessmentReportCommandError = async (output, context) => {
1728
1728
  const parsedOutput = {
1729
1729
  ...output,
1730
- body: await parseBody(output.body, context),
1730
+ body: await parseErrorBody(output.body, context),
1731
1731
  };
1732
1732
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1733
1733
  switch (errorCode) {
@@ -1770,7 +1770,7 @@ exports.deserializeAws_restJson1CreateControlCommand = deserializeAws_restJson1C
1770
1770
  const deserializeAws_restJson1CreateControlCommandError = async (output, context) => {
1771
1771
  const parsedOutput = {
1772
1772
  ...output,
1773
- body: await parseBody(output.body, context),
1773
+ body: await parseErrorBody(output.body, context),
1774
1774
  };
1775
1775
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1776
1776
  switch (errorCode) {
@@ -1813,7 +1813,7 @@ exports.deserializeAws_restJson1DeleteAssessmentCommand = deserializeAws_restJso
1813
1813
  const deserializeAws_restJson1DeleteAssessmentCommandError = async (output, context) => {
1814
1814
  const parsedOutput = {
1815
1815
  ...output,
1816
- body: await parseBody(output.body, context),
1816
+ body: await parseErrorBody(output.body, context),
1817
1817
  };
1818
1818
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1819
1819
  switch (errorCode) {
@@ -1853,7 +1853,7 @@ exports.deserializeAws_restJson1DeleteAssessmentFrameworkCommand = deserializeAw
1853
1853
  const deserializeAws_restJson1DeleteAssessmentFrameworkCommandError = async (output, context) => {
1854
1854
  const parsedOutput = {
1855
1855
  ...output,
1856
- body: await parseBody(output.body, context),
1856
+ body: await parseErrorBody(output.body, context),
1857
1857
  };
1858
1858
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1859
1859
  switch (errorCode) {
@@ -1893,7 +1893,7 @@ exports.deserializeAws_restJson1DeleteAssessmentFrameworkShareCommand = deserial
1893
1893
  const deserializeAws_restJson1DeleteAssessmentFrameworkShareCommandError = async (output, context) => {
1894
1894
  const parsedOutput = {
1895
1895
  ...output,
1896
- body: await parseBody(output.body, context),
1896
+ body: await parseErrorBody(output.body, context),
1897
1897
  };
1898
1898
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1899
1899
  switch (errorCode) {
@@ -1933,7 +1933,7 @@ exports.deserializeAws_restJson1DeleteAssessmentReportCommand = deserializeAws_r
1933
1933
  const deserializeAws_restJson1DeleteAssessmentReportCommandError = async (output, context) => {
1934
1934
  const parsedOutput = {
1935
1935
  ...output,
1936
- body: await parseBody(output.body, context),
1936
+ body: await parseErrorBody(output.body, context),
1937
1937
  };
1938
1938
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1939
1939
  switch (errorCode) {
@@ -1973,7 +1973,7 @@ exports.deserializeAws_restJson1DeleteControlCommand = deserializeAws_restJson1D
1973
1973
  const deserializeAws_restJson1DeleteControlCommandError = async (output, context) => {
1974
1974
  const parsedOutput = {
1975
1975
  ...output,
1976
- body: await parseBody(output.body, context),
1976
+ body: await parseErrorBody(output.body, context),
1977
1977
  };
1978
1978
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1979
1979
  switch (errorCode) {
@@ -2016,7 +2016,7 @@ exports.deserializeAws_restJson1DeregisterAccountCommand = deserializeAws_restJs
2016
2016
  const deserializeAws_restJson1DeregisterAccountCommandError = async (output, context) => {
2017
2017
  const parsedOutput = {
2018
2018
  ...output,
2019
- body: await parseBody(output.body, context),
2019
+ body: await parseErrorBody(output.body, context),
2020
2020
  };
2021
2021
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2022
2022
  switch (errorCode) {
@@ -2056,7 +2056,7 @@ exports.deserializeAws_restJson1DeregisterOrganizationAdminAccountCommand = dese
2056
2056
  const deserializeAws_restJson1DeregisterOrganizationAdminAccountCommandError = async (output, context) => {
2057
2057
  const parsedOutput = {
2058
2058
  ...output,
2059
- body: await parseBody(output.body, context),
2059
+ body: await parseErrorBody(output.body, context),
2060
2060
  };
2061
2061
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2062
2062
  switch (errorCode) {
@@ -2096,7 +2096,7 @@ exports.deserializeAws_restJson1DisassociateAssessmentReportEvidenceFolderComman
2096
2096
  const deserializeAws_restJson1DisassociateAssessmentReportEvidenceFolderCommandError = async (output, context) => {
2097
2097
  const parsedOutput = {
2098
2098
  ...output,
2099
- body: await parseBody(output.body, context),
2099
+ body: await parseErrorBody(output.body, context),
2100
2100
  };
2101
2101
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2102
2102
  switch (errorCode) {
@@ -2139,7 +2139,7 @@ exports.deserializeAws_restJson1GetAccountStatusCommand = deserializeAws_restJso
2139
2139
  const deserializeAws_restJson1GetAccountStatusCommandError = async (output, context) => {
2140
2140
  const parsedOutput = {
2141
2141
  ...output,
2142
- body: await parseBody(output.body, context),
2142
+ body: await parseErrorBody(output.body, context),
2143
2143
  };
2144
2144
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2145
2145
  switch (errorCode) {
@@ -2176,7 +2176,7 @@ exports.deserializeAws_restJson1GetAssessmentCommand = deserializeAws_restJson1G
2176
2176
  const deserializeAws_restJson1GetAssessmentCommandError = async (output, context) => {
2177
2177
  const parsedOutput = {
2178
2178
  ...output,
2179
- body: await parseBody(output.body, context),
2179
+ body: await parseErrorBody(output.body, context),
2180
2180
  };
2181
2181
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2182
2182
  switch (errorCode) {
@@ -2219,7 +2219,7 @@ exports.deserializeAws_restJson1GetAssessmentFrameworkCommand = deserializeAws_r
2219
2219
  const deserializeAws_restJson1GetAssessmentFrameworkCommandError = async (output, context) => {
2220
2220
  const parsedOutput = {
2221
2221
  ...output,
2222
- body: await parseBody(output.body, context),
2222
+ body: await parseErrorBody(output.body, context),
2223
2223
  };
2224
2224
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2225
2225
  switch (errorCode) {
@@ -2262,7 +2262,7 @@ exports.deserializeAws_restJson1GetAssessmentReportUrlCommand = deserializeAws_r
2262
2262
  const deserializeAws_restJson1GetAssessmentReportUrlCommandError = async (output, context) => {
2263
2263
  const parsedOutput = {
2264
2264
  ...output,
2265
- body: await parseBody(output.body, context),
2265
+ body: await parseErrorBody(output.body, context),
2266
2266
  };
2267
2267
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2268
2268
  switch (errorCode) {
@@ -2308,7 +2308,7 @@ exports.deserializeAws_restJson1GetChangeLogsCommand = deserializeAws_restJson1G
2308
2308
  const deserializeAws_restJson1GetChangeLogsCommandError = async (output, context) => {
2309
2309
  const parsedOutput = {
2310
2310
  ...output,
2311
- body: await parseBody(output.body, context),
2311
+ body: await parseErrorBody(output.body, context),
2312
2312
  };
2313
2313
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2314
2314
  switch (errorCode) {
@@ -2351,7 +2351,7 @@ exports.deserializeAws_restJson1GetControlCommand = deserializeAws_restJson1GetC
2351
2351
  const deserializeAws_restJson1GetControlCommandError = async (output, context) => {
2352
2352
  const parsedOutput = {
2353
2353
  ...output,
2354
- body: await parseBody(output.body, context),
2354
+ body: await parseErrorBody(output.body, context),
2355
2355
  };
2356
2356
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2357
2357
  switch (errorCode) {
@@ -2397,7 +2397,7 @@ exports.deserializeAws_restJson1GetDelegationsCommand = deserializeAws_restJson1
2397
2397
  const deserializeAws_restJson1GetDelegationsCommandError = async (output, context) => {
2398
2398
  const parsedOutput = {
2399
2399
  ...output,
2400
- body: await parseBody(output.body, context),
2400
+ body: await parseErrorBody(output.body, context),
2401
2401
  };
2402
2402
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2403
2403
  switch (errorCode) {
@@ -2437,7 +2437,7 @@ exports.deserializeAws_restJson1GetEvidenceCommand = deserializeAws_restJson1Get
2437
2437
  const deserializeAws_restJson1GetEvidenceCommandError = async (output, context) => {
2438
2438
  const parsedOutput = {
2439
2439
  ...output,
2440
- body: await parseBody(output.body, context),
2440
+ body: await parseErrorBody(output.body, context),
2441
2441
  };
2442
2442
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2443
2443
  switch (errorCode) {
@@ -2483,7 +2483,7 @@ exports.deserializeAws_restJson1GetEvidenceByEvidenceFolderCommand = deserialize
2483
2483
  const deserializeAws_restJson1GetEvidenceByEvidenceFolderCommandError = async (output, context) => {
2484
2484
  const parsedOutput = {
2485
2485
  ...output,
2486
- body: await parseBody(output.body, context),
2486
+ body: await parseErrorBody(output.body, context),
2487
2487
  };
2488
2488
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2489
2489
  switch (errorCode) {
@@ -2526,7 +2526,7 @@ exports.deserializeAws_restJson1GetEvidenceFolderCommand = deserializeAws_restJs
2526
2526
  const deserializeAws_restJson1GetEvidenceFolderCommandError = async (output, context) => {
2527
2527
  const parsedOutput = {
2528
2528
  ...output,
2529
- body: await parseBody(output.body, context),
2529
+ body: await parseErrorBody(output.body, context),
2530
2530
  };
2531
2531
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2532
2532
  switch (errorCode) {
@@ -2572,7 +2572,7 @@ exports.deserializeAws_restJson1GetEvidenceFoldersByAssessmentCommand = deserial
2572
2572
  const deserializeAws_restJson1GetEvidenceFoldersByAssessmentCommandError = async (output, context) => {
2573
2573
  const parsedOutput = {
2574
2574
  ...output,
2575
- body: await parseBody(output.body, context),
2575
+ body: await parseErrorBody(output.body, context),
2576
2576
  };
2577
2577
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2578
2578
  switch (errorCode) {
@@ -2618,7 +2618,7 @@ exports.deserializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommand = d
2618
2618
  const deserializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommandError = async (output, context) => {
2619
2619
  const parsedOutput = {
2620
2620
  ...output,
2621
- body: await parseBody(output.body, context),
2621
+ body: await parseErrorBody(output.body, context),
2622
2622
  };
2623
2623
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2624
2624
  switch (errorCode) {
@@ -2661,7 +2661,7 @@ exports.deserializeAws_restJson1GetInsightsCommand = deserializeAws_restJson1Get
2661
2661
  const deserializeAws_restJson1GetInsightsCommandError = async (output, context) => {
2662
2662
  const parsedOutput = {
2663
2663
  ...output,
2664
- body: await parseBody(output.body, context),
2664
+ body: await parseErrorBody(output.body, context),
2665
2665
  };
2666
2666
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2667
2667
  switch (errorCode) {
@@ -2698,7 +2698,7 @@ exports.deserializeAws_restJson1GetInsightsByAssessmentCommand = deserializeAws_
2698
2698
  const deserializeAws_restJson1GetInsightsByAssessmentCommandError = async (output, context) => {
2699
2699
  const parsedOutput = {
2700
2700
  ...output,
2701
- body: await parseBody(output.body, context),
2701
+ body: await parseErrorBody(output.body, context),
2702
2702
  };
2703
2703
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2704
2704
  switch (errorCode) {
@@ -2744,7 +2744,7 @@ exports.deserializeAws_restJson1GetOrganizationAdminAccountCommand = deserialize
2744
2744
  const deserializeAws_restJson1GetOrganizationAdminAccountCommandError = async (output, context) => {
2745
2745
  const parsedOutput = {
2746
2746
  ...output,
2747
- body: await parseBody(output.body, context),
2747
+ body: await parseErrorBody(output.body, context),
2748
2748
  };
2749
2749
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2750
2750
  switch (errorCode) {
@@ -2787,7 +2787,7 @@ exports.deserializeAws_restJson1GetServicesInScopeCommand = deserializeAws_restJ
2787
2787
  const deserializeAws_restJson1GetServicesInScopeCommandError = async (output, context) => {
2788
2788
  const parsedOutput = {
2789
2789
  ...output,
2790
- body: await parseBody(output.body, context),
2790
+ body: await parseErrorBody(output.body, context),
2791
2791
  };
2792
2792
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2793
2793
  switch (errorCode) {
@@ -2827,7 +2827,7 @@ exports.deserializeAws_restJson1GetSettingsCommand = deserializeAws_restJson1Get
2827
2827
  const deserializeAws_restJson1GetSettingsCommandError = async (output, context) => {
2828
2828
  const parsedOutput = {
2829
2829
  ...output,
2830
- body: await parseBody(output.body, context),
2830
+ body: await parseErrorBody(output.body, context),
2831
2831
  };
2832
2832
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2833
2833
  switch (errorCode) {
@@ -2867,7 +2867,7 @@ exports.deserializeAws_restJson1ListAssessmentControlInsightsByControlDomainComm
2867
2867
  const deserializeAws_restJson1ListAssessmentControlInsightsByControlDomainCommandError = async (output, context) => {
2868
2868
  const parsedOutput = {
2869
2869
  ...output,
2870
- body: await parseBody(output.body, context),
2870
+ body: await parseErrorBody(output.body, context),
2871
2871
  };
2872
2872
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2873
2873
  switch (errorCode) {
@@ -2913,7 +2913,7 @@ exports.deserializeAws_restJson1ListAssessmentFrameworksCommand = deserializeAws
2913
2913
  const deserializeAws_restJson1ListAssessmentFrameworksCommandError = async (output, context) => {
2914
2914
  const parsedOutput = {
2915
2915
  ...output,
2916
- body: await parseBody(output.body, context),
2916
+ body: await parseErrorBody(output.body, context),
2917
2917
  };
2918
2918
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2919
2919
  switch (errorCode) {
@@ -2956,7 +2956,7 @@ exports.deserializeAws_restJson1ListAssessmentFrameworkShareRequestsCommand = de
2956
2956
  const deserializeAws_restJson1ListAssessmentFrameworkShareRequestsCommandError = async (output, context) => {
2957
2957
  const parsedOutput = {
2958
2958
  ...output,
2959
- body: await parseBody(output.body, context),
2959
+ body: await parseErrorBody(output.body, context),
2960
2960
  };
2961
2961
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2962
2962
  switch (errorCode) {
@@ -2999,7 +2999,7 @@ exports.deserializeAws_restJson1ListAssessmentReportsCommand = deserializeAws_re
2999
2999
  const deserializeAws_restJson1ListAssessmentReportsCommandError = async (output, context) => {
3000
3000
  const parsedOutput = {
3001
3001
  ...output,
3002
- body: await parseBody(output.body, context),
3002
+ body: await parseErrorBody(output.body, context),
3003
3003
  };
3004
3004
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3005
3005
  switch (errorCode) {
@@ -3042,7 +3042,7 @@ exports.deserializeAws_restJson1ListAssessmentsCommand = deserializeAws_restJson
3042
3042
  const deserializeAws_restJson1ListAssessmentsCommandError = async (output, context) => {
3043
3043
  const parsedOutput = {
3044
3044
  ...output,
3045
- body: await parseBody(output.body, context),
3045
+ body: await parseErrorBody(output.body, context),
3046
3046
  };
3047
3047
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3048
3048
  switch (errorCode) {
@@ -3085,7 +3085,7 @@ exports.deserializeAws_restJson1ListControlDomainInsightsCommand = deserializeAw
3085
3085
  const deserializeAws_restJson1ListControlDomainInsightsCommandError = async (output, context) => {
3086
3086
  const parsedOutput = {
3087
3087
  ...output,
3088
- body: await parseBody(output.body, context),
3088
+ body: await parseErrorBody(output.body, context),
3089
3089
  };
3090
3090
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3091
3091
  switch (errorCode) {
@@ -3131,7 +3131,7 @@ exports.deserializeAws_restJson1ListControlDomainInsightsByAssessmentCommand = d
3131
3131
  const deserializeAws_restJson1ListControlDomainInsightsByAssessmentCommandError = async (output, context) => {
3132
3132
  const parsedOutput = {
3133
3133
  ...output,
3134
- body: await parseBody(output.body, context),
3134
+ body: await parseErrorBody(output.body, context),
3135
3135
  };
3136
3136
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3137
3137
  switch (errorCode) {
@@ -3177,7 +3177,7 @@ exports.deserializeAws_restJson1ListControlInsightsByControlDomainCommand = dese
3177
3177
  const deserializeAws_restJson1ListControlInsightsByControlDomainCommandError = async (output, context) => {
3178
3178
  const parsedOutput = {
3179
3179
  ...output,
3180
- body: await parseBody(output.body, context),
3180
+ body: await parseErrorBody(output.body, context),
3181
3181
  };
3182
3182
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3183
3183
  switch (errorCode) {
@@ -3223,7 +3223,7 @@ exports.deserializeAws_restJson1ListControlsCommand = deserializeAws_restJson1Li
3223
3223
  const deserializeAws_restJson1ListControlsCommandError = async (output, context) => {
3224
3224
  const parsedOutput = {
3225
3225
  ...output,
3226
- body: await parseBody(output.body, context),
3226
+ body: await parseErrorBody(output.body, context),
3227
3227
  };
3228
3228
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3229
3229
  switch (errorCode) {
@@ -3266,7 +3266,7 @@ exports.deserializeAws_restJson1ListKeywordsForDataSourceCommand = deserializeAw
3266
3266
  const deserializeAws_restJson1ListKeywordsForDataSourceCommandError = async (output, context) => {
3267
3267
  const parsedOutput = {
3268
3268
  ...output,
3269
- body: await parseBody(output.body, context),
3269
+ body: await parseErrorBody(output.body, context),
3270
3270
  };
3271
3271
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3272
3272
  switch (errorCode) {
@@ -3309,7 +3309,7 @@ exports.deserializeAws_restJson1ListNotificationsCommand = deserializeAws_restJs
3309
3309
  const deserializeAws_restJson1ListNotificationsCommandError = async (output, context) => {
3310
3310
  const parsedOutput = {
3311
3311
  ...output,
3312
- body: await parseBody(output.body, context),
3312
+ body: await parseErrorBody(output.body, context),
3313
3313
  };
3314
3314
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3315
3315
  switch (errorCode) {
@@ -3349,7 +3349,7 @@ exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_rest
3349
3349
  const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
3350
3350
  const parsedOutput = {
3351
3351
  ...output,
3352
- body: await parseBody(output.body, context),
3352
+ body: await parseErrorBody(output.body, context),
3353
3353
  };
3354
3354
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3355
3355
  switch (errorCode) {
@@ -3389,7 +3389,7 @@ exports.deserializeAws_restJson1RegisterAccountCommand = deserializeAws_restJson
3389
3389
  const deserializeAws_restJson1RegisterAccountCommandError = async (output, context) => {
3390
3390
  const parsedOutput = {
3391
3391
  ...output,
3392
- body: await parseBody(output.body, context),
3392
+ body: await parseErrorBody(output.body, context),
3393
3393
  };
3394
3394
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3395
3395
  switch (errorCode) {
@@ -3438,7 +3438,7 @@ exports.deserializeAws_restJson1RegisterOrganizationAdminAccountCommand = deseri
3438
3438
  const deserializeAws_restJson1RegisterOrganizationAdminAccountCommandError = async (output, context) => {
3439
3439
  const parsedOutput = {
3440
3440
  ...output,
3441
- body: await parseBody(output.body, context),
3441
+ body: await parseErrorBody(output.body, context),
3442
3442
  };
3443
3443
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3444
3444
  switch (errorCode) {
@@ -3481,7 +3481,7 @@ exports.deserializeAws_restJson1StartAssessmentFrameworkShareCommand = deseriali
3481
3481
  const deserializeAws_restJson1StartAssessmentFrameworkShareCommandError = async (output, context) => {
3482
3482
  const parsedOutput = {
3483
3483
  ...output,
3484
- body: await parseBody(output.body, context),
3484
+ body: await parseErrorBody(output.body, context),
3485
3485
  };
3486
3486
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3487
3487
  switch (errorCode) {
@@ -3521,7 +3521,7 @@ exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1Tag
3521
3521
  const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
3522
3522
  const parsedOutput = {
3523
3523
  ...output,
3524
- body: await parseBody(output.body, context),
3524
+ body: await parseErrorBody(output.body, context),
3525
3525
  };
3526
3526
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3527
3527
  switch (errorCode) {
@@ -3558,7 +3558,7 @@ exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1U
3558
3558
  const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
3559
3559
  const parsedOutput = {
3560
3560
  ...output,
3561
- body: await parseBody(output.body, context),
3561
+ body: await parseErrorBody(output.body, context),
3562
3562
  };
3563
3563
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3564
3564
  switch (errorCode) {
@@ -3598,7 +3598,7 @@ exports.deserializeAws_restJson1UpdateAssessmentCommand = deserializeAws_restJso
3598
3598
  const deserializeAws_restJson1UpdateAssessmentCommandError = async (output, context) => {
3599
3599
  const parsedOutput = {
3600
3600
  ...output,
3601
- body: await parseBody(output.body, context),
3601
+ body: await parseErrorBody(output.body, context),
3602
3602
  };
3603
3603
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3604
3604
  switch (errorCode) {
@@ -3641,7 +3641,7 @@ exports.deserializeAws_restJson1UpdateAssessmentControlCommand = deserializeAws_
3641
3641
  const deserializeAws_restJson1UpdateAssessmentControlCommandError = async (output, context) => {
3642
3642
  const parsedOutput = {
3643
3643
  ...output,
3644
- body: await parseBody(output.body, context),
3644
+ body: await parseErrorBody(output.body, context),
3645
3645
  };
3646
3646
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3647
3647
  switch (errorCode) {
@@ -3684,7 +3684,7 @@ exports.deserializeAws_restJson1UpdateAssessmentControlSetStatusCommand = deseri
3684
3684
  const deserializeAws_restJson1UpdateAssessmentControlSetStatusCommandError = async (output, context) => {
3685
3685
  const parsedOutput = {
3686
3686
  ...output,
3687
- body: await parseBody(output.body, context),
3687
+ body: await parseErrorBody(output.body, context),
3688
3688
  };
3689
3689
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3690
3690
  switch (errorCode) {
@@ -3727,7 +3727,7 @@ exports.deserializeAws_restJson1UpdateAssessmentFrameworkCommand = deserializeAw
3727
3727
  const deserializeAws_restJson1UpdateAssessmentFrameworkCommandError = async (output, context) => {
3728
3728
  const parsedOutput = {
3729
3729
  ...output,
3730
- body: await parseBody(output.body, context),
3730
+ body: await parseErrorBody(output.body, context),
3731
3731
  };
3732
3732
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3733
3733
  switch (errorCode) {
@@ -3770,7 +3770,7 @@ exports.deserializeAws_restJson1UpdateAssessmentFrameworkShareCommand = deserial
3770
3770
  const deserializeAws_restJson1UpdateAssessmentFrameworkShareCommandError = async (output, context) => {
3771
3771
  const parsedOutput = {
3772
3772
  ...output,
3773
- body: await parseBody(output.body, context),
3773
+ body: await parseErrorBody(output.body, context),
3774
3774
  };
3775
3775
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3776
3776
  switch (errorCode) {
@@ -3813,7 +3813,7 @@ exports.deserializeAws_restJson1UpdateAssessmentStatusCommand = deserializeAws_r
3813
3813
  const deserializeAws_restJson1UpdateAssessmentStatusCommandError = async (output, context) => {
3814
3814
  const parsedOutput = {
3815
3815
  ...output,
3816
- body: await parseBody(output.body, context),
3816
+ body: await parseErrorBody(output.body, context),
3817
3817
  };
3818
3818
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3819
3819
  switch (errorCode) {
@@ -3859,7 +3859,7 @@ exports.deserializeAws_restJson1UpdateControlCommand = deserializeAws_restJson1U
3859
3859
  const deserializeAws_restJson1UpdateControlCommandError = async (output, context) => {
3860
3860
  const parsedOutput = {
3861
3861
  ...output,
3862
- body: await parseBody(output.body, context),
3862
+ body: await parseErrorBody(output.body, context),
3863
3863
  };
3864
3864
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3865
3865
  switch (errorCode) {
@@ -3902,7 +3902,7 @@ exports.deserializeAws_restJson1UpdateSettingsCommand = deserializeAws_restJson1
3902
3902
  const deserializeAws_restJson1UpdateSettingsCommandError = async (output, context) => {
3903
3903
  const parsedOutput = {
3904
3904
  ...output,
3905
- body: await parseBody(output.body, context),
3905
+ body: await parseErrorBody(output.body, context),
3906
3906
  };
3907
3907
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3908
3908
  switch (errorCode) {
@@ -3954,7 +3954,7 @@ exports.deserializeAws_restJson1ValidateAssessmentReportIntegrityCommand = deser
3954
3954
  const deserializeAws_restJson1ValidateAssessmentReportIntegrityCommandError = async (output, context) => {
3955
3955
  const parsedOutput = {
3956
3956
  ...output,
3957
- body: await parseBody(output.body, context),
3957
+ body: await parseErrorBody(output.body, context),
3958
3958
  };
3959
3959
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3960
3960
  switch (errorCode) {
@@ -5211,6 +5211,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
5211
5211
  }
5212
5212
  return {};
5213
5213
  });
5214
+ const parseErrorBody = async (errorBody, context) => {
5215
+ var _a;
5216
+ const value = await parseBody(errorBody, context);
5217
+ value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
5218
+ return value;
5219
+ };
5214
5220
  const loadRestJsonErrorCode = (output, data) => {
5215
5221
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
5216
5222
  const sanitizeErrorCode = (rawValue) => {
@@ -1591,7 +1591,7 @@ var deserializeAws_restJson1AssociateAssessmentReportEvidenceFolderCommandError
1591
1591
  case 0:
1592
1592
  _a = [__assign({}, output)];
1593
1593
  _c = {};
1594
- return [4, parseBody(output.body, context)];
1594
+ return [4, parseErrorBody(output.body, context)];
1595
1595
  case 1:
1596
1596
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
1597
1597
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -1662,7 +1662,7 @@ var deserializeAws_restJson1BatchAssociateAssessmentReportEvidenceCommandError =
1662
1662
  case 0:
1663
1663
  _a = [__assign({}, output)];
1664
1664
  _c = {};
1665
- return [4, parseBody(output.body, context)];
1665
+ return [4, parseErrorBody(output.body, context)];
1666
1666
  case 1:
1667
1667
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
1668
1668
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -1733,7 +1733,7 @@ var deserializeAws_restJson1BatchCreateDelegationByAssessmentCommandError = func
1733
1733
  case 0:
1734
1734
  _a = [__assign({}, output)];
1735
1735
  _c = {};
1736
- return [4, parseBody(output.body, context)];
1736
+ return [4, parseErrorBody(output.body, context)];
1737
1737
  case 1:
1738
1738
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
1739
1739
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -1801,7 +1801,7 @@ var deserializeAws_restJson1BatchDeleteDelegationByAssessmentCommandError = func
1801
1801
  case 0:
1802
1802
  _a = [__assign({}, output)];
1803
1803
  _c = {};
1804
- return [4, parseBody(output.body, context)];
1804
+ return [4, parseErrorBody(output.body, context)];
1805
1805
  case 1:
1806
1806
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
1807
1807
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -1872,7 +1872,7 @@ var deserializeAws_restJson1BatchDisassociateAssessmentReportEvidenceCommandErro
1872
1872
  case 0:
1873
1873
  _a = [__assign({}, output)];
1874
1874
  _c = {};
1875
- return [4, parseBody(output.body, context)];
1875
+ return [4, parseErrorBody(output.body, context)];
1876
1876
  case 1:
1877
1877
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
1878
1878
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -1940,7 +1940,7 @@ var deserializeAws_restJson1BatchImportEvidenceToAssessmentControlCommandError =
1940
1940
  case 0:
1941
1941
  _a = [__assign({}, output)];
1942
1942
  _c = {};
1943
- return [4, parseBody(output.body, context)];
1943
+ return [4, parseErrorBody(output.body, context)];
1944
1944
  case 1:
1945
1945
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
1946
1946
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -2008,7 +2008,7 @@ var deserializeAws_restJson1CreateAssessmentCommandError = function (output, con
2008
2008
  case 0:
2009
2009
  _a = [__assign({}, output)];
2010
2010
  _c = {};
2011
- return [4, parseBody(output.body, context)];
2011
+ return [4, parseErrorBody(output.body, context)];
2012
2012
  case 1:
2013
2013
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2014
2014
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -2080,7 +2080,7 @@ var deserializeAws_restJson1CreateAssessmentFrameworkCommandError = function (ou
2080
2080
  case 0:
2081
2081
  _a = [__assign({}, output)];
2082
2082
  _c = {};
2083
- return [4, parseBody(output.body, context)];
2083
+ return [4, parseErrorBody(output.body, context)];
2084
2084
  case 1:
2085
2085
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2086
2086
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -2152,7 +2152,7 @@ var deserializeAws_restJson1CreateAssessmentReportCommandError = function (outpu
2152
2152
  case 0:
2153
2153
  _a = [__assign({}, output)];
2154
2154
  _c = {};
2155
- return [4, parseBody(output.body, context)];
2155
+ return [4, parseErrorBody(output.body, context)];
2156
2156
  case 1:
2157
2157
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2158
2158
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -2220,7 +2220,7 @@ var deserializeAws_restJson1CreateControlCommandError = function (output, contex
2220
2220
  case 0:
2221
2221
  _a = [__assign({}, output)];
2222
2222
  _c = {};
2223
- return [4, parseBody(output.body, context)];
2223
+ return [4, parseErrorBody(output.body, context)];
2224
2224
  case 1:
2225
2225
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2226
2226
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -2287,7 +2287,7 @@ var deserializeAws_restJson1DeleteAssessmentCommandError = function (output, con
2287
2287
  case 0:
2288
2288
  _a = [__assign({}, output)];
2289
2289
  _c = {};
2290
- return [4, parseBody(output.body, context)];
2290
+ return [4, parseErrorBody(output.body, context)];
2291
2291
  case 1:
2292
2292
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2293
2293
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -2350,7 +2350,7 @@ var deserializeAws_restJson1DeleteAssessmentFrameworkCommandError = function (ou
2350
2350
  case 0:
2351
2351
  _a = [__assign({}, output)];
2352
2352
  _c = {};
2353
- return [4, parseBody(output.body, context)];
2353
+ return [4, parseErrorBody(output.body, context)];
2354
2354
  case 1:
2355
2355
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2356
2356
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -2413,7 +2413,7 @@ var deserializeAws_restJson1DeleteAssessmentFrameworkShareCommandError = functio
2413
2413
  case 0:
2414
2414
  _a = [__assign({}, output)];
2415
2415
  _c = {};
2416
- return [4, parseBody(output.body, context)];
2416
+ return [4, parseErrorBody(output.body, context)];
2417
2417
  case 1:
2418
2418
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2419
2419
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -2476,7 +2476,7 @@ var deserializeAws_restJson1DeleteAssessmentReportCommandError = function (outpu
2476
2476
  case 0:
2477
2477
  _a = [__assign({}, output)];
2478
2478
  _c = {};
2479
- return [4, parseBody(output.body, context)];
2479
+ return [4, parseErrorBody(output.body, context)];
2480
2480
  case 1:
2481
2481
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2482
2482
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -2539,7 +2539,7 @@ var deserializeAws_restJson1DeleteControlCommandError = function (output, contex
2539
2539
  case 0:
2540
2540
  _a = [__assign({}, output)];
2541
2541
  _c = {};
2542
- return [4, parseBody(output.body, context)];
2542
+ return [4, parseErrorBody(output.body, context)];
2543
2543
  case 1:
2544
2544
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2545
2545
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -2607,7 +2607,7 @@ var deserializeAws_restJson1DeregisterAccountCommandError = function (output, co
2607
2607
  case 0:
2608
2608
  _a = [__assign({}, output)];
2609
2609
  _c = {};
2610
- return [4, parseBody(output.body, context)];
2610
+ return [4, parseErrorBody(output.body, context)];
2611
2611
  case 1:
2612
2612
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2613
2613
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -2670,7 +2670,7 @@ var deserializeAws_restJson1DeregisterOrganizationAdminAccountCommandError = fun
2670
2670
  case 0:
2671
2671
  _a = [__assign({}, output)];
2672
2672
  _c = {};
2673
- return [4, parseBody(output.body, context)];
2673
+ return [4, parseErrorBody(output.body, context)];
2674
2674
  case 1:
2675
2675
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2676
2676
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -2733,7 +2733,7 @@ var deserializeAws_restJson1DisassociateAssessmentReportEvidenceFolderCommandErr
2733
2733
  case 0:
2734
2734
  _a = [__assign({}, output)];
2735
2735
  _c = {};
2736
- return [4, parseBody(output.body, context)];
2736
+ return [4, parseErrorBody(output.body, context)];
2737
2737
  case 1:
2738
2738
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2739
2739
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -2801,7 +2801,7 @@ var deserializeAws_restJson1GetAccountStatusCommandError = function (output, con
2801
2801
  case 0:
2802
2802
  _a = [__assign({}, output)];
2803
2803
  _c = {};
2804
- return [4, parseBody(output.body, context)];
2804
+ return [4, parseErrorBody(output.body, context)];
2805
2805
  case 1:
2806
2806
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2807
2807
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -2860,7 +2860,7 @@ var deserializeAws_restJson1GetAssessmentCommandError = function (output, contex
2860
2860
  case 0:
2861
2861
  _a = [__assign({}, output)];
2862
2862
  _c = {};
2863
- return [4, parseBody(output.body, context)];
2863
+ return [4, parseErrorBody(output.body, context)];
2864
2864
  case 1:
2865
2865
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2866
2866
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -2928,7 +2928,7 @@ var deserializeAws_restJson1GetAssessmentFrameworkCommandError = function (outpu
2928
2928
  case 0:
2929
2929
  _a = [__assign({}, output)];
2930
2930
  _c = {};
2931
- return [4, parseBody(output.body, context)];
2931
+ return [4, parseErrorBody(output.body, context)];
2932
2932
  case 1:
2933
2933
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2934
2934
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -2996,7 +2996,7 @@ var deserializeAws_restJson1GetAssessmentReportUrlCommandError = function (outpu
2996
2996
  case 0:
2997
2997
  _a = [__assign({}, output)];
2998
2998
  _c = {};
2999
- return [4, parseBody(output.body, context)];
2999
+ return [4, parseErrorBody(output.body, context)];
3000
3000
  case 1:
3001
3001
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
3002
3002
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -3067,7 +3067,7 @@ var deserializeAws_restJson1GetChangeLogsCommandError = function (output, contex
3067
3067
  case 0:
3068
3068
  _a = [__assign({}, output)];
3069
3069
  _c = {};
3070
- return [4, parseBody(output.body, context)];
3070
+ return [4, parseErrorBody(output.body, context)];
3071
3071
  case 1:
3072
3072
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
3073
3073
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -3135,7 +3135,7 @@ var deserializeAws_restJson1GetControlCommandError = function (output, context)
3135
3135
  case 0:
3136
3136
  _a = [__assign({}, output)];
3137
3137
  _c = {};
3138
- return [4, parseBody(output.body, context)];
3138
+ return [4, parseErrorBody(output.body, context)];
3139
3139
  case 1:
3140
3140
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
3141
3141
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -3206,7 +3206,7 @@ var deserializeAws_restJson1GetDelegationsCommandError = function (output, conte
3206
3206
  case 0:
3207
3207
  _a = [__assign({}, output)];
3208
3208
  _c = {};
3209
- return [4, parseBody(output.body, context)];
3209
+ return [4, parseErrorBody(output.body, context)];
3210
3210
  case 1:
3211
3211
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
3212
3212
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -3270,7 +3270,7 @@ var deserializeAws_restJson1GetEvidenceCommandError = function (output, context)
3270
3270
  case 0:
3271
3271
  _a = [__assign({}, output)];
3272
3272
  _c = {};
3273
- return [4, parseBody(output.body, context)];
3273
+ return [4, parseErrorBody(output.body, context)];
3274
3274
  case 1:
3275
3275
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
3276
3276
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -3341,7 +3341,7 @@ var deserializeAws_restJson1GetEvidenceByEvidenceFolderCommandError = function (
3341
3341
  case 0:
3342
3342
  _a = [__assign({}, output)];
3343
3343
  _c = {};
3344
- return [4, parseBody(output.body, context)];
3344
+ return [4, parseErrorBody(output.body, context)];
3345
3345
  case 1:
3346
3346
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
3347
3347
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -3409,7 +3409,7 @@ var deserializeAws_restJson1GetEvidenceFolderCommandError = function (output, co
3409
3409
  case 0:
3410
3410
  _a = [__assign({}, output)];
3411
3411
  _c = {};
3412
- return [4, parseBody(output.body, context)];
3412
+ return [4, parseErrorBody(output.body, context)];
3413
3413
  case 1:
3414
3414
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
3415
3415
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -3480,7 +3480,7 @@ var deserializeAws_restJson1GetEvidenceFoldersByAssessmentCommandError = functio
3480
3480
  case 0:
3481
3481
  _a = [__assign({}, output)];
3482
3482
  _c = {};
3483
- return [4, parseBody(output.body, context)];
3483
+ return [4, parseErrorBody(output.body, context)];
3484
3484
  case 1:
3485
3485
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
3486
3486
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -3551,7 +3551,7 @@ var deserializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommandError =
3551
3551
  case 0:
3552
3552
  _a = [__assign({}, output)];
3553
3553
  _c = {};
3554
- return [4, parseBody(output.body, context)];
3554
+ return [4, parseErrorBody(output.body, context)];
3555
3555
  case 1:
3556
3556
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
3557
3557
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -3619,7 +3619,7 @@ var deserializeAws_restJson1GetInsightsCommandError = function (output, context)
3619
3619
  case 0:
3620
3620
  _a = [__assign({}, output)];
3621
3621
  _c = {};
3622
- return [4, parseBody(output.body, context)];
3622
+ return [4, parseErrorBody(output.body, context)];
3623
3623
  case 1:
3624
3624
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
3625
3625
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -3679,7 +3679,7 @@ var deserializeAws_restJson1GetInsightsByAssessmentCommandError = function (outp
3679
3679
  case 0:
3680
3680
  _a = [__assign({}, output)];
3681
3681
  _c = {};
3682
- return [4, parseBody(output.body, context)];
3682
+ return [4, parseErrorBody(output.body, context)];
3683
3683
  case 1:
3684
3684
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
3685
3685
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -3750,7 +3750,7 @@ var deserializeAws_restJson1GetOrganizationAdminAccountCommandError = function (
3750
3750
  case 0:
3751
3751
  _a = [__assign({}, output)];
3752
3752
  _c = {};
3753
- return [4, parseBody(output.body, context)];
3753
+ return [4, parseErrorBody(output.body, context)];
3754
3754
  case 1:
3755
3755
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
3756
3756
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -3818,7 +3818,7 @@ var deserializeAws_restJson1GetServicesInScopeCommandError = function (output, c
3818
3818
  case 0:
3819
3819
  _a = [__assign({}, output)];
3820
3820
  _c = {};
3821
- return [4, parseBody(output.body, context)];
3821
+ return [4, parseErrorBody(output.body, context)];
3822
3822
  case 1:
3823
3823
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
3824
3824
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -3882,7 +3882,7 @@ var deserializeAws_restJson1GetSettingsCommandError = function (output, context)
3882
3882
  case 0:
3883
3883
  _a = [__assign({}, output)];
3884
3884
  _c = {};
3885
- return [4, parseBody(output.body, context)];
3885
+ return [4, parseErrorBody(output.body, context)];
3886
3886
  case 1:
3887
3887
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
3888
3888
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -3945,7 +3945,7 @@ var deserializeAws_restJson1ListAssessmentControlInsightsByControlDomainCommandE
3945
3945
  case 0:
3946
3946
  _a = [__assign({}, output)];
3947
3947
  _c = {};
3948
- return [4, parseBody(output.body, context)];
3948
+ return [4, parseErrorBody(output.body, context)];
3949
3949
  case 1:
3950
3950
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
3951
3951
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -4016,7 +4016,7 @@ var deserializeAws_restJson1ListAssessmentFrameworksCommandError = function (out
4016
4016
  case 0:
4017
4017
  _a = [__assign({}, output)];
4018
4018
  _c = {};
4019
- return [4, parseBody(output.body, context)];
4019
+ return [4, parseErrorBody(output.body, context)];
4020
4020
  case 1:
4021
4021
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
4022
4022
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -4083,7 +4083,7 @@ var deserializeAws_restJson1ListAssessmentFrameworkShareRequestsCommandError = f
4083
4083
  case 0:
4084
4084
  _a = [__assign({}, output)];
4085
4085
  _c = {};
4086
- return [4, parseBody(output.body, context)];
4086
+ return [4, parseErrorBody(output.body, context)];
4087
4087
  case 1:
4088
4088
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
4089
4089
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -4150,7 +4150,7 @@ var deserializeAws_restJson1ListAssessmentReportsCommandError = function (output
4150
4150
  case 0:
4151
4151
  _a = [__assign({}, output)];
4152
4152
  _c = {};
4153
- return [4, parseBody(output.body, context)];
4153
+ return [4, parseErrorBody(output.body, context)];
4154
4154
  case 1:
4155
4155
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
4156
4156
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -4217,7 +4217,7 @@ var deserializeAws_restJson1ListAssessmentsCommandError = function (output, cont
4217
4217
  case 0:
4218
4218
  _a = [__assign({}, output)];
4219
4219
  _c = {};
4220
- return [4, parseBody(output.body, context)];
4220
+ return [4, parseErrorBody(output.body, context)];
4221
4221
  case 1:
4222
4222
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
4223
4223
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -4284,7 +4284,7 @@ var deserializeAws_restJson1ListControlDomainInsightsCommandError = function (ou
4284
4284
  case 0:
4285
4285
  _a = [__assign({}, output)];
4286
4286
  _c = {};
4287
- return [4, parseBody(output.body, context)];
4287
+ return [4, parseErrorBody(output.body, context)];
4288
4288
  case 1:
4289
4289
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
4290
4290
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -4355,7 +4355,7 @@ var deserializeAws_restJson1ListControlDomainInsightsByAssessmentCommandError =
4355
4355
  case 0:
4356
4356
  _a = [__assign({}, output)];
4357
4357
  _c = {};
4358
- return [4, parseBody(output.body, context)];
4358
+ return [4, parseErrorBody(output.body, context)];
4359
4359
  case 1:
4360
4360
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
4361
4361
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -4426,7 +4426,7 @@ var deserializeAws_restJson1ListControlInsightsByControlDomainCommandError = fun
4426
4426
  case 0:
4427
4427
  _a = [__assign({}, output)];
4428
4428
  _c = {};
4429
- return [4, parseBody(output.body, context)];
4429
+ return [4, parseErrorBody(output.body, context)];
4430
4430
  case 1:
4431
4431
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
4432
4432
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -4497,7 +4497,7 @@ var deserializeAws_restJson1ListControlsCommandError = function (output, context
4497
4497
  case 0:
4498
4498
  _a = [__assign({}, output)];
4499
4499
  _c = {};
4500
- return [4, parseBody(output.body, context)];
4500
+ return [4, parseErrorBody(output.body, context)];
4501
4501
  case 1:
4502
4502
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
4503
4503
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -4564,7 +4564,7 @@ var deserializeAws_restJson1ListKeywordsForDataSourceCommandError = function (ou
4564
4564
  case 0:
4565
4565
  _a = [__assign({}, output)];
4566
4566
  _c = {};
4567
- return [4, parseBody(output.body, context)];
4567
+ return [4, parseErrorBody(output.body, context)];
4568
4568
  case 1:
4569
4569
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
4570
4570
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -4631,7 +4631,7 @@ var deserializeAws_restJson1ListNotificationsCommandError = function (output, co
4631
4631
  case 0:
4632
4632
  _a = [__assign({}, output)];
4633
4633
  _c = {};
4634
- return [4, parseBody(output.body, context)];
4634
+ return [4, parseErrorBody(output.body, context)];
4635
4635
  case 1:
4636
4636
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
4637
4637
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -4695,7 +4695,7 @@ var deserializeAws_restJson1ListTagsForResourceCommandError = function (output,
4695
4695
  case 0:
4696
4696
  _a = [__assign({}, output)];
4697
4697
  _c = {};
4698
- return [4, parseBody(output.body, context)];
4698
+ return [4, parseErrorBody(output.body, context)];
4699
4699
  case 1:
4700
4700
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
4701
4701
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -4759,7 +4759,7 @@ var deserializeAws_restJson1RegisterAccountCommandError = function (output, cont
4759
4759
  case 0:
4760
4760
  _a = [__assign({}, output)];
4761
4761
  _c = {};
4762
- return [4, parseBody(output.body, context)];
4762
+ return [4, parseErrorBody(output.body, context)];
4763
4763
  case 1:
4764
4764
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
4765
4765
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -4834,7 +4834,7 @@ var deserializeAws_restJson1RegisterOrganizationAdminAccountCommandError = funct
4834
4834
  case 0:
4835
4835
  _a = [__assign({}, output)];
4836
4836
  _c = {};
4837
- return [4, parseBody(output.body, context)];
4837
+ return [4, parseErrorBody(output.body, context)];
4838
4838
  case 1:
4839
4839
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
4840
4840
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -4902,7 +4902,7 @@ var deserializeAws_restJson1StartAssessmentFrameworkShareCommandError = function
4902
4902
  case 0:
4903
4903
  _a = [__assign({}, output)];
4904
4904
  _c = {};
4905
- return [4, parseBody(output.body, context)];
4905
+ return [4, parseErrorBody(output.body, context)];
4906
4906
  case 1:
4907
4907
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
4908
4908
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -4965,7 +4965,7 @@ var deserializeAws_restJson1TagResourceCommandError = function (output, context)
4965
4965
  case 0:
4966
4966
  _a = [__assign({}, output)];
4967
4967
  _c = {};
4968
- return [4, parseBody(output.body, context)];
4968
+ return [4, parseErrorBody(output.body, context)];
4969
4969
  case 1:
4970
4970
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
4971
4971
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -5024,7 +5024,7 @@ var deserializeAws_restJson1UntagResourceCommandError = function (output, contex
5024
5024
  case 0:
5025
5025
  _a = [__assign({}, output)];
5026
5026
  _c = {};
5027
- return [4, parseBody(output.body, context)];
5027
+ return [4, parseErrorBody(output.body, context)];
5028
5028
  case 1:
5029
5029
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
5030
5030
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -5088,7 +5088,7 @@ var deserializeAws_restJson1UpdateAssessmentCommandError = function (output, con
5088
5088
  case 0:
5089
5089
  _a = [__assign({}, output)];
5090
5090
  _c = {};
5091
- return [4, parseBody(output.body, context)];
5091
+ return [4, parseErrorBody(output.body, context)];
5092
5092
  case 1:
5093
5093
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
5094
5094
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -5156,7 +5156,7 @@ var deserializeAws_restJson1UpdateAssessmentControlCommandError = function (outp
5156
5156
  case 0:
5157
5157
  _a = [__assign({}, output)];
5158
5158
  _c = {};
5159
- return [4, parseBody(output.body, context)];
5159
+ return [4, parseErrorBody(output.body, context)];
5160
5160
  case 1:
5161
5161
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
5162
5162
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -5224,7 +5224,7 @@ var deserializeAws_restJson1UpdateAssessmentControlSetStatusCommandError = funct
5224
5224
  case 0:
5225
5225
  _a = [__assign({}, output)];
5226
5226
  _c = {};
5227
- return [4, parseBody(output.body, context)];
5227
+ return [4, parseErrorBody(output.body, context)];
5228
5228
  case 1:
5229
5229
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
5230
5230
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -5292,7 +5292,7 @@ var deserializeAws_restJson1UpdateAssessmentFrameworkCommandError = function (ou
5292
5292
  case 0:
5293
5293
  _a = [__assign({}, output)];
5294
5294
  _c = {};
5295
- return [4, parseBody(output.body, context)];
5295
+ return [4, parseErrorBody(output.body, context)];
5296
5296
  case 1:
5297
5297
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
5298
5298
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -5360,7 +5360,7 @@ var deserializeAws_restJson1UpdateAssessmentFrameworkShareCommandError = functio
5360
5360
  case 0:
5361
5361
  _a = [__assign({}, output)];
5362
5362
  _c = {};
5363
- return [4, parseBody(output.body, context)];
5363
+ return [4, parseErrorBody(output.body, context)];
5364
5364
  case 1:
5365
5365
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
5366
5366
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -5428,7 +5428,7 @@ var deserializeAws_restJson1UpdateAssessmentStatusCommandError = function (outpu
5428
5428
  case 0:
5429
5429
  _a = [__assign({}, output)];
5430
5430
  _c = {};
5431
- return [4, parseBody(output.body, context)];
5431
+ return [4, parseErrorBody(output.body, context)];
5432
5432
  case 1:
5433
5433
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
5434
5434
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -5500,7 +5500,7 @@ var deserializeAws_restJson1UpdateControlCommandError = function (output, contex
5500
5500
  case 0:
5501
5501
  _a = [__assign({}, output)];
5502
5502
  _c = {};
5503
- return [4, parseBody(output.body, context)];
5503
+ return [4, parseErrorBody(output.body, context)];
5504
5504
  case 1:
5505
5505
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
5506
5506
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -5568,7 +5568,7 @@ var deserializeAws_restJson1UpdateSettingsCommandError = function (output, conte
5568
5568
  case 0:
5569
5569
  _a = [__assign({}, output)];
5570
5570
  _c = {};
5571
- return [4, parseBody(output.body, context)];
5571
+ return [4, parseErrorBody(output.body, context)];
5572
5572
  case 1:
5573
5573
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
5574
5574
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -5644,7 +5644,7 @@ var deserializeAws_restJson1ValidateAssessmentReportIntegrityCommandError = func
5644
5644
  case 0:
5645
5645
  _a = [__assign({}, output)];
5646
5646
  _c = {};
5647
- return [4, parseBody(output.body, context)];
5647
+ return [4, parseErrorBody(output.body, context)];
5648
5648
  case 1:
5649
5649
  parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
5650
5650
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
@@ -6865,6 +6865,19 @@ var parseBody = function (streamBody, context) {
6865
6865
  return {};
6866
6866
  });
6867
6867
  };
6868
+ var parseErrorBody = function (errorBody, context) { return __awaiter(void 0, void 0, void 0, function () {
6869
+ var value;
6870
+ var _a;
6871
+ return __generator(this, function (_b) {
6872
+ switch (_b.label) {
6873
+ case 0: return [4, parseBody(errorBody, context)];
6874
+ case 1:
6875
+ value = _b.sent();
6876
+ value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
6877
+ return [2, value];
6878
+ }
6879
+ });
6880
+ }); };
6868
6881
  var loadRestJsonErrorCode = function (output, data) {
6869
6882
  var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
6870
6883
  var sanitizeErrorCode = function (rawValue) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-auditmanager",
3
3
  "description": "AWS SDK for JavaScript Auditmanager Client for Node.js, Browser and React Native",
4
- "version": "3.180.0",
4
+ "version": "3.181.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,9 +19,9 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.180.0",
22
+ "@aws-sdk/client-sts": "3.181.0",
23
23
  "@aws-sdk/config-resolver": "3.178.0",
24
- "@aws-sdk/credential-provider-node": "3.180.0",
24
+ "@aws-sdk/credential-provider-node": "3.181.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.178.0",
26
26
  "@aws-sdk/hash-node": "3.178.0",
27
27
  "@aws-sdk/invalid-dependency": "3.178.0",