@aws-sdk/client-waf 3.54.0 → 3.56.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.
Files changed (88) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/WAFClient.js +13 -13
  3. package/dist-cjs/commands/CreateByteMatchSetCommand.js +3 -3
  4. package/dist-cjs/commands/CreateGeoMatchSetCommand.js +3 -3
  5. package/dist-cjs/commands/CreateIPSetCommand.js +3 -3
  6. package/dist-cjs/commands/CreateRateBasedRuleCommand.js +3 -3
  7. package/dist-cjs/commands/CreateRegexMatchSetCommand.js +3 -3
  8. package/dist-cjs/commands/CreateRegexPatternSetCommand.js +3 -3
  9. package/dist-cjs/commands/CreateRuleCommand.js +3 -3
  10. package/dist-cjs/commands/CreateRuleGroupCommand.js +3 -3
  11. package/dist-cjs/commands/CreateSizeConstraintSetCommand.js +3 -3
  12. package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js +3 -3
  13. package/dist-cjs/commands/CreateWebACLCommand.js +3 -3
  14. package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js +3 -3
  15. package/dist-cjs/commands/CreateXssMatchSetCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteByteMatchSetCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteGeoMatchSetCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteIPSetCommand.js +3 -3
  19. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +3 -3
  20. package/dist-cjs/commands/DeletePermissionPolicyCommand.js +3 -3
  21. package/dist-cjs/commands/DeleteRateBasedRuleCommand.js +3 -3
  22. package/dist-cjs/commands/DeleteRegexMatchSetCommand.js +3 -3
  23. package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +3 -3
  24. package/dist-cjs/commands/DeleteRuleCommand.js +3 -3
  25. package/dist-cjs/commands/DeleteRuleGroupCommand.js +3 -3
  26. package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js +3 -3
  27. package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js +3 -3
  28. package/dist-cjs/commands/DeleteWebACLCommand.js +3 -3
  29. package/dist-cjs/commands/DeleteXssMatchSetCommand.js +3 -3
  30. package/dist-cjs/commands/GetByteMatchSetCommand.js +3 -3
  31. package/dist-cjs/commands/GetChangeTokenCommand.js +3 -3
  32. package/dist-cjs/commands/GetChangeTokenStatusCommand.js +3 -3
  33. package/dist-cjs/commands/GetGeoMatchSetCommand.js +3 -3
  34. package/dist-cjs/commands/GetIPSetCommand.js +3 -3
  35. package/dist-cjs/commands/GetLoggingConfigurationCommand.js +3 -3
  36. package/dist-cjs/commands/GetPermissionPolicyCommand.js +3 -3
  37. package/dist-cjs/commands/GetRateBasedRuleCommand.js +3 -3
  38. package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js +3 -3
  39. package/dist-cjs/commands/GetRegexMatchSetCommand.js +3 -3
  40. package/dist-cjs/commands/GetRegexPatternSetCommand.js +3 -3
  41. package/dist-cjs/commands/GetRuleCommand.js +3 -3
  42. package/dist-cjs/commands/GetRuleGroupCommand.js +3 -3
  43. package/dist-cjs/commands/GetSampledRequestsCommand.js +3 -3
  44. package/dist-cjs/commands/GetSizeConstraintSetCommand.js +3 -3
  45. package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js +3 -3
  46. package/dist-cjs/commands/GetWebACLCommand.js +3 -3
  47. package/dist-cjs/commands/GetXssMatchSetCommand.js +3 -3
  48. package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js +3 -3
  49. package/dist-cjs/commands/ListByteMatchSetsCommand.js +3 -3
  50. package/dist-cjs/commands/ListGeoMatchSetsCommand.js +3 -3
  51. package/dist-cjs/commands/ListIPSetsCommand.js +3 -3
  52. package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +3 -3
  53. package/dist-cjs/commands/ListRateBasedRulesCommand.js +3 -3
  54. package/dist-cjs/commands/ListRegexMatchSetsCommand.js +3 -3
  55. package/dist-cjs/commands/ListRegexPatternSetsCommand.js +3 -3
  56. package/dist-cjs/commands/ListRuleGroupsCommand.js +3 -3
  57. package/dist-cjs/commands/ListRulesCommand.js +3 -3
  58. package/dist-cjs/commands/ListSizeConstraintSetsCommand.js +3 -3
  59. package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js +3 -3
  60. package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js +3 -3
  61. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  62. package/dist-cjs/commands/ListWebACLsCommand.js +3 -3
  63. package/dist-cjs/commands/ListXssMatchSetsCommand.js +3 -3
  64. package/dist-cjs/commands/PutLoggingConfigurationCommand.js +3 -3
  65. package/dist-cjs/commands/PutPermissionPolicyCommand.js +3 -3
  66. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  67. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  68. package/dist-cjs/commands/UpdateByteMatchSetCommand.js +3 -3
  69. package/dist-cjs/commands/UpdateGeoMatchSetCommand.js +3 -3
  70. package/dist-cjs/commands/UpdateIPSetCommand.js +3 -3
  71. package/dist-cjs/commands/UpdateRateBasedRuleCommand.js +3 -3
  72. package/dist-cjs/commands/UpdateRegexMatchSetCommand.js +3 -3
  73. package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +3 -3
  74. package/dist-cjs/commands/UpdateRuleCommand.js +3 -3
  75. package/dist-cjs/commands/UpdateRuleGroupCommand.js +3 -3
  76. package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js +3 -3
  77. package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js +3 -3
  78. package/dist-cjs/commands/UpdateWebACLCommand.js +3 -3
  79. package/dist-cjs/commands/UpdateXssMatchSetCommand.js +3 -3
  80. package/dist-cjs/endpoints.js +1 -1
  81. package/dist-cjs/protocols/Aws_json1_1.js +276 -276
  82. package/dist-cjs/runtimeConfig.browser.js +4 -4
  83. package/dist-cjs/runtimeConfig.js +9 -9
  84. package/dist-cjs/runtimeConfig.native.js +1 -1
  85. package/dist-es/WAF.js +77 -77
  86. package/dist-types/runtimeConfig.native.d.ts +2 -2
  87. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  88. package/package.json +34 -34
@@ -826,7 +826,7 @@ const deserializeAws_json1_1CreateByteMatchSetCommandError = async (output, cont
826
826
  $fault: "client",
827
827
  $metadata: deserializeMetadata(output),
828
828
  });
829
- throw smithy_client_1.decorateServiceException(response, parsedBody);
829
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
830
830
  }
831
831
  };
832
832
  const deserializeAws_json1_1CreateGeoMatchSetCommand = async (output, context) => {
@@ -877,7 +877,7 @@ const deserializeAws_json1_1CreateGeoMatchSetCommandError = async (output, conte
877
877
  $fault: "client",
878
878
  $metadata: deserializeMetadata(output),
879
879
  });
880
- throw smithy_client_1.decorateServiceException(response, parsedBody);
880
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
881
881
  }
882
882
  };
883
883
  const deserializeAws_json1_1CreateIPSetCommand = async (output, context) => {
@@ -928,7 +928,7 @@ const deserializeAws_json1_1CreateIPSetCommandError = async (output, context) =>
928
928
  $fault: "client",
929
929
  $metadata: deserializeMetadata(output),
930
930
  });
931
- throw smithy_client_1.decorateServiceException(response, parsedBody);
931
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
932
932
  }
933
933
  };
934
934
  const deserializeAws_json1_1CreateRateBasedRuleCommand = async (output, context) => {
@@ -985,7 +985,7 @@ const deserializeAws_json1_1CreateRateBasedRuleCommandError = async (output, con
985
985
  $fault: "client",
986
986
  $metadata: deserializeMetadata(output),
987
987
  });
988
- throw smithy_client_1.decorateServiceException(response, parsedBody);
988
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
989
989
  }
990
990
  };
991
991
  const deserializeAws_json1_1CreateRegexMatchSetCommand = async (output, context) => {
@@ -1030,7 +1030,7 @@ const deserializeAws_json1_1CreateRegexMatchSetCommandError = async (output, con
1030
1030
  $fault: "client",
1031
1031
  $metadata: deserializeMetadata(output),
1032
1032
  });
1033
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1033
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1034
1034
  }
1035
1035
  };
1036
1036
  const deserializeAws_json1_1CreateRegexPatternSetCommand = async (output, context) => {
@@ -1075,7 +1075,7 @@ const deserializeAws_json1_1CreateRegexPatternSetCommandError = async (output, c
1075
1075
  $fault: "client",
1076
1076
  $metadata: deserializeMetadata(output),
1077
1077
  });
1078
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1078
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1079
1079
  }
1080
1080
  };
1081
1081
  const deserializeAws_json1_1CreateRuleCommand = async (output, context) => {
@@ -1132,7 +1132,7 @@ const deserializeAws_json1_1CreateRuleCommandError = async (output, context) =>
1132
1132
  $fault: "client",
1133
1133
  $metadata: deserializeMetadata(output),
1134
1134
  });
1135
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1135
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1136
1136
  }
1137
1137
  };
1138
1138
  const deserializeAws_json1_1CreateRuleGroupCommand = async (output, context) => {
@@ -1186,7 +1186,7 @@ const deserializeAws_json1_1CreateRuleGroupCommandError = async (output, context
1186
1186
  $fault: "client",
1187
1187
  $metadata: deserializeMetadata(output),
1188
1188
  });
1189
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1189
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1190
1190
  }
1191
1191
  };
1192
1192
  const deserializeAws_json1_1CreateSizeConstraintSetCommand = async (output, context) => {
@@ -1237,7 +1237,7 @@ const deserializeAws_json1_1CreateSizeConstraintSetCommandError = async (output,
1237
1237
  $fault: "client",
1238
1238
  $metadata: deserializeMetadata(output),
1239
1239
  });
1240
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1240
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1241
1241
  }
1242
1242
  };
1243
1243
  const deserializeAws_json1_1CreateSqlInjectionMatchSetCommand = async (output, context) => {
@@ -1288,7 +1288,7 @@ const deserializeAws_json1_1CreateSqlInjectionMatchSetCommandError = async (outp
1288
1288
  $fault: "client",
1289
1289
  $metadata: deserializeMetadata(output),
1290
1290
  });
1291
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1291
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1292
1292
  }
1293
1293
  };
1294
1294
  const deserializeAws_json1_1CreateWebACLCommand = async (output, context) => {
@@ -1348,7 +1348,7 @@ const deserializeAws_json1_1CreateWebACLCommandError = async (output, context) =
1348
1348
  $fault: "client",
1349
1349
  $metadata: deserializeMetadata(output),
1350
1350
  });
1351
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1351
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1352
1352
  }
1353
1353
  };
1354
1354
  const deserializeAws_json1_1CreateWebACLMigrationStackCommand = async (output, context) => {
@@ -1396,7 +1396,7 @@ const deserializeAws_json1_1CreateWebACLMigrationStackCommandError = async (outp
1396
1396
  $fault: "client",
1397
1397
  $metadata: deserializeMetadata(output),
1398
1398
  });
1399
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1399
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1400
1400
  }
1401
1401
  };
1402
1402
  const deserializeAws_json1_1CreateXssMatchSetCommand = async (output, context) => {
@@ -1447,7 +1447,7 @@ const deserializeAws_json1_1CreateXssMatchSetCommandError = async (output, conte
1447
1447
  $fault: "client",
1448
1448
  $metadata: deserializeMetadata(output),
1449
1449
  });
1450
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1450
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1451
1451
  }
1452
1452
  };
1453
1453
  const deserializeAws_json1_1DeleteByteMatchSetCommand = async (output, context) => {
@@ -1498,7 +1498,7 @@ const deserializeAws_json1_1DeleteByteMatchSetCommandError = async (output, cont
1498
1498
  $fault: "client",
1499
1499
  $metadata: deserializeMetadata(output),
1500
1500
  });
1501
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1501
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1502
1502
  }
1503
1503
  };
1504
1504
  const deserializeAws_json1_1DeleteGeoMatchSetCommand = async (output, context) => {
@@ -1549,7 +1549,7 @@ const deserializeAws_json1_1DeleteGeoMatchSetCommandError = async (output, conte
1549
1549
  $fault: "client",
1550
1550
  $metadata: deserializeMetadata(output),
1551
1551
  });
1552
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1552
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1553
1553
  }
1554
1554
  };
1555
1555
  const deserializeAws_json1_1DeleteIPSetCommand = async (output, context) => {
@@ -1600,7 +1600,7 @@ const deserializeAws_json1_1DeleteIPSetCommandError = async (output, context) =>
1600
1600
  $fault: "client",
1601
1601
  $metadata: deserializeMetadata(output),
1602
1602
  });
1603
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1603
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1604
1604
  }
1605
1605
  };
1606
1606
  const deserializeAws_json1_1DeleteLoggingConfigurationCommand = async (output, context) => {
@@ -1642,7 +1642,7 @@ const deserializeAws_json1_1DeleteLoggingConfigurationCommandError = async (outp
1642
1642
  $fault: "client",
1643
1643
  $metadata: deserializeMetadata(output),
1644
1644
  });
1645
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1645
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1646
1646
  }
1647
1647
  };
1648
1648
  const deserializeAws_json1_1DeletePermissionPolicyCommand = async (output, context) => {
@@ -1684,7 +1684,7 @@ const deserializeAws_json1_1DeletePermissionPolicyCommandError = async (output,
1684
1684
  $fault: "client",
1685
1685
  $metadata: deserializeMetadata(output),
1686
1686
  });
1687
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1687
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1688
1688
  }
1689
1689
  };
1690
1690
  const deserializeAws_json1_1DeleteRateBasedRuleCommand = async (output, context) => {
@@ -1741,7 +1741,7 @@ const deserializeAws_json1_1DeleteRateBasedRuleCommandError = async (output, con
1741
1741
  $fault: "client",
1742
1742
  $metadata: deserializeMetadata(output),
1743
1743
  });
1744
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1744
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1745
1745
  }
1746
1746
  };
