@aws-sdk/client-auditmanager 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 +67 -61
- package/dist-es/AuditManager.js +246 -253
- package/dist-es/AuditManagerClient.js +22 -28
- package/dist-es/commands/AssociateAssessmentReportEvidenceFolderCommand.js +21 -28
- package/dist-es/commands/BatchAssociateAssessmentReportEvidenceCommand.js +21 -28
- package/dist-es/commands/BatchCreateDelegationByAssessmentCommand.js +21 -28
- package/dist-es/commands/BatchDeleteDelegationByAssessmentCommand.js +21 -28
- package/dist-es/commands/BatchDisassociateAssessmentReportEvidenceCommand.js +21 -28
- package/dist-es/commands/BatchImportEvidenceToAssessmentControlCommand.js +21 -28
- package/dist-es/commands/CreateAssessmentCommand.js +21 -28
- package/dist-es/commands/CreateAssessmentFrameworkCommand.js +21 -28
- package/dist-es/commands/CreateAssessmentReportCommand.js +21 -28
- package/dist-es/commands/CreateControlCommand.js +21 -28
- package/dist-es/commands/DeleteAssessmentCommand.js +21 -28
- package/dist-es/commands/DeleteAssessmentFrameworkCommand.js +21 -28
- package/dist-es/commands/DeleteAssessmentFrameworkShareCommand.js +21 -28
- package/dist-es/commands/DeleteAssessmentReportCommand.js +21 -28
- package/dist-es/commands/DeleteControlCommand.js +21 -28
- package/dist-es/commands/DeregisterAccountCommand.js +21 -28
- package/dist-es/commands/DeregisterOrganizationAdminAccountCommand.js +21 -28
- package/dist-es/commands/DisassociateAssessmentReportEvidenceFolderCommand.js +21 -28
- package/dist-es/commands/GetAccountStatusCommand.js +21 -28
- package/dist-es/commands/GetAssessmentCommand.js +21 -28
- package/dist-es/commands/GetAssessmentFrameworkCommand.js +21 -28
- package/dist-es/commands/GetAssessmentReportUrlCommand.js +21 -28
- package/dist-es/commands/GetChangeLogsCommand.js +21 -28
- package/dist-es/commands/GetControlCommand.js +21 -28
- package/dist-es/commands/GetDelegationsCommand.js +21 -28
- package/dist-es/commands/GetEvidenceByEvidenceFolderCommand.js +21 -28
- package/dist-es/commands/GetEvidenceCommand.js +21 -28
- package/dist-es/commands/GetEvidenceFolderCommand.js +21 -28
- package/dist-es/commands/GetEvidenceFoldersByAssessmentCommand.js +21 -28
- package/dist-es/commands/GetEvidenceFoldersByAssessmentControlCommand.js +21 -28
- package/dist-es/commands/GetInsightsByAssessmentCommand.js +21 -28
- package/dist-es/commands/GetInsightsCommand.js +21 -28
- package/dist-es/commands/GetOrganizationAdminAccountCommand.js +21 -28
- package/dist-es/commands/GetServicesInScopeCommand.js +21 -28
- package/dist-es/commands/GetSettingsCommand.js +21 -28
- package/dist-es/commands/ListAssessmentControlInsightsByControlDomainCommand.js +21 -28
- package/dist-es/commands/ListAssessmentFrameworkShareRequestsCommand.js +21 -28
- package/dist-es/commands/ListAssessmentFrameworksCommand.js +21 -28
- package/dist-es/commands/ListAssessmentReportsCommand.js +21 -28
- package/dist-es/commands/ListAssessmentsCommand.js +21 -28
- package/dist-es/commands/ListControlDomainInsightsByAssessmentCommand.js +21 -28
- package/dist-es/commands/ListControlDomainInsightsCommand.js +21 -28
- package/dist-es/commands/ListControlInsightsByControlDomainCommand.js +21 -28
- package/dist-es/commands/ListControlsCommand.js +21 -28
- package/dist-es/commands/ListKeywordsForDataSourceCommand.js +21 -28
- package/dist-es/commands/ListNotificationsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/RegisterAccountCommand.js +21 -28
- package/dist-es/commands/RegisterOrganizationAdminAccountCommand.js +21 -28
- package/dist-es/commands/StartAssessmentFrameworkShareCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateAssessmentCommand.js +21 -28
- package/dist-es/commands/UpdateAssessmentControlCommand.js +21 -28
- package/dist-es/commands/UpdateAssessmentControlSetStatusCommand.js +21 -28
- package/dist-es/commands/UpdateAssessmentFrameworkCommand.js +21 -28
- package/dist-es/commands/UpdateAssessmentFrameworkShareCommand.js +21 -28
- package/dist-es/commands/UpdateAssessmentStatusCommand.js +21 -28
- package/dist-es/commands/UpdateControlCommand.js +21 -28
- package/dist-es/commands/UpdateSettingsCommand.js +21 -28
- package/dist-es/commands/ValidateAssessmentReportIntegrityCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/AuditManagerServiceException.js +5 -10
- package/dist-es/models/models_0.js +586 -243
- package/dist-es/pagination/GetChangeLogsPaginator.js +25 -68
- package/dist-es/pagination/GetDelegationsPaginator.js +25 -68
- package/dist-es/pagination/GetEvidenceByEvidenceFolderPaginator.js +25 -68
- package/dist-es/pagination/GetEvidenceFoldersByAssessmentControlPaginator.js +25 -68
- package/dist-es/pagination/GetEvidenceFoldersByAssessmentPaginator.js +25 -68
- package/dist-es/pagination/ListAssessmentControlInsightsByControlDomainPaginator.js +25 -68
- package/dist-es/pagination/ListAssessmentFrameworkShareRequestsPaginator.js +25 -68
- package/dist-es/pagination/ListAssessmentFrameworksPaginator.js +25 -68
- package/dist-es/pagination/ListAssessmentReportsPaginator.js +25 -68
- package/dist-es/pagination/ListAssessmentsPaginator.js +25 -68
- package/dist-es/pagination/ListControlDomainInsightsByAssessmentPaginator.js +25 -68
- package/dist-es/pagination/ListControlDomainInsightsPaginator.js +25 -68
- package/dist-es/pagination/ListControlInsightsByControlDomainPaginator.js +25 -68
- package/dist-es/pagination/ListControlsPaginator.js +25 -68
- package/dist-es/pagination/ListKeywordsForDataSourcePaginator.js +25 -68
- package/dist-es/pagination/ListNotificationsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +4157 -5936
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-auditmanager
|
|
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-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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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) => {
|