@aws-sdk/client-waf 3.32.0 → 3.36.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 (963) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist-cjs/WAF.js +1175 -0
  3. package/dist-cjs/WAFClient.js +53 -0
  4. package/dist-cjs/commands/CreateByteMatchSetCommand.js +91 -0
  5. package/dist-cjs/commands/CreateGeoMatchSetCommand.js +88 -0
  6. package/dist-cjs/commands/CreateIPSetCommand.js +93 -0
  7. package/dist-cjs/commands/CreateRateBasedRuleCommand.js +153 -0
  8. package/dist-cjs/commands/CreateRegexMatchSetCommand.js +91 -0
  9. package/dist-cjs/commands/CreateRegexPatternSetCommand.js +87 -0
  10. package/dist-cjs/commands/CreateRuleCommand.js +111 -0
  11. package/dist-cjs/commands/CreateRuleGroupCommand.js +82 -0
  12. package/dist-cjs/commands/CreateSizeConstraintSetCommand.js +91 -0
  13. package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js +89 -0
  14. package/dist-cjs/commands/CreateWebACLCommand.js +99 -0
  15. package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js +67 -0
  16. package/dist-cjs/commands/CreateXssMatchSetCommand.js +89 -0
  17. package/dist-cjs/commands/DeleteByteMatchSetCommand.js +83 -0
  18. package/dist-cjs/commands/DeleteGeoMatchSetCommand.js +83 -0
  19. package/dist-cjs/commands/DeleteIPSetCommand.js +83 -0
  20. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +69 -0
  21. package/dist-cjs/commands/DeletePermissionPolicyCommand.js +69 -0
  22. package/dist-cjs/commands/DeleteRateBasedRuleCommand.js +87 -0
  23. package/dist-cjs/commands/DeleteRegexMatchSetCommand.js +83 -0
  24. package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +69 -0
  25. package/dist-cjs/commands/DeleteRuleCommand.js +83 -0
  26. package/dist-cjs/commands/DeleteRuleGroupCommand.js +83 -0
  27. package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js +83 -0
  28. package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js +84 -0
  29. package/dist-cjs/commands/DeleteWebACLCommand.js +81 -0
  30. package/dist-cjs/commands/DeleteXssMatchSetCommand.js +84 -0
  31. package/dist-cjs/commands/GetByteMatchSetCommand.js +68 -0
  32. package/dist-cjs/commands/GetChangeTokenCommand.js +74 -0
  33. package/dist-cjs/commands/GetChangeTokenStatusCommand.js +84 -0
  34. package/dist-cjs/commands/GetGeoMatchSetCommand.js +68 -0
  35. package/dist-cjs/commands/GetIPSetCommand.js +68 -0
  36. package/dist-cjs/commands/GetLoggingConfigurationCommand.js +68 -0
  37. package/dist-cjs/commands/GetPermissionPolicyCommand.js +68 -0
  38. package/dist-cjs/commands/GetRateBasedRuleCommand.js +70 -0
  39. package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js +70 -0
  40. package/dist-cjs/commands/GetRegexMatchSetCommand.js +68 -0
  41. package/dist-cjs/commands/GetRegexPatternSetCommand.js +68 -0
  42. package/dist-cjs/commands/GetRuleCommand.js +68 -0
  43. package/dist-cjs/commands/GetRuleGroupCommand.js +69 -0
  44. package/dist-cjs/commands/GetSampledRequestsCommand.js +72 -0
  45. package/dist-cjs/commands/GetSizeConstraintSetCommand.js +68 -0
  46. package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js +68 -0
  47. package/dist-cjs/commands/GetWebACLCommand.js +68 -0
  48. package/dist-cjs/commands/GetXssMatchSetCommand.js +68 -0
  49. package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js +68 -0
  50. package/dist-cjs/commands/ListByteMatchSetsCommand.js +68 -0
  51. package/dist-cjs/commands/ListGeoMatchSetsCommand.js +68 -0
  52. package/dist-cjs/commands/ListIPSetsCommand.js +68 -0
  53. package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +68 -0
  54. package/dist-cjs/commands/ListRateBasedRulesCommand.js +68 -0
  55. package/dist-cjs/commands/ListRegexMatchSetsCommand.js +68 -0
  56. package/dist-cjs/commands/ListRegexPatternSetsCommand.js +68 -0
  57. package/dist-cjs/commands/ListRuleGroupsCommand.js +68 -0
  58. package/dist-cjs/commands/ListRulesCommand.js +68 -0
  59. package/dist-cjs/commands/ListSizeConstraintSetsCommand.js +68 -0
  60. package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js +68 -0
  61. package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js +68 -0
  62. package/dist-cjs/commands/ListTagsForResourceCommand.js +69 -0
  63. package/dist-cjs/commands/ListWebACLsCommand.js +68 -0
  64. package/dist-cjs/commands/ListXssMatchSetsCommand.js +68 -0
  65. package/dist-cjs/commands/PutLoggingConfigurationCommand.js +85 -0
  66. package/dist-cjs/commands/PutPermissionPolicyCommand.js +100 -0
  67. package/dist-cjs/commands/TagResourceCommand.js +69 -0
  68. package/dist-cjs/commands/UntagResourceCommand.js +68 -0
  69. package/dist-cjs/commands/UpdateByteMatchSetCommand.js +106 -0
  70. package/dist-cjs/commands/UpdateGeoMatchSetCommand.js +98 -0
  71. package/dist-cjs/commands/UpdateIPSetCommand.js +133 -0
  72. package/dist-cjs/commands/UpdateRateBasedRuleCommand.js +114 -0
  73. package/dist-cjs/commands/UpdateRegexMatchSetCommand.js +102 -0
  74. package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +107 -0
  75. package/dist-cjs/commands/UpdateRuleCommand.js +109 -0
  76. package/dist-cjs/commands/UpdateRuleGroupCommand.js +92 -0
  77. package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js +110 -0
  78. package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js +109 -0
  79. package/dist-cjs/commands/UpdateWebACLCommand.js +139 -0
  80. package/dist-cjs/commands/UpdateXssMatchSetCommand.js +111 -0
  81. package/dist-cjs/endpoints.js +67 -0
  82. package/dist-cjs/index.js +83 -0
  83. package/dist-cjs/models/index.js +4 -0
  84. package/dist-cjs/models/models_0.js +2436 -0
  85. package/dist-cjs/protocols/Aws_json1_1.js +9199 -0
  86. package/dist-cjs/runtimeConfig.browser.js +41 -0
  87. package/dist-cjs/runtimeConfig.js +46 -0
  88. package/dist-cjs/runtimeConfig.native.js +19 -0
  89. package/dist-cjs/runtimeConfig.shared.js +20 -0
  90. package/dist-es/WAF.js +1165 -0
  91. package/dist-es/WAFClient.js +37 -0
  92. package/dist-es/commands/CreateByteMatchSetCommand.js +39 -0
  93. package/dist-es/commands/CreateGeoMatchSetCommand.js +39 -0
  94. package/dist-es/commands/CreateIPSetCommand.js +39 -0
  95. package/dist-es/commands/CreateRateBasedRuleCommand.js +39 -0
  96. package/dist-es/commands/CreateRegexMatchSetCommand.js +39 -0
  97. package/dist-es/commands/CreateRegexPatternSetCommand.js +39 -0
  98. package/dist-es/commands/CreateRuleCommand.js +39 -0
  99. package/dist-es/commands/CreateRuleGroupCommand.js +39 -0
  100. package/dist-es/commands/CreateSizeConstraintSetCommand.js +39 -0
  101. package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js +39 -0
  102. package/dist-es/commands/CreateWebACLCommand.js +39 -0
  103. package/dist-es/commands/CreateWebACLMigrationStackCommand.js +39 -0
  104. package/dist-es/commands/CreateXssMatchSetCommand.js +39 -0
  105. package/dist-es/commands/DeleteByteMatchSetCommand.js +39 -0
  106. package/dist-es/commands/DeleteGeoMatchSetCommand.js +39 -0
  107. package/dist-es/commands/DeleteIPSetCommand.js +39 -0
  108. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +39 -0
  109. package/dist-es/commands/DeletePermissionPolicyCommand.js +39 -0
  110. package/dist-es/commands/DeleteRateBasedRuleCommand.js +39 -0
  111. package/dist-es/commands/DeleteRegexMatchSetCommand.js +39 -0
  112. package/dist-es/commands/DeleteRegexPatternSetCommand.js +39 -0
  113. package/dist-es/commands/DeleteRuleCommand.js +39 -0
  114. package/dist-es/commands/DeleteRuleGroupCommand.js +39 -0
  115. package/dist-es/commands/DeleteSizeConstraintSetCommand.js +39 -0
  116. package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js +39 -0
  117. package/dist-es/commands/DeleteWebACLCommand.js +39 -0
  118. package/dist-es/commands/DeleteXssMatchSetCommand.js +39 -0
  119. package/dist-es/commands/GetByteMatchSetCommand.js +39 -0
  120. package/dist-es/commands/GetChangeTokenCommand.js +39 -0
  121. package/dist-es/commands/GetChangeTokenStatusCommand.js +39 -0
  122. package/dist-es/commands/GetGeoMatchSetCommand.js +39 -0
  123. package/dist-es/commands/GetIPSetCommand.js +39 -0
  124. package/dist-es/commands/GetLoggingConfigurationCommand.js +39 -0
  125. package/dist-es/commands/GetPermissionPolicyCommand.js +39 -0
  126. package/dist-es/commands/GetRateBasedRuleCommand.js +39 -0
  127. package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js +39 -0
  128. package/dist-es/commands/GetRegexMatchSetCommand.js +39 -0
  129. package/dist-es/commands/GetRegexPatternSetCommand.js +39 -0
  130. package/dist-es/commands/GetRuleCommand.js +39 -0
  131. package/dist-es/commands/GetRuleGroupCommand.js +39 -0
  132. package/dist-es/commands/GetSampledRequestsCommand.js +39 -0
  133. package/dist-es/commands/GetSizeConstraintSetCommand.js +39 -0
  134. package/dist-es/commands/GetSqlInjectionMatchSetCommand.js +39 -0
  135. package/dist-es/commands/GetWebACLCommand.js +39 -0
  136. package/dist-es/commands/GetXssMatchSetCommand.js +39 -0
  137. package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js +39 -0
  138. package/dist-es/commands/ListByteMatchSetsCommand.js +39 -0
  139. package/dist-es/commands/ListGeoMatchSetsCommand.js +39 -0
  140. package/dist-es/commands/ListIPSetsCommand.js +39 -0
  141. package/dist-es/commands/ListLoggingConfigurationsCommand.js +39 -0
  142. package/dist-es/commands/ListRateBasedRulesCommand.js +39 -0
  143. package/dist-es/commands/ListRegexMatchSetsCommand.js +39 -0
  144. package/dist-es/commands/ListRegexPatternSetsCommand.js +39 -0
  145. package/dist-es/commands/ListRuleGroupsCommand.js +39 -0
  146. package/dist-es/commands/ListRulesCommand.js +39 -0
  147. package/dist-es/commands/ListSizeConstraintSetsCommand.js +39 -0
  148. package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js +39 -0
  149. package/dist-es/commands/ListSubscribedRuleGroupsCommand.js +39 -0
  150. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  151. package/dist-es/commands/ListWebACLsCommand.js +39 -0
  152. package/dist-es/commands/ListXssMatchSetsCommand.js +39 -0
  153. package/dist-es/commands/PutLoggingConfigurationCommand.js +39 -0
  154. package/dist-es/commands/PutPermissionPolicyCommand.js +39 -0
  155. package/dist-es/commands/TagResourceCommand.js +39 -0
  156. package/dist-es/commands/UntagResourceCommand.js +39 -0
  157. package/dist-es/commands/UpdateByteMatchSetCommand.js +39 -0
  158. package/dist-es/commands/UpdateGeoMatchSetCommand.js +39 -0
  159. package/dist-es/commands/UpdateIPSetCommand.js +39 -0
  160. package/dist-es/commands/UpdateRateBasedRuleCommand.js +39 -0
  161. package/dist-es/commands/UpdateRegexMatchSetCommand.js +39 -0
  162. package/dist-es/commands/UpdateRegexPatternSetCommand.js +39 -0
  163. package/dist-es/commands/UpdateRuleCommand.js +39 -0
  164. package/dist-es/commands/UpdateRuleGroupCommand.js +39 -0
  165. package/dist-es/commands/UpdateSizeConstraintSetCommand.js +39 -0
  166. package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js +39 -0
  167. package/dist-es/commands/UpdateWebACLCommand.js +39 -0
  168. package/dist-es/commands/UpdateXssMatchSetCommand.js +39 -0
  169. package/dist-es/endpoints.js +63 -0
  170. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  171. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  172. package/dist-es/models/models_0.js +1290 -0
  173. package/dist-es/protocols/Aws_json1_1.js +9604 -0
  174. package/dist-es/runtimeConfig.browser.js +16 -0
  175. package/dist-es/runtimeConfig.js +21 -0
  176. package/dist-es/runtimeConfig.native.js +8 -0
  177. package/dist-es/runtimeConfig.shared.js +13 -0
  178. package/dist-types/WAF.d.ts +2287 -0
  179. package/dist-types/WAFClient.d.ts +219 -0
  180. package/dist-types/commands/CreateByteMatchSetCommand.d.ts +66 -0
  181. package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +63 -0
  182. package/dist-types/commands/CreateIPSetCommand.d.ts +68 -0
  183. package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +128 -0
  184. package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +66 -0
  185. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +62 -0
  186. package/dist-types/commands/CreateRuleCommand.d.ts +86 -0
  187. package/dist-types/commands/CreateRuleGroupCommand.d.ts +57 -0
  188. package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +66 -0
  189. package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +64 -0
  190. package/dist-types/commands/CreateWebACLCommand.d.ts +74 -0
  191. package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +42 -0
  192. package/dist-types/commands/CreateXssMatchSetCommand.d.ts +64 -0
  193. package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +58 -0
  194. package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +58 -0
  195. package/dist-types/commands/DeleteIPSetCommand.d.ts +58 -0
  196. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +44 -0
  197. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +44 -0
  198. package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +62 -0
  199. package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +58 -0
  200. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +44 -0
  201. package/dist-types/commands/DeleteRuleCommand.d.ts +58 -0
  202. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +58 -0
  203. package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +58 -0
  204. package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +59 -0
  205. package/dist-types/commands/DeleteWebACLCommand.d.ts +56 -0
  206. package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +59 -0
  207. package/dist-types/commands/GetByteMatchSetCommand.d.ts +43 -0
  208. package/dist-types/commands/GetChangeTokenCommand.d.ts +49 -0
  209. package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +59 -0
  210. package/dist-types/commands/GetGeoMatchSetCommand.d.ts +43 -0
  211. package/dist-types/commands/GetIPSetCommand.d.ts +43 -0
  212. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +43 -0
  213. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +43 -0
  214. package/dist-types/commands/GetRateBasedRuleCommand.d.ts +45 -0
  215. package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +45 -0
  216. package/dist-types/commands/GetRegexMatchSetCommand.d.ts +43 -0
  217. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +43 -0
  218. package/dist-types/commands/GetRuleCommand.d.ts +43 -0
  219. package/dist-types/commands/GetRuleGroupCommand.d.ts +44 -0
  220. package/dist-types/commands/GetSampledRequestsCommand.d.ts +47 -0
  221. package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +43 -0
  222. package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +43 -0
  223. package/dist-types/commands/GetWebACLCommand.d.ts +43 -0
  224. package/dist-types/commands/GetXssMatchSetCommand.d.ts +43 -0
  225. package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +43 -0
  226. package/dist-types/commands/ListByteMatchSetsCommand.d.ts +43 -0
  227. package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +43 -0
  228. package/dist-types/commands/ListIPSetsCommand.d.ts +43 -0
  229. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +43 -0
  230. package/dist-types/commands/ListRateBasedRulesCommand.d.ts +43 -0
  231. package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +43 -0
  232. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +43 -0
  233. package/dist-types/commands/ListRuleGroupsCommand.d.ts +43 -0
  234. package/dist-types/commands/ListRulesCommand.d.ts +43 -0
  235. package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +43 -0
  236. package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +43 -0
  237. package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +43 -0
  238. package/dist-types/commands/ListTagsForResourceCommand.d.ts +44 -0
  239. package/dist-types/commands/ListWebACLsCommand.d.ts +43 -0
  240. package/dist-types/commands/ListXssMatchSetsCommand.d.ts +43 -0
  241. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +60 -0
  242. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +75 -0
  243. package/dist-types/commands/TagResourceCommand.d.ts +44 -0
  244. package/dist-types/commands/UntagResourceCommand.d.ts +43 -0
  245. package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +81 -0
  246. package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +73 -0
  247. package/dist-types/commands/UpdateIPSetCommand.d.ts +108 -0
  248. package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +89 -0
  249. package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +77 -0
  250. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +82 -0
  251. package/dist-types/commands/UpdateRuleCommand.d.ts +84 -0
  252. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +67 -0
  253. package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +85 -0
  254. package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +84 -0
  255. package/dist-types/commands/UpdateWebACLCommand.d.ts +114 -0
  256. package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +86 -0
  257. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  258. package/{index.ts → dist-types/index.d.ts} +0 -0
  259. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  260. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  261. package/dist-types/protocols/Aws_json1_1.d.ts +233 -0
  262. package/dist-types/runtimeConfig.browser.d.ts +37 -0
  263. package/dist-types/runtimeConfig.d.ts +37 -0
  264. package/dist-types/runtimeConfig.native.d.ts +36 -0
  265. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  266. package/dist-types/ts3.4/WAF.d.ts +2287 -0
  267. package/dist-types/ts3.4/WAFClient.d.ts +219 -0
  268. package/dist-types/ts3.4/commands/CreateByteMatchSetCommand.d.ts +66 -0
  269. package/dist-types/ts3.4/commands/CreateGeoMatchSetCommand.d.ts +63 -0
  270. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +68 -0
  271. package/dist-types/ts3.4/commands/CreateRateBasedRuleCommand.d.ts +128 -0
  272. package/dist-types/ts3.4/commands/CreateRegexMatchSetCommand.d.ts +66 -0
  273. package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +62 -0
  274. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +86 -0
  275. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +57 -0
  276. package/dist-types/ts3.4/commands/CreateSizeConstraintSetCommand.d.ts +66 -0
  277. package/dist-types/ts3.4/commands/CreateSqlInjectionMatchSetCommand.d.ts +64 -0
  278. package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +74 -0
  279. package/dist-types/ts3.4/commands/CreateWebACLMigrationStackCommand.d.ts +42 -0
  280. package/dist-types/ts3.4/commands/CreateXssMatchSetCommand.d.ts +64 -0
  281. package/dist-types/ts3.4/commands/DeleteByteMatchSetCommand.d.ts +58 -0
  282. package/dist-types/ts3.4/commands/DeleteGeoMatchSetCommand.d.ts +58 -0
  283. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +58 -0
  284. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +44 -0
  285. package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +44 -0
  286. package/dist-types/ts3.4/commands/DeleteRateBasedRuleCommand.d.ts +62 -0
  287. package/dist-types/ts3.4/commands/DeleteRegexMatchSetCommand.d.ts +58 -0
  288. package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +44 -0
  289. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +58 -0
  290. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +58 -0
  291. package/dist-types/ts3.4/commands/DeleteSizeConstraintSetCommand.d.ts +58 -0
  292. package/dist-types/ts3.4/commands/DeleteSqlInjectionMatchSetCommand.d.ts +59 -0
  293. package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +56 -0
  294. package/dist-types/ts3.4/commands/DeleteXssMatchSetCommand.d.ts +59 -0
  295. package/dist-types/ts3.4/commands/GetByteMatchSetCommand.d.ts +43 -0
  296. package/dist-types/ts3.4/commands/GetChangeTokenCommand.d.ts +49 -0
  297. package/dist-types/ts3.4/commands/GetChangeTokenStatusCommand.d.ts +59 -0
  298. package/dist-types/ts3.4/commands/GetGeoMatchSetCommand.d.ts +43 -0
  299. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +43 -0
  300. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +43 -0
  301. package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +43 -0
  302. package/dist-types/ts3.4/commands/GetRateBasedRuleCommand.d.ts +45 -0
  303. package/dist-types/ts3.4/commands/GetRateBasedRuleManagedKeysCommand.d.ts +45 -0
  304. package/dist-types/ts3.4/commands/GetRegexMatchSetCommand.d.ts +43 -0
  305. package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +43 -0
  306. package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +43 -0
  307. package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +44 -0
  308. package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +47 -0
  309. package/dist-types/ts3.4/commands/GetSizeConstraintSetCommand.d.ts +43 -0
  310. package/dist-types/ts3.4/commands/GetSqlInjectionMatchSetCommand.d.ts +43 -0
  311. package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +43 -0
  312. package/dist-types/ts3.4/commands/GetXssMatchSetCommand.d.ts +43 -0
  313. package/dist-types/ts3.4/commands/ListActivatedRulesInRuleGroupCommand.d.ts +43 -0
  314. package/dist-types/ts3.4/commands/ListByteMatchSetsCommand.d.ts +43 -0
  315. package/dist-types/ts3.4/commands/ListGeoMatchSetsCommand.d.ts +43 -0
  316. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +43 -0
  317. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +43 -0
  318. package/dist-types/ts3.4/commands/ListRateBasedRulesCommand.d.ts +43 -0
  319. package/dist-types/ts3.4/commands/ListRegexMatchSetsCommand.d.ts +43 -0
  320. package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +43 -0
  321. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +43 -0
  322. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +43 -0
  323. package/dist-types/ts3.4/commands/ListSizeConstraintSetsCommand.d.ts +43 -0
  324. package/dist-types/ts3.4/commands/ListSqlInjectionMatchSetsCommand.d.ts +43 -0
  325. package/dist-types/ts3.4/commands/ListSubscribedRuleGroupsCommand.d.ts +43 -0
  326. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +44 -0
  327. package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +43 -0
  328. package/dist-types/ts3.4/commands/ListXssMatchSetsCommand.d.ts +43 -0
  329. package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +60 -0
  330. package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +75 -0
  331. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +44 -0
  332. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +43 -0
  333. package/dist-types/ts3.4/commands/UpdateByteMatchSetCommand.d.ts +81 -0
  334. package/dist-types/ts3.4/commands/UpdateGeoMatchSetCommand.d.ts +73 -0
  335. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +108 -0
  336. package/dist-types/ts3.4/commands/UpdateRateBasedRuleCommand.d.ts +89 -0
  337. package/dist-types/ts3.4/commands/UpdateRegexMatchSetCommand.d.ts +77 -0
  338. package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +82 -0
  339. package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +84 -0
  340. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +67 -0
  341. package/dist-types/ts3.4/commands/UpdateSizeConstraintSetCommand.d.ts +85 -0
  342. package/dist-types/ts3.4/commands/UpdateSqlInjectionMatchSetCommand.d.ts +84 -0
  343. package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +114 -0
  344. package/dist-types/ts3.4/commands/UpdateXssMatchSetCommand.d.ts +86 -0
  345. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  346. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  347. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  348. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  349. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +233 -0
  350. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
  351. package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
  352. package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
  353. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  354. package/package.json +52 -49
  355. package/WAF.ts +0 -4455
  356. package/WAFClient.ts +0 -575
  357. package/commands/CreateByteMatchSetCommand.ts +0 -125
  358. package/commands/CreateGeoMatchSetCommand.ts +0 -122
  359. package/commands/CreateIPSetCommand.ts +0 -127
  360. package/commands/CreateRateBasedRuleCommand.ts +0 -187
  361. package/commands/CreateRegexMatchSetCommand.ts +0 -125
  362. package/commands/CreateRegexPatternSetCommand.ts +0 -121
  363. package/commands/CreateRuleCommand.ts +0 -145
  364. package/commands/CreateRuleGroupCommand.ts +0 -116
  365. package/commands/CreateSizeConstraintSetCommand.ts +0 -125
  366. package/commands/CreateSqlInjectionMatchSetCommand.ts +0 -126
  367. package/commands/CreateWebACLCommand.ts +0 -133
  368. package/commands/CreateWebACLMigrationStackCommand.ts +0 -104
  369. package/commands/CreateXssMatchSetCommand.ts +0 -123
  370. package/commands/DeleteByteMatchSetCommand.ts +0 -117
  371. package/commands/DeleteGeoMatchSetCommand.ts +0 -117
  372. package/commands/DeleteIPSetCommand.ts +0 -117
  373. package/commands/DeleteLoggingConfigurationCommand.ts +0 -106
  374. package/commands/DeletePermissionPolicyCommand.ts +0 -103
  375. package/commands/DeleteRateBasedRuleCommand.ts +0 -121
  376. package/commands/DeleteRegexMatchSetCommand.ts +0 -117
  377. package/commands/DeleteRegexPatternSetCommand.ts +0 -103
  378. package/commands/DeleteRuleCommand.ts +0 -117
  379. package/commands/DeleteRuleGroupCommand.ts +0 -117
  380. package/commands/DeleteSizeConstraintSetCommand.ts +0 -117
  381. package/commands/DeleteSqlInjectionMatchSetCommand.ts +0 -121
  382. package/commands/DeleteWebACLCommand.ts +0 -115
  383. package/commands/DeleteXssMatchSetCommand.ts +0 -118
  384. package/commands/GetByteMatchSetCommand.ts +0 -102
  385. package/commands/GetChangeTokenCommand.ts +0 -108
  386. package/commands/GetChangeTokenStatusCommand.ts +0 -118
  387. package/commands/GetGeoMatchSetCommand.ts +0 -102
  388. package/commands/GetIPSetCommand.ts +0 -95
  389. package/commands/GetLoggingConfigurationCommand.ts +0 -102
  390. package/commands/GetPermissionPolicyCommand.ts +0 -102
  391. package/commands/GetRateBasedRuleCommand.ts +0 -104
  392. package/commands/GetRateBasedRuleManagedKeysCommand.ts +0 -109
  393. package/commands/GetRegexMatchSetCommand.ts +0 -102
  394. package/commands/GetRegexPatternSetCommand.ts +0 -102
  395. package/commands/GetRuleCommand.ts +0 -95
  396. package/commands/GetRuleGroupCommand.ts +0 -103
  397. package/commands/GetSampledRequestsCommand.ts +0 -106
  398. package/commands/GetSizeConstraintSetCommand.ts +0 -102
  399. package/commands/GetSqlInjectionMatchSetCommand.ts +0 -102
  400. package/commands/GetWebACLCommand.ts +0 -95
  401. package/commands/GetXssMatchSetCommand.ts +0 -102
  402. package/commands/ListActivatedRulesInRuleGroupCommand.ts +0 -107
  403. package/commands/ListByteMatchSetsCommand.ts +0 -102
  404. package/commands/ListGeoMatchSetsCommand.ts +0 -102
  405. package/commands/ListIPSetsCommand.ts +0 -102
  406. package/commands/ListLoggingConfigurationsCommand.ts +0 -105
  407. package/commands/ListRateBasedRulesCommand.ts +0 -102
  408. package/commands/ListRegexMatchSetsCommand.ts +0 -102
  409. package/commands/ListRegexPatternSetsCommand.ts +0 -102
  410. package/commands/ListRuleGroupsCommand.ts +0 -102
  411. package/commands/ListRulesCommand.ts +0 -95
  412. package/commands/ListSizeConstraintSetsCommand.ts +0 -102
  413. package/commands/ListSqlInjectionMatchSetsCommand.ts +0 -105
  414. package/commands/ListSubscribedRuleGroupsCommand.ts +0 -102
  415. package/commands/ListTagsForResourceCommand.ts +0 -103
  416. package/commands/ListWebACLsCommand.ts +0 -102
  417. package/commands/ListXssMatchSetsCommand.ts +0 -102
  418. package/commands/PutLoggingConfigurationCommand.ts +0 -119
  419. package/commands/PutPermissionPolicyCommand.ts +0 -134
  420. package/commands/TagResourceCommand.ts +0 -103
  421. package/commands/UntagResourceCommand.ts +0 -102
  422. package/commands/UpdateByteMatchSetCommand.ts +0 -140
  423. package/commands/UpdateGeoMatchSetCommand.ts +0 -132
  424. package/commands/UpdateIPSetCommand.ts +0 -167
  425. package/commands/UpdateRateBasedRuleCommand.ts +0 -148
  426. package/commands/UpdateRegexMatchSetCommand.ts +0 -136
  427. package/commands/UpdateRegexPatternSetCommand.ts +0 -141
  428. package/commands/UpdateRuleCommand.ts +0 -143
  429. package/commands/UpdateRuleGroupCommand.ts +0 -126
  430. package/commands/UpdateSizeConstraintSetCommand.ts +0 -144
  431. package/commands/UpdateSqlInjectionMatchSetCommand.ts +0 -146
  432. package/commands/UpdateWebACLCommand.ts +0 -173
  433. package/commands/UpdateXssMatchSetCommand.ts +0 -145
  434. package/dist/cjs/WAF.js +0 -1176
  435. package/dist/cjs/WAF.js.map +0 -1
  436. package/dist/cjs/WAFClient.js +0 -54
  437. package/dist/cjs/WAFClient.js.map +0 -1
  438. package/dist/cjs/commands/CreateByteMatchSetCommand.js +0 -92
  439. package/dist/cjs/commands/CreateByteMatchSetCommand.js.map +0 -1
  440. package/dist/cjs/commands/CreateGeoMatchSetCommand.js +0 -89
  441. package/dist/cjs/commands/CreateGeoMatchSetCommand.js.map +0 -1
  442. package/dist/cjs/commands/CreateIPSetCommand.js +0 -94
  443. package/dist/cjs/commands/CreateIPSetCommand.js.map +0 -1
  444. package/dist/cjs/commands/CreateRateBasedRuleCommand.js +0 -154
  445. package/dist/cjs/commands/CreateRateBasedRuleCommand.js.map +0 -1
  446. package/dist/cjs/commands/CreateRegexMatchSetCommand.js +0 -92
  447. package/dist/cjs/commands/CreateRegexMatchSetCommand.js.map +0 -1
  448. package/dist/cjs/commands/CreateRegexPatternSetCommand.js +0 -88
  449. package/dist/cjs/commands/CreateRegexPatternSetCommand.js.map +0 -1
  450. package/dist/cjs/commands/CreateRuleCommand.js +0 -112
  451. package/dist/cjs/commands/CreateRuleCommand.js.map +0 -1
  452. package/dist/cjs/commands/CreateRuleGroupCommand.js +0 -83
  453. package/dist/cjs/commands/CreateRuleGroupCommand.js.map +0 -1
  454. package/dist/cjs/commands/CreateSizeConstraintSetCommand.js +0 -92
  455. package/dist/cjs/commands/CreateSizeConstraintSetCommand.js.map +0 -1
  456. package/dist/cjs/commands/CreateSqlInjectionMatchSetCommand.js +0 -90
  457. package/dist/cjs/commands/CreateSqlInjectionMatchSetCommand.js.map +0 -1
  458. package/dist/cjs/commands/CreateWebACLCommand.js +0 -100
  459. package/dist/cjs/commands/CreateWebACLCommand.js.map +0 -1
  460. package/dist/cjs/commands/CreateWebACLMigrationStackCommand.js +0 -68
  461. package/dist/cjs/commands/CreateWebACLMigrationStackCommand.js.map +0 -1
  462. package/dist/cjs/commands/CreateXssMatchSetCommand.js +0 -90
  463. package/dist/cjs/commands/CreateXssMatchSetCommand.js.map +0 -1
  464. package/dist/cjs/commands/DeleteByteMatchSetCommand.js +0 -84
  465. package/dist/cjs/commands/DeleteByteMatchSetCommand.js.map +0 -1
  466. package/dist/cjs/commands/DeleteGeoMatchSetCommand.js +0 -84
  467. package/dist/cjs/commands/DeleteGeoMatchSetCommand.js.map +0 -1
  468. package/dist/cjs/commands/DeleteIPSetCommand.js +0 -84
  469. package/dist/cjs/commands/DeleteIPSetCommand.js.map +0 -1
  470. package/dist/cjs/commands/DeleteLoggingConfigurationCommand.js +0 -70
  471. package/dist/cjs/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
  472. package/dist/cjs/commands/DeletePermissionPolicyCommand.js +0 -70
  473. package/dist/cjs/commands/DeletePermissionPolicyCommand.js.map +0 -1
  474. package/dist/cjs/commands/DeleteRateBasedRuleCommand.js +0 -88
  475. package/dist/cjs/commands/DeleteRateBasedRuleCommand.js.map +0 -1
  476. package/dist/cjs/commands/DeleteRegexMatchSetCommand.js +0 -84
  477. package/dist/cjs/commands/DeleteRegexMatchSetCommand.js.map +0 -1
  478. package/dist/cjs/commands/DeleteRegexPatternSetCommand.js +0 -70
  479. package/dist/cjs/commands/DeleteRegexPatternSetCommand.js.map +0 -1
  480. package/dist/cjs/commands/DeleteRuleCommand.js +0 -84
  481. package/dist/cjs/commands/DeleteRuleCommand.js.map +0 -1
  482. package/dist/cjs/commands/DeleteRuleGroupCommand.js +0 -84
  483. package/dist/cjs/commands/DeleteRuleGroupCommand.js.map +0 -1
  484. package/dist/cjs/commands/DeleteSizeConstraintSetCommand.js +0 -84
  485. package/dist/cjs/commands/DeleteSizeConstraintSetCommand.js.map +0 -1
  486. package/dist/cjs/commands/DeleteSqlInjectionMatchSetCommand.js +0 -85
  487. package/dist/cjs/commands/DeleteSqlInjectionMatchSetCommand.js.map +0 -1
  488. package/dist/cjs/commands/DeleteWebACLCommand.js +0 -82
  489. package/dist/cjs/commands/DeleteWebACLCommand.js.map +0 -1
  490. package/dist/cjs/commands/DeleteXssMatchSetCommand.js +0 -85
  491. package/dist/cjs/commands/DeleteXssMatchSetCommand.js.map +0 -1
  492. package/dist/cjs/commands/GetByteMatchSetCommand.js +0 -69
  493. package/dist/cjs/commands/GetByteMatchSetCommand.js.map +0 -1
  494. package/dist/cjs/commands/GetChangeTokenCommand.js +0 -75
  495. package/dist/cjs/commands/GetChangeTokenCommand.js.map +0 -1
  496. package/dist/cjs/commands/GetChangeTokenStatusCommand.js +0 -85
  497. package/dist/cjs/commands/GetChangeTokenStatusCommand.js.map +0 -1
  498. package/dist/cjs/commands/GetGeoMatchSetCommand.js +0 -69
  499. package/dist/cjs/commands/GetGeoMatchSetCommand.js.map +0 -1
  500. package/dist/cjs/commands/GetIPSetCommand.js +0 -69
  501. package/dist/cjs/commands/GetIPSetCommand.js.map +0 -1
  502. package/dist/cjs/commands/GetLoggingConfigurationCommand.js +0 -69
  503. package/dist/cjs/commands/GetLoggingConfigurationCommand.js.map +0 -1
  504. package/dist/cjs/commands/GetPermissionPolicyCommand.js +0 -69
  505. package/dist/cjs/commands/GetPermissionPolicyCommand.js.map +0 -1
  506. package/dist/cjs/commands/GetRateBasedRuleCommand.js +0 -71
  507. package/dist/cjs/commands/GetRateBasedRuleCommand.js.map +0 -1
  508. package/dist/cjs/commands/GetRateBasedRuleManagedKeysCommand.js +0 -71
  509. package/dist/cjs/commands/GetRateBasedRuleManagedKeysCommand.js.map +0 -1
  510. package/dist/cjs/commands/GetRegexMatchSetCommand.js +0 -69
  511. package/dist/cjs/commands/GetRegexMatchSetCommand.js.map +0 -1
  512. package/dist/cjs/commands/GetRegexPatternSetCommand.js +0 -69
  513. package/dist/cjs/commands/GetRegexPatternSetCommand.js.map +0 -1
  514. package/dist/cjs/commands/GetRuleCommand.js +0 -69
  515. package/dist/cjs/commands/GetRuleCommand.js.map +0 -1
  516. package/dist/cjs/commands/GetRuleGroupCommand.js +0 -70
  517. package/dist/cjs/commands/GetRuleGroupCommand.js.map +0 -1
  518. package/dist/cjs/commands/GetSampledRequestsCommand.js +0 -73
  519. package/dist/cjs/commands/GetSampledRequestsCommand.js.map +0 -1
  520. package/dist/cjs/commands/GetSizeConstraintSetCommand.js +0 -69
  521. package/dist/cjs/commands/GetSizeConstraintSetCommand.js.map +0 -1
  522. package/dist/cjs/commands/GetSqlInjectionMatchSetCommand.js +0 -69
  523. package/dist/cjs/commands/GetSqlInjectionMatchSetCommand.js.map +0 -1
  524. package/dist/cjs/commands/GetWebACLCommand.js +0 -69
  525. package/dist/cjs/commands/GetWebACLCommand.js.map +0 -1
  526. package/dist/cjs/commands/GetXssMatchSetCommand.js +0 -69
  527. package/dist/cjs/commands/GetXssMatchSetCommand.js.map +0 -1
  528. package/dist/cjs/commands/ListActivatedRulesInRuleGroupCommand.js +0 -69
  529. package/dist/cjs/commands/ListActivatedRulesInRuleGroupCommand.js.map +0 -1
  530. package/dist/cjs/commands/ListByteMatchSetsCommand.js +0 -69
  531. package/dist/cjs/commands/ListByteMatchSetsCommand.js.map +0 -1
  532. package/dist/cjs/commands/ListGeoMatchSetsCommand.js +0 -69
  533. package/dist/cjs/commands/ListGeoMatchSetsCommand.js.map +0 -1
  534. package/dist/cjs/commands/ListIPSetsCommand.js +0 -69
  535. package/dist/cjs/commands/ListIPSetsCommand.js.map +0 -1
  536. package/dist/cjs/commands/ListLoggingConfigurationsCommand.js +0 -69
  537. package/dist/cjs/commands/ListLoggingConfigurationsCommand.js.map +0 -1
  538. package/dist/cjs/commands/ListRateBasedRulesCommand.js +0 -69
  539. package/dist/cjs/commands/ListRateBasedRulesCommand.js.map +0 -1
  540. package/dist/cjs/commands/ListRegexMatchSetsCommand.js +0 -69
  541. package/dist/cjs/commands/ListRegexMatchSetsCommand.js.map +0 -1
  542. package/dist/cjs/commands/ListRegexPatternSetsCommand.js +0 -69
  543. package/dist/cjs/commands/ListRegexPatternSetsCommand.js.map +0 -1
  544. package/dist/cjs/commands/ListRuleGroupsCommand.js +0 -69
  545. package/dist/cjs/commands/ListRuleGroupsCommand.js.map +0 -1
  546. package/dist/cjs/commands/ListRulesCommand.js +0 -69
  547. package/dist/cjs/commands/ListRulesCommand.js.map +0 -1
  548. package/dist/cjs/commands/ListSizeConstraintSetsCommand.js +0 -69
  549. package/dist/cjs/commands/ListSizeConstraintSetsCommand.js.map +0 -1
  550. package/dist/cjs/commands/ListSqlInjectionMatchSetsCommand.js +0 -69
  551. package/dist/cjs/commands/ListSqlInjectionMatchSetsCommand.js.map +0 -1
  552. package/dist/cjs/commands/ListSubscribedRuleGroupsCommand.js +0 -69
  553. package/dist/cjs/commands/ListSubscribedRuleGroupsCommand.js.map +0 -1
  554. package/dist/cjs/commands/ListTagsForResourceCommand.js +0 -70
  555. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  556. package/dist/cjs/commands/ListWebACLsCommand.js +0 -69
  557. package/dist/cjs/commands/ListWebACLsCommand.js.map +0 -1
  558. package/dist/cjs/commands/ListXssMatchSetsCommand.js +0 -69
  559. package/dist/cjs/commands/ListXssMatchSetsCommand.js.map +0 -1
  560. package/dist/cjs/commands/PutLoggingConfigurationCommand.js +0 -86
  561. package/dist/cjs/commands/PutLoggingConfigurationCommand.js.map +0 -1
  562. package/dist/cjs/commands/PutPermissionPolicyCommand.js +0 -101
  563. package/dist/cjs/commands/PutPermissionPolicyCommand.js.map +0 -1
  564. package/dist/cjs/commands/TagResourceCommand.js +0 -70
  565. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  566. package/dist/cjs/commands/UntagResourceCommand.js +0 -69
  567. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  568. package/dist/cjs/commands/UpdateByteMatchSetCommand.js +0 -107
  569. package/dist/cjs/commands/UpdateByteMatchSetCommand.js.map +0 -1
  570. package/dist/cjs/commands/UpdateGeoMatchSetCommand.js +0 -99
  571. package/dist/cjs/commands/UpdateGeoMatchSetCommand.js.map +0 -1
  572. package/dist/cjs/commands/UpdateIPSetCommand.js +0 -134
  573. package/dist/cjs/commands/UpdateIPSetCommand.js.map +0 -1
  574. package/dist/cjs/commands/UpdateRateBasedRuleCommand.js +0 -115
  575. package/dist/cjs/commands/UpdateRateBasedRuleCommand.js.map +0 -1
  576. package/dist/cjs/commands/UpdateRegexMatchSetCommand.js +0 -103
  577. package/dist/cjs/commands/UpdateRegexMatchSetCommand.js.map +0 -1
  578. package/dist/cjs/commands/UpdateRegexPatternSetCommand.js +0 -108
  579. package/dist/cjs/commands/UpdateRegexPatternSetCommand.js.map +0 -1
  580. package/dist/cjs/commands/UpdateRuleCommand.js +0 -110
  581. package/dist/cjs/commands/UpdateRuleCommand.js.map +0 -1
  582. package/dist/cjs/commands/UpdateRuleGroupCommand.js +0 -93
  583. package/dist/cjs/commands/UpdateRuleGroupCommand.js.map +0 -1
  584. package/dist/cjs/commands/UpdateSizeConstraintSetCommand.js +0 -111
  585. package/dist/cjs/commands/UpdateSizeConstraintSetCommand.js.map +0 -1
  586. package/dist/cjs/commands/UpdateSqlInjectionMatchSetCommand.js +0 -110
  587. package/dist/cjs/commands/UpdateSqlInjectionMatchSetCommand.js.map +0 -1
  588. package/dist/cjs/commands/UpdateWebACLCommand.js +0 -140
  589. package/dist/cjs/commands/UpdateWebACLCommand.js.map +0 -1
  590. package/dist/cjs/commands/UpdateXssMatchSetCommand.js +0 -112
  591. package/dist/cjs/commands/UpdateXssMatchSetCommand.js.map +0 -1
  592. package/dist/cjs/endpoints.js +0 -68
  593. package/dist/cjs/endpoints.js.map +0 -1
  594. package/dist/cjs/index.js +0 -84
  595. package/dist/cjs/index.js.map +0 -1
  596. package/dist/cjs/models/index.js +0 -5
  597. package/dist/cjs/models/index.js.map +0 -1
  598. package/dist/cjs/models/models_0.js +0 -2437
  599. package/dist/cjs/models/models_0.js.map +0 -1
  600. package/dist/cjs/package.json +0 -91
  601. package/dist/cjs/protocols/Aws_json1_1.js +0 -9200
  602. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  603. package/dist/cjs/runtimeConfig.browser.js +0 -41
  604. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  605. package/dist/cjs/runtimeConfig.js +0 -46
  606. package/dist/cjs/runtimeConfig.js.map +0 -1
  607. package/dist/cjs/runtimeConfig.native.js +0 -20
  608. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  609. package/dist/cjs/runtimeConfig.shared.js +0 -21
  610. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  611. package/dist/es/WAF.js +0 -1179
  612. package/dist/es/WAF.js.map +0 -1
  613. package/dist/es/WAFClient.js +0 -56
  614. package/dist/es/WAFClient.js.map +0 -1
  615. package/dist/es/commands/CreateByteMatchSetCommand.js +0 -96
  616. package/dist/es/commands/CreateByteMatchSetCommand.js.map +0 -1
  617. package/dist/es/commands/CreateGeoMatchSetCommand.js +0 -93
  618. package/dist/es/commands/CreateGeoMatchSetCommand.js.map +0 -1
  619. package/dist/es/commands/CreateIPSetCommand.js +0 -98
  620. package/dist/es/commands/CreateIPSetCommand.js.map +0 -1
  621. package/dist/es/commands/CreateRateBasedRuleCommand.js +0 -158
  622. package/dist/es/commands/CreateRateBasedRuleCommand.js.map +0 -1
  623. package/dist/es/commands/CreateRegexMatchSetCommand.js +0 -96
  624. package/dist/es/commands/CreateRegexMatchSetCommand.js.map +0 -1
  625. package/dist/es/commands/CreateRegexPatternSetCommand.js +0 -92
  626. package/dist/es/commands/CreateRegexPatternSetCommand.js.map +0 -1
  627. package/dist/es/commands/CreateRuleCommand.js +0 -116
  628. package/dist/es/commands/CreateRuleCommand.js.map +0 -1
  629. package/dist/es/commands/CreateRuleGroupCommand.js +0 -87
  630. package/dist/es/commands/CreateRuleGroupCommand.js.map +0 -1
  631. package/dist/es/commands/CreateSizeConstraintSetCommand.js +0 -96
  632. package/dist/es/commands/CreateSizeConstraintSetCommand.js.map +0 -1
  633. package/dist/es/commands/CreateSqlInjectionMatchSetCommand.js +0 -94
  634. package/dist/es/commands/CreateSqlInjectionMatchSetCommand.js.map +0 -1
  635. package/dist/es/commands/CreateWebACLCommand.js +0 -104
  636. package/dist/es/commands/CreateWebACLCommand.js.map +0 -1
  637. package/dist/es/commands/CreateWebACLMigrationStackCommand.js +0 -72
  638. package/dist/es/commands/CreateWebACLMigrationStackCommand.js.map +0 -1
  639. package/dist/es/commands/CreateXssMatchSetCommand.js +0 -94
  640. package/dist/es/commands/CreateXssMatchSetCommand.js.map +0 -1
  641. package/dist/es/commands/DeleteByteMatchSetCommand.js +0 -88
  642. package/dist/es/commands/DeleteByteMatchSetCommand.js.map +0 -1
  643. package/dist/es/commands/DeleteGeoMatchSetCommand.js +0 -88
  644. package/dist/es/commands/DeleteGeoMatchSetCommand.js.map +0 -1
  645. package/dist/es/commands/DeleteIPSetCommand.js +0 -88
  646. package/dist/es/commands/DeleteIPSetCommand.js.map +0 -1
  647. package/dist/es/commands/DeleteLoggingConfigurationCommand.js +0 -74
  648. package/dist/es/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
  649. package/dist/es/commands/DeletePermissionPolicyCommand.js +0 -74
  650. package/dist/es/commands/DeletePermissionPolicyCommand.js.map +0 -1
  651. package/dist/es/commands/DeleteRateBasedRuleCommand.js +0 -92
  652. package/dist/es/commands/DeleteRateBasedRuleCommand.js.map +0 -1
  653. package/dist/es/commands/DeleteRegexMatchSetCommand.js +0 -88
  654. package/dist/es/commands/DeleteRegexMatchSetCommand.js.map +0 -1
  655. package/dist/es/commands/DeleteRegexPatternSetCommand.js +0 -74
  656. package/dist/es/commands/DeleteRegexPatternSetCommand.js.map +0 -1
  657. package/dist/es/commands/DeleteRuleCommand.js +0 -88
  658. package/dist/es/commands/DeleteRuleCommand.js.map +0 -1
  659. package/dist/es/commands/DeleteRuleGroupCommand.js +0 -88
  660. package/dist/es/commands/DeleteRuleGroupCommand.js.map +0 -1
  661. package/dist/es/commands/DeleteSizeConstraintSetCommand.js +0 -88
  662. package/dist/es/commands/DeleteSizeConstraintSetCommand.js.map +0 -1
  663. package/dist/es/commands/DeleteSqlInjectionMatchSetCommand.js +0 -89
  664. package/dist/es/commands/DeleteSqlInjectionMatchSetCommand.js.map +0 -1
  665. package/dist/es/commands/DeleteWebACLCommand.js +0 -86
  666. package/dist/es/commands/DeleteWebACLCommand.js.map +0 -1
  667. package/dist/es/commands/DeleteXssMatchSetCommand.js +0 -89
  668. package/dist/es/commands/DeleteXssMatchSetCommand.js.map +0 -1
  669. package/dist/es/commands/GetByteMatchSetCommand.js +0 -73
  670. package/dist/es/commands/GetByteMatchSetCommand.js.map +0 -1
  671. package/dist/es/commands/GetChangeTokenCommand.js +0 -79
  672. package/dist/es/commands/GetChangeTokenCommand.js.map +0 -1
  673. package/dist/es/commands/GetChangeTokenStatusCommand.js +0 -89
  674. package/dist/es/commands/GetChangeTokenStatusCommand.js.map +0 -1
  675. package/dist/es/commands/GetGeoMatchSetCommand.js +0 -73
  676. package/dist/es/commands/GetGeoMatchSetCommand.js.map +0 -1
  677. package/dist/es/commands/GetIPSetCommand.js +0 -73
  678. package/dist/es/commands/GetIPSetCommand.js.map +0 -1
  679. package/dist/es/commands/GetLoggingConfigurationCommand.js +0 -73
  680. package/dist/es/commands/GetLoggingConfigurationCommand.js.map +0 -1
  681. package/dist/es/commands/GetPermissionPolicyCommand.js +0 -73
  682. package/dist/es/commands/GetPermissionPolicyCommand.js.map +0 -1
  683. package/dist/es/commands/GetRateBasedRuleCommand.js +0 -75
  684. package/dist/es/commands/GetRateBasedRuleCommand.js.map +0 -1
  685. package/dist/es/commands/GetRateBasedRuleManagedKeysCommand.js +0 -75
  686. package/dist/es/commands/GetRateBasedRuleManagedKeysCommand.js.map +0 -1
  687. package/dist/es/commands/GetRegexMatchSetCommand.js +0 -73
  688. package/dist/es/commands/GetRegexMatchSetCommand.js.map +0 -1
  689. package/dist/es/commands/GetRegexPatternSetCommand.js +0 -73
  690. package/dist/es/commands/GetRegexPatternSetCommand.js.map +0 -1
  691. package/dist/es/commands/GetRuleCommand.js +0 -73
  692. package/dist/es/commands/GetRuleCommand.js.map +0 -1
  693. package/dist/es/commands/GetRuleGroupCommand.js +0 -74
  694. package/dist/es/commands/GetRuleGroupCommand.js.map +0 -1
  695. package/dist/es/commands/GetSampledRequestsCommand.js +0 -77
  696. package/dist/es/commands/GetSampledRequestsCommand.js.map +0 -1
  697. package/dist/es/commands/GetSizeConstraintSetCommand.js +0 -73
  698. package/dist/es/commands/GetSizeConstraintSetCommand.js.map +0 -1
  699. package/dist/es/commands/GetSqlInjectionMatchSetCommand.js +0 -73
  700. package/dist/es/commands/GetSqlInjectionMatchSetCommand.js.map +0 -1
  701. package/dist/es/commands/GetWebACLCommand.js +0 -73
  702. package/dist/es/commands/GetWebACLCommand.js.map +0 -1
  703. package/dist/es/commands/GetXssMatchSetCommand.js +0 -73
  704. package/dist/es/commands/GetXssMatchSetCommand.js.map +0 -1
  705. package/dist/es/commands/ListActivatedRulesInRuleGroupCommand.js +0 -73
  706. package/dist/es/commands/ListActivatedRulesInRuleGroupCommand.js.map +0 -1
  707. package/dist/es/commands/ListByteMatchSetsCommand.js +0 -73
  708. package/dist/es/commands/ListByteMatchSetsCommand.js.map +0 -1
  709. package/dist/es/commands/ListGeoMatchSetsCommand.js +0 -73
  710. package/dist/es/commands/ListGeoMatchSetsCommand.js.map +0 -1
  711. package/dist/es/commands/ListIPSetsCommand.js +0 -73
  712. package/dist/es/commands/ListIPSetsCommand.js.map +0 -1
  713. package/dist/es/commands/ListLoggingConfigurationsCommand.js +0 -73
  714. package/dist/es/commands/ListLoggingConfigurationsCommand.js.map +0 -1
  715. package/dist/es/commands/ListRateBasedRulesCommand.js +0 -73
  716. package/dist/es/commands/ListRateBasedRulesCommand.js.map +0 -1
  717. package/dist/es/commands/ListRegexMatchSetsCommand.js +0 -73
  718. package/dist/es/commands/ListRegexMatchSetsCommand.js.map +0 -1
  719. package/dist/es/commands/ListRegexPatternSetsCommand.js +0 -73
  720. package/dist/es/commands/ListRegexPatternSetsCommand.js.map +0 -1
  721. package/dist/es/commands/ListRuleGroupsCommand.js +0 -73
  722. package/dist/es/commands/ListRuleGroupsCommand.js.map +0 -1
  723. package/dist/es/commands/ListRulesCommand.js +0 -73
  724. package/dist/es/commands/ListRulesCommand.js.map +0 -1
  725. package/dist/es/commands/ListSizeConstraintSetsCommand.js +0 -73
  726. package/dist/es/commands/ListSizeConstraintSetsCommand.js.map +0 -1
  727. package/dist/es/commands/ListSqlInjectionMatchSetsCommand.js +0 -73
  728. package/dist/es/commands/ListSqlInjectionMatchSetsCommand.js.map +0 -1
  729. package/dist/es/commands/ListSubscribedRuleGroupsCommand.js +0 -73
  730. package/dist/es/commands/ListSubscribedRuleGroupsCommand.js.map +0 -1
  731. package/dist/es/commands/ListTagsForResourceCommand.js +0 -74
  732. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  733. package/dist/es/commands/ListWebACLsCommand.js +0 -73
  734. package/dist/es/commands/ListWebACLsCommand.js.map +0 -1
  735. package/dist/es/commands/ListXssMatchSetsCommand.js +0 -73
  736. package/dist/es/commands/ListXssMatchSetsCommand.js.map +0 -1
  737. package/dist/es/commands/PutLoggingConfigurationCommand.js +0 -90
  738. package/dist/es/commands/PutLoggingConfigurationCommand.js.map +0 -1
  739. package/dist/es/commands/PutPermissionPolicyCommand.js +0 -105
  740. package/dist/es/commands/PutPermissionPolicyCommand.js.map +0 -1
  741. package/dist/es/commands/TagResourceCommand.js +0 -74
  742. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  743. package/dist/es/commands/UntagResourceCommand.js +0 -73
  744. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  745. package/dist/es/commands/UpdateByteMatchSetCommand.js +0 -111
  746. package/dist/es/commands/UpdateByteMatchSetCommand.js.map +0 -1
  747. package/dist/es/commands/UpdateGeoMatchSetCommand.js +0 -103
  748. package/dist/es/commands/UpdateGeoMatchSetCommand.js.map +0 -1
  749. package/dist/es/commands/UpdateIPSetCommand.js +0 -138
  750. package/dist/es/commands/UpdateIPSetCommand.js.map +0 -1
  751. package/dist/es/commands/UpdateRateBasedRuleCommand.js +0 -119
  752. package/dist/es/commands/UpdateRateBasedRuleCommand.js.map +0 -1
  753. package/dist/es/commands/UpdateRegexMatchSetCommand.js +0 -107
  754. package/dist/es/commands/UpdateRegexMatchSetCommand.js.map +0 -1
  755. package/dist/es/commands/UpdateRegexPatternSetCommand.js +0 -112
  756. package/dist/es/commands/UpdateRegexPatternSetCommand.js.map +0 -1
  757. package/dist/es/commands/UpdateRuleCommand.js +0 -114
  758. package/dist/es/commands/UpdateRuleCommand.js.map +0 -1
  759. package/dist/es/commands/UpdateRuleGroupCommand.js +0 -97
  760. package/dist/es/commands/UpdateRuleGroupCommand.js.map +0 -1
  761. package/dist/es/commands/UpdateSizeConstraintSetCommand.js +0 -115
  762. package/dist/es/commands/UpdateSizeConstraintSetCommand.js.map +0 -1
  763. package/dist/es/commands/UpdateSqlInjectionMatchSetCommand.js +0 -114
  764. package/dist/es/commands/UpdateSqlInjectionMatchSetCommand.js.map +0 -1
  765. package/dist/es/commands/UpdateWebACLCommand.js +0 -144
  766. package/dist/es/commands/UpdateWebACLCommand.js.map +0 -1
  767. package/dist/es/commands/UpdateXssMatchSetCommand.js +0 -116
  768. package/dist/es/commands/UpdateXssMatchSetCommand.js.map +0 -1
  769. package/dist/es/endpoints.js +0 -64
  770. package/dist/es/endpoints.js.map +0 -1
  771. package/dist/es/index.js +0 -81
  772. package/dist/es/index.js.map +0 -1
  773. package/dist/es/models/index.js +0 -2
  774. package/dist/es/models/index.js.map +0 -1
  775. package/dist/es/models/models_0.js +0 -1975
  776. package/dist/es/models/models_0.js.map +0 -1
  777. package/dist/es/package.json +0 -91
  778. package/dist/es/protocols/Aws_json1_1.js +0 -9610
  779. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  780. package/dist/es/runtimeConfig.browser.js +0 -20
  781. package/dist/es/runtimeConfig.browser.js.map +0 -1
  782. package/dist/es/runtimeConfig.js +0 -25
  783. package/dist/es/runtimeConfig.js.map +0 -1
  784. package/dist/es/runtimeConfig.native.js +0 -12
  785. package/dist/es/runtimeConfig.native.js.map +0 -1
  786. package/dist/es/runtimeConfig.shared.js +0 -17
  787. package/dist/es/runtimeConfig.shared.js.map +0 -1
  788. package/dist/types/WAF.d.ts +0 -2287
  789. package/dist/types/WAFClient.d.ts +0 -219
  790. package/dist/types/commands/CreateByteMatchSetCommand.d.ts +0 -66
  791. package/dist/types/commands/CreateGeoMatchSetCommand.d.ts +0 -63
  792. package/dist/types/commands/CreateIPSetCommand.d.ts +0 -68
  793. package/dist/types/commands/CreateRateBasedRuleCommand.d.ts +0 -128
  794. package/dist/types/commands/CreateRegexMatchSetCommand.d.ts +0 -66
  795. package/dist/types/commands/CreateRegexPatternSetCommand.d.ts +0 -62
  796. package/dist/types/commands/CreateRuleCommand.d.ts +0 -86
  797. package/dist/types/commands/CreateRuleGroupCommand.d.ts +0 -57
  798. package/dist/types/commands/CreateSizeConstraintSetCommand.d.ts +0 -66
  799. package/dist/types/commands/CreateSqlInjectionMatchSetCommand.d.ts +0 -64
  800. package/dist/types/commands/CreateWebACLCommand.d.ts +0 -74
  801. package/dist/types/commands/CreateWebACLMigrationStackCommand.d.ts +0 -42
  802. package/dist/types/commands/CreateXssMatchSetCommand.d.ts +0 -64
  803. package/dist/types/commands/DeleteByteMatchSetCommand.d.ts +0 -58
  804. package/dist/types/commands/DeleteGeoMatchSetCommand.d.ts +0 -58
  805. package/dist/types/commands/DeleteIPSetCommand.d.ts +0 -58
  806. package/dist/types/commands/DeleteLoggingConfigurationCommand.d.ts +0 -44
  807. package/dist/types/commands/DeletePermissionPolicyCommand.d.ts +0 -44
  808. package/dist/types/commands/DeleteRateBasedRuleCommand.d.ts +0 -62
  809. package/dist/types/commands/DeleteRegexMatchSetCommand.d.ts +0 -58
  810. package/dist/types/commands/DeleteRegexPatternSetCommand.d.ts +0 -44
  811. package/dist/types/commands/DeleteRuleCommand.d.ts +0 -58
  812. package/dist/types/commands/DeleteRuleGroupCommand.d.ts +0 -58
  813. package/dist/types/commands/DeleteSizeConstraintSetCommand.d.ts +0 -58
  814. package/dist/types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +0 -59
  815. package/dist/types/commands/DeleteWebACLCommand.d.ts +0 -56
  816. package/dist/types/commands/DeleteXssMatchSetCommand.d.ts +0 -59
  817. package/dist/types/commands/GetByteMatchSetCommand.d.ts +0 -43
  818. package/dist/types/commands/GetChangeTokenCommand.d.ts +0 -49
  819. package/dist/types/commands/GetChangeTokenStatusCommand.d.ts +0 -59
  820. package/dist/types/commands/GetGeoMatchSetCommand.d.ts +0 -43
  821. package/dist/types/commands/GetIPSetCommand.d.ts +0 -43
  822. package/dist/types/commands/GetLoggingConfigurationCommand.d.ts +0 -43
  823. package/dist/types/commands/GetPermissionPolicyCommand.d.ts +0 -43
  824. package/dist/types/commands/GetRateBasedRuleCommand.d.ts +0 -45
  825. package/dist/types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +0 -45
  826. package/dist/types/commands/GetRegexMatchSetCommand.d.ts +0 -43
  827. package/dist/types/commands/GetRegexPatternSetCommand.d.ts +0 -43
  828. package/dist/types/commands/GetRuleCommand.d.ts +0 -43
  829. package/dist/types/commands/GetRuleGroupCommand.d.ts +0 -44
  830. package/dist/types/commands/GetSampledRequestsCommand.d.ts +0 -47
  831. package/dist/types/commands/GetSizeConstraintSetCommand.d.ts +0 -43
  832. package/dist/types/commands/GetSqlInjectionMatchSetCommand.d.ts +0 -43
  833. package/dist/types/commands/GetWebACLCommand.d.ts +0 -43
  834. package/dist/types/commands/GetXssMatchSetCommand.d.ts +0 -43
  835. package/dist/types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +0 -43
  836. package/dist/types/commands/ListByteMatchSetsCommand.d.ts +0 -43
  837. package/dist/types/commands/ListGeoMatchSetsCommand.d.ts +0 -43
  838. package/dist/types/commands/ListIPSetsCommand.d.ts +0 -43
  839. package/dist/types/commands/ListLoggingConfigurationsCommand.d.ts +0 -43
  840. package/dist/types/commands/ListRateBasedRulesCommand.d.ts +0 -43
  841. package/dist/types/commands/ListRegexMatchSetsCommand.d.ts +0 -43
  842. package/dist/types/commands/ListRegexPatternSetsCommand.d.ts +0 -43
  843. package/dist/types/commands/ListRuleGroupsCommand.d.ts +0 -43
  844. package/dist/types/commands/ListRulesCommand.d.ts +0 -43
  845. package/dist/types/commands/ListSizeConstraintSetsCommand.d.ts +0 -43
  846. package/dist/types/commands/ListSqlInjectionMatchSetsCommand.d.ts +0 -43
  847. package/dist/types/commands/ListSubscribedRuleGroupsCommand.d.ts +0 -43
  848. package/dist/types/commands/ListTagsForResourceCommand.d.ts +0 -44
  849. package/dist/types/commands/ListWebACLsCommand.d.ts +0 -43
  850. package/dist/types/commands/ListXssMatchSetsCommand.d.ts +0 -43
  851. package/dist/types/commands/PutLoggingConfigurationCommand.d.ts +0 -60
  852. package/dist/types/commands/PutPermissionPolicyCommand.d.ts +0 -75
  853. package/dist/types/commands/TagResourceCommand.d.ts +0 -44
  854. package/dist/types/commands/UntagResourceCommand.d.ts +0 -43
  855. package/dist/types/commands/UpdateByteMatchSetCommand.d.ts +0 -81
  856. package/dist/types/commands/UpdateGeoMatchSetCommand.d.ts +0 -73
  857. package/dist/types/commands/UpdateIPSetCommand.d.ts +0 -108
  858. package/dist/types/commands/UpdateRateBasedRuleCommand.d.ts +0 -89
  859. package/dist/types/commands/UpdateRegexMatchSetCommand.d.ts +0 -77
  860. package/dist/types/commands/UpdateRegexPatternSetCommand.d.ts +0 -82
  861. package/dist/types/commands/UpdateRuleCommand.d.ts +0 -84
  862. package/dist/types/commands/UpdateRuleGroupCommand.d.ts +0 -67
  863. package/dist/types/commands/UpdateSizeConstraintSetCommand.d.ts +0 -85
  864. package/dist/types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +0 -84
  865. package/dist/types/commands/UpdateWebACLCommand.d.ts +0 -114
  866. package/dist/types/commands/UpdateXssMatchSetCommand.d.ts +0 -86
  867. package/dist/types/protocols/Aws_json1_1.d.ts +0 -233
  868. package/dist/types/runtimeConfig.browser.d.ts +0 -36
  869. package/dist/types/runtimeConfig.d.ts +0 -36
  870. package/dist/types/runtimeConfig.native.d.ts +0 -35
  871. package/dist/types/ts3.4/WAF.d.ts +0 -2287
  872. package/dist/types/ts3.4/WAFClient.d.ts +0 -219
  873. package/dist/types/ts3.4/commands/CreateByteMatchSetCommand.d.ts +0 -66
  874. package/dist/types/ts3.4/commands/CreateGeoMatchSetCommand.d.ts +0 -63
  875. package/dist/types/ts3.4/commands/CreateIPSetCommand.d.ts +0 -68
  876. package/dist/types/ts3.4/commands/CreateRateBasedRuleCommand.d.ts +0 -128
  877. package/dist/types/ts3.4/commands/CreateRegexMatchSetCommand.d.ts +0 -66
  878. package/dist/types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +0 -62
  879. package/dist/types/ts3.4/commands/CreateRuleCommand.d.ts +0 -86
  880. package/dist/types/ts3.4/commands/CreateRuleGroupCommand.d.ts +0 -57
  881. package/dist/types/ts3.4/commands/CreateSizeConstraintSetCommand.d.ts +0 -66
  882. package/dist/types/ts3.4/commands/CreateSqlInjectionMatchSetCommand.d.ts +0 -64
  883. package/dist/types/ts3.4/commands/CreateWebACLCommand.d.ts +0 -74
  884. package/dist/types/ts3.4/commands/CreateWebACLMigrationStackCommand.d.ts +0 -42
  885. package/dist/types/ts3.4/commands/CreateXssMatchSetCommand.d.ts +0 -64
  886. package/dist/types/ts3.4/commands/DeleteByteMatchSetCommand.d.ts +0 -58
  887. package/dist/types/ts3.4/commands/DeleteGeoMatchSetCommand.d.ts +0 -58
  888. package/dist/types/ts3.4/commands/DeleteIPSetCommand.d.ts +0 -58
  889. package/dist/types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +0 -44
  890. package/dist/types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +0 -44
  891. package/dist/types/ts3.4/commands/DeleteRateBasedRuleCommand.d.ts +0 -62
  892. package/dist/types/ts3.4/commands/DeleteRegexMatchSetCommand.d.ts +0 -58
  893. package/dist/types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +0 -44
  894. package/dist/types/ts3.4/commands/DeleteRuleCommand.d.ts +0 -58
  895. package/dist/types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +0 -58
  896. package/dist/types/ts3.4/commands/DeleteSizeConstraintSetCommand.d.ts +0 -58
  897. package/dist/types/ts3.4/commands/DeleteSqlInjectionMatchSetCommand.d.ts +0 -59
  898. package/dist/types/ts3.4/commands/DeleteWebACLCommand.d.ts +0 -56
  899. package/dist/types/ts3.4/commands/DeleteXssMatchSetCommand.d.ts +0 -59
  900. package/dist/types/ts3.4/commands/GetByteMatchSetCommand.d.ts +0 -43
  901. package/dist/types/ts3.4/commands/GetChangeTokenCommand.d.ts +0 -49
  902. package/dist/types/ts3.4/commands/GetChangeTokenStatusCommand.d.ts +0 -59
  903. package/dist/types/ts3.4/commands/GetGeoMatchSetCommand.d.ts +0 -43
  904. package/dist/types/ts3.4/commands/GetIPSetCommand.d.ts +0 -43
  905. package/dist/types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +0 -43
  906. package/dist/types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +0 -43
  907. package/dist/types/ts3.4/commands/GetRateBasedRuleCommand.d.ts +0 -45
  908. package/dist/types/ts3.4/commands/GetRateBasedRuleManagedKeysCommand.d.ts +0 -45
  909. package/dist/types/ts3.4/commands/GetRegexMatchSetCommand.d.ts +0 -43
  910. package/dist/types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +0 -43
  911. package/dist/types/ts3.4/commands/GetRuleCommand.d.ts +0 -43
  912. package/dist/types/ts3.4/commands/GetRuleGroupCommand.d.ts +0 -44
  913. package/dist/types/ts3.4/commands/GetSampledRequestsCommand.d.ts +0 -47
  914. package/dist/types/ts3.4/commands/GetSizeConstraintSetCommand.d.ts +0 -43
  915. package/dist/types/ts3.4/commands/GetSqlInjectionMatchSetCommand.d.ts +0 -43
  916. package/dist/types/ts3.4/commands/GetWebACLCommand.d.ts +0 -43
  917. package/dist/types/ts3.4/commands/GetXssMatchSetCommand.d.ts +0 -43
  918. package/dist/types/ts3.4/commands/ListActivatedRulesInRuleGroupCommand.d.ts +0 -43
  919. package/dist/types/ts3.4/commands/ListByteMatchSetsCommand.d.ts +0 -43
  920. package/dist/types/ts3.4/commands/ListGeoMatchSetsCommand.d.ts +0 -43
  921. package/dist/types/ts3.4/commands/ListIPSetsCommand.d.ts +0 -43
  922. package/dist/types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +0 -43
  923. package/dist/types/ts3.4/commands/ListRateBasedRulesCommand.d.ts +0 -43
  924. package/dist/types/ts3.4/commands/ListRegexMatchSetsCommand.d.ts +0 -43
  925. package/dist/types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +0 -43
  926. package/dist/types/ts3.4/commands/ListRuleGroupsCommand.d.ts +0 -43
  927. package/dist/types/ts3.4/commands/ListRulesCommand.d.ts +0 -43
  928. package/dist/types/ts3.4/commands/ListSizeConstraintSetsCommand.d.ts +0 -43
  929. package/dist/types/ts3.4/commands/ListSqlInjectionMatchSetsCommand.d.ts +0 -43
  930. package/dist/types/ts3.4/commands/ListSubscribedRuleGroupsCommand.d.ts +0 -43
  931. package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -44
  932. package/dist/types/ts3.4/commands/ListWebACLsCommand.d.ts +0 -43
  933. package/dist/types/ts3.4/commands/ListXssMatchSetsCommand.d.ts +0 -43
  934. package/dist/types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +0 -60
  935. package/dist/types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +0 -75
  936. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -44
  937. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -43
  938. package/dist/types/ts3.4/commands/UpdateByteMatchSetCommand.d.ts +0 -81
  939. package/dist/types/ts3.4/commands/UpdateGeoMatchSetCommand.d.ts +0 -73
  940. package/dist/types/ts3.4/commands/UpdateIPSetCommand.d.ts +0 -108
  941. package/dist/types/ts3.4/commands/UpdateRateBasedRuleCommand.d.ts +0 -89
  942. package/dist/types/ts3.4/commands/UpdateRegexMatchSetCommand.d.ts +0 -77
  943. package/dist/types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +0 -82
  944. package/dist/types/ts3.4/commands/UpdateRuleCommand.d.ts +0 -84
  945. package/dist/types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +0 -67
  946. package/dist/types/ts3.4/commands/UpdateSizeConstraintSetCommand.d.ts +0 -85
  947. package/dist/types/ts3.4/commands/UpdateSqlInjectionMatchSetCommand.d.ts +0 -84
  948. package/dist/types/ts3.4/commands/UpdateWebACLCommand.d.ts +0 -114
  949. package/dist/types/ts3.4/commands/UpdateXssMatchSetCommand.d.ts +0 -86
  950. package/dist/types/ts3.4/protocols/Aws_json1_1.d.ts +0 -233
  951. package/dist/types/ts3.4/runtimeConfig.browser.d.ts +0 -36
  952. package/dist/types/ts3.4/runtimeConfig.d.ts +0 -36
  953. package/dist/types/ts3.4/runtimeConfig.native.d.ts +0 -35
  954. package/endpoints.ts +0 -68
  955. package/jest.config.js +0 -4
  956. package/models/models_0.ts +0 -7494
  957. package/protocols/Aws_json1_1.ts +0 -11231
  958. package/runtimeConfig.browser.ts +0 -40
  959. package/runtimeConfig.native.ts +0 -16
  960. package/runtimeConfig.shared.ts +0 -16
  961. package/runtimeConfig.ts +0 -45
  962. package/tsconfig.es.json +0 -12
  963. package/tsconfig.json +0 -32
