@aws-sdk/client-wafv2 3.54.1 → 3.55.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 (59) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-cjs/WAFV2Client.js +13 -13
  3. package/dist-cjs/commands/AssociateWebACLCommand.js +3 -3
  4. package/dist-cjs/commands/CheckCapacityCommand.js +3 -3
  5. package/dist-cjs/commands/CreateIPSetCommand.js +3 -3
  6. package/dist-cjs/commands/CreateRegexPatternSetCommand.js +3 -3
  7. package/dist-cjs/commands/CreateRuleGroupCommand.js +3 -3
  8. package/dist-cjs/commands/CreateWebACLCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteFirewallManagerRuleGroupsCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteIPSetCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +3 -3
  12. package/dist-cjs/commands/DeletePermissionPolicyCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteRuleGroupCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteWebACLCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeManagedRuleGroupCommand.js +3 -3
  17. package/dist-cjs/commands/DisassociateWebACLCommand.js +3 -3
  18. package/dist-cjs/commands/GenerateMobileSdkReleaseUrlCommand.js +3 -3
  19. package/dist-cjs/commands/GetIPSetCommand.js +3 -3
  20. package/dist-cjs/commands/GetLoggingConfigurationCommand.js +3 -3
  21. package/dist-cjs/commands/GetManagedRuleSetCommand.js +3 -3
  22. package/dist-cjs/commands/GetMobileSdkReleaseCommand.js +3 -3
  23. package/dist-cjs/commands/GetPermissionPolicyCommand.js +3 -3
  24. package/dist-cjs/commands/GetRateBasedStatementManagedKeysCommand.js +3 -3
  25. package/dist-cjs/commands/GetRegexPatternSetCommand.js +3 -3
  26. package/dist-cjs/commands/GetRuleGroupCommand.js +3 -3
  27. package/dist-cjs/commands/GetSampledRequestsCommand.js +3 -3
  28. package/dist-cjs/commands/GetWebACLCommand.js +3 -3
  29. package/dist-cjs/commands/GetWebACLForResourceCommand.js +3 -3
  30. package/dist-cjs/commands/ListAvailableManagedRuleGroupVersionsCommand.js +3 -3
  31. package/dist-cjs/commands/ListAvailableManagedRuleGroupsCommand.js +3 -3
  32. package/dist-cjs/commands/ListIPSetsCommand.js +3 -3
  33. package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +3 -3
  34. package/dist-cjs/commands/ListManagedRuleSetsCommand.js +3 -3
  35. package/dist-cjs/commands/ListMobileSdkReleasesCommand.js +3 -3
  36. package/dist-cjs/commands/ListRegexPatternSetsCommand.js +3 -3
  37. package/dist-cjs/commands/ListResourcesForWebACLCommand.js +3 -3
  38. package/dist-cjs/commands/ListRuleGroupsCommand.js +3 -3
  39. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  40. package/dist-cjs/commands/ListWebACLsCommand.js +3 -3
  41. package/dist-cjs/commands/PutLoggingConfigurationCommand.js +3 -3
  42. package/dist-cjs/commands/PutManagedRuleSetVersionsCommand.js +3 -3
  43. package/dist-cjs/commands/PutPermissionPolicyCommand.js +3 -3
  44. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  45. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  46. package/dist-cjs/commands/UpdateIPSetCommand.js +3 -3
  47. package/dist-cjs/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +3 -3
  48. package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +3 -3
  49. package/dist-cjs/commands/UpdateRuleGroupCommand.js +3 -3
  50. package/dist-cjs/commands/UpdateWebACLCommand.js +3 -3
  51. package/dist-cjs/endpoints.js +1 -1
  52. package/dist-cjs/protocols/Aws_json1_1.js +269 -269
  53. package/dist-cjs/runtimeConfig.browser.js +4 -4
  54. package/dist-cjs/runtimeConfig.js +9 -9
  55. package/dist-cjs/runtimeConfig.native.js +1 -1
  56. package/dist-es/WAFV2.js +48 -48
  57. package/dist-types/runtimeConfig.native.d.ts +2 -2
  58. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  59. package/package.json +34 -34
@@ -531,7 +531,7 @@ const deserializeAws_json1_1AssociateWebACLCommandError = async (output, context
531
531
  $fault: "client",
532
532
  $metadata: deserializeMetadata(output),
533
533
  });
534
- throw smithy_client_1.decorateServiceException(response, parsedBody);
534
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
535
535
  }
536
536
  };
537
537
  const deserializeAws_json1_1CheckCapacityCommand = async (output, context) => {
@@ -588,7 +588,7 @@ const deserializeAws_json1_1CheckCapacityCommandError = async (output, context)
588
588
  $fault: "client",
589
589
  $metadata: deserializeMetadata(output),
590
590
  });
591
- throw smithy_client_1.decorateServiceException(response, parsedBody);
591
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
592
592
  }
593
593
  };
594
594
  const deserializeAws_json1_1CreateIPSetCommand = async (output, context) => {
@@ -645,7 +645,7 @@ const deserializeAws_json1_1CreateIPSetCommandError = async (output, context) =>
645
645
  $fault: "client",
646
646
  $metadata: deserializeMetadata(output),
647
647
  });
648
- throw smithy_client_1.decorateServiceException(response, parsedBody);
648
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
649
649
  }
650
650
  };
651
651
  const deserializeAws_json1_1CreateRegexPatternSetCommand = async (output, context) => {
@@ -702,7 +702,7 @@ const deserializeAws_json1_1CreateRegexPatternSetCommandError = async (output, c
702
702
  $fault: "client",
703
703
  $metadata: deserializeMetadata(output),
704
704
  });
705
- throw smithy_client_1.decorateServiceException(response, parsedBody);
705
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
706
706
  }
707
707
  };
708
708
  const deserializeAws_json1_1CreateRuleGroupCommand = async (output, context) => {
@@ -768,7 +768,7 @@ const deserializeAws_json1_1CreateRuleGroupCommandError = async (output, context
768
768
  $fault: "client",
769
769
  $metadata: deserializeMetadata(output),
770
770
  });
771
- throw smithy_client_1.decorateServiceException(response, parsedBody);
771
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
772
772
  }
773
773
  };
774
774
  const deserializeAws_json1_1CreateWebACLCommand = async (output, context) => {
@@ -837,7 +837,7 @@ const deserializeAws_json1_1CreateWebACLCommandError = async (output, context) =
837
837
  $fault: "client",
838
838
  $metadata: deserializeMetadata(output),
839
839
  });
840
- throw smithy_client_1.decorateServiceException(response, parsedBody);
840
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
841
841
  }
842
842
  };
843
843
  const deserializeAws_json1_1DeleteFirewallManagerRuleGroupsCommand = async (output, context) => {
@@ -885,7 +885,7 @@ const deserializeAws_json1_1DeleteFirewallManagerRuleGroupsCommandError = async
885
885
  $fault: "client",
886
886
  $metadata: deserializeMetadata(output),
887
887
  });
888
- throw smithy_client_1.decorateServiceException(response, parsedBody);
888
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
889
889
  }
890
890
  };
891
891
  const deserializeAws_json1_1DeleteIPSetCommand = async (output, context) => {
@@ -942,7 +942,7 @@ const deserializeAws_json1_1DeleteIPSetCommandError = async (output, context) =>
942
942
  $fault: "client",
943
943
  $metadata: deserializeMetadata(output),
944
944
  });
945
- throw smithy_client_1.decorateServiceException(response, parsedBody);
945
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
946
946
  }
947
947
  };
948
948
  const deserializeAws_json1_1DeleteLoggingConfigurationCommand = async (output, context) => {
@@ -990,7 +990,7 @@ const deserializeAws_json1_1DeleteLoggingConfigurationCommandError = async (outp
990
990
  $fault: "client",
991
991
  $metadata: deserializeMetadata(output),
992
992
  });
993
- throw smithy_client_1.decorateServiceException(response, parsedBody);
993
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
994
994
  }
995
995
  };
996
996
  const deserializeAws_json1_1DeletePermissionPolicyCommand = async (output, context) => {
@@ -1032,7 +1032,7 @@ const deserializeAws_json1_1DeletePermissionPolicyCommandError = async (output,
1032
1032
  $fault: "client",
1033
1033
  $metadata: deserializeMetadata(output),
1034
1034
  });
1035
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1035
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1036
1036
  }
1037
1037
  };
1038
1038
  const deserializeAws_json1_1DeleteRegexPatternSetCommand = async (output, context) => {
@@ -1089,7 +1089,7 @@ const deserializeAws_json1_1DeleteRegexPatternSetCommandError = async (output, c
1089
1089
  $fault: "client",
1090
1090
  $metadata: deserializeMetadata(output),
1091
1091
  });
1092
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1092
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1093
1093
  }
1094
1094
  };
1095
1095
  const deserializeAws_json1_1DeleteRuleGroupCommand = async (output, context) => {
@@ -1146,7 +1146,7 @@ const deserializeAws_json1_1DeleteRuleGroupCommandError = async (output, context
1146
1146
  $fault: "client",
1147
1147
  $metadata: deserializeMetadata(output),
1148
1148
  });
1149
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1149
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1150
1150
  }
1151
1151
  };
1152
1152
  const deserializeAws_json1_1DeleteWebACLCommand = async (output, context) => {
@@ -1203,7 +1203,7 @@ const deserializeAws_json1_1DeleteWebACLCommandError = async (output, context) =
1203
1203
  $fault: "client",
1204
1204
  $metadata: deserializeMetadata(output),
1205
1205
  });
1206
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1206
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1207
1207
  }
1208
1208
  };
1209
1209
  const deserializeAws_json1_1DescribeManagedRuleGroupCommand = async (output, context) => {
@@ -1254,7 +1254,7 @@ const deserializeAws_json1_1DescribeManagedRuleGroupCommandError = async (output
1254
1254
  $fault: "client",
1255
1255
  $metadata: deserializeMetadata(output),
1256
1256
  });
1257
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1257
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1258
1258
  }
1259
1259
  };
1260
1260
  const deserializeAws_json1_1DisassociateWebACLCommand = async (output, context) => {
@@ -1299,7 +1299,7 @@ const deserializeAws_json1_1DisassociateWebACLCommandError = async (output, cont
1299
1299
  $fault: "client",
1300
1300
  $metadata: deserializeMetadata(output),
1301
1301
  });
1302
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1302
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1303
1303
  }
1304
1304
  };
1305
1305
  const deserializeAws_json1_1GenerateMobileSdkReleaseUrlCommand = async (output, context) => {
@@ -1344,7 +1344,7 @@ const deserializeAws_json1_1GenerateMobileSdkReleaseUrlCommandError = async (out
1344
1344
  $fault: "client",
1345
1345
  $metadata: deserializeMetadata(output),
1346
1346
  });
1347
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1347
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1348
1348
  }
1349
1349
  };
1350
1350
  const deserializeAws_json1_1GetIPSetCommand = async (output, context) => {
@@ -1389,7 +1389,7 @@ const deserializeAws_json1_1GetIPSetCommandError = async (output, context) => {
1389
1389
  $fault: "client",
1390
1390
  $metadata: deserializeMetadata(output),
1391
1391
  });
1392
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1392
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1393
1393
  }
1394
1394
  };
1395
1395
  const deserializeAws_json1_1GetLoggingConfigurationCommand = async (output, context) => {
@@ -1434,7 +1434,7 @@ const deserializeAws_json1_1GetLoggingConfigurationCommandError = async (output,
1434
1434
  $fault: "client",
1435
1435
  $metadata: deserializeMetadata(output),
1436
1436
  });
1437
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1437
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1438
1438
  }
1439
1439
  };
1440
1440
  const deserializeAws_json1_1GetManagedRuleSetCommand = async (output, context) => {
@@ -1479,7 +1479,7 @@ const deserializeAws_json1_1GetManagedRuleSetCommandError = async (output, conte
1479
1479
  $fault: "client",
1480
1480
  $metadata: deserializeMetadata(output),
1481
1481
  });
1482
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1482
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1483
1483
  }
1484
1484
  };
1485
1485
  const deserializeAws_json1_1GetMobileSdkReleaseCommand = async (output, context) => {
@@ -1524,7 +1524,7 @@ const deserializeAws_json1_1GetMobileSdkReleaseCommandError = async (output, con
1524
1524
  $fault: "client",
1525
1525
  $metadata: deserializeMetadata(output),
1526
1526
  });
1527
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1527
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1528
1528
  }
1529
1529
  };
1530
1530
  const deserializeAws_json1_1GetPermissionPolicyCommand = async (output, context) => {
@@ -1566,7 +1566,7 @@ const deserializeAws_json1_1GetPermissionPolicyCommandError = async (output, con
1566
1566
  $fault: "client",
1567
1567
  $metadata: deserializeMetadata(output),
1568
1568
  });
1569
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1569
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1570
1570
  }
1571
1571
  };
1572
1572
  const deserializeAws_json1_1GetRateBasedStatementManagedKeysCommand = async (output, context) => {
@@ -1611,7 +1611,7 @@ const deserializeAws_json1_1GetRateBasedStatementManagedKeysCommandError = async
1611
1611
  $fault: "client",
1612
1612
  $metadata: deserializeMetadata(output),
1613
1613
  });