1747
1747
  const deserializeAws_json1_1DeleteRegexMatchSetCommand = async (output, context) => {
@@ -1792,7 +1792,7 @@ const deserializeAws_json1_1DeleteRegexMatchSetCommandError = async (output, con
1792
1792
  $fault: "client",
1793
1793
  $metadata: deserializeMetadata(output),
1794
1794
  });
1795
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1795
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1796
1796
  }
1797
1797
  };
1798
1798
  const deserializeAws_json1_1DeleteRegexPatternSetCommand = async (output, context) => {
@@ -1843,7 +1843,7 @@ const deserializeAws_json1_1DeleteRegexPatternSetCommandError = async (output, c
1843
1843
  $fault: "client",
1844
1844
  $metadata: deserializeMetadata(output),
1845
1845
  });
1846
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1846
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1847
1847
  }
1848
1848
  };
1849
1849
  const deserializeAws_json1_1DeleteRuleCommand = async (output, context) => {
@@ -1900,7 +1900,7 @@ const deserializeAws_json1_1DeleteRuleCommandError = async (output, context) =>
1900
1900
  $fault: "client",
1901
1901
  $metadata: deserializeMetadata(output),
1902
1902
  });
1903
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1903
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1904
1904
  }
1905
1905
  };
1906
1906
  const deserializeAws_json1_1DeleteRuleGroupCommand = async (output, context) => {
@@ -1957,7 +1957,7 @@ const deserializeAws_json1_1DeleteRuleGroupCommandError = async (output, context
1957
1957
  $fault: "client",
1958
1958
  $metadata: deserializeMetadata(output),
1959
1959
  });
1960
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1960
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1961
1961
  }
1962
1962
  };
1963
1963
  const deserializeAws_json1_1DeleteSizeConstraintSetCommand = async (output, context) => {
@@ -2008,7 +2008,7 @@ const deserializeAws_json1_1DeleteSizeConstraintSetCommandError = async (output,
2008
2008
  $fault: "client",
2009
2009
  $metadata: deserializeMetadata(output),
2010
2010
  });
2011
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2011
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2012
2012
  }
2013
2013
  };
2014
2014
  const deserializeAws_json1_1DeleteSqlInjectionMatchSetCommand = async (output, context) => {
@@ -2059,7 +2059,7 @@ const deserializeAws_json1_1DeleteSqlInjectionMatchSetCommandError = async (outp
2059
2059
  $fault: "client",
2060
2060
  $metadata: deserializeMetadata(output),
2061
2061
  });
2062
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2062
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2063
2063
  }
2064
2064
  };
2065
2065
  const deserializeAws_json1_1DeleteWebACLCommand = async (output, context) => {
@@ -2116,7 +2116,7 @@ const deserializeAws_json1_1DeleteWebACLCommandError = async (output, context) =
2116
2116
  $fault: "client",
2117
2117
  $metadata: deserializeMetadata(output),
2118
2118
  });
2119
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2119
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2120
2120
  }
2121
2121
  };
2122
2122
  const deserializeAws_json1_1DeleteXssMatchSetCommand = async (output, context) => {
@@ -2167,7 +2167,7 @@ const deserializeAws_json1_1DeleteXssMatchSetCommandError = async (output, conte
2167
2167
  $fault: "client",
2168
2168
  $metadata: deserializeMetadata(output),
2169
2169
  });
2170
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2170
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2171
2171
  }
2172
2172
  };
2173
2173
  const deserializeAws_json1_1GetByteMatchSetCommand = async (output, context) => {
@@ -2209,7 +2209,7 @@ const deserializeAws_json1_1GetByteMatchSetCommandError = async (output, context
2209
2209
  $fault: "client",
2210
2210
  $metadata: deserializeMetadata(output),
2211
2211
  });
2212
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2212
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2213
2213
  }
2214
2214
  };
2215
2215
  const deserializeAws_json1_1GetChangeTokenCommand = async (output, context) => {
@@ -2245,7 +2245,7 @@ const deserializeAws_json1_1GetChangeTokenCommandError = async (output, context)
2245
2245
  $fault: "client",
2246
2246
  $metadata: deserializeMetadata(output),
2247
2247
  });
2248
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2248
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2249
2249
  }
2250
2250
  };
2251
2251
  const deserializeAws_json1_1GetChangeTokenStatusCommand = async (output, context) => {
@@ -2284,7 +2284,7 @@ const deserializeAws_json1_1GetChangeTokenStatusCommandError = async (output, co
2284
2284
  $fault: "client",
2285
2285
  $metadata: deserializeMetadata(output),
2286
2286
  });
2287
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2287
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2288
2288
  }
2289
2289
  };
2290
2290
  const deserializeAws_json1_1GetGeoMatchSetCommand = async (output, context) => {
@@ -2326,7 +2326,7 @@ const deserializeAws_json1_1GetGeoMatchSetCommandError = async (output, context)
2326
2326
  $fault: "client",
2327
2327
  $metadata: deserializeMetadata(output),
2328
2328
  });
2329
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2329
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2330
2330
  }
2331
2331
  };
2332
2332
  const deserializeAws_json1_1GetIPSetCommand = async (output, context) => {
@@ -2368,7 +2368,7 @@ const deserializeAws_json1_1GetIPSetCommandError = async (output, context) => {
2368
2368
  $fault: "client",
2369
2369
  $metadata: deserializeMetadata(output),
2370
2370
  });
2371
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2371
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2372
2372
  }
2373
2373
  };
2374
2374
  const deserializeAws_json1_1GetLoggingConfigurationCommand = async (output, context) => {
@@ -2407,7 +2407,7 @@ const deserializeAws_json1_1GetLoggingConfigurationCommandError = async (output,
2407
2407
  $fault: "client",
2408
2408
  $metadata: deserializeMetadata(output),
2409
2409
  });
2410
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2410
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2411
2411
  }
2412
2412
  };
2413
2413
  const deserializeAws_json1_1GetPermissionPolicyCommand = async (output, context) => {
@@ -2446,7 +2446,7 @@ const deserializeAws_json1_1GetPermissionPolicyCommandError = async (output, con
2446
2446
  $fault: "client",
2447
2447
  $metadata: deserializeMetadata(output),
2448
2448
  });
2449
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2449
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2450
2450
  }
2451
2451
  };
2452
2452
  const deserializeAws_json1_1GetRateBasedRuleCommand = async (output, context) => {
@@ -2488,7 +2488,7 @@ const deserializeAws_json1_1GetRateBasedRuleCommandError = async (output, contex
2488
2488
  $fault: "client",
2489
2489
  $metadata: deserializeMetadata(output),
2490
2490
  });
2491
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2491
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2492
2492
  }
2493
2493
  };
2494
2494
  const deserializeAws_json1_1GetRateBasedRuleManagedKeysCommand = async (output, context) => {
@@ -2533,7 +2533,7 @@ const deserializeAws_json1_1GetRateBasedRuleManagedKeysCommandError = async (out
2533
2533
  $fault: "client",
2534
2534
  $metadata: deserializeMetadata(output),
2535
2535
  });
2536
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2536
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2537
2537
  }
2538
2538
  };
2539
2539
  const deserializeAws_json1_1GetRegexMatchSetCommand = async (output, context) => {
@@ -2575,7 +2575,7 @@ const deserializeAws_json1_1GetRegexMatchSetCommandError = async (output, contex
2575
2575
  $fault: "client",
2576
2576
  $metadata: deserializeMetadata(output),
2577
2577
  });
2578
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2578
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2579
2579
  }
2580
2580
  };
2581
2581
  const deserializeAws_json1_1GetRegexPatternSetCommand = async (output, context) => {
@@ -2617,7 +2617,7 @@ const deserializeAws_json1_1GetRegexPatternSetCommandError = async (output, cont
2617
2617
  $fault: "client",
2618
2618
  $metadata: deserializeMetadata(output),
2619
2619
  });
2620
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2620
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2621
2621
  }
2622
2622
  };
2623
2623
  const deserializeAws_json1_1GetRuleCommand = async (output, context) => {
@@ -2659,7 +2659,7 @@ const deserializeAws_json1_1GetRuleCommandError = async (output, context) => {
2659
2659
  $fault: "client",
2660
2660
  $metadata: deserializeMetadata(output),
2661
2661
  });
2662
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2662
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2663
2663
  }
2664
2664
  };
2665
2665
  const deserializeAws_json1_1GetRuleGroupCommand = async (output, context) => {
@@ -2698,7 +2698,7 @@ const deserializeAws_json1_1GetRuleGroupCommandError = async (output, context) =
2698
2698
  $fault: "client",
2699
2699
  $metadata: deserializeMetadata(output),
2700
2700
  });
2701
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2701
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2702
2702
  }
2703
2703
  };
2704
2704
  const deserializeAws_json1_1GetSampledRequestsCommand = async (output, context) => {
@@ -2737,7 +2737,7 @@ const deserializeAws_json1_1GetSampledRequestsCommandError = async (output, cont
2737
2737
  $fault: "client",
2738
2738
  $metadata: deserializeMetadata(output),
2739
2739
  });
2740
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2740
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2741
2741
  }
2742
2742
  };
2743
2743
  const deserializeAws_json1_1GetSizeConstraintSetCommand = async (output, context) => {
@@ -2779,7 +2779,7 @@ const deserializeAws_json1_1GetSizeConstraintSetCommandError = async (output, co
2779
2779
  $fault: "client",
2780
2780
  $metadata: deserializeMetadata(output),
2781
2781
  });
2782
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2782
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2783
2783
  }
2784
2784
  };
2785
2785
  const deserializeAws_json1_1GetSqlInjectionMatchSetCommand = async (output, context) => {
@@ -2821,7 +2821,7 @@ const deserializeAws_json1_1GetSqlInjectionMatchSetCommandError = async (output,
2821
2821
  $fault: "client",
2822
2822
  $metadata: deserializeMetadata(output),
2823
2823
  });
2824
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2824
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2825
2825
  }
2826
2826
  };
2827
2827
  const deserializeAws_json1_1GetWebACLCommand = async (output, context) => {
@@ -2863,7 +2863,7 @@ const deserializeAws_json1_1GetWebACLCommandError = async (output, context) => {
2863
2863
  $fault: "client",
2864
2864
  $metadata: deserializeMetadata(output),
2865
2865
  });
2866
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2866
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2867
2867
  }
2868
2868
  };
2869
2869
  const deserializeAws_json1_1GetXssMatchSetCommand = async (output, context) => {
@@ -2905,7 +2905,7 @@ const deserializeAws_json1_1GetXssMatchSetCommandError = async (output, context)
2905
2905
  $fault: "client",
2906
2906
  $metadata: deserializeMetadata(output),
2907
2907
  });
2908
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2908
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2909
2909
  }
2910
2910
  };
2911
2911
  const deserializeAws_json1_1ListActivatedRulesInRuleGroupCommand = async (output, context) => {
@@ -2947,7 +2947,7 @@ const deserializeAws_json1_1ListActivatedRulesInRuleGroupCommandError = async (o
2947
2947
  $fault: "client",
2948
2948
  $metadata: deserializeMetadata(output),
2949
2949
  });
2950
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2950
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2951
2951
  }
2952
2952
  };
2953
2953
  const deserializeAws_json1_1ListByteMatchSetsCommand = async (output, context) => {
@@ -2986,7 +2986,7 @@ const deserializeAws_json1_1ListByteMatchSetsCommandError = async (output, conte
2986
2986
  $fault: "client",
2987
2987
  $metadata: deserializeMetadata(output),
2988
2988
  });
2989
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2989
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2990
2990
  }
2991
2991
  };
2992
2992
  const deserializeAws_json1_1ListGeoMatchSetsCommand = async (output, context) => {
@@ -3025,7 +3025,7 @@ const deserializeAws_json1_1ListGeoMatchSetsCommandError = async (output, contex
3025
3025
  $fault: "client",
3026
3026
  $metadata: deserializeMetadata(output),
3027
3027
  });
3028
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3028
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3029
3029
  }
3030
3030
  };
3031
3031
  const deserializeAws_json1_1ListIPSetsCommand = async (output, context) => {
@@ -3064,7 +3064,7 @@ const deserializeAws_json1_1ListIPSetsCommandError = async (output, context) =>
3064
3064
  $fault: "client",
3065
3065
  $metadata: deserializeMetadata(output),
3066
3066
  });
3067
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3067
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3068
3068
  }
3069
3069
  };
3070
3070
  const deserializeAws_json1_1ListLoggingConfigurationsCommand = async (output, context) => {
@@ -3106,7 +3106,7 @@ const deserializeAws_json1_1ListLoggingConfigurationsCommandError = async (outpu
3106
3106
  $fault: "client",
3107
3107
  $metadata: deserializeMetadata(output),
3108
3108
  });
3109
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3109
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3110
3110
  }
3111
3111
  };
3112
3112
  const deserializeAws_json1_1ListRateBasedRulesCommand = async (output, context) => {
@@ -3145,7 +3145,7 @@ const deserializeAws_json1_1ListRateBasedRulesCommandError = async (output, cont
3145
3145
  $fault: "client",
3146
3146
  $metadata: deserializeMetadata(output),
3147
3147
  });
3148
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3148
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3149
3149
  }
3150
3150
  };
3151
3151
  const deserializeAws_json1_1ListRegexMatchSetsCommand = async (output, context) => {
@@ -3184,7 +3184,7 @@ const deserializeAws_json1_1ListRegexMatchSetsCommandError = async (output, cont
3184
3184
  $fault: "client",
3185
3185
  $metadata: deserializeMetadata(output),
3186
3186
  });
3187
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3187
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3188
3188
  }
3189
3189
  };
3190
3190
  const deserializeAws_json1_1ListRegexPatternSetsCommand = async (output, context) => {
@@ -3223,7 +3223,7 @@ const deserializeAws_json1_1ListRegexPatternSetsCommandError = async (output, co
3223
3223
  $fault: "client",
3224
3224
  $metadata: deserializeMetadata(output),
3225
3225
  });