@@ -1,125 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
2
- import { CreateByteMatchSetRequest, CreateByteMatchSetResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateByteMatchSetCommand,
5
- serializeAws_json1_1CreateByteMatchSetCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateByteMatchSetCommandInput extends CreateByteMatchSetRequest {}
21
- export interface CreateByteMatchSetCommandOutput extends CreateByteMatchSetResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <note>
25
- * <p>This is <b>AWS WAF Classic</b> documentation. For
26
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
27
- * WAF Classic</a> in the developer guide.</p>
28
- * <p>
29
- * <b>For the latest version of AWS
30
- * 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>
31
- * </note>
32
- * <p>Creates a <code>ByteMatchSet</code>. You then use <a>UpdateByteMatchSet</a> to identify the part of a
33
- * web request that you want AWS WAF to inspect, such as the values of the <code>User-Agent</code> header or the query string.
34
- * For example, you can create a <code>ByteMatchSet</code> that matches any requests with <code>User-Agent</code> headers
35
- * that contain the string <code>BadBot</code>. You can then configure AWS WAF to reject those requests.</p>
36
- * <p>To create and configure a <code>ByteMatchSet</code>, perform the following steps:</p>
37
- * <ol>
38
- * <li>
39
- * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
40
- * <code>CreateByteMatchSet</code> request.</p>
41
- * </li>
42
- * <li>
43
- * <p>Submit a <code>CreateByteMatchSet</code> request.</p>
44
- * </li>
45
- * <li>
46
- * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
47
- * <code>UpdateByteMatchSet</code> request.</p>
48
- * </li>
49
- * <li>
50
- * <p>Submit an <a>UpdateByteMatchSet</a> request to specify the part of the request that you want AWS WAF to inspect
51
- * (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
52
- * </li>
53
- * </ol>
54
- * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
55
- * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
56
- * @example
57
- * Use a bare-bones client and the command you need to make an API call.
58
- * ```javascript
59
- * import { WAFClient, CreateByteMatchSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
60
- * // const { WAFClient, CreateByteMatchSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
61
- * const client = new WAFClient(config);
62
- * const command = new CreateByteMatchSetCommand(input);
63
- * const response = await client.send(command);
64
- * ```
65
- *
66
- * @see {@link CreateByteMatchSetCommandInput} for command's `input` shape.
67
- * @see {@link CreateByteMatchSetCommandOutput} for command's `response` shape.
68
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
69
- *
70
- */
71
- export class CreateByteMatchSetCommand extends $Command<
72
- CreateByteMatchSetCommandInput,
73
- CreateByteMatchSetCommandOutput,
74
- WAFClientResolvedConfig
75
- > {
76
- // Start section: command_properties
77
- // End section: command_properties
78
-
79
- constructor(readonly input: CreateByteMatchSetCommandInput) {
80
- // Start section: command_constructor
81
- super();
82
- // End section: command_constructor
83
- }
84
-
85
- /**
86
- * @internal
87
- */
88
- resolveMiddleware(
89
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
90
- configuration: WAFClientResolvedConfig,
91
- options?: __HttpHandlerOptions
92
- ): Handler<CreateByteMatchSetCommandInput, CreateByteMatchSetCommandOutput> {
93
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
94
-
95
- const stack = clientStack.concat(this.middlewareStack);
96
-
97
- const { logger } = configuration;
98
- const clientName = "WAFClient";
99
- const commandName = "CreateByteMatchSetCommand";
100
- const handlerExecutionContext: HandlerExecutionContext = {
101
- logger,
102
- clientName,
103
- commandName,
104
- inputFilterSensitiveLog: CreateByteMatchSetRequest.filterSensitiveLog,
105
- outputFilterSensitiveLog: CreateByteMatchSetResponse.filterSensitiveLog,
106
- };
107
- const { requestHandler } = configuration;
108
- return stack.resolve(
109
- (request: FinalizeHandlerArguments<any>) =>
110
- requestHandler.handle(request.request as __HttpRequest, options || {}),
111
- handlerExecutionContext
112
- );
113
- }
114
-
115
- private serialize(input: CreateByteMatchSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
116
- return serializeAws_json1_1CreateByteMatchSetCommand(input, context);
117
- }
118
-
119
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateByteMatchSetCommandOutput> {
120
- return deserializeAws_json1_1CreateByteMatchSetCommand(output, context);
121
- }
122
-
123
- // Start section: command_body_extra
124
- // End section: command_body_extra
125
- }
@@ -1,122 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
2
- import { CreateGeoMatchSetRequest, CreateGeoMatchSetResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateGeoMatchSetCommand,
5
- serializeAws_json1_1CreateGeoMatchSetCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateGeoMatchSetCommandInput extends CreateGeoMatchSetRequest {}
21
- export interface CreateGeoMatchSetCommandOutput extends CreateGeoMatchSetResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <note>
25
- * <p>This is <b>AWS WAF Classic</b> documentation. For
26
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
27
- * WAF Classic</a> in the developer guide.</p>
28
- * <p>
29
- * <b>For the latest version of AWS
30
- * 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>
31
- * </note>
32
- * <p>Creates an <a>GeoMatchSet</a>, which you use to specify which web requests you want to allow or block based on the country
33
- * 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>
34
- * <p>To create and configure a <code>GeoMatchSet</code>, perform the following steps:</p>
35
- * <ol>
36
- * <li>
37
- * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
38
- * <code>CreateGeoMatchSet</code> request.</p>
39
- * </li>
40
- * <li>
41
- * <p>Submit a <code>CreateGeoMatchSet</code> request.</p>
42
- * </li>
43
- * <li>
44
- * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
45
- * <a>UpdateGeoMatchSet</a> request.</p>
46
- * </li>
47
- * <li>
48
- * <p>Submit an <code>UpdateGeoMatchSetSet</code> request to specify the countries that you want AWS WAF to watch for.</p>
49
- * </li>
50
- * </ol>
51
- * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
52
- * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
53
- * @example
54
- * Use a bare-bones client and the command you need to make an API call.
55
- * ```javascript
56
- * import { WAFClient, CreateGeoMatchSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
57
- * // const { WAFClient, CreateGeoMatchSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
58
- * const client = new WAFClient(config);
59
- * const command = new CreateGeoMatchSetCommand(input);
60
- * const response = await client.send(command);
61
- * ```
62
- *
63
- * @see {@link CreateGeoMatchSetCommandInput} for command's `input` shape.
64
- * @see {@link CreateGeoMatchSetCommandOutput} for command's `response` shape.
65
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
66
- *
67
- */
68
- export class CreateGeoMatchSetCommand extends $Command<
69
- CreateGeoMatchSetCommandInput,
70
- CreateGeoMatchSetCommandOutput,
71
- WAFClientResolvedConfig
72
- > {
73
- // Start section: command_properties
74
- // End section: command_properties
75
-
76
- constructor(readonly input: CreateGeoMatchSetCommandInput) {
77
- // Start section: command_constructor
78
- super();
79
- // End section: command_constructor
80
- }
81
-
82
- /**
83
- * @internal
84
- */
85
- resolveMiddleware(
86
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
87
- configuration: WAFClientResolvedConfig,
88
- options?: __HttpHandlerOptions
89
- ): Handler<CreateGeoMatchSetCommandInput, CreateGeoMatchSetCommandOutput> {
90
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
91
-
92
- const stack = clientStack.concat(this.middlewareStack);
93
-
94
- const { logger } = configuration;
95
- const clientName = "WAFClient";
96
- const commandName = "CreateGeoMatchSetCommand";
97
- const handlerExecutionContext: HandlerExecutionContext = {
98
- logger,
99
- clientName,
100
- commandName,
101
- inputFilterSensitiveLog: CreateGeoMatchSetRequest.filterSensitiveLog,
102
- outputFilterSensitiveLog: CreateGeoMatchSetResponse.filterSensitiveLog,
103
- };
104
- const { requestHandler } = configuration;
105
- return stack.resolve(
106
- (request: FinalizeHandlerArguments<any>) =>
107
- requestHandler.handle(request.request as __HttpRequest, options || {}),
108
- handlerExecutionContext
109
- );
110
- }
111
-
112
- private serialize(input: CreateGeoMatchSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
113
- return serializeAws_json1_1CreateGeoMatchSetCommand(input, context);
114
- }
115
-
116
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateGeoMatchSetCommandOutput> {
117
- return deserializeAws_json1_1CreateGeoMatchSetCommand(output, context);
118
- }
119
-
120
- // Start section: command_body_extra
121
- // End section: command_body_extra
122
- }
@@ -1,127 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
2
- import { CreateIPSetRequest, CreateIPSetResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateIPSetCommand,
5
- serializeAws_json1_1CreateIPSetCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateIPSetCommandInput extends CreateIPSetRequest {}
21
- export interface CreateIPSetCommandOutput extends CreateIPSetResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <note>
25
- * <p>This is <b>AWS WAF Classic</b> documentation. For
26
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
27
- * WAF Classic</a> in the developer guide.</p>
28
- * <p>
29
- * <b>For the latest version of AWS
30
- * 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>
31
- * </note>
32
- * <p>Creates an <a>IPSet</a>, which you use to specify which web requests
33
- * that
34
- * you want to allow or block based on the IP addresses that the requests
35
- * originate from. For example, if you're receiving a lot of requests from one or more
36
- * individual IP addresses or one or more ranges of IP addresses and you want to block the
37
- * requests, you can create an <code>IPSet</code> that contains those IP addresses and then
38
- * configure AWS WAF to block the requests. </p>
39
- * <p>To create and configure an <code>IPSet</code>, perform the following steps:</p>
40
- * <ol>
41
- * <li>
42
- * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
43
- * <code>CreateIPSet</code> request.</p>
44
- * </li>
45
- * <li>
46
- * <p>Submit a <code>CreateIPSet</code> request.</p>
47
- * </li>
48
- * <li>
49
- * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
50
- * <a>UpdateIPSet</a> request.</p>
51
- * </li>
52
- * <li>
53
- * <p>Submit an <code>UpdateIPSet</code> request to specify the IP addresses that you want AWS WAF to watch for.</p>
54
- * </li>
55
- * </ol>
56
- * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
57
- * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
58
- * @example
59
- * Use a bare-bones client and the command you need to make an API call.
60
- * ```javascript
61
- * import { WAFClient, CreateIPSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
62
- * // const { WAFClient, CreateIPSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
63
- * const client = new WAFClient(config);
64
- * const command = new CreateIPSetCommand(input);
65
- * const response = await client.send(command);
66
- * ```
67
- *
68
- * @see {@link CreateIPSetCommandInput} for command's `input` shape.
69
- * @see {@link CreateIPSetCommandOutput} for command's `response` shape.
70
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
71
- *
72
- */
73
- export class CreateIPSetCommand extends $Command<
74
- CreateIPSetCommandInput,
75
- CreateIPSetCommandOutput,
76
- WAFClientResolvedConfig
77
- > {
78
- // Start section: command_properties
79
- // End section: command_properties
80
-
81
- constructor(readonly input: CreateIPSetCommandInput) {
82
- // Start section: command_constructor
83
- super();
84
- // End section: command_constructor
85
- }
86
-
87
- /**
88
- * @internal
89
- */
90
- resolveMiddleware(
91
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
92
- configuration: WAFClientResolvedConfig,
93
- options?: __HttpHandlerOptions
94
- ): Handler<CreateIPSetCommandInput, CreateIPSetCommandOutput> {
95
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
96
-
97
- const stack = clientStack.concat(this.middlewareStack);
98
-
99
- const { logger } = configuration;
100
- const clientName = "WAFClient";
101
- const commandName = "CreateIPSetCommand";
102
- const handlerExecutionContext: HandlerExecutionContext = {
103
- logger,
104
- clientName,
105
- commandName,
106
- inputFilterSensitiveLog: CreateIPSetRequest.filterSensitiveLog,
107
- outputFilterSensitiveLog: CreateIPSetResponse.filterSensitiveLog,
108
- };
109
- const { requestHandler } = configuration;
110
- return stack.resolve(
111
- (request: FinalizeHandlerArguments<any>) =>
112
- requestHandler.handle(request.request as __HttpRequest, options || {}),
113
- handlerExecutionContext
114
- );
115
- }
116
-
117
- private serialize(input: CreateIPSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
118
- return serializeAws_json1_1CreateIPSetCommand(input, context);
119
- }
120
-
121
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateIPSetCommandOutput> {
122
- return deserializeAws_json1_1CreateIPSetCommand(output, context);
123
- }
124
-
125
- // Start section: command_body_extra
126
- // End section: command_body_extra
127
- }
@@ -1,187 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
2
- import { CreateRateBasedRuleRequest, CreateRateBasedRuleResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateRateBasedRuleCommand,
5
- serializeAws_json1_1CreateRateBasedRuleCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateRateBasedRuleCommandInput extends CreateRateBasedRuleRequest {}
21
- export interface CreateRateBasedRuleCommandOutput extends CreateRateBasedRuleResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <note>
25
- * <p>This is <b>AWS WAF Classic</b> documentation. For
26
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
27
- * WAF Classic</a> in the developer guide.</p>
28
- * <p>
29
- * <b>For the latest version of AWS
30
- * 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>
31
- * </note>
32
- * <p>Creates a <a>RateBasedRule</a>. The <code>RateBasedRule</code> contains a
33
- * <code>RateLimit</code>, which specifies the maximum number of requests that AWS WAF allows
34
- * from a specified IP address in a five-minute period.
35
- * The <code>RateBasedRule</code> also
36
- * contains the <code>IPSet</code> objects, <code>ByteMatchSet</code> objects, and other
37
- * predicates that identify the requests that you want to count or block if these requests
38
- * exceed the <code>RateLimit</code>.</p>
39
- * <p>If you add more than one predicate to a <code>RateBasedRule</code>, a request not
40
- * only must exceed the <code>RateLimit</code>, but it also must match all the
41
- * conditions to be counted or blocked. For example, suppose you add the following to a
42
- * <code>RateBasedRule</code>:</p>
43
- * <ul>
44
- * <li>
45
- * <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code>
46
- * </p>
47
- * </li>
48
- * <li>
49
- * <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the
50
- * <code>User-Agent</code> header</p>
51
- * </li>
52
- * </ul>
53
- * <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
54
- * <p>You then add the <code>RateBasedRule</code> to a <code>WebACL</code> and specify that
55
- * you want to block requests that meet the conditions in the rule. For a request to be
56
- * blocked, it must come from the IP address 192.0.2.44 <i>and</i> the
57
- * <code>User-Agent</code> header in the request must contain the value
58
- * <code>BadBot</code>. Further, requests that match these two conditions must be received at
59
- * a rate of more than 1,000 requests every five minutes. If both conditions are met and the
60
- * rate is exceeded, AWS WAF blocks the requests. If the rate drops below 1,000 for a
61
- * five-minute period, AWS WAF no longer blocks the requests.</p>
62
- *
63
- * <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
64
- * <code>RateBasedRule</code>:</p>
65
- *
66
- *
67
- * <ul>
68
- * <li>
69
- * <p>A <code>ByteMatchSet</code> with <code>FieldToMatch</code> of <code>URI</code>
70
- * </p>
71
- * </li>
72
- * <li>
73
- * <p>A <code>PositionalConstraint</code> of <code>STARTS_WITH</code>
74
- * </p>
75
- * </li>
76
- * <li>
77
- * <p>A <code>TargetString</code> of <code>login</code>
78
- * </p>
79
- * </li>
80
- * </ul>
81
- * <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
82
- * <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>
83
- *
84
- *
85
- * <p>To create and configure a <code>RateBasedRule</code>, perform the following
86
- * steps:</p>
87
- * <ol>
88
- * <li>
89
- * <p>Create and update the predicates that you want to include in the rule. For more
90
- * information, see <a>CreateByteMatchSet</a>, <a>CreateIPSet</a>,
91
- * and <a>CreateSqlInjectionMatchSet</a>.</p>
92
- * </li>
93
- * <li>
94
- * <p>Use <a>GetChangeToken</a> to get the change token that you provide
95
- * in the <code>ChangeToken</code> parameter of a <code>CreateRule</code>
96
- * request.</p>
97
- * </li>
98
- * <li>
99
- * <p>Submit a <code>CreateRateBasedRule</code> request.</p>
100
- * </li>
101
- * <li>
102
- * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the
103
- * <code>ChangeToken</code> parameter of an <a>UpdateRule</a>
104
- * request.</p>
105
- * </li>
106
- * <li>
107
- * <p>Submit an <code>UpdateRateBasedRule</code> request to specify the predicates
108
- * that you want to include in the rule.</p>
109
- * </li>
110
- * <li>
111
- * <p>Create and update a <code>WebACL</code> that contains the
112
- * <code>RateBasedRule</code>. For more information, see <a>CreateWebACL</a>.</p>
113
- * </li>
114
- * </ol>
115
- * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests,
116
- * see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer
117
- * Guide</a>.</p>
118
- * @example
119
- * Use a bare-bones client and the command you need to make an API call.
120
- * ```javascript
121
- * import { WAFClient, CreateRateBasedRuleCommand } from "@aws-sdk/client-waf"; // ES Modules import
122
- * // const { WAFClient, CreateRateBasedRuleCommand } = require("@aws-sdk/client-waf"); // CommonJS import
123
- * const client = new WAFClient(config);
124
- * const command = new CreateRateBasedRuleCommand(input);
125
- * const response = await client.send(command);
126
- * ```
127
- *
128
- * @see {@link CreateRateBasedRuleCommandInput} for command's `input` shape.
129
- * @see {@link CreateRateBasedRuleCommandOutput} for command's `response` shape.
130
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
131
- *
132
- */
133
- export class CreateRateBasedRuleCommand extends $Command<
134
- CreateRateBasedRuleCommandInput,
135
- CreateRateBasedRuleCommandOutput,
136
- WAFClientResolvedConfig
137
- > {
138
- // Start section: command_properties
139
- // End section: command_properties
140
-
141
- constructor(readonly input: CreateRateBasedRuleCommandInput) {
142
- // Start section: command_constructor
143
- super();
144
- // End section: command_constructor
145
- }
146
-
147
- /**
148
- * @internal
149
- */
150
- resolveMiddleware(
151
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
152
- configuration: WAFClientResolvedConfig,
153
- options?: __HttpHandlerOptions
154
- ): Handler<CreateRateBasedRuleCommandInput, CreateRateBasedRuleCommandOutput> {
155
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
156
-
157
- const stack = clientStack.concat(this.middlewareStack);
158
-
159
- const { logger } = configuration;
160
- const clientName = "WAFClient";
161
- const commandName = "CreateRateBasedRuleCommand";
162
- const handlerExecutionContext: HandlerExecutionContext = {
163
- logger,
164
- clientName,
165
- commandName,
166
- inputFilterSensitiveLog: CreateRateBasedRuleRequest.filterSensitiveLog,
167
- outputFilterSensitiveLog: CreateRateBasedRuleResponse.filterSensitiveLog,
168
- };
169
- const { requestHandler } = configuration;
170
- return stack.resolve(
171
- (request: FinalizeHandlerArguments<any>) =>
172
- requestHandler.handle(request.request as __HttpRequest, options || {}),
173
- handlerExecutionContext
174
- );
175
- }
176
-
177
- private serialize(input: CreateRateBasedRuleCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
178
- return serializeAws_json1_1CreateRateBasedRuleCommand(input, context);
179
- }
180
-
181
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateRateBasedRuleCommandOutput> {
182
- return deserializeAws_json1_1CreateRateBasedRuleCommand(output, context);
183
- }
184
-
185
- // Start section: command_body_extra
186
- // End section: command_body_extra
187
- }