1614
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1614
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1615
1615
  }
1616
1616
  };
1617
1617
  const deserializeAws_json1_1GetRegexPatternSetCommand = async (output, context) => {
@@ -1656,7 +1656,7 @@ const deserializeAws_json1_1GetRegexPatternSetCommandError = async (output, cont
1656
1656
  $fault: "client",
1657
1657
  $metadata: deserializeMetadata(output),
1658
1658
  });
1659
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1659
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1660
1660
  }
1661
1661
  };
1662
1662
  const deserializeAws_json1_1GetRuleGroupCommand = async (output, context) => {
@@ -1701,7 +1701,7 @@ const deserializeAws_json1_1GetRuleGroupCommandError = async (output, context) =
1701
1701
  $fault: "client",
1702
1702
  $metadata: deserializeMetadata(output),
1703
1703
  });
1704
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1704
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1705
1705
  }
1706
1706
  };
1707
1707
  const deserializeAws_json1_1GetSampledRequestsCommand = async (output, context) => {
@@ -1743,7 +1743,7 @@ const deserializeAws_json1_1GetSampledRequestsCommandError = async (output, cont
1743
1743
  $fault: "client",
1744
1744
  $metadata: deserializeMetadata(output),
1745
1745
  });
1746
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1746
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1747
1747
  }
1748
1748
  };
1749
1749
  const deserializeAws_json1_1GetWebACLCommand = async (output, context) => {
@@ -1788,7 +1788,7 @@ const deserializeAws_json1_1GetWebACLCommandError = async (output, context) => {
1788
1788
  $fault: "client",
1789
1789
  $metadata: deserializeMetadata(output),
1790
1790
  });
1791
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1791
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1792
1792
  }
1793
1793
  };
1794
1794
  const deserializeAws_json1_1GetWebACLForResourceCommand = async (output, context) => {
@@ -1836,7 +1836,7 @@ const deserializeAws_json1_1GetWebACLForResourceCommandError = async (output, co
1836
1836
  $fault: "client",
1837
1837
  $metadata: deserializeMetadata(output),
1838
1838
  });
1839
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1839
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1840
1840
  }
1841
1841
  };
1842
1842
  const deserializeAws_json1_1ListAvailableManagedRuleGroupsCommand = async (output, context) => {
@@ -1878,7 +1878,7 @@ const deserializeAws_json1_1ListAvailableManagedRuleGroupsCommandError = async (
1878
1878
  $fault: "client",
1879
1879
  $metadata: deserializeMetadata(output),
1880
1880
  });
1881
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1881
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1882
1882
  }
1883
1883
  };
1884
1884
  const deserializeAws_json1_1ListAvailableManagedRuleGroupVersionsCommand = async (output, context) => {
@@ -1920,7 +1920,7 @@ const deserializeAws_json1_1ListAvailableManagedRuleGroupVersionsCommandError =
1920
1920
  $fault: "client",
1921
1921
  $metadata: deserializeMetadata(output),
1922
1922
  });
1923
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1923
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1924
1924
  }
1925
1925
  };
1926
1926
  const deserializeAws_json1_1ListIPSetsCommand = async (output, context) => {
@@ -1962,7 +1962,7 @@ const deserializeAws_json1_1ListIPSetsCommandError = async (output, context) =>
1962
1962
  $fault: "client",
1963
1963
  $metadata: deserializeMetadata(output),
1964
1964
  });
1965
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1965
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1966
1966
  }
1967
1967
  };
1968
1968
  const deserializeAws_json1_1ListLoggingConfigurationsCommand = async (output, context) => {
@@ -2004,7 +2004,7 @@ const deserializeAws_json1_1ListLoggingConfigurationsCommandError = async (outpu
2004
2004
  $fault: "client",
2005
2005
  $metadata: deserializeMetadata(output),
2006
2006
  });
2007
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2007
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2008
2008
  }
2009
2009
  };
2010
2010
  const deserializeAws_json1_1ListManagedRuleSetsCommand = async (output, context) => {
@@ -2046,7 +2046,7 @@ const deserializeAws_json1_1ListManagedRuleSetsCommandError = async (output, con
2046
2046
  $fault: "client",
2047
2047
  $metadata: deserializeMetadata(output),
2048
2048
  });
2049
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2049
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2050
2050
  }
2051
2051
  };
2052
2052
  const deserializeAws_json1_1ListMobileSdkReleasesCommand = async (output, context) => {
@@ -2088,7 +2088,7 @@ const deserializeAws_json1_1ListMobileSdkReleasesCommandError = async (output, c
2088
2088
  $fault: "client",
2089
2089
  $metadata: deserializeMetadata(output),
2090
2090
  });
2091
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2091
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2092
2092
  }
2093
2093
  };
2094
2094
  const deserializeAws_json1_1ListRegexPatternSetsCommand = async (output, context) => {
@@ -2130,7 +2130,7 @@ const deserializeAws_json1_1ListRegexPatternSetsCommandError = async (output, co
2130
2130
  $fault: "client",
2131
2131
  $metadata: deserializeMetadata(output),
2132
2132
  });
2133
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2133
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2134
2134
  }
2135
2135
  };
2136
2136
  const deserializeAws_json1_1ListResourcesForWebACLCommand = async (output, context) => {
@@ -2175,7 +2175,7 @@ const deserializeAws_json1_1ListResourcesForWebACLCommandError = async (output,
2175
2175
  $fault: "client",
2176
2176
  $metadata: deserializeMetadata(output),
2177
2177
  });
2178
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2178
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2179
2179
  }
2180
2180
  };
2181
2181
  const deserializeAws_json1_1ListRuleGroupsCommand = async (output, context) => {
@@ -2217,7 +2217,7 @@ const deserializeAws_json1_1ListRuleGroupsCommandError = async (output, context)
2217
2217
  $fault: "client",
2218
2218
  $metadata: deserializeMetadata(output),
2219
2219
  });
2220
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2220
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2221
2221
  }
2222
2222
  };
2223
2223
  const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
@@ -2268,7 +2268,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
2268
2268
  $fault: "client",
2269
2269
  $metadata: deserializeMetadata(output),
2270
2270
  });
2271
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2271
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2272
2272
  }
2273
2273
  };
2274
2274
  const deserializeAws_json1_1ListWebACLsCommand = async (output, context) => {
@@ -2310,7 +2310,7 @@ const deserializeAws_json1_1ListWebACLsCommandError = async (output, context) =>
2310
2310
  $fault: "client",
2311
2311
  $metadata: deserializeMetadata(output),
2312
2312
  });
2313
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2313
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2314
2314
  }
2315
2315
  };
2316
2316
  const deserializeAws_json1_1PutLoggingConfigurationCommand = async (output, context) => {
@@ -2367,7 +2367,7 @@ const deserializeAws_json1_1PutLoggingConfigurationCommandError = async (output,
2367
2367
  $fault: "client",
2368
2368
  $metadata: deserializeMetadata(output),
2369
2369
  });
2370
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2370
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2371
2371
  }
2372
2372
  };
2373
2373
  const deserializeAws_json1_1PutManagedRuleSetVersionsCommand = async (output, context) => {
@@ -2415,7 +2415,7 @@ const deserializeAws_json1_1PutManagedRuleSetVersionsCommandError = async (outpu
2415
2415
  $fault: "client",
2416
2416
  $metadata: deserializeMetadata(output),
2417
2417
  });
2418
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2418
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2419
2419
  }
2420
2420
  };
2421
2421
  const deserializeAws_json1_1PutPermissionPolicyCommand = async (output, context) => {
@@ -2460,7 +2460,7 @@ const deserializeAws_json1_1PutPermissionPolicyCommandError = async (output, con
2460
2460
  $fault: "client",
2461
2461
  $metadata: deserializeMetadata(output),
2462
2462
  });
2463
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2463
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2464
2464
  }
2465
2465
  };
2466
2466
  const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
@@ -2514,7 +2514,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
2514
2514
  $fault: "client",
2515
2515
  $metadata: deserializeMetadata(output),
2516
2516
  });
2517
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2517
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2518
2518
  }
2519
2519
  };
2520
2520
  const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
@@ -2565,7 +2565,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
2565
2565
  $fault: "client",
2566
2566
  $metadata: deserializeMetadata(output),
2567
2567
  });
2568
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2568
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2569
2569
  }
2570
2570
  };
2571
2571
  const deserializeAws_json1_1UpdateIPSetCommand = async (output, context) => {
@@ -2619,7 +2619,7 @@ const deserializeAws_json1_1UpdateIPSetCommandError = async (output, context) =>
2619
2619
  $fault: "client",
2620
2620
  $metadata: deserializeMetadata(output),
2621
2621
  });
2622
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2622
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2623
2623
  }
2624
2624
  };
2625
2625
  const deserializeAws_json1_1UpdateManagedRuleSetVersionExpiryDateCommand = async (output, context) => {
@@ -2667,7 +2667,7 @@ const deserializeAws_json1_1UpdateManagedRuleSetVersionExpiryDateCommandError =
2667
2667
  $fault: "client",
2668
2668
  $metadata: deserializeMetadata(output),
2669
2669
  });
2670
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2670
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2671
2671
  }
2672
2672
  };
2673
2673
  const deserializeAws_json1_1UpdateRegexPatternSetCommand = async (output, context) => {
@@ -2721,7 +2721,7 @@ const deserializeAws_json1_1UpdateRegexPatternSetCommandError = async (output, c
2721
2721
  $fault: "client",
2722
2722
  $metadata: deserializeMetadata(output),
2723
2723
  });
2724
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2724
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2725
2725
  }
2726
2726
  };
2727
2727
  const deserializeAws_json1_1UpdateRuleGroupCommand = async (output, context) => {
@@ -2781,7 +2781,7 @@ const deserializeAws_json1_1UpdateRuleGroupCommandError = async (output, context
2781
2781
  $fault: "client",
2782
2782
  $metadata: deserializeMetadata(output),
2783
2783
  });
2784
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2784
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2785
2785
  }
2786
2786
  };
2787
2787
  const deserializeAws_json1_1UpdateWebACLCommand = async (output, context) => {
@@ -2847,7 +2847,7 @@ const deserializeAws_json1_1UpdateWebACLCommandError = async (output, context) =
2847
2847
  $fault: "client",
2848
2848
  $metadata: deserializeMetadata(output),
2849
2849
  });
2850
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2850
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2851
2851
  }
2852
2852
  };
2853
2853
  const deserializeAws_json1_1WAFAssociatedItemExceptionResponse = async (parsedOutput, context) => {
@@ -2857,7 +2857,7 @@ const deserializeAws_json1_1WAFAssociatedItemExceptionResponse = async (parsedOu
2857
2857
  $metadata: deserializeMetadata(parsedOutput),
2858
2858
  ...deserialized,
2859
2859
  });
2860
- return smithy_client_1.decorateServiceException(exception, body);
2860
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2861
2861
  };
2862
2862
  const deserializeAws_json1_1WAFDuplicateItemExceptionResponse = async (parsedOutput, context) => {
2863
2863
  const body = parsedOutput.body;
@@ -2866,7 +2866,7 @@ const deserializeAws_json1_1WAFDuplicateItemExceptionResponse = async (parsedOut
2866
2866
  $metadata: deserializeMetadata(parsedOutput),
2867
2867
  ...deserialized,
2868
2868
  });
2869
- return smithy_client_1.decorateServiceException(exception, body);
2869
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2870
2870
  };
2871
2871
  const deserializeAws_json1_1WAFExpiredManagedRuleGroupVersionExceptionResponse = async (parsedOutput, context) => {
2872
2872
  const body = parsedOutput.body;
@@ -2875,7 +2875,7 @@ const deserializeAws_json1_1WAFExpiredManagedRuleGroupVersionExceptionResponse =
2875
2875
  $metadata: deserializeMetadata(parsedOutput),
2876
2876
  ...deserialized,
2877
2877
  });
2878
- return smithy_client_1.decorateServiceException(exception, body);
2878
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2879
2879
  };
2880
2880
  const deserializeAws_json1_1WAFInternalErrorExceptionResponse = async (parsedOutput, context) => {
2881
2881
  const body = parsedOutput.body;
@@ -2884,7 +2884,7 @@ const deserializeAws_json1_1WAFInternalErrorExceptionResponse = async (parsedOut
2884
2884
  $metadata: deserializeMetadata(parsedOutput),
2885
2885
  ...deserialized,
2886
2886
  });
2887
- return smithy_client_1.decorateServiceException(exception, body);
2887
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2888
2888
  };
2889
2889
  const deserializeAws_json1_1WAFInvalidOperationExceptionResponse = async (parsedOutput, context) => {
2890
2890
  const body = parsedOutput.body;
@@ -2893,7 +2893,7 @@ const deserializeAws_json1_1WAFInvalidOperationExceptionResponse = async (parsed
2893
2893
  $metadata: deserializeMetadata(parsedOutput),
2894
2894
  ...deserialized,
2895
2895
  });