3226
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3226
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3227
3227
  }
3228
3228
  };
3229
3229
  const deserializeAws_json1_1ListRuleGroupsCommand = async (output, context) => {
@@ -3259,7 +3259,7 @@ const deserializeAws_json1_1ListRuleGroupsCommandError = async (output, context)
3259
3259
  $fault: "client",
3260
3260
  $metadata: deserializeMetadata(output),
3261
3261
  });
3262
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3262
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3263
3263
  }
3264
3264
  };
3265
3265
  const deserializeAws_json1_1ListRulesCommand = async (output, context) => {
@@ -3298,7 +3298,7 @@ const deserializeAws_json1_1ListRulesCommandError = async (output, context) => {
3298
3298
  $fault: "client",
3299
3299
  $metadata: deserializeMetadata(output),
3300
3300
  });
3301
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3301
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3302
3302
  }
3303
3303
  };
3304
3304
  const deserializeAws_json1_1ListSizeConstraintSetsCommand = async (output, context) => {
@@ -3337,7 +3337,7 @@ const deserializeAws_json1_1ListSizeConstraintSetsCommandError = async (output,
3337
3337
  $fault: "client",
3338
3338
  $metadata: deserializeMetadata(output),
3339
3339
  });
3340
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3340
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3341
3341
  }
3342
3342
  };
3343
3343
  const deserializeAws_json1_1ListSqlInjectionMatchSetsCommand = async (output, context) => {
@@ -3376,7 +3376,7 @@ const deserializeAws_json1_1ListSqlInjectionMatchSetsCommandError = async (outpu
3376
3376
  $fault: "client",
3377
3377
  $metadata: deserializeMetadata(output),
3378
3378
  });
3379
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3379
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3380
3380
  }
3381
3381
  };
3382
3382
  const deserializeAws_json1_1ListSubscribedRuleGroupsCommand = async (output, context) => {
@@ -3415,7 +3415,7 @@ const deserializeAws_json1_1ListSubscribedRuleGroupsCommandError = async (output
3415
3415
  $fault: "client",
3416
3416
  $metadata: deserializeMetadata(output),
3417
3417
  });
3418
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3418
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3419
3419
  }
3420
3420
  };
3421
3421
  const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
@@ -3466,7 +3466,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
3466
3466
  $fault: "client",
3467
3467
  $metadata: deserializeMetadata(output),
3468
3468
  });
3469
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3469
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3470
3470
  }
3471
3471
  };
3472
3472
  const deserializeAws_json1_1ListWebACLsCommand = async (output, context) => {
@@ -3505,7 +3505,7 @@ const deserializeAws_json1_1ListWebACLsCommandError = async (output, context) =>
3505
3505
  $fault: "client",
3506
3506
  $metadata: deserializeMetadata(output),
3507
3507
  });
3508
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3508
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3509
3509
  }
3510
3510
  };
3511
3511
  const deserializeAws_json1_1ListXssMatchSetsCommand = async (output, context) => {
@@ -3544,7 +3544,7 @@ const deserializeAws_json1_1ListXssMatchSetsCommandError = async (output, contex
3544
3544
  $fault: "client",
3545
3545
  $metadata: deserializeMetadata(output),
3546
3546
  });
3547
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3547
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3548
3548
  }
3549
3549
  };
3550
3550
  const deserializeAws_json1_1PutLoggingConfigurationCommand = async (output, context) => {
@@ -3589,7 +3589,7 @@ const deserializeAws_json1_1PutLoggingConfigurationCommandError = async (output,
3589
3589
  $fault: "client",
3590
3590
  $metadata: deserializeMetadata(output),
3591
3591
  });
3592
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3592
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3593
3593
  }
3594
3594
  };
3595
3595
  const deserializeAws_json1_1PutPermissionPolicyCommand = async (output, context) => {
@@ -3634,7 +3634,7 @@ const deserializeAws_json1_1PutPermissionPolicyCommandError = async (output, con
3634
3634
  $fault: "client",
3635
3635
  $metadata: deserializeMetadata(output),
3636
3636
  });
3637
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3637
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3638
3638
  }
3639
3639
  };
3640
3640
  const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
@@ -3688,7 +3688,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
3688
3688
  $fault: "client",
3689
3689
  $metadata: deserializeMetadata(output),
3690
3690
  });
3691
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3691
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3692
3692
  }
3693
3693
  };
3694
3694
  const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
@@ -3739,7 +3739,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
3739
3739
  $fault: "client",
3740
3740
  $metadata: deserializeMetadata(output),
3741
3741
  });
3742
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3742
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3743
3743
  }
3744
3744
  };
3745
3745
  const deserializeAws_json1_1UpdateByteMatchSetCommand = async (output, context) => {
@@ -3796,7 +3796,7 @@ const deserializeAws_json1_1UpdateByteMatchSetCommandError = async (output, cont
3796
3796
  $fault: "client",
3797
3797
  $metadata: deserializeMetadata(output),
3798
3798
  });
3799
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3799
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3800
3800
  }
3801
3801
  };
3802
3802
  const deserializeAws_json1_1UpdateGeoMatchSetCommand = async (output, context) => {
@@ -3856,7 +3856,7 @@ const deserializeAws_json1_1UpdateGeoMatchSetCommandError = async (output, conte
3856
3856
  $fault: "client",
3857
3857
  $metadata: deserializeMetadata(output),
3858
3858
  });
3859
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3859
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3860
3860
  }
3861
3861
  };
3862
3862
  const deserializeAws_json1_1UpdateIPSetCommand = async (output, context) => {
@@ -3916,7 +3916,7 @@ const deserializeAws_json1_1UpdateIPSetCommandError = async (output, context) =>
3916
3916
  $fault: "client",
3917
3917
  $metadata: deserializeMetadata(output),
3918
3918
  });
3919
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3919
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3920
3920
  }
3921
3921
  };
3922
3922
  const deserializeAws_json1_1UpdateRateBasedRuleCommand = async (output, context) => {
@@ -3976,7 +3976,7 @@ const deserializeAws_json1_1UpdateRateBasedRuleCommandError = async (output, con
3976
3976
  $fault: "client",
3977
3977
  $metadata: deserializeMetadata(output),
3978
3978
  });
3979
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3979
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3980
3980
  }
3981
3981
  };
3982
3982
  const deserializeAws_json1_1UpdateRegexMatchSetCommand = async (output, context) => {
@@ -4033,7 +4033,7 @@ const deserializeAws_json1_1UpdateRegexMatchSetCommandError = async (output, con
4033
4033
  $fault: "client",
4034
4034
  $metadata: deserializeMetadata(output),
4035
4035
  });
4036
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4036
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4037
4037
  }
4038
4038
  };
4039
4039
  const deserializeAws_json1_1UpdateRegexPatternSetCommand = async (output, context) => {
@@ -4090,7 +4090,7 @@ const deserializeAws_json1_1UpdateRegexPatternSetCommandError = async (output, c
4090
4090
  $fault: "client",
4091
4091
  $metadata: deserializeMetadata(output),
4092
4092
  });
4093
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4093
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4094
4094
  }
4095
4095
  };
4096
4096
  const deserializeAws_json1_1UpdateRuleCommand = async (output, context) => {
@@ -4150,7 +4150,7 @@ const deserializeAws_json1_1UpdateRuleCommandError = async (output, context) =>
4150
4150
  $fault: "client",
4151
4151
  $metadata: deserializeMetadata(output),
4152
4152
  });
4153
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4153
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4154
4154
  }
4155
4155
  };
4156
4156
  const deserializeAws_json1_1UpdateRuleGroupCommand = async (output, context) => {
@@ -4204,7 +4204,7 @@ const deserializeAws_json1_1UpdateRuleGroupCommandError = async (output, context
4204
4204
  $fault: "client",
4205
4205
  $metadata: deserializeMetadata(output),
4206
4206
  });
4207
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4207
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4208
4208
  }
4209
4209
  };
4210
4210
  const deserializeAws_json1_1UpdateSizeConstraintSetCommand = async (output, context) => {
@@ -4264,7 +4264,7 @@ const deserializeAws_json1_1UpdateSizeConstraintSetCommandError = async (output,
4264
4264
  $fault: "client",
4265
4265
  $metadata: deserializeMetadata(output),
4266
4266
  });
4267
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4267
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4268
4268
  }
4269
4269
  };
4270
4270
  const deserializeAws_json1_1UpdateSqlInjectionMatchSetCommand = async (output, context) => {
@@ -4321,7 +4321,7 @@ const deserializeAws_json1_1UpdateSqlInjectionMatchSetCommandError = async (outp
4321
4321
  $fault: "client",
4322
4322
  $metadata: deserializeMetadata(output),
4323
4323
  });
4324
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4324
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4325
4325
  }
4326
4326
  };
4327
4327
  const deserializeAws_json1_1UpdateWebACLCommand = async (output, context) => {
@@ -4384,7 +4384,7 @@ const deserializeAws_json1_1UpdateWebACLCommandError = async (output, context) =
4384
4384
  $fault: "client",
4385
4385
  $metadata: deserializeMetadata(output),
4386
4386
  });
4387
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4387
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4388
4388
  }
4389
4389
  };
4390
4390
  const deserializeAws_json1_1UpdateXssMatchSetCommand = async (output, context) => {
@@ -4441,7 +4441,7 @@ const deserializeAws_json1_1UpdateXssMatchSetCommandError = async (output, conte
4441
4441
  $fault: "client",
4442
4442
  $metadata: deserializeMetadata(output),
4443
4443
  });
4444
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4444
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4445
4445
  }
4446
4446
  };
4447
4447
  const deserializeAws_json1_1WAFBadRequestExceptionResponse = async (parsedOutput, context) => {
@@ -4451,7 +4451,7 @@ const deserializeAws_json1_1WAFBadRequestExceptionResponse = async (parsedOutput
4451
4451
  $metadata: deserializeMetadata(parsedOutput),
4452
4452
  ...deserialized,
4453
4453
  });
4454
- return smithy_client_1.decorateServiceException(exception, body);
4454
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4455
4455
  };
4456
4456
  const deserializeAws_json1_1WAFDisallowedNameExceptionResponse = async (parsedOutput, context) => {
4457
4457
  const body = parsedOutput.body;
@@ -4460,7 +4460,7 @@ const deserializeAws_json1_1WAFDisallowedNameExceptionResponse = async (parsedOu
4460
4460
  $metadata: deserializeMetadata(parsedOutput),
4461
4461
  ...deserialized,
4462
4462
  });
4463
- return smithy_client_1.decorateServiceException(exception, body);
4463
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4464
4464
  };
4465
4465
  const deserializeAws_json1_1WAFEntityMigrationExceptionResponse = async (parsedOutput, context) => {
4466
4466
  const body = parsedOutput.body;
@@ -4469,7 +4469,7 @@ const deserializeAws_json1_1WAFEntityMigrationExceptionResponse = async (parsedO
4469
4469
  $metadata: deserializeMetadata(parsedOutput),
4470
4470
  ...deserialized,
4471
4471
  });
4472
- return smithy_client_1.decorateServiceException(exception, body);
4472
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4473
4473
  };
4474
4474
  const deserializeAws_json1_1WAFInternalErrorExceptionResponse = async (parsedOutput, context) => {
4475
4475
  const body = parsedOutput.body;
@@ -4478,7 +4478,7 @@ const deserializeAws_json1_1WAFInternalErrorExceptionResponse = async (parsedOut
4478
4478
  $metadata: deserializeMetadata(parsedOutput),
4479
4479
  ...deserialized,
4480
4480
  });
4481
- return smithy_client_1.decorateServiceException(exception, body);
4481
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4482
4482
  };
4483
4483
  const deserializeAws_json1_1WAFInvalidAccountExceptionResponse = async (parsedOutput, context) => {
4484
4484
  const body = parsedOutput.body;
@@ -4487,7 +4487,7 @@ const deserializeAws_json1_1WAFInvalidAccountExceptionResponse = async (parsedOu
4487
4487
  $metadata: deserializeMetadata(parsedOutput),
4488
4488
  ...deserialized,
4489
4489
  });
4490
- return smithy_client_1.decorateServiceException(exception, body);
4490
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4491
4491
  };
4492
4492
  const deserializeAws_json1_1WAFInvalidOperationExceptionResponse = async (parsedOutput, context) => {
4493
4493
  const body = parsedOutput.body;
@@ -4496,7 +4496,7 @@ const deserializeAws_json1_1WAFInvalidOperationExceptionResponse = async (parsed
4496
4496
  $metadata: deserializeMetadata(parsedOutput),
4497
4497
  ...deserialized,
4498
4498
  });
4499
- return smithy_client_1.decorateServiceException(exception, body);
4499
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4500
4500
  };
4501
4501
  const deserializeAws_json1_1WAFInvalidParameterExceptionResponse = async (parsedOutput, context) => {
4502
4502
  const body = parsedOutput.body;
@@ -4505,7 +4505,7 @@ const deserializeAws_json1_1WAFInvalidParameterExceptionResponse = async (parsed
4505
4505
  $metadata: deserializeMetadata(parsedOutput),
4506
4506
  ...deserialized,
4507
4507
  });
4508
- return smithy_client_1.decorateServiceException(exception, body);
4508
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4509
4509
  };
4510
4510
  const deserializeAws_json1_1WAFInvalidPermissionPolicyExceptionResponse = async (parsedOutput, context) => {
4511
4511
  const body = parsedOutput.body;
@@ -4514,7 +4514,7 @@ const deserializeAws_json1_1WAFInvalidPermissionPolicyExceptionResponse = async
4514
4514
  $metadata: deserializeMetadata(parsedOutput),
4515
4515
  ...deserialized,
4516
4516
  });
4517
- return smithy_client_1.decorateServiceException(exception, body);
4517
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4518
4518
  };
