@aws-sdk/client-waf 3.34.0 → 3.35.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 (1210) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist-cjs/WAF.js +1176 -0
  3. package/dist-cjs/WAF.js.map +1 -0
  4. package/dist-cjs/WAFClient.js +54 -0
  5. package/dist-cjs/WAFClient.js.map +1 -0
  6. package/dist-cjs/commands/CreateByteMatchSetCommand.js +92 -0
  7. package/dist-cjs/commands/CreateByteMatchSetCommand.js.map +1 -0
  8. package/dist-cjs/commands/CreateGeoMatchSetCommand.js +89 -0
  9. package/dist-cjs/commands/CreateGeoMatchSetCommand.js.map +1 -0
  10. package/dist-cjs/commands/CreateIPSetCommand.js +94 -0
  11. package/dist-cjs/commands/CreateIPSetCommand.js.map +1 -0
  12. package/dist-cjs/commands/CreateRateBasedRuleCommand.js +154 -0
  13. package/dist-cjs/commands/CreateRateBasedRuleCommand.js.map +1 -0
  14. package/dist-cjs/commands/CreateRegexMatchSetCommand.js +92 -0
  15. package/dist-cjs/commands/CreateRegexMatchSetCommand.js.map +1 -0
  16. package/dist-cjs/commands/CreateRegexPatternSetCommand.js +88 -0
  17. package/dist-cjs/commands/CreateRegexPatternSetCommand.js.map +1 -0
  18. package/dist-cjs/commands/CreateRuleCommand.js +112 -0
  19. package/dist-cjs/commands/CreateRuleCommand.js.map +1 -0
  20. package/dist-cjs/commands/CreateRuleGroupCommand.js +83 -0
  21. package/dist-cjs/commands/CreateRuleGroupCommand.js.map +1 -0
  22. package/dist-cjs/commands/CreateSizeConstraintSetCommand.js +92 -0
  23. package/dist-cjs/commands/CreateSizeConstraintSetCommand.js.map +1 -0
  24. package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js +90 -0
  25. package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js.map +1 -0
  26. package/dist-cjs/commands/CreateWebACLCommand.js +100 -0
  27. package/dist-cjs/commands/CreateWebACLCommand.js.map +1 -0
  28. package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js +68 -0
  29. package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js.map +1 -0
  30. package/dist-cjs/commands/CreateXssMatchSetCommand.js +90 -0
  31. package/dist-cjs/commands/CreateXssMatchSetCommand.js.map +1 -0
  32. package/dist-cjs/commands/DeleteByteMatchSetCommand.js +84 -0
  33. package/dist-cjs/commands/DeleteByteMatchSetCommand.js.map +1 -0
  34. package/dist-cjs/commands/DeleteGeoMatchSetCommand.js +84 -0
  35. package/dist-cjs/commands/DeleteGeoMatchSetCommand.js.map +1 -0
  36. package/dist-cjs/commands/DeleteIPSetCommand.js +84 -0
  37. package/dist-cjs/commands/DeleteIPSetCommand.js.map +1 -0
  38. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +70 -0
  39. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js.map +1 -0
  40. package/dist-cjs/commands/DeletePermissionPolicyCommand.js +70 -0
  41. package/dist-cjs/commands/DeletePermissionPolicyCommand.js.map +1 -0
  42. package/dist-cjs/commands/DeleteRateBasedRuleCommand.js +88 -0
  43. package/dist-cjs/commands/DeleteRateBasedRuleCommand.js.map +1 -0
  44. package/dist-cjs/commands/DeleteRegexMatchSetCommand.js +84 -0
  45. package/dist-cjs/commands/DeleteRegexMatchSetCommand.js.map +1 -0
  46. package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +70 -0
  47. package/dist-cjs/commands/DeleteRegexPatternSetCommand.js.map +1 -0
  48. package/dist-cjs/commands/DeleteRuleCommand.js +84 -0
  49. package/dist-cjs/commands/DeleteRuleCommand.js.map +1 -0
  50. package/dist-cjs/commands/DeleteRuleGroupCommand.js +84 -0
  51. package/dist-cjs/commands/DeleteRuleGroupCommand.js.map +1 -0
  52. package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js +84 -0
  53. package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js.map +1 -0
  54. package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js +85 -0
  55. package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js.map +1 -0
  56. package/dist-cjs/commands/DeleteWebACLCommand.js +82 -0
  57. package/dist-cjs/commands/DeleteWebACLCommand.js.map +1 -0
  58. package/dist-cjs/commands/DeleteXssMatchSetCommand.js +85 -0
  59. package/dist-cjs/commands/DeleteXssMatchSetCommand.js.map +1 -0
  60. package/dist-cjs/commands/GetByteMatchSetCommand.js +69 -0
  61. package/dist-cjs/commands/GetByteMatchSetCommand.js.map +1 -0
  62. package/dist-cjs/commands/GetChangeTokenCommand.js +75 -0
  63. package/dist-cjs/commands/GetChangeTokenCommand.js.map +1 -0
  64. package/dist-cjs/commands/GetChangeTokenStatusCommand.js +85 -0
  65. package/dist-cjs/commands/GetChangeTokenStatusCommand.js.map +1 -0
  66. package/dist-cjs/commands/GetGeoMatchSetCommand.js +69 -0
  67. package/dist-cjs/commands/GetGeoMatchSetCommand.js.map +1 -0
  68. package/dist-cjs/commands/GetIPSetCommand.js +69 -0
  69. package/dist-cjs/commands/GetIPSetCommand.js.map +1 -0
  70. package/dist-cjs/commands/GetLoggingConfigurationCommand.js +69 -0
  71. package/dist-cjs/commands/GetLoggingConfigurationCommand.js.map +1 -0
  72. package/dist-cjs/commands/GetPermissionPolicyCommand.js +69 -0
  73. package/dist-cjs/commands/GetPermissionPolicyCommand.js.map +1 -0
  74. package/dist-cjs/commands/GetRateBasedRuleCommand.js +71 -0
  75. package/dist-cjs/commands/GetRateBasedRuleCommand.js.map +1 -0
  76. package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js +71 -0
  77. package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js.map +1 -0
  78. package/dist-cjs/commands/GetRegexMatchSetCommand.js +69 -0
  79. package/dist-cjs/commands/GetRegexMatchSetCommand.js.map +1 -0
  80. package/dist-cjs/commands/GetRegexPatternSetCommand.js +69 -0
  81. package/dist-cjs/commands/GetRegexPatternSetCommand.js.map +1 -0
  82. package/dist-cjs/commands/GetRuleCommand.js +69 -0
  83. package/dist-cjs/commands/GetRuleCommand.js.map +1 -0
  84. package/dist-cjs/commands/GetRuleGroupCommand.js +70 -0
  85. package/dist-cjs/commands/GetRuleGroupCommand.js.map +1 -0
  86. package/dist-cjs/commands/GetSampledRequestsCommand.js +73 -0
  87. package/dist-cjs/commands/GetSampledRequestsCommand.js.map +1 -0
  88. package/dist-cjs/commands/GetSizeConstraintSetCommand.js +69 -0
  89. package/dist-cjs/commands/GetSizeConstraintSetCommand.js.map +1 -0
  90. package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js +69 -0
  91. package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js.map +1 -0
  92. package/dist-cjs/commands/GetWebACLCommand.js +69 -0
  93. package/dist-cjs/commands/GetWebACLCommand.js.map +1 -0
  94. package/dist-cjs/commands/GetXssMatchSetCommand.js +69 -0
  95. package/dist-cjs/commands/GetXssMatchSetCommand.js.map +1 -0
  96. package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js +69 -0
  97. package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js.map +1 -0
  98. package/dist-cjs/commands/ListByteMatchSetsCommand.js +69 -0
  99. package/dist-cjs/commands/ListByteMatchSetsCommand.js.map +1 -0
  100. package/dist-cjs/commands/ListGeoMatchSetsCommand.js +69 -0
  101. package/dist-cjs/commands/ListGeoMatchSetsCommand.js.map +1 -0
  102. package/dist-cjs/commands/ListIPSetsCommand.js +69 -0
  103. package/dist-cjs/commands/ListIPSetsCommand.js.map +1 -0
  104. package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +69 -0
  105. package/dist-cjs/commands/ListLoggingConfigurationsCommand.js.map +1 -0
  106. package/dist-cjs/commands/ListRateBasedRulesCommand.js +69 -0
  107. package/dist-cjs/commands/ListRateBasedRulesCommand.js.map +1 -0
  108. package/dist-cjs/commands/ListRegexMatchSetsCommand.js +69 -0
  109. package/dist-cjs/commands/ListRegexMatchSetsCommand.js.map +1 -0
  110. package/dist-cjs/commands/ListRegexPatternSetsCommand.js +69 -0
  111. package/dist-cjs/commands/ListRegexPatternSetsCommand.js.map +1 -0
  112. package/dist-cjs/commands/ListRuleGroupsCommand.js +69 -0
  113. package/dist-cjs/commands/ListRuleGroupsCommand.js.map +1 -0
  114. package/dist-cjs/commands/ListRulesCommand.js +69 -0
  115. package/dist-cjs/commands/ListRulesCommand.js.map +1 -0
  116. package/dist-cjs/commands/ListSizeConstraintSetsCommand.js +69 -0
  117. package/dist-cjs/commands/ListSizeConstraintSetsCommand.js.map +1 -0
  118. package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js +69 -0
  119. package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js.map +1 -0
  120. package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js +69 -0
  121. package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js.map +1 -0
  122. package/dist-cjs/commands/ListTagsForResourceCommand.js +70 -0
  123. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
  124. package/dist-cjs/commands/ListWebACLsCommand.js +69 -0
  125. package/dist-cjs/commands/ListWebACLsCommand.js.map +1 -0
  126. package/dist-cjs/commands/ListXssMatchSetsCommand.js +69 -0
  127. package/dist-cjs/commands/ListXssMatchSetsCommand.js.map +1 -0
  128. package/dist-cjs/commands/PutLoggingConfigurationCommand.js +86 -0
  129. package/dist-cjs/commands/PutLoggingConfigurationCommand.js.map +1 -0
  130. package/dist-cjs/commands/PutPermissionPolicyCommand.js +101 -0
  131. package/dist-cjs/commands/PutPermissionPolicyCommand.js.map +1 -0
  132. package/dist-cjs/commands/TagResourceCommand.js +70 -0
  133. package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
  134. package/dist-cjs/commands/UntagResourceCommand.js +69 -0
  135. package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
  136. package/dist-cjs/commands/UpdateByteMatchSetCommand.js +107 -0
  137. package/dist-cjs/commands/UpdateByteMatchSetCommand.js.map +1 -0
  138. package/dist-cjs/commands/UpdateGeoMatchSetCommand.js +99 -0
  139. package/dist-cjs/commands/UpdateGeoMatchSetCommand.js.map +1 -0
  140. package/dist-cjs/commands/UpdateIPSetCommand.js +134 -0
  141. package/dist-cjs/commands/UpdateIPSetCommand.js.map +1 -0
  142. package/dist-cjs/commands/UpdateRateBasedRuleCommand.js +115 -0
  143. package/dist-cjs/commands/UpdateRateBasedRuleCommand.js.map +1 -0
  144. package/dist-cjs/commands/UpdateRegexMatchSetCommand.js +103 -0
  145. package/dist-cjs/commands/UpdateRegexMatchSetCommand.js.map +1 -0
  146. package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +108 -0
  147. package/dist-cjs/commands/UpdateRegexPatternSetCommand.js.map +1 -0
  148. package/dist-cjs/commands/UpdateRuleCommand.js +110 -0
  149. package/dist-cjs/commands/UpdateRuleCommand.js.map +1 -0
  150. package/dist-cjs/commands/UpdateRuleGroupCommand.js +93 -0
  151. package/dist-cjs/commands/UpdateRuleGroupCommand.js.map +1 -0
  152. package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js +111 -0
  153. package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js.map +1 -0
  154. package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js +110 -0
  155. package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js.map +1 -0
  156. package/dist-cjs/commands/UpdateWebACLCommand.js +140 -0
  157. package/dist-cjs/commands/UpdateWebACLCommand.js.map +1 -0
  158. package/dist-cjs/commands/UpdateXssMatchSetCommand.js +112 -0
  159. package/dist-cjs/commands/UpdateXssMatchSetCommand.js.map +1 -0
  160. package/{dist/cjs → dist-cjs}/endpoints.js +0 -0
  161. package/dist-cjs/endpoints.js.map +1 -0
  162. package/{dist/cjs → dist-cjs}/index.js +0 -0
  163. package/dist-cjs/index.js.map +1 -0
  164. package/{dist/cjs → dist-cjs}/models/index.js +0 -0
  165. package/dist-cjs/models/index.js.map +1 -0
  166. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
  167. package/dist-cjs/models/models_0.js.map +1 -0
  168. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -0
  169. package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
  170. package/dist-cjs/runtimeConfig.browser.js +42 -0
  171. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  172. package/dist-cjs/runtimeConfig.js +47 -0
  173. package/dist-cjs/runtimeConfig.js.map +1 -0
  174. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -0
  175. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  176. package/dist-cjs/runtimeConfig.shared.js +21 -0
  177. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  178. package/dist-es/WAF.js +1166 -0
  179. package/dist-es/WAF.js.map +1 -0
  180. package/dist-es/WAFClient.js +38 -0
  181. package/dist-es/WAFClient.js.map +1 -0
  182. package/dist-es/commands/CreateByteMatchSetCommand.js +40 -0
  183. package/dist-es/commands/CreateByteMatchSetCommand.js.map +1 -0
  184. package/dist-es/commands/CreateGeoMatchSetCommand.js +40 -0
  185. package/dist-es/commands/CreateGeoMatchSetCommand.js.map +1 -0
  186. package/dist-es/commands/CreateIPSetCommand.js +40 -0
  187. package/dist-es/commands/CreateIPSetCommand.js.map +1 -0
  188. package/dist-es/commands/CreateRateBasedRuleCommand.js +40 -0
  189. package/dist-es/commands/CreateRateBasedRuleCommand.js.map +1 -0
  190. package/dist-es/commands/CreateRegexMatchSetCommand.js +40 -0
  191. package/dist-es/commands/CreateRegexMatchSetCommand.js.map +1 -0
  192. package/dist-es/commands/CreateRegexPatternSetCommand.js +40 -0
  193. package/dist-es/commands/CreateRegexPatternSetCommand.js.map +1 -0
  194. package/dist-es/commands/CreateRuleCommand.js +40 -0
  195. package/dist-es/commands/CreateRuleCommand.js.map +1 -0
  196. package/dist-es/commands/CreateRuleGroupCommand.js +40 -0
  197. package/dist-es/commands/CreateRuleGroupCommand.js.map +1 -0
  198. package/dist-es/commands/CreateSizeConstraintSetCommand.js +40 -0
  199. package/dist-es/commands/CreateSizeConstraintSetCommand.js.map +1 -0
  200. package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js +40 -0
  201. package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js.map +1 -0
  202. package/dist-es/commands/CreateWebACLCommand.js +40 -0
  203. package/dist-es/commands/CreateWebACLCommand.js.map +1 -0
  204. package/dist-es/commands/CreateWebACLMigrationStackCommand.js +40 -0
  205. package/dist-es/commands/CreateWebACLMigrationStackCommand.js.map +1 -0
  206. package/dist-es/commands/CreateXssMatchSetCommand.js +40 -0
  207. package/dist-es/commands/CreateXssMatchSetCommand.js.map +1 -0
  208. package/dist-es/commands/DeleteByteMatchSetCommand.js +40 -0
  209. package/dist-es/commands/DeleteByteMatchSetCommand.js.map +1 -0
  210. package/dist-es/commands/DeleteGeoMatchSetCommand.js +40 -0
  211. package/dist-es/commands/DeleteGeoMatchSetCommand.js.map +1 -0
  212. package/dist-es/commands/DeleteIPSetCommand.js +40 -0
  213. package/dist-es/commands/DeleteIPSetCommand.js.map +1 -0
  214. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +40 -0
  215. package/dist-es/commands/DeleteLoggingConfigurationCommand.js.map +1 -0
  216. package/dist-es/commands/DeletePermissionPolicyCommand.js +40 -0
  217. package/dist-es/commands/DeletePermissionPolicyCommand.js.map +1 -0
  218. package/dist-es/commands/DeleteRateBasedRuleCommand.js +40 -0
  219. package/dist-es/commands/DeleteRateBasedRuleCommand.js.map +1 -0
  220. package/dist-es/commands/DeleteRegexMatchSetCommand.js +40 -0
  221. package/dist-es/commands/DeleteRegexMatchSetCommand.js.map +1 -0
  222. package/dist-es/commands/DeleteRegexPatternSetCommand.js +40 -0
  223. package/dist-es/commands/DeleteRegexPatternSetCommand.js.map +1 -0
  224. package/dist-es/commands/DeleteRuleCommand.js +40 -0
  225. package/dist-es/commands/DeleteRuleCommand.js.map +1 -0
  226. package/dist-es/commands/DeleteRuleGroupCommand.js +40 -0
  227. package/dist-es/commands/DeleteRuleGroupCommand.js.map +1 -0
  228. package/dist-es/commands/DeleteSizeConstraintSetCommand.js +40 -0
  229. package/dist-es/commands/DeleteSizeConstraintSetCommand.js.map +1 -0
  230. package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js +40 -0
  231. package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js.map +1 -0
  232. package/dist-es/commands/DeleteWebACLCommand.js +40 -0
  233. package/dist-es/commands/DeleteWebACLCommand.js.map +1 -0
  234. package/dist-es/commands/DeleteXssMatchSetCommand.js +40 -0
  235. package/dist-es/commands/DeleteXssMatchSetCommand.js.map +1 -0
  236. package/dist-es/commands/GetByteMatchSetCommand.js +40 -0
  237. package/dist-es/commands/GetByteMatchSetCommand.js.map +1 -0
  238. package/dist-es/commands/GetChangeTokenCommand.js +40 -0
  239. package/dist-es/commands/GetChangeTokenCommand.js.map +1 -0
  240. package/dist-es/commands/GetChangeTokenStatusCommand.js +40 -0
  241. package/dist-es/commands/GetChangeTokenStatusCommand.js.map +1 -0
  242. package/dist-es/commands/GetGeoMatchSetCommand.js +40 -0
  243. package/dist-es/commands/GetGeoMatchSetCommand.js.map +1 -0
  244. package/dist-es/commands/GetIPSetCommand.js +40 -0
  245. package/dist-es/commands/GetIPSetCommand.js.map +1 -0
  246. package/dist-es/commands/GetLoggingConfigurationCommand.js +40 -0
  247. package/dist-es/commands/GetLoggingConfigurationCommand.js.map +1 -0
  248. package/dist-es/commands/GetPermissionPolicyCommand.js +40 -0
  249. package/dist-es/commands/GetPermissionPolicyCommand.js.map +1 -0
  250. package/dist-es/commands/GetRateBasedRuleCommand.js +40 -0
  251. package/dist-es/commands/GetRateBasedRuleCommand.js.map +1 -0
  252. package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js +40 -0
  253. package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js.map +1 -0
  254. package/dist-es/commands/GetRegexMatchSetCommand.js +40 -0
  255. package/dist-es/commands/GetRegexMatchSetCommand.js.map +1 -0
  256. package/dist-es/commands/GetRegexPatternSetCommand.js +40 -0
  257. package/dist-es/commands/GetRegexPatternSetCommand.js.map +1 -0
  258. package/dist-es/commands/GetRuleCommand.js +40 -0
  259. package/dist-es/commands/GetRuleCommand.js.map +1 -0
  260. package/dist-es/commands/GetRuleGroupCommand.js +40 -0
  261. package/dist-es/commands/GetRuleGroupCommand.js.map +1 -0
  262. package/dist-es/commands/GetSampledRequestsCommand.js +40 -0
  263. package/dist-es/commands/GetSampledRequestsCommand.js.map +1 -0
  264. package/dist-es/commands/GetSizeConstraintSetCommand.js +40 -0
  265. package/dist-es/commands/GetSizeConstraintSetCommand.js.map +1 -0
  266. package/dist-es/commands/GetSqlInjectionMatchSetCommand.js +40 -0
  267. package/dist-es/commands/GetSqlInjectionMatchSetCommand.js.map +1 -0
  268. package/dist-es/commands/GetWebACLCommand.js +40 -0
  269. package/dist-es/commands/GetWebACLCommand.js.map +1 -0
  270. package/dist-es/commands/GetXssMatchSetCommand.js +40 -0
  271. package/dist-es/commands/GetXssMatchSetCommand.js.map +1 -0
  272. package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js +40 -0
  273. package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js.map +1 -0
  274. package/dist-es/commands/ListByteMatchSetsCommand.js +40 -0
  275. package/dist-es/commands/ListByteMatchSetsCommand.js.map +1 -0
  276. package/dist-es/commands/ListGeoMatchSetsCommand.js +40 -0
  277. package/dist-es/commands/ListGeoMatchSetsCommand.js.map +1 -0
  278. package/dist-es/commands/ListIPSetsCommand.js +40 -0
  279. package/dist-es/commands/ListIPSetsCommand.js.map +1 -0
  280. package/dist-es/commands/ListLoggingConfigurationsCommand.js +40 -0
  281. package/dist-es/commands/ListLoggingConfigurationsCommand.js.map +1 -0
  282. package/dist-es/commands/ListRateBasedRulesCommand.js +40 -0
  283. package/dist-es/commands/ListRateBasedRulesCommand.js.map +1 -0
  284. package/dist-es/commands/ListRegexMatchSetsCommand.js +40 -0
  285. package/dist-es/commands/ListRegexMatchSetsCommand.js.map +1 -0
  286. package/dist-es/commands/ListRegexPatternSetsCommand.js +40 -0
  287. package/dist-es/commands/ListRegexPatternSetsCommand.js.map +1 -0
  288. package/dist-es/commands/ListRuleGroupsCommand.js +40 -0
  289. package/dist-es/commands/ListRuleGroupsCommand.js.map +1 -0
  290. package/dist-es/commands/ListRulesCommand.js +40 -0
  291. package/dist-es/commands/ListRulesCommand.js.map +1 -0
  292. package/dist-es/commands/ListSizeConstraintSetsCommand.js +40 -0
  293. package/dist-es/commands/ListSizeConstraintSetsCommand.js.map +1 -0
  294. package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js +40 -0
  295. package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js.map +1 -0
  296. package/dist-es/commands/ListSubscribedRuleGroupsCommand.js +40 -0
  297. package/dist-es/commands/ListSubscribedRuleGroupsCommand.js.map +1 -0
  298. package/dist-es/commands/ListTagsForResourceCommand.js +40 -0
  299. package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
  300. package/dist-es/commands/ListWebACLsCommand.js +40 -0
  301. package/dist-es/commands/ListWebACLsCommand.js.map +1 -0
  302. package/dist-es/commands/ListXssMatchSetsCommand.js +40 -0
  303. package/dist-es/commands/ListXssMatchSetsCommand.js.map +1 -0
  304. package/dist-es/commands/PutLoggingConfigurationCommand.js +40 -0
  305. package/dist-es/commands/PutLoggingConfigurationCommand.js.map +1 -0
  306. package/dist-es/commands/PutPermissionPolicyCommand.js +40 -0
  307. package/dist-es/commands/PutPermissionPolicyCommand.js.map +1 -0
  308. package/dist-es/commands/TagResourceCommand.js +40 -0
  309. package/dist-es/commands/TagResourceCommand.js.map +1 -0
  310. package/dist-es/commands/UntagResourceCommand.js +40 -0
  311. package/dist-es/commands/UntagResourceCommand.js.map +1 -0
  312. package/dist-es/commands/UpdateByteMatchSetCommand.js +40 -0
  313. package/dist-es/commands/UpdateByteMatchSetCommand.js.map +1 -0
  314. package/dist-es/commands/UpdateGeoMatchSetCommand.js +40 -0
  315. package/dist-es/commands/UpdateGeoMatchSetCommand.js.map +1 -0
  316. package/dist-es/commands/UpdateIPSetCommand.js +40 -0
  317. package/dist-es/commands/UpdateIPSetCommand.js.map +1 -0
  318. package/dist-es/commands/UpdateRateBasedRuleCommand.js +40 -0
  319. package/dist-es/commands/UpdateRateBasedRuleCommand.js.map +1 -0
  320. package/dist-es/commands/UpdateRegexMatchSetCommand.js +40 -0
  321. package/dist-es/commands/UpdateRegexMatchSetCommand.js.map +1 -0
  322. package/dist-es/commands/UpdateRegexPatternSetCommand.js +40 -0
  323. package/dist-es/commands/UpdateRegexPatternSetCommand.js.map +1 -0
  324. package/dist-es/commands/UpdateRuleCommand.js +40 -0
  325. package/dist-es/commands/UpdateRuleCommand.js.map +1 -0
  326. package/dist-es/commands/UpdateRuleGroupCommand.js +40 -0
  327. package/dist-es/commands/UpdateRuleGroupCommand.js.map +1 -0
  328. package/dist-es/commands/UpdateSizeConstraintSetCommand.js +40 -0
  329. package/dist-es/commands/UpdateSizeConstraintSetCommand.js.map +1 -0
  330. package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js +40 -0
  331. package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js.map +1 -0
  332. package/dist-es/commands/UpdateWebACLCommand.js +40 -0
  333. package/dist-es/commands/UpdateWebACLCommand.js.map +1 -0
  334. package/dist-es/commands/UpdateXssMatchSetCommand.js +40 -0
  335. package/dist-es/commands/UpdateXssMatchSetCommand.js.map +1 -0
  336. package/{dist/es → dist-es}/endpoints.js +0 -0
  337. package/dist-es/endpoints.js.map +1 -0
  338. package/{dist/es → dist-es}/index.js +0 -0
  339. package/dist-es/index.js.map +1 -0
  340. package/{dist/es → dist-es}/models/index.js +0 -0
  341. package/dist-es/models/index.js.map +1 -0
  342. package/{dist/es → dist-es}/models/models_0.js +0 -0
  343. package/dist-es/models/models_0.js.map +1 -0
  344. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -0
  345. package/dist-es/protocols/Aws_json1_1.js.map +1 -0
  346. package/dist-es/runtimeConfig.browser.js +17 -0
  347. package/dist-es/runtimeConfig.browser.js.map +1 -0
  348. package/dist-es/runtimeConfig.js +22 -0
  349. package/dist-es/runtimeConfig.js.map +1 -0
  350. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -0
  351. package/dist-es/runtimeConfig.native.js.map +1 -0
  352. package/dist-es/runtimeConfig.shared.js +14 -0
  353. package/dist-es/runtimeConfig.shared.js.map +1 -0
  354. package/dist-types/WAF.d.ts +2287 -0
  355. package/dist-types/WAFClient.d.ts +219 -0
  356. package/dist-types/commands/CreateByteMatchSetCommand.d.ts +66 -0
  357. package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +63 -0
  358. package/dist-types/commands/CreateIPSetCommand.d.ts +68 -0
  359. package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +128 -0
  360. package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +66 -0
  361. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +62 -0
  362. package/dist-types/commands/CreateRuleCommand.d.ts +86 -0
  363. package/dist-types/commands/CreateRuleGroupCommand.d.ts +57 -0
  364. package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +66 -0
  365. package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +64 -0
  366. package/dist-types/commands/CreateWebACLCommand.d.ts +74 -0
  367. package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +42 -0
  368. package/dist-types/commands/CreateXssMatchSetCommand.d.ts +64 -0
  369. package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +58 -0
  370. package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +58 -0
  371. package/dist-types/commands/DeleteIPSetCommand.d.ts +58 -0
  372. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +44 -0
  373. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +44 -0
  374. package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +62 -0
  375. package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +58 -0
  376. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +44 -0
  377. package/dist-types/commands/DeleteRuleCommand.d.ts +58 -0
  378. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +58 -0
  379. package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +58 -0
  380. package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +59 -0
  381. package/dist-types/commands/DeleteWebACLCommand.d.ts +56 -0
  382. package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +59 -0
  383. package/dist-types/commands/GetByteMatchSetCommand.d.ts +43 -0
  384. package/dist-types/commands/GetChangeTokenCommand.d.ts +49 -0
  385. package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +59 -0
  386. package/dist-types/commands/GetGeoMatchSetCommand.d.ts +43 -0
  387. package/dist-types/commands/GetIPSetCommand.d.ts +43 -0
  388. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +43 -0
  389. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +43 -0
  390. package/dist-types/commands/GetRateBasedRuleCommand.d.ts +45 -0
  391. package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +45 -0
  392. package/dist-types/commands/GetRegexMatchSetCommand.d.ts +43 -0
  393. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +43 -0
  394. package/dist-types/commands/GetRuleCommand.d.ts +43 -0
  395. package/dist-types/commands/GetRuleGroupCommand.d.ts +44 -0
  396. package/dist-types/commands/GetSampledRequestsCommand.d.ts +47 -0
  397. package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +43 -0
  398. package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +43 -0
  399. package/dist-types/commands/GetWebACLCommand.d.ts +43 -0
  400. package/dist-types/commands/GetXssMatchSetCommand.d.ts +43 -0
  401. package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +43 -0
  402. package/dist-types/commands/ListByteMatchSetsCommand.d.ts +43 -0
  403. package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +43 -0
  404. package/dist-types/commands/ListIPSetsCommand.d.ts +43 -0
  405. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +43 -0
  406. package/dist-types/commands/ListRateBasedRulesCommand.d.ts +43 -0
  407. package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +43 -0
  408. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +43 -0
  409. package/dist-types/commands/ListRuleGroupsCommand.d.ts +43 -0
  410. package/dist-types/commands/ListRulesCommand.d.ts +43 -0
  411. package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +43 -0
  412. package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +43 -0
  413. package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +43 -0
  414. package/dist-types/commands/ListTagsForResourceCommand.d.ts +44 -0
  415. package/dist-types/commands/ListWebACLsCommand.d.ts +43 -0
  416. package/dist-types/commands/ListXssMatchSetsCommand.d.ts +43 -0
  417. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +60 -0
  418. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +75 -0
  419. package/dist-types/commands/TagResourceCommand.d.ts +44 -0
  420. package/dist-types/commands/UntagResourceCommand.d.ts +43 -0
  421. package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +81 -0
  422. package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +73 -0
  423. package/dist-types/commands/UpdateIPSetCommand.d.ts +108 -0
  424. package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +89 -0
  425. package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +77 -0
  426. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +82 -0
  427. package/dist-types/commands/UpdateRuleCommand.d.ts +84 -0
  428. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +67 -0
  429. package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +85 -0
  430. package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +84 -0
  431. package/dist-types/commands/UpdateWebACLCommand.d.ts +114 -0
  432. package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +86 -0
  433. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  434. package/{dist/types → dist-types}/index.d.ts +0 -0
  435. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  436. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  437. package/dist-types/protocols/Aws_json1_1.d.ts +233 -0
  438. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  439. package/dist-types/runtimeConfig.d.ts +37 -0
  440. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  441. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  442. package/dist-types/ts3.4/WAF.d.ts +2287 -0
  443. package/dist-types/ts3.4/WAFClient.d.ts +219 -0
  444. package/dist-types/ts3.4/commands/CreateByteMatchSetCommand.d.ts +66 -0
  445. package/dist-types/ts3.4/commands/CreateGeoMatchSetCommand.d.ts +63 -0
  446. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +68 -0
  447. package/dist-types/ts3.4/commands/CreateRateBasedRuleCommand.d.ts +128 -0
  448. package/dist-types/ts3.4/commands/CreateRegexMatchSetCommand.d.ts +66 -0
  449. package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +62 -0
  450. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +86 -0
  451. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +57 -0
  452. package/dist-types/ts3.4/commands/CreateSizeConstraintSetCommand.d.ts +66 -0
  453. package/dist-types/ts3.4/commands/CreateSqlInjectionMatchSetCommand.d.ts +64 -0
  454. package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +74 -0
  455. package/dist-types/ts3.4/commands/CreateWebACLMigrationStackCommand.d.ts +42 -0
  456. package/dist-types/ts3.4/commands/CreateXssMatchSetCommand.d.ts +64 -0
  457. package/dist-types/ts3.4/commands/DeleteByteMatchSetCommand.d.ts +58 -0
  458. package/dist-types/ts3.4/commands/DeleteGeoMatchSetCommand.d.ts +58 -0
  459. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +58 -0
  460. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +44 -0
  461. package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +44 -0
  462. package/dist-types/ts3.4/commands/DeleteRateBasedRuleCommand.d.ts +62 -0
  463. package/dist-types/ts3.4/commands/DeleteRegexMatchSetCommand.d.ts +58 -0
  464. package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +44 -0
  465. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +58 -0
  466. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +58 -0
  467. package/dist-types/ts3.4/commands/DeleteSizeConstraintSetCommand.d.ts +58 -0
  468. package/dist-types/ts3.4/commands/DeleteSqlInjectionMatchSetCommand.d.ts +59 -0
  469. package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +56 -0
  470. package/dist-types/ts3.4/commands/DeleteXssMatchSetCommand.d.ts +59 -0
  471. package/dist-types/ts3.4/commands/GetByteMatchSetCommand.d.ts +43 -0
  472. package/dist-types/ts3.4/commands/GetChangeTokenCommand.d.ts +49 -0
  473. package/dist-types/ts3.4/commands/GetChangeTokenStatusCommand.d.ts +59 -0
  474. package/dist-types/ts3.4/commands/GetGeoMatchSetCommand.d.ts +43 -0
  475. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +43 -0
  476. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +43 -0
  477. package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +43 -0
  478. package/dist-types/ts3.4/commands/GetRateBasedRuleCommand.d.ts +45 -0
  479. package/dist-types/ts3.4/commands/GetRateBasedRuleManagedKeysCommand.d.ts +45 -0
  480. package/dist-types/ts3.4/commands/GetRegexMatchSetCommand.d.ts +43 -0
  481. package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +43 -0
  482. package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +43 -0
  483. package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +44 -0
  484. package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +47 -0
  485. package/dist-types/ts3.4/commands/GetSizeConstraintSetCommand.d.ts +43 -0
  486. package/dist-types/ts3.4/commands/GetSqlInjectionMatchSetCommand.d.ts +43 -0
  487. package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +43 -0
  488. package/dist-types/ts3.4/commands/GetXssMatchSetCommand.d.ts +43 -0
  489. package/dist-types/ts3.4/commands/ListActivatedRulesInRuleGroupCommand.d.ts +43 -0
  490. package/dist-types/ts3.4/commands/ListByteMatchSetsCommand.d.ts +43 -0
  491. package/dist-types/ts3.4/commands/ListGeoMatchSetsCommand.d.ts +43 -0
  492. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +43 -0
  493. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +43 -0
  494. package/dist-types/ts3.4/commands/ListRateBasedRulesCommand.d.ts +43 -0
  495. package/dist-types/ts3.4/commands/ListRegexMatchSetsCommand.d.ts +43 -0
  496. package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +43 -0
  497. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +43 -0
  498. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +43 -0
  499. package/dist-types/ts3.4/commands/ListSizeConstraintSetsCommand.d.ts +43 -0
  500. package/dist-types/ts3.4/commands/ListSqlInjectionMatchSetsCommand.d.ts +43 -0
  501. package/dist-types/ts3.4/commands/ListSubscribedRuleGroupsCommand.d.ts +43 -0
  502. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +44 -0
  503. package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +43 -0
  504. package/dist-types/ts3.4/commands/ListXssMatchSetsCommand.d.ts +43 -0
  505. package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +60 -0
  506. package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +75 -0
  507. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +44 -0
  508. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +43 -0
  509. package/dist-types/ts3.4/commands/UpdateByteMatchSetCommand.d.ts +81 -0
  510. package/dist-types/ts3.4/commands/UpdateGeoMatchSetCommand.d.ts +73 -0
  511. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +108 -0
  512. package/dist-types/ts3.4/commands/UpdateRateBasedRuleCommand.d.ts +89 -0
  513. package/dist-types/ts3.4/commands/UpdateRegexMatchSetCommand.d.ts +77 -0
  514. package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +82 -0
  515. package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +84 -0
  516. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +67 -0
  517. package/dist-types/ts3.4/commands/UpdateSizeConstraintSetCommand.d.ts +85 -0
  518. package/dist-types/ts3.4/commands/UpdateSqlInjectionMatchSetCommand.d.ts +84 -0
  519. package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +114 -0
  520. package/dist-types/ts3.4/commands/UpdateXssMatchSetCommand.d.ts +86 -0
  521. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  522. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  523. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  524. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  525. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +233 -0
  526. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
  527. package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
  528. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
  529. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  530. package/package.json +42 -42
  531. package/src/WAF.ts +4456 -0
  532. package/src/WAFClient.ts +576 -0
  533. package/src/commands/CreateByteMatchSetCommand.ts +126 -0
  534. package/src/commands/CreateGeoMatchSetCommand.ts +123 -0
  535. package/src/commands/CreateIPSetCommand.ts +128 -0
  536. package/src/commands/CreateRateBasedRuleCommand.ts +188 -0
  537. package/src/commands/CreateRegexMatchSetCommand.ts +126 -0
  538. package/src/commands/CreateRegexPatternSetCommand.ts +122 -0
  539. package/src/commands/CreateRuleCommand.ts +146 -0
  540. package/src/commands/CreateRuleGroupCommand.ts +117 -0
  541. package/src/commands/CreateSizeConstraintSetCommand.ts +126 -0
  542. package/src/commands/CreateSqlInjectionMatchSetCommand.ts +127 -0
  543. package/src/commands/CreateWebACLCommand.ts +134 -0
  544. package/src/commands/CreateWebACLMigrationStackCommand.ts +105 -0
  545. package/src/commands/CreateXssMatchSetCommand.ts +124 -0
  546. package/src/commands/DeleteByteMatchSetCommand.ts +118 -0
  547. package/src/commands/DeleteGeoMatchSetCommand.ts +118 -0
  548. package/src/commands/DeleteIPSetCommand.ts +118 -0
  549. package/src/commands/DeleteLoggingConfigurationCommand.ts +107 -0
  550. package/src/commands/DeletePermissionPolicyCommand.ts +104 -0
  551. package/src/commands/DeleteRateBasedRuleCommand.ts +122 -0
  552. package/src/commands/DeleteRegexMatchSetCommand.ts +118 -0
  553. package/src/commands/DeleteRegexPatternSetCommand.ts +104 -0
  554. package/src/commands/DeleteRuleCommand.ts +118 -0
  555. package/src/commands/DeleteRuleGroupCommand.ts +118 -0
  556. package/src/commands/DeleteSizeConstraintSetCommand.ts +118 -0
  557. package/src/commands/DeleteSqlInjectionMatchSetCommand.ts +122 -0
  558. package/src/commands/DeleteWebACLCommand.ts +116 -0
  559. package/src/commands/DeleteXssMatchSetCommand.ts +119 -0
  560. package/src/commands/GetByteMatchSetCommand.ts +103 -0
  561. package/src/commands/GetChangeTokenCommand.ts +109 -0
  562. package/src/commands/GetChangeTokenStatusCommand.ts +119 -0
  563. package/src/commands/GetGeoMatchSetCommand.ts +103 -0
  564. package/src/commands/GetIPSetCommand.ts +96 -0
  565. package/src/commands/GetLoggingConfigurationCommand.ts +103 -0
  566. package/src/commands/GetPermissionPolicyCommand.ts +103 -0
  567. package/src/commands/GetRateBasedRuleCommand.ts +105 -0
  568. package/src/commands/GetRateBasedRuleManagedKeysCommand.ts +110 -0
  569. package/src/commands/GetRegexMatchSetCommand.ts +103 -0
  570. package/src/commands/GetRegexPatternSetCommand.ts +103 -0
  571. package/src/commands/GetRuleCommand.ts +96 -0
  572. package/src/commands/GetRuleGroupCommand.ts +104 -0
  573. package/src/commands/GetSampledRequestsCommand.ts +107 -0
  574. package/src/commands/GetSizeConstraintSetCommand.ts +103 -0
  575. package/src/commands/GetSqlInjectionMatchSetCommand.ts +103 -0
  576. package/src/commands/GetWebACLCommand.ts +96 -0
  577. package/src/commands/GetXssMatchSetCommand.ts +103 -0
  578. package/src/commands/ListActivatedRulesInRuleGroupCommand.ts +108 -0
  579. package/src/commands/ListByteMatchSetsCommand.ts +103 -0
  580. package/src/commands/ListGeoMatchSetsCommand.ts +103 -0
  581. package/src/commands/ListIPSetsCommand.ts +103 -0
  582. package/src/commands/ListLoggingConfigurationsCommand.ts +106 -0
  583. package/src/commands/ListRateBasedRulesCommand.ts +103 -0
  584. package/src/commands/ListRegexMatchSetsCommand.ts +103 -0
  585. package/src/commands/ListRegexPatternSetsCommand.ts +103 -0
  586. package/src/commands/ListRuleGroupsCommand.ts +103 -0
  587. package/src/commands/ListRulesCommand.ts +96 -0
  588. package/src/commands/ListSizeConstraintSetsCommand.ts +103 -0
  589. package/src/commands/ListSqlInjectionMatchSetsCommand.ts +106 -0
  590. package/src/commands/ListSubscribedRuleGroupsCommand.ts +103 -0
  591. package/src/commands/ListTagsForResourceCommand.ts +104 -0
  592. package/src/commands/ListWebACLsCommand.ts +103 -0
  593. package/src/commands/ListXssMatchSetsCommand.ts +103 -0
  594. package/src/commands/PutLoggingConfigurationCommand.ts +120 -0
  595. package/src/commands/PutPermissionPolicyCommand.ts +135 -0
  596. package/src/commands/TagResourceCommand.ts +104 -0
  597. package/src/commands/UntagResourceCommand.ts +103 -0
  598. package/src/commands/UpdateByteMatchSetCommand.ts +141 -0
  599. package/src/commands/UpdateGeoMatchSetCommand.ts +133 -0
  600. package/src/commands/UpdateIPSetCommand.ts +168 -0
  601. package/src/commands/UpdateRateBasedRuleCommand.ts +149 -0
  602. package/src/commands/UpdateRegexMatchSetCommand.ts +137 -0
  603. package/src/commands/UpdateRegexPatternSetCommand.ts +142 -0
  604. package/src/commands/UpdateRuleCommand.ts +144 -0
  605. package/src/commands/UpdateRuleGroupCommand.ts +127 -0
  606. package/src/commands/UpdateSizeConstraintSetCommand.ts +145 -0
  607. package/src/commands/UpdateSqlInjectionMatchSetCommand.ts +147 -0
  608. package/src/commands/UpdateWebACLCommand.ts +174 -0
  609. package/src/commands/UpdateXssMatchSetCommand.ts +146 -0
  610. package/src/endpoints.ts +68 -0
  611. package/{index.ts → src/index.ts} +0 -0
  612. package/{models → src/models}/index.ts +0 -0
  613. package/{models → src/models}/models_0.ts +0 -0
  614. package/src/protocols/Aws_json1_1.ts +11232 -0
  615. package/src/runtimeConfig.browser.ts +41 -0
  616. package/src/runtimeConfig.native.ts +17 -0
  617. package/src/runtimeConfig.shared.ts +17 -0
  618. package/src/runtimeConfig.ts +46 -0
  619. package/tsconfig.es.json +1 -1
  620. package/tsconfig.json +4 -2
  621. package/tsconfig.types.json +3 -2
  622. package/WAF.ts +0 -4455
  623. package/WAFClient.ts +0 -575
  624. package/commands/CreateByteMatchSetCommand.ts +0 -125
  625. package/commands/CreateGeoMatchSetCommand.ts +0 -122
  626. package/commands/CreateIPSetCommand.ts +0 -127
  627. package/commands/CreateRateBasedRuleCommand.ts +0 -187
  628. package/commands/CreateRegexMatchSetCommand.ts +0 -125
  629. package/commands/CreateRegexPatternSetCommand.ts +0 -121
  630. package/commands/CreateRuleCommand.ts +0 -145
  631. package/commands/CreateRuleGroupCommand.ts +0 -116
  632. package/commands/CreateSizeConstraintSetCommand.ts +0 -125
  633. package/commands/CreateSqlInjectionMatchSetCommand.ts +0 -126
  634. package/commands/CreateWebACLCommand.ts +0 -133
  635. package/commands/CreateWebACLMigrationStackCommand.ts +0 -104
  636. package/commands/CreateXssMatchSetCommand.ts +0 -123
  637. package/commands/DeleteByteMatchSetCommand.ts +0 -117
  638. package/commands/DeleteGeoMatchSetCommand.ts +0 -117
  639. package/commands/DeleteIPSetCommand.ts +0 -117
  640. package/commands/DeleteLoggingConfigurationCommand.ts +0 -106
  641. package/commands/DeletePermissionPolicyCommand.ts +0 -103
  642. package/commands/DeleteRateBasedRuleCommand.ts +0 -121
  643. package/commands/DeleteRegexMatchSetCommand.ts +0 -117
  644. package/commands/DeleteRegexPatternSetCommand.ts +0 -103
  645. package/commands/DeleteRuleCommand.ts +0 -117
  646. package/commands/DeleteRuleGroupCommand.ts +0 -117
  647. package/commands/DeleteSizeConstraintSetCommand.ts +0 -117
  648. package/commands/DeleteSqlInjectionMatchSetCommand.ts +0 -121
  649. package/commands/DeleteWebACLCommand.ts +0 -115
  650. package/commands/DeleteXssMatchSetCommand.ts +0 -118
  651. package/commands/GetByteMatchSetCommand.ts +0 -102
  652. package/commands/GetChangeTokenCommand.ts +0 -108
  653. package/commands/GetChangeTokenStatusCommand.ts +0 -118
  654. package/commands/GetGeoMatchSetCommand.ts +0 -102
  655. package/commands/GetIPSetCommand.ts +0 -95
  656. package/commands/GetLoggingConfigurationCommand.ts +0 -102
  657. package/commands/GetPermissionPolicyCommand.ts +0 -102
  658. package/commands/GetRateBasedRuleCommand.ts +0 -104
  659. package/commands/GetRateBasedRuleManagedKeysCommand.ts +0 -109
  660. package/commands/GetRegexMatchSetCommand.ts +0 -102
  661. package/commands/GetRegexPatternSetCommand.ts +0 -102
  662. package/commands/GetRuleCommand.ts +0 -95
  663. package/commands/GetRuleGroupCommand.ts +0 -103
  664. package/commands/GetSampledRequestsCommand.ts +0 -106
  665. package/commands/GetSizeConstraintSetCommand.ts +0 -102
  666. package/commands/GetSqlInjectionMatchSetCommand.ts +0 -102
  667. package/commands/GetWebACLCommand.ts +0 -95
  668. package/commands/GetXssMatchSetCommand.ts +0 -102
  669. package/commands/ListActivatedRulesInRuleGroupCommand.ts +0 -107
  670. package/commands/ListByteMatchSetsCommand.ts +0 -102
  671. package/commands/ListGeoMatchSetsCommand.ts +0 -102
  672. package/commands/ListIPSetsCommand.ts +0 -102
  673. package/commands/ListLoggingConfigurationsCommand.ts +0 -105
  674. package/commands/ListRateBasedRulesCommand.ts +0 -102
  675. package/commands/ListRegexMatchSetsCommand.ts +0 -102
  676. package/commands/ListRegexPatternSetsCommand.ts +0 -102
  677. package/commands/ListRuleGroupsCommand.ts +0 -102
  678. package/commands/ListRulesCommand.ts +0 -95
  679. package/commands/ListSizeConstraintSetsCommand.ts +0 -102
  680. package/commands/ListSqlInjectionMatchSetsCommand.ts +0 -105
  681. package/commands/ListSubscribedRuleGroupsCommand.ts +0 -102
  682. package/commands/ListTagsForResourceCommand.ts +0 -103
  683. package/commands/ListWebACLsCommand.ts +0 -102
  684. package/commands/ListXssMatchSetsCommand.ts +0 -102
  685. package/commands/PutLoggingConfigurationCommand.ts +0 -119
  686. package/commands/PutPermissionPolicyCommand.ts +0 -134
  687. package/commands/TagResourceCommand.ts +0 -103
  688. package/commands/UntagResourceCommand.ts +0 -102
  689. package/commands/UpdateByteMatchSetCommand.ts +0 -140
  690. package/commands/UpdateGeoMatchSetCommand.ts +0 -132
  691. package/commands/UpdateIPSetCommand.ts +0 -167
  692. package/commands/UpdateRateBasedRuleCommand.ts +0 -148
  693. package/commands/UpdateRegexMatchSetCommand.ts +0 -136
  694. package/commands/UpdateRegexPatternSetCommand.ts +0 -141
  695. package/commands/UpdateRuleCommand.ts +0 -143
  696. package/commands/UpdateRuleGroupCommand.ts +0 -126
  697. package/commands/UpdateSizeConstraintSetCommand.ts +0 -144
  698. package/commands/UpdateSqlInjectionMatchSetCommand.ts +0 -146
  699. package/commands/UpdateWebACLCommand.ts +0 -173
  700. package/commands/UpdateXssMatchSetCommand.ts +0 -145
  701. package/dist/cjs/WAF.js +0 -1176
  702. package/dist/cjs/WAF.js.map +0 -1
  703. package/dist/cjs/WAFClient.js +0 -54
  704. package/dist/cjs/WAFClient.js.map +0 -1
  705. package/dist/cjs/commands/CreateByteMatchSetCommand.js +0 -92
  706. package/dist/cjs/commands/CreateByteMatchSetCommand.js.map +0 -1
  707. package/dist/cjs/commands/CreateGeoMatchSetCommand.js +0 -89
  708. package/dist/cjs/commands/CreateGeoMatchSetCommand.js.map +0 -1
  709. package/dist/cjs/commands/CreateIPSetCommand.js +0 -94
  710. package/dist/cjs/commands/CreateIPSetCommand.js.map +0 -1
  711. package/dist/cjs/commands/CreateRateBasedRuleCommand.js +0 -154
  712. package/dist/cjs/commands/CreateRateBasedRuleCommand.js.map +0 -1
  713. package/dist/cjs/commands/CreateRegexMatchSetCommand.js +0 -92
  714. package/dist/cjs/commands/CreateRegexMatchSetCommand.js.map +0 -1
  715. package/dist/cjs/commands/CreateRegexPatternSetCommand.js +0 -88
  716. package/dist/cjs/commands/CreateRegexPatternSetCommand.js.map +0 -1
  717. package/dist/cjs/commands/CreateRuleCommand.js +0 -112
  718. package/dist/cjs/commands/CreateRuleCommand.js.map +0 -1
  719. package/dist/cjs/commands/CreateRuleGroupCommand.js +0 -83
  720. package/dist/cjs/commands/CreateRuleGroupCommand.js.map +0 -1
  721. package/dist/cjs/commands/CreateSizeConstraintSetCommand.js +0 -92
  722. package/dist/cjs/commands/CreateSizeConstraintSetCommand.js.map +0 -1
  723. package/dist/cjs/commands/CreateSqlInjectionMatchSetCommand.js +0 -90
  724. package/dist/cjs/commands/CreateSqlInjectionMatchSetCommand.js.map +0 -1
  725. package/dist/cjs/commands/CreateWebACLCommand.js +0 -100
  726. package/dist/cjs/commands/CreateWebACLCommand.js.map +0 -1
  727. package/dist/cjs/commands/CreateWebACLMigrationStackCommand.js +0 -68
  728. package/dist/cjs/commands/CreateWebACLMigrationStackCommand.js.map +0 -1
  729. package/dist/cjs/commands/CreateXssMatchSetCommand.js +0 -90
  730. package/dist/cjs/commands/CreateXssMatchSetCommand.js.map +0 -1
  731. package/dist/cjs/commands/DeleteByteMatchSetCommand.js +0 -84
  732. package/dist/cjs/commands/DeleteByteMatchSetCommand.js.map +0 -1
  733. package/dist/cjs/commands/DeleteGeoMatchSetCommand.js +0 -84
  734. package/dist/cjs/commands/DeleteGeoMatchSetCommand.js.map +0 -1
  735. package/dist/cjs/commands/DeleteIPSetCommand.js +0 -84
  736. package/dist/cjs/commands/DeleteIPSetCommand.js.map +0 -1
  737. package/dist/cjs/commands/DeleteLoggingConfigurationCommand.js +0 -70
  738. package/dist/cjs/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
  739. package/dist/cjs/commands/DeletePermissionPolicyCommand.js +0 -70
  740. package/dist/cjs/commands/DeletePermissionPolicyCommand.js.map +0 -1
  741. package/dist/cjs/commands/DeleteRateBasedRuleCommand.js +0 -88
  742. package/dist/cjs/commands/DeleteRateBasedRuleCommand.js.map +0 -1
  743. package/dist/cjs/commands/DeleteRegexMatchSetCommand.js +0 -84
  744. package/dist/cjs/commands/DeleteRegexMatchSetCommand.js.map +0 -1
  745. package/dist/cjs/commands/DeleteRegexPatternSetCommand.js +0 -70
  746. package/dist/cjs/commands/DeleteRegexPatternSetCommand.js.map +0 -1
  747. package/dist/cjs/commands/DeleteRuleCommand.js +0 -84
  748. package/dist/cjs/commands/DeleteRuleCommand.js.map +0 -1
  749. package/dist/cjs/commands/DeleteRuleGroupCommand.js +0 -84
  750. package/dist/cjs/commands/DeleteRuleGroupCommand.js.map +0 -1
  751. package/dist/cjs/commands/DeleteSizeConstraintSetCommand.js +0 -84
  752. package/dist/cjs/commands/DeleteSizeConstraintSetCommand.js.map +0 -1
  753. package/dist/cjs/commands/DeleteSqlInjectionMatchSetCommand.js +0 -85
  754. package/dist/cjs/commands/DeleteSqlInjectionMatchSetCommand.js.map +0 -1
  755. package/dist/cjs/commands/DeleteWebACLCommand.js +0 -82
  756. package/dist/cjs/commands/DeleteWebACLCommand.js.map +0 -1
  757. package/dist/cjs/commands/DeleteXssMatchSetCommand.js +0 -85
  758. package/dist/cjs/commands/DeleteXssMatchSetCommand.js.map +0 -1
  759. package/dist/cjs/commands/GetByteMatchSetCommand.js +0 -69
  760. package/dist/cjs/commands/GetByteMatchSetCommand.js.map +0 -1
  761. package/dist/cjs/commands/GetChangeTokenCommand.js +0 -75
  762. package/dist/cjs/commands/GetChangeTokenCommand.js.map +0 -1
  763. package/dist/cjs/commands/GetChangeTokenStatusCommand.js +0 -85
  764. package/dist/cjs/commands/GetChangeTokenStatusCommand.js.map +0 -1
  765. package/dist/cjs/commands/GetGeoMatchSetCommand.js +0 -69
  766. package/dist/cjs/commands/GetGeoMatchSetCommand.js.map +0 -1
  767. package/dist/cjs/commands/GetIPSetCommand.js +0 -69
  768. package/dist/cjs/commands/GetIPSetCommand.js.map +0 -1
  769. package/dist/cjs/commands/GetLoggingConfigurationCommand.js +0 -69
  770. package/dist/cjs/commands/GetLoggingConfigurationCommand.js.map +0 -1
  771. package/dist/cjs/commands/GetPermissionPolicyCommand.js +0 -69
  772. package/dist/cjs/commands/GetPermissionPolicyCommand.js.map +0 -1
  773. package/dist/cjs/commands/GetRateBasedRuleCommand.js +0 -71
  774. package/dist/cjs/commands/GetRateBasedRuleCommand.js.map +0 -1
  775. package/dist/cjs/commands/GetRateBasedRuleManagedKeysCommand.js +0 -71
  776. package/dist/cjs/commands/GetRateBasedRuleManagedKeysCommand.js.map +0 -1
  777. package/dist/cjs/commands/GetRegexMatchSetCommand.js +0 -69
  778. package/dist/cjs/commands/GetRegexMatchSetCommand.js.map +0 -1
  779. package/dist/cjs/commands/GetRegexPatternSetCommand.js +0 -69
  780. package/dist/cjs/commands/GetRegexPatternSetCommand.js.map +0 -1
  781. package/dist/cjs/commands/GetRuleCommand.js +0 -69
  782. package/dist/cjs/commands/GetRuleCommand.js.map +0 -1
  783. package/dist/cjs/commands/GetRuleGroupCommand.js +0 -70
  784. package/dist/cjs/commands/GetRuleGroupCommand.js.map +0 -1
  785. package/dist/cjs/commands/GetSampledRequestsCommand.js +0 -73
  786. package/dist/cjs/commands/GetSampledRequestsCommand.js.map +0 -1
  787. package/dist/cjs/commands/GetSizeConstraintSetCommand.js +0 -69
  788. package/dist/cjs/commands/GetSizeConstraintSetCommand.js.map +0 -1
  789. package/dist/cjs/commands/GetSqlInjectionMatchSetCommand.js +0 -69
  790. package/dist/cjs/commands/GetSqlInjectionMatchSetCommand.js.map +0 -1
  791. package/dist/cjs/commands/GetWebACLCommand.js +0 -69
  792. package/dist/cjs/commands/GetWebACLCommand.js.map +0 -1
  793. package/dist/cjs/commands/GetXssMatchSetCommand.js +0 -69
  794. package/dist/cjs/commands/GetXssMatchSetCommand.js.map +0 -1
  795. package/dist/cjs/commands/ListActivatedRulesInRuleGroupCommand.js +0 -69
  796. package/dist/cjs/commands/ListActivatedRulesInRuleGroupCommand.js.map +0 -1
  797. package/dist/cjs/commands/ListByteMatchSetsCommand.js +0 -69
  798. package/dist/cjs/commands/ListByteMatchSetsCommand.js.map +0 -1
  799. package/dist/cjs/commands/ListGeoMatchSetsCommand.js +0 -69
  800. package/dist/cjs/commands/ListGeoMatchSetsCommand.js.map +0 -1
  801. package/dist/cjs/commands/ListIPSetsCommand.js +0 -69
  802. package/dist/cjs/commands/ListIPSetsCommand.js.map +0 -1
  803. package/dist/cjs/commands/ListLoggingConfigurationsCommand.js +0 -69
  804. package/dist/cjs/commands/ListLoggingConfigurationsCommand.js.map +0 -1
  805. package/dist/cjs/commands/ListRateBasedRulesCommand.js +0 -69
  806. package/dist/cjs/commands/ListRateBasedRulesCommand.js.map +0 -1
  807. package/dist/cjs/commands/ListRegexMatchSetsCommand.js +0 -69
  808. package/dist/cjs/commands/ListRegexMatchSetsCommand.js.map +0 -1
  809. package/dist/cjs/commands/ListRegexPatternSetsCommand.js +0 -69
  810. package/dist/cjs/commands/ListRegexPatternSetsCommand.js.map +0 -1
  811. package/dist/cjs/commands/ListRuleGroupsCommand.js +0 -69
  812. package/dist/cjs/commands/ListRuleGroupsCommand.js.map +0 -1
  813. package/dist/cjs/commands/ListRulesCommand.js +0 -69
  814. package/dist/cjs/commands/ListRulesCommand.js.map +0 -1
  815. package/dist/cjs/commands/ListSizeConstraintSetsCommand.js +0 -69
  816. package/dist/cjs/commands/ListSizeConstraintSetsCommand.js.map +0 -1
  817. package/dist/cjs/commands/ListSqlInjectionMatchSetsCommand.js +0 -69
  818. package/dist/cjs/commands/ListSqlInjectionMatchSetsCommand.js.map +0 -1
  819. package/dist/cjs/commands/ListSubscribedRuleGroupsCommand.js +0 -69
  820. package/dist/cjs/commands/ListSubscribedRuleGroupsCommand.js.map +0 -1
  821. package/dist/cjs/commands/ListTagsForResourceCommand.js +0 -70
  822. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  823. package/dist/cjs/commands/ListWebACLsCommand.js +0 -69
  824. package/dist/cjs/commands/ListWebACLsCommand.js.map +0 -1
  825. package/dist/cjs/commands/ListXssMatchSetsCommand.js +0 -69
  826. package/dist/cjs/commands/ListXssMatchSetsCommand.js.map +0 -1
  827. package/dist/cjs/commands/PutLoggingConfigurationCommand.js +0 -86
  828. package/dist/cjs/commands/PutLoggingConfigurationCommand.js.map +0 -1
  829. package/dist/cjs/commands/PutPermissionPolicyCommand.js +0 -101
  830. package/dist/cjs/commands/PutPermissionPolicyCommand.js.map +0 -1
  831. package/dist/cjs/commands/TagResourceCommand.js +0 -70
  832. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  833. package/dist/cjs/commands/UntagResourceCommand.js +0 -69
  834. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  835. package/dist/cjs/commands/UpdateByteMatchSetCommand.js +0 -107
  836. package/dist/cjs/commands/UpdateByteMatchSetCommand.js.map +0 -1
  837. package/dist/cjs/commands/UpdateGeoMatchSetCommand.js +0 -99
  838. package/dist/cjs/commands/UpdateGeoMatchSetCommand.js.map +0 -1
  839. package/dist/cjs/commands/UpdateIPSetCommand.js +0 -134
  840. package/dist/cjs/commands/UpdateIPSetCommand.js.map +0 -1
  841. package/dist/cjs/commands/UpdateRateBasedRuleCommand.js +0 -115
  842. package/dist/cjs/commands/UpdateRateBasedRuleCommand.js.map +0 -1
  843. package/dist/cjs/commands/UpdateRegexMatchSetCommand.js +0 -103
  844. package/dist/cjs/commands/UpdateRegexMatchSetCommand.js.map +0 -1
  845. package/dist/cjs/commands/UpdateRegexPatternSetCommand.js +0 -108
  846. package/dist/cjs/commands/UpdateRegexPatternSetCommand.js.map +0 -1
  847. package/dist/cjs/commands/UpdateRuleCommand.js +0 -110
  848. package/dist/cjs/commands/UpdateRuleCommand.js.map +0 -1
  849. package/dist/cjs/commands/UpdateRuleGroupCommand.js +0 -93
  850. package/dist/cjs/commands/UpdateRuleGroupCommand.js.map +0 -1
  851. package/dist/cjs/commands/UpdateSizeConstraintSetCommand.js +0 -111
  852. package/dist/cjs/commands/UpdateSizeConstraintSetCommand.js.map +0 -1
  853. package/dist/cjs/commands/UpdateSqlInjectionMatchSetCommand.js +0 -110
  854. package/dist/cjs/commands/UpdateSqlInjectionMatchSetCommand.js.map +0 -1
  855. package/dist/cjs/commands/UpdateWebACLCommand.js +0 -140
  856. package/dist/cjs/commands/UpdateWebACLCommand.js.map +0 -1
  857. package/dist/cjs/commands/UpdateXssMatchSetCommand.js +0 -112
  858. package/dist/cjs/commands/UpdateXssMatchSetCommand.js.map +0 -1
  859. package/dist/cjs/endpoints.js.map +0 -1
  860. package/dist/cjs/index.js.map +0 -1
  861. package/dist/cjs/models/index.js.map +0 -1
  862. package/dist/cjs/models/models_0.js.map +0 -1
  863. package/dist/cjs/package.json +0 -91
  864. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  865. package/dist/cjs/runtimeConfig.browser.js +0 -41
  866. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  867. package/dist/cjs/runtimeConfig.js +0 -46
  868. package/dist/cjs/runtimeConfig.js.map +0 -1
  869. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  870. package/dist/cjs/runtimeConfig.shared.js +0 -21
  871. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  872. package/dist/es/WAF.js +0 -1166
  873. package/dist/es/WAF.js.map +0 -1
  874. package/dist/es/WAFClient.js +0 -38
  875. package/dist/es/WAFClient.js.map +0 -1
  876. package/dist/es/commands/CreateByteMatchSetCommand.js +0 -40
  877. package/dist/es/commands/CreateByteMatchSetCommand.js.map +0 -1
  878. package/dist/es/commands/CreateGeoMatchSetCommand.js +0 -40
  879. package/dist/es/commands/CreateGeoMatchSetCommand.js.map +0 -1
  880. package/dist/es/commands/CreateIPSetCommand.js +0 -40
  881. package/dist/es/commands/CreateIPSetCommand.js.map +0 -1
  882. package/dist/es/commands/CreateRateBasedRuleCommand.js +0 -40
  883. package/dist/es/commands/CreateRateBasedRuleCommand.js.map +0 -1
  884. package/dist/es/commands/CreateRegexMatchSetCommand.js +0 -40
  885. package/dist/es/commands/CreateRegexMatchSetCommand.js.map +0 -1
  886. package/dist/es/commands/CreateRegexPatternSetCommand.js +0 -40
  887. package/dist/es/commands/CreateRegexPatternSetCommand.js.map +0 -1
  888. package/dist/es/commands/CreateRuleCommand.js +0 -40
  889. package/dist/es/commands/CreateRuleCommand.js.map +0 -1
  890. package/dist/es/commands/CreateRuleGroupCommand.js +0 -40
  891. package/dist/es/commands/CreateRuleGroupCommand.js.map +0 -1
  892. package/dist/es/commands/CreateSizeConstraintSetCommand.js +0 -40
  893. package/dist/es/commands/CreateSizeConstraintSetCommand.js.map +0 -1
  894. package/dist/es/commands/CreateSqlInjectionMatchSetCommand.js +0 -40
  895. package/dist/es/commands/CreateSqlInjectionMatchSetCommand.js.map +0 -1
  896. package/dist/es/commands/CreateWebACLCommand.js +0 -40
  897. package/dist/es/commands/CreateWebACLCommand.js.map +0 -1
  898. package/dist/es/commands/CreateWebACLMigrationStackCommand.js +0 -40
  899. package/dist/es/commands/CreateWebACLMigrationStackCommand.js.map +0 -1
  900. package/dist/es/commands/CreateXssMatchSetCommand.js +0 -40
  901. package/dist/es/commands/CreateXssMatchSetCommand.js.map +0 -1
  902. package/dist/es/commands/DeleteByteMatchSetCommand.js +0 -40
  903. package/dist/es/commands/DeleteByteMatchSetCommand.js.map +0 -1
  904. package/dist/es/commands/DeleteGeoMatchSetCommand.js +0 -40
  905. package/dist/es/commands/DeleteGeoMatchSetCommand.js.map +0 -1
  906. package/dist/es/commands/DeleteIPSetCommand.js +0 -40
  907. package/dist/es/commands/DeleteIPSetCommand.js.map +0 -1
  908. package/dist/es/commands/DeleteLoggingConfigurationCommand.js +0 -40
  909. package/dist/es/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
  910. package/dist/es/commands/DeletePermissionPolicyCommand.js +0 -40
  911. package/dist/es/commands/DeletePermissionPolicyCommand.js.map +0 -1
  912. package/dist/es/commands/DeleteRateBasedRuleCommand.js +0 -40
  913. package/dist/es/commands/DeleteRateBasedRuleCommand.js.map +0 -1
  914. package/dist/es/commands/DeleteRegexMatchSetCommand.js +0 -40
  915. package/dist/es/commands/DeleteRegexMatchSetCommand.js.map +0 -1
  916. package/dist/es/commands/DeleteRegexPatternSetCommand.js +0 -40
  917. package/dist/es/commands/DeleteRegexPatternSetCommand.js.map +0 -1
  918. package/dist/es/commands/DeleteRuleCommand.js +0 -40
  919. package/dist/es/commands/DeleteRuleCommand.js.map +0 -1
  920. package/dist/es/commands/DeleteRuleGroupCommand.js +0 -40
  921. package/dist/es/commands/DeleteRuleGroupCommand.js.map +0 -1
  922. package/dist/es/commands/DeleteSizeConstraintSetCommand.js +0 -40
  923. package/dist/es/commands/DeleteSizeConstraintSetCommand.js.map +0 -1
  924. package/dist/es/commands/DeleteSqlInjectionMatchSetCommand.js +0 -40
  925. package/dist/es/commands/DeleteSqlInjectionMatchSetCommand.js.map +0 -1
  926. package/dist/es/commands/DeleteWebACLCommand.js +0 -40
  927. package/dist/es/commands/DeleteWebACLCommand.js.map +0 -1
  928. package/dist/es/commands/DeleteXssMatchSetCommand.js +0 -40
  929. package/dist/es/commands/DeleteXssMatchSetCommand.js.map +0 -1
  930. package/dist/es/commands/GetByteMatchSetCommand.js +0 -40
  931. package/dist/es/commands/GetByteMatchSetCommand.js.map +0 -1
  932. package/dist/es/commands/GetChangeTokenCommand.js +0 -40
  933. package/dist/es/commands/GetChangeTokenCommand.js.map +0 -1
  934. package/dist/es/commands/GetChangeTokenStatusCommand.js +0 -40
  935. package/dist/es/commands/GetChangeTokenStatusCommand.js.map +0 -1
  936. package/dist/es/commands/GetGeoMatchSetCommand.js +0 -40
  937. package/dist/es/commands/GetGeoMatchSetCommand.js.map +0 -1
  938. package/dist/es/commands/GetIPSetCommand.js +0 -40
  939. package/dist/es/commands/GetIPSetCommand.js.map +0 -1
  940. package/dist/es/commands/GetLoggingConfigurationCommand.js +0 -40
  941. package/dist/es/commands/GetLoggingConfigurationCommand.js.map +0 -1
  942. package/dist/es/commands/GetPermissionPolicyCommand.js +0 -40
  943. package/dist/es/commands/GetPermissionPolicyCommand.js.map +0 -1
  944. package/dist/es/commands/GetRateBasedRuleCommand.js +0 -40
  945. package/dist/es/commands/GetRateBasedRuleCommand.js.map +0 -1
  946. package/dist/es/commands/GetRateBasedRuleManagedKeysCommand.js +0 -40
  947. package/dist/es/commands/GetRateBasedRuleManagedKeysCommand.js.map +0 -1
  948. package/dist/es/commands/GetRegexMatchSetCommand.js +0 -40
  949. package/dist/es/commands/GetRegexMatchSetCommand.js.map +0 -1
  950. package/dist/es/commands/GetRegexPatternSetCommand.js +0 -40
  951. package/dist/es/commands/GetRegexPatternSetCommand.js.map +0 -1
  952. package/dist/es/commands/GetRuleCommand.js +0 -40
  953. package/dist/es/commands/GetRuleCommand.js.map +0 -1
  954. package/dist/es/commands/GetRuleGroupCommand.js +0 -40
  955. package/dist/es/commands/GetRuleGroupCommand.js.map +0 -1
  956. package/dist/es/commands/GetSampledRequestsCommand.js +0 -40
  957. package/dist/es/commands/GetSampledRequestsCommand.js.map +0 -1
  958. package/dist/es/commands/GetSizeConstraintSetCommand.js +0 -40
  959. package/dist/es/commands/GetSizeConstraintSetCommand.js.map +0 -1
  960. package/dist/es/commands/GetSqlInjectionMatchSetCommand.js +0 -40
  961. package/dist/es/commands/GetSqlInjectionMatchSetCommand.js.map +0 -1
  962. package/dist/es/commands/GetWebACLCommand.js +0 -40
  963. package/dist/es/commands/GetWebACLCommand.js.map +0 -1
  964. package/dist/es/commands/GetXssMatchSetCommand.js +0 -40
  965. package/dist/es/commands/GetXssMatchSetCommand.js.map +0 -1
  966. package/dist/es/commands/ListActivatedRulesInRuleGroupCommand.js +0 -40
  967. package/dist/es/commands/ListActivatedRulesInRuleGroupCommand.js.map +0 -1
  968. package/dist/es/commands/ListByteMatchSetsCommand.js +0 -40
  969. package/dist/es/commands/ListByteMatchSetsCommand.js.map +0 -1
  970. package/dist/es/commands/ListGeoMatchSetsCommand.js +0 -40
  971. package/dist/es/commands/ListGeoMatchSetsCommand.js.map +0 -1
  972. package/dist/es/commands/ListIPSetsCommand.js +0 -40
  973. package/dist/es/commands/ListIPSetsCommand.js.map +0 -1
  974. package/dist/es/commands/ListLoggingConfigurationsCommand.js +0 -40
  975. package/dist/es/commands/ListLoggingConfigurationsCommand.js.map +0 -1
  976. package/dist/es/commands/ListRateBasedRulesCommand.js +0 -40
  977. package/dist/es/commands/ListRateBasedRulesCommand.js.map +0 -1
  978. package/dist/es/commands/ListRegexMatchSetsCommand.js +0 -40
  979. package/dist/es/commands/ListRegexMatchSetsCommand.js.map +0 -1
  980. package/dist/es/commands/ListRegexPatternSetsCommand.js +0 -40
  981. package/dist/es/commands/ListRegexPatternSetsCommand.js.map +0 -1
  982. package/dist/es/commands/ListRuleGroupsCommand.js +0 -40
  983. package/dist/es/commands/ListRuleGroupsCommand.js.map +0 -1
  984. package/dist/es/commands/ListRulesCommand.js +0 -40
  985. package/dist/es/commands/ListRulesCommand.js.map +0 -1
  986. package/dist/es/commands/ListSizeConstraintSetsCommand.js +0 -40
  987. package/dist/es/commands/ListSizeConstraintSetsCommand.js.map +0 -1
  988. package/dist/es/commands/ListSqlInjectionMatchSetsCommand.js +0 -40
  989. package/dist/es/commands/ListSqlInjectionMatchSetsCommand.js.map +0 -1
  990. package/dist/es/commands/ListSubscribedRuleGroupsCommand.js +0 -40
  991. package/dist/es/commands/ListSubscribedRuleGroupsCommand.js.map +0 -1
  992. package/dist/es/commands/ListTagsForResourceCommand.js +0 -40
  993. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  994. package/dist/es/commands/ListWebACLsCommand.js +0 -40
  995. package/dist/es/commands/ListWebACLsCommand.js.map +0 -1
  996. package/dist/es/commands/ListXssMatchSetsCommand.js +0 -40
  997. package/dist/es/commands/ListXssMatchSetsCommand.js.map +0 -1
  998. package/dist/es/commands/PutLoggingConfigurationCommand.js +0 -40
  999. package/dist/es/commands/PutLoggingConfigurationCommand.js.map +0 -1
  1000. package/dist/es/commands/PutPermissionPolicyCommand.js +0 -40
  1001. package/dist/es/commands/PutPermissionPolicyCommand.js.map +0 -1
  1002. package/dist/es/commands/TagResourceCommand.js +0 -40
  1003. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  1004. package/dist/es/commands/UntagResourceCommand.js +0 -40
  1005. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  1006. package/dist/es/commands/UpdateByteMatchSetCommand.js +0 -40
  1007. package/dist/es/commands/UpdateByteMatchSetCommand.js.map +0 -1
  1008. package/dist/es/commands/UpdateGeoMatchSetCommand.js +0 -40
  1009. package/dist/es/commands/UpdateGeoMatchSetCommand.js.map +0 -1
  1010. package/dist/es/commands/UpdateIPSetCommand.js +0 -40
  1011. package/dist/es/commands/UpdateIPSetCommand.js.map +0 -1
  1012. package/dist/es/commands/UpdateRateBasedRuleCommand.js +0 -40
  1013. package/dist/es/commands/UpdateRateBasedRuleCommand.js.map +0 -1
  1014. package/dist/es/commands/UpdateRegexMatchSetCommand.js +0 -40
  1015. package/dist/es/commands/UpdateRegexMatchSetCommand.js.map +0 -1
  1016. package/dist/es/commands/UpdateRegexPatternSetCommand.js +0 -40
  1017. package/dist/es/commands/UpdateRegexPatternSetCommand.js.map +0 -1
  1018. package/dist/es/commands/UpdateRuleCommand.js +0 -40
  1019. package/dist/es/commands/UpdateRuleCommand.js.map +0 -1
  1020. package/dist/es/commands/UpdateRuleGroupCommand.js +0 -40
  1021. package/dist/es/commands/UpdateRuleGroupCommand.js.map +0 -1
  1022. package/dist/es/commands/UpdateSizeConstraintSetCommand.js +0 -40
  1023. package/dist/es/commands/UpdateSizeConstraintSetCommand.js.map +0 -1
  1024. package/dist/es/commands/UpdateSqlInjectionMatchSetCommand.js +0 -40
  1025. package/dist/es/commands/UpdateSqlInjectionMatchSetCommand.js.map +0 -1
  1026. package/dist/es/commands/UpdateWebACLCommand.js +0 -40
  1027. package/dist/es/commands/UpdateWebACLCommand.js.map +0 -1
  1028. package/dist/es/commands/UpdateXssMatchSetCommand.js +0 -40
  1029. package/dist/es/commands/UpdateXssMatchSetCommand.js.map +0 -1
  1030. package/dist/es/endpoints.js.map +0 -1
  1031. package/dist/es/index.js.map +0 -1
  1032. package/dist/es/models/index.js.map +0 -1
  1033. package/dist/es/models/models_0.js.map +0 -1
  1034. package/dist/es/package.json +0 -91
  1035. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  1036. package/dist/es/runtimeConfig.browser.js +0 -17
  1037. package/dist/es/runtimeConfig.browser.js.map +0 -1
  1038. package/dist/es/runtimeConfig.js +0 -22
  1039. package/dist/es/runtimeConfig.js.map +0 -1
  1040. package/dist/es/runtimeConfig.native.js.map +0 -1
  1041. package/dist/es/runtimeConfig.shared.js +0 -14
  1042. package/dist/es/runtimeConfig.shared.js.map +0 -1
  1043. package/dist/types/WAF.d.ts +0 -2287
  1044. package/dist/types/WAFClient.d.ts +0 -219
  1045. package/dist/types/commands/CreateByteMatchSetCommand.d.ts +0 -66
  1046. package/dist/types/commands/CreateGeoMatchSetCommand.d.ts +0 -63
  1047. package/dist/types/commands/CreateIPSetCommand.d.ts +0 -68
  1048. package/dist/types/commands/CreateRateBasedRuleCommand.d.ts +0 -128
  1049. package/dist/types/commands/CreateRegexMatchSetCommand.d.ts +0 -66
  1050. package/dist/types/commands/CreateRegexPatternSetCommand.d.ts +0 -62
  1051. package/dist/types/commands/CreateRuleCommand.d.ts +0 -86
  1052. package/dist/types/commands/CreateRuleGroupCommand.d.ts +0 -57
  1053. package/dist/types/commands/CreateSizeConstraintSetCommand.d.ts +0 -66
  1054. package/dist/types/commands/CreateSqlInjectionMatchSetCommand.d.ts +0 -64
  1055. package/dist/types/commands/CreateWebACLCommand.d.ts +0 -74
  1056. package/dist/types/commands/CreateWebACLMigrationStackCommand.d.ts +0 -42
  1057. package/dist/types/commands/CreateXssMatchSetCommand.d.ts +0 -64
  1058. package/dist/types/commands/DeleteByteMatchSetCommand.d.ts +0 -58
  1059. package/dist/types/commands/DeleteGeoMatchSetCommand.d.ts +0 -58
  1060. package/dist/types/commands/DeleteIPSetCommand.d.ts +0 -58
  1061. package/dist/types/commands/DeleteLoggingConfigurationCommand.d.ts +0 -44
  1062. package/dist/types/commands/DeletePermissionPolicyCommand.d.ts +0 -44
  1063. package/dist/types/commands/DeleteRateBasedRuleCommand.d.ts +0 -62
  1064. package/dist/types/commands/DeleteRegexMatchSetCommand.d.ts +0 -58
  1065. package/dist/types/commands/DeleteRegexPatternSetCommand.d.ts +0 -44
  1066. package/dist/types/commands/DeleteRuleCommand.d.ts +0 -58
  1067. package/dist/types/commands/DeleteRuleGroupCommand.d.ts +0 -58
  1068. package/dist/types/commands/DeleteSizeConstraintSetCommand.d.ts +0 -58
  1069. package/dist/types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +0 -59
  1070. package/dist/types/commands/DeleteWebACLCommand.d.ts +0 -56
  1071. package/dist/types/commands/DeleteXssMatchSetCommand.d.ts +0 -59
  1072. package/dist/types/commands/GetByteMatchSetCommand.d.ts +0 -43
  1073. package/dist/types/commands/GetChangeTokenCommand.d.ts +0 -49
  1074. package/dist/types/commands/GetChangeTokenStatusCommand.d.ts +0 -59
  1075. package/dist/types/commands/GetGeoMatchSetCommand.d.ts +0 -43
  1076. package/dist/types/commands/GetIPSetCommand.d.ts +0 -43
  1077. package/dist/types/commands/GetLoggingConfigurationCommand.d.ts +0 -43
  1078. package/dist/types/commands/GetPermissionPolicyCommand.d.ts +0 -43
  1079. package/dist/types/commands/GetRateBasedRuleCommand.d.ts +0 -45
  1080. package/dist/types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +0 -45
  1081. package/dist/types/commands/GetRegexMatchSetCommand.d.ts +0 -43
  1082. package/dist/types/commands/GetRegexPatternSetCommand.d.ts +0 -43
  1083. package/dist/types/commands/GetRuleCommand.d.ts +0 -43
  1084. package/dist/types/commands/GetRuleGroupCommand.d.ts +0 -44
  1085. package/dist/types/commands/GetSampledRequestsCommand.d.ts +0 -47
  1086. package/dist/types/commands/GetSizeConstraintSetCommand.d.ts +0 -43
  1087. package/dist/types/commands/GetSqlInjectionMatchSetCommand.d.ts +0 -43
  1088. package/dist/types/commands/GetWebACLCommand.d.ts +0 -43
  1089. package/dist/types/commands/GetXssMatchSetCommand.d.ts +0 -43
  1090. package/dist/types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +0 -43
  1091. package/dist/types/commands/ListByteMatchSetsCommand.d.ts +0 -43
  1092. package/dist/types/commands/ListGeoMatchSetsCommand.d.ts +0 -43
  1093. package/dist/types/commands/ListIPSetsCommand.d.ts +0 -43
  1094. package/dist/types/commands/ListLoggingConfigurationsCommand.d.ts +0 -43
  1095. package/dist/types/commands/ListRateBasedRulesCommand.d.ts +0 -43
  1096. package/dist/types/commands/ListRegexMatchSetsCommand.d.ts +0 -43
  1097. package/dist/types/commands/ListRegexPatternSetsCommand.d.ts +0 -43
  1098. package/dist/types/commands/ListRuleGroupsCommand.d.ts +0 -43
  1099. package/dist/types/commands/ListRulesCommand.d.ts +0 -43
  1100. package/dist/types/commands/ListSizeConstraintSetsCommand.d.ts +0 -43
  1101. package/dist/types/commands/ListSqlInjectionMatchSetsCommand.d.ts +0 -43
  1102. package/dist/types/commands/ListSubscribedRuleGroupsCommand.d.ts +0 -43
  1103. package/dist/types/commands/ListTagsForResourceCommand.d.ts +0 -44
  1104. package/dist/types/commands/ListWebACLsCommand.d.ts +0 -43
  1105. package/dist/types/commands/ListXssMatchSetsCommand.d.ts +0 -43
  1106. package/dist/types/commands/PutLoggingConfigurationCommand.d.ts +0 -60
  1107. package/dist/types/commands/PutPermissionPolicyCommand.d.ts +0 -75
  1108. package/dist/types/commands/TagResourceCommand.d.ts +0 -44
  1109. package/dist/types/commands/UntagResourceCommand.d.ts +0 -43
  1110. package/dist/types/commands/UpdateByteMatchSetCommand.d.ts +0 -81
  1111. package/dist/types/commands/UpdateGeoMatchSetCommand.d.ts +0 -73
  1112. package/dist/types/commands/UpdateIPSetCommand.d.ts +0 -108
  1113. package/dist/types/commands/UpdateRateBasedRuleCommand.d.ts +0 -89
  1114. package/dist/types/commands/UpdateRegexMatchSetCommand.d.ts +0 -77
  1115. package/dist/types/commands/UpdateRegexPatternSetCommand.d.ts +0 -82
  1116. package/dist/types/commands/UpdateRuleCommand.d.ts +0 -84
  1117. package/dist/types/commands/UpdateRuleGroupCommand.d.ts +0 -67
  1118. package/dist/types/commands/UpdateSizeConstraintSetCommand.d.ts +0 -85
  1119. package/dist/types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +0 -84
  1120. package/dist/types/commands/UpdateWebACLCommand.d.ts +0 -114
  1121. package/dist/types/commands/UpdateXssMatchSetCommand.d.ts +0 -86
  1122. package/dist/types/protocols/Aws_json1_1.d.ts +0 -233
  1123. package/dist/types/runtimeConfig.d.ts +0 -37
  1124. package/dist/types/ts3.4/WAF.d.ts +0 -2287
  1125. package/dist/types/ts3.4/WAFClient.d.ts +0 -219
  1126. package/dist/types/ts3.4/commands/CreateByteMatchSetCommand.d.ts +0 -66
  1127. package/dist/types/ts3.4/commands/CreateGeoMatchSetCommand.d.ts +0 -63
  1128. package/dist/types/ts3.4/commands/CreateIPSetCommand.d.ts +0 -68
  1129. package/dist/types/ts3.4/commands/CreateRateBasedRuleCommand.d.ts +0 -128
  1130. package/dist/types/ts3.4/commands/CreateRegexMatchSetCommand.d.ts +0 -66
  1131. package/dist/types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +0 -62
  1132. package/dist/types/ts3.4/commands/CreateRuleCommand.d.ts +0 -86
  1133. package/dist/types/ts3.4/commands/CreateRuleGroupCommand.d.ts +0 -57
  1134. package/dist/types/ts3.4/commands/CreateSizeConstraintSetCommand.d.ts +0 -66
  1135. package/dist/types/ts3.4/commands/CreateSqlInjectionMatchSetCommand.d.ts +0 -64
  1136. package/dist/types/ts3.4/commands/CreateWebACLCommand.d.ts +0 -74
  1137. package/dist/types/ts3.4/commands/CreateWebACLMigrationStackCommand.d.ts +0 -42
  1138. package/dist/types/ts3.4/commands/CreateXssMatchSetCommand.d.ts +0 -64
  1139. package/dist/types/ts3.4/commands/DeleteByteMatchSetCommand.d.ts +0 -58
  1140. package/dist/types/ts3.4/commands/DeleteGeoMatchSetCommand.d.ts +0 -58
  1141. package/dist/types/ts3.4/commands/DeleteIPSetCommand.d.ts +0 -58
  1142. package/dist/types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +0 -44
  1143. package/dist/types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +0 -44
  1144. package/dist/types/ts3.4/commands/DeleteRateBasedRuleCommand.d.ts +0 -62
  1145. package/dist/types/ts3.4/commands/DeleteRegexMatchSetCommand.d.ts +0 -58
  1146. package/dist/types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +0 -44
  1147. package/dist/types/ts3.4/commands/DeleteRuleCommand.d.ts +0 -58
  1148. package/dist/types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +0 -58
  1149. package/dist/types/ts3.4/commands/DeleteSizeConstraintSetCommand.d.ts +0 -58
  1150. package/dist/types/ts3.4/commands/DeleteSqlInjectionMatchSetCommand.d.ts +0 -59
  1151. package/dist/types/ts3.4/commands/DeleteWebACLCommand.d.ts +0 -56
  1152. package/dist/types/ts3.4/commands/DeleteXssMatchSetCommand.d.ts +0 -59
  1153. package/dist/types/ts3.4/commands/GetByteMatchSetCommand.d.ts +0 -43
  1154. package/dist/types/ts3.4/commands/GetChangeTokenCommand.d.ts +0 -49
  1155. package/dist/types/ts3.4/commands/GetChangeTokenStatusCommand.d.ts +0 -59
  1156. package/dist/types/ts3.4/commands/GetGeoMatchSetCommand.d.ts +0 -43
  1157. package/dist/types/ts3.4/commands/GetIPSetCommand.d.ts +0 -43
  1158. package/dist/types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +0 -43
  1159. package/dist/types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +0 -43
  1160. package/dist/types/ts3.4/commands/GetRateBasedRuleCommand.d.ts +0 -45
  1161. package/dist/types/ts3.4/commands/GetRateBasedRuleManagedKeysCommand.d.ts +0 -45
  1162. package/dist/types/ts3.4/commands/GetRegexMatchSetCommand.d.ts +0 -43
  1163. package/dist/types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +0 -43
  1164. package/dist/types/ts3.4/commands/GetRuleCommand.d.ts +0 -43
  1165. package/dist/types/ts3.4/commands/GetRuleGroupCommand.d.ts +0 -44
  1166. package/dist/types/ts3.4/commands/GetSampledRequestsCommand.d.ts +0 -47
  1167. package/dist/types/ts3.4/commands/GetSizeConstraintSetCommand.d.ts +0 -43
  1168. package/dist/types/ts3.4/commands/GetSqlInjectionMatchSetCommand.d.ts +0 -43
  1169. package/dist/types/ts3.4/commands/GetWebACLCommand.d.ts +0 -43
  1170. package/dist/types/ts3.4/commands/GetXssMatchSetCommand.d.ts +0 -43
  1171. package/dist/types/ts3.4/commands/ListActivatedRulesInRuleGroupCommand.d.ts +0 -43
  1172. package/dist/types/ts3.4/commands/ListByteMatchSetsCommand.d.ts +0 -43
  1173. package/dist/types/ts3.4/commands/ListGeoMatchSetsCommand.d.ts +0 -43
  1174. package/dist/types/ts3.4/commands/ListIPSetsCommand.d.ts +0 -43
  1175. package/dist/types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +0 -43
  1176. package/dist/types/ts3.4/commands/ListRateBasedRulesCommand.d.ts +0 -43
  1177. package/dist/types/ts3.4/commands/ListRegexMatchSetsCommand.d.ts +0 -43
  1178. package/dist/types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +0 -43
  1179. package/dist/types/ts3.4/commands/ListRuleGroupsCommand.d.ts +0 -43
  1180. package/dist/types/ts3.4/commands/ListRulesCommand.d.ts +0 -43
  1181. package/dist/types/ts3.4/commands/ListSizeConstraintSetsCommand.d.ts +0 -43
  1182. package/dist/types/ts3.4/commands/ListSqlInjectionMatchSetsCommand.d.ts +0 -43
  1183. package/dist/types/ts3.4/commands/ListSubscribedRuleGroupsCommand.d.ts +0 -43
  1184. package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -44
  1185. package/dist/types/ts3.4/commands/ListWebACLsCommand.d.ts +0 -43
  1186. package/dist/types/ts3.4/commands/ListXssMatchSetsCommand.d.ts +0 -43
  1187. package/dist/types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +0 -60
  1188. package/dist/types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +0 -75
  1189. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -44
  1190. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -43
  1191. package/dist/types/ts3.4/commands/UpdateByteMatchSetCommand.d.ts +0 -81
  1192. package/dist/types/ts3.4/commands/UpdateGeoMatchSetCommand.d.ts +0 -73
  1193. package/dist/types/ts3.4/commands/UpdateIPSetCommand.d.ts +0 -108
  1194. package/dist/types/ts3.4/commands/UpdateRateBasedRuleCommand.d.ts +0 -89
  1195. package/dist/types/ts3.4/commands/UpdateRegexMatchSetCommand.d.ts +0 -77
  1196. package/dist/types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +0 -82
  1197. package/dist/types/ts3.4/commands/UpdateRuleCommand.d.ts +0 -84
  1198. package/dist/types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +0 -67
  1199. package/dist/types/ts3.4/commands/UpdateSizeConstraintSetCommand.d.ts +0 -85
  1200. package/dist/types/ts3.4/commands/UpdateSqlInjectionMatchSetCommand.d.ts +0 -84
  1201. package/dist/types/ts3.4/commands/UpdateWebACLCommand.d.ts +0 -114
  1202. package/dist/types/ts3.4/commands/UpdateXssMatchSetCommand.d.ts +0 -86
  1203. package/dist/types/ts3.4/protocols/Aws_json1_1.d.ts +0 -233
  1204. package/dist/types/ts3.4/runtimeConfig.d.ts +0 -37
  1205. package/endpoints.ts +0 -68
  1206. package/protocols/Aws_json1_1.ts +0 -11231
  1207. package/runtimeConfig.browser.ts +0 -40
  1208. package/runtimeConfig.native.ts +0 -16
  1209. package/runtimeConfig.shared.ts +0 -16
  1210. package/runtimeConfig.ts +0 -45
