@aws-sdk/client-fms 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_json1_1.js +36 -30
- package/dist-es/FMS.js +122 -129
- package/dist-es/FMSClient.js +22 -28
- package/dist-es/commands/AssociateAdminAccountCommand.js +22 -29
- package/dist-es/commands/AssociateThirdPartyFirewallCommand.js +21 -28
- package/dist-es/commands/DeleteAppsListCommand.js +22 -29
- package/dist-es/commands/DeleteNotificationChannelCommand.js +22 -29
- package/dist-es/commands/DeletePolicyCommand.js +22 -29
- package/dist-es/commands/DeleteProtocolsListCommand.js +22 -29
- package/dist-es/commands/DisassociateAdminAccountCommand.js +22 -29
- package/dist-es/commands/DisassociateThirdPartyFirewallCommand.js +21 -28
- package/dist-es/commands/GetAdminAccountCommand.js +21 -28
- package/dist-es/commands/GetAppsListCommand.js +21 -28
- package/dist-es/commands/GetComplianceDetailCommand.js +21 -28
- package/dist-es/commands/GetNotificationChannelCommand.js +21 -28
- package/dist-es/commands/GetPolicyCommand.js +21 -28
- package/dist-es/commands/GetProtectionStatusCommand.js +21 -28
- package/dist-es/commands/GetProtocolsListCommand.js +21 -28
- package/dist-es/commands/GetThirdPartyFirewallAssociationStatusCommand.js +21 -28
- package/dist-es/commands/GetViolationDetailsCommand.js +21 -28
- package/dist-es/commands/ListAppsListsCommand.js +21 -28
- package/dist-es/commands/ListComplianceStatusCommand.js +21 -28
- package/dist-es/commands/ListMemberAccountsCommand.js +21 -28
- package/dist-es/commands/ListPoliciesCommand.js +21 -28
- package/dist-es/commands/ListProtocolsListsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ListThirdPartyFirewallFirewallPoliciesCommand.js +21 -28
- package/dist-es/commands/PutAppsListCommand.js +21 -28
- package/dist-es/commands/PutNotificationChannelCommand.js +22 -29
- package/dist-es/commands/PutPolicyCommand.js +21 -28
- package/dist-es/commands/PutProtocolsListCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/FMSServiceException.js +5 -10
- package/dist-es/models/models_0.js +423 -190
- package/dist-es/pagination/ListAppsListsPaginator.js +25 -68
- package/dist-es/pagination/ListComplianceStatusPaginator.js +25 -68
- package/dist-es/pagination/ListMemberAccountsPaginator.js +25 -68
- package/dist-es/pagination/ListPoliciesPaginator.js +25 -68
- package/dist-es/pagination/ListProtocolsListsPaginator.js +25 -68
- package/dist-es/pagination/ListThirdPartyFirewallFirewallPoliciesPaginator.js +25 -68
- package/dist-es/protocols/Aws_json1_1.js +2077 -2652
- 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-fms
|
|
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-fms
|
|
@@ -320,7 +320,7 @@ exports.deserializeAws_json1_1AssociateAdminAccountCommand = deserializeAws_json
|
|
|
320
320
|
const deserializeAws_json1_1AssociateAdminAccountCommandError = async (output, context) => {
|
|
321
321
|
const parsedOutput = {
|
|
322
322
|
...output,
|
|
323
|
-
body: await
|
|
323
|
+
body: await parseErrorBody(output.body, context),
|
|
324
324
|
};
|
|
325
325
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
326
326
|
switch (errorCode) {
|
|
@@ -366,7 +366,7 @@ exports.deserializeAws_json1_1AssociateThirdPartyFirewallCommand = deserializeAw
|
|
|
366
366
|
const deserializeAws_json1_1AssociateThirdPartyFirewallCommandError = async (output, context) => {
|
|
367
367
|
const parsedOutput = {
|
|
368
368
|
...output,
|
|
369
|
-
body: await
|
|
369
|
+
body: await parseErrorBody(output.body, context),
|
|
370
370
|
};
|
|
371
371
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
372
372
|
switch (errorCode) {
|
|
@@ -406,7 +406,7 @@ exports.deserializeAws_json1_1DeleteAppsListCommand = deserializeAws_json1_1Dele
|
|
|
406
406
|
const deserializeAws_json1_1DeleteAppsListCommandError = async (output, context) => {
|
|
407
407
|
const parsedOutput = {
|
|
408
408
|
...output,
|
|
409
|
-
body: await
|
|
409
|
+
body: await parseErrorBody(output.body, context),
|
|
410
410
|
};
|
|
411
411
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
412
412
|
switch (errorCode) {
|
|
@@ -443,7 +443,7 @@ exports.deserializeAws_json1_1DeleteNotificationChannelCommand = deserializeAws_
|
|
|
443
443
|
const deserializeAws_json1_1DeleteNotificationChannelCommandError = async (output, context) => {
|
|
444
444
|
const parsedOutput = {
|
|
445
445
|
...output,
|
|
446
|
-
body: await
|
|
446
|
+
body: await parseErrorBody(output.body, context),
|
|
447
447
|
};
|
|
448
448
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
449
449
|
switch (errorCode) {
|
|
@@ -480,7 +480,7 @@ exports.deserializeAws_json1_1DeletePolicyCommand = deserializeAws_json1_1Delete
|
|
|
480
480
|
const deserializeAws_json1_1DeletePolicyCommandError = async (output, context) => {
|
|
481
481
|
const parsedOutput = {
|
|
482
482
|
...output,
|
|
483
|
-
body: await
|
|
483
|
+
body: await parseErrorBody(output.body, context),
|
|
484
484
|
};
|
|
485
485
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
486
486
|
switch (errorCode) {
|
|
@@ -523,7 +523,7 @@ exports.deserializeAws_json1_1DeleteProtocolsListCommand = deserializeAws_json1_
|
|
|
523
523
|
const deserializeAws_json1_1DeleteProtocolsListCommandError = async (output, context) => {
|
|
524
524
|
const parsedOutput = {
|
|
525
525
|
...output,
|
|
526
|
-
body: await
|
|
526
|
+
body: await parseErrorBody(output.body, context),
|
|
527
527
|
};
|
|
528
528
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
529
529
|
switch (errorCode) {
|
|
@@ -560,7 +560,7 @@ exports.deserializeAws_json1_1DisassociateAdminAccountCommand = deserializeAws_j
|
|
|
560
560
|
const deserializeAws_json1_1DisassociateAdminAccountCommandError = async (output, context) => {
|
|
561
561
|
const parsedOutput = {
|
|
562
562
|
...output,
|
|
563
|
-
body: await
|
|
563
|
+
body: await parseErrorBody(output.body, context),
|
|
564
564
|
};
|
|
565
565
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
566
566
|
switch (errorCode) {
|
|
@@ -600,7 +600,7 @@ exports.deserializeAws_json1_1DisassociateThirdPartyFirewallCommand = deserializ
|
|
|
600
600
|
const deserializeAws_json1_1DisassociateThirdPartyFirewallCommandError = async (output, context) => {
|
|
601
601
|
const parsedOutput = {
|
|
602
602
|
...output,
|
|
603
|
-
body: await
|
|
603
|
+
body: await parseErrorBody(output.body, context),
|
|
604
604
|
};
|
|
605
605
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
606
606
|
switch (errorCode) {
|
|
@@ -643,7 +643,7 @@ exports.deserializeAws_json1_1GetAdminAccountCommand = deserializeAws_json1_1Get
|
|
|
643
643
|
const deserializeAws_json1_1GetAdminAccountCommandError = async (output, context) => {
|
|
644
644
|
const parsedOutput = {
|
|
645
645
|
...output,
|
|
646
|
-
body: await
|
|
646
|
+
body: await parseErrorBody(output.body, context),
|
|
647
647
|
};
|
|
648
648
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
649
649
|
switch (errorCode) {
|
|
@@ -683,7 +683,7 @@ exports.deserializeAws_json1_1GetAppsListCommand = deserializeAws_json1_1GetApps
|
|
|
683
683
|
const deserializeAws_json1_1GetAppsListCommandError = async (output, context) => {
|
|
684
684
|
const parsedOutput = {
|
|
685
685
|
...output,
|
|
686
|
-
body: await
|
|
686
|
+
body: await parseErrorBody(output.body, context),
|
|
687
687
|
};
|
|
688
688
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
689
689
|
switch (errorCode) {
|
|
@@ -723,7 +723,7 @@ exports.deserializeAws_json1_1GetComplianceDetailCommand = deserializeAws_json1_
|
|
|
723
723
|
const deserializeAws_json1_1GetComplianceDetailCommandError = async (output, context) => {
|
|
724
724
|
const parsedOutput = {
|
|
725
725
|
...output,
|
|
726
|
-
body: await
|
|
726
|
+
body: await parseErrorBody(output.body, context),
|
|
727
727
|
};
|
|
728
728
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
729
729
|
switch (errorCode) {
|
|
@@ -766,7 +766,7 @@ exports.deserializeAws_json1_1GetNotificationChannelCommand = deserializeAws_jso
|
|
|
766
766
|
const deserializeAws_json1_1GetNotificationChannelCommandError = async (output, context) => {
|
|
767
767
|
const parsedOutput = {
|
|
768
768
|
...output,
|
|
769
|
-
body: await
|
|
769
|
+
body: await parseErrorBody(output.body, context),
|
|
770
770
|
};
|
|
771
771
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
772
772
|
switch (errorCode) {
|
|
@@ -806,7 +806,7 @@ exports.deserializeAws_json1_1GetPolicyCommand = deserializeAws_json1_1GetPolicy
|
|
|
806
806
|
const deserializeAws_json1_1GetPolicyCommandError = async (output, context) => {
|
|
807
807
|
const parsedOutput = {
|
|
808
808
|
...output,
|
|
809
|
-
body: await
|
|
809
|
+
body: await parseErrorBody(output.body, context),
|
|
810
810
|
};
|
|
811
811
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
812
812
|
switch (errorCode) {
|
|
@@ -849,7 +849,7 @@ exports.deserializeAws_json1_1GetProtectionStatusCommand = deserializeAws_json1_
|
|
|
849
849
|
const deserializeAws_json1_1GetProtectionStatusCommandError = async (output, context) => {
|
|
850
850
|
const parsedOutput = {
|
|
851
851
|
...output,
|
|
852
|
-
body: await
|
|
852
|
+
body: await parseErrorBody(output.body, context),
|
|
853
853
|
};
|
|
854
854
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
855
855
|
switch (errorCode) {
|
|
@@ -889,7 +889,7 @@ exports.deserializeAws_json1_1GetProtocolsListCommand = deserializeAws_json1_1Ge
|
|
|
889
889
|
const deserializeAws_json1_1GetProtocolsListCommandError = async (output, context) => {
|
|
890
890
|
const parsedOutput = {
|
|
891
891
|
...output,
|
|
892
|
-
body: await
|
|
892
|
+
body: await parseErrorBody(output.body, context),
|
|
893
893
|
};
|
|
894
894
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
895
895
|
switch (errorCode) {
|
|
@@ -929,7 +929,7 @@ exports.deserializeAws_json1_1GetThirdPartyFirewallAssociationStatusCommand = de
|
|
|
929
929
|
const deserializeAws_json1_1GetThirdPartyFirewallAssociationStatusCommandError = async (output, context) => {
|
|
930
930
|
const parsedOutput = {
|
|
931
931
|
...output,
|
|
932
|
-
body: await
|
|
932
|
+
body: await parseErrorBody(output.body, context),
|
|
933
933
|
};
|
|
934
934
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
935
935
|
switch (errorCode) {
|
|
@@ -972,7 +972,7 @@ exports.deserializeAws_json1_1GetViolationDetailsCommand = deserializeAws_json1_
|
|
|
972
972
|
const deserializeAws_json1_1GetViolationDetailsCommandError = async (output, context) => {
|
|
973
973
|
const parsedOutput = {
|
|
974
974
|
...output,
|
|
975
|
-
body: await
|
|
975
|
+
body: await parseErrorBody(output.body, context),
|
|
976
976
|
};
|
|
977
977
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
978
978
|
switch (errorCode) {
|
|
@@ -1012,7 +1012,7 @@ exports.deserializeAws_json1_1ListAppsListsCommand = deserializeAws_json1_1ListA
|
|
|
1012
1012
|
const deserializeAws_json1_1ListAppsListsCommandError = async (output, context) => {
|
|
1013
1013
|
const parsedOutput = {
|
|
1014
1014
|
...output,
|
|
1015
|
-
body: await
|
|
1015
|
+
body: await parseErrorBody(output.body, context),
|
|
1016
1016
|
};
|
|
1017
1017
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1018
1018
|
switch (errorCode) {
|
|
@@ -1055,7 +1055,7 @@ exports.deserializeAws_json1_1ListComplianceStatusCommand = deserializeAws_json1
|
|
|
1055
1055
|
const deserializeAws_json1_1ListComplianceStatusCommandError = async (output, context) => {
|
|
1056
1056
|
const parsedOutput = {
|
|
1057
1057
|
...output,
|
|
1058
|
-
body: await
|
|
1058
|
+
body: await parseErrorBody(output.body, context),
|
|
1059
1059
|
};
|
|
1060
1060
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1061
1061
|
switch (errorCode) {
|
|
@@ -1092,7 +1092,7 @@ exports.deserializeAws_json1_1ListMemberAccountsCommand = deserializeAws_json1_1
|
|
|
1092
1092
|
const deserializeAws_json1_1ListMemberAccountsCommandError = async (output, context) => {
|
|
1093
1093
|
const parsedOutput = {
|
|
1094
1094
|
...output,
|
|
1095
|
-
body: await
|
|
1095
|
+
body: await parseErrorBody(output.body, context),
|
|
1096
1096
|
};
|
|
1097
1097
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1098
1098
|
switch (errorCode) {
|
|
@@ -1129,7 +1129,7 @@ exports.deserializeAws_json1_1ListPoliciesCommand = deserializeAws_json1_1ListPo
|
|
|
1129
1129
|
const deserializeAws_json1_1ListPoliciesCommandError = async (output, context) => {
|
|
1130
1130
|
const parsedOutput = {
|
|
1131
1131
|
...output,
|
|
1132
|
-
body: await
|
|
1132
|
+
body: await parseErrorBody(output.body, context),
|
|
1133
1133
|
};
|
|
1134
1134
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1135
1135
|
switch (errorCode) {
|
|
@@ -1172,7 +1172,7 @@ exports.deserializeAws_json1_1ListProtocolsListsCommand = deserializeAws_json1_1
|
|
|
1172
1172
|
const deserializeAws_json1_1ListProtocolsListsCommandError = async (output, context) => {
|
|
1173
1173
|
const parsedOutput = {
|
|
1174
1174
|
...output,
|
|
1175
|
-
body: await
|
|
1175
|
+
body: await parseErrorBody(output.body, context),
|
|
1176
1176
|
};
|
|
1177
1177
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1178
1178
|
switch (errorCode) {
|
|
@@ -1212,7 +1212,7 @@ exports.deserializeAws_json1_1ListTagsForResourceCommand = deserializeAws_json1_
|
|
|
1212
1212
|
const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, context) => {
|
|
1213
1213
|
const parsedOutput = {
|
|
1214
1214
|
...output,
|
|
1215
|
-
body: await
|
|
1215
|
+
body: await parseErrorBody(output.body, context),
|
|
1216
1216
|
};
|
|
1217
1217
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1218
1218
|
switch (errorCode) {
|
|
@@ -1255,7 +1255,7 @@ exports.deserializeAws_json1_1ListThirdPartyFirewallFirewallPoliciesCommand = de
|
|
|
1255
1255
|
const deserializeAws_json1_1ListThirdPartyFirewallFirewallPoliciesCommandError = async (output, context) => {
|
|
1256
1256
|
const parsedOutput = {
|
|
1257
1257
|
...output,
|
|
1258
|
-
body: await
|
|
1258
|
+
body: await parseErrorBody(output.body, context),
|
|
1259
1259
|
};
|
|
1260
1260
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1261
1261
|
switch (errorCode) {
|
|
@@ -1298,7 +1298,7 @@ exports.deserializeAws_json1_1PutAppsListCommand = deserializeAws_json1_1PutApps
|
|
|
1298
1298
|
const deserializeAws_json1_1PutAppsListCommandError = async (output, context) => {
|
|
1299
1299
|
const parsedOutput = {
|
|
1300
1300
|
...output,
|
|
1301
|
-
body: await
|
|
1301
|
+
body: await parseErrorBody(output.body, context),
|
|
1302
1302
|
};
|
|
1303
1303
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1304
1304
|
switch (errorCode) {
|
|
@@ -1341,7 +1341,7 @@ exports.deserializeAws_json1_1PutNotificationChannelCommand = deserializeAws_jso
|
|
|
1341
1341
|
const deserializeAws_json1_1PutNotificationChannelCommandError = async (output, context) => {
|
|
1342
1342
|
const parsedOutput = {
|
|
1343
1343
|
...output,
|
|
1344
|
-
body: await
|
|
1344
|
+
body: await parseErrorBody(output.body, context),
|
|
1345
1345
|
};
|
|
1346
1346
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1347
1347
|
switch (errorCode) {
|
|
@@ -1381,7 +1381,7 @@ exports.deserializeAws_json1_1PutPolicyCommand = deserializeAws_json1_1PutPolicy
|
|
|
1381
1381
|
const deserializeAws_json1_1PutPolicyCommandError = async (output, context) => {
|
|
1382
1382
|
const parsedOutput = {
|
|
1383
1383
|
...output,
|
|
1384
|
-
body: await
|
|
1384
|
+
body: await parseErrorBody(output.body, context),
|
|
1385
1385
|
};
|
|
1386
1386
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1387
1387
|
switch (errorCode) {
|
|
@@ -1430,7 +1430,7 @@ exports.deserializeAws_json1_1PutProtocolsListCommand = deserializeAws_json1_1Pu
|
|
|
1430
1430
|
const deserializeAws_json1_1PutProtocolsListCommandError = async (output, context) => {
|
|
1431
1431
|
const parsedOutput = {
|
|
1432
1432
|
...output,
|
|
1433
|
-
body: await
|
|
1433
|
+
body: await parseErrorBody(output.body, context),
|
|
1434
1434
|
};
|
|
1435
1435
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1436
1436
|
switch (errorCode) {
|
|
@@ -1476,7 +1476,7 @@ exports.deserializeAws_json1_1TagResourceCommand = deserializeAws_json1_1TagReso
|
|
|
1476
1476
|
const deserializeAws_json1_1TagResourceCommandError = async (output, context) => {
|
|
1477
1477
|
const parsedOutput = {
|
|
1478
1478
|
...output,
|
|
1479
|
-
body: await
|
|
1479
|
+
body: await parseErrorBody(output.body, context),
|
|
1480
1480
|
};
|
|
1481
1481
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1482
1482
|
switch (errorCode) {
|
|
@@ -1522,7 +1522,7 @@ exports.deserializeAws_json1_1UntagResourceCommand = deserializeAws_json1_1Untag
|
|
|
1522
1522
|
const deserializeAws_json1_1UntagResourceCommandError = async (output, context) => {
|
|
1523
1523
|
const parsedOutput = {
|
|
1524
1524
|
...output,
|
|
1525
|
-
body: await
|
|
1525
|
+
body: await parseErrorBody(output.body, context),
|
|
1526
1526
|
};
|
|
1527
1527
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1528
1528
|
switch (errorCode) {
|
|
@@ -3248,6 +3248,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
3248
3248
|
}
|
|
3249
3249
|
return {};
|
|
3250
3250
|
});
|
|
3251
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
3252
|
+
var _a;
|
|
3253
|
+
const value = await parseBody(errorBody, context);
|
|
3254
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
3255
|
+
return value;
|
|
3256
|
+
};
|
|
3251
3257
|
const loadRestJsonErrorCode = (output, data) => {
|
|
3252
3258
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
3253
3259
|
const sanitizeErrorCode = (rawValue) => {
|