4519
4519
  const deserializeAws_json1_1WAFInvalidRegexPatternExceptionResponse = async (parsedOutput, context) => {
4520
4520
  const body = parsedOutput.body;
@@ -4523,7 +4523,7 @@ const deserializeAws_json1_1WAFInvalidRegexPatternExceptionResponse = async (par
4523
4523
  $metadata: deserializeMetadata(parsedOutput),
4524
4524
  ...deserialized,
4525
4525
  });
4526
- return smithy_client_1.decorateServiceException(exception, body);
4526
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4527
4527
  };
4528
4528
  const deserializeAws_json1_1WAFLimitsExceededExceptionResponse = async (parsedOutput, context) => {
4529
4529
  const body = parsedOutput.body;
@@ -4532,7 +4532,7 @@ const deserializeAws_json1_1WAFLimitsExceededExceptionResponse = async (parsedOu
4532
4532
  $metadata: deserializeMetadata(parsedOutput),
4533
4533
  ...deserialized,
4534
4534
  });
4535
- return smithy_client_1.decorateServiceException(exception, body);
4535
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4536
4536
  };
4537
4537
  const deserializeAws_json1_1WAFNonEmptyEntityExceptionResponse = async (parsedOutput, context) => {
4538
4538
  const body = parsedOutput.body;
@@ -4541,7 +4541,7 @@ const deserializeAws_json1_1WAFNonEmptyEntityExceptionResponse = async (parsedOu
4541
4541
  $metadata: deserializeMetadata(parsedOutput),
4542
4542
  ...deserialized,
4543
4543
  });
4544
- return smithy_client_1.decorateServiceException(exception, body);
4544
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4545
4545
  };
4546
4546
  const deserializeAws_json1_1WAFNonexistentContainerExceptionResponse = async (parsedOutput, context) => {
4547
4547
  const body = parsedOutput.body;
@@ -4550,7 +4550,7 @@ const deserializeAws_json1_1WAFNonexistentContainerExceptionResponse = async (pa
4550
4550
  $metadata: deserializeMetadata(parsedOutput),
4551
4551
  ...deserialized,
4552
4552
  });
4553
- return smithy_client_1.decorateServiceException(exception, body);
4553
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4554
4554
  };
4555
4555
  const deserializeAws_json1_1WAFNonexistentItemExceptionResponse = async (parsedOutput, context) => {
4556
4556
  const body = parsedOutput.body;
@@ -4559,7 +4559,7 @@ const deserializeAws_json1_1WAFNonexistentItemExceptionResponse = async (parsedO
4559
4559
  $metadata: deserializeMetadata(parsedOutput),
4560
4560
  ...deserialized,
4561
4561
  });
4562
- return smithy_client_1.decorateServiceException(exception, body);
4562
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4563
4563
  };
4564
4564
  const deserializeAws_json1_1WAFReferencedItemExceptionResponse = async (parsedOutput, context) => {
4565
4565
  const body = parsedOutput.body;
@@ -4568,7 +4568,7 @@ const deserializeAws_json1_1WAFReferencedItemExceptionResponse = async (parsedOu
4568
4568
  $metadata: deserializeMetadata(parsedOutput),
4569
4569
  ...deserialized,
4570
4570
  });
4571
- return smithy_client_1.decorateServiceException(exception, body);
4571
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4572
4572
  };
4573
4573
  const deserializeAws_json1_1WAFServiceLinkedRoleErrorExceptionResponse = async (parsedOutput, context) => {
4574
4574
  const body = parsedOutput.body;
@@ -4577,7 +4577,7 @@ const deserializeAws_json1_1WAFServiceLinkedRoleErrorExceptionResponse = async (
4577
4577
  $metadata: deserializeMetadata(parsedOutput),
4578
4578
  ...deserialized,
4579
4579
  });
4580
- return smithy_client_1.decorateServiceException(exception, body);
4580
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4581
4581
  };
4582
4582
  const deserializeAws_json1_1WAFStaleDataExceptionResponse = async (parsedOutput, context) => {
4583
4583
  const body = parsedOutput.body;
@@ -4586,7 +4586,7 @@ const deserializeAws_json1_1WAFStaleDataExceptionResponse = async (parsedOutput,
4586
4586
  $metadata: deserializeMetadata(parsedOutput),
4587
4587
  ...deserialized,
4588
4588
  });
4589
- return smithy_client_1.decorateServiceException(exception, body);
4589
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4590
4590
  };
4591
4591
  const deserializeAws_json1_1WAFSubscriptionNotFoundExceptionResponse = async (parsedOutput, context) => {
4592
4592
  const body = parsedOutput.body;
@@ -4595,7 +4595,7 @@ const deserializeAws_json1_1WAFSubscriptionNotFoundExceptionResponse = async (pa
4595
4595
  $metadata: deserializeMetadata(parsedOutput),
4596
4596
  ...deserialized,
4597
4597
  });
4598
- return smithy_client_1.decorateServiceException(exception, body);
4598
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4599
4599
  };
4600
4600
  const deserializeAws_json1_1WAFTagOperationExceptionResponse = async (parsedOutput, context) => {
4601
4601
  const body = parsedOutput.body;
@@ -4604,7 +4604,7 @@ const deserializeAws_json1_1WAFTagOperationExceptionResponse = async (parsedOutp
4604
4604
  $metadata: deserializeMetadata(parsedOutput),
4605
4605
  ...deserialized,
4606
4606
  });
4607
- return smithy_client_1.decorateServiceException(exception, body);
4607
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4608
4608
  };
4609
4609
  const deserializeAws_json1_1WAFTagOperationInternalErrorExceptionResponse = async (parsedOutput, context) => {
4610
4610
  const body = parsedOutput.body;
@@ -4613,7 +4613,7 @@ const deserializeAws_json1_1WAFTagOperationInternalErrorExceptionResponse = asyn
4613
4613
  $metadata: deserializeMetadata(parsedOutput),
4614
4614
  ...deserialized,
4615
4615
  });
4616
- return smithy_client_1.decorateServiceException(exception, body);
4616
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4617
4617
  };