2896
- return smithy_client_1.decorateServiceException(exception, body);
2896
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2897
2897
  };
2898
2898
  const deserializeAws_json1_1WAFInvalidParameterExceptionResponse = async (parsedOutput, context) => {
2899
2899
  const body = parsedOutput.body;
@@ -2902,7 +2902,7 @@ const deserializeAws_json1_1WAFInvalidParameterExceptionResponse = async (parsed
2902
2902
  $metadata: deserializeMetadata(parsedOutput),
2903
2903
  ...deserialized,
2904
2904
  });
2905
- return smithy_client_1.decorateServiceException(exception, body);
2905
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2906
2906
  };
2907
2907
  const deserializeAws_json1_1WAFInvalidPermissionPolicyExceptionResponse = async (parsedOutput, context) => {
2908
2908
  const body = parsedOutput.body;
@@ -2911,7 +2911,7 @@ const deserializeAws_json1_1WAFInvalidPermissionPolicyExceptionResponse = async
2911
2911
  $metadata: deserializeMetadata(parsedOutput),
2912
2912
  ...deserialized,
2913
2913
  });
2914
- return smithy_client_1.decorateServiceException(exception, body);
2914
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2915
2915
  };
2916
2916
  const deserializeAws_json1_1WAFInvalidResourceExceptionResponse = async (parsedOutput, context) => {
2917
2917
  const body = parsedOutput.body;
@@ -2920,7 +2920,7 @@ const deserializeAws_json1_1WAFInvalidResourceExceptionResponse = async (parsedO
2920
2920
  $metadata: deserializeMetadata(parsedOutput),
2921
2921
  ...deserialized,
2922
2922
  });
2923
- return smithy_client_1.decorateServiceException(exception, body);
2923
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2924
2924
  };
2925
2925
  const deserializeAws_json1_1WAFLimitsExceededExceptionResponse = async (parsedOutput, context) => {
2926
2926
  const body = parsedOutput.body;
@@ -2929,7 +2929,7 @@ const deserializeAws_json1_1WAFLimitsExceededExceptionResponse = async (parsedOu
2929
2929
  $metadata: deserializeMetadata(parsedOutput),
2930
2930
  ...deserialized,
2931
2931
  });
2932
- return smithy_client_1.decorateServiceException(exception, body);
2932
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2933
2933
  };
2934
2934
  const deserializeAws_json1_1WAFLogDestinationPermissionIssueExceptionResponse = async (parsedOutput, context) => {
2935
2935
  const body = parsedOutput.body;
@@ -2938,7 +2938,7 @@ const deserializeAws_json1_1WAFLogDestinationPermissionIssueExceptionResponse =
2938
2938
  $metadata: deserializeMetadata(parsedOutput),
2939
2939
  ...deserialized,
2940
2940
  });
2941
- return smithy_client_1.decorateServiceException(exception, body);
2941
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2942
2942
  };
2943
2943
  const deserializeAws_json1_1WAFNonexistentItemExceptionResponse = async (parsedOutput, context) => {
2944
2944
  const body = parsedOutput.body;
@@ -2947,7 +2947,7 @@ const deserializeAws_json1_1WAFNonexistentItemExceptionResponse = async (parsedO
2947
2947
  $metadata: deserializeMetadata(parsedOutput),
2948
2948
  ...deserialized,
2949
2949
  });
2950
- return smithy_client_1.decorateServiceException(exception, body);
2950
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2951
2951
  };
2952
2952
  const deserializeAws_json1_1WAFOptimisticLockExceptionResponse = async (parsedOutput, context) => {
2953
2953
  const body = parsedOutput.body;
@@ -2956,7 +2956,7 @@ const deserializeAws_json1_1WAFOptimisticLockExceptionResponse = async (parsedOu
2956
2956
  $metadata: deserializeMetadata(parsedOutput),
2957
2957
  ...deserialized,
2958
2958
  });
2959
- return smithy_client_1.decorateServiceException(exception, body);
2959
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2960
2960
  };
2961
2961
  const deserializeAws_json1_1WAFServiceLinkedRoleErrorExceptionResponse = async (parsedOutput, context) => {
2962
2962
  const body = parsedOutput.body;
@@ -2965,7 +2965,7 @@ const deserializeAws_json1_1WAFServiceLinkedRoleErrorExceptionResponse = async (
2965
2965
  $metadata: deserializeMetadata(parsedOutput),
2966
2966
  ...deserialized,
2967
2967
  });
2968
- return smithy_client_1.decorateServiceException(exception, body);
2968
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2969
2969
  };
2970
2970
  const deserializeAws_json1_1WAFSubscriptionNotFoundExceptionResponse = async (parsedOutput, context) => {
2971
2971
  const body = parsedOutput.body;
@@ -2974,7 +2974,7 @@ const deserializeAws_json1_1WAFSubscriptionNotFoundExceptionResponse = async (pa
2974
2974
  $metadata: deserializeMetadata(parsedOutput),
2975
2975
  ...deserialized,
2976
2976
  });
2977
- return smithy_client_1.decorateServiceException(exception, body);
2977
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2978
2978
  };
2979
2979
  const deserializeAws_json1_1WAFTagOperationExceptionResponse = async (parsedOutput, context) => {
2980
2980
  const body = parsedOutput.body;
@@ -2983,7 +2983,7 @@ const deserializeAws_json1_1WAFTagOperationExceptionResponse = async (parsedOutp
2983
2983
  $metadata: deserializeMetadata(parsedOutput),
2984
2984
  ...deserialized,
2985
2985
  });
2986
- return smithy_client_1.decorateServiceException(exception, body);
2986
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2987
2987
  };
2988
2988
  const deserializeAws_json1_1WAFTagOperationInternalErrorExceptionResponse = async (parsedOutput, context) => {
2989
2989
  const body = parsedOutput.body;
@@ -2992,7 +2992,7 @@ const deserializeAws_json1_1WAFTagOperationInternalErrorExceptionResponse = asyn
2992
2992
  $metadata: deserializeMetadata(parsedOutput),
2993
2993
  ...deserialized,
2994
2994
  });
2995
- return smithy_client_1.decorateServiceException(exception, body);
2995
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2996
2996
  };
2997
2997
  const deserializeAws_json1_1WAFUnavailableEntityExceptionResponse = async (parsedOutput, context) => {
2998
2998
  const body = parsedOutput.body;
@@ -3001,7 +3001,7 @@ const deserializeAws_json1_1WAFUnavailableEntityExceptionResponse = async (parse
3001
3001
  $metadata: deserializeMetadata(parsedOutput),
3002
3002
  ...deserialized,
3003
3003
  });
3004
- return smithy_client_1.decorateServiceException(exception, body);
3004
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3005
3005
  };
