@aws-sdk/client-waf 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 +83 -77
- package/dist-es/WAF.js +310 -317
- package/dist-es/WAFClient.js +22 -28
- package/dist-es/commands/CreateByteMatchSetCommand.js +21 -28
- package/dist-es/commands/CreateGeoMatchSetCommand.js +21 -28
- package/dist-es/commands/CreateIPSetCommand.js +21 -28
- package/dist-es/commands/CreateRateBasedRuleCommand.js +21 -28
- package/dist-es/commands/CreateRegexMatchSetCommand.js +21 -28
- package/dist-es/commands/CreateRegexPatternSetCommand.js +21 -28
- package/dist-es/commands/CreateRuleCommand.js +21 -28
- package/dist-es/commands/CreateRuleGroupCommand.js +21 -28
- package/dist-es/commands/CreateSizeConstraintSetCommand.js +21 -28
- package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js +21 -28
- package/dist-es/commands/CreateWebACLCommand.js +21 -28
- package/dist-es/commands/CreateWebACLMigrationStackCommand.js +21 -28
- package/dist-es/commands/CreateXssMatchSetCommand.js +21 -28
- package/dist-es/commands/DeleteByteMatchSetCommand.js +21 -28
- package/dist-es/commands/DeleteGeoMatchSetCommand.js +21 -28
- package/dist-es/commands/DeleteIPSetCommand.js +21 -28
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +21 -28
- package/dist-es/commands/DeletePermissionPolicyCommand.js +21 -28
- package/dist-es/commands/DeleteRateBasedRuleCommand.js +21 -28
- package/dist-es/commands/DeleteRegexMatchSetCommand.js +21 -28
- package/dist-es/commands/DeleteRegexPatternSetCommand.js +21 -28
- package/dist-es/commands/DeleteRuleCommand.js +21 -28
- package/dist-es/commands/DeleteRuleGroupCommand.js +21 -28
- package/dist-es/commands/DeleteSizeConstraintSetCommand.js +21 -28
- package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js +21 -28
- package/dist-es/commands/DeleteWebACLCommand.js +21 -28
- package/dist-es/commands/DeleteXssMatchSetCommand.js +21 -28
- package/dist-es/commands/GetByteMatchSetCommand.js +21 -28
- package/dist-es/commands/GetChangeTokenCommand.js +21 -28
- package/dist-es/commands/GetChangeTokenStatusCommand.js +21 -28
- package/dist-es/commands/GetGeoMatchSetCommand.js +21 -28
- package/dist-es/commands/GetIPSetCommand.js +21 -28
- package/dist-es/commands/GetLoggingConfigurationCommand.js +21 -28
- package/dist-es/commands/GetPermissionPolicyCommand.js +21 -28
- package/dist-es/commands/GetRateBasedRuleCommand.js +21 -28
- package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js +21 -28
- package/dist-es/commands/GetRegexMatchSetCommand.js +21 -28
- package/dist-es/commands/GetRegexPatternSetCommand.js +21 -28
- package/dist-es/commands/GetRuleCommand.js +21 -28
- package/dist-es/commands/GetRuleGroupCommand.js +21 -28
- package/dist-es/commands/GetSampledRequestsCommand.js +21 -28
- package/dist-es/commands/GetSizeConstraintSetCommand.js +21 -28
- package/dist-es/commands/GetSqlInjectionMatchSetCommand.js +21 -28
- package/dist-es/commands/GetWebACLCommand.js +21 -28
- package/dist-es/commands/GetXssMatchSetCommand.js +21 -28
- package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js +21 -28
- package/dist-es/commands/ListByteMatchSetsCommand.js +21 -28
- package/dist-es/commands/ListGeoMatchSetsCommand.js +21 -28
- package/dist-es/commands/ListIPSetsCommand.js +21 -28
- package/dist-es/commands/ListLoggingConfigurationsCommand.js +21 -28
- package/dist-es/commands/ListRateBasedRulesCommand.js +21 -28
- package/dist-es/commands/ListRegexMatchSetsCommand.js +21 -28
- package/dist-es/commands/ListRegexPatternSetsCommand.js +21 -28
- package/dist-es/commands/ListRuleGroupsCommand.js +21 -28
- package/dist-es/commands/ListRulesCommand.js +21 -28
- package/dist-es/commands/ListSizeConstraintSetsCommand.js +21 -28
- package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js +21 -28
- package/dist-es/commands/ListSubscribedRuleGroupsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ListWebACLsCommand.js +21 -28
- package/dist-es/commands/ListXssMatchSetsCommand.js +21 -28
- package/dist-es/commands/PutLoggingConfigurationCommand.js +21 -28
- package/dist-es/commands/PutPermissionPolicyCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateByteMatchSetCommand.js +21 -28
- package/dist-es/commands/UpdateGeoMatchSetCommand.js +21 -28
- package/dist-es/commands/UpdateIPSetCommand.js +21 -28
- package/dist-es/commands/UpdateRateBasedRuleCommand.js +21 -28
- package/dist-es/commands/UpdateRegexMatchSetCommand.js +21 -28
- package/dist-es/commands/UpdateRegexPatternSetCommand.js +21 -28
- package/dist-es/commands/UpdateRuleCommand.js +21 -28
- package/dist-es/commands/UpdateRuleGroupCommand.js +21 -28
- package/dist-es/commands/UpdateSizeConstraintSetCommand.js +21 -28
- package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js +21 -28
- package/dist-es/commands/UpdateWebACLCommand.js +21 -28
- package/dist-es/commands/UpdateXssMatchSetCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/WAFServiceException.js +5 -10
- package/dist-es/models/models_0.js +841 -424
- package/dist-es/protocols/Aws_json1_1.js +5214 -6734
- 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
|
@@ -795,7 +795,7 @@ exports.deserializeAws_json1_1CreateByteMatchSetCommand = deserializeAws_json1_1
|
|
|
795
795
|
const deserializeAws_json1_1CreateByteMatchSetCommandError = async (output, context) => {
|
|
796
796
|
const parsedOutput = {
|
|
797
797
|
...output,
|
|
798
|
-
body: await
|
|
798
|
+
body: await parseErrorBody(output.body, context),
|
|
799
799
|
};
|
|
800
800
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
801
801
|
switch (errorCode) {
|
|
@@ -844,7 +844,7 @@ exports.deserializeAws_json1_1CreateGeoMatchSetCommand = deserializeAws_json1_1C
|
|
|
844
844
|
const deserializeAws_json1_1CreateGeoMatchSetCommandError = async (output, context) => {
|
|
845
845
|
const parsedOutput = {
|
|
846
846
|
...output,
|
|
847
|
-
body: await
|
|
847
|
+
body: await parseErrorBody(output.body, context),
|
|
848
848
|
};
|
|
849
849
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
850
850
|
switch (errorCode) {
|
|
@@ -893,7 +893,7 @@ exports.deserializeAws_json1_1CreateIPSetCommand = deserializeAws_json1_1CreateI
|
|
|
893
893
|
const deserializeAws_json1_1CreateIPSetCommandError = async (output, context) => {
|
|
894
894
|
const parsedOutput = {
|
|
895
895
|
...output,
|
|
896
|
-
body: await
|
|
896
|
+
body: await parseErrorBody(output.body, context),
|
|
897
897
|
};
|
|
898
898
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
899
899
|
switch (errorCode) {
|
|
@@ -942,7 +942,7 @@ exports.deserializeAws_json1_1CreateRateBasedRuleCommand = deserializeAws_json1_
|
|
|
942
942
|
const deserializeAws_json1_1CreateRateBasedRuleCommandError = async (output, context) => {
|
|
943
943
|
const parsedOutput = {
|
|
944
944
|
...output,
|
|
945
|
-
body: await
|
|
945
|
+
body: await parseErrorBody(output.body, context),
|
|
946
946
|
};
|
|
947
947
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
948
948
|
switch (errorCode) {
|
|
@@ -997,7 +997,7 @@ exports.deserializeAws_json1_1CreateRegexMatchSetCommand = deserializeAws_json1_
|
|
|
997
997
|
const deserializeAws_json1_1CreateRegexMatchSetCommandError = async (output, context) => {
|
|
998
998
|
const parsedOutput = {
|
|
999
999
|
...output,
|
|
1000
|
-
body: await
|
|
1000
|
+
body: await parseErrorBody(output.body, context),
|
|
1001
1001
|
};
|
|
1002
1002
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1003
1003
|
switch (errorCode) {
|
|
@@ -1040,7 +1040,7 @@ exports.deserializeAws_json1_1CreateRegexPatternSetCommand = deserializeAws_json
|
|
|
1040
1040
|
const deserializeAws_json1_1CreateRegexPatternSetCommandError = async (output, context) => {
|
|
1041
1041
|
const parsedOutput = {
|
|
1042
1042
|
...output,
|
|
1043
|
-
body: await
|
|
1043
|
+
body: await parseErrorBody(output.body, context),
|
|
1044
1044
|
};
|
|
1045
1045
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1046
1046
|
switch (errorCode) {
|
|
@@ -1083,7 +1083,7 @@ exports.deserializeAws_json1_1CreateRuleCommand = deserializeAws_json1_1CreateRu
|
|
|
1083
1083
|
const deserializeAws_json1_1CreateRuleCommandError = async (output, context) => {
|
|
1084
1084
|
const parsedOutput = {
|
|
1085
1085
|
...output,
|
|
1086
|
-
body: await
|
|
1086
|
+
body: await parseErrorBody(output.body, context),
|
|
1087
1087
|
};
|
|
1088
1088
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1089
1089
|
switch (errorCode) {
|
|
@@ -1138,7 +1138,7 @@ exports.deserializeAws_json1_1CreateRuleGroupCommand = deserializeAws_json1_1Cre
|
|
|
1138
1138
|
const deserializeAws_json1_1CreateRuleGroupCommandError = async (output, context) => {
|
|
1139
1139
|
const parsedOutput = {
|
|
1140
1140
|
...output,
|
|
1141
|
-
body: await
|
|
1141
|
+
body: await parseErrorBody(output.body, context),
|
|
1142
1142
|
};
|
|
1143
1143
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1144
1144
|
switch (errorCode) {
|
|
@@ -1190,7 +1190,7 @@ exports.deserializeAws_json1_1CreateSizeConstraintSetCommand = deserializeAws_js
|
|
|
1190
1190
|
const deserializeAws_json1_1CreateSizeConstraintSetCommandError = async (output, context) => {
|
|
1191
1191
|
const parsedOutput = {
|
|
1192
1192
|
...output,
|
|
1193
|
-
body: await
|
|
1193
|
+
body: await parseErrorBody(output.body, context),
|
|
1194
1194
|
};
|
|
1195
1195
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1196
1196
|
switch (errorCode) {
|
|
@@ -1239,7 +1239,7 @@ exports.deserializeAws_json1_1CreateSqlInjectionMatchSetCommand = deserializeAws
|
|
|
1239
1239
|
const deserializeAws_json1_1CreateSqlInjectionMatchSetCommandError = async (output, context) => {
|
|
1240
1240
|
const parsedOutput = {
|
|
1241
1241
|
...output,
|
|
1242
|
-
body: await
|
|
1242
|
+
body: await parseErrorBody(output.body, context),
|
|
1243
1243
|
};
|
|
1244
1244
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1245
1245
|
switch (errorCode) {
|
|
@@ -1288,7 +1288,7 @@ exports.deserializeAws_json1_1CreateWebACLCommand = deserializeAws_json1_1Create
|
|
|
1288
1288
|
const deserializeAws_json1_1CreateWebACLCommandError = async (output, context) => {
|
|
1289
1289
|
const parsedOutput = {
|
|
1290
1290
|
...output,
|
|
1291
|
-
body: await
|
|
1291
|
+
body: await parseErrorBody(output.body, context),
|
|
1292
1292
|
};
|
|
1293
1293
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1294
1294
|
switch (errorCode) {
|
|
@@ -1346,7 +1346,7 @@ exports.deserializeAws_json1_1CreateWebACLMigrationStackCommand = deserializeAws
|
|
|
1346
1346
|
const deserializeAws_json1_1CreateWebACLMigrationStackCommandError = async (output, context) => {
|
|
1347
1347
|
const parsedOutput = {
|
|
1348
1348
|
...output,
|
|
1349
|
-
body: await
|
|
1349
|
+
body: await parseErrorBody(output.body, context),
|
|
1350
1350
|
};
|
|
1351
1351
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1352
1352
|
switch (errorCode) {
|
|
@@ -1392,7 +1392,7 @@ exports.deserializeAws_json1_1CreateXssMatchSetCommand = deserializeAws_json1_1C
|
|
|
1392
1392
|
const deserializeAws_json1_1CreateXssMatchSetCommandError = async (output, context) => {
|
|
1393
1393
|
const parsedOutput = {
|
|
1394
1394
|
...output,
|
|
1395
|
-
body: await
|
|
1395
|
+
body: await parseErrorBody(output.body, context),
|
|
1396
1396
|
};
|
|
1397
1397
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1398
1398
|
switch (errorCode) {
|
|
@@ -1441,7 +1441,7 @@ exports.deserializeAws_json1_1DeleteByteMatchSetCommand = deserializeAws_json1_1
|
|
|
1441
1441
|
const deserializeAws_json1_1DeleteByteMatchSetCommandError = async (output, context) => {
|
|
1442
1442
|
const parsedOutput = {
|
|
1443
1443
|
...output,
|
|
1444
|
-
body: await
|
|
1444
|
+
body: await parseErrorBody(output.body, context),
|
|
1445
1445
|
};
|
|
1446
1446
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1447
1447
|
switch (errorCode) {
|
|
@@ -1490,7 +1490,7 @@ exports.deserializeAws_json1_1DeleteGeoMatchSetCommand = deserializeAws_json1_1D
|
|
|
1490
1490
|
const deserializeAws_json1_1DeleteGeoMatchSetCommandError = async (output, context) => {
|
|
1491
1491
|
const parsedOutput = {
|
|
1492
1492
|
...output,
|
|
1493
|
-
body: await
|
|
1493
|
+
body: await parseErrorBody(output.body, context),
|
|
1494
1494
|
};
|
|
1495
1495
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1496
1496
|
switch (errorCode) {
|
|
@@ -1539,7 +1539,7 @@ exports.deserializeAws_json1_1DeleteIPSetCommand = deserializeAws_json1_1DeleteI
|
|
|
1539
1539
|
const deserializeAws_json1_1DeleteIPSetCommandError = async (output, context) => {
|
|
1540
1540
|
const parsedOutput = {
|
|
1541
1541
|
...output,
|
|
1542
|
-
body: await
|
|
1542
|
+
body: await parseErrorBody(output.body, context),
|
|
1543
1543
|
};
|
|
1544
1544
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1545
1545
|
switch (errorCode) {
|
|
@@ -1588,7 +1588,7 @@ exports.deserializeAws_json1_1DeleteLoggingConfigurationCommand = deserializeAws
|
|
|
1588
1588
|
const deserializeAws_json1_1DeleteLoggingConfigurationCommandError = async (output, context) => {
|
|
1589
1589
|
const parsedOutput = {
|
|
1590
1590
|
...output,
|
|
1591
|
-
body: await
|
|
1591
|
+
body: await parseErrorBody(output.body, context),
|
|
1592
1592
|
};
|
|
1593
1593
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1594
1594
|
switch (errorCode) {
|
|
@@ -1628,7 +1628,7 @@ exports.deserializeAws_json1_1DeletePermissionPolicyCommand = deserializeAws_jso
|
|
|
1628
1628
|
const deserializeAws_json1_1DeletePermissionPolicyCommandError = async (output, context) => {
|
|
1629
1629
|
const parsedOutput = {
|
|
1630
1630
|
...output,
|
|
1631
|
-
body: await
|
|
1631
|
+
body: await parseErrorBody(output.body, context),
|
|
1632
1632
|
};
|
|
1633
1633
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1634
1634
|
switch (errorCode) {
|
|
@@ -1668,7 +1668,7 @@ exports.deserializeAws_json1_1DeleteRateBasedRuleCommand = deserializeAws_json1_
|
|
|
1668
1668
|
const deserializeAws_json1_1DeleteRateBasedRuleCommandError = async (output, context) => {
|
|
1669
1669
|
const parsedOutput = {
|
|
1670
1670
|
...output,
|
|
1671
|
-
body: await
|
|
1671
|
+
body: await parseErrorBody(output.body, context),
|
|
1672
1672
|
};
|
|
1673
1673
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1674
1674
|
switch (errorCode) {
|
|
@@ -1723,7 +1723,7 @@ exports.deserializeAws_json1_1DeleteRegexMatchSetCommand = deserializeAws_json1_
|
|
|
1723
1723
|
const deserializeAws_json1_1DeleteRegexMatchSetCommandError = async (output, context) => {
|
|
1724
1724
|
const parsedOutput = {
|
|
1725
1725
|
...output,
|
|
1726
|
-
body: await
|
|
1726
|
+
body: await parseErrorBody(output.body, context),
|
|
1727
1727
|
};
|
|
1728
1728
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1729
1729
|
switch (errorCode) {
|
|
@@ -1772,7 +1772,7 @@ exports.deserializeAws_json1_1DeleteRegexPatternSetCommand = deserializeAws_json
|
|
|
1772
1772
|
const deserializeAws_json1_1DeleteRegexPatternSetCommandError = async (output, context) => {
|
|
1773
1773
|
const parsedOutput = {
|
|
1774
1774
|
...output,
|
|
1775
|
-
body: await
|
|
1775
|
+
body: await parseErrorBody(output.body, context),
|
|
1776
1776
|
};
|
|
1777
1777
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1778
1778
|
switch (errorCode) {
|
|
@@ -1821,7 +1821,7 @@ exports.deserializeAws_json1_1DeleteRuleCommand = deserializeAws_json1_1DeleteRu
|
|
|
1821
1821
|
const deserializeAws_json1_1DeleteRuleCommandError = async (output, context) => {
|
|
1822
1822
|
const parsedOutput = {
|
|
1823
1823
|
...output,
|
|
1824
|
-
body: await
|
|
1824
|
+
body: await parseErrorBody(output.body, context),
|
|
1825
1825
|
};
|
|
1826
1826
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1827
1827
|
switch (errorCode) {
|
|
@@ -1876,7 +1876,7 @@ exports.deserializeAws_json1_1DeleteRuleGroupCommand = deserializeAws_json1_1Del
|
|
|
1876
1876
|
const deserializeAws_json1_1DeleteRuleGroupCommandError = async (output, context) => {
|
|
1877
1877
|
const parsedOutput = {
|
|
1878
1878
|
...output,
|
|
1879
|
-
body: await
|
|
1879
|
+
body: await parseErrorBody(output.body, context),
|
|
1880
1880
|
};
|
|
1881
1881
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1882
1882
|
switch (errorCode) {
|
|
@@ -1931,7 +1931,7 @@ exports.deserializeAws_json1_1DeleteSizeConstraintSetCommand = deserializeAws_js
|
|
|
1931
1931
|
const deserializeAws_json1_1DeleteSizeConstraintSetCommandError = async (output, context) => {
|
|
1932
1932
|
const parsedOutput = {
|
|
1933
1933
|
...output,
|
|
1934
|
-
body: await
|
|
1934
|
+
body: await parseErrorBody(output.body, context),
|
|
1935
1935
|
};
|
|
1936
1936
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1937
1937
|
switch (errorCode) {
|
|
@@ -1980,7 +1980,7 @@ exports.deserializeAws_json1_1DeleteSqlInjectionMatchSetCommand = deserializeAws
|
|
|
1980
1980
|
const deserializeAws_json1_1DeleteSqlInjectionMatchSetCommandError = async (output, context) => {
|
|
1981
1981
|
const parsedOutput = {
|
|
1982
1982
|
...output,
|
|
1983
|
-
body: await
|
|
1983
|
+
body: await parseErrorBody(output.body, context),
|
|
1984
1984
|
};
|
|
1985
1985
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1986
1986
|
switch (errorCode) {
|
|
@@ -2029,7 +2029,7 @@ exports.deserializeAws_json1_1DeleteWebACLCommand = deserializeAws_json1_1Delete
|
|
|
2029
2029
|
const deserializeAws_json1_1DeleteWebACLCommandError = async (output, context) => {
|
|
2030
2030
|
const parsedOutput = {
|
|
2031
2031
|
...output,
|
|
2032
|
-
body: await
|
|
2032
|
+
body: await parseErrorBody(output.body, context),
|
|
2033
2033
|
};
|
|
2034
2034
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2035
2035
|
switch (errorCode) {
|
|
@@ -2084,7 +2084,7 @@ exports.deserializeAws_json1_1DeleteXssMatchSetCommand = deserializeAws_json1_1D
|
|
|
2084
2084
|
const deserializeAws_json1_1DeleteXssMatchSetCommandError = async (output, context) => {
|
|
2085
2085
|
const parsedOutput = {
|
|
2086
2086
|
...output,
|
|
2087
|
-
body: await
|
|
2087
|
+
body: await parseErrorBody(output.body, context),
|
|
2088
2088
|
};
|
|
2089
2089
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2090
2090
|
switch (errorCode) {
|
|
@@ -2133,7 +2133,7 @@ exports.deserializeAws_json1_1GetByteMatchSetCommand = deserializeAws_json1_1Get
|
|
|
2133
2133
|
const deserializeAws_json1_1GetByteMatchSetCommandError = async (output, context) => {
|
|
2134
2134
|
const parsedOutput = {
|
|
2135
2135
|
...output,
|
|
2136
|
-
body: await
|
|
2136
|
+
body: await parseErrorBody(output.body, context),
|
|
2137
2137
|
};
|
|
2138
2138
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2139
2139
|
switch (errorCode) {
|
|
@@ -2173,7 +2173,7 @@ exports.deserializeAws_json1_1GetChangeTokenCommand = deserializeAws_json1_1GetC
|
|
|
2173
2173
|
const deserializeAws_json1_1GetChangeTokenCommandError = async (output, context) => {
|
|
2174
2174
|
const parsedOutput = {
|
|
2175
2175
|
...output,
|
|
2176
|
-
body: await
|
|
2176
|
+
body: await parseErrorBody(output.body, context),
|
|
2177
2177
|
};
|
|
2178
2178
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2179
2179
|
switch (errorCode) {
|
|
@@ -2207,7 +2207,7 @@ exports.deserializeAws_json1_1GetChangeTokenStatusCommand = deserializeAws_json1
|
|
|
2207
2207
|
const deserializeAws_json1_1GetChangeTokenStatusCommandError = async (output, context) => {
|
|
2208
2208
|
const parsedOutput = {
|
|
2209
2209
|
...output,
|
|
2210
|
-
body: await
|
|
2210
|
+
body: await parseErrorBody(output.body, context),
|
|
2211
2211
|
};
|
|
2212
2212
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2213
2213
|
switch (errorCode) {
|
|
@@ -2244,7 +2244,7 @@ exports.deserializeAws_json1_1GetGeoMatchSetCommand = deserializeAws_json1_1GetG
|
|
|
2244
2244
|
const deserializeAws_json1_1GetGeoMatchSetCommandError = async (output, context) => {
|
|
2245
2245
|
const parsedOutput = {
|
|
2246
2246
|
...output,
|
|
2247
|
-
body: await
|
|
2247
|
+
body: await parseErrorBody(output.body, context),
|
|
2248
2248
|
};
|
|
2249
2249
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2250
2250
|
switch (errorCode) {
|
|
@@ -2284,7 +2284,7 @@ exports.deserializeAws_json1_1GetIPSetCommand = deserializeAws_json1_1GetIPSetCo
|
|
|
2284
2284
|
const deserializeAws_json1_1GetIPSetCommandError = async (output, context) => {
|
|
2285
2285
|
const parsedOutput = {
|
|
2286
2286
|
...output,
|
|
2287
|
-
body: await
|
|
2287
|
+
body: await parseErrorBody(output.body, context),
|
|
2288
2288
|
};
|
|
2289
2289
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2290
2290
|
switch (errorCode) {
|
|
@@ -2324,7 +2324,7 @@ exports.deserializeAws_json1_1GetLoggingConfigurationCommand = deserializeAws_js
|
|
|
2324
2324
|
const deserializeAws_json1_1GetLoggingConfigurationCommandError = async (output, context) => {
|
|
2325
2325
|
const parsedOutput = {
|
|
2326
2326
|
...output,
|
|
2327
|
-
body: await
|
|
2327
|
+
body: await parseErrorBody(output.body, context),
|
|
2328
2328
|
};
|
|
2329
2329
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2330
2330
|
switch (errorCode) {
|
|
@@ -2361,7 +2361,7 @@ exports.deserializeAws_json1_1GetPermissionPolicyCommand = deserializeAws_json1_
|
|
|
2361
2361
|
const deserializeAws_json1_1GetPermissionPolicyCommandError = async (output, context) => {
|
|
2362
2362
|
const parsedOutput = {
|
|
2363
2363
|
...output,
|
|
2364
|
-
body: await
|
|
2364
|
+
body: await parseErrorBody(output.body, context),
|
|
2365
2365
|
};
|
|
2366
2366
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2367
2367
|
switch (errorCode) {
|
|
@@ -2398,7 +2398,7 @@ exports.deserializeAws_json1_1GetRateBasedRuleCommand = deserializeAws_json1_1Ge
|
|
|
2398
2398
|
const deserializeAws_json1_1GetRateBasedRuleCommandError = async (output, context) => {
|
|
2399
2399
|
const parsedOutput = {
|
|
2400
2400
|
...output,
|
|
2401
|
-
body: await
|
|
2401
|
+
body: await parseErrorBody(output.body, context),
|
|
2402
2402
|
};
|
|
2403
2403
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2404
2404
|
switch (errorCode) {
|
|
@@ -2438,7 +2438,7 @@ exports.deserializeAws_json1_1GetRateBasedRuleManagedKeysCommand = deserializeAw
|
|
|
2438
2438
|
const deserializeAws_json1_1GetRateBasedRuleManagedKeysCommandError = async (output, context) => {
|
|
2439
2439
|
const parsedOutput = {
|
|
2440
2440
|
...output,
|
|
2441
|
-
body: await
|
|
2441
|
+
body: await parseErrorBody(output.body, context),
|
|
2442
2442
|
};
|
|
2443
2443
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2444
2444
|
switch (errorCode) {
|
|
@@ -2481,7 +2481,7 @@ exports.deserializeAws_json1_1GetRegexMatchSetCommand = deserializeAws_json1_1Ge
|
|
|
2481
2481
|
const deserializeAws_json1_1GetRegexMatchSetCommandError = async (output, context) => {
|
|
2482
2482
|
const parsedOutput = {
|
|
2483
2483
|
...output,
|
|
2484
|
-
body: await
|
|
2484
|
+
body: await parseErrorBody(output.body, context),
|
|
2485
2485
|
};
|
|
2486
2486
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2487
2487
|
switch (errorCode) {
|
|
@@ -2521,7 +2521,7 @@ exports.deserializeAws_json1_1GetRegexPatternSetCommand = deserializeAws_json1_1
|
|
|
2521
2521
|
const deserializeAws_json1_1GetRegexPatternSetCommandError = async (output, context) => {
|
|
2522
2522
|
const parsedOutput = {
|
|
2523
2523
|
...output,
|
|
2524
|
-
body: await
|
|
2524
|
+
body: await parseErrorBody(output.body, context),
|
|
2525
2525
|
};
|
|
2526
2526
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2527
2527
|
switch (errorCode) {
|
|
@@ -2561,7 +2561,7 @@ exports.deserializeAws_json1_1GetRuleCommand = deserializeAws_json1_1GetRuleComm
|
|
|
2561
2561
|
const deserializeAws_json1_1GetRuleCommandError = async (output, context) => {
|
|
2562
2562
|
const parsedOutput = {
|
|
2563
2563
|
...output,
|
|
2564
|
-
body: await
|
|
2564
|
+
body: await parseErrorBody(output.body, context),
|
|
2565
2565
|
};
|
|
2566
2566
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2567
2567
|
switch (errorCode) {
|
|
@@ -2601,7 +2601,7 @@ exports.deserializeAws_json1_1GetRuleGroupCommand = deserializeAws_json1_1GetRul
|
|
|
2601
2601
|
const deserializeAws_json1_1GetRuleGroupCommandError = async (output, context) => {
|
|
2602
2602
|
const parsedOutput = {
|
|
2603
2603
|
...output,
|
|
2604
|
-
body: await
|
|
2604
|
+
body: await parseErrorBody(output.body, context),
|
|
2605
2605
|
};
|
|
2606
2606
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2607
2607
|
switch (errorCode) {
|
|
@@ -2638,7 +2638,7 @@ exports.deserializeAws_json1_1GetSampledRequestsCommand = deserializeAws_json1_1
|
|
|
2638
2638
|
const deserializeAws_json1_1GetSampledRequestsCommandError = async (output, context) => {
|
|
2639
2639
|
const parsedOutput = {
|
|
2640
2640
|
...output,
|
|
2641
|
-
body: await
|
|
2641
|
+
body: await parseErrorBody(output.body, context),
|
|
2642
2642
|
};
|
|
2643
2643
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2644
2644
|
switch (errorCode) {
|
|
@@ -2675,7 +2675,7 @@ exports.deserializeAws_json1_1GetSizeConstraintSetCommand = deserializeAws_json1
|
|
|
2675
2675
|
const deserializeAws_json1_1GetSizeConstraintSetCommandError = async (output, context) => {
|
|
2676
2676
|
const parsedOutput = {
|
|
2677
2677
|
...output,
|
|
2678
|
-
body: await
|
|
2678
|
+
body: await parseErrorBody(output.body, context),
|
|
2679
2679
|
};
|
|
2680
2680
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2681
2681
|
switch (errorCode) {
|
|
@@ -2715,7 +2715,7 @@ exports.deserializeAws_json1_1GetSqlInjectionMatchSetCommand = deserializeAws_js
|
|
|
2715
2715
|
const deserializeAws_json1_1GetSqlInjectionMatchSetCommandError = async (output, context) => {
|
|
2716
2716
|
const parsedOutput = {
|
|
2717
2717
|
...output,
|
|
2718
|
-
body: await
|
|
2718
|
+
body: await parseErrorBody(output.body, context),
|
|
2719
2719
|
};
|
|
2720
2720
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2721
2721
|
switch (errorCode) {
|
|
@@ -2755,7 +2755,7 @@ exports.deserializeAws_json1_1GetWebACLCommand = deserializeAws_json1_1GetWebACL
|
|
|
2755
2755
|
const deserializeAws_json1_1GetWebACLCommandError = async (output, context) => {
|
|
2756
2756
|
const parsedOutput = {
|
|
2757
2757
|
...output,
|
|
2758
|
-
body: await
|
|
2758
|
+
body: await parseErrorBody(output.body, context),
|
|
2759
2759
|
};
|
|
2760
2760
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2761
2761
|
switch (errorCode) {
|
|
@@ -2795,7 +2795,7 @@ exports.deserializeAws_json1_1GetXssMatchSetCommand = deserializeAws_json1_1GetX
|
|
|
2795
2795
|
const deserializeAws_json1_1GetXssMatchSetCommandError = async (output, context) => {
|
|
2796
2796
|
const parsedOutput = {
|
|
2797
2797
|
...output,
|
|
2798
|
-
body: await
|
|
2798
|
+
body: await parseErrorBody(output.body, context),
|
|
2799
2799
|
};
|
|
2800
2800
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2801
2801
|
switch (errorCode) {
|
|
@@ -2835,7 +2835,7 @@ exports.deserializeAws_json1_1ListActivatedRulesInRuleGroupCommand = deserialize
|
|
|
2835
2835
|
const deserializeAws_json1_1ListActivatedRulesInRuleGroupCommandError = async (output, context) => {
|
|
2836
2836
|
const parsedOutput = {
|
|
2837
2837
|
...output,
|
|
2838
|
-
body: await
|
|
2838
|
+
body: await parseErrorBody(output.body, context),
|
|
2839
2839
|
};
|
|
2840
2840
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2841
2841
|
switch (errorCode) {
|
|
@@ -2875,7 +2875,7 @@ exports.deserializeAws_json1_1ListByteMatchSetsCommand = deserializeAws_json1_1L
|
|
|
2875
2875
|
const deserializeAws_json1_1ListByteMatchSetsCommandError = async (output, context) => {
|
|
2876
2876
|
const parsedOutput = {
|
|
2877
2877
|
...output,
|
|
2878
|
-
body: await
|
|
2878
|
+
body: await parseErrorBody(output.body, context),
|
|
2879
2879
|
};
|
|
2880
2880
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2881
2881
|
switch (errorCode) {
|
|
@@ -2912,7 +2912,7 @@ exports.deserializeAws_json1_1ListGeoMatchSetsCommand = deserializeAws_json1_1Li
|
|
|
2912
2912
|
const deserializeAws_json1_1ListGeoMatchSetsCommandError = async (output, context) => {
|
|
2913
2913
|
const parsedOutput = {
|
|
2914
2914
|
...output,
|
|
2915
|
-
body: await
|
|
2915
|
+
body: await parseErrorBody(output.body, context),
|
|
2916
2916
|
};
|
|
2917
2917
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2918
2918
|
switch (errorCode) {
|
|
@@ -2949,7 +2949,7 @@ exports.deserializeAws_json1_1ListIPSetsCommand = deserializeAws_json1_1ListIPSe
|
|
|
2949
2949
|
const deserializeAws_json1_1ListIPSetsCommandError = async (output, context) => {
|
|
2950
2950
|
const parsedOutput = {
|
|
2951
2951
|
...output,
|
|
2952
|
-
body: await
|
|
2952
|
+
body: await parseErrorBody(output.body, context),
|
|
2953
2953
|
};
|
|
2954
2954
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2955
2955
|
switch (errorCode) {
|
|
@@ -2986,7 +2986,7 @@ exports.deserializeAws_json1_1ListLoggingConfigurationsCommand = deserializeAws_
|
|
|
2986
2986
|
const deserializeAws_json1_1ListLoggingConfigurationsCommandError = async (output, context) => {
|
|
2987
2987
|
const parsedOutput = {
|
|
2988
2988
|
...output,
|
|
2989
|
-
body: await
|
|
2989
|
+
body: await parseErrorBody(output.body, context),
|
|
2990
2990
|
};
|
|
2991
2991
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2992
2992
|
switch (errorCode) {
|
|
@@ -3026,7 +3026,7 @@ exports.deserializeAws_json1_1ListRateBasedRulesCommand = deserializeAws_json1_1
|
|
|
3026
3026
|
const deserializeAws_json1_1ListRateBasedRulesCommandError = async (output, context) => {
|
|
3027
3027
|
const parsedOutput = {
|
|
3028
3028
|
...output,
|
|
3029
|
-
body: await
|
|
3029
|
+
body: await parseErrorBody(output.body, context),
|
|
3030
3030
|
};
|
|
3031
3031
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3032
3032
|
switch (errorCode) {
|
|
@@ -3063,7 +3063,7 @@ exports.deserializeAws_json1_1ListRegexMatchSetsCommand = deserializeAws_json1_1
|
|
|
3063
3063
|
const deserializeAws_json1_1ListRegexMatchSetsCommandError = async (output, context) => {
|
|
3064
3064
|
const parsedOutput = {
|
|
3065
3065
|
...output,
|
|
3066
|
-
body: await
|
|
3066
|
+
body: await parseErrorBody(output.body, context),
|
|
3067
3067
|
};
|
|
3068
3068
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3069
3069
|
switch (errorCode) {
|
|
@@ -3100,7 +3100,7 @@ exports.deserializeAws_json1_1ListRegexPatternSetsCommand = deserializeAws_json1
|
|
|
3100
3100
|
const deserializeAws_json1_1ListRegexPatternSetsCommandError = async (output, context) => {
|
|
3101
3101
|
const parsedOutput = {
|
|
3102
3102
|
...output,
|
|
3103
|
-
body: await
|
|
3103
|
+
body: await parseErrorBody(output.body, context),
|
|
3104
3104
|
};
|
|
3105
3105
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3106
3106
|
switch (errorCode) {
|
|
@@ -3137,7 +3137,7 @@ exports.deserializeAws_json1_1ListRuleGroupsCommand = deserializeAws_json1_1List
|
|
|
3137
3137
|
const deserializeAws_json1_1ListRuleGroupsCommandError = async (output, context) => {
|
|
3138
3138
|
const parsedOutput = {
|
|
3139
3139
|
...output,
|
|
3140
|
-
body: await
|
|
3140
|
+
body: await parseErrorBody(output.body, context),
|
|
3141
3141
|
};
|
|
3142
3142
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3143
3143
|
switch (errorCode) {
|
|
@@ -3171,7 +3171,7 @@ exports.deserializeAws_json1_1ListRulesCommand = deserializeAws_json1_1ListRules
|
|
|
3171
3171
|
const deserializeAws_json1_1ListRulesCommandError = async (output, context) => {
|
|
3172
3172
|
const parsedOutput = {
|
|
3173
3173
|
...output,
|
|
3174
|
-
body: await
|
|
3174
|
+
body: await parseErrorBody(output.body, context),
|
|
3175
3175
|
};
|
|
3176
3176
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3177
3177
|
switch (errorCode) {
|
|
@@ -3208,7 +3208,7 @@ exports.deserializeAws_json1_1ListSizeConstraintSetsCommand = deserializeAws_jso
|
|
|
3208
3208
|
const deserializeAws_json1_1ListSizeConstraintSetsCommandError = async (output, context) => {
|
|
3209
3209
|
const parsedOutput = {
|
|
3210
3210
|
...output,
|
|
3211
|
-
body: await
|
|
3211
|
+
body: await parseErrorBody(output.body, context),
|
|
3212
3212
|
};
|
|
3213
3213
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3214
3214
|
switch (errorCode) {
|
|
@@ -3245,7 +3245,7 @@ exports.deserializeAws_json1_1ListSqlInjectionMatchSetsCommand = deserializeAws_
|
|
|
3245
3245
|
const deserializeAws_json1_1ListSqlInjectionMatchSetsCommandError = async (output, context) => {
|
|
3246
3246
|
const parsedOutput = {
|
|
3247
3247
|
...output,
|
|
3248
|
-
body: await
|
|
3248
|
+
body: await parseErrorBody(output.body, context),
|
|
3249
3249
|
};
|
|
3250
3250
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3251
3251
|
switch (errorCode) {
|
|
@@ -3282,7 +3282,7 @@ exports.deserializeAws_json1_1ListSubscribedRuleGroupsCommand = deserializeAws_j
|
|
|
3282
3282
|
const deserializeAws_json1_1ListSubscribedRuleGroupsCommandError = async (output, context) => {
|
|
3283
3283
|
const parsedOutput = {
|
|
3284
3284
|
...output,
|
|
3285
|
-
body: await
|
|
3285
|
+
body: await parseErrorBody(output.body, context),
|
|
3286
3286
|
};
|
|
3287
3287
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3288
3288
|
switch (errorCode) {
|
|
@@ -3319,7 +3319,7 @@ exports.deserializeAws_json1_1ListTagsForResourceCommand = deserializeAws_json1_
|
|
|
3319
3319
|
const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, context) => {
|
|
3320
3320
|
const parsedOutput = {
|
|
3321
3321
|
...output,
|
|
3322
|
-
body: await
|
|
3322
|
+
body: await parseErrorBody(output.body, context),
|
|
3323
3323
|
};
|
|
3324
3324
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3325
3325
|
switch (errorCode) {
|
|
@@ -3368,7 +3368,7 @@ exports.deserializeAws_json1_1ListWebACLsCommand = deserializeAws_json1_1ListWeb
|
|
|
3368
3368
|
const deserializeAws_json1_1ListWebACLsCommandError = async (output, context) => {
|
|
3369
3369
|
const parsedOutput = {
|
|
3370
3370
|
...output,
|
|
3371
|
-
body: await
|
|
3371
|
+
body: await parseErrorBody(output.body, context),
|
|
3372
3372
|
};
|
|
3373
3373
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3374
3374
|
switch (errorCode) {
|
|
@@ -3405,7 +3405,7 @@ exports.deserializeAws_json1_1ListXssMatchSetsCommand = deserializeAws_json1_1Li
|
|
|
3405
3405
|
const deserializeAws_json1_1ListXssMatchSetsCommandError = async (output, context) => {
|
|
3406
3406
|
const parsedOutput = {
|
|
3407
3407
|
...output,
|
|
3408
|
-
body: await
|
|
3408
|
+
body: await parseErrorBody(output.body, context),
|
|
3409
3409
|
};
|
|
3410
3410
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3411
3411
|
switch (errorCode) {
|
|
@@ -3442,7 +3442,7 @@ exports.deserializeAws_json1_1PutLoggingConfigurationCommand = deserializeAws_js
|
|
|
3442
3442
|
const deserializeAws_json1_1PutLoggingConfigurationCommandError = async (output, context) => {
|
|
3443
3443
|
const parsedOutput = {
|
|
3444
3444
|
...output,
|
|
3445
|
-
body: await
|
|
3445
|
+
body: await parseErrorBody(output.body, context),
|
|
3446
3446
|
};
|
|
3447
3447
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3448
3448
|
switch (errorCode) {
|
|
@@ -3485,7 +3485,7 @@ exports.deserializeAws_json1_1PutPermissionPolicyCommand = deserializeAws_json1_
|
|
|
3485
3485
|
const deserializeAws_json1_1PutPermissionPolicyCommandError = async (output, context) => {
|
|
3486
3486
|
const parsedOutput = {
|
|
3487
3487
|
...output,
|
|
3488
|
-
body: await
|
|
3488
|
+
body: await parseErrorBody(output.body, context),
|
|
3489
3489
|
};
|
|
3490
3490
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3491
3491
|
switch (errorCode) {
|
|
@@ -3528,7 +3528,7 @@ exports.deserializeAws_json1_1TagResourceCommand = deserializeAws_json1_1TagReso
|
|
|
3528
3528
|
const deserializeAws_json1_1TagResourceCommandError = async (output, context) => {
|
|
3529
3529
|
const parsedOutput = {
|
|
3530
3530
|
...output,
|
|
3531
|
-
body: await
|
|
3531
|
+
body: await parseErrorBody(output.body, context),
|
|
3532
3532
|
};
|
|
3533
3533
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3534
3534
|
switch (errorCode) {
|
|
@@ -3580,7 +3580,7 @@ exports.deserializeAws_json1_1UntagResourceCommand = deserializeAws_json1_1Untag
|
|
|
3580
3580
|
const deserializeAws_json1_1UntagResourceCommandError = async (output, context) => {
|
|
3581
3581
|
const parsedOutput = {
|
|
3582
3582
|
...output,
|
|
3583
|
-
body: await
|
|
3583
|
+
body: await parseErrorBody(output.body, context),
|
|
3584
3584
|
};
|
|
3585
3585
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3586
3586
|
switch (errorCode) {
|
|
@@ -3629,7 +3629,7 @@ exports.deserializeAws_json1_1UpdateByteMatchSetCommand = deserializeAws_json1_1
|
|
|
3629
3629
|
const deserializeAws_json1_1UpdateByteMatchSetCommandError = async (output, context) => {
|
|
3630
3630
|
const parsedOutput = {
|
|
3631
3631
|
...output,
|
|
3632
|
-
body: await
|
|
3632
|
+
body: await parseErrorBody(output.body, context),
|
|
3633
3633
|
};
|
|
3634
3634
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3635
3635
|
switch (errorCode) {
|
|
@@ -3684,7 +3684,7 @@ exports.deserializeAws_json1_1UpdateGeoMatchSetCommand = deserializeAws_json1_1U
|
|
|
3684
3684
|
const deserializeAws_json1_1UpdateGeoMatchSetCommandError = 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) {
|
|
@@ -3742,7 +3742,7 @@ exports.deserializeAws_json1_1UpdateIPSetCommand = deserializeAws_json1_1UpdateI
|
|
|
3742
3742
|
const deserializeAws_json1_1UpdateIPSetCommandError = async (output, context) => {
|
|
3743
3743
|
const parsedOutput = {
|
|
3744
3744
|
...output,
|
|
3745
|
-
body: await
|
|
3745
|
+
body: await parseErrorBody(output.body, context),
|
|
3746
3746
|
};
|
|
3747
3747
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3748
3748
|
switch (errorCode) {
|
|
@@ -3800,7 +3800,7 @@ exports.deserializeAws_json1_1UpdateRateBasedRuleCommand = deserializeAws_json1_
|
|
|
3800
3800
|
const deserializeAws_json1_1UpdateRateBasedRuleCommandError = async (output, context) => {
|
|
3801
3801
|
const parsedOutput = {
|
|
3802
3802
|
...output,
|
|
3803
|
-
body: await
|
|
3803
|
+
body: await parseErrorBody(output.body, context),
|
|
3804
3804
|
};
|
|
3805
3805
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3806
3806
|
switch (errorCode) {
|
|
@@ -3858,7 +3858,7 @@ exports.deserializeAws_json1_1UpdateRegexMatchSetCommand = deserializeAws_json1_
|
|
|
3858
3858
|
const deserializeAws_json1_1UpdateRegexMatchSetCommandError = async (output, context) => {
|
|
3859
3859
|
const parsedOutput = {
|
|
3860
3860
|
...output,
|
|
3861
|
-
body: await
|
|
3861
|
+
body: await parseErrorBody(output.body, context),
|
|
3862
3862
|
};
|
|
3863
3863
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3864
3864
|
switch (errorCode) {
|
|
@@ -3913,7 +3913,7 @@ exports.deserializeAws_json1_1UpdateRegexPatternSetCommand = deserializeAws_json
|
|
|
3913
3913
|
const deserializeAws_json1_1UpdateRegexPatternSetCommandError = async (output, context) => {
|
|
3914
3914
|
const parsedOutput = {
|
|
3915
3915
|
...output,
|
|
3916
|
-
body: await
|
|
3916
|
+
body: await parseErrorBody(output.body, context),
|
|
3917
3917
|
};
|
|
3918
3918
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3919
3919
|
switch (errorCode) {
|
|
@@ -3968,7 +3968,7 @@ exports.deserializeAws_json1_1UpdateRuleCommand = deserializeAws_json1_1UpdateRu
|
|
|
3968
3968
|
const deserializeAws_json1_1UpdateRuleCommandError = async (output, context) => {
|
|
3969
3969
|
const parsedOutput = {
|
|
3970
3970
|
...output,
|
|
3971
|
-
body: await
|
|
3971
|
+
body: await parseErrorBody(output.body, context),
|
|
3972
3972
|
};
|
|
3973
3973
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3974
3974
|
switch (errorCode) {
|
|
@@ -4026,7 +4026,7 @@ exports.deserializeAws_json1_1UpdateRuleGroupCommand = deserializeAws_json1_1Upd
|
|
|
4026
4026
|
const deserializeAws_json1_1UpdateRuleGroupCommandError = async (output, context) => {
|
|
4027
4027
|
const parsedOutput = {
|
|
4028
4028
|
...output,
|
|
4029
|
-
body: await
|
|
4029
|
+
body: await parseErrorBody(output.body, context),
|
|
4030
4030
|
};
|
|
4031
4031
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4032
4032
|
switch (errorCode) {
|
|
@@ -4078,7 +4078,7 @@ exports.deserializeAws_json1_1UpdateSizeConstraintSetCommand = deserializeAws_js
|
|
|
4078
4078
|
const deserializeAws_json1_1UpdateSizeConstraintSetCommandError = async (output, context) => {
|
|
4079
4079
|
const parsedOutput = {
|
|
4080
4080
|
...output,
|
|
4081
|
-
body: await
|
|
4081
|
+
body: await parseErrorBody(output.body, context),
|
|
4082
4082
|
};
|
|
4083
4083
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4084
4084
|
switch (errorCode) {
|
|
@@ -4136,7 +4136,7 @@ exports.deserializeAws_json1_1UpdateSqlInjectionMatchSetCommand = deserializeAws
|
|
|
4136
4136
|
const deserializeAws_json1_1UpdateSqlInjectionMatchSetCommandError = async (output, context) => {
|
|
4137
4137
|
const parsedOutput = {
|
|
4138
4138
|
...output,
|
|
4139
|
-
body: await
|
|
4139
|
+
body: await parseErrorBody(output.body, context),
|
|
4140
4140
|
};
|
|
4141
4141
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4142
4142
|
switch (errorCode) {
|
|
@@ -4191,7 +4191,7 @@ exports.deserializeAws_json1_1UpdateWebACLCommand = deserializeAws_json1_1Update
|
|
|
4191
4191
|
const deserializeAws_json1_1UpdateWebACLCommandError = async (output, context) => {
|
|
4192
4192
|
const parsedOutput = {
|
|
4193
4193
|
...output,
|
|
4194
|
-
body: await
|
|
4194
|
+
body: await parseErrorBody(output.body, context),
|
|
4195
4195
|
};
|
|
4196
4196
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4197
4197
|
switch (errorCode) {
|
|
@@ -4252,7 +4252,7 @@ exports.deserializeAws_json1_1UpdateXssMatchSetCommand = deserializeAws_json1_1U
|
|
|
4252
4252
|
const deserializeAws_json1_1UpdateXssMatchSetCommandError = async (output, context) => {
|
|
4253
4253
|
const parsedOutput = {
|
|
4254
4254
|
...output,
|
|
4255
|
-
body: await
|
|
4255
|
+
body: await parseErrorBody(output.body, context),
|
|
4256
4256
|
};
|
|
4257
4257
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4258
4258
|
switch (errorCode) {
|
|
@@ -6470,6 +6470,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
6470
6470
|
}
|
|
6471
6471
|
return {};
|
|
6472
6472
|
});
|
|
6473
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
6474
|
+
var _a;
|
|
6475
|
+
const value = await parseBody(errorBody, context);
|
|
6476
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
6477
|
+
return value;
|
|
6478
|
+
};
|
|
6473
6479
|
const loadRestJsonErrorCode = (output, data) => {
|
|
6474
6480
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
6475
6481
|
const sanitizeErrorCode = (rawValue) => {
|