4618
4618
  const serializeAws_json1_1ActivatedRule = (input, context) => {
4619
4619
  return {
@@ -5520,9 +5520,9 @@ const deserializeAws_json1_1ActivatedRule = (output, context) => {
5520
5520
  OverrideAction: output.OverrideAction !== undefined && output.OverrideAction !== null
5521
5521
  ? deserializeAws_json1_1WafOverrideAction(output.OverrideAction, context)
5522
5522
  : undefined,
5523
- Priority: smithy_client_1.expectInt32(output.Priority),
5524
- RuleId: smithy_client_1.expectString(output.RuleId),
5525
- Type: smithy_client_1.expectString(output.Type),
5523
+ Priority: (0, smithy_client_1.expectInt32)(output.Priority),
5524
+ RuleId: (0, smithy_client_1.expectString)(output.RuleId),
5525
+ Type: (0, smithy_client_1.expectString)(output.Type),
5526
5526
  };
5527
5527
  };
5528
5528
  const deserializeAws_json1_1ActivatedRules = (output, context) => {
@@ -5538,11 +5538,11 @@ const deserializeAws_json1_1ActivatedRules = (output, context) => {
5538
5538
  };
5539
5539
  const deserializeAws_json1_1ByteMatchSet = (output, context) => {
5540
5540
  return {
5541
- ByteMatchSetId: smithy_client_1.expectString(output.ByteMatchSetId),
5541
+ ByteMatchSetId: (0, smithy_client_1.expectString)(output.ByteMatchSetId),
5542
5542
  ByteMatchTuples: output.ByteMatchTuples !== undefined && output.ByteMatchTuples !== null
5543
5543
  ? deserializeAws_json1_1ByteMatchTuples(output.ByteMatchTuples, context)
5544
5544
  : undefined,
5545
- Name: smithy_client_1.expectString(output.Name),
5545
+ Name: (0, smithy_client_1.expectString)(output.Name),
5546
5546
  };
5547
5547
  };
5548
5548
  const deserializeAws_json1_1ByteMatchSetSummaries = (output, context) => {
@@ -5558,8 +5558,8 @@ const deserializeAws_json1_1ByteMatchSetSummaries = (output, context) => {
5558
5558
  };
5559
5559
  const deserializeAws_json1_1ByteMatchSetSummary = (output, context) => {
5560
5560
  return {
5561
- ByteMatchSetId: smithy_client_1.expectString(output.ByteMatchSetId),
5562
- Name: smithy_client_1.expectString(output.Name),
5561
+ ByteMatchSetId: (0, smithy_client_1.expectString)(output.ByteMatchSetId),
5562
+ Name: (0, smithy_client_1.expectString)(output.Name),
5563
5563
  };
5564
5564
  };
5565
5565
  const deserializeAws_json1_1ByteMatchTuple = (output, context) => {
@@ -5567,11 +5567,11 @@ const deserializeAws_json1_1ByteMatchTuple = (output, context) => {
5567
5567
  FieldToMatch: output.FieldToMatch !== undefined && output.FieldToMatch !== null
5568
5568
  ? deserializeAws_json1_1FieldToMatch(output.FieldToMatch, context)
5569
5569
  : undefined,
5570
- PositionalConstraint: smithy_client_1.expectString(output.PositionalConstraint),
5570
+ PositionalConstraint: (0, smithy_client_1.expectString)(output.PositionalConstraint),
5571
5571
  TargetString: output.TargetString !== undefined && output.TargetString !== null
5572
5572
  ? context.base64Decoder(output.TargetString)
5573
5573
  : undefined,
5574
- TextTransformation: smithy_client_1.expectString(output.TextTransformation),
5574
+ TextTransformation: (0, smithy_client_1.expectString)(output.TextTransformation),
5575
5575
  };
5576
5576
  };
5577
5577
  const deserializeAws_json1_1ByteMatchTuples = (output, context) => {
@@ -5590,12 +5590,12 @@ const deserializeAws_json1_1CreateByteMatchSetResponse = (output, context) => {
5590
5590
  ByteMatchSet: output.ByteMatchSet !== undefined && output.ByteMatchSet !== null
5591
5591
  ? deserializeAws_json1_1ByteMatchSet(output.ByteMatchSet, context)
5592
5592
  : undefined,
5593
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5593
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5594
5594
  };
5595
5595
  };
5596
5596
  const deserializeAws_json1_1CreateGeoMatchSetResponse = (output, context) => {
5597
5597
  return {
5598
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5598
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5599
5599
  GeoMatchSet: output.GeoMatchSet !== undefined && output.GeoMatchSet !== null
5600
5600
  ? deserializeAws_json1_1GeoMatchSet(output.GeoMatchSet, context)
5601
5601
  : undefined,
@@ -5603,7 +5603,7 @@ const deserializeAws_json1_1CreateGeoMatchSetResponse = (output, context) => {
5603
5603
  };
5604
5604
  const deserializeAws_json1_1CreateIPSetResponse = (output, context) => {
5605
5605
  return {
5606
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5606
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5607
5607
  IPSet: output.IPSet !== undefined && output.IPSet !== null
5608
5608
  ? deserializeAws_json1_1IPSet(output.IPSet, context)
5609
5609
  : undefined,
@@ -5611,7 +5611,7 @@ const deserializeAws_json1_1CreateIPSetResponse = (output, context) => {
5611
5611
  };
5612
5612
  const deserializeAws_json1_1CreateRateBasedRuleResponse = (output, context) => {
5613
5613
  return {
5614
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5614
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5615
5615
  Rule: output.Rule !== undefined && output.Rule !== null
5616
5616
  ? deserializeAws_json1_1RateBasedRule(output.Rule, context)
5617
5617
  : undefined,
@@ -5619,7 +5619,7 @@ const deserializeAws_json1_1CreateRateBasedRuleResponse = (output, context) => {
5619
5619
  };
5620
5620
  const deserializeAws_json1_1CreateRegexMatchSetResponse = (output, context) => {
5621
5621
  return {
5622
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5622
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5623
5623
  RegexMatchSet: output.RegexMatchSet !== undefined && output.RegexMatchSet !== null
5624
5624
  ? deserializeAws_json1_1RegexMatchSet(output.RegexMatchSet, context)
5625
5625
  : undefined,
@@ -5627,7 +5627,7 @@ const deserializeAws_json1_1CreateRegexMatchSetResponse = (output, context) => {
5627
5627
  };
5628
5628
  const deserializeAws_json1_1CreateRegexPatternSetResponse = (output, context) => {
5629
5629
  return {
5630
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5630
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5631
5631
  RegexPatternSet: output.RegexPatternSet !== undefined && output.RegexPatternSet !== null
5632
5632
  ? deserializeAws_json1_1RegexPatternSet(output.RegexPatternSet, context)
5633
5633
  : undefined,
@@ -5635,7 +5635,7 @@ const deserializeAws_json1_1CreateRegexPatternSetResponse = (output, context) =>
5635
5635
  };
5636
5636
  const deserializeAws_json1_1CreateRuleGroupResponse = (output, context) => {
5637
5637
  return {
5638
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5638
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5639
5639
  RuleGroup: output.RuleGroup !== undefined && output.RuleGroup !== null
5640
5640
  ? deserializeAws_json1_1RuleGroup(output.RuleGroup, context)
5641
5641
  : undefined,
@@ -5643,13 +5643,13 @@ const deserializeAws_json1_1CreateRuleGroupResponse = (output, context) => {
5643
5643
  };
5644
5644
  const deserializeAws_json1_1CreateRuleResponse = (output, context) => {
5645
5645
  return {
5646
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5646
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5647
5647
  Rule: output.Rule !== undefined && output.Rule !== null ? deserializeAws_json1_1Rule(output.Rule, context) : undefined,
5648
5648
  };
5649
5649
  };
5650
5650
  const deserializeAws_json1_1CreateSizeConstraintSetResponse = (output, context) => {
5651
5651
  return {
5652
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5652
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5653
5653
  SizeConstraintSet: output.SizeConstraintSet !== undefined && output.SizeConstraintSet !== null
5654
5654
  ? deserializeAws_json1_1SizeConstraintSet(output.SizeConstraintSet, context)
5655
5655
  : undefined,
@@ -5657,7 +5657,7 @@ const deserializeAws_json1_1CreateSizeConstraintSetResponse = (output, context)
5657
5657
  };
5658
5658
  const deserializeAws_json1_1CreateSqlInjectionMatchSetResponse = (output, context) => {
5659
5659
  return {
5660
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5660
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5661
5661
  SqlInjectionMatchSet: output.SqlInjectionMatchSet !== undefined && output.SqlInjectionMatchSet !== null
5662
5662
  ? deserializeAws_json1_1SqlInjectionMatchSet(output.SqlInjectionMatchSet, context)
5663
5663
  : undefined,
@@ -5665,12 +5665,12 @@ const deserializeAws_json1_1CreateSqlInjectionMatchSetResponse = (output, contex
5665
5665
  };
5666
5666
  const deserializeAws_json1_1CreateWebACLMigrationStackResponse = (output, context) => {
5667
5667
  return {
5668
- S3ObjectUrl: smithy_client_1.expectString(output.S3ObjectUrl),
5668
+ S3ObjectUrl: (0, smithy_client_1.expectString)(output.S3ObjectUrl),
5669
5669
  };
5670
5670
  };
5671
5671
  const deserializeAws_json1_1CreateWebACLResponse = (output, context) => {
5672
5672
  return {
5673
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5673
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5674
5674
  WebACL: output.WebACL !== undefined && output.WebACL !== null
5675
5675
  ? deserializeAws_json1_1WebACL(output.WebACL, context)
5676
5676
  : undefined,
@@ -5678,7 +5678,7 @@ const deserializeAws_json1_1CreateWebACLResponse = (output, context) => {
5678
5678
  };
5679
5679
  const deserializeAws_json1_1CreateXssMatchSetResponse = (output, context) => {
5680
5680
  return {
5681
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5681
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5682
5682
  XssMatchSet: output.XssMatchSet !== undefined && output.XssMatchSet !== null
5683
5683
  ? deserializeAws_json1_1XssMatchSet(output.XssMatchSet, context)
5684
5684
  : undefined,
@@ -5686,17 +5686,17 @@ const deserializeAws_json1_1CreateXssMatchSetResponse = (output, context) => {
5686
5686
  };
5687
5687
  const deserializeAws_json1_1DeleteByteMatchSetResponse = (output, context) => {
5688
5688
  return {
5689
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5689
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5690
5690
  };
5691
5691
  };
5692
5692
  const deserializeAws_json1_1DeleteGeoMatchSetResponse = (output, context) => {
5693
5693
  return {
5694
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5694
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5695
5695
  };
5696
5696
  };
5697
5697
  const deserializeAws_json1_1DeleteIPSetResponse = (output, context) => {
5698
5698
  return {
5699
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5699
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5700
5700
  };
5701
5701
  };
5702
5702
  const deserializeAws_json1_1DeleteLoggingConfigurationResponse = (output, context) => {
@@ -5707,52 +5707,52 @@ const deserializeAws_json1_1DeletePermissionPolicyResponse = (output, context) =
5707
5707
  };
5708
5708
  const deserializeAws_json1_1DeleteRateBasedRuleResponse = (output, context) => {
5709
5709
  return {
5710
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5710
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5711
5711
  };
5712
5712
  };
5713
5713
  const deserializeAws_json1_1DeleteRegexMatchSetResponse = (output, context) => {
5714
5714
  return {
5715
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5715
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5716
5716
  };
5717
5717
  };
5718
5718
  const deserializeAws_json1_1DeleteRegexPatternSetResponse = (output, context) => {
5719
5719
  return {
5720
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5720
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5721
5721
  };
5722
5722
  };
5723
5723
  const deserializeAws_json1_1DeleteRuleGroupResponse = (output, context) => {
5724
5724
  return {
5725
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5725
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5726
5726
  };
5727
5727
  };
5728
5728
  const deserializeAws_json1_1DeleteRuleResponse = (output, context) => {
5729
5729
  return {
5730
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5730
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5731
5731
  };
5732
5732
  };
5733
5733
  const deserializeAws_json1_1DeleteSizeConstraintSetResponse = (output, context) => {
5734
5734
  return {
5735
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5735
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5736
5736
  };
5737
5737
  };
5738
5738
  const deserializeAws_json1_1DeleteSqlInjectionMatchSetResponse = (output, context) => {
5739
5739
  return {
5740
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5740
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5741
5741
  };
5742
5742
  };
5743
5743
  const deserializeAws_json1_1DeleteWebACLResponse = (output, context) => {
5744
5744
  return {
5745
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5745
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5746
5746
  };
5747
5747
  };
5748
5748
  const deserializeAws_json1_1DeleteXssMatchSetResponse = (output, context) => {
5749
5749
  return {
5750
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5750
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5751
5751
  };
5752
5752
  };
5753
5753
  const deserializeAws_json1_1ExcludedRule = (output, context) => {
5754
5754
  return {
5755
- RuleId: smithy_client_1.expectString(output.RuleId),
5755
+ RuleId: (0, smithy_client_1.expectString)(output.RuleId),
5756
5756
  };
5757
5757
  };
5758
5758
  const deserializeAws_json1_1ExcludedRules = (output, context) => {
@@ -5768,14 +5768,14 @@ const deserializeAws_json1_1ExcludedRules = (output, context) => {
5768
5768
  };
5769
5769
  const deserializeAws_json1_1FieldToMatch = (output, context) => {
5770
5770
  return {
5771
- Data: smithy_client_1.expectString(output.Data),
5772
- Type: smithy_client_1.expectString(output.Type),
5771
+ Data: (0, smithy_client_1.expectString)(output.Data),
5772
+ Type: (0, smithy_client_1.expectString)(output.Type),
5773
5773
  };
5774
5774
  };
5775
5775
  const deserializeAws_json1_1GeoMatchConstraint = (output, context) => {
5776
5776
  return {
5777
- Type: smithy_client_1.expectString(output.Type),
5778
- Value: smithy_client_1.expectString(output.Value),
5777
+ Type: (0, smithy_client_1.expectString)(output.Type),
5778
+ Value: (0, smithy_client_1.expectString)(output.Value),
5779
5779
  };
5780
5780
  };
5781
5781
  const deserializeAws_json1_1GeoMatchConstraints = (output, context) => {
@@ -5794,8 +5794,8 @@ const deserializeAws_json1_1GeoMatchSet = (output, context) => {
5794
5794
  GeoMatchConstraints: output.GeoMatchConstraints !== undefined && output.GeoMatchConstraints !== null
5795
5795
  ? deserializeAws_json1_1GeoMatchConstraints(output.GeoMatchConstraints, context)
5796
5796
  : undefined,
5797
- GeoMatchSetId: smithy_client_1.expectString(output.GeoMatchSetId),
5798
- Name: smithy_client_1.expectString(output.Name),
5797
+ GeoMatchSetId: (0, smithy_client_1.expectString)(output.GeoMatchSetId),
5798
+ Name: (0, smithy_client_1.expectString)(output.Name),
5799
5799
  };
5800
5800
  };
5801
5801
  const deserializeAws_json1_1GeoMatchSetSummaries = (output, context) => {
@@ -5811,8 +5811,8 @@ const deserializeAws_json1_1GeoMatchSetSummaries = (output, context) => {
5811
5811
  };
5812
5812
  const deserializeAws_json1_1GeoMatchSetSummary = (output, context) => {
5813
5813
  return {
5814
- GeoMatchSetId: smithy_client_1.expectString(output.GeoMatchSetId),
5815
- Name: smithy_client_1.expectString(output.Name),
5814
+ GeoMatchSetId: (0, smithy_client_1.expectString)(output.GeoMatchSetId),
5815
+ Name: (0, smithy_client_1.expectString)(output.Name),
5816
5816
  };
5817
5817
  };
5818
5818
  const deserializeAws_json1_1GetByteMatchSetResponse = (output, context) => {
@@ -5824,12 +5824,12 @@ const deserializeAws_json1_1GetByteMatchSetResponse = (output, context) => {
5824
5824
  };
5825
5825
  const deserializeAws_json1_1GetChangeTokenResponse = (output, context) => {
5826
5826
  return {
5827
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
5827
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
5828
5828
  };
5829
5829
  };
5830
5830
  const deserializeAws_json1_1GetChangeTokenStatusResponse = (output, context) => {
5831
5831
  return {
5832
- ChangeTokenStatus: smithy_client_1.expectString(output.ChangeTokenStatus),
5832
+ ChangeTokenStatus: (0, smithy_client_1.expectString)(output.ChangeTokenStatus),
5833
5833
  };
5834
5834
  };
5835
5835
  const deserializeAws_json1_1GetGeoMatchSetResponse = (output, context) => {
@@ -5855,7 +5855,7 @@ const deserializeAws_json1_1GetLoggingConfigurationResponse = (output, context)
5855
5855
  };
5856
5856
  const deserializeAws_json1_1GetPermissionPolicyResponse = (output, context) => {
5857
5857
  return {
5858
- Policy: smithy_client_1.expectString(output.Policy),
5858
+ Policy: (0, smithy_client_1.expectString)(output.Policy),
5859
5859
  };
5860
5860
  };
5861
5861
  const deserializeAws_json1_1GetRateBasedRuleManagedKeysResponse = (output, context) => {
@@ -5863,7 +5863,7 @@ const deserializeAws_json1_1GetRateBasedRuleManagedKeysResponse = (output, conte
5863
5863
  ManagedKeys: output.ManagedKeys !== undefined && output.ManagedKeys !== null
5864
5864
  ? deserializeAws_json1_1ManagedKeys(output.ManagedKeys, context)
5865
5865
  : undefined,
5866
- NextMarker: smithy_client_1.expectString(output.NextMarker),
5866
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
5867
5867
  };
5868
5868
  };
5869
5869
  const deserializeAws_json1_1GetRateBasedRuleResponse = (output, context) => {
@@ -5901,7 +5901,7 @@ const deserializeAws_json1_1GetRuleResponse = (output, context) => {
5901
5901
  };
5902
5902
  const deserializeAws_json1_1GetSampledRequestsResponse = (output, context) => {
5903
5903
  return {
5904
- PopulationSize: smithy_client_1.expectLong(output.PopulationSize),
5904
+ PopulationSize: (0, smithy_client_1.expectLong)(output.PopulationSize),
5905
5905
  SampledRequests: output.SampledRequests !== undefined && output.SampledRequests !== null
5906
5906
  ? deserializeAws_json1_1SampledHTTPRequests(output.SampledRequests, context)
5907
5907
  : undefined,
@@ -5940,8 +5940,8 @@ const deserializeAws_json1_1GetXssMatchSetResponse = (output, context) => {
5940
5940
  };
5941
5941
  const deserializeAws_json1_1HTTPHeader = (output, context) => {
5942
5942
  return {
5943
- Name: smithy_client_1.expectString(output.Name),
5944
- Value: smithy_client_1.expectString(output.Value),
5943
+ Name: (0, smithy_client_1.expectString)(output.Name),
5944
+ Value: (0, smithy_client_1.expectString)(output.Value),
5945
5945
  };
5946
5946
  };
5947
5947
  const deserializeAws_json1_1HTTPHeaders = (output, context) => {
@@ -5957,14 +5957,14 @@ const deserializeAws_json1_1HTTPHeaders = (output, context) => {
5957
5957
  };
5958
5958
  const deserializeAws_json1_1HTTPRequest = (output, context) => {
5959
5959
  return {
5960
- ClientIP: smithy_client_1.expectString(output.ClientIP),
5961
- Country: smithy_client_1.expectString(output.Country),
5962
- HTTPVersion: smithy_client_1.expectString(output.HTTPVersion),
5960
+ ClientIP: (0, smithy_client_1.expectString)(output.ClientIP),
5961
+ Country: (0, smithy_client_1.expectString)(output.Country),
5962
+ HTTPVersion: (0, smithy_client_1.expectString)(output.HTTPVersion),
5963
5963
  Headers: output.Headers !== undefined && output.Headers !== null
5964
5964
  ? deserializeAws_json1_1HTTPHeaders(output.Headers, context)
5965
5965
  : undefined,
5966
- Method: smithy_client_1.expectString(output.Method),
5967
- URI: smithy_client_1.expectString(output.URI),
5966
+ Method: (0, smithy_client_1.expectString)(output.Method),
5967
+ URI: (0, smithy_client_1.expectString)(output.URI),
5968
5968
  };
5969
5969
  };
5970
5970
  const deserializeAws_json1_1IPSet = (output, context) => {
@@ -5972,14 +5972,14 @@ const deserializeAws_json1_1IPSet = (output, context) => {
5972
5972
  IPSetDescriptors: output.IPSetDescriptors !== undefined && output.IPSetDescriptors !== null
5973
5973
  ? deserializeAws_json1_1IPSetDescriptors(output.IPSetDescriptors, context)
5974
5974
  : undefined,
5975
- IPSetId: smithy_client_1.expectString(output.IPSetId),
5976
- Name: smithy_client_1.expectString(output.Name),
5975
+ IPSetId: (0, smithy_client_1.expectString)(output.IPSetId),
5976
+ Name: (0, smithy_client_1.expectString)(output.Name),
5977
5977
  };
5978
5978
  };
5979
5979
  const deserializeAws_json1_1IPSetDescriptor = (output, context) => {
5980
5980
  return {
5981
- Type: smithy_client_1.expectString(output.Type),
5982
- Value: smithy_client_1.expectString(output.Value),
5981
+ Type: (0, smithy_client_1.expectString)(output.Type),
5982
+ Value: (0, smithy_client_1.expectString)(output.Value),
5983
5983
  };
5984
5984
  };
5985
5985
  const deserializeAws_json1_1IPSetDescriptors = (output, context) => {
@@ -6006,8 +6006,8 @@ const deserializeAws_json1_1IPSetSummaries = (output, context) => {
6006
6006
  };
6007
6007
  const deserializeAws_json1_1IPSetSummary = (output, context) => {
6008
6008
  return {
6009
- IPSetId: smithy_client_1.expectString(output.IPSetId),
6010
- Name: smithy_client_1.expectString(output.Name),
6009
+ IPSetId: (0, smithy_client_1.expectString)(output.IPSetId),
6010
+ Name: (0, smithy_client_1.expectString)(output.Name),
6011
6011
  };
6012
6012
  };
6013
6013
  const deserializeAws_json1_1ListActivatedRulesInRuleGroupResponse = (output, context) => {
@@ -6015,7 +6015,7 @@ const deserializeAws_json1_1ListActivatedRulesInRuleGroupResponse = (output, con
6015
6015
  ActivatedRules: output.ActivatedRules !== undefined && output.ActivatedRules !== null
6016
6016
  ? deserializeAws_json1_1ActivatedRules(output.ActivatedRules, context)
6017
6017
  : undefined,
6018
- NextMarker: smithy_client_1.expectString(output.NextMarker),
6018
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
6019
6019
  };
6020
6020
  };
6021
6021
  const deserializeAws_json1_1ListByteMatchSetsResponse = (output, context) => {
@@ -6023,7 +6023,7 @@ const deserializeAws_json1_1ListByteMatchSetsResponse = (output, context) => {
6023
6023
  ByteMatchSets: output.ByteMatchSets !== undefined && output.ByteMatchSets !== null
6024
6024
  ? deserializeAws_json1_1ByteMatchSetSummaries(output.ByteMatchSets, context)
6025
6025
  : undefined,
6026
- NextMarker: smithy_client_1.expectString(output.NextMarker),
6026
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
6027
6027
  };
6028
6028
  };
6029
6029
  const deserializeAws_json1_1ListGeoMatchSetsResponse = (output, context) => {
@@ -6031,7 +6031,7 @@ const deserializeAws_json1_1ListGeoMatchSetsResponse = (output, context) => {
6031
6031
  GeoMatchSets: output.GeoMatchSets !== undefined && output.GeoMatchSets !== null
6032
6032
  ? deserializeAws_json1_1GeoMatchSetSummaries(output.GeoMatchSets, context)
6033
6033
  : undefined,
6034
- NextMarker: smithy_client_1.expectString(output.NextMarker),
6034
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
6035
6035
  };
6036
6036
  };
6037
6037
  const deserializeAws_json1_1ListIPSetsResponse = (output, context) => {
@@ -6039,7 +6039,7 @@ const deserializeAws_json1_1ListIPSetsResponse = (output, context) => {
6039
6039
  IPSets: output.IPSets !== undefined && output.IPSets !== null
6040
6040
  ? deserializeAws_json1_1IPSetSummaries(output.IPSets, context)
6041
6041
  : undefined,
6042
- NextMarker: smithy_client_1.expectString(output.NextMarker),
6042
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
6043
6043
  };
6044
6044
  };
6045
6045
  const deserializeAws_json1_1ListLoggingConfigurationsResponse = (output, context) => {
@@ -6047,12 +6047,12 @@ const deserializeAws_json1_1ListLoggingConfigurationsResponse = (output, context
6047
6047
  LoggingConfigurations: output.LoggingConfigurations !== undefined && output.LoggingConfigurations !== null
6048
6048
  ? deserializeAws_json1_1LoggingConfigurations(output.LoggingConfigurations, context)
6049
6049
  : undefined,
6050
- NextMarker: smithy_client_1.expectString(output.NextMarker),
6050
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
6051
6051
  };
6052
6052
  };
6053
6053
  const deserializeAws_json1_1ListRateBasedRulesResponse = (output, context) => {
6054
6054
  return {
6055
- NextMarker: smithy_client_1.expectString(output.NextMarker),
6055
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
6056
6056
  Rules: output.Rules !== undefined && output.Rules !== null
6057
6057
  ? deserializeAws_json1_1RuleSummaries(output.Rules, context)
6058
6058
  : undefined,
@@ -6060,7 +6060,7 @@ const deserializeAws_json1_1ListRateBasedRulesResponse = (output, context) => {
6060
6060
  };
6061
6061
  const deserializeAws_json1_1ListRegexMatchSetsResponse = (output, context) => {
6062
6062
  return {
6063
- NextMarker: smithy_client_1.expectString(output.NextMarker),
6063
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
6064
6064
  RegexMatchSets: output.RegexMatchSets !== undefined && output.RegexMatchSets !== null
6065
6065
  ? deserializeAws_json1_1RegexMatchSetSummaries(output.RegexMatchSets, context)
6066
6066
  : undefined,
@@ -6068,7 +6068,7 @@ const deserializeAws_json1_1ListRegexMatchSetsResponse = (output, context) => {
6068
6068
  };
6069
6069
  const deserializeAws_json1_1ListRegexPatternSetsResponse = (output, context) => {
6070
6070
  return {
6071
- NextMarker: smithy_client_1.expectString(output.NextMarker),
6071
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
6072
6072
  RegexPatternSets: output.RegexPatternSets !== undefined && output.RegexPatternSets !== null
6073
6073
  ? deserializeAws_json1_1RegexPatternSetSummaries(output.RegexPatternSets, context)
6074
6074
  : undefined,
@@ -6076,7 +6076,7 @@ const deserializeAws_json1_1ListRegexPatternSetsResponse = (output, context) =>
6076
6076
  };
6077
6077
  const deserializeAws_json1_1ListRuleGroupsResponse = (output, context) => {
6078
6078
  return {
6079
- NextMarker: smithy_client_1.expectString(output.NextMarker),
6079
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
6080
6080
  RuleGroups: output.RuleGroups !== undefined && output.RuleGroups !== null
6081
6081
  ? deserializeAws_json1_1RuleGroupSummaries(output.RuleGroups, context)
6082
6082
  : undefined,
@@ -6084,7 +6084,7 @@ const deserializeAws_json1_1ListRuleGroupsResponse = (output, context) => {
6084
6084
  };
6085
6085
  const deserializeAws_json1_1ListRulesResponse = (output, context) => {
6086
6086
  return {
6087
- NextMarker: smithy_client_1.expectString(output.NextMarker),
6087
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
6088
6088
  Rules: output.Rules !== undefined && output.Rules !== null
6089
6089
  ? deserializeAws_json1_1RuleSummaries(output.Rules, context)
6090
6090
  : undefined,
@@ -6092,7 +6092,7 @@ const deserializeAws_json1_1ListRulesResponse = (output, context) => {
6092
6092
  };
6093
6093
  const deserializeAws_json1_1ListSizeConstraintSetsResponse = (output, context) => {
6094
6094
  return {
6095
- NextMarker: smithy_client_1.expectString(output.NextMarker),
6095
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
6096
6096
  SizeConstraintSets: output.SizeConstraintSets !== undefined && output.SizeConstraintSets !== null
6097
6097
  ? deserializeAws_json1_1SizeConstraintSetSummaries(output.SizeConstraintSets, context)
6098
6098
  : undefined,
@@ -6100,7 +6100,7 @@ const deserializeAws_json1_1ListSizeConstraintSetsResponse = (output, context) =
6100
6100
  };
6101
6101
  const deserializeAws_json1_1ListSqlInjectionMatchSetsResponse = (output, context) => {
6102
6102
  return {
6103
- NextMarker: smithy_client_1.expectString(output.NextMarker),
6103
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
6104
6104
  SqlInjectionMatchSets: output.SqlInjectionMatchSets !== undefined && output.SqlInjectionMatchSets !== null
6105
6105
  ? deserializeAws_json1_1SqlInjectionMatchSetSummaries(output.SqlInjectionMatchSets, context)
6106
6106
  : undefined,
@@ -6108,7 +6108,7 @@ const deserializeAws_json1_1ListSqlInjectionMatchSetsResponse = (output, context
6108
6108
  };
6109
6109
  const deserializeAws_json1_1ListSubscribedRuleGroupsResponse = (output, context) => {
6110
6110
  return {
6111
- NextMarker: smithy_client_1.expectString(output.NextMarker),
6111
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
6112
6112
  RuleGroups: output.RuleGroups !== undefined && output.RuleGroups !== null
6113
6113
  ? deserializeAws_json1_1SubscribedRuleGroupSummaries(output.RuleGroups, context)
6114
6114
  : undefined,
@@ -6116,7 +6116,7 @@ const deserializeAws_json1_1ListSubscribedRuleGroupsResponse = (output, context)
6116
6116
  };
6117
6117
  const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
6118
6118
  return {
6119
- NextMarker: smithy_client_1.expectString(output.NextMarker),
6119
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
6120
6120
  TagInfoForResource: output.TagInfoForResource !== undefined && output.TagInfoForResource !== null
6121
6121
  ? deserializeAws_json1_1TagInfoForResource(output.TagInfoForResource, context)
6122
6122
  : undefined,
@@ -6124,7 +6124,7 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
6124
6124
  };
6125
6125
  const deserializeAws_json1_1ListWebACLsResponse = (output, context) => {
6126
6126
  return {
6127
- NextMarker: smithy_client_1.expectString(output.NextMarker),
6127
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
6128
6128
  WebACLs: output.WebACLs !== undefined && output.WebACLs !== null
6129
6129
  ? deserializeAws_json1_1WebACLSummaries(output.WebACLs, context)
6130
6130
  : undefined,
@@ -6132,7 +6132,7 @@ const deserializeAws_json1_1ListWebACLsResponse = (output, context) => {
6132
6132
  };
6133
6133
  const deserializeAws_json1_1ListXssMatchSetsResponse = (output, context) => {
6134
6134
  return {
6135
- NextMarker: smithy_client_1.expectString(output.NextMarker),
6135
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
6136
6136
  XssMatchSets: output.XssMatchSets !== undefined && output.XssMatchSets !== null
6137
6137
  ? deserializeAws_json1_1XssMatchSetSummaries(output.XssMatchSets, context)
6138
6138
  : undefined,
@@ -6145,7 +6145,7 @@ const deserializeAws_json1_1LogDestinationConfigs = (output, context) => {
6145
6145
  if (entry === null) {
6146
6146
  return null;
6147
6147
  }
6148
- return smithy_client_1.expectString(entry);
6148
+ return (0, smithy_client_1.expectString)(entry);
6149
6149
  });
6150
6150
  return retVal;
6151
6151
  };
@@ -6157,7 +6157,7 @@ const deserializeAws_json1_1LoggingConfiguration = (output, context) => {
6157
6157
  RedactedFields: output.RedactedFields !== undefined && output.RedactedFields !== null
6158
6158
  ? deserializeAws_json1_1RedactedFields(output.RedactedFields, context)
6159
6159
  : undefined,
6160
- ResourceArn: smithy_client_1.expectString(output.ResourceArn),
6160
+ ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
6161
6161
  };
6162
6162
  };
6163
6163
  const deserializeAws_json1_1LoggingConfigurations = (output, context) => {
@@ -6178,15 +6178,15 @@ const deserializeAws_json1_1ManagedKeys = (output, context) => {
6178
6178
  if (entry === null) {
6179
6179
  return null;
6180
6180
  }
6181
- return smithy_client_1.expectString(entry);
6181
+ return (0, smithy_client_1.expectString)(entry);
6182
6182
  });
6183
6183
  return retVal;
6184
6184
  };
6185
6185
  const deserializeAws_json1_1Predicate = (output, context) => {
6186
6186
  return {
6187
- DataId: smithy_client_1.expectString(output.DataId),
6188
- Negated: smithy_client_1.expectBoolean(output.Negated),
6189
- Type: smithy_client_1.expectString(output.Type),
6187
+ DataId: (0, smithy_client_1.expectString)(output.DataId),
6188
+ Negated: (0, smithy_client_1.expectBoolean)(output.Negated),
6189
+ Type: (0, smithy_client_1.expectString)(output.Type),
6190
6190
  };
6191
6191
  };
6192
6192
  const deserializeAws_json1_1Predicates = (output, context) => {
@@ -6215,11 +6215,11 @@ const deserializeAws_json1_1RateBasedRule = (output, context) => {
6215
6215
  MatchPredicates: output.MatchPredicates !== undefined && output.MatchPredicates !== null
6216
6216
  ? deserializeAws_json1_1Predicates(output.MatchPredicates, context)
6217
6217
  : undefined,
6218
- MetricName: smithy_client_1.expectString(output.MetricName),
6219
- Name: smithy_client_1.expectString(output.Name),
6220
- RateKey: smithy_client_1.expectString(output.RateKey),
6221
- RateLimit: smithy_client_1.expectLong(output.RateLimit),
6222
- RuleId: smithy_client_1.expectString(output.RuleId),
6218
+ MetricName: (0, smithy_client_1.expectString)(output.MetricName),
6219
+ Name: (0, smithy_client_1.expectString)(output.Name),
6220
+ RateKey: (0, smithy_client_1.expectString)(output.RateKey),
6221
+ RateLimit: (0, smithy_client_1.expectLong)(output.RateLimit),
6222
+ RuleId: (0, smithy_client_1.expectString)(output.RuleId),
6223
6223
  };
6224
6224
  };
6225
6225
  const deserializeAws_json1_1RedactedFields = (output, context) => {
@@ -6235,8 +6235,8 @@ const deserializeAws_json1_1RedactedFields = (output, context) => {
6235
6235
  };
6236
6236
  const deserializeAws_json1_1RegexMatchSet = (output, context) => {
6237
6237
  return {
6238
- Name: smithy_client_1.expectString(output.Name),
6239
- RegexMatchSetId: smithy_client_1.expectString(output.RegexMatchSetId),
6238
+ Name: (0, smithy_client_1.expectString)(output.Name),
6239
+ RegexMatchSetId: (0, smithy_client_1.expectString)(output.RegexMatchSetId),
6240
6240
  RegexMatchTuples: output.RegexMatchTuples !== undefined && output.RegexMatchTuples !== null
6241
6241
  ? deserializeAws_json1_1RegexMatchTuples(output.RegexMatchTuples, context)
6242
6242
  : undefined,
@@ -6255,8 +6255,8 @@ const deserializeAws_json1_1RegexMatchSetSummaries = (output, context) => {
6255
6255
  };
6256
6256
  const deserializeAws_json1_1RegexMatchSetSummary = (output, context) => {
6257
6257
  return {
6258
- Name: smithy_client_1.expectString(output.Name),
6259
- RegexMatchSetId: smithy_client_1.expectString(output.RegexMatchSetId),
6258
+ Name: (0, smithy_client_1.expectString)(output.Name),
6259
+ RegexMatchSetId: (0, smithy_client_1.expectString)(output.RegexMatchSetId),
6260
6260
  };
6261
6261
  };
6262
6262
  const deserializeAws_json1_1RegexMatchTuple = (output, context) => {
@@ -6264,8 +6264,8 @@ const deserializeAws_json1_1RegexMatchTuple = (output, context) => {
6264
6264
  FieldToMatch: output.FieldToMatch !== undefined && output.FieldToMatch !== null
6265
6265
  ? deserializeAws_json1_1FieldToMatch(output.FieldToMatch, context)
6266
6266
  : undefined,
6267
- RegexPatternSetId: smithy_client_1.expectString(output.RegexPatternSetId),
6268
- TextTransformation: smithy_client_1.expectString(output.TextTransformation),
6267
+ RegexPatternSetId: (0, smithy_client_1.expectString)(output.RegexPatternSetId),
6268
+ TextTransformation: (0, smithy_client_1.expectString)(output.TextTransformation),
6269
6269
  };
6270
6270
  };
6271
6271
  const deserializeAws_json1_1RegexMatchTuples = (output, context) => {
@@ -6281,8 +6281,8 @@ const deserializeAws_json1_1RegexMatchTuples = (output, context) => {
6281
6281
  };
6282
6282
  const deserializeAws_json1_1RegexPatternSet = (output, context) => {
6283
6283
  return {
6284
- Name: smithy_client_1.expectString(output.Name),
6285
- RegexPatternSetId: smithy_client_1.expectString(output.RegexPatternSetId),
6284
+ Name: (0, smithy_client_1.expectString)(output.Name),
6285
+ RegexPatternSetId: (0, smithy_client_1.expectString)(output.RegexPatternSetId),
6286
6286
  RegexPatternStrings: output.RegexPatternStrings !== undefined && output.RegexPatternStrings !== null
6287
6287
  ? deserializeAws_json1_1RegexPatternStrings(output.RegexPatternStrings, context)
6288
6288
  : undefined,
@@ -6301,8 +6301,8 @@ const deserializeAws_json1_1RegexPatternSetSummaries = (output, context) => {
6301
6301
  };
6302
6302
  const deserializeAws_json1_1RegexPatternSetSummary = (output, context) => {
6303
6303
  return {
6304
- Name: smithy_client_1.expectString(output.Name),
6305
- RegexPatternSetId: smithy_client_1.expectString(output.RegexPatternSetId),
6304
+ Name: (0, smithy_client_1.expectString)(output.Name),
6305
+ RegexPatternSetId: (0, smithy_client_1.expectString)(output.RegexPatternSetId),
6306
6306
  };
6307
6307
  };
6308
6308
  const deserializeAws_json1_1RegexPatternStrings = (output, context) => {
@@ -6312,25 +6312,25 @@ const deserializeAws_json1_1RegexPatternStrings = (output, context) => {
6312
6312
  if (entry === null) {
6313
6313
  return null;
6314
6314
  }
6315
- return smithy_client_1.expectString(entry);
6315
+ return (0, smithy_client_1.expectString)(entry);
6316
6316
  });
6317
6317
  return retVal;
6318
6318
  };
6319
6319
  const deserializeAws_json1_1Rule = (output, context) => {
6320
6320
  return {
6321
- MetricName: smithy_client_1.expectString(output.MetricName),
6322
- Name: smithy_client_1.expectString(output.Name),
6321
+ MetricName: (0, smithy_client_1.expectString)(output.MetricName),
6322
+ Name: (0, smithy_client_1.expectString)(output.Name),
6323
6323
  Predicates: output.Predicates !== undefined && output.Predicates !== null
6324
6324
  ? deserializeAws_json1_1Predicates(output.Predicates, context)
6325
6325
  : undefined,
6326
- RuleId: smithy_client_1.expectString(output.RuleId),
6326
+ RuleId: (0, smithy_client_1.expectString)(output.RuleId),
6327
6327
  };
6328
6328
  };
6329
6329
  const deserializeAws_json1_1RuleGroup = (output, context) => {
6330
6330
  return {
6331
- MetricName: smithy_client_1.expectString(output.MetricName),
6332
- Name: smithy_client_1.expectString(output.Name),
6333
- RuleGroupId: smithy_client_1.expectString(output.RuleGroupId),
6331
+ MetricName: (0, smithy_client_1.expectString)(output.MetricName),
6332
+ Name: (0, smithy_client_1.expectString)(output.Name),
6333
+ RuleGroupId: (0, smithy_client_1.expectString)(output.RuleGroupId),
6334
6334
  };
6335
6335
  };
6336
6336
  const deserializeAws_json1_1RuleGroupSummaries = (output, context) => {
@@ -6346,8 +6346,8 @@ const deserializeAws_json1_1RuleGroupSummaries = (output, context) => {
6346
6346
  };
6347
6347
  const deserializeAws_json1_1RuleGroupSummary = (output, context) => {
6348
6348
  return {
6349
- Name: smithy_client_1.expectString(output.Name),
6350
- RuleGroupId: smithy_client_1.expectString(output.RuleGroupId),
6349
+ Name: (0, smithy_client_1.expectString)(output.Name),
6350
+ RuleGroupId: (0, smithy_client_1.expectString)(output.RuleGroupId),
6351
6351
  };
6352
6352
  };
6353
6353
  const deserializeAws_json1_1RuleSummaries = (output, context) => {
@@ -6363,21 +6363,21 @@ const deserializeAws_json1_1RuleSummaries = (output, context) => {
6363
6363
  };
6364
6364
  const deserializeAws_json1_1RuleSummary = (output, context) => {
6365
6365
  return {
6366
- Name: smithy_client_1.expectString(output.Name),
6367
- RuleId: smithy_client_1.expectString(output.RuleId),
6366
+ Name: (0, smithy_client_1.expectString)(output.Name),
6367
+ RuleId: (0, smithy_client_1.expectString)(output.RuleId),
6368
6368
  };
6369
6369
  };
6370
6370
  const deserializeAws_json1_1SampledHTTPRequest = (output, context) => {
6371
6371
  return {
6372
- Action: smithy_client_1.expectString(output.Action),
6372
+ Action: (0, smithy_client_1.expectString)(output.Action),
6373
6373
  Request: output.Request !== undefined && output.Request !== null
6374
6374
  ? deserializeAws_json1_1HTTPRequest(output.Request, context)
6375
6375
  : undefined,
6376
- RuleWithinRuleGroup: smithy_client_1.expectString(output.RuleWithinRuleGroup),
6376
+ RuleWithinRuleGroup: (0, smithy_client_1.expectString)(output.RuleWithinRuleGroup),
6377
6377
  Timestamp: output.Timestamp !== undefined && output.Timestamp !== null
6378
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Timestamp)))
6378
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp)))
6379
6379
  : undefined,
6380
- Weight: smithy_client_1.expectLong(output.Weight),
6380
+ Weight: (0, smithy_client_1.expectLong)(output.Weight),
6381
6381
  };
6382
6382
  };
6383
6383
  const deserializeAws_json1_1SampledHTTPRequests = (output, context) => {
@@ -6393,12 +6393,12 @@ const deserializeAws_json1_1SampledHTTPRequests = (output, context) => {
6393
6393
  };
6394
6394
  const deserializeAws_json1_1SizeConstraint = (output, context) => {
6395
6395
  return {
6396
- ComparisonOperator: smithy_client_1.expectString(output.ComparisonOperator),
6396
+ ComparisonOperator: (0, smithy_client_1.expectString)(output.ComparisonOperator),
6397
6397
  FieldToMatch: output.FieldToMatch !== undefined && output.FieldToMatch !== null
6398
6398
  ? deserializeAws_json1_1FieldToMatch(output.FieldToMatch, context)
6399
6399
  : undefined,
6400
- Size: smithy_client_1.expectLong(output.Size),
6401
- TextTransformation: smithy_client_1.expectString(output.TextTransformation),
6400
+ Size: (0, smithy_client_1.expectLong)(output.Size),
6401
+ TextTransformation: (0, smithy_client_1.expectString)(output.TextTransformation),
6402
6402
  };
6403
6403
  };
6404
6404
  const deserializeAws_json1_1SizeConstraints = (output, context) => {
@@ -6414,8 +6414,8 @@ const deserializeAws_json1_1SizeConstraints = (output, context) => {
6414
6414
  };
6415
6415
  const deserializeAws_json1_1SizeConstraintSet = (output, context) => {
6416
6416
  return {
6417
- Name: smithy_client_1.expectString(output.Name),
6418
- SizeConstraintSetId: smithy_client_1.expectString(output.SizeConstraintSetId),
6417
+ Name: (0, smithy_client_1.expectString)(output.Name),
6418
+ SizeConstraintSetId: (0, smithy_client_1.expectString)(output.SizeConstraintSetId),
6419
6419
  SizeConstraints: output.SizeConstraints !== undefined && output.SizeConstraints !== null
6420
6420
  ? deserializeAws_json1_1SizeConstraints(output.SizeConstraints, context)
6421
6421
  : undefined,
@@ -6434,14 +6434,14 @@ const deserializeAws_json1_1SizeConstraintSetSummaries = (output, context) => {
6434
6434
  };
6435
6435
  const deserializeAws_json1_1SizeConstraintSetSummary = (output, context) => {
6436
6436
  return {
6437
- Name: smithy_client_1.expectString(output.Name),
6438
- SizeConstraintSetId: smithy_client_1.expectString(output.SizeConstraintSetId),
6437
+ Name: (0, smithy_client_1.expectString)(output.Name),
6438
+ SizeConstraintSetId: (0, smithy_client_1.expectString)(output.SizeConstraintSetId),
6439
6439
  };
6440
6440
  };
6441
6441
  const deserializeAws_json1_1SqlInjectionMatchSet = (output, context) => {
6442
6442
  return {
6443
- Name: smithy_client_1.expectString(output.Name),
6444
- SqlInjectionMatchSetId: smithy_client_1.expectString(output.SqlInjectionMatchSetId),
6443
+ Name: (0, smithy_client_1.expectString)(output.Name),
6444
+ SqlInjectionMatchSetId: (0, smithy_client_1.expectString)(output.SqlInjectionMatchSetId),
6445
6445
  SqlInjectionMatchTuples: output.SqlInjectionMatchTuples !== undefined && output.SqlInjectionMatchTuples !== null
6446
6446
  ? deserializeAws_json1_1SqlInjectionMatchTuples(output.SqlInjectionMatchTuples, context)
6447
6447
  : undefined,
@@ -6460,8 +6460,8 @@ const deserializeAws_json1_1SqlInjectionMatchSetSummaries = (output, context) =>
6460
6460
  };
6461
6461
  const deserializeAws_json1_1SqlInjectionMatchSetSummary = (output, context) => {
6462
6462
  return {
6463
- Name: smithy_client_1.expectString(output.Name),
6464
- SqlInjectionMatchSetId: smithy_client_1.expectString(output.SqlInjectionMatchSetId),
6463
+ Name: (0, smithy_client_1.expectString)(output.Name),
6464
+ SqlInjectionMatchSetId: (0, smithy_client_1.expectString)(output.SqlInjectionMatchSetId),
6465
6465
  };
6466
6466
  };
6467
6467
  const deserializeAws_json1_1SqlInjectionMatchTuple = (output, context) => {
@@ -6469,7 +6469,7 @@ const deserializeAws_json1_1SqlInjectionMatchTuple = (output, context) => {
6469
6469
  FieldToMatch: output.FieldToMatch !== undefined && output.FieldToMatch !== null
6470
6470
  ? deserializeAws_json1_1FieldToMatch(output.FieldToMatch, context)
6471
6471
  : undefined,
6472
- TextTransformation: smithy_client_1.expectString(output.TextTransformation),
6472
+ TextTransformation: (0, smithy_client_1.expectString)(output.TextTransformation),
6473
6473
  };
6474
6474
  };
6475
6475
  const deserializeAws_json1_1SqlInjectionMatchTuples = (output, context) => {
@@ -6496,20 +6496,20 @@ const deserializeAws_json1_1SubscribedRuleGroupSummaries = (output, context) =>
6496
6496
  };
6497
6497
  const deserializeAws_json1_1SubscribedRuleGroupSummary = (output, context) => {
6498
6498
  return {
6499
- MetricName: smithy_client_1.expectString(output.MetricName),
6500
- Name: smithy_client_1.expectString(output.Name),
6501
- RuleGroupId: smithy_client_1.expectString(output.RuleGroupId),
6499
+ MetricName: (0, smithy_client_1.expectString)(output.MetricName),
6500
+ Name: (0, smithy_client_1.expectString)(output.Name),
6501
+ RuleGroupId: (0, smithy_client_1.expectString)(output.RuleGroupId),
6502
6502
  };
6503
6503
  };
6504
6504
  const deserializeAws_json1_1Tag = (output, context) => {
6505
6505
  return {
6506
- Key: smithy_client_1.expectString(output.Key),
6507
- Value: smithy_client_1.expectString(output.Value),
6506
+ Key: (0, smithy_client_1.expectString)(output.Key),
6507
+ Value: (0, smithy_client_1.expectString)(output.Value),
6508
6508
  };
6509
6509
  };
6510
6510
  const deserializeAws_json1_1TagInfoForResource = (output, context) => {
6511
6511
  return {
6512
- ResourceARN: smithy_client_1.expectString(output.ResourceARN),
6512
+ ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
6513
6513
  TagList: output.TagList !== undefined && output.TagList !== null
6514
6514
  ? deserializeAws_json1_1TagList(output.TagList, context)
6515
6515
  : undefined,
@@ -6532,10 +6532,10 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
6532
6532
  const deserializeAws_json1_1TimeWindow = (output, context) => {
6533
6533
  return {
6534
6534
  EndTime: output.EndTime !== undefined && output.EndTime !== null
6535
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
6535
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
6536
6536
  : undefined,
6537
6537
  StartTime: output.StartTime !== undefined && output.StartTime !== null
6538
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
6538
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
6539
6539
  : undefined,
6540
6540
  };
6541
6541
  };
@@ -6544,89 +6544,89 @@ const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
6544
6544
  };
6545
6545
  const deserializeAws_json1_1UpdateByteMatchSetResponse = (output, context) => {
6546
6546
  return {
6547
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
6547
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
6548
6548
  };
6549
6549
  };
6550
6550
  const deserializeAws_json1_1UpdateGeoMatchSetResponse = (output, context) => {
6551
6551
  return {
6552
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
6552
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
6553
6553
  };
6554
6554
  };
6555
6555
  const deserializeAws_json1_1UpdateIPSetResponse = (output, context) => {
6556
6556
  return {
6557
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
6557
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
6558
6558
  };
6559
6559
  };
6560
6560
  const deserializeAws_json1_1UpdateRateBasedRuleResponse = (output, context) => {
6561
6561
  return {
6562
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
6562
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
6563
6563
  };
6564
6564
  };
6565
6565
  const deserializeAws_json1_1UpdateRegexMatchSetResponse = (output, context) => {
6566
6566
  return {
6567
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
6567
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
6568
6568
  };
6569
6569
  };
6570
6570
  const deserializeAws_json1_1UpdateRegexPatternSetResponse = (output, context) => {
6571
6571
  return {
6572
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
6572
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
6573
6573
  };
6574
6574
  };
6575
6575
  const deserializeAws_json1_1UpdateRuleGroupResponse = (output, context) => {
6576
6576
  return {
6577
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
6577
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
6578
6578
  };
6579
6579
  };
6580
6580
  const deserializeAws_json1_1UpdateRuleResponse = (output, context) => {
6581
6581
  return {
6582
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
6582
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
6583
6583
  };
6584
6584
  };
6585
6585
  const deserializeAws_json1_1UpdateSizeConstraintSetResponse = (output, context) => {
6586
6586
  return {
6587
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
6587
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
6588
6588
  };
6589
6589
  };
6590
6590
  const deserializeAws_json1_1UpdateSqlInjectionMatchSetResponse = (output, context) => {
6591
6591
  return {
6592
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
6592
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
6593
6593
  };
6594
6594
  };
6595
6595
  const deserializeAws_json1_1UpdateWebACLResponse = (output, context) => {
6596
6596
  return {
6597
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
6597
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
6598
6598
  };
6599
6599
  };
6600
6600
  const deserializeAws_json1_1UpdateXssMatchSetResponse = (output, context) => {
6601
6601
  return {
6602
- ChangeToken: smithy_client_1.expectString(output.ChangeToken),
6602
+ ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
6603
6603
  };
6604
6604
  };
6605
6605
  const deserializeAws_json1_1WafAction = (output, context) => {
6606
6606
  return {
6607
- Type: smithy_client_1.expectString(output.Type),
6607
+ Type: (0, smithy_client_1.expectString)(output.Type),
6608
6608
  };
6609
6609
  };
6610
6610
  const deserializeAws_json1_1WAFBadRequestException = (output, context) => {
6611
6611
  return {
6612
- message: smithy_client_1.expectString(output.message),
6612
+ message: (0, smithy_client_1.expectString)(output.message),
6613
6613
  };
6614
6614
  };
6615
6615
  const deserializeAws_json1_1WAFDisallowedNameException = (output, context) => {
6616
6616
  return {
6617
- message: smithy_client_1.expectString(output.message),
6617
+ message: (0, smithy_client_1.expectString)(output.message),
6618
6618
  };
6619
6619
  };
6620
6620
  const deserializeAws_json1_1WAFEntityMigrationException = (output, context) => {
6621
6621
  return {
6622
- MigrationErrorReason: smithy_client_1.expectString(output.MigrationErrorReason),
6623
- MigrationErrorType: smithy_client_1.expectString(output.MigrationErrorType),
6624
- message: smithy_client_1.expectString(output.message),
6622
+ MigrationErrorReason: (0, smithy_client_1.expectString)(output.MigrationErrorReason),
6623
+ MigrationErrorType: (0, smithy_client_1.expectString)(output.MigrationErrorType),
6624
+ message: (0, smithy_client_1.expectString)(output.message),
6625
6625
  };
6626
6626
  };
6627
6627
  const deserializeAws_json1_1WAFInternalErrorException = (output, context) => {
6628
6628
  return {
6629
- message: smithy_client_1.expectString(output.message),
6629
+ message: (0, smithy_client_1.expectString)(output.message),
6630
6630
  };
6631
6631
  };
6632
6632
  const deserializeAws_json1_1WAFInvalidAccountException = (output, context) => {
@@ -6634,79 +6634,79 @@ const deserializeAws_json1_1WAFInvalidAccountException = (output, context) => {
6634
6634
  };
6635
6635
  const deserializeAws_json1_1WAFInvalidOperationException = (output, context) => {
6636
6636
  return {
6637
- message: smithy_client_1.expectString(output.message),
6637
+ message: (0, smithy_client_1.expectString)(output.message),
6638
6638
  };
6639
6639
  };
6640
6640
  const deserializeAws_json1_1WAFInvalidParameterException = (output, context) => {
6641
6641
  return {
6642
- field: smithy_client_1.expectString(output.field),
6643
- parameter: smithy_client_1.expectString(output.parameter),
6644
- reason: smithy_client_1.expectString(output.reason),
6642
+ field: (0, smithy_client_1.expectString)(output.field),
6643
+ parameter: (0, smithy_client_1.expectString)(output.parameter),
6644
+ reason: (0, smithy_client_1.expectString)(output.reason),
6645
6645
  };
6646
6646
  };
6647
6647
  const deserializeAws_json1_1WAFInvalidPermissionPolicyException = (output, context) => {
6648
6648
  return {
6649
- message: smithy_client_1.expectString(output.message),
6649
+ message: (0, smithy_client_1.expectString)(output.message),
6650
6650
  };
6651
6651
  };
6652
6652
  const deserializeAws_json1_1WAFInvalidRegexPatternException = (output, context) => {
6653
6653
  return {
6654
- message: smithy_client_1.expectString(output.message),
6654
+ message: (0, smithy_client_1.expectString)(output.message),
6655
6655
  };
6656
6656
  };
6657
6657
  const deserializeAws_json1_1WAFLimitsExceededException = (output, context) => {
6658
6658
  return {
6659
- message: smithy_client_1.expectString(output.message),
6659
+ message: (0, smithy_client_1.expectString)(output.message),
6660
6660
  };
6661
6661
  };
6662
6662
  const deserializeAws_json1_1WAFNonEmptyEntityException = (output, context) => {
6663
6663
  return {
6664
- message: smithy_client_1.expectString(output.message),
6664
+ message: (0, smithy_client_1.expectString)(output.message),
6665
6665
  };
6666
6666
  };
6667
6667
  const deserializeAws_json1_1WAFNonexistentContainerException = (output, context) => {
6668
6668
  return {
6669
- message: smithy_client_1.expectString(output.message),
6669
+ message: (0, smithy_client_1.expectString)(output.message),
6670
6670
  };
6671
6671
  };
6672
6672
  const deserializeAws_json1_1WAFNonexistentItemException = (output, context) => {
6673
6673
  return {
6674
- message: smithy_client_1.expectString(output.message),
6674
+ message: (0, smithy_client_1.expectString)(output.message),
6675
6675
  };
6676
6676
  };
6677
6677
  const deserializeAws_json1_1WafOverrideAction = (output, context) => {
6678
6678
  return {
6679
- Type: smithy_client_1.expectString(output.Type),
6679
+ Type: (0, smithy_client_1.expectString)(output.Type),
6680
6680
  };
6681
6681
  };
6682
6682
  const deserializeAws_json1_1WAFReferencedItemException = (output, context) => {
6683
6683
  return {
6684
- message: smithy_client_1.expectString(output.message),
6684
+ message: (0, smithy_client_1.expectString)(output.message),
6685
6685
  };
6686
6686
  };
6687
6687
  const deserializeAws_json1_1WAFServiceLinkedRoleErrorException = (output, context) => {
6688
6688
  return {
6689
- message: smithy_client_1.expectString(output.message),
6689
+ message: (0, smithy_client_1.expectString)(output.message),
6690
6690
  };
6691
6691
  };
6692
6692
  const deserializeAws_json1_1WAFStaleDataException = (output, context) => {
6693
6693
  return {
6694
- message: smithy_client_1.expectString(output.message),
6694
+ message: (0, smithy_client_1.expectString)(output.message),
6695
6695
  };
6696
6696
  };
6697
6697
  const deserializeAws_json1_1WAFSubscriptionNotFoundException = (output, context) => {
6698
6698
  return {
6699
- message: smithy_client_1.expectString(output.message),
6699
+ message: (0, smithy_client_1.expectString)(output.message),
6700
6700
  };
6701
6701
  };
6702
6702
  const deserializeAws_json1_1WAFTagOperationException = (output, context) => {
6703
6703
  return {
6704
- message: smithy_client_1.expectString(output.message),
6704
+ message: (0, smithy_client_1.expectString)(output.message),
6705
6705
  };
6706
6706
  };
6707
6707
  const deserializeAws_json1_1WAFTagOperationInternalErrorException = (output, context) => {
6708
6708
  return {
6709
- message: smithy_client_1.expectString(output.message),
6709
+ message: (0, smithy_client_1.expectString)(output.message),
6710
6710
  };
6711
6711
  };
6712
6712
  const deserializeAws_json1_1WebACL = (output, context) => {
@@ -6714,13 +6714,13 @@ const deserializeAws_json1_1WebACL = (output, context) => {
6714
6714
  DefaultAction: output.DefaultAction !== undefined && output.DefaultAction !== null
6715
6715
  ? deserializeAws_json1_1WafAction(output.DefaultAction, context)
6716
6716
  : undefined,
6717
- MetricName: smithy_client_1.expectString(output.MetricName),
6718
- Name: smithy_client_1.expectString(output.Name),
6717
+ MetricName: (0, smithy_client_1.expectString)(output.MetricName),
6718
+ Name: (0, smithy_client_1.expectString)(output.Name),
6719
6719
  Rules: output.Rules !== undefined && output.Rules !== null
6720
6720
  ? deserializeAws_json1_1ActivatedRules(output.Rules, context)
6721
6721
  : undefined,
6722
- WebACLArn: smithy_client_1.expectString(output.WebACLArn),
6723
- WebACLId: smithy_client_1.expectString(output.WebACLId),
6722
+ WebACLArn: (0, smithy_client_1.expectString)(output.WebACLArn),
6723
+ WebACLId: (0, smithy_client_1.expectString)(output.WebACLId),
6724
6724
  };
6725
6725
  };
6726
6726
  const deserializeAws_json1_1WebACLSummaries = (output, context) => {
@@ -6736,14 +6736,14 @@ const deserializeAws_json1_1WebACLSummaries = (output, context) => {
6736
6736
  };
6737
6737
  const deserializeAws_json1_1WebACLSummary = (output, context) => {
6738
6738
  return {
6739
- Name: smithy_client_1.expectString(output.Name),
6740
- WebACLId: smithy_client_1.expectString(output.WebACLId),
6739
+ Name: (0, smithy_client_1.expectString)(output.Name),
6740
+ WebACLId: (0, smithy_client_1.expectString)(output.WebACLId),
6741
6741
  };
6742
6742
  };
6743
6743
  const deserializeAws_json1_1XssMatchSet = (output, context) => {
6744
6744
  return {
6745
- Name: smithy_client_1.expectString(output.Name),
6746
- XssMatchSetId: smithy_client_1.expectString(output.XssMatchSetId),
6745
+ Name: (0, smithy_client_1.expectString)(output.Name),
6746
+ XssMatchSetId: (0, smithy_client_1.expectString)(output.XssMatchSetId),
6747
6747
  XssMatchTuples: output.XssMatchTuples !== undefined && output.XssMatchTuples !== null
6748
6748
  ? deserializeAws_json1_1XssMatchTuples(output.XssMatchTuples, context)
6749
6749
  : undefined,
@@ -6762,8 +6762,8 @@ const deserializeAws_json1_1XssMatchSetSummaries = (output, context) => {
6762
6762
  };
6763
6763
  const deserializeAws_json1_1XssMatchSetSummary = (output, context) => {
6764
6764
  return {
6765
- Name: smithy_client_1.expectString(output.Name),
6766
- XssMatchSetId: smithy_client_1.expectString(output.XssMatchSetId),
6765
+ Name: (0, smithy_client_1.expectString)(output.Name),
6766
+ XssMatchSetId: (0, smithy_client_1.expectString)(output.XssMatchSetId),
6767
6767
  };
6768
6768
  };
6769
6769
  const deserializeAws_json1_1XssMatchTuple = (output, context) => {
@@ -6771,7 +6771,7 @@ const deserializeAws_json1_1XssMatchTuple = (output, context) => {
6771
6771
  FieldToMatch: output.FieldToMatch !== undefined && output.FieldToMatch !== null
6772
6772
  ? deserializeAws_json1_1FieldToMatch(output.FieldToMatch, context)
6773
6773
  : undefined,
6774
- TextTransformation: smithy_client_1.expectString(output.TextTransformation),
6774
+ TextTransformation: (0, smithy_client_1.expectString)(output.TextTransformation),
6775
6775
  };
6776
6776
  };
6777
6777
  const deserializeAws_json1_1XssMatchTuples = (output, context) => {