3006
3006
  const serializeAws_json1_1ActionCondition = (input, context) => {
3007
3007
  return {
@@ -4191,7 +4191,7 @@ const serializeAws_json1_1XssMatchStatement = (input, context) => {
4191
4191
  };
4192
4192
  const deserializeAws_json1_1ActionCondition = (output, context) => {
4193
4193
  return {
4194
- Action: smithy_client_1.expectString(output.Action),
4194
+ Action: (0, smithy_client_1.expectString)(output.Action),
4195
4195
  };
4196
4196
  };
4197
4197
  const deserializeAws_json1_1All = (output, context) => {
@@ -4232,7 +4232,7 @@ const deserializeAws_json1_1ByteMatchStatement = (output, context) => {
4232
4232
  FieldToMatch: output.FieldToMatch !== undefined && output.FieldToMatch !== null
4233
4233
  ? deserializeAws_json1_1FieldToMatch(output.FieldToMatch, context)
4234
4234
  : undefined,
4235
- PositionalConstraint: smithy_client_1.expectString(output.PositionalConstraint),
4235
+ PositionalConstraint: (0, smithy_client_1.expectString)(output.PositionalConstraint),
4236
4236
  SearchString: output.SearchString !== undefined && output.SearchString !== null
4237
4237
  ? context.base64Decoder(output.SearchString)
4238
4238
  : undefined,
@@ -4257,14 +4257,14 @@ const deserializeAws_json1_1CaptchaConfig = (output, context) => {
4257
4257
  };
4258
4258
  const deserializeAws_json1_1CaptchaResponse = (output, context) => {
4259
4259
  return {
4260
- FailureReason: smithy_client_1.expectString(output.FailureReason),
4261
- ResponseCode: smithy_client_1.expectInt32(output.ResponseCode),
4262
- SolveTimestamp: smithy_client_1.expectLong(output.SolveTimestamp),
4260
+ FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
4261
+ ResponseCode: (0, smithy_client_1.expectInt32)(output.ResponseCode),
4262
+ SolveTimestamp: (0, smithy_client_1.expectLong)(output.SolveTimestamp),
4263
4263
  };
4264
4264
  };
4265
4265
  const deserializeAws_json1_1CheckCapacityResponse = (output, context) => {
4266
4266
  return {
4267
- Capacity: smithy_client_1.expectLong(output.Capacity),
4267
+ Capacity: (0, smithy_client_1.expectLong)(output.Capacity),
4268
4268
  };
4269
4269
  };
4270
4270
  const deserializeAws_json1_1Condition = (output, context) => {
@@ -4302,7 +4302,7 @@ const deserializeAws_json1_1CountryCodes = (output, context) => {
4302
4302
  if (entry === null) {
4303
4303
  return null;
4304
4304
  }
4305
- return smithy_client_1.expectString(entry);
4305
+ return (0, smithy_client_1.expectString)(entry);
4306
4306
  });
4307
4307
  return retVal;
4308
4308
  };
@@ -4336,8 +4336,8 @@ const deserializeAws_json1_1CreateWebACLResponse = (output, context) => {
4336
4336
  };
4337
4337
  const deserializeAws_json1_1CustomHTTPHeader = (output, context) => {
4338
4338
  return {
4339
- Name: smithy_client_1.expectString(output.Name),
4340
- Value: smithy_client_1.expectString(output.Value),
4339
+ Name: (0, smithy_client_1.expectString)(output.Name),
4340
+ Value: (0, smithy_client_1.expectString)(output.Value),
4341
4341
  };
4342
4342
  };
4343
4343
  const deserializeAws_json1_1CustomHTTPHeaders = (output, context) => {
@@ -4360,8 +4360,8 @@ const deserializeAws_json1_1CustomRequestHandling = (output, context) => {
4360
4360
  };
4361
4361
  const deserializeAws_json1_1CustomResponse = (output, context) => {
4362
4362
  return {
4363
- CustomResponseBodyKey: smithy_client_1.expectString(output.CustomResponseBodyKey),
4364
- ResponseCode: smithy_client_1.expectInt32(output.ResponseCode),
4363
+ CustomResponseBodyKey: (0, smithy_client_1.expectString)(output.CustomResponseBodyKey),
4364
+ ResponseCode: (0, smithy_client_1.expectInt32)(output.ResponseCode),
4365
4365
  ResponseHeaders: output.ResponseHeaders !== undefined && output.ResponseHeaders !== null
4366
4366
  ? deserializeAws_json1_1CustomHTTPHeaders(output.ResponseHeaders, context)
4367
4367
  : undefined,
@@ -4380,8 +4380,8 @@ const deserializeAws_json1_1CustomResponseBodies = (output, context) => {
4380
4380
  };
4381
4381
  const deserializeAws_json1_1CustomResponseBody = (output, context) => {
4382
4382
  return {
4383
- Content: smithy_client_1.expectString(output.Content),
4384
- ContentType: smithy_client_1.expectString(output.ContentType),
4383
+ Content: (0, smithy_client_1.expectString)(output.Content),
4384
+ ContentType: (0, smithy_client_1.expectString)(output.ContentType),
4385
4385
  };
4386
4386
  };
4387
4387
  const deserializeAws_json1_1DefaultAction = (output, context) => {
@@ -4396,7 +4396,7 @@ const deserializeAws_json1_1DefaultAction = (output, context) => {
4396
4396
  };
4397
4397
  const deserializeAws_json1_1DeleteFirewallManagerRuleGroupsResponse = (output, context) => {
4398
4398
  return {
4399
- NextWebACLLockToken: smithy_client_1.expectString(output.NextWebACLLockToken),
4399
+ NextWebACLLockToken: (0, smithy_client_1.expectString)(output.NextWebACLLockToken),
4400
4400
  };
4401
4401
  };
4402
4402
  const deserializeAws_json1_1DeleteIPSetResponse = (output, context) => {
@@ -4422,16 +4422,16 @@ const deserializeAws_json1_1DescribeManagedRuleGroupResponse = (output, context)
4422
4422
  AvailableLabels: output.AvailableLabels !== undefined && output.AvailableLabels !== null
4423
4423
  ? deserializeAws_json1_1LabelSummaries(output.AvailableLabels, context)
4424
4424
  : undefined,
4425
- Capacity: smithy_client_1.expectLong(output.Capacity),
4425
+ Capacity: (0, smithy_client_1.expectLong)(output.Capacity),
4426
4426
  ConsumedLabels: output.ConsumedLabels !== undefined && output.ConsumedLabels !== null
4427
4427
  ? deserializeAws_json1_1LabelSummaries(output.ConsumedLabels, context)
4428
4428
  : undefined,
4429
- LabelNamespace: smithy_client_1.expectString(output.LabelNamespace),
4429
+ LabelNamespace: (0, smithy_client_1.expectString)(output.LabelNamespace),
4430
4430
  Rules: output.Rules !== undefined && output.Rules !== null
4431
4431
  ? deserializeAws_json1_1RuleSummaries(output.Rules, context)
4432
4432
  : undefined,
4433
- SnsTopicArn: smithy_client_1.expectString(output.SnsTopicArn),
4434
- VersionName: smithy_client_1.expectString(output.VersionName),
4433
+ SnsTopicArn: (0, smithy_client_1.expectString)(output.SnsTopicArn),
4434
+ VersionName: (0, smithy_client_1.expectString)(output.VersionName),
4435
4435
  };
4436
4436
  };
4437
4437
  const deserializeAws_json1_1DisassociateWebACLResponse = (output, context) => {
@@ -4439,7 +4439,7 @@ const deserializeAws_json1_1DisassociateWebACLResponse = (output, context) => {
4439
4439
  };
4440
4440
  const deserializeAws_json1_1ExcludedRule = (output, context) => {
4441
4441
  return {
4442
- Name: smithy_client_1.expectString(output.Name),
4442
+ Name: (0, smithy_client_1.expectString)(output.Name),
4443
4443
  };
4444
4444
  };
4445
4445
  const deserializeAws_json1_1ExcludedRules = (output, context) => {
@@ -4481,11 +4481,11 @@ const deserializeAws_json1_1FieldToMatch = (output, context) => {
4481
4481
  };
4482
4482
  const deserializeAws_json1_1Filter = (output, context) => {
4483
4483
  return {
4484
- Behavior: smithy_client_1.expectString(output.Behavior),
4484
+ Behavior: (0, smithy_client_1.expectString)(output.Behavior),
4485
4485
  Conditions: output.Conditions !== undefined && output.Conditions !== null
4486
4486
  ? deserializeAws_json1_1Conditions(output.Conditions, context)
4487
4487
  : undefined,
4488
- Requirement: smithy_client_1.expectString(output.Requirement),
4488
+ Requirement: (0, smithy_client_1.expectString)(output.Requirement),
4489
4489
  };
4490
4490
  };
4491
4491
  const deserializeAws_json1_1Filters = (output, context) => {
@@ -4504,11 +4504,11 @@ const deserializeAws_json1_1FirewallManagerRuleGroup = (output, context) => {
4504
4504
  FirewallManagerStatement: output.FirewallManagerStatement !== undefined && output.FirewallManagerStatement !== null
4505
4505
  ? deserializeAws_json1_1FirewallManagerStatement(output.FirewallManagerStatement, context)
4506
4506
  : undefined,
4507
- Name: smithy_client_1.expectString(output.Name),
4507
+ Name: (0, smithy_client_1.expectString)(output.Name),
4508
4508
  OverrideAction: output.OverrideAction !== undefined && output.OverrideAction !== null
4509
4509
  ? deserializeAws_json1_1OverrideAction(output.OverrideAction, context)
4510
4510
  : undefined,
4511
- Priority: smithy_client_1.expectInt32(output.Priority),
4511
+ Priority: (0, smithy_client_1.expectInt32)(output.Priority),
4512
4512
  VisibilityConfig: output.VisibilityConfig !== undefined && output.VisibilityConfig !== null
4513
4513
  ? deserializeAws_json1_1VisibilityConfig(output.VisibilityConfig, context)
4514
4514
  : undefined,
@@ -4537,13 +4537,13 @@ const deserializeAws_json1_1FirewallManagerStatement = (output, context) => {
4537
4537
  };
4538
4538
  const deserializeAws_json1_1ForwardedIPConfig = (output, context) => {
4539
4539
  return {
4540
- FallbackBehavior: smithy_client_1.expectString(output.FallbackBehavior),
4541
- HeaderName: smithy_client_1.expectString(output.HeaderName),
4540
+ FallbackBehavior: (0, smithy_client_1.expectString)(output.FallbackBehavior),
4541
+ HeaderName: (0, smithy_client_1.expectString)(output.HeaderName),
4542
4542
  };
4543
4543
  };
4544
4544
  const deserializeAws_json1_1GenerateMobileSdkReleaseUrlResponse = (output, context) => {
4545
4545
  return {
4546
- Url: smithy_client_1.expectString(output.Url),
4546
+ Url: (0, smithy_client_1.expectString)(output.Url),
4547
4547
  };
4548
4548
  };
4549
4549
  const deserializeAws_json1_1GeoMatchStatement = (output, context) => {
@@ -4561,7 +4561,7 @@ const deserializeAws_json1_1GetIPSetResponse = (output, context) => {
4561
4561
  IPSet: output.IPSet !== undefined && output.IPSet !== null
4562
4562
  ? deserializeAws_json1_1IPSet(output.IPSet, context)
4563
4563
  : undefined,
4564
- LockToken: smithy_client_1.expectString(output.LockToken),
4564
+ LockToken: (0, smithy_client_1.expectString)(output.LockToken),
4565
4565
  };
4566
4566
  };
4567
4567
  const deserializeAws_json1_1GetLoggingConfigurationResponse = (output, context) => {
@@ -4573,7 +4573,7 @@ const deserializeAws_json1_1GetLoggingConfigurationResponse = (output, context)
4573
4573
  };
4574
4574
  const deserializeAws_json1_1GetManagedRuleSetResponse = (output, context) => {
4575
4575
  return {
4576
- LockToken: smithy_client_1.expectString(output.LockToken),
4576
+ LockToken: (0, smithy_client_1.expectString)(output.LockToken),
4577
4577
  ManagedRuleSet: output.ManagedRuleSet !== undefined && output.ManagedRuleSet !== null
4578
4578
  ? deserializeAws_json1_1ManagedRuleSet(output.ManagedRuleSet, context)
4579
4579
  : undefined,
@@ -4588,7 +4588,7 @@ const deserializeAws_json1_1GetMobileSdkReleaseResponse = (output, context) => {
4588
4588
  };
4589
4589
  const deserializeAws_json1_1GetPermissionPolicyResponse = (output, context) => {
4590
4590
  return {
4591
- Policy: smithy_client_1.expectString(output.Policy),
4591
+ Policy: (0, smithy_client_1.expectString)(output.Policy),
4592
4592
  };
4593
4593
  };
4594
4594
  const deserializeAws_json1_1GetRateBasedStatementManagedKeysResponse = (output, context) => {
@@ -4603,7 +4603,7 @@ const deserializeAws_json1_1GetRateBasedStatementManagedKeysResponse = (output,
4603
4603
  };
4604
4604
  const deserializeAws_json1_1GetRegexPatternSetResponse = (output, context) => {
4605
4605
  return {
4606
- LockToken: smithy_client_1.expectString(output.LockToken),
4606
+ LockToken: (0, smithy_client_1.expectString)(output.LockToken),
4607
4607
  RegexPatternSet: output.RegexPatternSet !== undefined && output.RegexPatternSet !== null
4608
4608
  ? deserializeAws_json1_1RegexPatternSet(output.RegexPatternSet, context)
4609
4609
  : undefined,
@@ -4611,7 +4611,7 @@ const deserializeAws_json1_1GetRegexPatternSetResponse = (output, context) => {
4611
4611
  };
4612
4612
  const deserializeAws_json1_1GetRuleGroupResponse = (output, context) => {
4613
4613
  return {
4614
- LockToken: smithy_client_1.expectString(output.LockToken),
4614
+ LockToken: (0, smithy_client_1.expectString)(output.LockToken),
4615
4615
  RuleGroup: output.RuleGroup !== undefined && output.RuleGroup !== null
4616
4616
  ? deserializeAws_json1_1RuleGroup(output.RuleGroup, context)
4617
4617
  : undefined,
@@ -4619,7 +4619,7 @@ const deserializeAws_json1_1GetRuleGroupResponse = (output, context) => {
4619
4619
  };
4620
4620
  const deserializeAws_json1_1GetSampledRequestsResponse = (output, context) => {
4621
4621
  return {
4622
- PopulationSize: smithy_client_1.expectLong(output.PopulationSize),
4622
+ PopulationSize: (0, smithy_client_1.expectLong)(output.PopulationSize),
4623
4623
  SampledRequests: output.SampledRequests !== undefined && output.SampledRequests !== null
4624
4624
  ? deserializeAws_json1_1SampledHTTPRequests(output.SampledRequests, context)
4625
4625
  : undefined,
@@ -4637,8 +4637,8 @@ const deserializeAws_json1_1GetWebACLForResourceResponse = (output, context) =>
4637
4637
  };
4638
4638
  const deserializeAws_json1_1GetWebACLResponse = (output, context) => {
4639
4639
  return {
4640
- ApplicationIntegrationURL: smithy_client_1.expectString(output.ApplicationIntegrationURL),
4641
- LockToken: smithy_client_1.expectString(output.LockToken),
4640
+ ApplicationIntegrationURL: (0, smithy_client_1.expectString)(output.ApplicationIntegrationURL),
4641
+ LockToken: (0, smithy_client_1.expectString)(output.LockToken),
4642
4642
  WebACL: output.WebACL !== undefined && output.WebACL !== null
4643
4643
  ? deserializeAws_json1_1WebACL(output.WebACL, context)
4644
4644
  : undefined,
@@ -4646,8 +4646,8 @@ const deserializeAws_json1_1GetWebACLResponse = (output, context) => {
4646
4646
  };
4647
4647
  const deserializeAws_json1_1HTTPHeader = (output, context) => {
4648
4648
  return {
4649
- Name: smithy_client_1.expectString(output.Name),
4650
- Value: smithy_client_1.expectString(output.Value),
4649
+ Name: (0, smithy_client_1.expectString)(output.Name),
4650
+ Value: (0, smithy_client_1.expectString)(output.Value),
4651
4651
  };
4652
4652
  };
4653
4653
  const deserializeAws_json1_1HTTPHeaders = (output, context) => {
@@ -4663,19 +4663,19 @@ const deserializeAws_json1_1HTTPHeaders = (output, context) => {
4663
4663
  };
4664
4664
  const deserializeAws_json1_1HTTPRequest = (output, context) => {
4665
4665
  return {
4666
- ClientIP: smithy_client_1.expectString(output.ClientIP),
4667
- Country: smithy_client_1.expectString(output.Country),
4668
- HTTPVersion: smithy_client_1.expectString(output.HTTPVersion),
4666
+ ClientIP: (0, smithy_client_1.expectString)(output.ClientIP),
4667
+ Country: (0, smithy_client_1.expectString)(output.Country),
4668
+ HTTPVersion: (0, smithy_client_1.expectString)(output.HTTPVersion),
4669
4669
  Headers: output.Headers !== undefined && output.Headers !== null
4670
4670
  ? deserializeAws_json1_1HTTPHeaders(output.Headers, context)
4671
4671
  : undefined,
4672
- Method: smithy_client_1.expectString(output.Method),
4673
- URI: smithy_client_1.expectString(output.URI),
4672
+ Method: (0, smithy_client_1.expectString)(output.Method),
4673
+ URI: (0, smithy_client_1.expectString)(output.URI),
4674
4674
  };
4675
4675
  };
4676
4676
  const deserializeAws_json1_1ImmunityTimeProperty = (output, context) => {
4677
4677
  return {
4678
- ImmunityTime: smithy_client_1.expectLong(output.ImmunityTime),
4678
+ ImmunityTime: (0, smithy_client_1.expectLong)(output.ImmunityTime),
4679
4679
  };
4680
4680
  };
4681
4681
  const deserializeAws_json1_1IPAddresses = (output, context) => {
@@ -4685,32 +4685,32 @@ const deserializeAws_json1_1IPAddresses = (output, context) => {
4685
4685
  if (entry === null) {
4686
4686
  return null;
4687
4687
  }
4688
- return smithy_client_1.expectString(entry);
4688
+ return (0, smithy_client_1.expectString)(entry);
4689
4689
  });
4690
4690
  return retVal;
4691
4691
  };
4692
4692
  const deserializeAws_json1_1IPSet = (output, context) => {
4693
4693
  return {
4694
- ARN: smithy_client_1.expectString(output.ARN),
4694
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
4695
4695
  Addresses: output.Addresses !== undefined && output.Addresses !== null
4696
4696
  ? deserializeAws_json1_1IPAddresses(output.Addresses, context)
4697
4697
  : undefined,
4698
- Description: smithy_client_1.expectString(output.Description),
4699
- IPAddressVersion: smithy_client_1.expectString(output.IPAddressVersion),
4700
- Id: smithy_client_1.expectString(output.Id),
4701
- Name: smithy_client_1.expectString(output.Name),
4698
+ Description: (0, smithy_client_1.expectString)(output.Description),
4699
+ IPAddressVersion: (0, smithy_client_1.expectString)(output.IPAddressVersion),
4700
+ Id: (0, smithy_client_1.expectString)(output.Id),
4701
+ Name: (0, smithy_client_1.expectString)(output.Name),
4702
4702
  };
4703
4703
  };
4704
4704
  const deserializeAws_json1_1IPSetForwardedIPConfig = (output, context) => {
4705
4705
  return {
4706
- FallbackBehavior: smithy_client_1.expectString(output.FallbackBehavior),
4707
- HeaderName: smithy_client_1.expectString(output.HeaderName),
4708
- Position: smithy_client_1.expectString(output.Position),
4706
+ FallbackBehavior: (0, smithy_client_1.expectString)(output.FallbackBehavior),
4707
+ HeaderName: (0, smithy_client_1.expectString)(output.HeaderName),
4708
+ Position: (0, smithy_client_1.expectString)(output.Position),
4709
4709
  };
4710
4710
  };
4711
4711
  const deserializeAws_json1_1IPSetReferenceStatement = (output, context) => {
4712
4712
  return {
4713
- ARN: smithy_client_1.expectString(output.ARN),
4713
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
4714
4714
  IPSetForwardedIPConfig: output.IPSetForwardedIPConfig !== undefined && output.IPSetForwardedIPConfig !== null
4715
4715
  ? deserializeAws_json1_1IPSetForwardedIPConfig(output.IPSetForwardedIPConfig, context)
4716
4716
  : undefined,
@@ -4729,20 +4729,20 @@ const deserializeAws_json1_1IPSetSummaries = (output, context) => {
4729
4729
  };
4730
4730
  const deserializeAws_json1_1IPSetSummary = (output, context) => {
4731
4731
  return {
4732
- ARN: smithy_client_1.expectString(output.ARN),
4733
- Description: smithy_client_1.expectString(output.Description),
4734
- Id: smithy_client_1.expectString(output.Id),
4735
- LockToken: smithy_client_1.expectString(output.LockToken),
4736
- Name: smithy_client_1.expectString(output.Name),
4732
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
4733
+ Description: (0, smithy_client_1.expectString)(output.Description),
4734
+ Id: (0, smithy_client_1.expectString)(output.Id),
4735
+ LockToken: (0, smithy_client_1.expectString)(output.LockToken),
4736
+ Name: (0, smithy_client_1.expectString)(output.Name),
4737
4737
  };
4738
4738
  };
4739
4739
  const deserializeAws_json1_1JsonBody = (output, context) => {
4740
4740
  return {
4741
- InvalidFallbackBehavior: smithy_client_1.expectString(output.InvalidFallbackBehavior),
4741
+ InvalidFallbackBehavior: (0, smithy_client_1.expectString)(output.InvalidFallbackBehavior),
4742
4742
  MatchPattern: output.MatchPattern !== undefined && output.MatchPattern !== null
4743
4743
  ? deserializeAws_json1_1JsonMatchPattern(output.MatchPattern, context)
4744
4744
  : undefined,
4745
- MatchScope: smithy_client_1.expectString(output.MatchScope),
4745
+ MatchScope: (0, smithy_client_1.expectString)(output.MatchScope),
4746
4746
  };
4747
4747
  };
4748
4748
  const deserializeAws_json1_1JsonMatchPattern = (output, context) => {
@@ -4760,24 +4760,24 @@ const deserializeAws_json1_1JsonPointerPaths = (output, context) => {
4760
4760
  if (entry === null) {
4761
4761
  return null;
4762
4762
  }
4763
- return smithy_client_1.expectString(entry);
4763
+ return (0, smithy_client_1.expectString)(entry);
4764
4764
  });
4765
4765
  return retVal;
4766
4766
  };
4767
4767
  const deserializeAws_json1_1Label = (output, context) => {
4768
4768
  return {
4769
- Name: smithy_client_1.expectString(output.Name),
4769
+ Name: (0, smithy_client_1.expectString)(output.Name),
4770
4770
  };
4771
4771
  };
4772
4772
  const deserializeAws_json1_1LabelMatchStatement = (output, context) => {
4773
4773
  return {
4774
- Key: smithy_client_1.expectString(output.Key),
4775
- Scope: smithy_client_1.expectString(output.Scope),
4774
+ Key: (0, smithy_client_1.expectString)(output.Key),
4775
+ Scope: (0, smithy_client_1.expectString)(output.Scope),
4776
4776
  };
4777
4777
  };
4778
4778
  const deserializeAws_json1_1LabelNameCondition = (output, context) => {
4779
4779
  return {
4780
- LabelName: smithy_client_1.expectString(output.LabelName),
4780
+ LabelName: (0, smithy_client_1.expectString)(output.LabelName),
4781
4781
  };
4782
4782
  };
4783
4783
  const deserializeAws_json1_1Labels = (output, context) => {
@@ -4804,7 +4804,7 @@ const deserializeAws_json1_1LabelSummaries = (output, context) => {
4804
4804
  };
4805
4805
  const deserializeAws_json1_1LabelSummary = (output, context) => {
4806
4806
  return {
4807
- Name: smithy_client_1.expectString(output.Name),
4807
+ Name: (0, smithy_client_1.expectString)(output.Name),
4808
4808
  };
4809
4809
  };
4810
4810
  const deserializeAws_json1_1ListAvailableManagedRuleGroupsResponse = (output, context) => {
@@ -4812,12 +4812,12 @@ const deserializeAws_json1_1ListAvailableManagedRuleGroupsResponse = (output, co
4812
4812
  ManagedRuleGroups: output.ManagedRuleGroups !== undefined && output.ManagedRuleGroups !== null
4813
4813
  ? deserializeAws_json1_1ManagedRuleGroupSummaries(output.ManagedRuleGroups, context)
4814
4814
  : undefined,
4815
- NextMarker: smithy_client_1.expectString(output.NextMarker),
4815
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
4816
4816
  };
4817
4817
  };
4818
4818
  const deserializeAws_json1_1ListAvailableManagedRuleGroupVersionsResponse = (output, context) => {
4819
4819
  return {
4820
- NextMarker: smithy_client_1.expectString(output.NextMarker),
4820
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
4821
4821
  Versions: output.Versions !== undefined && output.Versions !== null
4822
4822
  ? deserializeAws_json1_1ManagedRuleGroupVersions(output.Versions, context)
4823
4823
  : undefined,
@@ -4828,7 +4828,7 @@ const deserializeAws_json1_1ListIPSetsResponse = (output, context) => {
4828
4828
  IPSets: output.IPSets !== undefined && output.IPSets !== null
4829
4829
  ? deserializeAws_json1_1IPSetSummaries(output.IPSets, context)
4830
4830
  : undefined,
4831
- NextMarker: smithy_client_1.expectString(output.NextMarker),
4831
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
4832
4832
  };
4833
4833
  };
4834
4834
  const deserializeAws_json1_1ListLoggingConfigurationsResponse = (output, context) => {
@@ -4836,7 +4836,7 @@ const deserializeAws_json1_1ListLoggingConfigurationsResponse = (output, context
4836
4836
  LoggingConfigurations: output.LoggingConfigurations !== undefined && output.LoggingConfigurations !== null
4837
4837
  ? deserializeAws_json1_1LoggingConfigurations(output.LoggingConfigurations, context)
4838
4838
  : undefined,
4839
- NextMarker: smithy_client_1.expectString(output.NextMarker),
4839
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
4840
4840
  };
4841
4841
  };
4842
4842
  const deserializeAws_json1_1ListManagedRuleSetsResponse = (output, context) => {
@@ -4844,12 +4844,12 @@ const deserializeAws_json1_1ListManagedRuleSetsResponse = (output, context) => {
4844
4844
  ManagedRuleSets: output.ManagedRuleSets !== undefined && output.ManagedRuleSets !== null
4845
4845
  ? deserializeAws_json1_1ManagedRuleSetSummaries(output.ManagedRuleSets, context)
4846
4846
  : undefined,
4847
- NextMarker: smithy_client_1.expectString(output.NextMarker),
4847
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
4848
4848
  };
4849
4849
  };
4850
4850
  const deserializeAws_json1_1ListMobileSdkReleasesResponse = (output, context) => {
4851
4851
  return {
4852
- NextMarker: smithy_client_1.expectString(output.NextMarker),
4852
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
4853
4853
  ReleaseSummaries: output.ReleaseSummaries !== undefined && output.ReleaseSummaries !== null
4854
4854
  ? deserializeAws_json1_1ReleaseSummaries(output.ReleaseSummaries, context)
4855
4855
  : undefined,
@@ -4857,7 +4857,7 @@ const deserializeAws_json1_1ListMobileSdkReleasesResponse = (output, context) =>
4857
4857
  };
4858
4858
  const deserializeAws_json1_1ListRegexPatternSetsResponse = (output, context) => {
4859
4859
  return {
4860
- NextMarker: smithy_client_1.expectString(output.NextMarker),
4860
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
4861
4861
  RegexPatternSets: output.RegexPatternSets !== undefined && output.RegexPatternSets !== null
4862
4862
  ? deserializeAws_json1_1RegexPatternSetSummaries(output.RegexPatternSets, context)
4863
4863
  : undefined,
@@ -4872,7 +4872,7 @@ const deserializeAws_json1_1ListResourcesForWebACLResponse = (output, context) =
4872
4872
  };
4873
4873
  const deserializeAws_json1_1ListRuleGroupsResponse = (output, context) => {
4874
4874
  return {
4875
- NextMarker: smithy_client_1.expectString(output.NextMarker),
4875
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
4876
4876
  RuleGroups: output.RuleGroups !== undefined && output.RuleGroups !== null
4877
4877
  ? deserializeAws_json1_1RuleGroupSummaries(output.RuleGroups, context)
4878
4878
  : undefined,
@@ -4880,7 +4880,7 @@ const deserializeAws_json1_1ListRuleGroupsResponse = (output, context) => {
4880
4880
  };
4881
4881
  const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
4882
4882
  return {
4883
- NextMarker: smithy_client_1.expectString(output.NextMarker),
4883
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
4884
4884
  TagInfoForResource: output.TagInfoForResource !== undefined && output.TagInfoForResource !== null
4885
4885
  ? deserializeAws_json1_1TagInfoForResource(output.TagInfoForResource, context)
4886
4886
  : undefined,
@@ -4888,7 +4888,7 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
4888
4888
  };
4889
4889
  const deserializeAws_json1_1ListWebACLsResponse = (output, context) => {
4890
4890
  return {
4891
- NextMarker: smithy_client_1.expectString(output.NextMarker),
4891
+ NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
4892
4892
  WebACLs: output.WebACLs !== undefined && output.WebACLs !== null
4893
4893
  ? deserializeAws_json1_1WebACLSummaries(output.WebACLs, context)
4894
4894
  : undefined,
@@ -4901,7 +4901,7 @@ const deserializeAws_json1_1LogDestinationConfigs = (output, context) => {
4901
4901
  if (entry === null) {
4902
4902
  return null;
4903
4903
  }
4904
- return smithy_client_1.expectString(entry);
4904
+ return (0, smithy_client_1.expectString)(entry);
4905
4905
  });
4906
4906
  return retVal;
4907
4907
  };
@@ -4913,11 +4913,11 @@ const deserializeAws_json1_1LoggingConfiguration = (output, context) => {
4913
4913
  LoggingFilter: output.LoggingFilter !== undefined && output.LoggingFilter !== null
4914
4914
  ? deserializeAws_json1_1LoggingFilter(output.LoggingFilter, context)
4915
4915
  : undefined,
4916
- ManagedByFirewallManager: smithy_client_1.expectBoolean(output.ManagedByFirewallManager),
4916
+ ManagedByFirewallManager: (0, smithy_client_1.expectBoolean)(output.ManagedByFirewallManager),
4917
4917
  RedactedFields: output.RedactedFields !== undefined && output.RedactedFields !== null
4918
4918
  ? deserializeAws_json1_1RedactedFields(output.RedactedFields, context)
4919
4919
  : undefined,
4920
- ResourceArn: smithy_client_1.expectString(output.ResourceArn),
4920
+ ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
4921
4921
  };
4922
4922
  };
4923
4923
  const deserializeAws_json1_1LoggingConfigurations = (output, context) => {
@@ -4933,7 +4933,7 @@ const deserializeAws_json1_1LoggingConfigurations = (output, context) => {
4933
4933
  };
4934
4934
  const deserializeAws_json1_1LoggingFilter = (output, context) => {
4935
4935
  return {
4936
- DefaultBehavior: smithy_client_1.expectString(output.DefaultBehavior),
4936
+ DefaultBehavior: (0, smithy_client_1.expectString)(output.DefaultBehavior),
4937
4937
  Filters: output.Filters !== undefined && output.Filters !== null
4938
4938
  ? deserializeAws_json1_1Filters(output.Filters, context)
4939
4939
  : undefined,
@@ -4941,11 +4941,11 @@ const deserializeAws_json1_1LoggingFilter = (output, context) => {
4941
4941
  };
4942
4942
  const deserializeAws_json1_1ManagedRuleGroupConfig = (output, context) => {
4943
4943
  return {
4944
- LoginPath: smithy_client_1.expectString(output.LoginPath),
4944
+ LoginPath: (0, smithy_client_1.expectString)(output.LoginPath),
4945
4945
  PasswordField: output.PasswordField !== undefined && output.PasswordField !== null
4946
4946
  ? deserializeAws_json1_1PasswordField(output.PasswordField, context)
4947
4947
  : undefined,
4948
- PayloadType: smithy_client_1.expectString(output.PayloadType),
4948
+ PayloadType: (0, smithy_client_1.expectString)(output.PayloadType),
4949
4949
  UsernameField: output.UsernameField !== undefined && output.UsernameField !== null
4950
4950
  ? deserializeAws_json1_1UsernameField(output.UsernameField, context)
4951
4951
  : undefined,
@@ -4970,12 +4970,12 @@ const deserializeAws_json1_1ManagedRuleGroupStatement = (output, context) => {
4970
4970
  ManagedRuleGroupConfigs: output.ManagedRuleGroupConfigs !== undefined && output.ManagedRuleGroupConfigs !== null
4971
4971
  ? deserializeAws_json1_1ManagedRuleGroupConfigs(output.ManagedRuleGroupConfigs, context)
4972
4972
  : undefined,
4973
- Name: smithy_client_1.expectString(output.Name),
4973
+ Name: (0, smithy_client_1.expectString)(output.Name),
4974
4974
  ScopeDownStatement: output.ScopeDownStatement !== undefined && output.ScopeDownStatement !== null
4975
4975
  ? deserializeAws_json1_1Statement(output.ScopeDownStatement, context)
4976
4976
  : undefined,
4977
- VendorName: smithy_client_1.expectString(output.VendorName),
4978
- Version: smithy_client_1.expectString(output.Version),
4977
+ VendorName: (0, smithy_client_1.expectString)(output.VendorName),
4978
+ Version: (0, smithy_client_1.expectString)(output.Version),
4979
4979
  };
4980
4980
  };
4981
4981
  const deserializeAws_json1_1ManagedRuleGroupSummaries = (output, context) => {
@@ -4991,17 +4991,17 @@ const deserializeAws_json1_1ManagedRuleGroupSummaries = (output, context) => {
4991
4991
  };
4992
4992
  const deserializeAws_json1_1ManagedRuleGroupSummary = (output, context) => {
4993
4993
  return {
4994
- Description: smithy_client_1.expectString(output.Description),
4995
- Name: smithy_client_1.expectString(output.Name),
4996
- VendorName: smithy_client_1.expectString(output.VendorName),
4994
+ Description: (0, smithy_client_1.expectString)(output.Description),
4995
+ Name: (0, smithy_client_1.expectString)(output.Name),
4996
+ VendorName: (0, smithy_client_1.expectString)(output.VendorName),
4997
4997
  };
4998
4998
  };
4999
4999
  const deserializeAws_json1_1ManagedRuleGroupVersion = (output, context) => {
5000
5000
  return {
5001
5001
  LastUpdateTimestamp: output.LastUpdateTimestamp !== undefined && output.LastUpdateTimestamp !== null
5002
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateTimestamp)))
5002
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTimestamp)))
5003
5003
  : undefined,
5004
- Name: smithy_client_1.expectString(output.Name),
5004
+ Name: (0, smithy_client_1.expectString)(output.Name),
5005
5005
  };
5006
5006
  };
5007
5007
  const deserializeAws_json1_1ManagedRuleGroupVersions = (output, context) => {
@@ -5017,15 +5017,15 @@ const deserializeAws_json1_1ManagedRuleGroupVersions = (output, context) => {
5017
5017
  };
5018
5018
  const deserializeAws_json1_1ManagedRuleSet = (output, context) => {
5019
5019
  return {
5020
- ARN: smithy_client_1.expectString(output.ARN),
5021
- Description: smithy_client_1.expectString(output.Description),
5022
- Id: smithy_client_1.expectString(output.Id),
5023
- LabelNamespace: smithy_client_1.expectString(output.LabelNamespace),
5024
- Name: smithy_client_1.expectString(output.Name),
5020
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
5021
+ Description: (0, smithy_client_1.expectString)(output.Description),
5022
+ Id: (0, smithy_client_1.expectString)(output.Id),
5023
+ LabelNamespace: (0, smithy_client_1.expectString)(output.LabelNamespace),
5024
+ Name: (0, smithy_client_1.expectString)(output.Name),
5025
5025
  PublishedVersions: output.PublishedVersions !== undefined && output.PublishedVersions !== null
5026
5026
  ? deserializeAws_json1_1PublishedVersions(output.PublishedVersions, context)
5027
5027
  : undefined,
5028
- RecommendedVersion: smithy_client_1.expectString(output.RecommendedVersion),
5028
+ RecommendedVersion: (0, smithy_client_1.expectString)(output.RecommendedVersion),
5029
5029
  };
5030
5030
  };
5031
5031
  const deserializeAws_json1_1ManagedRuleSetSummaries = (output, context) => {
@@ -5041,27 +5041,27 @@ const deserializeAws_json1_1ManagedRuleSetSummaries = (output, context) => {
5041
5041
  };
5042
5042
  const deserializeAws_json1_1ManagedRuleSetSummary = (output, context) => {
5043
5043
  return {
5044
- ARN: smithy_client_1.expectString(output.ARN),
5045
- Description: smithy_client_1.expectString(output.Description),
5046
- Id: smithy_client_1.expectString(output.Id),
5047
- LabelNamespace: smithy_client_1.expectString(output.LabelNamespace),
5048
- LockToken: smithy_client_1.expectString(output.LockToken),
5049
- Name: smithy_client_1.expectString(output.Name),
5044
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
5045
+ Description: (0, smithy_client_1.expectString)(output.Description),
5046
+ Id: (0, smithy_client_1.expectString)(output.Id),
5047
+ LabelNamespace: (0, smithy_client_1.expectString)(output.LabelNamespace),
5048
+ LockToken: (0, smithy_client_1.expectString)(output.LockToken),
5049
+ Name: (0, smithy_client_1.expectString)(output.Name),
5050
5050
  };
5051
5051
  };
5052
5052
  const deserializeAws_json1_1ManagedRuleSetVersion = (output, context) => {
5053
5053
  return {
5054
- AssociatedRuleGroupArn: smithy_client_1.expectString(output.AssociatedRuleGroupArn),
5055
- Capacity: smithy_client_1.expectLong(output.Capacity),
5054
+ AssociatedRuleGroupArn: (0, smithy_client_1.expectString)(output.AssociatedRuleGroupArn),
5055
+ Capacity: (0, smithy_client_1.expectLong)(output.Capacity),
5056
5056
  ExpiryTimestamp: output.ExpiryTimestamp !== undefined && output.ExpiryTimestamp !== null
5057
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExpiryTimestamp)))
5057
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpiryTimestamp)))
5058
5058
  : undefined,
5059
- ForecastedLifetime: smithy_client_1.expectInt32(output.ForecastedLifetime),
5059
+ ForecastedLifetime: (0, smithy_client_1.expectInt32)(output.ForecastedLifetime),
5060
5060
  LastUpdateTimestamp: output.LastUpdateTimestamp !== undefined && output.LastUpdateTimestamp !== null
5061
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateTimestamp)))
5061
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTimestamp)))
5062
5062
  : undefined,
5063
5063
  PublishTimestamp: output.PublishTimestamp !== undefined && output.PublishTimestamp !== null
5064
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.PublishTimestamp)))
5064
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.PublishTimestamp)))
5065
5065
  : undefined,
5066
5066
  };
5067
5067
  };
@@ -5070,13 +5070,13 @@ const deserializeAws_json1_1Method = (output, context) => {
5070
5070
  };
5071
5071
  const deserializeAws_json1_1MobileSdkRelease = (output, context) => {
5072
5072
  return {
5073
- ReleaseNotes: smithy_client_1.expectString(output.ReleaseNotes),
5074
- ReleaseVersion: smithy_client_1.expectString(output.ReleaseVersion),
5073
+ ReleaseNotes: (0, smithy_client_1.expectString)(output.ReleaseNotes),
5074
+ ReleaseVersion: (0, smithy_client_1.expectString)(output.ReleaseVersion),
5075
5075
  Tags: output.Tags !== undefined && output.Tags !== null
5076
5076
  ? deserializeAws_json1_1TagList(output.Tags, context)
5077
5077
  : undefined,
5078
5078
  Timestamp: output.Timestamp !== undefined && output.Timestamp !== null
5079
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Timestamp)))
5079
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp)))
5080
5080
  : undefined,
5081
5081
  };
5082
5082
  };
@@ -5109,7 +5109,7 @@ const deserializeAws_json1_1OverrideAction = (output, context) => {
5109
5109
  };
5110
5110
  const deserializeAws_json1_1PasswordField = (output, context) => {
5111
5111
  return {
5112
- Identifier: smithy_client_1.expectString(output.Identifier),
5112
+ Identifier: (0, smithy_client_1.expectString)(output.Identifier),
5113
5113
  };
5114
5114
  };
5115
5115
  const deserializeAws_json1_1PublishedVersions = (output, context) => {
@@ -5132,7 +5132,7 @@ const deserializeAws_json1_1PutLoggingConfigurationResponse = (output, context)
5132
5132
  };
5133
5133
  const deserializeAws_json1_1PutManagedRuleSetVersionsResponse = (output, context) => {
5134
5134
  return {
5135
- NextLockToken: smithy_client_1.expectString(output.NextLockToken),
5135
+ NextLockToken: (0, smithy_client_1.expectString)(output.NextLockToken),
5136
5136
  };
5137
5137
  };
5138
5138
  const deserializeAws_json1_1PutPermissionPolicyResponse = (output, context) => {
@@ -5143,11 +5143,11 @@ const deserializeAws_json1_1QueryString = (output, context) => {
5143
5143
  };
5144
5144
  const deserializeAws_json1_1RateBasedStatement = (output, context) => {
5145
5145
  return {
5146
- AggregateKeyType: smithy_client_1.expectString(output.AggregateKeyType),
5146
+ AggregateKeyType: (0, smithy_client_1.expectString)(output.AggregateKeyType),
5147
5147
  ForwardedIPConfig: output.ForwardedIPConfig !== undefined && output.ForwardedIPConfig !== null
5148
5148
  ? deserializeAws_json1_1ForwardedIPConfig(output.ForwardedIPConfig, context)
5149
5149
  : undefined,
5150
- Limit: smithy_client_1.expectLong(output.Limit),
5150
+ Limit: (0, smithy_client_1.expectLong)(output.Limit),
5151
5151
  ScopeDownStatement: output.ScopeDownStatement !== undefined && output.ScopeDownStatement !== null
5152
5152
  ? deserializeAws_json1_1Statement(output.ScopeDownStatement, context)
5153
5153
  : undefined,
@@ -5158,7 +5158,7 @@ const deserializeAws_json1_1RateBasedStatementManagedKeysIPSet = (output, contex
5158
5158
  Addresses: output.Addresses !== undefined && output.Addresses !== null
5159
5159
  ? deserializeAws_json1_1IPAddresses(output.Addresses, context)
5160
5160
  : undefined,
5161
- IPAddressVersion: smithy_client_1.expectString(output.IPAddressVersion),
5161
+ IPAddressVersion: (0, smithy_client_1.expectString)(output.IPAddressVersion),
5162
5162
  };
5163
5163
  };
5164
5164
  const deserializeAws_json1_1RedactedFields = (output, context) => {
@@ -5174,7 +5174,7 @@ const deserializeAws_json1_1RedactedFields = (output, context) => {
5174
5174
  };
5175
5175
  const deserializeAws_json1_1Regex = (output, context) => {
5176
5176
  return {
5177
- RegexString: smithy_client_1.expectString(output.RegexString),
5177
+ RegexString: (0, smithy_client_1.expectString)(output.RegexString),
5178
5178
  };
5179
5179
  };
5180
5180
  const deserializeAws_json1_1RegexMatchStatement = (output, context) => {
@@ -5182,7 +5182,7 @@ const deserializeAws_json1_1RegexMatchStatement = (output, context) => {
5182
5182
  FieldToMatch: output.FieldToMatch !== undefined && output.FieldToMatch !== null
5183
5183
  ? deserializeAws_json1_1FieldToMatch(output.FieldToMatch, context)
5184
5184
  : undefined,
5185
- RegexString: smithy_client_1.expectString(output.RegexString),
5185
+ RegexString: (0, smithy_client_1.expectString)(output.RegexString),
5186
5186
  TextTransformations: output.TextTransformations !== undefined && output.TextTransformations !== null
5187
5187
  ? deserializeAws_json1_1TextTransformations(output.TextTransformations, context)
5188
5188
  : undefined,
@@ -5190,10 +5190,10 @@ const deserializeAws_json1_1RegexMatchStatement = (output, context) => {
5190
5190
  };
5191
5191
  const deserializeAws_json1_1RegexPatternSet = (output, context) => {
5192
5192
  return {
5193
- ARN: smithy_client_1.expectString(output.ARN),
5194
- Description: smithy_client_1.expectString(output.Description),
5195
- Id: smithy_client_1.expectString(output.Id),
5196
- Name: smithy_client_1.expectString(output.Name),
5193
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
5194
+ Description: (0, smithy_client_1.expectString)(output.Description),
5195
+ Id: (0, smithy_client_1.expectString)(output.Id),
5196
+ Name: (0, smithy_client_1.expectString)(output.Name),
5197
5197
  RegularExpressionList: output.RegularExpressionList !== undefined && output.RegularExpressionList !== null
5198
5198
  ? deserializeAws_json1_1RegularExpressionList(output.RegularExpressionList, context)
5199
5199
  : undefined,
@@ -5201,7 +5201,7 @@ const deserializeAws_json1_1RegexPatternSet = (output, context) => {
5201
5201
  };
5202
5202
  const deserializeAws_json1_1RegexPatternSetReferenceStatement = (output, context) => {
5203
5203
  return {
5204
- ARN: smithy_client_1.expectString(output.ARN),
5204
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
5205
5205
  FieldToMatch: output.FieldToMatch !== undefined && output.FieldToMatch !== null
5206
5206
  ? deserializeAws_json1_1FieldToMatch(output.FieldToMatch, context)
5207
5207
  : undefined,
@@ -5223,11 +5223,11 @@ const deserializeAws_json1_1RegexPatternSetSummaries = (output, context) => {
5223
5223
  };
5224
5224
  const deserializeAws_json1_1RegexPatternSetSummary = (output, context) => {
5225
5225
  return {
5226
- ARN: smithy_client_1.expectString(output.ARN),
5227
- Description: smithy_client_1.expectString(output.Description),
5228
- Id: smithy_client_1.expectString(output.Id),
5229
- LockToken: smithy_client_1.expectString(output.LockToken),
5230
- Name: smithy_client_1.expectString(output.Name),
5226
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
5227
+ Description: (0, smithy_client_1.expectString)(output.Description),
5228
+ Id: (0, smithy_client_1.expectString)(output.Id),
5229
+ LockToken: (0, smithy_client_1.expectString)(output.LockToken),
5230
+ Name: (0, smithy_client_1.expectString)(output.Name),
5231
5231
  };
5232
5232
  };
5233
5233
  const deserializeAws_json1_1RegularExpressionList = (output, context) => {
@@ -5254,9 +5254,9 @@ const deserializeAws_json1_1ReleaseSummaries = (output, context) => {
5254
5254
  };
5255
5255
  const deserializeAws_json1_1ReleaseSummary = (output, context) => {
5256
5256
  return {
5257
- ReleaseVersion: smithy_client_1.expectString(output.ReleaseVersion),
5257
+ ReleaseVersion: (0, smithy_client_1.expectString)(output.ReleaseVersion),
5258
5258
  Timestamp: output.Timestamp !== undefined && output.Timestamp !== null
5259
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Timestamp)))
5259
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp)))
5260
5260
  : undefined,
5261
5261
  };
5262
5262
  };
@@ -5267,7 +5267,7 @@ const deserializeAws_json1_1ResourceArns = (output, context) => {
5267
5267
  if (entry === null) {
5268
5268
  return null;
5269
5269
  }
5270
- return smithy_client_1.expectString(entry);
5270
+ return (0, smithy_client_1.expectString)(entry);
5271
5271
  });
5272
5272
  return retVal;
5273
5273
  };
@@ -5279,11 +5279,11 @@ const deserializeAws_json1_1Rule = (output, context) => {
5279
5279
  CaptchaConfig: output.CaptchaConfig !== undefined && output.CaptchaConfig !== null
5280
5280
  ? deserializeAws_json1_1CaptchaConfig(output.CaptchaConfig, context)
5281
5281
  : undefined,
5282
- Name: smithy_client_1.expectString(output.Name),
5282
+ Name: (0, smithy_client_1.expectString)(output.Name),
5283
5283
  OverrideAction: output.OverrideAction !== undefined && output.OverrideAction !== null
5284
5284
  ? deserializeAws_json1_1OverrideAction(output.OverrideAction, context)
5285
5285
  : undefined,
5286
- Priority: smithy_client_1.expectInt32(output.Priority),
5286
+ Priority: (0, smithy_client_1.expectInt32)(output.Priority),
5287
5287
  RuleLabels: output.RuleLabels !== undefined && output.RuleLabels !== null
5288
5288
  ? deserializeAws_json1_1Labels(output.RuleLabels, context)
5289
5289
  : undefined,
@@ -5313,21 +5313,21 @@ const deserializeAws_json1_1RuleAction = (output, context) => {
5313
5313
  };
5314
5314
  const deserializeAws_json1_1RuleGroup = (output, context) => {
5315
5315
  return {
5316
- ARN: smithy_client_1.expectString(output.ARN),
5316
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
5317
5317
  AvailableLabels: output.AvailableLabels !== undefined && output.AvailableLabels !== null
5318
5318
  ? deserializeAws_json1_1LabelSummaries(output.AvailableLabels, context)
5319
5319
  : undefined,
5320
- Capacity: smithy_client_1.expectLong(output.Capacity),
5320
+ Capacity: (0, smithy_client_1.expectLong)(output.Capacity),
5321
5321
  ConsumedLabels: output.ConsumedLabels !== undefined && output.ConsumedLabels !== null
5322
5322
  ? deserializeAws_json1_1LabelSummaries(output.ConsumedLabels, context)
5323
5323
  : undefined,
5324
5324
  CustomResponseBodies: output.CustomResponseBodies !== undefined && output.CustomResponseBodies !== null
5325
5325
  ? deserializeAws_json1_1CustomResponseBodies(output.CustomResponseBodies, context)
5326
5326
  : undefined,
5327
- Description: smithy_client_1.expectString(output.Description),
5328
- Id: smithy_client_1.expectString(output.Id),
5329
- LabelNamespace: smithy_client_1.expectString(output.LabelNamespace),
5330
- Name: smithy_client_1.expectString(output.Name),
5327
+ Description: (0, smithy_client_1.expectString)(output.Description),
5328
+ Id: (0, smithy_client_1.expectString)(output.Id),
5329
+ LabelNamespace: (0, smithy_client_1.expectString)(output.LabelNamespace),
5330
+ Name: (0, smithy_client_1.expectString)(output.Name),
5331
5331
  Rules: output.Rules !== undefined && output.Rules !== null
5332
5332
  ? deserializeAws_json1_1Rules(output.Rules, context)
5333
5333
  : undefined,
@@ -5338,7 +5338,7 @@ const deserializeAws_json1_1RuleGroup = (output, context) => {
5338
5338
  };
5339
5339
  const deserializeAws_json1_1RuleGroupReferenceStatement = (output, context) => {
5340
5340
  return {
5341
- ARN: smithy_client_1.expectString(output.ARN),
5341
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
5342
5342
  ExcludedRules: output.ExcludedRules !== undefined && output.ExcludedRules !== null
5343
5343
  ? deserializeAws_json1_1ExcludedRules(output.ExcludedRules, context)
5344
5344
  : undefined,
@@ -5357,11 +5357,11 @@ const deserializeAws_json1_1RuleGroupSummaries = (output, context) => {
5357
5357
  };
5358
5358
  const deserializeAws_json1_1RuleGroupSummary = (output, context) => {
5359
5359
  return {
5360
- ARN: smithy_client_1.expectString(output.ARN),
5361
- Description: smithy_client_1.expectString(output.Description),
5362
- Id: smithy_client_1.expectString(output.Id),
5363
- LockToken: smithy_client_1.expectString(output.LockToken),
5364
- Name: smithy_client_1.expectString(output.Name),
5360
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
5361
+ Description: (0, smithy_client_1.expectString)(output.Description),
5362
+ Id: (0, smithy_client_1.expectString)(output.Id),
5363
+ LockToken: (0, smithy_client_1.expectString)(output.LockToken),
5364
+ Name: (0, smithy_client_1.expectString)(output.Name),
5365
5365
  };
5366
5366
  };
5367
5367
  const deserializeAws_json1_1Rules = (output, context) => {
@@ -5391,12 +5391,12 @@ const deserializeAws_json1_1RuleSummary = (output, context) => {
5391
5391
  Action: output.Action !== undefined && output.Action !== null
5392
5392
  ? deserializeAws_json1_1RuleAction(output.Action, context)
5393
5393
  : undefined,
5394
- Name: smithy_client_1.expectString(output.Name),
5394
+ Name: (0, smithy_client_1.expectString)(output.Name),
5395
5395
  };
5396
5396
  };
5397
5397
  const deserializeAws_json1_1SampledHTTPRequest = (output, context) => {
5398
5398
  return {
5399
- Action: smithy_client_1.expectString(output.Action),
5399
+ Action: (0, smithy_client_1.expectString)(output.Action),
5400
5400
  CaptchaResponse: output.CaptchaResponse !== undefined && output.CaptchaResponse !== null
5401
5401
  ? deserializeAws_json1_1CaptchaResponse(output.CaptchaResponse, context)
5402
5402
  : undefined,
@@ -5409,12 +5409,12 @@ const deserializeAws_json1_1SampledHTTPRequest = (output, context) => {
5409
5409
  RequestHeadersInserted: output.RequestHeadersInserted !== undefined && output.RequestHeadersInserted !== null
5410
5410
  ? deserializeAws_json1_1HTTPHeaders(output.RequestHeadersInserted, context)
5411
5411
  : undefined,
5412
- ResponseCodeSent: smithy_client_1.expectInt32(output.ResponseCodeSent),
5413
- RuleNameWithinRuleGroup: smithy_client_1.expectString(output.RuleNameWithinRuleGroup),
5412
+ ResponseCodeSent: (0, smithy_client_1.expectInt32)(output.ResponseCodeSent),
5413
+ RuleNameWithinRuleGroup: (0, smithy_client_1.expectString)(output.RuleNameWithinRuleGroup),
5414
5414
  Timestamp: output.Timestamp !== undefined && output.Timestamp !== null
5415
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Timestamp)))
5415
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp)))
5416
5416
  : undefined,
5417
- Weight: smithy_client_1.expectLong(output.Weight),
5417
+ Weight: (0, smithy_client_1.expectLong)(output.Weight),
5418
5418
  };
5419
5419
  };
5420
5420
  const deserializeAws_json1_1SampledHTTPRequests = (output, context) => {
@@ -5430,21 +5430,21 @@ const deserializeAws_json1_1SampledHTTPRequests = (output, context) => {
5430
5430
  };
5431
5431
  const deserializeAws_json1_1SingleHeader = (output, context) => {
5432
5432
  return {
5433
- Name: smithy_client_1.expectString(output.Name),
5433
+ Name: (0, smithy_client_1.expectString)(output.Name),
5434
5434
  };
5435
5435
  };
5436
5436
  const deserializeAws_json1_1SingleQueryArgument = (output, context) => {
5437
5437
  return {
5438
- Name: smithy_client_1.expectString(output.Name),
5438
+ Name: (0, smithy_client_1.expectString)(output.Name),
5439
5439
  };
5440
5440
  };
5441
5441
  const deserializeAws_json1_1SizeConstraintStatement = (output, context) => {
5442
5442
  return {
5443
- ComparisonOperator: smithy_client_1.expectString(output.ComparisonOperator),
5443
+ ComparisonOperator: (0, smithy_client_1.expectString)(output.ComparisonOperator),
5444
5444
  FieldToMatch: output.FieldToMatch !== undefined && output.FieldToMatch !== null
5445
5445
  ? deserializeAws_json1_1FieldToMatch(output.FieldToMatch, context)
5446
5446
  : undefined,
5447
- Size: smithy_client_1.expectLong(output.Size),
5447
+ Size: (0, smithy_client_1.expectLong)(output.Size),
5448
5448
  TextTransformations: output.TextTransformations !== undefined && output.TextTransformations !== null
5449
5449
  ? deserializeAws_json1_1TextTransformations(output.TextTransformations, context)
5450
5450
  : undefined,
@@ -5522,13 +5522,13 @@ const deserializeAws_json1_1Statements = (output, context) => {
5522
5522
  };
5523
5523
  const deserializeAws_json1_1Tag = (output, context) => {
5524
5524
  return {
5525
- Key: smithy_client_1.expectString(output.Key),
5526
- Value: smithy_client_1.expectString(output.Value),
5525
+ Key: (0, smithy_client_1.expectString)(output.Key),
5526
+ Value: (0, smithy_client_1.expectString)(output.Value),
5527
5527
  };
5528
5528
  };
5529
5529
  const deserializeAws_json1_1TagInfoForResource = (output, context) => {
5530
5530
  return {
5531
- ResourceARN: smithy_client_1.expectString(output.ResourceARN),
5531
+ ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
5532
5532
  TagList: output.TagList !== undefined && output.TagList !== null
5533
5533
  ? deserializeAws_json1_1TagList(output.TagList, context)
5534
5534
  : undefined,
@@ -5550,8 +5550,8 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
5550
5550
  };
5551
5551
  const deserializeAws_json1_1TextTransformation = (output, context) => {
5552
5552
  return {
5553
- Priority: smithy_client_1.expectInt32(output.Priority),
5554
- Type: smithy_client_1.expectString(output.Type),
5553
+ Priority: (0, smithy_client_1.expectInt32)(output.Priority),
5554
+ Type: (0, smithy_client_1.expectString)(output.Type),
5555
5555
  };
5556
5556
  };
5557
5557
  const deserializeAws_json1_1TextTransformations = (output, context) => {
@@ -5568,10 +5568,10 @@ const deserializeAws_json1_1TextTransformations = (output, context) => {
5568
5568
  const deserializeAws_json1_1TimeWindow = (output, context) => {
5569
5569
  return {
5570
5570
  EndTime: output.EndTime !== undefined && output.EndTime !== null
5571
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
5571
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
5572
5572
  : undefined,
5573
5573
  StartTime: output.StartTime !== undefined && output.StartTime !== null
5574
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
5574
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
5575
5575
  : undefined,
5576
5576
  };
5577
5577
  };
@@ -5580,31 +5580,31 @@ const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
5580
5580
  };
5581
5581
  const deserializeAws_json1_1UpdateIPSetResponse = (output, context) => {
5582
5582
  return {
5583
- NextLockToken: smithy_client_1.expectString(output.NextLockToken),
5583
+ NextLockToken: (0, smithy_client_1.expectString)(output.NextLockToken),
5584
5584
  };
5585
5585
  };
5586
5586
  const deserializeAws_json1_1UpdateManagedRuleSetVersionExpiryDateResponse = (output, context) => {
5587
5587
  return {
5588
- ExpiringVersion: smithy_client_1.expectString(output.ExpiringVersion),
5588
+ ExpiringVersion: (0, smithy_client_1.expectString)(output.ExpiringVersion),
5589
5589
  ExpiryTimestamp: output.ExpiryTimestamp !== undefined && output.ExpiryTimestamp !== null
5590
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExpiryTimestamp)))
5590
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpiryTimestamp)))
5591
5591
  : undefined,
5592
- NextLockToken: smithy_client_1.expectString(output.NextLockToken),
5592
+ NextLockToken: (0, smithy_client_1.expectString)(output.NextLockToken),
5593
5593
  };
5594
5594
  };
5595
5595
  const deserializeAws_json1_1UpdateRegexPatternSetResponse = (output, context) => {
5596
5596
  return {
5597
- NextLockToken: smithy_client_1.expectString(output.NextLockToken),
5597
+ NextLockToken: (0, smithy_client_1.expectString)(output.NextLockToken),
5598
5598
  };
5599
5599
  };
5600
5600
  const deserializeAws_json1_1UpdateRuleGroupResponse = (output, context) => {
5601
5601
  return {
5602
- NextLockToken: smithy_client_1.expectString(output.NextLockToken),
5602
+ NextLockToken: (0, smithy_client_1.expectString)(output.NextLockToken),
5603
5603
  };
5604
5604
  };
5605
5605
  const deserializeAws_json1_1UpdateWebACLResponse = (output, context) => {
5606
5606
  return {
5607
- NextLockToken: smithy_client_1.expectString(output.NextLockToken),
5607
+ NextLockToken: (0, smithy_client_1.expectString)(output.NextLockToken),
5608
5608
  };
5609
5609
  };
5610
5610
  const deserializeAws_json1_1UriPath = (output, context) => {
@@ -5612,108 +5612,108 @@ const deserializeAws_json1_1UriPath = (output, context) => {
5612
5612
  };
5613
5613
  const deserializeAws_json1_1UsernameField = (output, context) => {
5614
5614
  return {
5615
- Identifier: smithy_client_1.expectString(output.Identifier),
5615
+ Identifier: (0, smithy_client_1.expectString)(output.Identifier),
5616
5616
  };
5617
5617
  };
5618
5618
  const deserializeAws_json1_1VisibilityConfig = (output, context) => {
5619
5619
  return {
5620
- CloudWatchMetricsEnabled: smithy_client_1.expectBoolean(output.CloudWatchMetricsEnabled),
5621
- MetricName: smithy_client_1.expectString(output.MetricName),
5622
- SampledRequestsEnabled: smithy_client_1.expectBoolean(output.SampledRequestsEnabled),
5620
+ CloudWatchMetricsEnabled: (0, smithy_client_1.expectBoolean)(output.CloudWatchMetricsEnabled),
5621
+ MetricName: (0, smithy_client_1.expectString)(output.MetricName),
5622
+ SampledRequestsEnabled: (0, smithy_client_1.expectBoolean)(output.SampledRequestsEnabled),
5623
5623
  };
5624
5624
  };
5625
5625
  const deserializeAws_json1_1WAFAssociatedItemException = (output, context) => {
5626
5626
  return {
5627
- Message: smithy_client_1.expectString(output.Message),
5627
+ Message: (0, smithy_client_1.expectString)(output.Message),
5628
5628
  };
5629
5629
  };
5630
5630
  const deserializeAws_json1_1WAFDuplicateItemException = (output, context) => {
5631
5631
  return {
5632
- Message: smithy_client_1.expectString(output.Message),
5632
+ Message: (0, smithy_client_1.expectString)(output.Message),
5633
5633
  };
5634
5634
  };
5635
5635
  const deserializeAws_json1_1WAFExpiredManagedRuleGroupVersionException = (output, context) => {
5636
5636
  return {
5637
- Message: smithy_client_1.expectString(output.Message),
5637
+ Message: (0, smithy_client_1.expectString)(output.Message),
5638
5638
  };
5639
5639
  };
5640
5640
  const deserializeAws_json1_1WAFInternalErrorException = (output, context) => {
5641
5641
  return {
5642
- Message: smithy_client_1.expectString(output.Message),
5642
+ Message: (0, smithy_client_1.expectString)(output.Message),
5643
5643
  };
5644
5644
  };
5645
5645
  const deserializeAws_json1_1WAFInvalidOperationException = (output, context) => {
5646
5646
  return {
5647
- Message: smithy_client_1.expectString(output.Message),
5647
+ Message: (0, smithy_client_1.expectString)(output.Message),
5648
5648
  };
5649
5649
  };
5650
5650
  const deserializeAws_json1_1WAFInvalidParameterException = (output, context) => {
5651
5651
  return {
5652
- Field: smithy_client_1.expectString(output.Field),
5653
- Parameter: smithy_client_1.expectString(output.Parameter),
5654
- Reason: smithy_client_1.expectString(output.Reason),
5655
- message: smithy_client_1.expectString(output.message),
5652
+ Field: (0, smithy_client_1.expectString)(output.Field),
5653
+ Parameter: (0, smithy_client_1.expectString)(output.Parameter),
5654
+ Reason: (0, smithy_client_1.expectString)(output.Reason),
5655
+ message: (0, smithy_client_1.expectString)(output.message),
5656
5656
  };
5657
5657
  };
5658
5658
  const deserializeAws_json1_1WAFInvalidPermissionPolicyException = (output, context) => {
5659
5659
  return {
5660
- Message: smithy_client_1.expectString(output.Message),
5660
+ Message: (0, smithy_client_1.expectString)(output.Message),
5661
5661
  };
5662
5662
  };
5663
5663
  const deserializeAws_json1_1WAFInvalidResourceException = (output, context) => {
5664
5664
  return {
5665
- Message: smithy_client_1.expectString(output.Message),
5665
+ Message: (0, smithy_client_1.expectString)(output.Message),
5666
5666
  };
5667
5667
  };
5668
5668
  const deserializeAws_json1_1WAFLimitsExceededException = (output, context) => {
5669
5669
  return {
5670
- Message: smithy_client_1.expectString(output.Message),
5670
+ Message: (0, smithy_client_1.expectString)(output.Message),
5671
5671
  };
5672
5672
  };
5673
5673
  const deserializeAws_json1_1WAFLogDestinationPermissionIssueException = (output, context) => {
5674
5674
  return {
5675
- Message: smithy_client_1.expectString(output.Message),
5675
+ Message: (0, smithy_client_1.expectString)(output.Message),
5676
5676
  };
5677
5677
  };
5678
5678
  const deserializeAws_json1_1WAFNonexistentItemException = (output, context) => {
5679
5679
  return {
5680
- Message: smithy_client_1.expectString(output.Message),
5680
+ Message: (0, smithy_client_1.expectString)(output.Message),
5681
5681
  };
5682
5682
  };
5683
5683
  const deserializeAws_json1_1WAFOptimisticLockException = (output, context) => {
5684
5684
  return {
5685
- Message: smithy_client_1.expectString(output.Message),
5685
+ Message: (0, smithy_client_1.expectString)(output.Message),
5686
5686
  };
5687
5687
  };
5688
5688
  const deserializeAws_json1_1WAFServiceLinkedRoleErrorException = (output, context) => {
5689
5689
  return {
5690
- message: smithy_client_1.expectString(output.message),
5690
+ message: (0, smithy_client_1.expectString)(output.message),
5691
5691
  };
5692
5692
  };
5693
5693
  const deserializeAws_json1_1WAFSubscriptionNotFoundException = (output, context) => {
5694
5694
  return {
5695
- Message: smithy_client_1.expectString(output.Message),
5695
+ Message: (0, smithy_client_1.expectString)(output.Message),
5696
5696
  };
5697
5697
  };
5698
5698
  const deserializeAws_json1_1WAFTagOperationException = (output, context) => {
5699
5699
  return {
5700
- Message: smithy_client_1.expectString(output.Message),
5700
+ Message: (0, smithy_client_1.expectString)(output.Message),
5701
5701
  };
5702
5702
  };
5703
5703
  const deserializeAws_json1_1WAFTagOperationInternalErrorException = (output, context) => {
5704
5704
  return {
5705
- Message: smithy_client_1.expectString(output.Message),
5705
+ Message: (0, smithy_client_1.expectString)(output.Message),
5706
5706
  };
5707
5707
  };
5708
5708
  const deserializeAws_json1_1WAFUnavailableEntityException = (output, context) => {
5709
5709
  return {
5710
- Message: smithy_client_1.expectString(output.Message),
5710
+ Message: (0, smithy_client_1.expectString)(output.Message),
5711
5711
  };
5712
5712
  };
5713
5713
  const deserializeAws_json1_1WebACL = (output, context) => {
5714
5714
  return {
5715
- ARN: smithy_client_1.expectString(output.ARN),
5716
- Capacity: smithy_client_1.expectLong(output.Capacity),
5715
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
5716
+ Capacity: (0, smithy_client_1.expectLong)(output.Capacity),
5717
5717
  CaptchaConfig: output.CaptchaConfig !== undefined && output.CaptchaConfig !== null
5718
5718
  ? deserializeAws_json1_1CaptchaConfig(output.CaptchaConfig, context)
5719
5719
  : undefined,
@@ -5723,11 +5723,11 @@ const deserializeAws_json1_1WebACL = (output, context) => {
5723
5723
  DefaultAction: output.DefaultAction !== undefined && output.DefaultAction !== null
5724
5724
  ? deserializeAws_json1_1DefaultAction(output.DefaultAction, context)
5725
5725
  : undefined,
5726
- Description: smithy_client_1.expectString(output.Description),
5727
- Id: smithy_client_1.expectString(output.Id),
5728
- LabelNamespace: smithy_client_1.expectString(output.LabelNamespace),
5729
- ManagedByFirewallManager: smithy_client_1.expectBoolean(output.ManagedByFirewallManager),
5730
- Name: smithy_client_1.expectString(output.Name),
5726
+ Description: (0, smithy_client_1.expectString)(output.Description),
5727
+ Id: (0, smithy_client_1.expectString)(output.Id),
5728
+ LabelNamespace: (0, smithy_client_1.expectString)(output.LabelNamespace),
5729
+ ManagedByFirewallManager: (0, smithy_client_1.expectBoolean)(output.ManagedByFirewallManager),
5730
+ Name: (0, smithy_client_1.expectString)(output.Name),
5731
5731
  PostProcessFirewallManagerRuleGroups: output.PostProcessFirewallManagerRuleGroups !== undefined && output.PostProcessFirewallManagerRuleGroups !== null
5732
5732
  ? deserializeAws_json1_1FirewallManagerRuleGroups(output.PostProcessFirewallManagerRuleGroups, context)
5733
5733
  : undefined,
@@ -5755,11 +5755,11 @@ const deserializeAws_json1_1WebACLSummaries = (output, context) => {
5755
5755
  };
5756
5756
  const deserializeAws_json1_1WebACLSummary = (output, context) => {
5757
5757
  return {
5758
- ARN: smithy_client_1.expectString(output.ARN),
5759
- Description: smithy_client_1.expectString(output.Description),
5760
- Id: smithy_client_1.expectString(output.Id),
5761
- LockToken: smithy_client_1.expectString(output.LockToken),
5762
- Name: smithy_client_1.expectString(output.Name),
5758
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
5759
+ Description: (0, smithy_client_1.expectString)(output.Description),
5760
+ Id: (0, smithy_client_1.expectString)(output.Id),
5761
+ LockToken: (0, smithy_client_1.expectString)(output.LockToken),
5762
+ Name: (0, smithy_client_1.expectString)(output.Name),
5763
5763
  };
5764
5764
  };
5765
5765
  const deserializeAws_json1_1XssMatchStatement = (output, context) => {