package/src/WAF.ts ADDED
@@ -0,0 +1,4456 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+
3
+ import {
4
+ CreateByteMatchSetCommand,
5
+ CreateByteMatchSetCommandInput,
6
+ CreateByteMatchSetCommandOutput,
7
+ } from "./commands/CreateByteMatchSetCommand";
8
+ import {
9
+ CreateGeoMatchSetCommand,
10
+ CreateGeoMatchSetCommandInput,
11
+ CreateGeoMatchSetCommandOutput,
12
+ } from "./commands/CreateGeoMatchSetCommand";
13
+ import { CreateIPSetCommand, CreateIPSetCommandInput, CreateIPSetCommandOutput } from "./commands/CreateIPSetCommand";
14
+ import {
15
+ CreateRateBasedRuleCommand,
16
+ CreateRateBasedRuleCommandInput,
17
+ CreateRateBasedRuleCommandOutput,
18
+ } from "./commands/CreateRateBasedRuleCommand";
19
+ import {
20
+ CreateRegexMatchSetCommand,
21
+ CreateRegexMatchSetCommandInput,
22
+ CreateRegexMatchSetCommandOutput,
23
+ } from "./commands/CreateRegexMatchSetCommand";
24
+ import {
25
+ CreateRegexPatternSetCommand,
26
+ CreateRegexPatternSetCommandInput,
27
+ CreateRegexPatternSetCommandOutput,
28
+ } from "./commands/CreateRegexPatternSetCommand";
29
+ import { CreateRuleCommand, CreateRuleCommandInput, CreateRuleCommandOutput } from "./commands/CreateRuleCommand";
30
+ import {
31
+ CreateRuleGroupCommand,
32
+ CreateRuleGroupCommandInput,
33
+ CreateRuleGroupCommandOutput,
34
+ } from "./commands/CreateRuleGroupCommand";
35
+ import {
36
+ CreateSizeConstraintSetCommand,
37
+ CreateSizeConstraintSetCommandInput,
38
+ CreateSizeConstraintSetCommandOutput,
39
+ } from "./commands/CreateSizeConstraintSetCommand";
40
+ import {
41
+ CreateSqlInjectionMatchSetCommand,
42
+ CreateSqlInjectionMatchSetCommandInput,
43
+ CreateSqlInjectionMatchSetCommandOutput,
44
+ } from "./commands/CreateSqlInjectionMatchSetCommand";
45
+ import {
46
+ CreateWebACLCommand,
47
+ CreateWebACLCommandInput,
48
+ CreateWebACLCommandOutput,
49
+ } from "./commands/CreateWebACLCommand";
50
+ import {
51
+ CreateWebACLMigrationStackCommand,
52
+ CreateWebACLMigrationStackCommandInput,
53
+ CreateWebACLMigrationStackCommandOutput,
54
+ } from "./commands/CreateWebACLMigrationStackCommand";
55
+ import {
56
+ CreateXssMatchSetCommand,
57
+ CreateXssMatchSetCommandInput,
58
+ CreateXssMatchSetCommandOutput,
59
+ } from "./commands/CreateXssMatchSetCommand";
60
+ import {
61
+ DeleteByteMatchSetCommand,
62
+ DeleteByteMatchSetCommandInput,
63
+ DeleteByteMatchSetCommandOutput,
64
+ } from "./commands/DeleteByteMatchSetCommand";
65
+ import {
66
+ DeleteGeoMatchSetCommand,
67
+ DeleteGeoMatchSetCommandInput,
68
+ DeleteGeoMatchSetCommandOutput,
69
+ } from "./commands/DeleteGeoMatchSetCommand";
70
+ import { DeleteIPSetCommand, DeleteIPSetCommandInput, DeleteIPSetCommandOutput } from "./commands/DeleteIPSetCommand";
71
+ import {
72
+ DeleteLoggingConfigurationCommand,
73
+ DeleteLoggingConfigurationCommandInput,
74
+ DeleteLoggingConfigurationCommandOutput,
75
+ } from "./commands/DeleteLoggingConfigurationCommand";
76
+ import {
77
+ DeletePermissionPolicyCommand,
78
+ DeletePermissionPolicyCommandInput,
79
+ DeletePermissionPolicyCommandOutput,
80
+ } from "./commands/DeletePermissionPolicyCommand";
81
+ import {
82
+ DeleteRateBasedRuleCommand,
83
+ DeleteRateBasedRuleCommandInput,
84
+ DeleteRateBasedRuleCommandOutput,
85
+ } from "./commands/DeleteRateBasedRuleCommand";
86
+ import {
87
+ DeleteRegexMatchSetCommand,
88
+ DeleteRegexMatchSetCommandInput,
89
+ DeleteRegexMatchSetCommandOutput,
90
+ } from "./commands/DeleteRegexMatchSetCommand";
91
+ import {
92
+ DeleteRegexPatternSetCommand,
93
+ DeleteRegexPatternSetCommandInput,
94
+ DeleteRegexPatternSetCommandOutput,
95
+ } from "./commands/DeleteRegexPatternSetCommand";
96
+ import { DeleteRuleCommand, DeleteRuleCommandInput, DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand";
97
+ import {
98
+ DeleteRuleGroupCommand,
99
+ DeleteRuleGroupCommandInput,
100
+ DeleteRuleGroupCommandOutput,
101
+ } from "./commands/DeleteRuleGroupCommand";
102
+ import {
103
+ DeleteSizeConstraintSetCommand,
104
+ DeleteSizeConstraintSetCommandInput,
105
+ DeleteSizeConstraintSetCommandOutput,
106
+ } from "./commands/DeleteSizeConstraintSetCommand";
107
+ import {
108
+ DeleteSqlInjectionMatchSetCommand,
109
+ DeleteSqlInjectionMatchSetCommandInput,
110
+ DeleteSqlInjectionMatchSetCommandOutput,
111
+ } from "./commands/DeleteSqlInjectionMatchSetCommand";
112
+ import {
113
+ DeleteWebACLCommand,
114
+ DeleteWebACLCommandInput,
115
+ DeleteWebACLCommandOutput,
116
+ } from "./commands/DeleteWebACLCommand";
117
+ import {
118
+ DeleteXssMatchSetCommand,
119
+ DeleteXssMatchSetCommandInput,
120
+ DeleteXssMatchSetCommandOutput,
121
+ } from "./commands/DeleteXssMatchSetCommand";
122
+ import {
123
+ GetByteMatchSetCommand,
124
+ GetByteMatchSetCommandInput,
125
+ GetByteMatchSetCommandOutput,
126
+ } from "./commands/GetByteMatchSetCommand";
127
+ import {
128
+ GetChangeTokenCommand,
129
+ GetChangeTokenCommandInput,
130
+ GetChangeTokenCommandOutput,
131
+ } from "./commands/GetChangeTokenCommand";
132
+ import {
133
+ GetChangeTokenStatusCommand,
134
+ GetChangeTokenStatusCommandInput,
135
+ GetChangeTokenStatusCommandOutput,
136
+ } from "./commands/GetChangeTokenStatusCommand";
137
+ import {
138
+ GetGeoMatchSetCommand,
139
+ GetGeoMatchSetCommandInput,
140
+ GetGeoMatchSetCommandOutput,
141
+ } from "./commands/GetGeoMatchSetCommand";
142
+ import { GetIPSetCommand, GetIPSetCommandInput, GetIPSetCommandOutput } from "./commands/GetIPSetCommand";
143
+ import {
144
+ GetLoggingConfigurationCommand,
145
+ GetLoggingConfigurationCommandInput,
146
+ GetLoggingConfigurationCommandOutput,
147
+ } from "./commands/GetLoggingConfigurationCommand";
148
+ import {
149
+ GetPermissionPolicyCommand,
150
+ GetPermissionPolicyCommandInput,
151
+ GetPermissionPolicyCommandOutput,
152
+ } from "./commands/GetPermissionPolicyCommand";
153
+ import {
154
+ GetRateBasedRuleCommand,
155
+ GetRateBasedRuleCommandInput,
156
+ GetRateBasedRuleCommandOutput,
157
+ } from "./commands/GetRateBasedRuleCommand";
158
+ import {
159
+ GetRateBasedRuleManagedKeysCommand,
160
+ GetRateBasedRuleManagedKeysCommandInput,
161
+ GetRateBasedRuleManagedKeysCommandOutput,
162
+ } from "./commands/GetRateBasedRuleManagedKeysCommand";
163
+ import {
164
+ GetRegexMatchSetCommand,
165
+ GetRegexMatchSetCommandInput,
166
+ GetRegexMatchSetCommandOutput,
167
+ } from "./commands/GetRegexMatchSetCommand";
168
+ import {
169
+ GetRegexPatternSetCommand,
170
+ GetRegexPatternSetCommandInput,
171
+ GetRegexPatternSetCommandOutput,
172
+ } from "./commands/GetRegexPatternSetCommand";
173
+ import { GetRuleCommand, GetRuleCommandInput, GetRuleCommandOutput } from "./commands/GetRuleCommand";
174
+ import {
175
+ GetRuleGroupCommand,
176
+ GetRuleGroupCommandInput,
177
+ GetRuleGroupCommandOutput,
178
+ } from "./commands/GetRuleGroupCommand";
179
+ import {
180
+ GetSampledRequestsCommand,
181
+ GetSampledRequestsCommandInput,
182
+ GetSampledRequestsCommandOutput,
183
+ } from "./commands/GetSampledRequestsCommand";
184
+ import {
185
+ GetSizeConstraintSetCommand,
186
+ GetSizeConstraintSetCommandInput,
187
+ GetSizeConstraintSetCommandOutput,
188
+ } from "./commands/GetSizeConstraintSetCommand";
189
+ import {
190
+ GetSqlInjectionMatchSetCommand,
191
+ GetSqlInjectionMatchSetCommandInput,
192
+ GetSqlInjectionMatchSetCommandOutput,
193
+ } from "./commands/GetSqlInjectionMatchSetCommand";
194
+ import { GetWebACLCommand, GetWebACLCommandInput, GetWebACLCommandOutput } from "./commands/GetWebACLCommand";
195
+ import {
196
+ GetXssMatchSetCommand,
197
+ GetXssMatchSetCommandInput,
198
+ GetXssMatchSetCommandOutput,
199
+ } from "./commands/GetXssMatchSetCommand";
200
+ import {
201
+ ListActivatedRulesInRuleGroupCommand,
202
+ ListActivatedRulesInRuleGroupCommandInput,
203
+ ListActivatedRulesInRuleGroupCommandOutput,
204
+ } from "./commands/ListActivatedRulesInRuleGroupCommand";
205
+ import {
206
+ ListByteMatchSetsCommand,
207
+ ListByteMatchSetsCommandInput,
208
+ ListByteMatchSetsCommandOutput,
209
+ } from "./commands/ListByteMatchSetsCommand";
210
+ import {
211
+ ListGeoMatchSetsCommand,
212
+ ListGeoMatchSetsCommandInput,
213
+ ListGeoMatchSetsCommandOutput,
214
+ } from "./commands/ListGeoMatchSetsCommand";
215
+ import { ListIPSetsCommand, ListIPSetsCommandInput, ListIPSetsCommandOutput } from "./commands/ListIPSetsCommand";
216
+ import {
217
+ ListLoggingConfigurationsCommand,
218
+ ListLoggingConfigurationsCommandInput,
219
+ ListLoggingConfigurationsCommandOutput,
220
+ } from "./commands/ListLoggingConfigurationsCommand";
221
+ import {
222
+ ListRateBasedRulesCommand,
223
+ ListRateBasedRulesCommandInput,
224
+ ListRateBasedRulesCommandOutput,
225
+ } from "./commands/ListRateBasedRulesCommand";
226
+ import {
227
+ ListRegexMatchSetsCommand,
228
+ ListRegexMatchSetsCommandInput,
229
+ ListRegexMatchSetsCommandOutput,
230
+ } from "./commands/ListRegexMatchSetsCommand";
231
+ import {
232
+ ListRegexPatternSetsCommand,
233
+ ListRegexPatternSetsCommandInput,
234
+ ListRegexPatternSetsCommandOutput,
235
+ } from "./commands/ListRegexPatternSetsCommand";
236
+ import {
237
+ ListRuleGroupsCommand,
238
+ ListRuleGroupsCommandInput,
239
+ ListRuleGroupsCommandOutput,
240
+ } from "./commands/ListRuleGroupsCommand";
241
+ import { ListRulesCommand, ListRulesCommandInput, ListRulesCommandOutput } from "./commands/ListRulesCommand";
242
+ import {
243
+ ListSizeConstraintSetsCommand,
244
+ ListSizeConstraintSetsCommandInput,
245
+ ListSizeConstraintSetsCommandOutput,
246
+ } from "./commands/ListSizeConstraintSetsCommand";
247
+ import {
248
+ ListSqlInjectionMatchSetsCommand,
249
+ ListSqlInjectionMatchSetsCommandInput,
250
+ ListSqlInjectionMatchSetsCommandOutput,
251
+ } from "./commands/ListSqlInjectionMatchSetsCommand";
252
+ import {
253
+ ListSubscribedRuleGroupsCommand,
254
+ ListSubscribedRuleGroupsCommandInput,
255
+ ListSubscribedRuleGroupsCommandOutput,
256
+ } from "./commands/ListSubscribedRuleGroupsCommand";
257
+ import {
258
+ ListTagsForResourceCommand,
259
+ ListTagsForResourceCommandInput,
260
+ ListTagsForResourceCommandOutput,
261
+ } from "./commands/ListTagsForResourceCommand";
262
+ import { ListWebACLsCommand, ListWebACLsCommandInput, ListWebACLsCommandOutput } from "./commands/ListWebACLsCommand";
263
+ import {
264
+ ListXssMatchSetsCommand,
265
+ ListXssMatchSetsCommandInput,
266
+ ListXssMatchSetsCommandOutput,
267
+ } from "./commands/ListXssMatchSetsCommand";
268
+ import {
269
+ PutLoggingConfigurationCommand,
270
+ PutLoggingConfigurationCommandInput,
271
+ PutLoggingConfigurationCommandOutput,
272
+ } from "./commands/PutLoggingConfigurationCommand";
273
+ import {
274
+ PutPermissionPolicyCommand,
275
+ PutPermissionPolicyCommandInput,
276
+ PutPermissionPolicyCommandOutput,
277
+ } from "./commands/PutPermissionPolicyCommand";
278
+ import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
279
+ import {
280
+ UntagResourceCommand,
281
+ UntagResourceCommandInput,
282
+ UntagResourceCommandOutput,
283
+ } from "./commands/UntagResourceCommand";
284
+ import {
285
+ UpdateByteMatchSetCommand,
286
+ UpdateByteMatchSetCommandInput,
287
+ UpdateByteMatchSetCommandOutput,
288
+ } from "./commands/UpdateByteMatchSetCommand";
289
+ import {
290
+ UpdateGeoMatchSetCommand,
291
+ UpdateGeoMatchSetCommandInput,
292
+ UpdateGeoMatchSetCommandOutput,
293
+ } from "./commands/UpdateGeoMatchSetCommand";
294
+ import { UpdateIPSetCommand, UpdateIPSetCommandInput, UpdateIPSetCommandOutput } from "./commands/UpdateIPSetCommand";
295
+ import {
296
+ UpdateRateBasedRuleCommand,
297
+ UpdateRateBasedRuleCommandInput,
298
+ UpdateRateBasedRuleCommandOutput,
299
+ } from "./commands/UpdateRateBasedRuleCommand";
300
+ import {
301
+ UpdateRegexMatchSetCommand,
302
+ UpdateRegexMatchSetCommandInput,
303
+ UpdateRegexMatchSetCommandOutput,
304
+ } from "./commands/UpdateRegexMatchSetCommand";
305
+ import {
306
+ UpdateRegexPatternSetCommand,
307
+ UpdateRegexPatternSetCommandInput,
308
+ UpdateRegexPatternSetCommandOutput,
309
+ } from "./commands/UpdateRegexPatternSetCommand";
310
+ import { UpdateRuleCommand, UpdateRuleCommandInput, UpdateRuleCommandOutput } from "./commands/UpdateRuleCommand";
311
+ import {
312
+ UpdateRuleGroupCommand,
313
+ UpdateRuleGroupCommandInput,
314
+ UpdateRuleGroupCommandOutput,
315
+ } from "./commands/UpdateRuleGroupCommand";
316
+ import {
317
+ UpdateSizeConstraintSetCommand,
318
+ UpdateSizeConstraintSetCommandInput,
319
+ UpdateSizeConstraintSetCommandOutput,
320
+ } from "./commands/UpdateSizeConstraintSetCommand";
321
+ import {
322
+ UpdateSqlInjectionMatchSetCommand,
323
+ UpdateSqlInjectionMatchSetCommandInput,
324
+ UpdateSqlInjectionMatchSetCommandOutput,
325
+ } from "./commands/UpdateSqlInjectionMatchSetCommand";
326
+ import {
327
+ UpdateWebACLCommand,
328
+ UpdateWebACLCommandInput,
329
+ UpdateWebACLCommandOutput,
330
+ } from "./commands/UpdateWebACLCommand";
331
+ import {
332
+ UpdateXssMatchSetCommand,
333
+ UpdateXssMatchSetCommandInput,
334
+ UpdateXssMatchSetCommandOutput,
335
+ } from "./commands/UpdateXssMatchSetCommand";
336
+ import { WAFClient } from "./WAFClient";
337
+
338
+ /**
339
+ * <note>
340
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
341
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
342
+ * WAF Classic</a> in the developer guide.</p>
343
+ * <p>
344
+ * <b>For the latest version of AWS
345
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
346
+ * </note>
347
+ * <p>This is the <i>AWS WAF Classic API Reference</i> for using AWS WAF Classic with Amazon CloudFront. The AWS WAF Classic actions and data types listed in the reference are available for protecting Amazon CloudFront distributions. You can use these actions and data types via the endpoint <i>waf.amazonaws.com</i>. This guide is for developers who need detailed information about the AWS WAF Classic API actions,
348
+ * data types, and errors. For detailed information about AWS WAF Classic features and an overview of how to use the AWS WAF Classic API, see the
349
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS WAF Classic</a> in the developer guide.</p>
350
+ */
351
+ export class WAF extends WAFClient {
352
+ /**
353
+ * <note>
354
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
355
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
356
+ * WAF Classic</a> in the developer guide.</p>
357
+ * <p>
358
+ * <b>For the latest version of AWS
359
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
360
+ * </note>
361
+ * <p>Creates a <code>ByteMatchSet</code>. You then use <a>UpdateByteMatchSet</a> to identify the part of a
362
+ * web request that you want AWS WAF to inspect, such as the values of the <code>User-Agent</code> header or the query string.
363
+ * For example, you can create a <code>ByteMatchSet</code> that matches any requests with <code>User-Agent</code> headers
364
+ * that contain the string <code>BadBot</code>. You can then configure AWS WAF to reject those requests.</p>
365
+ * <p>To create and configure a <code>ByteMatchSet</code>, perform the following steps:</p>
366
+ * <ol>
367
+ * <li>
368
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
369
+ * <code>CreateByteMatchSet</code> request.</p>
370
+ * </li>
371
+ * <li>
372
+ * <p>Submit a <code>CreateByteMatchSet</code> request.</p>
373
+ * </li>
374
+ * <li>
375
+ * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
376
+ * <code>UpdateByteMatchSet</code> request.</p>
377
+ * </li>
378
+ * <li>
379
+ * <p>Submit an <a>UpdateByteMatchSet</a> request to specify the part of the request that you want AWS WAF to inspect
380
+ * (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
381
+ * </li>
382
+ * </ol>
383
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
384
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
385
+ */
386
+ public createByteMatchSet(
387
+ args: CreateByteMatchSetCommandInput,
388
+ options?: __HttpHandlerOptions
389
+ ): Promise<CreateByteMatchSetCommandOutput>;
390
+ public createByteMatchSet(
391
+ args: CreateByteMatchSetCommandInput,
392
+ cb: (err: any, data?: CreateByteMatchSetCommandOutput) => void
393
+ ): void;
394
+ public createByteMatchSet(
395
+ args: CreateByteMatchSetCommandInput,
396
+ options: __HttpHandlerOptions,
397
+ cb: (err: any, data?: CreateByteMatchSetCommandOutput) => void
398
+ ): void;
399
+ public createByteMatchSet(
400
+ args: CreateByteMatchSetCommandInput,
401
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateByteMatchSetCommandOutput) => void),
402
+ cb?: (err: any, data?: CreateByteMatchSetCommandOutput) => void
403
+ ): Promise<CreateByteMatchSetCommandOutput> | void {
404
+ const command = new CreateByteMatchSetCommand(args);
405
+ if (typeof optionsOrCb === "function") {
406
+ this.send(command, optionsOrCb);
407
+ } else if (typeof cb === "function") {
408
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
409
+ this.send(command, optionsOrCb || {}, cb);
410
+ } else {
411
+ return this.send(command, optionsOrCb);
412
+ }
413
+ }
414
+
415
+ /**
416
+ * <note>
417
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
418
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
419
+ * WAF Classic</a> in the developer guide.</p>
420
+ * <p>
421
+ * <b>For the latest version of AWS
422
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
423
+ * </note>
424
+ * <p>Creates an <a>GeoMatchSet</a>, which you use to specify which web requests you want to allow or block based on the country
425
+ * that the requests originate from. For example, if you're receiving a lot of requests from one or more countries and you want to block the requests, you can create an <code>GeoMatchSet</code> that contains those countries and then configure AWS WAF to block the requests. </p>
426
+ * <p>To create and configure a <code>GeoMatchSet</code>, perform the following steps:</p>
427
+ * <ol>
428
+ * <li>
429
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
430
+ * <code>CreateGeoMatchSet</code> request.</p>
431
+ * </li>
432
+ * <li>
433
+ * <p>Submit a <code>CreateGeoMatchSet</code> request.</p>
434
+ * </li>
435
+ * <li>
436
+ * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
437
+ * <a>UpdateGeoMatchSet</a> request.</p>
438
+ * </li>
439
+ * <li>
440
+ * <p>Submit an <code>UpdateGeoMatchSetSet</code> request to specify the countries that you want AWS WAF to watch for.</p>
441
+ * </li>
442
+ * </ol>
443
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
444
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
445
+ */
446
+ public createGeoMatchSet(
447
+ args: CreateGeoMatchSetCommandInput,
448
+ options?: __HttpHandlerOptions
449
+ ): Promise<CreateGeoMatchSetCommandOutput>;
450
+ public createGeoMatchSet(
451
+ args: CreateGeoMatchSetCommandInput,
452
+ cb: (err: any, data?: CreateGeoMatchSetCommandOutput) => void
453
+ ): void;
454
+ public createGeoMatchSet(
455
+ args: CreateGeoMatchSetCommandInput,
456
+ options: __HttpHandlerOptions,
457
+ cb: (err: any, data?: CreateGeoMatchSetCommandOutput) => void
458
+ ): void;
459
+ public createGeoMatchSet(
460
+ args: CreateGeoMatchSetCommandInput,
461
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateGeoMatchSetCommandOutput) => void),
462
+ cb?: (err: any, data?: CreateGeoMatchSetCommandOutput) => void
463
+ ): Promise<CreateGeoMatchSetCommandOutput> | void {
464
+ const command = new CreateGeoMatchSetCommand(args);
465
+ if (typeof optionsOrCb === "function") {
466
+ this.send(command, optionsOrCb);
467
+ } else if (typeof cb === "function") {
468
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
469
+ this.send(command, optionsOrCb || {}, cb);
470
+ } else {
471
+ return this.send(command, optionsOrCb);
472
+ }
473
+ }
474
+
475
+ /**
476
+ * <note>
477
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
478
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
479
+ * WAF Classic</a> in the developer guide.</p>
480
+ * <p>
481
+ * <b>For the latest version of AWS
482
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
483
+ * </note>
484
+ * <p>Creates an <a>IPSet</a>, which you use to specify which web requests
485
+ * that
486
+ * you want to allow or block based on the IP addresses that the requests
487
+ * originate from. For example, if you're receiving a lot of requests from one or more
488
+ * individual IP addresses or one or more ranges of IP addresses and you want to block the
489
+ * requests, you can create an <code>IPSet</code> that contains those IP addresses and then
490
+ * configure AWS WAF to block the requests. </p>
491
+ * <p>To create and configure an <code>IPSet</code>, perform the following steps:</p>
492
+ * <ol>
493
+ * <li>
494
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
495
+ * <code>CreateIPSet</code> request.</p>
496
+ * </li>
497
+ * <li>
498
+ * <p>Submit a <code>CreateIPSet</code> request.</p>
499
+ * </li>
500
+ * <li>
501
+ * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
502
+ * <a>UpdateIPSet</a> request.</p>
503
+ * </li>
504
+ * <li>
505
+ * <p>Submit an <code>UpdateIPSet</code> request to specify the IP addresses that you want AWS WAF to watch for.</p>
506
+ * </li>
507
+ * </ol>
508
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
509
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
510
+ */
511
+ public createIPSet(args: CreateIPSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateIPSetCommandOutput>;
512
+ public createIPSet(args: CreateIPSetCommandInput, cb: (err: any, data?: CreateIPSetCommandOutput) => void): void;
513
+ public createIPSet(
514
+ args: CreateIPSetCommandInput,
515
+ options: __HttpHandlerOptions,
516
+ cb: (err: any, data?: CreateIPSetCommandOutput) => void
517
+ ): void;
518
+ public createIPSet(
519
+ args: CreateIPSetCommandInput,
520
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateIPSetCommandOutput) => void),
521
+ cb?: (err: any, data?: CreateIPSetCommandOutput) => void
522
+ ): Promise<CreateIPSetCommandOutput> | void {
523
+ const command = new CreateIPSetCommand(args);
524
+ if (typeof optionsOrCb === "function") {
525
+ this.send(command, optionsOrCb);
526
+ } else if (typeof cb === "function") {
527
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
528
+ this.send(command, optionsOrCb || {}, cb);
529
+ } else {
530
+ return this.send(command, optionsOrCb);
531
+ }
532
+ }
533
+
534
+ /**
535
+ * <note>
536
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
537
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
538
+ * WAF Classic</a> in the developer guide.</p>
539
+ * <p>
540
+ * <b>For the latest version of AWS
541
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
542
+ * </note>
543
+ * <p>Creates a <a>RateBasedRule</a>. The <code>RateBasedRule</code> contains a
544
+ * <code>RateLimit</code>, which specifies the maximum number of requests that AWS WAF allows
545
+ * from a specified IP address in a five-minute period.
546
+ * The <code>RateBasedRule</code> also
547
+ * contains the <code>IPSet</code> objects, <code>ByteMatchSet</code> objects, and other
548
+ * predicates that identify the requests that you want to count or block if these requests
549
+ * exceed the <code>RateLimit</code>.</p>
550
+ * <p>If you add more than one predicate to a <code>RateBasedRule</code>, a request not
551
+ * only must exceed the <code>RateLimit</code>, but it also must match all the
552
+ * conditions to be counted or blocked. For example, suppose you add the following to a
553
+ * <code>RateBasedRule</code>:</p>
554
+ * <ul>
555
+ * <li>
556
+ * <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code>
557
+ * </p>
558
+ * </li>
559
+ * <li>
560
+ * <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the
561
+ * <code>User-Agent</code> header</p>
562
+ * </li>
563
+ * </ul>
564
+ * <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
565
+ * <p>You then add the <code>RateBasedRule</code> to a <code>WebACL</code> and specify that
566
+ * you want to block requests that meet the conditions in the rule. For a request to be
567
+ * blocked, it must come from the IP address 192.0.2.44 <i>and</i> the
568
+ * <code>User-Agent</code> header in the request must contain the value
569
+ * <code>BadBot</code>. Further, requests that match these two conditions must be received at
570
+ * a rate of more than 1,000 requests every five minutes. If both conditions are met and the
571
+ * rate is exceeded, AWS WAF blocks the requests. If the rate drops below 1,000 for a
572
+ * five-minute period, AWS WAF no longer blocks the requests.</p>
573
+ *
574
+ * <p>As a second example, suppose you want to limit requests to a particular page on your site. To do this, you could add the following to a
575
+ * <code>RateBasedRule</code>:</p>
576
+ *
577
+ *
578
+ * <ul>
579
+ * <li>
580
+ * <p>A <code>ByteMatchSet</code> with <code>FieldToMatch</code> of <code>URI</code>
581
+ * </p>
582
+ * </li>
583
+ * <li>
584
+ * <p>A <code>PositionalConstraint</code> of <code>STARTS_WITH</code>
585
+ * </p>
586
+ * </li>
587
+ * <li>
588
+ * <p>A <code>TargetString</code> of <code>login</code>
589
+ * </p>
590
+ * </li>
591
+ * </ul>
592
+ * <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
593
+ * <p>By adding this <code>RateBasedRule</code> to a <code>WebACL</code>, you could limit requests to your login page without affecting the rest of your site.</p>
594
+ *
595
+ *
596
+ * <p>To create and configure a <code>RateBasedRule</code>, perform the following
597
+ * steps:</p>
598
+ * <ol>
599
+ * <li>
600
+ * <p>Create and update the predicates that you want to include in the rule. For more
601
+ * information, see <a>CreateByteMatchSet</a>, <a>CreateIPSet</a>,
602
+ * and <a>CreateSqlInjectionMatchSet</a>.</p>
603
+ * </li>
604
+ * <li>
605
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide
606
+ * in the <code>ChangeToken</code> parameter of a <code>CreateRule</code>
607
+ * request.</p>
608
+ * </li>
609
+ * <li>
610
+ * <p>Submit a <code>CreateRateBasedRule</code> request.</p>
611
+ * </li>
612
+ * <li>
613
+ * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the
614
+ * <code>ChangeToken</code> parameter of an <a>UpdateRule</a>
615
+ * request.</p>
616
+ * </li>
617
+ * <li>
618
+ * <p>Submit an <code>UpdateRateBasedRule</code> request to specify the predicates
619
+ * that you want to include in the rule.</p>
620
+ * </li>
621
+ * <li>
622
+ * <p>Create and update a <code>WebACL</code> that contains the
623
+ * <code>RateBasedRule</code>. For more information, see <a>CreateWebACL</a>.</p>
624
+ * </li>
625
+ * </ol>
626
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests,
627
+ * see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer
628
+ * Guide</a>.</p>
629
+ */
630
+ public createRateBasedRule(
631
+ args: CreateRateBasedRuleCommandInput,
632
+ options?: __HttpHandlerOptions
633
+ ): Promise<CreateRateBasedRuleCommandOutput>;
634
+ public createRateBasedRule(
635
+ args: CreateRateBasedRuleCommandInput,
636
+ cb: (err: any, data?: CreateRateBasedRuleCommandOutput) => void
637
+ ): void;
638
+ public createRateBasedRule(
639
+ args: CreateRateBasedRuleCommandInput,
640
+ options: __HttpHandlerOptions,
641
+ cb: (err: any, data?: CreateRateBasedRuleCommandOutput) => void
642
+ ): void;
643
+ public createRateBasedRule(
644
+ args: CreateRateBasedRuleCommandInput,
645
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRateBasedRuleCommandOutput) => void),
646
+ cb?: (err: any, data?: CreateRateBasedRuleCommandOutput) => void
647
+ ): Promise<CreateRateBasedRuleCommandOutput> | void {
648
+ const command = new CreateRateBasedRuleCommand(args);
649
+ if (typeof optionsOrCb === "function") {
650
+ this.send(command, optionsOrCb);
651
+ } else if (typeof cb === "function") {
652
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
653
+ this.send(command, optionsOrCb || {}, cb);
654
+ } else {
655
+ return this.send(command, optionsOrCb);
656
+ }
657
+ }
658
+
659
+ /**
660
+ * <note>
661
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
662
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
663
+ * WAF Classic</a> in the developer guide.</p>
664
+ * <p>
665
+ * <b>For the latest version of AWS
666
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
667
+ * </note>
668
+ * <p>Creates a <a>RegexMatchSet</a>. You then use <a>UpdateRegexMatchSet</a> to identify the part of a
669
+ * web request that you want AWS WAF to inspect, such as the values of the <code>User-Agent</code> header or the query string.
670
+ * For example, you can create a <code>RegexMatchSet</code> that contains a <code>RegexMatchTuple</code> that looks for any requests with <code>User-Agent</code> headers
671
+ * that match a <code>RegexPatternSet</code> with pattern <code>B[a@]dB[o0]t</code>. You can then configure AWS WAF to reject those requests.</p>
672
+ * <p>To create and configure a <code>RegexMatchSet</code>, perform the following steps:</p>
673
+ * <ol>
674
+ * <li>
675
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
676
+ * <code>CreateRegexMatchSet</code> request.</p>
677
+ * </li>
678
+ * <li>
679
+ * <p>Submit a <code>CreateRegexMatchSet</code> request.</p>
680
+ * </li>
681
+ * <li>
682
+ * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
683
+ * <code>UpdateRegexMatchSet</code> request.</p>
684
+ * </li>
685
+ * <li>
686
+ * <p>Submit an <a>UpdateRegexMatchSet</a> request to specify the part of the request that you want AWS WAF to inspect
687
+ * (for example, the header or the URI) and the value, using a <code>RegexPatternSet</code>, that you want AWS WAF to watch for.</p>
688
+ * </li>
689
+ * </ol>
690
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
691
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
692
+ */
693
+ public createRegexMatchSet(
694
+ args: CreateRegexMatchSetCommandInput,
695
+ options?: __HttpHandlerOptions
696
+ ): Promise<CreateRegexMatchSetCommandOutput>;
697
+ public createRegexMatchSet(
698
+ args: CreateRegexMatchSetCommandInput,
699
+ cb: (err: any, data?: CreateRegexMatchSetCommandOutput) => void
700
+ ): void;
701
+ public createRegexMatchSet(
702
+ args: CreateRegexMatchSetCommandInput,
703
+ options: __HttpHandlerOptions,
704
+ cb: (err: any, data?: CreateRegexMatchSetCommandOutput) => void
705
+ ): void;
706
+ public createRegexMatchSet(
707
+ args: CreateRegexMatchSetCommandInput,
708
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRegexMatchSetCommandOutput) => void),
709
+ cb?: (err: any, data?: CreateRegexMatchSetCommandOutput) => void
710
+ ): Promise<CreateRegexMatchSetCommandOutput> | void {
711
+ const command = new CreateRegexMatchSetCommand(args);
712
+ if (typeof optionsOrCb === "function") {
713
+ this.send(command, optionsOrCb);
714
+ } else if (typeof cb === "function") {
715
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
716
+ this.send(command, optionsOrCb || {}, cb);
717
+ } else {
718
+ return this.send(command, optionsOrCb);
719
+ }
720
+ }
721
+
722
+ /**
723
+ * <note>
724
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
725
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
726
+ * WAF Classic</a> in the developer guide.</p>
727
+ * <p>
728
+ * <b>For the latest version of AWS
729
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
730
+ * </note>
731
+ * <p>Creates a <code>RegexPatternSet</code>. You then use <a>UpdateRegexPatternSet</a> to specify the regular expression (regex) pattern that you want AWS WAF to search for, such as <code>B[a@]dB[o0]t</code>. You can then configure AWS WAF to reject those requests.</p>
732
+ * <p>To create and configure a <code>RegexPatternSet</code>, perform the following steps:</p>
733
+ * <ol>
734
+ * <li>
735
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
736
+ * <code>CreateRegexPatternSet</code> request.</p>
737
+ * </li>
738
+ * <li>
739
+ * <p>Submit a <code>CreateRegexPatternSet</code> request.</p>
740
+ * </li>
741
+ * <li>
742
+ * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
743
+ * <code>UpdateRegexPatternSet</code> request.</p>
744
+ * </li>
745
+ * <li>
746
+ * <p>Submit an <a>UpdateRegexPatternSet</a> request to specify the string that you want AWS WAF to watch for.</p>
747
+ * </li>
748
+ * </ol>
749
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
750
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
751
+ */
752
+ public createRegexPatternSet(
753
+ args: CreateRegexPatternSetCommandInput,
754
+ options?: __HttpHandlerOptions
755
+ ): Promise<CreateRegexPatternSetCommandOutput>;
756
+ public createRegexPatternSet(
757
+ args: CreateRegexPatternSetCommandInput,
758
+ cb: (err: any, data?: CreateRegexPatternSetCommandOutput) => void
759
+ ): void;
760
+ public createRegexPatternSet(
761
+ args: CreateRegexPatternSetCommandInput,
762
+ options: __HttpHandlerOptions,
763
+ cb: (err: any, data?: CreateRegexPatternSetCommandOutput) => void
764
+ ): void;
765
+ public createRegexPatternSet(
766
+ args: CreateRegexPatternSetCommandInput,
767
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRegexPatternSetCommandOutput) => void),
768
+ cb?: (err: any, data?: CreateRegexPatternSetCommandOutput) => void
769
+ ): Promise<CreateRegexPatternSetCommandOutput> | void {
770
+ const command = new CreateRegexPatternSetCommand(args);
771
+ if (typeof optionsOrCb === "function") {
772
+ this.send(command, optionsOrCb);
773
+ } else if (typeof cb === "function") {
774
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
775
+ this.send(command, optionsOrCb || {}, cb);
776
+ } else {
777
+ return this.send(command, optionsOrCb);
778
+ }
779
+ }
780
+
781
+ /**
782
+ * <note>
783
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
784
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
785
+ * WAF Classic</a> in the developer guide.</p>
786
+ * <p>
787
+ * <b>For the latest version of AWS
788
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
789
+ * </note>
790
+ * <p>Creates a <code>Rule</code>, which contains the <code>IPSet</code> objects,
791
+ * <code>ByteMatchSet</code> objects, and other predicates that identify the requests that
792
+ * you want to block. If you add more than one predicate to a <code>Rule</code>, a request
793
+ * must match all of the specifications to be allowed or blocked. For example, suppose
794
+ * that
795
+ * you add the following to a <code>Rule</code>:</p>
796
+ * <ul>
797
+ * <li>
798
+ * <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code>
799
+ * </p>
800
+ * </li>
801
+ * <li>
802
+ * <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the <code>User-Agent</code> header</p>
803
+ * </li>
804
+ * </ul>
805
+ * <p>You then add the <code>Rule</code> to a <code>WebACL</code> and specify that you want to blocks requests that satisfy the <code>Rule</code>.
806
+ * For a request to be blocked, it must come from the IP address 192.0.2.44 <i>and</i> the <code>User-Agent</code> header in the request
807
+ * must contain the value <code>BadBot</code>.</p>
808
+ * <p>To create and configure a <code>Rule</code>, perform the following steps:</p>
809
+ * <ol>
810
+ * <li>
811
+ * <p>Create and update the predicates that you want to include in the <code>Rule</code>. For more information, see
812
+ * <a>CreateByteMatchSet</a>, <a>CreateIPSet</a>, and <a>CreateSqlInjectionMatchSet</a>.</p>
813
+ * </li>
814
+ * <li>
815
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
816
+ * <code>CreateRule</code> request.</p>
817
+ * </li>
818
+ * <li>
819
+ * <p>Submit a <code>CreateRule</code> request.</p>
820
+ * </li>
821
+ * <li>
822
+ * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
823
+ * <a>UpdateRule</a> request.</p>
824
+ * </li>
825
+ * <li>
826
+ * <p>Submit an <code>UpdateRule</code> request to specify the predicates that you want to include in the <code>Rule</code>.</p>
827
+ * </li>
828
+ * <li>
829
+ * <p>Create and update a <code>WebACL</code> that contains the <code>Rule</code>. For more information, see <a>CreateWebACL</a>.</p>
830
+ * </li>
831
+ * </ol>
832
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
833
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
834
+ */
835
+ public createRule(args: CreateRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateRuleCommandOutput>;
836
+ public createRule(args: CreateRuleCommandInput, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
837
+ public createRule(
838
+ args: CreateRuleCommandInput,
839
+ options: __HttpHandlerOptions,
840
+ cb: (err: any, data?: CreateRuleCommandOutput) => void
841
+ ): void;
842
+ public createRule(
843
+ args: CreateRuleCommandInput,
844
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRuleCommandOutput) => void),
845
+ cb?: (err: any, data?: CreateRuleCommandOutput) => void
846
+ ): Promise<CreateRuleCommandOutput> | void {
847
+ const command = new CreateRuleCommand(args);
848
+ if (typeof optionsOrCb === "function") {
849
+ this.send(command, optionsOrCb);
850
+ } else if (typeof cb === "function") {
851
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
852
+ this.send(command, optionsOrCb || {}, cb);
853
+ } else {
854
+ return this.send(command, optionsOrCb);
855
+ }
856
+ }
857
+
858
+ /**
859
+ * <note>
860
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
861
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
862
+ * WAF Classic</a> in the developer guide.</p>
863
+ * <p>
864
+ * <b>For the latest version of AWS
865
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
866
+ * </note>
867
+ * <p>Creates a <code>RuleGroup</code>. A rule group is a collection of predefined rules that you add to a web ACL. You use <a>UpdateRuleGroup</a> to add rules to the rule group.</p>
868
+ * <p>Rule groups are subject to the following limits:</p>
869
+ * <ul>
870
+ * <li>
871
+ * <p>Three rule groups per account. You can request an increase to this limit by contacting customer support.</p>
872
+ * </li>
873
+ * <li>
874
+ * <p>One rule group per web ACL.</p>
875
+ * </li>
876
+ * <li>
877
+ * <p>Ten rules per rule group.</p>
878
+ * </li>
879
+ * </ul>
880
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
881
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
882
+ */
883
+ public createRuleGroup(
884
+ args: CreateRuleGroupCommandInput,
885
+ options?: __HttpHandlerOptions
886
+ ): Promise<CreateRuleGroupCommandOutput>;
887
+ public createRuleGroup(
888
+ args: CreateRuleGroupCommandInput,
889
+ cb: (err: any, data?: CreateRuleGroupCommandOutput) => void
890
+ ): void;
891
+ public createRuleGroup(
892
+ args: CreateRuleGroupCommandInput,
893
+ options: __HttpHandlerOptions,
894
+ cb: (err: any, data?: CreateRuleGroupCommandOutput) => void
895
+ ): void;
896
+ public createRuleGroup(
897
+ args: CreateRuleGroupCommandInput,
898
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRuleGroupCommandOutput) => void),
899
+ cb?: (err: any, data?: CreateRuleGroupCommandOutput) => void
900
+ ): Promise<CreateRuleGroupCommandOutput> | void {
901
+ const command = new CreateRuleGroupCommand(args);
902
+ if (typeof optionsOrCb === "function") {
903
+ this.send(command, optionsOrCb);
904
+ } else if (typeof cb === "function") {
905
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
906
+ this.send(command, optionsOrCb || {}, cb);
907
+ } else {
908
+ return this.send(command, optionsOrCb);
909
+ }
910
+ }
911
+
912
+ /**
913
+ * <note>
914
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
915
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
916
+ * WAF Classic</a> in the developer guide.</p>
917
+ * <p>
918
+ * <b>For the latest version of AWS
919
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
920
+ * </note>
921
+ * <p>Creates a <code>SizeConstraintSet</code>. You then use <a>UpdateSizeConstraintSet</a> to identify the part of a
922
+ * web request that you want AWS WAF to check for length, such as the length of the <code>User-Agent</code> header or the length of the query string.
923
+ * For example, you can create a <code>SizeConstraintSet</code> that matches any requests that have a query string that is longer than 100 bytes.
924
+ * You can then configure AWS WAF to reject those requests.</p>
925
+ * <p>To create and configure a <code>SizeConstraintSet</code>, perform the following steps:</p>
926
+ * <ol>
927
+ * <li>
928
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
929
+ * <code>CreateSizeConstraintSet</code> request.</p>
930
+ * </li>
931
+ * <li>
932
+ * <p>Submit a <code>CreateSizeConstraintSet</code> request.</p>
933
+ * </li>
934
+ * <li>
935
+ * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
936
+ * <code>UpdateSizeConstraintSet</code> request.</p>
937
+ * </li>
938
+ * <li>
939
+ * <p>Submit an <a>UpdateSizeConstraintSet</a> request to specify the part of the request that you want AWS WAF to inspect
940
+ * (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
941
+ * </li>
942
+ * </ol>
943
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
944
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
945
+ */
946
+ public createSizeConstraintSet(
947
+ args: CreateSizeConstraintSetCommandInput,
948
+ options?: __HttpHandlerOptions
949
+ ): Promise<CreateSizeConstraintSetCommandOutput>;
950
+ public createSizeConstraintSet(
951
+ args: CreateSizeConstraintSetCommandInput,
952
+ cb: (err: any, data?: CreateSizeConstraintSetCommandOutput) => void
953
+ ): void;
954
+ public createSizeConstraintSet(
955
+ args: CreateSizeConstraintSetCommandInput,
956
+ options: __HttpHandlerOptions,
957
+ cb: (err: any, data?: CreateSizeConstraintSetCommandOutput) => void
958
+ ): void;
959
+ public createSizeConstraintSet(
960
+ args: CreateSizeConstraintSetCommandInput,
961
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSizeConstraintSetCommandOutput) => void),
962
+ cb?: (err: any, data?: CreateSizeConstraintSetCommandOutput) => void
963
+ ): Promise<CreateSizeConstraintSetCommandOutput> | void {
964
+ const command = new CreateSizeConstraintSetCommand(args);
965
+ if (typeof optionsOrCb === "function") {
966
+ this.send(command, optionsOrCb);
967
+ } else if (typeof cb === "function") {
968
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
969
+ this.send(command, optionsOrCb || {}, cb);
970
+ } else {
971
+ return this.send(command, optionsOrCb);
972
+ }
973
+ }
974
+
975
+ /**
976
+ * <note>
977
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
978
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
979
+ * WAF Classic</a> in the developer guide.</p>
980
+ * <p>
981
+ * <b>For the latest version of AWS
982
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
983
+ * </note>
984
+ * <p>Creates a <a>SqlInjectionMatchSet</a>, which you use to allow, block, or count requests that contain snippets of SQL code in a
985
+ * specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.</p>
986
+ * <p>To create and configure a <code>SqlInjectionMatchSet</code>, perform the following steps:</p>
987
+ * <ol>
988
+ * <li>
989
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
990
+ * <code>CreateSqlInjectionMatchSet</code> request.</p>
991
+ * </li>
992
+ * <li>
993
+ * <p>Submit a <code>CreateSqlInjectionMatchSet</code> request.</p>
994
+ * </li>
995
+ * <li>
996
+ * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
997
+ * <a>UpdateSqlInjectionMatchSet</a> request.</p>
998
+ * </li>
999
+ * <li>
1000
+ * <p>Submit an <a>UpdateSqlInjectionMatchSet</a> request to specify the parts of web requests in which you want to
1001
+ * allow, block, or count malicious SQL code.</p>
1002
+ * </li>
1003
+ * </ol>
1004
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
1005
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
1006
+ */
1007
+ public createSqlInjectionMatchSet(
1008
+ args: CreateSqlInjectionMatchSetCommandInput,
1009
+ options?: __HttpHandlerOptions
1010
+ ): Promise<CreateSqlInjectionMatchSetCommandOutput>;
1011
+ public createSqlInjectionMatchSet(
1012
+ args: CreateSqlInjectionMatchSetCommandInput,
1013
+ cb: (err: any, data?: CreateSqlInjectionMatchSetCommandOutput) => void
1014
+ ): void;
1015
+ public createSqlInjectionMatchSet(
1016
+ args: CreateSqlInjectionMatchSetCommandInput,
1017
+ options: __HttpHandlerOptions,
1018
+ cb: (err: any, data?: CreateSqlInjectionMatchSetCommandOutput) => void
1019
+ ): void;
1020
+ public createSqlInjectionMatchSet(
1021
+ args: CreateSqlInjectionMatchSetCommandInput,
1022
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSqlInjectionMatchSetCommandOutput) => void),
1023
+ cb?: (err: any, data?: CreateSqlInjectionMatchSetCommandOutput) => void
1024
+ ): Promise<CreateSqlInjectionMatchSetCommandOutput> | void {
1025
+ const command = new CreateSqlInjectionMatchSetCommand(args);
1026
+ if (typeof optionsOrCb === "function") {
1027
+ this.send(command, optionsOrCb);
1028
+ } else if (typeof cb === "function") {
1029
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1030
+ this.send(command, optionsOrCb || {}, cb);
1031
+ } else {
1032
+ return this.send(command, optionsOrCb);
1033
+ }
1034
+ }
1035
+
1036
+ /**
1037
+ * <note>
1038
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
1039
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
1040
+ * WAF Classic</a> in the developer guide.</p>
1041
+ * <p>
1042
+ * <b>For the latest version of AWS
1043
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
1044
+ * </note>
1045
+ * <p>Creates a <code>WebACL</code>, which contains the <code>Rules</code> that identify the CloudFront web requests that you want to allow, block, or count.
1046
+ * AWS WAF evaluates <code>Rules</code> in order based on the value of <code>Priority</code> for each <code>Rule</code>.</p>
1047
+ * <p>You also specify a default action, either <code>ALLOW</code> or <code>BLOCK</code>. If a web request doesn't match
1048
+ * any of the <code>Rules</code> in a <code>WebACL</code>, AWS WAF responds to the request with the default action. </p>
1049
+ * <p>To create and configure a <code>WebACL</code>, perform the following steps:</p>
1050
+ * <ol>
1051
+ * <li>
1052
+ * <p>Create and update the <code>ByteMatchSet</code> objects and other predicates that you want to include in <code>Rules</code>.
1053
+ * For more information, see <a>CreateByteMatchSet</a>, <a>UpdateByteMatchSet</a>, <a>CreateIPSet</a>, <a>UpdateIPSet</a>,
1054
+ * <a>CreateSqlInjectionMatchSet</a>, and <a>UpdateSqlInjectionMatchSet</a>.</p>
1055
+ * </li>
1056
+ * <li>
1057
+ * <p>Create and update the <code>Rules</code> that you want to include in the <code>WebACL</code>. For more information, see
1058
+ * <a>CreateRule</a> and <a>UpdateRule</a>.</p>
1059
+ * </li>
1060
+ * <li>
1061
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
1062
+ * <code>CreateWebACL</code> request.</p>
1063
+ * </li>
1064
+ * <li>
1065
+ * <p>Submit a <code>CreateWebACL</code> request.</p>
1066
+ * </li>
1067
+ * <li>
1068
+ * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
1069
+ * <a>UpdateWebACL</a> request.</p>
1070
+ * </li>
1071
+ * <li>
1072
+ * <p>Submit an <a>UpdateWebACL</a> request to specify the <code>Rules</code> that you want to include in the <code>WebACL</code>,
1073
+ * to specify the default action, and to associate the <code>WebACL</code> with a CloudFront distribution.</p>
1074
+ * </li>
1075
+ * </ol>
1076
+ * <p>For more information about how to use the AWS WAF API, see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
1077
+ */
1078
+ public createWebACL(
1079
+ args: CreateWebACLCommandInput,
1080
+ options?: __HttpHandlerOptions
1081
+ ): Promise<CreateWebACLCommandOutput>;
1082
+ public createWebACL(args: CreateWebACLCommandInput, cb: (err: any, data?: CreateWebACLCommandOutput) => void): void;
1083
+ public createWebACL(
1084
+ args: CreateWebACLCommandInput,
1085
+ options: __HttpHandlerOptions,
1086
+ cb: (err: any, data?: CreateWebACLCommandOutput) => void
1087
+ ): void;
1088
+ public createWebACL(
1089
+ args: CreateWebACLCommandInput,
1090
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateWebACLCommandOutput) => void),
1091
+ cb?: (err: any, data?: CreateWebACLCommandOutput) => void
1092
+ ): Promise<CreateWebACLCommandOutput> | void {
1093
+ const command = new CreateWebACLCommand(args);
1094
+ if (typeof optionsOrCb === "function") {
1095
+ this.send(command, optionsOrCb);
1096
+ } else if (typeof cb === "function") {
1097
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1098
+ this.send(command, optionsOrCb || {}, cb);
1099
+ } else {
1100
+ return this.send(command, optionsOrCb);
1101
+ }
1102
+ }
1103
+
1104
+ /**
1105
+ * <p>Creates an AWS CloudFormation WAFV2 template for the specified web ACL in the specified Amazon S3 bucket.
1106
+ * Then, in CloudFormation, you create a stack from the template, to create the web ACL and its resources in AWS WAFV2.
1107
+ * Use this to migrate your AWS WAF Classic web ACL to the latest version of AWS WAF.</p>
1108
+ * <p>This is part of a larger migration procedure for web ACLs from AWS WAF Classic to the latest version of AWS WAF.
1109
+ * For the full procedure, including caveats and manual steps to complete
1110
+ * the migration and switch over to the new web ACL, see
1111
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-migrating-from-classic.html">Migrating your AWS WAF Classic resources to AWS WAF</a> in the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF
1112
+ * Developer Guide</a>. </p>
1113
+ */
1114
+ public createWebACLMigrationStack(
1115
+ args: CreateWebACLMigrationStackCommandInput,
1116
+ options?: __HttpHandlerOptions
1117
+ ): Promise<CreateWebACLMigrationStackCommandOutput>;
1118
+ public createWebACLMigrationStack(
1119
+ args: CreateWebACLMigrationStackCommandInput,
1120
+ cb: (err: any, data?: CreateWebACLMigrationStackCommandOutput) => void
1121
+ ): void;
1122
+ public createWebACLMigrationStack(
1123
+ args: CreateWebACLMigrationStackCommandInput,
1124
+ options: __HttpHandlerOptions,
1125
+ cb: (err: any, data?: CreateWebACLMigrationStackCommandOutput) => void
1126
+ ): void;
1127
+ public createWebACLMigrationStack(
1128
+ args: CreateWebACLMigrationStackCommandInput,
1129
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateWebACLMigrationStackCommandOutput) => void),
1130
+ cb?: (err: any, data?: CreateWebACLMigrationStackCommandOutput) => void
1131
+ ): Promise<CreateWebACLMigrationStackCommandOutput> | void {
1132
+ const command = new CreateWebACLMigrationStackCommand(args);
1133
+ if (typeof optionsOrCb === "function") {
1134
+ this.send(command, optionsOrCb);
1135
+ } else if (typeof cb === "function") {
1136
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1137
+ this.send(command, optionsOrCb || {}, cb);
1138
+ } else {
1139
+ return this.send(command, optionsOrCb);
1140
+ }
1141
+ }
1142
+
1143
+ /**
1144
+ * <note>
1145
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
1146
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
1147
+ * WAF Classic</a> in the developer guide.</p>
1148
+ * <p>
1149
+ * <b>For the latest version of AWS
1150
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
1151
+ * </note>
1152
+ * <p>Creates an <a>XssMatchSet</a>, which you use to allow, block, or count requests that contain cross-site scripting attacks
1153
+ * in the specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.</p>
1154
+ * <p>To create and configure an <code>XssMatchSet</code>, perform the following steps:</p>
1155
+ * <ol>
1156
+ * <li>
1157
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
1158
+ * <code>CreateXssMatchSet</code> request.</p>
1159
+ * </li>
1160
+ * <li>
1161
+ * <p>Submit a <code>CreateXssMatchSet</code> request.</p>
1162
+ * </li>
1163
+ * <li>
1164
+ * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
1165
+ * <a>UpdateXssMatchSet</a> request.</p>
1166
+ * </li>
1167
+ * <li>
1168
+ * <p>Submit an <a>UpdateXssMatchSet</a> request to specify the parts of web requests in which you want to
1169
+ * allow, block, or count cross-site scripting attacks.</p>
1170
+ * </li>
1171
+ * </ol>
1172
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
1173
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
1174
+ */
1175
+ public createXssMatchSet(
1176
+ args: CreateXssMatchSetCommandInput,
1177
+ options?: __HttpHandlerOptions
1178
+ ): Promise<CreateXssMatchSetCommandOutput>;
1179
+ public createXssMatchSet(
1180
+ args: CreateXssMatchSetCommandInput,
1181
+ cb: (err: any, data?: CreateXssMatchSetCommandOutput) => void
1182
+ ): void;
1183
+ public createXssMatchSet(
1184
+ args: CreateXssMatchSetCommandInput,
1185
+ options: __HttpHandlerOptions,
1186
+ cb: (err: any, data?: CreateXssMatchSetCommandOutput) => void
1187
+ ): void;
1188
+ public createXssMatchSet(
1189
+ args: CreateXssMatchSetCommandInput,
1190
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateXssMatchSetCommandOutput) => void),
1191
+ cb?: (err: any, data?: CreateXssMatchSetCommandOutput) => void
1192
+ ): Promise<CreateXssMatchSetCommandOutput> | void {
1193
+ const command = new CreateXssMatchSetCommand(args);
1194
+ if (typeof optionsOrCb === "function") {
1195
+ this.send(command, optionsOrCb);
1196
+ } else if (typeof cb === "function") {
1197
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1198
+ this.send(command, optionsOrCb || {}, cb);
1199
+ } else {
1200
+ return this.send(command, optionsOrCb);
1201
+ }
1202
+ }
1203
+
1204
+ /**
1205
+ * <note>
1206
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
1207
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
1208
+ * WAF Classic</a> in the developer guide.</p>
1209
+ * <p>
1210
+ * <b>For the latest version of AWS
1211
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
1212
+ * </note>
1213
+ * <p>Permanently deletes a <a>ByteMatchSet</a>. You can't delete a <code>ByteMatchSet</code> if it's still used in any <code>Rules</code>
1214
+ * or if it still includes any <a>ByteMatchTuple</a> objects (any filters).</p>
1215
+ * <p>If you just want to remove a <code>ByteMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
1216
+ * <p>To permanently delete a <code>ByteMatchSet</code>, perform the following steps:</p>
1217
+ * <ol>
1218
+ * <li>
1219
+ * <p>Update the <code>ByteMatchSet</code> to remove filters, if any. For more information, see <a>UpdateByteMatchSet</a>.</p>
1220
+ * </li>
1221
+ * <li>
1222
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
1223
+ * <code>DeleteByteMatchSet</code> request.</p>
1224
+ * </li>
1225
+ * <li>
1226
+ * <p>Submit a <code>DeleteByteMatchSet</code> request.</p>
1227
+ * </li>
1228
+ * </ol>
1229
+ */
1230
+ public deleteByteMatchSet(
1231
+ args: DeleteByteMatchSetCommandInput,
1232
+ options?: __HttpHandlerOptions
1233
+ ): Promise<DeleteByteMatchSetCommandOutput>;
1234
+ public deleteByteMatchSet(
1235
+ args: DeleteByteMatchSetCommandInput,
1236
+ cb: (err: any, data?: DeleteByteMatchSetCommandOutput) => void
1237
+ ): void;
1238
+ public deleteByteMatchSet(
1239
+ args: DeleteByteMatchSetCommandInput,
1240
+ options: __HttpHandlerOptions,
1241
+ cb: (err: any, data?: DeleteByteMatchSetCommandOutput) => void
1242
+ ): void;
1243
+ public deleteByteMatchSet(
1244
+ args: DeleteByteMatchSetCommandInput,
1245
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteByteMatchSetCommandOutput) => void),
1246
+ cb?: (err: any, data?: DeleteByteMatchSetCommandOutput) => void
1247
+ ): Promise<DeleteByteMatchSetCommandOutput> | void {
1248
+ const command = new DeleteByteMatchSetCommand(args);
1249
+ if (typeof optionsOrCb === "function") {
1250
+ this.send(command, optionsOrCb);
1251
+ } else if (typeof cb === "function") {
1252
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1253
+ this.send(command, optionsOrCb || {}, cb);
1254
+ } else {
1255
+ return this.send(command, optionsOrCb);
1256
+ }
1257
+ }
1258
+
1259
+ /**
1260
+ * <note>
1261
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
1262
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
1263
+ * WAF Classic</a> in the developer guide.</p>
1264
+ * <p>
1265
+ * <b>For the latest version of AWS
1266
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
1267
+ * </note>
1268
+ * <p>Permanently deletes a <a>GeoMatchSet</a>. You can't delete a <code>GeoMatchSet</code> if it's still used in any <code>Rules</code> or
1269
+ * if it still includes any countries.</p>
1270
+ * <p>If you just want to remove a <code>GeoMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
1271
+ * <p>To permanently delete a <code>GeoMatchSet</code> from AWS WAF, perform the following steps:</p>
1272
+ * <ol>
1273
+ * <li>
1274
+ * <p>Update the <code>GeoMatchSet</code> to remove any countries. For more information, see <a>UpdateGeoMatchSet</a>.</p>
1275
+ * </li>
1276
+ * <li>
1277
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
1278
+ * <code>DeleteGeoMatchSet</code> request.</p>
1279
+ * </li>
1280
+ * <li>
1281
+ * <p>Submit a <code>DeleteGeoMatchSet</code> request.</p>
1282
+ * </li>
1283
+ * </ol>
1284
+ */
1285
+ public deleteGeoMatchSet(
1286
+ args: DeleteGeoMatchSetCommandInput,
1287
+ options?: __HttpHandlerOptions
1288
+ ): Promise<DeleteGeoMatchSetCommandOutput>;
1289
+ public deleteGeoMatchSet(
1290
+ args: DeleteGeoMatchSetCommandInput,
1291
+ cb: (err: any, data?: DeleteGeoMatchSetCommandOutput) => void
1292
+ ): void;
1293
+ public deleteGeoMatchSet(
1294
+ args: DeleteGeoMatchSetCommandInput,
1295
+ options: __HttpHandlerOptions,
1296
+ cb: (err: any, data?: DeleteGeoMatchSetCommandOutput) => void
1297
+ ): void;
1298
+ public deleteGeoMatchSet(
1299
+ args: DeleteGeoMatchSetCommandInput,
1300
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteGeoMatchSetCommandOutput) => void),
1301
+ cb?: (err: any, data?: DeleteGeoMatchSetCommandOutput) => void
1302
+ ): Promise<DeleteGeoMatchSetCommandOutput> | void {
1303
+ const command = new DeleteGeoMatchSetCommand(args);
1304
+ if (typeof optionsOrCb === "function") {
1305
+ this.send(command, optionsOrCb);
1306
+ } else if (typeof cb === "function") {
1307
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1308
+ this.send(command, optionsOrCb || {}, cb);
1309
+ } else {
1310
+ return this.send(command, optionsOrCb);
1311
+ }
1312
+ }
1313
+
1314
+ /**
1315
+ * <note>
1316
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
1317
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
1318
+ * WAF Classic</a> in the developer guide.</p>
1319
+ * <p>
1320
+ * <b>For the latest version of AWS
1321
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
1322
+ * </note>
1323
+ * <p>Permanently deletes an <a>IPSet</a>. You can't delete an <code>IPSet</code> if it's still used in any <code>Rules</code> or
1324
+ * if it still includes any IP addresses.</p>
1325
+ * <p>If you just want to remove an <code>IPSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
1326
+ * <p>To permanently delete an <code>IPSet</code> from AWS WAF, perform the following steps:</p>
1327
+ * <ol>
1328
+ * <li>
1329
+ * <p>Update the <code>IPSet</code> to remove IP address ranges, if any. For more information, see <a>UpdateIPSet</a>.</p>
1330
+ * </li>
1331
+ * <li>
1332
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
1333
+ * <code>DeleteIPSet</code> request.</p>
1334
+ * </li>
1335
+ * <li>
1336
+ * <p>Submit a <code>DeleteIPSet</code> request.</p>
1337
+ * </li>
1338
+ * </ol>
1339
+ */
1340
+ public deleteIPSet(args: DeleteIPSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIPSetCommandOutput>;
1341
+ public deleteIPSet(args: DeleteIPSetCommandInput, cb: (err: any, data?: DeleteIPSetCommandOutput) => void): void;
1342
+ public deleteIPSet(
1343
+ args: DeleteIPSetCommandInput,
1344
+ options: __HttpHandlerOptions,
1345
+ cb: (err: any, data?: DeleteIPSetCommandOutput) => void
1346
+ ): void;
1347
+ public deleteIPSet(
1348
+ args: DeleteIPSetCommandInput,
1349
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteIPSetCommandOutput) => void),
1350
+ cb?: (err: any, data?: DeleteIPSetCommandOutput) => void
1351
+ ): Promise<DeleteIPSetCommandOutput> | void {
1352
+ const command = new DeleteIPSetCommand(args);
1353
+ if (typeof optionsOrCb === "function") {
1354
+ this.send(command, optionsOrCb);
1355
+ } else if (typeof cb === "function") {
1356
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1357
+ this.send(command, optionsOrCb || {}, cb);
1358
+ } else {
1359
+ return this.send(command, optionsOrCb);
1360
+ }
1361
+ }
1362
+
1363
+ /**
1364
+ * <note>
1365
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
1366
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
1367
+ * WAF Classic</a> in the developer guide.</p>
1368
+ * <p>
1369
+ * <b>For the latest version of AWS
1370
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
1371
+ * </note>
1372
+ * <p>Permanently deletes the <a>LoggingConfiguration</a> from the specified web
1373
+ * ACL.</p>
1374
+ */
1375
+ public deleteLoggingConfiguration(
1376
+ args: DeleteLoggingConfigurationCommandInput,
1377
+ options?: __HttpHandlerOptions
1378
+ ): Promise<DeleteLoggingConfigurationCommandOutput>;
1379
+ public deleteLoggingConfiguration(
1380
+ args: DeleteLoggingConfigurationCommandInput,
1381
+ cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void
1382
+ ): void;
1383
+ public deleteLoggingConfiguration(
1384
+ args: DeleteLoggingConfigurationCommandInput,
1385
+ options: __HttpHandlerOptions,
1386
+ cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void
1387
+ ): void;
1388
+ public deleteLoggingConfiguration(
1389
+ args: DeleteLoggingConfigurationCommandInput,
1390
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLoggingConfigurationCommandOutput) => void),
1391
+ cb?: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void
1392
+ ): Promise<DeleteLoggingConfigurationCommandOutput> | void {
1393
+ const command = new DeleteLoggingConfigurationCommand(args);
1394
+ if (typeof optionsOrCb === "function") {
1395
+ this.send(command, optionsOrCb);
1396
+ } else if (typeof cb === "function") {
1397
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1398
+ this.send(command, optionsOrCb || {}, cb);
1399
+ } else {
1400
+ return this.send(command, optionsOrCb);
1401
+ }
1402
+ }
1403
+
1404
+ /**
1405
+ * <note>
1406
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
1407
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
1408
+ * WAF Classic</a> in the developer guide.</p>
1409
+ * <p>
1410
+ * <b>For the latest version of AWS
1411
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
1412
+ * </note>
1413
+ * <p>Permanently deletes an IAM policy from the specified RuleGroup.</p>
1414
+ * <p>The user making the request must be the owner of the RuleGroup.</p>
1415
+ */
1416
+ public deletePermissionPolicy(
1417
+ args: DeletePermissionPolicyCommandInput,
1418
+ options?: __HttpHandlerOptions
1419
+ ): Promise<DeletePermissionPolicyCommandOutput>;
1420
+ public deletePermissionPolicy(
1421
+ args: DeletePermissionPolicyCommandInput,
1422
+ cb: (err: any, data?: DeletePermissionPolicyCommandOutput) => void
1423
+ ): void;
1424
+ public deletePermissionPolicy(
1425
+ args: DeletePermissionPolicyCommandInput,
1426
+ options: __HttpHandlerOptions,
1427
+ cb: (err: any, data?: DeletePermissionPolicyCommandOutput) => void
1428
+ ): void;
1429
+ public deletePermissionPolicy(
1430
+ args: DeletePermissionPolicyCommandInput,
1431
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePermissionPolicyCommandOutput) => void),
1432
+ cb?: (err: any, data?: DeletePermissionPolicyCommandOutput) => void
1433
+ ): Promise<DeletePermissionPolicyCommandOutput> | void {
1434
+ const command = new DeletePermissionPolicyCommand(args);
1435
+ if (typeof optionsOrCb === "function") {
1436
+ this.send(command, optionsOrCb);
1437
+ } else if (typeof cb === "function") {
1438
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1439
+ this.send(command, optionsOrCb || {}, cb);
1440
+ } else {
1441
+ return this.send(command, optionsOrCb);
1442
+ }
1443
+ }
1444
+
1445
+ /**
1446
+ * <note>
1447
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
1448
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
1449
+ * WAF Classic</a> in the developer guide.</p>
1450
+ * <p>
1451
+ * <b>For the latest version of AWS
1452
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
1453
+ * </note>
1454
+ * <p>Permanently deletes a <a>RateBasedRule</a>. You can't delete a rule if
1455
+ * it's still used in any <code>WebACL</code> objects or if it still includes any predicates,
1456
+ * such as <code>ByteMatchSet</code> objects.</p>
1457
+ * <p>If you just want to remove a rule from a <code>WebACL</code>, use <a>UpdateWebACL</a>.</p>
1458
+ * <p>To permanently delete a <code>RateBasedRule</code> from AWS WAF, perform the following
1459
+ * steps:</p>
1460
+ * <ol>
1461
+ * <li>
1462
+ * <p>Update the <code>RateBasedRule</code> to remove predicates, if any. For more
1463
+ * information, see <a>UpdateRateBasedRule</a>.</p>
1464
+ * </li>
1465
+ * <li>
1466
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide
1467
+ * in the <code>ChangeToken</code> parameter of a <code>DeleteRateBasedRule</code>
1468
+ * request.</p>
1469
+ * </li>
1470
+ * <li>
1471
+ * <p>Submit a <code>DeleteRateBasedRule</code> request.</p>
1472
+ * </li>
1473
+ * </ol>
1474
+ */
1475
+ public deleteRateBasedRule(
1476
+ args: DeleteRateBasedRuleCommandInput,
1477
+ options?: __HttpHandlerOptions
1478
+ ): Promise<DeleteRateBasedRuleCommandOutput>;
1479
+ public deleteRateBasedRule(
1480
+ args: DeleteRateBasedRuleCommandInput,
1481
+ cb: (err: any, data?: DeleteRateBasedRuleCommandOutput) => void
1482
+ ): void;
1483
+ public deleteRateBasedRule(
1484
+ args: DeleteRateBasedRuleCommandInput,
1485
+ options: __HttpHandlerOptions,
1486
+ cb: (err: any, data?: DeleteRateBasedRuleCommandOutput) => void
1487
+ ): void;
1488
+ public deleteRateBasedRule(
1489
+ args: DeleteRateBasedRuleCommandInput,
1490
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRateBasedRuleCommandOutput) => void),
1491
+ cb?: (err: any, data?: DeleteRateBasedRuleCommandOutput) => void
1492
+ ): Promise<DeleteRateBasedRuleCommandOutput> | void {
1493
+ const command = new DeleteRateBasedRuleCommand(args);
1494
+ if (typeof optionsOrCb === "function") {
1495
+ this.send(command, optionsOrCb);
1496
+ } else if (typeof cb === "function") {
1497
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1498
+ this.send(command, optionsOrCb || {}, cb);
1499
+ } else {
1500
+ return this.send(command, optionsOrCb);
1501
+ }
1502
+ }
1503
+
1504
+ /**
1505
+ * <note>
1506
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
1507
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
1508
+ * WAF Classic</a> in the developer guide.</p>
1509
+ * <p>
1510
+ * <b>For the latest version of AWS
1511
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
1512
+ * </note>
1513
+ * <p>Permanently deletes a <a>RegexMatchSet</a>. You can't delete a <code>RegexMatchSet</code> if it's still used in any <code>Rules</code>
1514
+ * or if it still includes any <code>RegexMatchTuples</code> objects (any filters).</p>
1515
+ * <p>If you just want to remove a <code>RegexMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
1516
+ * <p>To permanently delete a <code>RegexMatchSet</code>, perform the following steps:</p>
1517
+ * <ol>
1518
+ * <li>
1519
+ * <p>Update the <code>RegexMatchSet</code> to remove filters, if any. For more information, see <a>UpdateRegexMatchSet</a>.</p>
1520
+ * </li>
1521
+ * <li>
1522
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
1523
+ * <code>DeleteRegexMatchSet</code> request.</p>
1524
+ * </li>
1525
+ * <li>
1526
+ * <p>Submit a <code>DeleteRegexMatchSet</code> request.</p>
1527
+ * </li>
1528
+ * </ol>
1529
+ */
1530
+ public deleteRegexMatchSet(
1531
+ args: DeleteRegexMatchSetCommandInput,
1532
+ options?: __HttpHandlerOptions
1533
+ ): Promise<DeleteRegexMatchSetCommandOutput>;
1534
+ public deleteRegexMatchSet(
1535
+ args: DeleteRegexMatchSetCommandInput,
1536
+ cb: (err: any, data?: DeleteRegexMatchSetCommandOutput) => void
1537
+ ): void;
1538
+ public deleteRegexMatchSet(
1539
+ args: DeleteRegexMatchSetCommandInput,
1540
+ options: __HttpHandlerOptions,
1541
+ cb: (err: any, data?: DeleteRegexMatchSetCommandOutput) => void
1542
+ ): void;
1543
+ public deleteRegexMatchSet(
1544
+ args: DeleteRegexMatchSetCommandInput,
1545
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRegexMatchSetCommandOutput) => void),
1546
+ cb?: (err: any, data?: DeleteRegexMatchSetCommandOutput) => void
1547
+ ): Promise<DeleteRegexMatchSetCommandOutput> | void {
1548
+ const command = new DeleteRegexMatchSetCommand(args);
1549
+ if (typeof optionsOrCb === "function") {
1550
+ this.send(command, optionsOrCb);
1551
+ } else if (typeof cb === "function") {
1552
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1553
+ this.send(command, optionsOrCb || {}, cb);
1554
+ } else {
1555
+ return this.send(command, optionsOrCb);
1556
+ }
1557
+ }
1558
+
1559
+ /**
1560
+ * <note>
1561
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
1562
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
1563
+ * WAF Classic</a> in the developer guide.</p>
1564
+ * <p>
1565
+ * <b>For the latest version of AWS
1566
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
1567
+ * </note>
1568
+ * <p>Permanently deletes a <a>RegexPatternSet</a>. You can't delete a <code>RegexPatternSet</code> if it's still used in any <code>RegexMatchSet</code>
1569
+ * or if the <code>RegexPatternSet</code> is not empty. </p>
1570
+ */
1571
+ public deleteRegexPatternSet(
1572
+ args: DeleteRegexPatternSetCommandInput,
1573
+ options?: __HttpHandlerOptions
1574
+ ): Promise<DeleteRegexPatternSetCommandOutput>;
1575
+ public deleteRegexPatternSet(
1576
+ args: DeleteRegexPatternSetCommandInput,
1577
+ cb: (err: any, data?: DeleteRegexPatternSetCommandOutput) => void
1578
+ ): void;
1579
+ public deleteRegexPatternSet(
1580
+ args: DeleteRegexPatternSetCommandInput,
1581
+ options: __HttpHandlerOptions,
1582
+ cb: (err: any, data?: DeleteRegexPatternSetCommandOutput) => void
1583
+ ): void;
1584
+ public deleteRegexPatternSet(
1585
+ args: DeleteRegexPatternSetCommandInput,
1586
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRegexPatternSetCommandOutput) => void),
1587
+ cb?: (err: any, data?: DeleteRegexPatternSetCommandOutput) => void
1588
+ ): Promise<DeleteRegexPatternSetCommandOutput> | void {
1589
+ const command = new DeleteRegexPatternSetCommand(args);
1590
+ if (typeof optionsOrCb === "function") {
1591
+ this.send(command, optionsOrCb);
1592
+ } else if (typeof cb === "function") {
1593
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1594
+ this.send(command, optionsOrCb || {}, cb);
1595
+ } else {
1596
+ return this.send(command, optionsOrCb);
1597
+ }
1598
+ }
1599
+
1600
+ /**
1601
+ * <note>
1602
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
1603
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
1604
+ * WAF Classic</a> in the developer guide.</p>
1605
+ * <p>
1606
+ * <b>For the latest version of AWS
1607
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
1608
+ * </note>
1609
+ * <p>Permanently deletes a <a>Rule</a>. You can't delete a <code>Rule</code> if it's still used in any <code>WebACL</code>
1610
+ * objects or if it still includes any predicates, such as <code>ByteMatchSet</code> objects.</p>
1611
+ * <p>If you just want to remove a <code>Rule</code> from a <code>WebACL</code>, use <a>UpdateWebACL</a>.</p>
1612
+ * <p>To permanently delete a <code>Rule</code> from AWS WAF, perform the following steps:</p>
1613
+ * <ol>
1614
+ * <li>
1615
+ * <p>Update the <code>Rule</code> to remove predicates, if any. For more information, see <a>UpdateRule</a>.</p>
1616
+ * </li>
1617
+ * <li>
1618
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
1619
+ * <code>DeleteRule</code> request.</p>
1620
+ * </li>
1621
+ * <li>
1622
+ * <p>Submit a <code>DeleteRule</code> request.</p>
1623
+ * </li>
1624
+ * </ol>
1625
+ */
1626
+ public deleteRule(args: DeleteRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleCommandOutput>;
1627
+ public deleteRule(args: DeleteRuleCommandInput, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
1628
+ public deleteRule(
1629
+ args: DeleteRuleCommandInput,
1630
+ options: __HttpHandlerOptions,
1631
+ cb: (err: any, data?: DeleteRuleCommandOutput) => void
1632
+ ): void;
1633
+ public deleteRule(
1634
+ args: DeleteRuleCommandInput,
1635
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRuleCommandOutput) => void),
1636
+ cb?: (err: any, data?: DeleteRuleCommandOutput) => void
1637
+ ): Promise<DeleteRuleCommandOutput> | void {
1638
+ const command = new DeleteRuleCommand(args);
1639
+ if (typeof optionsOrCb === "function") {
1640
+ this.send(command, optionsOrCb);
1641
+ } else if (typeof cb === "function") {
1642
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1643
+ this.send(command, optionsOrCb || {}, cb);
1644
+ } else {
1645
+ return this.send(command, optionsOrCb);
1646
+ }
1647
+ }
1648
+
1649
+ /**
1650
+ * <note>
1651
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
1652
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
1653
+ * WAF Classic</a> in the developer guide.</p>
1654
+ * <p>
1655
+ * <b>For the latest version of AWS
1656
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
1657
+ * </note>
1658
+ * <p>Permanently deletes a <a>RuleGroup</a>. You can't delete a <code>RuleGroup</code> if it's still used in any <code>WebACL</code>
1659
+ * objects or if it still includes any rules.</p>
1660
+ * <p>If you just want to remove a <code>RuleGroup</code> from a <code>WebACL</code>, use <a>UpdateWebACL</a>.</p>
1661
+ * <p>To permanently delete a <code>RuleGroup</code> from AWS WAF, perform the following steps:</p>
1662
+ * <ol>
1663
+ * <li>
1664
+ * <p>Update the <code>RuleGroup</code> to remove rules, if any. For more information, see <a>UpdateRuleGroup</a>.</p>
1665
+ * </li>
1666
+ * <li>
1667
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
1668
+ * <code>DeleteRuleGroup</code> request.</p>
1669
+ * </li>
1670
+ * <li>
1671
+ * <p>Submit a <code>DeleteRuleGroup</code> request.</p>
1672
+ * </li>
1673
+ * </ol>
1674
+ */
1675
+ public deleteRuleGroup(
1676
+ args: DeleteRuleGroupCommandInput,
1677
+ options?: __HttpHandlerOptions
1678
+ ): Promise<DeleteRuleGroupCommandOutput>;
1679
+ public deleteRuleGroup(
1680
+ args: DeleteRuleGroupCommandInput,
1681
+ cb: (err: any, data?: DeleteRuleGroupCommandOutput) => void
1682
+ ): void;
1683
+ public deleteRuleGroup(
1684
+ args: DeleteRuleGroupCommandInput,
1685
+ options: __HttpHandlerOptions,
1686
+ cb: (err: any, data?: DeleteRuleGroupCommandOutput) => void
1687
+ ): void;
1688
+ public deleteRuleGroup(
1689
+ args: DeleteRuleGroupCommandInput,
1690
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRuleGroupCommandOutput) => void),
1691
+ cb?: (err: any, data?: DeleteRuleGroupCommandOutput) => void
1692
+ ): Promise<DeleteRuleGroupCommandOutput> | void {
1693
+ const command = new DeleteRuleGroupCommand(args);
1694
+ if (typeof optionsOrCb === "function") {
1695
+ this.send(command, optionsOrCb);
1696
+ } else if (typeof cb === "function") {
1697
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1698
+ this.send(command, optionsOrCb || {}, cb);
1699
+ } else {
1700
+ return this.send(command, optionsOrCb);
1701
+ }
1702
+ }
1703
+
1704
+ /**
1705
+ * <note>
1706
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
1707
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
1708
+ * WAF Classic</a> in the developer guide.</p>
1709
+ * <p>
1710
+ * <b>For the latest version of AWS
1711
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
1712
+ * </note>
1713
+ * <p>Permanently deletes a <a>SizeConstraintSet</a>. You can't delete a <code>SizeConstraintSet</code> if it's still used in any <code>Rules</code>
1714
+ * or if it still includes any <a>SizeConstraint</a> objects (any filters).</p>
1715
+ * <p>If you just want to remove a <code>SizeConstraintSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
1716
+ * <p>To permanently delete a <code>SizeConstraintSet</code>, perform the following steps:</p>
1717
+ * <ol>
1718
+ * <li>
1719
+ * <p>Update the <code>SizeConstraintSet</code> to remove filters, if any. For more information, see <a>UpdateSizeConstraintSet</a>.</p>
1720
+ * </li>
1721
+ * <li>
1722
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
1723
+ * <code>DeleteSizeConstraintSet</code> request.</p>
1724
+ * </li>
1725
+ * <li>
1726
+ * <p>Submit a <code>DeleteSizeConstraintSet</code> request.</p>
1727
+ * </li>
1728
+ * </ol>
1729
+ */
1730
+ public deleteSizeConstraintSet(
1731
+ args: DeleteSizeConstraintSetCommandInput,
1732
+ options?: __HttpHandlerOptions
1733
+ ): Promise<DeleteSizeConstraintSetCommandOutput>;
1734
+ public deleteSizeConstraintSet(
1735
+ args: DeleteSizeConstraintSetCommandInput,
1736
+ cb: (err: any, data?: DeleteSizeConstraintSetCommandOutput) => void
1737
+ ): void;
1738
+ public deleteSizeConstraintSet(
1739
+ args: DeleteSizeConstraintSetCommandInput,
1740
+ options: __HttpHandlerOptions,
1741
+ cb: (err: any, data?: DeleteSizeConstraintSetCommandOutput) => void
1742
+ ): void;
1743
+ public deleteSizeConstraintSet(
1744
+ args: DeleteSizeConstraintSetCommandInput,
1745
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSizeConstraintSetCommandOutput) => void),
1746
+ cb?: (err: any, data?: DeleteSizeConstraintSetCommandOutput) => void
1747
+ ): Promise<DeleteSizeConstraintSetCommandOutput> | void {
1748
+ const command = new DeleteSizeConstraintSetCommand(args);
1749
+ if (typeof optionsOrCb === "function") {
1750
+ this.send(command, optionsOrCb);
1751
+ } else if (typeof cb === "function") {
1752
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1753
+ this.send(command, optionsOrCb || {}, cb);
1754
+ } else {
1755
+ return this.send(command, optionsOrCb);
1756
+ }
1757
+ }
1758
+
1759
+ /**
1760
+ * <note>
1761
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
1762
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
1763
+ * WAF Classic</a> in the developer guide.</p>
1764
+ * <p>
1765
+ * <b>For the latest version of AWS
1766
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
1767
+ * </note>
1768
+ * <p>Permanently deletes a <a>SqlInjectionMatchSet</a>. You can't delete a <code>SqlInjectionMatchSet</code> if it's
1769
+ * still used in any <code>Rules</code> or if it still contains any <a>SqlInjectionMatchTuple</a> objects.</p>
1770
+ * <p>If you just want to remove a <code>SqlInjectionMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
1771
+ * <p>To permanently delete a <code>SqlInjectionMatchSet</code> from AWS WAF, perform the following steps:</p>
1772
+ * <ol>
1773
+ * <li>
1774
+ * <p>Update the <code>SqlInjectionMatchSet</code> to remove filters, if any. For more information, see
1775
+ * <a>UpdateSqlInjectionMatchSet</a>.</p>
1776
+ * </li>
1777
+ * <li>
1778
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
1779
+ * <code>DeleteSqlInjectionMatchSet</code> request.</p>
1780
+ * </li>
1781
+ * <li>
1782
+ * <p>Submit a <code>DeleteSqlInjectionMatchSet</code> request.</p>
1783
+ * </li>
1784
+ * </ol>
1785
+ */
1786
+ public deleteSqlInjectionMatchSet(
1787
+ args: DeleteSqlInjectionMatchSetCommandInput,
1788
+ options?: __HttpHandlerOptions
1789
+ ): Promise<DeleteSqlInjectionMatchSetCommandOutput>;
1790
+ public deleteSqlInjectionMatchSet(
1791
+ args: DeleteSqlInjectionMatchSetCommandInput,
1792
+ cb: (err: any, data?: DeleteSqlInjectionMatchSetCommandOutput) => void
1793
+ ): void;
1794
+ public deleteSqlInjectionMatchSet(
1795
+ args: DeleteSqlInjectionMatchSetCommandInput,
1796
+ options: __HttpHandlerOptions,
1797
+ cb: (err: any, data?: DeleteSqlInjectionMatchSetCommandOutput) => void
1798
+ ): void;
1799
+ public deleteSqlInjectionMatchSet(
1800
+ args: DeleteSqlInjectionMatchSetCommandInput,
1801
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSqlInjectionMatchSetCommandOutput) => void),
1802
+ cb?: (err: any, data?: DeleteSqlInjectionMatchSetCommandOutput) => void
1803
+ ): Promise<DeleteSqlInjectionMatchSetCommandOutput> | void {
1804
+ const command = new DeleteSqlInjectionMatchSetCommand(args);
1805
+ if (typeof optionsOrCb === "function") {
1806
+ this.send(command, optionsOrCb);
1807
+ } else if (typeof cb === "function") {
1808
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1809
+ this.send(command, optionsOrCb || {}, cb);
1810
+ } else {
1811
+ return this.send(command, optionsOrCb);
1812
+ }
1813
+ }
1814
+
1815
+ /**
1816
+ * <note>
1817
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
1818
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
1819
+ * WAF Classic</a> in the developer guide.</p>
1820
+ * <p>
1821
+ * <b>For the latest version of AWS
1822
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
1823
+ * </note>
1824
+ * <p>Permanently deletes a <a>WebACL</a>. You can't delete a <code>WebACL</code> if it still contains any <code>Rules</code>.</p>
1825
+ * <p>To delete a <code>WebACL</code>, perform the following steps:</p>
1826
+ * <ol>
1827
+ * <li>
1828
+ * <p>Update the <code>WebACL</code> to remove <code>Rules</code>, if any. For more information, see <a>UpdateWebACL</a>.</p>
1829
+ * </li>
1830
+ * <li>
1831
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
1832
+ * <code>DeleteWebACL</code> request.</p>
1833
+ * </li>
1834
+ * <li>
1835
+ * <p>Submit a <code>DeleteWebACL</code> request.</p>
1836
+ * </li>
1837
+ * </ol>
1838
+ */
1839
+ public deleteWebACL(
1840
+ args: DeleteWebACLCommandInput,
1841
+ options?: __HttpHandlerOptions
1842
+ ): Promise<DeleteWebACLCommandOutput>;
1843
+ public deleteWebACL(args: DeleteWebACLCommandInput, cb: (err: any, data?: DeleteWebACLCommandOutput) => void): void;
1844
+ public deleteWebACL(
1845
+ args: DeleteWebACLCommandInput,
1846
+ options: __HttpHandlerOptions,
1847
+ cb: (err: any, data?: DeleteWebACLCommandOutput) => void
1848
+ ): void;
1849
+ public deleteWebACL(
1850
+ args: DeleteWebACLCommandInput,
1851
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteWebACLCommandOutput) => void),
1852
+ cb?: (err: any, data?: DeleteWebACLCommandOutput) => void
1853
+ ): Promise<DeleteWebACLCommandOutput> | void {
1854
+ const command = new DeleteWebACLCommand(args);
1855
+ if (typeof optionsOrCb === "function") {
1856
+ this.send(command, optionsOrCb);
1857
+ } else if (typeof cb === "function") {
1858
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1859
+ this.send(command, optionsOrCb || {}, cb);
1860
+ } else {
1861
+ return this.send(command, optionsOrCb);
1862
+ }
1863
+ }
1864
+
1865
+ /**
1866
+ * <note>
1867
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
1868
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
1869
+ * WAF Classic</a> in the developer guide.</p>
1870
+ * <p>
1871
+ * <b>For the latest version of AWS
1872
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
1873
+ * </note>
1874
+ * <p>Permanently deletes an <a>XssMatchSet</a>. You can't delete an <code>XssMatchSet</code> if it's
1875
+ * still used in any <code>Rules</code> or if it still contains any <a>XssMatchTuple</a> objects.</p>
1876
+ * <p>If you just want to remove an <code>XssMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
1877
+ * <p>To permanently delete an <code>XssMatchSet</code> from AWS WAF, perform the following steps:</p>
1878
+ * <ol>
1879
+ * <li>
1880
+ * <p>Update the <code>XssMatchSet</code> to remove filters, if any. For more information, see
1881
+ * <a>UpdateXssMatchSet</a>.</p>
1882
+ * </li>
1883
+ * <li>
1884
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
1885
+ * <code>DeleteXssMatchSet</code> request.</p>
1886
+ * </li>
1887
+ * <li>
1888
+ * <p>Submit a <code>DeleteXssMatchSet</code> request.</p>
1889
+ * </li>
1890
+ * </ol>
1891
+ */
1892
+ public deleteXssMatchSet(
1893
+ args: DeleteXssMatchSetCommandInput,
1894
+ options?: __HttpHandlerOptions
1895
+ ): Promise<DeleteXssMatchSetCommandOutput>;
1896
+ public deleteXssMatchSet(
1897
+ args: DeleteXssMatchSetCommandInput,
1898
+ cb: (err: any, data?: DeleteXssMatchSetCommandOutput) => void
1899
+ ): void;
1900
+ public deleteXssMatchSet(
1901
+ args: DeleteXssMatchSetCommandInput,
1902
+ options: __HttpHandlerOptions,
1903
+ cb: (err: any, data?: DeleteXssMatchSetCommandOutput) => void
1904
+ ): void;
1905
+ public deleteXssMatchSet(
1906
+ args: DeleteXssMatchSetCommandInput,
1907
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteXssMatchSetCommandOutput) => void),
1908
+ cb?: (err: any, data?: DeleteXssMatchSetCommandOutput) => void
1909
+ ): Promise<DeleteXssMatchSetCommandOutput> | void {
1910
+ const command = new DeleteXssMatchSetCommand(args);
1911
+ if (typeof optionsOrCb === "function") {
1912
+ this.send(command, optionsOrCb);
1913
+ } else if (typeof cb === "function") {
1914
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1915
+ this.send(command, optionsOrCb || {}, cb);
1916
+ } else {
1917
+ return this.send(command, optionsOrCb);
1918
+ }
1919
+ }
1920
+
1921
+ /**
1922
+ * <note>
1923
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
1924
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
1925
+ * WAF Classic</a> in the developer guide.</p>
1926
+ * <p>
1927
+ * <b>For the latest version of AWS
1928
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
1929
+ * </note>
1930
+ * <p>Returns the <a>ByteMatchSet</a> specified by <code>ByteMatchSetId</code>.</p>
1931
+ */
1932
+ public getByteMatchSet(
1933
+ args: GetByteMatchSetCommandInput,
1934
+ options?: __HttpHandlerOptions
1935
+ ): Promise<GetByteMatchSetCommandOutput>;
1936
+ public getByteMatchSet(
1937
+ args: GetByteMatchSetCommandInput,
1938
+ cb: (err: any, data?: GetByteMatchSetCommandOutput) => void
1939
+ ): void;
1940
+ public getByteMatchSet(
1941
+ args: GetByteMatchSetCommandInput,
1942
+ options: __HttpHandlerOptions,
1943
+ cb: (err: any, data?: GetByteMatchSetCommandOutput) => void
1944
+ ): void;
1945
+ public getByteMatchSet(
1946
+ args: GetByteMatchSetCommandInput,
1947
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetByteMatchSetCommandOutput) => void),
1948
+ cb?: (err: any, data?: GetByteMatchSetCommandOutput) => void
1949
+ ): Promise<GetByteMatchSetCommandOutput> | void {
1950
+ const command = new GetByteMatchSetCommand(args);
1951
+ if (typeof optionsOrCb === "function") {
1952
+ this.send(command, optionsOrCb);
1953
+ } else if (typeof cb === "function") {
1954
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1955
+ this.send(command, optionsOrCb || {}, cb);
1956
+ } else {
1957
+ return this.send(command, optionsOrCb);
1958
+ }
1959
+ }
1960
+
1961
+ /**
1962
+ * <note>
1963
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
1964
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
1965
+ * WAF Classic</a> in the developer guide.</p>
1966
+ * <p>
1967
+ * <b>For the latest version of AWS
1968
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
1969
+ * </note>
1970
+ * <p>When you want to create, update, or delete AWS WAF objects, get a change token and include the change token in the create, update, or delete request. Change tokens ensure that your application doesn't submit conflicting requests to AWS WAF.</p>
1971
+ * <p>Each create, update, or delete request must use a unique change token. If your application submits a <code>GetChangeToken</code> request
1972
+ * and then submits a second <code>GetChangeToken</code> request before submitting a create, update, or delete request, the second
1973
+ * <code>GetChangeToken</code> request returns the same value as the first <code>GetChangeToken</code> request.</p>
1974
+ * <p>When you use a change token in a create, update, or delete request, the status of the change token changes to <code>PENDING</code>,
1975
+ * which indicates that AWS WAF is propagating the change to all AWS WAF servers. Use <code>GetChangeTokenStatus</code> to determine the
1976
+ * status of your change token.</p>
1977
+ */
1978
+ public getChangeToken(
1979
+ args: GetChangeTokenCommandInput,
1980
+ options?: __HttpHandlerOptions
1981
+ ): Promise<GetChangeTokenCommandOutput>;
1982
+ public getChangeToken(
1983
+ args: GetChangeTokenCommandInput,
1984
+ cb: (err: any, data?: GetChangeTokenCommandOutput) => void
1985
+ ): void;
1986
+ public getChangeToken(
1987
+ args: GetChangeTokenCommandInput,
1988
+ options: __HttpHandlerOptions,
1989
+ cb: (err: any, data?: GetChangeTokenCommandOutput) => void
1990
+ ): void;
1991
+ public getChangeToken(
1992
+ args: GetChangeTokenCommandInput,
1993
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetChangeTokenCommandOutput) => void),
1994
+ cb?: (err: any, data?: GetChangeTokenCommandOutput) => void
1995
+ ): Promise<GetChangeTokenCommandOutput> | void {
1996
+ const command = new GetChangeTokenCommand(args);
1997
+ if (typeof optionsOrCb === "function") {
1998
+ this.send(command, optionsOrCb);
1999
+ } else if (typeof cb === "function") {
2000
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2001
+ this.send(command, optionsOrCb || {}, cb);
2002
+ } else {
2003
+ return this.send(command, optionsOrCb);
2004
+ }
2005
+ }
2006
+
2007
+ /**
2008
+ * <note>
2009
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2010
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2011
+ * WAF Classic</a> in the developer guide.</p>
2012
+ * <p>
2013
+ * <b>For the latest version of AWS
2014
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2015
+ * </note>
2016
+ * <p>Returns the status of a <code>ChangeToken</code> that you got by calling <a>GetChangeToken</a>. <code>ChangeTokenStatus</code> is
2017
+ * one of the following values:</p>
2018
+ * <ul>
2019
+ * <li>
2020
+ * <p>
2021
+ * <code>PROVISIONED</code>: You requested the change token by calling <code>GetChangeToken</code>, but you haven't used it yet
2022
+ * in a call to create, update, or delete an AWS WAF object.</p>
2023
+ * </li>
2024
+ * <li>
2025
+ * <p>
2026
+ * <code>PENDING</code>: AWS WAF is propagating the create, update, or delete request to all AWS WAF servers.</p>
2027
+ * </li>
2028
+ * <li>
2029
+ * <p>
2030
+ * <code>INSYNC</code>: Propagation is complete.</p>
2031
+ * </li>
2032
+ * </ul>
2033
+ */
2034
+ public getChangeTokenStatus(
2035
+ args: GetChangeTokenStatusCommandInput,
2036
+ options?: __HttpHandlerOptions
2037
+ ): Promise<GetChangeTokenStatusCommandOutput>;
2038
+ public getChangeTokenStatus(
2039
+ args: GetChangeTokenStatusCommandInput,
2040
+ cb: (err: any, data?: GetChangeTokenStatusCommandOutput) => void
2041
+ ): void;
2042
+ public getChangeTokenStatus(
2043
+ args: GetChangeTokenStatusCommandInput,
2044
+ options: __HttpHandlerOptions,
2045
+ cb: (err: any, data?: GetChangeTokenStatusCommandOutput) => void
2046
+ ): void;
2047
+ public getChangeTokenStatus(
2048
+ args: GetChangeTokenStatusCommandInput,
2049
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetChangeTokenStatusCommandOutput) => void),
2050
+ cb?: (err: any, data?: GetChangeTokenStatusCommandOutput) => void
2051
+ ): Promise<GetChangeTokenStatusCommandOutput> | void {
2052
+ const command = new GetChangeTokenStatusCommand(args);
2053
+ if (typeof optionsOrCb === "function") {
2054
+ this.send(command, optionsOrCb);
2055
+ } else if (typeof cb === "function") {
2056
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2057
+ this.send(command, optionsOrCb || {}, cb);
2058
+ } else {
2059
+ return this.send(command, optionsOrCb);
2060
+ }
2061
+ }
2062
+
2063
+ /**
2064
+ * <note>
2065
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2066
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2067
+ * WAF Classic</a> in the developer guide.</p>
2068
+ * <p>
2069
+ * <b>For the latest version of AWS
2070
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2071
+ * </note>
2072
+ * <p>Returns the <a>GeoMatchSet</a> that is specified by <code>GeoMatchSetId</code>.</p>
2073
+ */
2074
+ public getGeoMatchSet(
2075
+ args: GetGeoMatchSetCommandInput,
2076
+ options?: __HttpHandlerOptions
2077
+ ): Promise<GetGeoMatchSetCommandOutput>;
2078
+ public getGeoMatchSet(
2079
+ args: GetGeoMatchSetCommandInput,
2080
+ cb: (err: any, data?: GetGeoMatchSetCommandOutput) => void
2081
+ ): void;
2082
+ public getGeoMatchSet(
2083
+ args: GetGeoMatchSetCommandInput,
2084
+ options: __HttpHandlerOptions,
2085
+ cb: (err: any, data?: GetGeoMatchSetCommandOutput) => void
2086
+ ): void;
2087
+ public getGeoMatchSet(
2088
+ args: GetGeoMatchSetCommandInput,
2089
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetGeoMatchSetCommandOutput) => void),
2090
+ cb?: (err: any, data?: GetGeoMatchSetCommandOutput) => void
2091
+ ): Promise<GetGeoMatchSetCommandOutput> | void {
2092
+ const command = new GetGeoMatchSetCommand(args);
2093
+ if (typeof optionsOrCb === "function") {
2094
+ this.send(command, optionsOrCb);
2095
+ } else if (typeof cb === "function") {
2096
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2097
+ this.send(command, optionsOrCb || {}, cb);
2098
+ } else {
2099
+ return this.send(command, optionsOrCb);
2100
+ }
2101
+ }
2102
+
2103
+ /**
2104
+ * <note>
2105
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2106
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2107
+ * WAF Classic</a> in the developer guide.</p>
2108
+ * <p>
2109
+ * <b>For the latest version of AWS
2110
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2111
+ * </note>
2112
+ * <p>Returns the <a>IPSet</a> that is specified by <code>IPSetId</code>.</p>
2113
+ */
2114
+ public getIPSet(args: GetIPSetCommandInput, options?: __HttpHandlerOptions): Promise<GetIPSetCommandOutput>;
2115
+ public getIPSet(args: GetIPSetCommandInput, cb: (err: any, data?: GetIPSetCommandOutput) => void): void;
2116
+ public getIPSet(
2117
+ args: GetIPSetCommandInput,
2118
+ options: __HttpHandlerOptions,
2119
+ cb: (err: any, data?: GetIPSetCommandOutput) => void
2120
+ ): void;
2121
+ public getIPSet(
2122
+ args: GetIPSetCommandInput,
2123
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetIPSetCommandOutput) => void),
2124
+ cb?: (err: any, data?: GetIPSetCommandOutput) => void
2125
+ ): Promise<GetIPSetCommandOutput> | void {
2126
+ const command = new GetIPSetCommand(args);
2127
+ if (typeof optionsOrCb === "function") {
2128
+ this.send(command, optionsOrCb);
2129
+ } else if (typeof cb === "function") {
2130
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2131
+ this.send(command, optionsOrCb || {}, cb);
2132
+ } else {
2133
+ return this.send(command, optionsOrCb);
2134
+ }
2135
+ }
2136
+
2137
+ /**
2138
+ * <note>
2139
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2140
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2141
+ * WAF Classic</a> in the developer guide.</p>
2142
+ * <p>
2143
+ * <b>For the latest version of AWS
2144
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2145
+ * </note>
2146
+ * <p>Returns the <a>LoggingConfiguration</a> for the specified web ACL.</p>
2147
+ */
2148
+ public getLoggingConfiguration(
2149
+ args: GetLoggingConfigurationCommandInput,
2150
+ options?: __HttpHandlerOptions
2151
+ ): Promise<GetLoggingConfigurationCommandOutput>;
2152
+ public getLoggingConfiguration(
2153
+ args: GetLoggingConfigurationCommandInput,
2154
+ cb: (err: any, data?: GetLoggingConfigurationCommandOutput) => void
2155
+ ): void;
2156
+ public getLoggingConfiguration(
2157
+ args: GetLoggingConfigurationCommandInput,
2158
+ options: __HttpHandlerOptions,
2159
+ cb: (err: any, data?: GetLoggingConfigurationCommandOutput) => void
2160
+ ): void;
2161
+ public getLoggingConfiguration(
2162
+ args: GetLoggingConfigurationCommandInput,
2163
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetLoggingConfigurationCommandOutput) => void),
2164
+ cb?: (err: any, data?: GetLoggingConfigurationCommandOutput) => void
2165
+ ): Promise<GetLoggingConfigurationCommandOutput> | void {
2166
+ const command = new GetLoggingConfigurationCommand(args);
2167
+ if (typeof optionsOrCb === "function") {
2168
+ this.send(command, optionsOrCb);
2169
+ } else if (typeof cb === "function") {
2170
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2171
+ this.send(command, optionsOrCb || {}, cb);
2172
+ } else {
2173
+ return this.send(command, optionsOrCb);
2174
+ }
2175
+ }
2176
+
2177
+ /**
2178
+ * <note>
2179
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2180
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2181
+ * WAF Classic</a> in the developer guide.</p>
2182
+ * <p>
2183
+ * <b>For the latest version of AWS
2184
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2185
+ * </note>
2186
+ * <p>Returns the IAM policy attached to the RuleGroup.</p>
2187
+ */
2188
+ public getPermissionPolicy(
2189
+ args: GetPermissionPolicyCommandInput,
2190
+ options?: __HttpHandlerOptions
2191
+ ): Promise<GetPermissionPolicyCommandOutput>;
2192
+ public getPermissionPolicy(
2193
+ args: GetPermissionPolicyCommandInput,
2194
+ cb: (err: any, data?: GetPermissionPolicyCommandOutput) => void
2195
+ ): void;
2196
+ public getPermissionPolicy(
2197
+ args: GetPermissionPolicyCommandInput,
2198
+ options: __HttpHandlerOptions,
2199
+ cb: (err: any, data?: GetPermissionPolicyCommandOutput) => void
2200
+ ): void;
2201
+ public getPermissionPolicy(
2202
+ args: GetPermissionPolicyCommandInput,
2203
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPermissionPolicyCommandOutput) => void),
2204
+ cb?: (err: any, data?: GetPermissionPolicyCommandOutput) => void
2205
+ ): Promise<GetPermissionPolicyCommandOutput> | void {
2206
+ const command = new GetPermissionPolicyCommand(args);
2207
+ if (typeof optionsOrCb === "function") {
2208
+ this.send(command, optionsOrCb);
2209
+ } else if (typeof cb === "function") {
2210
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2211
+ this.send(command, optionsOrCb || {}, cb);
2212
+ } else {
2213
+ return this.send(command, optionsOrCb);
2214
+ }
2215
+ }
2216
+
2217
+ /**
2218
+ * <note>
2219
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2220
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2221
+ * WAF Classic</a> in the developer guide.</p>
2222
+ * <p>
2223
+ * <b>For the latest version of AWS
2224
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2225
+ * </note>
2226
+ * <p>Returns the <a>RateBasedRule</a> that is specified by the
2227
+ * <code>RuleId</code> that you included in the <code>GetRateBasedRule</code>
2228
+ * request.</p>
2229
+ */
2230
+ public getRateBasedRule(
2231
+ args: GetRateBasedRuleCommandInput,
2232
+ options?: __HttpHandlerOptions
2233
+ ): Promise<GetRateBasedRuleCommandOutput>;
2234
+ public getRateBasedRule(
2235
+ args: GetRateBasedRuleCommandInput,
2236
+ cb: (err: any, data?: GetRateBasedRuleCommandOutput) => void
2237
+ ): void;
2238
+ public getRateBasedRule(
2239
+ args: GetRateBasedRuleCommandInput,
2240
+ options: __HttpHandlerOptions,
2241
+ cb: (err: any, data?: GetRateBasedRuleCommandOutput) => void
2242
+ ): void;
2243
+ public getRateBasedRule(
2244
+ args: GetRateBasedRuleCommandInput,
2245
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRateBasedRuleCommandOutput) => void),
2246
+ cb?: (err: any, data?: GetRateBasedRuleCommandOutput) => void
2247
+ ): Promise<GetRateBasedRuleCommandOutput> | void {
2248
+ const command = new GetRateBasedRuleCommand(args);
2249
+ if (typeof optionsOrCb === "function") {
2250
+ this.send(command, optionsOrCb);
2251
+ } else if (typeof cb === "function") {
2252
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2253
+ this.send(command, optionsOrCb || {}, cb);
2254
+ } else {
2255
+ return this.send(command, optionsOrCb);
2256
+ }
2257
+ }
2258
+
2259
+ /**
2260
+ * <note>
2261
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2262
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2263
+ * WAF Classic</a> in the developer guide.</p>
2264
+ * <p>
2265
+ * <b>For the latest version of AWS
2266
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2267
+ * </note>
2268
+ * <p>Returns an array of IP addresses currently being blocked by the <a>RateBasedRule</a> that is specified by the <code>RuleId</code>. The maximum
2269
+ * number of managed keys that will be blocked is 10,000. If more than 10,000 addresses exceed
2270
+ * the rate limit, the 10,000 addresses with the highest rates will be blocked.</p>
2271
+ */
2272
+ public getRateBasedRuleManagedKeys(
2273
+ args: GetRateBasedRuleManagedKeysCommandInput,
2274
+ options?: __HttpHandlerOptions
2275
+ ): Promise<GetRateBasedRuleManagedKeysCommandOutput>;
2276
+ public getRateBasedRuleManagedKeys(
2277
+ args: GetRateBasedRuleManagedKeysCommandInput,
2278
+ cb: (err: any, data?: GetRateBasedRuleManagedKeysCommandOutput) => void
2279
+ ): void;
2280
+ public getRateBasedRuleManagedKeys(
2281
+ args: GetRateBasedRuleManagedKeysCommandInput,
2282
+ options: __HttpHandlerOptions,
2283
+ cb: (err: any, data?: GetRateBasedRuleManagedKeysCommandOutput) => void
2284
+ ): void;
2285
+ public getRateBasedRuleManagedKeys(
2286
+ args: GetRateBasedRuleManagedKeysCommandInput,
2287
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRateBasedRuleManagedKeysCommandOutput) => void),
2288
+ cb?: (err: any, data?: GetRateBasedRuleManagedKeysCommandOutput) => void
2289
+ ): Promise<GetRateBasedRuleManagedKeysCommandOutput> | void {
2290
+ const command = new GetRateBasedRuleManagedKeysCommand(args);
2291
+ if (typeof optionsOrCb === "function") {
2292
+ this.send(command, optionsOrCb);
2293
+ } else if (typeof cb === "function") {
2294
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2295
+ this.send(command, optionsOrCb || {}, cb);
2296
+ } else {
2297
+ return this.send(command, optionsOrCb);
2298
+ }
2299
+ }
2300
+
2301
+ /**
2302
+ * <note>
2303
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2304
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2305
+ * WAF Classic</a> in the developer guide.</p>
2306
+ * <p>
2307
+ * <b>For the latest version of AWS
2308
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2309
+ * </note>
2310
+ * <p>Returns the <a>RegexMatchSet</a> specified by <code>RegexMatchSetId</code>.</p>
2311
+ */
2312
+ public getRegexMatchSet(
2313
+ args: GetRegexMatchSetCommandInput,
2314
+ options?: __HttpHandlerOptions
2315
+ ): Promise<GetRegexMatchSetCommandOutput>;
2316
+ public getRegexMatchSet(
2317
+ args: GetRegexMatchSetCommandInput,
2318
+ cb: (err: any, data?: GetRegexMatchSetCommandOutput) => void
2319
+ ): void;
2320
+ public getRegexMatchSet(
2321
+ args: GetRegexMatchSetCommandInput,
2322
+ options: __HttpHandlerOptions,
2323
+ cb: (err: any, data?: GetRegexMatchSetCommandOutput) => void
2324
+ ): void;
2325
+ public getRegexMatchSet(
2326
+ args: GetRegexMatchSetCommandInput,
2327
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRegexMatchSetCommandOutput) => void),
2328
+ cb?: (err: any, data?: GetRegexMatchSetCommandOutput) => void
2329
+ ): Promise<GetRegexMatchSetCommandOutput> | void {
2330
+ const command = new GetRegexMatchSetCommand(args);
2331
+ if (typeof optionsOrCb === "function") {
2332
+ this.send(command, optionsOrCb);
2333
+ } else if (typeof cb === "function") {
2334
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2335
+ this.send(command, optionsOrCb || {}, cb);
2336
+ } else {
2337
+ return this.send(command, optionsOrCb);
2338
+ }
2339
+ }
2340
+
2341
+ /**
2342
+ * <note>
2343
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2344
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2345
+ * WAF Classic</a> in the developer guide.</p>
2346
+ * <p>
2347
+ * <b>For the latest version of AWS
2348
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2349
+ * </note>
2350
+ * <p>Returns the <a>RegexPatternSet</a> specified by <code>RegexPatternSetId</code>.</p>
2351
+ */
2352
+ public getRegexPatternSet(
2353
+ args: GetRegexPatternSetCommandInput,
2354
+ options?: __HttpHandlerOptions
2355
+ ): Promise<GetRegexPatternSetCommandOutput>;
2356
+ public getRegexPatternSet(
2357
+ args: GetRegexPatternSetCommandInput,
2358
+ cb: (err: any, data?: GetRegexPatternSetCommandOutput) => void
2359
+ ): void;
2360
+ public getRegexPatternSet(
2361
+ args: GetRegexPatternSetCommandInput,
2362
+ options: __HttpHandlerOptions,
2363
+ cb: (err: any, data?: GetRegexPatternSetCommandOutput) => void
2364
+ ): void;
2365
+ public getRegexPatternSet(
2366
+ args: GetRegexPatternSetCommandInput,
2367
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRegexPatternSetCommandOutput) => void),
2368
+ cb?: (err: any, data?: GetRegexPatternSetCommandOutput) => void
2369
+ ): Promise<GetRegexPatternSetCommandOutput> | void {
2370
+ const command = new GetRegexPatternSetCommand(args);
2371
+ if (typeof optionsOrCb === "function") {
2372
+ this.send(command, optionsOrCb);
2373
+ } else if (typeof cb === "function") {
2374
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2375
+ this.send(command, optionsOrCb || {}, cb);
2376
+ } else {
2377
+ return this.send(command, optionsOrCb);
2378
+ }
2379
+ }
2380
+
2381
+ /**
2382
+ * <note>
2383
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2384
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2385
+ * WAF Classic</a> in the developer guide.</p>
2386
+ * <p>
2387
+ * <b>For the latest version of AWS
2388
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2389
+ * </note>
2390
+ * <p>Returns the <a>Rule</a> that is specified by the <code>RuleId</code> that you included in the <code>GetRule</code> request.</p>
2391
+ */
2392
+ public getRule(args: GetRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetRuleCommandOutput>;
2393
+ public getRule(args: GetRuleCommandInput, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
2394
+ public getRule(
2395
+ args: GetRuleCommandInput,
2396
+ options: __HttpHandlerOptions,
2397
+ cb: (err: any, data?: GetRuleCommandOutput) => void
2398
+ ): void;
2399
+ public getRule(
2400
+ args: GetRuleCommandInput,
2401
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRuleCommandOutput) => void),
2402
+ cb?: (err: any, data?: GetRuleCommandOutput) => void
2403
+ ): Promise<GetRuleCommandOutput> | void {
2404
+ const command = new GetRuleCommand(args);
2405
+ if (typeof optionsOrCb === "function") {
2406
+ this.send(command, optionsOrCb);
2407
+ } else if (typeof cb === "function") {
2408
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2409
+ this.send(command, optionsOrCb || {}, cb);
2410
+ } else {
2411
+ return this.send(command, optionsOrCb);
2412
+ }
2413
+ }
2414
+
2415
+ /**
2416
+ * <note>
2417
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2418
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2419
+ * WAF Classic</a> in the developer guide.</p>
2420
+ * <p>
2421
+ * <b>For the latest version of AWS
2422
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2423
+ * </note>
2424
+ * <p>Returns the <a>RuleGroup</a> that is specified by the <code>RuleGroupId</code> that you included in the <code>GetRuleGroup</code> request.</p>
2425
+ * <p>To view the rules in a rule group, use <a>ListActivatedRulesInRuleGroup</a>.</p>
2426
+ */
2427
+ public getRuleGroup(
2428
+ args: GetRuleGroupCommandInput,
2429
+ options?: __HttpHandlerOptions
2430
+ ): Promise<GetRuleGroupCommandOutput>;
2431
+ public getRuleGroup(args: GetRuleGroupCommandInput, cb: (err: any, data?: GetRuleGroupCommandOutput) => void): void;
2432
+ public getRuleGroup(
2433
+ args: GetRuleGroupCommandInput,
2434
+ options: __HttpHandlerOptions,
2435
+ cb: (err: any, data?: GetRuleGroupCommandOutput) => void
2436
+ ): void;
2437
+ public getRuleGroup(
2438
+ args: GetRuleGroupCommandInput,
2439
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRuleGroupCommandOutput) => void),
2440
+ cb?: (err: any, data?: GetRuleGroupCommandOutput) => void
2441
+ ): Promise<GetRuleGroupCommandOutput> | void {
2442
+ const command = new GetRuleGroupCommand(args);
2443
+ if (typeof optionsOrCb === "function") {
2444
+ this.send(command, optionsOrCb);
2445
+ } else if (typeof cb === "function") {
2446
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2447
+ this.send(command, optionsOrCb || {}, cb);
2448
+ } else {
2449
+ return this.send(command, optionsOrCb);
2450
+ }
2451
+ }
2452
+
2453
+ /**
2454
+ * <note>
2455
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2456
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2457
+ * WAF Classic</a> in the developer guide.</p>
2458
+ * <p>
2459
+ * <b>For the latest version of AWS
2460
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2461
+ * </note>
2462
+ * <p>Gets detailed information about a specified number of requests--a sample--that AWS WAF randomly selects from among the first 5,000 requests that your AWS resource received during a time range that you choose. You can specify a sample size of up to 500 requests, and you can specify any time range in the previous three hours.</p>
2463
+ * <p>
2464
+ * <code>GetSampledRequests</code> returns a time range, which is usually the time range that you specified. However, if your resource
2465
+ * (such as a CloudFront distribution) received 5,000 requests before the specified time range elapsed, <code>GetSampledRequests</code>
2466
+ * returns an updated time range. This new time range indicates the actual period during which AWS WAF selected the requests in the sample.</p>
2467
+ */
2468
+ public getSampledRequests(
2469
+ args: GetSampledRequestsCommandInput,
2470
+ options?: __HttpHandlerOptions
2471
+ ): Promise<GetSampledRequestsCommandOutput>;
2472
+ public getSampledRequests(
2473
+ args: GetSampledRequestsCommandInput,
2474
+ cb: (err: any, data?: GetSampledRequestsCommandOutput) => void
2475
+ ): void;
2476
+ public getSampledRequests(
2477
+ args: GetSampledRequestsCommandInput,
2478
+ options: __HttpHandlerOptions,
2479
+ cb: (err: any, data?: GetSampledRequestsCommandOutput) => void
2480
+ ): void;
2481
+ public getSampledRequests(
2482
+ args: GetSampledRequestsCommandInput,
2483
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSampledRequestsCommandOutput) => void),
2484
+ cb?: (err: any, data?: GetSampledRequestsCommandOutput) => void
2485
+ ): Promise<GetSampledRequestsCommandOutput> | void {
2486
+ const command = new GetSampledRequestsCommand(args);
2487
+ if (typeof optionsOrCb === "function") {
2488
+ this.send(command, optionsOrCb);
2489
+ } else if (typeof cb === "function") {
2490
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2491
+ this.send(command, optionsOrCb || {}, cb);
2492
+ } else {
2493
+ return this.send(command, optionsOrCb);
2494
+ }
2495
+ }
2496
+
2497
+ /**
2498
+ * <note>
2499
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2500
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2501
+ * WAF Classic</a> in the developer guide.</p>
2502
+ * <p>
2503
+ * <b>For the latest version of AWS
2504
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2505
+ * </note>
2506
+ * <p>Returns the <a>SizeConstraintSet</a> specified by <code>SizeConstraintSetId</code>.</p>
2507
+ */
2508
+ public getSizeConstraintSet(
2509
+ args: GetSizeConstraintSetCommandInput,
2510
+ options?: __HttpHandlerOptions
2511
+ ): Promise<GetSizeConstraintSetCommandOutput>;
2512
+ public getSizeConstraintSet(
2513
+ args: GetSizeConstraintSetCommandInput,
2514
+ cb: (err: any, data?: GetSizeConstraintSetCommandOutput) => void
2515
+ ): void;
2516
+ public getSizeConstraintSet(
2517
+ args: GetSizeConstraintSetCommandInput,
2518
+ options: __HttpHandlerOptions,
2519
+ cb: (err: any, data?: GetSizeConstraintSetCommandOutput) => void
2520
+ ): void;
2521
+ public getSizeConstraintSet(
2522
+ args: GetSizeConstraintSetCommandInput,
2523
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSizeConstraintSetCommandOutput) => void),
2524
+ cb?: (err: any, data?: GetSizeConstraintSetCommandOutput) => void
2525
+ ): Promise<GetSizeConstraintSetCommandOutput> | void {
2526
+ const command = new GetSizeConstraintSetCommand(args);
2527
+ if (typeof optionsOrCb === "function") {
2528
+ this.send(command, optionsOrCb);
2529
+ } else if (typeof cb === "function") {
2530
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2531
+ this.send(command, optionsOrCb || {}, cb);
2532
+ } else {
2533
+ return this.send(command, optionsOrCb);
2534
+ }
2535
+ }
2536
+
2537
+ /**
2538
+ * <note>
2539
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2540
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2541
+ * WAF Classic</a> in the developer guide.</p>
2542
+ * <p>
2543
+ * <b>For the latest version of AWS
2544
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2545
+ * </note>
2546
+ * <p>Returns the <a>SqlInjectionMatchSet</a> that is specified by <code>SqlInjectionMatchSetId</code>.</p>
2547
+ */
2548
+ public getSqlInjectionMatchSet(
2549
+ args: GetSqlInjectionMatchSetCommandInput,
2550
+ options?: __HttpHandlerOptions
2551
+ ): Promise<GetSqlInjectionMatchSetCommandOutput>;
2552
+ public getSqlInjectionMatchSet(
2553
+ args: GetSqlInjectionMatchSetCommandInput,
2554
+ cb: (err: any, data?: GetSqlInjectionMatchSetCommandOutput) => void
2555
+ ): void;
2556
+ public getSqlInjectionMatchSet(
2557
+ args: GetSqlInjectionMatchSetCommandInput,
2558
+ options: __HttpHandlerOptions,
2559
+ cb: (err: any, data?: GetSqlInjectionMatchSetCommandOutput) => void
2560
+ ): void;
2561
+ public getSqlInjectionMatchSet(
2562
+ args: GetSqlInjectionMatchSetCommandInput,
2563
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSqlInjectionMatchSetCommandOutput) => void),
2564
+ cb?: (err: any, data?: GetSqlInjectionMatchSetCommandOutput) => void
2565
+ ): Promise<GetSqlInjectionMatchSetCommandOutput> | void {
2566
+ const command = new GetSqlInjectionMatchSetCommand(args);
2567
+ if (typeof optionsOrCb === "function") {
2568
+ this.send(command, optionsOrCb);
2569
+ } else if (typeof cb === "function") {
2570
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2571
+ this.send(command, optionsOrCb || {}, cb);
2572
+ } else {
2573
+ return this.send(command, optionsOrCb);
2574
+ }
2575
+ }
2576
+
2577
+ /**
2578
+ * <note>
2579
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2580
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2581
+ * WAF Classic</a> in the developer guide.</p>
2582
+ * <p>
2583
+ * <b>For the latest version of AWS
2584
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2585
+ * </note>
2586
+ * <p>Returns the <a>WebACL</a> that is specified by <code>WebACLId</code>.</p>
2587
+ */
2588
+ public getWebACL(args: GetWebACLCommandInput, options?: __HttpHandlerOptions): Promise<GetWebACLCommandOutput>;
2589
+ public getWebACL(args: GetWebACLCommandInput, cb: (err: any, data?: GetWebACLCommandOutput) => void): void;
2590
+ public getWebACL(
2591
+ args: GetWebACLCommandInput,
2592
+ options: __HttpHandlerOptions,
2593
+ cb: (err: any, data?: GetWebACLCommandOutput) => void
2594
+ ): void;
2595
+ public getWebACL(
2596
+ args: GetWebACLCommandInput,
2597
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetWebACLCommandOutput) => void),
2598
+ cb?: (err: any, data?: GetWebACLCommandOutput) => void
2599
+ ): Promise<GetWebACLCommandOutput> | void {
2600
+ const command = new GetWebACLCommand(args);
2601
+ if (typeof optionsOrCb === "function") {
2602
+ this.send(command, optionsOrCb);
2603
+ } else if (typeof cb === "function") {
2604
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2605
+ this.send(command, optionsOrCb || {}, cb);
2606
+ } else {
2607
+ return this.send(command, optionsOrCb);
2608
+ }
2609
+ }
2610
+
2611
+ /**
2612
+ * <note>
2613
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2614
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2615
+ * WAF Classic</a> in the developer guide.</p>
2616
+ * <p>
2617
+ * <b>For the latest version of AWS
2618
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2619
+ * </note>
2620
+ * <p>Returns the <a>XssMatchSet</a> that is specified by <code>XssMatchSetId</code>.</p>
2621
+ */
2622
+ public getXssMatchSet(
2623
+ args: GetXssMatchSetCommandInput,
2624
+ options?: __HttpHandlerOptions
2625
+ ): Promise<GetXssMatchSetCommandOutput>;
2626
+ public getXssMatchSet(
2627
+ args: GetXssMatchSetCommandInput,
2628
+ cb: (err: any, data?: GetXssMatchSetCommandOutput) => void
2629
+ ): void;
2630
+ public getXssMatchSet(
2631
+ args: GetXssMatchSetCommandInput,
2632
+ options: __HttpHandlerOptions,
2633
+ cb: (err: any, data?: GetXssMatchSetCommandOutput) => void
2634
+ ): void;
2635
+ public getXssMatchSet(
2636
+ args: GetXssMatchSetCommandInput,
2637
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetXssMatchSetCommandOutput) => void),
2638
+ cb?: (err: any, data?: GetXssMatchSetCommandOutput) => void
2639
+ ): Promise<GetXssMatchSetCommandOutput> | void {
2640
+ const command = new GetXssMatchSetCommand(args);
2641
+ if (typeof optionsOrCb === "function") {
2642
+ this.send(command, optionsOrCb);
2643
+ } else if (typeof cb === "function") {
2644
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2645
+ this.send(command, optionsOrCb || {}, cb);
2646
+ } else {
2647
+ return this.send(command, optionsOrCb);
2648
+ }
2649
+ }
2650
+
2651
+ /**
2652
+ * <note>
2653
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2654
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2655
+ * WAF Classic</a> in the developer guide.</p>
2656
+ * <p>
2657
+ * <b>For the latest version of AWS
2658
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2659
+ * </note>
2660
+ * <p>Returns an array of <a>ActivatedRule</a> objects.</p>
2661
+ */
2662
+ public listActivatedRulesInRuleGroup(
2663
+ args: ListActivatedRulesInRuleGroupCommandInput,
2664
+ options?: __HttpHandlerOptions
2665
+ ): Promise<ListActivatedRulesInRuleGroupCommandOutput>;
2666
+ public listActivatedRulesInRuleGroup(
2667
+ args: ListActivatedRulesInRuleGroupCommandInput,
2668
+ cb: (err: any, data?: ListActivatedRulesInRuleGroupCommandOutput) => void
2669
+ ): void;
2670
+ public listActivatedRulesInRuleGroup(
2671
+ args: ListActivatedRulesInRuleGroupCommandInput,
2672
+ options: __HttpHandlerOptions,
2673
+ cb: (err: any, data?: ListActivatedRulesInRuleGroupCommandOutput) => void
2674
+ ): void;
2675
+ public listActivatedRulesInRuleGroup(
2676
+ args: ListActivatedRulesInRuleGroupCommandInput,
2677
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListActivatedRulesInRuleGroupCommandOutput) => void),
2678
+ cb?: (err: any, data?: ListActivatedRulesInRuleGroupCommandOutput) => void
2679
+ ): Promise<ListActivatedRulesInRuleGroupCommandOutput> | void {
2680
+ const command = new ListActivatedRulesInRuleGroupCommand(args);
2681
+ if (typeof optionsOrCb === "function") {
2682
+ this.send(command, optionsOrCb);
2683
+ } else if (typeof cb === "function") {
2684
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2685
+ this.send(command, optionsOrCb || {}, cb);
2686
+ } else {
2687
+ return this.send(command, optionsOrCb);
2688
+ }
2689
+ }
2690
+
2691
+ /**
2692
+ * <note>
2693
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2694
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2695
+ * WAF Classic</a> in the developer guide.</p>
2696
+ * <p>
2697
+ * <b>For the latest version of AWS
2698
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2699
+ * </note>
2700
+ * <p>Returns an array of <a>ByteMatchSetSummary</a> objects.</p>
2701
+ */
2702
+ public listByteMatchSets(
2703
+ args: ListByteMatchSetsCommandInput,
2704
+ options?: __HttpHandlerOptions
2705
+ ): Promise<ListByteMatchSetsCommandOutput>;
2706
+ public listByteMatchSets(
2707
+ args: ListByteMatchSetsCommandInput,
2708
+ cb: (err: any, data?: ListByteMatchSetsCommandOutput) => void
2709
+ ): void;
2710
+ public listByteMatchSets(
2711
+ args: ListByteMatchSetsCommandInput,
2712
+ options: __HttpHandlerOptions,
2713
+ cb: (err: any, data?: ListByteMatchSetsCommandOutput) => void
2714
+ ): void;
2715
+ public listByteMatchSets(
2716
+ args: ListByteMatchSetsCommandInput,
2717
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListByteMatchSetsCommandOutput) => void),
2718
+ cb?: (err: any, data?: ListByteMatchSetsCommandOutput) => void
2719
+ ): Promise<ListByteMatchSetsCommandOutput> | void {
2720
+ const command = new ListByteMatchSetsCommand(args);
2721
+ if (typeof optionsOrCb === "function") {
2722
+ this.send(command, optionsOrCb);
2723
+ } else if (typeof cb === "function") {
2724
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2725
+ this.send(command, optionsOrCb || {}, cb);
2726
+ } else {
2727
+ return this.send(command, optionsOrCb);
2728
+ }
2729
+ }
2730
+
2731
+ /**
2732
+ * <note>
2733
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2734
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2735
+ * WAF Classic</a> in the developer guide.</p>
2736
+ * <p>
2737
+ * <b>For the latest version of AWS
2738
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2739
+ * </note>
2740
+ * <p>Returns an array of <a>GeoMatchSetSummary</a> objects in the response.</p>
2741
+ */
2742
+ public listGeoMatchSets(
2743
+ args: ListGeoMatchSetsCommandInput,
2744
+ options?: __HttpHandlerOptions
2745
+ ): Promise<ListGeoMatchSetsCommandOutput>;
2746
+ public listGeoMatchSets(
2747
+ args: ListGeoMatchSetsCommandInput,
2748
+ cb: (err: any, data?: ListGeoMatchSetsCommandOutput) => void
2749
+ ): void;
2750
+ public listGeoMatchSets(
2751
+ args: ListGeoMatchSetsCommandInput,
2752
+ options: __HttpHandlerOptions,
2753
+ cb: (err: any, data?: ListGeoMatchSetsCommandOutput) => void
2754
+ ): void;
2755
+ public listGeoMatchSets(
2756
+ args: ListGeoMatchSetsCommandInput,
2757
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListGeoMatchSetsCommandOutput) => void),
2758
+ cb?: (err: any, data?: ListGeoMatchSetsCommandOutput) => void
2759
+ ): Promise<ListGeoMatchSetsCommandOutput> | void {
2760
+ const command = new ListGeoMatchSetsCommand(args);
2761
+ if (typeof optionsOrCb === "function") {
2762
+ this.send(command, optionsOrCb);
2763
+ } else if (typeof cb === "function") {
2764
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2765
+ this.send(command, optionsOrCb || {}, cb);
2766
+ } else {
2767
+ return this.send(command, optionsOrCb);
2768
+ }
2769
+ }
2770
+
2771
+ /**
2772
+ * <note>
2773
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2774
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2775
+ * WAF Classic</a> in the developer guide.</p>
2776
+ * <p>
2777
+ * <b>For the latest version of AWS
2778
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2779
+ * </note>
2780
+ * <p>Returns an array of <a>IPSetSummary</a> objects in the response.</p>
2781
+ */
2782
+ public listIPSets(args: ListIPSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListIPSetsCommandOutput>;
2783
+ public listIPSets(args: ListIPSetsCommandInput, cb: (err: any, data?: ListIPSetsCommandOutput) => void): void;
2784
+ public listIPSets(
2785
+ args: ListIPSetsCommandInput,
2786
+ options: __HttpHandlerOptions,
2787
+ cb: (err: any, data?: ListIPSetsCommandOutput) => void
2788
+ ): void;
2789
+ public listIPSets(
2790
+ args: ListIPSetsCommandInput,
2791
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListIPSetsCommandOutput) => void),
2792
+ cb?: (err: any, data?: ListIPSetsCommandOutput) => void
2793
+ ): Promise<ListIPSetsCommandOutput> | void {
2794
+ const command = new ListIPSetsCommand(args);
2795
+ if (typeof optionsOrCb === "function") {
2796
+ this.send(command, optionsOrCb);
2797
+ } else if (typeof cb === "function") {
2798
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2799
+ this.send(command, optionsOrCb || {}, cb);
2800
+ } else {
2801
+ return this.send(command, optionsOrCb);
2802
+ }
2803
+ }
2804
+
2805
+ /**
2806
+ * <note>
2807
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2808
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2809
+ * WAF Classic</a> in the developer guide.</p>
2810
+ * <p>
2811
+ * <b>For the latest version of AWS
2812
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2813
+ * </note>
2814
+ * <p>Returns an array of <a>LoggingConfiguration</a> objects.</p>
2815
+ */
2816
+ public listLoggingConfigurations(
2817
+ args: ListLoggingConfigurationsCommandInput,
2818
+ options?: __HttpHandlerOptions
2819
+ ): Promise<ListLoggingConfigurationsCommandOutput>;
2820
+ public listLoggingConfigurations(
2821
+ args: ListLoggingConfigurationsCommandInput,
2822
+ cb: (err: any, data?: ListLoggingConfigurationsCommandOutput) => void
2823
+ ): void;
2824
+ public listLoggingConfigurations(
2825
+ args: ListLoggingConfigurationsCommandInput,
2826
+ options: __HttpHandlerOptions,
2827
+ cb: (err: any, data?: ListLoggingConfigurationsCommandOutput) => void
2828
+ ): void;
2829
+ public listLoggingConfigurations(
2830
+ args: ListLoggingConfigurationsCommandInput,
2831
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListLoggingConfigurationsCommandOutput) => void),
2832
+ cb?: (err: any, data?: ListLoggingConfigurationsCommandOutput) => void
2833
+ ): Promise<ListLoggingConfigurationsCommandOutput> | void {
2834
+ const command = new ListLoggingConfigurationsCommand(args);
2835
+ if (typeof optionsOrCb === "function") {
2836
+ this.send(command, optionsOrCb);
2837
+ } else if (typeof cb === "function") {
2838
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2839
+ this.send(command, optionsOrCb || {}, cb);
2840
+ } else {
2841
+ return this.send(command, optionsOrCb);
2842
+ }
2843
+ }
2844
+
2845
+ /**
2846
+ * <note>
2847
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2848
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2849
+ * WAF Classic</a> in the developer guide.</p>
2850
+ * <p>
2851
+ * <b>For the latest version of AWS
2852
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2853
+ * </note>
2854
+ * <p>Returns an array of <a>RuleSummary</a> objects.</p>
2855
+ */
2856
+ public listRateBasedRules(
2857
+ args: ListRateBasedRulesCommandInput,
2858
+ options?: __HttpHandlerOptions
2859
+ ): Promise<ListRateBasedRulesCommandOutput>;
2860
+ public listRateBasedRules(
2861
+ args: ListRateBasedRulesCommandInput,
2862
+ cb: (err: any, data?: ListRateBasedRulesCommandOutput) => void
2863
+ ): void;
2864
+ public listRateBasedRules(
2865
+ args: ListRateBasedRulesCommandInput,
2866
+ options: __HttpHandlerOptions,
2867
+ cb: (err: any, data?: ListRateBasedRulesCommandOutput) => void
2868
+ ): void;
2869
+ public listRateBasedRules(
2870
+ args: ListRateBasedRulesCommandInput,
2871
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRateBasedRulesCommandOutput) => void),
2872
+ cb?: (err: any, data?: ListRateBasedRulesCommandOutput) => void
2873
+ ): Promise<ListRateBasedRulesCommandOutput> | void {
2874
+ const command = new ListRateBasedRulesCommand(args);
2875
+ if (typeof optionsOrCb === "function") {
2876
+ this.send(command, optionsOrCb);
2877
+ } else if (typeof cb === "function") {
2878
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2879
+ this.send(command, optionsOrCb || {}, cb);
2880
+ } else {
2881
+ return this.send(command, optionsOrCb);
2882
+ }
2883
+ }
2884
+
2885
+ /**
2886
+ * <note>
2887
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2888
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2889
+ * WAF Classic</a> in the developer guide.</p>
2890
+ * <p>
2891
+ * <b>For the latest version of AWS
2892
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2893
+ * </note>
2894
+ * <p>Returns an array of <a>RegexMatchSetSummary</a> objects.</p>
2895
+ */
2896
+ public listRegexMatchSets(
2897
+ args: ListRegexMatchSetsCommandInput,
2898
+ options?: __HttpHandlerOptions
2899
+ ): Promise<ListRegexMatchSetsCommandOutput>;
2900
+ public listRegexMatchSets(
2901
+ args: ListRegexMatchSetsCommandInput,
2902
+ cb: (err: any, data?: ListRegexMatchSetsCommandOutput) => void
2903
+ ): void;
2904
+ public listRegexMatchSets(
2905
+ args: ListRegexMatchSetsCommandInput,
2906
+ options: __HttpHandlerOptions,
2907
+ cb: (err: any, data?: ListRegexMatchSetsCommandOutput) => void
2908
+ ): void;
2909
+ public listRegexMatchSets(
2910
+ args: ListRegexMatchSetsCommandInput,
2911
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRegexMatchSetsCommandOutput) => void),
2912
+ cb?: (err: any, data?: ListRegexMatchSetsCommandOutput) => void
2913
+ ): Promise<ListRegexMatchSetsCommandOutput> | void {
2914
+ const command = new ListRegexMatchSetsCommand(args);
2915
+ if (typeof optionsOrCb === "function") {
2916
+ this.send(command, optionsOrCb);
2917
+ } else if (typeof cb === "function") {
2918
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2919
+ this.send(command, optionsOrCb || {}, cb);
2920
+ } else {
2921
+ return this.send(command, optionsOrCb);
2922
+ }
2923
+ }
2924
+
2925
+ /**
2926
+ * <note>
2927
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2928
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2929
+ * WAF Classic</a> in the developer guide.</p>
2930
+ * <p>
2931
+ * <b>For the latest version of AWS
2932
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2933
+ * </note>
2934
+ * <p>Returns an array of <a>RegexPatternSetSummary</a> objects.</p>
2935
+ */
2936
+ public listRegexPatternSets(
2937
+ args: ListRegexPatternSetsCommandInput,
2938
+ options?: __HttpHandlerOptions
2939
+ ): Promise<ListRegexPatternSetsCommandOutput>;
2940
+ public listRegexPatternSets(
2941
+ args: ListRegexPatternSetsCommandInput,
2942
+ cb: (err: any, data?: ListRegexPatternSetsCommandOutput) => void
2943
+ ): void;
2944
+ public listRegexPatternSets(
2945
+ args: ListRegexPatternSetsCommandInput,
2946
+ options: __HttpHandlerOptions,
2947
+ cb: (err: any, data?: ListRegexPatternSetsCommandOutput) => void
2948
+ ): void;
2949
+ public listRegexPatternSets(
2950
+ args: ListRegexPatternSetsCommandInput,
2951
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRegexPatternSetsCommandOutput) => void),
2952
+ cb?: (err: any, data?: ListRegexPatternSetsCommandOutput) => void
2953
+ ): Promise<ListRegexPatternSetsCommandOutput> | void {
2954
+ const command = new ListRegexPatternSetsCommand(args);
2955
+ if (typeof optionsOrCb === "function") {
2956
+ this.send(command, optionsOrCb);
2957
+ } else if (typeof cb === "function") {
2958
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2959
+ this.send(command, optionsOrCb || {}, cb);
2960
+ } else {
2961
+ return this.send(command, optionsOrCb);
2962
+ }
2963
+ }
2964
+
2965
+ /**
2966
+ * <note>
2967
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
2968
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
2969
+ * WAF Classic</a> in the developer guide.</p>
2970
+ * <p>
2971
+ * <b>For the latest version of AWS
2972
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
2973
+ * </note>
2974
+ * <p>Returns an array of <a>RuleGroup</a> objects.</p>
2975
+ */
2976
+ public listRuleGroups(
2977
+ args: ListRuleGroupsCommandInput,
2978
+ options?: __HttpHandlerOptions
2979
+ ): Promise<ListRuleGroupsCommandOutput>;
2980
+ public listRuleGroups(
2981
+ args: ListRuleGroupsCommandInput,
2982
+ cb: (err: any, data?: ListRuleGroupsCommandOutput) => void
2983
+ ): void;
2984
+ public listRuleGroups(
2985
+ args: ListRuleGroupsCommandInput,
2986
+ options: __HttpHandlerOptions,
2987
+ cb: (err: any, data?: ListRuleGroupsCommandOutput) => void
2988
+ ): void;
2989
+ public listRuleGroups(
2990
+ args: ListRuleGroupsCommandInput,
2991
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRuleGroupsCommandOutput) => void),
2992
+ cb?: (err: any, data?: ListRuleGroupsCommandOutput) => void
2993
+ ): Promise<ListRuleGroupsCommandOutput> | void {
2994
+ const command = new ListRuleGroupsCommand(args);
2995
+ if (typeof optionsOrCb === "function") {
2996
+ this.send(command, optionsOrCb);
2997
+ } else if (typeof cb === "function") {
2998
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2999
+ this.send(command, optionsOrCb || {}, cb);
3000
+ } else {
3001
+ return this.send(command, optionsOrCb);
3002
+ }
3003
+ }
3004
+
3005
+ /**
3006
+ * <note>
3007
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
3008
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
3009
+ * WAF Classic</a> in the developer guide.</p>
3010
+ * <p>
3011
+ * <b>For the latest version of AWS
3012
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
3013
+ * </note>
3014
+ * <p>Returns an array of <a>RuleSummary</a> objects.</p>
3015
+ */
3016
+ public listRules(args: ListRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListRulesCommandOutput>;
3017
+ public listRules(args: ListRulesCommandInput, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
3018
+ public listRules(
3019
+ args: ListRulesCommandInput,
3020
+ options: __HttpHandlerOptions,
3021
+ cb: (err: any, data?: ListRulesCommandOutput) => void
3022
+ ): void;
3023
+ public listRules(
3024
+ args: ListRulesCommandInput,
3025
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRulesCommandOutput) => void),
3026
+ cb?: (err: any, data?: ListRulesCommandOutput) => void
3027
+ ): Promise<ListRulesCommandOutput> | void {
3028
+ const command = new ListRulesCommand(args);
3029
+ if (typeof optionsOrCb === "function") {
3030
+ this.send(command, optionsOrCb);
3031
+ } else if (typeof cb === "function") {
3032
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3033
+ this.send(command, optionsOrCb || {}, cb);
3034
+ } else {
3035
+ return this.send(command, optionsOrCb);
3036
+ }
3037
+ }
3038
+
3039
+ /**
3040
+ * <note>
3041
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
3042
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
3043
+ * WAF Classic</a> in the developer guide.</p>
3044
+ * <p>
3045
+ * <b>For the latest version of AWS
3046
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
3047
+ * </note>
3048
+ * <p>Returns an array of <a>SizeConstraintSetSummary</a> objects.</p>
3049
+ */
3050
+ public listSizeConstraintSets(
3051
+ args: ListSizeConstraintSetsCommandInput,
3052
+ options?: __HttpHandlerOptions
3053
+ ): Promise<ListSizeConstraintSetsCommandOutput>;
3054
+ public listSizeConstraintSets(
3055
+ args: ListSizeConstraintSetsCommandInput,
3056
+ cb: (err: any, data?: ListSizeConstraintSetsCommandOutput) => void
3057
+ ): void;
3058
+ public listSizeConstraintSets(
3059
+ args: ListSizeConstraintSetsCommandInput,
3060
+ options: __HttpHandlerOptions,
3061
+ cb: (err: any, data?: ListSizeConstraintSetsCommandOutput) => void
3062
+ ): void;
3063
+ public listSizeConstraintSets(
3064
+ args: ListSizeConstraintSetsCommandInput,
3065
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListSizeConstraintSetsCommandOutput) => void),
3066
+ cb?: (err: any, data?: ListSizeConstraintSetsCommandOutput) => void
3067
+ ): Promise<ListSizeConstraintSetsCommandOutput> | void {
3068
+ const command = new ListSizeConstraintSetsCommand(args);
3069
+ if (typeof optionsOrCb === "function") {
3070
+ this.send(command, optionsOrCb);
3071
+ } else if (typeof cb === "function") {
3072
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3073
+ this.send(command, optionsOrCb || {}, cb);
3074
+ } else {
3075
+ return this.send(command, optionsOrCb);
3076
+ }
3077
+ }
3078
+
3079
+ /**
3080
+ * <note>
3081
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
3082
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
3083
+ * WAF Classic</a> in the developer guide.</p>
3084
+ * <p>
3085
+ * <b>For the latest version of AWS
3086
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
3087
+ * </note>
3088
+ * <p>Returns an array of <a>SqlInjectionMatchSet</a> objects.</p>
3089
+ */
3090
+ public listSqlInjectionMatchSets(
3091
+ args: ListSqlInjectionMatchSetsCommandInput,
3092
+ options?: __HttpHandlerOptions
3093
+ ): Promise<ListSqlInjectionMatchSetsCommandOutput>;
3094
+ public listSqlInjectionMatchSets(
3095
+ args: ListSqlInjectionMatchSetsCommandInput,
3096
+ cb: (err: any, data?: ListSqlInjectionMatchSetsCommandOutput) => void
3097
+ ): void;
3098
+ public listSqlInjectionMatchSets(
3099
+ args: ListSqlInjectionMatchSetsCommandInput,
3100
+ options: __HttpHandlerOptions,
3101
+ cb: (err: any, data?: ListSqlInjectionMatchSetsCommandOutput) => void
3102
+ ): void;
3103
+ public listSqlInjectionMatchSets(
3104
+ args: ListSqlInjectionMatchSetsCommandInput,
3105
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListSqlInjectionMatchSetsCommandOutput) => void),
3106
+ cb?: (err: any, data?: ListSqlInjectionMatchSetsCommandOutput) => void
3107
+ ): Promise<ListSqlInjectionMatchSetsCommandOutput> | void {
3108
+ const command = new ListSqlInjectionMatchSetsCommand(args);
3109
+ if (typeof optionsOrCb === "function") {
3110
+ this.send(command, optionsOrCb);
3111
+ } else if (typeof cb === "function") {
3112
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3113
+ this.send(command, optionsOrCb || {}, cb);
3114
+ } else {
3115
+ return this.send(command, optionsOrCb);
3116
+ }
3117
+ }
3118
+
3119
+ /**
3120
+ * <note>
3121
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
3122
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
3123
+ * WAF Classic</a> in the developer guide.</p>
3124
+ * <p>
3125
+ * <b>For the latest version of AWS
3126
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
3127
+ * </note>
3128
+ * <p>Returns an array of <a>RuleGroup</a> objects that you are subscribed to.</p>
3129
+ */
3130
+ public listSubscribedRuleGroups(
3131
+ args: ListSubscribedRuleGroupsCommandInput,
3132
+ options?: __HttpHandlerOptions
3133
+ ): Promise<ListSubscribedRuleGroupsCommandOutput>;
3134
+ public listSubscribedRuleGroups(
3135
+ args: ListSubscribedRuleGroupsCommandInput,
3136
+ cb: (err: any, data?: ListSubscribedRuleGroupsCommandOutput) => void
3137
+ ): void;
3138
+ public listSubscribedRuleGroups(
3139
+ args: ListSubscribedRuleGroupsCommandInput,
3140
+ options: __HttpHandlerOptions,
3141
+ cb: (err: any, data?: ListSubscribedRuleGroupsCommandOutput) => void
3142
+ ): void;
3143
+ public listSubscribedRuleGroups(
3144
+ args: ListSubscribedRuleGroupsCommandInput,
3145
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListSubscribedRuleGroupsCommandOutput) => void),
3146
+ cb?: (err: any, data?: ListSubscribedRuleGroupsCommandOutput) => void
3147
+ ): Promise<ListSubscribedRuleGroupsCommandOutput> | void {
3148
+ const command = new ListSubscribedRuleGroupsCommand(args);
3149
+ if (typeof optionsOrCb === "function") {
3150
+ this.send(command, optionsOrCb);
3151
+ } else if (typeof cb === "function") {
3152
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3153
+ this.send(command, optionsOrCb || {}, cb);
3154
+ } else {
3155
+ return this.send(command, optionsOrCb);
3156
+ }
3157
+ }
3158
+
3159
+ /**
3160
+ * <note>
3161
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
3162
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
3163
+ * WAF Classic</a> in the developer guide.</p>
3164
+ * <p>
3165
+ * <b>For the latest version of AWS
3166
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
3167
+ * </note>
3168
+ * <p>Retrieves the tags associated with the specified AWS resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>
3169
+ * <p>Tagging is only available through the API, SDKs, and CLI. You can't manage or view tags through the AWS WAF Classic console. You can tag the AWS resources that you manage through AWS WAF Classic: web ACLs, rule groups, and rules. </p>
3170
+ */
3171
+ public listTagsForResource(
3172
+ args: ListTagsForResourceCommandInput,
3173
+ options?: __HttpHandlerOptions
3174
+ ): Promise<ListTagsForResourceCommandOutput>;
3175
+ public listTagsForResource(
3176
+ args: ListTagsForResourceCommandInput,
3177
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
3178
+ ): void;
3179
+ public listTagsForResource(
3180
+ args: ListTagsForResourceCommandInput,
3181
+ options: __HttpHandlerOptions,
3182
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
3183
+ ): void;
3184
+ public listTagsForResource(
3185
+ args: ListTagsForResourceCommandInput,
3186
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
3187
+ cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
3188
+ ): Promise<ListTagsForResourceCommandOutput> | void {
3189
+ const command = new ListTagsForResourceCommand(args);
3190
+ if (typeof optionsOrCb === "function") {
3191
+ this.send(command, optionsOrCb);
3192
+ } else if (typeof cb === "function") {
3193
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3194
+ this.send(command, optionsOrCb || {}, cb);
3195
+ } else {
3196
+ return this.send(command, optionsOrCb);
3197
+ }
3198
+ }
3199
+
3200
+ /**
3201
+ * <note>
3202
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
3203
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
3204
+ * WAF Classic</a> in the developer guide.</p>
3205
+ * <p>
3206
+ * <b>For the latest version of AWS
3207
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
3208
+ * </note>
3209
+ * <p>Returns an array of <a>WebACLSummary</a> objects in the response.</p>
3210
+ */
3211
+ public listWebACLs(args: ListWebACLsCommandInput, options?: __HttpHandlerOptions): Promise<ListWebACLsCommandOutput>;
3212
+ public listWebACLs(args: ListWebACLsCommandInput, cb: (err: any, data?: ListWebACLsCommandOutput) => void): void;
3213
+ public listWebACLs(
3214
+ args: ListWebACLsCommandInput,
3215
+ options: __HttpHandlerOptions,
3216
+ cb: (err: any, data?: ListWebACLsCommandOutput) => void
3217
+ ): void;
3218
+ public listWebACLs(
3219
+ args: ListWebACLsCommandInput,
3220
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListWebACLsCommandOutput) => void),
3221
+ cb?: (err: any, data?: ListWebACLsCommandOutput) => void
3222
+ ): Promise<ListWebACLsCommandOutput> | void {
3223
+ const command = new ListWebACLsCommand(args);
3224
+ if (typeof optionsOrCb === "function") {
3225
+ this.send(command, optionsOrCb);
3226
+ } else if (typeof cb === "function") {
3227
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3228
+ this.send(command, optionsOrCb || {}, cb);
3229
+ } else {
3230
+ return this.send(command, optionsOrCb);
3231
+ }
3232
+ }
3233
+
3234
+ /**
3235
+ * <note>
3236
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
3237
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
3238
+ * WAF Classic</a> in the developer guide.</p>
3239
+ * <p>
3240
+ * <b>For the latest version of AWS
3241
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
3242
+ * </note>
3243
+ * <p>Returns an array of <a>XssMatchSet</a> objects.</p>
3244
+ */
3245
+ public listXssMatchSets(
3246
+ args: ListXssMatchSetsCommandInput,
3247
+ options?: __HttpHandlerOptions
3248
+ ): Promise<ListXssMatchSetsCommandOutput>;
3249
+ public listXssMatchSets(
3250
+ args: ListXssMatchSetsCommandInput,
3251
+ cb: (err: any, data?: ListXssMatchSetsCommandOutput) => void
3252
+ ): void;
3253
+ public listXssMatchSets(
3254
+ args: ListXssMatchSetsCommandInput,
3255
+ options: __HttpHandlerOptions,
3256
+ cb: (err: any, data?: ListXssMatchSetsCommandOutput) => void
3257
+ ): void;
3258
+ public listXssMatchSets(
3259
+ args: ListXssMatchSetsCommandInput,
3260
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListXssMatchSetsCommandOutput) => void),
3261
+ cb?: (err: any, data?: ListXssMatchSetsCommandOutput) => void
3262
+ ): Promise<ListXssMatchSetsCommandOutput> | void {
3263
+ const command = new ListXssMatchSetsCommand(args);
3264
+ if (typeof optionsOrCb === "function") {
3265
+ this.send(command, optionsOrCb);
3266
+ } else if (typeof cb === "function") {
3267
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3268
+ this.send(command, optionsOrCb || {}, cb);
3269
+ } else {
3270
+ return this.send(command, optionsOrCb);
3271
+ }
3272
+ }
3273
+
3274
+ /**
3275
+ * <note>
3276
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
3277
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
3278
+ * WAF Classic</a> in the developer guide.</p>
3279
+ * <p>
3280
+ * <b>For the latest version of AWS
3281
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
3282
+ * </note>
3283
+ * <p>Associates a <a>LoggingConfiguration</a> with a specified web ACL.</p>
3284
+ * <p>You can access information about all traffic that AWS WAF inspects using the following
3285
+ * steps:</p>
3286
+ * <ol>
3287
+ * <li>
3288
+ * <p>Create an Amazon Kinesis Data
3289
+ * Firehose. </p>
3290
+ * <p>Create the data firehose with a PUT source and in the region that you are operating. However, if you are capturing logs for Amazon CloudFront, always create the firehose in US East (N. Virginia). </p>
3291
+ * <note>
3292
+ * <p>Do not create the data firehose using a <code>Kinesis stream</code> as your source.</p>
3293
+ * </note>
3294
+ * </li>
3295
+ * <li>
3296
+ * <p>Associate that firehose to your web ACL using a <code>PutLoggingConfiguration</code> request.</p>
3297
+ * </li>
3298
+ * </ol>
3299
+ *
3300
+ * <p>When you successfully enable logging using a <code>PutLoggingConfiguration</code> request, AWS WAF will create a service linked role with the necessary permissions to write logs to the Amazon Kinesis Data Firehose. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging Web ACL Traffic Information</a> in the <i>AWS WAF Developer Guide</i>.</p>
3301
+ */
3302
+ public putLoggingConfiguration(
3303
+ args: PutLoggingConfigurationCommandInput,
3304
+ options?: __HttpHandlerOptions
3305
+ ): Promise<PutLoggingConfigurationCommandOutput>;
3306
+ public putLoggingConfiguration(
3307
+ args: PutLoggingConfigurationCommandInput,
3308
+ cb: (err: any, data?: PutLoggingConfigurationCommandOutput) => void
3309
+ ): void;
3310
+ public putLoggingConfiguration(
3311
+ args: PutLoggingConfigurationCommandInput,
3312
+ options: __HttpHandlerOptions,
3313
+ cb: (err: any, data?: PutLoggingConfigurationCommandOutput) => void
3314
+ ): void;
3315
+ public putLoggingConfiguration(
3316
+ args: PutLoggingConfigurationCommandInput,
3317
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutLoggingConfigurationCommandOutput) => void),
3318
+ cb?: (err: any, data?: PutLoggingConfigurationCommandOutput) => void
3319
+ ): Promise<PutLoggingConfigurationCommandOutput> | void {
3320
+ const command = new PutLoggingConfigurationCommand(args);
3321
+ if (typeof optionsOrCb === "function") {
3322
+ this.send(command, optionsOrCb);
3323
+ } else if (typeof cb === "function") {
3324
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3325
+ this.send(command, optionsOrCb || {}, cb);
3326
+ } else {
3327
+ return this.send(command, optionsOrCb);
3328
+ }
3329
+ }
3330
+
3331
+ /**
3332
+ * <note>
3333
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
3334
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
3335
+ * WAF Classic</a> in the developer guide.</p>
3336
+ * <p>
3337
+ * <b>For the latest version of AWS
3338
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
3339
+ * </note>
3340
+ * <p>Attaches an IAM policy to the specified resource. The only supported use for this action is to share a RuleGroup across accounts.</p>
3341
+ * <p>The <code>PutPermissionPolicy</code> is subject to the following restrictions:</p>
3342
+ * <ul>
3343
+ * <li>
3344
+ * <p>You can attach only one policy with each <code>PutPermissionPolicy</code> request.</p>
3345
+ * </li>
3346
+ * <li>
3347
+ * <p>The policy must include an <code>Effect</code>, <code>Action</code> and <code>Principal</code>. </p>
3348
+ * </li>
3349
+ * <li>
3350
+ *
3351
+ * <p>
3352
+ * <code>Effect</code> must specify <code>Allow</code>.</p>
3353
+ * </li>
3354
+ * <li>
3355
+ * <p>The <code>Action</code> in the policy must be <code>waf:UpdateWebACL</code>, <code>waf-regional:UpdateWebACL</code>, <code>waf:GetRuleGroup</code> and <code>waf-regional:GetRuleGroup</code> . Any extra or wildcard actions in the policy will be rejected.</p>
3356
+ * </li>
3357
+ * <li>
3358
+ * <p>The policy cannot include a <code>Resource</code> parameter.</p>
3359
+ * </li>
3360
+ * <li>
3361
+ * <p>The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup must exist in the same region.</p>
3362
+ * </li>
3363
+ * <li>
3364
+ * <p>The user making the request must be the owner of the RuleGroup.</p>
3365
+ * </li>
3366
+ * <li>
3367
+ * <p>Your policy must be composed using IAM Policy version 2012-10-17.</p>
3368
+ * </li>
3369
+ * </ul>
3370
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html">IAM Policies</a>. </p>
3371
+ *
3372
+ * <p>An example of a valid policy parameter is shown in the Examples section below.</p>
3373
+ */
3374
+ public putPermissionPolicy(
3375
+ args: PutPermissionPolicyCommandInput,
3376
+ options?: __HttpHandlerOptions
3377
+ ): Promise<PutPermissionPolicyCommandOutput>;
3378
+ public putPermissionPolicy(
3379
+ args: PutPermissionPolicyCommandInput,
3380
+ cb: (err: any, data?: PutPermissionPolicyCommandOutput) => void
3381
+ ): void;
3382
+ public putPermissionPolicy(
3383
+ args: PutPermissionPolicyCommandInput,
3384
+ options: __HttpHandlerOptions,
3385
+ cb: (err: any, data?: PutPermissionPolicyCommandOutput) => void
3386
+ ): void;
3387
+ public putPermissionPolicy(
3388
+ args: PutPermissionPolicyCommandInput,
3389
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutPermissionPolicyCommandOutput) => void),
3390
+ cb?: (err: any, data?: PutPermissionPolicyCommandOutput) => void
3391
+ ): Promise<PutPermissionPolicyCommandOutput> | void {
3392
+ const command = new PutPermissionPolicyCommand(args);
3393
+ if (typeof optionsOrCb === "function") {
3394
+ this.send(command, optionsOrCb);
3395
+ } else if (typeof cb === "function") {
3396
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3397
+ this.send(command, optionsOrCb || {}, cb);
3398
+ } else {
3399
+ return this.send(command, optionsOrCb);
3400
+ }
3401
+ }
3402
+
3403
+ /**
3404
+ * <note>
3405
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
3406
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
3407
+ * WAF Classic</a> in the developer guide.</p>
3408
+ * <p>
3409
+ * <b>For the latest version of AWS
3410
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
3411
+ * </note>
3412
+ * <p>Associates tags with the specified AWS resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>
3413
+ * <p>Tagging is only available through the API, SDKs, and CLI. You can't manage or view tags through the AWS WAF Classic console. You can use this action to tag the AWS resources that you manage through AWS WAF Classic: web ACLs, rule groups, and rules. </p>
3414
+ */
3415
+ public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
3416
+ public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
3417
+ public tagResource(
3418
+ args: TagResourceCommandInput,
3419
+ options: __HttpHandlerOptions,
3420
+ cb: (err: any, data?: TagResourceCommandOutput) => void
3421
+ ): void;
3422
+ public tagResource(
3423
+ args: TagResourceCommandInput,
3424
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
3425
+ cb?: (err: any, data?: TagResourceCommandOutput) => void
3426
+ ): Promise<TagResourceCommandOutput> | void {
3427
+ const command = new TagResourceCommand(args);
3428
+ if (typeof optionsOrCb === "function") {
3429
+ this.send(command, optionsOrCb);
3430
+ } else if (typeof cb === "function") {
3431
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3432
+ this.send(command, optionsOrCb || {}, cb);
3433
+ } else {
3434
+ return this.send(command, optionsOrCb);
3435
+ }
3436
+ }
3437
+
3438
+ /**
3439
+ * <note>
3440
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
3441
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
3442
+ * WAF Classic</a> in the developer guide.</p>
3443
+ * <p>
3444
+ * <b>For the latest version of AWS
3445
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
3446
+ * </note>
3447
+ * <p></p>
3448
+ */
3449
+ public untagResource(
3450
+ args: UntagResourceCommandInput,
3451
+ options?: __HttpHandlerOptions
3452
+ ): Promise<UntagResourceCommandOutput>;
3453
+ public untagResource(
3454
+ args: UntagResourceCommandInput,
3455
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
3456
+ ): void;
3457
+ public untagResource(
3458
+ args: UntagResourceCommandInput,
3459
+ options: __HttpHandlerOptions,
3460
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
3461
+ ): void;
3462
+ public untagResource(
3463
+ args: UntagResourceCommandInput,
3464
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
3465
+ cb?: (err: any, data?: UntagResourceCommandOutput) => void
3466
+ ): Promise<UntagResourceCommandOutput> | void {
3467
+ const command = new UntagResourceCommand(args);
3468
+ if (typeof optionsOrCb === "function") {
3469
+ this.send(command, optionsOrCb);
3470
+ } else if (typeof cb === "function") {
3471
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3472
+ this.send(command, optionsOrCb || {}, cb);
3473
+ } else {
3474
+ return this.send(command, optionsOrCb);
3475
+ }
3476
+ }
3477
+
3478
+ /**
3479
+ * <note>
3480
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
3481
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
3482
+ * WAF Classic</a> in the developer guide.</p>
3483
+ * <p>
3484
+ * <b>For the latest version of AWS
3485
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
3486
+ * </note>
3487
+ * <p>Inserts or deletes <a>ByteMatchTuple</a> objects (filters) in a <a>ByteMatchSet</a>. For each <code>ByteMatchTuple</code> object,
3488
+ * you specify the following values: </p>
3489
+ * <ul>
3490
+ * <li>
3491
+ * <p>Whether to insert or delete the object from the array. If you want to change a <code>ByteMatchSetUpdate</code> object,
3492
+ * you delete the existing object and add a new one.</p>
3493
+ * </li>
3494
+ * <li>
3495
+ * <p>The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the <code>User-Agent</code> header. </p>
3496
+ * </li>
3497
+ * <li>
3498
+ * <p>The bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to look for. For more information, including how you specify
3499
+ * the values for the AWS WAF API and the AWS CLI or SDKs, see <code>TargetString</code> in the <a>ByteMatchTuple</a> data type. </p>
3500
+ * </li>
3501
+ * <li>
3502
+ * <p>Where to look, such as at the beginning or the end of a query string.</p>
3503
+ * </li>
3504
+ * <li>
3505
+ * <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p>
3506
+ * </li>
3507
+ * </ul>
3508
+ * <p>For example, you can add a <code>ByteMatchSetUpdate</code> object that matches web requests in which <code>User-Agent</code> headers contain
3509
+ * the string <code>BadBot</code>. You can then configure AWS WAF to block those requests.</p>
3510
+ * <p>To create and configure a <code>ByteMatchSet</code>, perform the following steps:</p>
3511
+ * <ol>
3512
+ * <li>
3513
+ * <p>Create a <code>ByteMatchSet.</code> For more information, see <a>CreateByteMatchSet</a>.</p>
3514
+ * </li>
3515
+ * <li>
3516
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
3517
+ * <code>UpdateByteMatchSet</code> request.</p>
3518
+ * </li>
3519
+ * <li>
3520
+ * <p>Submit an <code>UpdateByteMatchSet</code> request to specify the part of the request that you want AWS WAF to inspect
3521
+ * (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
3522
+ * </li>
3523
+ * </ol>
3524
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
3525
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
3526
+ */
3527
+ public updateByteMatchSet(
3528
+ args: UpdateByteMatchSetCommandInput,
3529
+ options?: __HttpHandlerOptions
3530
+ ): Promise<UpdateByteMatchSetCommandOutput>;
3531
+ public updateByteMatchSet(
3532
+ args: UpdateByteMatchSetCommandInput,
3533
+ cb: (err: any, data?: UpdateByteMatchSetCommandOutput) => void
3534
+ ): void;
3535
+ public updateByteMatchSet(
3536
+ args: UpdateByteMatchSetCommandInput,
3537
+ options: __HttpHandlerOptions,
3538
+ cb: (err: any, data?: UpdateByteMatchSetCommandOutput) => void
3539
+ ): void;
3540
+ public updateByteMatchSet(
3541
+ args: UpdateByteMatchSetCommandInput,
3542
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateByteMatchSetCommandOutput) => void),
3543
+ cb?: (err: any, data?: UpdateByteMatchSetCommandOutput) => void
3544
+ ): Promise<UpdateByteMatchSetCommandOutput> | void {
3545
+ const command = new UpdateByteMatchSetCommand(args);
3546
+ if (typeof optionsOrCb === "function") {
3547
+ this.send(command, optionsOrCb);
3548
+ } else if (typeof cb === "function") {
3549
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3550
+ this.send(command, optionsOrCb || {}, cb);
3551
+ } else {
3552
+ return this.send(command, optionsOrCb);
3553
+ }
3554
+ }
3555
+
3556
+ /**
3557
+ * <note>
3558
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
3559
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
3560
+ * WAF Classic</a> in the developer guide.</p>
3561
+ * <p>
3562
+ * <b>For the latest version of AWS
3563
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
3564
+ * </note>
3565
+ * <p>Inserts or deletes <a>GeoMatchConstraint</a> objects in an <code>GeoMatchSet</code>. For each <code>GeoMatchConstraint</code> object,
3566
+ * you specify the following values: </p>
3567
+ * <ul>
3568
+ * <li>
3569
+ * <p>Whether to insert or delete the object from the array. If you want to change an <code>GeoMatchConstraint</code> object, you delete the existing object and add a new one.</p>
3570
+ * </li>
3571
+ * <li>
3572
+ * <p>The <code>Type</code>. The only valid value for <code>Type</code> is <code>Country</code>.</p>
3573
+ * </li>
3574
+ * <li>
3575
+ * <p>The <code>Value</code>, which is a two character code for the country to add to the <code>GeoMatchConstraint</code> object. Valid codes are listed in <a>GeoMatchConstraint$Value</a>.</p>
3576
+ * </li>
3577
+ * </ul>
3578
+ *
3579
+ * <p>To create and configure an <code>GeoMatchSet</code>, perform the following steps:</p>
3580
+ * <ol>
3581
+ * <li>
3582
+ * <p>Submit a <a>CreateGeoMatchSet</a> request.</p>
3583
+ * </li>
3584
+ * <li>
3585
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
3586
+ * <a>UpdateGeoMatchSet</a> request.</p>
3587
+ * </li>
3588
+ * <li>
3589
+ * <p>Submit an <code>UpdateGeoMatchSet</code> request to specify the country that you want AWS WAF to watch for.</p>
3590
+ * </li>
3591
+ * </ol>
3592
+ * <p>When you update an <code>GeoMatchSet</code>, you specify the country that you want to add and/or the country that you want to delete.
3593
+ * If you want to change a country, you delete the existing country and add the new one.</p>
3594
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
3595
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
3596
+ */
3597
+ public updateGeoMatchSet(
3598
+ args: UpdateGeoMatchSetCommandInput,
3599
+ options?: __HttpHandlerOptions
3600
+ ): Promise<UpdateGeoMatchSetCommandOutput>;
3601
+ public updateGeoMatchSet(
3602
+ args: UpdateGeoMatchSetCommandInput,
3603
+ cb: (err: any, data?: UpdateGeoMatchSetCommandOutput) => void
3604
+ ): void;
3605
+ public updateGeoMatchSet(
3606
+ args: UpdateGeoMatchSetCommandInput,
3607
+ options: __HttpHandlerOptions,
3608
+ cb: (err: any, data?: UpdateGeoMatchSetCommandOutput) => void
3609
+ ): void;
3610
+ public updateGeoMatchSet(
3611
+ args: UpdateGeoMatchSetCommandInput,
3612
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateGeoMatchSetCommandOutput) => void),
3613
+ cb?: (err: any, data?: UpdateGeoMatchSetCommandOutput) => void
3614
+ ): Promise<UpdateGeoMatchSetCommandOutput> | void {
3615
+ const command = new UpdateGeoMatchSetCommand(args);
3616
+ if (typeof optionsOrCb === "function") {
3617
+ this.send(command, optionsOrCb);
3618
+ } else if (typeof cb === "function") {
3619
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3620
+ this.send(command, optionsOrCb || {}, cb);
3621
+ } else {
3622
+ return this.send(command, optionsOrCb);
3623
+ }
3624
+ }
3625
+
3626
+ /**
3627
+ * <note>
3628
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
3629
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
3630
+ * WAF Classic</a> in the developer guide.</p>
3631
+ * <p>
3632
+ * <b>For the latest version of AWS
3633
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
3634
+ * </note>
3635
+ * <p>Inserts or deletes <a>IPSetDescriptor</a> objects in an
3636
+ * <code>IPSet</code>. For each <code>IPSetDescriptor</code> object, you specify the following
3637
+ * values: </p>
3638
+ * <ul>
3639
+ * <li>
3640
+ * <p>Whether to insert or delete the object from the array. If you want to change an
3641
+ * <code>IPSetDescriptor</code> object, you delete the existing object and add a new
3642
+ * one.</p>
3643
+ * </li>
3644
+ * <li>
3645
+ * <p>The IP address version, <code>IPv4</code> or <code>IPv6</code>. </p>
3646
+ * </li>
3647
+ * <li>
3648
+ * <p>The IP address in CIDR notation, for example, <code>192.0.2.0/24</code> (for
3649
+ * the range of IP addresses from <code>192.0.2.0</code> to <code>192.0.2.255</code>) or
3650
+ * <code>192.0.2.44/32</code> (for the individual IP address
3651
+ * <code>192.0.2.44</code>). </p>
3652
+ * </li>
3653
+ * </ul>
3654
+ * <p>AWS WAF supports IPv4 address ranges: /8 and any range between /16 through /32. AWS
3655
+ * WAF supports IPv6 address ranges: /24, /32, /48, /56, /64, and /128. For more
3656
+ * information about CIDR notation, see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Classless
3657
+ * Inter-Domain Routing</a>.</p>
3658
+ * <p>IPv6 addresses can be represented using any of the following formats:</p>
3659
+ * <ul>
3660
+ * <li>
3661
+ * <p>1111:0000:0000:0000:0000:0000:0000:0111/128</p>
3662
+ * </li>
3663
+ * <li>
3664
+ * <p>1111:0:0:0:0:0:0:0111/128</p>
3665
+ * </li>
3666
+ * <li>
3667
+ * <p>1111::0111/128</p>
3668
+ * </li>
3669
+ * <li>
3670
+ * <p>1111::111/128</p>
3671
+ * </li>
3672
+ * </ul>
3673
+ * <p>You use an <code>IPSet</code> to specify which web requests you want to allow or
3674
+ * block based on the IP addresses that the requests originated from. For example, if you're
3675
+ * receiving a lot of requests from one or a small number of IP addresses and you want to
3676
+ * block the requests, you can create an <code>IPSet</code> that specifies those IP addresses,
3677
+ * and then configure AWS WAF to block the requests. </p>
3678
+ * <p>To create and configure an <code>IPSet</code>, perform the following steps:</p>
3679
+ * <ol>
3680
+ * <li>
3681
+ * <p>Submit a <a>CreateIPSet</a> request.</p>
3682
+ * </li>
3683
+ * <li>
3684
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide
3685
+ * in the <code>ChangeToken</code> parameter of an <a>UpdateIPSet</a>
3686
+ * request.</p>
3687
+ * </li>
3688
+ * <li>
3689
+ * <p>Submit an <code>UpdateIPSet</code> request to specify the IP addresses that you
3690
+ * want AWS WAF to watch for.</p>
3691
+ * </li>
3692
+ * </ol>
3693
+ * <p>When you update an <code>IPSet</code>, you specify the IP addresses that you want to
3694
+ * add and/or the IP addresses that you want to delete. If you want to change an IP address,
3695
+ * you delete the existing IP address and add the new one.</p>
3696
+ * <p>You can insert a maximum of 1000 addresses in a single
3697
+ * request.</p>
3698
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP
3699
+ * requests, see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF
3700
+ * Developer Guide</a>.</p>
3701
+ */
3702
+ public updateIPSet(args: UpdateIPSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIPSetCommandOutput>;
3703
+ public updateIPSet(args: UpdateIPSetCommandInput, cb: (err: any, data?: UpdateIPSetCommandOutput) => void): void;
3704
+ public updateIPSet(
3705
+ args: UpdateIPSetCommandInput,
3706
+ options: __HttpHandlerOptions,
3707
+ cb: (err: any, data?: UpdateIPSetCommandOutput) => void
3708
+ ): void;
3709
+ public updateIPSet(
3710
+ args: UpdateIPSetCommandInput,
3711
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateIPSetCommandOutput) => void),
3712
+ cb?: (err: any, data?: UpdateIPSetCommandOutput) => void
3713
+ ): Promise<UpdateIPSetCommandOutput> | void {
3714
+ const command = new UpdateIPSetCommand(args);
3715
+ if (typeof optionsOrCb === "function") {
3716
+ this.send(command, optionsOrCb);
3717
+ } else if (typeof cb === "function") {
3718
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3719
+ this.send(command, optionsOrCb || {}, cb);
3720
+ } else {
3721
+ return this.send(command, optionsOrCb);
3722
+ }
3723
+ }
3724
+
3725
+ /**
3726
+ * <note>
3727
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
3728
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
3729
+ * WAF Classic</a> in the developer guide.</p>
3730
+ * <p>
3731
+ * <b>For the latest version of AWS
3732
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
3733
+ * </note>
3734
+ * <p>Inserts or deletes <a>Predicate</a> objects in a rule and updates the
3735
+ * <code>RateLimit</code> in the rule. </p>
3736
+ * <p>Each <code>Predicate</code> object identifies a predicate, such as a <a>ByteMatchSet</a> or an <a>IPSet</a>, that specifies the web requests
3737
+ * that you want to block or count. The <code>RateLimit</code> specifies the number of
3738
+ * requests every five minutes that triggers the rule.</p>
3739
+ * <p>If you add more than one predicate to a <code>RateBasedRule</code>, a request must
3740
+ * match all the predicates and exceed the <code>RateLimit</code> to be counted or blocked.
3741
+ * For example, suppose you add the following to a <code>RateBasedRule</code>:</p>
3742
+ * <ul>
3743
+ * <li>
3744
+ * <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code>
3745
+ * </p>
3746
+ * </li>
3747
+ * <li>
3748
+ * <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the
3749
+ * <code>User-Agent</code> header</p>
3750
+ * </li>
3751
+ * </ul>
3752
+ * <p>Further, you specify a
3753
+ * <code>RateLimit</code> of 1,000.</p>
3754
+ * <p>You then add the <code>RateBasedRule</code> to a <code>WebACL</code> and specify that
3755
+ * you want to block requests that satisfy the rule. For a request to be blocked, it must come
3756
+ * from the IP address 192.0.2.44 <i>and</i> the <code>User-Agent</code> header
3757
+ * in the request must contain the value <code>BadBot</code>. Further, requests that match
3758
+ * these two conditions much be received at a rate of more than 1,000 every five minutes. If
3759
+ * the rate drops below this limit, AWS WAF no longer blocks the requests.</p>
3760
+ *
3761
+ * <p>As a second example, suppose you want to limit requests to a particular page on your site. To do this, you could add the following to a
3762
+ * <code>RateBasedRule</code>:</p>
3763
+ *
3764
+ *
3765
+ * <ul>
3766
+ * <li>
3767
+ * <p>A <code>ByteMatchSet</code> with <code>FieldToMatch</code> of <code>URI</code>
3768
+ * </p>
3769
+ * </li>
3770
+ * <li>
3771
+ * <p>A <code>PositionalConstraint</code> of <code>STARTS_WITH</code>
3772
+ * </p>
3773
+ * </li>
3774
+ * <li>
3775
+ * <p>A <code>TargetString</code> of <code>login</code>
3776
+ * </p>
3777
+ * </li>
3778
+ * </ul>
3779
+ * <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
3780
+ * <p>By adding this <code>RateBasedRule</code> to a <code>WebACL</code>, you could limit requests to your login page without affecting the rest of your site.</p>
3781
+ */
3782
+ public updateRateBasedRule(
3783
+ args: UpdateRateBasedRuleCommandInput,
3784
+ options?: __HttpHandlerOptions
3785
+ ): Promise<UpdateRateBasedRuleCommandOutput>;
3786
+ public updateRateBasedRule(
3787
+ args: UpdateRateBasedRuleCommandInput,
3788
+ cb: (err: any, data?: UpdateRateBasedRuleCommandOutput) => void
3789
+ ): void;
3790
+ public updateRateBasedRule(
3791
+ args: UpdateRateBasedRuleCommandInput,
3792
+ options: __HttpHandlerOptions,
3793
+ cb: (err: any, data?: UpdateRateBasedRuleCommandOutput) => void
3794
+ ): void;
3795
+ public updateRateBasedRule(
3796
+ args: UpdateRateBasedRuleCommandInput,
3797
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRateBasedRuleCommandOutput) => void),
3798
+ cb?: (err: any, data?: UpdateRateBasedRuleCommandOutput) => void
3799
+ ): Promise<UpdateRateBasedRuleCommandOutput> | void {
3800
+ const command = new UpdateRateBasedRuleCommand(args);
3801
+ if (typeof optionsOrCb === "function") {
3802
+ this.send(command, optionsOrCb);
3803
+ } else if (typeof cb === "function") {
3804
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3805
+ this.send(command, optionsOrCb || {}, cb);
3806
+ } else {
3807
+ return this.send(command, optionsOrCb);
3808
+ }
3809
+ }
3810
+
3811
+ /**
3812
+ * <note>
3813
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
3814
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
3815
+ * WAF Classic</a> in the developer guide.</p>
3816
+ * <p>
3817
+ * <b>For the latest version of AWS
3818
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
3819
+ * </note>
3820
+ * <p>Inserts or deletes <a>RegexMatchTuple</a> objects (filters) in a <a>RegexMatchSet</a>. For each <code>RegexMatchSetUpdate</code> object,
3821
+ * you specify the following values: </p>
3822
+ * <ul>
3823
+ * <li>
3824
+ * <p>Whether to insert or delete the object from the array. If you want to change a <code>RegexMatchSetUpdate</code> object,
3825
+ * you delete the existing object and add a new one.</p>
3826
+ * </li>
3827
+ * <li>
3828
+ * <p>The part of a web request that you want AWS WAF to inspectupdate, such as a query string or the value of the <code>User-Agent</code> header. </p>
3829
+ * </li>
3830
+ * <li>
3831
+ * <p>The identifier of the pattern (a regular expression) that you want AWS WAF to look for. For more information, see <a>RegexPatternSet</a>. </p>
3832
+ * </li>
3833
+ * <li>
3834
+ * <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p>
3835
+ * </li>
3836
+ * </ul>
3837
+ * <p> For example, you can create a <code>RegexPatternSet</code> that matches any requests with <code>User-Agent</code> headers
3838
+ * that contain the string <code>B[a@]dB[o0]t</code>. You can then configure AWS WAF to reject those requests.</p>
3839
+ * <p>To create and configure a <code>RegexMatchSet</code>, perform the following steps:</p>
3840
+ * <ol>
3841
+ * <li>
3842
+ * <p>Create a <code>RegexMatchSet.</code> For more information, see <a>CreateRegexMatchSet</a>.</p>
3843
+ * </li>
3844
+ * <li>
3845
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
3846
+ * <code>UpdateRegexMatchSet</code> request.</p>
3847
+ * </li>
3848
+ * <li>
3849
+ * <p>Submit an <code>UpdateRegexMatchSet</code> request to specify the part of the request that you want AWS WAF to inspect
3850
+ * (for example, the header or the URI) and the identifier of the <code>RegexPatternSet</code> that contain the regular expression patters you want AWS WAF to watch for.</p>
3851
+ * </li>
3852
+ * </ol>
3853
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
3854
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
3855
+ */
3856
+ public updateRegexMatchSet(
3857
+ args: UpdateRegexMatchSetCommandInput,
3858
+ options?: __HttpHandlerOptions
3859
+ ): Promise<UpdateRegexMatchSetCommandOutput>;
3860
+ public updateRegexMatchSet(
3861
+ args: UpdateRegexMatchSetCommandInput,
3862
+ cb: (err: any, data?: UpdateRegexMatchSetCommandOutput) => void
3863
+ ): void;
3864
+ public updateRegexMatchSet(
3865
+ args: UpdateRegexMatchSetCommandInput,
3866
+ options: __HttpHandlerOptions,
3867
+ cb: (err: any, data?: UpdateRegexMatchSetCommandOutput) => void
3868
+ ): void;
3869
+ public updateRegexMatchSet(
3870
+ args: UpdateRegexMatchSetCommandInput,
3871
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRegexMatchSetCommandOutput) => void),
3872
+ cb?: (err: any, data?: UpdateRegexMatchSetCommandOutput) => void
3873
+ ): Promise<UpdateRegexMatchSetCommandOutput> | void {
3874
+ const command = new UpdateRegexMatchSetCommand(args);
3875
+ if (typeof optionsOrCb === "function") {
3876
+ this.send(command, optionsOrCb);
3877
+ } else if (typeof cb === "function") {
3878
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3879
+ this.send(command, optionsOrCb || {}, cb);
3880
+ } else {
3881
+ return this.send(command, optionsOrCb);
3882
+ }
3883
+ }
3884
+
3885
+ /**
3886
+ * <note>
3887
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
3888
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
3889
+ * WAF Classic</a> in the developer guide.</p>
3890
+ * <p>
3891
+ * <b>For the latest version of AWS
3892
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
3893
+ * </note>
3894
+ * <p>Inserts or deletes <code>RegexPatternString</code> objects in a <a>RegexPatternSet</a>. For each <code>RegexPatternString</code> object,
3895
+ * you specify the following values: </p>
3896
+ * <ul>
3897
+ * <li>
3898
+ * <p>Whether to insert or delete the <code>RegexPatternString</code>.</p>
3899
+ * </li>
3900
+ * <li>
3901
+ * <p>The regular expression pattern that you want to insert or delete. For more information, see <a>RegexPatternSet</a>. </p>
3902
+ * </li>
3903
+ * </ul>
3904
+ * <p> For example, you can create a <code>RegexPatternString</code> such as <code>B[a@]dB[o0]t</code>. AWS WAF will match this <code>RegexPatternString</code> to:</p>
3905
+ * <ul>
3906
+ * <li>
3907
+ * <p>BadBot</p>
3908
+ * </li>
3909
+ * <li>
3910
+ * <p>BadB0t</p>
3911
+ * </li>
3912
+ * <li>
3913
+ * <p>B@dBot</p>
3914
+ * </li>
3915
+ * <li>
3916
+ * <p>B@dB0t</p>
3917
+ * </li>
3918
+ * </ul>
3919
+ * <p>To create and configure a <code>RegexPatternSet</code>, perform the following steps:</p>
3920
+ * <ol>
3921
+ * <li>
3922
+ * <p>Create a <code>RegexPatternSet.</code> For more information, see <a>CreateRegexPatternSet</a>.</p>
3923
+ * </li>
3924
+ * <li>
3925
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
3926
+ * <code>UpdateRegexPatternSet</code> request.</p>
3927
+ * </li>
3928
+ * <li>
3929
+ * <p>Submit an <code>UpdateRegexPatternSet</code> request to specify the regular expression pattern that you want AWS WAF to watch for.</p>
3930
+ * </li>
3931
+ * </ol>
3932
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
3933
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
3934
+ */
3935
+ public updateRegexPatternSet(
3936
+ args: UpdateRegexPatternSetCommandInput,
3937
+ options?: __HttpHandlerOptions
3938
+ ): Promise<UpdateRegexPatternSetCommandOutput>;
3939
+ public updateRegexPatternSet(
3940
+ args: UpdateRegexPatternSetCommandInput,
3941
+ cb: (err: any, data?: UpdateRegexPatternSetCommandOutput) => void
3942
+ ): void;
3943
+ public updateRegexPatternSet(
3944
+ args: UpdateRegexPatternSetCommandInput,
3945
+ options: __HttpHandlerOptions,
3946
+ cb: (err: any, data?: UpdateRegexPatternSetCommandOutput) => void
3947
+ ): void;
3948
+ public updateRegexPatternSet(
3949
+ args: UpdateRegexPatternSetCommandInput,
3950
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRegexPatternSetCommandOutput) => void),
3951
+ cb?: (err: any, data?: UpdateRegexPatternSetCommandOutput) => void
3952
+ ): Promise<UpdateRegexPatternSetCommandOutput> | void {
3953
+ const command = new UpdateRegexPatternSetCommand(args);
3954
+ if (typeof optionsOrCb === "function") {
3955
+ this.send(command, optionsOrCb);
3956
+ } else if (typeof cb === "function") {
3957
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3958
+ this.send(command, optionsOrCb || {}, cb);
3959
+ } else {
3960
+ return this.send(command, optionsOrCb);
3961
+ }
3962
+ }
3963
+
3964
+ /**
3965
+ * <note>
3966
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
3967
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
3968
+ * WAF Classic</a> in the developer guide.</p>
3969
+ * <p>
3970
+ * <b>For the latest version of AWS
3971
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
3972
+ * </note>
3973
+ * <p>Inserts or deletes <a>Predicate</a> objects in a <code>Rule</code>. Each
3974
+ * <code>Predicate</code> object identifies a predicate, such as a <a>ByteMatchSet</a> or an <a>IPSet</a>, that specifies the web requests
3975
+ * that you want to allow, block, or count. If you add more than one predicate to a
3976
+ * <code>Rule</code>, a request must match all of the specifications to be allowed,
3977
+ * blocked, or counted. For example, suppose
3978
+ * that
3979
+ * you add the following to a <code>Rule</code>: </p>
3980
+ * <ul>
3981
+ * <li>
3982
+ * <p>A <code>ByteMatchSet</code> that matches the value <code>BadBot</code> in the <code>User-Agent</code> header</p>
3983
+ * </li>
3984
+ * <li>
3985
+ * <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44</code>
3986
+ * </p>
3987
+ * </li>
3988
+ * </ul>
3989
+ * <p>You then add the <code>Rule</code> to a <code>WebACL</code> and specify that you want to block requests that satisfy the <code>Rule</code>.
3990
+ * For a request to be blocked, the <code>User-Agent</code> header in the request must contain the value <code>BadBot</code>
3991
+ * <i>and</i> the request must originate from the IP address 192.0.2.44.</p>
3992
+ * <p>To create and configure a <code>Rule</code>, perform the following steps:</p>
3993
+ * <ol>
3994
+ * <li>
3995
+ * <p>Create and update the predicates that you want to include in the <code>Rule</code>.</p>
3996
+ * </li>
3997
+ * <li>
3998
+ * <p>Create the <code>Rule</code>. See <a>CreateRule</a>.</p>
3999
+ * </li>
4000
+ * <li>
4001
+ * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
4002
+ * <a>UpdateRule</a> request.</p>
4003
+ * </li>
4004
+ * <li>
4005
+ * <p>Submit an <code>UpdateRule</code> request to add predicates to the <code>Rule</code>.</p>
4006
+ * </li>
4007
+ * <li>
4008
+ * <p>Create and update a <code>WebACL</code> that contains the <code>Rule</code>. See <a>CreateWebACL</a>.</p>
4009
+ * </li>
4010
+ * </ol>
4011
+ * <p>If you want to replace one <code>ByteMatchSet</code> or <code>IPSet</code> with another, you delete the existing one and
4012
+ * add the new one.</p>
4013
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
4014
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
4015
+ */
4016
+ public updateRule(args: UpdateRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRuleCommandOutput>;
4017
+ public updateRule(args: UpdateRuleCommandInput, cb: (err: any, data?: UpdateRuleCommandOutput) => void): void;
4018
+ public updateRule(
4019
+ args: UpdateRuleCommandInput,
4020
+ options: __HttpHandlerOptions,
4021
+ cb: (err: any, data?: UpdateRuleCommandOutput) => void
4022
+ ): void;
4023
+ public updateRule(
4024
+ args: UpdateRuleCommandInput,
4025
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRuleCommandOutput) => void),
4026
+ cb?: (err: any, data?: UpdateRuleCommandOutput) => void
4027
+ ): Promise<UpdateRuleCommandOutput> | void {
4028
+ const command = new UpdateRuleCommand(args);
4029
+ if (typeof optionsOrCb === "function") {
4030
+ this.send(command, optionsOrCb);
4031
+ } else if (typeof cb === "function") {
4032
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4033
+ this.send(command, optionsOrCb || {}, cb);
4034
+ } else {
4035
+ return this.send(command, optionsOrCb);
4036
+ }
4037
+ }
4038
+
4039
+ /**
4040
+ * <note>
4041
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
4042
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
4043
+ * WAF Classic</a> in the developer guide.</p>
4044
+ * <p>
4045
+ * <b>For the latest version of AWS
4046
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
4047
+ * </note>
4048
+ * <p>Inserts or deletes <a>ActivatedRule</a> objects in a <code>RuleGroup</code>.</p>
4049
+ * <p>You can only insert <code>REGULAR</code> rules into a rule group.</p>
4050
+ * <p>You can have a maximum of ten rules per rule group.</p>
4051
+ *
4052
+ *
4053
+ * <p>To create and configure a <code>RuleGroup</code>, perform the following steps:</p>
4054
+ * <ol>
4055
+ * <li>
4056
+ * <p>Create and update the <code>Rules</code> that you want to include in the <code>RuleGroup</code>. See <a>CreateRule</a>.</p>
4057
+ * </li>
4058
+ * <li>
4059
+ * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
4060
+ * <a>UpdateRuleGroup</a> request.</p>
4061
+ * </li>
4062
+ * <li>
4063
+ * <p>Submit an <code>UpdateRuleGroup</code> request to add <code>Rules</code> to the <code>RuleGroup</code>.</p>
4064
+ * </li>
4065
+ * <li>
4066
+ * <p>Create and update a <code>WebACL</code> that contains the <code>RuleGroup</code>. See <a>CreateWebACL</a>.</p>
4067
+ * </li>
4068
+ * </ol>
4069
+ * <p>If you want to replace one <code>Rule</code> with another, you delete the existing one and
4070
+ * add the new one.</p>
4071
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
4072
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
4073
+ */
4074
+ public updateRuleGroup(
4075
+ args: UpdateRuleGroupCommandInput,
4076
+ options?: __HttpHandlerOptions
4077
+ ): Promise<UpdateRuleGroupCommandOutput>;
4078
+ public updateRuleGroup(
4079
+ args: UpdateRuleGroupCommandInput,
4080
+ cb: (err: any, data?: UpdateRuleGroupCommandOutput) => void
4081
+ ): void;
4082
+ public updateRuleGroup(
4083
+ args: UpdateRuleGroupCommandInput,
4084
+ options: __HttpHandlerOptions,
4085
+ cb: (err: any, data?: UpdateRuleGroupCommandOutput) => void
4086
+ ): void;
4087
+ public updateRuleGroup(
4088
+ args: UpdateRuleGroupCommandInput,
4089
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRuleGroupCommandOutput) => void),
4090
+ cb?: (err: any, data?: UpdateRuleGroupCommandOutput) => void
4091
+ ): Promise<UpdateRuleGroupCommandOutput> | void {
4092
+ const command = new UpdateRuleGroupCommand(args);
4093
+ if (typeof optionsOrCb === "function") {
4094
+ this.send(command, optionsOrCb);
4095
+ } else if (typeof cb === "function") {
4096
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4097
+ this.send(command, optionsOrCb || {}, cb);
4098
+ } else {
4099
+ return this.send(command, optionsOrCb);
4100
+ }
4101
+ }
4102
+
4103
+ /**
4104
+ * <note>
4105
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
4106
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
4107
+ * WAF Classic</a> in the developer guide.</p>
4108
+ * <p>
4109
+ * <b>For the latest version of AWS
4110
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
4111
+ * </note>
4112
+ * <p>Inserts or deletes <a>SizeConstraint</a> objects (filters) in a <a>SizeConstraintSet</a>. For each <code>SizeConstraint</code> object,
4113
+ * you specify the following values: </p>
4114
+ * <ul>
4115
+ * <li>
4116
+ * <p>Whether to insert or delete the object from the array. If you want to change a <code>SizeConstraintSetUpdate</code> object,
4117
+ * you delete the existing object and add a new one.</p>
4118
+ * </li>
4119
+ * <li>
4120
+ * <p>The part of a web request that you want AWS WAF to evaluate, such as the length of a query string or the length of the
4121
+ * <code>User-Agent</code> header.</p>
4122
+ * </li>
4123
+ * <li>
4124
+ * <p>Whether to perform any transformations on the request, such as converting it to lowercase, before checking its length.
4125
+ * Note that transformations of the request body are not supported because the AWS resource forwards only the first <code>8192</code> bytes
4126
+ * of your request to AWS WAF.</p>
4127
+ * <p>You can only specify a single type of TextTransformation.</p>
4128
+ * </li>
4129
+ * <li>
4130
+ * <p>A <code>ComparisonOperator</code> used for evaluating the selected part of the request against the specified <code>Size</code>, such as
4131
+ * equals, greater than, less than, and so on.</p>
4132
+ * </li>
4133
+ * <li>
4134
+ * <p>The length, in bytes, that you want AWS WAF to watch for in selected part of the request. The length is computed after applying the transformation.</p>
4135
+ * </li>
4136
+ * </ul>
4137
+ * <p>For example, you can add a <code>SizeConstraintSetUpdate</code> object that matches web requests in which the length of the
4138
+ * <code>User-Agent</code> header is greater than 100 bytes. You can then configure AWS WAF to block those requests.</p>
4139
+ * <p>To create and configure a <code>SizeConstraintSet</code>, perform the following steps:</p>
4140
+ * <ol>
4141
+ * <li>
4142
+ * <p>Create a <code>SizeConstraintSet.</code> For more information, see <a>CreateSizeConstraintSet</a>.</p>
4143
+ * </li>
4144
+ * <li>
4145
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
4146
+ * <code>UpdateSizeConstraintSet</code> request.</p>
4147
+ * </li>
4148
+ * <li>
4149
+ * <p>Submit an <code>UpdateSizeConstraintSet</code> request to specify the part of the request that you want AWS WAF to inspect
4150
+ * (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
4151
+ * </li>
4152
+ * </ol>
4153
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
4154
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
4155
+ */
4156
+ public updateSizeConstraintSet(
4157
+ args: UpdateSizeConstraintSetCommandInput,
4158
+ options?: __HttpHandlerOptions
4159
+ ): Promise<UpdateSizeConstraintSetCommandOutput>;
4160
+ public updateSizeConstraintSet(
4161
+ args: UpdateSizeConstraintSetCommandInput,
4162
+ cb: (err: any, data?: UpdateSizeConstraintSetCommandOutput) => void
4163
+ ): void;
4164
+ public updateSizeConstraintSet(
4165
+ args: UpdateSizeConstraintSetCommandInput,
4166
+ options: __HttpHandlerOptions,
4167
+ cb: (err: any, data?: UpdateSizeConstraintSetCommandOutput) => void
4168
+ ): void;
4169
+ public updateSizeConstraintSet(
4170
+ args: UpdateSizeConstraintSetCommandInput,
4171
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateSizeConstraintSetCommandOutput) => void),
4172
+ cb?: (err: any, data?: UpdateSizeConstraintSetCommandOutput) => void
4173
+ ): Promise<UpdateSizeConstraintSetCommandOutput> | void {
4174
+ const command = new UpdateSizeConstraintSetCommand(args);
4175
+ if (typeof optionsOrCb === "function") {
4176
+ this.send(command, optionsOrCb);
4177
+ } else if (typeof cb === "function") {
4178
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4179
+ this.send(command, optionsOrCb || {}, cb);
4180
+ } else {
4181
+ return this.send(command, optionsOrCb);
4182
+ }
4183
+ }
4184
+
4185
+ /**
4186
+ * <note>
4187
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
4188
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
4189
+ * WAF Classic</a> in the developer guide.</p>
4190
+ * <p>
4191
+ * <b>For the latest version of AWS
4192
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
4193
+ * </note>
4194
+ * <p>Inserts or deletes <a>SqlInjectionMatchTuple</a> objects (filters) in a <a>SqlInjectionMatchSet</a>.
4195
+ * For each <code>SqlInjectionMatchTuple</code> object, you specify the following values:</p>
4196
+ * <ul>
4197
+ * <li>
4198
+ * <p>
4199
+ * <code>Action</code>: Whether to insert the object into or delete the object from the array. To change a
4200
+ * <code>SqlInjectionMatchTuple</code>, you delete the existing object and add a new one.</p>
4201
+ * </li>
4202
+ * <li>
4203
+ * <p>
4204
+ * <code>FieldToMatch</code>: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header or custom query parameter,
4205
+ * the name of the header or parameter.</p>
4206
+ * </li>
4207
+ * <li>
4208
+ * <p>
4209
+ * <code>TextTransformation</code>: Which text transformation, if any, to perform on the web request before
4210
+ * inspecting the request for snippets of malicious SQL code.</p>
4211
+ * <p>You can only specify a single type of TextTransformation.</p>
4212
+ * </li>
4213
+ * </ul>
4214
+ * <p>You use <code>SqlInjectionMatchSet</code> objects to specify which CloudFront
4215
+ * requests that
4216
+ * you want to allow, block, or count. For example, if you're receiving
4217
+ * requests that contain snippets of SQL code in the query string and you want to block the
4218
+ * requests, you can create a <code>SqlInjectionMatchSet</code> with the applicable settings,
4219
+ * and then configure AWS WAF to block the requests. </p>
4220
+ * <p>To create and configure a <code>SqlInjectionMatchSet</code>, perform the following steps:</p>
4221
+ * <ol>
4222
+ * <li>
4223
+ * <p>Submit a <a>CreateSqlInjectionMatchSet</a> request.</p>
4224
+ * </li>
4225
+ * <li>
4226
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
4227
+ * <a>UpdateIPSet</a> request.</p>
4228
+ * </li>
4229
+ * <li>
4230
+ * <p>Submit an <code>UpdateSqlInjectionMatchSet</code> request to specify the parts of web requests that you want AWS WAF to
4231
+ * inspect for snippets of SQL code.</p>
4232
+ * </li>
4233
+ * </ol>
4234
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
4235
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
4236
+ */
4237
+ public updateSqlInjectionMatchSet(
4238
+ args: UpdateSqlInjectionMatchSetCommandInput,
4239
+ options?: __HttpHandlerOptions
4240
+ ): Promise<UpdateSqlInjectionMatchSetCommandOutput>;
4241
+ public updateSqlInjectionMatchSet(
4242
+ args: UpdateSqlInjectionMatchSetCommandInput,
4243
+ cb: (err: any, data?: UpdateSqlInjectionMatchSetCommandOutput) => void
4244
+ ): void;
4245
+ public updateSqlInjectionMatchSet(
4246
+ args: UpdateSqlInjectionMatchSetCommandInput,
4247
+ options: __HttpHandlerOptions,
4248
+ cb: (err: any, data?: UpdateSqlInjectionMatchSetCommandOutput) => void
4249
+ ): void;
4250
+ public updateSqlInjectionMatchSet(
4251
+ args: UpdateSqlInjectionMatchSetCommandInput,
4252
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateSqlInjectionMatchSetCommandOutput) => void),
4253
+ cb?: (err: any, data?: UpdateSqlInjectionMatchSetCommandOutput) => void
4254
+ ): Promise<UpdateSqlInjectionMatchSetCommandOutput> | void {
4255
+ const command = new UpdateSqlInjectionMatchSetCommand(args);
4256
+ if (typeof optionsOrCb === "function") {
4257
+ this.send(command, optionsOrCb);
4258
+ } else if (typeof cb === "function") {
4259
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4260
+ this.send(command, optionsOrCb || {}, cb);
4261
+ } else {
4262
+ return this.send(command, optionsOrCb);
4263
+ }
4264
+ }
4265
+
4266
+ /**
4267
+ * <note>
4268
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
4269
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
4270
+ * WAF Classic</a> in the developer guide.</p>
4271
+ * <p>
4272
+ * <b>For the latest version of AWS
4273
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
4274
+ * </note>
4275
+ * <p>Inserts or deletes <a>ActivatedRule</a> objects in a <code>WebACL</code>. Each <code>Rule</code> identifies
4276
+ * web requests that you want to allow, block, or count. When you update a <code>WebACL</code>, you specify the following values:</p>
4277
+ * <ul>
4278
+ * <li>
4279
+ * <p>A default action for the <code>WebACL</code>, either <code>ALLOW</code> or <code>BLOCK</code>.
4280
+ * AWS WAF performs the default action if a request doesn't match the criteria in any of the <code>Rules</code> in a <code>WebACL</code>.</p>
4281
+ * </li>
4282
+ * <li>
4283
+ * <p>The <code>Rules</code> that you want to add
4284
+ * or
4285
+ * delete. If you want to replace one <code>Rule</code> with another, you delete the
4286
+ * existing <code>Rule</code> and add the new one.</p>
4287
+ * </li>
4288
+ * <li>
4289
+ * <p>For each <code>Rule</code>, whether you want AWS WAF to allow requests, block requests, or count requests that match
4290
+ * the conditions in the <code>Rule</code>.</p>
4291
+ * </li>
4292
+ * <li>
4293
+ * <p>The order in which you want AWS WAF to evaluate the <code>Rules</code> in a
4294
+ * <code>WebACL</code>. If you add more than one <code>Rule</code> to a
4295
+ * <code>WebACL</code>, AWS WAF evaluates each request against the <code>Rules</code>
4296
+ * in order based on the value of <code>Priority</code>. (The <code>Rule</code> that has
4297
+ * the lowest value for <code>Priority</code> is evaluated first.) When a web request
4298
+ * matches all
4299
+ * the
4300
+ * predicates (such as <code>ByteMatchSets</code> and <code>IPSets</code>) in a
4301
+ * <code>Rule</code>, AWS WAF immediately takes the corresponding action, allow or
4302
+ * block, and doesn't evaluate the request against the remaining <code>Rules</code> in
4303
+ * the <code>WebACL</code>, if any. </p>
4304
+ * </li>
4305
+ * </ul>
4306
+ *
4307
+ * <p>To create and configure a <code>WebACL</code>, perform the following steps:</p>
4308
+ * <ol>
4309
+ * <li>
4310
+ * <p>Create and update the predicates that you want to include in <code>Rules</code>.
4311
+ * For more information, see <a>CreateByteMatchSet</a>, <a>UpdateByteMatchSet</a>, <a>CreateIPSet</a>, <a>UpdateIPSet</a>,
4312
+ * <a>CreateSqlInjectionMatchSet</a>, and <a>UpdateSqlInjectionMatchSet</a>.</p>
4313
+ * </li>
4314
+ * <li>
4315
+ * <p>Create and update the <code>Rules</code> that you want to include in the <code>WebACL</code>. For more information, see
4316
+ * <a>CreateRule</a> and <a>UpdateRule</a>.</p>
4317
+ * </li>
4318
+ * <li>
4319
+ * <p>Create a <code>WebACL</code>. See <a>CreateWebACL</a>.</p>
4320
+ * </li>
4321
+ * <li>
4322
+ * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
4323
+ * <a>UpdateWebACL</a> request.</p>
4324
+ * </li>
4325
+ * <li>
4326
+ * <p>Submit an <code>UpdateWebACL</code> request to specify the <code>Rules</code>
4327
+ * that you want to include in the <code>WebACL</code>, to specify the default action,
4328
+ * and to associate the <code>WebACL</code> with a CloudFront distribution. </p>
4329
+ * <p>The <code>ActivatedRule</code> can be a rule group. If you specify a rule group
4330
+ * as your
4331
+ * <code>ActivatedRule</code>
4332
+ * ,
4333
+ * you can exclude specific rules from that rule group.</p>
4334
+ * <p>If you already have a rule group associated with a web ACL and want to submit
4335
+ * an <code>UpdateWebACL</code> request to exclude certain rules from that rule group,
4336
+ * you must first remove the rule group from the web ACL, the re-insert it again,
4337
+ * specifying the excluded rules.
4338
+ * For details,
4339
+ * see
4340
+ * <a>ActivatedRule$ExcludedRules</a>
4341
+ * .
4342
+ * </p>
4343
+ * </li>
4344
+ * </ol>
4345
+ * <p>Be aware that if you try to add a RATE_BASED rule to a web ACL without setting the rule type when first creating the rule, the <a>UpdateWebACL</a> request will fail because the request tries to add a REGULAR rule (the default rule type) with the specified ID, which does not exist. </p>
4346
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
4347
+ */
4348
+ public updateWebACL(
4349
+ args: UpdateWebACLCommandInput,
4350
+ options?: __HttpHandlerOptions
4351
+ ): Promise<UpdateWebACLCommandOutput>;
4352
+ public updateWebACL(args: UpdateWebACLCommandInput, cb: (err: any, data?: UpdateWebACLCommandOutput) => void): void;
4353
+ public updateWebACL(
4354
+ args: UpdateWebACLCommandInput,
4355
+ options: __HttpHandlerOptions,
4356
+ cb: (err: any, data?: UpdateWebACLCommandOutput) => void
4357
+ ): void;
4358
+ public updateWebACL(
4359
+ args: UpdateWebACLCommandInput,
4360
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateWebACLCommandOutput) => void),
4361
+ cb?: (err: any, data?: UpdateWebACLCommandOutput) => void
4362
+ ): Promise<UpdateWebACLCommandOutput> | void {
4363
+ const command = new UpdateWebACLCommand(args);
4364
+ if (typeof optionsOrCb === "function") {
4365
+ this.send(command, optionsOrCb);
4366
+ } else if (typeof cb === "function") {
4367
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4368
+ this.send(command, optionsOrCb || {}, cb);
4369
+ } else {
4370
+ return this.send(command, optionsOrCb);
4371
+ }
4372
+ }
4373
+
4374
+ /**
4375
+ * <note>
4376
+ * <p>This is <b>AWS WAF Classic</b> documentation. For
4377
+ * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
4378
+ * WAF Classic</a> in the developer guide.</p>
4379
+ * <p>
4380
+ * <b>For the latest version of AWS
4381
+ * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
4382
+ * </note>
4383
+ * <p>Inserts or deletes <a>XssMatchTuple</a> objects (filters) in an <a>XssMatchSet</a>.
4384
+ * For each <code>XssMatchTuple</code> object, you specify the following values:</p>
4385
+ * <ul>
4386
+ * <li>
4387
+ * <p>
4388
+ * <code>Action</code>: Whether to insert the object into or delete the object from the
4389
+ * array. To change an
4390
+ * <code>XssMatchTuple</code>, you delete the existing object and add a new
4391
+ * one.</p>
4392
+ * </li>
4393
+ * <li>
4394
+ * <p>
4395
+ * <code>FieldToMatch</code>: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header or custom query parameter,
4396
+ * the name of the header or parameter.</p>
4397
+ * </li>
4398
+ * <li>
4399
+ * <p>
4400
+ * <code>TextTransformation</code>: Which text transformation, if any, to perform on the web request before
4401
+ * inspecting the request for cross-site scripting attacks.</p>
4402
+ * <p>You can only specify a single type of TextTransformation.</p>
4403
+ * </li>
4404
+ * </ul>
4405
+ * <p>You use <code>XssMatchSet</code> objects to specify which CloudFront requests
4406
+ * that
4407
+ * you want to allow, block, or count. For example, if you're receiving
4408
+ * requests that contain cross-site scripting attacks in the request body and you want to
4409
+ * block the requests, you can create an <code>XssMatchSet</code> with the applicable
4410
+ * settings, and then configure AWS WAF to block the requests. </p>
4411
+ * <p>To create and configure an <code>XssMatchSet</code>, perform the following steps:</p>
4412
+ * <ol>
4413
+ * <li>
4414
+ * <p>Submit a <a>CreateXssMatchSet</a> request.</p>
4415
+ * </li>
4416
+ * <li>
4417
+ * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
4418
+ * <a>UpdateIPSet</a> request.</p>
4419
+ * </li>
4420
+ * <li>
4421
+ * <p>Submit an <code>UpdateXssMatchSet</code> request to specify the parts of web requests that you want AWS WAF to
4422
+ * inspect for cross-site scripting attacks.</p>
4423
+ * </li>
4424
+ * </ol>
4425
+ * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
4426
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
4427
+ */
4428
+ public updateXssMatchSet(
4429
+ args: UpdateXssMatchSetCommandInput,
4430
+ options?: __HttpHandlerOptions
4431
+ ): Promise<UpdateXssMatchSetCommandOutput>;
4432
+ public updateXssMatchSet(
4433
+ args: UpdateXssMatchSetCommandInput,
4434
+ cb: (err: any, data?: UpdateXssMatchSetCommandOutput) => void
4435
+ ): void;
4436
+ public updateXssMatchSet(
4437
+ args: UpdateXssMatchSetCommandInput,
4438
+ options: __HttpHandlerOptions,
4439
+ cb: (err: any, data?: UpdateXssMatchSetCommandOutput) => void
4440
+ ): void;
4441
+ public updateXssMatchSet(
4442
+ args: UpdateXssMatchSetCommandInput,
4443
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateXssMatchSetCommandOutput) => void),
4444
+ cb?: (err: any, data?: UpdateXssMatchSetCommandOutput) => void
4445
+ ): Promise<UpdateXssMatchSetCommandOutput> | void {
4446
+ const command = new UpdateXssMatchSetCommand(args);
4447
+ if (typeof optionsOrCb === "function") {
4448
+ this.send(command, optionsOrCb);
4449
+ } else if (typeof cb === "function") {
4450
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4451
+ this.send(command, optionsOrCb || {}, cb);
4452
+ } else {
4453
+ return this.send(command, optionsOrCb);
4454
+ }
4455
+ }
4456
+ }